On Fri, Feb 18, 2011 at 11:50:52AM -0500, Gaetan Nadon wrote: > Otherwise it fails to pickup X11/keysym.h and friends. > > Signed-off-by: Gaetan Nadon <[email protected]> > --- > > BTW, I needd to repost the doxygen patches, but this got in the way. > > tools/Makefile.am | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/tools/Makefile.am b/tools/Makefile.am > index a0cd127..44fb690 100644 > --- a/tools/Makefile.am > +++ b/tools/Makefile.am > @@ -29,7 +29,7 @@ if UNITTESTS > check_PROGRAMS = xsetwacom-test > xsetwacom_test_SOURCES=xsetwacom.c > xsetwacom_test_LDADD=$(GLIB_LIBS) > -xsetwacom_test_CFLAGS=-DBUILD_TEST $(GLIB_CFLAGS) > +xsetwacom_test_CFLAGS=-DBUILD_TEST $(GLIB_CFLAGS) $(X11_CFLAGS) > > TESTS=$(check_PROGRAMS) > endif > -- > 1.6.0.4
I'm curious why it works here. Shouldn't AM_CFLAGS apply to all programs or am I misunderstanding something here? Cheers, Peter ------------------------------------------------------------------------------ The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: Pinpoint memory and threading errors before they happen. Find and fix more than 250 security defects in the development cycle. Locate bottlenecks in serial and parallel code that limit performance. http://p.sf.net/sfu/intel-dev2devfeb _______________________________________________ Linuxwacom-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/linuxwacom-devel
