mirror of
https://https.git.savannah.gnu.org/git/gnulib.git
synced 2026-04-28 06:33:36 +00:00
On recent GNU and other C23ish platforms, do not compile files like lib/stdc_bit_ceil.c, as the corresponding .o files contain nothing useful. * m4/stdbit_h.m4 (gl_STDBIT_H): Define the Automake condition GL_HAVE_STDBIT_H. Quote cache variables in case the cache is bad. * modules/stdc_bit_ceil, modules/stdc_bit_floor: * modules/stdc_bit_width, modules/stdc_count_ones: * modules/stdc_count_zeros, modules/stdc_first_leading_one: * modules/stdc_first_leading_zero: * modules/stdc_first_trailing_one: * modules/stdc_first_trailing_zero, modules/stdc_has_single_bit: * modules/stdc_leading_ones, modules/stdc_leading_zeros: * modules/stdc_trailing_ones, modules/stdc_trailing_zeros: Generate if !GL_HAVE_STDBIT_H, not if GL_GENERATE_STDBIT_H.
30 lines
416 B
Plaintext
30 lines
416 B
Plaintext
Description:
|
|
stdc_bit_floor macro, stdc_bit_floor_* functions:
|
|
Return the largest power of 2 that is ≤ a given unsigned integer.
|
|
|
|
Files:
|
|
lib/stdc_bit_floor.c
|
|
|
|
Depends-on:
|
|
stdbit-h
|
|
stdc_bit_width
|
|
|
|
configure.ac:
|
|
AC_REQUIRE([gl_STDBIT_H])
|
|
gl_STDBIT_MODULE_INDICATOR([stdc_bit_floor])
|
|
|
|
Makefile.am:
|
|
if GL_HAVE_STDBIT_H
|
|
else
|
|
lib_SOURCES += stdc_bit_floor.c
|
|
endif
|
|
|
|
Include:
|
|
<stdbit.h>
|
|
|
|
License:
|
|
LGPLv2+
|
|
|
|
Maintainer:
|
|
all
|