-for ac_prog in sgml2txt
-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:1184: checking for $ac_word" >&5
-if eval "test \"`echo '$''{'ac_cv_prog_have_sgml2txt'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- if test -n "$have_sgml2txt"; then
- ac_cv_prog_have_sgml2txt="$have_sgml2txt" # 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_have_sgml2txt="$ac_prog"
- break
- fi
- done
- IFS="$ac_save_ifs"
-fi
-fi
-have_sgml2txt="$ac_cv_prog_have_sgml2txt"
-if test -n "$have_sgml2txt"; then
- echo "$ac_t""$have_sgml2txt" 1>&6
-else
- echo "$ac_t""no" 1>&6
-fi
-
-test -n "$have_sgml2txt" && break
-done
-test -n "$have_sgml2txt" || have_sgml2txt="no"
-
-for ac_prog in sgml2latex
-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:1219: checking for $ac_word" >&5
-if eval "test \"`echo '$''{'ac_cv_prog_have_sgml2latex'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- if test -n "$have_sgml2latex"; then
- ac_cv_prog_have_sgml2latex="$have_sgml2latex" # 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_have_sgml2latex="$ac_prog"
- break
- fi
- done
- IFS="$ac_save_ifs"
-fi
-fi
-have_sgml2latex="$ac_cv_prog_have_sgml2latex"
-if test -n "$have_sgml2latex"; then
- echo "$ac_t""$have_sgml2latex" 1>&6
-else
- echo "$ac_t""no" 1>&6
-fi
-
-test -n "$have_sgml2latex" && break
-done
-test -n "$have_sgml2latex" || have_sgml2latex="no"
-
-for ac_prog in sgml2html
-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:1254: checking for $ac_word" >&5
-if eval "test \"`echo '$''{'ac_cv_prog_have_sgml2html'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- if test -n "$have_sgml2html"; then
- ac_cv_prog_have_sgml2html="$have_sgml2html" # 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_have_sgml2html="$ac_prog"
- break
- fi
- done
- IFS="$ac_save_ifs"
-fi
-fi
-have_sgml2html="$ac_cv_prog_have_sgml2html"
-if test -n "$have_sgml2html"; then
- echo "$ac_t""$have_sgml2html" 1>&6
-else
- echo "$ac_t""no" 1>&6
-fi
-
-test -n "$have_sgml2html" && break
-done
-test -n "$have_sgml2html" || have_sgml2html="no"
-
-if test "$have_sgml2txt" = "no" -o "$have_sgml2latex" = "no" -o "$have_sgml2html" = "no"; then
- DOCMODULE=""
-else
- DOCMODULE="doc"
-fi