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/java/lex.h | |
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/java/lex.h')
-rw-r--r-- | gcc/java/lex.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/java/lex.h b/gcc/java/lex.h index 037d044afd5..c339cc13e51 100644 --- a/gcc/java/lex.h +++ b/gcc/java/lex.h @@ -35,7 +35,7 @@ extern FILE *finput; /* A Unicode character, as read from the input file */ typedef unsigned short unicode_t; -#ifdef HAVE_ICONV +#if defined HAVE_ICONV_H && defined HAVE_ICONV #include <iconv.h> #endif /* HAVE_ICONV */ |