aboutsummaryrefslogtreecommitdiff
path: root/libf2c/libI77/configure.in
diff options
context:
space:
mode:
authorToon Moene <toon@moene.indiv.nluug.nl>2001-07-18 22:50:54 +0200
committerToon Moene <toon@gcc.gnu.org>2001-07-18 20:50:54 +0000
commit31831acf291f3146c15a7cf3568188527a1cf425 (patch)
tree42c96929db735bc667b04318be7d7df342f8dcc9 /libf2c/libI77/configure.in
parent20c93f7ce2e90a9e40994f3b4b60065b4b8c8fc4 (diff)
downloadgcc-31831acf291f3146c15a7cf3568188527a1cf425.zip
gcc-31831acf291f3146c15a7cf3568188527a1cf425.tar.gz
gcc-31831acf291f3146c15a7cf3568188527a1cf425.tar.bz2
configure.in (_XOPEN_SOURCE, [...]): Move these defines before tests which might be affected by them.
2001-07-18 Toon Moene <toon@moene.indiv.nluug.nl> * libI77/configure.in (_XOPEN_SOURCE, _FILE_OFFSET_BITS): Move these defines before tests which might be affected by them. (_XOPEN_SOURCE_EXTENDED): Define. * libI77/configure, libI77/config.h.in: Regenerate. From-SVN: r44133
Diffstat (limited to 'libf2c/libI77/configure.in')
-rw-r--r--libf2c/libI77/configure.in12
1 files changed, 7 insertions, 5 deletions
diff --git a/libf2c/libI77/configure.in b/libf2c/libI77/configure.in
index 5ac1b62..eafa71b 100644
--- a/libf2c/libI77/configure.in
+++ b/libf2c/libI77/configure.in
@@ -23,6 +23,13 @@ AC_PREREQ(2.12.1)
AC_INIT(ftell_.c)
AC_CONFIG_HEADER(config.h)
+# These defines are necessary to get 64-bit file size support.
+
+AC_DEFINE(_XOPEN_SOURCE, 500L, [Get Single Unix Specification semantics])
+# The following is needed by irix6.2 so that struct timeval is declared.
+AC_DEFINE(_XOPEN_SOURCE_EXTENDED, 1, [Get Single Unix Specification semantics])
+AC_DEFINE(_FILE_OFFSET_BITS, 64, [Get 64-bit file size support])
+
dnl Checks for programs.
dnl FIXME AC_PROG_CC wants CC to be able to link things, but it may
@@ -201,11 +208,6 @@ AC_TYPE_OFF_T
AC_DEFINE(Skip_f2c_Undefs, 1, [Define to skip f2c undefs.])
-# These defines are necessary to get 64-bit file size support.
-
-AC_DEFINE(_XOPEN_SOURCE, 500L, [Get Single Unix Specification semantics])
-AC_DEFINE(_FILE_OFFSET_BITS, 64, [Get 64-bit file size support])
-
AC_OUTPUT(Makefile)
dnl We might have configuration options to: