aboutsummaryrefslogtreecommitdiff
path: root/xorg-server/fonts.src/TTF/configure.ac
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2009-10-11 19:27:48 +0000
committermarha <marha@users.sourceforge.net>2009-10-11 19:27:48 +0000
commitd36223b06a859c5979253d0176adfaeadc10cb32 (patch)
treede85a6072aae048506ebab0dba2e7c4588132412 /xorg-server/fonts.src/TTF/configure.ac
parent6b4cfac5a67f87884a525ce2c99f30e0060b3ca7 (diff)
parente4bc1b2bff00254f5782928d5b7b15b4db2e774c (diff)
downloadvcxsrv-d36223b06a859c5979253d0176adfaeadc10cb32.tar.gz
vcxsrv-d36223b06a859c5979253d0176adfaeadc10cb32.tar.bz2
vcxsrv-d36223b06a859c5979253d0176adfaeadc10cb32.zip
svn merge ^/branches/released .
Diffstat (limited to 'xorg-server/fonts.src/TTF/configure.ac')
-rw-r--r--xorg-server/fonts.src/TTF/configure.ac27
1 files changed, 13 insertions, 14 deletions
diff --git a/xorg-server/fonts.src/TTF/configure.ac b/xorg-server/fonts.src/TTF/configure.ac
index 7d791f3e4..0d8528744 100644
--- a/xorg-server/fonts.src/TTF/configure.ac
+++ b/xorg-server/fonts.src/TTF/configure.ac
@@ -22,25 +22,24 @@ dnl
dnl Process this file with autoconf to create configure.
AC_PREREQ([2.57])
-AC_INIT(font-bh-ttf, [1.0.0], [https://bugs.freedesktop.org/enter_bug.cgi?product=xorg], font-bh-ttf)
+AC_INIT(font-bh-ttf, [1.0.1], [https://bugs.freedesktop.org/enter_bug.cgi?product=xorg], font-bh-ttf)
AM_INIT_AUTOMAKE([foreign dist-bzip2])
AM_MAINTAINER_MODE
-AC_PROG_INSTALL
-
-AC_PATH_PROG(MKFONTSCALE, mkfontscale)
-AC_PATH_PROG(MKFONTDIR, mkfontdir)
-AC_PATH_PROG(FCCACHE, fc-cache)
+# Require xorg-macros: XORG_DEFAULT_OPTIONS
+m4_ifndef([XORG_MACROS_VERSION],
+ [m4_fatal([must install xorg-macros 1.3 or later before running autoconf/autogen])])
+XORG_MACROS_VERSION(1.3)
+XORG_DEFAULT_OPTIONS
-m4_ifdef([AS_HELP_STRING], , [m4_define([AS_HELP_STRING], m4_defn([AC_HELP_STRING]))])
+AC_PROG_INSTALL
-DEFAULT_FONTDIR=${libdir}/X11/fonts/TTF
-AC_ARG_WITH(fontdir,
- AS_HELP_STRING([--with-fontdir=FONTDIR], [Path to install fonts]),
- [FONTDIR="$withval"],
- [FONTDIR="$DEFAULT_FONTDIR"])
-AC_SUBST(FONTDIR)
+# Require X.Org's font util macros 1.1 or later
+m4_ifndef([XORG_FONT_MACROS_VERSION],
+ [m4_fatal([must install X.Org font-util 1.1 or later before running autoconf/autogen])])
+XORG_FONT_MACROS_VERSION(1.1)
-XORG_RELEASE_VERSION
+XORG_FONTDIR([TTF])
+XORG_FONT_SCALED_UTILS
AC_OUTPUT([Makefile])