Follow-up Comment #4, sr #110451 (project autoconf):

> AC_PROG_CC(_C99) intentionally doesn't use -xc99 with Sun's compilers. ...
see the thread starting at:
https://lists.gnu.org/archive/html/autoconf/2010-12/msg00059.html

Indeed, this option, together with the per-program flags __xpg4 and __xpg6
makes it impossible to build reliably working libraries. So, I withdraw this
suggestion.

> The test for C99 compliance was made pickier in Autoconf 2.70, and
-D_STDC_C99, which it does use, is no longer enough for Sun's compiler to pass
the test.

I have now documented the use of -D_STDC_C99 in
https://gitlab.com/ghwiki/gnow-how/-/wikis/Platforms/Configuration;
nevertheless it was good that Autoconf 2.69 added -D_STDC_C99 automatically.
Support for part of C99 is better than support for none of C99. Therefore a
less picky test is better than a pickier one.

    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/support/?110451>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/


Reply via email to