X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=configure.in;h=6253b66efd53e9c1f7032e9d0e7d0a5825b06a2d;hb=baac78132b2dc92516934b3c9e35dbfa575dec84;hp=3e4286d767e0632cdcb8984208db543fad90ad6b;hpb=92782fde87fb68e945b9eb60cacab6c01d0397df;p=lilypond.git diff --git a/configure.in b/configure.in index 3e4286d767..6253b66efd 100644 --- a/configure.in +++ b/configure.in @@ -11,9 +11,6 @@ AC_CONFIG_AUX_DIR([stepmake/bin]) # For stepmake package: # AC_CONFIG_AUX_DIR(bin) -# must expand this at top-level for autoconf>=2.64 -AC_PROG_CC - STEPMAKE_INIT @@ -61,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 @@ -74,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 @@ -149,9 +146,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) @@ -192,7 +187,7 @@ STEPMAKE_GUILE(OPTIONAL) STEPMAKE_PERL(OPTIONAL) STEPMAKE_PROGS(MAKEINFO, makeinfo, REQUIRED, 4.11) -STEPMAKE_PROGS(TEXI2HTML, texi2html, OPTIONAL, 1.80) +STEPMAKE_PROGS(TEXI2HTML, texi2html, OPTIONAL, 1.82) AC_DEFINE_UNQUOTED(FLOWER_VERSION, "${FULL_FLOWER_VERSION}")