summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Pool <mbp@sourcefrog.net>2014-11-01 09:52:46 -0700
committerMartin Pool <mbp@sourcefrog.net>2014-11-01 09:52:46 -0700
commitc661deea32d6b5a27848552251aedb78bc07a0ab (patch)
tree948dca2884da41c37df6a55d4c23ce8a172846cf
parente2ed710bbd51ee23d9da6234b4e3ed120a865d6c (diff)
downloadlibrsync-c661deea32d6b5a27848552251aedb78bc07a0ab.tar.gz
You can set before running autogen.sh
-rw-r--r--NEWS5
-rwxr-xr-xautogen.sh12
2 files changed, 13 insertions, 4 deletions
diff --git a/NEWS b/NEWS
index 7107580..c5522f1 100644
--- a/NEWS
+++ b/NEWS
@@ -1,4 +1,4 @@
-Changes in 0.9.8 (not yet released)
+Changes in 1.0.0 (not yet released)
* Improved rdiff man page from Debian.
@@ -13,6 +13,9 @@ Changes in 0.9.8 (not yet released)
* Remove bundled copy of popt; it must be installed separately.
+ * You can set `$LIBTOOLIZE` before running `autogen.sh`, for example on
+ OS X Homebrew where it is called `glibtoolize`.
+
Changes in 0.9.7 (released 2004-10-10)
* Yet more large file support fixes.
diff --git a/autogen.sh b/autogen.sh
index 07831bc..2e56506 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -1,6 +1,6 @@
#! /bin/sh
-# Copyright (C) 2000, 2001 by Martin Pool
+# Copyright 2000, 2001, 2014 by Martin Pool
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public License
@@ -64,11 +64,17 @@ test -f "$changelog" && {
DIE=1
}
-(libtool --version) < /dev/null > /dev/null 2>&1 || {
+if [ -z "$LIBTOOLIZE" ]
+then
+ LIBTOOLIZE=libtoolize
+fi
+
+($LIBTOOLIZE --version) < /dev/null > /dev/null 2>&1 || {
echo
echo "You must have libtool installed to compile $PROJECT."
echo "Download the appropriate package for your distribution,"
echo "or go to http://www.gnu.org/software/libtool/"
+ echo "You can set $LIBTOOLIZE."
DIE=1
}
@@ -87,7 +93,7 @@ esac
set -x
aclocal $ACLOCAL_FLAGS
-libtoolize --force
+$LIBTOOLIZE --force
autoheader
automake -a --foreign $am_opt
autoconf