0001-misc-Makefile.am-don-t-install-Xdummy-when-configure.patch 960 B

12345678910111213141516171819202122232425262728293031323334353637
  1. From 686491573827b98ba031adaa5da373366079d3d8 Mon Sep 17 00:00:00 2001
  2. From: =?UTF-8?q?Jean-Fran=C3=A7ois=20Dagenais?= <jeff.dagenais@gmail.com>
  3. Date: Mon, 11 Feb 2019 11:42:59 -0500
  4. Subject: [PATCH] misc/Makefile.am: don't install Xdummy when configured
  5. --without-x
  6. Upstream-status: submitted https://github.com/jeff-dagenais/x11vnc/pull/1
  7. Signed-off-by: Jean-Francois Dagenais <jeff.dagenais@gmail.com>
  8. ---
  9. misc/Makefile.am | 6 +++++-
  10. 1 file changed, 5 insertions(+), 1 deletion(-)
  11. diff --git a/misc/Makefile.am b/misc/Makefile.am
  12. index c0b98c8..e4a22c1 100644
  13. --- a/misc/Makefile.am
  14. +++ b/misc/Makefile.am
  15. @@ -18,7 +18,10 @@ EXTRA_DIST = \
  16. uinput.pl \
  17. ultravnc_repeater.pl \
  18. vcinject.pl \
  19. - x11vnc_loop \
  20. + x11vnc_loop
  21. +
  22. +if HAVE_X11
  23. +EXTRA_DIST += \
  24. Xdummy.c \
  25. Xdummy.in
  26. @@ -32,3 +35,4 @@ do_dummy_c_subst = $(SED) \
  27. Xdummy: $(srcdir)/Xdummy.in $(srcdir)/Xdummy.c
  28. $(do_dummy_c_subst) < $< > $@.tmp
  29. mv -f $@.tmp $@
  30. +endif
  31. --
  32. 2.17.1