summaryrefslogtreecommitdiffstats
path: root/autogen.sh
diff options
context:
space:
mode:
authorFredrik Fornwall <fredrik@fornwall.net>2014-03-12 22:15:58 +0100
committerSebastien Helleu <flashcode@flashtux.org>2014-03-12 22:25:59 +0100
commitcdb2a7374d1c0a674ed9795a2dccb0b661b067ca (patch)
tree6937673a4c000760a75cf03fa21e9ed1b22a8349 /autogen.sh
parentcore: assume iconv usability when cross compiling (diff)
downloadweechat-cdb2a7374d1c0a674ed9795a2dccb0b661b067ca.tar.xz
weechat-cdb2a7374d1c0a674ed9795a2dccb0b661b067ca.zip
core: use glibtoolize on mac instead of libtoolize
Diffstat (limited to 'autogen.sh')
-rwxr-xr-xautogen.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/autogen.sh b/autogen.sh
index 3cd0aac97..f4efb8a1a 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -71,7 +71,9 @@ run "mkdir intl"
# execute autotools cmds
run "autopoint -f"
-run "libtoolize --automake --force --copy"
+LIBTOOLIZE=libtoolize
+test `uname` = "Darwin" && LIBTOOLIZE=glibtoolize
+run "$LIBTOOLIZE --automake --force --copy"
run "aclocal --force -I config/m4"
run "autoheader"
run "autoconf"