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.
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user