diff options
author | Youness Alaoui <youness.alaoui@collabora.co.uk> | 2009-04-24 20:10:30 -0400 |
---|---|---|
committer | Youness Alaoui <youness.alaoui@collabora.co.uk> | 2009-04-24 20:10:30 -0400 |
commit | 02ff6c5f65fa1f5cd380444aa0fba98bb45c159d (patch) | |
tree | 5cf527d0cfbe48da63a63262415405f84c3285c4 /tests | |
parent | c4968e094c6bdf14f09dafa295696f6f356e38dd (diff) | |
download | libnice-02ff6c5f65fa1f5cd380444aa0fba98bb45c159d.tar.gz |
Add UPnP support to libnice
Diffstat (limited to 'tests')
-rw-r--r-- | tests/Makefile.am | 3 | ||||
-rw-r--r-- | tests/test-thread.c | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/tests/Makefile.am b/tests/Makefile.am index 98069fc..cd94233 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -11,13 +11,14 @@ include $(top_srcdir)/common.mk AM_CFLAGS = \ $(ERROR_CFLAGS) \ $(GLIB_CFLAGS) \ + $(GUPNP_CFLAGS) \ -I $(top_srcdir) \ -I $(top_srcdir)/agent \ -I $(top_srcdir)/random \ -I $(top_srcdir)/socket \ -I $(top_srcdir)/stun -COMMON_LDADD = $(top_builddir)/agent/libagent.la $(top_builddir)/socket/libsocket.la $(GLIB_LIBS) +COMMON_LDADD = $(top_builddir)/agent/libagent.la $(top_builddir)/socket/libsocket.la $(GLIB_LIBS) $(GUPNP_LIBS) check_PROGRAMS = \ test-bsd \ diff --git a/tests/test-thread.c b/tests/test-thread.c index 21cece2..f2870b3 100644 --- a/tests/test-thread.c +++ b/tests/test-thread.c @@ -214,6 +214,8 @@ int main (void) g_object_set (G_OBJECT (lagent), "controlling-mode", TRUE, NULL); g_object_set (G_OBJECT (ragent), "controlling-mode", FALSE, NULL); + g_object_set (G_OBJECT (lagent), "upnp", FALSE, NULL); + g_object_set (G_OBJECT (ragent), "upnp", FALSE, NULL); /* step: add a timer to catch state changes triggered by signals */ timer_id = g_timeout_add (30000, timer_cb, NULL); |