aboutsummaryrefslogtreecommitdiff
path: root/binutils/config.in
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2005-03-31 14:40:41 +0000
committerNick Clifton <nickc@redhat.com>2005-03-31 14:40:41 +0000
commite46eba98aea90cf780f66f7633c2e3417a2a6a76 (patch)
tree900100573fb8f51fda9d16b32f47e780a2ea4d23 /binutils/config.in
parent0f2d00bca88a013fcd12d7a09ddb3a5bde378322 (diff)
downloadgdb-e46eba98aea90cf780f66f7633c2e3417a2a6a76.zip
gdb-e46eba98aea90cf780f66f7633c2e3417a2a6a76.tar.gz
gdb-e46eba98aea90cf780f66f7633c2e3417a2a6a76.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 'binutils/config.in')
-rw-r--r--binutils/config.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/binutils/config.in b/binutils/config.in
index 76d3b81..abb8ee2 100644
--- a/binutils/config.in
+++ b/binutils/config.in
@@ -178,6 +178,9 @@
/* Is the type time_t defined in <sys/types.h>? */
#undef HAVE_TIME_T_IN_TYPES_H
+/* Is the prototype for getopt in <unistd.h> in the expected format? */
+#undef HAVE_DECL_GETOPT
+
/* Does <utime.h> define struct utimbuf? */
#undef HAVE_GOOD_UTIME_H