aboutsummaryrefslogtreecommitdiff
path: root/bfd/configure
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
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')
-rwxr-xr-xbfd/configure3
1 files changed, 2 insertions, 1 deletions
diff --git a/bfd/configure b/bfd/configure
index 84ba0f6..5cd7e77 100755
--- a/bfd/configure
+++ b/bfd/configure
@@ -17553,7 +17553,8 @@ fi
-for ac_func in fcntl getpagesize setitimer sysconf fdopen getuid getgid
+
+for ac_func in fcntl getpagesize setitimer sysconf fdopen getuid getgid fileno
do
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
echo "$as_me:$LINENO: checking for $ac_func" >&5