]> git.ipfire.org Git - thirdparty/coreutils.git/commit
b2sum: port to HP-UX aCC
authorPaul Eggert <eggert@cs.ucla.edu>
Wed, 15 May 2019 19:42:23 +0000 (12:42 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Wed, 15 May 2019 19:42:58 +0000 (12:42 -0700)
commit5f261e239f4cdeb0b091228dc62f10fd5e9a9991
tree34d46cec67c57a616c40044d962c7ea623548582
parent5b96efab90bd7312e6c4195fc056e2a6e664a380
b2sum: port to HP-UX aCC

Its support for the -include option is flaky.  Problem reported by
Michael Osipov (Bug#35650).  Plus, we could run into other
compilers that don’t support any option like -include.  Change the
code so that -include is not needed.  Although this causes us to
depart from the upstream version, we’re already doing that for
other reasons.
* configure.ac (USE_XLC_INCLUDE): Remove, as there’s no
guarantee a compiler will support something like -include.
* src/blake2/b2sum.c [HAVE_CONFIG_H]: Include <config.h>.
* src/local.mk (src_b2sum_CPPFLAGS): Add -DHAVE_CONFIG_H.
Do not use -include or a substitute.
configure.ac
src/blake2/b2sum.c
src/local.mk