From 5965f335c7c3f1a58b07912c20fb88c71cf48425 Mon Sep 17 00:00:00 2001 From: Francis Dupont Date: Wed, 27 Jan 2016 12:58:58 +0100 Subject: [PATCH] Add error when ar is not found (from bind9 configure) --- configure.ac | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/configure.ac b/configure.ac index 64007f7d..30f9ef0a 100644 --- a/configure.ac +++ b/configure.ac @@ -52,6 +52,12 @@ AC_PROG_RANLIB AC_PATH_PROG(AR, ar) AC_SUBST(AR) +if test "X$AR" = "X"; then + AC_MSG_ERROR([ +ar program not found. Please fix your PATH to include the directory in +which ar resides, or set AR in the environment with the full path to ar.]) +fi + AC_CONFIG_HEADERS([includes/config.h]) # we sometimes need to know byte order for building packets