From 843d81c787284e3ab2bcb081c7156e6f3143ce23 Mon Sep 17 00:00:00 2001 From: davilla Date: Fri, 14 Dec 2012 12:01:37 -0500 Subject: Revert "fix configure warnings when lame lib exists but not the headers (closes #13647)" This reverts commit 2f4a1868897a797b69b9d2795177d6c62b3e3ba0. --- configure.in | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) (limited to 'configure.in') diff --git a/configure.in b/configure.in index f760971b67..4db7fdef20 100644 --- a/configure.in +++ b/configure.in @@ -1078,16 +1078,11 @@ XB_FIND_SONAME([ASS], [ass]) XB_FIND_SONAME([MPEG2], [mpeg2]) # Audio encoders -if test "x$use_libmp3lame" = "xyes"; then - AC_CHECK_HEADER([lame/lame.h], - [XB_FIND_SONAME([LAMEENC], [mp3lame], [use_libmp3lame])], - AC_MSG_ERROR(lame/lame.h not found) - ) -elif test "x$use_libmp3lame" != "xno"; then - AC_CHECK_HEADER([lame/lame.h], - [XB_FIND_SONAME([LAMEENC], [mp3lame], [use_libmp3lame])], - AC_MSG_NOTICE(lame/lame.h not found) - ) +if test "x$use_libmp3lame" != "xno"; then + XB_FIND_SONAME([LAMEENC], [mp3lame], [use_libmp3lame]) + if test "x$use_libmp3lame" != "xno"; then + AC_CHECK_HEADER([lame/lame.h],, AC_MSG_ERROR($missing_headers)) + fi fi AS_CASE([x$use_libmp3lame], [xno],[ -- cgit v1.2.3