mirror of
https://git.savannah.gnu.org/git/gnulib.git
synced 2025-08-08 17:22:05 +03:00
Reported by Paul Eggert in <https://lists.gnu.org/archive/html/bug-gnulib/2024-12/msg00193.html>. * modules/bool: Renamed from modules/stdbool-h. * modules/bool-tests: Renamed from modules/stdbool-h-tests. * modules/bool-c++-tests: Renamed from modules/stdbool-h-c++-tests. * tests/test-bool.c: Renamed from tests/test-stdbool-h.c. * tests/test-bool-c++.cc: Renamed from tests/test-stdbool-h-c++.cc. * tests/test-bool-c++2.cc: Renamed from tests/test-stdbool-h-c++2.cc. * modules/stdbool-h-c99-tests: Update. * modules/stdbool-h-c99-c++-tests: Update. * tests/test-stdbool-h-c99.c: Update. * tests/test-stdbool-h-c99-c++.cc: Update. * doc/posix-headers/stdbool.texi: Update. * doc/gnulib-readme.texi: Update. * doc/gnulib.texi: Update. * modules/* (Depends-on): Update. * modules/stdbool: Update.
59 lines
1.8 KiB
Plaintext
59 lines
1.8 KiB
Plaintext
Description:
|
|
A <stdbit.h> for platforms that lack it.
|
|
|
|
Files:
|
|
lib/stdbit.in.h
|
|
lib/stdbit.c
|
|
m4/stdbit_h.m4
|
|
|
|
Depends-on:
|
|
gen-header
|
|
extern-inline [$GL_GENERATE_STDBIT_H]
|
|
bool [$GL_GENERATE_STDBIT_H]
|
|
|
|
configure.ac:
|
|
gl_STDBIT_H
|
|
gl_CONDITIONAL_HEADER([stdbit.h])
|
|
AC_PROG_MKDIR_P
|
|
|
|
Makefile.am:
|
|
BUILT_SOURCES += $(STDBIT_H)
|
|
|
|
# We need the following in order to create <stdbit.h> when the system
|
|
# doesn't have one that works with the given compiler.
|
|
if GL_GENERATE_STDBIT_H
|
|
stdbit.h: stdbit.in.h $(top_builddir)/config.status
|
|
@NMD@ $(AM_V_GEN)$(MKDIR_P) '%reldir%'
|
|
$(gl_V_at)$(SED_HEADER_STDOUT) \
|
|
-e 's/@''GL_STDC_LEADING_ZEROS''@/$(GL_STDC_LEADING_ZEROS)/g' \
|
|
-e 's/@''GL_STDC_LEADING_ONES''@/$(GL_STDC_LEADING_ONES)/g' \
|
|
-e 's/@''GL_STDC_TRAILING_ZEROS''@/$(GL_STDC_TRAILING_ZEROS)/g' \
|
|
-e 's/@''GL_STDC_TRAILING_ONES''@/$(GL_STDC_TRAILING_ONES)/g' \
|
|
-e 's/@''GL_STDC_FIRST_LEADING_ZERO''@/$(GL_STDC_FIRST_LEADING_ZERO)/g' \
|
|
-e 's/@''GL_STDC_FIRST_LEADING_ONE''@/$(GL_STDC_FIRST_LEADING_ONE)/g' \
|
|
-e 's/@''GL_STDC_FIRST_TRAILING_ZERO''@/$(GL_STDC_FIRST_TRAILING_ZERO)/g' \
|
|
-e 's/@''GL_STDC_FIRST_TRAILING_ONE''@/$(GL_STDC_FIRST_TRAILING_ONE)/g' \
|
|
-e 's/@''GL_STDC_COUNT_ZEROS''@/$(GL_STDC_COUNT_ZEROS)/g' \
|
|
-e 's/@''GL_STDC_COUNT_ONES''@/$(GL_STDC_COUNT_ONES)/g' \
|
|
-e 's/@''GL_STDC_HAS_SINGLE_BIT''@/$(GL_STDC_HAS_SINGLE_BIT)/g' \
|
|
-e 's/@''GL_STDC_BIT_WIDTH''@/$(GL_STDC_BIT_WIDTH)/g' \
|
|
-e 's/@''GL_STDC_BIT_FLOOR''@/$(GL_STDC_BIT_FLOOR)/g' \
|
|
-e 's/@''GL_STDC_BIT_CEIL''@/$(GL_STDC_BIT_CEIL)/g' \
|
|
$(srcdir)/stdbit.in.h > $@-t
|
|
$(AM_V_at)mv $@-t $@
|
|
lib_SOURCES += stdbit.c
|
|
else
|
|
stdbit.h: $(top_builddir)/config.status
|
|
rm -f $@
|
|
endif
|
|
MOSTLYCLEANFILES += stdbit.h stdbit.h-t
|
|
|
|
Include:
|
|
<stdbit.h>
|
|
|
|
License:
|
|
LGPLv2+
|
|
|
|
Maintainer:
|
|
all
|