##
##  libperl.module -- mod_perl Apache source tree stub
##  Written by Ralf S. Engelschall <rse@apache.org>
##
##  This script is _sourced_ by Apache's src/Configure script
##  while configuring the module subdirectories. We can use
##  two variables here to find ourself: $modfile, $modbase.
##  Additionally because we run inside src/Configure's namespace
##  we can directly adjust CFLAGS, LIBS, etc.
##

Name: mod_pushweb_module
ConfigStart
echo '      + adding librand.a (in __LIBRAND__)'
CFLAGS="$CFLAGS1 -DMOD_PUSHWEB"
LIBS="$LIBS -lrand -lmod_pushweb"
LDFLAGS="$LDFLAGS -L__LIBRAND__ -L__APACHE__/src/modules/mod_pushweb"
echo "      + CC is now $CC"
echo "      + CFLAGS is now $CFLAGS"
echo "      + LIBS is now $LIBS"
echo "      + LDFLAGS is now $LDFLAGS"
ConfigEnd

