aboutsummaryrefslogtreecommitdiff
path: root/bfd/configure.in
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2008-11-06 14:10:46 +0000
committerTom Tromey <tromey@redhat.com>2008-11-06 14:10:46 +0000
commit428b207a69c493f7e324b2fea3043bd7d76bcd2c (patch)
tree99d8f0f75bcda877a5dd2ad020a7c1dc555d75a8 /bfd/configure.in
parentefd20d3a427f2e39e616fd4eb902dbd573480c20 (diff)
downloadgdb-428b207a69c493f7e324b2fea3043bd7d76bcd2c.zip
gdb-428b207a69c493f7e324b2fea3043bd7d76bcd2c.tar.gz
gdb-428b207a69c493f7e324b2fea3043bd7d76bcd2c.tar.bz2
* configure, config.in: Rebuild.
* configure.in: Check for fileno. * bfdio.c (close_on_exec): New function. (real_fopen): Use it. (FD_CLOEXEC): New define.
Diffstat (limited to 'bfd/configure.in')
-rw-r--r--bfd/configure.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/configure.in b/bfd/configure.in
index 72cefbc..bcc4615 100644
--- a/bfd/configure.in
+++ b/bfd/configure.in
@@ -179,7 +179,7 @@ GCC_HEADER_STDINT(bfd_stdint.h)
AC_HEADER_TIME
AC_HEADER_DIRENT
ACX_HEADER_STRING
-AC_CHECK_FUNCS(fcntl getpagesize setitimer sysconf fdopen getuid getgid)
+AC_CHECK_FUNCS(fcntl getpagesize setitimer sysconf fdopen getuid getgid fileno)
AC_CHECK_FUNCS(strtoull)
AC_CHECK_DECLS(basename)