@@ -13,15 +13,16 @@ m4_pattern_forbid([^BUILDINFO_SETUP])dnl
1313dnl
1414AC_DEFUN ( [ BUILDINFO_SETUP] , [ dnl
1515dnl AC_MSG_NOTICE ( [ BEGIN ] [ [ $0 ] ] )
16- cat>auto- buildinfo.msg <<EOF
16+ cat>buildinfo-summary.txt <<EOF
1717
18- AUTO-BUILDINFO
19- ============
18+ Configuration summary:
19+ ----------------------
2020
2121EOF
22- cat>auto-buildinfo.c<<EOF
23- /* auto-buildinfo.c - DO NOT MODIFY THIS FILE! */
24- /* This include file auto-buildinfo.c is AUTOGENERATED by configure. */
22+ cat>buildinfo-include.c<<EOF
23+ /* buildinfo-include.c - DO NOT MODIFY THIS FILE! */
24+ /* This include file buildinfo-include.c is AUTOGENERATED by configure. */
25+ /* This file is meant to be \#include'ed, but is not a header file. */
2526EOF
2627dnl AC_MSG_NOTICE ( [ END ] [ [ $0 ] ] )
2728] ) dnl
3637AC_DEFUN ( [ BUILDINFO_ITEM] , [ dnl
3738dnl AC_MSG_NOTICE ( [ BEGIN ] [ [ $0 ] ] )
3839AC_REQUIRE ( [ BUILDINFO_SETUP] )
39- printf " * %-15s %s\n" "$1 :" "$2 " >> auto- buildinfo.msg
40- printf " {\"AUTO-BUILDINFO %s\", \"%s\"},\n" "$1 " "$2 " >> auto- buildinfo.c
40+ printf " * %-15s %s\n" "$1 :" "$2 " >> buildinfo-summary.txt
41+ printf " {\"AUTO-BUILDINFO %s\", \"%s\"},\n" "$1 " "$2 " >> buildinfo-include .c
4142dnl AC_MSG_NOTICE ( [ END ] [ [ $0 ] ] )
4243] ) dnl
4344dnl
5152AC_DEFUN ( [ BUILDINFO_OUTPUT] , [ dnl
5253dnl AC_MSG_NOTICE ( [ BEGIN ] [ [ $0 ] ] )
5354AC_REQUIRE ( [ BUILDINFO_SETUP] )
54- cat>>auto- buildinfo.msg <<EOF
55+ cat>>buildinfo-summary.txt <<EOF
5556
5657EOF
57- cat>>auto- buildinfo.c<<EOF
58- /* end of auto- buildinfo.c */
58+ cat>>buildinfo-include .c<<EOF
59+ /* end of buildinfo-include .c */
5960EOF
6061dnl AC_MSG_NOTICE ( [ END ] [ [ $0 ] ] )
6162
62- cat auto- buildinfo.msg
63+ cat buildinfo-summary.txt
6364] ) dnl
6465dnl
6566dnl ####################################################################
0 commit comments