59 |
--with-debug-kbd) |
--with-debug-kbd) |
60 |
cflags="$cflags -g -DWITH_DEBUG_KBD" |
cflags="$cflags -g -DWITH_DEBUG_KBD" |
61 |
;; |
;; |
62 |
|
--with-debug-rdp5) |
63 |
|
cflags="$cflags -g -DWITH_DEBUG_RDP5" |
64 |
|
;; |
65 |
|
--with-debug-clipboard) |
66 |
|
cflags="$cflags -g -DWITH_DEBUG_CLIPBOARD" |
67 |
|
;; |
68 |
--without-debug*) |
--without-debug*) |
69 |
;; |
;; |
70 |
*) |
*) |
85 |
echo " use CMD as libvncserver-config" |
echo " use CMD as libvncserver-config" |
86 |
echo " --with-debug enable protocol debugging output" |
echo " --with-debug enable protocol debugging output" |
87 |
echo " --with-debug-kbd enable debugging of keyboard handling" |
echo " --with-debug-kbd enable debugging of keyboard handling" |
88 |
|
echo " --with-debug-rdp5 enable debugging of RDP5 code" |
89 |
|
echo " --with-debug-clipboard enable debugging of clipboard code" |
90 |
echo |
echo |
91 |
rm -f Makeconf |
rm -f Makeconf |
92 |
exit 1 |
exit 1 |
137 |
echo "(searched for include/X11/Xlib.h in: $xdirs)" |
echo "(searched for include/X11/Xlib.h in: $xdirs)" |
138 |
|
|
139 |
# additional helpful information for Linux users |
# additional helpful information for Linux users |
140 |
if [ -f /etc/redhat_release ]; then |
if [ -f /etc/redhat-release ]; then |
141 |
echo You probably need to install the XFree86-devel package |
echo You probably need to install the XFree86-devel package |
142 |
elif [ -f /etc/debian_version ]; then |
elif [ -f /etc/debian_version ]; then |
143 |
echo You probably need to install the xlibs-dev package |
echo You probably need to install the xlibs-dev package |
235 |
fi |
fi |
236 |
fi |
fi |
237 |
|
|
238 |
|
# Check for OSS sound support |
239 |
|
|
240 |
|
if [ -f /usr/include/sys/soundcard.h ]; then |
241 |
|
echo Sound support enabled: Open Sound System |
242 |
|
echo |
243 |
|
echo "SOUNDOBJ = rdpsnd.o rdpsnd_oss.o" >>Makeconf |
244 |
|
cflags="$cflags -DWITH_RDPSND" |
245 |
|
elif [ -f /usr/include/sys/audio.h ]; then |
246 |
|
echo Sound support enabled: Sun |
247 |
|
echo |
248 |
|
echo "SOUNDOBJ = rdpsnd.o rdpsnd_sun.o" >>Makeconf |
249 |
|
cflags="$cflags -DWITH_RDPSND" |
250 |
|
else |
251 |
|
echo "WARNING: sound support disabled (no /usr/include/sys/soundcard.h or /usr/include/sys/audio.h)" |
252 |
|
echo "Currently supported systems are Open Sound System and Sun" |
253 |
|
echo |
254 |
|
fi |
255 |
|
|
256 |
|
|
257 |
# Platform-specific options |
# Platform-specific options |
258 |
|
|