From c63c6f726587d24bf6b9ac6ac1e1ae62142512a7 Mon Sep 17 00:00:00 2001 From: suzuki toshiya Date: Sun, 19 Jun 2011 22:54:40 +0900 Subject: [PATCH] [autogen.sh] Reflect environment variable LIBTOOLIZE. --- ChangeLog | 4 ++++ autogen.sh | 7 +++++-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 917e08b54..0be7b61b3 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2011-06-19 suzuki toshiya + + [autogen.sh] Reflect environment variable LIBTOOLIZE. + 2011-06-18 Werner Lemberg Update license documentation. diff --git a/autogen.sh b/autogen.sh index c28a51c13..9f2fb6a3e 100644 --- a/autogen.sh +++ b/autogen.sh @@ -118,9 +118,12 @@ fi # On MacOS X, the GNU libtool is named `glibtool'. HOSTOS=`uname` -LIBTOOLIZE=libtoolize -if test "$HOSTOS"x = Darwinx; then +if test "$LIBTOOLIZE"x != x; then + : +elif test "$HOSTOS"x = Darwinx; then LIBTOOLIZE=glibtoolize +else + LIBTOOLIZE=libtoolize fi if test "$ACLOCAL"x = x; then