Commit 3c80351a authored by runge's avatar runge

Make VPATH building work with -I $(top_srcdir) for rfb/rfb.h

parent 6a6ccc8c
2006-04-26 Karl Runge <runge@karlrunge.com>
* all Makefile.am: use -I $(top_srcdir) instead of -I .. so VPATH
builds will work.
* configure.ac: create rfb subdir for rfbint.h under VPATH.
2006-04-17 Steven Carr <scarr@jsa-usa.com> 2006-04-17 Steven Carr <scarr@jsa-usa.com>
* Added an example camera application to demonstrate another * Added an example camera application to demonstrate another
way to write a server application. way to write a server application.
......
...@@ -34,11 +34,23 @@ ...@@ -34,11 +34,23 @@
# set VNCVIEWERCMD to whatever vncviewer command you want to use: # set VNCVIEWERCMD to whatever vncviewer command you want to use:
# #
VNCVIEWERCMD=${VNCVIEWERCMD:-vncviewer} VNCVIEWERCMD=${VNCVIEWERCMD:-vncviewer}
#
# Same for STUNNEL, e.g. /path/to/stunnel or stunnel4, etc.
#
PATH=$PATH:/usr/sbin:/usr/local/sbin:/dist/sbin; export PATH PATH=$PATH:/usr/sbin:/usr/local/sbin:/dist/sbin; export PATH
if [ "X$STUNNEL" = "X" ]; then
type stunnel4 > /dev/null 2>&1
if [ $? = 0 ]; then
STUNNEL=stunnel4
else
STUNNEL=stunnel
fi
fi
help() { help() {
head -36 $0 | tail +2 head -39 $0 | tail +2
} }
# grab our cmdline options: # grab our cmdline options:
...@@ -274,8 +286,8 @@ cat $tmp | uniq ...@@ -274,8 +286,8 @@ cat $tmp | uniq
echo "" echo ""
sleep 1 sleep 1
echo "running: stunnel $tmp" echo "running: $STUNNEL $tmp"
stunnel $tmp < /dev/tty > /dev/tty & $STUNNEL $tmp < /dev/tty > /dev/tty &
pid=$! pid=$!
echo "" echo ""
......
AM_CFLAGS=-I.. -g -Wall AM_CFLAGS=-I $(top_srcdir) -g -Wall
LDADD = ../libvncclient/libvncclient.a @WSOCKLIB@ LDADD = ../libvncclient/libvncclient.a @WSOCKLIB@
if WITH_FFMPEG if WITH_FFMPEG
......
...@@ -403,6 +403,10 @@ AC_TYPE_SIZE_T ...@@ -403,6 +403,10 @@ AC_TYPE_SIZE_T
AC_HEADER_TIME AC_HEADER_TIME
AC_HEADER_SYS_WAIT AC_HEADER_SYS_WAIT
AC_TYPE_SOCKLEN_T AC_TYPE_SOCKLEN_T
if test ! -d ./rfb; then
echo "creating subdir ./rfb for rfbint.h"
mkdir ./rfb
fi
AC_CREATE_STDINT_H(rfb/rfbint.h) AC_CREATE_STDINT_H(rfb/rfbint.h)
AC_CACHE_CHECK([for in_addr_t], AC_CACHE_CHECK([for in_addr_t],
inaddrt, [ inaddrt, [
......
AM_CFLAGS = -I .. AM_CFLAGS = -I $(top_srcdir)
LDADD = ../libvncserver/libvncserver.a @WSOCKLIB@ LDADD = ../libvncserver/libvncserver.a @WSOCKLIB@
noinst_PROGRAMS=zippy noinst_PROGRAMS=zippy
......
AM_CFLAGS=-I.. -g -Wall AM_CFLAGS=-I $(top_srcdir) -g -Wall
LDADD = ../libvncserver/libvncserver.a @WSOCKLIB@ LDADD = ../libvncserver/libvncserver.a @WSOCKLIB@
if OSX if OSX
......
AM_CFLAGS=-g -I.. -I. -Wall AM_CFLAGS=-g -I $(top_srcdir) -I. -Wall
libvncclient_a_SOURCES=cursor.c listen.c rfbproto.c sockets.c vncviewer.c libvncclient_a_SOURCES=cursor.c listen.c rfbproto.c sockets.c vncviewer.c
......
AM_CFLAGS=-g -Wall AM_CFLAGS=-g -Wall -I $(top_srcdir)
if WITH_TIGHTVNC_FILETRANSFER if WITH_TIGHTVNC_FILETRANSFER
TIGHTVNCFILETRANSFERHDRS=tightvnc-filetransfer/filelistinfo.h \ TIGHTVNCFILETRANSFERHDRS=tightvnc-filetransfer/filelistinfo.h \
......
AM_CFLAGS=-g -Wall AM_CFLAGS=-g -Wall -I $(top_srcdir)
includedir=$(prefix)/include/rfb includedir=$(prefix)/include/rfb
......
AM_CFLAGS=-I.. -g -Wall AM_CFLAGS=-I $(top_srcdir) -g -Wall
LDADD = ../libvncserver/libvncserver.a ../libvncclient/libvncclient.a @WSOCKLIB@ LDADD = ../libvncserver/libvncserver.a ../libvncclient/libvncclient.a @WSOCKLIB@
if HAVE_LIBPTHREAD if HAVE_LIBPTHREAD
......
2006-04-26 Karl Runge <runge@karlrunge.com>
* x11vnc: skip exit in check_openssl() if not compiled with
libssl. set SKIP_HELP (again) in small footprint builds.
2006-04-16 Karl Runge <runge@karlrunge.com> 2006-04-16 Karl Runge <runge@karlrunge.com>
* x11vnc: More web proxy work for Java SSL applet and wrapper * x11vnc: More web proxy work for Java SSL applet and wrapper
script ssl_vncviewer. Apache SSL gateway support for script ssl_vncviewer. Apache SSL gateway support for
......
AM_CFLAGS = -I .. AM_CFLAGS = -I $(top_srcdir)
LDADD = ../libvncserver/libvncserver.a @WSOCKLIB@ LDADD = ../libvncserver/libvncserver.a @WSOCKLIB@
SUBDIRS = misc SUBDIRS = misc
......
This diff is collapsed.
...@@ -2891,7 +2891,9 @@ void xopen_display_fail_message(char *disp) { ...@@ -2891,7 +2891,9 @@ void xopen_display_fail_message(char *disp) {
fprintf(stderr, " by the -auth option, e.g.:\n"); fprintf(stderr, " by the -auth option, e.g.:\n");
fprintf(stderr, " x11vnc -auth /home/someuser/.Xauthority" fprintf(stderr, " x11vnc -auth /home/someuser/.Xauthority"
" -display :0\n"); " -display :0\n");
fprintf(stderr, " you must have read permission for that file.\n"); fprintf(stderr, " x11vnc -auth /tmp/.gdmzndVlR"
" -display :0\n");
fprintf(stderr, " you must have read permission for the auth file.\n");
fprintf(stderr, "\n"); fprintf(stderr, "\n");
fprintf(stderr, " - If NO ONE is logged into an X session yet, but" fprintf(stderr, " - If NO ONE is logged into an X session yet, but"
" there is a greeter login\n"); " there is a greeter login\n");
......
...@@ -34,8 +34,8 @@ static void badnews(void) { ...@@ -34,8 +34,8 @@ static void badnews(void) {
void openssl_init(void) {badnews();} void openssl_init(void) {badnews();}
void openssl_port(void) {badnews();} void openssl_port(void) {badnews();}
void https_port(void) {badnews();} void https_port(void) {badnews();}
void check_openssl(void) {badnews();} void check_openssl(void) {if (use_openssl) badnews();}
void check_https(void) {badnews();} void check_https(void) {if (use_openssl) badnews();}
void ssl_helper_pid(pid_t pid, int sock) {badnews(); sock = pid;} void ssl_helper_pid(pid_t pid, int sock) {badnews(); sock = pid;}
void accept_openssl(int mode) {mode = 0; badnews();} void accept_openssl(int mode) {mode = 0; badnews();}
char *find_openssl_bin(void) {badnews(); return NULL;} char *find_openssl_bin(void) {badnews(); return NULL;}
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
.TH X11VNC "1" "April 2006" "x11vnc " "User Commands" .TH X11VNC "1" "April 2006" "x11vnc " "User Commands"
.SH NAME .SH NAME
x11vnc - allow VNC connections to real X11 displays x11vnc - allow VNC connections to real X11 displays
version: 0.8.1, lastmod: 2006-04-16 version: 0.8.1, lastmod: 2006-04-25
.SH SYNOPSIS .SH SYNOPSIS
.B x11vnc .B x11vnc
[OPTION]... [OPTION]...
......
...@@ -143,7 +143,7 @@ ...@@ -143,7 +143,7 @@
#undef NOGUI #undef NOGUI
#define NOGUI #define NOGUI
#undef SKIP_HELP #undef SKIP_HELP
#define SKIP_HELP 0 #define SKIP_HELP 1
#endif #endif
#if (SMALL_FOOTPRINT > 1) #if (SMALL_FOOTPRINT > 1)
......
...@@ -15,7 +15,7 @@ int xtrap_base_event_type = 0; ...@@ -15,7 +15,7 @@ int xtrap_base_event_type = 0;
int xdamage_base_event_type = 0; int xdamage_base_event_type = 0;
/* date +'lastmod: %Y-%m-%d' */ /* date +'lastmod: %Y-%m-%d' */
char lastmod[] = "0.8.1 lastmod: 2006-04-16"; char lastmod[] = "0.8.1 lastmod: 2006-04-25";
/* X display info */ /* X display info */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment