]> git.pld-linux.org Git - packages/tk.git/blob - tk-x.patch
updated to 8.5.13.
[packages/tk.git] / tk-x.patch
1 --- tk8.5a4/unix/tcl.m4.orig    2006-05-24 07:59:16.403356000 +0200
2 +++ tk8.5a4/unix/tcl.m4 2006-05-24 17:57:38.087071500 +0200
3 @@ -2281,9 +2281,9 @@
4      not_really_there=""
5      if test "$no_x" = ""; then
6         if test "$x_includes" = ""; then
7 -           AC_TRY_CPP([#include <X11/XIntrinsic.h>], , not_really_there="yes")
8 +           AC_TRY_CPP([#include <X11/Xlib.h>], , not_really_there="yes")
9         else
10 -           if test ! -r $x_includes/X11/Intrinsic.h; then
11 +           if test ! -r $x_includes/X11/Xlib.h; then
12                 not_really_there="yes"
13             fi
14         fi
15 @@ -2291,11 +2291,11 @@
16      if test "$no_x" = "yes" -o "$not_really_there" = "yes"; then
17         AC_MSG_CHECKING([for X11 header files])
18         found_xincludes="no"
19 -       AC_TRY_CPP([#include <X11/Intrinsic.h>], found_xincludes="yes", found_xincludes="no")
20 +       AC_TRY_CPP([#include <X11/Xlib.h>], found_xincludes="yes", found_xincludes="no")
21         if test "$found_xincludes" = "no"; then
22             dirs="/usr/unsupported/include /usr/local/include /usr/X386/include /usr/X11R6/include /usr/X11R5/include /usr/include/X11R5 /usr/include/X11R4 /usr/openwin/include /usr/X11/include /usr/sww/include"
23             for i in $dirs ; do
24 -               if test -r $i/X11/Intrinsic.h; then
25 +               if test -r $i/X11/Xlib.h; then
26                     AC_MSG_RESULT([$i])
27                     XINCLUDES=" -I$i"
28                     found_xincludes="yes"
This page took 0.050372 seconds and 3 git commands to generate.