5 |
# Copyright (C) Matthew Chapman 1999-2001 |
# Copyright (C) Matthew Chapman 1999-2001 |
6 |
# |
# |
7 |
|
|
8 |
|
echo "rdesktop build configuration script" |
9 |
|
echo |
10 |
|
|
11 |
echo "# Generated by $0 $*" >Makeconf |
echo "# Generated by $0 $*" >Makeconf |
12 |
|
|
13 |
|
|
47 |
--without-debug*) |
--without-debug*) |
48 |
;; |
;; |
49 |
*) |
*) |
|
echo "rdesktop build configuration script" |
|
|
echo |
|
50 |
echo "Target directories:" |
echo "Target directories:" |
51 |
echo " --prefix=PREFIX location for architecture-independent files" |
echo " --prefix=PREFIX location for architecture-independent files" |
52 |
echo " --exec-prefix=EPREFIX location for architecture-dependent files" |
echo " --exec-prefix=EPREFIX location for architecture-dependent files" |
101 |
exit 1 |
exit 1 |
102 |
fi |
fi |
103 |
|
|
104 |
|
echo "X Window System:" |
105 |
|
echo " includes $xdir/include" |
106 |
|
echo " libraries $xdir/lib" |
107 |
|
echo |
108 |
|
|
109 |
if [ $xdir != "/usr" ]; then |
if [ $xdir != "/usr" ]; then |
110 |
cflags="$cflags -I$xdir/include" |
cflags="$cflags -I$xdir/include" |
111 |
ldflags="$ldflags -L$xdir/lib" |
ldflags="$ldflags -L$xdir/lib" |
134 |
echo "Using in-tree crypto; installing OpenSSL is recommended." |
echo "Using in-tree crypto; installing OpenSSL is recommended." |
135 |
echo |
echo |
136 |
else |
else |
137 |
|
echo "OpenSSL:" |
138 |
|
echo " includes $ssldir/include" |
139 |
|
echo " libraries $ssldir/lib" |
140 |
|
echo |
141 |
|
|
142 |
echo "CRYPTOBJ =" >>Makeconf |
echo "CRYPTOBJ =" >>Makeconf |
143 |
|
|
144 |
if [ $ssldir != "/usr" ]; then |
if [ $ssldir != "/usr" ]; then |