diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2020-07-07 07:33:58 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2020-07-07 07:33:58 (GMT) |
commit | 440fe6af37c443d9c2b75ca66918902990264da7 (patch) | |
tree | ed486705bb57a2af7220c66391edd2663248ff8b /win | |
parent | 1de12dd9744f1a1a82ef3b22e36d2c2b57a1c4a1 (diff) | |
download | tk-440fe6af37c443d9c2b75ca66918902990264da7.zip tk-440fe6af37c443d9c2b75ca66918902990264da7.tar.gz tk-440fe6af37c443d9c2b75ca66918902990264da7.tar.bz2 |
Autoconf, using slightly modified autoconf-2.59. This fixes two bugs (backported from autoconf-2.69): One (for UNIX) using "Intrinsic.h" in stead of "Xlib.h", one (for Windows) related to some shell-script quoting (fatal to Window's Travis build).
Diffstat (limited to 'win')
-rwxr-xr-x | win/configure | 22 |
1 files changed, 12 insertions, 10 deletions
diff --git a/win/configure b/win/configure index 7bdaa16..7172a5a 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= |