From 218e5804fbc4ed926eb46ff9447d7a8e30fef748 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ralf=20Cors=C3=A9pius?= Date: Tue, 14 Aug 2007 16:16:14 +0200 Subject: [PATCH] Use AS_IF instead of []-if. --- configure.ac | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index 3e6a04a0c..3520bca9e 100644 --- a/configure.ac +++ b/configure.ac @@ -343,9 +343,9 @@ do AC_MSG_CHECKING(for $dir/include in INCPATH) if test -d $dir/include 2>/dev/null ; then - if [[ "$dir" != "/usr/local" ]] ; then + AS_IF([test "$dir" != /usr/local],[ INCPATH="$INCPATH -I$dir/include" - fi + ]) AC_MSG_RESULT(yes) else AC_MSG_RESULT(no)