]> git.ipfire.org Git - thirdparty/gnutls.git/commitdiff
Correctly report unicode status in win32 API
authorNikos Mavrogiannopoulos <nmav@gnutls.org>
Mon, 29 Jul 2013 07:55:42 +0000 (09:55 +0200)
committerNikos Mavrogiannopoulos <nmav@gnutls.org>
Mon, 29 Jul 2013 08:05:51 +0000 (10:05 +0200)
configure.ac

index 613e32ed6bfa275c8c2ba4dca40fa0542163a5e0..645940300a9954666e704476519e615a3fafeb79 100644 (file)
@@ -217,6 +217,7 @@ if test "$ac_cv_func_nanosleep" != "yes";then
   AC_LIB_HAVE_LINKFLAGS(rt,, [#include <time.h>], [nanosleep (0, 0);])
 fi
 
+ac_have_unicode=no
 if test "$ac_cv_func_iconv" != "yes";then
   AC_LIB_HAVE_LINKFLAGS(iconv,, [#include <iconv.h>], [iconv (0, 0, 0, 0, 0);])
   if test "$HAVE_LIBICONV" = "yes";then
@@ -226,6 +227,12 @@ else
   ac_have_unicode=yes
 fi
 
+if test "$ac_have_unicode" != "yes";then
+  if test "$have_win" = "yes";then
+    ac_have_unicode=yes
+  fi
+fi
+
 AC_MSG_CHECKING([whether to build libdane])
 AC_ARG_ENABLE(libdane,
     AS_HELP_STRING([--disable-libdane],