]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
Work on a BSD/OS system where GNU make is used instead of the native
authorJeff Trawick <trawick@apache.org>
Fri, 23 Feb 2001 11:39:37 +0000 (11:39 +0000)
committerJeff Trawick <trawick@apache.org>
Fri, 23 Feb 2001 11:39:37 +0000 (11:39 +0000)
make.

Roy suggests using the variable set by AC_PROG_MAKE; we don't use that
yet, though I guess we could.  Greg suggests leaving this to Roy since
he will revamp this stuff soon anyway.

Inspired by: Joe Orton's patch to APR to accomplish the same thing

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88286 13f79535-47bb-0310-9956-ffa450edef68

configure.in

index 1c914b647ac383fb213e482f669ea5096bc7e5af..03c8b51c94ea38da66ec2131b207fae6f5e33647 100644 (file)
@@ -282,7 +282,13 @@ dnl If we are running on BSD/OS, we need to use the BSD .include syntax.
 BSD_MAKEFILE=no
 case "$host_alias" in
 *bsdi*)
-    BSD_MAKEFILE=yes;;
+    # Check whether they've installed GNU make
+    if make --version > /dev/null 2>&1; then
+        true
+    else
+        BSD_MAKEFILE=yes
+    fi
+    ;;
 esac
 
 AC_OUTPUT($APACHE_OUTPUT_FILES support/apxs support/apachectl,,[