Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 339852
Collapse All | Expand All

(-)a/fontutil.m4.in (-3 / +12 lines)
Lines 114-120 AC_DEFUN([XORG_FONT_CHECK_ENCODING],[ Link Here
114
	AC_ARG_ENABLE(m4_tolower($1),
114
	AC_ARG_ENABLE(m4_tolower($1),
115
		AS_HELP_STRING(m4_join([-], [--disable], m4_tolower($1)),
115
		AS_HELP_STRING(m4_join([-], [--disable], m4_tolower($1)),
116
				[Build $1 fonts (default: yes)]),
116
				[Build $1 fonts (default: yes)]),
117
		[AS_TR_SH($1)=$enableval], [AS_TR_SH($1)=yes])
117
		[AS_TR_SH($1)=$enableval])
118
	AC_MSG_CHECKING([whether to build $1 fonts])
118
	AC_MSG_CHECKING([whether to build $1 fonts])
119
	AC_MSG_RESULT($[AS_TR_SH($1)])
119
	AC_MSG_RESULT($[AS_TR_SH($1)])
120
	AM_CONDITIONAL(AS_TR_SH($1), [test "x$AS_TR_SH($1)" = xyes])
120
	AM_CONDITIONAL(AS_TR_SH($1), [test "x$AS_TR_SH($1)" = xyes])
Lines 123-131 AC_DEFUN([XORG_FONT_CHECK_ENCODING],[ Link Here
123
# XORG_FONT_CHECK_ENCODING_LIST(encoding1 encoding2....)
123
# XORG_FONT_CHECK_ENCODING_LIST(encoding1 encoding2....)
124
# -----------------------------------------------------
124
# -----------------------------------------------------
125
# Minimum version: 1.1.0
125
# Minimum version: 1.1.0
126
# Call XORG_FONT_CHECK_ENCODING for multiple encodings at once
126
# Call XORG_FONT_CHECK_ENCODING for multiple encodings at once.
127
# Add a shorthand --enable/disable-all-encodings option.
127
128
128
AC_DEFUN([XORG_FONT_CHECK_ENCODING_LIST],[
129
AC_DEFUN([XORG_FONT_CHECK_ENCODING_LIST],[
130
	AC_ARG_ENABLE([all-encodings],
131
		AS_HELP_STRING([--disable-all-encodings],
132
				[Disable building of all font encodings]),
133
		[m4_foreach_w([enc], [$1], [
134
			AS_TR_SH(enc)=$enableval
135
		])],
136
		[m4_foreach_w([enc], [$1], [
137
			AS_TR_SH(enc)=yes
138
		])])
129
	m4_foreach_w([enc], [$1], [XORG_FONT_CHECK_ENCODING(enc)])
139
	m4_foreach_w([enc], [$1], [XORG_FONT_CHECK_ENCODING(enc)])
130
]) # XORG_FONT_CHECK_ENCODING_LIST
140
]) # XORG_FONT_CHECK_ENCODING_LIST
131
141
132
- 

Return to bug 339852