[xmlsec] Problem with --with-mozilla-ver configure option

Roumen Petrov xmlsec at roumenpetrov.info
Fri Nov 7 02:26:44 PST 2003


Are you sure that all is correct ?
===========================================
--- xmlsec-20031105/configure.in 2003-11-05 13:57:11.000000000 +0200
+++ xmlsec/configure.in 2003-11-07 11:52:16.000000000 +0200
@@ -462,8 +462,8 @@
NSS_NSS_H=""

dnl process the mozilla options if any
- if test "z$with_mozilla_version" != "z" ; then
- MOZILLA_VERSION=$with_mozilla_version
+ if test "z$with_mozilla_ver" != "z" ; then
+ MOZILLA_VERSION=$with_mozilla_ver
fi

ac_mozilla_name=mozilla-$MOZILLA_VERSION
@@ -897,7 +897,7 @@
if test "z$with_html_dir" != "z" ; then
XMLSEC_DOCDIR=$with_html_dir
else
- XMLSEC_DOCDIR=$datadir/doc/xmlsec1
+ XMLSEC_DOCDIR='$(datadir)/doc/xmlsec1'
fi

AC_MSG_RESULT($XMLSEC_DOCDIR)
===========================================

1.) About first diff :

1.1.) We have: AC_ARG_WITH(mozilla, [ --with-mozilla-ver=[VER] mozilla 
version (alt to --with-nss, --with-nspr)]) !

1.1.1.) We should check for variable with name "*with_mozilla*" not 
"with_mozilla_ver"

1.1.2.) or to change AC_ARG_WITH as example:
AC_ARG_WITH(mozilla*-ver*, [ --with-mozilla-ver=[VER] mozilla version 
(alt to --with-nss, --with-nspr)])

1.2.) Script can be run with argument 
--without-mozilla/--without-mozilla-ver (depend from a.) in this case 
MOZILLA_VERSION should be set to "*no*"

2.) About second diff:
Might is typo err: $(datadir) or ${datadir} ?


Aleksey Sanin wrote:

>
>> Another one needed for arches where you get both 32bits and 64bits
>> look in /usr/lib64 for shared libraries.
>>
> I have switched to pkgconfig and I hope that will solve problems for 
> you. But I added
> /usr/lib64 for both OpenSSL and NSS. I don't think it can cause any 
> problems :)
>
> Daniel, I think you can checkin these configure.in changes in CVS 
> yourself (I guess
> you have write access to xmlsec CVS). I bet that you know about these 
> configuration
> files more than I do anyway :)
>
>
> Thanks for the patches!
> Aleksey
>
>
>
>
>
> _______________________________________________
> xmlsec mailing list
> xmlsec at aleksey.com
> http://www.aleksey.com/mailman/listinfo/xmlsec
>
>


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.aleksey.com/pipermail/xmlsec/attachments/20031107/82c7d052/attachment.htm


More information about the xmlsec mailing list