Module Name: src Committed By: martin Date: Sun Apr 25 18:29:56 UTC 2021
Modified Files: src/external/gpl2/texinfo/dist [netbsd-9]: configure Log Message: Pull up following revision(s) (requested by cjep in ticket #1253): external/gpl2/texinfo/dist/configure: revision 1.3 Hack to get the "has ANSI C headers" check to pass on newer versions of clang as bundled with Xcode. If someone really cares about ensuring NetBSD's host tools build on a system without <stdlib.h>, then I'm sure that enterprising individual will also find a super #correct fix for this specific problem. To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.2.18.1 src/external/gpl2/texinfo/dist/configure Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/external/gpl2/texinfo/dist/configure diff -u src/external/gpl2/texinfo/dist/configure:1.2 src/external/gpl2/texinfo/dist/configure:1.2.18.1 --- src/external/gpl2/texinfo/dist/configure:1.2 Thu Jan 14 00:34:52 2016 +++ src/external/gpl2/texinfo/dist/configure Sun Apr 25 18:29:56 2021 @@ -3657,6 +3657,7 @@ cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include <ctype.h> +#include <stdlib.h> #if ((' ' & 0x0FF) == 0x020) # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))