SOURCES: faac-link.patch - really support external mp4v2
qboosh
qboosh at pld-linux.org
Wed Aug 23 23:31:24 CEST 2006
Author: qboosh Date: Wed Aug 23 21:31:24 2006 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- really support external mp4v2
---- Files affected:
SOURCES:
faac-link.patch (1.2 -> 1.3)
---- Diffs:
================================================================
Index: SOURCES/faac-link.patch
diff -u SOURCES/faac-link.patch:1.2 SOURCES/faac-link.patch:1.3
--- SOURCES/faac-link.patch:1.2 Fri Apr 23 22:21:05 2004
+++ SOURCES/faac-link.patch Wed Aug 23 23:31:19 2006
@@ -1,31 +1,31 @@
---- faac/libfaac/Makefile.am.orig 2003-10-17 18:41:05.000000000 +0200
-+++ faac/libfaac/Makefile.am 2004-02-09 21:50:24.505376480 +0100
-@@ -2,6 +2,7 @@
-
- libfaac_la_SOURCES = aacquant.c bitstream.c fft.c frame.c midside.c psychkni.c util.c backpred.c channels.c filtbank.c huffman.c ltp.c tns.c
- libfaac_la_INCLUDES = aacquant.h channels.h filtbank.h hufftab.h psych.h backpred.h coder.h frame.h midside.h tns.h bitstream.h fft.h huffman.h ltp.h util.h
-+libfaac_la_LIBADD = -lm
-
- INCLUDES = -I$(top_srcdir)/include
-
---- faac/frontend/Makefile.am.orig 2004-03-24 12:00:40.000000000 +0100
-+++ faac/frontend/Makefile.am 2004-04-23 22:13:07.649197000 +0200
-@@ -3,5 +3,5 @@
- faac_SOURCES = main.c input.c
-
- INCLUDES = -I$(top_srcdir)/include
--LDADD = $(top_builddir)/libfaac/libfaac.la -lm
-+LDADD = $(top_builddir)/libfaac/libfaac.la $(MP4LIBS) -lm
-
---- faac/configure.in.orig 2004-04-16 11:49:09.000000000 +0200
-+++ faac/configure.in 2004-04-23 22:12:27.599285512 +0200
-@@ -24,7 +24,8 @@
- AC_CHECK_LIB(mp4v2, MP4MetadataDelete,
- [AC_MSG_NOTICE([*** Building with MP4 support ***])
- MY_DEFINE([HAVE_LIBMP4V2])
-- LIBS="$LIBS -lstdc++ -lmp4v2"],
-+ MP4LIBS="-lmp4v2"],
- [AC_MSG_NOTICE([*** Building without MP4 support ***])],
- -lstdc++)
-+AC_SUBST(MP4LIBS)
- AC_C_BIGENDIAN
+--- faac/frontend/Makefile.am.orig 2004-07-28 10:18:21.000000000 +0200
++++ faac/frontend/Makefile.am 2006-08-23 23:19:38.375803500 +0200
+@@ -7,5 +7,9 @@
+ LDADD = $(top_builddir)/libfaac/libfaac.la $(top_srcdir)/common/mp4v2/libmp4v2.la -lm -lstdc++
+ else
+ INCLUDES = -I$(top_srcdir)/include
++if WITH_EXT_MP4V2
++LDADD = $(top_builddir)/libfaac/libfaac.la -lmp4v2 -lm -lstdc++
++else
+ LDADD = $(top_builddir)/libfaac/libfaac.la -lm
+ endif
++endif
+--- faac/configure.in.orig 2006-08-23 23:13:15.707888000 +0200
++++ faac/configure.in 2006-08-23 23:18:43.204355500 +0200
+@@ -27,6 +27,7 @@
+ AC_CHECK_LIB(gnugetopt, getopt_long)
+
+ AM_CONDITIONAL(WITH_MP4V2, false)
++AM_CONDITIONAL(WITH_EXT_MP4V2, false)
+
+ AC_CHECK_DECLS([MP4Create, MP4MetadataDelete],
+ AC_CHECK_LIB(mp4v2, MP4MetadataDelete, external_mp4v2=yes,
+@@ -35,6 +36,8 @@
+
+ if test x$external_mp4v2 = xyes; then
+ AC_MSG_NOTICE([*** Building with external mp4v2 ***])
++ AM_CONDITIONAL(WITH_EXT_MP4V2, true)
++ MY_DEFINE(HAVE_LIBMP4V2)
+ else
+ if test x$WITHMP4V2 = xyes; then
+ AC_MSG_NOTICE([*** Building with internal mp4v2 ***])
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SOURCES/faac-link.patch?r1=1.2&r2=1.3&f=u
More information about the pld-cvs-commit
mailing list