]> Savannah Git Hosting - gnulib.git/commit
stdbit: don’t assume -DHAVE_CONFIG_H
authorPaul Eggert <eggert@cs.ucla.edu>
Sun, 12 May 2024 05:30:50 +0000 (22:30 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Sun, 12 May 2024 05:31:19 +0000 (22:31 -0700)
commit4312df511a7488992d51739654f1fa07492de88f
tree20c3e7ca15ff71e0290731c7502ffe98530d3431
parent6c3614c1f3147e85ffcdf12bb9510f55064159c2
stdbit: don’t assume -DHAVE_CONFIG_H

This is needed for diffutils, which doesn’t define HAVE_CONFIG_H.
There needs to be some way for a test shared with glibc to discover
whether it should use the Gnulib or the glibc testing framework,
and I guess this is it.
* modules/stdbit-tests (GNULIB_TEST_STDBIT): Define.
* tests/tst-stdbit.h: Use GNULIB_TEST_STDBIT, not HAVE_CONFIG_H.
ChangeLog
modules/stdbit-tests
tests/tst-stdbit.h