slightly rework ecore_x

SVN revision: 28975
This commit is contained in:
tilman 2007-03-23 22:53:21 +00:00 committed by tilman
parent b3c1a74772
commit e24eeed435
1 changed files with 14 additions and 14 deletions

View File

@ -169,7 +169,6 @@ AC_SUBST(iconv_libs)
AC_SUBST(ecore_txt_cflags) AC_SUBST(ecore_txt_cflags)
AC_SUBST(ecore_txt_libs) AC_SUBST(ecore_txt_libs)
want_ecore_x="yes";
have_ecore_x="no"; have_ecore_x="no";
ecore_x_cflags=""; ecore_x_cflags="";
ecore_x_libs=""; ecore_x_libs="";
@ -179,22 +178,23 @@ x_includes="";
x_cflags=""; x_cflags="";
x_libs=""; 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, AC_ARG_ENABLE(ecore-x,
[ --disable-ecore-x disable the ecore_x module], [ AC_HELP_STRING(
if test x"$enableval" = x"yes" ; then [--enable-ecore-x],
AC_MSG_RESULT(yes) [enable the ecore_x module. [[default=enabled]]]
else ), [
AC_MSG_RESULT(no) want_ecore_x=$enableval
want_ecore_x="no"
fi
], [ ], [
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 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" want_ecore_x="no"
fi fi