From: John Mandereau Date: Mon, 2 Jul 2012 14:13:30 +0000 (+0200) Subject: Change NCSB fonts search (fix issue 2635) X-Git-Tag: release/2.15.42-1~64 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=2383bd3692349e7e124abae4a4f7bb2da694ea28;p=lilypond.git Change NCSB fonts search (fix issue 2635) In Debian Squeeze 6.0.5 (i686), fc-list (Fontconfig 2.8.0-2.1) has an output format that is not handled well by previous configure script. --- diff --git a/configure.in b/configure.in index 0189be15b2..2050b87336 100644 --- a/configure.in +++ b/configure.in @@ -76,7 +76,7 @@ else for style in Roman Italic "Bold Italic" Bold; do NCSB_FILE=`$FCLIST "Century Schoolbook L:style=$style:foundry=urw:fontformat=Type 1" file \ | head -n 1` - NCSB_FILE=`echo $NCSB_FILE | sed 's/^\(.*\):$/\1/g'` + NCSB_FILE=`echo $NCSB_FILE | sed 's/\(:.*\)$//g'` NCSB_FILE=`$PYTHON "$srcdir/scripts/auxiliar/readlink.py" $NCSB_FILE` NCSB_SOURCE_FILES="$NCSB_FILE $NCSB_SOURCE_FILES" done