# about config.m4

- Thread: https://externals.io/message/15510
- Original archive: https://news-web.php.net/php.internals/15510
- Started by mostapha on 2005-03-20T10:05:07+00:00
- Messages: 1
- Reply by email to internals@lists.php.net
- More for agents: search with https://externals.io/search.md?q={query} · JSON API at https://externals.io/api · documentation at https://externals.io/llms.txt

---

## #15510 — mostapha — 2005-03-20T10:05:07+00:00

URL: https://externals.io/message/15510#15510

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
    /
