[Flac-dev] Re: detecting host machine in configure.in?

Josh Coalson xflac at yahoo.com
Thu May 24 13:27:50 PDT 2001


great, thanks.  I'm working out the rest of the kinks and found
a couple more bugs.  should have a beta candidate checked in by
tonight.  I'll send out a mail...

Josh

--- Matt Zimmerman <mdz at debian.org> wrote:
> On Wed, May 23, 2001 at 03:18:16PM -0700, Josh Coalson wrote:
> 
> > but since I'm not too saavy with autoconf/automake I'll ask for a
> little bit
> > more help.  I think the only non-functional part left is that
> automake
> > doesn't support source files that are in subdirectories, relative
> to
> > Makefile.am(?)  the layout in src/libFLAC/ is that all asm sources
> will go
> > under a 'cputype' directory (e.g.  src/libFLAC/i386/ for x86
> sources).
> > having to put them all in src/libFLAC/ would be a mess later.  can
> you guys
> > take a look and advise?
> 
> The easiest way to do it is to put a Makefile.am in each subdirectory
> and have
> it build a convenience library.  Then in src/libFLAC/Makefile.am,
> just select
> the right subdirectory.  I implemented this, but I can't seem to get
> CVS to
> generate a complete diff for me without checking the added files into
> CVS.
> 
> I've attached a diff for configure.in and src/libFLAC/Makefile.am. 
> In
> src/libFLAC/i386, you need to create Makefile.am (attached), and
> rename all of
> the .nasm files to .s (that seems to be how automake wants assembly
> files to be
> named).
> 
> Note that I use libtool to build the asm library, so that it can be
> linked into
> both the shared and static libFLAC.  If the assembler is relocatable,
> this is
> the right thing to do.  It looks to me like it is, but I'm not an
> assembly
> expert.  If it isn't, we'll need to hack it so that the assembly
> stuff is
> excluded from the shared library.
> 


__________________________________________________
Do You Yahoo!?
Yahoo! Auctions - buy the things you want at great prices
http://auctions.yahoo.com/




More information about the Flac-dev mailing list