aboutsummaryrefslogtreecommitdiff
path: root/libiberty/configure.ac
diff options
context:
space:
mode:
authorDJ Delorie <dj@redhat.com>2010-11-21 04:01:17 +0000
committerDJ Delorie <dj@redhat.com>2010-11-21 04:01:17 +0000
commit62b06a9e17aacab20187632db20a98c4f2fe7f49 (patch)
tree220ec564222892ee7074eb13e83501465b85ca8d /libiberty/configure.ac
parent9e1a94f4a18ab83359a4cd380f3bbc90c047542a (diff)
downloadgdb-62b06a9e17aacab20187632db20a98c4f2fe7f49.zip
gdb-62b06a9e17aacab20187632db20a98c4f2fe7f49.tar.gz
gdb-62b06a9e17aacab20187632db20a98c4f2fe7f49.tar.bz2
merge from gcc
Diffstat (limited to 'libiberty/configure.ac')
-rw-r--r--libiberty/configure.ac12
1 files changed, 1 insertions, 11 deletions
diff --git a/libiberty/configure.ac b/libiberty/configure.ac
index d9ecfdd..9f1ff04 100644
--- a/libiberty/configure.ac
+++ b/libiberty/configure.ac
@@ -246,7 +246,7 @@ AC_SUBST_FILE(host_makefile_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.
-AC_CHECK_HEADERS(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)
+AC_CHECK_HEADERS(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)
AC_HEADER_SYS_WAIT
AC_HEADER_TIME
@@ -538,16 +538,6 @@ fi
AC_SUBST(CHECK)
AC_SUBST(target_header_dir)
-# check for prctl PR_SET_NAME
-AC_LINK_IFELSE([AC_LANG_SOURCE([[
-#include <sys/prctl.h>
-int main()
-{
- return (prctl(PR_SET_NAME, "foo") == 0) ? 0 : 1;
-}
-]])], AC_DEFINE(HAVE_PRCTL_SET_NAME, 1,
- [Define if you have prctl PR_SET_NAME]))
-
case "${host}" in
*-*-cygwin* | *-*-mingw*)
AC_DEFINE(HAVE_SYS_ERRLIST)