Brad Smith <[email protected]> writes:

> Signed-off-by: Brad Smith <[email protected]>
>
> ---
>  aclocal.m4 | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/aclocal.m4 b/aclocal.m4
> index 8822c180..a398d346 100644
> --- a/aclocal.m4
> +++ b/aclocal.m4
> @@ -10,6 +10,7 @@ AC_CACHE_VAL(lsh_cv_sys_ccpic,[
>       bsdi4.*)        CCPIC="-fPIC" ;;
>       bsdi*)          CCPIC="" ;;
>       darwin*)        CCPIC="-fPIC" ;;
> +     freebsd*|netbsd*|openbsd*)      CCPIC="-fPIC" ;;
>       # Could also use -fpic, depending on the number of symbol references
>       solaris*)       CCPIC="-fPIC" ;;
>       cygwin*)        CCPIC="" ;;
> @@ -21,7 +22,7 @@ AC_CACHE_VAL(lsh_cv_sys_ccpic,[
>       darwin*)        CCPIC="-fPIC" ;;
>          irix*)               CCPIC="-share" ;;
>       hpux*)          CCPIC="+z"; ;;
> -     *freebsd*)      CCPIC="-fpic" ;;
> +     freebsd*|netbsd*|openbsd*)      CCPIC="-fPIC" ;;
>       sco*|sysv4.*)   CCPIC="-KPIC -dy -Bdynamic" ;;
>       solaris*)       CCPIC="-KPIC -Bdynamic" ;;
>       winnt*)         CCPIC="-shared" ;;

Applied, thanks!
/Niels

-- 
Niels Möller. PGP key CB4962D070D77D7FCB8BA36271D8F1FF368C6677.
Internet email is subject to wholesale government surveillance.
_______________________________________________
nettle-bugs mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to