1
0
mirror of https://git.savannah.gnu.org/git/gperf.git synced 2025-12-02 13:09:22 +00:00

Add support for reproducible builds.

Suggested by Richard Purdie <richard.purdie@linuxfoundation.org> in
<https://lists.gnu.org/archive/html/bug-gperf/2022-07/msg00000.html>.

* autogen.sh: Import also lib/filename.h.
* Makefile.in (IMPORTED_FILES): Add lib/filename.h.
* src/options.cc: Include filename.h.
(Options::print_options): Print only the base name of the program name.
* tests/*.exp: Update.
This commit is contained in:
Bruno Haible
2022-07-05 07:51:46 +02:00
parent 4a6274f6ca
commit 1862c6e57a
19 changed files with 44 additions and 17 deletions

View File

@@ -1,5 +1,5 @@
/* C code produced by gperf version 3.2 */
/* Command-line: ../src/gperf -L C -F ', 0, 0' -j1 -i 1 -g -o -t -G -N is_reserved_word -k'1,3,$' */
/* Command-line: gperf -L C -F ', 0, 0' -j1 -i 1 -g -o -t -G -N is_reserved_word -k'1,3,$' */
#if !((' ' == 32) && ('!' == 33) && ('"' == 34) && ('#' == 35) \
&& ('%' == 37) && ('&' == 38) && ('\'' == 39) && ('(' == 40) \

View File

@@ -1,5 +1,5 @@
/* ANSI-C code produced by gperf version 3.2 */
/* Command-line: ../src/gperf -C -E -G -I -t */
/* Command-line: gperf -C -E -G -I -t */
/* Computed positions: -k'1-11,22,$' */
#if !((' ' == 32) && ('!' == 33) && ('"' == 34) && ('#' == 35) \

View File

@@ -1,5 +1,5 @@
/* C code produced by gperf version 3.2 */
/* Command-line: ../src/gperf -L C -F ', 0, 0, 0' -D -E -S1 -j1 -i 1 -g -o -t -k'*' */
/* Command-line: gperf -L C -F ', 0, 0, 0' -D -E -S1 -j1 -i 1 -g -o -t -k'*' */
#if !((' ' == 32) && ('!' == 33) && ('"' == 34) && ('#' == 35) \
&& ('%' == 37) && ('&' == 38) && ('\'' == 39) && ('(' == 40) \

View File

@@ -1,5 +1,5 @@
/* C code produced by gperf version 3.2 */
/* Command-line: ../src/gperf -L C -F ', 0, 0' -j1 -g -o -t -N is_reserved_word -k'1,4,7,$' */
/* Command-line: gperf -L C -F ', 0, 0' -j1 -g -o -t -N is_reserved_word -k'1,4,7,$' */
#if !((' ' == 32) && ('!' == 33) && ('"' == 34) && ('#' == 35) \
&& ('%' == 37) && ('&' == 38) && ('\'' == 39) && ('(' == 40) \

View File

@@ -1,5 +1,5 @@
/* ANSI-C code produced by gperf version 3.2 */
/* Command-line: ../src/gperf -g -o -j1 -t -N is_reserved_word */
/* Command-line: gperf -g -o -j1 -t -N is_reserved_word */
/* Computed positions: -k'1,$' */
#if !((' ' == 32) && ('!' == 33) && ('"' == 34) && ('#' == 35) \

View File

@@ -1,5 +1,5 @@
/* ANSI-C code produced by gperf version 3.2 */
/* Command-line: ../src/gperf -t */
/* Command-line: gperf -t */
/* Computed positions: -k'1,3' */
#if !((' ' == 32) && ('!' == 33) && ('"' == 34) && ('#' == 35) \

View File

@@ -1,5 +1,5 @@
/* C code produced by gperf version 3.2 */
/* Command-line: ../src/gperf -L C -F ', 0' -t -j1 -i 1 -g -o -N java_keyword -k'1,3,$' */
/* Command-line: gperf -L C -F ', 0' -t -j1 -i 1 -g -o -N java_keyword -k'1,3,$' */
#if !((' ' == 32) && ('!' == 33) && ('"' == 34) && ('#' == 35) \
&& ('%' == 37) && ('&' == 38) && ('\'' == 39) && ('(' == 40) \

View File

@@ -1,5 +1,5 @@
/* ANSI-C code produced by gperf version 3.2 */
/* Command-line: ../src/gperf -C -E -G -I -t */
/* Command-line: gperf -C -E -G -I -t */
/* Computed positions: -k'1-3,5,$' */
#if !((' ' == 32) && ('!' == 33) && ('"' == 34) && ('#' == 35) \

View File

@@ -1,5 +1,5 @@
/* ANSI-C code produced by gperf version 3.2 */
/* Command-line: ../src/gperf -n -k1-8 -l */
/* Command-line: gperf -n -k1-8 -l */
#if !((' ' == 32) && ('!' == 33) && ('"' == 34) && ('#' == 35) \
&& ('%' == 37) && ('&' == 38) && ('\'' == 39) && ('(' == 40) \

View File

@@ -1,5 +1,5 @@
/* ANSI-C code produced by gperf version 3.2 */
/* Command-line: ../src/gperf -j1 -i 1 -g -o -t -N is_reserved_word -k'1,3,$' */
/* Command-line: gperf -j1 -i 1 -g -o -t -N is_reserved_word -k'1,3,$' */
#if !((' ' == 32) && ('!' == 33) && ('"' == 34) && ('#' == 35) \
&& ('%' == 37) && ('&' == 38) && ('\'' == 39) && ('(' == 40) \

View File

@@ -1,5 +1,5 @@
/* ANSI-C code produced by gperf version 3.2 */
/* Command-line: ../src/gperf -m5 */
/* Command-line: gperf -m5 */
/* Computed positions: -k'1-2' */
#if !((' ' == 32) && ('!' == 33) && ('"' == 34) && ('#' == 35) \

View File

@@ -1,5 +1,5 @@
/* ANSI-C code produced by gperf version 3.2 */
/* Command-line: ../src/gperf -m5 */
/* Command-line: gperf -m5 */
/* Computed positions: -k'1-2' */
#if !((' ' == 32) && ('!' == 33) && ('"' == 34) && ('#' == 35) \

View File

@@ -1,5 +1,5 @@
/* ANSI-C code produced by gperf version 3.2 */
/* Command-line: ../src/gperf -m5 --ignore-case */
/* Command-line: gperf -m5 --ignore-case */
/* Computed positions: -k'1-2' */
#if !((' ' == 32) && ('!' == 33) && ('"' == 34) && ('#' == 35) \

View File

@@ -1,5 +1,5 @@
/* ANSI-C code produced by gperf version 3.2 */
/* Command-line: ../src/gperf -D -t -k'1,$' */
/* Command-line: gperf -D -t -k'1,$' */
#if !((' ' == 32) && ('!' == 33) && ('"' == 34) && ('#' == 35) \
&& ('%' == 37) && ('&' == 38) && ('\'' == 39) && ('(' == 40) \