make test compilable without prior make install. not sure how about
authorHarri Porten <porten@kde.org>
Sun, 15 Dec 2002 14:53:29 +0000 (14:53 +0000)
committerHarri Porten <porten@kde.org>
Sun, 15 Dec 2002 14:53:29 +0000 (14:53 +0000)
the preferred way to activate test compilation (DBUS_BUILD_TESTS)

ChangeLog
test/Makefile.am

index 5ce446a..1b42540 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -9,6 +9,9 @@
 
        * dbus/dbus-watch.c (_dbus_watch_list_new): fixed doc error
 
+       * test/Makefile.am: added -I$(top_srcdir) to be able to compile
+       without make install.
+
 2002-12-15  Havoc Pennington  <hp@pobox.com>
 
        * dbus/dbus-threads.c: add thread stubs that a higher library
index 8f7d8e1..1269847 100644 (file)
@@ -1,7 +1,7 @@
 
 if DBUS_BUILD_TESTS
 
-INCLUDES=$(DBUS_TEST_CFLAGS)
+INCLUDES=-I$(top_srcdir) $(DBUS_TEST_CFLAGS) 
 
 noinst_PROGRAMS= echo-client echo-server