buildsys  Check-in [349e5fb9d2]

Overview
Comment:Don't use tput on MorphOS

The colored output is quite unreadable and in some MorphOS versions, the
output from tput is not 8-bit safe, with awk (for AC_SUBST) failing as a
result.

Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 349e5fb9d2ed4181d6db16fb995e496d4a1730add9c8e2984a0a9b53b0d5cbff
User & Date: js on 2020-11-21 22:28:53
Other Links: manifest | tags
Context
2020-12-22
23:03
Style change: Don't indent cases check-in: 8bd9a9831b user: js tags: trunk
2020-11-21
22:28
Don't use tput on MorphOS check-in: 349e5fb9d2 user: js tags: trunk
2020-10-02
23:32
Add AC_SUBST for FRAMEWORK_LIBS check-in: 558c812e4b user: js tags: trunk
Changes

Modified build-aux/m4/buildsys.m4 from [3ccfd8c6b5] to [647753f85b].

45
46
47
48
49
50
51









52



53
54
55
56
57
58
59
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60

61
62
63
64
65
66
67
68
69
70







+
+
+
+
+
+
+
+
+
-
+
+
+







			[AC_SUBST(DEP_OBJCFLAGS, '-MD -MF $${out%.o}.dep')])
		AS_IF([test x"$GOBJCXX" = x"yes"],
			[AC_SUBST(DEP_OBJCXXFLAGS, '-MD -MF $${out%.o}.dep')])

		AC_SUBST(AMIGA_LIB_CFLAGS)
		AC_SUBST(AMIGA_LIB_LDFLAGS)

		case "$build_os" in
			morphos*)
				dnl Don't use tput on MorphOS: The colored
				dnl output is quite unreadable and in some
				dnl MorphOS versions, the output from tput is
				dnl not 8-bit safe, with awk (for AC_SUBST)
				dnl failing as a result.
				;;
			*)
		AC_PATH_PROG(TPUT, tput)
				AC_PATH_PROG(TPUT, tput)
				;;
		esac

		AS_IF([test x"$TPUT" != x""], [
			if x=$($TPUT el 2>/dev/null); then
				AC_SUBST(TERM_EL, "$x")
			else
				AC_SUBST(TERM_EL, "$($TPUT ce 2>/dev/null)")
			fi