To cross build tcl package, following patch improve
situation.
In general configure scheme, we can override and skip
test with configure cache file. It is very useful for
cross build, where we the test of AC_TRY_RUN cannot
execute (because of build != host).
In tcl's unix configure, there are three check, where this
override doesn't work.
I think that any AC_TRY_RUN should be enclosed with
AC_CACHE_VAL for cross build.
Patch to unix/configure.in
Logged In: YES
user_id=79902
I've updated configure.in to wrap AC_CACHE_VAL round
AC_TRY_RUN, but I've done it in terms of a separate macro.
I've not got the "official" version of autoconf (I'm a
couple of versions later), so the changes have not been
rolled into the actual 'configure' script itself, but it all
works for me now and this can be closed once the regen is done.
Logged In: YES
user_id=3600
To dkf:
Do you mean your changes of following?
http://cvs.sourceforge.net/viewcvs.py/tcl/tcl/unix/tcl.m4?r1=1.76&r2=1.77&only_with_tag=MAIN
Please look at my diff, it handles other cases.
Logged In: YES
user_id=79902
I'm actually referring to the changes in
http://cvs.sourceforge.net/viewcvs.py/tcl/tcl/unix/tcl.m4?r1=1.131&r2=1.132
http://cvs.sourceforge.net/viewcvs.py/tcl/tcl/unix/configure.in?r1=1.122&r2=1.123
These are just cleaned up easy-to-use cases of what you suggest.
Logged In: YES
user_id=3600
I see. Thanks a lot!