summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarko Kreen2007-04-16 12:53:44 +0000
committerMarko Kreen2007-04-16 12:53:44 +0000
commit17ad148ad4e5576e379462ef784395a14268c4c1 (patch)
treec9d778a94bce0b67419e6ccff9825d3a74a415e3
parent27a10df3d2ed5d7e515906a648c8d44ae89401ab (diff)
remember to run autoconf to test...
-rw-r--r--configure.ac6
1 files changed, 3 insertions, 3 deletions
diff --git a/configure.ac b/configure.ac
index c6699973..3596630c 100644
--- a/configure.ac
+++ b/configure.ac
@@ -21,7 +21,7 @@ test -n "$PG_CONFIG" || AC_MSG_ERROR([Cannot continue without pg_config])
dnl Find GNU make
AC_MSG_CHECKING(for GNU make)
-if test -n "$MAKE"; then
+if test ! -n "$MAKE"; then
for a in make gmake gnumake; do
if "$a" --version 2>&1 | grep -q GNU; then
MAKE="$a"
@@ -30,9 +30,9 @@ if test -n "$MAKE"; then
done
fi
if test -n "$MAKE"; then
- AC_MSG_ERROR([GNU make is not found])
-else
AC_MSG_RESULT($MAKE)
+else
+ AC_MSG_ERROR([GNU make is not found])
fi
AC_SUBST(MAKE)