Opened 12 years ago

Closed 12 years ago

#387 closed enhancement (invalid)

allow to disable configure run-time checks

Reported by: Peter Owned by: Jari Häkkinen
Priority: trivial Milestone:
Component: build Version: trunk
Keywords: Cc:

Description

We have a couple of run-time checks in configure, for instance:

# At run-time, but this has the disadvantage that yat cannot be built  
# for cross-compilation
AC_MSG_CHECKING([if std::numeric_limits<>::has_quiet_NaN is true])
AC_RUN_IFELSE(

We could have an option in configure to disable these tests and thereby allow cross-compiling. GSL does this in gsl.m4 and we have an configure option:

--disable-gsltest       Do not try to compile and run a test GSL program

Change History (1)

comment:1 Changed 12 years ago by Peter

Milestone: yat 0.x+
Resolution: invalid
Status: newclosed

We no longer have runtime tests when cross-compiling but fall back to compilation tests.

Note: See TracTickets for help on using tickets.