Signed-off-by: Jens Axboe <axboe@kernel.dk>
echo >> config.log
echo "#" >> 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
do_cc() {
# Run the compiler, capturing its output to the log.
echo $cc "$@" >> config.log