]> git.donarmstrong.com Git - lilypond.git/blobdiff - configure.in
(conf_flags): set sensible default for with-ncsb-dir
[lilypond.git] / configure.in
index 42eeda511c34842d022f8ee25aaf75555fb6d8f0..f04530aa984de99235dbf9fa7bdc714ddeed5a75 100644 (file)
@@ -34,10 +34,10 @@ AC_ARG_ENABLE(gui,
     [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,
@@ -104,11 +104,10 @@ if test "$reloc_b" = "yes"; then
 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)