From 2f0ea2bd96275d655f8fa0aedd281ebd02757be5 Mon Sep 17 00:00:00 2001 From: Patrick McCarty Date: Tue, 10 Nov 2009 21:22:41 -0800 Subject: [PATCH] Remove outdated configure checks. mbrtowc() is no longer used, so remove the appropriate checks. --- config.hh.in | 6 ------ configure.in | 4 +--- 2 files changed, 1 insertion(+), 9 deletions(-) diff --git a/config.hh.in b/config.hh.in index 034e123d78..7f43e2139b 100644 --- a/config.hh.in +++ b/config.hh.in @@ -34,9 +34,6 @@ /* define if you have memmem */ #define HAVE_MEMMEM 0 -/* define if you have mbrtowc */ -#define HAVE_MBRTOWC 0 - /* define if you have snprintf */ #define HAVE_SNPRINTF 0 @@ -100,6 +97,3 @@ /* define if you have pango FT2 binding */ #define HAVE_PANGO_FT2 0 - -/* define if you have utf8/wchar.h */ -#define HAVE_UTF8_WCHAR_H 0 diff --git a/configure.in b/configure.in index baf86aeb1b..6253b66efd 100644 --- a/configure.in +++ b/configure.in @@ -146,9 +146,7 @@ AC_LANG_POP(C++) AC_HEADER_STAT AC_FUNC_MEMCMP AC_FUNC_VPRINTF -AC_CHECK_FUNCS([chroot fopencookie funopen gettext isinf mbrtowc memmem snprintf vsnprintf wcrtomb]) -AC_CHECK_HEADERS([utf8/wchar.h], LIBS="$LIBS -lutf8") -AC_SEARCH_LIBS(mbrtowc, [mingwex msvcp60]) +AC_CHECK_FUNCS([chroot fopencookie funopen gettext isinf memmem snprintf vsnprintf wcrtomb]) STEPMAKE_PROGS(PKG_CONFIG, pkg-config, REQUIRED, 0.9.0) -- 2.39.2