From d6d66d07d9a75807ecca8d45bd0d6c68c2d15eb8 Mon Sep 17 00:00:00 2001
From: Jerome Duval <jerome.duval@gmail.com>
Date: Fri, 15 May 2015 07:49:00 +0000
Subject: Haiku patch


diff --git a/configure.ac b/configure.ac
index 53560ea..8b8730e 100644
--- a/configure.ac
+++ b/configure.ac
@@ -6,7 +6,7 @@ AC_INIT(FTGL, 2.1.3~rc5, [sam@zoy.org], ftgl)
 AC_CONFIG_SRCDIR(src/FTPoint.cpp)
 AC_CONFIG_AUX_DIR(.auto)
 AM_INIT_AUTOMAKE([1.6 no-define dist-zip dist-bzip2])
-AM_CONFIG_HEADER(config.h)
+AC_CONFIG_HEADERS(config.h)
 
 FTGL_PROG_CXX
 
diff --git a/ftgl.pc.in b/ftgl.pc.in
index 479bf71..1484235 100644
--- a/ftgl.pc.in
+++ b/ftgl.pc.in
@@ -8,5 +8,5 @@ Description: OpenGL frontend to Freetype 2
 Version: @PACKAGE_VERSION@
 Libs: -L${libdir} -lftgl
 Requires.private: freetype2
-Libs.private: @GL_LIBS@ -lm
+Libs.private: @GL_LIBS@
 Cflags: -I${includedir} -I${includedir}/FTGL
-- 
2.2.2

