From b0069b04dddaa2df6d4cdf86f96fd8a2a257e47e Mon Sep 17 00:00:00 2001 From: Jeremy Huddleston Date: Sun, 2 Dec 2007 18:21:40 -0800 Subject: [PATCH] Darwin: Added {/,/System/}Library/Fonts to DEFAULT_FONT_PATH --- configure.ac | 3 +++ 1 file changed, 3 insertions(+) diff --git a/configure.ac b/configure.ac index c7d78d4d7..a70d310df 100644 --- a/configure.ac +++ b/configure.ac @@ -436,6 +436,9 @@ AC_ARG_WITH(fontdir, AS_HELP_STRING([--with-fontdir=FONTDIR], [Path to t [ FONTDIR="$withval" ], [ FONTDIR="${libdir}/X11/fonts" ]) DEFAULT_FONT_PATH="${FONTDIR}/misc/,${FONTDIR}/TTF/,${FONTDIR}/OTF,${FONTDIR}/Type1/,${FONTDIR}/100dpi/,${FONTDIR}/75dpi/" +case $host_os in + darwin*) DEFAULT_FONT_PATH="${DEFAULT_FONT_PATH},/Library/Fonts,/System/Library/Fonts" ;; +esac AC_ARG_WITH(default-font-path, AS_HELP_STRING([--with-default-font-path=PATH], [Comma separated list of font dirs]), [ FONTPATH="$withval" ], [ FONTPATH="${DEFAULT_FONT_PATH}" ])