]> git.tuebingen.mpg.de Git - paraslash.git/commit
build: Run tr only once in configure.ac.
authorAndre Noll <maan@systemlinux.org>
Sat, 19 Apr 2014 22:53:00 +0000 (22:53 +0000)
committerAndre Noll <maan@tuebingen.mpg.de>
Sun, 26 Oct 2014 12:15:53 +0000 (13:15 +0100)
commitaa581f6e3f8cb9e007de97c6d3f25b2ff9b6533d
tree68b71e0ed8199fb5a4f1c1090375044ea502e10b
parentf86c85621071765aeca3c734300882a704304b12
build: Run tr only once in configure.ac.

The configure script creates the subsystem error enums for config.h
from the list of object file names by turning the base name into
upper case and prepending "SS_". For the conversion to upper case we
currently execute the tr command once for each object.

This patch changes the corresponding shell code of configure.ac to
first build the full enum and then turn all words into upper case
in one go. This way tr is only executed once which should save us a
few cycles.
configure.ac