From: Lucas De Marchi Date: Tue, 23 Oct 2012 12:45:10 +0000 (-0200) Subject: build-sys: use AS_IF autoconf macro X-Git-Tag: v11~29 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=caaf438cb681c5b5b5b3c32e5b6bd12e96993dd7;p=thirdparty%2Fkmod.git build-sys: use AS_IF autoconf macro Just for consistency with the rest. --- diff --git a/configure.ac b/configure.ac index 30035efd..ce0946b6 100644 --- a/configure.ac +++ b/configure.ac @@ -88,9 +88,9 @@ AC_ARG_ENABLE([manpages], [], enable_manpages=yes) AM_CONDITIONAL([BUILD_MANPAGES], [test "x$enable_manpages" = "xyes"]) AC_PATH_PROG([XSLTPROC], [xsltproc], [no]) -if test "x$XSLTPROC" = "xno" && test "x$enable_manpages" = "xyes"; then +AS_IF([test "x$XSLTPROC" = "xno" && test "x$enable_manpages" = "xyes"], [ AC_MSG_ERROR([xsltproc command not found, try ./configure --disable-manpages]) -fi +]) AC_ARG_ENABLE([logging], AS_HELP_STRING([--disable-logging], [disable system logging @<:@default=enabled@:>@]),