aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--configure.ac12
-rw-r--r--src/Makefile.am2
2 files changed, 3 insertions, 11 deletions
diff --git a/configure.ac b/configure.ac
index 5d56f771f..7cbd40922 100644
--- a/configure.ac
+++ b/configure.ac
@@ -5,14 +5,6 @@ AC_PREREQ(2.58)
AC_INIT(mpd, 0.12.0, warren.dukes@gmail.com)
AM_INIT_AUTOMAKE($PACKAGE_NAME, $PACKAGE_VERSION)
-dnl MAD wants this stuff
-AC_SUBST(CCAS)
-AC_SUBST(CCASFLAGS)
-
-AC_SUBST(MAD_SUBDIR)
-AC_SUBST(MAD_LIB)
-AC_SUBST(ID3_SUBDIR)
-AC_SUBST(ID3_LIB)
AC_SUBST(MPD_LIBS)
AC_SUBST(MPD_CFLAGS)
@@ -259,7 +251,7 @@ if test x$enable_id3 = xyes; then
[use_libid3tag=no])
if test x$use_libid3tag = xyes; then
AC_CHECK_LIB(id3tag,id3_file_open,
- [ID3_LIB="$ID3TAG_LIBS";
+ [MPD_LIBS="$MPD_LIBS $ID3TAG_LIBS";
MPD_CFLAGS="$MPD_CFLAGS $ID3TAG_CFLAGS";
use_libid3tag=yes],
[use_libid3tag=no])
@@ -304,7 +296,7 @@ if test x$enable_mp3 = xyes; then
AC_CHECK_HEADERS(mad.h,use_libmad=yes,
[use_libmad=no])
if test x$use_libmad = xyes; then
- AC_CHECK_LIB(mad,mad_stream_init,[MAD_LIB="$MAD_LIBS";
+ AC_CHECK_LIB(mad,mad_stream_init,[MPD_LIBS="$MPD_LIBS $MAD_LIBS";
MPD_CFLAGS="$MPD_CFLAGS $MAD_CFLAGS";
use_libmad=yes],[use_libmad=no])
fi
diff --git a/src/Makefile.am b/src/Makefile.am
index d25732728..c4d4a6fd3 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -115,7 +115,7 @@ mpd_SOURCES = \
mpd_CFLAGS = $(MPD_CFLAGS)
-mpd_LDADD = $(MPD_LIBS) $(ID3_LIB) $(MAD_LIB)
+mpd_LDADD = $(MPD_LIBS)
# sparse is a semantic parser
# URL: git://www.kernel.org/pub/scm/devel/sparse/sparse.git