werror_extras=
AC_ARG_WITH(werror,
- AS_HELP_STRING([--with-werror],[Compile using -Werror (default=no)]),
+ [AS_HELP_STRING([--with-werror],[Compile using -Werror (default=no)])],
[
case "${withval}" in
yes) with_werror=1 ;;
BENCHMARK_INCLUDES=
AC_ARG_WITH([benchmark-source],
- [AS_HELP_STRING([--with-benchmark-source=PATH],
+ [AS_HELP_STRING([--with-benchmark-source[[=PATH]]],
[location of the benchmark source])],
[enable_benchmark="yes" ; BENCHMARK_SOURCE="$withval"])
AC_ARG_WITH([benchmark],
- [AS_HELP_STRING([--with-benchmark=PATH],
+ [AS_HELP_STRING([--with-benchmark[[=PATH]]],
[specify a path to benchmark header files (PATH/include) and library (PATH/lib)])],
[benchmark_path="$withval"; enable_benchmark="yes"], [benchmark_path="no"])
# the software is not built with MySQL support enabled.
mysql_config="no"
AC_ARG_WITH([mysql],
- AS_HELP_STRING([--with-mysql=PATH],
- [path to the MySQL 'mysql_config' script (MySQL is used for the DHCP database)]),
+ [AS_HELP_STRING([--with-mysql[[=PATH]]],
+ [path to the MySQL 'mysql_config' script (MySQL is used for the DHCP database)])],
[mysql_config="$withval"])
deprec_msg="no"
pg_config="no"
AC_ARG_WITH([pgsql],
- AS_HELP_STRING([--with-pgsql=PATH],
- [path to the PostgreSQL 'pg_config' script]),
+ [AS_HELP_STRING([--with-pgsql[[=PATH]]],
+ [path to the PostgreSQL 'pg_config' script])],
[pg_config="$withval"])
deprec_msg="no"
cql_config="no"
AC_ARG_WITH([cql],
- AS_HELP_STRING([--with-cql=PATH],
- [path to pkg-config or the Cassandra CQL 'cql_config' script (deprecated)]),
+ [AS_HELP_STRING([--with-cql[[=PATH]]],
+ [path to pkg-config or the Cassandra CQL 'cql_config' script (deprecated)])],
[cql_config="$withval"])
if test "${cql_config}" = "yes" ; then
AM_PATH_PYTHON([2.7])
AC_ARG_WITH(site-packages,
- AS_HELP_STRING([--with-site-packages],
- [place to install Kea Python module]),
+ [AS_HELP_STRING([--with-site-packages],
+ [place to install Kea Python module])],
[pythondir=$withval;
pkgpythondir=${pythondir}/$PACKAGE_NAME])
if test "$pythondir" = "yes"; then
AM_CONDITIONAL(CA_TLS_TEST, test x$ca_tls_test != xno)
AC_ARG_WITH([sphinx],
- AS_HELP_STRING([--with-sphinx=PATH],[path to sphinx-build tool]),
+ [AS_HELP_STRING([--with-sphinx=PATH],[path to sphinx-build tool])],
[sphinx_path="$withval"])
AC_ARG_WITH([pdflatex],
- AS_HELP_STRING([--with-pdflatex=PATH],[path to pdflatex tool]),
+ [AS_HELP_STRING([--with-pdflatex=PATH],[path to pdflatex tool])],
[pdflatex_path="$withval"])
PDFLATEX=no
#
# If explicitly specified, use it.
AC_ARG_WITH([boost-include],
- AS_HELP_STRING([--with-boost-include=PATH],
- [specify exact directory for Boost headers]),
+ [AS_HELP_STRING([--with-boost-include=PATH],
+ [specify exact directory for Boost headers])],
[boost_include_path="$withval"])
# If not specified, try some common paths.
if test -z "$with_boost_include"; then
# Get libs when explicitly configured
AC_ARG_WITH([boost-libs],
- AS_HELP_STRING([--with-boost-libs=SPEC],
- [specify Boost libraries to link with, e.g., '-lboost_system']),
+ [AS_HELP_STRING([--with-boost-libs=SPEC],
+ [specify Boost libraries to link with, e.g., '-lboost_system'])],
[BOOST_LIBS="$withval"
DISTCHECK_BOOST_CONFIGURE_FLAG="$DISTCHECK_BOOST_CONFIGURE_FLAG --with-boost-libs=$withval"])
# Get lib dir when explicitly configured
AC_ARG_WITH([boost-lib-dir],
- AS_HELP_STRING([--with-boost-lib-dir=PATH],[specify directory where to find Boost libraries]),
+ [AS_HELP_STRING([--with-boost-lib-dir=PATH],[specify directory where to find Boost libraries])],
[BOOST_LIB_DIR="$withval"
DISTCHECK_BOOST_CONFIGURE_FLAG="$DISTCHECK_BOOST_CONFIGURE_FLAG --with-boost-lib-dir=$withval"])
GTEST_INCLUDES=
AC_ARG_WITH([gtest-source],
- [AS_HELP_STRING([--with-gtest-source=PATH],
+ [AS_HELP_STRING([--with-gtest-source[[=PATH]]],
[location of the Googletest source])],
[enable_gtest="yes" ; GTEST_SOURCE="$withval"])
AC_ARG_WITH([gtest],
- [AS_HELP_STRING([--with-gtest=PATH],
+ [AS_HELP_STRING([--with-gtest[[=PATH]]],
[specify a path to gtest header files (PATH/include) and library (PATH/lib)])],
[gtest_path="$withval"; enable_gtest="yes"], [gtest_path="no"])
AC_ARG_WITH([lcov],
- [AS_HELP_STRING([--with-lcov=PROGRAM],
+ [AS_HELP_STRING([--with-lcov[[=PROGRAM]]],
[enable gtest and coverage target using the specified lcov])],
[lcov="$withval"],
[lcov="no"])