Mailing List Archive

cvs commit: apache/src Configure
jim 96/12/27 06:30:30

Modified: src Configure
Log:
Fix Configure and use of awk

Revision Changes Path
1.62 +8 -6 apache/src/Configure

Index: Configure
===================================================================
RCS file: /export/home/cvs/apache/src/Configure,v
retrieving revision 1.61
retrieving revision 1.62
diff -C3 -r1.61 -r1.62
*** Configure 1996/12/26 19:21:43 1.61
--- Configure 1996/12/27 14:30:29 1.62
***************
*** 99,110 ****
#
# Add module set only
#
! awk >Makefile <$tmpfile '\
! BEGIN { printf "# Makefile automatically generated from %s\n", $makefile_tmpl; \
! print "# and configuration file by Apache config script. "; \
! print "# Hand-edited changes will be lost if the config script"; \
! print "# is re-run."; \
! } \
/^Module/ { modules[n++] = $3 } \
/^%Module/ { modules[n++] = $3 } \
END { print "MODULES=\\"; \
--- 99,112 ----
#
# Add module set only
#
! echo "#" > Makefile
! echo "# Makefile automatically generated from $makefile_tmpl" >> Makefile
! echo "# and configuration file by Apache config script." >> Makefile
! echo "# Hand-edited changes will be lost if the config script" >> Makefile
! echo "# is re-run" >> Makefile
! echo "#" >> Makefile
!
! awk >>Makefile <$tmpfile '\
/^Module/ { modules[n++] = $3 } \
/^%Module/ { modules[n++] = $3 } \
END { print "MODULES=\\"; \