apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeff Trawick <trawi...@bellsouth.net>
Subject Re: [PATCH] allow using GNU make on BSDi
Date Mon, 19 Feb 2001 23:01:44 GMT
Joe Orton <joe@manyfish.co.uk> writes:

> Hi,
> 
> This copes with BSDi installations where the default make has been
> replaced with GNU make:

committed;

will this work for Apache without making anyone hurl?

Index: configure.in
===================================================================
RCS file: /home/cvspublic/httpd-2.0/configure.in,v
retrieving revision 1.123
diff -u -r1.123 configure.in
--- configure.in        2001/02/18 16:07:31     1.123
+++ configure.in        2001/02/19 23:01:22
@@ -274,7 +274,13 @@
 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,,[

-- 
Jeff Trawick | trawickj@bellsouth.net | PGP public key at web site:
       http://www.geocities.com/SiliconValley/Park/9289/
             Born in Roswell... married an alien...

Mime
View raw message