ben 99/06/07 05:05:35
Modified: src Configure
Log:
Allow Libs: in .module files.
Revision Changes Path
1.352 +6 -1 apache-1.3/src/Configure
Index: Configure
===================================================================
RCS file: /export/home/cvs/apache-1.3/src/Configure,v
retrieving revision 1.351
retrieving revision 1.352
diff -u -r1.351 -r1.352
--- Configure 1999/05/31 11:57:57 1.351
+++ Configure 1999/06/07 12:05:35 1.352
@@ -1537,6 +1537,11 @@
fi
. ./$tmpfile3
fi
+ if grep "Libs:" $tmpfile2 > /dev/null; then
+ modlibs1=`grep Libs: $tmpfile2 | sed 's/^.*Libs:[ ]*//'`
+ echo " o $modbase adds libraries: $modlibs1"
+ modlibs="$modlibs $modlibs1"
+ fi
rm -f $tmpfile2 $tmpfile3
if [ "x$ext" != "x$SHLIB_SUFFIX_NAME" ]; then
ext=o
@@ -1977,7 +1982,7 @@
####################################################################
## Finish creating the Makefile.config file
##
-echo "LIBS1=$LIBS">> Makefile.config
+echo "LIBS1=$modlibs $LIBS">> Makefile.config
echo "##" >> Makefile.config
echo "## (End of automatically generated section)">> Makefile.config
echo "##" >> Makefile.config