summaryrefslogtreecommitdiff
path: root/libcpp
diff options
context:
space:
mode:
authortromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4>2009-03-30 20:54:18 +0000
committertromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4>2009-03-30 20:54:18 +0000
commitbfba65a4d9397fdfdb9ee0a9624a481dbb36b79b (patch)
tree57984d94a83e80bc43ef7298ba14417fd037293b /libcpp
parent83aeedb979b2d203e4135bb55fa0c07e5b250635 (diff)
downloadgcc-bfba65a4d9397fdfdb9ee0a9624a481dbb36b79b.tar.gz
2009-03-30 Sergiy Vyshnevetskiy <serg@vostok.net>
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
Diffstat (limited to 'libcpp')
-rw-r--r--libcpp/ChangeLog7
-rw-r--r--libcpp/config.in3
-rwxr-xr-xlibcpp/configure3
-rw-r--r--libcpp/configure.ac2
-rw-r--r--libcpp/internal.h4
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 <serg@vostok.net>
+
+ 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 <tromey@redhat.com>
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 <iconv.h> header file. */
-#undef HAVE_ICONV_H
-
/* Define to 1 if you have the <inttypes.h> 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 <iconv.h>
#else