summaryrefslogtreecommitdiff
path: root/bootstrap.conf
diff options
context:
space:
mode:
authorPaul Smith <psmith@gnu.org>2022-06-26 16:33:30 -0400
committerPaul Smith <psmith@gnu.org>2022-07-09 10:46:47 -0400
commit0cbee1b475710a247c20d772699f10cf9d2badc9 (patch)
treee0fe4e5c703b14291d1cb95f1327f4a424ebd7bf /bootstrap.conf
parentd63925d8637db8acd4f2e62f8cbc9f70a07501d8 (diff)
downloadmake-git-0cbee1b475710a247c20d772699f10cf9d2badc9.tar.gz
bootstrap: Remove strtoll()
This pulls in entirely too much stuff we don't need. Instead grab just the gnulib source file, then include it in src/misc.c. * bootstrap.conf: Add just the lib/strtol.c source file. * configure.ac: Check for strtoll. * src/misc.c: Include strtol.c, with QUAD set, if needed.
Diffstat (limited to 'bootstrap.conf')
-rw-r--r--bootstrap.conf6
1 files changed, 5 insertions, 1 deletions
diff --git a/bootstrap.conf b/bootstrap.conf
index f55ad6a6..2543748b 100644
--- a/bootstrap.conf
+++ b/bootstrap.conf
@@ -46,6 +46,11 @@ automake 1.16.1
gnulib_name=libgnu
gnulib_files=doc/make-stds.texi
+# Using the full strtoll module pulls in a lot of stuff. But, it's pretty
+# simple to use just the base source file, so pull that. We'll use it in
+# src/misc.c if strtoll() is not found.
+gnulib_files="$gnulib_files lib/strtol.c"
+
gnulib_modules="\
alloca
fdl
@@ -53,5 +58,4 @@ findprog-in
getloadavg
host-cpu-c-abi
strerror
-strtoll
make-glob"