summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 65ac3e7)
raw | patch | inline | side by side (parent: 65ac3e7)
author | Tim-Philipp Müller <tim.muller@collabora.co.uk> | |
Fri, 7 Jan 2011 14:33:37 +0000 (14:33 +0000) | ||
committer | Tim-Philipp Müller <tim.muller@collabora.co.uk> | |
Fri, 7 Jan 2011 14:33:37 +0000 (14:33 +0000) |
configure.ac | patch | blob | history |
diff --git a/configure.ac b/configure.ac
index 3637f6357f7505e333e146fdc3a023863ca9f23e..441e778ba0e93150cd67509e8d03780d17957e81 100644 (file)
--- a/configure.ac
+++ b/configure.ac
AG_GST_CHECK_FEATURE(AMRNB, [amrnb library], amrnb, [
PKG_CHECK_MODULES(AMRNB, opencore-amrnb, HAVE_AMRNB="yes",
[ AG_GST_CHECK_LIBHEADER(AMRNB, opencore-amrnb,
- Decoder_Interface_init, -lm,
+ Decoder_Interface_init, $LIBM,
opencore-amrnb/interf_dec.h,
AMRNB_LIBS="-lopencore-amrnb")
])
dnl *** lame ***
translit(dnm, m, l) AM_CONDITIONAL(USE_LAME, true)
AG_GST_CHECK_FEATURE(LAME, [lame mp3 encoder library], lame, [
- AG_GST_CHECK_LIBHEADER(LAME, mp3lame, lame_init, -lm, lame/lame.h,
+ AG_GST_CHECK_LIBHEADER(LAME, mp3lame, lame_init, $LIBM, lame/lame.h,
[
HAVE_LAME="yes"
- LAME_LIBS="-lmp3lame -lm"
+ LAME_LIBS="-lmp3lame $LIBM"
dnl is lame presets available
LAME_CFLAGS=""
AC_TRY_COMPILE([#include <lame/lame.h>], [ int preset = MEDIUM ],