Works for me.
Dw On Fri, 6 Sep 2002, Sander Temme wrote: > All, > > The following patch allows MacOSX/Darwin to find the SSL library. With this > patch, the current CVS HEAD of httpd-2.0 compiles with mod_ssl enabled and > passes all ssl tests in the perl-framework (except for ssl/proxy since I > didn't have proxy enabled): > > Index: acinclude.m4 > =================================================================== > RCS file: /home/cvspublic/httpd-2.0/acinclude.m4,v > retrieving revision 1.130 > diff -u -r1.130 acinclude.m4 > --- acinclude.m4 19 Aug 2002 07:33:45 -0000 1.130 > +++ acinclude.m4 6 Sep 2002 21:30:38 -0000 > @@ -461,7 +461,7 @@ > ap_ssltk_libdir="" > for p in $ap_ssltk_base/lib /usr/local/openssl/lib \ > /usr/local/ssl/lib /usr/local/lib /usr/lib /lib /usr/lib64; do > - if test -f "$p/libssl.a" -o -f "$p/libssl.so"; then > + if test -f "$p/libssl.a" -o -f "$p/libssl.so" -o -f "$p/libssl.dylib"; > then > ap_ssltk_libdir="$p" > break > fi > > Same patch attached to prevent line-ending and word wrapping madness. > > I tested this on MacOSX 10.2 (Jaguar) and on a linux box. The reason to > limit this to 10.2 is as follows: while Apple included the SSL library > binary with previous versions of the OS, the headers were missing. Some > people got results by snarfing headers from somewhere else, but mileage > varied immensely. As of the 10.2 Apple developer tools installer, there is > an optional install item that installs a BSD compatibility SDK. This has, > among others, the OpenSSL headers needed to build mod_ssl. > > Enjoy, > > Sander 'one line patch' Temme > >
