From b397bbb328adf55a39ba0991d8d8dc8cab268c21 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Johannes=20Wei=C3=9Fl?= Date: Mon, 18 Apr 2011 02:26:37 +0200 Subject: [PATCH] configure: fix detection of mp4.h 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 $? -- 1.7.4.4