From: Ruben Kerkhof Date: Sat, 27 May 2017 12:54:22 +0000 (+0200) Subject: configure.ac: replace AS_IF with normal test X-Git-Tag: collectd-5.8.0~158 X-Git-Url: https://git.octo.it/?p=collectd.git;a=commitdiff_plain;h=ac295b96842daff60631573c806150487467fa4a configure.ac: replace AS_IF with normal test AS_IF is slightly more portable, but slightly less readable. --- diff --git a/configure.ac b/configure.ac index d3187b55..90acfb8d 100644 --- a/configure.ac +++ b/configure.ac @@ -60,9 +60,9 @@ if test "x$collectd_cv_prog_bison" = "xno" && test ! -f "${srcdir}/src/liboconfi AC_MSG_ERROR([bison is missing and you do not have ${srcdir}/src/liboconfig/parser.c. Please install bison]) fi -AS_IF([test "x$lt_cv_dlopen" = "xno"], - [AC_MSG_ERROR([Your system does not support dlopen])] -) +if test "x$lt_cv_dlopen" = "xno"; then + AC_MSG_ERROR([Your system does not support dlopen]) +fi AC_SUBST([DLOPEN_LIBS], [$lt_cv_dlopen_libs])