Enlightenment CVS committal

Author  : raster
Project : e17
Module  : libs/ecore

Dir     : e17/libs/ecore


Modified Files:
        configure.in 


Log Message:


bsd libiconv....?

===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/ecore/configure.in,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -3 -r1.19 -r1.20
--- configure.in        16 Dec 2003 04:15:16 -0000      1.19
+++ configure.in        16 Dec 2003 04:40:00 -0000      1.20
@@ -400,8 +400,21 @@
            iconv_libs="-liconv"
            ecore_txt_libs="-lecore_txt -liconv"
          ], [
-           AC_MSG_RESULT("no - disabling ecore_txt")
-           AM_CONDITIONAL(BUILD_ECORE_TXT, false)
+          AC_CHECK_LIB(c, libiconv,
+            [
+              AM_CONDITIONAL(BUILD_ECORE_TXT, true)
+              ecore_txt_libs="-lecore_txt"
+             ], AC_CHECK_LIB(iconv, libiconv,
+                  [
+                    AM_CONDITIONAL(BUILD_ECORE_TXT, true)
+                    iconv_libs="-liconv"
+                    ecore_txt_libs="-lecore_txt -liconv"
+                  ], [
+                    AC_MSG_RESULT("no - disabling ecore_txt")
+                    AM_CONDITIONAL(BUILD_ECORE_TXT, false)
+                  ]
+                ),
+           )
          ]
        ),
   )




-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
_______________________________________________
enlightenment-cvs mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to