summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorMukund Sivaraman <muks@banu.com>2009-11-14 16:34:06 +0530
committerMukund Sivaraman <muks@banu.com>2009-11-14 16:34:06 +0530
commitc42fbaaf80a064bad17abd4bcb7c9422fe845eb4 (patch)
tree7d674b2182c4b7135e94e6db9379ef55f67dcfbd /config
parent2061a18313de8dce0efb5ecd326bcd5c04708711 (diff)
downloadtinyproxy-c42fbaaf80a064bad17abd4bcb7c9422fe845eb4.tar.gz
tinyproxy-c42fbaaf80a064bad17abd4bcb7c9422fe845eb4.zip
Make asciidoc a requirement for building Tinyproxy
asciidoc is necessary as the version number is added during configure into the asciidoc manpage sources. So simply bundling a pre-generated manpage won't do.
Diffstat (limited to '')
-rw-r--r--configure.ac3
1 files changed, 3 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 74bba14..6fd041e 100644
--- a/configure.ac
+++ b/configure.ac
@@ -279,6 +279,9 @@ AC_SUBST(ADDITIONAL_OBJECTS)
# Check for asciidoc
AC_PATH_PROG(A2X, a2x, no)
AM_CONDITIONAL(HAVE_A2X, test "x$A2X" != "xno")
+if test x"$A2X" = x"no"; then
+ AC_MSG_ERROR([Test for asciidoc failed. See the file 'INSTALL' for help.])
+fi
AC_CONFIG_FILES([
Makefile