From: Matt Date: Fri, 31 Oct 2008 08:01:26 +0000 (+0000) Subject: Use AC_CHECK_HEADERS rather than __DARWIN__ macro to include xlocale.h X-Git-Tag: v7.86~1829 X-Git-Url: https://code.citadel.org/?p=citadel.git;a=commitdiff_plain;h=68b90ad48010aa46265549f3ddd4534d7826184f Use AC_CHECK_HEADERS rather than __DARWIN__ macro to include xlocale.h --- 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