summaryrefslogtreecommitdiff
path: root/libjava/acinclude.m4
diff options
context:
space:
mode:
authormkoch <mkoch@138bc75d-0d04-0410-961f-82ee72b054a4>2003-09-24 05:39:23 +0000
committermkoch <mkoch@138bc75d-0d04-0410-961f-82ee72b054a4>2003-09-24 05:39:23 +0000
commit910cb4a33b83e7929d104abb545c1d2e7d3df5b5 (patch)
tree9d5547c845b4a70a46787c94a21ee4f977a40516 /libjava/acinclude.m4
parent1f1db466fc6d7c5b169d667964bb5b79d2ee2c8d (diff)
downloadgcc-910cb4a33b83e7929d104abb545c1d2e7d3df5b5.tar.gz
2003-09-24 Michael Koch <konqueror@gmx.de>
* 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
Diffstat (limited to 'libjava/acinclude.m4')
-rw-r--r--libjava/acinclude.m43
1 files changed, 2 insertions, 1 deletions
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 <locale.h>], [return LC_MESSAGES],
am_cv_val_LC_MESSAGES=yes, am_cv_val_LC_MESSAGES=no)])