+2006-05-01 Han-Wen Nienhuys <hanwen@lilypond.org>
+
+ * autogen.sh (conf_flags): set sensible default for with-ncsb-dir
+
2006-05-01 Joe Neeman <joeneeman@gmail.com>
* scm/lily-library.scm: Fix guile 1.6 compatibility in inf? and nan?
2006-04-28 Graham Percival <gpermus@gmail.com>
- * Documentaiton/user/ various: major new sections in the
+ * Documentation/user/ various: major new sections in the
Learning manual, slight reorg elsewhere.
2006-04-27 Han-Wen Nienhuys <hanwen@lilypond.org>
done
#conf_flags="--enable-maintainer-mode --enable-compile-warnings" #--enable-iso-c
+conf_flags="--with-ncsb-dir=/usr/share/fonts/default/Type1/"
+
if test -n "$NOCONFIGURE"; then
echo Skipping configure process.
exit 0
[gui_b=$enableval])
-NCSB_DIR=unknown
AC_ARG_WITH(ncsb-dir,
-[ --with-ncsb-dir=DIR location of Century Schoolbook fonts.],
- [NCSB_DIR=$withval])
+ [ --with-ncsb-dir=DIR location of Century Schoolbook fonts.],
+ [NCSB_DIR=$withval],
+ [NCSB_DIR=/usr/share/fonts/default/Type1])
reloc_b=no
AC_ARG_ENABLE(relocation,
fi
AC_MSG_CHECKING([New Century Schoolbook PFB files])
-if test "$NCSB_DIR" = "unknown"; then
- AC_MSG_WARN(Use --enable-ncsb-path to set path)
+if test ! -f "$NCSB_DIR/c059016l.pfb"; then
+ AC_MSG_WARN($NCSB_DIR does not contain c059033l.pfb. Use --with-ncsb-dir)
fi
-
AC_MSG_RESULT($NCSB_DIR)
AC_SUBST(NCSB_DIR)