summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--configure.in19
1 files changed, 10 insertions, 9 deletions
diff --git a/configure.in b/configure.in
index c40cfb032f..298a06d67c 100644
--- a/configure.in
+++ b/configure.in
@@ -304,15 +304,8 @@ fi
AC_ARG_WITH(included-libtasn1,
[ --with-included-libtasn1 Use the included libtasn1],
-libtasn1_enabled=yes, libtasn1_enabled=no)
-
-dnl In maintainer mode we always use the included library
-if test x$opt_maintainer_mode = xyes; then
- libtasn1_enabled=yes
-else
- libtasn1_enabled=no
-fi
-
+libtasn1_enabled=yes,
+libtasn1_enabled=no
AC_CHECK_LIB( tasn1, asn1_array2tree,:,
libtasn1_enabled=yes
@@ -320,6 +313,14 @@ AC_CHECK_LIB( tasn1, asn1_array2tree,:,
***
*** LibtASN1 was not found. Will use the included one.))
+)
+
+dnl In maintainer mode we always use the included library
+if test x$opt_maintainer_mode = xyes; then
+ libtasn1_enabled=yes
+fi
+
+
AC_MSG_RESULT([***
*** Detecting options for shared libraries...