mirror of
https://https.git.savannah.gnu.org/git/gnulib.git
synced 2026-05-13 07:03:33 +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.
31 lines
503 B
Plaintext
31 lines
503 B
Plaintext
Description:
|
|
stdc_first_leading_one macro, stdc_first_leading_one_* functions
|
|
Return the number of bits, from the most significant 1 bit to the most
|
|
significant bit, in an unsigned integer.
|
|
|
|
Files:
|
|
lib/stdc_first_leading_one.c
|
|
|
|
Depends-on:
|
|
stdbit-h
|
|
stdc_leading_zeros
|
|
|
|
configure.ac:
|
|
AC_REQUIRE([gl_STDBIT_H])
|
|
gl_STDBIT_MODULE_INDICATOR([stdc_first_leading_one])
|
|
|
|
Makefile.am:
|
|
if GL_HAVE_STDBIT_H
|
|
else
|
|
lib_SOURCES += stdc_first_leading_one.c
|
|
endif
|
|
|
|
Include:
|
|
<stdbit.h>
|
|
|
|
License:
|
|
LGPLv2+
|
|
|
|
Maintainer:
|
|
all
|