From ee53613ec16af1334516402a9ba99a92934fe01c Mon Sep 17 00:00:00 2001 From: Benjamin Dobell Date: Mon, 17 Nov 2014 16:05:25 +1100 Subject: Continue to support autotools... for now --- heimdall/Makefile.am | 2 +- heimdall/source/Heimdall.h | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) (limited to 'heimdall') 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 #define Sleep(t) usleep(1000*t) -- cgit v1.2.3