aboutsummaryrefslogtreecommitdiff
path: root/gcc/cpphash.h
diff options
context:
space:
mode:
authorZack Weinberg <zack@gcc.gnu.org>2003-12-03 16:48:20 +0000
committerZack Weinberg <zack@gcc.gnu.org>2003-12-03 16:48:20 +0000
commiteb158727b642d5cf1477f98722e5db69c525d086 (patch)
tree92cf133ffcbf252c37de8ae8b31c002c5adf431c /gcc/cpphash.h
parentefdfd311d664c32c3a6108f920fc978bb95c5d8d (diff)
downloadgcc-eb158727b642d5cf1477f98722e5db69c525d086.zip
gcc-eb158727b642d5cf1477f98722e5db69c525d086.tar.gz
gcc-eb158727b642d5cf1477f98722e5db69c525d086.tar.bz2
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/cpphash.h')
-rw-r--r--gcc/cpphash.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/cpphash.h b/gcc/cpphash.h
index 734d3bb..80cb04c 100644
--- a/gcc/cpphash.h
+++ b/gcc/cpphash.h
@@ -25,7 +25,7 @@ Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
#include "hashtable.h"
-#ifdef HAVE_ICONV
+#if defined HAVE_ICONV_H && defined HAVE_ICONV
#include <iconv.h>
#else
#define HAVE_ICONV 0