Add configure option to set the top level font dir.

This commit is contained in:
Kevin E Martin 2005-12-08 19:21:12 +00:00
parent 008c2dd5e4
commit 3a6bdf0715
2 changed files with 8 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2005-12-08 Kevin E. Martin <kem-at-freedesktop-dot-org>
* configure.ac:
Add configure option to set the top level font dir.
2005-12-08 Kevin E. Martin <kem-at-freedesktop-dot-org>
* configure.ac:

View File

@ -339,7 +339,9 @@ AC_ARG_WITH(os-vendor, AS_HELP_STRING([--with-os-vendor=OSVENDOR], [Name o
AC_ARG_WITH(mesa-source, AS_HELP_STRING([--with-mesa-source=MESA_SOURCE], [Path to Mesa source tree]),
[ MESA_SOURCE="$withval" ],
[ MESA_SOURCE="" ])
FONTDIR="${libdir}/X11/fonts"
AC_ARG_WITH(fontdir, AS_HELP_STRING([--with-fontdir=FONTDIR], [Path to top level dir where fonts are installed (default: ${libdir}/X11/fonts)]),
[ FONTDIR="$withval" ],
[ FONTDIR="${libdir}/X11/fonts" ])
DEFAULT_FONT_PATH="${FONTDIR}/misc/,${FONTDIR}/TTF/,${FONTDIR}/OTF,${FONTDIR}/Type1/,${FONTDIR}/CID/,${FONTDIR}/100dpi/,${FONTDIR}/75dpi/"
AC_ARG_WITH(default-font-path, AS_HELP_STRING([--with-default-font-path=PATH], [Comma separated list of font dirs]),
[ FONTPATH="$withval" ],