NCSB_DIR=unknown
-AC_ARG_ENABLE(ncsb,
-[ --enable-ncsb-dir set the path where Century Schoolbook fonts can be found.
+AC_ARG_WITH(ncsb-dir,
+[ --with-ncsb-dir=DIR location of Century Schoolbook fonts
Default: detect with locate(1)],
- [NCSB_DIR=$enableval])
+ [NCSB_DIR=$withval])
reloc_b=no
FRAMEWORKDIR=".."
AC_ARG_WITH(framework-dir,
[ --with-framework-dir=DIR
- relative the optional framework directory],[
+ relative location of framework],[
if test "$withval" = "yes" -o "$withval" = "no"; then
AC_MSG_WARN(Usage: --with-framework-dir=../lib/FRAMEWORK/DIR)
else
AC_MSG_CHECKING([New Century Schoolbook PFB files])
if test "$NCSB_DIR" = "unknown"; then
- which locate >& /dev/null
+ # use `type' command rather than external program `which'
+ type locate >& /dev/null
if test "$?" = "0"; then
for d in `locate c059033l.pfb `; do
if test -f `dirname "$d"`/c059033l.afm ; then