From ab9a13d2e496b6ce04e655afc03b355903f09fc0 Mon Sep 17 00:00:00 2001 From: Nikos Mavrogiannopoulos Date: Mon, 29 Jul 2013 09:55:42 +0200 Subject: Correctly report unicode status in win32 API --- configure.ac | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index 613e32ed6b..645940300a 100644 --- a/configure.ac +++ b/configure.ac @@ -217,6 +217,7 @@ if test "$ac_cv_func_nanosleep" != "yes";then AC_LIB_HAVE_LINKFLAGS(rt,, [#include ], [nanosleep (0, 0);]) fi +ac_have_unicode=no if test "$ac_cv_func_iconv" != "yes";then AC_LIB_HAVE_LINKFLAGS(iconv,, [#include ], [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], -- cgit v1.2.1