瀏覽代碼

fix a flipped boolean. I had mistakenly assumed my OSX latptop was my friend

svn:r6152
Nick Mathewson 19 年之前
父節點
當前提交
f8d4758a26
共有 1 個文件被更改,包括 5 次插入2 次删除
  1. 5 2
      configure.in

+ 5 - 2
configure.in

@@ -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_NUMBER == SSLeay(); }],
         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"