summaryrefslogtreecommitdiffstats
path: root/plugins/encoder/lame/configure.in.in
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-02-03 02:15:56 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-02-03 02:15:56 +0000
commit50b48aec6ddd451a6d1709c0942477b503457663 (patch)
treea9ece53ec06fd0a2819de7a2a6de997193566626 /plugins/encoder/lame/configure.in.in
downloadk3b-50b48aec6ddd451a6d1709c0942477b503457663.tar.gz
k3b-50b48aec6ddd451a6d1709c0942477b503457663.zip
Added abandoned KDE3 version of K3B
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/k3b@1084400 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'plugins/encoder/lame/configure.in.in')
-rw-r--r--plugins/encoder/lame/configure.in.in20
1 files changed, 20 insertions, 0 deletions
diff --git a/plugins/encoder/lame/configure.in.in b/plugins/encoder/lame/configure.in.in
new file mode 100644
index 0000000..f2a5283
--- /dev/null
+++ b/plugins/encoder/lame/configure.in.in
@@ -0,0 +1,20 @@
+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, [
+ AC_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 ====