diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2013-07-02 07:17:19 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2013-07-02 07:17:19 (GMT) |
commit | b945167d6901be5004d5ab2eda35dbae523ea743 (patch) | |
tree | 522f1f68ade76a631d58345f7afb347e295b3351 | |
parent | edc8f4f5a979ccc03265007043d077ac570eb4db (diff) | |
parent | 4fe87442ab9dc726e56daa494f7f60c2cb0efc75 (diff) | |
download | tcl-b945167d6901be5004d5ab2eda35dbae523ea743.zip tcl-b945167d6901be5004d5ab2eda35dbae523ea743.tar.gz tcl-b945167d6901be5004d5ab2eda35dbae523ea743.tar.bz2 |
Bug [32afa6e256]: dirent64 check is incorrect in tcl.m4. Thanks to Brian Griffin.
-rw-r--r-- | ChangeLog | 5 | ||||
-rwxr-xr-x | unix/configure | 2 | ||||
-rw-r--r-- | unix/tcl.m4 | 2 |
3 files changed, 7 insertions, 2 deletions
@@ -1,3 +1,8 @@ +2013-07-02 Jan Nijtmans <nijtmans@users.sf.net> + + * unix/tcl.m4: Bug [32afa6e256]: dirent64 check is incorrect in tcl.m4 + * unix/configure: (thanks to Brian Griffin) + 2013-06-27 Jan Nijtmans <nijtmans@users.sf.net> * generic/tclConfig.c: Bug [9b2e636361]: Tcl_CreateInterp() needs initialized diff --git a/unix/configure b/unix/configure index 7626343..d37aa4f 100755 --- a/unix/configure +++ b/unix/configure @@ -9788,7 +9788,7 @@ cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include <sys/types.h> -#include <sys/dirent.h> +#include <dirent.h> int main () { diff --git a/unix/tcl.m4 b/unix/tcl.m4 index 43e2b78..b69d5a6 100644 --- a/unix/tcl.m4 +++ b/unix/tcl.m4 @@ -2640,7 +2640,7 @@ AC_DEFUN([SC_TCL_64BIT_FLAGS], [ # Now check for auxiliary declarations AC_CACHE_CHECK([for struct dirent64], tcl_cv_struct_dirent64,[ AC_TRY_COMPILE([#include <sys/types.h> -#include <sys/dirent.h>],[struct dirent64 p;], +#include <dirent.h>],[struct dirent64 p;], tcl_cv_struct_dirent64=yes,tcl_cv_struct_dirent64=no)]) if test "x${tcl_cv_struct_dirent64}" = "xyes" ; then AC_DEFINE(HAVE_STRUCT_DIRENT64, 1, [Is 'struct dirent64' in <sys/types.h>?]) |