Fix --disable-mpg123 by telling automake to not compile it, instead of using ifdefs

This commit is contained in:
Bart van Strien
2013-05-26 22:34:04 +02:00
parent 6bc4f7a34e
commit c99fb2fb99
5 changed files with 22 additions and 13 deletions
+1
View File
@@ -66,6 +66,7 @@ AS_VAR_IF([enable_exe], [no], [], #else
AC_DEFINE([LOVE_BUILD_EXE], [], [Don't build launcher]))
AM_CONDITIONAL([LOVE_BUILD_EXE], [test "x$enable_exe" != xno])
AM_CONDITIONAL([LOVE_NOMPG123], [test "x$enable_mpg123" == xno])
# Set our includes as automake variable
AC_SUBST([LOVE_INCLUDES], ["$includes"])