diff options
author | Roger Dingledine <arma@torproject.org> | 2003-12-03 09:55:16 +0000 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2003-12-03 09:55:16 +0000 |
commit | 5a894a1595d7857f9106e186f0b91ceb0f62c965 (patch) | |
tree | e661b3807be01cc6576a84c9fd7791304045cdf7 /configure.in | |
parent | 01cf9c2dd8457dc74e714d7e43db6e553b511739 (diff) | |
download | tor-5a894a1595d7857f9106e186f0b91ceb0f62c965.tar.gz tor-5a894a1595d7857f9106e186f0b91ceb0f62c965.zip |
switch "-lcrypto -lssl" to "-lssl -lcrypto" for broken distributions
enforce -g on compile always. we're an alpha release after all.
svn:r878
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/configure.in b/configure.in index 33ad824a99..b329ac4abb 100644 --- a/configure.in +++ b/configure.in @@ -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. |