+ ac_cv_prog_LIBTOOL="libtool"
+ break
+ fi
+ done
+ IFS="$ac_save_ifs"
+fi
+fi
+LIBTOOL="$ac_cv_prog_LIBTOOL"
+if test -n "$LIBTOOL"; then
+ echo "$ac_t""$LIBTOOL" 1>&6
+else
+ echo "$ac_t""no" 1>&6
+fi
+
+
+ tmptest=`$LIBTOOL --version 2>&1 | grep GNU`
+ if test x"$tmptest" != x ; then
+ GNU_LIBTOOL=1
+ fi
+
+
+# Extract the first word of "lorder", so it can be a program name with args.
+set dummy lorder; ac_word=$2
+echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
+echo "configure:1528: checking for $ac_word" >&5
+if eval "test \"`echo '$''{'ac_cv_prog_LORDER'+set}'`\" = set"; then
+ echo $ac_n "(cached) $ac_c" 1>&6
+else
+ if test -n "$LORDER"; then
+ ac_cv_prog_LORDER="$LORDER" # 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_LORDER="lorder"
+ break
+ fi
+ done
+ IFS="$ac_save_ifs"
+ test -z "$ac_cv_prog_LORDER" && ac_cv_prog_LORDER="no"
+fi
+fi
+LORDER="$ac_cv_prog_LORDER"
+if test -n "$LORDER"; then
+ echo "$ac_t""$LORDER" 1>&6
+else
+ echo "$ac_t""no" 1>&6
+fi
+# Extract the first word of "tsort", so it can be a program name with args.
+set dummy tsort; ac_word=$2
+echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
+echo "configure:1557: checking for $ac_word" >&5
+if eval "test \"`echo '$''{'ac_cv_prog_TSORT'+set}'`\" = set"; then
+ echo $ac_n "(cached) $ac_c" 1>&6
+else
+ if test -n "$TSORT"; then
+ ac_cv_prog_TSORT="$TSORT" # 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_TSORT="tsort"
+ break
+ fi
+ done
+ IFS="$ac_save_ifs"
+ test -z "$ac_cv_prog_TSORT" && ac_cv_prog_TSORT="no"
+fi
+fi
+TSORT="$ac_cv_prog_TSORT"
+if test -n "$TSORT"; then
+ echo "$ac_t""$TSORT" 1>&6
+else
+ echo "$ac_t""no" 1>&6
+fi
+
+if test x$ac_cv_prog_LORDER != xlorder -o x$ac_cv_prog_TSORT != xtsort; then
+ LORDER=echo
+ TSORT=cat
+ fi
+
+pathtmp=/usr/bin:/bin:/usr/local/bin:/usr/xpg4/bin:/usr/ucb
+# Extract the first word of "ls", so it can be a program name with args.
+set dummy ls; ac_word=$2
+echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
+echo "configure:1593: checking for $ac_word" >&5
+if eval "test \"`echo '$''{'ac_cv_path_lspath'+set}'`\" = set"; then
+ echo $ac_n "(cached) $ac_c" 1>&6
+else
+ case "$lspath" in
+ /*)
+ ac_cv_path_lspath="$lspath" # Let the user override the test with a path.
+ ;;
+ ?:/*)
+ ac_cv_path_lspath="$lspath" # Let the user override the test with a dos path.
+ ;;
+ *)
+ IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
+ ac_dummy="$pathtmp"
+ for ac_dir in $ac_dummy; do
+ test -z "$ac_dir" && ac_dir=.
+ if test -f $ac_dir/$ac_word; then
+ ac_cv_path_lspath="$ac_dir/$ac_word"
+ break
+ fi
+ done
+ IFS="$ac_save_ifs"
+ test -z "$ac_cv_path_lspath" && ac_cv_path_lspath="no"
+ ;;
+esac
+fi
+lspath="$ac_cv_path_lspath"
+if test -n "$lspath"; then
+ echo "$ac_t""$lspath" 1>&6
+else
+ echo "$ac_t""no" 1>&6
+fi
+
+
+if test "$lspath" != "no"; then
+ echo $ac_n "checking how to get ls to show us the group ownership of a file""... $ac_c" 1>&6
+echo "configure:1629: checking how to get ls to show us the group ownership of a file" >&5
+if eval "test \"`echo '$''{'nmh_cv_ls_grpopt'+set}'`\" = set"; then
+ echo $ac_n "(cached) $ac_c" 1>&6
+else
+ if test x"`$lspath -dl / | $AWK '{print $9}'`" = x"/"; then
+ nmh_cv_ls_grpopt="-l"
+ else
+ nmh_cv_ls_grpopt="-lg"
+ fi
+fi
+
+echo "$ac_t""$nmh_cv_ls_grpopt" 1>&6
+fi
+
+pathtmp=/usr/bin:/bin:/usr/ucb:/usr/local/bin
+# Extract the first word of "more", so it can be a program name with args.
+set dummy more; ac_word=$2
+echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
+echo "configure:1647: checking for $ac_word" >&5
+if eval "test \"`echo '$''{'ac_cv_path_morepath'+set}'`\" = set"; then
+ echo $ac_n "(cached) $ac_c" 1>&6
+else
+ case "$morepath" in
+ /*)
+ ac_cv_path_morepath="$morepath" # Let the user override the test with a path.
+ ;;
+ ?:/*)
+ ac_cv_path_morepath="$morepath" # Let the user override the test with a dos path.
+ ;;
+ *)
+ IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
+ ac_dummy="$pathtmp"
+ for ac_dir in $ac_dummy; do
+ test -z "$ac_dir" && ac_dir=.
+ if test -f $ac_dir/$ac_word; then
+ ac_cv_path_morepath="$ac_dir/$ac_word"