aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvgeny Grin (Karlson2k) <k2k@narod.ru>2014-03-05 13:21:03 +0000
committerEvgeny Grin (Karlson2k) <k2k@narod.ru>2014-03-05 13:21:03 +0000
commitf55e22f529fc0a9c176db912cb6e25526c09efed (patch)
treed964531a6188ce2b43d7b409703ecf4e65dcb643
parent90c9b75d5a625e6d8136b64677f1cc8d684639bf (diff)
downloadlibmicrohttpd-f55e22f529fc0a9c176db912cb6e25526c09efed.tar.gz
libmicrohttpd-f55e22f529fc0a9c176db912cb6e25526c09efed.zip
configure.ac: fix test for PostProcessor, basic Auth, digest Auth for "--enable-xx=val" case
-rw-r--r--configure.ac11
1 files changed, 7 insertions, 4 deletions
diff --git a/configure.ac b/configure.ac
index 367091a9..365d5efb 100644
--- a/configure.ac
+++ b/configure.ac
@@ -476,8 +476,9 @@ AC_ARG_ENABLE([postprocessor],
476 [disable MHD PostProcessor functionality])], 476 [disable MHD PostProcessor functionality])],
477 [enable_postprocessor=${enableval}], 477 [enable_postprocessor=${enableval}],
478 [enable_postprocessor=yes]) 478 [enable_postprocessor=yes])
479AC_MSG_RESULT($disable_postprocessor) 479test "x$enable_postprocessor" = "xno" || enable_postprocessor=yes
480AM_CONDITIONAL([HAVE_POSTPROCESSOR],test x$enable_postprocessor != xno) 480AC_MSG_RESULT([[$enable_postprocessor]])
481AM_CONDITIONAL([HAVE_POSTPROCESSOR],test "x$enable_postprocessor" != "xno")
481 482
482 483
483# optional: have zzuf, socat? 484# optional: have zzuf, socat?
@@ -599,8 +600,9 @@ AC_ARG_ENABLE([bauth],
599 [disable HTTP basic Auth support]), 600 [disable HTTP basic Auth support]),
600 [enable_bauth=${enableval}], 601 [enable_bauth=${enableval}],
601 [enable_bauth=yes]) 602 [enable_bauth=yes])
602if test "$enable_bauth" = "yes" 603if test "x$enable_bauth" != "xno"
603then 604then
605 enable_bauth=yes
604 AC_DEFINE([BAUTH_SUPPORT],[1],[include basic Auth support]) 606 AC_DEFINE([BAUTH_SUPPORT],[1],[include basic Auth support])
605else 607else
606 AC_DEFINE([BAUTH_SUPPORT],[0],[disable basic Auth support]) 608 AC_DEFINE([BAUTH_SUPPORT],[0],[disable basic Auth support])
@@ -615,8 +617,9 @@ AC_ARG_ENABLE([dauth],
615 [disable HTTP basic and digest Auth support]), 617 [disable HTTP basic and digest Auth support]),
616 [enable_dauth=${enableval}], 618 [enable_dauth=${enableval}],
617 [enable_dauth=yes]) 619 [enable_dauth=yes])
618if test "$enable_dauth" = "yes" 620if test "$enable_dauth" != "xno"
619then 621then
622 enable_dauth=yes
620 AC_DEFINE([DAUTH_SUPPORT],[1],[include digest Auth support]) 623 AC_DEFINE([DAUTH_SUPPORT],[1],[include digest Auth support])
621else 624else
622 AC_DEFINE([DAUTH_SUPPORT],[0],[disable digest Auth support]) 625 AC_DEFINE([DAUTH_SUPPORT],[0],[disable digest Auth support])