aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLucas De Marchi <lucas.demarchi@profusion.mobi>2012-10-23 10:45:10 -0200
committerLucas De Marchi <lucas.demarchi@profusion.mobi>2012-10-23 10:45:10 -0200
commitcaaf438cb681c5b5b5b3c32e5b6bd12e96993dd7 (patch)
tree612b0ba399ae726822cf572ec8346d426b7cd4fc
parent5c61b1491e29f89f47c23288440e9106da6bf5d7 (diff)
downloadkmod-caaf438cb681c5b5b5b3c32e5b6bd12e96993dd7.tar.gz
build-sys: use AS_IF autoconf macro
Just for consistency with the rest.
-rw-r--r--configure.ac4
1 files changed, 2 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac
index 30035ef..ce0946b 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@:>@]),