public inbox for cluster-cvs@sourceware.org help / color / mirror / Atom feed
From: "Fabio M. Di Nitto" <fabbione@fedoraproject.org> To: cluster-cvs-relay@redhat.com Subject: cluster: master - build: add --enable-bindings option Date: Fri, 29 May 2009 06:20:00 -0000 [thread overview] Message-ID: <20090529062001.8B464120297@lists.fedorahosted.org> (raw) Gitweb: http://git.fedorahosted.org/git/cluster.git?p=cluster.git;a=commitdiff;h=bdc46fb8f59adcf9897ba9c1380a7ac2d593447e Commit: bdc46fb8f59adcf9897ba9c1380a7ac2d593447e Parent: f48b53aea96c82de7d2d2b2913ed7b47870a41fb Author: Fabio M. Di Nitto <fdinitto@redhat.com> AuthorDate: Fri May 29 08:19:20 2009 +0200 Committer: Fabio M. Di Nitto <fdinitto@redhat.com> CommitterDate: Fri May 29 08:19:20 2009 +0200 build: add --enable-bindings option this allow users to decide if they want to build bindings and default is to no. Also do some whitespace cleanup Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com> --- Makefile.am | 6 +++++- configure.ac | 18 ++++++++++++++---- 2 files changed, 19 insertions(+), 5 deletions(-) diff --git a/Makefile.am b/Makefile.am index d8f8c73..aa33bca 100644 --- a/Makefile.am +++ b/Makefile.am @@ -11,7 +11,11 @@ noinst_HEADERS = make/copyright.cf ACLOCAL_AMFLAGS = -I m4 -SUBDIRS = common config cman group doc bindings +SUBDIRS = common config cman group doc + +if BUILD_BINDINGS +SUBDIRS += bindings +endif install-exec-local: $(INSTALL) -d $(DESTDIR)/$(LOGDIR) diff --git a/configure.ac b/configure.ac index 46b625c..8900b1a 100644 --- a/configure.ac +++ b/configure.ac @@ -128,25 +128,33 @@ AC_ARG_WITH([lcrso-dir], [ LCRSODIR="$libexecdir/lcrso" ]) AC_ARG_WITH([default-config-dir], - [ --default-config-dir=DIR cluster config directory. ], + [ --default-config-dir=DIR + cluster config directory. ], [ DEFAULT_CONFIG_DIR="$withval" ], [ DEFAULT_CONFIG_DIR="$sysconfdir/cluster" ]) AC_ARG_WITH([default-config-file], - [ --default-config-file=FILE cluster config file. ], + [ --default-config-file=FILE + cluster config file. ], [ DEFAULT_CONFIG_FILE="$withval" ], [ DEFAULT_CONFIG_FILE="cluster.conf" ]) AC_ARG_WITH([syslogfacility], - [ --syslogfacility=FACILITY cluster default syslog facility. ], + [ --syslogfacility=FACILITY + cluster default syslog facility. ], [ SYSLOGFACILITY="$withval" ], [ SYSLOGFACILITY="LOG_LOCAL4" ]) AC_ARG_WITH([sysloglevel], - [ --sysloglevel=LEVEL cluster default syslog level. ], + [ --sysloglevel=LEVEL + cluster default syslog level. ], [ SYSLOGLEVEL="$withval" ], [ SYSLOGLEVEL="LOG_INFO" ]) +AC_ARG_ENABLE([bindings], + [ --enable-bindings enable bindings build. ], + [ default="no" ]) + ## random vars NOTIFYDDIR=${DEFAULT_CONFIG_DIR}/cman-notify.d @@ -192,6 +200,8 @@ AC_DEFINE_UNQUOTED([SYSLOGFACILITY], $(eval echo ${SYSLOGFACILITY}), AC_DEFINE_UNQUOTED([SYSLOGLEVEL], $(eval echo ${SYSLOGLEVEL}), [Default syslog level]) +AM_CONDITIONAL(BUILD_BINDINGS, test "x${enable_bindings}" = xyes) + ## *FLAGS handling ENV_CFLAGS="$CFLAGS"
reply other threads:[~2009-05-29 6:20 UTC|newest] Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20090529062001.8B464120297@lists.fedorahosted.org \ --to=fabbione@fedoraproject.org \ --cc=cluster-cvs-relay@redhat.com \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).