From 5fa0dcc2750a79920d4a6404e960c50667840058 Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Sat, 21 Nov 2015 11:57:06 +0100 Subject: configure: It should be --with-system-talloc, not --enable-system-talloc As we are making a decision whether we should use an existing system library, we call it --with-system-talloc, rather than --enable-system-talloc. --- configure.ac | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index 74c266e1..3daa392f 100644 --- a/configure.ac +++ b/configure.ac @@ -102,14 +102,14 @@ AC_ARG_ENABLE(talloc, [enable_talloc=$enableval], [enable_talloc="yes"]) AM_CONDITIONAL(ENABLE_TALLOC, [test x"$enable_talloc" = x"yes"]) -AC_ARG_ENABLE(system-talloc, +AC_ARG_WITH(system-talloc, [AS_HELP_STRING( - [--enable-system-talloc], - [Enable using a system-level talloc library] + [--with-system-talloc], + [Build using a system-level talloc library] )], - [enable_system_talloc=$enableval], [enable_system_talloc="no"]) -AM_CONDITIONAL(ENABLE_SYSTEM_TALLOC, [test x"$enable_system_talloc" = x"yes"]) -AS_IF([test x"$enable_system_talloc" = x"yes"], [ + [with_system_talloc=$withval], [with_system_talloc="no"]) +AM_CONDITIONAL(WITH_SYSTEM_TALLOC, [test x"$with_system_talloc" = x"yes"]) +AS_IF([test x"$with_system_talloc" = x"yes"], [ PKG_CHECK_MODULES(TALLOC, talloc) if test x"$enable_talloc" = x"yes"; then AC_MSG_ERROR([You cannot enable both internal and system talloc]) @@ -223,7 +223,7 @@ AC_OUTPUT_COMMANDS([ */ #pragma once _EOF_ - if test x"$enable_system_talloc" = x"yes"; then + if test x"$with_system_talloc" = x"yes"; then echo '#include ' >> $outfile else echo '#include ' >> $outfile @@ -231,7 +231,7 @@ _EOF_ esac ],[ srcdir=$srcdir - enable_system_talloc=$enable_system_talloc + with_system_talloc=$with_system_talloc ]) -- cgit v1.2.3