diff options
author | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2012-09-28 21:13:08 +0200 |
---|---|---|
committer | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2012-09-28 21:13:08 +0200 |
commit | 3352e561e2ad4be506c829711a3ef71a18c0c859 (patch) | |
tree | 531d67e3b814b5afed6a39f741db0ef1379cb109 /src | |
parent | c9b45ab56674d97c56eb1c3cde4872a7e0f09984 (diff) | |
download | osc-graphics-3352e561e2ad4be506c829711a3ef71a18c0c859.tar.gz |
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
Diffstat (limited to 'src')
-rw-r--r-- | src/Makefile.am | 5 |
1 files changed, 5 insertions, 0 deletions
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 \ |