From bfba65a4d9397fdfdb9ee0a9624a481dbb36b79b Mon Sep 17 00:00:00 2001 From: tromey Date: Mon, 30 Mar 2009 20:54:18 +0000 Subject: 2009-03-30 Sergiy Vyshnevetskiy PR preprocessor/31932: * internal.h: Don't mention HAVE_ICONV_H. * configure, config.in: Rebuild. * configure.ac: Don't check for iconv.h. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@145316 138bc75d-0d04-0410-961f-82ee72b054a4 --- libcpp/ChangeLog | 7 +++++++ libcpp/config.in | 3 --- libcpp/configure | 3 +-- libcpp/configure.ac | 2 +- libcpp/internal.h | 4 ---- 5 files changed, 9 insertions(+), 10 deletions(-) diff --git a/libcpp/ChangeLog b/libcpp/ChangeLog index 26728325bc4..b2f4232f81d 100644 --- a/libcpp/ChangeLog +++ b/libcpp/ChangeLog @@ -1,3 +1,10 @@ +2009-03-30 Sergiy Vyshnevetskiy + + PR preprocessor/31932: + * internal.h: Don't mention HAVE_ICONV_H. + * configure, config.in: Rebuild. + * configure.ac: Don't check for iconv.h. + 2009-03-30 Tom Tromey PR preprocessor/39512: diff --git a/libcpp/config.in b/libcpp/config.in index 5d52ec12210..193f2a91433 100644 --- a/libcpp/config.in +++ b/libcpp/config.in @@ -158,9 +158,6 @@ /* Define if you have the iconv() function. */ #undef HAVE_ICONV -/* Define to 1 if you have the header file. */ -#undef HAVE_ICONV_H - /* Define to 1 if you have the header file. */ #undef HAVE_INTTYPES_H diff --git a/libcpp/configure b/libcpp/configure index d36ed250e70..9a4f30ddfc0 100755 --- a/libcpp/configure +++ b/libcpp/configure @@ -3619,8 +3619,7 @@ done - -for ac_header in iconv.h locale.h fcntl.h limits.h stddef.h \ +for ac_header in locale.h fcntl.h limits.h stddef.h \ stdlib.h strings.h string.h sys/file.h unistd.h do as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` diff --git a/libcpp/configure.ac b/libcpp/configure.ac index fd098656248..833eb435980 100644 --- a/libcpp/configure.ac +++ b/libcpp/configure.ac @@ -37,7 +37,7 @@ ZW_PROG_COMPILER_DEPENDENCIES([CC]) # Checks for header files. AC_HEADER_TIME ACX_HEADER_STRING -AC_CHECK_HEADERS(iconv.h locale.h fcntl.h limits.h stddef.h \ +AC_CHECK_HEADERS(locale.h fcntl.h limits.h stddef.h \ stdlib.h strings.h string.h sys/file.h unistd.h) # Checks for typedefs, structures, and compiler characteristics. diff --git a/libcpp/internal.h b/libcpp/internal.h index d4eeda4bc61..38a80c68f37 100644 --- a/libcpp/internal.h +++ b/libcpp/internal.h @@ -26,10 +26,6 @@ Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ #include "symtab.h" #include "cpp-id-data.h" -#ifndef HAVE_ICONV_H -#undef HAVE_ICONV -#endif - #if HAVE_ICONV #include #else -- cgit v1.2.1