summaryrefslogtreecommitdiffstats
path: root/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am6
1 files changed, 5 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am
index 02af3e8..4a4fbbf 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1,6 +1,10 @@
CFLAGS=-g -Wall
-SUBDIRS=libvncserver examples contrib libvncclient vncterm classes client_examples test
+if WITH_X11VNC
+X11VNC=x11vnc
+endif
+
+SUBDIRS=libvncserver examples contrib libvncclient vncterm classes client_examples test $(X11VNC)
DIST_SUBDIRS=libvncserver examples contrib libvncclient vncterm classes client_examples test
bin_SCRIPTS = libvncserver-config
OpenPOWER on IntegriCloud