[PATCH input-synaptics] tools: add the main include directory

Julien Cristau jcristau at debian.org
Wed Feb 10 14:21:38 PST 2010


On Wed, Feb 10, 2010 at 12:59:40 -0500, Gaetan Nadon wrote:

> Header record.h is not found in X11/extensions because -I leading
> to that directory is missing. I think it was accidently removed
> when fixing the CFLAGS misuse in an earlier commit.
> 
> Signed-off-by: Gaetan Nadon <memsize at videotron.ca>
> ---
>  tools/Makefile.am |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/tools/Makefile.am b/tools/Makefile.am
> index 75d22c9..9c9f03c 100644
> --- a/tools/Makefile.am
> +++ b/tools/Makefile.am
> @@ -23,7 +23,7 @@ bin_PROGRAMS = \
>  	synclient \
>  	syndaemon
>  
> -INCLUDES=-I$(top_srcdir)/include/ -I$(sdkdir)
> +AM_CFLAGS = $(XORG_CFLAGS)
>  
>  synclient_SOURCES = synclient.c
>  synclient_LDFLAGS = -lm $(XI_LIBS)

So I don't understand this patch.  What's needed here is XTST_1_1_CFLAGS
or RECORDPROTO_1_13_CFLAGS, not XORG_CFLAGS, which is for the driver.

Cheers,
Julien


More information about the xorg-devel mailing list