From 2179c37bffccdd6ad4bd4fb5040e87da187f1ecf Mon Sep 17 00:00:00 2001 From: Matthias Andree Date: Fri, 18 Nov 2005 01:08:40 +0000 Subject: Portability fix: Solaris' /bin/sh does not support if ! test ..., factor the ! negation into the test. svn path=/trunk/; revision=4460 --- m4-local/ac_ma_search_package.m4 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'm4-local') diff --git a/m4-local/ac_ma_search_package.m4 b/m4-local/ac_ma_search_package.m4 index 5f3c8b11..f2af9424 100644 --- a/m4-local/ac_ma_search_package.m4 +++ b/m4-local/ac_ma_search_package.m4 @@ -62,7 +62,7 @@ if test "${with_$1}" != no ; then $1_libdir=$i/lib fi - if ! test -f "${$1_include}/$5" -a -d "${$1_libdir}" ; then + if test ! -f "${$1_include}/$5" -o ! -d "${$1_libdir}" ; then continue fi -- cgit v1.2.3