>>>>> "Lars" == Lars J Aas <[EMAIL PROTECTED]> writes:
Lars> Note that the above described "-e" option is a completely
Lars> different option from the "-ef" option. When finding the
Lars> exeext, I also believe it is unproblematic to do so on the build
Lars> system, regardless of whether you cross-compile or not... The
Lars> question still remains; is the "-ef" option universally
Lars> supported?
Thanks Lars, I completely missed this point. I really read `-ef' as
`-e -f', which makes no sense anyway :)
Now with your remark in mind, given the snippet which uses it
+ if test conftest -ef conftest.exe; then
+ # Prefer .exe over empty suffix.
+ ac_cv_exeext=.exe
+ else
+ ac_cv_exeext=
+ fi
I think it is OK to use it, since the fall back is TRT. The only
problem is with error messages from test, so I'd propose:
+ if (test conftest -ef conftest.exe) >/dev/null 2>&1; then
+ # Prefer .exe over empty suffix.
+ ac_cv_exeext=.exe
+ else
+ ac_cv_exeext=
+ fi