X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=autogen.sh;h=5e9822c2ce9e9458c3425f9d73f6317f571dff9c;hb=74ab8b52ffb455151c92e61ac9600a8cd4500b07;hp=6a7c6317b2b2e0d373fafe9ba4466f51c4efec7f;hpb=ffa6fea00a9189c709659addef83e5bf7b1ec216;p=inkscape.git diff --git a/autogen.sh b/autogen.sh index 6a7c6317b..5e9822c2c 100755 --- a/autogen.sh +++ b/autogen.sh @@ -86,7 +86,10 @@ fi echo -n "checking for automake >= $AUTOMAKE_REQUIRED_VERSION ... " # Prefer earlier versions just so that the earliest supported version gets test coverage by developers. -if (automake-1.10 --version) < /dev/null > /dev/null 2>&1; then +if (automake-1.11 --version) < /dev/null > /dev/null 2>&1; then + AUTOMAKE=automake-1.11 + ACLOCAL=aclocal-1.11 +elif (automake-1.10 --version) < /dev/null > /dev/null 2>&1; then AUTOMAKE=automake-1.10 ACLOCAL=aclocal-1.10 elif (automake --version) < /dev/null > /dev/null 2>&1; then @@ -152,7 +155,7 @@ test $TEST_TYPE $FILE || { if test -z "$ACLOCAL_FLAGS"; then acdir=`$ACLOCAL --print-ac-dir` - m4list="glib-2.0.m4 glib-gettext.m4 gtk-2.0.m4 intltool.m4 pkg.m4" + m4list="glib-2.0.m4 glib-gettext.m4 gtk-2.0.m4 intltool.m4 pkg.m4 libtool.m4" for file in $m4list do @@ -179,6 +182,10 @@ attempt_command 'underquoted definition of|[\)\#]Extending' \ attempt_command '' autoheader } +# use glibtoolize if it is available (darwin) +(glibtoolize --version) < /dev/null > /dev/null 2>&1 && LIBTOOLIZE=glibtoolize || LIBTOOLIZE=libtoolize + +attempt_command '' $LIBTOOLIZE attempt_command '' $AUTOMAKE --copy --force --add-missing attempt_command '' autoconf attempt_command '^(Please add the files| codeset| progtest|from the|or directly|You will also|ftp://ftp.gnu.org|$)' \