Fix AC_ARG_WITH() syntax

parent f6481a94
...@@ -32,7 +32,7 @@ AC_ARG_WITH([rst2man], ...@@ -32,7 +32,7 @@ AC_ARG_WITH([rst2man],
[--with-rst2man=PATH], [--with-rst2man=PATH],
[Location of rst2man (auto)]), [Location of rst2man (auto)]),
[RST2MAN="$withval"], [RST2MAN="$withval"],
AC_CHECK_PROGS(RST2MAN, [rst2man rst2man.py], [])) [AC_CHECK_PROGS(RST2MAN, [rst2man rst2man.py], [])])
AM_CONDITIONAL(HAVE_RST2MAN, [test "x$RST2MAN" != "xno"]) AM_CONDITIONAL(HAVE_RST2MAN, [test "x$RST2MAN" != "xno"])
AC_ARG_WITH([lcov], AC_ARG_WITH([lcov],
...@@ -40,7 +40,7 @@ AC_ARG_WITH([lcov], ...@@ -40,7 +40,7 @@ AC_ARG_WITH([lcov],
[--with-lcov=PATH], [--with-lcov=PATH],
[Location of lcov to generate coverage data (auto)]), [Location of lcov to generate coverage data (auto)]),
[LCOV="$withval"], [LCOV="$withval"],
AC_CHECK_PROGS(LCOV, [lcov], [])) [AC_CHECK_PROGS(LCOV, [lcov], [])])
AM_CONDITIONAL(HAVE_LCOV, [test -n "$LCOV"]) AM_CONDITIONAL(HAVE_LCOV, [test -n "$LCOV"])
AC_ARG_WITH([genhtml], AC_ARG_WITH([genhtml],
...@@ -48,7 +48,7 @@ AC_ARG_WITH([genhtml], ...@@ -48,7 +48,7 @@ AC_ARG_WITH([genhtml],
[--with-genhtml=PATH], [--with-genhtml=PATH],
[Location of genhtml to generate coverage reports (auto)]), [Location of genhtml to generate coverage reports (auto)]),
[GENHTML="$withval"], [GENHTML="$withval"],
AC_CHECK_PROGS(GENHTML, [genhtml], [])) [AC_CHECK_PROGS(GENHTML, [genhtml], [])])
AM_CONDITIONAL(HAVE_GENHTML, [test -n "$GENHTML"]) AM_CONDITIONAL(HAVE_GENHTML, [test -n "$GENHTML"])
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