aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2012-04-25 15:24:26 -0500
committerTed Gould <ted@gould.cx>2012-04-25 15:24:26 -0500
commit4636768621434e40918be355637ab6e1920ef2ba (patch)
treed61e3982c09c776a7519be6a028feb4e1cf80af2
parent62a010afdc5c7c30db3484df181ba84de7f8912d (diff)
downloadayatana-ido-4636768621434e40918be355637ab6e1920ef2ba.tar.gz
ayatana-ido-4636768621434e40918be355637ab6e1920ef2ba.tar.bz2
ayatana-ido-4636768621434e40918be355637ab6e1920ef2ba.zip
Bring in xorg-gtest to get an X11 wrapper
-rw-r--r--configure.ac1
-rw-r--r--tests/Makefile.am7
2 files changed, 5 insertions, 3 deletions
diff --git a/configure.ac b/configure.ac
index 648c056..6e350b9 100644
--- a/configure.ac
+++ b/configure.ac
@@ -133,6 +133,7 @@ dnl = Google Test Framework ===================================================
m4_include([m4/gtest.m4])
CHECK_GTEST
+CHECK_XORG_GTEST
dnl = GTK Doc Check ===========================================================
diff --git a/tests/Makefile.am b/tests/Makefile.am
index 03429c7..04e6cde 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -19,14 +19,15 @@ AM_CPPFLAGS = \
#############################
nodist_libgtest_a_SOURCES = \
+ $(XORG_GTEST_SOURCE)/src/xorg-gtest-all.cpp \
$(GTEST_SOURCE)/src/gtest-all.cc \
- $(GTEST_SOURCE)/src/gtest_main.cc
+ $(XORG_GTEST_SOURCE)/src/xorg-gtest_main.cpp
libgtest_a_CPPFLAGS = \
+ $(XORG_GTEST_CPPFLAGS) \
+ $(AM_CPPFLAGS) \
$(GTEST_CPPFLAGS) -w
libgtest_a_CXXFLAGS = \
$(AM_CXXFLAGS)
-libgtest_a_CPPFLAGS = \
- $(AM_CPPFLAGS)
#############################
# Menuitem tests