about config.m4

php.internals

mostapha31

21 years ago
Hi, can you help me. I want to develop a new extension for php, but i have a problem. when i use a single .c file it's OK, but if i add an other file, first, it's not built and i have a link error. that's my situation. * *config.m4* /PHP_ARG_ENABLE(itl , whether to enable itl functions, [ --enable-itl Disable itl support]) if test "$PHP_ITL" != "no"; then PHP_SUBST(ITL_SHARED_LIBADD) AC_DEFINE(HAVE_ITL, 1, [ ]) PHP_NEW_EXTENSION(itl, itl.c itl2.c itl3.c , $ext_shared) fi/ * *and to build, i use :* /./buildconf --force ./configure --enable-itl make /