Untangle HAS_XORG_CONF_DIR / --with-xorg-conf-dir lines in configure.ac
PATCH 1/1 Untangle HAS_XORG_CONF_DIR / --with-xorg-conf-dir lines in configure.ac
From: Michel Dänzer <[email protected]>
$sysconfigdir used to be part of the default --with-xorg-conf-dir value, but it no longer is.
--- configure.ac | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-)
configure.ac +3 -2
@@ -82,18 +82,19 @@ PKG_CHECK_MODULES(XEXT, [xextproto >= 7.0.99.1], HAVE_XEXTPROTO_71="no") AM_CONDITIONAL(HAVE_XEXTPROTO_71, [ test "$HAVE_XEXTPROTO_71" = "yes" ]) -# Define a configure option for an alternate X Server configuration directory # Section "OutputClass" is only supported as of xserver 1.16 PKG_CHECK_EXISTS([xorg-server >= 1.16], [sysconfigdir=`$PKG_CONFIG --variable=sysconfigdir xorg-server`], [sysconfigdir=""]) +AM_CONDITIONAL(HAS_XORG_CONF_DIR, [test "x$sysconfigdir" != "x"]) + +# Define a configure option for an alternate X Server configuration directory AC_ARG_WITH(xorg-conf-dir, AS_HELP_STRING([--with-xorg-conf-dir=DIR], [Default xorg.conf.d directory [[default=${prefix}/share/X11/xorg.conf.d]]]), [configdir="$withval"], [configdir='${prefix}/share/X11/xorg.conf.d']) AC_SUBST(configdir) -AM_CONDITIONAL(HAS_XORG_CONF_DIR, [test "x$sysconfigdir" != "x"]) AC_ARG_ENABLE([udev], AS_HELP_STRING([--disable-udev], [Disable libudev support [default=auto]]),
Signature · 6 lines
2.9.3 _______________________________________________ amd-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/amd-gfx
A message that is not in the archive (sent off-list or not yet received): 20160916073943.28006-1-michel-otUistvHUpPR7s880joybQ@public.gmane.org
Deucher, Alexander
Reviewed-by Alex DeucherQuoted 8 lines
-----Original Message-----
From: amd-gfx [mailto:[email protected]] On Behalf Of Michel Dänzer
Sent: Friday, September 16, 2016 3:40 AM
To: [email protected]
Subject: [PATCH xf86-video-amdgpu] UntangleHAS_XORG_CONF_DIR/ -- with-xorg-conf-dir lines in configure.ac
Quoted 6 lines
From: Michel Dänzer <[email protected]>
$sysconfigdir used to be part of the default --with-xorg-conf-dir value, but it no longer is.
Signed-off-by Michel Dänzer <[email protected]>
Quoted 38 lines
--- configure.ac | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-)configure.ac +3
-2@@ -82,18 +82,19 @@ PKG_CHECK_MODULES(XEXT, [xextproto >= 7.0.99.1], HAVE_XEXTPROTO_71="no") AM_CONDITIONAL(HAVE_XEXTPROTO_71, [ test "$HAVE_XEXTPROTO_71" = "yes" ]) -# Define a configure option for an alternate X Server configuration directory # Section "OutputClass" is only supported as of xserver 1.16 PKG_CHECK_EXISTS([xorg-server >= 1.16], [sysconfigdir=`$PKG_CONFIG --variable=sysconfigdir xorg- server`], [sysconfigdir=""]) +AM_CONDITIONAL(HAS_XORG_CONF_DIR, [test "x$sysconfigdir" != "x"]) + +# Define a configure option for an alternate X Server configuration directory AC_ARG_WITH(xorg-conf-dir, AS_HELP_STRING([--with-xorg-conf-dir=DIR], [Default xorg.conf.d directory [[default=${prefix}/share/X11/xorg.conf.d]]]), [configdir="$withval"], [configdir='${prefix}/share/X11/xorg.conf.d']) AC_SUBST(configdir) -AM_CONDITIONAL(HAS_XORG_CONF_DIR, [test "x$sysconfigdir" != "x"]) AC_ARG_ENABLE([udev], AS_HELP_STRING([--disable-udev], [Disable libudev support[default=auto]]),
--
2.9.3
Quoted 4 lines
_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx