aboutsummaryrefslogtreecommitdiff
path: root/bfd/configure.in
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1999-05-27 22:48:53 +0000
committerIan Lance Taylor <ian@airs.com>1999-05-27 22:48:53 +0000
commit633fd09f3cfd79906b88fc1adcd2c16f39e9848e (patch)
tree222169633012952f6d750a27b4bad5fc6f777922 /bfd/configure.in
parent6da466c730cb814a5903049a922e2169e60a311c (diff)
downloadgdb-633fd09f3cfd79906b88fc1adcd2c16f39e9848e.zip
gdb-633fd09f3cfd79906b88fc1adcd2c16f39e9848e.tar.gz
gdb-633fd09f3cfd79906b88fc1adcd2c16f39e9848e.tar.bz2
* configure.in: Check whether getuid and getgid exist.
* archive.c: Define getuid and getgid as macros if HAVE_GETUID or HAVE_GETGID are not defined, respectively. (bfd_write_armap): Don't special case on _WIN32 for getuid and getgid. * configure.host: Set ac_cv_func_get{ug}id for *-*-windows*. * configure, config.in: Rebuild.
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 d5aa882..94f3ef6 100644
--- a/bfd/configure.in
+++ b/bfd/configure.in
@@ -98,7 +98,7 @@ AC_CHECK_HEADERS(stddef.h string.h strings.h stdlib.h time.h unistd.h)
AC_CHECK_HEADERS(fcntl.h sys/file.h sys/time.h)
AC_HEADER_TIME
AC_HEADER_DIRENT
-AC_CHECK_FUNCS(fcntl getpagesize setitimer sysconf fdopen)
+AC_CHECK_FUNCS(fcntl getpagesize setitimer sysconf fdopen getuid getgid)
BFD_BINARY_FOPEN