summaryrefslogtreecommitdiffstats
path: root/prepare_x11vnc_dist.sh
diff options
context:
space:
mode:
Diffstat (limited to 'prepare_x11vnc_dist.sh')
-rw-r--r--prepare_x11vnc_dist.sh7
1 files changed, 4 insertions, 3 deletions
diff --git a/prepare_x11vnc_dist.sh b/prepare_x11vnc_dist.sh
index e28ea6d..2f6fec1 100644
--- a/prepare_x11vnc_dist.sh
+++ b/prepare_x11vnc_dist.sh
@@ -1,6 +1,6 @@
#!/bin/bash
-VERSION="0.9.11"
+VERSION="0.9.13"
cd "$(dirname "$0")"
@@ -33,9 +33,10 @@ echo "" >> Makefile.am
cat Makefile.am.LibVNCServer | \
sed -e "s/^SUBDIRS.*$/#SUBDIRS=libvncserver libvncclient x11vnc classes/" \
-e "s/^DIST_SUBDIRS.*$/#DIST_SUBDIRS=libvncserver libvncclient x11vnc classes/" \
- -e "/all: make_config_executable/,\$d" \
-e "/^.*bin_SCRIPTS.*$/d" \
- -e "s/include_/noinst_/" \
+ -e "s/^include_HEADERS/if HAVE_SYSTEM_LIBVNCSERVER^else^include_HEADERS/" \
+ -e "s/rfbclient\.h/rfbclient.h^endif/" \
+ | tr '^' '\n' \
>> Makefile.am
mv README README.LibVNCServer