changeset 9328:1670357372d5

don't use -lintl by default (force with --enable-i18n)
author arpi
date Fri, 07 Feb 2003 22:39:56 +0000
parents 6f4d4b2fddc2
children 113095b8258b
files configure
diffstat 1 files changed, 7 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/configure	Fri Feb 07 22:25:17 2003 +0000
+++ b/configure	Fri Feb 07 22:39:56 2003 +0000
@@ -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'