Enlightenment CVS committal Author : tilman Project : e17 Module : libs/ecore
Dir : e17/libs/ecore Modified Files: configure.in Log Message: slightly rework ecore_x =================================================================== RCS file: /cvs/e/e17/libs/ecore/configure.in,v retrieving revision 1.177 retrieving revision 1.178 diff -u -3 -r1.177 -r1.178 --- configure.in 23 Mar 2007 22:44:49 -0000 1.177 +++ configure.in 23 Mar 2007 22:53:21 -0000 1.178 @@ -169,7 +169,6 @@ 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_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 ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs