Commit 85bb4350 authored by Dridi Boukelmoune's avatar Dridi Boukelmoune

Override RST2MAN using a --with argument

parent 75c923b6
...@@ -19,12 +19,12 @@ LIBS="$PTHREAD_LIBS $LIBS" ...@@ -19,12 +19,12 @@ LIBS="$PTHREAD_LIBS $LIBS"
CFLAGS="$CFLAGS $PTHREAD_CFLAGS" CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
CC="$PTHREAD_CC" CC="$PTHREAD_CC"
AC_ARG_WITH([rst2man],
# Check for rst utilities AS_HELP_STRING(
AC_CHECK_PROGS(RST2MAN, [rst2man rst2man.py], "no") [--with-rst2man=PATH],
if test "x$RST2MAN" = "xno"; then [Location of rst2man (auto)]),
AC_MSG_ERROR([rst2man not found - cannot build man pages]) [RST2MAN="$withval"],
fi AC_CHECK_PROGS(RST2MAN, [rst2man rst2man.py], []))
m4_ifndef([VARNISH_PREREQ], AC_MSG_ERROR([Need varnish.m4 -- see README.rst])) m4_ifndef([VARNISH_PREREQ], AC_MSG_ERROR([Need varnish.m4 -- see README.rst]))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment