diff options
author | Kevin E Martin <kem@kem.org> | 2005-11-15 08:29:17 +0000 |
---|---|---|
committer | Kevin E Martin <kem@kem.org> | 2005-11-15 08:29:17 +0000 |
commit | dab532a2e4dbd060d5ee136420aa171b46d7c9d4 (patch) | |
tree | 49067b60dfd43cfd972a3e9812544a145cbe2872 /configure.ac | |
parent | b0aaec30f326d21a94f8f61af7953c5e1907098f (diff) |
Add configure option to change the installed font dir.
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 3d04be3..8bcaf70 100644 --- a/configure.ac +++ b/configure.ac @@ -32,6 +32,13 @@ AC_PATH_PROG(BDFTOPCF, bdftopcf) AC_PATH_PROG(MKFONTSCALE, mkfontscale) AC_PATH_PROG(MKFONTDIR, mkfontdir) +DEFAULT_FONTDIR=${libdir}/X11/fonts/cyrillic +AC_ARG_WITH(fontdir, + AS_HELP_STRING([--with-fontdir=FONTDIR], [Path to install fonts]), + [FONTDIR="$withval"], + [FONTDIR="$DEFAULT_FONTDIR"]) +AC_SUBST(FONTDIR) + XORG_RELEASE_VERSION AC_OUTPUT([Makefile]) |