Skip to content
Snippets Groups Projects
Commit 2757cb75 authored by Kurt Zeilenga's avatar Kurt Zeilenga
Browse files

Complain if cc is missing.

parent 0a2a381d
No related branches found
No related tags found
No related merge requests found
......@@ -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.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment