summaryrefslogtreecommitdiff
path: root/font/bh-75dpi/configure.ac
diff options
context:
space:
mode:
authorMatthieu Herrb <matthieu@cvs.openbsd.org>2010-07-25 12:05:00 +0000
committerMatthieu Herrb <matthieu@cvs.openbsd.org>2010-07-25 12:05:00 +0000
commita7e1cee73d0a4b4acac5e86b31d669169e40f02f (patch)
tree130fdcff6227e43c06c4f4d595a865edf9bf0500 /font/bh-75dpi/configure.ac
parentef6e8f8358a734c9d6e9398f8d5a99f352125132 (diff)
A batch of font packages updates, only build-system related:
font-adobe-100dpi 1.0.1 font-adobe-75dpi 1.0.1 font-adobe-utopia-100dpi 1.0.2 font-adobe-utopia-75dpi 1.0.2 font-adobe-utopia-type1 1.0.2 font-arabic-misc 1.0.1 font-bh-100dpi 1.0.1 font-bh-75dpi 1.0.1 font-bh-lucidatypewriter-100dpi 1.0.1 font-bh-lucidatypewriter-75dpi 1.0.1 font-bh-ttf 1.0.1 font-bh-type1 1.0.1 font-bitstream-100dpi 1.0.1 font-bitstream-75dpi 1.0.1 font-bitstream-type1 1.0.1 font-cronyx-cyrillic 1.0.1 font-cursor-misc 1.0.1 font-daewoo-misc 1.0.1 font-dec-misc 1.0.1 font-ibm-type1 1.0.1 font-isas-misc 1.0.1 font-jis-misc 1.0.1 font-micro-misc 1.0.1 font-misc-cyrillic 1.0.1 font-misc-ethiopic 1.0.1 font-misc-meltho 1.0.1 font-mutt-misc 1.0.1 font-screen-cyrillic 1.0.2 font-sony-misc 1.0.1 font-sun-misc 1.0.1 font-winitzki-cyrillic 1.0.1 font-xfree86-type1 1.0.2
Diffstat (limited to 'font/bh-75dpi/configure.ac')
-rw-r--r--font/bh-75dpi/configure.ac45
1 files changed, 17 insertions, 28 deletions
diff --git a/font/bh-75dpi/configure.ac b/font/bh-75dpi/configure.ac
index 9f563b302..f0ae6f93a 100644
--- a/font/bh-75dpi/configure.ac
+++ b/font/bh-75dpi/configure.ac
@@ -22,40 +22,29 @@ dnl
dnl Process this file with autoconf to create configure.
AC_PREREQ([2.57])
-AC_INIT(font-bh-75dpi, [1.0.0], [https://bugs.freedesktop.org/enter_bug.cgi?product=xorg], font-bh-75dpi)
+AC_INIT(font-bh-75dpi, [1.0.1], [https://bugs.freedesktop.org/enter_bug.cgi?product=xorg], font-bh-75dpi)
AM_INIT_AUTOMAKE([foreign dist-bzip2])
AM_MAINTAINER_MODE
-AC_PROG_INSTALL
-
-AC_PATH_PROG(BDFTOPCF, bdftopcf)
-AC_PATH_PROG(UCS2ANY, ucs2any)
-AC_PATH_PROG(MKFONTSCALE, mkfontscale)
-AC_PATH_PROG(MKFONTDIR, mkfontdir)
+# 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]))])
-
-DEFAULT_FONTDIR=${libdir}/X11/fonts/75dpi
-AC_ARG_WITH(fontdir,
- AS_HELP_STRING([--with-fontdir=FONTDIR], [Path to install fonts]),
- [FONTDIR="$withval"],
- [FONTDIR="$DEFAULT_FONTDIR"])
-AC_SUBST(FONTDIR)
+AC_PROG_INSTALL
-PKG_CHECK_MODULES(MAPS, [fontutil])
-MAPFILES_PATH=$(pkg-config --variable=mapdir fontutil)
-AC_SUBST(MAPFILES_PATH)
+# 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_FONT_CHECK_ISO8859_1
-XORG_FONT_CHECK_ISO8859_2
-XORG_FONT_CHECK_ISO8859_3
-XORG_FONT_CHECK_ISO8859_4
-XORG_FONT_CHECK_ISO8859_9
-XORG_FONT_CHECK_ISO8859_10
-XORG_FONT_CHECK_ISO8859_13
-XORG_FONT_CHECK_ISO8859_14
-XORG_FONT_CHECK_ISO8859_15
+XORG_FONTDIR([75dpi])
+XORG_FONT_BDF_UTILS
+XORG_FONT_UCS2ANY
-XORG_RELEASE_VERSION
+XORG_FONT_CHECK_ENCODING_LIST([ISO8859-1 ISO8859-2 ISO8859-3 ISO8859-4
+ ISO8859-9 ISO8859-10 ISO8859-13 ISO8859-14
+ ISO8859-15])
AC_OUTPUT([Makefile])