diff options
author | DJ Delorie <dj@redhat.com> | 2010-11-21 04:01:17 +0000 |
---|---|---|
committer | DJ Delorie <dj@redhat.com> | 2010-11-21 04:01:17 +0000 |
commit | 62b06a9e17aacab20187632db20a98c4f2fe7f49 (patch) | |
tree | 220ec564222892ee7074eb13e83501465b85ca8d /libiberty/configure | |
parent | 9e1a94f4a18ab83359a4cd380f3bbc90c047542a (diff) | |
download | gdb-62b06a9e17aacab20187632db20a98c4f2fe7f49.zip gdb-62b06a9e17aacab20187632db20a98c4f2fe7f49.tar.gz gdb-62b06a9e17aacab20187632db20a98c4f2fe7f49.tar.bz2 |
merge from gcc
Diffstat (limited to 'libiberty/configure')
-rwxr-xr-x | libiberty/configure | 24 |
1 files changed, 1 insertions, 23 deletions
diff --git a/libiberty/configure b/libiberty/configure index c16ced9..bdabe8d 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 <sys/prctl.h> -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 |