])
-if test "$taler_only" != yes
-then
+AS_IF([test "$taler_only" != yes],[
+
# Check for libltdl header (#2999)
ltdl=0
LIBS=$SAVE_LIBS
-fi
+# end of taler-only being false
+])
+
# check for iconv
AM_ICONV
[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)])