Subject: Re: libtool question...
To: Nick Hudson <skrll@netbsd.org>
From: Todd Vierling <tv@wasabisystems.com>
List: tech-pkg
Date: 03/21/2001 18:02:20
On Wed, 21 Mar 2001, Todd Vierling wrote:
: Could we possibly simplify the deplibs_check_method to something more like
: the following (in libtool.m4/configure)? We shouldn't be using file(1), if
: possible, since its output could easily change between releases and
: architectures.
A correction; the original was missing closing brackets and wasn't very m4
friendly. This one does a better job at being kind to m4.
Note that this is not actually tested yet, as I haven't the time to do that
today, but if you don't attack it shortly, I'll get to it soon after.
===
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
changequote([, ])dnl
lt_cv_file_magic_cmd='echo'
lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
;;
--
-- Todd Vierling <tv@wasabisystems.com> * Wasabi NetBSD: Run with it.
-- NetBSD 1.5 now available on CD-ROM -- http://www.wasabisystems.com/