Opened 15 years ago
Closed 15 years ago
#388 closed enhancement (fixed)
use fifth argument [action-if-cross-compiling] in AC_RUN_IF_ELSE
Reported by: | Peter | Owned by: | Jari Häkkinen |
---|---|---|---|
Priority: | trivial | Milestone: | yat 0.5 |
Component: | build | Version: | trunk |
Keywords: | Cc: |
Description
We use macro AC_RUN_IF_ELSE twice in configure.ac to test for quiet_NaN and infinity with a comment
# At run-time, but this has the disadvantage that yat cannot be built # for cross-compilation
However, there is a fifth argument available in the macro to be used when $cross_compiling=yes
. I wonder if it wouldn't make sense to use this argument and fall back on compilation tests when cross compiling. For instance, for quiet_NaN there is already a compilation test checking if
std::numeric_limits<double>::quiet_NaN()
is available.
For more info see Autoconf Manual
Change History (1)
comment:1 Changed 15 years ago by
Milestone: | yat 0.x+ → yat 0.5 |
---|---|
Resolution: | → fixed |
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
fixed in [1358]