>>>>> "Martin" == Martin Wilck <[EMAIL PROTECTED]> writes:

Martin> Sounds good to me, although test -s may be more error-proof
Martin> (?). 

You're right, I had not realized test -s was safe.

Martin> After all, a stupid compiler might create the file and than
Martin> write nothing to it (there must be some reason wehy
Martin> AC_LINK_IFELSE uses -s). Meanwhile I think there is nothing so
Martin> stupid that it couldn't be a "feature" of one or the other
Martin> Fortran compiler.

Martin> Btw, wouldn't it be smart to include "test -x" in
Martin> AC_LINK_IFELSE as well?

Not portable.  And in fact since it just checks for the executable
bit, I don't think it would really learn something to us.

Reply via email to