]> xenbits.xensource.com Git - libvirt.git/commit
build: add stubs so mdns code can be unconditionally compiled
authorEric Blake <eblake@redhat.com>
Wed, 1 Aug 2012 23:42:51 +0000 (17:42 -0600)
committerEric Blake <eblake@redhat.com>
Thu, 2 Aug 2012 19:35:21 +0000 (13:35 -0600)
commit1f6f723ce1de27a7b5065359638d7f543dde34c0
tree30aeeec7ca54322d1003f1aa35448890e7b9b9a1
parent54b63347144b616e7fca80608acfc2c3cd9ee9cd
build: add stubs so mdns code can be unconditionally compiled

The recent changes to the testsuite to validate exported symbols
flushed out a case of unconditionally exporting symbols that
were only conditionally compiled under HAVE_AVAHI.

* src/Makefile.am (libvirt_net_rpc_server_la_SOURCES): Compile
virnetservermdns unconditionally.
* configure.ac (HAVE_AVAHI): Drop unused automake conditional.
* src/rpc/virnetservermdns.c: Add fallbacks when Avahi is not
present.
configure.ac
src/Makefile.am
src/rpc/virnetservermdns.c