summaryrefslogtreecommitdiff
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
commitbd4f7a8f3985986b4f3d9df49310053a92eaa81f (patch)
treeb26c5ce3ead3be03a9050f3db35f8f7318c8a8a0 /binutils/config.in
parent8b12f024350c7a1413ae1b1e09cff892dd62c6e3 (diff)
downloadbinutils-redhat-bd4f7a8f3985986b4f3d9df49310053a92eaa81f.tar.gz
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 76d3b815bd..abb8ee2836 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