You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/media-sound/mpfc/files/mpfc-1.3.7-mathlib.patch

21 lines
705 B

Index: mpfc-1.3.7/configure.in
===================================================================
--- mpfc-1.3.7.orig/configure.in
+++ mpfc-1.3.7/configure.in
@@ -66,7 +66,6 @@ LIBS=$LIBS_save
AC_ARG_ENABLE(mp3,
[ --disable-mp3 Disable mp3 input plugin [default=enabled]],,
enable_mp3="yes")
-if test "x$enable_mp3" = xyes; then
# Check for math lib
LIBS_save=$LIBS
AC_CHECK_HEADERS([math.h],,[AC_MSG_ERROR(*** Can't find math header ***)])
@@ -75,6 +74,7 @@ if test "x$enable_mp3" = xyes; then
AC_SUBST(MATH_LIBS)
LIBS=$LIBS_save
+if test "x$enable_mp3" = xyes; then
# Check for libmad
LIBS_save=$LIBS
AC_CHECK_HEADERS([mad.h],,[AC_MSG_ERROR(*** Can't find libmad header ***)])