[SAMBA4][PATCH] configure checks for IRIX

James Peach jpeach at samba.org
Fri Sep 9 00:54:17 GMT 2005

On Fri, 2005-09-09 at 01:59 +0200, Jelmer Vernooij wrote:
> > 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

James Peach | jpeach at samba.org

More information about the samba-technical mailing list