]>
Commit | Line | Data |
---|---|---|
ce8a4170 JB |
1 | * <linux/sisfb.h> and <linux/wm97xx.h> are no more, so update detection. |
2 | --- DirectFB-0.9.23/configure.in.orig 2005-10-23 09:12:13.613858000 +0200 | |
3 | +++ DirectFB-0.9.23/configure.in 2005-10-23 10:29:45.026736576 +0200 | |
4 | @@ -1027,7 +1027,14 @@ | |
5 | ||
6 | if test "$checkfor_sis315" = "yes"; then | |
7 | dnl Test for sis315 frame buffer support in the kernel | |
8 | - AC_CHECK_HEADER( [linux/sisfb.h], sis315=yes, sis315=no | |
9 | + AC_EGREP_CPP(yes, [ | |
10 | +#include <linux/fb.h> | |
11 | +#ifdef FB_ACCEL_SIS_GLAMOUR_2 | |
12 | + yes | |
13 | +#endif | |
14 | + ], | |
15 | + sis315=yes, | |
16 | + sis315=no | |
17 | AC_MSG_WARN([ | |
18 | *** SiS 315 gfxdriver will not be built.])) | |
19 | fi | |
20 | @@ -1280,8 +1287,7 @@ | |
21 | enable_wm97xx_ts=no | |
22 | if test "$checkfor_wm97xx" = "yes"; then | |
23 | dnl Test for WM97xx Touchscreen support | |
24 | - AC_CHECK_HEADER([linux/wm97xx.h], enable_wm97xx_ts=yes, enable_wm97xx_ts=no | |
25 | - AC_MSG_WARN([*** WM97XX Touchscreen driver will not be built.])) | |
26 | + enable_wm97xx_ts=yes | |
27 | fi | |
28 | ||
29 | dnl *** end of if $testlinux *** | |
30 | --- DirectFB-0.9.23/inputdrivers/wm97xx_ts/wm97xx_ts.c.orig 2005-01-10 21:35:35.000000000 +0100 | |
31 | +++ DirectFB-0.9.23/inputdrivers/wm97xx_ts/wm97xx_ts.c 2005-10-23 10:28:47.421493904 +0200 | |
32 | @@ -46,8 +46,6 @@ | |
33 | #include <fcntl.h> | |
34 | #include <sys/ioctl.h> | |
35 | ||
36 | -#include <linux/wm97xx.h> | |
37 | - | |
38 | #include <directfb.h> | |
39 | ||
40 | #include <core/coredefs.h> |