diff options
-rw-r--r-- | Make.config | 3 | ||||
-rw-r--r-- | glcddrivers/Makefile | 2 |
2 files changed, 5 insertions, 0 deletions
diff --git a/Make.config b/Make.config index 9e82ca9..f782845 100644 --- a/Make.config +++ b/Make.config @@ -73,6 +73,9 @@ HAVE_FONTCONFIG=1 #HAVE_IMAGEMAGICK=1 #HAVE_GRAPHICSMAGICK=1 +# comment this variable or set to 0 if you do not want to build the vncserver driver, even if requirements (libvncserver) are fullfilled on the system +WANT_DRV_VNCSERVER=1 + # uncomment this variable if you want to enable the experimental AX 206 based digital photo frame driver # Read DRIVER.ax206dpf before use! #HAVE_AX206DPF_EXPERIMENTAL=1 diff --git a/glcddrivers/Makefile b/glcddrivers/Makefile index 8287bb2..040b1f0 100644 --- a/glcddrivers/Makefile +++ b/glcddrivers/Makefile @@ -42,12 +42,14 @@ ifeq ($(shell pkg-config --exists libusb && echo 1), 1) endif endif +ifeq ($(WANT_DRV_VNCSERVER), 1) ifeq ($(shell libvncserver-config --version >/dev/null && echo 1), 1) DEFINES += -DHAVE_LIBVNCSERVER OBJS += vncserver.o INCLUDES += $(shell libvncserver-config --cflags) LIBS += $(shell libvncserver-config --libs) endif +endif ### Implicit rules: |