summaryrefslogtreecommitdiff
path: root/configure.ac
AgeCommit message (Collapse)AuthorFilesLines
2015-12-08xserver: Fix configure.ac check for libsystemd/-daemonBob Ham1-11/+14
The configure script looks for the libsystemd-daemon pkg-config module. If the configure script finds it, the script will add libsystemd-daemon to a list of modules which are used to consolidate CFLAGS and LIBS. The check for libsystemd-daemon was altered to fallback to libsystemd if libsystemd-daemon was not found (libsystemd-daemon was brought into libsystemd). Unfortunately, the configure script still adds "libsystemd-daemon" to the list of modules to consolidate, instead of "libsystemd". With this patch, we set a variable depending on which pkg-config module is found and add that to the module list instead. Changes since v1: - Rearranged logic so that we do a versioned check for libsystemd first, then look for libsystemd-daemon. - Cleaned up the check a bit, only performing the module checks if we don't have --with-systemd-daemon=no, in a similar style to --with-dtrace. - Changed the variable name to LIBSYSTEMD_DAEMON as per feedback. Reviewed-by: Adam Jackson <ajax@redhat.com> Signed-off-by: Bob Ham <bob.ham@collabora.com>
2015-12-01Remove non-smart scheduler. Don't require setitimer.Keith Packard1-1/+1
This allows the server to call GetTimeInMillis() after each request is processed to avoid needing setitimer. -dumbSched now turns off the setitimer. Reviewed-by: Adam Jackson <ajax@redhat.com> Signed-off-by: Keith Packard <keithp@keithp.com>
2015-11-09Post-release version bump for 1.19Adam Jackson1-2/+2
Signed-off-by: Adam Jackson <ajax@redhat.com>
2015-11-09xserver 1.18.0xorg-server-1.18.0Adam Jackson1-3/+3
Signed-off-by: Adam Jackson <ajax@redhat.com>
2015-10-26xserver 1.17.99.902 (1.18 RC2)xorg-server-1.17.99.902Adam Jackson1-3/+3
Signed-off-by: Adam Jackson <ajax@redhat.com>
2015-10-19xorg-wrapper: fix build without libdrmSamuel Thibault1-2/+0
Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org> Reviewed-by: Hans de Goede <hdegoede@redhat.com>
2015-10-19hurd: disable detecting drmSamuel Thibault1-0/+5
Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org> Reviewed-by: Hans de Goede <hdegoede@redhat.com>
2015-09-23libxf86config: RemoveEgbert Eich1-8/+0
The library used by the Xserver to read and parse the configuration file could be built so that it culd be installed as a separate lib and used by external programs. Apparently there has not been any interest in this for quite a while as this library has been broken for a long time now in the sense that it was calling functions provided by the Xserver which were not implemented for the external library. Since this library is useless as it is anyway when built let's drop support for it. Signed-off-by: Egbert Eich <eich@freedesktop.org> Reviewed-by: Keith Packard <keithp@keithp.com>
2015-09-23Remove NO_LIBCWRAPPER defineTomas Carnecky1-2/+0
I'll just refer to 1faba79 (Death to libcwrapper., 2007-12-03). Reviewed-by: Adam Jackson <ajax@redhat.com> Signed-off-by: Tomas Carnecky <tomas.carnecky@gmail.com>
2015-09-21Make configure test for LD_NO_UNDEFINED_FLAG on Solaris work w/autoconf 2.69Alan Coopersmith1-1/+1
After upgrading from autoconf 2.68 to 2.69, this test started failing with "conftest.c", line 149: undefined symbol: NULL so use a raw 0 pointer to avoid header dependencies in the autoconf generated test case. Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> Reviewed-by: Mark Kettenis <kettenis@openbsd.org>
2015-09-21mingw: Fix NO_LOCAL_CLIENT_CRED buildJon TURNEY1-0/+18
Commit 4b4b9086 "os: support new implicit local user access mode [CVE-2015-3164 2/3]" carefully places the relevant code it adds under !NO_LOCAL_CLIENT_CRED, but unfortunately doesn't notice that NO_LOCAL_CLIENT_CRED is defined as a side-effect in the middle of GetLocalClientCreds(), so many of these checks precede its definition. Move the check if NO_LOCAL_CLIENT_CRED should be defined to configure.ac, so it always occurs before it's first use. v2: Move check to configure.ac v3: Use AC_CACHE_CHECK and name cache varaible appropriately [ajax: Massaged commit message] Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk> Reviewed-by: Ray Strode <rstrode@redhat.com>
2015-09-21configure.ac: Add support for new versions of systemdJavier Jardón1-1/+3
... that only provide a unique libsystemd.pc file Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net> Signed-off-by: Javier Jardón <jjardon@gnome.org>
2015-09-10Build fix for DMXJon TURNEY1-1/+1
./../dix/.libs/libdix.a(pixmap.o): In function `PixmapStartDirtyTracking': xorg/xserver/dix/pixmap.c:194: undefined reference to `RRTransformCompute' I'm not quite sure how 0db457b fixes this Move RANDR_LIB to after DIX_LIB, so the reference to RRTransformCompute in DIX_LIB is satisfied. Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk> Tested-by: Olivier Fourdan <ofourdan@redhat.com> Signed-off-by: Keith Packard <keithp@keithp.com>
2015-09-01Bump version to 1.17.99.901 (1.18 RC1)xorg-server-1.17.99.901Keith Packard1-3/+3
Signed-off-by: Keith Packard <keithp@keithp.com>
2015-08-24configurable maximum number of clientsOlivier Fourdan1-2/+2
Make the maximum number of clients user configurable, either from the command line or from xorg.conf This patch works by using the MAXCLIENTS (raised to 512) as the maximum allowed number of clients, but allowing the actual limit to be set by the user to a lower value (keeping the default of 256). There is a limit size of 29 bits to be used to store both the client ID and the X resources ID, so by reducing the number of clients allowed to connect to the X server, the user can increase the number of X resources per client or vice-versa. Parts of this patch are based on a similar patch from Adam Jackson <ajax@redhat.com> This now requires at least xproto 7.0.28 Signed-off-by: Adam Jackson <ajax@redhat.com> Signed-off-by: Olivier Fourdan <ofourdan@redhat.com> Reviewed-by: Adam Jackson <ajax@redhat.com> Signed-off-by: Keith Packard <keithp@keithp.com>
2015-07-08dmx: Fix the buildAdam Jackson1-1/+1
Broken since: commit 4fd81823fafcd103e8d890f4c0f7c2f90e822336 Author: Dave Airlie <airlied@gmail.com> Date: Tue Jun 30 14:54:42 2015 +1000 prime: add rotation support for offloaded outputs (v2) Signed-off-by: Adam Jackson <ajax@redhat.com>
2015-06-29Merge remote-tracking branch 'airlied/for-keithp'Keith Packard1-0/+4
2015-06-30glamor: add support for allocating linear buffers (v2)Dave Airlie1-0/+4
We need this for doing USB offload scenarios using glamor and modesetting driver. unfortunately only gbm in mesa 10.6 has support for the linear API. v1.1: fix bad define v2: update the configure.ac test as per amdgpu. (Michel) set linear bos to external to avoid cache. (Eric) Reviewed-by: Eric Anholt <eric@anholt.net> Signed-off-by: Dave Airlie <airlied@redhat.com>
2015-06-24configure.ac: fix code misplacing for KDRIVE_{KBD, MOUSE, EVDEV} auto-detectionLaércio de Sousa1-26/+27
KDrive input drivers "kbd", "mouse", and "evdev" should be automatically built for linux systems. However, due to a code misplacing in configure.ac, the auto-detection test is being performed AFTER the corresponding AC_DEFINEs' calls, so that the drivers are NOT being built, regardless the test result. This bug should be affecting previous xorg-server releases. Please consider backporting this patch to all maintained ones! Signed-off-by: Laércio de Sousa <laerciosousa@sme-mogidascruzes.sp.gov.br> Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net> Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2015-05-12Xephyr: Don't crash when no command line argument is specifiedEgbert Eich1-1/+3
The DDX specific command line parsing function only gets called if command line arguments are present. Therefore this function is not suitable to initialize mandatory global variables. Replace main() instead. Signed-off-by: Egbert Eich <eich@freedesktop.org> Reviewed-by: Keith Packard <keithp@keithp.com> Signed-off-by: Keith Packard <keithp@keithp.com>
2015-05-11Merge remote-tracking branch 'evelikov/master'Keith Packard1-15/+1
2015-04-21Remove empty stub of $host_cpu case statement in configure.acAlan Coopersmith1-5/+0
Left behind when commit 5c12399b6c3a8d moved the xorg_bus_* settings elsewhere. Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> Reviewed-by: Thomas Klausner <wiz@NetBSD.org>
2015-04-21Accept x86_64 as well as i*86 for $host_cpu in Solaris on x86Alan Coopersmith1-1/+1
Needed when using a compiler that defaults to 64-bit output when configure is checking for $host_cpu. Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> Reviewed-by: Thomas Klausner <wiz@NetBSD.org>
2015-04-21Import reallocarray() from OpenBSDAlan Coopersmith1-1/+1
Wrapper for realloc() that checks for overflow when multiplying arguments together, so we don't have to add overflow checks to every single call. For documentation on usage, see: http://www.openbsd.org/cgi-bin/man.cgi/OpenBSD-current/man3/calloc.3 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> Acked-by: Matt Turner <mattst88@gmail.com>
2015-03-31Require randrproto version 1.5.0 or newerKeith Packard1-1/+1
Signed-off-by: Keith Packard <keithp@keithp.com> Reviewed-by: Dave Airlie <airlied@redhat.com>
2015-03-24configure.ac: remove remaining TLS referencesEmil Velikov1-15/+1
No longer used with the removal of the GL dispatch (glapi) from libglx a few releases ago. Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com> Reviewed-by: Adam Jackson <ajax@redhat.com> Reviewed-by: Eric Anholt <eric@anholt.net>
2015-02-10Mark development version for 1.18Keith Packard1-1/+1
Signed-off-by: Keith Packard <keithp@keithp.com>
2015-02-02Update to version 1.17.0xorg-server-1.17.0Keith Packard1-3/+3
Signed-off-by: Keith Packard <keithp@keithp.com>
2015-01-23Update to version 1.16.99.902xorg-server-1.16.99.902Keith Packard1-3/+3
Signed-off-by: Keith Packard <keithp@keithp.com>
2015-01-05xfree86: rename Xorg.bin to XorgPeter Hutterer1-1/+1
If the suid wrapper is enabled, /usr/bin/Xorg is just a shell script that execs either /usr/libexec/Xorg.bin directly or the Xorg.wrap binary which then execve's /usr/libexec/Xorg.bin. Either way, we end up with Xorg.bin, which is problematic for two reasons: * ps shows the command as Xorg.bin * _COMM and _EXE in systemd's journal will both show Xorg.bin as well There's not much we can do about the path, but having the actual command stay as Xorg means better compatibility to existing scripts. And, the reason for this path: the command journalctl _COMM=Xorg works universally, regardless of whether the wrapper is used or not. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by: Keith Packard <keithp@keithp.com> Acked-by: Hans de Goede <hdegoede@redhat.com>
2014-12-08Add request length checking test cases for some Xinput 1.x requestsAlan Coopersmith1-0/+1
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
2014-10-28Update to version 1.16.99.901xorg-server-1.16.99.901Keith Packard1-3/+3
1.17 RC1 Signed-off-by: Keith Packard <keithp@keithp.com>
2014-10-28dri2: Distribute new pci_ids headersKeith Packard1-0/+1
Create hw/xfree86/dri2/pci_ids/Makefile.am which includes all of the new pci id files in the tarballs. Build that from configure.ac, and run it from dri2/Makefile.am Signed-off-by: Keith Packard <keithp@keithp.com>
2014-10-27Merge remote-tracking branch 'jturney/master'Keith Packard1-2/+5
Conflicts: hw/xwin/winpixmap.c Adam removed a pile of windows code, including this file.
2014-10-23Merge remote-tracking branch 'ajax/xwin'Keith Packard1-2/+0
2014-10-09configure.ac: Force --disable-libdrm on CygwinJon TURNEY1-0/+1
This is now needed to avoid trying to build the modesetting driver by default when building the Xorg DDX on Cygwin. http://tinderbox.x.org/builds/2014-09-18-0011/logs/xserver/#build Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk> Reviewed-by: Adam Jackson <ajax@redhat.com>
2014-10-09configure.ac: Avoid "Your OS is unknown" warning when configuring for CygwinJon TURNEY1-2/+4
Don't emit "Your OS is unknown" warning when configuring with --enable-xorg to build the XOrg DDX for Cygwin. The list of supported OSes is getting a bit unwieldy, so just remove it. Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk> Reviewed-by: Adam Jackson <ajax@redhat.com>
2014-10-09Use unique display name for each xi2 test program [v3]Alan Coopersmith1-1/+3
make -j 8 check was sporadically failing in different xi2 tests. After adding the asserts in the previous commit to catch xkb failure it became easier to catch the failures and see that multiple tests were running at once trying to write to /tmp/server-(null).xkm and then delete it, and interfering with each other. Putting a unique string into the display variable let them each write to their own file and not interfere with others. v2: Fix Linux bits: Add #include <errno.h> to get a declaration of program_invocation_name on Linux. Use only the last portion of the pathname so that the resulting display name doesn't contain any slashes. v3: use program_invocation_short_name on Linux This is the same as program_invocation_name, except is has stripped off any path prefix. Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by: Adam Jackson <ajax@redhat.com> Signed-off-by: Keith Packard <keithp@keithp.com>
2014-10-09xwin: Remove primary DirectDraw engineAdam Jackson1-1/+0
Again, as the documentation says, "unsupported, obsolete". Reviewed-by: Jon TURNEY <jon.turney@dronecode.org.uk> Signed-off-by: Adam Jackson <ajax@redhat.com>
2014-10-09xwin: Remove native GDI engine (v2)Adam Jackson1-1/+0
As the man page says, "unsupported, experimental, and barely functional". The last even minor updates to any of this were back in 2004, presumably it's not getting better any time soon. This is also the only GC ops implementation in the tree that actually falls all the way down to the spans routines for everything, so that's pretty nice to be rid of. v2: Fix stray break statement (Jon) Reviewed-by: Jon TURNEY <jon.turney@dronecode.org.uk> Signed-off-by: Adam Jackson <ajax@redhat.com>
2014-09-29Merge remote-tracking branch 'jturney/xwin-clipboard-refactoring'Keith Packard1-1/+2
2014-09-22os: Don't listen to 'tcp' by default. Add '-listen' option. [v2]Keith Packard1-0/+20
This disables the tcp listen socket by default. Then, it uses a new xtrans interface, TRANS(Listen), to provide a command line option to re-enable those if desired. v2: Leave unix socket enabled by default. Add configure options. Signed-off-by: Keith Packard <keithp@keithp.com> Reviewed-by: Hans de Goede <hdegoede@redhat.com>
2014-09-22Require xtrans 1.3.5 or newerKeith Packard1-1/+1
This version of xtrans offers the TRANS(Listen) function. Signed-off-by: Keith Packard <keithp@keithp.com>
2014-09-18Build required portions of registry.c automatically [v2]Keith Packard1-6/+0
Instead of making the inclusion of the registry code a global conditional, split the registry into two pieces; the bits required by the X-Resource extension (the resource names) and the bits required by the XCSECURITY extension (the protocol names). Build each set of code if the related extension is being built. v2: Check for both XCSECURITY and XSELINUX. Signed-off-by: Keith Packard <keithp@keithp.com> Reviewed-by: Adam Jackson <ajax@redhat.com>
2014-09-18ephyr: Properly implement hardware cursors (v3)Adam Jackson1-1/+1
When dix hands us a new cursor we proxy it through to the host server; since we keep the host XID on the cursor bits private we can switch among them with just ChangeWindowAttributes. v2: Use xcb-renderutil for argb format lookup (Uli, Keith) Fall back to core cursors for host RENDER < 0.5 (Keith) Drop useless ephyrEnableCursor Consistently create/destroy the cursor image GC on both paths Treat null cursor from dix as invisible v3: Initialize the invisible cursor's image (Keith) Signed-off-by: Adam Jackson <ajax@redhat.com> Reviewed-by: Keith Packard <keithp@keithp.com> Signed-off-by: Keith Packard <keithp@keithp.com>
2014-09-17Merge remote-tracking branch 'anholt/modesetting-import'Keith Packard1-0/+10
2014-09-16modesetting: Connect the driver to the build.Eric Anholt1-0/+10
v2: Fix libdrm version check, and use XORG_VERSION_* instead of a static 1.0.0 version for the driver module. Signed-off-by: Eric Anholt <eric@anholt.net> Reviewed-by: Keith Packard <keithp@keithp.com>
2014-09-16xfree86: Remove the memory of MTRR awarenessAdam Jackson1-23/+0
pciaccess does this for us, and none of our internal hooks really remain. This does remove a cleanup pass from the BSD code, but the case it's covering (a previous server leaving MTRRs around) can't happen anymore. Reviewed-by: Eric Anholt <eric@anholt.net> Signed-off-by: Adam Jackson <ajax@redhat.com>
2014-09-13hw/xwin: Move clipboard integration code down to a subdirectoryJon TURNEY1-0/+1
Move clipboard integration code down to a subdirectory and build as a convenience library Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk> Reviewed-by: Colin Harrison <colin.harrison@virgin.net>
2014-09-13hw/xwin: Remove SetSelectionOwner wrapper, use XFixesSetSelectionOwnerNotify ↵Jon TURNEY1-1/+1
event instead Use the XFixesSetSelectionNotify event instead of a SetSelectionOwner wrapper, the completely equivalent client-side mechanism. Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk> Reviewed-by: Colin Harrison <colin.harrison@virgin.net>