libtool
[Top][All Lists]
Advanced

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

Re: question about AC_LTDL_SYS_DLOPEN_DEPLIBS


From: libtool
Subject: Re: question about AC_LTDL_SYS_DLOPEN_DEPLIBS
Date: Mon, 16 Jul 2001 17:50:09 -0500
User-agent: Mutt/1.2.5i

On Mon, Jul 16, 2001 at 04:50:54PM -0500, Tim Mooney wrote:
> In regard to: Re: question about AC_LTDL_SYS_DLOPEN_DEPLIBS, Gary V....:
> 
> >On Monday 16 July 2001  4:10 pm, Robert Boehne wrote:
> >>   Here is the test case, if someone wants to libtoolize it, we
> >> could add it to the macro.
> >
> >Seconded!  I would happily accept a patch to perform the test *instead* of
> >listing values for only hosts triplets that have been researched...
> 
> :-)  For now, what do you think of the updated patch, below?
> 
> Tim
> -- 
> Tim Mooney                              address@hidden
> Information Technology Services         (701) 231-1076 (Voice)
> Room 242-J6, IACC Building              (701) 231-8541 (Fax)
> North Dakota State University, Fargo, ND 58105-5164
> 
> 
> diff -ur libtool-1.4b.orig/ltdl.m4 libtool-1.4b/ltdl.m4
> --- libtool-1.4b.orig/ltdl.m4 Thu Jul  5 18:10:26 2001
> +++ libtool-1.4b/ltdl.m4      Mon Jul 16 16:06:34 2001
> @@ -70,13 +70,57 @@
>  [AC_REQUIRE([AC_CANONICAL_HOST])
>  AC_CACHE_CHECK([whether deplibs are loaded by dlopen],
>       libltdl_cv_sys_dlopen_deplibs, [dnl
> -     # PORTME does your system automatically load deplibs for dlopen()?
> +     # PORTME does your system automatically load deplibs for dlopen()
> +     # or its logical equivalent (e.g. shl_load for HP-UX < 11)
> +     # For now, we just catch OSes we know something about -- in the
> +     # future, we'll try test this programmatically.
>       libltdl_cv_sys_dlopen_deplibs=unknown
>       case "$host_os" in
> +     aix3*|aix4.1.*|aix4.2.*)
> +       # Unknown whether this is true for these versions of AIX, but
> +       # we want this `case' here to explicitly catch those versions.
> +       libltdl_cv_sys_dlopen_deplibs=unknown
> +       ;;
> +     aix4*)
> +       # Unknown whether this is true for aix5, but is true for aix >= 4.3.*
> +       libltdl_cv_sys_dlopen_deplibs=yes
> +       ;;
> +     irix[12345]*|irix6.[01234]*)
> +       # Catch all versions of IRIX before 6.5, and indicate that we don't
> +       # know how it worked for any of those versions.
> +       libltdl_cv_sys_dlopen_deplibs=unknown

Works fine for IRIX 6.2. Therefore, I'd presume it works for 6.3 and
6.4 as well.

-- 
albert chin (address@hidden)



reply via email to

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