diff options
author | zack <zack@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-06-21 23:22:30 +0000 |
---|---|---|
committer | zack <zack@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-06-21 23:22:30 +0000 |
commit | 05b93640030b8202a5c8e6d19a048e501b4f5b60 (patch) | |
tree | a51893fa5517a7ec2b7577959cf98aa24df8727c /gcc/aclocal.m4 | |
parent | 1e06725af950e15306cca1db67d1939ad9d99fa4 (diff) | |
download | gcc-05b93640030b8202a5c8e6d19a048e501b4f5b60.tar.gz |
include:
* safe-ctype.h (HC_UNKNOWN, HC_ASCII, HC_EBCDIC, HOST_CHARSET):
New #defines.
libiberty:
* safe-ctype.c: Separate out EOF==-1 check. Use HOST_CHARSET
for charset determination.
gcc:
* aclocal.m4 (gcc_AC_C_CHARSET): Delete.
* configure.in: Don't use gcc_AC_C_CHARSET.
* configure, config.in: Regenerate.
* config/i370/i370.c, config/i370/i370.h: Use
(HOST_CHARSET == HC_EBCDIC) or (HOST_CHARSET == HC_ASCII)
instead of HOST_EBCDIC or !HOST_EBCDIC. Clarify comments a tad.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68317 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/aclocal.m4')
-rw-r--r-- | gcc/aclocal.m4 | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/gcc/aclocal.m4 b/gcc/aclocal.m4 index 2c1554bb950..f0124c002b4 100644 --- a/gcc/aclocal.m4 +++ b/gcc/aclocal.m4 @@ -564,34 +564,6 @@ AC_CACHE_CHECK(for __int64, ac_cv_c___int64, fi ]) -dnl Host character set probe. -dnl The EBCDIC values match the table in config/i370/i370.c; -dnl there are other versions of EBCDIC but GCC won't work with them. -dnl -AC_DEFUN([gcc_AC_C_CHARSET], -[AC_CACHE_CHECK(execution character set, ac_cv_c_charset, - [AC_EGREP_CPP(ASCII, -[#if '\n' == 0x0A && ' ' == 0x20 && '0' == 0x30 \ - && 'A' == 0x41 && 'a' == 0x61 && '!' == 0x21 -ASCII -#endif], ac_cv_c_charset=ASCII) - if test x${ac_cv_c_charset+set} != xset; then - AC_EGREP_CPP(EBCDIC, -[#if '\n' == 0x15 && ' ' == 0x40 && '0' == 0xF0 \ - && 'A' == 0xC1 && 'a' == 0x81 && '!' == 0x5A -EBCDIC -#endif], ac_cv_c_charset=EBCDIC) - fi - if test x${ac_cv_c_charset+set} != xset; then - ac_cv_c_charset=unknown - fi]) -if test $ac_cv_c_charset = unknown; then - AC_MSG_ERROR([*** Cannot determine host character set.]) -elif test $ac_cv_c_charset = EBCDIC; then - AC_DEFINE(HOST_EBCDIC, 1, - [Define if the host execution character set is EBCDIC.]) -fi]) - #serial AM2 dnl From Bruno Haible. |