diff options
author | Gaetan Nadon <memsize@videotron.ca> | 2010-08-18 10:57:02 -0400 |
---|---|---|
committer | Gaetan Nadon <memsize@videotron.ca> | 2010-08-19 08:18:08 -0400 |
commit | 2a72ea7a1b1519451350e0741d145f513124a208 (patch) | |
tree | 3d966998657fd0a5360eb8c2eb222e06e9624eb6 /configure.ac | |
parent | f51ca2cb756dcd541a27f0326496f0aadab3f214 (diff) |
vmwarectrl: rework standalone package as a subdir of driver
vmwarectrl is a unit test client tool for developers.
By default, it is not built unless --enable-vmwarectrl-client is used.
Acked-by: Thomas Hellstrom <thellstrom@vmware.com>
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 52335e7..7249ca1 100644 --- a/configure.ac +++ b/configure.ac @@ -56,6 +56,13 @@ AC_ARG_WITH(xorg-module-dir, [moduledir="$withval"], [moduledir="$libdir/xorg/modules"]) +# Define a configure option to build the vmwarectrl client tool +AC_ARG_ENABLE(vmwarectrl-client, + AS_HELP_STRING([--enable-vmwarectrl-client], + [Enable vmwarectrl client (default: disabled)]), + [VMWARECTRL=$enableval], [VMWARECTRL=no]) +AM_CONDITIONAL(BUILD_VMWARECTRL, [test "x$VMWARECTRL" = xyes]) + # Store the list of server defined optional extensions in REQUIRED_MODULES XORG_DRIVER_CHECK_EXT(RANDR, randrproto) XORG_DRIVER_CHECK_EXT(RENDER, renderproto) @@ -86,6 +93,9 @@ PKG_CHECK_EXISTS([xorg-server >= 1.7.0], [AC_DEFINE([HAVE_XORG_SERVER_1_7_0], 1, [Has version 1.7.0 or greater of the Xserver])]) +# Obtain compiler/linker options for the vmwarectrl client tool +PKG_CHECK_MODULES(X11, x11 xext) + # Checks for libraries. save_CFLAGS="$CFLAGS" @@ -109,6 +119,7 @@ AC_SUBST([DRIVER_NAME]) AC_CONFIG_FILES([ Makefile src/Makefile + vmwarectrl/Makefile man/Makefile ]) AC_OUTPUT |