cURL / Mailing Lists / curl-users / Single Mail

curl-users

small bug, and fix, in 7.8.1 SSL compile

From: Troy Engel <tengel_at_sonic.net>
Date: Mon, 20 Aug 2001 22:50:28 -0700

Hi guys,

7.8.1 has a small problem running ./configure all by it's lonesome, with
SSL libs installed in the standard (/usr/lib, /usr/include) locations
(ie, from a RedHat OpenSSL RPM). What happens is that if you run only
"./configure" and --with-ssl is therefore implied, the new configure.in
logic misses the fact that OPT_SSL will still =off. The result is you
get a ton of "-Ioff/include -Loff/lib" crap in the CFLAGS/LDFLAGS, which
then causes the compile to fail.

(whew, what a run-on sentence)

Fix is simple:

--- curl-7.8.1/configure Mon Aug 20 00:19:26 2001
+++ curl-7.8.1-fix/configure Mon Aug 20 22:31:34 2001
@@ -8690,6 +8690,8 @@
   case "$OPT_SSL" in
   yes)
     EXTRA_SSL=/usr/local/ssl ;;
+ off)
+ EXTRA_SSL= ;;
   *)
         EXTRA_SSL=$OPT_SSL
     LDFLAGS="$LDFLAGS -L$EXTRA_SSL/lib"

(same fix applies just as easily to configure.in, but I can't do that in
RPM land, as it forces a aclocal/automake cycle when running 'make', and
RH62 automake/autoconf is not new enough to work with curl)

Fix is applied in RH62 files I'm uploading in a few....

-te

-- 
Troy Engel :: KeyID DF3D5207
I killed a process today, just to watch it die.
Received on 2001-08-21