acinclude.m4 (AM_LC_LOCALES): Added check for locale.h.

2003-09-24  Michael Koch  <konqueror@gmx.de>

	* acinclude.m4 (AM_LC_LOCALES): Added check for locale.h.

From-SVN: r71725
This commit is contained in:
Michael Koch
2003-09-24 05:39:23 +00:00
committed by Michael Koch
parent 9b7fe786e1
commit 4112c7bde0
2 changed files with 6 additions and 1 deletions
+2 -1
View File
@@ -234,7 +234,8 @@ size_t iconv();
# serial 2
AC_DEFUN([AM_LC_MESSAGES],
[if test $ac_cv_header_locale_h = yes; then
[AC_CHECK_HEADERS(locale.h)
if test $ac_cv_header_locale_h = yes; then
AC_CACHE_CHECK([for LC_MESSAGES], am_cv_val_LC_MESSAGES,
[AC_TRY_LINK([#include <locale.h>], [return LC_MESSAGES],
am_cv_val_LC_MESSAGES=yes, am_cv_val_LC_MESSAGES=no)])