aboutsummaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac4
1 files changed, 1 insertions, 3 deletions
diff --git a/configure.ac b/configure.ac
index a18f0b13..71e6800e 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1080,7 +1080,7 @@ AC_ARG_ENABLE([https],
1080if test "x$enable_https" != "xno" 1080if test "x$enable_https" != "xno"
1081then 1081then
1082 AS_IF([test "x$have_gnutls" = "xyes" && test "x$have_gcrypt" = "xyes"], [ 1082 AS_IF([test "x$have_gnutls" = "xyes" && test "x$have_gcrypt" = "xyes"], [
1083 AC_DEFINE([HTTPS_SUPPORT],[1],[include HTTPS support]) 1083 AC_DEFINE([[HTTPS_SUPPORT]],[[1]],[Define to 1 if libmicrohttpd is compiled with HTTPS support.])
1084 enable_https=yes 1084 enable_https=yes
1085 MSG_HTTPS="yes (using libgnutls and libgcrypt)" 1085 MSG_HTTPS="yes (using libgnutls and libgcrypt)"
1086 MHD_LIB_CPPFLAGS="$MHD_LIB_CPPFLAGS $LIBGCRYPT_CFLAGS $GNUTLS_CPPFLAGS" 1086 MHD_LIB_CPPFLAGS="$MHD_LIB_CPPFLAGS $LIBGCRYPT_CFLAGS $GNUTLS_CPPFLAGS"
@@ -1101,12 +1101,10 @@ then
1101 [test "x$have_gcrypt" = "xyes"], [crypt_missing="libgnutls"], 1101 [test "x$have_gcrypt" = "xyes"], [crypt_missing="libgnutls"],
1102 [crypt_missing="libgrypt and libgnutls"]) 1102 [crypt_missing="libgrypt and libgnutls"])
1103 AS_IF([[test "x$enable_https" = "xyes" ]], [AC_MSG_ERROR([[HTTPS support cannot be enabled without $crypt_missing.]])]) 1103 AS_IF([[test "x$enable_https" = "xyes" ]], [AC_MSG_ERROR([[HTTPS support cannot be enabled without $crypt_missing.]])])
1104 AC_DEFINE([HTTPS_SUPPORT],[0],[no libgcrypt or libgnutls])
1105 enable_https=no 1104 enable_https=no
1106 MSG_HTTPS="no (lacking $crypt_missing)" 1105 MSG_HTTPS="no (lacking $crypt_missing)"
1107 ]) 1106 ])
1108else 1107else
1109 AC_DEFINE([HTTPS_SUPPORT],[0],[disable HTTPS support])
1110 MSG_HTTPS="no (disabled)" 1108 MSG_HTTPS="no (disabled)"
1111fi 1109fi
1112AC_MSG_RESULT([$MSG_HTTPS]) 1110AC_MSG_RESULT([$MSG_HTTPS])