[SAMBA4][PATCH] configure checks for IRIX
Jelmer Vernooij
jelmer at samba.org
Fri Sep 9 06:19:33 GMT 2005
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
James Peach wrote:
> On Fri, 2005-09-09 at 01:59 +0200, Jelmer Vernooij wrote: [snip]
>
>>> Yeh, after I posted the patch, I noticed how the Makefile sets
>>> CPP in the environment. However, IMHO, if you detect CPP, then
>>> pidl should use it either by requiring config.pm or by using
>>> @CPP at . I don't see how requiring users to remember to run
>>> CPP=blah pidl really helps is to stand alone. The dependency is
>>> still there.
>>
>> Pidl defaults to using 'cpp' if $ENV{CPP} is not set, which works
>> fine in pretty much all cases.
>
>
> The only case where this works is where you have a standalone cpp
> command. Since configure detects that the CPP command should be "cc
> -E" I naturally expected the tools to use it. Some toolchains have
> a cpp which is quite different to "cc -E" or don't provide a
> standalone cpp at all.
GCC provides for such a command. The stand-alone build of pidl is
mostly used for generating ethereal dissectors at the moment, which is
done on Linux - the portability requirements aren't very high here,
nor will regular users have to run pidl. Also, the alternative would
be adding a configure stage to pidl (we currently don't have any), and
I'm very hesitant to do that for just 'cpp'.
Cheers,
Jelmer
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
iD8DBQFDISl0Pa9Uoh7vUnYRAhcNAJ9KdK5Ytozw05M49oYAREiB4mlJ2QCfThJH
akysVzGtzetF1OTPDv3YEvI=
=tHw7
-----END PGP SIGNATURE-----
More information about the samba-technical
mailing list