From 8fc604f5f0c1082885a2ed031b3abceff8b7c888 Mon Sep 17 00:00:00 2001 From: "Kelvin M. Klann" Date: Sat, 16 Jul 2022 00:39:57 -0300 Subject: build: add autoconf auto-generation comment to input files To note on the output files that they are generated and to clarify how they are generated. From the manual of GNU Autoconf (version 2.69): > -- Variable: configure_input > A comment saying that the file was generated automatically by > 'configure' and giving the name of the input file. 'AC_OUTPUT' > adds a comment line containing this variable to the top of every > makefile it creates. For other files, you should reference this > variable in a comment at the top of each input file. For > example, an input shell script should begin like this: > > #!/bin/sh > # @configure_input@ > > The presence of that line also reminds people editing the file > that it needs to be processed by 'configure' in order to be used. Resulting output on config.mk: # config.mk. Generated from config.mk.in by configure. Relates to #5140. --- config.sh.in | 1 + 1 file changed, 1 insertion(+) (limited to 'config.sh.in') diff --git a/config.sh.in b/config.sh.in index 28251b3d5..3d54ff189 100644 --- a/config.sh.in +++ b/config.sh.in @@ -1,2 +1,3 @@ +# @configure_input@ NAME=@PACKAGE_NAME@ VERSION=@PACKAGE_VERSION@ -- cgit v1.2.3-70-g09d2