changeset 434:feb2091ff940

? Trying a new iconv() test in configure.in.
author jcid
date Wed, 22 Oct 2008 23:00:29 +0200
parents ff73d030c95e
children dffa319670eb
files ChangeLog configure.in
diffstat 2 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Wed Oct 22 22:13:21 2008 +0200
+++ b/ChangeLog	Wed Oct 22 23:00:29 2008 +0200
@@ -19,6 +19,7 @@
 +- Added ipv6 addresses iteration and ipv4 fallback.
    Patch: James Turner, Jorge Arellano
 +- Set the File menu label to hide when the File menu button is shown.
+ ? Trying a new iconv() test in configure.in.
    Patch: Jorge Arellano
 
 dw
--- a/configure.in	Wed Oct 22 22:13:21 2008 +0200
+++ b/configure.in	Wed Oct 22 23:00:29 2008 +0200
@@ -334,6 +334,7 @@
   LIBS="$old_libs $LIBICONV_LIBS"
   old_cflags="$CFLAGS"
   CFLAGS="$CFLAGS -Werror"
+  AC_LANG_PUSH([C++])
   AC_TRY_COMPILE([#include <iconv.h>],
 [
      const char *inPtr;
@@ -343,6 +344,7 @@
       iconv(encoder, &inPtr, &inLeft, &outPtr, &outRoom);
 ],
 iconv_old=yes,iconv_old=no)
+  AC_LANG_POP([C++])
   LIBS="$old_libs"
   CFLAGS="$old_cflags"