From 0c4df55a7f402a239470bef6e9bb5bf43b30da4e Mon Sep 17 00:00:00 2001
From: Jerome Duval <jerome.duval@gmail.com>
Date: Fri, 13 Jun 2014 18:42:15 +0000
Subject: Haiku patch


diff --git a/configure.ac b/configure.ac
index 80b561c..448daf8 100644
--- a/configure.ac
+++ b/configure.ac
@@ -12,7 +12,7 @@ AM_INIT_AUTOMAKE(1.6)
 SCHRO_MAJORMINOR=1.0
 AC_SUBST(SCHRO_MAJORMINOR)
 
-AM_CONFIG_HEADER(config.h)
+AC_CONFIG_HEADERS(config.h)
 
 dnl CURRENT, REVISION, AGE
 dnl - library source changed -> increment REVISION
@@ -85,6 +85,10 @@ if test "x${with_thread}" = "xpthread" ; then
       PTHREAD_CFLAGS=
       PTHREAD_LIBS=-pthread
       ;;
+    haiku*)
+      PTHREAD_CFLAGS=
+      PTHREAD_LIBS=
+      ;;
     *)
       PTHREAD_CFLAGS=
       PTHREAD_LIBS=-lpthread
-- 
1.8.3.4

