Enlightenment CVS committal Author : tilman Project : e17 Module : libs/ecore
Dir : e17/libs/ecore Modified Files: configure.in Log Message: slightly rework ecore_txt checks wrt configure output =================================================================== RCS file: /cvs/e/e17/libs/ecore/configure.in,v retrieving revision 1.176 retrieving revision 1.177 diff -u -3 -r1.176 -r1.177 --- configure.in 23 Mar 2007 22:29:23 -0000 1.176 +++ configure.in 23 Mar 2007 22:44:49 -0000 1.177 @@ -87,20 +87,16 @@ ecore_txt_cflags="" ecore_txt_libs="" -AC_MSG_CHECKING(whether ecore_txt module should be built) -AC_ARG_ENABLE(ecore-txt, - [ --disable-ecore-txt disable the ecore_txt module], - [ - if test "x$enableval" = "xno" ; then - want_ecore_txt=no - else - want_ecore_txt=yes - fi +AC_ARG_ENABLE(ecore-txt, + AC_HELP_STRING( + [--enable-ecore-txt], + [enable the ecore_txt module. [[default=enabled]]] + ), [ + want_ecore_txt=$enableval ], [ want_ecore_txt=maybe ] ) -AC_MSG_RESULT($want_ecore_txt) iconv_cflags="" iconv_libs="" @@ -116,7 +112,6 @@ ) have_ecore_txt="no" -AC_MSG_CHECKING(whether ecore_txt module is to be built) if test "x$want_ecore_txt" != "xno" ; then if test "x$iconv_libs" = "x" ; then AC_CHECK_LIB(iconv, libiconv, @@ -159,7 +154,11 @@ have_ecore_txt="yes" fi fi + +dnl we already did the tests, now display the result +AC_MSG_CHECKING(whether ecore_txt module is to be built) AC_MSG_RESULT($have_ecore_txt) + if test "x$have_ecore_txt" = "xyes" ; then AC_DEFINE(BUILD_ECORE_TXT, 1, [Build Ecore_Txt Module]) 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