Use AC_CHECK_PROGS instead of AC_CHECK_PROG to test for 'cc' in path.

AC_CHECK_PROGS leaves CC alone of 'cc' is not found.
This commit is contained in:
Kurt Zeilenga 1999-06-08 03:44:35 +00:00
parent e88a9dafc2
commit 30d8d40fa3
2 changed files with 555 additions and 550 deletions

1103
configure vendored

File diff suppressed because it is too large Load diff

View file

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