/[guile]/guile/guile-core/autogen.sh
ViewVC logotype

Diff of /guile/guile-core/autogen.sh

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.21 by mvo, Sun Jul 7 20:12:31 2002 UTC revision 1.22 by mvo, Tue Jul 9 13:25:40 2002 UTC
# Line 55  if [ -f libltdl/configure.in ]; then Line 55  if [ -f libltdl/configure.in ]; then
55          cat libltdl/configure.tmp >> libltdl/configure.in          cat libltdl/configure.tmp >> libltdl/configure.in
56          rm libltdl/configure.tmp          rm libltdl/configure.tmp
57  fi  fi
58    
59    # Maybe patch ltdl.c.  This is only needed for 1.4.2 and earlier.
60    if patch libltdl/ltdl.c <<EOP
61    --- ltdl.c~     Fri Apr 12 18:52:48 2002
62    +++ ltdl.c      Tue Jul  9 14:12:47 2002
63    @@ -2246,15 +2246,15 @@
64     static int
65     find_handle_callback (filename, data, ignored)
66          char *filename;
67          lt_ptr data;
68          lt_ptr ignored;
69     {
70       lt_dlhandle  *handle = (lt_dlhandle *) data;
71    -  int          found   = access (filename, R_OK);
72    +  int          found   = !access (filename, F_OK);
73    
74       /* Bail out if file cannot be read...  */
75       if (!found)
76         return 0;
77    
78       /* Try to dlopen the file, but do not continue searching in any
79          case.  */
80    EOP
81    then true
82    else
83       echo "WARNING: could not patch libltdl, but this is probably OK."
84    fi
85    
86  ######################################################################  ######################################################################
87    
88  autoheader  autoheader

Legend:
Removed from v.1.21  
changed lines
  Added in v.1.22

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26