Ticket UUID: | 1073524 | |||
Title: | Cross build | |||
Type: | Patch | Version: | None | |
Submitter: | gniibe | Created on: | 2004-11-26 03:27:01 | |
Subsystem: | 53. Configuration and Build Tools | Assigned To: | stwo | |
Priority: | 5 Medium | Severity: | Minor | |
Status: | Open | Last Modified: | 2016-08-25 10:55:17 | |
Resolution: | Fixed | Closed By: | nobody | |
Closed on: | ||||
Description: |
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. | |||
User Comments: |
gniibe added on 2004-11-26 20:31:41:
Logged In: YES user_id=3600 I see. Thanks a lot! dkf added on 2004-11-26 20:16:38: 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. gniibe added on 2004-11-26 19:16:14: 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. dkf added on 2004-11-26 18:25:07: 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. gniibe added on 2004-11-26 10:27:01: File Added - 110139: tcl.diff |
Attachments:
- tcl.diff [download] added by gniibe on 2004-11-26 10:27:01. [details]