From 25b5d90e448146b6efaf4926680e35aee4a0af6c Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Fri, 17 Oct 2008 21:13:23 +0200 Subject: Makefile.am: don't compile disabled sources If a feature is disabled, don't compile the source file at all, disable it completely in Makefile.am instead. --- configure.ac | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index ce50de896..5ff6b4071 100644 --- a/configure.ac +++ b/configure.ac @@ -412,6 +412,8 @@ if test x$enable_id3 = xyes; then enable_id3=no) fi +AM_CONDITIONAL(HAVE_ID3TAG, test x$enable_id3 = xyes) + if test x$enable_mp3 = xyes; then PKG_CHECK_MODULES([MAD], [mad], AC_DEFINE(HAVE_MAD, 1, [Define to use libmad]), @@ -694,6 +696,8 @@ if test x$with_zeroconf != xno; then fi fi +AM_CONDITIONAL(HAVE_ZEROCONF, test x$with_zeroconf = xyes) + dnl dnl build options -- cgit v1.2.3