re PR preprocessor/15824 (uchar redefinition warnings in libcpp)

PR preprocessor/15824
	* configure.ac: Correct HAVE_UCHAR test to #include <sys/types.h>
	directly, instead of the non-existant "system.h" and "ansidecl.h".
	* configure: Regenerate.

From-SVN: r91157
This commit is contained in:
Roger Sayle 2004-11-24 14:00:38 +00:00 committed by Roger Sayle
parent e76382b571
commit f78ce0c2f3
3 changed files with 9 additions and 4 deletions

View file

@ -1,3 +1,10 @@
2004-11-24 Roger Sayle <roger@eyesopen.com>
PR preprocessor/15824
* configure.ac: Correct HAVE_UCHAR test to #include <sys/types.h>
directly, instead of the non-existant "system.h" and "ansidecl.h".
* configure: Regenerate.
2004-11-23 Daniel Jacobowitz <dan@codesourcery.com>
Joseph Myers <joseph@codesourcery.com>

3
libcpp/configure vendored
View file

@ -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 <sys/types.h>
int
main ()

View file

@ -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 <sys/types.h>
],
[if ((uchar *)0) return 0;
if (sizeof(uchar)) return 0;],