libtool
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: shl_load/dld_link


From: libtool
Subject: Re: shl_load/dld_link
Date: Tue, 31 Jul 2001 10:29:15 -0500
User-agent: Mutt/1.2.5i

On Mon, Jul 30, 2001 at 03:03:39PM -0700, Steve Ellcey wrote:
> I am not an autoconf expert so I may be missing something, but is this
> right?
> 
> >From line 741 of the latest mainline libtool.m4
> 
>   *)
>     AC_CHECK_FUNC(shl_load, lt_cv_dlopen="shl_load",
>       [AC_CHECK_LIB(dld, shl_load,
>         [lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"],
>         [AC_CHECK_LIB(dl, dlopen,
>           [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"],
>           [AC_CHECK_FUNC(dlopen, lt_cv_dlopen="dlopen",
>             [AC_CHECK_LIB(svld, dlopen,
>              [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"])
>             ])
>           ])
>         ])
>       ])
>     ;;
>   esac
> 
> Is it the case that if shl_load is found in libdld, then lt_cv_dlopen is
> set to "dld_link"?  That should be "shl_load", right?  Did someone make
> a cut-n-paste error here?

I think you're correct. The 1.4 branch has the same error. I made the
change you suggested and HP-UX 10.20 and 11.00 pass all tests.

-- 
albert chin (address@hidden)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]