diff options
author | Andreas Tobler <a.tobler@schweiz.org> | 2005-09-03 20:32:02 +0000 |
---|---|---|
committer | Andreas Tobler <a.tobler@schweiz.org> | 2005-09-03 20:32:02 +0000 |
commit | 51917fd6b703b526e3777ffed1ad731fc0c0db81 (patch) | |
tree | e7e584ff62253cc0bd4b77f834a53b3a25446518 /autogen.sh | |
parent | bbe8c473fbe7f992658cc16a45465ff540207475 (diff) | |
download | classpath-51917fd6b703b526e3777ffed1ad731fc0c0db81.tar.gz |
2005-09-03 Andreas Tobler <a.tobler@schweiz.ch>
* autogen.sh: Document libtool version needed for Darwin.
(LIBTOOLIZE): Don't special case Darwin, always use libtoolize.
Diffstat (limited to 'autogen.sh')
-rwxr-xr-x | autogen.sh | 16 |
1 files changed, 6 insertions, 10 deletions
diff --git a/autogen.sh b/autogen.sh index 644b15581..e20cc3869 100755 --- a/autogen.sh +++ b/autogen.sh @@ -12,16 +12,9 @@ FILE=java/lang/Object.java DIE=0 -case `uname -s` in -Darwin) - LIBTOOLIZE=glibtoolize - ;; -*) - LIBTOOLIZE=libtoolize - ;; -esac - -have_libtool=true +LIBTOOLIZE=libtoolize + +have_libtool=false if ${LIBTOOLIZE} --version < /dev/null > /dev/null 2>&1 ; then libtool_version=`${LIBTOOLIZE} --version | sed 's/^[^0-9]*\([0-9.][0-9.]*\).*/\1/'` case $libtool_version in @@ -35,6 +28,9 @@ if $have_libtool ; then : ; else echo "You must have libtool 1.5 installed to compile $PROJECT." echo "Install the appropriate package for your distribution," echo "or get the source tarball at http://ftp.gnu.org/gnu/libtool/" + echo "For Darwin you need the latest stable (1.5.18) to support" + echo "Frameworks linking. Also, you have to point ACLOCAL_FLAGS" + echo "to this libtool/share/aclocal." DIE=1 fi |