> Date: Thu, 20 Jan 2005 12:35:08 +0100
> From: Stepan Kasal <[EMAIL PROTECTED]>
> Cc: Eric Blake <[EMAIL PROTECTED]>, [email protected], [email protected]
> 
> The trick is that AC_CHECK_PROG contains the following code:
> 
> for ac_exec_ext in '' $ac_executable_extensions; do
>   if AS_EXECUTABLE_P(["$as_dir/$ac_word$ac_exec_ext"]); then
> 
> thus we eventually get to
> 
>       test -f tex.exe && test -x tex.exe
> 
> which succeeds.

This will work, but is redundant: it's enough to test for tex.exe,
since it's always executable on MS systems.

> Perhaps texi2dvi could use
> 
>       test -x tex && ! test -d tex

This is better, I think.


_______________________________________________
Autoconf mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/autoconf

Reply via email to