if test "$PHP_INGRES" != "no"; then
AC_DEFINE(HAVE_II, 1, [Whether you have Ingres II])
- PHP_NEW_EXTENSION(ingres_ii, ii.c, $ext_shared)
+ PHP_NEW_EXTENSION(ingres, ii.c, $ext_shared)
PHP_SUBST(II_SHARED_LIBADD)
if test "$PHP_INGRES" = "yes"; then
if (CHECK_HEADER_ADD_INCLUDE("iiapi.h", "CFLAGS_INGRES", ii_system + "\\ingres\\files;" + PHP_INGRES) &&
CHECK_LIB("iilibapi.lib", "ingres", ii_system + "\\ingres\\lib;" + PHP_INGRES)) {
AC_DEFINE('HAVE_II', 1);
- EXTENSION("ingres_ii","ii.c");
+ EXTENSION("ingres","ii.c");
} else {
// ingres is missing files
WARNING("Ingres not enabled; libraries and headers not found in " + ii_system);
{NULL, NULL, NULL} /* Must be the last line in ii_functions[] */
};
-zend_module_entry ingres_ii_module_entry = {
+zend_module_entry ingres_module_entry = {
STANDARD_MODULE_HEADER,
- "ingres_ii",
+ "ingres",
ii_functions,
PHP_MINIT(ii),
PHP_MSHUTDOWN(ii),
};
#ifdef COMPILE_DL_INGRES_II
-ZEND_GET_MODULE(ingres_ii)
+ZEND_GET_MODULE(ingres)
#endif
/* php.ini entries
#if HAVE_II
-extern zend_module_entry ingres_ii_module_entry;
-#define phpext_ingres_ii_ptr &ingres_ii_module_entry
+extern zend_module_entry ingres_module_entry;
+#define phpext_ingres_ptr &ingres_module_entry
#ifdef PHP_WIN32
#define PHP_II_API __declspec(dllexport)
#else
-#define phpext_ii_ptr NULL
+#define phpext_ingres_ptr NULL
#endif