Enlightenment CVS committal

Author  : raster
Project : e17
Module  : libs/ecore

Dir     : e17/libs/ecore


Modified Files:
        configure.in 


Log Message:


cross compile with iconv may be a bit happier now

===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/ecore/configure.in,v
retrieving revision 1.58
retrieving revision 1.59
diff -u -3 -r1.58 -r1.59
--- configure.in        22 Oct 2004 03:41:46 -0000      1.58
+++ configure.in        24 Oct 2004 10:49:05 -0000      1.59
@@ -128,16 +128,18 @@
 )
 
 if test "x$have_ecore_txt" = "xyes"; then
-  AC_CHECK_LIB(c, iconv,
-    [
-      AC_DEFINE(BUILD_ECORE_TXT, 1, [Build Ecore_Txt Module])
-      AM_CONDITIONAL(BUILD_ECORE_TXT, true)
-      ecore_txt_libs="-lecore_txt"
-    ], [
-      have_ecore_txt="no"
-    ]
-  )
-
+    AC_CHECK_LIB(iconv, libiconv,
+      [
+        AC_DEFINE(BUILD_ECORE_TXT, 1, [Build Ecore_Txt Module])
+        AM_CONDITIONAL(BUILD_ECORE_TXT, true)
+        iconv_libs="-liconv"
+        ecore_txt_libs="-lecore_txt -liconv"
+        have_ecore_txt="yes"
+      ], [
+        have_ecore_txt="no"
+      ]
+    )
+  
   if test "x$have_ecore_txt" != "xyes"; then
     AC_CHECK_LIB(iconv, iconv,
       [
@@ -166,12 +168,11 @@
   fi
 
   if test "x$have_ecore_txt" != "xyes"; then
-    AC_CHECK_LIB(iconv, libiconv,
+    AC_CHECK_LIB(c, iconv,
       [
         AC_DEFINE(BUILD_ECORE_TXT, 1, [Build Ecore_Txt Module])
         AM_CONDITIONAL(BUILD_ECORE_TXT, true)
-        iconv_libs="-liconv"
-        ecore_txt_libs="-lecore_txt -liconv"
+        ecore_txt_libs="-lecore_txt"
         have_ecore_txt="yes"
       ], [
         AC_MSG_RESULT("no - disabling ecore_txt")




-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
enlightenment-cvs mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to