]> git.saurik.com Git - cycript.git/commitdiff
MacPorts installs libtoolize as glibtoolize :(.
authorJay Freeman (saurik) <saurik@saurik.com>
Thu, 20 Jun 2013 09:53:30 +0000 (02:53 -0700)
committerJay Freeman (saurik) <saurik@saurik.com>
Thu, 20 Jun 2013 09:53:30 +0000 (02:53 -0700)
autogen.sh

index bc7f3784fcbf555183ca5e2e5ada45f8893d7761..201acfd4906964becaa85ac9629ab4e1bc76f4f9 100755 (executable)
 # along with Cycript.  If not, see <http://www.gnu.org/licenses/>.
 # }}}
 
-libtoolize -cif
+if which glibtoolize >/dev/null; then
+    libtoolize=glibtoolize
+else
+    libtoolize=libtoolize
+fi
+
+"${libtoolize}" -cif
+
 aclocal -I m4
 autoconf
 automake -acf