aboutsummaryrefslogtreecommitdiff
path: root/ld/config.in
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2005-04-04 11:27:16 +0000
committerNick Clifton <nickc@redhat.com>2005-04-04 11:27:16 +0000
commit34875e6487738a81c2b09979b804556bc8ea885b (patch)
tree35f8536360eb5884dbf3706d1a550ee0f933acdf /ld/config.in
parent661f7c357e34dee7936489da7a385c29a1343d02 (diff)
downloadgdb-34875e6487738a81c2b09979b804556bc8ea885b.zip
gdb-34875e6487738a81c2b09979b804556bc8ea885b.tar.gz
gdb-34875e6487738a81c2b09979b804556bc8ea885b.tar.bz2
Add a check for <unistd.h> providing a prototype for getopt() which is compatible
with the one in include/getopt.h. If so then define HAVE_DECL_GETOPT.
Diffstat (limited to 'ld/config.in')
-rw-r--r--ld/config.in2
1 files changed, 2 insertions, 0 deletions
diff --git a/ld/config.in b/ld/config.in
index 01ec4ff..a905962 100644
--- a/ld/config.in
+++ b/ld/config.in
@@ -175,3 +175,5 @@
/* Additional extension a shared object might have. */
#undef EXTRA_SHLIB_EXTENSION
+/* Is the prototype for getopt in <unistd.h> in the expected format? */
+#undef HAVE_DECL_GETOPT