[or-cvs] fix a flipped boolean. I had mistakenly assumed my OSX latp...

Nick Mathewson nickm at seul.org
Mon Mar 13 06:40:39 UTC 2006


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

Modified Files:
	configure.in 
Log Message:
fix a flipped boolean. I had mistakenly assumed my OSX latptop was my friend

Index: configure.in
===================================================================
RCS file: /home/or/cvsroot/tor/configure.in,v
retrieving revision 1.271
retrieving revision 1.272
diff -u -p -d -r1.271 -r1.272
--- configure.in	13 Mar 2006 06:23:24 -0000	1.271
+++ configure.in	13 Mar 2006 06:40:37 -0000	1.272
@@ -292,7 +292,10 @@ int main(void)
         AC_TRY_RUN([
 #include <openssl/opensslv.h>
 #include <openssl/crypto.h>
-int main(void) { return OPENSSL_VERSION_NUMBER == SSLeay(); }],
+#include <stdio.h>
+int main(void) {
+return (OPENSSL_VERSION_NUMBER == SSLeay()) == 0;
+}],
         right_version=yes, right_version=no)
         if test "$right_version" = yes; then
           if test -z "$ssl_extra" ; then
@@ -314,7 +317,7 @@ int main(void) { return OPENSSL_VERSION_
         else
             ac_cv_openssl_linker_option=$linked_with
         fi
-        AC_MSG_WARN([I managed to make OpenSSL link and run, but I couldn't make it run with the same version as the headers made us expect.])
+        AC_MSG_WARN([I managed to make OpenSSL link and run, but I couldn't make it link against with the same version I found header files for..])
       fi
     fi
     LDFLAGS="$saved_LDFLAGS"



More information about the tor-commits mailing list