diff options
author | Zack Weinberg <zack@gcc.gnu.org> | 2003-12-03 16:48:20 +0000 |
---|---|---|
committer | Zack Weinberg <zack@gcc.gnu.org> | 2003-12-03 16:48:20 +0000 |
commit | eb158727b642d5cf1477f98722e5db69c525d086 (patch) | |
tree | 92cf133ffcbf252c37de8ae8b31c002c5adf431c /gcc/aclocal.m4 | |
parent | efdfd311d664c32c3a6108f920fc978bb95c5d8d (diff) | |
download | gcc-eb158727b642d5cf1477f98722e5db69c525d086.tar.gz |
aclocal.m4 (AM_ICONV): Add explicit check for iconv.h.
* aclocal.m4 (AM_ICONV): Add explicit check for iconv.h.
* config.in, configure.in: Regenerate.
* cpphash.h, java/lex.h: Check both HAVE_ICONV and HAVE_ICONV_H
before including iconv.h.
From-SVN: r74234
Diffstat (limited to 'gcc/aclocal.m4')
-rw-r--r-- | gcc/aclocal.m4 | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/aclocal.m4 b/gcc/aclocal.m4 index 22025e1a138..788db372e19 100644 --- a/gcc/aclocal.m4 +++ b/gcc/aclocal.m4 @@ -607,6 +607,8 @@ AC_DEFUN([AM_ICONV], done ]) + AC_CHECK_HEADERS([iconv.h]) + AC_CACHE_CHECK(for iconv, am_cv_func_iconv, [ am_cv_func_iconv="no, consider installing GNU libiconv" am_cv_lib_iconv=no |