Error if ar(1) is missing. (ITS#1772)

This commit is contained in:
Kurt Zeilenga 2002-05-01 19:22:32 +00:00
parent 0bb46f937b
commit 888a7c4efc
2 changed files with 808 additions and 796 deletions

1596
configure vendored

File diff suppressed because it is too large Load diff

View file

@ -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