Issue 36214: AC_RUN_IFELSE macros not used as arguments of AC_CACHE_VAL et al (original) (raw)

When the AC_RUN_IFELSE macro is used as the 'COMMANDS-TO-SET-IT' argument of the AC_CACHE_VAL or AC_CACHE_CHECK macros, it is possible to override the last argument of AC_RUN_IFELSE that is used when cross-compiling and set the variable with a cached value instead.

The determination of the following variables in configure.ac does not follow this mechanism (does not use AC_CACHE_VAL et al):

ac_osx_32bit, ac_cv_x87_double_rounding, have_glibc_memmove_bug, have_ipa_pure_const_bug

This should be changed except for the cases where cross-compilation does not make sense.