Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:15510 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 18904 invoked by uid 1010); 20 Mar 2005 10:02:38 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 18877 invoked from network); 20 Mar 2005 10:02:37 -0000 Received: from unknown (HELO pb1.pair.com) (127.0.0.1) by localhost with SMTP; 20 Mar 2005 10:02:37 -0000 X-Host-Fingerprint: 193.194.87.94 unknown Linux 2.4/2.6 Received: from ([193.194.87.94:1677] helo=mail.enset-oran.dz) by pb1.pair.com (ecelerity HEAD r(5268)) with SMTP id 94/15-43006-D3A4D324 for ; Sun, 20 Mar 2005 05:02:37 -0500 Received: from [192.168.0.11] (unknown [192.168.0.11]) by mail.enset-oran.dz (Postfix) with ESMTP id B73CF20A1FD for ; Sun, 20 Mar 2005 10:58:41 +0100 (CET) Message-ID: <423D4AD3.9080907@yahoo.fr> Date: Sun, 20 Mar 2005 11:05:07 +0100 User-Agent: Mozilla Thunderbird 1.0 (X11/20041206) X-Accept-Language: en-us, en MIME-Version: 1.0 To: internals@lists.php.net Content-Type: multipart/alternative; boundary="------------060307030606000805020702" Subject: about config.m4 From: mostapha31@yahoo.fr (mostapha) --------------060307030606000805020702 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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 / --------------060307030606000805020702--