Brad Bishop | 1932369 | 2019-04-05 15:28:33 -0400 | [diff] [blame] | 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 | |
| 7 | Upstream-status: submitted https://github.com/jeff-dagenais/x11vnc/pull/1 |
| 8 | |
| 9 | Signed-off-by: Jean-Francois Dagenais <jeff.dagenais@gmail.com> |
| 10 | --- |
| 11 | misc/Makefile.am | 6 +++++- |
| 12 | 1 file changed, 5 insertions(+), 1 deletion(-) |
| 13 | |
| 14 | diff --git a/misc/Makefile.am b/misc/Makefile.am |
| 15 | index 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 | -- |
| 36 | 2.17.1 |
| 37 | |