dnl Make sure that the comment is aligned:
[? --with-php_hello???????????? Include php_hello support])
或
PHP_ARG_WITH(php_hello, for php_hello support,
dnl Make sure that the comment is aligned:
[? --with-php_hello???????????? Include php_hello support])
這樣子一個(gè)擴(kuò)充的module的骨架就搞定了,看看config.m4的最後:PHP_NEW_EXTENSION(php_hello, php_hello.c, $ext_shared) 這行指明了php_hello模組需要編譯的目標(biāo)文件,也就是php_hello.c