<i>Don't assume that host=*mingw32* means cross-compiling</i> status still Open with 3 other changes
by
.
D 2025-10-28T12:32:09.766
J icomment What\sabout\susing\stclsh\sif\sit\sis\savailable\sand\sthe\sgenerated\stclsh\sif\sit\sis\snot?\r\n\r\nAC_CHECK_PROG(TCL_EXE,\stclsh,\stclsh,\s"TCL_LIBRARY=\\"\\${LIBRARY_DIR}\\";\sexport\sTCL_LIBRARY;\s./\\${TCLSH}")\r\n\r\n...\sor\salways\suse\sthe\sgenerated\stclsh\swhen\swe\sknow\sthat\swe\scan\sexecute\sit\s(i.e.\swe\sare\srunning\son\sWindows):\r\n\r\nAC_CANONICAL_HOST\r\n\r\ncase\s"${host_os}"\sin\r\n\s\s\s\scygwin*|mingw*)\r\n\s\s\s\s\s\s\s\sTCL_EXE="TCL_LIBRARY=\\"\\${LIBRARY_DIR}\\";\sexport\sTCL_LIBRARY;\s./\\${TCLSH}"\r\n\s\s\s\s\s\s\s\s;;\r\n\s\s\s\s*)\r\n\s\s\s\s\s\s\s\sTCL_EXE="tclsh"\r\n\s\s\s\s\s\s\s\s;;\r\nesac\r\n\r\nYou\scan\sargue\sthat\sthe\sbuild\swill\sfail\sif\sit\sis\sa\strue\scross-compilation\sand\stclsh\sis\sabsent,\sbut\sthat\sproblem\salready\sexists\swith\sthe\scurrent\simplementation.\r\n\r\nFor\simproving\sthat,\sthe\sconfigure\sscript\scould\sput\sa\scheck\sfor\sthe\sexistence\sof\stclsh\son\sthe\s*)\scase\sabove\sand\sthrow\san\serror\swhen\sabsent.\r\n\r\n\r\n(As\sI\salready\smentioned,\sI\sdon't\sreally\sknow\sabout\sautotools,\sthe\sabove\sis\sthe\sresult\sof\sa\squick\sweb\ssearch.)
J login anonymous
J mimetype text/plain
K 2ef3430fdc612eb42a7a0aae7b3babed08d92c17
U anonymous
Z 919bfc6e28f3337020fceb9495651e76