>>>>> "R�diger" == R�diger Kuhlmann <[EMAIL PROTECTED]> 
>writes:

R�diger> So we need something like AC_MSG_CROSS_WARN that basically
R�diger> does _AC_ECHO_N([[CROSS] ]) _AC_ECHO_N([[CROSS] ],
R�diger> AS_MESSAGE_LOG_FD) and maybe outputs a warning at the end of
R�diger> configure, that some values needed to be guessed due to
R�diger> cross-compiling?

Internally we can just

if $cross_compiling = yes; then
  AC_MSG_WARN()
fi

I agree some AC_CROSS_COMPILING_IFELSE would be nice.

R�diger> Having a global marker one can look for in config.log would
R�diger> ease cross-compiling, as nowadays everybody does it his
R�diger> way. Maybe AC_MSG_CROSS_WARN could also output to config.log,
R�diger> which cache value would have to be set.

I don't know, I'm trying to keep the API as small as possible.

R�diger> Anyway, if you want me to let this test just fail instead,
R�diger> just tell me.

That's what the other tests do.  But I never cross compiled, so I just
don't know what the best behavior would be.

Reply via email to