Subject: | check_prog does not distinguish between directories and files |
I have /usr/bin/flex and ~/bin/flex
~/bin occurs in PATH before /usr/bin
~/bin/flex is a directory, not a file.
Config::AutoConf's "check_prog" tries to use ~/bin/flex as flex instead of /usr/bin/flex, because it only checks -x and not -f
The shell (and "which") both check -f, so flex works properly when executed.
--
rjbs