]> git.sur5r.net Git - openldap/commitdiff
Complain if cc is missing.
authorKurt Zeilenga <kurt@openldap.org>
Tue, 25 Jun 2002 02:18:50 +0000 (02:18 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Tue, 25 Jun 2002 02:18:50 +0000 (02:18 +0000)
configure.in

index 71e4c9c9d9825abcf735afa54bc3b6f83d7e7079..7eef3ca8042644d9286d33339b9174e4ec16ed8a 100644 (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.