Mon, 09 Mar 2015 10:21:46 +0100
8074554: Create custom hook for running after AC_OUTPUT
Reviewed-by: erikj
common/autoconf/configure.ac | file | annotate | diff | comparison | revisions | |
common/autoconf/generated-configure.sh | file | annotate | diff | comparison | revisions |
1.1 --- a/common/autoconf/configure.ac Tue Mar 03 11:51:15 2015 +0100 1.2 +++ b/common/autoconf/configure.ac Mon Mar 09 10:21:46 2015 +0100 1.3 @@ -53,6 +53,7 @@ 1.4 1.5 AC_DEFUN_ONCE([CUSTOM_EARLY_HOOK]) 1.6 AC_DEFUN_ONCE([CUSTOM_LATE_HOOK]) 1.7 +AC_DEFUN_ONCE([CUSTOM_CONFIG_OUTPUT_GENERATED_HOOK]) 1.8 1.9 # This line needs to be here, verbatim, after all includes and the dummy hook 1.10 # definitions. It is replaced with custom functionality when building 1.11 @@ -237,6 +238,7 @@ 1.12 1.13 # Create the actual output files. Now the main work of configure is done. 1.14 AC_OUTPUT 1.15 +CUSTOM_CONFIG_OUTPUT_GENERATED_HOOK 1.16 1.17 # Try to move the config.log file to the output directory. 1.18 if test -e ./config.log; then
2.1 --- a/common/autoconf/generated-configure.sh Tue Mar 03 11:51:15 2015 +0100 2.2 +++ b/common/autoconf/generated-configure.sh Mon Mar 09 10:21:46 2015 +0100 2.3 @@ -3871,13 +3871,14 @@ 2.4 2.5 2.6 2.7 + 2.8 # This line needs to be here, verbatim, after all includes and the dummy hook 2.9 # definitions. It is replaced with custom functionality when building 2.10 # custom sources. 2.11 #CUSTOM_AUTOCONF_INCLUDE 2.12 2.13 # Do not change or remove the following line, it is needed for consistency checks: 2.14 -DATE_WHEN_GENERATED=1425379745 2.15 +DATE_WHEN_GENERATED=1425892875 2.16 2.17 ############################################################################### 2.18 # 2.19 @@ -37467,6 +37468,7 @@ 2.20 fi 2.21 2.22 2.23 + 2.24 # Try to move the config.log file to the output directory. 2.25 if test -e ./config.log; then 2.26 $MV -f ./config.log "$OUTPUT_ROOT/config.log" 2> /dev/null