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

Mihail Konev k.mvc at ya.ru
Sat Apr 1 06:52:08 UTC 2017


Fixes the file not being cleaned with --disable-xorg.

Signed-off-by: Mihail Konev <k.mvc at ya.ru>
---
This is for "make distcheck" not to fail after adding "--disable-xorg" to
DISTCHECK_CONFIGURE_FLAGS in Makefile.am.

 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