summaryrefslogtreecommitdiff
path: root/configure.ac
AgeCommit message (Collapse)Author
2012-07-26configure: Make the new XAA checks work, and other improvementsMart Raudsepp
commit 68646c31 added XAA checks were too early, when XORG_CFLAGS isn't declared yet, so it got never enabled. Move the block after xorg-server pkg-config checks, which declare XORG_CFLAGS. Change configure to fail if --enable-xaa is explicitly requested, but XAA headers are not found. Other tweaks for more autoconf-ism. Signed-off-by: Mart Raudsepp <leio@gentoo.org>
2012-07-26Allow building on Xservers without XAAMaarten Lankhorst
2011-12-26Geode 2.11.13xf86-video-geode-2.11.13Martin-Éric Racine
This release mainly features a complete overhaul of the building scripts plus a cleanup of deprecated macros. The key benefit is that this Geode driver can finally build on FreeBSD and on other platforms not offering V4L2 support and that it can also build on a 64-bit host using its 32-bit personality. Support for the Video Input Port (VIP) feature of the Geode LX found in 'ztv' is now documented and the source code saw the removal of deprecated Linux 2.4 backward compatibility code. Compiling is skipped on platforms without V4L2. Configuration for laptops featuring WXGA resolutions is finally documented. Setting the GEODE_TRACE_FALL macro now enables composite operation tracing on this driver. This can be used to profile the performance during development. Fixes to keep this driver compilable on recent X servers are also included. VALIDATION PLATFORMS * Debian/stable (X server 1.7.7) on Artec DBE61 and Hercules EC-800. * Ubuntu/Precise (X server 1.10.4) on FIC ION603A. Signed-off-by: Martin-Éric Racine <martin-eric.racine@iki.fi>
2011-11-21config: fix Autoconf warnings and improve commentsGaetan Nadon
These changes have been done in all other video drivers. Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2011-11-21config: The compiler version to use is now set in XORG_DEFAULT_OPTIONSGaetan Nadon
In this case "now" means a couple of years ago. All of Xorg is compiled with AC_PROG_CC_C99. It shows up in config.log as CC='gcc -std=gnu99'. The removed statement was resetting the compiler to C89 as it comes after XORG_DEFAULT_OPTIONS. Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2011-11-21config: remove a few dead/obsolete lines of codeGaetan Nadon
HAVE_XEXTPROTO_71 not used in Makefile. AC_HEADER_STD is very obsolete. AC_SUBST([XORG_CFLAGS]) is redundant. DRIVER_NAME is correctly no longer used. AC_SUBST([moduledir]) has just been moved up. Any erroneously removed statements above would result in a configuration failure. Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2011-11-21Move back ztv with geode driverGaetan Nadon
Now we have a clean separation between CPP flags and C Flags Only the C Flags apply to both geode and ztv driver, however it is not worth doing a per target compilation. Should some flags become mutually exclusive and if we want to have both target in the same makefile, add the incompatible flag on the appropriate target, example: geode_drv_la_CFLAGS = $(AM_CFLAGS) -newCFlag and/or geode_drv_la_CPPFLAGS = $(AM_CPPFLAGS) -newCPPFlag Note that both AM_CFLAGS and AM_CPPFLAGS are picked-up by both geode and ztv driver target. Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2011-11-21Separate compiler from pre-processor optionsGaetan Nadon
Clean-up what goes in AM_CFLAGS and AM_CPPFLAGS Use more descriptive names such that comments are not needed. Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2011-11-21Detect 32bit support on 64bit OS and compile with -m32 if foundGaetan Nadon
For gcc compiler only at the moment. The configuration reports if support is found or not, e.g.: checking if gcc supports the -m32 Intel/AMD option... yes The configuration C test relies on #include unistd.h which includes features.h which includes gnu/stubs.h which includes gnu/stubs-32.h which is missing on 64 bit system without the 32 bit library support. Tested on x86_64 AMD64 CPU with/without libc6-dev-i386 which provides 32 bit support. Remains to be tested on Geode and FreeBSD 32/64 bit. The configuration does not attempt to decide if building should proceed or be aborted. If no 32 bit support then the build will die in the assembly code as it always did before. The variable M32_CFLAGS provides the flag for the makefiles. The variable names and organization is subject to change. Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2011-11-21Remove unused and misleading I386ARCH configuration codeGaetan Nadon
The AM_CONDITIONAL I386ARCH is not used. The AC_CHECK_DECLS is misleading as it suggests there could be some i*86 system with a 64 bit architecture which is incorrect. It also provides false results on 64 bit computer. The generated HAVE_DECL_XXX are not used anyway. Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2011-11-21Remove duplicate warning variable and werror optionGaetan Nadon
Use already existing: --enable-strict-compilation Enable all warnings from compiler and make them errors (default: disabled) which, byt the way was broken as it was not implemented in geode. Use already existing CWARNINGFLAGS variable, so there is no need to define GCC_WARNINGS. Both come from util-macros version 1.4 or later. http://cgit.freedesktop.org/xorg/util/macros/tree/xorg-macros.m4.in ?id=03b04a6b5d61aafbd2705f7d29e58e0c92553a4a If you configure with a later version of util-macros you may see new warnings appear as additional flags have been added over the years. You get better support for platforms/compiler differences. Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2011-11-21Remove unrequired .s assembly files automake supportGaetan Nadon
Only the suffixes .s, .S, and .sx are recognized by automake as being files containing assembly code. http://www.gnu.org/software/automake/manual/automake.html#Assembly-Support Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2011-11-21Remove broken duplicate visibility configure optionGaetan Nadon
This was added by commit f762b456 in 2007 and has been since implemented in the server which returns it in XORG_CFLAGS pkg-config --cflags xorg-server The server also takes care of platforms and compilers being used. Currently the visibility is set twice and even if you disable it, it is still passed through XORG_CFLAGS. Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2011-11-21Add a configure option to enable/disable building the ztv driverGaetan Nadon
Even when V4L2 is available there are always reasons why distros may not want to build the driver. This patch uses a common idiom in xorg. When no configure option is specified ztv is built iff v4l2 is detected (auto). When user issues --disable-ztv, the ztv driver is not built (no) When user issues --enable-ztv, the ztv driver is built (yes) if v4l2 is detected but the configuration fails if v4l2 is missing. Distros do not want silent failures when a feature is explicitly requested but cannot be built. Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2011-11-21Add conditional build for ztvGaetan Nadon
Detect the presence of Video4Linux V2 and do not build if missing. The geode driver is no longer Linux only. Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2011-11-21Move ztv driver to it's own directoryGaetan Nadon
The convention is to have the video driver (geode) in the src subdir and any other targets (utils, apps, other drivers) in their own directory. It makes it much simpler to right a correct makefile and to set conditional compile. This highlighted a few things to fix. For now, the directory includes have not been copied as they are required. The AM_CCASFLAGS is not required either as there is no assembler. Other than that, the gcc command issued has no differences. Other unrequired defines could be removed later. Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2011-11-14Revert "Only enable z4l.c on Linux" until we have a consensus.Martin-Éric Racine
2011-11-13Whitespace cleanup.Martin-Éric Racine
2011-11-13Only enable z4l.c on Linux.Martin-Éric Racine
2011-02-13Geode 2.11.12xf86-video-geode-2.11.12Martin-Éric Racine
2010-12-27Geode 2.11.11xf86-video-geode-2.11.11Martin-Éric Racine
2010-11-09Geode 2.11.10xf86-video-geode-2.11.10Martin-Éric Racine
2010-08-23Geode 2.11.9xf86-video-geode-2.11.9Martin-Éric Racine
We are pleased to announce this maintenance release of xf86-video-geode. It features a plethora of bug fixes, a few documentation updates and one performance enhancement. This release also marks the return of AMD to the development team. Please read the content of NEWS for more details.
2010-06-23Added square braces to all AC_INIT elements.Martin-Éric Racine
2010-04-15Geode 2.11.8xf86-video-geode-2.11.8Martin-Éric Racine
2010-02-11Bump the minimal autoconf version to 2.59.Martin-Éric Racine
2010-02-11Bump the minimal xutils macro version to 1.4, as agreed with Gaetan Nadon.Martin-Éric Racine
2010-02-08Get rid of unused XFreeXDGA extension.Martin-Éric Racine
2010-02-03Geode 2.11.7xf86-video-geode-2.11.7Martin-Éric Racine
2009-12-30configure.ac: remove unused sdkdir=$(pkg-config...) statementGaetan Nadon
The sdkdir variable isn't use, so remove the statement. Acked-by: Dan Nicholson <dbn.lists@gmail.com> Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2009-10-28INSTALL, NEWS, README or AUTHORS files are missing/incorrect #24206Gaetan Nadon
Add missing INSTALL file. Use standard GNU file on building tarball README may have been updated Remove AUTHORS file as it is empty and no content available yet. Remove NEWS file as it is empty and no content available yet.
2009-10-26Several driver modules do not have a ChangeLog target in Makefile.am #23814Gaetan Nadon
The git generated ChangeLog replaces the hand written one. Update configure.ac to xorg-macros level 1.3. Use XORG_DEFAULT_OPTIONS which replaces four XORG_* macros Update Makefile.am to add ChangeLog target if missing Remove ChangeLog from EXTRA_DIST or *CLEAN variables This is a pre-req for the INSTALL_CMD
2009-09-27Geode 2.11.6xf86-video-geode-2.11.6Martin-Éric Racine
2009-09-22Geode 2.11.5xf86-video-geode-2.11.5Martin-Éric Racine
2009-08-31Release 2.11.4.1.xf86-video-geode-2.11.4.1Martin-Éric Racine
2009-08-28Release 2.11.4.xf86-video-geode-2.11.4Martin-Éric Racine
2009-07-16Use XORG_CHANGELOG macro to create ChangeLog. #22611Gaetan Nadon
Adding the macro in configure.ac and use it in Makefile.am Refer to: https://bugs.freedesktop.org/show_bug.cgi?id=22611 Global maintenance on all modules Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-07-16Update to xextproto 7.1 support.Peter Hutterer
DPMS header was split into dpms.h (client) and dpmsconst.h (server). Drivers need to include dpmsconst.h if xextproto 7.1 is available. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-06-19Release 2.11.3.xf86-video-geode-2.11.3Chris Ball
Signed-off-by: Chris Ball <cjb@laptop.org>
2009-05-12Release 2.11.2.xf86-video-geode-2.11.2Chris Ball
Signed-off-by: Chris Ball <cjb@laptop.org>
2009-02-27Revert EXA 3 build fix.Chris Ball
The EXA developers have backed out the ABI bump to version 3. Signed-off-by: Chris Ball <cjb@laptop.org>
2009-02-24configure: use AC_DEFINE instead of shell substitutionChris Ball
(This is just cosmetic.) Signed-off-by: Chris Ball <cjb@laptop.org>
2009-02-24Build fix: set EXA_DRIVER_KNOWN_MAJOR=3.Chris Ball
We don't use {Prepare,Finish}Access, and: /home/cjb/xorg-build/include/xorg/exa.h:45:2: error: #error Make sure this EXA driver either does not have Prepare/FinishAccess hooks or that they can handle EXA_PREPARE_AUX*, and #define EXA_DRIVER_KNOWN_MAJOR 3 before including exa.h Signed-off-by: Chris Ball <cjb@laptop.org>
2009-02-16Release 2.11.1.xf86-video-geode-2.11.1Chris Ball
Signed-off-by: Chris Ball <cjb@laptop.org>
2008-12-092.11.0 releasexf86-video-geode-2.11.0Jordan Crouse
2008-11-18LX: Make the version in configure.ac reflect the upcoming releaseJordan Crouse
2008-08-15Bump to version 2.10.1 and release.xf86-video-geode-2.10.1Martin-Éric Racine
2008-06-13Bump to version 2.10.0xf86-video-geode-2.10.0Jordan Crouse
2008-05-07Making libDDC support the 2.9.0 release.xf86-video-geode-2.9.0Martin-Éric Racine
2008-04-01geode: Bump to new version and replace two instances of the old amd namexf86-video-geode-2.8.0Jordan Crouse