Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 19d8b69d6c71416030e6aef0b2551c8e317c14cd
Ticket: 1874521fffffffffffffffffffffffffffffffff
Configure fails to find dirent64 on CentOS 5 and Fedora
User & Date: nobody on 2008-01-18 18:43:36
Changes

  1. icomment:
    Logged In: NO 
    
    The following patch fixes it on CentOS 5, and also looks OK on Solaris 9.
    
    --- tcl.m4.orig2008-01-18 11:41:28.000000000 +0000
    +++ tcl.m42008-01-18 11:16:11.000000000 +0000
    @@ -2765,6 +2765,7 @@
     # Now check for auxiliary declarations
     AC_CACHE_CHECK([for struct dirent64], tcl_cv_struct_dirent64,[
         AC_TRY_COMPILE([#include <sys/types.h>
    +#include <dirent.h>
     #include <sys/dirent.h>],[struct dirent64 p;],
     tcl_cv_struct_dirent64=yes,tcl_cv_struct_dirent64=no)])
     if test "x${tcl_cv_struct_dirent64}" = "xyes" ; then
    
    
    
    
  2. login: "[email protected]"
  3. mimetype: "text/plain"
  4. username: "[email protected]"