summaryrefslogtreecommitdiffstats
path: root/debian/tests/patches/system-includes.diff
blob: b26ccc74d4d22a6d02c445d39c5450931f912b86 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
diff --git a/example/Makefile.am b/example/Makefile.am
index 877a5e2..3930e10 100644
--- a/example/Makefile.am
+++ b/example/Makefile.am
@@ -1,5 +1,5 @@
 
-AM_CPPFLAGS = -I$(top_srcdir)/include -DNDEBUG
+AM_CPPFLAGS = $(shell pkg-config --cflags mdds-2.1) -DNDEBUG
 
 EXTRA_PROGRAMS = \
 	flat-segment-tree \
diff --git a/configure.ac b/configure.ac
index f2ad3e8..588db4e 100644
--- a/configure.ac
+++ b/configure.ac
@@ -13,7 +13,6 @@ PACKAGE_TARNAME=AC_PACKAGE_TARNAME
 AC_SUBST(PACKAGE_TARNAME)
 
 OBJDIR=obj
-INCDIR=include
 MISCDIR=misc
 QUICKCHECKDIR=quickcheck
 AC_SUBST(OBJDIR)
@@ -134,11 +133,6 @@ AC_SUBST(CXXFLAGS_UNITTESTS)
 
 AC_CONFIG_FILES([
 Makefile
-include/Makefile
-include/mdds/Makefile
-include/mdds/multi_type_vector/Makefile
-include/mdds/multi_type_vector/aos/Makefile
-include/mdds/multi_type_vector/soa/Makefile
 example/Makefile
 test/Makefile
 test/gdb/Makefile