were unconditionally compiled. It is not necessary in PHP 4.
dnl If you will not be testing anything external, like existence of
dnl headers, libraries or functions in them, just uncomment the
dnl following line and you are ready to go.
- dnl AC_DEFINE(HAVE_$EXTNAME, 1, [ ])
dnl Write more examples of tests here...
PHP_EXTENSION($extname, \$ext_shared)
fi
#ifndef PHP_EXTNAME_H
#define PHP_EXTNAME_H
-/* You should tweak config.m4 so this symbol (or some else suitable)
- gets defined.
-*/
-#if HAVE_EXTNAME
-
extern zend_module_entry extname_module_entry;
#define phpext_extname_ptr &extname_module_entry
#define EXTNAMELS_FETCH()
#endif
-#else
-
-#define phpext_extname_ptr NULL
-
-#endif
-
#endif /* PHP_EXTNAME_H */
/* __footer_here__ */
#include "php_ini.h"
#include "php_extname.h"
-/* You should tweak config.m4 so this symbol (or some else suitable)
- gets defined.
-*/
-#if HAVE_EXTNAME
-
/* If you declare any globals in php_extname.h uncomment this:
ZEND_DECLARE_MODULE_GLOBALS(extname)
*/
/* __function_stubs_here__ */
-#endif /* HAVE_EXTNAME */
-
/* __footer_here__ */