summaryrefslogtreecommitdiffstats
path: root/win
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2019-09-09 09:13:48 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2019-09-09 09:13:48 (GMT)
commit7964b6f94bd99aeebdb485a79f93373200d2cd69 (patch)
treea33a20955485b8964d5388338932f8391ef40613 /win
parente2d7065fa2708fbde5845c13412cb0abaa4ce867 (diff)
downloadtk-7964b6f94bd99aeebdb485a79f93373200d2cd69.zip
tk-7964b6f94bd99aeebdb485a79f93373200d2cd69.tar.gz
tk-7964b6f94bd99aeebdb485a79f93373200d2cd69.tar.bz2
Fix configure script for use in git-bash (re-generated with a modified autoconf-2.59, in which the AC_PROG_MAKE_SET macro is replaced inspired by autoconf-2.69)
Diffstat (limited to 'win')
-rwxr-xr-xwin/configure22
1 files changed, 12 insertions, 10 deletions
diff --git a/win/configure b/win/configure
index 3d4bf2f..8a76a19 100755
--- a/win/configure
+++ b/win/configure
@@ -3001,24 +3001,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=