From e56d84420a63e1a80c7d783da2ff40c0d293e763 Mon Sep 17 00:00:00 2001
From: Claus-Justus Heine <Claus-Justus.Heine@IANS.Uni-Stuttgart.DE>
Date: Mon, 1 Dec 2003 18:53:13 +0000
Subject: [PATCH] Use AM_CFLAGS and be a little bit more friendly to non-GNU
 make programs.

---
 Makefile.am.template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Makefile.am.template b/Makefile.am.template
index 9da9dc0..6044785 100644
--- a/Makefile.am.template
+++ b/Makefile.am.template
@@ -9,7 +9,7 @@ lib_LTLIBRARIES = libALBERTA%LIBCODE%.la
 include $(srcdir)/../%DIM%d/Makefile.am.include
 include $(srcdir)/../Common/Makefile.am.include
 
-override CFLAGS := $(CFLAGS) $(ALBERTA_%EFLAGS%_CFLAGS)
+AM_CFLAGS = $(ALBERTA_%EFLAGS%_CFLAGS)
 libALBERTA%LIBCODE%_la_LIBADD = $(X_PRE_LIBS) $(X_LIBS) $(X_EXTRA_LIBS) 
 
 nodist_libALBERTA%LIBCODE%_la_SOURCES = $(sources_common) $(sources)
-- 
GitLab