changeset 13099:fa7b25325f7e

Check if -liconv is needed for iconv.
author wight
date Mon, 23 Aug 2004 07:51:10 +0000
parents 907fe1fdfc6c
children 17e40e9b7654
files configure
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/configure	Mon Aug 23 00:31:33 2004 +0000
+++ b/configure	Mon Aug 23 07:51:10 2004 +0000
@@ -2097,11 +2097,11 @@
 }
 EOF
   _iconv=no
-  if cc_check -lm -liconv ; then
+  if cc_check -lm ; then
+    _iconv=yes
+  elif cc_check -lm -liconv ; then
     _iconv=yes
     _ld_iconv='-liconv'
-  else
-    cc_check -lm && _iconv=yes
   fi
 fi
 if test "$_iconv" = yes ; then