[xmlsec] Problem with --with-mozilla-ver configure option
Daniel Veillard
veillard at redhat.com
Wed Nov 5 14:03:02 PST 2003
On Wed, Nov 05, 2003 at 01:42:02PM -0800, Aleksey Sanin wrote:
> Ops... Never used that option myself :( Applied and commited:
Okay, that one is more subtle, it's about the default document target
dir used at make install in docs. If you make the interpretation of
$(datadir) when running configure, you can't change it at make install
time which is required for example by rpm builds. The solution is to
export from configure an escaped value and the evaluation of $(datadir)
will only be done at "make install" time which allows my rpm builds to
complete :-)
thanks,
Daniel
--
Daniel Veillard | Red Hat Network https://rhn.redhat.com/
veillard at redhat.com | libxml GNOME XML XSLT toolkit http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/
-------------- next part --------------
*** configure.in.old 2003-11-06 05:55:18.000000000 +0100
--- configure.in 2003-11-06 05:56:03.000000000 +0100
***************
*** 886,892 ****
AC_MSG_CHECKING(for docs folder)
AC_ARG_VAR(XMLSEC_DOCDIR, [the doc files installation path $datadir/doc/xmlsec1])
if test "z$XMLSEC_DOCDIR" = "z" ; then
! XMLSEC_DOCDIR=$datadir/doc/xmlsec1
fi
AC_MSG_RESULT($XMLSEC_DOCDIR)
AC_SUBST(XMLSEC_DOCDIR)
--- 886,892 ----
AC_MSG_CHECKING(for docs folder)
AC_ARG_VAR(XMLSEC_DOCDIR, [the doc files installation path $datadir/doc/xmlsec1])
if test "z$XMLSEC_DOCDIR" = "z" ; then
! XMLSEC_DOCDIR='$(datadir)/doc/xmlsec1'
fi
AC_MSG_RESULT($XMLSEC_DOCDIR)
AC_SUBST(XMLSEC_DOCDIR)
*** configure.old 2003-11-06 05:55:22.000000000 +0100
--- configure 2003-11-06 05:56:13.000000000 +0100
***************
*** 13860,13866 ****
echo $ECHO_N "checking for docs folder... $ECHO_C" >&6
if test "z$XMLSEC_DOCDIR" = "z" ; then
! XMLSEC_DOCDIR=$datadir/doc/xmlsec1
fi
echo "$as_me:$LINENO: result: $XMLSEC_DOCDIR" >&5
echo "${ECHO_T}$XMLSEC_DOCDIR" >&6
--- 13860,13866 ----
echo $ECHO_N "checking for docs folder... $ECHO_C" >&6
if test "z$XMLSEC_DOCDIR" = "z" ; then
! XMLSEC_DOCDIR='$(datadir)/doc/xmlsec1'
fi
echo "$as_me:$LINENO: result: $XMLSEC_DOCDIR" >&5
echo "${ECHO_T}$XMLSEC_DOCDIR" >&6
More information about the xmlsec
mailing list