[SAMBA4][PATCH] configure checks for IRIX

James Peach jpeach at samba.org
Thu Sep 8 05:47:58 GMT 2005


On Thu, 2005-09-08 at 15:10 +1000, James Peach wrote:
> 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 ...

With this diff I can now get "make proto" to succeed ...

-- 
James Peach | jpeach at samba.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: samba4-config-irix.diff
Type: text/x-patch
Size: 5858 bytes
Desc: not available
Url : http://lists.samba.org/archive/samba-technical/attachments/20050908/2a11dcb2/samba4-config-irix.bin


More information about the samba-technical mailing list