curl-users
Re: curl with SSL
Date: Wed, 16 Aug 2000 16:27:45 +0200 (MET DST)
On Wed, 16 Aug 2000, Claude Cormier wrote:
> > You can add -DUSE_SSLEAY=1 on the compiler command line in lib/Makefile
> > instead of changing those #defines in config.h, it should enable the SSL
> > stuff by force.
>
> You mean at the end of these two lines:
>
> COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS)
> $(AM_CFLAGS) $(CFLAGS)
> LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES)
> $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
Nope, I meant in the line that looks like
DEFS = -DHAVE_CONFIG_H -I. -I$(srcdir) -I.. -I../src
that could look like
DEFS = -DHAVE_CONFIG_H -I. -I$(srcdir) -I.. -I../src -DUSE_SSLEAY=1
However, you can add that in a dozen ways with the same result.
> I did add -DUSE_SSLEAY=1 at the end of the two lines in /lib/makefile,
> did make install and tried
But did that rebuild all the source files in lib? After you've edited the
Makefile, run 'make clean', 'make' and then 'make install'. To be really sure
you're installing a fresh build.
-- Daniel Stenberg - http://daniel.haxx.se - +46-705-44 31 77 ech`echo xiun|tr nu oc|sed 'sx\([sx]\)\([xoi]\)xo un\2\1 is xg'`olReceived on 2000-08-16