if we don't use httpd set the --without-apxs flag, to prevent slurping in

headerfiles from the hostsystem from /usr/include (thanks Eelco :) )

svn path=/nixpkgs/trunk/; revision=3290
This commit is contained in:
Armijn Hemel 2005-07-04 13:38:28 +00:00
parent 3440fd020c
commit 7e042572fc

View File

@ -14,6 +14,8 @@ fi
if test "$httpServer"; then
configureFlags="--with-apxs=$httpd/bin/apxs --with-apr=$httpd --with-apr-util=$httpd $configureFlags"
makeFlags="APACHE_LIBEXECDIR=$out/modules $makeFlags"
else
configureFlags="--without-apxs $configureFlags"
fi
if test -n "$pythonBindings" -o -n "$javaSwigBindings"; then