diff options
| author | kr.angelov <kr.angelov@gmail.com> | 2013-09-04 10:27:08 +0000 |
|---|---|---|
| committer | kr.angelov <kr.angelov@gmail.com> | 2013-09-04 10:27:08 +0000 |
| commit | 93cbfd31d14be8b35e65eb7116fafcd0f867a72d (patch) | |
| tree | 4d65209cf27dade4911c360968732f882f2070e3 /src/runtime/c/m4 | |
| parent | 805f95eac61ef17d7ec3f87dda1dfbc932951dee (diff) | |
remove the dependency on the CHAR_ASCII flag
Diffstat (limited to 'src/runtime/c/m4')
| -rw-r--r-- | src/runtime/c/m4/c_ext.m4 | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/src/runtime/c/m4/c_ext.m4 b/src/runtime/c/m4/c_ext.m4 index 596e23782..8980a8407 100644 --- a/src/runtime/c/m4/c_ext.m4 +++ b/src/runtime/c/m4/c_ext.m4 @@ -40,34 +40,3 @@ AC_DEFUN([AC_C_FAM_IN_MEM], the last member of another struct.]) fi ]) - -## AC_C_ASCII -AC_DEFUN([AC_C_ASCII], -[ - AC_CACHE_CHECK([whether the execution character set uses ASCII], - ac_cv_c_ascii, - [AC_RUN_IFELSE( - [AC_LANG_PROGRAM([], [[ - -int i; -static const char ascii[128] = - "\0\0\0\0\0\0\0\a\b\t\n\v\f\r\0\0" - "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" - " !\"#\0%&'()*+,-./0123456789:;<=>?" - "\0ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\\\]^_" - "\0abcdefghijklmnopqrstuvwxyz{|}~\0"; - -for (i = 0; i < 128; i++) { - if (ascii[i] && ascii[i] != (char) i) { - return 1; - } -} - -]])], - [ac_cv_c_ascii=yes], - [ac_cv_c_ascii=no])]) - if test $ac_cv_c_ascii = yes; then - AC_DEFINE([CHAR_ASCII], 1, - [Define to 1 if the encoding of the basic character set is ASCII.]) - fi -]) |
