From 2757cb75040c084c81ffe8f3703706ba805ea1a1 Mon Sep 17 00:00:00 2001 From: Kurt Zeilenga Date: Tue, 25 Jun 2002 02:18:50 +0000 Subject: [PATCH] Complain if cc is missing. --- configure.in | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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. -- 2.39.5