mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-10 05:03:43 +01:00
switch "-lcrypto -lssl" to "-lssl -lcrypto" for broken distributions
enforce -g on compile always. we're an alpha release after all. svn:r878
This commit is contained in:
parent
01cf9c2dd8
commit
5a894a1595
@ -3,7 +3,7 @@ AC_INIT
|
||||
AM_INIT_AUTOMAKE(tor, 0.0.2pre14)
|
||||
AM_CONFIG_HEADER(orconfig.h)
|
||||
|
||||
CFLAGS="$CFLAGS -Wall -O2 -I/usr/kerberos/include"
|
||||
CFLAGS="$CFLAGS -Wall -g -O2 -I/usr/kerberos/include"
|
||||
|
||||
AC_ARG_ENABLE(debug,
|
||||
[ --enable-debug compiles with debugging info],
|
||||
@ -36,8 +36,8 @@ AC_CACHE_CHECK([for OpenSSL directory], ac_cv_openssldir, [
|
||||
for ssldir in $tryssldir "" /usr/local/openssl /usr/lib/openssl /usr/local/ssl /usr/lib/ssl /usr/local /usr/pkg /opt /opt/openssl ; do
|
||||
CPPFLAGS="$saved_CPPFLAGS"
|
||||
LDFLAGS="$saved_LDFLAGS"
|
||||
LIBS="$saved_LIBS -lcrypto -lssl"
|
||||
|
||||
LIBS="$saved_LIBS -lssl -lcrypto"
|
||||
|
||||
# Skip directories if they don't exist
|
||||
if test ! -z "$ssldir" -a ! -d "$ssldir" ; then
|
||||
continue;
|
||||
@ -126,7 +126,7 @@ if (test ! -z "$ac_cv_openssldir" && test "x$ac_cv_openssldir" != "x(system)") ;
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
LIBS="$saved_LIBS -lcrypto -lssl"
|
||||
LIBS="$saved_LIBS -lssl -lcrypto"
|
||||
|
||||
dnl The warning message here is no longer strictly accurate.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user