]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[4004] Allowed --disable-shared
authorFrancis Dupont <fdupont@isc.org>
Sat, 19 Sep 2015 11:25:24 +0000 (13:25 +0200)
committerFrancis Dupont <fdupont@isc.org>
Sat, 19 Sep 2015 11:25:24 +0000 (13:25 +0200)
configure.ac

index 130ede10c0584bd294b8ba787b1de40036acffa9..70b645ab48a43ec5890e02bddd1f47caf46a0217 100644 (file)
@@ -241,8 +241,8 @@ AM_COND_IF([USE_STATIC_LINK], [AC_DEFINE([USE_STATIC_LINK], [1], [Was Kea static
 if test $enable_static_link = yes -a $enable_static = no; then
        AC_MSG_ERROR([--enable-static-link requires --enable-static])
 fi
-if test $enable_shared = no; then
-       AC_MSG_ERROR([Kea requires shared libraries to be built])
+if test $enable_static_link = no -a $enable_shared = no; then
+       AC_MSG_ERROR([--disable-static-link requires --enable-shared])
 fi
 
 # OS dependent configuration