Gavin Smith wrote:
> AC_PATH_PROGS_FEATURE_CHECK does the job
Nice one; thanks for the lesson.
> although it is slightly complicated to use:
>
> AC_CACHE_CHECK([for awk], [ac_cv_path_TI_AWK],
> [AC_PATH_PROGS_FEATURE_CHECK([TI_AWK], [awk gawk mawk nawk],
> [[$ac_path_TI_AWK 'function foo () {}' 2>/dev/null \
> && ac_cv_path_TI_AWK=$ac_path_TI_AWK ac_path_TI_AWK_found=:]],
> [AC_MSG_ERROR([awk not found])])])
> AC_SUBST([TI_AWK], [$ac_cv_path_TI_AWK])
I confirm that, as part of 6.8.91, it fixes the problem on Solaris 11.4.
Bruno