summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrunge <runge>2009-01-04 03:02:34 +0000
committerrunge <runge>2009-01-04 03:02:34 +0000
commit6876b85df3abc71feb26ce85bf2ef3bfae001af2 (patch)
tree891ce455441265750e46553c5899aba86af0d826
parent8bef644d17f62ea6daf7459b863f05de187966fe (diff)
downloadlibtdevnc-6876b85df3abc71feb26ce85bf2ef3bfae001af2.tar.gz
libtdevnc-6876b85df3abc71feb26ce85bf2ef3bfae001af2.zip
configure.ac: add include file file for libXrandr on Solaris.
prepare_x11vnc_dist.sh: set version to 0.9.7
-rw-r--r--configure.ac8
-rw-r--r--prepare_x11vnc_dist.sh2
2 files changed, 8 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac
index 28c6ef0..91177e6 100644
--- a/configure.ac
+++ b/configure.ac
@@ -209,7 +209,7 @@ elif test "$X_CFLAGS" != "-DX_DISPLAY_MISSING"; then
if test "x$with_xrandr" != "xno"; then
AC_CHECK_LIB(Xrandr, XRRSelectInput,
X_PRELIBS="$X_PRELIBS -lXrandr"
- [AC_DEFINE(HAVE_LIBXRANDR)], ,
+ [AC_DEFINE(HAVE_LIBXRANDR) HAVE_LIBXRANDR="true"], ,
$X_LIBS $X_PRELIBS -lX11 $X_EXTRA_LIBS)
fi
@@ -233,6 +233,12 @@ elif test "$X_CFLAGS" != "-DX_DISPLAY_MISSING"; then
"SunOS 5"*) X_EXTRA_LIBS="$X_EXTRA_LIBS -R/usr/sfw/lib" ;;
esac
fi
+ if test ! -z "$HAVE_LIBXRANDR"; then
+ # also need /usr/X11/include for Solaris 10 10/08 and later
+ case `(uname -sr) 2>/dev/null` in
+ "SunOS 5"*) CPPFLAGS="$CPPFLAGS -I/usr/X11/include" ;;
+ esac
+ fi
X_LIBS="$X_LIBS $X_PRELIBS -lX11 $X_EXTRA_LIBS"
fi
diff --git a/prepare_x11vnc_dist.sh b/prepare_x11vnc_dist.sh
index 1adf54c..647aa9f 100644
--- a/prepare_x11vnc_dist.sh
+++ b/prepare_x11vnc_dist.sh
@@ -1,6 +1,6 @@
#!/bin/bash
-VERSION="0.9.6"
+VERSION="0.9.7"
cd "$(dirname "$0")"