Author: biurrun Date: Sat Nov 7 21:30:31 2009 New Revision: 1576 Log: Replace all AC_CACHE_CHECK instances by a combination of AC_MSG_CHECKING and AC_MSG_RESULT. The configuration caching infrastructure is said to be fragile, so it's best not to rely on it. In this case there is no benefit from caching anyway. Modified: trunk/configure.ac Modified: trunk/configure.ac ============================================================================== --- trunk/configure.ac Sat Nov 7 20:49:16 2009 (r1575) +++ trunk/configure.ac Sat Nov 7 21:30:31 2009 (r1576) @@ -46,8 +46,8 @@ [enable debug mode (default=yes)]), [ac_cv_use_debug=$enableval], [ac_cv_use_debug=yes]) -AC_CACHE_CHECK([whether to have verbose debug], - [ac_cv_use_debug], [ac_cv_use_debug=yes]) +AC_MSG_CHECKING([whether to have verbose debug]) +AC_MSG_RESULT([$ac_cv_use_debug]) if test x"$enable_debug" = x"yes"; then AC_DEFINE(CONFIG_PISA_DEBUG) AH_TEMPLATE(CONFIG_PISA_DEBUG) @@ -58,8 +58,8 @@ [Performance measurement support (default=no)]), [ac_cv_use_performance=$enableval], [ac_cv_use_performance=no]) -AC_CACHE_CHECK([whether to use performance measurement], - [ac_cv_use_performance], [ac_cv_use_performance=no]) +AC_MSG_CHECKING([whether to use performance measurement]) +AC_MSG_RESULT([$ac_cv_use_performance]) if test x"$enable_performance" = x"yes"; then AC_DEFINE(CONFIG_PISA_PERFORMANCE) AH_TEMPLATE(CONFIG_PISA_PERFORMANCE) @@ -71,8 +71,8 @@ [Logging (default=no)]), [ac_cv_use_logging=$enableval], [ac_cv_use_logging=no]) -AC_CACHE_CHECK([whether to use logging], - [ac_cv_use_logging], [ac_cv_use_logging=no]) +AC_MSG_CHECKING([whether to use logging]) +AC_MSG_RESULT([$ac_cv_use_logging]) if test x"$enable_logging" = x"yes"; then AC_DEFINE(CONFIG_PISA_LOGGING) AH_TEMPLATE(CONFIG_PISA_LOGGING) @@ -84,8 +84,8 @@ [enable building of OpenWRT supporting parts (default=no)]), [ac_cv_use_openwrt=$enableval], [ac_cv_use_openwrt=no]) -AC_CACHE_CHECK([whether to use OpenWRT], - [ac_cv_use_openwrt], [ac_cv_use_openwrt=no]) +AC_MSG_CHECKING([whether to use OpenWRT]) +AC_MSG_RESULT([$ac_cv_use_openwrt]) if test x"$enable_openwrt" = x"yes"; then AC_DEFINE(CONFIG_PISA_OPENWRT) AH_TEMPLATE(CONFIG_PISA_OPENWRT)