From: Jens Axboe Date: Fri, 25 Jan 2013 15:52:28 +0000 (-0700) Subject: configure: add configure header to config-host.h X-Git-Tag: fio-2.0.14~74 X-Git-Url: https://git.kernel.dk/?p=fio.git;a=commitdiff_plain;h=7560fe7c80e5a402310907d7d6c187b6a2ab36d8;hp=4feafb1e7864b736e1bfe83fe185fbba933b1c60 configure: add configure header to config-host.h Signed-off-by: Jens Axboe --- diff --git a/configure b/configure index 0a404d00..cc4bdeb9 100755 --- a/configure +++ b/configure @@ -39,6 +39,14 @@ printf " '%s'" "$0" "$@" >> config.log echo >> config.log echo "#" >> config.log +# Print configure header at the top of $config_host_h +echo "/*" > $config_host_h +echo " * Automatically generated by configure - do not modify" >> $config_host_h +printf " * Configured with:" >> $config_host_h +printf " * '%s'" "$0" "$@" >> $config_host_h +echo "" >> $config_host_h +echo " */" >> $config_host_h + do_cc() { # Run the compiler, capturing its output to the log. echo $cc "$@" >> config.log