Re: buildconf for 4.1.2 breaks Solaris 8
| From: | J Smith | Date: | Thu, 14 Mar 2002 15:21:51 +0000 |
| Subject: | Re: buildconf for 4.1.2 breaks Solaris 8 | ||
| References: | 1 2 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-81228@lists.php.net to get a copy of this message | ||
The extension which caused the breakage was a custom extension, but it was
built initially with ext_skel. I think either I did something screwy when I
fixed up the config.m4 file (I've noticed that the file does indeed use
'$something == "yes"', rather than the current method, which is '$something
!= "no"') or the PHP version I original wrote the extension did '==
"yes"'
rather than '!= "no"' on it's own in ext_skel. I forget which version of
PHP I originally used, but it was a while ago, something like 4.0.3 or
before.
Either way, the problem seems to be fine now.
J
derick@php.net wrote:
> On Wed, 13 Mar 2002, J Smith wrote:
>
>>
>> That seemed to do the trick. configure was rebuilt fine, although there
>> was a slight problem with new extensions built using ext_skel.
>> (Specifically, a few tests added to configure used a line like
>>
>> if test $something == "yes" ; then
>>
>> Which causes errors like "unexpected token ==" or something, which was
>> easily fixed by changing "==" to "=" in the configure script.
>
> if test "$something" == "yes" ; then
>
> is the preferred way. Can you point me where it goes wrong (which
> extension), so that it canbe fixed?
>
>>
>> But other than that, everything seems fine now. The remaining "=="
>> problem will probably be fixed in 4.2.x with the new build system.
>
> 4.2.x will not have the new buildsystem.
>
> Derick
>