summaryrefslogtreecommitdiff
path: root/bfd/config.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/config.in
parent6da466c730cb814a5903049a922e2169e60a311c (diff)
downloadbinutils-633fd09f3cfd79906b88fc1adcd2c16f39e9848e.tar.gz
binutils-633fd09f3cfd79906b88fc1adcd2c16f39e9848e.tar.bz2
binutils-633fd09f3cfd79906b88fc1adcd2c16f39e9848e.zip
* 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/config.in')
-rw-r--r--bfd/config.in6
1 files changed, 6 insertions, 0 deletions
diff --git a/bfd/config.in b/bfd/config.in
index 51fa45b6928..abb2c7872cc 100644
--- a/bfd/config.in
+++ b/bfd/config.in
@@ -67,9 +67,15 @@
/* Define if you have the getcwd function. */
#undef HAVE_GETCWD
+/* Define if you have the getgid function. */
+#undef HAVE_GETGID
+
/* Define if you have the getpagesize function. */
#undef HAVE_GETPAGESIZE
+/* Define if you have the getuid function. */
+#undef HAVE_GETUID
+
/* Define if you have the madvise function. */
#undef HAVE_MADVISE