From eb158727b642d5cf1477f98722e5db69c525d086 Mon Sep 17 00:00:00 2001 From: Zack Weinberg Date: Wed, 3 Dec 2003 16:48:20 +0000 Subject: 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 --- gcc/aclocal.m4 | 2 ++ 1 file changed, 2 insertions(+) (limited to 'gcc/aclocal.m4') 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 -- cgit v1.2.1