You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by Paul Sutton <pc...@hyperreal.com> on 1997/02/06 15:09:57 UTC
cvs commit: apache/src Configure
pcs 97/02/06 06:09:56
Modified: src Configure
Log:
Reviewed by: Brian Behlendorf, Chuck Murcko, Roy T. Fielding
Auto-create a Makefile in the support directory: update Configure to
write out the configured information to Makefile.config then prepend
that to the Makefile.tmpl in both src and support.
Revision Changes Path
1.76 +20 -17 apache/src/Configure
Index: Configure
===================================================================
RCS file: /export/home/cvs/apache/src/Configure,v
retrieving revision 1.75
retrieving revision 1.76
diff -C3 -r1.75 -r1.76
*** Configure 1997/02/04 23:54:22 1.75
--- Configure 1997/02/06 14:09:55 1.76
***************
*** 426,435 ****
# Show the final values of the rules
! echo "# Platform: $OS" >> Makefile
! echo "# Final Rules:" >> Makefile
! echo "# Rule WANTHSREGEX=$RULE_WANTHSREGEX" >> Makefile
! echo "###############" >> Makefile
#
# Now that _that's_ done, get on with it
--- 426,436 ----
# Show the final values of the rules
! echo "###############" > Makefile.config
! echo "# Platform: $OS" >> Makefile.config
! echo "# Final Rules:" >> Makefile.config
! echo "# Rule WANTHSREGEX=$RULE_WANTHSREGEX" >> Makefile.config
! echo "###############" >> Makefile.config
#
# Now that _that's_ done, get on with it
***************
*** 532,552 ****
#
echo >> Makefile
if [ "x$CC" != "x" ]; then
! echo "CC=$CC" >> Makefile
fi
if [ "x$OPTIM" != "x" ]; then
! echo "OPTIM=$OPTIM" >> Makefile
fi
! echo "CFLAGS1=$CFLAGS">> Makefile
! echo "INCLUDES1=$INCLUDES">> Makefile
! echo "LIBS1=$LIBS">> Makefile
! echo "LFLAGS1=$LFLAGS">> Makefile
! echo "BROKEN_BPRINTF_FLAGS=$OSBPRINTF">> Makefile
! echo "REGLIB=$REGLIB">> Makefile
! echo "RANLIB=$RANLIB">> Makefile
! echo >> Makefile
! echo "#### End of Configure created section ####">> Makefile
! echo >> Makefile
- cat "$makefile_tmpl" >> Makefile
--- 533,555 ----
#
echo >> Makefile
if [ "x$CC" != "x" ]; then
! echo "CC=$CC" >> Makefile.config
fi
if [ "x$OPTIM" != "x" ]; then
! echo "OPTIM=$OPTIM" >> Makefile.config
fi
! echo "CFLAGS1=$CFLAGS">> Makefile.config
! echo "INCLUDES1=$INCLUDES">> Makefile.config
! echo "LIBS1=$LIBS">> Makefile.config
! echo "LFLAGS1=$LFLAGS">> Makefile.config
! echo "BROKEN_BPRINTF_FLAGS=$OSBPRINTF">> Makefile.config
! echo "REGLIB=$REGLIB">> Makefile.config
! echo "RANLIB=$RANLIB">> Makefile.config
! echo >> Makefile.config
! echo "#### End of Configure created section ####">> Makefile.config
+ # Now (finish) creating the makefiles
+ cat Makefile.config >> Makefile
+ cat "$makefile_tmpl" >> Makefile
+ cat Makefile.config ../support/Makefile.tmpl > ../support/Makefile