diff options
author | Christian Grothoff <christian@grothoff.org> | 2019-05-13 10:39:34 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2019-05-13 10:39:34 +0200 |
commit | 50f8dfd7dbe71fb4d71bfe8400a3d0f2a434cc04 (patch) | |
tree | 2567829d2d30c9c9804e61efe774010093e13150 | |
parent | 311cada8c06acd023199ffafaeb2d3151aeb4af3 (diff) | |
download | gnunet-50f8dfd7dbe71fb4d71bfe8400a3d0f2a434cc04.tar.gz gnunet-50f8dfd7dbe71fb4d71bfe8400a3d0f2a434cc04.zip |
use AS_CASE/AS_IF
-rw-r--r-- | configure.ac | 17 |
1 files changed, 8 insertions, 9 deletions
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], | |||
835 | ]) | 835 | ]) |
836 | 836 | ||
837 | 837 | ||
838 | if test "$taler_only" != yes | 838 | AS_IF([test "$taler_only" != yes],[ |
839 | then | 839 | |
840 | 840 | ||
841 | # Check for libltdl header (#2999) | 841 | # Check for libltdl header (#2999) |
842 | ltdl=0 | 842 | ltdl=0 |
@@ -1003,7 +1003,9 @@ AS_IF([test "$enable_shared" = "no"], | |||
1003 | LIBS=$SAVE_LIBS | 1003 | LIBS=$SAVE_LIBS |
1004 | 1004 | ||
1005 | 1005 | ||
1006 | fi | 1006 | # end of taler-only being false |
1007 | ]) | ||
1008 | |||
1007 | 1009 | ||
1008 | # check for iconv | 1010 | # check for iconv |
1009 | AM_ICONV | 1011 | AM_ICONV |
@@ -1674,12 +1676,9 @@ else | |||
1674 | [enable_workarounds=${enableval}], | 1676 | [enable_workarounds=${enableval}], |
1675 | [enable_workarounds=no]) | 1677 | [enable_workarounds=no]) |
1676 | AC_MSG_RESULT($enable_workarounds) | 1678 | AC_MSG_RESULT($enable_workarounds) |
1677 | if test x$enable_windows_workarounds = "xyes" | 1679 | AS_IF([test x$enable_windows_workarounds = "xyes"], |
1678 | then | 1680 | [workarounds=1], |
1679 | workarounds=1 | 1681 | [workarounds=0]) |
1680 | else | ||
1681 | workarounds=0 | ||
1682 | fi | ||
1683 | fi | 1682 | fi |
1684 | AC_DEFINE_UNQUOTED([ENABLE_WINDOWS_WORKAROUNDS], $workarounds, [enable workarounds used on Windows (only useful for test cases)]) | 1683 | AC_DEFINE_UNQUOTED([ENABLE_WINDOWS_WORKAROUNDS], $workarounds, [enable workarounds used on Windows (only useful for test cases)]) |
1685 | 1684 | ||