summaryrefslogtreecommitdiffstats
path: root/win
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2019-11-04 12:03:56 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2019-11-04 12:03:56 (GMT)
commit25091201d6aa1b0dd1db88acd0ec55e67490405d (patch)
tree266ab49651694bd2ba5ba9d9a0c9fdbff2879da9 /win
parentbbbc406887aeb5d5575679cca50c566d7919433f (diff)
downloadtcl-25091201d6aa1b0dd1db88acd0ec55e67490405d.zip
tcl-25091201d6aa1b0dd1db88acd0ec55e67490405d.tar.gz
tcl-25091201d6aa1b0dd1db88acd0ec55e67490405d.tar.bz2
Fix travis build on Windows (tweak to configure script was made on purpose, to workaround a bug in autoconf-2.59)
Diffstat (limited to 'win')
-rwxr-xr-xwin/configure22
1 files changed, 12 insertions, 10 deletions
diff --git a/win/configure b/win/configure
index abefbb3..c6f95f5 100755
--- a/win/configure
+++ b/win/configure
@@ -3018,24 +3018,26 @@ fi
echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
-set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
+set x ${MAKE-make}
+ac_make=`echo "" | sed 'y,:./+-,___p_,'`
if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
cat >conftest.make <<\_ACEOF
+SHELL = /bin/sh
all:
- @echo 'ac_maketemp="$(MAKE)"'
+ @echo '@@@%%%=$(MAKE)=@@@%%%'
_ACEOF
-# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
-eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
-if test -n "$ac_maketemp"; then
- eval ac_cv_prog_make_${ac_make}_set=yes
-else
- eval ac_cv_prog_make_${ac_make}_set=no
-fi
+# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
+case `${MAKE-make} -f conftest.make 2>/dev/null` in
+ *@@@%%%=?*=@@@%%%*)
+ eval ac_cv_prog_make_${ac_make}_set=yes;;
+ *)
+ eval ac_cv_prog_make_${ac_make}_set=no;;
+esac
rm -f conftest.make
fi
-if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
+if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
echo "$as_me:$LINENO: result: yes" >&5
echo "${ECHO_T}yes" >&6
SET_MAKE=