ref: 6c5a354369d45ef8d0da13bdc9d459a05bdd2472
parent: c3d59a870f506272f4d36e540170c900c44ac738
author: rrt <rrt>
date: Mon Jun 11 06:48:00 EDT 2007
Detect lame.h as well as lame/lame.h; fixes #1720591
--- a/configure.ac
+++ b/configure.ac
@@ -231,9 +231,9 @@
[with_lame=$withval])
if test "$with_lame" != "no"; then
using_lame=yes
- AC_CHECK_HEADERS(lame/lame.h,
- [AC_CHECK_LIB(mp3lame, lame_init, MP3_LIBS="$MP3_LIBS -lmp3lame",using_lame=no)],
- using_lame=no)
+ AC_CHECK_HEADERS(lame/lame.h,,
+ [AC_CHECK_HEADERS(lame.h,, using_lame=no)])
+ AC_CHECK_LIB(mp3lame, lame_init, MP3_LIBS="$MP3_LIBS -lmp3lame",using_lame=no)
if test "$with_lame" = "yes" -a "$using_lame" = "no"; then
AC_MSG_FAILURE([cannot find LAME])
fi