martin 99/12/13 06:33:27
Modified: src Configure Log: Undo recent shell-env-workaround for MPE/iX. Use explicit "export" to force variables into environment. Revision Changes Path 1.380 +3 -3 apache-1.3/src/Configure Index: Configure =================================================================== RCS file: /export/home/cvs/apache-1.3/src/Configure,v retrieving revision 1.379 retrieving revision 1.380 diff -u -r1.379 -r1.380 --- Configure 1999/12/10 11:03:07 1.379 +++ Configure 1999/12/13 14:33:26 1.380 @@ -907,9 +907,9 @@ ## TCPP=`egrep '^CPP=' Makefile.config | tail -1 | awk -F= '{print $2}'` if [ "x$TCPP" != "x" ]; then - CPP=`env CC="$CC" CPP=$TCPP ./helpers/findcpp.sh` + CPP=`CPP=$TCPP; export CPP CC; ./helpers/findcpp.sh` else - CPP=`env CC="$CC" ./helpers/findcpp.sh` + CPP=`export CC; ./helpers/findcpp.sh` fi if [ "x$TCPP" = "x" ]; then echo "CPP=$CPP" >> Makefile.config @@ -935,7 +935,7 @@ echo "" >>$AP_CONFIG_AUTO_H echo "/* check: #include <$header> */" >>$AP_CONFIG_AUTO_H name="`echo $header | sed -e 's:/:_:g' -e 's:\.:_:g' | tr '[a-z]' '[A-Z]'`" - env CPP="$CPP" ./helpers/checkheader.sh $header + ( export CPP; ./helpers/checkheader.sh $header ) if [ $? -eq 0 ]; then echo "#ifndef HAVE_${name}" >>$AP_CONFIG_AUTO_H echo "#define HAVE_${name} 1" >>$AP_CONFIG_AUTO_H