diff options
author | marha <marha@users.sourceforge.net> | 2009-10-11 19:27:48 +0000 |
---|---|---|
committer | marha <marha@users.sourceforge.net> | 2009-10-11 19:27:48 +0000 |
commit | d36223b06a859c5979253d0176adfaeadc10cb32 (patch) | |
tree | de85a6072aae048506ebab0dba2e7c4588132412 /xorg-server/fonts.src/font-util/configure.ac | |
parent | 6b4cfac5a67f87884a525ce2c99f30e0060b3ca7 (diff) | |
parent | e4bc1b2bff00254f5782928d5b7b15b4db2e774c (diff) | |
download | vcxsrv-d36223b06a859c5979253d0176adfaeadc10cb32.tar.gz vcxsrv-d36223b06a859c5979253d0176adfaeadc10cb32.tar.bz2 vcxsrv-d36223b06a859c5979253d0176adfaeadc10cb32.zip |
svn merge ^/branches/released .
Diffstat (limited to 'xorg-server/fonts.src/font-util/configure.ac')
-rw-r--r-- | xorg-server/fonts.src/font-util/configure.ac | 34 |
1 files changed, 21 insertions, 13 deletions
diff --git a/xorg-server/fonts.src/font-util/configure.ac b/xorg-server/fonts.src/font-util/configure.ac index 90d0e6f6f..bc8b1362b 100644 --- a/xorg-server/fonts.src/font-util/configure.ac +++ b/xorg-server/fonts.src/font-util/configure.ac @@ -22,27 +22,35 @@ dnl dnl Process this file with autoconf to create configure. AC_PREREQ([2.57]) -AC_INIT(font-util, [1.0.2], [https://bugs.freedesktop.org/enter_bug.cgi?product=xorg], font-util) +AC_INIT(font-util, [1.1.0], [https://bugs.freedesktop.org/enter_bug.cgi?product=xorg], font-util) AM_INIT_AUTOMAKE([foreign dist-bzip2]) AM_MAINTAINER_MODE -# Require xorg-macros: XORG_CWARNFLAGS, XORG_CHANGELOG -m4_ifndef([XORG_MACROS_VERSION], [AC_FATAL([must install xorg-macros 1.2 or later before running autoconf/autogen])]) -XORG_MACROS_VERSION(1.2) +# Require xorg-macros 1.3 or later: 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) AM_CONFIG_HEADER(config.h) -XORG_CWARNFLAGS + +XORG_DEFAULT_OPTIONS AC_PROG_CC AC_PROG_INSTALL -mapdir=${libdir}/X11/fonts/util -AC_ARG_WITH(mapdir, AC_HELP_STRING([--with-mapdir=<pathname>], - [Path to install font maps]), [mapdir="$withval"]) +AC_MSG_CHECKING([for root directory for font files]) +fontrootdir='${datadir}/fonts/X11' +AC_ARG_WITH(fontrootdir, [AC_HELP_STRING([--with-fontrootdir=DIR], + [Path to parent of font subdirectories [DATADIR/fonts/X11]])], + [fontrootdir="${withval}"]) +FONTROOTDIR="${fontrootdir}" +AC_SUBST(FONTROOTDIR) +AC_MSG_RESULT([${FONTROOTDIR}]) + +mapdir='${fontrootdir}/util' +AC_ARG_WITH(mapdir, [AC_HELP_STRING([--with-mapdir=DIR], + [Path to install font maps [FONTROOTDIR/util]])], + [mapdir="${withval}"]) MAPDIR="$mapdir" AC_SUBST(MAPDIR) -XORG_MANPAGE_SECTIONS -XORG_RELEASE_VERSION -XORG_CHANGELOG - -AC_OUTPUT([Makefile fontutil.pc]) +AC_OUTPUT([Makefile fontutil.m4 fontutil.pc]) |