+
+ rm -f mfput.*
+ echo "$ac_t""$MFMODE" 1>&6
+
+
+
+
+
+
+
+
+
+
+ # Check whether --enable-tex-tfmdir or --disable-tex-tfmdir was given.
+if test "${enable_tex_tfmdir+set}" = set; then
+ enableval="$enable_tex_tfmdir"
+ TFMDIR=$enableval
+else
+ TFMDIR=auto
+fi
+
+
+ for ac_prog in kpsewhich
+do
+# Extract the first word of "$ac_prog", so it can be a program name with args.
+set dummy $ac_prog; ac_word=$2
+echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
+echo "configure:2591: checking for $ac_word" >&5
+if eval "test \"`echo '$''{'ac_cv_prog_KPSEWHICH'+set}'`\" = set"; then
+ echo $ac_n "(cached) $ac_c" 1>&6
+else
+ if test -n "$KPSEWHICH"; then
+ ac_cv_prog_KPSEWHICH="$KPSEWHICH" # Let the user override the test.
+else
+ IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
+ ac_dummy="$PATH"
+ for ac_dir in $ac_dummy; do
+ test -z "$ac_dir" && ac_dir=.
+ if test -f $ac_dir/$ac_word; then
+ ac_cv_prog_KPSEWHICH="$ac_prog"
+ break
+ fi
+ done
+ IFS="$ac_save_ifs"
+fi
+fi
+KPSEWHICH="$ac_cv_prog_KPSEWHICH"
+if test -n "$KPSEWHICH"; then
+ echo "$ac_t""$KPSEWHICH" 1>&6
+else
+ echo "$ac_t""no" 1>&6
+fi
+
+test -n "$KPSEWHICH" && break
+done
+test -n "$KPSEWHICH" || KPSEWHICH="no"
+
+ echo $ac_n "checking for TeX TFM directory""... $ac_c" 1>&6
+echo "configure:2622: checking for TeX TFM directory" >&5
+ if test "x$TFMDIR" = xauto ; then
+ if test "x$TEX_TFMDIR" = "x" ; then
+ if test "x$KPSEWHICH" != "xno" ; then
+ CMR10=`kpsewhich tfm cmr10.tfm`
+ TEX_TFMDIR=`dirname $CMR10`
+ else
+
+ echo "configure: warning: Please set TEX_TFMDIR (to where cmr10.tfm lives):
+ TEX_TFMDIR=/usr/local/TeX/lib/tex/fonts ./configure" 1>&2