diff options
author | suzuki toshiya <mpsuzuki@hiroshima-u.ac.jp> | 2011-06-19 22:54:40 +0900 |
---|---|---|
committer | suzuki toshiya <mpsuzuki@hiroshima-u.ac.jp> | 2011-06-19 22:54:40 +0900 |
commit | c63c6f726587d24bf6b9ac6ac1e1ae62142512a7 (patch) | |
tree | 099ae3ce9bf69f1c91ff17a9ad0263cbb0efb820 /autogen.sh | |
parent | ea79b846212982f90b1859ee62e6ce39f5a5f53a (diff) | |
download | freetype2-c63c6f726587d24bf6b9ac6ac1e1ae62142512a7.tar.gz |
[autogen.sh] Reflect environment variable LIBTOOLIZE.
Diffstat (limited to 'autogen.sh')
-rw-r--r-- | autogen.sh | 7 |
1 files changed, 5 insertions, 2 deletions
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 |