diff options
author | Ian Lance Taylor <ian@gcc.gnu.org> | 2018-06-22 14:25:52 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@gcc.gnu.org> | 2018-06-22 14:25:52 +0000 |
commit | 38a4d6da179a0c88cc8b697470f928488e0553ee (patch) | |
tree | 4091ced53bb61d9a7f86a2957b2259bfdcbd56d4 /libgo/configure | |
parent | 626d407be8579bca557958353844a87d15ef5849 (diff) | |
download | gcc-38a4d6da179a0c88cc8b697470f928488e0553ee.zip gcc-38a4d6da179a0c88cc8b697470f928488e0553ee.tar.gz gcc-38a4d6da179a0c88cc8b697470f928488e0553ee.tar.bz2 |
syscall: remove Ustat
glibc 2.28 removes ustat.h and the ustat function entirely, which
breaks syscall.Ustat.
Updates golang/go#25990
Reviewed-on: https://go-review.googlesource.com/120535
From-SVN: r261896
Diffstat (limited to 'libgo/configure')
-rwxr-xr-x | libgo/configure | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/libgo/configure b/libgo/configure index 66942ed..7166f94 100755 --- a/libgo/configure +++ b/libgo/configure @@ -14760,39 +14760,6 @@ fi done -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether <ustat.h> can be used" >&5 -$as_echo_n "checking whether <ustat.h> can be used... " >&6; } -if test "${libgo_cv_c_ustat_h+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - CFLAGS_hold=$CFLAGS -CFLAGS="$CFLAGS -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE $OSCFLAGS" -cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -#include <sys/types.h> -#ifdef HAVE_LINUX_FILTER_H -#include <linux/filter.h> -#endif -#include <ustat.h> - -_ACEOF -if ac_fn_c_try_compile "$LINENO"; then : - libgo_cv_c_ustat_h=yes -else - libgo_cv_c_ustat_h=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -CFLAGS=$CFLAGS_hold -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_c_ustat_h" >&5 -$as_echo "$libgo_cv_c_ustat_h" >&6; } -if test $libgo_cv_c_ustat_h = yes; then - -$as_echo "#define HAVE_USTAT_H 1" >>confdefs.h - -fi - if test "$ac_cv_header_sys_mman_h" = yes; then HAVE_SYS_MMAN_H_TRUE= HAVE_SYS_MMAN_H_FALSE='#' |