rename --with-ct2n to --enable-ext-ct2n configure option

to be in sync with other extensions
This commit is contained in:
Petr Mladek 2011-03-30 21:15:54 +02:00
parent 083860b9ca
commit 63f5fa4f9f

View file

@ -48,6 +48,11 @@ AC_ARG_ENABLE(ext-nlpsolver,
[Download and enables the NLPSolver extension.]),
,)
AC_ARG_ENABLE(ext-ct2n,
AS_HELP_STRING([--enable-ext-ct2n],
[Enables the ConvertTextToNumber extension.]),
,)
AC_ARG_ENABLE(ext-numbertext,
AS_HELP_STRING([--enable-ext-numbertext],
[Enables the Numbertext extension.]),
@ -7143,7 +7148,7 @@ dnl ===================================================================
dnl Test whether to include ConvertTextToNumber extension
dnl ===================================================================
AC_MSG_CHECKING([for ConvertTextToNumber extension integration])
if test "z$with_ct2n" = "z" -o "z$with_ct2n" = "zno" ; then
if test "z$enable_ext_ct2n" = "z" -o "z$enable_ext_ct2n" = "zno" ; then
AC_MSG_RESULT([no])
else
AC_MSG_RESULT([yes])