]> granicus.if.org Git - apache/commitdiff
Fix the build on BSDi machines. The bsd_makefile trick didn't completely
authorDavid Reid <dreid@apache.org>
Sat, 15 Jun 2002 21:48:53 +0000 (21:48 +0000)
committerDavid Reid <dreid@apache.org>
Sat, 15 Jun 2002 21:48:53 +0000 (21:48 +0000)
work as autoconf may run config.status and remove the fixes we've just
applied, so this allows us to workaround that problem.

Initailly suggested by Cliff, this is a modified version.

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

build/rules.mk.in
configure.in

index 8c30ebe8ce7fd634be42e25eb14b0ab235f44766..e598f46d1414315dcc1f230f7b79dd3f9f1b7b80 100644 (file)
@@ -54,7 +54,7 @@
 # The build environment was originally provided by Sascha Schumann.
 #
 
-include $(top_builddir)/build/config_vars.mk
+@ap_make_include@ @ap_make_delimiter@$(top_builddir)/build/config_vars.mk@ap_make_delimiter@
 
 # Combine all of the flags together in the proper order so that
 # the user-defined flags can always override the configure ones, if needed.
@@ -252,7 +252,7 @@ SHLIB_SUFFIX = so
 #
 # Dependencies
 #
-include $(builddir)/.deps
+@ap_make_include@ @ap_make_delimiter@$(builddir)/.deps@ap_make_delimiter@
 
 .PHONY: all all-recursive install-recursive local-all $(PHONY_TARGETS) \
        shared-build shared-build-recursive local-shared-build \
index dbdc3942e851e99e0f625bbb7409a61a51636846..5bfbdaffdae2becf69a9f60a9b2cc6e5a319198c 100644 (file)
@@ -489,6 +489,8 @@ AC_SUBST(perlbin)
 dnl If we are running on BSD/OS, we need to use the BSD .include syntax.
 
 BSD_MAKEFILE=no
+ap_make_include=include
+ap_make_delimiter=' '
 case $host in
 *bsdi*)
     # Check whether they've installed GNU make
@@ -496,9 +498,13 @@ case $host in
         true
     else
         BSD_MAKEFILE=yes
+        ap_make_include=.include
+        ap_make_delimiter='"'
     fi
     ;;
 esac
+AC_SUBST(ap_make_include)
+AC_SUBST(ap_make_delimiter)
 
 dnl Ensure that docs/conf is created.
 test -d docs/conf||$mkdir_p docs/conf