### this file is sourced not run
PKGVER=1.18.0
PKGBUILD=1
PKGARCH=x86_64

# source: post-BLFS 7.8 2015-12-24
TARBALL=xorg-server-$PKGVER.tar.bz2
MD5SUM=3c1c1057d3ad27380d8dd87ffcc182cd
SRC_URL=http://xorg.freedesktop.org/archive/individual/xserver/$TARBALL
BUNDLE=

SLACKREQ='mesa openssl pixman xkeyboard-config tslib mtdev xcb-util-renderutil' # and xorg libs
SLACKDESC="xorg-server: xorg-server $PKGVER (X11 Core Server)  
xorg-server:  
xorg-server: The Xorg Server is the core of the X Window system.  
xorg-server: 
xorg-server: 
xorg-server: 
xorg-server: 
xorg-server: 
xorg-server: 
xorg-server: 
xorg-server:
"

### default pkg_download
### prepare
pkg_prepare() {
	pkg_prepare_default &&
	cd tmp/xorg-server* &&
	patch -Np1 -i $CHROOT_DIR/tmp/pkg/xorg-server-1.18.0-add_prime_support-1.patch &&
	patch -Np1 -i $CHROOT_DIR/tmp/pkg/xorg-panning-scaling-james.patch
}

### default pkg_package
### build
pkg_build() {
	# enable zap
	mkdir -pv /etc/X11/xorg.conf.d &&
	cat > /etc/X11/xorg.conf.d/xkb-defaults.conf << EOF
Section "InputClass"
    Identifier "XKB Defaults"
    MatchIsKeyboard "yes"
    Option "XkbOptions" "terminate:ctrl_alt_bksp"
EndSection
EOF

	CONFFLAGS="$XORG_CONFIG --with-xkb-output=/var/lib/xkb \
    --enable-install-setuid \
    --enable-config-udev --enable-xephyr --enable-xfbdev \
    --enable-dri2 --enable-dri3 --enable-config-udev-kms \
    --disable-config-hal --enable-libdrm \
    --enable-dmx \
    --enable-tslib --enable-kdrive --enable-kdrive-mouse --enable-kdrive-evdev \
    --enable-dri3 --enable-glamor --disable-systemd-logind --without-systemd-daemon"
#   --enable-suid-wrapper
	pkg_build_autoconf && 
	pkg_build_slackdesc
}

<< "EOF"
sh-4.3# ./configure --help
`configure' configures xorg-server 1.18.0 to adapt to many kinds of systems.

Usage: ./configure [OPTION]... [VAR=VALUE]...

To assign environment variables (e.g., CC, CFLAGS...), specify them as
VAR=VALUE.  See below for descriptions of some of the useful variables.

Defaults for the options are specified in brackets.

Configuration:
  -h, --help              display this help and exit
      --help=short        display options specific to this package
      --help=recursive    display the short help of all the included packages
  -V, --version           display version information and exit
  -q, --quiet, --silent   do not print `checking ...' messages
      --cache-file=FILE   cache test results in FILE [disabled]
  -C, --config-cache      alias for `--cache-file=config.cache'
  -n, --no-create         do not create output files
      --srcdir=DIR        find the sources in DIR [configure dir or `..']

Installation directories:
  --prefix=PREFIX         install architecture-independent files in PREFIX
                          [/usr/local]
  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
                          [PREFIX]

