[SAMBA4][PATCH] configure checks for IRIX
jpeach at samba.org
Thu Sep 8 05:10:32 GMT 2005
On Thu, 2005-09-08 at 14:58 +1000, Tim Potter wrote:
> On Thu, 2005-09-08 at 14:37 +1000, James Peach wrote:
> > Hi all,
> > The attached patch gets IRIX past the configure stage of samba4. The
> > main changes are to work out whether the C compiler needs the -c99
> > option to put it into C99 mode, and to use the configure-detected
> > preprocessor in yapp.
> > If there are no problems, I'll check this is in a couple of days.
> Looks good. Why the need to check for whether the -c99 option is
> required? Is it for old versions of vendor cc on IRIX?
MIPSPro 7.4 supports C99, but you have to use either /usr/bin/c99
or /usr/bin/cc -c99. The latter seemed easier to check for.
Are you ok with checking config.pm for CPP in yapp? I just now noticed
in the Makefile where it passes CPP in the environment ...
James Peach | jpeach at samba.org
More information about the samba-technical