78 |
echo "Build configuration:" |
echo "Build configuration:" |
79 |
echo " --with-x=DIR look for X Window System at DIR/include, DIR/lib" |
echo " --with-x=DIR look for X Window System at DIR/include, DIR/lib" |
80 |
echo " --with-openssl=DIR look for OpenSSL at DIR/include, DIR/lib" |
echo " --with-openssl=DIR look for OpenSSL at DIR/include, DIR/lib" |
81 |
echo " --without-openssl use in-tree crypto, even if OpenSSL is available" |
#echo " --without-openssl use in-tree crypto, even if OpenSSL is available" |
82 |
echo " --with-egd-socket=PATH look for Entropy Gathering Daemon socket at PATH" |
echo " --with-egd-socket=PATH look for Entropy Gathering Daemon socket at PATH" |
83 |
echo " --with-libvncserver make rdp2vnc" |
echo " --with-libvncserver make rdp2vnc" |
84 |
echo " --with-libvncserver-config=CMD" |
echo " --with-libvncserver-config=CMD" |
175 |
ldflags="$ldflags" |
ldflags="$ldflags" |
176 |
targets="$targets rdesktop" |
targets="$targets rdesktop" |
177 |
|
|
178 |
if [ -z "$withoutopenssl" ]; then |
#withoutopenssl not currently supported |
179 |
|
#if [ -z "$withoutopenssl" ]; then |
180 |
# Find OpenSSL installation if available |
# Find OpenSSL installation if available |
181 |
ssldirs="$extrassldir /usr/openssl /usr/ssl /usr /usr/local/openssl /usr/local/ssl /usr/local" |
ssldirs="$extrassldir /usr/openssl /usr/ssl /usr /usr/local/openssl /usr/local/ssl /usr/local" |
182 |
|
|
188 |
done |
done |
189 |
|
|
190 |
if [ -z "$ssldir" ]; then |
if [ -z "$ssldir" ]; then |
191 |
echo "WARNING: could not find OpenSSL headers" |
echo "ERROR: could not find OpenSSL headers" |
192 |
echo "(searched for include/openssl/rc4.h in: $ssldirs)" |
echo "(searched for include/openssl/rc4.h in: $ssldirs)" |
193 |
echo "Using in-tree crypto; installing OpenSSL is recommended." |
# additional helpful information for Linux users |
194 |
echo |
if [ -f /etc/redhat-release ]; then |
195 |
|
echo You probably need to install the openssl-devel package |
196 |
|
elif [ -f /etc/debian_version ]; then |
197 |
|
echo You probably need to install the libssl-dev package |
198 |
|
fi |
199 |
|
exit 1 |
200 |
else |
else |
201 |
echo "OpenSSL:" |
echo "OpenSSL:" |
202 |
echo " includes $ssldir/include" |
echo " includes $ssldir/include" |
214 |
cflags="$cflags -DWITH_OPENSSL" |
cflags="$cflags -DWITH_OPENSSL" |
215 |
ldflags="$ldflags -lcrypto" |
ldflags="$ldflags -lcrypto" |
216 |
fi |
fi |
217 |
fi |
#fi |
218 |
|
|
219 |
if [ ! -z "$withvncserver" ]; then |
if [ ! -z "$withvncserver" ]; then |
220 |
if [ -z "$vncserverconfig" ]; then |
if [ -z "$vncserverconfig" ]; then |