[Telepathy-commits] [telepathy-qt4/master] tests/lib: pass -I$(top_builddir) to C code to fix distcheck

Simon McVittie simon.mcvittie at collabora.co.uk
Mon Feb 23 11:59:26 PST 2009


---
 tests/lib/Makefile.am       |    4 +++-
 tests/lib/csh/Makefile.am   |    4 +++-
 tests/lib/echo2/Makefile.am |    4 +++-
 3 files changed, 9 insertions(+), 3 deletions(-)

diff --git a/tests/lib/Makefile.am b/tests/lib/Makefile.am
index b8ee757..e4ea732 100644
--- a/tests/lib/Makefile.am
+++ b/tests/lib/Makefile.am
@@ -1,6 +1,8 @@
 SUBDIRS =
 
-AM_CFLAGS = $(ERROR_CFLAGS)
+AM_CFLAGS = \
+    $(ERROR_CFLAGS) \
+    -I$(top_builddir) -I$(top_srcdir)
 
 MOC_INCLUDES = \
     $(QTCORE_CFLAGS) \
diff --git a/tests/lib/csh/Makefile.am b/tests/lib/csh/Makefile.am
index 1d5b498..4d9564a 100644
--- a/tests/lib/csh/Makefile.am
+++ b/tests/lib/csh/Makefile.am
@@ -1,4 +1,6 @@
-AM_CFLAGS = $(ERROR_CFLAGS)
+AM_CFLAGS = \
+    $(ERROR_CFLAGS) \
+    -I$(top_builddir) -I$(top_srcdir)
 AM_CXXFLAGS = $(ERROR_CXXFLAGS)
 
 if ENABLE_TP_GLIB_TESTS
diff --git a/tests/lib/echo2/Makefile.am b/tests/lib/echo2/Makefile.am
index b4c28ce..76bde06 100644
--- a/tests/lib/echo2/Makefile.am
+++ b/tests/lib/echo2/Makefile.am
@@ -1,4 +1,6 @@
-AM_CFLAGS = $(ERROR_CFLAGS)
+AM_CFLAGS = \
+    $(ERROR_CFLAGS) \
+    -I$(top_builddir) -I$(top_srcdir)
 AM_CXXFLAGS = $(ERROR_CXXFLAGS)
 
 if ENABLE_TP_GLIB_TESTS
-- 
1.5.6.5




More information about the telepathy-commits mailing list