From: Roger Sayle Date: Wed, 24 Nov 2004 14:00:38 +0000 (+0000) Subject: re PR preprocessor/15824 (uchar redefinition warnings in libcpp) X-Git-Tag: releases/gcc-4.0.0~2776 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=f78ce0c2f31182305ffe14ed95c4b4a18cb0d906;p=thirdparty%2Fgcc.git re PR preprocessor/15824 (uchar redefinition warnings in libcpp) PR preprocessor/15824 * configure.ac: Correct HAVE_UCHAR test to #include directly, instead of the non-existant "system.h" and "ansidecl.h". * configure: Regenerate. From-SVN: r91157 --- diff --git a/libcpp/ChangeLog b/libcpp/ChangeLog index 3e8567bf05e6..a049652093cf 100644 --- a/libcpp/ChangeLog +++ b/libcpp/ChangeLog @@ -1,3 +1,10 @@ +2004-11-24 Roger Sayle + + PR preprocessor/15824 + * configure.ac: Correct HAVE_UCHAR test to #include + directly, instead of the non-existant "system.h" and "ansidecl.h". + * configure: Regenerate. + 2004-11-23 Daniel Jacobowitz Joseph Myers diff --git a/libcpp/configure b/libcpp/configure index 978296b461f6..274fb0130e63 100755 --- a/libcpp/configure +++ b/libcpp/configure @@ -6149,8 +6149,7 @@ cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ -#include "ansidecl.h" -#include "system.h" +#include int main () diff --git a/libcpp/configure.ac b/libcpp/configure.ac index f088ac80b298..8a9a44986e8c 100644 --- a/libcpp/configure.ac +++ b/libcpp/configure.ac @@ -57,8 +57,7 @@ ZW_GNU_GETTEXT_SISTER_DIR AC_CACHE_CHECK(for uchar, gcc_cv_type_uchar, [AC_TRY_COMPILE([ -#include "ansidecl.h" -#include "system.h" +#include ], [if ((uchar *)0) return 0; if (sizeof(uchar)) return 0;],