changeset 148:029012f3f10c

- removed a duplicated configure.in test.
author jcid
date Sun, 16 Mar 2008 15:01:15 +0100
parents 77ad934fb3a2
children 3f37b40ceab9
files configure.in
diffstat 1 files changed, 0 insertions(+), 29 deletions(-) [+]
line wrap: on
line diff
--- a/configure.in	Sun Mar 16 14:55:08 2008 +0100
+++ b/configure.in	Sun Mar 16 15:01:15 2008 +0100
@@ -354,35 +354,6 @@
 fi
 
 dnl ----------------------
-dnl Check if we need to
-dnl support the old 
-dnl iconv interface
-dnl ----------------------
-if test "x$iconv_ok" = "xyes"; then
-  old_libs="$LIBS"
-  LIBS="$old_libs $LIBICONV_LIBS"
-  old_cflags="$CFLAGS"
-  CFLAGS="$CFLAGS -Werror"
-  AC_TRY_COMPILE([#include <iconv.h>],
-[
-     const char *inPtr;
-      char *outPtr;
-      size_t inLeft = 0, outRoom = 0;
-      iconv_t encoder = iconv_open("ASCII", "UTF-8");
-      iconv(encoder, &inPtr, &inLeft, &outPtr, &outRoom);
-],
-iconv_old=yes,iconv_old=no)
-  LIBS="$old_libs"
-  CFLAGS="$old_cflags"
-
-  if test "x$iconv_old" = "xyes"; then
-    AC_DEFINE([inbuf_t], [const char], [Use const char pointers for older libiconv])
-  else
-    AC_DEFINE([inbuf_t], [char], [Use char pointers for newer libiconv])
-  fi
-fi
-
-dnl ----------------------
 dnl Test for POSIX threads
 dnl ----------------------
 dnl