aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBenjamin Dobell <benjamin.dobell+git@glassechidna.com.au>2014-11-17 16:05:25 +1100
committerBenjamin Dobell <benjamin.dobell+git@glassechidna.com.au>2014-11-17 16:05:34 +1100
commitee53613ec16af1334516402a9ba99a92934fe01c (patch)
treed73f773e25ccbe027da9a2c10053db959e65a7be
parent1ddfdc1a880279ce07b2c43f60b7aa138d4ad315 (diff)
downloadexternal_heimdall-ee53613ec16af1334516402a9ba99a92934fe01c.zip
external_heimdall-ee53613ec16af1334516402a9ba99a92934fe01c.tar.gz
external_heimdall-ee53613ec16af1334516402a9ba99a92934fe01c.tar.bz2
Continue to support autotools... for now
-rw-r--r--heimdall/Makefile.am2
-rw-r--r--heimdall/source/Heimdall.h4
2 files changed, 5 insertions, 1 deletions
diff --git a/heimdall/Makefile.am b/heimdall/Makefile.am
index e13860f..bc30c98 100644
--- a/heimdall/Makefile.am
+++ b/heimdall/Makefile.am
@@ -1,6 +1,6 @@
AUTOMAKE_OPTIONS = subdir-objects
ACLOCAL_AMFLAGS = ${ACLOCAL_FLAGS}
-AM_CPPFLAGS = $(DEPS_CFLAGS) -std=c++0x -I../libpit/Source
+AM_CPPFLAGS = $(DEPS_CFLAGS) -std=c++0x -I../libpit/Source -DAUTOCONF
STATIC_LIBS = ../libpit/libpit-1.4.a
bin_PROGRAMS = heimdall
heimdall_SOURCES = source/Arguments.cpp \
diff --git a/heimdall/source/Heimdall.h b/heimdall/source/Heimdall.h
index c5c11ef..45d0cbd 100644
--- a/heimdall/source/Heimdall.h
+++ b/heimdall/source/Heimdall.h
@@ -38,6 +38,10 @@
#else // POSIX Standard Library
+#ifdef AUTOCONF
+#include "../config.h"
+#endif
+
#include <unistd.h>
#define Sleep(t) usleep(1000*t)