summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2013-10-25 16:01:54 -0700
committerEric Anholt <eric@anholt.net>2013-10-25 16:01:54 -0700
commit81e897021846fdbd783ea7f94a4850e4cb92cd09 (patch)
tree1ed22224e2aafe86c00c17c65e0e0bd323420542
parent5594ed57413bf0117c592cf8edc8c9363b98a578 (diff)
Fix out-of-tree build.
-rw-r--r--tests/Makefile.am2
-rw-r--r--tests/int-set/Makefile.am2
-rw-r--r--tests/set/Makefile.am2
3 files changed, 3 insertions, 3 deletions
diff --git a/tests/Makefile.am b/tests/Makefile.am
index f280ee3..13ba89f 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -21,7 +21,7 @@
SUBDIRS = set int-set
-AM_CFLAGS = $(WARN_CFLAGS) -I..
+AM_CFLAGS = $(WARN_CFLAGS) -I$(top_srcdir)
LDADD = ../libhash_table.la
TESTS = \
diff --git a/tests/int-set/Makefile.am b/tests/int-set/Makefile.am
index 23c1e5b..03aa2d9 100644
--- a/tests/int-set/Makefile.am
+++ b/tests/int-set/Makefile.am
@@ -19,7 +19,7 @@
# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
# IN THE SOFTWARE.
-AM_CFLAGS = $(WARN_CFLAGS) -I../..
+AM_CFLAGS = $(WARN_CFLAGS) -I$(top_srcdir)
LDADD = ../../libint-set.la
TESTS = \
diff --git a/tests/set/Makefile.am b/tests/set/Makefile.am
index 9ae7edc..f29605a 100644
--- a/tests/set/Makefile.am
+++ b/tests/set/Makefile.am
@@ -19,7 +19,7 @@
# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
# IN THE SOFTWARE.
-AM_CFLAGS = $(WARN_CFLAGS) -I../..
+AM_CFLAGS = $(WARN_CFLAGS) -I$(srcdir)/../..
LDADD = ../../libset.la
TESTS = \