From d0820ac07ec119ce87dd0b6d7eea62612c6355eb Mon Sep 17 00:00:00 2001 From: green Date: Sun, 21 Nov 2010 03:29:27 +0000 Subject: Fix build regression git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@166996 138bc75d-0d04-0410-961f-82ee72b054a4 --- libiberty/configure | 24 +----------------------- 1 file changed, 1 insertion(+), 23 deletions(-) (limited to 'libiberty/configure') diff --git a/libiberty/configure b/libiberty/configure index c16ced92815..bdabe8d1a35 100755 --- a/libiberty/configure +++ b/libiberty/configure @@ -4895,7 +4895,7 @@ host_makefile_frag=${frag} # It's OK to check for header files. Although the compiler may not be # able to link anything, it had better be able to at least compile # something. -for ac_header in sys/file.h sys/param.h limits.h stdlib.h malloc.h string.h unistd.h strings.h sys/time.h time.h sys/resource.h sys/stat.h sys/mman.h fcntl.h alloca.h sys/pstat.h sys/sysmp.h sys/sysinfo.h machine/hal_sysinfo.h sys/table.h sys/sysctl.h sys/systemcfg.h stdint.h stdio_ext.h process.h +for ac_header in sys/file.h sys/param.h limits.h stdlib.h malloc.h string.h unistd.h strings.h sys/time.h time.h sys/resource.h sys/stat.h sys/mman.h fcntl.h alloca.h sys/pstat.h sys/sysmp.h sys/sysinfo.h machine/hal_sysinfo.h sys/table.h sys/sysctl.h sys/systemcfg.h stdint.h stdio_ext.h process.h sys/prctl.h do : as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` ac_fn_c_check_header_preproc "$LINENO" "$ac_header" "$as_ac_Header" @@ -5719,28 +5719,6 @@ fi -# check for prctl PR_SET_NAME -if test x$gcc_no_link = xyes; then - as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 -fi -cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -#include -int main() -{ - return (prctl(PR_SET_NAME, "foo") == 0) ? 0 : 1; -} - -_ACEOF -if ac_fn_c_try_link "$LINENO"; then : - -$as_echo "#define HAVE_PRCTL_SET_NAME 1" >>confdefs.h - -fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext - case "${host}" in *-*-cygwin* | *-*-mingw*) $as_echo "#define HAVE_SYS_ERRLIST 1" >>confdefs.h -- cgit v1.2.1