Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

build: properly test for libplumb, remove useless -lplumbgpl

Add an AC_CHECK_LIB test for cl_log, autoconf automatically adds
this to LIBS. No need to explicitly specifiy -lplumbgpl.

Fixes Debian build warning:
dpkg-shlibdeps: warning: dependency on libplumbgpl.so.2 could be avoided if "debian/booth/usr/sbin/boothd" were not uselessly linked against it (they use none of its symbols).
  • Loading branch information...
commit 2d243c7d281e2850ab1060ca3282a5958599eb05 1 parent 01da7ee
@fghaas fghaas authored
Showing with 1 addition and 1 deletion.
  1. +1 −0  configure.ac
  2. +0 −1  src/Makefile.am
View
1  configure.ac
@@ -64,6 +64,7 @@ AM_CONDITIONAL(HAVE_HELP2MAN, test x"${HELP2MAN}" != x"")
# Checks for libraries.
AC_CHECK_LIB([socket], [socket])
AC_CHECK_LIB([nsl], [t_open])
+AC_CHECK_LIB([plumb], [cl_log])
PKG_CHECK_MODULES(GLIB, [glib-2.0])
View
1  src/Makefile.am
@@ -9,7 +9,6 @@ sbin_PROGRAMS = boothd
boothd_SOURCES = config.c main.c paxos.c ticket.c transport.c \
pacemaker.c paxos_lease.c timer.c
-boothd_LDADD = -lplumb -lplumbgpl
boothd_LDFLAGS = $(OS_DYFLAGS) -L./ $(GLIB_LIBS)
boothd_CPPFLAGS = $(GLIB_CFLAGS)
Please sign in to comment.
Something went wrong with that request. Please try again.