From e10460f3da6ea18be1bec76f732354abe65c8233 Mon Sep 17 00:00:00 2001
From: Scott McCreary <scottmc2@gmail.com>
Date: Wed, 14 Jan 2015 16:44:08 -0800
Subject: Add haiku as beos platform, add AC_CONFIG_HEADERS in place of
 AM_CONFIG_HEADER


diff --git a/configure.in b/configure.in
index f8d2fc4..c80fefe 100644
--- a/configure.in
+++ b/configure.in
@@ -2,7 +2,7 @@ dnl Process this file with autoconf to produce a configure script.
 AC_INIT(input.h)
 AC_CANONICAL_SYSTEM
 AM_INIT_AUTOMAKE(treecc, 0.3.10)
-AM_CONFIG_HEADER(config.h)
+AC_CONFIG_HEADERS(config.h)
 AM_MAINTAINER_MODE
 
 dnl Turn off the cygwin library if building for Win32.
@@ -23,7 +23,7 @@ AC_MSG_RESULT($platform_win32)
 
 AC_MSG_CHECKING([if building for BeOS platform])
 case "$host" in
-	*-*-beos*)
+	*-*-beos*|*-*-haiku*)
 		platform_beos=yes
 		LDADD=""
 		;;
-- 
1.8.3.4

