From: Kurt Zeilenga Date: Tue, 25 Jun 2002 02:18:50 +0000 (+0000) Subject: Complain if cc is missing. X-Git-Tag: NO_SLAP_OP_BLOCKS~1394 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=2757cb75040c084c81ffe8f3703706ba805ea1a1;p=openldap Complain if cc is missing. --- diff --git a/configure.in b/configure.in index 71e4c9c9d9..7eef3ca804 100644 --- a/configure.in +++ b/configure.in @@ -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.