]> git.ipfire.org Git - thirdparty/kmod.git/commitdiff
build-sys: use AS_IF autoconf macro
authorLucas De Marchi <lucas.demarchi@profusion.mobi>
Tue, 23 Oct 2012 12:45:10 +0000 (10:45 -0200)
committerLucas De Marchi <lucas.demarchi@profusion.mobi>
Tue, 23 Oct 2012 12:45:10 +0000 (10:45 -0200)
Just for consistency with the rest.

configure.ac

index 30035efd3f3ddeccdec9f57638d25cdca079d499..ce0946b6b21a844e8c8f0e0fb839ccb76c20960d 100644 (file)
@@ -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@:>@]),