Skip to content
Snippets Groups Projects
Commit f6df0c81 authored by yanmorin's avatar yanmorin
Browse files

Zeroconf integration
(first part)
parent 84ff441e
Branches
Tags
No related merge requests found
......@@ -12,6 +12,10 @@ Sherry Yang (syangs04 at yahoo dot com)
Imran Akbar (imr at stanford dot edu)
- Working on Win32 port
Yan Morin
(yan dot morin at savoifairelinux dot com)
- zeroconf integration
Contributors:
Mikael Magnusson
\ No newline at end of file
Mikael Magnusson
......@@ -8,6 +8,8 @@ SFLphone (0.4.1-pre2) / now
(thanks to Mikael Magnusson)
* We actualy check if portaudio and eXosip2 libs
are installed
* zeroconf integration start
SFLphone (0.4.1-pre1) / 2005-08-11
* Use libeXosip2
......
All of the code (except when other copyright is specified) is
(c) 2004 Savoir-faire Linux inc.
(c) 2004-2005 Savoir-faire Linux inc.
and released under the terms of the venerable
GNU GENERAL PUBLIC LICENSE
......
......@@ -5,6 +5,7 @@ Jean-Philippe Barette-LaPierre (30 April 2005) version 0.4.1-pre1
(thanks to Mikael Magnusson)
- We actualy check if portaudio and eXosip2 libs
are installed. (thanks to Mikael Magnusson)
- zeroconf integration start
Jean-Philippe Barette-LaPierre (30 April 2005) version 0.4.1-pre1
- Now, we send a final response to reINVITEs
......
......@@ -2,4 +2,5 @@ PortAudio: http://portaudio.com/archives/pa_snapshot_v19.tar.gz
Common C++ 2 1.3.6: http://sourceforge.net/projects/cplusplus/
ccRTP 1.3.0: http://sourceforge.net/projects/cplusplus/
libosip 2.2.1: http://savannah.gnu.org/projects/osip/
libeXosip2-1.9.1-pre15: http://www.antisip.com/download/
\ No newline at end of file
libeXosip2-1.9.1-pre15: http://www.antisip.com/download/
mDNSResponder87: http://developer.apple.com/darwin/projects/bonjour/
......@@ -15,6 +15,9 @@
/* Define to 1 if you have the <dlfcn.h> header file. */
#undef HAVE_DLFCN_H
/* Define if dns-sd is available */
#undef HAVE_DNSSD
/* Define to 1 if you have the <eXosip2/eXosip.h> header file. */
#undef HAVE_EXOSIP2_EXOSIP_H
......
......@@ -127,7 +127,43 @@ AC_SUBST(portaudio_LIB)
AC_SUBST(SFLPHONE_CXXFLAGS)
AC_SUBST(SFLPHONE_LIBS)
AC_ARG_ENABLE(zeroconf, [ --disable-zeroconf don't require libdns_sd (browsing and publishing DNS-SD services will not be possible) ], with_zeroconf=$enableval, with_zeroconf=yes)
if test "$with_zeroconf" = "yes"; then
AC_MSG_CHECKING(for DNS-SD support)
save_dnssdtest_LIBS="$LIBS"
save_dnssdtest_LDFLAGS="$LDFLAGS"
save_dnssdtest_CPPFLAGS="$CPPFLAGS"
LDFLAGS="$all_libraries $LDFLAGS"
CPPFLAGS="$CPPFLAGS $all_includes"
case $host_os in
darwin*) LIBS="" ;;
*) LIBS="-ldns_sd" ;;
esac
have_libdns_sd="no"
AC_TRY_LINK( [
#include <dns_sd.h>
],[
DNSServiceRefDeallocate( (DNSServiceRef) 0);
TXTRecordDeallocate( (TXTRecordRef*) 0);
],[
AC_DEFINE(HAVE_DNSSD,1,[Define if dns-sd is available])
case $host_os in
darwin*) LIB_DNSSD="" ;;
*) LIB_DNSSD="-ldns_sd" ;;
esac
have_libdns_sd="yes"
AC_MSG_RESULT(yes)
],[
AC_MSG_RESULT(no)
LIB_DNSSD=""
])
CPPFLAGS=$save_dnssdtest_CPPFLAGS
LDFLAGS=$save_dnssdtest_LDFLAGS
LIBS=$save_dnssdtest_LIBS
fi
AC_SUBST(LIB_DNSSD)
AM_CONDITIONAL(USE_ZEROCONF, test "$have_libdns_sd" = "yes")
dnl AC_CONFIG_FILES(
AC_OUTPUT(
......@@ -143,6 +179,7 @@ src/audio/pacpp/source/Makefile \
src/audio/pacpp/source/portaudiocpp/Makefile \
src/gui/Makefile \
src/gui/qt/Makefile \
src/zeroconf/Makefile
utilspp/Makefile \
utilspp/functor/Makefile \
utilspp/singleton/Makefile \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment