Mercurial > hg > CbC > CbC_gcc
comparison libiberty/aclocal.m4 @ 111:04ced10e8804
gcc 7
author | kono |
---|---|
date | Fri, 27 Oct 2017 22:46:09 +0900 |
parents | f6334be47118 |
children |
comparison
equal
deleted
inserted
replaced
68:561a7518be6b | 111:04ced10e8804 |
---|---|
1 sinclude(../config/acx.m4) | 1 sinclude(../config/acx.m4) |
2 sinclude(../config/no-executables.m4) | 2 sinclude(../config/no-executables.m4) |
3 sinclude(../config/override.m4) | 3 sinclude(../config/override.m4) |
4 sinclude(../config/picflag.m4) | |
4 sinclude(../config/warnings.m4) | 5 sinclude(../config/warnings.m4) |
5 | 6 |
6 dnl See whether strncmp reads past the end of its string parameters. | 7 dnl See whether strncmp reads past the end of its string parameters. |
7 dnl On some versions of SunOS4 at least, strncmp reads a word at a time | 8 dnl On some versions of SunOS4 at least, strncmp reads a word at a time |
8 dnl but erroneously reads past the end of strings. This can cause | 9 dnl but erroneously reads past the end of strings. This can cause |
69 } | 70 } |
70 #endif /* HAVE_MMAP || HAVE_MMAP_ANYWHERE */ | 71 #endif /* HAVE_MMAP || HAVE_MMAP_ANYWHERE */ |
71 exit (0); | 72 exit (0); |
72 } | 73 } |
73 ], ac_cv_func_strncmp_works=yes, ac_cv_func_strncmp_works=no, | 74 ], ac_cv_func_strncmp_works=yes, ac_cv_func_strncmp_works=no, |
74 ac_cv_func_strncmp_works=no) | 75 ac_cv_func_strncmp_works=yes) |
75 rm -f core core.* *.core]) | 76 rm -f core core.* *.core]) |
76 if test $ac_cv_func_strncmp_works = no ; then | 77 if test $ac_cv_func_strncmp_works = no ; then |
77 AC_LIBOBJ([strncmp]) | 78 AC_LIBOBJ([strncmp]) |
78 fi | 79 fi |
79 ]) | 80 ]) |