bug-autoconf
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[sr #110660] AC_LANG_INT_SAVE (used by AC_CHECK_SIZEOF) includes stdlib.


From: Paul Eggert
Subject: [sr #110660] AC_LANG_INT_SAVE (used by AC_CHECK_SIZEOF) includes stdlib.h without checking whether it actually exists
Date: Tue, 17 May 2022 17:28:38 -0400 (EDT)

Update of sr #110660 (project autoconf):

                Priority:              5 - Normal => 3 - Low                
                Severity:              3 - Normal => 1 - Wish               

    _______________________________________________________

Follow-up Comment #3:

> This fails if stdlib.h doesn't actually exist.
Yes, and that's documented behavior. The Autoconf manual says:

> If your program needs to be portable to a _freestanding_
> environment, such as an embedded OS that doesn't provide all of the
> facilities of the C90 standard library, you may need to test for some of
> the above headers as well.  Note that many Autoconf macros internally
> assume that the complete set of C90 headers are available.
It'd be nice if Autoconf also worked for freestanding programs too. That'd
require a bit of work though. In the meantime I'll mark this as a wishlist
item.


    _______________________________________________________

Reply to this item at:

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

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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]