www-apache-bugdb mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alan Coopersmith <al...@godzilla.eecs.berkeley.edu>
Subject config/834: Configure doesn't copy Configuration settings to support/Makefile
Date Mon, 07 Jul 1997 23:10:01 GMT

>Number:         834
>Category:       config
>Synopsis:       Configure doesn't copy Configuration settings to support/Makefile
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    apache (Apache HTTP Project)
>State:          open
>Class:          sw-bug
>Submitter-Id:   apache
>Arrival-Date:   Mon Jul  7 16:10:01 1997
>Originator:     alanc@godzilla.eecs.berkeley.edu
>Organization:
apache
>Release:        1.2.1
>Environment:
AIX 3.2.5 RS/6000
IBM C Compiler (xlc 1.3)
>Description:
Options set in the "Makefile configuration" section of the Configuration file
are copied to the src/Makefile, but not the support/Makefile.
>How-To-Repeat:
Set CC, OPTIM, etc. in src/Configuration, run Configure, and
then look at support/Makefile
>Fix:
--- apache_1.2.1/src/Configure  Wed Jul  2 22:59:43 1997
+++ apache_1.2.1-mine/src/Configure     Mon Jul  7 15:49:26 1997
@@ -124,7 +124,7 @@
 #
 # Now add Makefile additions and Rules
 #
-awk >>Makefile <$tmpfile '\
+awk >Makefile.config <$tmpfile '\
     BEGIN { print "# Makefile options inherited from Configure"; \
            print "###############"; \
          } \
@@ -514,7 +514,7 @@
 
 # Show the final values of the rules
 
-echo "###############" > Makefile.config
+echo "###############" >> Makefile.config
 echo "# Platform: $OS" >> Makefile.config
 echo "# Final Rules:" >> Makefile.config
 echo "#  Rule WANTHSREGEX=$RULE_WANTHSREGEX" >> Makefile.config
@@ -535,7 +535,7 @@
 # and set a "safe" optimization level
 #
 
-if egrep "^CC[         ]*=" Makefile > /dev/null; then
+if egrep "^CC[         ]*=" Makefile.config > /dev/null; then
     CC=""      # clear it just in case
 else
     if [ "x$CC" = "x" ]; then
@@ -553,7 +553,7 @@
 #
 # Ditto for optimization
 #
-if  egrep "^OPTIM[     ]*=" Makefile > /dev/null; then
+if  egrep "^OPTIM[     ]*=" Makefile.config > /dev/null; then
     OPTIM=""   # ditto
 else
     if [ "x$OPTIM" = "x" ]; then
%0
>Audit-Trail:
>Unformatted:



Mime
View raw message