From 3352e561e2ad4be506c829711a3ef71a18c0c859 Mon Sep 17 00:00:00 2001 From: Robin Haberkorn Date: Fri, 28 Sep 2012 21:13:08 +0200 Subject: fixed using compat/ headers if BSD headers are not detected during configure could have also used HAVE_BSD_SYS_QUEUE_H define but setting up the build system appropriately is cleaner --- src/Makefile.am | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src') diff --git a/src/Makefile.am b/src/Makefile.am index eaa9dda..4e57b90 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -1,4 +1,9 @@ AM_CXXFLAGS = -Wall +AM_CPPFLAGS = + +if NEED_COMPAT +AM_CPPFLAGS += -I@top_srcdir@/compat +endif bin_PROGRAMS = osc-graphics osc_graphics_SOURCES = main.cpp osc_graphics.h \ -- cgit v1.2.3