]> git.saurik.com Git - cycript.git/blobdiff - autogen.sh
Don't crash if ivar_getTypeEncoding returns NULL.
[cycript.git] / autogen.sh
index bc7f3784fcbf555183ca5e2e5ada45f8893d7761..d82b6af773afba96b30445bdb4481f1be3d3d051 100755 (executable)
 # along with Cycript.  If not, see <http://www.gnu.org/licenses/>.
 # }}}
 
 # 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
 aclocal -I m4
 autoconf
+autoheader
 automake -acf
 automake -acf