add key menu
authorchristian <christian@christian-laptop.(none)>
Sat, 11 Sep 2010 03:23:31 +0000 (05:23 +0200)
committerchristian <christian@christian-laptop.(none)>
Sat, 11 Sep 2010 03:23:31 +0000 (05:23 +0200)
debian/changelog
debian/rules
libvnc/config.log
src/keymenu.cpp [new file with mode: 0644]
src/keymenu.h [new file with mode: 0644]
src/mainwindow.cpp
src/mainwindow.h
src/vncclientthread.cpp
src/vncview.cpp
src/vncview.h
vnc.pro

index c7819e8..7585e84 100644 (file)
@@ -1,3 +1,9 @@
+presencevnc (0.5) unstable; urgency=low
+
+  * Add "..." menu for additional keys 
+
+ -- Christian Pulvermacher <pulvermacher@gmx.de>  Fri, 27 Aug 2010 19:09:29 +0200
+
 presencevnc (0.4) unstable; urgency=low
 
   * Add virtual keyboard
index 25b70af..90f5757 100755 (executable)
@@ -5,7 +5,7 @@ export DH_VERBOSE=1
 #currently builds a maemo-only package
 
 #comment this line for quick builds
-buildlibs=foo
+#buildlibs=foo
 
 SOURCEDIR=./
 BUILDDIR=debian/build/
index 4c601a3..0635ec5 100644 (file)
@@ -14,7 +14,7 @@ hostname = christian-laptop
 uname -m = arm
 uname -r = 2.6.31-22-generic
 uname -s = Linux
-uname -v = #60-Ubuntu SMP Thu May 27 00:22:23 UTC 2010
+uname -v = #63-Ubuntu SMP Wed Aug 18 22:54:26 UTC 2010
 
 /usr/bin/uname -p = unknown
 /bin/uname -X     = unknown
@@ -146,2069 +146,6 @@ configure:3312: result: /scratchbox/tools/bin/sed
 configure:3315: checking for egrep
 configure:3325: result: grep -E
 configure:3341: checking for ld used by gcc
