-AC_PROG_CC # C compiler
-AC_PROG_INSTALL # Install
-LT_INIT # Libtool
-AC_PROG_LIBTOOL # Old way of declaring Libtool
-AM_GLIB_GNU_GETTEXT # Use GLib gettext instead of standard
-IT_PROG_INTLTOOL([0.35.0]) # Intltool
-PKG_PROG_PKG_CONFIG # pkg_config
-GTK_DOC_CHECK(1.9) # Gtk-Doc
+AC_PROG_INSTALL # Install
+m4_defun([_LT_AC_LANG_CXX_CONFIG], [:]) # Disable unnecessary Libtool checks
+m4_defun([_LT_AC_LANG_F77_CONFIG], [:]) # to save time (1.5 only)
+LT_INIT # Libtool 2.2.6 and up
+#LT_INIT([dlopen]) # Should call it this way, but
+#LT_PREREQ([2.2.6]) # ...goddamn Debian still has 1.5
+AC_PROG_LIBTOOL # Old way of declaring Libtool
+AM_GNU_GETTEXT([external]) # Gettext, link to system libintl
+IT_PROG_INTLTOOL([0.35.0]) # Intltool
+PKG_PROG_PKG_CONFIG # pkg_config
+GTK_DOC_CHECK(1.9) # Gtk-Doc
+# Other utilities used in this package's various make scripts
+AC_PROG_AWK
+AC_PATH_PROG([PERL], [perl]) # Perl
+
+### TYPES #####################################################################
+
+AC_TYPE_UINT8_T
+AC_TYPE_UINT16_T
+AC_TYPE_INT32_T
+AC_TYPE_UINT32_T