[Flac-dev] Patch for building on IRIX

Josh Coalson xflac at yahoo.com
Mon Oct 7 23:23:02 PDT 2002


The first one (autogen.sh) I'll defer to Matt on.  The last two
are fixed in CVS.

--- Chad Austin <aegisk at iastate.edu> wrote:
> Not sure if this is the right place to post this...
> 
> I have attached a patch for the build system which lets FLAC build on
> IRIX and
> Cygwin.
>...
> Index: autogen.sh
> ===================================================================
> RCS file: /cvsroot/flac/flac/autogen.sh,v
> retrieving revision 1.5
> diff -u -r1.5 autogen.sh
> --- autogen.sh	9 Sep 2002 20:53:24 -0000	1.5
> +++ autogen.sh	5 Oct 2002 09:06:51 -0000
> @@ -1,3 +1,6 @@
>  #!/bin/sh
>  
> -aclocal && autoconf && autoheader && automake --foreign
> --include-deps --add-missing --copy
> +aclocal && \
> +libtoolize --force --copy && \
> +automake --foreign --include-deps --add-missing --copy && \
> +autoconf
> Index: src/flac/Makefile.am
> ===================================================================
> RCS file: /cvsroot/flac/flac/src/flac/Makefile.am,v
> retrieving revision 1.13
> diff -u -r1.13 Makefile.am
> --- src/flac/Makefile.am	20 Sep 2002 05:55:13 -0000	1.13
> +++ src/flac/Makefile.am	5 Oct 2002 09:06:51 -0000
> @@ -39,4 +39,4 @@
>  	file.h \
>  	vorbiscomment.h
>  
> -flac_LDADD = $(NEED_OGGFLAC_LIB)
> $(top_builddir)/src/libFLAC/libFLAC.la @OGG_LIBS@ @SHARE_LIBS@ -lm
> +flac_LDADD = $(NEED_OGGFLAC_LIB)
> $(top_builddir)/src/libFLAC/libFLAC.la @OGG_LIBS@ @SHARE_LIBS@
> @LIBICONV@ -lm
> Index: src/metaflac/Makefile.am
> ===================================================================
> RCS file: /cvsroot/flac/flac/src/metaflac/Makefile.am,v
> retrieving revision 1.6
> diff -u -r1.6 Makefile.am
> --- src/metaflac/Makefile.am	9 Jul 2002 06:27:07 -0000	1.6
> +++ src/metaflac/Makefile.am	5 Oct 2002 09:06:51 -0000
> @@ -26,4 +26,4 @@
>  	main.c
>  metaflac_LDFLAGS = 
>  
> -metaflac_LDADD = $(top_builddir)/src/libFLAC/libFLAC.la @SHARE_LIBS@
> -lm
> +metaflac_LDADD = $(top_builddir)/src/libFLAC/libFLAC.la @SHARE_LIBS@
> @LIBICONV@ -lm
> 


__________________________________________________
Do you Yahoo!?
Faith Hill - Exclusive Performances, Videos & More
http://faith.yahoo.com




More information about the Flac-dev mailing list