diff options
author | Fredrik Fornwall <fredrik@fornwall.net> | 2014-03-12 22:15:58 +0100 |
---|---|---|
committer | Sebastien Helleu <flashcode@flashtux.org> | 2014-03-12 22:25:59 +0100 |
commit | cdb2a7374d1c0a674ed9795a2dccb0b661b067ca (patch) | |
tree | 6937673a4c000760a75cf03fa21e9ed1b22a8349 /autogen.sh | |
parent | core: assume iconv usability when cross compiling (diff) | |
download | weechat-cdb2a7374d1c0a674ed9795a2dccb0b661b067ca.tar.xz weechat-cdb2a7374d1c0a674ed9795a2dccb0b661b067ca.zip |
core: use glibtoolize on mac instead of libtoolize
Diffstat (limited to 'autogen.sh')
-rwxr-xr-x | autogen.sh | 4 |
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" |