By default, `make install' will install all the files in
`/usr/local/bin', `/usr/local/lib' etc.  You can specify
an installation prefix other than `/usr/local' using `--prefix',
for instance `--prefix=$HOME'.

For better control, use the options below.

Fine tuning of the installation directories:
  --bindir=DIR            user executables [EPREFIX/bin]
  --sbindir=DIR           system admin executables [EPREFIX/sbin]
  --libexecdir=DIR        program executables [EPREFIX/libexec]
  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
  --libdir=DIR            object code libraries [EPREFIX/lib]
  --includedir=DIR        C header files [PREFIX/include]
  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
  --infodir=DIR           info documentation [DATAROOTDIR/info]
  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
  --mandir=DIR            man documentation [DATAROOTDIR/man]
  --docdir=DIR            documentation root [DATAROOTDIR/doc/xorg-server]
  --htmldir=DIR           html documentation [DOCDIR]
  --dvidir=DIR            dvi documentation [DOCDIR]
  --pdfdir=DIR            pdf documentation [DOCDIR]
  --psdir=DIR             ps documentation [DOCDIR]

Program names:
  --program-prefix=PREFIX            prepend PREFIX to installed program names
  --program-suffix=SUFFIX            append SUFFIX to installed program names
  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names

System types:
  --build=BUILD     configure for building on BUILD [guessed]
  --host=HOST       cross-compile to build programs to run on HOST [BUILD]

Optional Features:
  --disable-option-checking  ignore unrecognized --enable/--with options
  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
  --enable-silent-rules   less verbose build output (undo: "make V=1")
  --disable-silent-rules  verbose build output (undo: "make V=0")
  --enable-dependency-tracking
                          do not reject slow dependency extractors
  --disable-dependency-tracking
                          speeds up one-time build
  --disable-selective-werror
                          Turn off selective compiler errors. (default:
                          enabled)
  --enable-strict-compilation
                          Enable all warnings from compiler and make them
                          errors (default: disabled)
  --enable-docs           Enable building the documentation (default: yes)
  --enable-devel-docs     Enable building the developer documentation
                          (default: yes)
  --enable-unit-tests     Enable building unit test cases (default: auto)
  --enable-static[=PKGS]  build static libraries [default=no]
  --enable-shared[=PKGS]  build shared libraries [default=yes]
  --enable-fast-install[=PKGS]
                          optimize for fast installation [default=yes]
  --disable-libtool-lock  avoid locking (might break parallel builds)
  --disable-largefile     omit support for large files
  --enable-werror         Obsolete - use --enable-strict-compilation instead
  --enable-debug          Enable debugging (default: disabled)
  --enable-use-sigio-by-default
  Enable SIGIO input handlers by default (default: $USE_SIGIO_BY_DEFAULT)

  --enable-listen-tcp     Listen on TCP by default (default:disabled)
  --disable-listen-unix   Listen on Unix by default (default:enabled)
  --disable-listen-local  Listen on local by default (default:enabled)
  --enable-sparkle        Enable updating of X11.app using the Sparkle
                          Framework (default: disabled)
  --enable-visibility     Enable symbol visibility (default: auto)
  --enable-aiglx          Build accelerated indirect GLX (default: enabled)
  --disable-composite     Build Composite extension (default: enabled)
  --disable-mitshm        Build SHM extension (default: auto)
  --disable-xres          Build XRes extension (default: enabled)
  --disable-record        Build Record extension (default: enabled)
  --disable-xv            Build Xv extension (default: enabled)
  --disable-xvmc          Build XvMC extension (default: enabled)
  --disable-dga           Build DGA extension (default: auto)
  --disable-screensaver   Build ScreenSaver extension (default: enabled)
  --disable-xdmcp         Build XDMCP extension (default: auto)
  --disable-xdm-auth-1    Build XDM-Auth-1 extension (default: auto)
  --disable-glx           Build GLX extension (default: enabled)
  --enable-dri            Build DRI extension (default: auto)
  --enable-dri2           Build DRI2 extension (default: auto)
  --enable-dri3           Build DRI3 extension (default: auto)
  --disable-present       Build Present extension (default: enabled)
  --disable-xinerama      Build Xinerama extension (default: enabled)
  --disable-xf86vidmode   Build XF86VidMode extension (default: auto)
  --disable-xace          Build X-ACE extension (default: enabled)
  --enable-xselinux       Build SELinux extension (default: disabled)
  --enable-xcsecurity     Build Security extension (default: disabled)
  --enable-tslib          Build kdrive tslib touchscreen support (default:
                          disabled)
  --disable-dbe           Build DBE extension (default: enabled)
  --enable-xf86bigfont    Build XF86 Big Font extension (default: disabled)
  --disable-dpms          Build DPMS extension (default: enabled)
  --enable-config-udev    Build udev support (default: auto)
  --enable-config-udev-kms
                          Build udev kms support (default: auto)
  --disable-config-hal    Build HAL support (default: auto)
  --enable-config-wscons  Build wscons config support (default: auto)
  --enable-xfree86-utils  Build xfree86 DDX utilities (default: enabled)
  --enable-vgahw          Build Xorg with vga access (default: enabled)
  --enable-vbe            Build Xorg with VBE module (default: enabled)
  --enable-int10-module   Build Xorg with int10 module (default: enabled)
  --enable-windowswm      Build XWin with WindowsWM extension (default: no)
  --enable-libdrm         Build Xorg with libdrm support (default: enabled)
  --disable-clientids     Build Xorg with client ID tracking (default:
                          enabled)
  --enable-pciaccess      Build Xorg with pciaccess library (default: enabled)
  --disable-linux-acpi    Disable building ACPI support on Linux (if
                          available).
  --disable-linux-apm     Disable building APM support on Linux (if
                          available).
  --enable-systemd-logind Build systemd-logind support (default: auto)
  --enable-suid-wrapper   Build suid-root wrapper for legacy driver support on
                          rootless xserver systems (default: no)
  --enable-xorg           Build Xorg server (default: auto)
  --enable-dmx            Build DMX server (default: no)
  --enable-xvfb           Build Xvfb server (default: yes)
  --enable-xnest          Build Xnest server (default: auto)
  --enable-xquartz        Build Xquartz server for OS-X (default: auto)
  --enable-xwayland       Build Xwayland server (default: auto)
  --enable-standalone-xpbproxy
                          Build a standalone xpbproxy (in addition to the one
                          integrated into Xquartz as a separate thread)
                          (default: no)
  --enable-xwin           Build XWin server (default: auto)
  --enable-glamor         Build glamor dix module (default: no)
  --enable-kdrive         Build kdrive servers (default: no)
  --enable-xephyr         Build the kdrive Xephyr server (default: auto)
  --enable-xfake          Build the kdrive 'fake' server (default: auto)
  --enable-xfbdev         Build the kdrive framebuffer device server (default:
                          auto)
  --enable-kdrive-kbd     Build kbd driver for kdrive (default: auto)
  --enable-kdrive-mouse   Build mouse driver for kdrive (default: auto)
  --enable-kdrive-evdev   Build evdev driver for kdrive (default: auto)
  --enable-libunwind      Use libunwind for backtracing (default: auto)
  --disable-xshmfence     Disable xshmfence (default: auto)
  --enable-install-setuid Install Xorg server as owned by root with setuid bit
                          (default: auto)
  --enable-unix-transport Enable UNIX domain socket transport
  --enable-tcp-transport  Enable TCP socket transport
  --enable-ipv6           Enable IPv6 support
  --enable-local-transport
                          Enable os-specific local transport
  --enable-secure-rpc     Enable Secure RPC
  --disable-xtrans-send-fds
                          Use Xtrans support for fd passing (default: auto)

Optional Packages:
  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
  --with-doxygen          Use doxygen to regenerate documentation (default:
                          auto)
  --with-xmlto            Use xmlto to regenerate documentation (default:
                          auto)
  --with-fop              Use fop to regenerate documentation (default: auto)
  --with-xsltproc         Use xsltproc for the transformation of XML documents
                          (default: auto)
  --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
                          both]
  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
  --with-sysroot=DIR Search for dependent libraries within DIR
                        (or the compiler's sysroot if not specified).
  --with-dtrace=PATH      Enable dtrace probes (default: enabled if dtrace
                          found)
  --with-int10=BACKEND    int10 backend: vm86, x86emu or stub
  --with-vendor-name=VENDOR
                          Vendor string reported by the server
  --with-vendor-name-short=VENDOR
                          Short version of vendor string reported by the
                          server
  --with-vendor-web=URL   Vendor web address reported by the server
  --with-module-dir=DIR   Directory where modules are installed (default:
                          $libdir/xorg/modules)
  --with-log-dir=DIR      Directory where log files are kept (default:
                          $localstatedir/log)
  --with-builder-addr=ADDRESS
                          Builder address (default:
                          xorg@lists.freedesktop.org)
  --with-os-name=OSNAME   Name of OS (default: output of "uname -srm")
  --with-os-vendor=OSVENDOR
                          Name of OS vendor
  --with-builderstring=BUILDERSTRING
                          Additional builder string
  --with-fontrootdir=DIR  Path to root directory for font files
  --with-fontmiscdir=DIR  Path to misc files [FONTROOTDIR/misc]
  --with-fontotfdir=DIR   Path to OTF files [FONTROOTDIR/OTF]
  --with-fontttfdir=DIR   Path to TTF files [FONTROOTDIR/TTF]
  --with-fonttype1dir=DIR Path to Type1 files [FONTROOTDIR/Type1]
  --with-font75dpidir=DIR Path to 75dpi files [FONTROOTDIR/75dpi]
  --with-font100dpidir=DIR
                          Path to 100dpi files [FONTROOTDIR/100dpi]
  --with-default-font-path=PATH
                          Comma separated list of font dirs
  --with-xkb-path=PATH    Path to XKB base dir (default: ${datadir}/X11/xkb)
  --with-xkb-output=PATH  Path to XKB output dir (default:
                          ${datadir}/X11/xkb/compiled)
  --with-default-xkb-rules=RULES
                          Keyboard ruleset (default: base/evdev)
  --with-default-xkb-model=MODEL
                          Keyboard model (default: pc105)
  --with-default-xkb-layout=LAYOUT
                          Keyboard layout (default: us)
  --with-default-xkb-variant=VARIANT
                          Keyboard variant (default: (none))
  --with-default-xkb-options=OPTIONS
                          Keyboard layout options (default: (none))
  --with-serverconfig-path=PATH
                          Directory where ancillary server config files are
                          installed (default: ${libdir}/xorg)
  --with-apple-applications-dir=PATH
                          Path to the Applications directory (default:
                          /Applications/Utilities)
  --with-apple-application-name=NAME
                          Name for the .app (default: X11)
  --with-launchd-id-prefix=PATH
                          Deprecated: Use --with-bundle-id-prefix.
  --with-bundle-id-prefix=PATH
                          Prefix to use for bundle identifiers (default:
                          org.x)
  --with-khronos-spec-dir=PATH
                          Path to Khronos OpenGL registry database files
                          (default: auto)
  --with-systemd-daemon   support systemd socket activation (default: auto)
  --with-shared-memory-dir=PATH
                          Path to directory in a world-writable temporary
                          directory for anonymous shared memory (default:
                          auto)
  --with-xkb-bin-directory=DIR
                          Directory containing xkbcomp program (default:
                          ${bindir})
  --with-sha1=libc|libmd|libnettle|libgcrypt|libcrypto|libsha1|CommonCrypto|CryptoAPI
                          choose SHA1 implementation

Some influential environment variables:
  CC          C compiler command
  CFLAGS      C compiler flags
  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
              nonstandard directory <lib dir>
  LIBS        libraries to pass to the linker, e.g. -l<library>
  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
              you have headers in a nonstandard directory <include dir>
  CPP         C preprocessor
  PKG_CONFIG  path to pkg-config utility
  PKG_CONFIG_PATH
              directories to add to pkg-config's search path
  PKG_CONFIG_LIBDIR
              path overriding pkg-config's built-in search path
  DOXYGEN     Path to doxygen command
  DOT         Path to the dot graphics utility
  XMLTO       Path to xmlto command
  FOP         Path to fop command
  XSLTPROC    Path to xsltproc command
  XORG_MALLOC_DEBUG_ENV
              Environment variables to enable memory checking in tests
  CCAS        assembler compiler command (defaults to CC)
  CCASFLAGS   assembler compiler flags (defaults to CFLAGS)
  YACC        The `Yet Another Compiler Compiler' implementation to use.
              Defaults to the first program found out of: `bison -y', `byacc',
              `yacc'.
  YFLAGS      The list of arguments that will be passed by default to $YACC.
              This script will default YFLAGS to the empty string to avoid a
              default value of `-d' given by some make applications.
  PIXMAN_CFLAGS
              C compiler flags for PIXMAN, overriding pkg-config
  PIXMAN_LIBS linker flags for PIXMAN, overriding pkg-config
  SYSTEMD_DAEMON_CFLAGS
              C compiler flags for SYSTEMD_DAEMON, overriding pkg-config
  SYSTEMD_DAEMON_LIBS
              linker flags for SYSTEMD_DAEMON, overriding pkg-config
  UDEV_CFLAGS C compiler flags for UDEV, overriding pkg-config
  UDEV_LIBS   linker flags for UDEV, overriding pkg-config
  DBUS_CFLAGS C compiler flags for DBUS, overriding pkg-config
  DBUS_LIBS   linker flags for DBUS, overriding pkg-config
  HAL_CFLAGS  C compiler flags for HAL, overriding pkg-config
  HAL_LIBS    linker flags for HAL, overriding pkg-config
  DRI2PROTO_CFLAGS
              C compiler flags for DRI2PROTO, overriding pkg-config
  DRI2PROTO_LIBS
              linker flags for DRI2PROTO, overriding pkg-config
  DRI3PROTO_CFLAGS
              C compiler flags for DRI3PROTO, overriding pkg-config
  DRI3PROTO_LIBS
              linker flags for DRI3PROTO, overriding pkg-config
  XSHMFENCE_CFLAGS
              C compiler flags for XSHMFENCE, overriding pkg-config
  XSHMFENCE_LIBS
              linker flags for XSHMFENCE, overriding pkg-config
  LIBDRM_CFLAGS
              C compiler flags for LIBDRM, overriding pkg-config
  LIBDRM_LIBS linker flags for LIBDRM, overriding pkg-config
  XLIB_CFLAGS C compiler flags for XLIB, overriding pkg-config
  XLIB_LIBS   linker flags for XLIB, overriding pkg-config
  GL_CFLAGS   C compiler flags for GL, overriding pkg-config
  GL_LIBS     linker flags for GL, overriding pkg-config
  SELINUX_CFLAGS
              C compiler flags for SELINUX, overriding pkg-config
  SELINUX_LIBS
              linker flags for SELINUX, overriding pkg-config
  XDMCP_CFLAGS
              C compiler flags for XDMCP, overriding pkg-config
  XDMCP_LIBS  linker flags for XDMCP, overriding pkg-config
  LIBSHA1_CFLAGS
              C compiler flags for LIBSHA1, overriding pkg-config
  LIBSHA1_LIBS
              linker flags for LIBSHA1, overriding pkg-config
  OPENSSL_CFLAGS
              C compiler flags for OPENSSL, overriding pkg-config
  OPENSSL_LIBS
              linker flags for OPENSSL, overriding pkg-config
  XSERVERCFLAGS_CFLAGS
              C compiler flags for XSERVERCFLAGS, overriding pkg-config
  XSERVERCFLAGS_LIBS
              linker flags for XSERVERCFLAGS, overriding pkg-config
  XSERVERLIBS_CFLAGS
              C compiler flags for XSERVERLIBS, overriding pkg-config
  XSERVERLIBS_LIBS
              linker flags for XSERVERLIBS, overriding pkg-config
  LIBUNWIND_CFLAGS
              C compiler flags for LIBUNWIND, overriding pkg-config
  LIBUNWIND_LIBS
              linker flags for LIBUNWIND, overriding pkg-config
  XNESTMODULES_CFLAGS
              C compiler flags for XNESTMODULES, overriding pkg-config
  XNESTMODULES_LIBS
              linker flags for XNESTMODULES, overriding pkg-config
  PCIACCESS_CFLAGS
              C compiler flags for PCIACCESS, overriding pkg-config
  PCIACCESS_LIBS
              linker flags for PCIACCESS, overriding pkg-config
  DGA_CFLAGS  C compiler flags for DGA, overriding pkg-config
  DGA_LIBS    linker flags for DGA, overriding pkg-config
  XF86VIDMODE_CFLAGS
              C compiler flags for XF86VIDMODE, overriding pkg-config
  XF86VIDMODE_LIBS
              linker flags for XF86VIDMODE, overriding pkg-config
  XORG_MODULES_CFLAGS
              C compiler flags for XORG_MODULES, overriding pkg-config
  XORG_MODULES_LIBS
              linker flags for XORG_MODULES, overriding pkg-config
  GLAMOR_CFLAGS
              C compiler flags for GLAMOR, overriding pkg-config
  GLAMOR_LIBS linker flags for GLAMOR, overriding pkg-config
  GBM_CFLAGS  C compiler flags for GBM, overriding pkg-config
  GBM_LIBS    linker flags for GBM, overriding pkg-config
  XWINMODULES_CFLAGS
              C compiler flags for XWINMODULES, overriding pkg-config
  XWINMODULES_LIBS
              linker flags for XWINMODULES, overriding pkg-config
  WINDOWSWM_CFLAGS
              C compiler flags for WINDOWSWM, overriding pkg-config
  WINDOWSWM_LIBS
              linker flags for WINDOWSWM, overriding pkg-config
  KHRONOS_OPENGL_REGISTRY_CFLAGS
              C compiler flags for KHRONOS_OPENGL_REGISTRY, overriding
              pkg-config
  KHRONOS_OPENGL_REGISTRY_LIBS
              linker flags for KHRONOS_OPENGL_REGISTRY, overriding pkg-config
  XPBPROXY_CFLAGS
              C compiler flags for XPBPROXY, overriding pkg-config
  XPBPROXY_LIBS
              linker flags for XPBPROXY, overriding pkg-config
  DMXMODULES_CFLAGS
              C compiler flags for DMXMODULES, overriding pkg-config
  DMXMODULES_LIBS
              linker flags for DMXMODULES, overriding pkg-config
  XDMXCONFIG_DEP_CFLAGS
              C compiler flags for XDMXCONFIG_DEP, overriding pkg-config
  XDMXCONFIG_DEP_LIBS
              linker flags for XDMXCONFIG_DEP, overriding pkg-config
  DMXEXAMPLES_DEP_CFLAGS
              C compiler flags for DMXEXAMPLES_DEP, overriding pkg-config
  DMXEXAMPLES_DEP_LIBS
              linker flags for DMXEXAMPLES_DEP, overriding pkg-config
  DMXXMUEXAMPLES_DEP_CFLAGS
              C compiler flags for DMXXMUEXAMPLES_DEP, overriding pkg-config
  DMXXMUEXAMPLES_DEP_LIBS
              linker flags for DMXXMUEXAMPLES_DEP, overriding pkg-config
  DMXXIEXAMPLES_DEP_CFLAGS
              C compiler flags for DMXXIEXAMPLES_DEP, overriding pkg-config
  DMXXIEXAMPLES_DEP_LIBS
              linker flags for DMXXIEXAMPLES_DEP, overriding pkg-config
  XTSTEXAMPLES_DEP_CFLAGS
              C compiler flags for XTSTEXAMPLES_DEP, overriding pkg-config
  XTSTEXAMPLES_DEP_LIBS
              linker flags for XTSTEXAMPLES_DEP, overriding pkg-config
  XRESEXAMPLES_DEP_CFLAGS
              C compiler flags for XRESEXAMPLES_DEP, overriding pkg-config
  XRESEXAMPLES_DEP_LIBS
              linker flags for XRESEXAMPLES_DEP, overriding pkg-config
  X11EXAMPLES_DEP_CFLAGS
              C compiler flags for X11EXAMPLES_DEP, overriding pkg-config
  X11EXAMPLES_DEP_LIBS
              linker flags for X11EXAMPLES_DEP, overriding pkg-config
  TSLIB_CFLAGS
              C compiler flags for TSLIB, overriding pkg-config
  TSLIB_LIBS  linker flags for TSLIB, overriding pkg-config
  XEPHYR_CFLAGS
              C compiler flags for XEPHYR, overriding pkg-config
  XEPHYR_LIBS linker flags for XEPHYR, overriding pkg-config
  XWAYLANDMODULES_CFLAGS
              C compiler flags for XWAYLANDMODULES, overriding pkg-config
  XWAYLANDMODULES_LIBS
              linker flags for XWAYLANDMODULES, overriding pkg-config

Use these variables to override the choices made by `configure' or to help
it to find libraries and programs with nonstandard names/locations.

Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
EOF
