[ libetpan-Bugs-1675390 ] --with-openssl=DIR make fails, patch for configure.in

"SourceForge.net" <[email protected]> Sat, 19 Dec 2009 01:10:36 +0000
Newsgroups gmane.mail.libetpan.user
Message-ID <[email protected]>
Bugs item #1675390, was opened at 2007-03-07 02:31
Message generated for change (Comment added) made by hoa
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=429696&aid=1675390&group_id=41064

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Configuration
Group: None
Status: Closed
>Resolution: Rejected
Priority: 5
Private: No
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: --with-openssl=DIR make fails, patch for configure.in

Initial Comment:
When doing ./configure --with-openssl=/dir where /dir is some valid directory that contains lib/libssl.so file the configure is successful, but the LDFLAGS does not have -L/dir/lib in src/Makefile ... 

The following shell script patches the configure.in of libetpan version 0.49 so that you can use the --with-openssl=/dir and make OK:

#!/bin/bash

patch configure.in << EOF
93a93
> TKKLIBS=""
99a100
>     TKKLIBS="-L\$with_openssl/lib"
116c117,119
<   SSLLIBS="-lssl \$SSLLIBS"
---
>   SSLLIBS="-lssl \$SSLLIBS \$TKKLIBS"
>   AC_MSG_NOTICE("OpenSSL LDFLAGS is \$LDFLAGS")
>   AC_MSG_NOTICE("OpenSSL SSLLIBS is \$SSLLIBS")
EOF

----------------------------------------------------------------------

>Comment By: DINH V. Hoa (hoa)
Date: 2009-12-19 02:10

Message:
need more information.


----------------------------------------------------------------------

Comment By: DINH V. Hoa (hoa)
Date: 2007-04-03 20:29

Message:
Logged In: YES 
user_id=201468
Originator: NO

I don't understand why it does not work.
LDFLAGS should be properly set.
If you send a diff, could you use unified diff (-u) ?


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=429696&aid=1675390&group_id=41064

------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev