All of lore.kernel.org
 help / color / mirror / Atom feed
From: Vishal Verma <vishal.l.verma@intel.com>
To: linux-nvdimm@lists.01.org
Cc: Vishal Verma <vishal@kernel.org>
Subject: [ndctl PATCH] autogen.sh: allow a --force to be sent to autoreconf
Date: Tue, 19 Apr 2016 12:11:17 -0600	[thread overview]
Message-ID: <1461089477-11334-1-git-send-email-vishal.l.verma@intel.com> (raw)

From: Vishal Verma <vishal@kernel.org>

Sometimes based on your libtool version, you may see something like:

libtool: Version mismatch error.  This is libtool 2.4.2, but the
libtool: definition of this LT_INIT comes from libtool 2.4.6.
libtool: You should recreate aclocal.m4 with macros from libtool 2.4.2
libtool: and run autoconf again.

which can be fixed by passing --force to autoreconf.

Let autogen.sh pass any commandline arguments on to autoreconf to allow
one to fix this.

Signed-off-by: Vishal Verma <vishal.l.verma@intel.com>
---
 autogen.sh | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/autogen.sh b/autogen.sh
index 2970a3b..a23cf53 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -7,7 +7,9 @@ if [ -f .git/hooks/pre-commit.sample -a ! -f .git/hooks/pre-commit ] ; then
 fi
 
 $(dirname $0)/git-version-gen
-autoreconf --install --symlink
+reconf_args=''
+[ -n "$*" ] && reconf_args="$*"
+autoreconf --install --symlink $reconf_args
 
 libdir() {
         echo $(cd $1/$(gcc -print-multi-os-directory); pwd)
-- 
2.5.5

_______________________________________________
Linux-nvdimm mailing list
Linux-nvdimm@lists.01.org
https://lists.01.org/mailman/listinfo/linux-nvdimm

                 reply	other threads:[~2016-04-19 18:11 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=1461089477-11334-1-git-send-email-vishal.l.verma@intel.com \
    --to=vishal.l.verma@intel.com \
    --cc=linux-nvdimm@lists.01.org \
    --cc=vishal@kernel.org \
    /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: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.