Re: inconsistent seach orders in AC_PATH_PROGS vs AC_PATH_PROGS_FEATURE_CHECK

2020-09-10 Thread Zack Weinberg
On Thu, Sep 10, 2020 at 7:23 AM wrote: > > One expects that the macro AC_PATH_PROGS_FEATURE_CHECK > traverses the list of programs in its 2nd argument > in the same way as AC_PATH_PROGS, > i.e. the outermost loop is over the list of programs. > > But in AC_PATH_PROGS_FEATURE_CHECK the outer loop

inconsistent seach orders in AC_PATH_PROGS vs AC_PATH_PROGS_FEATURE_CHECK

2020-09-10 Thread dmitrii . pasechnik
One expects that the macro AC_PATH_PROGS_FEATURE_CHECK traverses the list of programs in its 2nd argument in the same way as AC_PATH_PROGS, i.e. the outermost loop is over the list of programs. But in AC_PATH_PROGS_FEATURE_CHECK the outer loop is over the PATH entries, making it in general impos