libtool >= 1.3.4 should be good enough
This commit is contained in:
@ -1,3 +1,8 @@
|
|||||||
|
2001-08-28 Sven Neumann <sven@gimp.org>
|
||||||
|
|
||||||
|
* HACKING
|
||||||
|
* autogen.sh: libtool >= 1.3.4 should be good enough
|
||||||
|
|
||||||
2001-08-28 Sven Neumann <sven@gimp.org>
|
2001-08-28 Sven Neumann <sven@gimp.org>
|
||||||
|
|
||||||
* acinclude.m4: removed redefinitions of libtool macros. We use the
|
* acinclude.m4: removed redefinitions of libtool macros. We use the
|
||||||
|
6
HACKING
6
HACKING
@ -1,11 +1,11 @@
|
|||||||
Requirements
|
Requirements
|
||||||
------------
|
------------
|
||||||
If you want to hack on the GIMP project, it will make you life easier
|
If you want to hack on the GIMP project, it will make your life easier
|
||||||
to have the following packages installed:
|
to have the following packages (or newer versions) installed:
|
||||||
|
|
||||||
- GNU autoconf 2.13
|
- GNU autoconf 2.13
|
||||||
- GNU automake 1.4
|
- GNU automake 1.4
|
||||||
- GNU libtool 1.2d
|
- GNU libtool 1.3.4
|
||||||
- GNU gettext 10.38
|
- GNU gettext 10.38
|
||||||
Available in ftp://alpha.gnu.org/gnu
|
Available in ftp://alpha.gnu.org/gnu
|
||||||
|
|
||||||
|
30
autogen.sh
30
autogen.sh
@ -12,22 +12,13 @@ FILE=plug-ins
|
|||||||
|
|
||||||
DIE=0
|
DIE=0
|
||||||
|
|
||||||
have_libtool=false
|
(libtool --version) < /dev/null > /dev/null 2>&1 || {
|
||||||
if libtool --version < /dev/null > /dev/null 2>&1 ; then
|
|
||||||
libtool_version=`libtoolize --version | libtoolize --version | sed 's/^[^0-9]*\([0-9.][0-9.]*\).*/\1/'`
|
|
||||||
case $libtool_version in
|
|
||||||
1.4*)
|
|
||||||
have_libtool=true
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
fi
|
|
||||||
if $have_libtool ; then : ; else
|
|
||||||
echo
|
echo
|
||||||
echo "You must have libtool 1.4 installed to compile $PROJECT."
|
echo "You must have libtool installed to compile $PROJECT."
|
||||||
echo "Install the appropriate package for your distribution,"
|
echo "Install the appropriate package for your distribution,"
|
||||||
echo "or get the source tarball at ftp://ftp.gnu.org/pub/gnu/"
|
echo "or get the source tarball at ftp://ftp.gnu.org/pub/gnu/"
|
||||||
DIE=1
|
DIE=1
|
||||||
fi
|
}
|
||||||
|
|
||||||
(autoconf --version) < /dev/null > /dev/null 2>&1 || {
|
(autoconf --version) < /dev/null > /dev/null 2>&1 || {
|
||||||
echo
|
echo
|
||||||
@ -45,11 +36,20 @@ fi
|
|||||||
DIE=1
|
DIE=1
|
||||||
}
|
}
|
||||||
|
|
||||||
echo "I am testing that you have the required versions of autoconf, automake"
|
echo "I am testing that you have the required versions of libtool, autoconf,"
|
||||||
echo "and gettext. This test is not foolproof, so if anything goes wrong,"
|
echo "automake and gettext. This test is not foolproof, so if anything goes"
|
||||||
echo "see the file HACKING for more information..."
|
echo "wrong, see the file HACKING for more information..."
|
||||||
echo
|
echo
|
||||||
|
|
||||||
|
echo "Testing libtool... "
|
||||||
|
VER=`libtoolize --version | grep libtool | sed "s/.* \([0-9.]*\)[-a-z0-9]*$/\1/"`
|
||||||
|
if expr $VER \>= 1.3.4 >/dev/null; then
|
||||||
|
echo "looks OK."
|
||||||
|
else
|
||||||
|
echo "too old! (Need 1.3.4, have $VER)"
|
||||||
|
DIE=1
|
||||||
|
fi
|
||||||
|
|
||||||
echo "Testing autoconf... "
|
echo "Testing autoconf... "
|
||||||
VER=`autoconf --version | grep -iw autoconf | sed "s/.* \([0-9.]*\)[-a-z0-9]*$/\1/"`
|
VER=`autoconf --version | grep -iw autoconf | sed "s/.* \([0-9.]*\)[-a-z0-9]*$/\1/"`
|
||||||
if expr $VER \>= 2.13 >/dev/null; then
|
if expr $VER \>= 2.13 >/dev/null; then
|
||||||
|
Reference in New Issue
Block a user