[sr #110660] AC_LANG_INT_SAVE (used by AC_CHECK_SIZEOF) includes stdlib.h without checking whether it actually exists

Zack Weinberg <[email protected]>
Newsgroups gmane.comp.sysutils.autoconf.bugs
Message-ID <[email protected]>
Follow-up Comment #1, sr #110660 (project autoconf):

You've been filing all of these bugs -- exactly which version of Autoconf are
you using to generate the configure scripts that show these bugs?  Some of the
things you have said (e.g. talking about configure.in instead of configure.ac)
suggest that you are using a *very old* version of Autoconf.

The code generated for AC_CHECK_SIZEOF, in current versions of autoconf, is
completely different from the code you quoted, and does not make any use of
either stdio.h or stdlib.h, so the bug seems moot to me.

(N.B. Current versions of autoconf do not support pre-C89 compilers.  However,
the bug report is abstractly valid anyway, because a "freestanding" C89
compiler doesn't have to provide stdio.h and stdlib.h.)


    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.