From: Christian Grothoff Date: Mon, 13 May 2019 08:39:34 +0000 (+0200) Subject: use AS_CASE/AS_IF X-Git-Tag: v0.11.5~70 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=50f8dfd7dbe71fb4d71bfe8400a3d0f2a434cc04;p=oweals%2Fgnunet.git use AS_CASE/AS_IF --- diff --git a/configure.ac b/configure.ac index cc558b8e8..b83e5267b 100644 --- a/configure.ac +++ b/configure.ac @@ -835,8 +835,8 @@ AS_IF([test "$extractor" != 1], ]) -if test "$taler_only" != yes -then +AS_IF([test "$taler_only" != yes],[ + # Check for libltdl header (#2999) ltdl=0 @@ -1003,7 +1003,9 @@ AS_IF([test "$enable_shared" = "no"], LIBS=$SAVE_LIBS -fi +# end of taler-only being false +]) + # check for iconv AM_ICONV @@ -1674,12 +1676,9 @@ else [enable_workarounds=${enableval}], [enable_workarounds=no]) AC_MSG_RESULT($enable_workarounds) - if test x$enable_windows_workarounds = "xyes" - then - workarounds=1 - else - workarounds=0 - fi + AS_IF([test x$enable_windows_workarounds = "xyes"], + [workarounds=1], + [workarounds=0]) fi AC_DEFINE_UNQUOTED([ENABLE_WINDOWS_WORKAROUNDS], $workarounds, [enable workarounds used on Windows (only useful for test cases)])