force to use /usr/lib/libiconv.la library on
authorcaro <caro@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Fri, 10 Apr 2009 14:23:19 +0000 (14:23 +0000)
committercaro <caro@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Fri, 10 Apr 2009 14:23:19 +0000 (14:23 +0000)
mac os x (ecore_txt dependency) if no iconv lib
is forced with --with-iconv-link

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@39937 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

configure.ac

index 5d65a84..a8e84d2 100644 (file)
@@ -331,6 +331,14 @@ if test "x${have_iconv}" = "xno" ; then
           have_iconv="yes"
          ])
    fi
+
+# force the iconv library on mac os x
+   case "$host_os" in
+      darwin*)
+         iconv_libs="/usr/lib/libiconv.la"
+         have_iconv="yes"
+      ;;
+   esac
 fi
 AC_MSG_CHECKING(for explicit iconv link options)
 AC_MSG_RESULT($iconv_libs)