Dermot McCluskey wrote: > > I'd also prefer those new options to be in Makefile.master as > > well - perhaps as new individual variables, so they can be > > easily adjusted if they change on compiler updates without having > > to update every Makefile in the gate. There could also be a > > variable that combines them all if you like, though I can't > > think of any other name right now than > > ROLANDS_KSH_OPTIONS :) > > xc99 was already in Makefile.master. I've added the other options as: > # XPG6 > XPG6MODE= -D_XOPEN_SOURCE=600 > XPG6MODE_EXT= $(XPG6MODE) -D__EXTENSIONS__=1
Erm, I suggest to keep "-D_XOPEN_SOURCE=600 -D__EXTENSIONS__=1" together and drop the "standalone" |XPG6MODE| (it may even be usefull to add "-xc99=%all" at the front of this line since you can't use _XOPEN_SOURCE >= 600 without enabling C99 mode first). The problem is that only enabling XPG6 >mode disables the extensions (e.g it enables _strict_ XPG6 conformance >without any extensions) and applications won't get the prototypes for >non-standard functions... and that may cause the "autoconf" probes go mad... > If you don't like the names I've chosen, please suggest better ones. > > New webrev: http://cr.opensolaris.org/~dermot/tcltk64-05/ I'll take a look at that later today (~~8-10 hours (and answer the remainng emails in this thead then...)) ... ---- Bye, Roland -- __ . . __ (o.\ \/ /.o) roland.mainz at nrubsig.org \__\/\/__/ MPEG specialist, C&&JAVA&&Sun&&Unix programmer /O /==\ O\ TEL +49 641 7950090 (;O/ \/ \O;)
