diff options
author | Francis Dupont <fdupont@isc.org> | 2016-01-27 12:58:58 +0100 |
---|---|---|
committer | Francis Dupont <fdupont@isc.org> | 2016-01-27 12:58:58 +0100 |
commit | 5965f335c7c3f1a58b07912c20fb88c71cf48425 (patch) | |
tree | d92d483907649f07492472546c597ad25ecca2a5 | |
parent | e619bd678c4e00fc1b68d5c2edbbf49a4930e9e0 (diff) | |
download | isc-dhcp-5965f335c7c3f1a58b07912c20fb88c71cf48425.tar.gz |
Add error when ar is not found (from bind9 configure)
-rw-r--r-- | configure.ac | 6 |
1 files changed, 6 insertions, 0 deletions
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 |