diff options
author | Loren J. Rittle <ljrittle@acm.org> | 2002-01-15 17:27:05 +0000 |
---|---|---|
committer | Loren J. Rittle <ljrittle@gcc.gnu.org> | 2002-01-15 17:27:05 +0000 |
commit | 82598228f08d373948f195d474ccc6a7aa9b2aab (patch) | |
tree | 70b8d0097b66bac140aa33b35c78d03d426cabb2 /libf2c/libI77/configure.in | |
parent | 751a1458e27cfb31650ed19368a1dc48ee0289a5 (diff) | |
download | gcc-82598228f08d373948f195d474ccc6a7aa9b2aab.zip gcc-82598228f08d373948f195d474ccc6a7aa9b2aab.tar.gz gcc-82598228f08d373948f195d474ccc6a7aa9b2aab.tar.bz2 |
configure.in: Remove fcntl.h check; never define _POSIX_SOURCE, NO_FCNTL or OPEN_DECL.
* libI77/configure.in: Remove fcntl.h check; never define
_POSIX_SOURCE, NO_FCNTL or OPEN_DECL. Add check for tmpnam().
* libI77/configure: Rebuilt.
* libI77/config.h.in: Rebuilt.
* libI77/Makefile.in: Remove all traces of rawio.h from
dependencies lists.
* libI77/fio.h (FSEEK): Unroll -j1.7 -j1.6 made 2002-01-04.
* libI77/open.c (f_open): Use HAVE_TMPNAM.
* libI77/rawio.h: Remove file.
From-SVN: r48875
Diffstat (limited to 'libf2c/libI77/configure.in')
-rw-r--r-- | libf2c/libI77/configure.in | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/libf2c/libI77/configure.in b/libf2c/libI77/configure.in index 3998002..988a8e5 100644 --- a/libf2c/libI77/configure.in +++ b/libf2c/libI77/configure.in @@ -124,11 +124,6 @@ AC_CACHE_VAL(g77_cv_sys_mingw32, AC_MSG_RESULT($g77_cv_sys_mingw32) -AC_CHECK_HEADER(fcntl.h, - test $g77_cv_header_posix = yes && AC_DEFINE(_POSIX_SOURCE), - AC_DEFINE(NO_FCNTL, 1, [Define if fcntl.h is missing.]) - AC_DEFINE(OPEN_DECL, 1, [Define if fcntl.h is missing.])) - dnl Checks for typedefs, structures, and compiler characteristics. AC_C_CONST AC_TYPE_SIZE_T @@ -154,6 +149,7 @@ AC_CHECK_FUNCS(ftello) AC_CHECK_FUNCS(ftruncate) AC_CHECK_FUNCS(mkstemp) AC_CHECK_FUNCS(tempnam) +AC_CHECK_FUNCS(tmpnam) # posix will guarantee the right behaviour for sprintf, else we can't be # sure; HEADER_STDC wouldn't be the right check in sunos4, for instance. |