* configure.ac: Detect starfield theme font path

/usr/share/fonts/dejavu/DejaVuSans.ttf for Fedora.
This commit is contained in:
Mads Kiilerich 2012-04-29 18:15:24 +02:00 committed by Vladimir 'phcoder' Serbinenko
parent bc95c8c0e1
commit 32745f5131
2 changed files with 6 additions and 1 deletions

View file

@ -940,7 +940,7 @@ fi
if test x"$starfield_excuse" != x; then
for ext in pcf pcf.gz bdf bdf.gz ttf ttf.gz; do
for dir in . /usr/src /usr/share/fonts/X11/misc /usr/share/fonts/truetype/ttf-dejavu; do
for dir in . /usr/src /usr/share/fonts/X11/misc /usr/share/fonts/truetype/ttf-dejavu /usr/share/fonts/dejavu; do
if test -f "$dir/DejaVuSans.$ext"; then
DJVU_FONT_SOURCE="$dir/DejaVuSans.$ext"
break 2