[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[sr #110451] autoconf 2.71 generated configure file does not enable C co
From: |
Bruno Haible |
Subject: |
[sr #110451] autoconf 2.71 generated configure file does not enable C compiler flag for C99 on Solaris 10 |
Date: |
Sun, 28 Feb 2021 15:33:39 -0500 (EST) |
User-agent: |
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:86.0) Gecko/20100101 Firefox/86.0 |
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/