summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorChristian Beier <dontmind@freeshell.org>2011-07-23 18:02:51 +0200
committerChristian Beier <dontmind@freeshell.org>2011-07-23 18:02:51 +0200
commitb6d24bfa115b8ac9d4a16505c8eacacc2b195b15 (patch)
tree4f60e16b335bafc7939f47ed2a830e0a0edbf6cd /configure.ac
parent5a5cfbe24c307c842a736ac222307f8f63950296 (diff)
downloadlibtdevnc-b6d24bfa115b8ac9d4a16505c8eacacc2b195b15.tar.gz
libtdevnc-b6d24bfa115b8ac9d4a16505c8eacacc2b195b15.zip
Adopt autotools build system to Android.
LibVNCServer/LibVNCClient now build for Android!
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac8
1 files changed, 8 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 3203d7a..c8aed19 100644
--- a/configure.ac
+++ b/configure.ac
@@ -807,6 +807,13 @@ AM_CONDITIONAL(LINUX, test -c /dev/vcsa1)
AC_CHECK_HEADER(ApplicationServices/ApplicationServices.h, HAVE_OSX="true")
AM_CONDITIONAL(OSX, test "$HAVE_OSX" = "true")
+# Check for Android specific header
+AC_CHECK_HEADER(android/api-level.h, HAVE_ANDROID="true")
+AM_CONDITIONAL(ANDROID, test "$HAVE_ANDROID" = "true")
+if test "$HAVE_ANDROID" = "true"; then
+ AC_DEFINE(HAVE_ANDROID, 1, [Android host system detected])
+fi
+
# On Solaris 2.7, write() returns ENOENT when it really means EAGAIN
AH_TEMPLATE(ENOENT_WORKAROUND, [work around when write() returns ENOENT but does not mean it])
case `(uname -sr) 2>/dev/null` in
@@ -833,6 +840,7 @@ AC_CONFIG_FILES([Makefile
libvncclient.pc
libvncserver/Makefile
examples/Makefile
+ examples/android/Makefile
vncterm/Makefile
classes/Makefile
classes/ssl/Makefile