summaryrefslogtreecommitdiff
path: root/configure.ac
AgeCommit message (Collapse)Author
2011-07-11Add distcheck support for header files when sdk is not writableGaetan Nadon
During distcheck, a writable location is supplied for the install test. Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2011-07-05Revert "build: collapse all Makefile.am files into a single non-recursive one."Gaetan Nadon
This reverts commit 39afe69ad7d2258d4043044d1283bd6e311e48da. 1. For such a small module, the build time improvement is most likely negligible. At least, I'd like to see some timings proving it's worthiness before seeing the patch go back in. 2. This kind of change would need a thorough review. The need to operate the build from a single toplevel Makefile is a significant change. The two most noticeable issues for me are that collapsing all the Makefiles could easily cause namespacing issues with the variables, and operating on files outside the current directory can introduce subtle bugs. I feel that the non-recursive style is generally less robust than the standard recursive make scheme. 3. It's unlike all the other X.org modules. This isn't a showstopper for me, but the recursive style is well understood here and you've beaten all the modules into a consistent format that makes build bugs unique to specific modules less likely. Acked-by: Dan Nicholson <dbn.lists@gmail.com> To give a concrete example for #3 above, the 175 man pages are much easier maintained using a very similar makefile in the man directory of all X.Org module. The cost of maintaining a single makefile is much higher. Every target in the makefile has to be reviewed and tested when changes are made. Not everyone has the all the skills to handle widely different targets such as man pages, DocBook/XML, librairies, C code, distribution hooks, and so on. Acked-by: Daniel Stone <daniel@fooishbar.org> Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2011-07-05Revert "build: create object files following the sources' structure."Gaetan Nadon
This reverts commit dac624ad2b3a67ab93c11d8ee0a91b217fc1afe6. Acked-by: Daniel Stone <daniel@fooishbar.org> Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2011-07-05Revert "build: apply the distcheck tricks used in xf86-input-evdev"Gaetan Nadon
This reverts commit 6eb829e07e455a8a04dabae7f257dd42a9b8bcdf. Althought this feature is desirable, it introduces a dormant bug. The value of sdkdir during distcheck points to an empty xserver sdkdir where xserver-properties.h is expected by the tools. Specifying XORG_CFLAGS for the tools worked around the issue by supplying the real path to the xserver sdk. tools must not depend on xserver. In any case it would be a brittle workaround. --with-xorg-conf-dir='$${sysconfdir}/xorg': althought this value will work, it brings some confusion as it is unrelated to the where the configuration files are normally placed, relative to $prefix which is /usr/share/X11 and not /etc. This feature can be reintroduced later with the proper solution. Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2011-05-26build: apply the distcheck tricks used in xf86-input-evdevDiego Elio Pettenò
With this change it is possible to complete "make distcheck" safely on the module, as it no longer tries to write to system directories. Since synaptics also installs a configuration file, xorg-conf-dir also needs to be overridden during distcheck. Signed-off-by: Diego Elio Pettenò <flameeyes@gmail.com> Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2011-05-26build: create object files following the sources' structure.Diego Elio Pettenò
This allows building object files following the same subdirectory structure as it was used before with the recursive build system, while keeping the build non-recursive. Signed-off-by: Diego Elio Pettenò <flameeyes@gmail.com> Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2011-05-15build: collapse all Makefile.am files into a single non-recursive one.Diego Elio Pettenò
With this change, the whole of the build is done non-recursively in the top-level Makefile.am. This reduces the amount of overhead due to recursing into directories only to build one file. Signed-off-by: Diego Elio Pettenò <flameeyes@gmail.com> Signed-off-by: Christoph Brill <egore911@egore911.de>
2011-05-15build: report a fatal error if XORG_DRIVER_CHECK_EXT is undefined.Diego Elio Pettenò
Just to give a bit of an idea of what the problem is when configure fails later on. Signed-off-by: Diego Elio Pettenò <flameeyes@gmail.com> Signed-off-by: Christoph Brill <egore911@egore911.de>
2011-04-04Add basic framework for unit-testing.Peter Hutterer
Also adds a bunch of fake symbols so we can link. Note that any of these symbols will return false, 0 or whatever the zero value for the symbol is. Care must be taken when writing test that this doesn't screw up the test. Tests are always built but only run on make check. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2011-04-04Require macros 1.13 for unit testingPeter Hutterer
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by: Gaetan Nadon <memsize@videotron.ca>
2011-03-21Bump to 1.4.99Peter Hutterer
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2011-03-04Merge branch 'next'Peter Hutterer
2011-03-04synaptics 1.4.0xf86-input-synaptics-1.4.0Peter Hutterer
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2011-03-01Now ps2comm and alpscomm backend optionalAlexandr Shadchin
Signed-off-by: Alexandr Shadchin <Alexandr.Shadchin@gmail.com> Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net> Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2011-02-21synaptics 1.3.99.901xf86-input-synaptics-1.3.99.901Peter Hutterer
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2010-09-01Bump to 1.3.99Peter Hutterer
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2010-09-01synaptics 1.3.0xf86-input-synaptics-1.3.0Peter Hutterer
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2010-08-23synaptics 1.2.99.901xf86-input-synaptics-1.2.99.901Peter Hutterer
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2010-06-17Bump to 1.2.99.1.xf86-input-synaptics-1.2.99.1Peter Hutterer
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2010-06-17Merge branch 'master' of ↵Peter Hutterer
git+ssh://git.freedesktop.org/git/xorg/driver/xf86-input-synaptics
2010-06-17Require server 1.6 or later.Peter Hutterer
Remove ifdef's for server ABIs up to including server 1.5. Driver still supports 1.6, 1.7, 1.8 and the upcoming 1.9. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2010-06-16config: add comment regarding MAN_SUBSTS variable usageGaetan Nadon
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2010-05-31config: synaptics depends on RANDR through xf86.hGaetan Nadon
The xf86.h file contains external declarations specific to RANDR If this extension is defined (installed) synaptics will not compile if randrproto is not installed. Because this is an optional extension, XORG_DRIVER_CHECK_EXT must be used. Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
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: use AC_PROG_INSTALL now supplied by XORG_DEFAULT_OPTIONSGaetan Nadon
It depends on util-macros 1.8 The existing statement can now be removed from the configuration file. Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2010-05-31config: upgrade to util-macros 1.8 for additional man page supportGaetan Nadon
Use MAN_SUBST now supplied in XORG_MANPAGE_SECTIONS The value of MAN_SUBST is the same for all X.Org packages. Use AC_PROG_SED now supplied by XORG_DEFAULT_OPTIONS The existing statement can now be removed from the configuration file. 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: use automake "dir" pattern for simplificationGaetan Nadon
configdir is where the config file is installed config_DATA is the filename Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2010-05-31config: close a loophole where user input means x server has a featureGaetan Nadon
If a user provides a path in --with-xorg-conf-dir, the configuartion assumes the server does have a config path which may not be the case. Resolve this by testing the value of the server returned sysconfigdir rather than the user provided value. 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: Upgrade X.Org macros to 1.4 for INSTALL file copyingGaetan Nadon
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2010-05-31config: remove AC_PROG_CC as it overrides AC_PROG_C_C99Gaetan Nadon
XORG_STRICT_OPTION from XORG_DEFAULT_OPTIONS calls AC_PROG_C_C99. This sets gcc with -std=gnu99. If AC_PROG_CC macro is called afterwards, it resets CC to gcc. Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2010-05-31config: remove unrequired AC_HEADER_STDCGaetan Nadon
Autoconf says: "This macro is obsolescent, as current systems have conforming header files. New programs need not use this macro". Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2010-05-31config: replace deprecated AM_CONFIG_HEADER with AC_CONFIG_HEADERSGaetan Nadon
Regroup AC statements at the top. Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2010-05-31config: update AC_PREREQ statement to 2.60Gaetan Nadon
Unrelated to the previous patches, the new value simply reflects the reality that the minimum level for autoconf to configure all x.org modules is 2.60 dated June 2006. ftp://ftp.gnu.org/gnu/autoconf/autoconf-2.60.tar.gz Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2010-05-31config: regroup macros and variables in the backend checkingGaetan Nadon
It saves a few lines. No functional changes. The same cannot be done for AM_CONDITIONAL: "If AM_CONDITIONAL is run conditionally (e.g., in a shell if statement), then the result will confuse automake". 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-25Bump to 1.2.99Peter Hutterer
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2010-04-16Add 50-synaptics.conf snippet.Peter Hutterer
If the server exports the sysconfigdir variable, install the 50-synaptics.conf snippet in the directory provided. This patch also moves the fdi file from fdi/ into the new conf/ subdir to have a single location for all config files. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by: Dan Nicholson <dbn.lists@gmail.com>
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>
2010-01-11synaptics: don't link the tools against `pkg-config --libs xorg-server`Julien Cristau
Separate the checks for xserver 1.6 and for libXi in configure, so we can link the tools against libXi but not pixman and pciaccess. 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-12-28configure.ac: use backticks rather than $() for cmd subsGaetan Nadon
Use "$PKG_CONFIG" rather than hard coded "pkg-config" Acked-by: Dan Nicholson <dbn.lists@gmail.com> Acked-by: Daniel Stone <daniel@fooishbar.org> Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2009-11-10INSTALL files are missing/incorrect #24206Gaetan Nadon
Add missing INSTALL file. Use standard GNU file on building tarball
2009-11-05Clean up debugging system, allow for --enable-debugPeter Hutterer
Add --enable-debug to list of configure options. Clean up the DBG macro to use xf86MsgVerb and supply the verbosity. Don't use ErrorF from the driver, use xf86Msg instead. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Acked-by: Adam Jackson <ajax@redhat.com>
2009-10-08synaptics 1.2.0xf86-input-synaptics-1.2.0Peter Hutterer
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-09-12Revert "Add support for reducing the build process output by using shave"Christoph Brill
This reverts commit 583678b8fe540d9a4120e6c93115b4a141888a2e. Peter Hutterer informed me that util-macros 1.3.0 already provide the same functionality when using automake 1.11. Conflicts: configure.ac
2009-09-11Require macros 1.3 for XORG_DEFAULT_OPTIONSPeter Hutterer
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-09-09Add support for reducing the build process output by using shaveChristoph Brill
This adds suport for shave (git://git.lespiau.name/shave) which is capable of reducing the amount of unintresting output from autotools builds. It was copied over from xf86-video-ati and updated to latest git of shave. It is still possible to get the usual output by using "make V=1".
2009-09-07synaptics 1.1.99.1.xf86-input-synaptics-1.1.99.1Peter Hutterer
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>