+
+ # urg, never know what names these teTeX guys will think up
+ for ac_prog in mf
+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:2006: checking for $ac_word" >&5
+if eval "test \"`echo '$''{'ac_cv_prog_METAFONT'+set}'`\" = set"; then
+ echo $ac_n "(cached) $ac_c" 1>&6
+else
+ if test -n "$METAFONT"; then
+ ac_cv_prog_METAFONT="$METAFONT" # Let the user override the test.
+else
+ IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
+ for ac_dir in $PATH; do
+ test -z "$ac_dir" && ac_dir=.
+ if test -f $ac_dir/$ac_word; then
+ ac_cv_prog_METAFONT="$ac_prog"
+ break
+ fi
+ done
+ IFS="$ac_save_ifs"
+fi
+fi
+METAFONT="$ac_cv_prog_METAFONT"
+if test -n "$METAFONT"; then
+ echo "$ac_t""$METAFONT" 1>&6
+else
+ echo "$ac_t""no" 1>&6
+fi
+
+test -n "$METAFONT" && break
+done
+test -n "$METAFONT" || METAFONT="no"
+
+ if test "x$METAFONT" = "xno"; then
+ for ac_prog in mfont
+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:2041: checking for $ac_word" >&5
+if eval "test \"`echo '$''{'ac_cv_prog_MFONT'+set}'`\" = set"; then
+ echo $ac_n "(cached) $ac_c" 1>&6
+else
+ if test -n "$MFONT"; then
+ ac_cv_prog_MFONT="$MFONT" # Let the user override the test.
+else
+ IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
+ for ac_dir in $PATH; do
+ test -z "$ac_dir" && ac_dir=.
+ if test -f $ac_dir/$ac_word; then
+ ac_cv_prog_MFONT="$ac_prog"
+ break
+ fi
+ done
+ IFS="$ac_save_ifs"
+fi
+fi
+MFONT="$ac_cv_prog_MFONT"
+if test -n "$MFONT"; then
+ echo "$ac_t""$MFONT" 1>&6
+else
+ echo "$ac_t""no" 1>&6
+fi
+
+test -n "$MFONT" && break
+done
+test -n "$MFONT" || MFONT="-echo no mf or mfont"
+
+ METAFONT=$MFONT
+ fi
+
+ for ac_prog in mp
+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:2078: checking for $ac_word" >&5
+if eval "test \"`echo '$''{'ac_cv_prog_METAPOST'+set}'`\" = set"; then
+ echo $ac_n "(cached) $ac_c" 1>&6
+else
+ if test -n "$METAPOST"; then
+ ac_cv_prog_METAPOST="$METAPOST" # Let the user override the test.
+else
+ IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
+ for ac_dir in $PATH; do
+ test -z "$ac_dir" && ac_dir=.
+ if test -f $ac_dir/$ac_word; then
+ ac_cv_prog_METAPOST="$ac_prog"
+ break
+ fi
+ done
+ IFS="$ac_save_ifs"
+fi
+fi
+METAPOST="$ac_cv_prog_METAPOST"
+if test -n "$METAPOST"; then
+ echo "$ac_t""$METAPOST" 1>&6
+else
+ echo "$ac_t""no" 1>&6
+fi
+
+test -n "$METAPOST" && break
+done
+test -n "$METAPOST" || METAPOST="no"
+
+ if test "x$METAPOST" = "xno"; then
+ for ac_prog in mpost
+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:2113: checking for $ac_word" >&5
+if eval "test \"`echo '$''{'ac_cv_prog_MPOST'+set}'`\" = set"; then
+ echo $ac_n "(cached) $ac_c" 1>&6
+else
+ if test -n "$MPOST"; then
+ ac_cv_prog_MPOST="$MPOST" # Let the user override the test.
+else
+ IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
+ for ac_dir in $PATH; do
+ test -z "$ac_dir" && ac_dir=.
+ if test -f $ac_dir/$ac_word; then
+ ac_cv_prog_MPOST="$ac_prog"
+ break
+ fi
+ done
+ IFS="$ac_save_ifs"
+fi
+fi
+MPOST="$ac_cv_prog_MPOST"
+if test -n "$MPOST"; then
+ echo "$ac_t""$MPOST" 1>&6
+else
+ echo "$ac_t""no" 1>&6
+fi
+
+test -n "$MPOST" && break
+done
+test -n "$MPOST" || MPOST="-echo no mp or mpost"
+
+ METAPOST=$MPOST
+ fi
+
+
+
+
+# AC_STEPMAKE_TEXMF_DIRS