diff options
author | Martin Pool <mbp@sourcefrog.net> | 2014-11-01 09:52:46 -0700 |
---|---|---|
committer | Martin Pool <mbp@sourcefrog.net> | 2014-11-01 09:52:46 -0700 |
commit | c661deea32d6b5a27848552251aedb78bc07a0ab (patch) | |
tree | 948dca2884da41c37df6a55d4c23ce8a172846cf | |
parent | e2ed710bbd51ee23d9da6234b4e3ed120a865d6c (diff) | |
download | librsync-c661deea32d6b5a27848552251aedb78bc07a0ab.tar.gz |
You can set before running autogen.sh
-rw-r--r-- | NEWS | 5 | ||||
-rwxr-xr-x | autogen.sh | 12 |
2 files changed, 13 insertions, 4 deletions
@@ -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. @@ -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 |