aboutsummaryrefslogtreecommitdiff
path: root/bfd/configure.in
diff options
context:
space:
mode:
authorFred Fish <fnf@specifix.com>1996-04-05 04:14:36 +0000
committerFred Fish <fnf@specifix.com>1996-04-05 04:14:36 +0000
commitab1aa5cd6cd1e18814c20c8801e989fc260b8ee9 (patch)
treec3696d76f932c42351db234110e6405fefe20dec /bfd/configure.in
parent72c9954b87f955fa8a62ff70a29c2f8a3aa7ece4 (diff)
downloadgdb-ab1aa5cd6cd1e18814c20c8801e989fc260b8ee9.zip
gdb-ab1aa5cd6cd1e18814c20c8801e989fc260b8ee9.tar.gz
gdb-ab1aa5cd6cd1e18814c20c8801e989fc260b8ee9.tar.bz2
* configure.in (mips-sony-bsd*): Fix typo in AC_DEFINE.
(AC_CHECK_HEADERS): Check for sys/time.h (AC_HEADER_TIME): Add macro. * configure: Rebuild. * sysdep.h: Use TIME_WITH_SYS_TIME and HAVE_SYS_TIME_H to control what combination of <time> and <sys/time.h> get included.
Diffstat (limited to 'bfd/configure.in')
-rw-r--r--bfd/configure.in5
1 files changed, 3 insertions, 2 deletions
diff --git a/bfd/configure.in b/bfd/configure.in
index 12b1cc7..7c27e1d 100644
--- a/bfd/configure.in
+++ b/bfd/configure.in
@@ -116,7 +116,8 @@ AC_SUBST(HOST_64BIT_LONG)
BFD_CC_FOR_BUILD
AC_CHECK_HEADERS(stddef.h string.h strings.h stdlib.h time.h unistd.h)
-AC_CHECK_HEADERS(fcntl.h sys/file.h)
+AC_CHECK_HEADERS(fcntl.h sys/file.h sys/time.h)
+AC_HEADER_TIME
AC_CHECK_FUNCS(fcntl getpagesize)
BFD_BINARY_FOPEN
@@ -223,7 +224,7 @@ changequote([,])dnl
;;
mips-sony-bsd*)
COREFILE=trad-core.o
- AC_DEFINE(TRAD_HEADER,"hosts/news-mips".h)
+ AC_DEFINE(TRAD_HEADER,"hosts/news-mips.h")
;;
m68*-bull*-sysv*)
COREFILE=trad-core.o