From: Jeff Trawick Date: Thu, 14 Mar 2002 03:16:50 +0000 (+0000) Subject: Fix apxs -g handling. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ae80c64357da29ccc743363c898f9a722ea6caa5;p=apache Fix apxs -g handling. Move config_vars.mk from the top build directory to the build directory. Get build/rules.mk cleaned up for distclean/extraclean. PR: 10163 (This is the 2nd of two commits for that PR. The first was to apxs.in -- rev 1.35.) git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@93923 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/.cvsignore b/.cvsignore index ad98298c67..ab3e581d74 100644 --- a/.cvsignore +++ b/.cvsignore @@ -14,7 +14,6 @@ shlibtool config.status modules.c config.cache -config_vars.mk .libs httpd modules.lo diff --git a/CHANGES b/CHANGES index 1d2e30bfa8..ee6605816f 100644 --- a/CHANGES +++ b/CHANGES @@ -1,5 +1,8 @@ Changes with Apache 2.0.34-dev + *) Fix apxs -g handling. Move config_vars.mk from the top build + directory to the build directory. PR 10163 [Jeff Trawick] + *) Fix some mod_include problems which broke evaluation of some expressions. PR 10108 [Jeff Trawick] diff --git a/Makefile.in b/Makefile.in index a9a5edce9e..3154be0d0c 100644 --- a/Makefile.in +++ b/Makefile.in @@ -21,7 +21,8 @@ INSTALL_TARGETS = install-conf install-htdocs install-error install-icons \ install-build DISTCLEAN_TARGETS = include/ap_config_auto.h include/ap_config_path.h \ - modules.c config.cache config.log config.status config_vars.mk + modules.c config.cache config.log config.status build/config_vars.mk \ + build/rules.mk EXTRACLEAN_TARGETS = configure include/ap_config_auto.h.in generated_lists include $(top_builddir)/build/rules.mk @@ -86,9 +87,9 @@ install-conf: install-build: @echo Installing build system files @test -d $(installbuilddir) || $(MKINSTALLDIRS) $(installbuilddir) - @sed 's#LIBTOOL = \(.*\)#LIBTOOL = $(SHELL) $(installbuilddir)/libtool $(LTFLAGS)#' \ - config_vars.mk > $(installbuilddir)/config_vars.mk; \ - cp build/*.mk $(installbuilddir); \ + @cp build/*.mk $(installbuilddir); \ + sed 's#LIBTOOL = \(.*\)#LIBTOOL = $(SHELL) $(installbuilddir)/libtool $(LTFLAGS)#' \ + build/config_vars.mk > $(installbuilddir)/config_vars.mk; \ cp $(top_srcdir)/build/instdso.sh $(installbuilddir); htdocs-srcdir = $(top_srcdir)/docs/docroot diff --git a/acinclude.m4 b/acinclude.m4 index 25c903a3bd..728bff454b 100644 --- a/acinclude.m4 +++ b/acinclude.m4 @@ -104,9 +104,9 @@ AC_DEFUN(APACHE_GEN_CONFIG_VARS,[ APACHE_MKDIR_P_CHECK echo creating config_vars.mk - > config_vars.mk + > build/config_vars.mk for i in $APACHE_VAR_SUBST; do - eval echo "$i = \$$i" >> config_vars.mk + eval echo "$i = \$$i" >> build/config_vars.mk done ]) diff --git a/build/.cvsignore b/build/.cvsignore index 29d51bb51c..48698eb14e 100644 --- a/build/.cvsignore +++ b/build/.cvsignore @@ -1 +1,2 @@ rules.mk +config_vars.mk diff --git a/build/rules.mk.in b/build/rules.mk.in index 9c57020f6b..bd427a6fed 100644 --- a/build/rules.mk.in +++ b/build/rules.mk.in @@ -54,7 +54,7 @@ # The build environment was originally provided by Sascha Schumann. # -include $(top_builddir)/config_vars.mk +include $(top_builddir)/build/config_vars.mk # Combine all of the flags together in the proper order so that # the user-defined flags can always override the configure ones, if needed.