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. --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index 4ccd33ed1..4f51e32a5 100644 --- a/configure.ac +++ b/configure.ac @@ -94,7 +94,7 @@ AC_CHECK_LIB(nsl,gethostbyname,MPD_LIBS="$MPD_LIBS -lnsl",) AC_CHECK_LIB(m,exp,MPD_LIBS="$MPD_LIBS -lm",) -AC_CHECK_HEADER(locale.h,[enable_locale=yes;AC_DEFINE(HAVE_LOCALE,1,[Define if locale.h is present])],enable_locale=no) +AC_CHECK_HEADERS(locale.h) dnl -- cgit v1.2.3