From: Jay Freeman (saurik) Date: Thu, 20 Jun 2013 09:53:30 +0000 (-0700) Subject: MacPorts installs libtoolize as glibtoolize :(. X-Git-Tag: v0.9.500%b1~83 X-Git-Url: https://git.saurik.com/cycript.git/commitdiff_plain/c775f2be71ff5f31a091d6ca47c09653d55e5a4d?ds=sidebyside MacPorts installs libtoolize as glibtoolize :(. --- diff --git a/autogen.sh b/autogen.sh index bc7f378..201acfd 100755 --- a/autogen.sh +++ b/autogen.sh @@ -19,7 +19,14 @@ # along with Cycript. If not, see . # }}} -libtoolize -cif +if which glibtoolize >/dev/null; then + libtoolize=glibtoolize +else + libtoolize=libtoolize +fi + +"${libtoolize}" -cif + aclocal -I m4 autoconf automake -acf