summaryrefslogtreecommitdiffstats
path: root/unix
diff options
context:
space:
mode:
authornijtmans@users.sourceforge.net <jan.nijtmans>2013-07-02 07:26:20 (GMT)
committernijtmans@users.sourceforge.net <jan.nijtmans>2013-07-02 07:26:20 (GMT)
commitc19c6f487539c445573be1b04b5fa0b69aa3b20e (patch)
tree0b46425666e8d42050bfd5570d099d9e6264730a /unix
parent9826c9dc64d2b4370f7c4ba0381270afb6de6850 (diff)
parent87f3ed8d78e26e9410039f9d9510e4da1c02dc4b (diff)
downloadtk-c19c6f487539c445573be1b04b5fa0b69aa3b20e.zip
tk-c19c6f487539c445573be1b04b5fa0b69aa3b20e.tar.gz
tk-c19c6f487539c445573be1b04b5fa0b69aa3b20e.tar.bz2
Bug [http://core.tcl.tk/tcl/tktview?name=32afa6e256|32afa6e256]: dirent64 check is incorrect in tcl.m4. Thanks to Brian Griffin.
Diffstat (limited to 'unix')
-rwxr-xr-xunix/configure2
-rw-r--r--unix/tcl.m42
2 files changed, 2 insertions, 2 deletions
diff --git a/unix/configure b/unix/configure
index 7bc80dc..764c597 100755
--- a/unix/configure
+++ b/unix/configure
@@ -7611,7 +7611,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>?])