[Mplayer-cvslog] CVS: main configure,1.652,1.653

Arpi of Ize arpi at mplayerhq.hu
Fri Feb 7 23:39:59 CET 2003


Update of /cvsroot/mplayer/main
In directory mail:/var/tmp.root/cvs-serv32347

Modified Files:
	configure 
Log Message:
don't use -lintl by default (force with --enable-i18n)


Index: configure
===================================================================
RCS file: /cvsroot/mplayer/main/configure,v
retrieving revision 1.652
retrieving revision 1.653
diff -u -r1.652 -r1.653
--- configure	7 Feb 2003 21:04:16 -0000	1.652
+++ configure	7 Feb 2003 22:39:56 -0000	1.653
@@ -1562,9 +1562,13 @@
 EOF
   _i18n=no
   _i18n_libs=""
-  for i18n_lib in "" "-lintl"; do
-    cc_check $i18n_lib && _i18n=yes && _i18n_libs=$i18n_lib && break
-  done
+  if test "$_i18n" = auto ; then
+    cc_check && _i18n=yes
+  else
+    for i18n_lib in "" "-lintl"; do
+      cc_check $i18n_lib && _i18n=yes && _i18n_libs=$i18n_lib && break
+    done
+  fi
 fi
 if test "$_i18n" = yes ; then
   _def_i18n='#define USE_I18N 1'



More information about the MPlayer-cvslog mailing list