From ecbdc03ca44ac431535a728c714decb12f563b8d 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 37dbcca..0ea6dfe 100644
--- a/configure.ac
+++ b/configure.ac
@@ -21,7 +21,7 @@ dnl Place - Suite 330, Boston, MA  02111-1307, USA
 
 AC_INIT(SoundTouch, 1.8.0, [http://www.surina.net/soundtouch])
 AC_CONFIG_AUX_DIR(config)
-AM_CONFIG_HEADER([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 
@@ -200,7 +200,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])
-- 
1.8.3.4

