summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGaetan Nadon <memsize@videotron.ca>2010-10-15 20:17:20 -0400
committerGaetan Nadon <memsize@videotron.ca>2010-10-16 20:18:29 -0400
commit62bcb0a627ef6bdb434ec6d16df1316650250634 (patch)
tree766b2813f93e31da1130fd3046478c0e0a660ea6
parenta0b17139dc386c07ed3e3a4758b96936e8ed9c46 (diff)
config: Use the shorthand --disable-all-encodings option in font-util v1.2
This option is useful to disable all possible font encodings at once, without fine-graining the calling ebuilds for a list of encodings supported by each font package. The option is parsed before all other encoding options, so it basically sets defaults for all of them. Afterwards, any encoding can be re-enabled back using '--enable-<encoding>' (much like '--disable-all-encodings --enable-iso8859-2'). Reviewed-by: RĂ©mi Cardona <remi@gentoo.org> Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
-rw-r--r--configure.ac5
1 files changed, 5 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 60b4a62..142e2a6 100644
--- a/configure.ac
+++ b/configure.ac
@@ -36,6 +36,11 @@ XORG_DEFAULT_OPTIONS
AC_PROG_INSTALL
+# Require X.Org's font util macros 1.2 or later
+m4_ifndef([XORG_FONT_MACROS_VERSION],
+ [m4_fatal([must install X.Org font-util 1.2 or later before running autoconf/autogen])])
+XORG_FONT_MACROS_VERSION(1.2)
+
XORG_FONTDIR([100dpi])
XORG_FONT_BDF_UTILS
XORG_FONT_UCS2ANY