From 910cb4a33b83e7929d104abb545c1d2e7d3df5b5 Mon Sep 17 00:00:00 2001 From: mkoch Date: Wed, 24 Sep 2003 05:39:23 +0000 Subject: 2003-09-24 Michael Koch * acinclude.m4 (AM_LC_LOCALES): Added check for locale.h. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71725 138bc75d-0d04-0410-961f-82ee72b054a4 --- libjava/acinclude.m4 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'libjava/acinclude.m4') diff --git a/libjava/acinclude.m4 b/libjava/acinclude.m4 index e25b1aed1ad..cb42f3d144e 100644 --- a/libjava/acinclude.m4 +++ b/libjava/acinclude.m4 @@ -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 ], [return LC_MESSAGES], am_cv_val_LC_MESSAGES=yes, am_cv_val_LC_MESSAGES=no)]) -- cgit v1.2.1