summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/aclocal.m43
1 files changed, 3 insertions, 0 deletions
diff --git a/src/aclocal.m4 b/src/aclocal.m4
index 7e635c831..7944532c6 100644
--- a/src/aclocal.m4
+++ b/src/aclocal.m4
@@ -1014,6 +1014,9 @@ AC_REQUIRE([AC_PROG_ARCHIVE])dnl
AC_REQUIRE([AC_PROG_ARCHIVE_ADD])dnl
AC_REQUIRE([AC_PROG_INSTALL])dnl
AC_CHECK_PROG(AR, ar, ar, false)
+if test "$AR" = "false"; then
+ AC_MSG_ERROR([ar not found in PATH])
+fi
AC_CHECK_PROG(PERL, perl, perl, false)
if test "$ac_cv_prog_PERL" = "false"; then
AC_MSG_ERROR(Perl is now required for Kerberos builds.)