summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornijtmans@users.sourceforge.net <jan.nijtmans>2013-07-02 07:25:20 (GMT)
committernijtmans@users.sourceforge.net <jan.nijtmans>2013-07-02 07:25:20 (GMT)
commite4a88e8147db970026685102c855a968e85fc53a (patch)
tree2afeb3e7386f80bfd0c6f729f4e9b7ae7d259bd5
parent4337b4bb8f37a4331f68b52666e9aca41da6e3ff (diff)
downloadtk-e4a88e8147db970026685102c855a968e85fc53a.zip
tk-e4a88e8147db970026685102c855a968e85fc53a.tar.gz
tk-e4a88e8147db970026685102c855a968e85fc53a.tar.bz2
Bug [http://core.tcl.tk/tcl/tktview?name=32afa6e256|32afa6e256]: dirent64 check is incorrect in tcl.m4. Thanks to Brian Griffin.
-rw-r--r--ChangeLog5
-rwxr-xr-xunix/configure2
-rw-r--r--unix/tcl.m42
3 files changed, 7 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index ef332bd..1b40951 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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)
+
2012-06-28 Jan Nijtmans <nijtmans@users.sf.net>
* library/ttk/scale.tcl: [Bug 2501278]: ttk::scale keyboard binding
diff --git a/unix/configure b/unix/configure
index 7a19259..e06232e 100755
--- a/unix/configure
+++ b/unix/configure
@@ -7803,7 +7803,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 850e940..bac5ebe 100644
--- a/unix/tcl.m4
+++ b/unix/tcl.m4
@@ -2776,7 +2776,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>?])