Michael Bell wrote:
Sorry but this is not really correct. Many people use old distributions with packaged OpenSSL 0.9.6 and manually compiled and installed OpenSSL 0.9.7 in /usr/local/ssl/. If you only test for the presence of an OpenSSL which was configured by pkg-config then you cannot build OpenCA because OpenCA requires OpenSSL 0.9.7. openssl-prefix must override pkg-config.
This is an easy change for me to make. It's important to point out, however, that openssl-prefix does not really do what you need it to do: it assumes that OpenSSL links in a very simple way. The reason we broke on RedHat was that specifying the prefix was not enough; the needed flags for a copy of OpenSSL that links Kerberos doesn't fit into your current script.
What you really want is to make it possible to specifiy the CFLAG and LIBS options for linking OpenSSL. This would also solve the general problem.
Ok, next try. What we need is a patch which implement the following order:
1. --with-openssl-prefix 2. PKG_CONFIG 3. nothing specified --> activation of -lssl etc.
If you think that this is correct can you involve this into your patch? I think you have only to replace
AC_MSG_WARN( [Unable to find headers for openssl])
with
openssl_cflags= openssl_libs=-lcrypto -lssl openssl_setup=yes
Do you think this would solve the problems?
The moving of the openssl references makes the makefiles nicer. So it is ok. Why do you want to run aclocal before autoconf at toplevel?
The call to aclocal is actually necessary. aclocal will make sure that any macro that the autotools know about will be correctly expanded. Try adding a new macro to the top level configure.in. You'll see that it is not expanded correctly unless you make that initial call to aclocal.
Accepted.
I wait for the new patch. If possible then please include the CHANGES for openssl_cflags and openssl_libs too. After this we should support all standard behaviours.
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
------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ OpenCA-Devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/openca-devel