[PATCH v2 xserver 1/7] configure.ac: only stub sdksyms.dep as needed

Mihail Konev k.mvc at ya.ru
Tue Apr 4 23:49:40 UTC 2017


Fixes the file not being cleaned with --disable-xorg, for such a
distcheck not to fail.

Signed-off-by: Mihail Konev <k.mvc at ya.ru>
---
v2: Reword.

 configure.ac | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/configure.ac b/configure.ac
index ac11e65728e8..3196e42df16a 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2488,7 +2488,9 @@ AC_SUBST([libdir])
 AC_SUBST([exec_prefix])
 AC_SUBST([prefix])
 
-AC_CONFIG_COMMANDS([sdksyms], [touch hw/xfree86/sdksyms.dep])
+if test "x$XORG" = xyes; then
+  AC_CONFIG_COMMANDS([sdksyms], [touch hw/xfree86/sdksyms.dep])
+fi
 
 if test "x$CONFIG_HAL" = xno && test "x$CONFIG_UDEV" = xno; then
     AC_MSG_WARN([
-- 
2.9.2



More information about the xorg-devel mailing list