Re: Need help with config.m4 percularities

From: Date: Tue, 06 Jun 2000 19:05:13 +0000
Subject: Re: Need help with config.m4 percularities
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-20369@lists.php.net to get a copy of this message
On Tue, 6 Jun 2000, Kevin Shallow wrote: > I have written a php extension that encapuslates some > functionality of an old legacy system we use here in > the office. Unfortuantly I am having a bit of trouble > getting the PHP-4.0.0 configuration process to accept > it. I am operating under the assumption that > extensions are added into PHP4 as follows: > 1) run the ext_skel script with the extension name > 2) modify the ext/[extension]/config.m4 script to do > what it needs to do. > 3) run the buildconf script > 4) hack away at the new module > 5) configure > 6) compile > The only problem is that when I run the configure > script, it fails to link against the library I > explicity add in the config.m4 script and produces the > following debug.log file: > I don't see why this is an issue since I tell the > configure script where to find the library in my > config.m4 script. The config.m4 scripts are actually used to *build* the configure script. I'm not sure, but I don't think buildconf will rebuild configure. To do this, you need to run 'aclocal && autoconf', and then run the configure script again. HTH, Steve Langasek postmodern programmer

« previous php.dev (#20369) next »