Enlightenment CVS committal

Author  : raster
Project : e17
Module  : libs/ecore

Dir     : e17/libs/ecore


Modified Files:
        configure.in 


Log Message:


check for iconv in libc, or libiconv...

===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/ecore/configure.in,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -3 -r1.13 -r1.14
--- configure.in        15 Oct 2003 04:20:38 -0000      1.13
+++ configure.in        29 Oct 2003 13:22:06 -0000      1.14
@@ -314,7 +314,14 @@
     AC_MSG_RESULT(yes)
     AM_CONDITIONAL(BUILD_ECORE_TXT, test "$enableval" = "yes")
     AC_DEFINE(BUILD_ECORE_TXT)
-    ecore_txt_libs="-lecore_txt"  
+    AC_CHECK_LIB(c, iconv, 
+                 ecore_txt_libs="-lecore_txt",
+                AC_CHECK_LIB(iconv, iconv,
+                              ecore_txt_libs="-lecore_txt -liconv",
+                             AC_MSG_RESULT("no - disabling ecore_txt")
+                             AM_CONDITIONAL(BUILD_ECORE_TXT, false)
+                             ),
+                )
   else
     AC_MSG_RESULT(no)
     AM_CONDITIONAL(BUILD_ECORE_TXT, false)




-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?   SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
_______________________________________________
enlightenment-cvs mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to