]> sjero.net Git - linphone/blobdiff - configure.ac
fix and update windows mingw build
[linphone] / configure.ac
index 3d67cbabc6d25f1c8cdb07f90958a2a3d7590edd..8db4ab8a36d64614dab0a9e3a516d25f5f0ac102 100644 (file)
@@ -95,25 +95,19 @@ AC_SUBST(ALL_LINGUAS)
 AC_DEFINE_UNQUOTED(LINPHONE_ALL_LANGS, "$ALL_LINGUAS", [All supported languages])
 
 if test "$mingw_found" != "yes" ; then
-dnl gettext macro does not work properly under mingw.
+dnl gettext macro does not work properly under mingw. And we want to use the one provided by GTK.
 AM_GNU_GETTEXT([external])
 LIBS="$LIBS $LIBINTL"
 else
-       if test "$mingwce_found" != "yes" ; then 
-               AC_DEFINE(ENABLE_NLS,1,[Tells whether localisation is possible])
-               AC_DEFINE(HAVE_GETTEXT,1,[Tells wheter localisation is possible])
-               LIBS="$LIBS -L/usr/lib -lintl"
-       else
-               dnl gettext macro does not work properly under mingw.
-               AM_GNU_GETTEXT([external])
-               LIBS="$LIBS $LIBINTL"
-       fi
+       AC_DEFINE(ENABLE_NLS,1,[Tells whether localisation is possible])
+       AC_DEFINE(HAVE_GETTEXT,1,[Tells wheter localisation is possible])
+       LIBS="$LIBS -lintl"
 fi
 
 GETTEXT_PACKAGE=linphone
 AC_SUBST(GETTEXT_PACKAGE)
 AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE, "$GETTEXT_PACKAGE",[The name of the gettext package name])
-AC_CHECK_LIB(intl,libintl_gettext)
+dnl AC_CHECK_LIB(intl,libintl_gettext)
 
 AC_CHECK_FUNCS([get_current_dir_name strndup stpcpy] )