mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-01-03 13:40:37 -05:00
Error if ar(1) is missing. (ITS#1772)
This commit is contained in:
parent
0bb46f937b
commit
888a7c4efc
2 changed files with 808 additions and 796 deletions
|
|
@ -626,7 +626,13 @@ dnl The default CFLAGS is empty NOT whatever AC_PROG_CC sets.
|
|||
dnl (for now, let autoconf sort this out)
|
||||
dnl CFLAGS=${CFLAGS-""}
|
||||
|
||||
AC_CHECK_PROGS(AR,ar gar,ar)
|
||||
if test -z "${AR}"; then
|
||||
AC_CHECK_PROGS(AR,ar gar,missing)
|
||||
|
||||
if test "${AR}" = "missing" ; then
|
||||
AC_MSG_ERROR([Unable to locate ar(1). Check PATH or set AR.])
|
||||
fi
|
||||
fi
|
||||
|
||||
AC_LIBTOOL_WIN32_DLL
|
||||
AC_LIBTOOL_DLOPEN
|
||||
|
|
|
|||
Loading…
Reference in a new issue