From caaf438cb681c5b5b5b3c32e5b6bd12e96993dd7 Mon Sep 17 00:00:00 2001 From: Lucas De Marchi Date: Tue, 23 Oct 2012 10:45:10 -0200 Subject: [PATCH] build-sys: use AS_IF autoconf macro Just for consistency with the rest. --- configure.ac | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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@:>@]), -- 2.47.2