diff options
author | Ian Lance Taylor <ian@airs.com> | 1999-05-27 22:48:53 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@airs.com> | 1999-05-27 22:48:53 +0000 |
commit | 715e303b4f61436c06b91a8a977af398861ee873 (patch) | |
tree | 268801435869cbb75dddefd576ae9440d6f95cc6 /bfd/configure.in | |
parent | 8acbecc957d49d1b488da3b253905d56f541e152 (diff) | |
download | binutils-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.in | 2 |
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 |