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.
This commit is contained in:
Olaf Bergmann committed 2015-06-27 15:38:32 +02:00
1 parent 842a4135a7
commit 838d5ce37b
1 file changed
+1
+1
View File
@@ -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!])