Fixups after gnulib refresh

This commit is contained in:
John Levon 2009-01-08 20:42:01 +00:00
parent d6bd288da2
commit 12b6851d54
4 changed files with 12 additions and 3 deletions

View File

@ -1,3 +1,10 @@
Thu Jan 8 20:28:06 GMT 2009 John Levon <levon@movementarian.org>
Fixups after gnulib refresh
* configure.in: search -lnsl for xdr functions
* qemud/Makefile.am: link in $(LIBSOCKET)
* tests/Makefile.am: link in $(LIBSOCKET)
Thu Jan 8 20:47:26 CET 2009 Guido Günther <agx@sigxcpu.org>
add missing flags argument

View File

@ -79,9 +79,10 @@ AC_CHECK_HEADERS([pwd.h paths.h regex.h sys/syslimits.h sys/utsname.h sys/wait.h
dnl Where are the XDR functions?
dnl If portablexdr is installed, prefer that.
dnl Otherwise try -lrpc (Cygwin) -lxdr (some MinGW) or none (most Unix)
dnl Otherwise try -lrpc (Cygwin) -lxdr (some MinGW), -lnsl (Solaris)
dnl or none (most Unix)
AC_CHECK_LIB([portablexdr],[xdrmem_create],[],[
AC_SEARCH_LIBS([xdrmem_create],[rpc xdr])
AC_SEARCH_LIBS([xdrmem_create],[rpc xdr nsl])
])
AC_CHECK_LIB([intl],[gettext],[])

View File

@ -250,7 +250,7 @@ endif # DBUS_INIT_SCRIPTS_RED_HAT
# This must be added last, since functions it provides/replaces
# are used by nearly every other library.
libvirtd_LDADD += ../gnulib/lib/libgnu.la
libvirtd_LDADD += ../gnulib/lib/libgnu.la $(LIBSOCKET)
endif # WITH_LIBVIRTD

View File

@ -33,6 +33,7 @@ LDADDS = \
$(WARN_CFLAGS) \
../src/libvirt_test.la \
../gnulib/lib/libgnu.la \
$(LIBSOCKET) \
$(COVERAGE_LDFLAGS)
EXTRA_DIST = \