mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-01-22 23:02:55 -05:00
Use AC_CHECK_PROGS instead of AC_CHECK_PROG to test for 'cc' in path.
AC_CHECK_PROGS leaves CC alone of 'cc' is not found.
This commit is contained in:
parent
e88a9dafc2
commit
30d8d40fa3
2 changed files with 555 additions and 550 deletions
|
|
@ -312,7 +312,7 @@ dnl AC_PROG_INSTALL
|
|||
dnl The default compiler is cc (NOT gcc)
|
||||
dnl (should check to see if 'cc' exists)
|
||||
if test -z "${CC}"; then
|
||||
AC_CHECK_PROG(CC,cc,cc,)
|
||||
AC_CHECK_PROGS(CC,cc)
|
||||
fi
|
||||
|
||||
dnl The default CFLAGS is empty NOT whatever AC_PROG_CC sets.
|
||||
|
|
|
|||
Loading…
Reference in a new issue