Changeset 159 for lang/php

Show
Ignore:
Timestamp:
09/15/07 04:29:50 (6 years ago)
Author:
mumumu
Message:

- changed zend_module_entry_macro
- set LDFLAGS in config.m4

Location:
lang/php/php_hyperestraier
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • lang/php/php_hyperestraier/config.m4

    r149 r159  
    7676  PHP_CHECK_LIBRARY($LIBNAME, $LIBSYMBOL, 
    7777  [ 
    78      PHP_ADD_LIBRARY_WITH_PATH($LIBNAME, $HYPERESTRAIER_DIR/lib, SENNA_SHARED_LIBADD) 
     78     LDFLAGS=`estconfig --libs` 
    7979     AC_DEFINE(HAVE_HYPERESTRAIERLIB,1,[ ]) 
    8080  ],[ 
     
    8484  ]) 
    8585   
    86   PHP_SUBST(HYPERESTRAIER_SHARED_LIBADD) 
    87  
    8886  PHP_NEW_EXTENSION(hyperestraier, hyperestraier.c, $ext_shared) 
    8987 
  • lang/php/php_hyperestraier/hyperestraier.c

    r149 r159  
    4949    PHP_MINIT(hyperestraier), 
    5050    PHP_MSHUTDOWN(hyperestraier), 
    51     PHP_RINIT(NULL),  
    52     PHP_RSHUTDOWN(NULL), 
     51    NULL,     /*  PHP_RINIT  */ 
     52    NULL,     /*  PHP_RSHUTDOWN  */ 
    5353    PHP_MINFO(hyperestraier), 
    5454#if ZEND_MODULE_API_NO >= 20010901 
    55     "1.0", /* Replace with version number for your extension */ 
     55    "1.0", 
    5656#endif 
    5757    STANDARD_MODULE_PROPERTIES