From e24eeed435f4b7c935f81071756ff78bbda415b9 Mon Sep 17 00:00:00 2001 From: tilman Date: Fri, 23 Mar 2007 22:53:21 +0000 Subject: [PATCH] slightly rework ecore_x SVN revision: 28975 --- legacy/ecore/configure.in | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/legacy/ecore/configure.in b/legacy/ecore/configure.in index 7942a9d76e..dc331be38f 100644 --- a/legacy/ecore/configure.in +++ b/legacy/ecore/configure.in @@ -169,7 +169,6 @@ AC_SUBST(iconv_libs) AC_SUBST(ecore_txt_cflags) AC_SUBST(ecore_txt_libs) -want_ecore_x="yes"; have_ecore_x="no"; ecore_x_cflags=""; ecore_x_libs=""; @@ -179,22 +178,23 @@ x_includes=""; x_cflags=""; x_libs=""; -if test "x$have_ecore_txt" = "xyes"; then - AC_MSG_CHECKING(whether ecore_x module is to be built) - AC_ARG_ENABLE(ecore-x, - [ --disable-ecore-x disable the ecore_x module], [ - if test x"$enableval" = x"yes" ; then - AC_MSG_RESULT(yes) - else - AC_MSG_RESULT(no) - want_ecore_x="no" - fi +AC_ARG_ENABLE(ecore-x, + AC_HELP_STRING( + [--enable-ecore-x], + [enable the ecore_x module. [[default=enabled]]] + ), [ + want_ecore_x=$enableval ], [ - AC_MSG_RESULT(yes) + want_ecore_x=yes ] - ) +) + +AC_MSG_CHECKING(whether ecore_x module is to be built) + +if test "x$have_ecore_txt" = "xyes"; then + AC_MSG_RESULT(yes) else - AC_MSG_RESULT(ecore_txt not enabled so ecore_x will not be enabled) + AC_MSG_RESULT([no (ecore_txt not enabled)]) want_ecore_x="no" fi