chuck 96/10/01 07:31:25
Modified: src Configure
Log:
Make GuessCC work where . is not in $PATH
Revision Changes Path
1.24 +4 -2 apache/src/Configure
Index: Configure
===================================================================
RCS file: /export/home/cvs/apache/src/Configure,v
retrieving revision 1.23
retrieving revision 1.24
diff -C3 -r1.23 -r1.24
*** Configure 1996/10/01 01:04:41 1.23
--- Configure 1996/10/01 14:31:23 1.24
***************
*** 1,5 ****
#!/bin/sh
! # $Id: Configure,v 1.23 1996/10/01 01:04:41 jim Exp $
trap 'rm $tmpfile; exit' 0 1 2 3 15
# Apache configuration script, first cut --- rst.
--- 1,5 ----
#!/bin/sh
! # $Id: Configure,v 1.24 1996/10/01 14:31:23 chuck Exp $
trap 'rm $tmpfile; exit' 0 1 2 3 15
# Apache configuration script, first cut --- rst.
***************
*** 312,321 ****
# set above. If so, then we honor that; if not, then we set some
# defaults (gcc and -O2)
#
if grep "CC=" Makefile > /dev/null; then
CC="" # clear it just in case
else
! if [ "x$CC" = "x" ]; then CC=`GuessCC`; fi
echo "Setting C compiler to $CC"
fi
--- 312,323 ----
# set above. If so, then we honor that; if not, then we set some
# defaults (gcc and -O2)
#
+ COMPILER=`./GuessCC`
+
if grep "CC=" Makefile > /dev/null; then
CC="" # clear it just in case
else
! if [ "x$CC" = "x" ]; then CC=$COMPILER; fi
echo "Setting C compiler to $CC"
fi