Correct test whether wchar_t is unsigned. Fixed crash

in #1454485.
This commit is contained in:
Martin v. Löwis 2006-04-11 07:15:30 +00:00
parent 05e89b86d6
commit 44fe0e4b8d
2 changed files with 5 additions and 3 deletions

5
configure vendored
View file

@ -1,5 +1,5 @@
#! /bin/sh
# From configure.in Revision: 43615 .
# From configure.in Revision: 43748 .
# Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.59 for python 2.5.
#
@ -20019,7 +20019,8 @@ cat >>conftest.$ac_ext <<_ACEOF
#include <wchar.h>
int main()
{
exit((((wchar_t) -1) < ((wchar_t) 0)) ? 1 : 0);
/* Success: exit code 0 */
exit((((wchar_t) -1) < ((wchar_t) 0)) ? 0 : 1);
}
_ACEOF

View file

@ -2792,7 +2792,8 @@ then
#include <wchar.h>
int main()
{
exit((((wchar_t) -1) < ((wchar_t) 0)) ? 1 : 0);
/* Success: exit code 0 */
exit((((wchar_t) -1) < ((wchar_t) 0)) ? 0 : 1);
}
],
ac_cv_wchar_t_signed=yes,