diff options
author | Anthony Green <green@moxielogic.com> | 2010-11-21 03:29:27 +0000 |
---|---|---|
committer | Anthony Green <green@gcc.gnu.org> | 2010-11-21 03:29:27 +0000 |
commit | 52ae149de0588e84b71b4fcc3ec35a7af1644d3f (patch) | |
tree | 7625e9f4f605273dbfaade38b25a5e50f37d323f /libiberty/configure.ac | |
parent | 4de7c19456b4ca18e9054c746b145dc6094fa0e3 (diff) | |
download | gcc-52ae149de0588e84b71b4fcc3ec35a7af1644d3f.zip gcc-52ae149de0588e84b71b4fcc3ec35a7af1644d3f.tar.gz gcc-52ae149de0588e84b71b4fcc3ec35a7af1644d3f.tar.bz2 |
Fix build regression
From-SVN: r166996
Diffstat (limited to 'libiberty/configure.ac')
-rw-r--r-- | libiberty/configure.ac | 12 |
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) |