build: Replace seq for portability with GNU Make variant
commit319aef8d2fde32be5cfed99f321c7f90e33d1f1d
authorJakub Jelinek <jakub@redhat.com>
Sat, 6 May 2023 00:32:17 +0000 (6 02:32 +0200)
committerJakub Jelinek <jakub@redhat.com>
Sat, 6 May 2023 00:32:17 +0000 (6 02:32 +0200)
tree07608ae51fb4c2f0c53ca837cd6f5f9990ff9582
parent2ab31cde21d900ed4f3570288378e031ea475be7
build: Replace seq for portability with GNU Make variant

Some hosts like AIX don't have seq command, this patch replaces it
with something that uses just GNU make features we've been using
for this already before for the parallel make check.

2023-05-06  Jakub Jelinek  <jakub@redhat.com>

* Makefile.in (check_p_numbers): Rename to one_to_9999, move
earlier with helper variables also renamed.
(MATCH_SPLUT_SEQ): Use $(wordlist 1,$(NUM_MATCH_SPLITS),$(one_to_9999))
instead of $(shell seq 1 $(NUM_MATCH_SPLITS)).
(check_p_subdirs): Use $(one_to_9999) instead of $(check_p_numbers).
gcc/Makefile.in