[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[or-cvs] Be sure to restore LDFLAGS from LDFLAGS, not from LIBS.



Update of /home/or/cvsroot/tor
In directory moria:/tmp/cvs-serv1042

Modified Files:
	configure.in 
Log Message:
Be sure to restore LDFLAGS from LDFLAGS, not from LIBS.

Index: configure.in
===================================================================
RCS file: /home/or/cvsroot/tor/configure.in,v
retrieving revision 1.259
retrieving revision 1.260
diff -u -p -d -r1.259 -r1.260
--- configure.in	1 Feb 2006 02:15:44 -0000	1.259
+++ configure.in	3 Feb 2006 19:34:09 -0000	1.260
@@ -139,7 +139,7 @@ AC_CACHE_CHECK([for libevent directory],
     fi
   done
   LIBS="$saved_LIBS"
-  LDFLAGS="$saved_LIBS"
+  LDFLAGS="$saved_LDFLAGS"
   if test $le_found = no ; then
     AC_MSG_ERROR([Could not find a linkable libevent. You can specify an explicit path using --with-libevent-dir])
   fi
@@ -229,7 +229,7 @@ AC_CACHE_CHECK([for OpenSSL directory], 
     fi
   done
   LIBS="$saved_LIBS"
-  LDFLAGS="$saved_LIBS"
+  LDFLAGS="$saved_LDFLAGS"
   if test $ssl_found = no ; then
     AC_MSG_ERROR([Could not find a linkable OpenSSL. You can specify an explicit path using --with-ssl-dir])
   fi