You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl-cvs@perl.apache.org by rs...@hyperreal.org on 1998/06/05 12:39:46 UTC
cvs commit: modperl/apaci libperl.module
rse 98/06/05 03:39:45
Modified: apaci libperl.module
Log:
Make sure -DPERL_THREADS occurs in Apache's CFLAGS, too.
Because this is needed for mod_include which is outside
the modules/perl/ tree.
Revision Changes Path
1.2 +5 -1 modperl/apaci/libperl.module
Index: libperl.module
===================================================================
RCS file: /export/home/cvs/modperl/apaci/libperl.module,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- libperl.module 1998/05/20 01:28:34 1.1
+++ libperl.module 1998/06/05 10:39:45 1.2
@@ -50,11 +50,15 @@
my_perl_libs="`egrep '^PERL_LIBS=' $my_outfile | tail -1 | awk -F= '{ print $2 }'`"
LIBS="$LIBS $my_perl_libs"
fi
- if [ ".`egrep '^PERL_SSI=yes' $my_outfile`" != . ]; then
+ if [ ".`egrep '^PERL_SSI[ ]*=[ ]*yes' $my_outfile`" != . ]; then
echo "$my_prefix enabling Perl support for SSI (mod_include)"
CFLAGS="$CFLAGS -DUSE_PERL_SSI"
my_perl_inc="`egrep '^PERL_INC=' $my_outfile | tail -1 | awk -F= '{ print $2 }'`"
INCLUDES="$INCLUDES -I\$(SRCDIR) $my_perl_inc"
+ if [ ".`egrep '^PERL_THREADS[ ]*=[ ]*yes' $my_config`" != . ]; then
+ echo "$my_prefix enabling Perl Thread support"
+ CFLAGS="$CFLAGS -DPERL_THREADS"
+ fi
fi
ConfigEnd