--- a/configure.ac
+++ b/configure.ac
@@ -453,6 +453,11 @@
 AM_CONDITIONAL(HAVE_GETOPT_LONG, test x"$ac_getopt_long" = "xyes")
 
 dnl ---------------------------------------------
+dnl That nice stable libmozjs API... :-(
+dnl ---------------------------------------------
+GXINE_JS_CHECK_TYPES
+
+dnl ---------------------------------------------
 dnl Miscellaneous build flags
 dnl ---------------------------------------------