summaryrefslogtreecommitdiff
path: root/src/config.mk
diff options
context:
space:
mode:
authorportix <portix@gmx.net>2013-05-09 12:07:55 +0200
committerportix <portix@gmx.net>2013-05-09 12:07:55 +0200
commit2ca48c07ddedb109b6bd0fad57319d906362a6d4 (patch)
tree0700f9c5cde7345296f70cde2bcaa3ba19726074 /src/config.mk
parent9acf73f81af08ee4c05a10f6f72ee8b73ac75706 (diff)
downloaddwb-2ca48c07ddedb109b6bd0fad57319d906362a6d4.zip
Check for missing header files automatically
Diffstat (limited to 'src/config.mk')
-rw-r--r--src/config.mk3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/config.mk b/src/config.mk
new file mode 100644
index 00000000..bb4706af
--- /dev/null
+++ b/src/config.mk
@@ -0,0 +1,3 @@
+ifeq ($(shell $(BASEDIR)/$(TOOLDIR)/check_header.sh execinfo.h $(CC)), 1)
+CFLAGS += -DHAS_EXECINFO
+endif