Skip to content
Snippets Groups Projects
Commit 888a7c4e authored by Kurt Zeilenga's avatar Kurt Zeilenga
Browse files

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

parent 0bb46f93
No related branches found
No related tags found
No related merge requests found
This diff is collapsed.
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment