Rob Thorne wrote:
Michael Bell wrote:

What's the specific problem?

I looked at the generated Makefiles in openca-sv. They generate the following flags for OPENSSL_INCLUDES and OPENSSL_LIBS when you call configure with "--with-openssl-prefix=/usr/share/ssl":

    OPENSSL_INCLUDE = -I/usr/share/ssl/include
    OPENSSL_LIBS = -L/usr/share/ssl/lib -L/usr/share/ssl -lcrypto -lssl

Automake automatically generates openssl_cflags and openssl_libs in Makefile.in. There it is useless to have still some variables OPENSSL_INCLUDE and OPENSSL_LIBS in Makefile.am. I removed these variables and replace them by $(openssl_libs) and $(openssl_cflags).


There's no reason to test OPENSSL_PREFIX in Makefile.am anymore, since the build and link flags are already correctly set up if --with-openssl-prefix is specified, even if pkg-config is present.

Yes, and OPENSSL_PREFIX is useless in all Makefiles and should be removed (done now). I commit my changes to CVS so at minimum Alessandro should see them after some minutes.


Michael
--
-------------------------------------------------------------------
Michael Bell                   Email: [EMAIL PROTECTED]
ZE Computer- und Medienservice            Tel.: +49 (0)30-2093 2482
(Computing Centre)                        Fax:  +49 (0)30-2093 2704
Humboldt-University of Berlin
Unter den Linden 6
10099 Berlin                   Email (private): [EMAIL PROTECTED]
Germany                                       http://www.openca.org



-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
OpenCA-Devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/openca-devel

Reply via email to