Only set CC=cc if test -z CC && cc exists in path...

This commit is contained in:
Kurt Zeilenga 1999-06-08 02:38:05 +00:00
parent c6cf2815cb
commit e88a9dafc2
2 changed files with 580 additions and 548 deletions

1124
configure vendored

File diff suppressed because it is too large Load Diff

View File

@ -311,7 +311,9 @@ dnl AC_PROG_INSTALL
dnl The default compiler is cc (NOT gcc)
dnl (should check to see if 'cc' exists)
CC=${CC-"cc"}
if test -z "${CC}"; then
AC_CHECK_PROG(CC,cc,cc,)
fi
dnl The default CFLAGS is empty NOT whatever AC_PROG_CC sets.
dnl CFLAGS=${CFLAGS-""}