X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=configure.in;h=f7547d17700abc95dfe531078ea1712d022b2f23;hb=0a307371e831a7e956ce4ebee3a35d6c979e2dda;hp=f274204aaa4bdd354b924f20f75da2ea9750cfb1;hpb=a052dffc3ebe9f13b64dfe5171657c6bf66cb801;p=lilypond.git diff --git a/configure.in b/configure.in index f274204aaa..f7547d1770 100644 --- a/configure.in +++ b/configure.in @@ -1,5 +1,5 @@ dnl configure.in -*-shell-script-*- -dnl Process this file with autoconf to produce a configure script. +dnl Process this file with autoconf to produce a configure script. # Bootstrap the init proces. AC_INIT @@ -58,7 +58,7 @@ AC_SUBST(LINK_GXX_STATICALLY) # must come before any header checks STEPMAKE_COMPILE -AC_CHECK_PROG(FCMATCH, fc-match, fc-match) +AC_CHECK_PROG(FCLIST, fc-list, fc-list) AC_MSG_CHECKING([New Century Schoolbook PFB files]) AC_SUBST(NCSB_SOURCE_FILES) if test "$NCSB_DIR" != "" ; then @@ -71,17 +71,17 @@ if test "$NCSB_DIR" != "" ; then fi done else - if test "$FCMATCH" != ""; then + if test "$FCLIST" != ""; then for style in Roman Italic "Bold Italic" Bold; do - NCSB_FILE=`$FCMATCH --verbose "Century Schoolbook L:style=$style:foundry=urw" | grep 'file:' | grep -v "\.ttf"` - - NCSB_FILE=`echo $NCSB_FILE | sed 's/^.*"\(.*\)".*$/\1/g'` + 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=`$PYTHON "$srcdir/scripts/auxiliar/readlink.py" $NCSB_FILE` NCSB_SOURCE_FILES="$NCSB_FILE $NCSB_SOURCE_FILES" done else AC_MSG_RESULT(not found) - echo "Can't find Century Schoolbook files. Install FontConfig's fc-match," + echo "Can't find Century Schoolbook files. Install FontConfig's fc-list," echo "or use --with-ncsb-dir" fi fi @@ -110,9 +110,7 @@ STEPMAKE_GETTEXT STEPMAKE_MSGFMT(REQUIRED) STEPMAKE_TEXMF(REQUIRED) STEPMAKE_TEXMF_DIRS - -## should check for 1.8.2 ? -STEPMAKE_GUILE_DEVEL(REQUIRED, 1.8.0) +STEPMAKE_GUILE_DEVEL(REQUIRED, 1.8.2) ## check rational bugfix. @@ -122,7 +120,7 @@ AC_MSG_CHECKING(GUILE rational bugfix) AC_TRY_CPP( #include #ifdef SCM_FRACTION_REDUCED_BIT -#error +#error #endif , AC_MSG_RESULT(ok), @@ -133,7 +131,7 @@ CPPFLAGS="$save_CPPFLAGS" STEPMAKE_PYTHON_DEVEL(REQUIRED) -STEPMAKE_PATH_PROG(GHOSTSCRIPT, gs, OPTIONAL, 8.15) +STEPMAKE_PATH_PROG(GHOSTSCRIPT, gs, OPTIONAL, 8.60) STEPMAKE_PATH_PROG(FONTFORGE, fontforge, REQUIRED, 20050624) @@ -146,9 +144,7 @@ AC_LANG_POP(C++) AC_HEADER_STAT AC_FUNC_MEMCMP AC_FUNC_VPRINTF -AC_CHECK_FUNCS([chroot fopencookie funopen gettext isinf mbrtowc memmem snprintf vsnprintf wcrtomb]) -AC_CHECK_HEADERS([utf8/wchar.h], LIBS="$LIBS -lutf8") -AC_SEARCH_LIBS(mbrtowc, [mingwex msvcp60]) +AC_CHECK_FUNCS([chroot fopencookie funopen gettext isinf memmem snprintf vsnprintf wcrtomb]) STEPMAKE_PROGS(PKG_CONFIG, pkg-config, REQUIRED, 0.9.0)