aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2013-10-02 12:54:25 +0000
committerChristian Grothoff <christian@grothoff.org>2013-10-02 12:54:25 +0000
commit5b82f1062147ef5da89971d515d93fd4df8cd40d (patch)
tree8284c8f5e95b55d9ddfda3d1f03ad6f140742d1f /src
parent42b829bb6005f07403370931509d0f83b4235e15 (diff)
downloadgnunet-5b82f1062147ef5da89971d515d93fd4df8cd40d.tar.gz
gnunet-5b82f1062147ef5da89971d515d93fd4df8cd40d.zip
-add configure tests for opus/pulseaudio for conversation
Diffstat (limited to 'src')
-rw-r--r--src/Makefile.am7
-rw-r--r--src/conversation/Makefile.am11
-rw-r--r--src/include/gnunet_namestore_service.h2
3 files changed, 17 insertions, 3 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index bd039325a..97b643f5c 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -16,10 +16,15 @@ if HAVE_EXPERIMENTAL
16 multicast \ 16 multicast \
17 env \ 17 env \
18 psyc \ 18 psyc \
19 conversation \
20 $(CONSENSUS) \ 19 $(CONSENSUS) \
21 $(EXPERIMENTATION) 20 $(EXPERIMENTATION)
22 # NOTE: scalarproduct is not being listed here yet as the crypto is being reworked at the moment 21 # NOTE: scalarproduct is not being listed here yet as the crypto is being reworked at the moment
22if HAVE_PULSE
23if HAVE_OPUS
24 EXP_DIR += conversation
25endif
26endif
27
23endif 28endif
24 29
25if HAVE_MYSQL 30if HAVE_MYSQL
diff --git a/src/conversation/Makefile.am b/src/conversation/Makefile.am
index de5c5ace7..b5dc0d49b 100644
--- a/src/conversation/Makefile.am
+++ b/src/conversation/Makefile.am
@@ -31,9 +31,18 @@ libgnunetconversation_la_LDFLAGS = \
31 31
32bin_PROGRAMS = gnunet-conversation 32bin_PROGRAMS = gnunet-conversation
33 33
34libexec_PROGRAMS = gnunet-service-conversation \ 34libexec_PROGRAMS = \
35 gnunet-service-conversation
36
37if HAVE_PULSE
38if HAVE_OPUS
39libexec_PROGRAMS +=
35 gnunet-helper-audio-record \ 40 gnunet-helper-audio-record \
36 gnunet-helper-audio-playback 41 gnunet-helper-audio-playback
42endif
43endif
44
45
37 46
38check_PROGRAMS = \ 47check_PROGRAMS = \
39 test_conversation_api 48 test_conversation_api
diff --git a/src/include/gnunet_namestore_service.h b/src/include/gnunet_namestore_service.h
index 640bd6c02..4b3a6fcb9 100644
--- a/src/include/gnunet_namestore_service.h
+++ b/src/include/gnunet_namestore_service.h
@@ -724,7 +724,7 @@ GNUNET_NAMESTORE_records_cmp (const struct GNUNET_NAMESTORE_RecordData *a,
724 724
725/** 725/**
726 * Returns the expiration time of the given block of records. The block 726 * Returns the expiration time of the given block of records. The block
727 * expiration time is the expiration time of the block with smallest 727 * expiration time is the expiration time of the record with smallest
728 * expiration time. 728 * expiration time.
729 * 729 *
730 * @param rd_count number of records given in @a rd 730 * @param rd_count number of records given in @a rd