]> git.ipfire.org Git - thirdparty/dhcp.git/commitdiff
Add error when ar is not found (from bind9 configure)
authorFrancis Dupont <fdupont@isc.org>
Wed, 27 Jan 2016 11:58:58 +0000 (12:58 +0100)
committerFrancis Dupont <fdupont@isc.org>
Wed, 27 Jan 2016 11:58:58 +0000 (12:58 +0100)
configure.ac

index 64007f7d2386f50375c3d22bfcc3b66ccb70efa2..30f9ef0aa24772b67862f4cd6166e1cdd25ad77e 100644 (file)
@@ -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