summaryrefslogtreecommitdiff
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
commit715e303b4f61436c06b91a8a977af398861ee873 (patch)
tree268801435869cbb75dddefd576ae9440d6f95cc6 /bfd/configure.in
parent8acbecc957d49d1b488da3b253905d56f541e152 (diff)
downloadbinutils-redhat-715e303b4f61436c06b91a8a977af398861ee873.tar.gz
* 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 d5aa882570..94f3ef60fe 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