From: Sebastian Harl Date: Sun, 22 Dec 2013 16:25:01 +0000 (+0100) Subject: Make everything buildable out-of-tree. X-Git-Tag: sysdb-0.1.0~285 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=71acc30b699236191c33df8cba0e62ab97fe8d2d;p=sysdb.git Make everything buildable out-of-tree. --- diff --git a/src/Makefile.am b/src/Makefile.am index cde3478..53872e7 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -3,7 +3,7 @@ SUBDIRS = liboconfig # coverage related flags are only set when gcov is enabled AM_CFLAGS = @STRICT_CFLAGS@ @COVERAGE_CFLAGS@ AM_LDFLAGS = @COVERAGE_LDFLAGS@ -AM_CPPFLAGS = -Iinclude +AM_CPPFLAGS = -I"${top_srcdir}/src/include" AM_CPPFLAGS += -DSYSCONFDIR='"${sysconfdir}"' AM_CPPFLAGS += -DLOCALSTATEDIR='"${localstatedir}"' AM_CPPFLAGS += -DPKGLIBDIR='"${pkglibdir}"' diff --git a/src/liboconfig/utils.c b/src/liboconfig/utils.c index c713610..1b787ad 100644 --- a/src/liboconfig/utils.c +++ b/src/liboconfig/utils.c @@ -19,7 +19,7 @@ #ifndef OCONFIG_UTILS_H #define OCONFIG_UTILS_H 1 -#include "liboconfig/oconfig.h" +#include "oconfig.h" #ifdef __cplusplus extern "C" { diff --git a/src/liboconfig/utils.h b/src/liboconfig/utils.h index 5a2ae85..d66457b 100644 --- a/src/liboconfig/utils.h +++ b/src/liboconfig/utils.h @@ -19,7 +19,7 @@ #ifndef OCONFIG_UTILS_H #define OCONFIG_UTILS_H 1 -#include "liboconfig/oconfig.h" +#include "oconfig.h" #ifdef __cplusplus extern "C" {