mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-20 22:59:34 -05:00
Complain if cc is missing.
This commit is contained in:
parent
0a2a381d07
commit
2757cb7504
1 changed files with 5 additions and 1 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Reference in a new issue