-AC_SUBST(LINT)dnl
-AC_SUBST(LINTFLAGS)dnl
-
-dnl try to figure out which one we've got
-AC_CHECK_PROG(LIBTOOL, libtool, libtool, , [$pathtmp])
-NMH_PROG_GNU_LIBTOOL
-
-dnl Check for lorder and tsort commands
-AC_CHECK_PROG(LORDER, lorder, lorder, no)dnl
-AC_CHECK_PROG(TSORT, tsort, tsort, no)dnl
-
-dnl If either doesn't exist, replace them with echo and cat
-if test x$ac_cv_prog_LORDER != xlorder -o x$ac_cv_prog_TSORT != xtsort; then
- LORDER=echo
- TSORT=cat
- AC_SUBST(LORDER)dnl
- AC_SUBST(TSORT)dnl
-dnl Mac OS X has lorder, but sh is too broken for it to work
-dnl elif test -z "`lorder config/config.c 2>&1 | grep config/config.c`" ; then
-dnl LORDER=echo
-dnl TSORT=cat
-dnl AC_SUBST(LORDER)dnl
-dnl AC_SUBST(TSORT)dnl
-fi
-
-dnl Check whether tsort can deal with loops
-AC_CACHE_CHECK(whether tsort can deal with loops, nmh_cv_tsort_loop,
- [if test -z "`echo a b b a | tsort 2>/dev/null | grep a`" ; then
- nmh_cv_tsort_loop=no
- else
- nmh_cv_tsort_loop=yes
- fi])
-if test x$nmh_cv_tsort_loop = xno ; then
- LORDER=echo
- TSORT=cat
- AC_SUBST(LORDER)dnl
- AC_SUBST(TSORT)dnl
-fi