diff options
author | Ulrich Drepper <drepper@gmail.com> | 2012-01-08 07:44:18 -0500 |
---|---|---|
committer | Ulrich Drepper <drepper@gmail.com> | 2012-01-08 07:44:18 -0500 |
commit | 8720d066387e463ad5f93bf4cfc871cc5a82928e (patch) | |
tree | e5bc1e9ef2127312a15c752328deb55d7bbc68ad /configure.in | |
parent | 51a1d39ce37ad798070d3ae1eb9c6fc748e0629b (diff) | |
download | glibc-8720d066387e463ad5f93bf4cfc871cc5a82928e.tar.gz |
gcc better don't use a signed type for size_t
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/configure.in b/configure.in index 4df0edccd8..a9d9502737 100644 --- a/configure.in +++ b/configure.in @@ -1096,24 +1096,6 @@ AC_PATH_PROG(INSTALL_INFO, install-info, no, $PATH:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/bin:/sbin) AC_PATH_PROG(BISON, bison, no, $PATH:/usr/local/bin:/usr/bin:/bin) -AC_CACHE_CHECK(for signed size_t type, libc_cv_signed_size_t, [dnl -echo '#include <stddef.h> -FOOBAR __SIZE_TYPE__ FOOBAR' > conftest.c -if eval "$ac_cpp conftest.c 2>/dev/null" \ -| grep '^FOOBAR.*unsigned.*FOOBAR$' >/dev/null; then - libc_cv_signed_size_t=no -else - libc_cv_signed_size_t=yes -fi -rm -f conftest*]) -if test $libc_cv_signed_size_t = yes; then - dnl Do this by hand instead of AC_DEFINE so can add #undef to avoid warnings. - cat >> confdefs.h <<\EOF -#undef __SIZE_TYPE__ -#define __SIZE_TYPE__ unsigned -EOF -fi - AC_CACHE_CHECK(for libc-friendly stddef.h, libc_cv_friendly_stddef, [dnl AC_TRY_COMPILE(dnl [#define __need_size_t |