12 |
|
|
13 |
DIE=0 |
DIE=0 |
14 |
|
|
15 |
case `uname -s` in |
LIBTOOLIZE=libtoolize |
|
Darwin) |
|
|
LIBTOOLIZE=glibtoolize |
|
|
;; |
|
|
*) |
|
|
LIBTOOLIZE=libtoolize |
|
|
;; |
|
|
esac |
|
16 |
|
|
17 |
have_libtool=true |
have_libtool=false |
18 |
if ${LIBTOOLIZE} --version < /dev/null > /dev/null 2>&1 ; then |
if ${LIBTOOLIZE} --version < /dev/null > /dev/null 2>&1 ; then |
19 |
libtool_version=`${LIBTOOLIZE} --version | sed 's/^[^0-9]*\([0-9.][0-9.]*\).*/\1/'` |
libtool_version=`${LIBTOOLIZE} --version | sed 's/^[^0-9]*\([0-9.][0-9.]*\).*/\1/'` |
20 |
case $libtool_version in |
case $libtool_version in |
28 |
echo "You must have libtool 1.5 installed to compile $PROJECT." |
echo "You must have libtool 1.5 installed to compile $PROJECT." |
29 |
echo "Install the appropriate package for your distribution," |
echo "Install the appropriate package for your distribution," |
30 |
echo "or get the source tarball at http://ftp.gnu.org/gnu/libtool/" |
echo "or get the source tarball at http://ftp.gnu.org/gnu/libtool/" |
31 |
|
echo "For Darwin you need the latest stable (1.5.18) to support" |
32 |
|
echo "Frameworks linking. Also, you have to point ACLOCAL_FLAGS" |
33 |
|
echo "to this libtool/share/aclocal." |
34 |
DIE=1 |
DIE=1 |
35 |
fi |
fi |
36 |
|
|