xf86-video-amdgpu: Branch 'master'

Michel Dänzer daenzer at kemper.freedesktop.org
Thu Sep 15 06:27:47 UTC 2016


 configure.ac |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

New commits:
commit cd3acb75718dfd42dd25d58b4e7bd4db27b659d8
Author: Michel Dänzer <michel.daenzer at amd.com>
Date:   Wed Sep 14 18:33:42 2016 +0900

    Use --with-xorg-conf-dir=$prefix/share/X11/xorg.conf.d by default
    
    We were using the result of `pkg-config --variable=sysconfigdir
    xorg-server` before, which may not be inside $prefix, so make install
    might fail for 10-amdgpu.conf .
    
    Fixes make distcheck in that case, and possibly also 10-amdgpu.conf
    seemingly missing from some distribution packages.
    
    This matches what some (though not all) input drivers are doing for their
    xorg.conf.d snippets.

diff --git a/configure.ac b/configure.ac
index dd5905f..9166c3f 100644
--- a/configure.ac
+++ b/configure.ac
@@ -89,9 +89,9 @@ PKG_CHECK_EXISTS([xorg-server >= 1.16],
 		 [sysconfigdir=""])
 AC_ARG_WITH(xorg-conf-dir,
             AS_HELP_STRING([--with-xorg-conf-dir=DIR],
-                           [Default xorg.conf.d directory [[default=from $PKG_CONFIG xorg-server]]]),
-            [configdir="$withval"],
-            [configdir="$sysconfigdir"])
+                           [Default xorg.conf.d directory [[default=$prefix/share/X11/xorg.conf.d/]]]),
+            [xorgconfdir="$withval"],
+            [xorgconfdir="$prefix/share/X11/xorg.conf.d"])
 AC_SUBST(configdir)
 AM_CONDITIONAL(HAS_XORG_CONF_DIR, [test "x$sysconfigdir" != "x"])
 


More information about the xorg-commit mailing list