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