summaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authorjcid <devnull@localhost>2008-03-16 15:01:15 +0100
committerjcid <devnull@localhost>2008-03-16 15:01:15 +0100
commit97211255c7020981236298a7c406b103995674ca (patch)
tree90eeb832ec2363bac57f0b1eaedf35bc70a85392 /configure.in
parent4c5da9f0e04becb56a7397c3eb5ed035060efe37 (diff)
- removed a duplicated configure.in test.
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in29
1 files changed, 0 insertions, 29 deletions
diff --git a/configure.in b/configure.in
index dad394bd..55c4bb12 100644
--- a/configure.in
+++ b/configure.in
@@ -354,35 +354,6 @@ iconv_old=yes,iconv_old=no)
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