Subject: Re: libtool question...
To: Nick Hudson <email@example.com>
From: Todd Vierling <firstname.lastname@example.org>
Date: 03/22/2001 09:38:08
On Thu, 22 Mar 2001, Todd Vierling wrote:
: : [lt_cv_deplibs_check_method='file_magic \/lib[^\/]+\.so\(\.[0-9]+\)*$']
: The ones I gave are very strict about the file extension, as they match
: files the same way the linker does when searching for -l libraries.
...making the final result:
if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
I didn't escape the / characters, but you can if you want (it's an egrep, so
it's not needed in the current case), but the presence of \., to disallow
periods, in the first  is very important. I also changed the  around
the statement -- because of changequote, these needed changing too(!).
-- Todd Vierling <email@example.com> * Wasabi NetBSD: Run with it.
-- NetBSD 1.5 now available on CD-ROM -- http://www.wasabisystems.com/