summaryrefslogtreecommitdiff
path: root/tools/Makefile.am
AgeCommit message (Collapse)Author
2010-05-31config: add AC_CHECK_LIB for math library functionsGaetan Nadon
It ensures library is installed and sets LIBS = -lm Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2010-05-31config: unconditionaly build synclient and syndaemon appsGaetan Nadon
The current conditional building of the apps was introduced by commit 080caee95c46bb471d1442dcab246460cad8c7be due to optional support properties. This is no longer an issue. There are no longer any reason not to build these bona fide apps. Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2010-05-31config: fix warnings, m4 quoting and layoutGaetan Nadon
Fix some m4 quoting Fix some autoconf warnings Regroup statements per section Add comments Regroup xtst and recordproto (a prereq) flags together Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2010-05-31config: rework the synclient and syndaemon dependenciesGaetan Nadon
The driver does not require inputproto package The hunting for record.h is done only if libXtst is installed AC_CHECK_HEADERS is used rather than checking for package versions HAVE_PROPERTIES is no longer required Normal config output: checking for XI... yes checking for XTST... yes checking for X11/extensions/record.h... yes Permutations of --enable-tools and dependencies: build_tools libXi installed Result ----------- --------------- --------- yes yes build tools auto yes build tools no yes skip build yes no abort configuration auto no warn and skip build no no warn and skip build Permutations of libXtst, record.h and recordproto libXtst record.h recordproto syndaemon installed installed installed using XRecord? yes yes yes yes yes no yes no no no yes no no yes yes no no no no no Other scenarios are possible where you have 2 different versions of record.h installed in different $prefix locations. The order of *_CFLAGS will determine which one gets picked first. Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2010-05-20Building syndaemon and synclient needs $(XI_CFLAGS) and $(AM_CFLAGS)Gabor Z. Papp
Reported-by: Gabor Z. Papp <gzp@papp.hu> Signed-off-by: Gabor Z. Papp <gzp@papp.hu> Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2010-02-15tools: use more appropriate CFLAGSGaetan Nadon
-I$(top_srcdir)/include: required for synaptics.h and synaptics-properties.h. The module has not yet been installed so there is no copy in server sdkdir (unless old copy) $(XTST_1_1_CFLAGS): required if record.h is provided by libXtst in $(includedir)/X11/extensions. $(RECORDPROTO_1_13_CFLAGS): required if record.h is provided by recordproto in $(includedir)/X11/extensions. -I$(sdkdir): required for xserver-properties.h Signed-off-by: Gaetan Nadon <memsize@videotron.ca> Acked-by: Julien Cristau <jcristau@debian.org> Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2010-02-10tools: add the main include directoryGaetan Nadon
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. Reviewed-by: Dan Nicholson <dbn.lists@gmail.com> Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2010-01-11configure: don't clobber CFLAGSJulien Cristau
CFLAGS is a user variable. Signed-off-by: Julien Cristau <jcristau@debian.org> Reviewed-by: Dan Nicholson <dbn.lists@gmail.com> Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-10-08Require recordproto 1.13 or libXtst 1.1 for record support.Peter Hutterer
The record.h header used to be in recordproto up to excluding 1.14, then moved to libXtst. Check for both and enable it dependent on which version we have. This avoids build errors on setups where a user updated recordproto but not libXtst. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by: Xavier Chantry <shiningxc@gmail.com>
2009-04-26Only build synclient/syndaemon if property support is available.Peter Hutterer
Separate dependencies for driver and synclient/syndaemon. Add option --enable-tools to explicitly build the tools (default: auto) Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-03-04syndaemon: needs XI_LIBS to link now.Peter Hutterer
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-02-26synclient: add support for device properties.Peter Hutterer
By default, use the properties unless the -s flag is given. For -m and -h imply SHM though. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Signed-off-by: Christoph Brill <egore911@egore911.de>
2009-01-12use Xrecord extension for event triggered key event notificationAndre Herms
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Signed-off-by: Christoph Brill <egore911@egore911.de> Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
2008-10-30Revert "[syndaemon] use Xrecord extension in syndaemon to avoid polling."Christoph Brill
This reverts commit 641b26da531b38313ecc68badac1a3ccfd6fc7af. As requested by Peter Hutterer and Henrik Rydberg.
2008-10-16[syndaemon] use Xrecord extension in syndaemon to avoid polling.Andre Herms
This patch prevents the polling of the keyboard state. Instead it uses the XRecord extension of the Xserver for an event triggered notification of key events. Of course, there is a fallback to the polling when no XRecord extension is found. This should finally stop complains of syndaemon preventing good power saving. Signed-off-by: Christoph Brill <egore911@egore911.de>
2008-08-08Move synaptics.h into include/, create synapticsstr.h for private structs.Peter Hutterer
This just separates driver-internal stuff (synapticsstr.h) from external stuff used for the SHM config.
2008-07-23Pull in libX11 through PKG_CHECK_MODULES for syndaemon.Peter Hutterer
2008-07-23Move synclient and syndaemon into a /tools/ directory.Peter Hutterer
Let's keep the driver source and the client program source separate.