rse 99/10/01 09:22:49
Modified: src Configure Log: Really also pass the remaining options to APR's configure. Unfortunately for still unknown reasons Autoconf horribly dislikes an existing -DTARGET=\"..\", so make an ugly kludge. If you can find out how one can fix this, feel free to do it. I've investigated now over an hour and couldn't find a better solution than just removing this option. Revision Changes Path 1.8 +2 -1 apache-2.0/src/Configure Index: Configure =================================================================== RCS file: /home/cvs/apache-2.0/src/Configure,v retrieving revision 1.7 retrieving revision 1.8 diff -u -r1.7 -r1.8 --- Configure 1999/10/01 11:44:13 1.7 +++ Configure 1999/10/01 16:22:48 1.8 @@ -1731,7 +1731,8 @@ fi echo " + configuring Apache Portable Runtime (APR)" cd lib/apr - CC="$CC" CFLAGS="$TEXTRA_CFLAGS" OPTIM="$TOPTIM" ./configure >/dev/null + stripped_CFLAGS=`echo "$CFLAGS " | sed -e 's/-DTARGET[^ ]*//'` # FIXME + CC="$CC" CFLAGS="$TEXTRA_CFLAGS $stripped_CFLAGS" OPTIM="$TOPTIM $OPTIM" ./configure >/dev/null if [ $? -ne 0 ]; then echo "** FAILED to configure APR" exit 1