diff options
author | Manish Singh <yosh@gimp.org> | 2001-11-24 21:34:58 +0000 |
---|---|---|
committer | Manish Singh <yosh@src.gnome.org> | 2001-11-24 21:34:58 +0000 |
commit | 05ab07e19ac7ee4caedf9a4d4db762921ccf5f35 (patch) | |
tree | bf9639247a037c47b9fc9d2b0e8cdd30431b2ecb /configure.in | |
parent | 54d0b867ef0291528b49472ee397e80785df6f4f (diff) | |
download | pango-05ab07e19ac7ee4caedf9a4d4db762921ccf5f35.tar.gz |
acconfig.h support for --with-xftconfig-dir= path to system XftConfig file
2001-11-24 Manish Singh <yosh@gimp.org>
* acconfig.h
* configure.in: support for --with-xftconfig-dir= path to system
XftConfig file
* pango/pango-utils.c
* pango/pangox.c: include "config.h", not <config.h>
* pango/pangoxft-fontmap.c: this file is pangoxft-fontmap.c, not
pangoxft-fontmap.h :)
* pango/mini-xft/minixftint.h
* pango/mini-xft/minixftinit.c: add code for searching common
locations for the XftConfig file. We search MINI_XFTCONFIG_DIR
if configure defines it for us (as above), then $sysconfdir,
then (only on !_WIN32) /etc/X11 and /usr/X11R6/lib/X11.
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/configure.in b/configure.in index 5807893e..f01a82bf 100644 --- a/configure.in +++ b/configure.in @@ -229,6 +229,15 @@ AC_SUBST(FRIBIDI_PC) AM_CONDITIONAL(HAVE_FRIBIDI, test x$have_fribidi = xyes) # +# Allow setting a default path for XftConfig +# +AC_ARG_WITH(xftconfig-dir, [ --with-xftconfig-dir=PATH path to system XftConfig file for minixft ]) + +if test "x$with_xftconfig_dir" != "x"; then + AC_DEFINE_UNQUOTED(MINI_XFTCONFIG_DIR, "$with_xftconfig_dir") +fi + +# # The OpenType test programs aren't particularly portable # have_varargs=no |