586 |
|
|
587 |
if test $ac_cv_header_stdc = yes; then |
if test $ac_cv_header_stdc = yes; then |
588 |
# /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. |
# /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. |
589 |
AC_TRY_RUN( |
AC_RUN_IFELSE([AC_LANG_SOURCE( |
590 |
[#include <ctype.h> |
[[#include <ctype.h> |
591 |
#if ((' ' & 0x0FF) == 0x020) |
#if ((' ' & 0x0FF) == 0x020) |
592 |
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') |
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') |
593 |
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) |
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) |
594 |
#else |
#else |
595 |
# define ISLOWER(c) (('a' <= (c) && (c) <= 'i') \ |
# define ISLOWER(c) \ |
596 |
|
(('a' <= (c) && (c) <= 'i') \ |
597 |
|| ('j' <= (c) && (c) <= 'r') \ |
|| ('j' <= (c) && (c) <= 'r') \ |
598 |
|| ('s' <= (c) && (c) <= 'z')) |
|| ('s' <= (c) && (c) <= 'z')) |
599 |
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) |
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) |
609 |
|| toupper (i) != TOUPPER (i)) |
|| toupper (i) != TOUPPER (i)) |
610 |
exit(2); |
exit(2); |
611 |
exit (0); |
exit (0); |
612 |
}], , ac_cv_header_stdc=no, :) |
}]])], , ac_cv_header_stdc=no, :) |
613 |
fi]) |
fi]) |
614 |
if test $ac_cv_header_stdc = yes; then |
if test $ac_cv_header_stdc = yes; then |
615 |
AC_DEFINE(STDC_HEADERS, 1, |
AC_DEFINE(STDC_HEADERS, 1, |