[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [gnunet] 03/03: use AS_CASE/AS_IF
From: |
gnunet |
Subject: |
[GNUnet-SVN] [gnunet] 03/03: use AS_CASE/AS_IF |
Date: |
Mon, 13 May 2019 10:40:02 +0200 |
This is an automated email from the git hooks/post-receive script.
grothoff pushed a commit to branch master
in repository gnunet.
commit 50f8dfd7dbe71fb4d71bfe8400a3d0f2a434cc04
Author: Christian Grothoff <address@hidden>
AuthorDate: Mon May 13 10:39:34 2019 +0200
use AS_CASE/AS_IF
---
configure.ac | 17 ++++++++---------
1 file 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],
])
-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)])
--
To stop receiving notification emails like this one, please contact
address@hidden