Clere Jean-Frederic FSC EP LP COM 5 wrote:
>
> Greg Stein wrote:
> >
> > On Wed, Apr 25, 2001 at 07:10:56PM +0200, jean-frederic clere wrote:
> > >...
> > > In configure a is little more is need (openssl version check, someone have to do
> > > it):
> >
> > We've already known that a lot of config stuff needs to happen. The change
> > below isn't going to be quite right because it may work on *your* machine,
> > but it will break on somebody elses.
>
> Agreed, (sorry) the m4 patches surely breaks something. I will try to propose a
> new one.
The one enclosed should not break the other machines... Now mod_tls works on my
machines, that is a nice test/demo tool!
>
> > The configure process needs to move to
> > a more flexible "look in a bunch of areas" type of search.
> >
> > Cheers,
> > -g
> >
> > --
> > Greg Stein, http://www.lyra.org/
Index: config.m4
===================================================================
RCS file: /home/cvs/apache/httpd-2.0/modules/tls/config.m4,v
retrieving revision 1.3
diff -u -r1.3 config.m4
--- config.m4 2001/02/12 16:50:21 1.3
+++ config.m4 2001/04/26 16:26:52
@@ -23,8 +23,15 @@
INCLUDES="$INCLUDES -I$withval/openssl"
LIBS="$LIBS -L$withval -lssl -lcrypto"
ssl_lib="OpenSSL"
- else
- AC_MSG_ERROR(no - Unable to locate $withval/inc/ssl.h)
+ else
+ searchfile="$withval/include/openssl/ssl.h"
+ if test -f $searchfile ; then
+ INCLUDES="$INCLUDES -I$withval/include"
+ LIBS="$LIBS -L$withval/lib -lssl -lcrypto"
+ ssl_lib="OpenSSL"
+ else
+ AC_MSG_ERROR(no - Unable to locate $withval/inc/ssl.h)
+ fi
fi
fi
fi