diff options
author | irungentoo <irungentoo@gmail.com> | 2013-10-16 09:10:57 -0700 |
---|---|---|
committer | irungentoo <irungentoo@gmail.com> | 2013-10-16 09:10:57 -0700 |
commit | 31b371e617ac6ebe0daaaaa9d1323b091d621d52 (patch) | |
tree | 0f5456231a4f415f3f4782972b2f4887a9be7935 | |
parent | d01b4a8e00953e2f891462bbf92896d4373d5a54 (diff) | |
parent | 07d334bbe317857f649799b2d7ef4bc4778b26c7 (diff) |
Merge pull request #622 from jin-eld/no-tox-sync-on-windows
Do not build tox_sync on win32
-rw-r--r-- | configure.ac | 1 | ||||
-rw-r--r-- | testing/Makefile.inc | 17 |
2 files changed, 10 insertions, 8 deletions
diff --git a/configure.ac b/configure.ac index dba051c7..62bb91bd 100644 --- a/configure.ac +++ b/configure.ac | |||
@@ -587,6 +587,7 @@ AM_CONDITIONAL(BUILD_TESTS, test "x$BUILD_TESTS" = "xyes") | |||
587 | AM_CONDITIONAL(BUILD_NTOX, test "x$BUILD_NTOX" = "xyes") | 587 | AM_CONDITIONAL(BUILD_NTOX, test "x$BUILD_NTOX" = "xyes") |
588 | AM_CONDITIONAL(BUILD_AV, test "x$BUILD_AV" = "xyes") | 588 | AM_CONDITIONAL(BUILD_AV, test "x$BUILD_AV" = "xyes") |
589 | AM_CONDITIONAL(BUILD_TESTING, test "x$BUILD_TESTING" = "xyes") | 589 | AM_CONDITIONAL(BUILD_TESTING, test "x$BUILD_TESTING" = "xyes") |
590 | AM_CONDITIONAL(WIN32, test "x$WIN32" = "xyes") | ||
590 | 591 | ||
591 | AC_CONFIG_FILES([Makefile | 592 | AC_CONFIG_FILES([Makefile |
592 | build/Makefile | 593 | build/Makefile |
diff --git a/testing/Makefile.inc b/testing/Makefile.inc index de3995be..31c84678 100644 --- a/testing/Makefile.inc +++ b/testing/Makefile.inc | |||
@@ -25,8 +25,7 @@ noinst_PROGRAMS += DHT_test \ | |||
25 | Lossless_UDP_testclient \ | 25 | Lossless_UDP_testclient \ |
26 | Lossless_UDP_testserver \ | 26 | Lossless_UDP_testserver \ |
27 | Messenger_test \ | 27 | Messenger_test \ |
28 | crypto_speed_test \ | 28 | crypto_speed_test |
29 | tox_sync | ||
30 | 29 | ||
31 | DHT_test_SOURCES = ../testing/DHT_test.c | 30 | DHT_test_SOURCES = ../testing/DHT_test.c |
32 | 31 | ||
@@ -102,20 +101,22 @@ crypto_speed_test_LDADD = \ | |||
102 | $(NACL_LIBS) \ | 101 | $(NACL_LIBS) \ |
103 | $(WINSOCK2_LIBS) | 102 | $(WINSOCK2_LIBS) |
104 | 103 | ||
105 | tox_sync_SOURCES = \ | 104 | if !WIN32 |
106 | ../testing/tox_sync.c | ||
107 | 105 | ||
108 | tox_sync_CFLAGS = \ | 106 | noinst_PROGRAMS += tox_sync |
109 | $(LIBSODIUM_CFLAGS) \ | 107 | |
108 | tox_sync_SOURCES = ../testing/tox_sync.c | ||
109 | |||
110 | tox_sync_CFLAGS = $(LIBSODIUM_CFLAGS) \ | ||
110 | $(NACL_CFLAGS) | 111 | $(NACL_CFLAGS) |
111 | 112 | ||
112 | tox_sync_LDADD = \ | 113 | tox_sync_LDADD = $(LIBSODIUM_LDFLAGS) \ |
113 | $(LIBSODIUM_LDFLAGS) \ | ||
114 | $(NACL_LDFLAGS) \ | 114 | $(NACL_LDFLAGS) \ |
115 | libtoxcore.la \ | 115 | libtoxcore.la \ |
116 | $(LIBSODIUM_LIBS) \ | 116 | $(LIBSODIUM_LIBS) \ |
117 | $(NACL_LIBS) \ | 117 | $(NACL_LIBS) \ |
118 | $(WINSOCK2_LIBS) | 118 | $(WINSOCK2_LIBS) |
119 | endif | ||
119 | 120 | ||
120 | EXTRA_DIST += $(top_srcdir)/testing/misc_tools.c | 121 | EXTRA_DIST += $(top_srcdir)/testing/misc_tools.c |
121 | 122 | ||