bjh 99/10/29 06:20:11
Modified: src Configure Log: Prevent -Zexe switch from being passed to APR configure in LDFLAGS. autoconf's configure has it's own way of dealing with .exe suffixes which is incompatible with this switch. Revision Changes Path 1.15 +3 -1 apache-2.0/src/Configure Index: Configure =================================================================== RCS file: /home/cvs/apache-2.0/src/Configure,v retrieving revision 1.14 retrieving revision 1.15 diff -u -r1.14 -r1.15 --- Configure 1999/10/24 04:26:45 1.14 +++ Configure 1999/10/29 13:20:10 1.15 @@ -1743,7 +1743,9 @@ stripped_CFLAGS=`echo "$CFLAGS " | sed -e 's/-DTARGET[^ ]*//'` # FIXME # configure fails with -Werror, because it writes crap C for its tests... stripped_TEXTRA_CFLAGS=`echo "$TEXTRA_CFLAGS" | sed -e 's/-Werror//'` - CC="$CC" CFLAGS="$stripped_TEXTRA_CFLAGS $stripped_CFLAGS" OPTIM="$TOPTIM $OPTIM" ./configure $APR_FLAGS > /dev/null + # configure has its own way of adding an exe extension so don't use -Zexe (OS/2 only). + stripped_LDFLAGS=`echo "$LDFLAGS " | sed -e 's/-Zexe//'` + CC="$CC" CFLAGS="$stripped_TEXTRA_CFLAGS $stripped_CFLAGS" LDFLAGS="$stripped_LDFLAGS" OPTIM="$TOPTIM $OPTIM" ./configure $APR_FLAGS > /dev/null if [ $? -ne 0 ]; then echo "** FAILED to configure APR" exit 1