# HG changeset patch # User ihse # Date 1425892906 -3600 # Node ID 045eace96e6d0e50846b36583b155988cd4558b2 # Parent 8c6fc91495b9286f66510cb7ff20a5847e4aeaca 8074554: Create custom hook for running after AC_OUTPUT Reviewed-by: erikj diff -r 8c6fc91495b9 -r 045eace96e6d common/autoconf/configure.ac --- a/common/autoconf/configure.ac Tue Mar 03 11:51:15 2015 +0100 +++ b/common/autoconf/configure.ac Mon Mar 09 10:21:46 2015 +0100 @@ -53,6 +53,7 @@ AC_DEFUN_ONCE([CUSTOM_EARLY_HOOK]) AC_DEFUN_ONCE([CUSTOM_LATE_HOOK]) +AC_DEFUN_ONCE([CUSTOM_CONFIG_OUTPUT_GENERATED_HOOK]) # This line needs to be here, verbatim, after all includes and the dummy hook # definitions. It is replaced with custom functionality when building @@ -237,6 +238,7 @@ # Create the actual output files. Now the main work of configure is done. AC_OUTPUT +CUSTOM_CONFIG_OUTPUT_GENERATED_HOOK # Try to move the config.log file to the output directory. if test -e ./config.log; then diff -r 8c6fc91495b9 -r 045eace96e6d common/autoconf/generated-configure.sh --- a/common/autoconf/generated-configure.sh Tue Mar 03 11:51:15 2015 +0100 +++ b/common/autoconf/generated-configure.sh Mon Mar 09 10:21:46 2015 +0100 @@ -3871,13 +3871,14 @@ + # This line needs to be here, verbatim, after all includes and the dummy hook # definitions. It is replaced with custom functionality when building # custom sources. #CUSTOM_AUTOCONF_INCLUDE # Do not change or remove the following line, it is needed for consistency checks: -DATE_WHEN_GENERATED=1425379745 +DATE_WHEN_GENERATED=1425892875 ############################################################################### # @@ -37467,6 +37468,7 @@ fi + # Try to move the config.log file to the output directory. if test -e ./config.log; then $MV -f ./config.log "$OUTPUT_ROOT/config.log" 2> /dev/null