Martin Wilck <[EMAIL PROTECTED]> writes:
> Is it ok for autoconf tests to create a C test program such as this
> 
> if ( <result of some test in C> == <expected result> ) 
>    exit (0);
> else
>    exit (1);
> 
> and check the exit status with AC_TRY_RUN, or may this fail on some
> systems?

This will obviously fail when cross-compiling, so you should
preferably try to this in some way that doesn't require figuring
things out by run-time.  If you cannot, I don't see anything wrong
with your test.

/assar

Reply via email to