[xmlsec] Configuring with openssl

Dmitry Belyavsky beldmit at cryptocom.ru
Tue Jan 17 01:18:08 PST 2006


Greetings!

I've found a problem configuring xmlsec with openssl.
Xmlsec expects shared libraries in $with_openssl/lib though the
directory $with_openssl/lib is not created on building openssl. Besides,
the $shrext configure variable seems to be empty.

The patch is attached.

-- 
SY, Dmitry Belyavsky (ICQ UIN 11116575)
-------------- next part --------------
Index: configure
===================================================================
RCS file: /cvs/xmlsec/configure,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -u -r1.1.1.1 -r1.2
--- configure	6 Dec 2005 09:29:13 -0000	1.1.1.1
+++ configure	17 Jan 2006 09:12:08 -0000	1.2
@@ -25070,8 +25070,10 @@
 echo "${ECHO_T}no" >&6
 elif test "z$with_openssl" != "z" ; then
     OPENSSL_CFLAGS="$OPENSSL_CFLAGS -I$with_openssl/include"
-    if test -f "$with_openssl/lib/libcrypto$shrext" ; then
+    if test -f "$with_openssl/lib/libcrypto$shrext_cmds" ; then
 	OPENSSL_LIBS="-L$with_openssl/lib -lcrypto -ldl"
+		elif test -f "$with_openssl/libcrypto$shrext_cmds" ; then
+  OPENSSL_LIBS="-L$with_openssl -lcrypto -ldl"
     else
 	OPENSSL_LIBS="$with_openssl/lib/libcrypto.a -ldl"
     fi


More information about the xmlsec mailing list