configure.ac: don't leak -lsidutils -lmp3lame into
Make the third argument to AC_CHECK_LIB() non-empty to disable its default handler.
This commit is contained in:
parent
401a799a1b
commit
b0967cae69
@ -1047,7 +1047,7 @@ if test x$enable_sidplay != xno; then
|
|||||||
[found_sidplay=yes], [found_sidplay=no])
|
[found_sidplay=yes], [found_sidplay=no])
|
||||||
|
|
||||||
if test x$found_sidplay = xyes; then
|
if test x$found_sidplay = xyes; then
|
||||||
AC_CHECK_LIB([sidutils],[main],[],[found_sidplay=no],[])
|
AC_CHECK_LIB([sidutils],[main],[:],[found_sidplay=no],[])
|
||||||
fi
|
fi
|
||||||
|
|
||||||
MPD_AUTO_RESULT(sidplay, [sidplay decoder plugin],
|
MPD_AUTO_RESULT(sidplay, [sidplay decoder plugin],
|
||||||
@ -1169,7 +1169,7 @@ dnl ------------------------------- LAME Encoder ------------------------------
|
|||||||
if test x$enable_lame_encoder != xno; then
|
if test x$enable_lame_encoder != xno; then
|
||||||
AC_CHECK_HEADERS(lame/lame.h,,
|
AC_CHECK_HEADERS(lame/lame.h,,
|
||||||
[AC_CHECK_HEADERS(lame.h,, using_lame=no)])
|
[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
|
if test x$using_lame != xno; then
|
||||||
AC_DEFINE(HAVE_LAME, 1, [Define to 1 if you have lame 3.98 or greater.])
|
AC_DEFINE(HAVE_LAME, 1, [Define to 1 if you have lame 3.98 or greater.])
|
||||||
LAME_LIBS="-lmp3lame -lm"
|
LAME_LIBS="-lmp3lame -lm"
|
||||||
|
Loading…
Reference in New Issue
Block a user