Got it to compile reasonably cleanly and work for non-https connections on 
x86 Solaris 2.8, gcc 2.95.3.  It still failed to set HAVE_SSL_H and so 
didn't do the ssl 
(despite the --with-ssl=/usr/local/ssl configure flag) though it did add 
the:
LD_FLAG = -L/usr/local/ssl/lib

however, changing the include/htconfig.h to define HAVE_SSL_H failed until 
I added:
LOCAL_DEFINES = -I /usr/local/ssl

Looking through the code, m4 files etc. it appears there's a 
HAVE_SSL/HAVE_SSL_H disconnect, for one. Configure set CFLAGS to have 
-DHAVE_SSL but, some of this is .cc files so ...

I'm over my head as far as the make/m4 stuff but I note that only in htlib 
Makefile does the CFLAGS show -DHAVE_SSL while the 2 dirs that need 
HAVE_SSL_H are htdig (Document.cc) and htnet (HtHTTPSecure.cc and .h).

I tried adding
LOCAL_DEFINES="$LOCAL_DEFINES -I$ssldir/include/openssl -DHAVE_SSL_H";
and:
LOCAL_DEFINES="$LOCAL_DEFINES -I$ssldir/include -DHAVE_SSL_H";

first to aclocal.m4 and then to acinclude.m4 in the ssl section, to no 
effect.  I then added AC_DEFINE(HAVE_SSL_H), no effect.  I believe this is 
the right idea, I'm just not able to get it to 'take'

a

Andy Bach, Sys. Mangler
Internet: [EMAIL PROTECTED] 
VOICE: (608) 261-5738  FAX 264-5030

"We are either doing something, or we are not. 'Talking about' is a 
subset of 'not'."            -- Mike Sphar in alt.sysadmin.recovery


-------------------------------------------------------
This SF.Net email is sponsored by: INetU
Attention Web Developers & Consultants: Become An INetU Hosting Partner.
Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission!
INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php
_______________________________________________
htdig-dev mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/htdig-dev

Reply via email to