Files
haikuports/media-libs/libsoundtouch/patches/libsoundtouch-2.0.0.patchset
2017-08-03 21:23:37 +02:00

32 lines
1000 B
Plaintext

From 4eb47a006bf841a6ae969b3c969bd300952f9251 Mon Sep 17 00:00:00 2001
From: Jerome Duval <jerome.duval@gmail.com>
Date: Thu, 12 Feb 2015 17:01:45 +0000
Subject: Haiku build fix
diff --git a/configure.ac b/configure.ac
index d3df5eb..6f0e2f4 100644
--- a/configure.ac
+++ b/configure.ac
@@ -26,7 +26,7 @@ AC_SUBST(LIB_SONAME)
AC_CONFIG_AUX_DIR(config)
AC_CONFIG_MACRO_DIR([config/m4])
-AM_CONFIG_HEADER([config.h include/soundtouch_config.h])
+AC_CONFIG_HEADERS([include/soundtouch_config.h])
AM_INIT_AUTOMAKE
AM_SILENT_RULES([yes])
#AC_DISABLE_SHARED dnl This makes libtool only build static libs
@@ -225,7 +225,7 @@ AC_FUNC_MALLOC
AC_TYPE_SIGNAL
dnl make -lm get added to the LIBS
-AC_CHECK_LIB(m, sqrt,,AC_MSG_ERROR([compatible libc math library not found]))
+AC_CHECK_LIB(m, sqrt)
dnl add whatever functions you might want to check for here
#AC_CHECK_FUNCS([floor ftruncate memmove memset mkdir modf pow realpath sqrt strchr strdup strerror strrchr strstr strtol])
--
2.2.2