]> git.ipfire.org Git - thirdparty/ntp.git/commitdiff
Only build/run the sntp tests if we have gtest
authorHarlan Stenn <stenn@ntp.org>
Sun, 31 Oct 2010 05:30:37 +0000 (01:30 -0400)
committerHarlan Stenn <stenn@ntp.org>
Sun, 31 Oct 2010 05:30:37 +0000 (01:30 -0400)
bk: 4cccfefdnpPFSJlgP4ZBqprFrN221Q

ChangeLog
sntp/Makefile.am

index 389ad127847540cde0707722a71fc537c8701dfc..57242530f6c93fa1e5b8d1e36e4dd29fbdf43e90 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,4 +1,5 @@
 * Put the sntp tests under sntp/ .
+* ... and only build/run them if we have gtest.
 (4.2.7p75) 2010/10/30 Released by Harlan Stenn <stenn@ntp.org>
 * Documentation updates from Dave Mills.
 * Include Linus Karlsson's GSoC 2010 testing code.
index 9a470e141e1d0d53f894c6bbe81b1e2609a9a514..a314e5299b144cdcaafae68f0699fc6e5b053515 100644 (file)
@@ -28,7 +28,10 @@ if NEED_LIBOPTS
 SUBDIRS+= libopts
 endif
 SUBDIRS+= .
+
+if GTEST_AVAILABLE
 SUBDIRS+= tests
+endif
 
 sntp_SOURCES =         \
        crypto.c        \