--- libreoffice-4.3.2.2/configure.ac~ 2014-10-09 15:00:49.000000000 +0200 +++ libreoffice-4.3.2.2/configure.ac 2014-10-09 15:12:08.242486104 +0200 @@ -11752,10 +11752,11 @@ FONTFILE_LOWER="$(echo $FONTFILE | $AWK '{print tolower($0)}')" TESTEXPR="'${FONTFILE_LOWER}' = '$(echo $FONT | $AWK '{print tolower($0)}').ttf'" - while true ; do - MAPPING="$(echo $1 | $AWK '{print tolower($0)}')"; shift - test -n "$MAPPING" || break + MAPPING="$(echo $1 | $AWK '{print tolower($0)}')" + while test -n "$MAPPING"; do TESTEXPR="${TESTEXPR} -o '${FONTFILE_LOWER}' = '$MAPPING-regular.ttf'" + shift + MAPPING="$(echo $1 | $AWK '{print tolower($0)}')" done if test $TESTEXPR then