diff options
Diffstat (limited to 'm4/macros/save_state.m4')
-rw-r--r-- | m4/macros/save_state.m4 | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/m4/macros/save_state.m4 b/m4/macros/save_state.m4 new file mode 100644 index 0000000000000..abc7b55fb00ac --- /dev/null +++ b/m4/macros/save_state.m4 @@ -0,0 +1,13 @@ +dnl ###################################################################### +dnl AC_SAVE_STATE: save confdefs.h onto dbgcf.h and write $ac_cv_* cache +dnl variables that are known so far. +define(AMU_SAVE_STATE, +dnl AC_MSG_NOTICE(*** SAVING CONFIGURE STATE ***) +if test -f confdefs.h +then + cp confdefs.h dbgcf.h +fi +[AC_CACHE_SAVE +AC_MSG_NOTICE([*** SAVING CONFIGURE STATE ***])] +) +dnl ====================================================================== |