From 0fb21e67ef763c6a83ab8f5a7ed2aa95efdc4ab2 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Mon, 5 Jan 2009 09:31:09 +0100 Subject: configure.ac: use AC_CHECK_HEADERS to check for locale.h AC_CHECK_HEADERS defines HAVE_LOCALE_H, so we don't have to manually define HAVE_LOCALE. --- src/main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/main.c b/src/main.c index 0efb512ea..2e8700f02 100644 --- a/src/main.c +++ b/src/main.c @@ -72,7 +72,7 @@ #include #endif -#ifdef HAVE_LOCALE +#ifdef HAVE_LOCALE_H #include #endif @@ -221,7 +221,7 @@ int main(int argc, char *argv[]) daemonize_close_stdin(); -#ifdef HAVE_LOCALE +#ifdef HAVE_LOCALE_H /* initialize locale */ setlocale(LC_CTYPE,""); #endif -- cgit v1.2.3