-configure:3408: result: /scratchbox/compilers/cs2007q3-glibc2.5-arm7/arm-none-linux-gnueabi/bin/ld
-configure:3417: checking if the linker (/scratchbox/compilers/cs2007q3-glibc2.5-arm7/arm-none-linux-gnueabi/bin/ld) is GNU ld
-configure:3432: result: yes
-configure:3437: checking for /scratchbox/compilers/cs2007q3-glibc2.5-arm7/arm-none-linux-gnueabi/bin/ld option to reload object files
-configure:3444: result: -r
-configure:3462: checking for BSD-compatible nm
-configure:3511: result: /scratchbox/compilers/bin/nm -B
-configure:3515: checking whether ln -s works
-configure:3519: result: yes
-configure:3526: checking how to recognise dependent libraries
-configure:3702: result: pass_all
-configure:3939: checking how to run the C preprocessor
-configure:3974: gcc -E  conftest.c
-configure:3980: $? = 0
-configure:4012: gcc -E  conftest.c
-conftest.c:11:28: error: ac_nonexistent.h: No such file or directory
-configure:4018: $? = 1
-configure: failed program was:
-| /* confdefs.h.  */
-| 
-| #define PACKAGE_NAME "LibVNCServer"
-| #define PACKAGE_TARNAME "libvncserver"
-| #define PACKAGE_VERSION "0.9.7"
-| #define PACKAGE_STRING "LibVNCServer 0.9.7"
-| #define PACKAGE_BUGREPORT "http://sourceforge.net/projects/libvncserver"
-| #define PACKAGE "LibVNCServer"
-| #define VERSION "0.9.7"
-| /* end confdefs.h.  */
-| #include <ac_nonexistent.h>
-configure:4057: result: gcc -E
-configure:4081: gcc -E  conftest.c
-configure:4087: $? = 0
-configure:4119: gcc -E  conftest.c
-conftest.c:11:28: error: ac_nonexistent.h: No such file or directory
-configure:4125: $? = 1
-configure: failed program was:
-| /* confdefs.h.  */
-| 
-| #define PACKAGE_NAME "LibVNCServer"
-| #define PACKAGE_TARNAME "libvncserver"
-| #define PACKAGE_VERSION "0.9.7"
-| #define PACKAGE_STRING "LibVNCServer 0.9.7"
-| #define PACKAGE_BUGREPORT "http://sourceforge.net/projects/libvncserver"
-| #define PACKAGE "LibVNCServer"
-| #define VERSION "0.9.7"
-| /* end confdefs.h.  */
-| #include <ac_nonexistent.h>
-configure:4169: checking for ANSI C header files
-configure:4194: gcc -c -g -O2  conftest.c >&5
-configure:4200: $? = 0
-configure:4204: test -z 
-                        || test ! -s conftest.err
-configure:4207: $? = 0
-configure:4210: test -s conftest.o
-configure:4213: $? = 0
-configure:4299: gcc -o conftest -g -O2   conftest.c  >&5
-conftest.c: In function 'main':
-conftest.c:28: warning: incompatible implicit declaration of built-in function 'exit'
-configure:4302: $? = 0
-configure:4304: ./conftest
-configure:4307: $? = 0
-configure:4322: result: yes
-configure:4346: checking for sys/types.h
-configure:4362: gcc -c -g -O2  conftest.c >&5
-configure:4368: $? = 0
-configure:4372: test -z 
-                        || test ! -s conftest.err
-configure:4375: $? = 0
-configure:4378: test -s conftest.o
-configure:4381: $? = 0
-configure:4392: result: yes
-configure:4346: checking for sys/stat.h
-configure:4362: gcc -c -g -O2  conftest.c >&5
-configure:4368: $? = 0
-configure:4372: test -z 
-                        || test ! -s conftest.err
-configure:4375: $? = 0
-configure:4378: test -s conftest.o
-configure:4381: $? = 0
-configure:4392: result: yes
-configure:4346: checking for stdlib.h
-configure:4362: gcc -c -g -O2  conftest.c >&5
-configure:4368: $? = 0
-configure:4372: test -z 
-                        || test ! -s conftest.err
-configure:4375: $? = 0
-configure:4378: test -s conftest.o
-configure:4381: $? = 0
-configure:4392: result: yes
-configure:4346: checking for string.h
-configure:4362: gcc -c -g -O2  conftest.c >&5
-configure:4368: $? = 0
-configure:4372: test -z 
-                        || test ! -s conftest.err
-configure:4375: $? = 0
-configure:4378: test -s conftest.o
-configure:4381: $? = 0
-configure:4392: result: yes
-configure:4346: checking for memory.h
-configure:4362: gcc -c -g -O2  conftest.c >&5
-configure:4368: $? = 0
-configure:4372: test -z 
-                        || test ! -s conftest.err
-configure:4375: $? = 0
-configure:4378: test -s conftest.o
-configure:4381: $? = 0
-configure:4392: result: yes
-configure:4346: checking for strings.h
-configure:4362: gcc -c -g -O2  conftest.c >&5
-configure:4368: $? = 0
-configure:4372: test -z 
-                        || test ! -s conftest.err
-configure:4375: $? = 0
-configure:4378: test -s conftest.o
-configure:4381: $? = 0
-configure:4392: result: yes
-configure:4346: checking for inttypes.h
-configure:4362: gcc -c -g -O2  conftest.c >&5
-configure:4368: $? = 0
-configure:4372: test -z 
-                        || test ! -s conftest.err
-configure:4375: $? = 0
-configure:4378: test -s conftest.o
-configure:4381: $? = 0
-configure:4392: result: yes
-configure:4346: checking for stdint.h
-configure:4362: gcc -c -g -O2  conftest.c >&5
-configure:4368: $? = 0
-configure:4372: test -z 
-                        || test ! -s conftest.err
-configure:4375: $? = 0
-configure:4378: test -s conftest.o
-configure:4381: $? = 0
-configure:4392: result: yes
-configure:4346: checking for unistd.h
-configure:4362: gcc -c -g -O2  conftest.c >&5
-configure:4368: $? = 0
-configure:4372: test -z 
-                        || test ! -s conftest.err
-configure:4375: $? = 0
-configure:4378: test -s conftest.o
-configure:4381: $? = 0
-configure:4392: result: yes
-configure:4418: checking dlfcn.h usability
-configure:4430: gcc -c -g -O2  conftest.c >&5
-configure:4436: $? = 0
-configure:4440: test -z 
-                        || test ! -s conftest.err
-configure:4443: $? = 0
-configure:4446: test -s conftest.o
-configure:4449: $? = 0
-configure:4459: result: yes
-configure:4463: checking dlfcn.h presence
-configure:4473: gcc -E  conftest.c
-configure:4479: $? = 0
-configure:4499: result: yes
-configure:4534: checking for dlfcn.h
-configure:4541: result: yes
-configure:4606: checking for g++
-configure:4622: found /scratchbox/compilers/bin/g++
-configure:4632: result: g++
-configure:4648: checking for C++ compiler version
-configure:4651: g++ --version </dev/null >&5
-sbox-arm-none-linux-gnueabi-g++ (GCC) 4.2.1
-Copyright (C) 2007 Free Software Foundation, Inc.
-This is free software; see the source for copying conditions.  There is NO
-warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-
-configure:4654: $? = 0
-configure:4656: g++ -v </dev/null >&5
-Using built-in specs.
-Reading specs from /scratchbox/compilers/cs2007q3-glibc2.5-arm7/gcc.specs
-rename spec cpp to old_cpp
-rename spec cc1 to old_cc1
-rename spec link to old_link
-rename spec mflib to old_mflib
-Target: arm-none-linux-gnueabi
-Configured with: /home/jhakala/cs2007q3-sb7/arm/src/gcc-4.2/configure --build=i686-pc-linux-gnu --host=i686-pc-linux-gnu --target=arm-none-linux-gnueabi --enable-threads --disable-libmudflap --disable-libssp --disable-libgomp --disable-libstdcxx-pch --with-gnu-as --with-gnu-ld --enable-languages=c,c++ --enable-shared --enable-symvers=gnu --enable-__cxa_atexit --disable-nls --prefix=/opt/maemo --with-sysroot=/opt/maemo/arm-none-linux-gnueabi/libc --with-build-sysroot=/home/jhakala/cs2007q3-sb7/arm/install/arm-none-linux-gnueabi/libc --with-build-time-tools=/home/jhakala/cs2007q3-sb7/arm/install/arm-none-linux-gnueabi/bin
-Thread model: posix
-gcc version 4.2.1
-configure:4659: $? = 0
-configure:4661: g++ -V </dev/null >&5
-sbox-arm-none-linux-gnueabi-g++: argument to '-V' missing
-
-configure:4664: $? = 1
-configure:4667: checking whether we are using the GNU C++ compiler
-configure:4691: g++ -c   conftest.cc >&5
-configure:4697: $? = 0
-configure:4701: test -z 
-                        || test ! -s conftest.err
-configure:4704: $? = 0
-configure:4707: test -s conftest.o
-configure:4710: $? = 0
-configure:4723: result: yes
-configure:4729: checking whether g++ accepts -g
-configure:4750: g++ -c -g  conftest.cc >&5
-configure:4756: $? = 0
-configure:4760: test -z 
-                        || test ! -s conftest.err
-configure:4763: $? = 0
-configure:4766: test -s conftest.o
-configure:4769: $? = 0
-configure:4780: result: yes
-configure:4822: g++ -c -g -O2  conftest.cc >&5
-configure:4828: $? = 0
-configure:4832: test -z 
-                        || test ! -s conftest.err
-configure:4835: $? = 0
-configure:4838: test -s conftest.o
-configure:4841: $? = 0
-configure:4867: g++ -c -g -O2  conftest.cc >&5
-conftest.cc: In function 'int main()':
-conftest.cc:26: error: 'exit' was not declared in this scope
-configure:4873: $? = 1
-configure: failed program was:
-| /* confdefs.h.  */
-| 
-| #define PACKAGE_NAME "LibVNCServer"
-| #define PACKAGE_TARNAME "libvncserver"
-| #define PACKAGE_VERSION "0.9.7"
-| #define PACKAGE_STRING "LibVNCServer 0.9.7"
-| #define PACKAGE_BUGREPORT "http://sourceforge.net/projects/libvncserver"
-| #define PACKAGE "LibVNCServer"
-| #define VERSION "0.9.7"
-| #define STDC_HEADERS 1
-| #define HAVE_SYS_TYPES_H 1
-| #define HAVE_SYS_STAT_H 1
-| #define HAVE_STDLIB_H 1
-| #define HAVE_STRING_H 1
-| #define HAVE_MEMORY_H 1
-| #define HAVE_STRINGS_H 1
-| #define HAVE_INTTYPES_H 1
-| #define HAVE_STDINT_H 1
-| #define HAVE_UNISTD_H 1
-| #define HAVE_DLFCN_H 1
-| /* end confdefs.h.  */
-| 
-| int
-| main ()
-| {
-| exit (42);
-|   ;
-|   return 0;
-| }
-configure:4822: g++ -c -g -O2  conftest.cc >&5
-conftest.cc:22: error: 'void std::exit(int)' should have been declared inside 'std'
-configure:4828: $? = 1
-configure: failed program was:
-| /* confdefs.h.  */
-| 
-| #define PACKAGE_NAME "LibVNCServer"
-| #define PACKAGE_TARNAME "libvncserver"
-| #define PACKAGE_VERSION "0.9.7"
-| #define PACKAGE_STRING "LibVNCServer 0.9.7"
-| #define PACKAGE_BUGREPORT "http://sourceforge.net/projects/libvncserver"
-| #define PACKAGE "LibVNCServer"
-| #define VERSION "0.9.7"
-| #define STDC_HEADERS 1
-| #define HAVE_SYS_TYPES_H 1
-| #define HAVE_SYS_STAT_H 1
-| #define HAVE_STDLIB_H 1
-| #define HAVE_STRING_H 1
-| #define HAVE_MEMORY_H 1
-| #define HAVE_STRINGS_H 1
-| #define HAVE_INTTYPES_H 1
-| #define HAVE_STDINT_H 1
-| #define HAVE_UNISTD_H 1
-| #define HAVE_DLFCN_H 1
-| /* end confdefs.h.  */
-| extern "C" void std::exit (int) throw (); using std::exit;
-| #include <stdlib.h>
-| int
-| main ()
-| {
-| exit (42);
-|   ;
-|   return 0;
-| }
-configure:4822: g++ -c -g -O2  conftest.cc >&5
-conftest.cc:22: error: 'void std::exit(int)' should have been declared inside 'std'
-In file included from conftest.cc:23:
-/usr/include/stdlib.h:646: error: declaration of 'void std::exit(int) throw ()' throws different exceptions
-conftest.cc:22: error: from previous declaration 'void std::exit(int)'
-configure:4828: $? = 1
-configure: failed program was:
-| /* confdefs.h.  */
-| 
-| #define PACKAGE_NAME "LibVNCServer"
-| #define PACKAGE_TARNAME "libvncserver"
-| #define PACKAGE_VERSION "0.9.7"
-| #define PACKAGE_STRING "LibVNCServer 0.9.7"
-| #define PACKAGE_BUGREPORT "http://sourceforge.net/projects/libvncserver"
-| #define PACKAGE "LibVNCServer"
-| #define VERSION "0.9.7"
-| #define STDC_HEADERS 1
-| #define HAVE_SYS_TYPES_H 1
-| #define HAVE_SYS_STAT_H 1
-| #define HAVE_STDLIB_H 1
-| #define HAVE_STRING_H 1
-| #define HAVE_MEMORY_H 1
-| #define HAVE_STRINGS_H 1
-| #define HAVE_INTTYPES_H 1
-| #define HAVE_STDINT_H 1
-| #define HAVE_UNISTD_H 1
-| #define HAVE_DLFCN_H 1
-| /* end confdefs.h.  */
-| extern "C" void std::exit (int); using std::exit;
-| #include <stdlib.h>
-| int
-| main ()
-| {
-| exit (42);
-|   ;
-|   return 0;
-| }
-configure:4822: g++ -c -g -O2  conftest.cc >&5
-configure:4828: $? = 0
-configure:4832: test -z 
-                        || test ! -s conftest.err
-configure:4835: $? = 0
-configure:4838: test -s conftest.o
-configure:4841: $? = 0
-configure:4867: g++ -c -g -O2  conftest.cc >&5
-configure:4873: $? = 0
-configure:4877: test -z 
-                        || test ! -s conftest.err
-configure:4880: $? = 0
-configure:4883: test -s conftest.o
-configure:4886: $? = 0
-configure:4911: checking dependency style of g++
-configure:5001: result: gcc3
-configure:5028: checking how to run the C++ preprocessor
-configure:5059: g++ -E  conftest.cc
-configure:5065: $? = 0
-configure:5097: g++ -E  conftest.cc
-conftest.cc:25:28: error: ac_nonexistent.h: No such file or directory
-configure:5103: $? = 1
-configure: failed program was:
-| /* confdefs.h.  */
-| 
-| #define PACKAGE_NAME "LibVNCServer"
-| #define PACKAGE_TARNAME "libvncserver"
-| #define PACKAGE_VERSION "0.9.7"
-| #define PACKAGE_STRING "LibVNCServer 0.9.7"
-| #define PACKAGE_BUGREPORT "http://sourceforge.net/projects/libvncserver"
-| #define PACKAGE "LibVNCServer"
-| #define VERSION "0.9.7"
-| #define STDC_HEADERS 1
-| #define HAVE_SYS_TYPES_H 1
-| #define HAVE_SYS_STAT_H 1
-| #define HAVE_STDLIB_H 1
-| #define HAVE_STRING_H 1
-| #define HAVE_MEMORY_H 1
-| #define HAVE_STRINGS_H 1
-| #define HAVE_INTTYPES_H 1
-| #define HAVE_STDINT_H 1
-| #define HAVE_UNISTD_H 1
-| #define HAVE_DLFCN_H 1
-| #ifdef __cplusplus
-| extern "C" void exit (int) throw ();
-| #endif
-| /* end confdefs.h.  */
-| #include <ac_nonexistent.h>
-configure:5142: result: g++ -E
-configure:5166: g++ -E  conftest.cc
-configure:5172: $? = 0
-configure:5204: g++ -E  conftest.cc
-conftest.cc:25:28: error: ac_nonexistent.h: No such file or directory
-configure:5210: $? = 1
-configure: failed program was:
-| /* confdefs.h.  */
-| 
-| #define PACKAGE_NAME "LibVNCServer"
-| #define PACKAGE_TARNAME "libvncserver"
-| #define PACKAGE_VERSION "0.9.7"
-| #define PACKAGE_STRING "LibVNCServer 0.9.7"
-| #define PACKAGE_BUGREPORT "http://sourceforge.net/projects/libvncserver"
-| #define PACKAGE "LibVNCServer"
-| #define VERSION "0.9.7"
-| #define STDC_HEADERS 1
-| #define HAVE_SYS_TYPES_H 1
-| #define HAVE_SYS_STAT_H 1
-| #define HAVE_STDLIB_H 1
-| #define HAVE_STRING_H 1
-| #define HAVE_MEMORY_H 1
-| #define HAVE_STRINGS_H 1
-| #define HAVE_INTTYPES_H 1
-| #define HAVE_STDINT_H 1
-| #define HAVE_UNISTD_H 1
-| #define HAVE_DLFCN_H 1
-| #ifdef __cplusplus
-| extern "C" void exit (int) throw ();
-| #endif
-| /* end confdefs.h.  */
-| #include <ac_nonexistent.h>
-configure:5307: checking for g77
-configure:5336: result: no
-configure:5307: checking for f77
-configure:5336: result: no
-configure:5307: checking for xlf
-configure:5336: result: no
-configure:5307: checking for frt
-configure:5336: result: no
-configure:5307: checking for pgf77
-configure:5336: result: no
-configure:5307: checking for fort77
-configure:5336: result: no
-configure:5307: checking for fl32
-configure:5336: result: no
-configure:5307: checking for af77
-configure:5336: result: no
-configure:5307: checking for f90
-configure:5336: result: no
-configure:5307: checking for xlf90
-configure:5336: result: no
-configure:5307: checking for pgf90
-configure:5336: result: no
-configure:5307: checking for epcf90
-configure:5336: result: no
-configure:5307: checking for f95
-configure:5336: result: no
-configure:5307: checking for fort
-configure:5336: result: no
-configure:5307: checking for xlf95
-configure:5336: result: no
-configure:5307: checking for ifc
-configure:5336: result: no
-configure:5307: checking for efc
-configure:5336: result: no
-configure:5307: checking for pgf95
-configure:5336: result: no
-configure:5307: checking for lf95
-configure:5336: result: no
-configure:5307: checking for gfortran
-configure:5336: result: no
-configure:5351: checking for Fortran 77 compiler version
-configure:5351:  --version </dev/null >&5
-./configure: line 1: --version: command not found
-configure:5354: $? = 127
-configure:5356:  -v </dev/null >&5
-./configure: line 1: -v: command not found
-configure:5359: $? = 127
-configure:5361:  -V </dev/null >&5
-./configure: line 1: -V: command not found
-configure:5364: $? = 127
-configure:5372: checking whether we are using the GNU Fortran 77 compiler
-configure:5386:  -c  conftest.F >&5
-./configure: line 1: -c: command not found
-configure:5392: $? = 127
-configure: failed program was:
-|       program main
-| #ifndef __GNUC__
-|        choke me
-| #endif
-| 
-|       end
-configure:5418: result: no
-configure:5424: checking whether  accepts -g
-configure:5436:  -c -g conftest.f >&5
-./configure: line 1: -c: command not found
-configure:5442: $? = 127
-configure: failed program was:
-|       program main
-| 
-|       end
-configure:5467: result: no
-configure:5497: checking the maximum length of command line arguments
-configure:5606: result: 32768
-configure:5617: checking command to parse /scratchbox/compilers/bin/nm -B output from gcc object
-configure:5722: gcc -c -g -O2  conftest.c >&5
-configure:5725: $? = 0
-configure:5729: /scratchbox/compilers/bin/nm -B conftest.o \| sed -n -e 's/^.*[        ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[         ][      ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p' \> conftest.nm
-configure:5732: $? = 0
-configure:5784: gcc -o conftest -g -O2   conftest.c conftstm.o >&5
-configure:5787: $? = 0
-configure:5825: result: ok
-configure:5829: checking for objdir
-configure:5844: result: .libs
-configure:5934: checking for ar
-configure:5950: found /scratchbox/compilers/bin/ar
-configure:5961: result: ar
-configure:6014: checking for ranlib
-configure:6030: found /scratchbox/compilers/bin/ranlib
-configure:6041: result: ranlib
-configure:6094: checking for strip
-configure:6110: found /scratchbox/compilers/bin/strip
-configure:6121: result: strip
-configure:6397: checking if gcc supports -fno-rtti -fno-exceptions
-configure:6418: gcc -c -g -O2  -fno-rtti -fno-exceptions conftest.c >&5
-cc1: warning: command line option "-fno-rtti" is valid for C++/ObjC++ but not for C
-cc1: warning: command line option "-fno-rtti" is valid for C++/ObjC++ but not for C
-configure:6422: $? = 0
-configure:6432: result: no
-configure:6447: checking for gcc option to produce PIC
-configure:6657: result: -fPIC
-configure:6665: checking if gcc PIC flag -fPIC works
-configure:6686: gcc -c -g -O2  -fPIC -DPIC conftest.c >&5
-configure:6690: $? = 0
-configure:6700: result: yes
-configure:6728: checking if gcc static flag -static works
-configure:6756: result: yes
-configure:6766: checking if gcc supports -c -o file.o
-configure:6790: gcc -c -g -O2  -o out/conftest2.o conftest.c >&5
-configure:6794: $? = 0
-configure:6813: result: yes
-configure:6839: checking whether the gcc linker (/scratchbox/compilers/cs2007q3-glibc2.5-arm7/arm-none-linux-gnueabi/bin/ld) supports shared libraries
-configure:7797: result: yes
-configure:7818: checking whether -lc should be explicitly linked in
-configure:7823: gcc -c -g -O2  conftest.c >&5
-configure:7826: $? = 0
-configure:7841: gcc -shared conftest.o  -v -Wl,-soname -Wl,conftest -o conftest 2\>\&1 \| grep  -lc  \>/dev/null 2\>\&1
-configure:7844: $? = 0
-configure:7856: result: no
-configure:7864: checking dynamic linker characteristics
-configure:8452: result: GNU/Linux ld.so
-configure:8461: checking how to hardcode library paths into programs
-configure:8486: result: immediate
-configure:8500: checking whether stripping libraries is possible
-configure:8505: result: yes
-configure:9339: checking if libtool supports shared libraries
-configure:9341: result: yes
-configure:9344: checking whether to build shared libraries
-configure:9365: result: yes
-configure:9368: checking whether to build static libraries
-configure:9372: result: yes
-configure:9464: creating libtool
-configure:10052: checking for ld used by g++
-configure:10119: result: /scratchbox/compilers/cs2007q3-glibc2.5-arm7/arm-none-linux-gnueabi/bin/ld
-configure:10128: checking if the linker (/scratchbox/compilers/cs2007q3-glibc2.5-arm7/arm-none-linux-gnueabi/bin/ld) is GNU ld
-configure:10143: result: yes
-configure:10194: checking whether the g++ linker (/scratchbox/compilers/cs2007q3-glibc2.5-arm7/arm-none-linux-gnueabi/bin/ld) supports shared libraries
-configure:11132: result: yes
-configure:11154: g++ -c -g -O2  conftest.cpp >&5
-configure:11157: $? = 0
-configure:11276: checking for g++ option to produce PIC
-configure:11550: result: -fPIC
-configure:11558: checking if g++ PIC flag -fPIC works
-configure:11579: g++ -c -g -O2  -fPIC -DPIC conftest.cpp >&5
-configure:11583: $? = 0
-configure:11593: result: yes
-configure:11621: checking if g++ static flag -static works
-configure:11649: result: yes
-configure:11659: checking if g++ supports -c -o file.o
-configure:11683: g++ -c -g -O2  -o out/conftest2.o conftest.cpp >&5
-configure:11687: $? = 0
-configure:11706: result: yes
-configure:11732: checking whether the g++ linker (/scratchbox/compilers/cs2007q3-glibc2.5-arm7/arm-none-linux-gnueabi/bin/ld) supports shared libraries
-configure:11757: result: yes
-configure:11824: checking dynamic linker characteristics
-configure:12412: result: GNU/Linux ld.so
-configure:12421: checking how to hardcode library paths into programs
-configure:12446: result: immediate
-configure:18602: checking for ar
-configure:18621: found /scratchbox/compilers/bin/ar
-configure:18634: result: /scratchbox/compilers/bin/ar
-configure:18785: checking thenonexistentheader.h usability
-configure:18797: gcc -c -g -O2  conftest.c >&5
-conftest.c:60:34: error: thenonexistentheader.h: No such file or directory
-configure:18803: $? = 1
-configure: failed program was:
-| /* confdefs.h.  */
-| 
-| #define PACKAGE_NAME "LibVNCServer"
-| #define PACKAGE_TARNAME "libvncserver"
-| #define PACKAGE_VERSION "0.9.7"
-| #define PACKAGE_STRING "LibVNCServer 0.9.7"
-| #define PACKAGE_BUGREPORT "http://sourceforge.net/projects/libvncserver"
-| #define PACKAGE "LibVNCServer"
-| #define VERSION "0.9.7"
-| #define STDC_HEADERS 1
-| #define HAVE_SYS_TYPES_H 1
-| #define HAVE_SYS_STAT_H 1
-| #define HAVE_STDLIB_H 1
-| #define HAVE_STRING_H 1
-| #define HAVE_MEMORY_H 1
-| #define HAVE_STRINGS_H 1
-| #define HAVE_INTTYPES_H 1
-| #define HAVE_STDINT_H 1
-| #define HAVE_UNISTD_H 1
-| #define HAVE_DLFCN_H 1
-| #ifdef __cplusplus
-| extern "C" void exit (int) throw ();
-| #endif
-| #define ALLOW24BPP 1
-| /* end confdefs.h.  */
-| #include <stdio.h>
-| #if HAVE_SYS_TYPES_H
-| # include <sys/types.h>
-| #endif
-| #if HAVE_SYS_STAT_H
-| # include <sys/stat.h>
-| #endif
-| #if STDC_HEADERS
-| # include <stdlib.h>
-| # include <stddef.h>
-| #else
-| # if HAVE_STDLIB_H
-| #  include <stdlib.h>
-| # endif
-| #endif
-| #if HAVE_STRING_H
-| # if !STDC_HEADERS && HAVE_MEMORY_H
-| #  include <memory.h>
-| # endif
-| # include <string.h>
-| #endif
-| #if HAVE_STRINGS_H
-| # include <strings.h>
-| #endif
-| #if HAVE_INTTYPES_H
-| # include <inttypes.h>
-| #else
-| # if HAVE_STDINT_H
-| #  include <stdint.h>
-| # endif
-| #endif
-| #if HAVE_UNISTD_H
-| # include <unistd.h>
-| #endif
-| #include <thenonexistentheader.h>
-configure:18826: result: no
-configure:18830: checking thenonexistentheader.h presence
-configure:18840: gcc -E  conftest.c
-conftest.c:26:34: error: thenonexistentheader.h: No such file or directory
-configure:18846: $? = 1
-configure: failed program was:
-| /* confdefs.h.  */
-| 
-| #define PACKAGE_NAME "LibVNCServer"
-| #define PACKAGE_TARNAME "libvncserver"
-| #define PACKAGE_VERSION "0.9.7"
-| #define PACKAGE_STRING "LibVNCServer 0.9.7"
-| #define PACKAGE_BUGREPORT "http://sourceforge.net/projects/libvncserver"
-| #define PACKAGE "LibVNCServer"
-| #define VERSION "0.9.7"
-| #define STDC_HEADERS 1
-| #define HAVE_SYS_TYPES_H 1
-| #define HAVE_SYS_STAT_H 1
-| #define HAVE_STDLIB_H 1
-| #define HAVE_STRING_H 1
-| #define HAVE_MEMORY_H 1
-| #define HAVE_STRINGS_H 1
-| #define HAVE_INTTYPES_H 1
-| #define HAVE_STDINT_H 1
-| #define HAVE_UNISTD_H 1
-| #define HAVE_DLFCN_H 1
-| #ifdef __cplusplus
-| extern "C" void exit (int) throw ();
-| #endif
-| #define ALLOW24BPP 1
-| /* end confdefs.h.  */
-| #include <thenonexistentheader.h>
-configure:18866: result: no
-configure:18901: checking for thenonexistentheader.h
-configure:18908: result: no
-configure:18920: checking for X
-configure:19025: gcc -E  conftest.c
-configure:19031: $? = 0
-configure:19081: gcc -o conftest -g -O2   conftest.c -lXt  >&5
-configure:19087: $? = 0
-configure:19091: test -z 
-                        || test ! -s conftest.err
-configure:19094: $? = 0
-configure:19097: test -s conftest
-configure:19100: $? = 0
-configure:19150: result: libraries , headers 
-configure:19322: gcc -o conftest -g -O2   conftest.c   -lX11 >&5
-configure:19328: $? = 0
-configure:19332: test -z 
-                        || test ! -s conftest.err
-configure:19335: $? = 0
-configure:19338: test -s conftest
-configure:19341: $? = 0
-configure:19499: checking for gethostbyname
-configure:19556: gcc -o conftest -g -O2   conftest.c  >&5
-configure:19562: $? = 0
-configure:19566: test -z 
-                        || test ! -s conftest.err
-configure:19569: $? = 0
-configure:19572: test -s conftest
-configure:19575: $? = 0
-configure:19587: result: yes
-configure:19738: checking for connect
-configure:19795: gcc -o conftest -g -O2   conftest.c  >&5
-configure:19801: $? = 0
-configure:19805: test -z 
-                        || test ! -s conftest.err
-configure:19808: $? = 0
-configure:19811: test -s conftest
-configure:19814: $? = 0
-configure:19826: result: yes
-configure:19901: checking for remove
-configure:19958: gcc -o conftest -g -O2   conftest.c  >&5
-configure:19964: $? = 0
-configure:19968: test -z 
-                        || test ! -s conftest.err
-configure:19971: $? = 0
-configure:19974: test -s conftest
-configure:19977: $? = 0
-configure:19989: result: yes
-configure:20064: checking for shmat
-configure:20121: gcc -o conftest -g -O2   conftest.c  >&5
-configure:20127: $? = 0
-configure:20131: test -z 
-                        || test ! -s conftest.err
-configure:20134: $? = 0
-configure:20137: test -s conftest
-configure:20140: $? = 0
-configure:20152: result: yes
-configure:20236: checking for IceConnectionNumber in -lICE
-configure:20266: gcc -o conftest -g -O2   conftest.c -lICE   >&5
-configure:20272: $? = 0
-configure:20276: test -z 
-                        || test ! -s conftest.err
-configure:20279: $? = 0
-configure:20282: test -s conftest
-configure:20285: $? = 0
-configure:20298: result: yes
-configure:20462: checking for XGetImage in -lX11
-configure:20492: gcc -o conftest -g -O2   conftest.c -lX11   -lX11   >&5
-configure:20498: $? = 0
-configure:20502: test -z 
-                        || test ! -s conftest.err
-configure:20505: $? = 0
-configure:20508: test -s conftest
-configure:20511: $? = 0
-configure:20524: result: yes
-configure:23047: checking jpeglib.h usability
-configure:23059: gcc -c -g -O2  conftest.c >&5
-configure:23065: $? = 0
-configure:23069: test -z 
-                        || test ! -s conftest.err
-configure:23072: $? = 0
-configure:23075: test -s conftest.o
-configure:23078: $? = 0
-configure:23088: result: yes
-configure:23092: checking jpeglib.h presence
-configure:23102: gcc -E  conftest.c
-configure:23108: $? = 0
-configure:23128: result: yes
-configure:23163: checking for jpeglib.h
-configure:23170: result: yes
-configure:23181: checking for jpeg_CreateCompress in -ljpeg
-configure:23211: gcc -o conftest -g -O2   conftest.c -ljpeg   >&5
-configure:23217: $? = 0
-configure:23221: test -z 
-                        || test ! -s conftest.err
-configure:23224: $? = 0
-configure:23227: test -s conftest
-configure:23230: $? = 0
-configure:23243: result: yes
-configure:23328: checking zlib.h usability
-configure:23340: gcc -c -g -O2  conftest.c >&5
-configure:23346: $? = 0
-configure:23350: test -z 
-                        || test ! -s conftest.err
-configure:23353: $? = 0
-configure:23356: test -s conftest.o
-configure:23359: $? = 0
-configure:23369: result: yes
-configure:23373: checking zlib.h presence
-configure:23383: gcc -E  conftest.c
-configure:23389: $? = 0
-configure:23409: result: yes
-configure:23444: checking for zlib.h
-configure:23451: result: yes
-configure:23462: checking for deflate in -lz
-configure:23492: gcc -o conftest -g -O2   conftest.c -lz  -ljpeg  >&5
-configure:23498: $? = 0
-configure:23502: test -z 
-                        || test ! -s conftest.err
-configure:23505: $? = 0
-configure:23508: test -s conftest
-configure:23511: $? = 0
-configure:23524: result: yes
-configure:23587: checking pthread.h usability
-configure:23599: gcc -c -g -O2  conftest.c >&5
-configure:23605: $? = 0
-configure:23609: test -z 
-                        || test ! -s conftest.err
-configure:23612: $? = 0
-configure:23615: test -s conftest.o
-configure:23618: $? = 0
-configure:23628: result: yes
-configure:23632: checking pthread.h presence
-configure:23642: gcc -E  conftest.c
-configure:23648: $? = 0
-configure:23668: result: yes
-configure:23703: checking for pthread.h
-configure:23710: result: yes
-configure:23721: checking for pthread_mutex_lock in -lpthread
-configure:23751: gcc -o conftest -g -O2   conftest.c -lpthread  -lz -ljpeg  >&5
-configure:23757: $? = 0
-configure:23761: test -z 
-                        || test ! -s conftest.err
-configure:23764: $? = 0
-configure:23767: test -s conftest
-configure:23770: $? = 0
-configure:23783: result: yes
-configure:23794: checking for pthread_mutex_lock in -lpthread
-configure:23856: result: yes
-configure:23956: checking for ANSI C header files
-configure:24109: result: yes
-configure:24143: checking arpa/inet.h usability
-configure:24155: gcc -c -g -O2  conftest.c >&5
-configure:24161: $? = 0
-configure:24165: test -z 
-                        || test ! -s conftest.err
-configure:24168: $? = 0
-configure:24171: test -s conftest.o
-configure:24174: $? = 0
-configure:24184: result: yes
-configure:24188: checking arpa/inet.h presence
-configure:24198: gcc -E  conftest.c
-configure:24204: $? = 0
-configure:24224: result: yes
-configure:24259: checking for arpa/inet.h
-configure:24266: result: yes
-configure:24143: checking fcntl.h usability
-configure:24155: gcc -c -g -O2  conftest.c >&5
-configure:24161: $? = 0
-configure:24165: test -z 
-                        || test ! -s conftest.err
-configure:24168: $? = 0
-configure:24171: test -s conftest.o
-configure:24174: $? = 0
-configure:24184: result: yes
-configure:24188: checking fcntl.h presence
-configure:24198: gcc -E  conftest.c
-configure:24204: $? = 0
-configure:24224: result: yes
-configure:24259: checking for fcntl.h
-configure:24266: result: yes
-configure:24143: checking netdb.h usability
-configure:24155: gcc -c -g -O2  conftest.c >&5
-configure:24161: $? = 0
-configure:24165: test -z 
-                        || test ! -s conftest.err
-configure:24168: $? = 0
-configure:24171: test -s conftest.o
-configure:24174: $? = 0
-configure:24184: result: yes
-configure:24188: checking netdb.h presence
-configure:24198: gcc -E  conftest.c
-configure:24204: $? = 0
-configure:24224: result: yes
-configure:24259: checking for netdb.h
-configure:24266: result: yes
-configure:24143: checking netinet/in.h usability
-configure:24155: gcc -c -g -O2  conftest.c >&5
-configure:24161: $? = 0
-configure:24165: test -z 
-                        || test ! -s conftest.err
-configure:24168: $? = 0
-configure:24171: test -s conftest.o
-configure:24174: $? = 0
-configure:24184: result: yes
-configure:24188: checking netinet/in.h presence
-configure:24198: gcc -E  conftest.c
-configure:24204: $? = 0
-configure:24224: result: yes
-configure:24259: checking for netinet/in.h
-configure:24266: result: yes
-configure:24134: checking for stdlib.h
-configure:24139: result: yes
-configure:24134: checking for string.h
-configure:24139: result: yes
-configure:24143: checking sys/socket.h usability
-configure:24155: gcc -c -g -O2  conftest.c >&5
-configure:24161: $? = 0
-configure:24165: test -z 
-                        || test ! -s conftest.err
-configure:24168: $? = 0
-configure:24171: test -s conftest.o
-configure:24174: $? = 0
-configure:24184: result: yes
-configure:24188: checking sys/socket.h presence
-configure:24198: gcc -E  conftest.c
-configure:24204: $? = 0
-configure:24224: result: yes
-configure:24259: checking for sys/socket.h
-configure:24266: result: yes
-configure:24143: checking sys/time.h usability
-configure:24155: gcc -c -g -O2  conftest.c >&5
-configure:24161: $? = 0
-configure:24165: test -z 
-                        || test ! -s conftest.err
-configure:24168: $? = 0
-configure:24171: test -s conftest.o
-configure:24174: $? = 0
-configure:24184: result: yes
-configure:24188: checking sys/time.h presence
-configure:24198: gcc -E  conftest.c
-configure:24204: $? = 0
-configure:24224: result: yes
-configure:24259: checking for sys/time.h
-configure:24266: result: yes
-configure:24143: checking sys/timeb.h usability
-configure:24155: gcc -c -g -O2  conftest.c >&5
-configure:24161: $? = 0
-configure:24165: test -z 
-                        || test ! -s conftest.err
-configure:24168: $? = 0
-configure:24171: test -s conftest.o
-configure:24174: $? = 0
-configure:24184: result: yes
-configure:24188: checking sys/timeb.h presence
-configure:24198: gcc -E  conftest.c
-configure:24204: $? = 0
-configure:24224: result: yes
-configure:24259: checking for sys/timeb.h
-configure:24266: result: yes
-configure:24143: checking syslog.h usability
-configure:24155: gcc -c -g -O2  conftest.c >&5
-configure:24161: $? = 0
-configure:24165: test -z 
-                        || test ! -s conftest.err
-configure:24168: $? = 0
-configure:24171: test -s conftest.o
-configure:24174: $? = 0
-configure:24184: result: yes
-configure:24188: checking syslog.h presence
-configure:24198: gcc -E  conftest.c
-configure:24204: $? = 0
-configure:24224: result: yes
-configure:24259: checking for syslog.h
-configure:24266: result: yes
-configure:24134: checking for unistd.h
-configure:24139: result: yes
-configure:24440: checking for an ANSI C-conforming const
-configure:24507: gcc -c -g -O2  conftest.c >&5
-configure:24513: $? = 0
-configure:24517: test -z 
-                        || test ! -s conftest.err
-configure:24520: $? = 0
-configure:24523: test -s conftest.o
-configure:24526: $? = 0
-configure:24537: result: yes
-configure:24547: checking for inline
-configure:24568: gcc -c -g -O2  conftest.c >&5
-configure:24574: $? = 0
-configure:24578: test -z 
-                        || test ! -s conftest.err
-configure:24581: $? = 0
-configure:24584: test -s conftest.o
-configure:24587: $? = 0
-configure:24599: result: inline
-configure:24618: checking whether byte ordering is bigendian
-configure:24645: gcc -c -g -O2  conftest.c >&5
-configure:24651: $? = 0
-configure:24655: test -z 
-                        || test ! -s conftest.err
-configure:24658: $? = 0
-configure:24661: test -s conftest.o
-configure:24664: $? = 0
-configure:24688: gcc -c -g -O2  conftest.c >&5
-conftest.c: In function 'main':
-conftest.c:50: error: 'not' undeclared (first use in this function)
-conftest.c:50: error: (Each undeclared identifier is reported only once
-conftest.c:50: error: for each function it appears in.)
-conftest.c:50: error: expected ';' before 'big'
-configure:24694: $? = 1
-configure: failed program was:
-| /* confdefs.h.  */
-| 
-| #define PACKAGE_NAME "LibVNCServer"
-| #define PACKAGE_TARNAME "libvncserver"
-| #define PACKAGE_VERSION "0.9.7"
-| #define PACKAGE_STRING "LibVNCServer 0.9.7"
-| #define PACKAGE_BUGREPORT "http://sourceforge.net/projects/libvncserver"
-| #define PACKAGE "LibVNCServer"
-| #define VERSION "0.9.7"
-| #define STDC_HEADERS 1
-| #define HAVE_SYS_TYPES_H 1
-| #define HAVE_SYS_STAT_H 1
-| #define HAVE_STDLIB_H 1
-| #define HAVE_STRING_H 1
-| #define HAVE_MEMORY_H 1
-| #define HAVE_STRINGS_H 1
-| #define HAVE_INTTYPES_H 1
-| #define HAVE_STDINT_H 1
-| #define HAVE_UNISTD_H 1
-| #define HAVE_DLFCN_H 1
-| #ifdef __cplusplus
-| extern "C" void exit (int) throw ();
-| #endif
-| #define ALLOW24BPP 1
-| #define HAVE_X11 1
-| #define HAVE_LIBJPEG 1
-| #define HAVE_LIBZ 1
-| #define HAVE_LIBPTHREAD 1
-| #define WITH_TIGHTVNC_FILETRANSFER 1
-| #define STDC_HEADERS 1
-| #define HAVE_ARPA_INET_H 1
-| #define HAVE_FCNTL_H 1
-| #define HAVE_NETDB_H 1
-| #define HAVE_NETINET_IN_H 1
-| #define HAVE_STDLIB_H 1
-| #define HAVE_STRING_H 1
-| #define HAVE_SYS_SOCKET_H 1
-| #define HAVE_SYS_TIME_H 1
-| #define HAVE_SYS_TIMEB_H 1
-| #define HAVE_SYSLOG_H 1
-| #define HAVE_UNISTD_H 1
-| /* end confdefs.h.  */
-| #include <sys/types.h>
-| #include <sys/param.h>
-| 
-| int
-| main ()
-| {
-| #if BYTE_ORDER != BIG_ENDIAN
-|  not big endian
-| #endif
-| 
-|   ;
-|   return 0;
-| }
-configure:24829: result: no
-configure:24848: checking for size_t
-configure:24872: gcc -c -g -O2  conftest.c >&5
-configure:24878: $? = 0
-configure:24882: test -z 
-                        || test ! -s conftest.err
-configure:24885: $? = 0
-configure:24888: test -s conftest.o
-configure:24891: $? = 0
-configure:24902: result: yes
-configure:24914: checking whether time.h and sys/time.h may both be included
-configure:24939: gcc -c -g -O2  conftest.c >&5
-configure:24945: $? = 0
-configure:24949: test -z 
-                        || test ! -s conftest.err
-configure:24952: $? = 0
-configure:24955: test -s conftest.o
-configure:24958: $? = 0
-configure:24969: result: yes
-configure:24979: checking for sys/wait.h that is POSIX.1 compatible
-configure:25010: gcc -c -g -O2  conftest.c >&5
-configure:25016: $? = 0
-configure:25020: test -z 
-                        || test ! -s conftest.err
-configure:25023: $? = 0
-configure:25026: test -s conftest.o
-configure:25029: $? = 0
-configure:25040: result: yes
-configure:25050: checking for socklen_t
-configure:25073: gcc -c -g -O2  conftest.c >&5
-configure:25079: $? = 0
-configure:25083: test -z 
-                        || test ! -s conftest.err
-configure:25086: $? = 0
-configure:25089: test -s conftest.o
-configure:25092: $? = 0
-configure:25104: result: yes
-configure:25118: checking for stdint-types....
-configure:25128: result: "(putting them into rfb/rfbint.h)"
-configure:25141: checking for uintptr_t
-configure:25166: gcc -c -g -O2  conftest.c >&5
-configure:25172: $? = 0
-configure:25176: test -z 
-                        || test ! -s conftest.err
-configure:25179: $? = 0
-configure:25182: test -s conftest.o
-configure:25185: $? = 0
-configure:25196: result: yes
-configure:25204: checking for uint64_t
-configure:25229: gcc -c -g -O2  conftest.c >&5
-configure:25235: $? = 0
-configure:25239: test -z 
-                        || test ! -s conftest.err
-configure:25242: $? = 0
-configure:25245: test -s conftest.o
-configure:25248: $? = 0
-configure:25259: result: yes
-configure:25267: result: ... seen our uintptr_t in stdint.h (uint64_t too)
-configure:25907: result: creating rfb/rfbint.h : _RFB_RFBINT_H
-configure:25934: checking for int_least32_t
-configure:25959: gcc -c -g -O2  conftest.c >&5
-configure:25965: $? = 0
-configure:25969: test -z 
-                        || test ! -s conftest.err
-configure:25972: $? = 0
-configure:25975: test -s conftest.o
-configure:25978: $? = 0
-configure:25989: result: yes
-configure:25992: checking for int_fast32_t
-configure:26017: gcc -c -g -O2  conftest.c >&5
-configure:26023: $? = 0
-configure:26027: test -z 
-                        || test ! -s conftest.err
-configure:26030: $? = 0
-configure:26033: test -s conftest.o
-configure:26036: $? = 0
-configure:26047: result: yes
-configure:26057: result: ..adding include stdint.h
-configure:26067: result: ... seen good stdint.h inttypes
-configure:26205: result: ... seen good uint64_t
-configure:26425: result: ... DONE rfb/rfbint.h
-configure:26434: checking for in_addr_t
-configure:26457: gcc -c -g -O2  conftest.c >&5
-configure:26463: $? = 0
-configure:26467: test -z 
-                        || test ! -s conftest.err
-configure:26470: $? = 0
-configure:26473: test -s conftest.o
-configure:26476: $? = 0
-configure:26488: result: yes
-configure:26500: checking for working memcmp
-configure:26548: gcc -o conftest -g -O2   conftest.c -lpthread -lz -ljpeg  >&5
-configure:26551: $? = 0
-configure:26553: ./conftest
-configure:26556: $? = 0
-configure:26570: result: yes
-configure:26581: checking whether lstat dereferences a symlink specified with a trailing slash
-configure:26612: gcc -o conftest -g -O2   conftest.c -lpthread -lz -ljpeg  >&5
-configure:26615: $? = 0
-configure:26617: ./conftest
-configure:26620: $? = 0
-configure:26641: result: yes
-configure:26662: checking whether stat accepts an empty string
-configure:26687: gcc -o conftest -g -O2   conftest.c -lpthread -lz -ljpeg  >&5
-configure:26690: $? = 0
-configure:26692: ./conftest
-configure:26695: $? = 1
-configure: program exited with status 1
-configure: failed program was:
-| /* confdefs.h.  */
-| 
-| #define PACKAGE_NAME "LibVNCServer"
-| #define PACKAGE_TARNAME "libvncserver"
-| #define PACKAGE_VERSION "0.9.7"
-| #define PACKAGE_STRING "LibVNCServer 0.9.7"
-| #define PACKAGE_BUGREPORT "http://sourceforge.net/projects/libvncserver"
-| #define PACKAGE "LibVNCServer"
-| #define VERSION "0.9.7"
-| #define STDC_HEADERS 1
-| #define HAVE_SYS_TYPES_H 1
-| #define HAVE_SYS_STAT_H 1
-| #define HAVE_STDLIB_H 1
-| #define HAVE_STRING_H 1
-| #define HAVE_MEMORY_H 1
-| #define HAVE_STRINGS_H 1
-| #define HAVE_INTTYPES_H 1
-| #define HAVE_STDINT_H 1
-| #define HAVE_UNISTD_H 1
-| #define HAVE_DLFCN_H 1
-| #ifdef __cplusplus
-| extern "C" void exit (int) throw ();
-| #endif
-| #define ALLOW24BPP 1
-| #define HAVE_X11 1
-| #define HAVE_LIBJPEG 1
-| #define HAVE_LIBZ 1
-| #define HAVE_LIBPTHREAD 1
-| #define WITH_TIGHTVNC_FILETRANSFER 1
-| #define STDC_HEADERS 1
-| #define HAVE_ARPA_INET_H 1
-| #define HAVE_FCNTL_H 1
-| #define HAVE_NETDB_H 1
-| #define HAVE_NETINET_IN_H 1
-| #define HAVE_STDLIB_H 1
-| #define HAVE_STRING_H 1
-| #define HAVE_SYS_SOCKET_H 1
-| #define HAVE_SYS_TIME_H 1
-| #define HAVE_SYS_TIMEB_H 1
-| #define HAVE_SYSLOG_H 1
-| #define HAVE_UNISTD_H 1
-| #define TIME_WITH_SYS_TIME 1
-| #define HAVE_SYS_WAIT_H 1
-| #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1
-| /* end confdefs.h.  */
-| #include <stdio.h>
-| #if HAVE_SYS_TYPES_H
-| # include <sys/types.h>
-| #endif
-| #if HAVE_SYS_STAT_H
-| # include <sys/stat.h>
-| #endif
-| #if STDC_HEADERS
-| # include <stdlib.h>
-| # include <stddef.h>
-| #else
-| # if HAVE_STDLIB_H
-| #  include <stdlib.h>
-| # endif
-| #endif
-| #if HAVE_STRING_H
-| # if !STDC_HEADERS && HAVE_MEMORY_H
-| #  include <memory.h>
-| # endif
-| # include <string.h>
-| #endif
-| #if HAVE_STRINGS_H
-| # include <strings.h>
-| #endif
-| #if HAVE_INTTYPES_H
-| # include <inttypes.h>
-| #else
-| # if HAVE_STDINT_H
-| #  include <stdint.h>
-| # endif
-| #endif
-| #if HAVE_UNISTD_H
-| # include <unistd.h>
-| #endif
-| int
-| main ()
-| {
-| struct stat sbuf;
-|   exit (stat ("", &sbuf) ? 1 : 0);
-|   ;
-|   return 0;
-| }
-configure:26709: result: no
-configure:26731: checking for strftime
-configure:26788: gcc -o conftest -g -O2   conftest.c -lpthread -lz -ljpeg  >&5
-conftest.c:70: warning: conflicting types for built-in function 'strftime'
-configure:26794: $? = 0
-configure:26798: test -z 
-                        || test ! -s conftest.err
-configure:26801: $? = 0
-configure:26804: test -s conftest
-configure:26807: $? = 0
-configure:26819: result: yes
-configure:26907: checking for vprintf
-configure:26964: gcc -o conftest -g -O2   conftest.c -lpthread -lz -ljpeg  >&5
-conftest.c:71: warning: conflicting types for built-in function 'vprintf'
-configure:26970: $? = 0
-configure:26974: test -z 
-                        || test ! -s conftest.err
-configure:26977: $? = 0
-configure:26980: test -s conftest
-configure:26983: $? = 0
-configure:26995: result: yes
-configure:27002: checking for _doprnt
-configure:27059: gcc -o conftest -g -O2   conftest.c -lpthread -lz -ljpeg  >&5
-/tmp/ccOMucA4.o: In function `main':
-/home/christian/presencevnc/libvnc/conftest.c:91: undefined reference to `_doprnt'
-/tmp/ccOMucA4.o:(.data+0x0): undefined reference to `_doprnt'
-collect2: ld returned 1 exit status
-configure:27065: $? = 1
-configure: failed program was:
-| /* confdefs.h.  */
-| 
-| #define PACKAGE_NAME "LibVNCServer"
-| #define PACKAGE_TARNAME "libvncserver"
-| #define PACKAGE_VERSION "0.9.7"
-| #define PACKAGE_STRING "LibVNCServer 0.9.7"
-| #define PACKAGE_BUGREPORT "http://sourceforge.net/projects/libvncserver"
-| #define PACKAGE "LibVNCServer"
-| #define VERSION "0.9.7"
-| #define STDC_HEADERS 1
-| #define HAVE_SYS_TYPES_H 1
-| #define HAVE_SYS_STAT_H 1
-| #define HAVE_STDLIB_H 1
-| #define HAVE_STRING_H 1
-| #define HAVE_MEMORY_H 1
-| #define HAVE_STRINGS_H 1
-| #define HAVE_INTTYPES_H 1
-| #define HAVE_STDINT_H 1
-| #define HAVE_UNISTD_H 1
-| #define HAVE_DLFCN_H 1
-| #ifdef __cplusplus
-| extern "C" void exit (int) throw ();
-| #endif
-| #define ALLOW24BPP 1
-| #define HAVE_X11 1
-| #define HAVE_LIBJPEG 1
-| #define HAVE_LIBZ 1
-| #define HAVE_LIBPTHREAD 1
-| #define WITH_TIGHTVNC_FILETRANSFER 1
-| #define STDC_HEADERS 1
-| #define HAVE_ARPA_INET_H 1
-| #define HAVE_FCNTL_H 1
-| #define HAVE_NETDB_H 1
-| #define HAVE_NETINET_IN_H 1
-| #define HAVE_STDLIB_H 1
-| #define HAVE_STRING_H 1
-| #define HAVE_SYS_SOCKET_H 1
-| #define HAVE_SYS_TIME_H 1
-| #define HAVE_SYS_TIMEB_H 1
-| #define HAVE_SYSLOG_H 1
-| #define HAVE_UNISTD_H 1
-| #define TIME_WITH_SYS_TIME 1
-| #define HAVE_SYS_WAIT_H 1
-| #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1
-| #define HAVE_STRFTIME 1
-| #define HAVE_VPRINTF 1
-| /* end confdefs.h.  */
-| /* Define _doprnt to an innocuous variant, in case <limits.h> declares _doprnt.
-|    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
-| #define _doprnt innocuous__doprnt
-| 
-| /* System header to define __stub macros and hopefully few prototypes,
-|     which can conflict with char _doprnt (); below.
-|     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
-|     <limits.h> exists even on freestanding compilers.  */
-| 
-| #ifdef __STDC__
-| # include <limits.h>
-| #else
-| # include <assert.h>
-| #endif
-| 
-| #undef _doprnt
-| 
-| /* Override any gcc2 internal prototype to avoid an error.  */
-| #ifdef __cplusplus
-| extern "C"
-| {
-| #endif
-| /* We use char because int might match the return type of a gcc2
-|    builtin and then its argument prototype would still apply.  */
-| char _doprnt ();
-| /* The GNU C library defines this for functions which it implements
-|     to always fail with ENOSYS.  Some functions are actually named
-|     something starting with __ and the normal name is an alias.  */
-| #if defined (__stub__doprnt) || defined (__stub____doprnt)
-| choke me
-| #else
-| char (*f) () = _doprnt;
-| #endif
-| #ifdef __cplusplus
-| }
-| #endif
-| 
-| int
-| main ()
-| {
-| return f != _doprnt;
-|   ;
-|   return 0;
-| }
-configure:27090: result: no
-configure:27104: checking for pid_t
-configure:27128: gcc -c -g -O2  conftest.c >&5
-configure:27134: $? = 0
-configure:27138: test -z 
-                        || test ! -s conftest.err
-configure:27141: $? = 0
-configure:27144: test -s conftest.o
-configure:27147: $? = 0
-configure:27158: result: yes
-configure:27176: checking for unistd.h
-configure:27181: result: yes
-configure:27185: checking vfork.h usability
-configure:27197: gcc -c -g -O2  conftest.c >&5
-conftest.c:83:19: error: vfork.h: No such file or directory
-configure:27203: $? = 1
-configure: failed program was:
-| /* confdefs.h.  */
-| 
-| #define PACKAGE_NAME "LibVNCServer"
-| #define PACKAGE_TARNAME "libvncserver"
-| #define PACKAGE_VERSION "0.9.7"
-| #define PACKAGE_STRING "LibVNCServer 0.9.7"
-| #define PACKAGE_BUGREPORT "http://sourceforge.net/projects/libvncserver"
-| #define PACKAGE "LibVNCServer"
-| #define VERSION "0.9.7"
-| #define STDC_HEADERS 1
-| #define HAVE_SYS_TYPES_H 1
-| #define HAVE_SYS_STAT_H 1
-| #define HAVE_STDLIB_H 1
-| #define HAVE_STRING_H 1
-| #define HAVE_MEMORY_H 1
-| #define HAVE_STRINGS_H 1
-| #define HAVE_INTTYPES_H 1
-| #define HAVE_STDINT_H 1
-| #define HAVE_UNISTD_H 1
-| #define HAVE_DLFCN_H 1
-| #ifdef __cplusplus
-| extern "C" void exit (int) throw ();
-| #endif
-| #define ALLOW24BPP 1
-| #define HAVE_X11 1
-| #define HAVE_LIBJPEG 1
-| #define HAVE_LIBZ 1
-| #define HAVE_LIBPTHREAD 1
-| #define WITH_TIGHTVNC_FILETRANSFER 1
-| #define STDC_HEADERS 1
-| #define HAVE_ARPA_INET_H 1
-| #define HAVE_FCNTL_H 1
-| #define HAVE_NETDB_H 1
-| #define HAVE_NETINET_IN_H 1
-| #define HAVE_STDLIB_H 1
-| #define HAVE_STRING_H 1
-| #define HAVE_SYS_SOCKET_H 1
-| #define HAVE_SYS_TIME_H 1
-| #define HAVE_SYS_TIMEB_H 1
-| #define HAVE_SYSLOG_H 1
-| #define HAVE_UNISTD_H 1
-| #define TIME_WITH_SYS_TIME 1
-| #define HAVE_SYS_WAIT_H 1
-| #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1
-| #define HAVE_STRFTIME 1
-| #define HAVE_VPRINTF 1
-| #define HAVE_UNISTD_H 1
-| /* end confdefs.h.  */
-| #include <stdio.h>
-| #if HAVE_SYS_TYPES_H
-| # include <sys/types.h>
-| #endif
-| #if HAVE_SYS_STAT_H
-| # include <sys/stat.h>
-| #endif
-| #if STDC_HEADERS
-| # include <stdlib.h>
-| # include <stddef.h>
-| #else
-| # if HAVE_STDLIB_H
-| #  include <stdlib.h>
-| # endif
-| #endif
-| #if HAVE_STRING_H
-| # if !STDC_HEADERS && HAVE_MEMORY_H
-| #  include <memory.h>
-| # endif
-| # include <string.h>
-| #endif
-| #if HAVE_STRINGS_H
-| # include <strings.h>
-| #endif
-| #if HAVE_INTTYPES_H
-| # include <inttypes.h>
-| #else
-| # if HAVE_STDINT_H
-| #  include <stdint.h>
-| # endif
-| #endif
-| #if HAVE_UNISTD_H
-| # include <unistd.h>
-| #endif
-| #include <vfork.h>
-configure:27226: result: no
-configure:27230: checking vfork.h presence
-configure:27240: gcc -E  conftest.c
-conftest.c:49:19: error: vfork.h: No such file or directory
-configure:27246: $? = 1
-configure: failed program was:
-| /* confdefs.h.  */
-| 
-| #define PACKAGE_NAME "LibVNCServer"
-| #define PACKAGE_TARNAME "libvncserver"
-| #define PACKAGE_VERSION "0.9.7"
-| #define PACKAGE_STRING "LibVNCServer 0.9.7"
-| #define PACKAGE_BUGREPORT "http://sourceforge.net/projects/libvncserver"
-| #define PACKAGE "LibVNCServer"
-| #define VERSION "0.9.7"
-| #define STDC_HEADERS 1
-| #define HAVE_SYS_TYPES_H 1
-| #define HAVE_SYS_STAT_H 1
-| #define HAVE_STDLIB_H 1
-| #define HAVE_STRING_H 1
-| #define HAVE_MEMORY_H 1
-| #define HAVE_STRINGS_H 1
-| #define HAVE_INTTYPES_H 1
-| #define HAVE_STDINT_H 1
-| #define HAVE_UNISTD_H 1
-| #define HAVE_DLFCN_H 1
-| #ifdef __cplusplus
-| extern "C" void exit (int) throw ();
-| #endif
-| #define ALLOW24BPP 1
-| #define HAVE_X11 1
-| #define HAVE_LIBJPEG 1
-| #define HAVE_LIBZ 1
-| #define HAVE_LIBPTHREAD 1
-| #define WITH_TIGHTVNC_FILETRANSFER 1
-| #define STDC_HEADERS 1
-| #define HAVE_ARPA_INET_H 1
-| #define HAVE_FCNTL_H 1
-| #define HAVE_NETDB_H 1
-| #define HAVE_NETINET_IN_H 1
-| #define HAVE_STDLIB_H 1
-| #define HAVE_STRING_H 1
-| #define HAVE_SYS_SOCKET_H 1
-| #define HAVE_SYS_TIME_H 1
-| #define HAVE_SYS_TIMEB_H 1
-| #define HAVE_SYSLOG_H 1
-| #define HAVE_UNISTD_H 1
-| #define TIME_WITH_SYS_TIME 1
-| #define HAVE_SYS_WAIT_H 1
-| #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1
-| #define HAVE_STRFTIME 1
-| #define HAVE_VPRINTF 1
-| #define HAVE_UNISTD_H 1
-| /* end confdefs.h.  */
-| #include <vfork.h>
-configure:27266: result: no
-configure:27301: checking for vfork.h
-configure:27308: result: no
-configure:27326: checking for fork
-configure:27383: gcc -o conftest -g -O2   conftest.c -lpthread -lz -ljpeg  >&5
-conftest.c:73: warning: conflicting types for built-in function 'fork'
-configure:27389: $? = 0
-configure:27393: test -z 
-                        || test ! -s conftest.err
-configure:27396: $? = 0
-configure:27399: test -s conftest
-configure:27402: $? = 0
-configure:27414: result: yes
-configure:27326: checking for vfork
-configure:27383: gcc -o conftest -g -O2   conftest.c -lpthread -lz -ljpeg  >&5
-configure:27389: $? = 0
-configure:27393: test -z 
-                        || test ! -s conftest.err
-configure:27396: $? = 0
-configure:27399: test -s conftest
-configure:27402: $? = 0
-configure:27414: result: yes
-configure:27425: checking for working fork
-configure:27448: gcc -o conftest -g -O2   conftest.c -lpthread -lz -ljpeg  >&5
-conftest.c: In function 'main':
-conftest.c:10: warning: incompatible implicit declaration of built-in function 'exit'
-configure:27451: $? = 0
-configure:27453: ./conftest
-configure:27456: $? = 0
-configure:27470: result: yes
-configure:27491: checking for working vfork
-configure:27624: result: yes
-configure:27656: checking for gethostbyname in -lnsl
-configure:27686: gcc -o conftest -g -O2   conftest.c -lnsl  -lpthread -lz -ljpeg  >&5
-configure:27692: $? = 0
-configure:27696: test -z 
-                        || test ! -s conftest.err
-configure:27699: $? = 0
-configure:27702: test -s conftest
-configure:27705: $? = 0
-configure:27718: result: yes
-configure:27730: checking for socket in -lsocket
-configure:27760: gcc -o conftest -g -O2   conftest.c -lsocket  -lnsl -lpthread -lz -ljpeg  >&5
-/scratchbox/compilers/cs2007q3-glibc2.5-arm7/bin/../lib/gcc/arm-none-linux-gnueabi/4.2.1/../../../../arm-none-linux-gnueabi/bin/ld: cannot find -lsocket
-collect2: ld returned 1 exit status
-configure:27766: $? = 1
-configure: failed program was:
-| /* confdefs.h.  */
-| 
-| #define PACKAGE_NAME "LibVNCServer"
-| #define PACKAGE_TARNAME "libvncserver"
-| #define PACKAGE_VERSION "0.9.7"
-| #define PACKAGE_STRING "LibVNCServer 0.9.7"
-| #define PACKAGE_BUGREPORT "http://sourceforge.net/projects/libvncserver"
-| #define PACKAGE "LibVNCServer"
-| #define VERSION "0.9.7"
-| #define STDC_HEADERS 1
-| #define HAVE_SYS_TYPES_H 1
-| #define HAVE_SYS_STAT_H 1
-| #define HAVE_STDLIB_H 1
-| #define HAVE_STRING_H 1
-| #define HAVE_MEMORY_H 1
-| #define HAVE_STRINGS_H 1
-| #define HAVE_INTTYPES_H 1
-| #define HAVE_STDINT_H 1
-| #define HAVE_UNISTD_H 1
-| #define HAVE_DLFCN_H 1
-| #ifdef __cplusplus
-| extern "C" void exit (int) throw ();
-| #endif
-| #define ALLOW24BPP 1
-| #define HAVE_X11 1
-| #define HAVE_LIBJPEG 1
-| #define HAVE_LIBZ 1
-| #define HAVE_LIBPTHREAD 1
-| #define WITH_TIGHTVNC_FILETRANSFER 1
-| #define STDC_HEADERS 1
-| #define HAVE_ARPA_INET_H 1
-| #define HAVE_FCNTL_H 1
-| #define HAVE_NETDB_H 1
-| #define HAVE_NETINET_IN_H 1
-| #define HAVE_STDLIB_H 1
-| #define HAVE_STRING_H 1
-| #define HAVE_SYS_SOCKET_H 1
-| #define HAVE_SYS_TIME_H 1
-| #define HAVE_SYS_TIMEB_H 1
-| #define HAVE_SYSLOG_H 1
-| #define HAVE_UNISTD_H 1
-| #define TIME_WITH_SYS_TIME 1
-| #define HAVE_SYS_WAIT_H 1
-| #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1
-| #define HAVE_STRFTIME 1
-| #define HAVE_VPRINTF 1
-| #define HAVE_UNISTD_H 1
-| #define HAVE_FORK 1
-| #define HAVE_VFORK 1
-| #define HAVE_WORKING_VFORK 1
-| #define HAVE_WORKING_FORK 1
-| #define HAVE_LIBNSL 1
-| /* end confdefs.h.  */
-| 
-| /* Override any gcc2 internal prototype to avoid an error.  */
-| #ifdef __cplusplus
-| extern "C"
-| #endif
-| /* We use char because int might match the return type of a gcc2
-|    builtin and then its argument prototype would still apply.  */
-| char socket ();
-| int
-| main ()
-| {
-| socket ();
-|   ;
-|   return 0;
-| }
-configure:27792: result: no
-configure:27829: checking for ftime
-configure:27886: gcc -o conftest -g -O2   conftest.c -lnsl -lpthread -lz -ljpeg  >&5
-configure:27892: $? = 0
-configure:27896: test -z 
-                        || test ! -s conftest.err
-configure:27899: $? = 0
-configure:27902: test -s conftest
-configure:27905: $? = 0
-configure:27917: result: yes
-configure:27829: checking for gethostbyname
-configure:27917: result: yes
-configure:27829: checking for gethostname
-configure:27886: gcc -o conftest -g -O2   conftest.c -lnsl -lpthread -lz -ljpeg  >&5
-configure:27892: $? = 0
-configure:27896: test -z 
-                        || test ! -s conftest.err
-configure:27899: $? = 0
-configure:27902: test -s conftest
-configure:27905: $? = 0
-configure:27917: result: yes
-configure:27829: checking for gettimeofday
-configure:27886: gcc -o conftest -g -O2   conftest.c -lnsl -lpthread -lz -ljpeg  >&5
-configure:27892: $? = 0
-configure:27896: test -z 
-                        || test ! -s conftest.err
-configure:27899: $? = 0
-configure:27902: test -s conftest
-configure:27905: $? = 0
-configure:27917: result: yes
-configure:27829: checking for inet_ntoa
-configure:27886: gcc -o conftest -g -O2   conftest.c -lnsl -lpthread -lz -ljpeg  >&5
-configure:27892: $? = 0
-configure:27896: test -z 
-                        || test ! -s conftest.err
-configure:27899: $? = 0
-configure:27902: test -s conftest
-configure:27905: $? = 0
-configure:27917: result: yes
-configure:27829: checking for memmove
-configure:27886: gcc -o conftest -g -O2   conftest.c -lnsl -lpthread -lz -ljpeg  >&5
-conftest.c:83: warning: conflicting types for built-in function 'memmove'
-configure:27892: $? = 0
-configure:27896: test -z 
-                        || test ! -s conftest.err
-configure:27899: $? = 0
-configure:27902: test -s conftest
-configure:27905: $? = 0
-configure:27917: result: yes
-configure:27829: checking for memset
-configure:27886: gcc -o conftest -g -O2   conftest.c -lnsl -lpthread -lz -ljpeg  >&5
-conftest.c:84: warning: conflicting types for built-in function 'memset'
-configure:27892: $? = 0
-configure:27896: test -z 
-                        || test ! -s conftest.err
-configure:27899: $? = 0
-configure:27902: test -s conftest
-configure:27905: $? = 0
-configure:27917: result: yes
-configure:27829: checking for mmap
-configure:27886: gcc -o conftest -g -O2   conftest.c -lnsl -lpthread -lz -ljpeg  >&5
-configure:27892: $? = 0
-configure:27896: test -z 
-                        || test ! -s conftest.err
-configure:27899: $? = 0
-configure:27902: test -s conftest
-configure:27905: $? = 0
-configure:27917: result: yes
-configure:27829: checking for mkfifo
-configure:27886: gcc -o conftest -g -O2   conftest.c -lnsl -lpthread -lz -ljpeg  >&5
-configure:27892: $? = 0
-configure:27896: test -z 
-                        || test ! -s conftest.err
-configure:27899: $? = 0
-configure:27902: test -s conftest
-configure:27905: $? = 0
-configure:27917: result: yes
-configure:27829: checking for select
-configure:27886: gcc -o conftest -g -O2   conftest.c -lnsl -lpthread -lz -ljpeg  >&5
-configure:27892: $? = 0
-configure:27896: test -z 
-                        || test ! -s conftest.err
-configure:27899: $? = 0
-configure:27902: test -s conftest
-configure:27905: $? = 0
-configure:27917: result: yes
-configure:27829: checking for socket
-configure:27886: gcc -o conftest -g -O2   conftest.c -lnsl -lpthread -lz -ljpeg  >&5
-configure:27892: $? = 0
-configure:27896: test -z 
-                        || test ! -s conftest.err
-configure:27899: $? = 0
-configure:27902: test -s conftest
-configure:27905: $? = 0
-configure:27917: result: yes
-configure:27829: checking for strchr
-configure:27886: gcc -o conftest -g -O2   conftest.c -lnsl -lpthread -lz -ljpeg  >&5
-conftest.c:89: warning: conflicting types for built-in function 'strchr'
-configure:27892: $? = 0
-configure:27896: test -z 
-                        || test ! -s conftest.err
-configure:27899: $? = 0
-configure:27902: test -s conftest
-configure:27905: $? = 0
-configure:27917: result: yes
-configure:27829: checking for strcspn
-configure:27886: gcc -o conftest -g -O2   conftest.c -lnsl -lpthread -lz -ljpeg  >&5
-conftest.c:90: warning: conflicting types for built-in function 'strcspn'
-configure:27892: $? = 0
-configure:27896: test -z 
-                        || test ! -s conftest.err
-configure:27899: $? = 0
-configure:27902: test -s conftest
-configure:27905: $? = 0
-configure:27917: result: yes
-configure:27829: checking for strdup
-configure:27886: gcc -o conftest -g -O2   conftest.c -lnsl -lpthread -lz -ljpeg  >&5
-conftest.c:91: warning: conflicting types for built-in function 'strdup'
-configure:27892: $? = 0
-configure:27896: test -z 
-                        || test ! -s conftest.err
-configure:27899: $? = 0
-configure:27902: test -s conftest
-configure:27905: $? = 0
-configure:27917: result: yes
-configure:27829: checking for strerror
-configure:27886: gcc -o conftest -g -O2   conftest.c -lnsl -lpthread -lz -ljpeg  >&5
-configure:27892: $? = 0
-configure:27896: test -z 
-                        || test ! -s conftest.err
-configure:27899: $? = 0
-configure:27902: test -s conftest
-configure:27905: $? = 0
-configure:27917: result: yes
-configure:27829: checking for strstr
-configure:27886: gcc -o conftest -g -O2   conftest.c -lnsl -lpthread -lz -ljpeg  >&5
-conftest.c:93: warning: conflicting types for built-in function 'strstr'
-configure:27892: $? = 0
-configure:27896: test -z 
-                        || test ! -s conftest.err
-configure:27899: $? = 0
-configure:27902: test -s conftest
-configure:27905: $? = 0
-configure:27917: result: yes
-configure:28050: checking for shmget in -lcygipc
-configure:28080: gcc -o conftest -g -O2   conftest.c -lcygipc  -lnsl -lpthread -lz -ljpeg  >&5
-/scratchbox/compilers/cs2007q3-glibc2.5-arm7/bin/../lib/gcc/arm-none-linux-gnueabi/4.2.1/../../../../arm-none-linux-gnueabi/bin/ld: cannot find -lcygipc
-collect2: ld returned 1 exit status
-configure:28086: $? = 1
-configure: failed program was:
-| /* confdefs.h.  */
-| 
-| #define PACKAGE_NAME "LibVNCServer"
-| #define PACKAGE_TARNAME "libvncserver"
-| #define PACKAGE_VERSION "0.9.7"
-| #define PACKAGE_STRING "LibVNCServer 0.9.7"
-| #define PACKAGE_BUGREPORT "http://sourceforge.net/projects/libvncserver"
-| #define PACKAGE "LibVNCServer"
-| #define VERSION "0.9.7"
-| #define STDC_HEADERS 1
-| #define HAVE_SYS_TYPES_H 1
-| #define HAVE_SYS_STAT_H 1
-| #define HAVE_STDLIB_H 1
-| #define HAVE_STRING_H 1
-| #define HAVE_MEMORY_H 1
-| #define HAVE_STRINGS_H 1
-| #define HAVE_INTTYPES_H 1
-| #define HAVE_STDINT_H 1
-| #define HAVE_UNISTD_H 1
-| #define HAVE_DLFCN_H 1
-| #ifdef __cplusplus
-| extern "C" void exit (int) throw ();
-| #endif
-| #define ALLOW24BPP 1
-| #define HAVE_X11 1
-| #define HAVE_LIBJPEG 1
-| #define HAVE_LIBZ 1
-| #define HAVE_LIBPTHREAD 1
-| #define WITH_TIGHTVNC_FILETRANSFER 1
-| #define STDC_HEADERS 1
-| #define HAVE_ARPA_INET_H 1
-| #define HAVE_FCNTL_H 1
-| #define HAVE_NETDB_H 1
-| #define HAVE_NETINET_IN_H 1
-| #define HAVE_STDLIB_H 1
-| #define HAVE_STRING_H 1
-| #define HAVE_SYS_SOCKET_H 1
-| #define HAVE_SYS_TIME_H 1
-| #define HAVE_SYS_TIMEB_H 1
-| #define HAVE_SYSLOG_H 1
-| #define HAVE_UNISTD_H 1
-| #define TIME_WITH_SYS_TIME 1
-| #define HAVE_SYS_WAIT_H 1
-| #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1
-| #define HAVE_STRFTIME 1
-| #define HAVE_VPRINTF 1
-| #define HAVE_UNISTD_H 1
-| #define HAVE_FORK 1
-| #define HAVE_VFORK 1
-| #define HAVE_WORKING_VFORK 1
-| #define HAVE_WORKING_FORK 1
-| #define HAVE_LIBNSL 1
-| #define HAVE_FTIME 1
-| #define HAVE_GETHOSTBYNAME 1
-| #define HAVE_GETHOSTNAME 1
-| #define HAVE_GETTIMEOFDAY 1
-| #define HAVE_INET_NTOA 1
-| #define HAVE_MEMMOVE 1
-| #define HAVE_MEMSET 1
-| #define HAVE_MMAP 1
-| #define HAVE_MKFIFO 1
-| #define HAVE_SELECT 1
-| #define HAVE_SOCKET 1
-| #define HAVE_STRCHR 1
-| #define HAVE_STRCSPN 1
-| #define HAVE_STRDUP 1
-| #define HAVE_STRERROR 1
-| #define HAVE_STRSTR 1
-| /* end confdefs.h.  */
-| 
-| /* Override any gcc2 internal prototype to avoid an error.  */
-| #ifdef __cplusplus
-| extern "C"
-| #endif
-| /* We use char because int might match the return type of a gcc2
-|    builtin and then its argument prototype would still apply.  */
-| char shmget ();
-| int
-| main ()
-| {
-| shmget ();
-|   ;
-|   return 0;
-| }
-configure:28112: result: no
-configure:28157: checking ApplicationServices/ApplicationServices.h usability
-configure:28169: gcc -c -g -O2  conftest.c >&5
-conftest.c:104:53: error: ApplicationServices/ApplicationServices.h: No such file or directory
-configure:28175: $? = 1
-configure: failed program was:
-| /* confdefs.h.  */
-| 
-| #define PACKAGE_NAME "LibVNCServer"
-| #define PACKAGE_TARNAME "libvncserver"
-| #define PACKAGE_VERSION "0.9.7"
-| #define PACKAGE_STRING "LibVNCServer 0.9.7"
-| #define PACKAGE_BUGREPORT "http://sourceforge.net/projects/libvncserver"
-| #define PACKAGE "LibVNCServer"
-| #define VERSION "0.9.7"
-| #define STDC_HEADERS 1
-| #define HAVE_SYS_TYPES_H 1
-| #define HAVE_SYS_STAT_H 1
-| #define HAVE_STDLIB_H 1
-| #define HAVE_STRING_H 1
-| #define HAVE_MEMORY_H 1
-| #define HAVE_STRINGS_H 1
-| #define HAVE_INTTYPES_H 1
-| #define HAVE_STDINT_H 1
-| #define HAVE_UNISTD_H 1
-| #define HAVE_DLFCN_H 1
-| #ifdef __cplusplus
-| extern "C" void exit (int) throw ();
-| #endif
-| #define ALLOW24BPP 1
-| #define HAVE_X11 1
-| #define HAVE_LIBJPEG 1
-| #define HAVE_LIBZ 1
-| #define HAVE_LIBPTHREAD 1
-| #define WITH_TIGHTVNC_FILETRANSFER 1
-| #define STDC_HEADERS 1
-| #define HAVE_ARPA_INET_H 1
-| #define HAVE_FCNTL_H 1
-| #define HAVE_NETDB_H 1
-| #define HAVE_NETINET_IN_H 1
-| #define HAVE_STDLIB_H 1
-| #define HAVE_STRING_H 1
-| #define HAVE_SYS_SOCKET_H 1
-| #define HAVE_SYS_TIME_H 1
-| #define HAVE_SYS_TIMEB_H 1
-| #define HAVE_SYSLOG_H 1
-| #define HAVE_UNISTD_H 1
-| #define TIME_WITH_SYS_TIME 1
-| #define HAVE_SYS_WAIT_H 1
-| #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1
-| #define HAVE_STRFTIME 1
-| #define HAVE_VPRINTF 1
-| #define HAVE_UNISTD_H 1
-| #define HAVE_FORK 1
-| #define HAVE_VFORK 1
-| #define HAVE_WORKING_VFORK 1
-| #define HAVE_WORKING_FORK 1
-| #define HAVE_LIBNSL 1
-| #define HAVE_FTIME 1
-| #define HAVE_GETHOSTBYNAME 1
-| #define HAVE_GETHOSTNAME 1
-| #define HAVE_GETTIMEOFDAY 1
-| #define HAVE_INET_NTOA 1
-| #define HAVE_MEMMOVE 1
-| #define HAVE_MEMSET 1
-| #define HAVE_MMAP 1
-| #define HAVE_MKFIFO 1
-| #define HAVE_SELECT 1
-| #define HAVE_SOCKET 1
-| #define HAVE_STRCHR 1
-| #define HAVE_STRCSPN 1
-| #define HAVE_STRDUP 1
-| #define HAVE_STRERROR 1
-| #define HAVE_STRSTR 1
-| /* end confdefs.h.  */
-| #include <stdio.h>
-| #if HAVE_SYS_TYPES_H
-| # include <sys/types.h>
-| #endif
-| #if HAVE_SYS_STAT_H
-| # include <sys/stat.h>
-| #endif
-| #if STDC_HEADERS
-| # include <stdlib.h>
-| # include <stddef.h>
-| #else
-| # if HAVE_STDLIB_H
-| #  include <stdlib.h>
-| # endif
-| #endif
-| #if HAVE_STRING_H
-| # if !STDC_HEADERS && HAVE_MEMORY_H
-| #  include <memory.h>
-| # endif
-| # include <string.h>
-| #endif
-| #if HAVE_STRINGS_H
-| # include <strings.h>
-| #endif
-| #if HAVE_INTTYPES_H
-| # include <inttypes.h>
-| #else
-| # if HAVE_STDINT_H
-| #  include <stdint.h>
-| # endif
-| #endif
-| #if HAVE_UNISTD_H
-| # include <unistd.h>
-| #endif
-| #include <ApplicationServices/ApplicationServices.h>
-configure:28198: result: no
-configure:28202: checking ApplicationServices/ApplicationServices.h presence
-configure:28212: gcc -E  conftest.c
-conftest.c:70:53: error: ApplicationServices/ApplicationServices.h: No such file or directory
-configure:28218: $? = 1
-configure: failed program was:
-| /* confdefs.h.  */
-| 
-| #define PACKAGE_NAME "LibVNCServer"
-| #define PACKAGE_TARNAME "libvncserver"
-| #define PACKAGE_VERSION "0.9.7"
-| #define PACKAGE_STRING "LibVNCServer 0.9.7"
-| #define PACKAGE_BUGREPORT "http://sourceforge.net/projects/libvncserver"
-| #define PACKAGE "LibVNCServer"
-| #define VERSION "0.9.7"
-| #define STDC_HEADERS 1
-| #define HAVE_SYS_TYPES_H 1
-| #define HAVE_SYS_STAT_H 1
-| #define HAVE_STDLIB_H 1
-| #define HAVE_STRING_H 1
-| #define HAVE_MEMORY_H 1
-| #define HAVE_STRINGS_H 1
-| #define HAVE_INTTYPES_H 1
-| #define HAVE_STDINT_H 1
-| #define HAVE_UNISTD_H 1
-| #define HAVE_DLFCN_H 1
-| #ifdef __cplusplus
-| extern "C" void exit (int) throw ();
-| #endif
-| #define ALLOW24BPP 1
-| #define HAVE_X11 1
-| #define HAVE_LIBJPEG 1
-| #define HAVE_LIBZ 1
-| #define HAVE_LIBPTHREAD 1
-| #define WITH_TIGHTVNC_FILETRANSFER 1
-| #define STDC_HEADERS 1
-| #define HAVE_ARPA_INET_H 1
-| #define HAVE_FCNTL_H 1
-| #define HAVE_NETDB_H 1
-| #define HAVE_NETINET_IN_H 1
-| #define HAVE_STDLIB_H 1
-| #define HAVE_STRING_H 1
-| #define HAVE_SYS_SOCKET_H 1
-| #define HAVE_SYS_TIME_H 1
-| #define HAVE_SYS_TIMEB_H 1
-| #define HAVE_SYSLOG_H 1
-| #define HAVE_UNISTD_H 1
-| #define TIME_WITH_SYS_TIME 1
-| #define HAVE_SYS_WAIT_H 1
-| #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1
-| #define HAVE_STRFTIME 1
-| #define HAVE_VPRINTF 1
-| #define HAVE_UNISTD_H 1
-| #define HAVE_FORK 1
-| #define HAVE_VFORK 1
-| #define HAVE_WORKING_VFORK 1
-| #define HAVE_WORKING_FORK 1
-| #define HAVE_LIBNSL 1
-| #define HAVE_FTIME 1
-| #define HAVE_GETHOSTBYNAME 1
-| #define HAVE_GETHOSTNAME 1
-| #define HAVE_GETTIMEOFDAY 1
-| #define HAVE_INET_NTOA 1
-| #define HAVE_MEMMOVE 1
-| #define HAVE_MEMSET 1
-| #define HAVE_MMAP 1
-| #define HAVE_MKFIFO 1
-| #define HAVE_SELECT 1
-| #define HAVE_SOCKET 1
-| #define HAVE_STRCHR 1
-| #define HAVE_STRCSPN 1
-| #define HAVE_STRDUP 1
-| #define HAVE_STRERROR 1
-| #define HAVE_STRSTR 1
-| /* end confdefs.h.  */
-| #include <ApplicationServices/ApplicationServices.h>
-configure:28238: result: no
-configure:28273: checking for ApplicationServices/ApplicationServices.h
-configure:28280: result: no
-configure:28586: creating ./config.status
-
-## ---------------------- ##
-## Running config.status. ##
-## ---------------------- ##
-
-This file was extended by LibVNCServer config.status 0.9.7, which was
-generated by GNU Autoconf 2.59.  Invocation command line was
-
-  CONFIG_FILES    = 
-  CONFIG_HEADERS  = 
-  CONFIG_LINKS    = 
-  CONFIG_COMMANDS = 
-  $ ./config.status 
-
-on christian-laptop
-
-config.status:775: creating Makefile
-config.status:775: creating libvncserver/Makefile
-config.status:775: creating contrib/Makefile
-config.status:775: creating examples/Makefile
-config.status:775: creating vncterm/Makefile
-config.status:775: creating classes/Makefile
-config.status:775: creating classes/ssl/Makefile
-config.status:775: creating libvncclient/Makefile
-config.status:775: creating client_examples/Makefile
-config.status:775: creating test/Makefile
-config.status:775: creating libvncserver-config
-config.status:775: creating LibVNCServer.spec
-config.status:879: creating rfbconfig.h
-config.status:1095: rfbconfig.h is unchanged
-config.status:1275: executing rfb/rfbconfig.h commands
-config.status:1311: creating rfb/rfbconfig.h - prefix LIBVNCSERVER for rfbconfig.h defines
-config.status:1335: rfb/rfbconfig.h is unchanged
-config.status:1275: executing depfiles commands
-config.status:1275: executing chmod-libvncserver-config commands
 
 ## ---------------- ##
 ## Cache variables. ##
@@ -2216,11 +153,7 @@ config.status:1275: executing chmod-libvncserver-config commands
 
 ac_cv_build=arm-unknown-linux-gnu
 ac_cv_build_alias=arm-unknown-linux-gnu
-ac_cv_c_bigendian=no
 ac_cv_c_compiler_gnu=yes
-ac_cv_c_const=yes
-ac_cv_c_inline=inline
-ac_cv_cxx_compiler_gnu=yes
 ac_cv_env_CC_set=
 ac_cv_env_CC_value=
 ac_cv_env_CFLAGS_set=
@@ -2248,347 +181,35 @@ ac_cv_env_host_alias_value=
 ac_cv_env_target_alias_set=
 ac_cv_env_target_alias_value=
 ac_cv_exeext=
-ac_cv_f77_compiler_gnu=no
-ac_cv_func__doprnt=no
-ac_cv_func_connect=yes
-ac_cv_func_fork=yes
-ac_cv_func_fork_works=yes
-ac_cv_func_ftime=yes
-ac_cv_func_gethostbyname=yes
-ac_cv_func_gethostname=yes
-ac_cv_func_gettimeofday=yes
-ac_cv_func_inet_ntoa=yes
-ac_cv_func_lstat_dereferences_slashed_symlink=yes
-ac_cv_func_memcmp_working=yes
-ac_cv_func_memmove=yes
-ac_cv_func_memset=yes
-ac_cv_func_mkfifo=yes
-ac_cv_func_mmap=yes
-ac_cv_func_remove=yes
-ac_cv_func_select=yes
-ac_cv_func_shmat=yes
-ac_cv_func_socket=yes
-ac_cv_func_stat_empty_string_bug=no
-ac_cv_func_strchr=yes
-ac_cv_func_strcspn=yes
-ac_cv_func_strdup=yes
-ac_cv_func_strerror=yes
-ac_cv_func_strftime=yes
-ac_cv_func_strstr=yes
-ac_cv_func_vfork=yes
-ac_cv_func_vfork_works=yes
-ac_cv_func_vprintf=yes
-ac_cv_have_x='have_x=yes               ac_x_includes= ac_x_libraries='
-ac_cv_header_ApplicationServices_ApplicationServices_h=no
-ac_cv_header_arpa_inet_h=yes
-ac_cv_header_dlfcn_h=yes
-ac_cv_header_fcntl_h=yes
-ac_cv_header_inttypes_h=yes
-ac_cv_header_jpeglib_h=yes
-ac_cv_header_memory_h=yes
-ac_cv_header_netdb_h=yes
-ac_cv_header_netinet_in_h=yes
-ac_cv_header_pthread_h=yes
-ac_cv_header_stdc=yes
-ac_cv_header_stdint=stdint.h
-ac_cv_header_stdint_h=yes
-ac_cv_header_stdint_o=no-file
-ac_cv_header_stdint_test=no
-ac_cv_header_stdint_u=no-file
-ac_cv_header_stdint_x=stdint.h
-ac_cv_header_stdlib_h=yes
-ac_cv_header_string_h=yes
-ac_cv_header_strings_h=yes
-ac_cv_header_sys_socket_h=yes
-ac_cv_header_sys_stat_h=yes
-ac_cv_header_sys_time_h=yes
-ac_cv_header_sys_timeb_h=yes
-ac_cv_header_sys_types_h=yes
-ac_cv_header_sys_wait_h=yes
-ac_cv_header_syslog_h=yes
-ac_cv_header_thenonexistentheader_h=no
-ac_cv_header_time=yes
-ac_cv_header_unistd_h=yes
-ac_cv_header_vfork_h=no
-ac_cv_header_zlib_h=yes
 ac_cv_host=arm-unknown-linux-gnu
 ac_cv_host_alias=arm-unknown-linux-gnu
-ac_cv_lib_ICE_IceConnectionNumber=yes
-ac_cv_lib_X11_XGetImage=yes
-ac_cv_lib_cygipc_shmget=no
-ac_cv_lib_jpeg_jpeg_CreateCompress=yes
-ac_cv_lib_nsl_gethostbyname=yes
-ac_cv_lib_pthread_pthread_mutex_lock=yes
-ac_cv_lib_socket_socket=no
-ac_cv_lib_z_deflate=yes
 ac_cv_objext=o
-ac_cv_path_AR=/scratchbox/compilers/bin/ar
 ac_cv_path_install='/scratchbox/tools/bin/install -c'
 ac_cv_prog_AWK=gawk
-ac_cv_prog_CPP='gcc -E'
-ac_cv_prog_CXXCPP='g++ -E'
-ac_cv_prog_ac_ct_AR=ar
 ac_cv_prog_ac_ct_CC=gcc
-ac_cv_prog_ac_ct_CXX=g++
-ac_cv_prog_ac_ct_RANLIB=ranlib
-ac_cv_prog_ac_ct_STRIP=strip
 ac_cv_prog_cc_g=yes
 ac_cv_prog_cc_stdc=
-ac_cv_prog_cxx_g=yes
 ac_cv_prog_egrep='grep -E'
-ac_cv_prog_f77_g=no
 ac_cv_prog_make_make_set=yes
-ac_cv_sizeof_X=::::
-ac_cv_sizeof_x=:
-ac_cv_type_int_fast32_t=yes
-ac_cv_type_int_least32_t=yes
-ac_cv_type_pid_t=yes
-ac_cv_type_size_t=yes
-ac_cv_type_socklen_t=yes
-ac_cv_type_uint64_t=yes
-ac_cv_type_uintptr_t=yes
 am_cv_CC_dependencies_compiler_type=gcc3
-am_cv_CXX_dependencies_compiler_type=gcc3
-lt_cv_deplibs_check_method=pass_all
-lt_cv_file_magic_cmd='$MAGIC_CMD'
-lt_cv_file_magic_test_file=
-lt_cv_ld_reload_flag=-r
-lt_cv_objdir=.libs
-lt_cv_path_LD=/scratchbox/compilers/cs2007q3-glibc2.5-arm7/arm-none-linux-gnueabi/bin/ld
-lt_cv_path_LDCXX=/scratchbox/compilers/cs2007q3-glibc2.5-arm7/arm-none-linux-gnueabi/bin/ld
-lt_cv_path_NM='/scratchbox/compilers/bin/nm -B'
 lt_cv_path_SED=/scratchbox/tools/bin/sed
-lt_cv_prog_compiler_c_o=yes
-lt_cv_prog_compiler_c_o_CXX=yes
-lt_cv_prog_compiler_rtti_exceptions=no
-lt_cv_prog_gnu_ld=yes
-lt_cv_prog_gnu_ldcxx=yes
-lt_cv_sys_global_symbol_pipe='sed -n -e '\''s/^.*[     ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[         ][      ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p'\'''
-lt_cv_sys_global_symbol_to_c_name_address='sed -n -e '\''s/^: \([^ ]*\) $/  {\"\1\", (lt_ptr) 0},/p'\'' -e '\''s/^[BCDEGRST] \([^ ]*\) \([^ ]*\)$/  {"\2", (lt_ptr) \&\2},/p'\'''
-lt_cv_sys_global_symbol_to_cdecl='sed -n -e '\''s/^. .* \(.*\)$/extern int \1;/p'\'''
-lt_cv_sys_max_cmd_len=32768
-lt_lt_cv_prog_compiler_c_o='"yes"'
-lt_lt_cv_prog_compiler_c_o_CXX='"yes"'
-lt_lt_cv_sys_global_symbol_pipe='"sed -n -e '\''s/^.*[         ]\\([ABCDGIRSTW][ABCDGIRSTW]*\\)[       ][      ]*\\([_A-Za-z][_A-Za-z0-9]*\\)\$/\\1 \\2 \\2/p'\''"'
-lt_lt_cv_sys_global_symbol_to_c_name_address='"sed -n -e '\''s/^: \\([^ ]*\\) \$/  {\\\"\\1\\\", (lt_ptr) 0},/p'\'' -e '\''s/^[BCDEGRST] \\([^ ]*\\) \\([^ ]*\\)\$/  {\"\\2\", (lt_ptr) \\&\\2},/p'\''"'
-lt_lt_cv_sys_global_symbol_to_cdecl='"sed -n -e '\''s/^. .* \\(.*\\)\$/extern int \\1;/p'\''"'
 
 ## ----------------- ##
 ## Output variables. ##
 ## ----------------- ##
 
-ACLOCAL='${SHELL} /home/christian/presencevnc/libvnc/missing --run aclocal-1.9'
-AMDEPBACKSLASH='\'
-AMDEP_FALSE='#'
-AMDEP_TRUE=''
-AMTAR='${SHELL} /home/christian/presencevnc/libvnc/missing --run tar'
-AR='/scratchbox/compilers/bin/ar'
-AUTOCONF='${SHELL} /home/christian/presencevnc/libvnc/missing --run autoconf'
-AUTOHEADER='${SHELL} /home/christian/presencevnc/libvnc/missing --run autoheader'
-AUTOMAKE='${SHELL} /home/christian/presencevnc/libvnc/missing --run automake-1.9'
-AVAHI_CFLAGS=''
-AVAHI_LIBS=''
-AWK='gawk'
-CC='gcc'
-CCDEPMODE='depmode=gcc3'
-CFLAGS='-g -O2'
-CPP='gcc -E'
-CPPFLAGS=''
-CRYPT_LIBS=''
-CXX='g++'
-CXXCPP='g++ -E'
-CXXDEPMODE='depmode=gcc3'
-CXXFLAGS='-g -O2'
-CYGIPC_FALSE=''
-CYGIPC_TRUE='#'
-CYGPATH_W='echo'
-DEFS='-DHAVE_CONFIG_H'
-DEPDIR='.deps'
-ECHO='echo'
-ECHO_C=''
-ECHO_N='-n'
-ECHO_T=''
-EGREP='grep -E'
-EXEEXT=''
-F77=''
-FFLAGS=''
-HAVE_LIBJPEG_FALSE='#'
-HAVE_LIBJPEG_TRUE=''
-HAVE_LIBPTHREAD_FALSE='#'
-HAVE_LIBPTHREAD_TRUE=''
-HAVE_LIBSDL_FALSE='#'
-HAVE_LIBSDL_TRUE=''
-HAVE_LIBZ_FALSE='#'
-HAVE_LIBZ_TRUE=''
-HAVE_MP3LAME_FALSE=''
-HAVE_MP3LAME_TRUE='#'
-HAVE_RPM_FALSE=''
-HAVE_RPM_TRUE='#'
-HAVE_SYSTEM_LIBVNCSERVER_FALSE=''
-HAVE_SYSTEM_LIBVNCSERVER_TRUE='#'
-HAVE_X_FALSE='#'
-HAVE_X_TRUE=''
-INSTALL_DATA='${INSTALL} -m 644'
-INSTALL_PROGRAM='${INSTALL}'
-INSTALL_SCRIPT='${INSTALL}'
-INSTALL_STRIP_PROGRAM='${SHELL} $(install_sh) -c -s'
-LDFLAGS=''
-LIBOBJS=''
-LIBS='-lnsl -lpthread -lz -ljpeg '
-LIBTOOL='$(SHELL) $(top_builddir)/libtool'
-LINUX_FALSE='#'
-LINUX_TRUE=''
-LN_S='ln -s'
-LTLIBOBJS=''
-MAKEINFO='${SHELL} /home/christian/presencevnc/libvnc/missing --run makeinfo'
-MINGW_FALSE=''
-MINGW_TRUE='#'
-OBJEXT='o'
-OSX_FALSE=''
-OSX_TRUE='#'
-PACKAGE='LibVNCServer'
-PACKAGE_BUGREPORT='http://sourceforge.net/projects/libvncserver'
-PACKAGE_NAME='LibVNCServer'
-PACKAGE_STRING='LibVNCServer 0.9.7'
-PACKAGE_TARNAME='libvncserver'
-PACKAGE_VERSION='0.9.7'
-PATH_SEPARATOR=':'
-RANLIB='ranlib'
-RPMSOURCEDIR='NOT-FOUND'
-SDL_CFLAGS='-I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT'
-SDL_LIBS='-L/usr/lib -lSDL'
-SET_MAKE=''
-SHELL='/bin/sh'
-SSL_LIBS=''
-STRIP='strip'
-SYSTEM_LIBVNCSERVER_CFLAGS=''
-SYSTEM_LIBVNCSERVER_LIBS=''
-VERSION='0.9.7'
-WITH_FFMPEG_FALSE=''
-WITH_FFMPEG_TRUE='#'
-WITH_TIGHTVNC_FILETRANSFER_FALSE='#'
-WITH_TIGHTVNC_FILETRANSFER_TRUE=''
-WITH_X11VNC_FALSE=''
-WITH_X11VNC_TRUE='#'
-WSOCKLIB=''
-X_CFLAGS=''
-X_EXTRA_LIBS=''
-X_LIBS=''
-X_PRE_LIBS=' -lSM -lICE'
-ac_ct_AR='ar'
-ac_ct_CC='gcc'
-ac_ct_CXX='g++'
-ac_ct_F77=''
-ac_ct_RANLIB='ranlib'
-ac_ct_STRIP='strip'
-am__fastdepCC_FALSE='#'
-am__fastdepCC_TRUE=''
-am__fastdepCXX_FALSE='#'
-am__fastdepCXX_TRUE=''
-am__include='include'
-am__leading_dot='.'
-am__quote=''
-am__tar='${AMTAR} chof - "$$tardir"'
-am__untar='${AMTAR} xf -'
-bindir='${exec_prefix}/bin'
-build='arm-unknown-linux-gnu'
-build_alias=''
-build_cpu='arm'
-build_os='linux-gnu'
-build_vendor='unknown'
-datadir='${prefix}/share'
-exec_prefix='${prefix}'
-host='arm-unknown-linux-gnu'
-host_alias=''
-host_cpu='arm'
-host_os='linux-gnu'
-host_vendor='unknown'
-includedir='${prefix}/include'
-infodir='${prefix}/info'
-install_sh='/home/christian/presencevnc/libvnc/install-sh'
-libdir='${exec_prefix}/lib'
-libexecdir='${exec_prefix}/libexec'
-localstatedir='${prefix}/var'
-mandir='${prefix}/man'
-mkdir_p='mkdir -p --'
-oldincludedir='/usr/include'
-prefix='/usr/local'
-program_transform_name='s,x,x,'
-sbindir='${exec_prefix}/sbin'
-sharedstatedir='${prefix}/com'
-sysconfdir='${prefix}/etc'
-target_alias=''
-with_ffmpeg=''
 
 ## ----------- ##
 ## confdefs.h. ##
 ## ----------- ##
 
-#define ALLOW24BPP 1
-#define HAVE_ARPA_INET_H 1
-#define HAVE_DLFCN_H 1
-#define HAVE_FCNTL_H 1
-#define HAVE_FORK 1
-#define HAVE_FTIME 1
-#define HAVE_GETHOSTBYNAME 1
-#define HAVE_GETHOSTNAME 1
-#define HAVE_GETTIMEOFDAY 1
-#define HAVE_INET_NTOA 1
-#define HAVE_INTTYPES_H 1
-#define HAVE_LIBJPEG 1
-#define HAVE_LIBNSL 1
-#define HAVE_LIBPTHREAD 1
-#define HAVE_LIBZ 1
-#define HAVE_MEMMOVE 1
-#define HAVE_MEMORY_H 1
-#define HAVE_MEMSET 1
-#define HAVE_MKFIFO 1
-#define HAVE_MMAP 1
-#define HAVE_NETDB_H 1
-#define HAVE_NETINET_IN_H 1
-#define HAVE_SELECT 1
-#define HAVE_SOCKET 1
-#define HAVE_STDINT_H 1
-#define HAVE_STDLIB_H 1
-#define HAVE_STDLIB_H 1
-#define HAVE_STRCHR 1
-#define HAVE_STRCSPN 1
-#define HAVE_STRDUP 1
-#define HAVE_STRERROR 1
-#define HAVE_STRFTIME 1
-#define HAVE_STRINGS_H 1
-#define HAVE_STRING_H 1
-#define HAVE_STRING_H 1
-#define HAVE_STRSTR 1
-#define HAVE_SYSLOG_H 1
-#define HAVE_SYS_SOCKET_H 1
-#define HAVE_SYS_STAT_H 1
-#define HAVE_SYS_TIMEB_H 1
-#define HAVE_SYS_TIME_H 1
-#define HAVE_SYS_TYPES_H 1
-#define HAVE_SYS_WAIT_H 1
-#define HAVE_UNISTD_H 1
-#define HAVE_UNISTD_H 1
-#define HAVE_UNISTD_H 1
-#define HAVE_VFORK 1
-#define HAVE_VPRINTF 1
-#define HAVE_WORKING_FORK 1
-#define HAVE_WORKING_VFORK 1
-#define HAVE_X11 1
-#define LSTAT_FOLLOWS_SLASHED_SYMLINK 1
 #define PACKAGE "LibVNCServer"
 #define PACKAGE_BUGREPORT "http://sourceforge.net/projects/libvncserver"
 #define PACKAGE_NAME "LibVNCServer"
 #define PACKAGE_STRING "LibVNCServer 0.9.7"
 #define PACKAGE_TARNAME "libvncserver"
 #define PACKAGE_VERSION "0.9.7"
-#define STDC_HEADERS 1
-#define STDC_HEADERS 1
-#define TIME_WITH_SYS_TIME 1
 #define VERSION "0.9.7"
-#define WITH_TIGHTVNC_FILETRANSFER 1
-#endif
-#ifdef __cplusplus
-extern "C" void exit (int) throw ();
 
-configure: exit 0
+configure: caught signal 2
+configure: exit 1
diff --git a/src/keymenu.cpp b/src/keymenu.cpp
new file mode 100644 (file)
index 0000000..506ad6e
--- /dev/null
@@ -0,0 +1,104 @@
+/*
+    Presence VNC
+    Copyright (C) 2010 Christian Pulvermacher
+
+    This program is free software; you can redistribute it and/or modify
+    it under the terms of the GNU General Public License as published by
+    the Free Software Foundation; either version 2 of the License, or
+    (at your option) any later version.
+
+    This program is distributed in the hope that it will be useful,
+    but WITHOUT ANY WARRANTY; without even the implied warranty of
+    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+    GNU General Public License for more details.
+
+    You should have received a copy of the GNU General Public License along
+    with this program; if not, write to the Free Software Foundation, Inc.,
+    51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+*/
+
+#include "keymenu.h"
+
+
+KeyMenu::KeyMenu(QWidget *parent):
+       QDialog(parent)
+{
+       setWindowTitle(tr("Additional Keys"));
+       QTabWidget *tabwidget = new QTabWidget(this);
+
+       //modifiers
+       ActionTab *mod_tab = new ActionTab(this);
+       QAction *win = new QAction(tr("Win"), this);
+       win->setShortcut(Qt::META);
+       win->setCheckable(true);
+       mod_tab->addAction(win);
+       QAction *alt = new QAction(tr("Alt"), this);
+       alt->setShortcut(Qt::ALT);
+       alt->setCheckable(true);
+       mod_tab->addAction(alt);
+       tabwidget->addTab(mod_tab, tr("Modifiers"));
+
+       //movement/text editing keys
+       ActionTab *other_tab = new ActionTab(this);
+       other_tab->addAction(tr("Insert"), Qt::Key_Insert);
+       other_tab->addAction(tr("Delete"), Qt::Key_Delete);
+       other_tab->addAction(tr("Backspace"), Qt::Key_Backspace);
+       other_tab->addAction(tr("Home"), Qt::Key_Home);
+       other_tab->addAction(tr("End"), Qt::Key_End);
+       tabwidget->addTab(other_tab, tr("Editing"));
+
+       //F1-F12
+       ActionTab *fx_tab = new ActionTab(this);
+       for(int i = 1; i<=12; i++)
+               fx_tab->addAction(tr("F%1").arg(i), QString("F%1").arg(i));
+       tabwidget->addTab(fx_tab, tr("F1-F12"));
+
+       //common key sequences
+       ActionTab *complex_tab = new ActionTab(this);
+       complex_tab->addAction(tr("Ctrl+Alt+Del"), QString("Ctrl+Alt+Delete"));
+       complex_tab->addAction(tr("Ctrl+Alt+Backspace"), QString("Ctrl+Alt+Backspace"));
+       tabwidget->addTab(complex_tab, tr("Misc"));
+
+       QVBoxLayout *layout = new QVBoxLayout();
+       layout->addWidget(tabwidget);
+       setLayout(layout);
+}
+
+void KeyMenu::accept()
+{
+       QAction* selected_action = qobject_cast<QAction* >(sender());
+       if(!selected_action) {
+               keysequence = QKeySequence();
+       } else {
+               keysequence = selected_action->shortcut();
+       }
+
+       QDialog::accept();
+}
+
+ActionTab::ActionTab(KeyMenu *parent):
+       QScrollArea(parent),
+       keymenu(parent)
+{
+       setWidgetResizable(true);
+       setWidget(&widget);
+       widget.setLayout(&layout);
+}
+
+void ActionTab::addAction(QString text, QKeySequence keysequence)
+{
+       QAction *action = new QAction(text, this);
+       action->setShortcut(keysequence);
+
+       addAction(action);
+}
+
+void ActionTab::addAction(QAction *action)
+{
+       connect(action, SIGNAL(triggered()),
+               keymenu, SLOT(accept()));
+
+       QToolButton *button = new QToolButton();
+       button->setDefaultAction(action);
+       layout.addWidget(button);
+}
diff --git a/src/keymenu.h b/src/keymenu.h
new file mode 100644 (file)
index 0000000..1e22ae3
--- /dev/null
@@ -0,0 +1,50 @@
+/*
+    Presence VNC
+    Copyright (C) 2010 Christian Pulvermacher
+
+    This program is free software; you can redistribute it and/or modify
+    it under the terms of the GNU General Public License as published by
+    the Free Software Foundation; either version 2 of the License, or
+    (at your option) any later version.
+
+    This program is distributed in the hope that it will be useful,
+    but WITHOUT ANY WARRANTY; without even the implied warranty of
+    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+    GNU General Public License for more details.
+
+    You should have received a copy of the GNU General Public License along
+    with this program; if not, write to the Free Software Foundation, Inc.,
+    51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+*/
+
+#ifndef KEYMENU_H
+#define KEYMENU_H
+
+#include <QtGui>
+
+
+class KeyMenu : public QDialog {
+       Q_OBJECT
+public:
+       KeyMenu(QWidget *parent);
+       QKeySequence getKeySequence() { return keysequence; }
+public slots:
+       virtual void accept();
+       virtual int exec() { keysequence = QKeySequence(); return QDialog::exec(); }
+private:
+       QKeySequence keysequence;
+};
+
+
+class ActionTab : public QScrollArea {
+       Q_OBJECT
+public:
+       ActionTab(KeyMenu *parent);
+       void addAction(QAction *action); //adds action and connects it to keymenu->accept()
+       void addAction(QString text, QKeySequence keysequence);
+private:
+       QWidget widget;
+       QHBoxLayout layout;
+       KeyMenu *keymenu;
+};
+#endif
index 89e087c..d152aad 100644 (file)
@@ -18,6 +18,7 @@
 */
 #include "connectdialog.h"
 #include "fullscreenexitbutton.h"
+#include "keymenu.h"
 #include "mainwindow.h"
 #include "preferences.h"
 #include "vncview.h"
@@ -28,6 +29,7 @@
 #include <X11/Xlib.h>
 #include <X11/Xatom.h>
 
+#include <iostream>
 
 MainWindow::MainWindow(QString url, int quality):
        QMainWindow(0),
@@ -43,7 +45,7 @@ MainWindow::MainWindow(QString url, int quality):
 
        //set up toolbar
        toolbar = new QToolBar(0);
-       toolbar->addAction(tr("Mod"), this, SLOT(showModifierMenu()));
+       toolbar->addAction(QChar(0x2026), this, SLOT(showKeyMenu())); //"..." button
        toolbar->addAction(tr("Tab"), this, SLOT(sendTab()));
        toolbar->addAction(tr("Esc"), this, SLOT(sendEsc()));
        toolbar->addAction(tr("PgUp"), this, SLOT(sendPgUp()));
@@ -144,9 +146,9 @@ void MainWindow::closeEvent(QCloseEvent*) {
 
 void MainWindow::about() {
        QMessageBox::about(this, tr("About Presence VNC"),
-               tr("<center><h1>Presence VNC 0.4</h1>\
-A touchscreen friendly VNC client\
-<a href=\"https://garage.maemo.org/projects/presencevnc/\">https://garage.maemo.org/projects/presencevnc</a></center>\
+               tr("<center><h1>Presence VNC 0.5</h1>\
+<p>A touchscreen friendly VNC client</p>\
+<p><a href=\"https://garage.maemo.org/projects/presencevnc/\">https://garage.maemo.org/projects/presencevnc</a></p></center>\
 <small><p>&copy;2010 Christian Pulvermacher &lt;pulvermacher@gmx.de&gt;</p>\
 <p>Based on KRDC, &copy; 2007-2008 Urs Wolfer</p>\
 <p>and LibVNCServer, &copy; 2001-2003 Johannes E. Schindelin</p>\
@@ -255,23 +257,12 @@ void MainWindow::toggleFullscreen()
        forceResizeDelayed();
 }
 
-void MainWindow::showModifierMenu()
+void MainWindow::showKeyMenu()
 {
-       static QMenu *mod_menu = new QMenu(tr("Modifiers"), this);
-       static QAction *win = mod_menu->addAction(tr("Win"));
-       static QAction *alt = mod_menu->addAction(tr("Alt"));
-       win->setCheckable(true);
-       alt->setCheckable(true);
-
-       //show menu at top-left corner of toolbar
-       QAction *chosen = mod_menu->exec(toolbar->mapToGlobal(QPoint(0,0)));
-       if(!chosen) {
-               return;
-       } else if(chosen == alt) {
-               vnc_view->sendKey(Qt::Key_Alt);
-       } else if(chosen == win) {
-               vnc_view->sendKey(Qt::Key_Meta);
-       }
+       static KeyMenu *key_menu = new KeyMenu(this);
+       key_menu->exec();
+
+       vnc_view->sendKeySequence(key_menu->getKeySequence());
 }
 
 void MainWindow::showPreferences()
index abdd66e..46fca44 100644 (file)
@@ -55,7 +55,7 @@ public slots:
        void sendPgDn() { vnc_view->sendKey(Qt::Key_PageDown); }
        void sendReturn() { vnc_view->sendKey(Qt::Key_Return); }
        void showInputPanel();
-       void showModifierMenu();
+       void showKeyMenu();
        void showPreferences();
        void statusChanged(RemoteView::RemoteStatus status);
        void toggleFullscreen();
index c011f76..f66d189 100644 (file)
@@ -23,6 +23,7 @@
 
 #include "vncclientthread.h"
 
+#include <QCoreApplication>
 #include <QMutexLocker>
 #include <QTimer>
 
index 7987e1c..13834b2 100644 (file)
@@ -289,6 +289,17 @@ void VncView::updateImage(int x, int y, int w, int h)
                return;
        }
      //kDebug(5011) << "got update" << width() << height();
+     static unsigned int frames = 0;
+     static unsigned int updates = 0;
+     static QTime time = QTime::currentTime();
+     updates++;
+     if(updates % 100 == 0)
+            kDebug(5011) << "u/s: " << updates/double(time.elapsed()) * 1000.0;
+if(x == 0 and y == 0) {
+       frames++;
+     if(frames % 100 == 0)
+            kDebug(5011) << "f/s: " << frames/double(time.elapsed()) * 1000.0;
+}
 
     m_x = x;
     m_y = y;
@@ -717,7 +728,8 @@ void VncView::clipboardDataChanged()
 //fake key events
 void VncView::sendKey(Qt::Key key)
 {
-       int k = 0; //X11 keysym
+       //convert Qt::Key into x11 keysym
+       int k = 0;
        switch(key) {
        case Qt::Key_Escape:
                k = 0xff1b;
@@ -734,12 +746,47 @@ void VncView::sendKey(Qt::Key key)
        case Qt::Key_Return:
                k = 0xff0d;
                break;
-       case Qt::Key_Meta: //TODO: test this.
+       case Qt::Key_Insert:
+               k = 0xff63;
+               break;
+       case Qt::Key_Delete:
+               k = 0xffff;
+               break;
+       case Qt::Key_Home:
+               k = 0xff50;
+               break;
+       case Qt::Key_End:
+               k = 0xff57;
+               break;
+       case Qt::Key_Backspace:
+               k = 0xff08;
+               break;
+       case Qt::Key_F1:
+       case Qt::Key_F2:
+       case Qt::Key_F3:
+       case Qt::Key_F4:
+       case Qt::Key_F5:
+       case Qt::Key_F6:
+       case Qt::Key_F7:
+       case Qt::Key_F8:
+       case Qt::Key_F9:
+       case Qt::Key_F10:
+       case Qt::Key_F11:
+       case Qt::Key_F12:
+               k = 0xffbe + int(key - Qt::Key_F1);
+               break;
+       case Qt::Key_Meta:
+       case Qt::MetaModifier:
                k = XK_Super_L;
                break;
        case Qt::Key_Alt:
+       case Qt::AltModifier:
                k = XK_Alt_L;
                break;
+       case Qt::Key_Control:
+       case Qt::ControlModifier:
+               k = XK_Control_L;
+               break;
        default:
                kDebug(5011) << "sendKey(): Unhandled Qt::Key value " << key;
                return;
@@ -759,6 +806,36 @@ void VncView::sendKey(Qt::Key key)
        }
 }
 
+void VncView::sendKeySequence(QKeySequence keys)
+{
+       Q_ASSERT(keys.count() <= 1); //we can only handle a single combination
+
+       //to get at individual key presses, we split 'keys' into its components
+       QList<int> key_list;
+       for(int i = 0; ; i++) {
+               QString k = keys.toString().section('+', i, i);
+               if(k.isEmpty())
+                       break;
+               kDebug(5011) << "found key: " << k;
+               if(k == "Alt") {
+                       key_list.append(Qt::Key_Alt);
+               } else if(k == "Ctrl") {
+                       key_list.append(Qt::Key_Control);
+               } else if(k == "Meta") {
+                       key_list.append(Qt::Key_Meta);
+               } else {
+                       key_list.append(QKeySequence(k)[0]);
+               }
+       }
+       
+       for(int i = 0; i < key_list.count(); i++)
+               sendKey(Qt::Key(key_list.at(i)));
+
+       //release modifiers (everything before final key)
+       for(int i = key_list.count()-2; i >= 0; i--)
+               sendKey(Qt::Key(key_list.at(i)));
+}
+
 void VncView::reloadSettings()
 {
        QSettings settings;
index e8d2ebb..f9e040d 100644 (file)
@@ -57,11 +57,12 @@ public:
     void setQuality(int q);
     void setViewOnly(bool viewOnly);
     void showDotCursor(DotCursorState state);
-    void sendKey(Qt::Key key);
     
 public slots:
     void enableScaling(bool scale);
     void scaleResize(int w, int h);
+    void sendKey(Qt::Key key);
+    void sendKeySequence(QKeySequence keys);
     void forceFullRepaint();
 
 protected:
diff --git a/vnc.pro b/vnc.pro
index 078ed16..159ef89 100644 (file)
--- a/vnc.pro
+++ b/vnc.pro
@@ -10,5 +10,5 @@ MOC_DIR = $${PWD}/tmp
 VPATH = $${PWD}/src
 INCLUDEPATH = $${PWD}/src
 
-HEADERS += remoteview.h vncclientthread.h vncview.h mainwindow.h preferences.h connectdialog.h fullscreenexitbutton.h
-SOURCES += main.cpp remoteview.cpp vncclientthread.cpp vncview.cpp mainwindow.cpp preferences.cpp connectdialog.cpp
+HEADERS += remoteview.h vncclientthread.h vncview.h mainwindow.h preferences.h connectdialog.h fullscreenexitbutton.h keymenu.h
+SOURCES += main.cpp remoteview.cpp vncclientthread.cpp vncview.cpp mainwindow.cpp preferences.cpp connectdialog.cpp keymenu.cpp