diff options
author | zack <zack@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-12-03 16:48:20 +0000 |
---|---|---|
committer | zack <zack@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-12-03 16:48:20 +0000 |
commit | e24cbb013452649dba7cffa96bd5e9c37bde6d4c (patch) | |
tree | 92cf133ffcbf252c37de8ae8b31c002c5adf431c /gcc/aclocal.m4 | |
parent | cf6d853e688c160029f513591f20fc6993df6709 (diff) | |
download | gcc-e24cbb013452649dba7cffa96bd5e9c37bde6d4c.tar.gz |
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@74234 138bc75d-0d04-0410-961f-82ee72b054a4
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 |