You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@apr.apache.org by William A Rowe Jr <wr...@rowe-clan.net> on 2019/06/11 15:55:30 UTC

Re: svn commit: r1860980 - /apr/apr/trunk/build/crypto.m4

I'm totally confused, these libs have been installed across three paths?

If not, isn't that an autoconf task to link to the one and only one
preferred target on rebuilds, in spite of later package adds?



On Mon, Jun 10, 2019 at 3:47 PM <mi...@apache.org> wrote:

> Author: minfrin
> Date: Mon Jun 10 20:47:36 2019
> New Revision: 1860980
>
> URL: http://svn.apache.org/viewvc?rev=1860980&view=rev
> Log:
> Allow NSS to be found on MacPorts installations.
>
> Modified:
>     apr/apr/trunk/build/crypto.m4
>
> Modified: apr/apr/trunk/build/crypto.m4
> URL:
> http://svn.apache.org/viewvc/apr/apr/trunk/build/crypto.m4?rev=1860980&r1=1860979&r2=1860980&view=diff
>
> ==============================================================================
> --- apr/apr/trunk/build/crypto.m4 (original)
> +++ apr/apr/trunk/build/crypto.m4 Mon Jun 10 20:47:36 2019
> @@ -200,7 +200,7 @@ AC_DEFUN([APU_CHECK_CRYPTO_NSS], [
>      elif test "x$withval" != "x"; then
>
>        nss_CPPFLAGS="-I$withval/include/nss -I$withval/include/nss3
> -I$withval/include/nspr -I$withval/include/nspr4 -I$withval/include
> -I$withval/../public"
> -      nss_LDFLAGS="-L$withval/lib "
> +      nss_LDFLAGS="-L$withval/lib -L$withval/lib/nss -L$withval/lib/nspr "
>
>        APR_ADDTO(CPPFLAGS, [$nss_CPPFLAGS])
>        APR_ADDTO(LDFLAGS, [$nss_LDFLAGS])
>
>
>

Re: svn commit: r1860980 - /apr/apr/trunk/build/crypto.m4

Posted by Graham Leggett <mi...@sharp.fm>.
On 11 Jun 2019, at 17:55, William A Rowe Jr <wr...@rowe-clan.net> wrote:

> I'm totally confused, these libs have been installed across three paths?

Potentially (and confusingly), yes.

> -      nss_LDFLAGS="-L$withval/lib "
> +      nss_LDFLAGS="-L$withval/lib -L$withval/lib/nss -L$withval/lib/nspr “

NSS depends on NSPR. NSPR might be in lib/nspr, or lib. NSS itself might be in lib/nss, or lib.

Regards,
Graham
—