mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-04-23 01:30:29 +08:00
re PR preprocessor/31932 (cpp -f*-charset and gcj --encoding accept no values except UTF-8)
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. From-SVN: r145316
This commit is contained in:
parent
71a7778cd9
commit
5a2df0fa12
@ -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:
|
||||
|
@ -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
|
||||
|
||||
|
3
libcpp/configure
vendored
3
libcpp/configure
vendored
@ -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`
|
||||
|
@ -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.
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user