[Flac-dev] Re: beta 10 candidate checked in

Matt Zimmerman
Fri, 10 Sep 2004 16:45:26 -0000

On Wed, May 30, 2001 at 05:16:46PM +0000, Christian Weisgerber wrote:

> Josh Coalson <xflac@yahoo.com> wrote:
>
> > I have checked in all the latest into CVS and am going to start the
> > test suite again.  if all goes well I will probably release this as
> > beta 10.
>
> What's the sequence of steps required to turn this into a buildable
> distribution?

aclocal && autoconf && automake --foreign --add-missing

This should probably be placed in a shell script in CVS (other projects use the
name 'autogen.sh').

> | # nasm build rule:
> | %.lo: %.s
>
> Do we officially depend on GNU make now?
> You could express this portably with something like this:
>
>     .SUFFIXES: .lo .s
>     .s.lo:
>     	...

FLAC has required GNU make (or at least something more than the lowest common
denominator) for some time now.  The pre-automake makefiles used include
statements, which are not supported by many makes.

> |         $(NASM) -f elf -d ELF $< -o $@
>
> This won't fly on OpenBSD/i386, which is a.out.

This might be solved by using 'as' instead of nasm, though many versions
of
'as' don't support Intel syntax (GNU as does).

--
 - mdz