Ticket #1959 (closed defect: fixed)

Opened 15 years ago

Last modified 14 years ago

AC_TRY_RUN crosscompile break

Reported by: metux Owned by: slavazanko
Priority: major Milestone: 4.7.3
Component: mc-core Version: master
Keywords: Cc: weigelt@…
Blocked By: Blocking:
Branch state: Votes for changeset: committed-master committed-stable

Description

We have several AC_TRY_RUN's in the configure/m4 stuff,
which obviously breaks crosscompiling.

The slang check (mc-with-screen.m4) should be easy to fix
(even it would be better if slang folks would provide an
proper .pc file ;-o).

But the DEC/OSF1 specific stuff (ac-get-fs-info.m4) is a
bit tricker (does anyone here have access to such a box ?).

Maybe the whole fsusage/mountlist issue should be moved
to some separate package (eg. in the stdc-pkgconfig packge).

Change History

comment:1 in reply to: ↑ description ; follow-up: ↓ 2 Changed 15 years ago by andrew_b

Replying to metux:

The slang check (mc-with-screen.m4) should be easy to fix
(even it would be better if slang folks would provide an
proper .pc file ;-o).

Ask them.

comment:2 in reply to: ↑ 1 Changed 15 years ago by andrew_b

Replying to andrew_b:

Replying to metux:

The slang check (mc-with-screen.m4) should be easy to fix
(even it would be better if slang folks would provide an
proper .pc file ;-o).

Ask them.

$ svn log autoconf/slangpc.in 
------------------------------------------------------------------------
r366 | jedsoft | 2009-08-28 07:15:36 +0000 (Птн, 28 Авг 2009) | 6 lines

slang pre2.2.1 changes 9-10
9. doc/tm/rtl/math.tm: Updated the help for set_float_format and added
   documentation for the get_float_format function.
10. autoconf/slangpc.in: Added URL and Libs.private entries to the
    slang.pc pkg-config file.

------------------------------------------------------------------------
r365 | jedsoft | 2009-08-22 05:45:01 +0000 (Сбт, 22 Авг 2009) | 4 lines

slang pre2.2.1 change 8
8. configure: Added pkg-config support (based upon a debian patch sent
   to me by Luca Bigliardi).

------------------------------------------------------------------------

comment:3 Changed 15 years ago by metux

my current slang (on gentoo) does not provide an .pc file :(

comment:4 Changed 15 years ago by slavazanko

  • Owner set to slavazanko
  • Status changed from new to accepted

comment:5 Changed 15 years ago by slavazanko

  • Keywords stable-candidate added
  • severity changed from no branch to on review
  • Milestone changed from 4.7 to 4.7.2

Created branch 1959_cross_compile (parent: master)

Changesets:

Also, file m4.include/ac-get-fs-info.m4 have a lot of AC_TRY_RUN() calls... but I'm don't sure that need to remove this (see http://www.schnarff.com/gnutelladev/source/gnut/gnut-0.4.21/macros/gnome-fileutils.m4 as cross-compiling example).

Review, please

comment:6 Changed 15 years ago by metux

rebased to current master.

comment:7 Changed 15 years ago by slavazanko

  • severity changed from on review to on rework

Need to rewrite man2hlp (or learn how compile it with host-target compiler, not with build-target compiler)

comment:8 Changed 15 years ago by slavazanko

  • severity changed from on rework to on review

Need to rewrite man2hlp (or learn how compile it with host-target compiler, not with build-target compiler)

Present ticket #45 for this.

Now please review.

comment:9 Changed 15 years ago by andrew_b

  • Votes for changeset set to andrew_b

comment:10 Changed 15 years ago by angel_il

  • Votes for changeset changed from andrew_b to andrew_b angel_il
  • severity changed from on review to approved

comment:11 Changed 14 years ago by slavazanko

  • Status changed from accepted to testing
  • Votes for changeset changed from andrew_b angel_il to commited-master
  • Resolution set to fixed
  • severity changed from approved to merged

comment:12 Changed 14 years ago by slavazanko

  • Status changed from testing to closed

cherry-picked in stable: 23ab3ea024e39020f47e8c645c5b895acca1bfdc

comment:13 Changed 14 years ago by slavazanko

  • Votes for changeset changed from commited-master to commited-master committed-stable

comment:14 Changed 14 years ago by slavazanko

  • Keywords stable-candidate removed

comment:15 Changed 14 years ago by slavazanko

  • Status changed from closed to reopened
  • Resolution fixed deleted

Have a trouble with newest versions of slang with slang.pc file. Need to fix.

comment:16 Changed 14 years ago by slavazanko

  • Status changed from reopened to accepted
  • Keywords stable-candidate added
  • Votes for changeset commited-master committed-stable deleted
  • severity changed from merged to on review

Created branch 1959_postfixies

Changesets:

Review, please.

comment:17 Changed 14 years ago by andrew_b

  • Votes for changeset set to andrew_b

comment:18 Changed 14 years ago by andrew_b

  • Milestone changed from 4.7.2 to 4.7.3

comment:19 Changed 14 years ago by angel_il

  • Votes for changeset changed from andrew_b to andrew_b angel_il

comment:20 Changed 14 years ago by angel_il

  • severity changed from on review to approved

comment:21 Changed 14 years ago by slavazanko

  • Keywords stable-candidate removed
  • Votes for changeset changed from andrew_b angel_il to committed-master committed-stable
  • severity changed from approved to merged

comment:22 Changed 14 years ago by slavazanko

  • Status changed from accepted to testing
  • Resolution set to fixed

comment:23 Changed 14 years ago by slavazanko

  • Status changed from testing to closed
Note: See TracTickets for help on using tickets.