* [PATCH xf86-video-amdgpu] Untangle HAS_XORG_CONF_DIR / --with-xorg-conf-dir lines in configure.ac
@ 2016-09-16 7:39 Michel Dänzer
[not found] ` <20160916073943.28006-1-michel-otUistvHUpPR7s880joybQ@public.gmane.org>
0 siblings, 1 reply; 2+ messages in thread
From: Michel Dänzer @ 2016-09-16 7:39 UTC (permalink / raw)
To: amd-gfx-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW
From: Michel Dänzer <michel.daenzer@amd.com>
$sysconfigdir used to be part of the default --with-xorg-conf-dir value,
but it no longer is.
Signed-off-by: Michel Dänzer <michel.daenzer@amd.com>
---
configure.ac | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/configure.ac b/configure.ac
index 68e1feb..c3af085 100644
--- a/configure.ac
+++ b/configure.ac
@@ -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
_______________________________________________
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
^ permalink raw reply related [flat|nested] 2+ messages in thread
* RE: [PATCH xf86-video-amdgpu] Untangle HAS_XORG_CONF_DIR / --with-xorg-conf-dir lines in configure.ac
[not found] ` <20160916073943.28006-1-michel-otUistvHUpPR7s880joybQ@public.gmane.org>
@ 2016-09-16 13:27 ` Deucher, Alexander
0 siblings, 0 replies; 2+ messages in thread
From: Deucher, Alexander @ 2016-09-16 13:27 UTC (permalink / raw)
To: 'Michel Dänzer', amd-gfx-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW
> -----Original Message-----
> From: amd-gfx [mailto:amd-gfx-bounces@lists.freedesktop.org] On Behalf
> Of Michel Dänzer
> Sent: Friday, September 16, 2016 3:40 AM
> To: amd-gfx@lists.freedesktop.org
> Subject: [PATCH xf86-video-amdgpu] Untangle HAS_XORG_CONF_DIR / --
> with-xorg-conf-dir lines in configure.ac
>
> From: Michel Dänzer <michel.daenzer@amd.com>
>
> $sysconfigdir used to be part of the default --with-xorg-conf-dir value,
> but it no longer is.
>
> Signed-off-by: Michel Dänzer <michel.daenzer@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
> ---
> configure.ac | 5 +++--
> 1 file changed, 3 insertions(+), 2 deletions(-)
>
> diff --git a/configure.ac b/configure.ac
> index 68e1feb..c3af085 100644
> --- a/configure.ac
> +++ b/configure.ac
> @@ -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
>
> _______________________________________________
> amd-gfx mailing list
> amd-gfx@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/amd-gfx
_______________________________________________
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-09-16 13:27 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-09-16 7:39 [PATCH xf86-video-amdgpu] Untangle HAS_XORG_CONF_DIR / --with-xorg-conf-dir lines in configure.ac Michel Dänzer
[not found] ` <20160916073943.28006-1-michel-otUistvHUpPR7s880joybQ@public.gmane.org>
2016-09-16 13:27 ` Deucher, Alexander
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.