<html>
<head>
<base href="https://bugs.documentfoundation.org/">
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - xmlsec: Build fails with error: ‘SEC_OID_SHA224’ undeclared (first use in this function); did you mean ‘SEC_OID_SHA384’?"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=124910#c10">Comment # 10</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - xmlsec: Build fails with error: ‘SEC_OID_SHA224’ undeclared (first use in this function); did you mean ‘SEC_OID_SHA384’?"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=124910">bug 124910</a>
from <span class="vcard"><a class="email" href="mailto:pmenzel+bugs.documentfoundation.org@molgen.mpg.de" title="Paul Menzel <pmenzel+bugs.documentfoundation.org@molgen.mpg.de>"> <span class="fn">Paul Menzel</span></a>
</span></b>
<pre>xmlsec prefers xulrunner-nss and xulrunner-nspr over the system versions [1].
```
dnl Priority 3: Guess with pkg_config
dnl
dnl Mozilla's NSS/NSPR are distributed under different names in different
distribution,
dnl we are going to try all options:
dnl seamonkey-nspr and seamonkey-nss
dnl mozilla-nspr and mozilla-nss
dnl xulrunner-nspr and xulrunner-nss
dnl nspr and nss
if test "z$NSPR_FOUND" = "zno" -a "z$PKGCONFIG_FOUND" = "zyes" -a
"z$with_mozilla_ver" = "z" -a "z$with_seamonkey_ver" ; then
if test "z$NSPR_FOUND" = "zno" ; then
PKG_CHECK_MODULES(NSPR, seamonkey-nspr >= $NSPR_MIN_VERSION,
[NSPR_FOUND=yes NSPR_PACKAGE=seamonkey-nspr],
[NSPR_FOUND=no])
fi
if test "z$NSPR_FOUND" = "zno" ; then
PKG_CHECK_MODULES(NSPR, mozilla-nspr >= $MOZILLA_MIN_VERSION,
[NSPR_FOUND=yes NSPR_PACKAGE=mozilla-nspr],
[NSPR_FOUND=no])
fi
if test "z$NSPR_FOUND" = "zno" ; then
PKG_CHECK_MODULES(NSPR, xulrunner-nspr >= $NSPR_MIN_VERSION,
[NSPR_FOUND=yes NSPR_PACKAGE=xulrunner-nspr],
[NSPR_FOUND=no])
fi
if test "z$NSPR_FOUND" = "zno" ; then
PKG_CHECK_MODULES(NSPR, nspr >= $NSPR_MIN_VERSION,
[NSPR_FOUND=yes NSPR_PACKAGE=nspr],
[NSPR_FOUND=no])
fi
fi
if test "z$NSS_FOUND" = "zno" -a "z$PKGCONFIG_FOUND" = "zyes" -a
"z$with_mozilla_ver" = "z" -a "z$with_seamonkey_ver" ; then
if test "z$NSS_FOUND" = "zno" ; then
PKG_CHECK_MODULES(NSS, seamonkey-nss >= $SEAMONKEY_MIN_VERSION,
[NSS_FOUND=yes NSS_PACKAGE=seamonkey-nss],
[NSS_FOUND=no])
fi
if test "z$NSS_FOUND" = "zno" ; then
PKG_CHECK_MODULES(NSS, mozilla-nss >= $MOZILLA_MIN_VERSION,
[NSS_FOUND=yes NSS_PACKAGE=mozilla-nss],
[NSS_FOUND=no])
fi
if test "z$NSS_FOUND" = "zno" ; then
PKG_CHECK_MODULES(NSS, xulrunner-nss >= $NSS_MIN_VERSION,
[NSS_FOUND=yes NSS_PACKAGE=xulrunner-nss],
[NSS_FOUND=no])
fi
if test "z$NSS_FOUND" = "zno" ; then
PKG_CHECK_MODULES(NSS, nss >= $NSS_MIN_VERSION,
[NSS_FOUND=yes NSS_PACKAGE=nss],
[NSS_FOUND=no])
fi
fi
```
[1]:
<a href="https://github.com/lsh123/xmlsec/blob/f23c4266502363fafe72baa09bafed163a938dc0/configure.ac#L944-L995">https://github.com/lsh123/xmlsec/blob/f23c4266502363fafe72baa09bafed163a938dc0/configure.ac#L944-L995</a></pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>