summaryrefslogtreecommitdiffstats
path: root/unix/configure
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2020-06-24 13:05:47 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2020-06-24 13:05:47 (GMT)
commit034bd13a3cd5781c916ced37c764a6634e458499 (patch)
treeaae8ed14ac5481ebad3c2a315f10c3b3f6c04378 /unix/configure
parentea3e48843d5f42ebaa1c962a705cc4b1ac8a6c80 (diff)
downloadtcl-034bd13a3cd5781c916ced37c764a6634e458499.zip
tcl-034bd13a3cd5781c916ced37c764a6634e458499.tar.gz
tcl-034bd13a3cd5781c916ced37c764a6634e458499.tar.bz2
Fix [9080d6a871]: Build fix for tcl on macOS on Apple Silicon
Diffstat (limited to 'unix/configure')
-rwxr-xr-xunix/configure3
1 files changed, 3 insertions, 0 deletions
diff --git a/unix/configure b/unix/configure
index b02525b..a900a70 100755
--- a/unix/configure
+++ b/unix/configure
@@ -15050,6 +15050,7 @@ cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h. */
int main() {
+ #include <stdlib.h>
extern double strtod();
char *term, *string = " +69";
exit(strtod(string,&term) != 69 || term != string+4);
@@ -15220,6 +15221,7 @@ cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h. */
+ #include <stdlib.h>
extern double strtod();
int main() {
char *infString="Inf", *nanString="NaN", *spaceString=" ";
@@ -16607,6 +16609,7 @@ cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h. */
#include <stdlib.h>
+ #include <string.h>
#define OURVAR "havecopy=yes"
int main (int argc, char *argv[])
{