APR include file.
Implement all exports.c symbols even if the package or function isn't
available in the current configuration.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@86989
13f79535-47bb-0310-9956-
ffa450edef68
echo " * link all of the APR functions into server regardless of whether"
echo " * the base server uses them."
echo " */"
-echo ""
-cd lib/apr/include
-for file in *.h
-do
- echo "#include \"$file\""
-done
-cd ../../../
-echo ""
echo ""
while read LINE
do
if [ "x`echo $LINE | egrep '^[:space:]*apr_'`" != "x" ]; then
+ newline=`echo "$LINE" |\
+ sed -e 's%^\(.*\)%extern const void *\1\\(void\);%'`
+ echo $newline
newline=`echo "$LINE" |\
sed -e 's%^\(.*\)%const void *ap_hack_\1 = \(const void *\)\1\;%'`
echo $newline
fi
done
+echo ""
echo "void *ap_ugly_hack;"
exit 0