Subject: Re: libtool question...
To: Todd Vierling <>
From: Nick Hudson <>
List: tech-pkg
Date: 03/22/2001 14:17:09
Todd Vierling wrote:

> netbsd*)
> changequote(,)dnl
>   if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
>     [lt_cv_deplibs_check_method='file_magic ^lib[^\.]\.so$']
>   else
>     [lt_cv_deplibs_check_method='file_magic ^lib[^\.]\.so\.[0-9]+\.[0-9]+$']
>   fi

Aren't these the wrong way round? The true case is a.out and false case
is ELF...

Actually after a bit of testing it seems that something like

	[lt_cv_deplibs_check_method='file_magic \/lib[^\/]+\.so\(\.[0-9]+\)*$']

would seem to do the trick for both ELF and a.out. libtool follows
symlinks when doing the file_magic stuff and so the final test is on a