summaryrefslogtreecommitdiff
path: root/configure.ac
AgeCommit message (Collapse)Author
2011-03-16Enable conditional compilation of assertsChris Wilson
With '--disable-debug' we define NDEBUG and so disable the asserts, that is we continue to default to compiling asserts into the code. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> (cherry picked from commit 8bd6a7149fcb5f9ed6580dc2aa0180874938a1ea) Signed-off-by: Owain G. Ainsworth <oga@openbsd.org>
2011-03-16Xv: fragments for xv on Sandybridge.Xiang, Haihao
Need to update intel-gen4asm to build these fragments Signed--off-by: Xiang, Haihao <haihao.xiang@intel.com> (cherry picked from commit 9e4dd27aa848acae1b74b77bbbc0a5bb9f6a502a) Signed-off-by: Owain G. Ainsworth <oga@openbsd.org>
2010-09-12simplify Makefile as per-target compilation flags are not neededGaetan Nadon
Per-target compilation flags (libIntelXvMC_la_CFLAGS) are required when multiple targets which require different compiler flags, are build in the same makefile. Automake issues a command with -c and -o flags which not all compilers support. The object fles are prefixed with libIntelXvMC_la. The macro AM_PROG_CC_C_O must then be used to provide this feature on compilers that do not have it. If not, a warning is issued at make time. This macros checks for compiler support and if missing, uses a "compile" script it generates in the package root directory. Currently the driver uses per-target flags but the macro is missing. Rather than adding the macro, this patch stops using per-target flags by using the AM_CFLAGS variable for all targets in the makefile, as there is only one. Acked-by: Chris Wilson <chris@chris-wilson.co.uk> Signed-off-by: Gaetan Nadon <memsize@videotron.ca> (cherry picked from commit 68df6b2790891683ee2e58daaad34ef17ae344f5) Signed-off-by: Owain G. Ainsworth <oga@openbsd.org>
2010-09-12config: add comments for main statementsOwain G. Ainsworth
(cherry picked from commit 0ae30b6d1f4f6c2f2db9443f1027ea41849ad087) Conflicts: configure.ac
2010-09-12config: replace deprecated use of AC_OUTPUT with AC_CONFIG_FILESOwain G. Ainsworth
Signed-off-by: Gaetan Nadon <memsize@videotron.ca> (cherry picked from commit b12b2219677d94933774955b50545efceff57279) Conflicts: configure.ac
2010-09-12config: replace deprecated AC_HELP_STRING with AS_HELP_STRINGGaetan Nadon
Signed-off-by: Gaetan Nadon <memsize@videotron.ca> (cherry picked from commit 8b2d65da41461735b1138fdd6e0efc96419cd815) Signed-off-by: Owain G. Ainsworth <oga@openbsd.org>
2010-09-12config: complete AC_INIT m4 quotingOwain G. Ainsworth
Signed-off-by: Gaetan Nadon <memsize@videotron.ca> (cherry picked from commit 74a828e286c46473b8edf6de32c1989c052dd82c) Conflicts: configure.ac
2010-09-12config: remove unrequired AC_SUBST([DRI_CFLAGS])Gaetan Nadon
This macro is called by PKG_CHECK_MODULES Signed-off-by: Gaetan Nadon <memsize@videotron.ca> (cherry picked from commit 33ec66d7006e2a7e287fd77c53a31db49220591a) Signed-off-by: Owain G. Ainsworth <oga@openbsd.org>
2010-09-12config: remove unrequired AC_HEADER_STDCOwain G. Ainsworth
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> (cherry picked from commit b20b8ac937505310fbe68f07e42cafe4ba88da76) Conflicts: configure.ac
2010-09-12config: 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> (cherry picked from commit 9fe5169fffeee10b1262f160a15c11c283e2faa7) Signed-off-by: Owain G. Ainsworth <oga@openbsd.org>
2010-09-12config: 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. (cherry picked from commit 2d85efaa36791bd441f069b612ee86387353d1ed) Signed-off-by: Owain G. Ainsworth <oga@openbsd.org>
2010-09-12oops! actually add the i810 directory from when they were split out.Owain G. Ainsworth
shocked it took me this long to realise
2010-09-11i810: Move into a legacy directory.Owain G. Ainsworth
The driver is still built but is no longer under active development so move it and supporting files to a new directory. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> (cherry picked from commit 797d173a9af12055ba2609293182b616dd673ef4) Conflicts: configure.ac src/Makefile.am src/common.h src/i830.h src/i830_accel.c src/i830_batchbuffer.c src/i830_driver.c src/legacy/i810/i810_driver.c OGA: had to make abunch of changes due to ums still existing, but this was more sensible that having to modify every single cherry-picked patch from now on.
2010-09-11configure: Remove check for unused function, mprotectChris Wilson
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> (cherry picked from commit 2306e675c48bc00a8ca1f4545bb88c97d6ef4fa6) Signed-off-by: Owain G. Ainsworth <oga@openbsd.org>
2010-09-11configure: Remove unused checks for xextChris Wilson
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> (cherry picked from commit 6695296ca28da7c4f551b0e80a8d06b557d59a5e) Signed-off-by: Owain G. Ainsworth <oga@openbsd.org>
2010-09-11Remove unused configure option: --enable-video-debugChris Wilson
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> (cherry picked from commit cd61531a78b9a2cbdd6019199c43258f83e6e2ce) Signed-off-by: Owain G. Ainsworth <oga@openbsd.org>
2010-05-16XVMC: Use XCB DRI2 instead of cargo-culting our own copy of Xlib stuff. (v2)Eric Anholt
v2: Incorporate comments from Jamey on device name handling and extension detection. (cherry picked from commit 3e8f2eae3a586aa29be4858698e666e0ec778cea) Signed-off-by: Owain G. Ainsworth <oga@openbsd.org>
2010-04-11Don't check for Xinerama.Matt Turner
It doesn't seem to be used anywhere, so don't require it. CC: Eric Anholt <eric@anholt.net> CC: Jesse Barnes <jbarnes@virtuousgeek.org> Signed-off-by: Matt Turner <mattst88@gmail.com> (cherry picked from commit 06b54e089eb21736e6d4f6462bbfca987be0c5cc) Signed-off-by: Owain G. Ainsworth <oga@openbsd.org>
2010-03-01INSTALL, 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. (cherry picked from commit 12c4a22dd0b4de92a9c3d9e0baab029292f118f0) Signed-off-by: Owain G. Ainsworth <oga@openbsd.org>
2010-03-01Several 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 (cherry picked from commit ad4030932490f848c8ac21ba5a7a8d734994ed15) Signed-off-by: Owain G. Ainsworth <oga@openbsd.org>
2010-03-01Revert "configure: make --disable-dri work even if the server supports DRI"Eric Anholt
This reverts commit a851139c2141f6da370186148f2836e18b2acf83. It broke the build, and I don't see why we should be supporting this anyway. Conflicts: configure.ac src/Makefile.am (cherry picked from commit dbb68168dc909ab2ec1d935322c3fd8581e666f1) Signed-off-by: Owain G. Ainsworth <oga@openbsd.org>
2010-03-01Replace dolt and shave with relying on current autotools.Eric Anholt
(cherry picked from commit 1556c62e0336ea2fef866722ee44d2d188e318f3) Signed-off-by: Owain G. Ainsworth <oga@openbsd.org>
2010-03-01configure: drop some more cruftRémi Cardona
DEBUGFLAGS wasn't used anywhere and the configure switch is useless. "CFLAGS=-g ./configure" does the same thing and actually works. PKG_CHECK_MODULES already calls AC_SUBST, no need to do it twice. Signed-off-by: Rémi Cardona <remi@gentoo.org> Acked-by: Chris Wilson <chris@chris-wilson.co.uk> (cherry picked from commit cbcfb711747e3637f20145aed00ac3d6256d0d1d) Signed-off-by: Owain G. Ainsworth <oga@openbsd.org>
2010-03-01configure: use CWARNFLAGS from xorg-macros.m4Rémi Cardona
Signed-off-by: Rémi Cardona <remi@gentoo.org> Acked-by: Chris Wilson <chris@chris-wilson.co.uk> (cherry picked from commit 3c0a43b24cc7540cc139beca0ec2e4c202ff5593) Signed-off-by: Owain G. Ainsworth <oga@openbsd.org>
2010-03-01configure: make --disable-dri work even if the server supports DRIRémi Cardona
XF86DRI is defined by the SDK so not defining it here just breaks the build. Define HAVE_DRI instead to avoid collisions. Note: DRI2 is still enabled/disabled entirely by SDK defines. Signed-off-by: Rémi Cardona <remi@gentoo.org> Acked-by: Chris Wilson <chris@chris-wilson.co.uk> (cherry picked from commit a851139c2141f6da370186148f2836e18b2acf83) Signed-off-by: Owain G. Ainsworth <oga@openbsd.org>
2010-03-01configure: check for libdrm and libpciaccess earlierRémi Cardona
Signed-off-by: Rémi Cardona <remi@gentoo.org> Acked-by: Chris Wilson <chris@chris-wilson.co.uk> (cherry picked from commit 0401a4c3143c5b94875cb4c66c94a0d247c32da5) Signed-off-by: Owain G. Ainsworth <oga@openbsd.org>
2010-03-01configure: group system header checks at the topRémi Cardona
Signed-off-by: Rémi Cardona <remi@gentoo.org> Acked-by: Chris Wilson <chris@chris-wilson.co.uk> (cherry picked from commit 07e0b2cff6107d6c86096c7da4e31b0c976794d5) Signed-off-by: Owain G. Ainsworth <oga@openbsd.org>
2009-10-26Update version to 2.9.12.9.1Carl Worth
2009-09-28Increment version to 2.9.02.9.0Carl Worth
And add a reminder to RELEASING that the incremented version number needs to be committed, (since I forgot to do this with 2.8.99.902).
2009-09-22Increment version to 2.8.99.902Carl Worth
2009-09-09Update version to 2.8.99.901 for snapshot.2.8.99.901Carl Worth
2009-08-25Add KMS only build flagJesse Barnes
Rather than refactoring all our init code only to have it go away when we remove UMS, this patch adds a build time flag to allow the driver to assume KMS support. With this flag active, the driver will not request that I/O or MEM be enabled at probe time, which can allow the server (if other drivers also cooperate) to run as a non-root user. Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
2009-07-24Check the version of intel-gen4asm tool in configure.acXiang, Haihao
2009-07-20Merge branch '2.8'Carl Worth
2009-07-20Increment version number to 2.8.0 for release.2.8.0Carl Worth
2009-07-18Update 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. SHM is now shm.h instead of shmstr. Requires definition of ShmFuncs that's not exported by the server. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-07-13Increment version to 2.7.99.9022.7.99.902Carl Worth
2009-06-30Add new compiled shader program for IGDNGZhenyu Wang
Also check intel-gen4asm tool here for new -g option, which is required to compile new programs. Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
2009-06-30Move shader programs under its own subdirectoryZhenyu Wang
Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
2009-06-11Fix xvmc buildJulien Cristau
If we don't find xext.pc, disable xvmc instead of failing configure Also add dependencies on xfixes and dri2proto (src/xvmc/dri2.h includes <X11/extensions/Xfixes.h> and <X11/extensions/dri2tokens.h>).
2009-06-10Increment version to 2.7.99.9012.7.99.901Carl Worth
This is the first release candidate for 2.8.0
2009-05-18 DRI2 for XvMCXiang Hai hao
2009-05-18Merge branch 'master' into xvmc-vldZou Nan hai
2009-05-15Add --enable-debug flag to configureJesse Barnes
Defaults to enabled.
2009-05-14If DRM can't figure out which pipe to sync on, then don't sync at all.Keith Packard
Syncing to the wrong pipe can wedge the hardware if the exclusion area is larger than the vtotal Signed-off-by: Keith Packard <keithp@keithp.com>
2009-05-04Restore CFLAGS after tests.Arkadiusz Miśkiewicz
Reverts single line of broken commit e5133a94dc78411eaef324131ea8056aeb81779e. Signed-off-by: Eric Anholt <eric@anholt.net>
2009-04-27Remove checks for xf86RotateFreeShadow, introduced in server 1.4.Eric Anholt
2009-04-27unifdef LIBPCIACCESS and XSERVER_LIBPCIACCESS.Eric Anholt
Depending on new server means these are always present.
2009-04-27Remove XF86DRM_MODE.Eric Anholt
We now depend on server 1.6 and current libdrm, so no need to ifdef it.
2009-04-27Remove DRI1 support.Eric Anholt
This was blocked on wide distribution of X Server 1.6 (now in the current or next version of major distributions) and solutions for a couple of significant architectural problems (vblank sync and frontbuffer rendering, which we now have code or good plans for). This includes disabling XVMC which is DRI1-only currently.