summaryrefslogtreecommitdiffstats
path: root/unix/configure
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2020-06-25 11:31:05 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2020-06-25 11:31:05 (GMT)
commit2cede8bf26cdf7b2becd4a49755290e3fa4a1e5a (patch)
treec19f667e7134acd502fc328c114101a002e86347 /unix/configure
parenta4d1a762c2132e20f6746d755693c288c336d313 (diff)
parent33781b4f56a17a08c2a610101656daed7b75a346 (diff)
downloadtcl-2cede8bf26cdf7b2becd4a49755290e3fa4a1e5a.zip
tcl-2cede8bf26cdf7b2becd4a49755290e3fa4a1e5a.tar.gz
tcl-2cede8bf26cdf7b2becd4a49755290e3fa4a1e5a.tar.bz2
Merge 8.7
Diffstat (limited to 'unix/configure')
-rwxr-xr-xunix/configure9
1 files changed, 7 insertions, 2 deletions
diff --git a/unix/configure b/unix/configure
index 679f254..464e320 100755
--- a/unix/configure
+++ b/unix/configure
@@ -8894,8 +8894,10 @@ else
else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
+
+#include <stdlib.h>
+#include <string.h>
int main() {
- extern int strstr();
exit(strstr("\0test", "test") ? 1 : 0);
}
_ACEOF
@@ -8953,8 +8955,10 @@ else
else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
+
+#include <stdlib.h>
+#include <string.h>
int main() {
- extern int strtoul();
char *term, *string = "0";
exit(strtoul(string,&term,0) != 0 || term != string+1);
}
@@ -9511,6 +9515,7 @@ else
/* end confdefs.h. */
#include <stdlib.h>
+ #include <string.h>
#define OURVAR "havecopy=yes"
int main (int argc, char *argv[])
{