diff options
author | dkf <donal.k.fellows@manchester.ac.uk> | 2005-09-15 15:25:17 (GMT) |
---|---|---|
committer | dkf <donal.k.fellows@manchester.ac.uk> | 2005-09-15 15:25:17 (GMT) |
commit | 7d09565720b2955832749fffa7a2570775b4f57e (patch) | |
tree | 3ec890bbb7b2e74680a631017f3acc294399d46d /unix/tcl.m4 | |
parent | 2d710b7bfb946720a165117b51982657462c87c2 (diff) | |
download | tcl-7d09565720b2955832749fffa7a2570775b4f57e.zip tcl-7d09565720b2955832749fffa7a2570775b4f57e.tar.gz tcl-7d09565720b2955832749fffa7a2570775b4f57e.tar.bz2 |
Added yet another corner-case hack, this time for RHEL3. [Bug 1287638]
Diffstat (limited to 'unix/tcl.m4')
-rw-r--r-- | unix/tcl.m4 | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/unix/tcl.m4 b/unix/tcl.m4 index a48c114..63dc0e6 100644 --- a/unix/tcl.m4 +++ b/unix/tcl.m4 @@ -2553,6 +2553,7 @@ AC_DEFUN(SC_TCL_LINK_LIBS, [ # Might define the following vars: # _ISOC99_SOURCE # _LARGEFILE64_SOURCE +# _LARGEFILE_SOURCE64 # #-------------------------------------------------------------------- @@ -2575,6 +2576,8 @@ AC_DEFUN(SC_TCL_EARLY_FLAGS,[ [char *p = (char *)strtoll; char *q = (char *)strtoull;]) SC_TCL_EARLY_FLAG(_LARGEFILE64_SOURCE,[#include <sys/stat.h>], [struct stat64 buf; int i = stat64("/", &buf);]) + SC_TCL_EARLY_FLAG(_LARGEFILE_SOURCE64,[#include <sys/stat.h>], + [char *p = (char *)open64;]) if test "x${tcl_flags}" = "x" ; then AC_MSG_RESULT(none) else |