From 68b90ad48010aa46265549f3ddd4534d7826184f Mon Sep 17 00:00:00 2001 From: Matt Date: Fri, 31 Oct 2008 08:01:26 +0000 Subject: [PATCH] Use AC_CHECK_HEADERS rather than __DARWIN__ macro to include xlocale.h --- webcit/configure.ac | 2 +- webcit/webcit.h | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/webcit/configure.ac b/webcit/configure.ac index d89ee28b1..18f006637 100644 --- a/webcit/configure.ac +++ b/webcit/configure.ac @@ -99,7 +99,7 @@ dnl Checks for library functions. AC_TYPE_SIGNAL dnl AC_FUNC_VPRINTF AC_REPLACE_FUNCS(snprintf) -AC_CHECK_HEADERS(fcntl.h limits.h sys/time.h unistd.h iconv.h) +AC_CHECK_HEADERS(fcntl.h limits.h sys/time.h unistd.h iconv.h xlocale.h) dnl Here is the check for a libc integrated iconv diff --git a/webcit/webcit.h b/webcit/webcit.h index aba1fb799..5bc6277e9 100644 --- a/webcit/webcit.h +++ b/webcit/webcit.h @@ -1,3 +1,4 @@ + /* $Id$ */ #include "sysdep.h" @@ -49,7 +50,7 @@ #endif #ifdef ENABLE_NLS -#ifdef __APPLE__ +#ifdef HAVE_XLOCALE_H #include #endif #include -- 2.30.2