X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=configure.ac;h=8e3cabe01efe4359f5e51c57c47b0bd608e44ce4;hb=97a0169312a260933246ab224e4f8b0969871dd5;hp=d2ec5ec9561b77c161a796e5f23303234136fff9;hpb=8cf69a467ad7650f5ca9da6fe2dfd4c7c088b239;p=lilypond.git diff --git a/configure.ac b/configure.ac index d2ec5ec956..8e3cabe01e 100644 --- a/configure.ac +++ b/configure.ac @@ -127,8 +127,8 @@ if test "$URWOTF_DIR" != "" ; then C059-Italic.otf C059-Roman.otf \ NimbusMonoPS-Bold.otf NimbusMonoPS-BoldItalic.otf \ NimbusMonoPS-Italic.otf NimbusMonoPS-Regular.otf \ - NimbusSans-Bold.otf NimbusSans-BoldOblique.otf \ - NimbusSans-Oblique.otf NimbusSans-Regular.otf; do + NimbusSans-Bold.otf NimbusSans-BoldItalic.otf \ + NimbusSans-Italic.otf NimbusSans-Regular.otf; do if test ! -f "$URWOTF_DIR/$f"; then MISSING_URWOTF_FILES="$MISSING_URWOTF_FILES $f" else @@ -136,6 +136,12 @@ if test "$URWOTF_DIR" != "" ; then fi done fi +if test "$MISSING_URWOTF_FILES"="NimbusSans-BoldItalic.otf NimbusSans-Italic.otf" && \ + test -f "$URWOTF_DIR/NimbusSans-BoldOblique.otf" && \ + test -f "$URWOTF_DIR/NimbusSans-Oblique.otf"; then + MISSING_URWOTF_FILES="" + URWOTF_FILES="$URWOTF_FILES NimbusSans-BoldOblique.otf NimbusSans-Oblique.otf" +fi if test "$URWOTF_DIR" = "" -o "$MISSING_URWOTF_FILES" != ""; then AC_MSG_RESULT(no) STEPMAKE_ADD_ENTRY(OPTIONAL,URW++ OTF fonts) @@ -143,7 +149,7 @@ if test "$URWOTF_DIR" = "" -o "$MISSING_URWOTF_FILES" != ""; then if test "$FCLIST" = ""; then STEPMAKE_ADD_ENTRY(OPTIONAL,'(install the fc-list utility from FontConfig, or use --with-urwotf-dir)') else - STEPMAKE_ADD_ENTRY(OPTIONAL,"(download OTF files from 'http://git.ghostscript.com/?p=urw-core35-fonts.git;a=commit;h=79bcdfb34fbce12b592cce389fa7a19da6b5b018' and put them under '~/.local/share/fonts' etc., or use --with-urwotf-dir)") + STEPMAKE_ADD_ENTRY(OPTIONAL,"(download OTF files from 'http://git.ghostscript.com/?p=urw-core35-fonts.git;a=tree;hb=1f28a6fcd2176256a995db907d9ffe6e1b9b83e9' and put them under '~/.local/share/fonts' etc., or use --with-urwotf-dir)") fi else STEPMAKE_ADD_ENTRY(OPTIONAL,'(these files are missing: $MISSING_URWOTF_FILES)') @@ -260,7 +266,10 @@ AC_MSG_RESULT($rpath_b) HOST_ARCH=`$CC -dumpmachine` AC_SUBST(HOST_ARCH) -STEPMAKE_PANGO_FT2(pangoft2, REQUIRED, 1.38.0) +STEPMAKE_PANGO_FT2_WITH_OTF_FEATURE(pangoft2, OPTIONAL, 1.38.0) +if test "$have_pangoft2_with_otf_feature" != yes ; then + STEPMAKE_PANGO_FT2(pangoft2, REQUIRED, 1.6.0) +fi STEPMAKE_FONTCONFIG(fontconfig, REQUIRED, 2.4.0) STEPMAKE_FREETYPE2(freetype2, REQUIRED, 2.1.10)