Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
L
libvncserver
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
rasky
libvncserver
Commits
60918e66
Commit
60918e66
authored
Jan 12, 2006
by
runge
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
configure.ac: add switches for most X extensions.
parent
9b3163c0
Changes
7
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
81 additions
and
37 deletions
+81
-37
ChangeLog
ChangeLog
+3
-0
configure.ac
configure.ac
+61
-31
ChangeLog
x11vnc/ChangeLog
+3
-0
README
x11vnc/README
+1
-1
tkx11vnc
x11vnc/tkx11vnc
+2
-2
tkx11vnc.h
x11vnc/tkx11vnc.h
+3
-3
x11vnc.h
x11vnc/x11vnc.h
+8
-0
No files found.
ChangeLog
View file @
60918e66
2006-01-12 Karl Runge <runge@karlrunge.com>
* configure.ac: add switches for most X extensions.
2006-01-10 Johannes E. Schindelin <Johannes.Schindelin@gmx.de>
* libvncserver/{main.c,rfbserver.c}: fix timely closing of clients;
the client iterator in rfbProcessEvents() has to iterate also
...
...
configure.ac
View file @
60918e66
...
...
@@ -59,6 +59,22 @@ AH_TEMPLATE(HAVE_LIBXTRAP, [DEC-XTRAP extension build environment present])
AH_TEMPLATE(HAVE_RECORD, [RECORD extension build environment present])
AH_TEMPLATE(HAVE_SOLARIS_XREADSCREEN, [Solaris XReadScreen available])
AH_TEMPLATE(HAVE_IRIX_XREADDISPLAY, [IRIX XReadDisplay available])
AC_ARG_WITH(xkeyboard,
[ --without-xkeyboard disable xkeyboard extension support],,)
AC_ARG_WITH(xinerama,
[ --without-xinerama disable xinerama extension support],,)
AC_ARG_WITH(xrandr,
[ --without-xrandr disable xrandr extension support],,)
AC_ARG_WITH(xfixes,
[ --without-xfixes disable xfixes extension support],,)
AC_ARG_WITH(xdamage,
[ --without-xdamage disable xdamage extension support],,)
AC_ARG_WITH(xtrap,
[ --without-xtrap disable xtrap extension support],,)
AC_ARG_WITH(xrecord,
[ --without-xrecord disable xrecord extension support],,)
if test "$X_CFLAGS" != "-DX_DISPLAY_MISSING"; then
AC_CHECK_LIB(X11, XGetImage, HAVE_X="true",
HAVE_X="false",
...
...
@@ -89,12 +105,15 @@ if test "$X_CFLAGS" != "-DX_DISPLAY_MISSING"; then
[AC_DEFINE(HAVE_XTEST)], ,
$X_LIBS $X_PRELIBS -lX11 $X_EXTRA_LIBS)
if test "x$with_xrecord" != "xno"; then
AC_CHECK_LIB(Xtst, XRecordEnableContextAsync,
X_PRELIBS="$X_PRELIBS -lXtst"
[AC_DEFINE(HAVE_RECORD)], ,
$X_LIBS $X_PRELIBS -lX11 $X_EXTRA_LIBS)
fi
# we use XTRAP on X11R5, or user can set X11VNC_USE_XTRAP
if test "x$with_xtrap" != "xno"; then
if test ! -z "$X11VNC_USE_XTRAP" -o -z "$HAVE_XTESTGRABCONTROL"; then
AC_CHECK_LIB(XTrap, XETrapSetGrabServer,
X_PRELIBS="$X_PRELIBS -lXTrap"
...
...
@@ -106,7 +125,9 @@ if test "$X_CFLAGS" != "-DX_DISPLAY_MISSING"; then
[AC_DEFINE(HAVE_LIBXTRAP)], ,
$X_LIBS $X_PRELIBS -lX11 $X_EXTRA_LIBS)
fi
fi
if test "x$with_xkeyboard" != "xno"; then
saved_CPPFLAGS="$CPPFLAGS"
CPPFLAGS="$CPPFLAGS $X_CFLAGS"
AC_CHECK_HEADER(X11/XKBlib.h, HAVE_XKBLIB_H="true",
...
...
@@ -117,26 +138,35 @@ if test "$X_CFLAGS" != "-DX_DISPLAY_MISSING"; then
[AC_DEFINE(HAVE_XKEYBOARD)], ,
$X_LIBS $X_PRELIBS -lX11 $X_EXTRA_LIBS)
fi
fi
if test "x$with_xinerama" != "xno"; then
AC_CHECK_LIB(Xinerama, XineramaQueryScreens,
X_PRELIBS="$X_PRELIBS -lXinerama"
[AC_DEFINE(HAVE_LIBXINERAMA)], ,
$X_LIBS $X_PRELIBS -lX11 $X_EXTRA_LIBS)
fi
if test "x$with_xrandr" != "xno"; then
AC_CHECK_LIB(Xrandr, XRRSelectInput,
X_PRELIBS="$X_PRELIBS -lXrandr"
[AC_DEFINE(HAVE_LIBXRANDR)], ,
$X_LIBS $X_PRELIBS -lX11 $X_EXTRA_LIBS)
fi
if test "x$with_xfixes" != "xno"; then
AC_CHECK_LIB(Xfixes, XFixesGetCursorImage,
X_PRELIBS="$X_PRELIBS -lXfixes"
[AC_DEFINE(HAVE_LIBXFIXES) HAVE_LIBXFIXES="true"], ,
$X_LIBS $X_PRELIBS -lX11 $X_EXTRA_LIBS)
fi
if test "x$with_xdamage" != "xno"; then
AC_CHECK_LIB(Xdamage, XDamageQueryExtension,
X_PRELIBS="$X_PRELIBS -lXdamage"
[AC_DEFINE(HAVE_LIBXDAMAGE) HAVE_LIBXDAMAGE="true"], ,
$X_LIBS $X_PRELIBS -lX11 $X_EXTRA_LIBS)
fi
if test ! -z "$HAVE_LIBXFIXES" -o ! -z "$HAVE_LIBXDAMAGE"; then
# need /usr/sfw/lib in RPATH for Solaris 10 and later
...
...
x11vnc/ChangeLog
View file @
60918e66
2006-01-12 Karl Runge <runge@karlrunge.com>
* fix -DSMALL_FOOTPRINT=N builds.
2006-01-11 Karl Runge <runge@karlrunge.com>
* x11vnc: close fd > 2 in run_user_command(), -nocmds in crash_debug,
fix 64bit bug for -solid.
...
...
x11vnc/README
View file @
60918e66
x11vnc
README
file
Date
:
Wed
Jan
11
13
:
09
:
08
EST
2006
x11vnc
README
file
Date
:
Wed
Jan
11
23
:
08
:
25
EST
2006
The
following
information
is
taken
from
these
URLs
:
...
...
x11vnc/tkx11vnc
View file @
60918e66
...
...
@@ -3,7 +3,7 @@
exec
wish
"
$0
"
"
$@
"
catch
{
rename send
{}}
#
# Copyright (c) 2004-200
5
Karl J. Runge <runge@karlrunge.com>
# Copyright (c) 2004-200
6
Karl J. Runge <runge@karlrunge.com>
# All rights reserved.
#
# This is free software; you can redistribute it and/or modify
...
...
@@ -5955,7 +5955,7 @@ if {"$argv" == "-spit"} {
puts "#ifndef _TKX11VNC_H"
puts "#define _TKX11VNC_H"
puts "#ifdef NOGUI"
puts "char gui_code
[
] = \"\";"
puts "char gui_code
\[\
] = \"\";"
puts "#else"
puts "/*"
puts " * tkx11vnc.h: generated by 'tkx11vnc -spit'"
...
...
x11vnc/tkx11vnc.h
View file @
60918e66
#ifndef _TKX11VNC_H
#define _TKX11VNC_H
#ifdef NOGUI
char
gui_code
=
""
;
char
gui_code
[]
=
""
;
#else
/*
* tkx11vnc.h: generated by 'tkx11vnc -spit'
...
...
@@ -14,7 +14,7 @@ char gui_code = "";
"exec wish
\"
$0
\"
\"
$@
\"\n
"
"catch {rename send {}}
\n
"
"#
\n
"
"# Copyright (c) 2004-200
5
Karl J. Runge <runge@karlrunge.com>
\n
"
"# Copyright (c) 2004-200
6
Karl J. Runge <runge@karlrunge.com>
\n
"
"# All rights reserved.
\n
"
"#
\n
"
"# This is free software; you can redistribute it and/or modify
\n
"
...
...
@@ -5966,7 +5966,7 @@ char gui_code = "";
" puts
\"
#ifndef _TKX11VNC_H
\"\n
"
" puts
\"
#define _TKX11VNC_H
\"\n
"
" puts
\"
#ifdef NOGUI
\"\n
"
" puts
\"
char gui_code
[
] =
\\\"\\\"
;
\"\n
"
" puts
\"
char gui_code
\\
[
\\
] =
\\\"\\\"
;
\"\n
"
" puts
\"
#else
\"\n
"
" puts
\"
/*
\"\n
"
" puts
\"
* tkx11vnc.h: generated by 'tkx11vnc -spit'
\"\n
"
...
...
x11vnc/x11vnc.h
View file @
60918e66
...
...
@@ -117,6 +117,11 @@
#endif
#if (SMALL_FOOTPRINT > 1)
#undef LIBVNCSERVER_HAVE_XKEYBOARD
#undef LIBVNCSERVER_HAVE_LIBXINERAMA
#undef LIBVNCSERVER_HAVE_LIBXRANDR
#undef LIBVNCSERVER_HAVE_LIBXFIXES
#undef LIBVNCSERVER_HAVE_LIBXDAMAGE
#define LIBVNCSERVER_HAVE_XKEYBOARD 0
#define LIBVNCSERVER_HAVE_LIBXINERAMA 0
#define LIBVNCSERVER_HAVE_LIBXRANDR 0
...
...
@@ -125,6 +130,9 @@
#endif
#if (SMALL_FOOTPRINT > 2)
#undef LIBVNCSERVER_HAVE_UTMPX_H
#undef LIBVNCSERVER_HAVE_PWD_H
#undef REMOTE_CONTROL
#define LIBVNCSERVER_HAVE_UTMPX_H 0
#define LIBVNCSERVER_HAVE_PWD_H 0
#define REMOTE_CONTROL 0
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment