From 838d5ce37b75f6144e2c3134064b25f5cbd97777 Mon Sep 17 00:00:00 2001 From: Olaf Bergmann Date: Sat, 27 Jun 2015 15:38:32 +0200 Subject: [PATCH] configure.ac: make A2X precious A2X is explicitly declared with AC_ARG_VAR to allow users to pass a custom value to configure. Thus, users who do not have a2x installed can invoke A2X=/bin/true ./configure --enable-examples to prevent configure stopping on the a2x check. --- configure.ac | 1 + 1 file changed, 1 insertion(+) diff --git a/configure.ac b/configure.ac index 46598bd5..31409b79 100644 --- a/configure.ac +++ b/configure.ac @@ -236,6 +236,7 @@ AC_ARG_ENABLE([examples], [build_examples="yes"]) if test "x$build_examples" = "xyes"; then + AC_ARG_VAR([A2X], [a2x command]) AC_PATH_PROG([A2X], [a2x]) if test "x$A2X" = "x"; then AC_MSG_WARN([==> You want to build the examples binaries, that is also including the respective manpages but a2x was not found!])