Skip to content

Commit

Permalink
Merge pull request #800 from wferi/build-fixes
Browse files Browse the repository at this point in the history
Build fixes
  • Loading branch information
beekhof committed Oct 5, 2015
2 parents d506c60 + 05c15d3 commit 712c558
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 286 deletions.
3 changes: 3 additions & 0 deletions configure.ac
Expand Up @@ -1205,6 +1205,7 @@ fi

AC_DEFINE_UNQUOTED(SUPPORT_UPSTART, $HAVE_upstart, Support upstart based system services)
AM_CONDITIONAL(BUILD_UPSTART, test $HAVE_upstart = 1)
AC_SUBST(SUPPORT_UPSTART)

if
$PKGCONFIG --exists systemd
Expand All @@ -1224,6 +1225,7 @@ fi

AC_DEFINE_UNQUOTED(SUPPORT_SYSTEMD, $HAVE_systemd, Support systemd based system services)
AM_CONDITIONAL(BUILD_SYSTEMD, test $HAVE_systemd = 1)
AC_SUBST(SUPPORT_SYSTEMD)

case $SUPPORT_NAGIOS in
1|yes|true|try)
Expand Down Expand Up @@ -1402,6 +1404,7 @@ AC_DEFINE_UNQUOTED(HAVE_ATOMIC_ATTRD, $BUILD_ATOMIC_ATTRD, Support the new atomi

AC_SUBST(SUPPORT_CMAN)
AC_SUBST(SUPPORT_CS)
AC_SUBST(SUPPORT_PLUGIN)

dnl
dnl Cluster stack - Sanity
Expand Down
4 changes: 2 additions & 2 deletions doc/Makefile.am
Expand Up @@ -23,7 +23,7 @@ helpdir = $(datadir)/$(PACKAGE)

ascii = crm_fencing.txt acls.txt
docbook = Pacemaker_Explained Clusters_from_Scratch Pacemaker_Remote
doc_DATA = README.hb2openais $(ascii) $(generated_docs)
doc_DATA = $(ascii) $(generated_docs)

# rsync destination for www targets
RSYNC_DEST = root@www.clusterlabs.org:/var/www/html/doc/
Expand Down Expand Up @@ -149,7 +149,7 @@ install-data-local: all-local
for f in $$filelist; do \
p=`echo $$f | sed s:publish/:: | sed s:Pacemaker/::`; \
if [ -d $$f ]; then \
$(INSTALL) -d 775 $(DESTDIR)$(docdir)/$$p; \
$(INSTALL) -d -m 775 $(DESTDIR)$(docdir)/$$p; \
else \
$(INSTALL) -m 644 $$f $(DESTDIR)$(docdir)/$$p; \
fi \
Expand Down
281 changes: 0 additions & 281 deletions doc/README.hb2openais

This file was deleted.

2 changes: 1 addition & 1 deletion lib/common/Makefile.am
Expand Up @@ -39,7 +39,7 @@ libcrmcommon_la_SOURCES += cib_secrets.c
endif

libcrmcommon_la_LDFLAGS = -version-info 8:0:5
libcrmcommon_la_LIBADD = @LIBADD_DL@ $(GNUTLSLIBS)
libcrmcommon_la_LIBADD = @LIBADD_DL@ $(GNUTLSLIBS) -lm
libcrmcommon_la_SOURCES += $(top_builddir)/lib/gnu/md5.c

clean-generic:
Expand Down
4 changes: 2 additions & 2 deletions lib/pacemaker.pc.in
Expand Up @@ -31,6 +31,6 @@ Version: @PACKAGE_VERSION@
Description: Pacemaker cluster manager v@PACKAGE_SERIES@
Requires:
Conflicts:
Cflags: -I${includedir} -lcrmcommon
Libs: -L${libdir}
Cflags: -I${includedir}
Libs: -L${libdir} -lcrmcommon
Libs.private:

0 comments on commit 712c558

Please sign in to comment.