Complain if cc is missing.

This commit is contained in:
Kurt Zeilenga 2002-06-25 02:18:50 +00:00
parent 0a2a381d07
commit 2757cb7504

View file

@ -623,7 +623,11 @@ if test $ol_aix_threads = yes ; then
fi
if test -z "${CC}"; then
AC_CHECK_PROGS(CC,cc)
AC_CHECK_PROGS(CC,cc,missing)
if test "${CC}" = "missing" ; then
AC_MSG_ERROR([Unable to locate cc(1). Check PATH or set CC.])
fi
fi
dnl The default CFLAGS is empty NOT whatever AC_PROG_CC sets.