gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] r32522 - libmicrohttpd


From: gnunet
Subject: [GNUnet-SVN] r32522 - libmicrohttpd
Date: Wed, 5 Mar 2014 14:21:03 +0100

Author: Karlson2k
Date: 2014-03-05 14:21:03 +0100 (Wed, 05 Mar 2014)
New Revision: 32522

Modified:
   libmicrohttpd/configure.ac
Log:
configure.ac: fix test for PostProcessor, basic Auth, digest Auth for 
"--enable-xx=val" case

Modified: libmicrohttpd/configure.ac
===================================================================
--- libmicrohttpd/configure.ac  2014-03-05 13:20:57 UTC (rev 32521)
+++ libmicrohttpd/configure.ac  2014-03-05 13:21:03 UTC (rev 32522)
@@ -476,8 +476,9 @@
                [disable MHD PostProcessor functionality])],
    [enable_postprocessor=${enableval}],
    [enable_postprocessor=yes])
-AC_MSG_RESULT($disable_postprocessor)
-AM_CONDITIONAL([HAVE_POSTPROCESSOR],test x$enable_postprocessor != xno)
+test "x$enable_postprocessor" = "xno" || enable_postprocessor=yes
+AC_MSG_RESULT([[$enable_postprocessor]])
+AM_CONDITIONAL([HAVE_POSTPROCESSOR],test "x$enable_postprocessor" != "xno")
 
 
 # optional: have zzuf, socat?
@@ -599,8 +600,9 @@
                        [disable HTTP basic Auth support]),
                [enable_bauth=${enableval}],
                [enable_bauth=yes])
-if test "$enable_bauth" = "yes"
+if test "x$enable_bauth" != "xno"
 then
+ enable_bauth=yes
  AC_DEFINE([BAUTH_SUPPORT],[1],[include basic Auth support])
 else
  AC_DEFINE([BAUTH_SUPPORT],[0],[disable basic Auth support])
@@ -615,8 +617,9 @@
                        [disable HTTP basic and digest Auth support]),
                [enable_dauth=${enableval}],
                [enable_dauth=yes])
-if test "$enable_dauth" = "yes"
+if test "$enable_dauth" != "xno"
 then
+ enable_dauth=yes
  AC_DEFINE([DAUTH_SUPPORT],[1],[include digest Auth support])
 else
  AC_DEFINE([DAUTH_SUPPORT],[0],[disable digest Auth support])




reply via email to

[Prev in Thread] Current Thread [Next in Thread]