Commit 14efa1dd by Kaveh R. Ghazi Committed by Kaveh Ghazi

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.

	* libU77/configure.in (_XOPEN_SOURCE, _FILE_OFFSET_BITS): Move
	these defines before tests which might be affected by them.
	(_XOPEN_SOURCE_EXTENDED): Define.

	* libU77/configure, libU77/config.hin: Regenerate.

From-SVN: r44108
parent 5f1ecf82
Wed Jul 18 11:14:33 2001 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* libU77/configure.in (_XOPEN_SOURCE, _FILE_OFFSET_BITS): Move
these defines before tests which might be affected by them.
(_XOPEN_SOURCE_EXTENDED): Define.
* libU77/configure, libU77/config.hin: Regenerate.
2001-07-10 Toon Moene <toon@moene.indiv.nluug.nl> 2001-07-10 Toon Moene <toon@moene.indiv.nluug.nl>
* libI77/fio.h: Revert type of url from off_t to int. * libI77/fio.h: Revert type of url from off_t to int.
......
...@@ -114,6 +114,9 @@ ...@@ -114,6 +114,9 @@
/* Get Single Unix Specification semantics */ /* Get Single Unix Specification semantics */
#undef _XOPEN_SOURCE #undef _XOPEN_SOURCE
/* Get Single Unix Specification semantics */
#undef _XOPEN_SOURCE_EXTENDED
/* Get 64-bit file size support */ /* Get 64-bit file size support */
#undef _FILE_OFFSET_BITS #undef _FILE_OFFSET_BITS
...@@ -23,6 +23,13 @@ AC_PREREQ(2.12.1) ...@@ -23,6 +23,13 @@ AC_PREREQ(2.12.1)
AC_INIT(access_.c) AC_INIT(access_.c)
AC_CONFIG_HEADER(config.h:config.hin) AC_CONFIG_HEADER(config.h:config.hin)
# 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 Checks for programs.
dnl FIXME AC_PROG_CC wants CC to be able to link things, but it may dnl FIXME AC_PROG_CC wants CC to be able to link things, but it may
...@@ -108,9 +115,4 @@ AC_SUBST(CROSS) ...@@ -108,9 +115,4 @@ AC_SUBST(CROSS)
AC_SUBST(RANLIB) AC_SUBST(RANLIB)
AC_SUBST(RANLIB_TEST) AC_SUBST(RANLIB_TEST)
# 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) AC_OUTPUT(Makefile)
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