1
dnl Process this file with autoconf to produce a configure script.
8
dnl Fonts installation directory.
11
[ --with-fontdir=DIR\t install fonts in DIR [PREFIX/share/emacs/fonts]])
12
fontdir=${with_fontdir}
13
if test -z "$fontdir" -o "${fontdir}" = yes; then
15
if test "x$theprefix" = "xNONE"; then
16
theprefix=$ac_default_prefix
18
fontdir="${theprefix}/share/emacs/fonts"
20
AC_MSG_CHECKING([where fonts should go])
21
AC_MSG_RESULT(${fontdir})
25
dnl Compress fonts nor not
27
AC_ARG_ENABLE(compress,
28
[ --enable-compress[=ARG] whether to compress PCF fonts or not [ARG=gzip]])
29
if test -z "${enable_compress}"; then
31
elif test "${enable_compress}" = "yes"; then
34
compress=${enable_compress}
36
AC_MSG_CHECKING(whether to compress fonts or not)
37
if test "${compress}" = "no" ; then
40
AC_MSG_RESULT([yes, by ${compress}])
45
dnl Installing font types
48
[ --with-pcf[=ARG] install PCF fonts
49
[ARG=yes] on Unix, [ARG=no] on DOS],,
50
test -z "${COMSPEC}" || with_pcf=no)
52
[ --with-bdf[=ARG] install BDF fonts [ARG=yes]])
54
[ --with-type1[=ARG] install Type1 fonts [ARG=no]],,
57
[ --with-truetype[=ARG] install TrueType fonts [ARG=no]],,
60
test "${with_pcf}" = "no" || targets="${targets} pcf"
61
test "${with_bdf}" = "no" || targets="${targets} bdf"
62
test "${with_type1}" = "no" || targets="${targets} type1"
63
test "${with_truetype}" = "no" || targets="${targets} truetype"
64
AC_MSG_CHECKING(installing font types)
65
AC_MSG_RESULT($targets)