commit 4b292f174c7bba0af63dc48579393d83e8706041
Author: phantomjinx <[email protected]>
Date: Sun May 1 14:51:55 2011 +0100
Try and improve mp4/m4a support for distros not using libmp4v2 1.9.1
configure.ac | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index f611ea9..c2b191f 100644
--- a/configure.ac
+++ b/configure.ac
@@ -278,7 +278,12 @@ fi
AM_CONDITIONAL(HAVE_FAAD, test "x$have_faad" = "xyes")
dnl Check for MP4 Headers
-AC_CHECK_HEADERS([mp4v2/platform.h], have_mp4=yes, have_mp4=no)
+AC_CHECK_HEADERS([mp4v2/mp4v2.h], have_mp4=yes, have_mp4=no)
+if test "x$have_mp4" = "xno"; then
+ dnl rollback to older mp4 library - should help with distros
+ dnl not using 1.9.1 of the mp4v2 library
+ AC_CHECK_HEADERS([mp4.h], have_mp4=yes, have_mp4=no)
+fi
AC_CHECK_HEADERS([mp4v2/itmf_tags.h], [], [],
[#ifdef HAVE_MP4V2_PLATFORM_H
# include <mp4v2/platform.h>
------------------------------------------------------------------------------
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network
management toolset available today. Delivers lowest initial
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
_______________________________________________
gtkpod-cvs2 mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gtkpod-cvs2