Commit 31831acf by Toon Moene Committed by Toon Moene

configure.in (_XOPEN_SOURCE, [...]): Move these defines before tests which might…

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
parent 20c93f7c
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.
Wed Jul 18 11:14:33 2001 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* libU77/configure.in (_XOPEN_SOURCE, _FILE_OFFSET_BITS): Move
......
......@@ -30,6 +30,15 @@
/* Define if you have the tempnam function. */
#undef HAVE_TEMPNAM
/* Get Single Unix Specification semantics */
#undef _XOPEN_SOURCE
/* Get Single Unix Specification semantics */
#undef _XOPEN_SOURCE_EXTENDED
/* Get 64-bit file size support */
#undef _FILE_OFFSET_BITS
/* Define if fcntl.h is missing. */
#undef NO_FCNTL
......@@ -51,9 +60,3 @@
/* Define to skip f2c undefs. */
#undef Skip_f2c_Undefs
/* Get Single Unix Specification semantics */
#undef _XOPEN_SOURCE
/* Get 64-bit file size support */
#undef _FILE_OFFSET_BITS
......@@ -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:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment