pcs 98/02/04 02:27:44
Modified: src Configure
Log:
Add -DSHARED_MODULE when compiling modules to be shared (at least, when
Configure auto-creates a Makefile to build the module).
Submitted by: Alexei
Revision Changes Path
1.182 +1 -1 apache-1.3/src/Configure
Index: Configure
===================================================================
RCS file: /export/home/cvs/apache-1.3/src/Configure,v
retrieving revision 1.181
retrieving revision 1.182
diff -u -r1.181 -r1.182
--- Configure 1998/02/03 10:49:27 1.181
+++ Configure 1998/02/04 10:27:42 1.182
@@ -663,7 +663,7 @@
# set in the configuration file
#
if [ "x$TCFLAGS_SHLIB" = "x" ]; then
- echo "CFLAGS_SHLIB=$CFLAGS_SHLIB" >> Makefile.config
+ echo "CFLAGS_SHLIB=$CFLAGS_SHLIB -DSHARED_MODULE" >> Makefile.config
fi
if [ "x$TLDFLAGS_SHLIB" = "x" ]; then
echo "LDFLAGS_SHLIB=$LDFLAGS_SHLIB" >> Makefile.config