summaryrefslogtreecommitdiffstats
path: root/unix/tcl.m4
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2020-06-25 07:38:27 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2020-06-25 07:38:27 (GMT)
commit53a1c724ce9fb550d72eb58cf3599411674da0c2 (patch)
tree449d8c1cc6194a4789aba2a199397abd7f1a4696 /unix/tcl.m4
parent3f90f816f86882d82b3bda1af1d503759acf5039 (diff)
parent56d2c7e23c1acd887d31a182324a9861cb6e68dd (diff)
downloadtcl-53a1c724ce9fb550d72eb58cf3599411674da0c2.zip
tcl-53a1c724ce9fb550d72eb58cf3599411674da0c2.tar.gz
tcl-53a1c724ce9fb550d72eb58cf3599411674da0c2.tar.bz2
Merge 8.5
Diffstat (limited to 'unix/tcl.m4')
-rw-r--r--unix/tcl.m45
1 files changed, 4 insertions, 1 deletions
diff --git a/unix/tcl.m4 b/unix/tcl.m4
index 24e00cd..25a01ac 100644
--- a/unix/tcl.m4
+++ b/unix/tcl.m4
@@ -2628,7 +2628,10 @@ AC_DEFUN([SC_TCL_CHECK_BROKEN_FUNC],[
AC_CHECK_FUNC($1, tcl_ok=1, tcl_ok=0)
if test ["$tcl_ok"] = 1; then
AC_CACHE_CHECK([proper ]$1[ implementation], [tcl_cv_]$1[_unbroken],
- AC_TRY_RUN([[int main() {]$2[}]],[tcl_cv_]$1[_unbroken]=ok,
+ AC_TRY_RUN([[
+#include <stdlib.h>
+#include <string.h>
+int main() {]$2[}]],[tcl_cv_]$1[_unbroken]=ok,
[tcl_cv_]$1[_unbroken]=broken,[tcl_cv_]$1[_unbroken]=unknown))
if test ["$tcl_cv_]$1[_unbroken"] = "ok"; then
tcl_ok=1