You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
540 B
21 lines
540 B
dnl === test for LAME - begin ====
|
|
AC_ARG_WITH(
|
|
lame,
|
|
AS_HELP_STRING([--without-lame], [build K3b without LAME support (default=no)]),
|
|
[ac_cv_use_lame=$withval],
|
|
[ac_cv_use_lame=yes]
|
|
)
|
|
|
|
have_lame=no
|
|
if test "$ac_cv_use_lame" = "yes"; then
|
|
KDE_CHECK_HEADERS(lame/lame.h, [
|
|
KDE_CHECK_LIB(mp3lame, lame_init, [
|
|
have_lame=yes
|
|
AC_DEFINE(HAVE_LAME,1,[defined if you have the lame header and lib])
|
|
], [], $all_libraries -lm)
|
|
])
|
|
fi
|
|
|
|
AM_CONDITIONAL(include_LAME, [test x$have_lame = xyes])
|
|
dnl === test for LAME - end ====
|