[Dillo-dev][patch] dillo-cvs fails to detect OpenSSL on FreeBSD
Hi all, I am the current maintainer of the dillo FreeBSD port. While looking at the current CVS version, I noticed that it fails to detect OpenSSL on FreeBSD (which has OpenSSL 0.9.7d in the base system) because the test program does not link to libcrypto, which causes the linking of the test program to fail with "unresolved symbols". The following patch "works for me", i.e. dillo compiles and the https filter does not error out directly (well, it failed anyway with "The remote certificate cannot be trusted" when I tried accessing <https://www.iks-jena.de> but I guess that is to be expected right now?). Anyway, keep up the good work! Index: configure.in =================================================================== RCS file: /sfhome/cvs/dillo/dillo/configure.in,v retrieving revision 1.76 diff -u -u -r1.76 configure.in --- configure.in 16 Jul 2004 22:57:19 -0000 1.76 +++ configure.in 31 Jul 2004 20:16:28 -0000 @@ -229,7 +229,7 @@ if test "x$ssl_ok" = "xyes"; then old_libs="$LIBS" - AC_CHECK_LIB(ssl, SSL_library_init, ssl_ok=yes, ssl_ok=no) + AC_CHECK_LIB(ssl, SSL_library_init, ssl_ok=yes, ssl_ok=no, -lcrypto) LIBS="$old_libs" fi
participants (1)
-
Thomas-Martin Seck