From b127b27dea34aa4e7bd6eb3f5dce7c59a666b93c Mon Sep 17 00:00:00 2001
From: smorlat <smorlat@3f6dc0c8-ddfe-455d-9043-3cd528dc4637>
Date: Fri, 21 Aug 2009 07:08:11 +0000
Subject: [PATCH] fix it translations fix gsm detection on mingw

git-svn-id: svn+ssh://svn.savannah.nongnu.org/linphone/trunk@591 3f6dc0c8-ddfe-455d-9043-3cd528dc4637
---
 linphone/mediastreamer2/acinclude.m4 | 18 ++++++++++++++++--
 linphone/po/it.po                    | 12 ++++++------
 2 files changed, 22 insertions(+), 8 deletions(-)

diff --git a/linphone/mediastreamer2/acinclude.m4 b/linphone/mediastreamer2/acinclude.m4
index cdc99a3288..1467d0e79f 100644
--- a/linphone/mediastreamer2/acinclude.m4
+++ b/linphone/mediastreamer2/acinclude.m4
@@ -19,9 +19,23 @@ AC_DEFUN([MS_CHECK_DEP],[
 	CPPFLAGS_save=$CPPFLAGS
 	LDFLAGS_save=$LDFLAGS
 	LIBS_save=$LIBS
-	CPPFLAGS=`echo "-I$dep_headersdir"|sed -e "s:-I/usr/include[\ ]*$::"`
+
+	case "$target_os" in
+		*mingw*)
+			ms_check_dep_mingw_found=yes
+		;;
+	esac
+	if test "$ms_check_dep_mingw_found" != "yes" ; then
+		CPPFLAGS=`echo "-I$dep_headersdir"|sed -e "s:-I/usr/include[\ ]*$::"`
+		LDFLAGS=`echo "-L$dep_libsdir"|sed -e "s:-L/usr/lib\(64\)*[\ ]*::"`
+	else
+		CPPFLAGS="-I$dep_headersdir"	
+		LDFLAGS="-L$dep_libsdir"
+	fi
+
+
 	LIBS="-l$dep_lib"
-	LDFLAGS=`echo "-L$dep_libsdir"|sed -e "s:-L/usr/lib\(64\)*[\ ]*::"`
+
 	
 	$2_CFLAGS="$CPPFLAGS"
 	$2_LIBS="$LDFLAGS $LIBS"
diff --git a/linphone/po/it.po b/linphone/po/it.po
index d14750f6c8..40d0e5905f 100644
--- a/linphone/po/it.po
+++ b/linphone/po/it.po
@@ -497,12 +497,12 @@ msgstr "Mostra lo stato di presenza del contatto"
 #: ../gtk-glade/contact.glade.h:6 ../gtk-glade/password.glade.h:5
 #: ../gtk-glade/sip_account.glade.h:9
 msgid "gtk-cancel"
-msgstr "gtk-elimina"
+msgstr ""
 
 #: ../gtk-glade/contact.glade.h:7 ../gtk-glade/password.glade.h:6
 #: ../gtk-glade/sip_account.glade.h:10
 msgid "gtk-ok"
-msgstr "gtk-ok"
+msgstr ""
 
 #: ../gtk-glade/log.glade.h:1
 msgid "Linphone debug window"
@@ -511,7 +511,7 @@ msgstr "Linphone debug window"
 #: ../gtk-glade/log.glade.h:2 ../gtk-glade/call_logs.glade.h:2
 #: ../gtk-glade/chatroom.glade.h:2
 msgid "gtk-close"
-msgstr "gtk-chiudi"
+msgstr ""
 
 #: ../gtk-glade/password.glade.h:1
 msgid "Linphone - Authentication required"
@@ -829,15 +829,15 @@ msgstr "default scheda audio\n"
 
 #: ../gtk-glade/parameters.glade.h:63
 msgid "gtk-go-down"
-msgstr "gtk-giù"
+msgstr ""
 
 #: ../gtk-glade/parameters.glade.h:64
 msgid "gtk-go-up"
-msgstr "gtk-su"
+msgstr ""
 
 #: ../gtk-glade/parameters.glade.h:65
 msgid "gtk-media-play"
-msgstr "gtk-media-suona"
+msgstr ""
 
 #: ../gtk-glade/buddylookup.glade.h:1
 msgid "<b>Search somebody</b>"
-- 
GitLab