Johannes Weißl
2011-04-18 00:48:38 UTC
mp4.h is just assumed to be there if mp4v2/mp4v2.h could not be found.
This could be a fix for Gentoo Bug 323975 [1].
[1] http://bugs.gentoo.org/show_bug.cgi?id=323975
---
configure | 9 +++++++--
1 files changed, 7 insertions(+), 2 deletions(-)
diff --git a/configure b/configure
index dee8b01..1ecad56 100755
--- a/configure
+++ b/configure
@@ -284,8 +284,13 @@ check_roar()
check_mp4()
{
- check_header mp4v2/mp4v2.h
- USE_MPEG4IP=$?
+ USE_MPEG4IP=1
+ if check_header mp4v2/mp4v2.h
+ then
+ USE_MPEG4IP=0
+ else
+ check_header mp4.h || return $?
+ fi
check_header neaacdec.h &&
check_library MP4 "" "-lmp4v2 -lfaad -lm"
return $?
This could be a fix for Gentoo Bug 323975 [1].
[1] http://bugs.gentoo.org/show_bug.cgi?id=323975
---
configure | 9 +++++++--
1 files changed, 7 insertions(+), 2 deletions(-)
diff --git a/configure b/configure
index dee8b01..1ecad56 100755
--- a/configure
+++ b/configure
@@ -284,8 +284,13 @@ check_roar()
check_mp4()
{
- check_header mp4v2/mp4v2.h
- USE_MPEG4IP=$?
+ USE_MPEG4IP=1
+ if check_header mp4v2/mp4v2.h
+ then
+ USE_MPEG4IP=0
+ else
+ check_header mp4.h || return $?
+ fi
check_header neaacdec.h &&
check_library MP4 "" "-lmp4v2 -lfaad -lm"
return $?
--
1.7.4.4
1.7.4.4