From b0967cae691018347dd741003b54618faf085e3c Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Wed, 16 Oct 2013 23:46:11 +0200 Subject: configure.ac: don't leak -lsidutils -lmp3lame into Make the third argument to AC_CHECK_LIB() non-empty to disable its default handler. --- configure.ac | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index d411502e0..9e5f29df0 100644 --- a/configure.ac +++ b/configure.ac @@ -1047,7 +1047,7 @@ if test x$enable_sidplay != xno; then [found_sidplay=yes], [found_sidplay=no]) if test x$found_sidplay = xyes; then - AC_CHECK_LIB([sidutils],[main],[],[found_sidplay=no],[]) + AC_CHECK_LIB([sidutils],[main],[:],[found_sidplay=no],[]) fi MPD_AUTO_RESULT(sidplay, [sidplay decoder plugin], @@ -1169,7 +1169,7 @@ dnl ------------------------------- LAME Encoder ------------------------------ if test x$enable_lame_encoder != xno; then AC_CHECK_HEADERS(lame/lame.h,, [AC_CHECK_HEADERS(lame.h,, using_lame=no)]) - AC_CHECK_LIB(mp3lame, lame_init,, using_lame=no) + AC_CHECK_LIB(mp3lame, lame_init, [:], using_lame=no) if test x$using_lame != xno; then AC_DEFINE(HAVE_LAME, 1, [Define to 1 if you have lame 3.98 or greater.]) LAME_LIBS="-lmp3lame -lm" -- cgit v1.2.3