summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJon A. Cruz <jon@joncruz.org>2010-09-27 07:26:55 +0000
committerJon A. Cruz <jon@joncruz.org>2010-09-27 07:26:55 +0000
commite1f0490d1da4b31eaf6b08152f41999abb4c6bf4 (patch)
tree88475e5afa3ae81b008fbb0f8a0a803206abd8b8
parentFix markup compile issue. (diff)
downloadinkscape-e1f0490d1da4b31eaf6b08152f41999abb4c6bf4.tar.gz
inkscape-e1f0490d1da4b31eaf6b08152f41999abb4c6bf4.zip
Fix libtoolize hardcoding for OS X.
(bzr r9797)
-rwxr-xr-xautogen.sh5
1 files changed, 4 insertions, 1 deletions
diff --git a/autogen.sh b/autogen.sh
index 243148239..5e9822c2c 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -182,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|$)' \