This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

[Fortran - trunk, committed] Move 64-bit file size defines in libf2c/libI77/configure.in to top.


This was pointed out to me by Kaveh R. Ghazi.  AC_DEFINEs in
configure[.in] are used in subsequent autoconf tests, so the 64-bit file
size defines should go on top.

Bootstrap (C and Fortran) and checked (Fortran) on i686-pc-linux-gnu.

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.

Index: configure.in
===================================================================
RCS file: /cvs/gcc/gcc/libf2c/libI77/configure.in,v
retrieving revision 1.9
diff -r1.9 configure.in
25a26,32
> # 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])
> 
203,207d209
< 
< # 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])

-- 
Toon Moene - mailto:toon@moene.indiv.nluug.nl - phoneto: +31 346 214290
Saturnushof 14, 3738 XG  Maartensdijk, The Netherlands
Maintainer, GNU Fortran 77: http://gcc.gnu.org/onlinedocs/g77_news.html
Join GNU Fortran 95: http://g95.sourceforge.net/ (under construction)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]