X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=autogen.sh;h=5e9822c2ce9e9458c3425f9d73f6317f571dff9c;hb=c7cf14ac71346f76ae219ce67fb88c1bd34832e2;hp=eedf7f23caf71f23ff3cb2deff84863a8b0e051c;hpb=7b25ab2134ccd1bdea33782cddbc70ba87570ca4;p=inkscape.git diff --git a/autogen.sh b/autogen.sh index eedf7f23c..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 @@ -179,7 +182,10 @@ attempt_command 'underquoted definition of|[\)\#]Extending' \ attempt_command '' autoheader } -attempt_command '' libtoolize +# 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|$)' \