mirror of
https://git.savannah.gnu.org/git/gnulib.git
synced 2025-08-08 17:22:05 +03:00
Rename module stdckdint to stdckdint-h.
* modules/stdckdint-h: Renamed from modules/stdckdint. * modules/stdckdint-h-tests: Renamed from modules/stdckdint-tests. * modules/stdckdint-h-c++-tests: Renamed from modules/stdckdint-c++-tests. * tests/test-stdckdint-h.c: Renamed from tests/test-stdckdint.c. * tests/test-stdckdint-h-c++.cc: Renamed from tests/test-stdckdint-c++.cc. * doc/posix-headers/stdckdint.texi: Update. * doc/intprops.texi: Update. * modules/* (Depends-on): Update. * modules/stdckdint: New file.
This commit is contained in:
15
ChangeLog
15
ChangeLog
@@ -1,3 +1,18 @@
|
|||||||
|
2024-12-27 Bruno Haible <bruno@clisp.org>
|
||||||
|
|
||||||
|
Rename module stdckdint to stdckdint-h.
|
||||||
|
* modules/stdckdint-h: Renamed from modules/stdckdint.
|
||||||
|
* modules/stdckdint-h-tests: Renamed from modules/stdckdint-tests.
|
||||||
|
* modules/stdckdint-h-c++-tests: Renamed from
|
||||||
|
modules/stdckdint-c++-tests.
|
||||||
|
* tests/test-stdckdint-h.c: Renamed from tests/test-stdckdint.c.
|
||||||
|
* tests/test-stdckdint-h-c++.cc: Renamed from
|
||||||
|
tests/test-stdckdint-c++.cc.
|
||||||
|
* doc/posix-headers/stdckdint.texi: Update.
|
||||||
|
* doc/intprops.texi: Update.
|
||||||
|
* modules/* (Depends-on): Update.
|
||||||
|
* modules/stdckdint: New file.
|
||||||
|
|
||||||
2024-12-27 Bruno Haible <bruno@clisp.org>
|
2024-12-27 Bruno Haible <bruno@clisp.org>
|
||||||
|
|
||||||
Rename module stdbool to stdbool-h.
|
Rename module stdbool to stdbool-h.
|
||||||
|
@@ -341,9 +341,9 @@ low-order bits are the mathematically-correct product. See above for
|
|||||||
restrictions.
|
restrictions.
|
||||||
@end table
|
@end table
|
||||||
|
|
||||||
@mindex stdckdint
|
@mindex stdckdint-h
|
||||||
If your code includes @code{<intprops.h>} only for these @code{_WRAPV}
|
If your code includes @code{<intprops.h>} only for these @code{_WRAPV}
|
||||||
macros, you may prefer to use Gnulib's @code{stdckdint} module
|
macros, you may prefer to use Gnulib's @code{stdckdint-h} module
|
||||||
instead, as it supports similar macros that were standardized in C23
|
instead, as it supports similar macros that were standardized in C23
|
||||||
and are therefore independent of Gnulib if your code can assume C23 or
|
and are therefore independent of Gnulib if your code can assume C23 or
|
||||||
later. @xref{stdckdint.h}.
|
later. @xref{stdckdint.h}.
|
||||||
|
@@ -6,8 +6,8 @@ ISO draft C23
|
|||||||
(@url{https://www.open-std.org/jtc1/sc22/wg14/www/docs/n3220.pdf})
|
(@url{https://www.open-std.org/jtc1/sc22/wg14/www/docs/n3220.pdf})
|
||||||
section 7.20.
|
section 7.20.
|
||||||
|
|
||||||
Gnulib module: stdckdint
|
Gnulib module: stdckdint-h
|
||||||
@mindex stdckdint
|
@mindex stdckdint-h
|
||||||
|
|
||||||
Portability problems fixed by Gnulib:
|
Portability problems fixed by Gnulib:
|
||||||
@itemize
|
@itemize
|
||||||
|
@@ -13,7 +13,7 @@ extensions
|
|||||||
extern-inline
|
extern-inline
|
||||||
idx
|
idx
|
||||||
posix_memalign
|
posix_memalign
|
||||||
stdckdint
|
stdckdint-h
|
||||||
stdint
|
stdint
|
||||||
|
|
||||||
configure.ac:
|
configure.ac:
|
||||||
|
@@ -22,7 +22,7 @@ opendirat
|
|||||||
readdir
|
readdir
|
||||||
renameatu
|
renameatu
|
||||||
stdbool-h
|
stdbool-h
|
||||||
stdckdint
|
stdckdint-h
|
||||||
stdint
|
stdint
|
||||||
xalloc-oversized
|
xalloc-oversized
|
||||||
|
|
||||||
|
@@ -22,7 +22,7 @@ opendirat
|
|||||||
readdir
|
readdir
|
||||||
renameatu
|
renameatu
|
||||||
stdbool-h
|
stdbool-h
|
||||||
stdckdint
|
stdckdint-h
|
||||||
stdint
|
stdint
|
||||||
xalloc-die
|
xalloc-die
|
||||||
|
|
||||||
|
@@ -11,7 +11,7 @@ extern-inline
|
|||||||
ialloc
|
ialloc
|
||||||
stdbool-h
|
stdbool-h
|
||||||
memchr
|
memchr
|
||||||
stdckdint
|
stdckdint-h
|
||||||
|
|
||||||
configure.ac:
|
configure.ac:
|
||||||
gl_FUNC_BASE32
|
gl_FUNC_BASE32
|
||||||
|
@@ -11,7 +11,7 @@ extern-inline
|
|||||||
ialloc
|
ialloc
|
||||||
stdbool-h
|
stdbool-h
|
||||||
memchr
|
memchr
|
||||||
stdckdint
|
stdckdint-h
|
||||||
|
|
||||||
configure.ac:
|
configure.ac:
|
||||||
gl_FUNC_BASE64
|
gl_FUNC_BASE64
|
||||||
|
@@ -18,7 +18,7 @@ intprops
|
|||||||
libc-config
|
libc-config
|
||||||
locale-h
|
locale-h
|
||||||
stdbool-h
|
stdbool-h
|
||||||
stdckdint
|
stdckdint-h
|
||||||
time_rz
|
time_rz
|
||||||
|
|
||||||
configure.ac:
|
configure.ac:
|
||||||
|
@@ -8,7 +8,7 @@ m4/calloc.m4
|
|||||||
Depends-on:
|
Depends-on:
|
||||||
calloc-posix
|
calloc-posix
|
||||||
extensions-aix
|
extensions-aix
|
||||||
stdckdint [test $REPLACE_CALLOC_FOR_CALLOC_GNU = 1]
|
stdckdint-h [test $REPLACE_CALLOC_FOR_CALLOC_GNU = 1]
|
||||||
|
|
||||||
configure.ac:
|
configure.ac:
|
||||||
gl_FUNC_CALLOC_GNU
|
gl_FUNC_CALLOC_GNU
|
||||||
|
@@ -7,7 +7,7 @@ m4/calloc.m4
|
|||||||
m4/malloc.m4
|
m4/malloc.m4
|
||||||
|
|
||||||
Depends-on:
|
Depends-on:
|
||||||
stdckdint [test $REPLACE_CALLOC_FOR_CALLOC_POSIX = 1]
|
stdckdint-h [test $REPLACE_CALLOC_FOR_CALLOC_POSIX = 1]
|
||||||
stdlib
|
stdlib
|
||||||
|
|
||||||
configure.ac:
|
configure.ac:
|
||||||
|
@@ -12,7 +12,7 @@ mgetgroups
|
|||||||
nanosleep
|
nanosleep
|
||||||
stat-time
|
stat-time
|
||||||
stdbool-h
|
stdbool-h
|
||||||
stdckdint
|
stdckdint-h
|
||||||
symlink
|
symlink
|
||||||
xconcat-filename
|
xconcat-filename
|
||||||
xgetcwd
|
xgetcwd
|
||||||
|
@@ -13,7 +13,7 @@ mgetgroups
|
|||||||
nanosleep
|
nanosleep
|
||||||
openat-h
|
openat-h
|
||||||
stat-time
|
stat-time
|
||||||
stdckdint
|
stdckdint-h
|
||||||
symlink
|
symlink
|
||||||
xconcat-filename
|
xconcat-filename
|
||||||
xgetcwd
|
xgetcwd
|
||||||
|
@@ -12,7 +12,7 @@ fcntl-h
|
|||||||
ignore-value
|
ignore-value
|
||||||
nanosleep
|
nanosleep
|
||||||
openat
|
openat
|
||||||
stdckdint
|
stdckdint-h
|
||||||
timespec
|
timespec
|
||||||
dup
|
dup
|
||||||
utimecmp
|
utimecmp
|
||||||
|
@@ -21,7 +21,7 @@ malloc-posix
|
|||||||
ssize_t
|
ssize_t
|
||||||
stat
|
stat
|
||||||
stdbool-h
|
stdbool-h
|
||||||
stdckdint
|
stdckdint-h
|
||||||
|
|
||||||
configure.ac:
|
configure.ac:
|
||||||
gl_FILE_HAS_ACL
|
gl_FILE_HAS_ACL
|
||||||
|
@@ -17,7 +17,7 @@ idx [test $HAVE_FNMATCH = 0 || test $REPLACE_FNMATCH = 1]
|
|||||||
isblank [test $HAVE_FNMATCH = 0 || test $REPLACE_FNMATCH = 1]
|
isblank [test $HAVE_FNMATCH = 0 || test $REPLACE_FNMATCH = 1]
|
||||||
libc-config [test $HAVE_FNMATCH = 0 || test $REPLACE_FNMATCH = 1]
|
libc-config [test $HAVE_FNMATCH = 0 || test $REPLACE_FNMATCH = 1]
|
||||||
stdbool-h [test $HAVE_FNMATCH = 0 || test $REPLACE_FNMATCH = 1]
|
stdbool-h [test $HAVE_FNMATCH = 0 || test $REPLACE_FNMATCH = 1]
|
||||||
stdckdint [test $HAVE_FNMATCH = 0 || test $REPLACE_FNMATCH = 1]
|
stdckdint-h [test $HAVE_FNMATCH = 0 || test $REPLACE_FNMATCH = 1]
|
||||||
strnlen [test $HAVE_FNMATCH = 0 || test $REPLACE_FNMATCH = 1]
|
strnlen [test $HAVE_FNMATCH = 0 || test $REPLACE_FNMATCH = 1]
|
||||||
uchar [test $HAVE_FNMATCH = 0 || test $REPLACE_FNMATCH = 1]
|
uchar [test $HAVE_FNMATCH = 0 || test $REPLACE_FNMATCH = 1]
|
||||||
memchr [test $HAVE_FNMATCH = 0 || test $REPLACE_FNMATCH = 1]
|
memchr [test $HAVE_FNMATCH = 0 || test $REPLACE_FNMATCH = 1]
|
||||||
|
@@ -14,7 +14,7 @@ extensions
|
|||||||
largefile
|
largefile
|
||||||
sys_types
|
sys_types
|
||||||
lseek [test $HAVE_FTELLO = 0 || test $REPLACE_FTELLO = 1]
|
lseek [test $HAVE_FTELLO = 0 || test $REPLACE_FTELLO = 1]
|
||||||
stdckdint [test $HAVE_FTELLO = 0 || test $REPLACE_FTELLO = 1]
|
stdckdint-h [test $HAVE_FTELLO = 0 || test $REPLACE_FTELLO = 1]
|
||||||
# Just to guarantee consistency between ftell() and ftello().
|
# Just to guarantee consistency between ftell() and ftello().
|
||||||
ftell
|
ftell
|
||||||
|
|
||||||
|
@@ -11,7 +11,7 @@ gettext-h
|
|||||||
fcntl-h
|
fcntl-h
|
||||||
ignore-value
|
ignore-value
|
||||||
nanosleep
|
nanosleep
|
||||||
stdckdint
|
stdckdint-h
|
||||||
timespec
|
timespec
|
||||||
dup
|
dup
|
||||||
utimecmp
|
utimecmp
|
||||||
|
@@ -17,7 +17,7 @@ builtin-expect
|
|||||||
gen-header
|
gen-header
|
||||||
libc-config
|
libc-config
|
||||||
stdbool-h
|
stdbool-h
|
||||||
stdckdint
|
stdckdint-h
|
||||||
stddef
|
stddef
|
||||||
|
|
||||||
configure.ac:
|
configure.ac:
|
||||||
|
@@ -29,7 +29,7 @@ opendir [test $HAVE_GLOB = 0 || test $REPLACE_GLOB = 1]
|
|||||||
readdir [test $HAVE_GLOB = 0 || test $REPLACE_GLOB = 1]
|
readdir [test $HAVE_GLOB = 0 || test $REPLACE_GLOB = 1]
|
||||||
glibc-internal/scratch_buffer [test $HAVE_GLOB = 0 || test $REPLACE_GLOB = 1]
|
glibc-internal/scratch_buffer [test $HAVE_GLOB = 0 || test $REPLACE_GLOB = 1]
|
||||||
stdbool-h [test $HAVE_GLOB = 0 || test $REPLACE_GLOB = 1]
|
stdbool-h [test $HAVE_GLOB = 0 || test $REPLACE_GLOB = 1]
|
||||||
stdckdint [test $HAVE_GLOB = 0 || test $REPLACE_GLOB = 1]
|
stdckdint-h [test $HAVE_GLOB = 0 || test $REPLACE_GLOB = 1]
|
||||||
stdint [test $HAVE_GLOB = 0 || test $REPLACE_GLOB = 1]
|
stdint [test $HAVE_GLOB = 0 || test $REPLACE_GLOB = 1]
|
||||||
strdup [test $HAVE_GLOB = 0 || test $REPLACE_GLOB = 1]
|
strdup [test $HAVE_GLOB = 0 || test $REPLACE_GLOB = 1]
|
||||||
unistd [test $HAVE_GLOB = 0 || test $REPLACE_GLOB = 1]
|
unistd [test $HAVE_GLOB = 0 || test $REPLACE_GLOB = 1]
|
||||||
|
@@ -10,7 +10,7 @@ unistd
|
|||||||
extensions
|
extensions
|
||||||
getgroups [test $HAVE_GROUP_MEMBER = 0]
|
getgroups [test $HAVE_GROUP_MEMBER = 0]
|
||||||
malloc-gnu [test $HAVE_GROUP_MEMBER = 0]
|
malloc-gnu [test $HAVE_GROUP_MEMBER = 0]
|
||||||
stdckdint [test $HAVE_GROUP_MEMBER = 0]
|
stdckdint-h [test $HAVE_GROUP_MEMBER = 0]
|
||||||
|
|
||||||
configure.ac:
|
configure.ac:
|
||||||
gl_FUNC_GROUP_MEMBER
|
gl_FUNC_GROUP_MEMBER
|
||||||
|
@@ -10,7 +10,7 @@ errno-h
|
|||||||
ignore-value
|
ignore-value
|
||||||
mgetgroups
|
mgetgroups
|
||||||
nanosleep
|
nanosleep
|
||||||
stdckdint
|
stdckdint-h
|
||||||
stat-time
|
stat-time
|
||||||
stdbool-h
|
stdbool-h
|
||||||
symlink
|
symlink
|
||||||
|
@@ -7,7 +7,7 @@ lib/malloc.c
|
|||||||
Depends-on:
|
Depends-on:
|
||||||
malloc-posix
|
malloc-posix
|
||||||
extensions-aix
|
extensions-aix
|
||||||
stdckdint [test $REPLACE_CALLOC_FOR_MALLOC_GNU = 1]
|
stdckdint-h [test $REPLACE_CALLOC_FOR_MALLOC_GNU = 1]
|
||||||
|
|
||||||
configure.ac:
|
configure.ac:
|
||||||
gl_FUNC_MALLOC_GNU
|
gl_FUNC_MALLOC_GNU
|
||||||
|
@@ -6,7 +6,7 @@ lib/malloc.c
|
|||||||
m4/malloc.m4
|
m4/malloc.m4
|
||||||
|
|
||||||
Depends-on:
|
Depends-on:
|
||||||
stdckdint [test $REPLACE_CALLOC_FOR_MALLOC_POSIX = 1]
|
stdckdint-h [test $REPLACE_CALLOC_FOR_MALLOC_POSIX = 1]
|
||||||
stdlib
|
stdlib
|
||||||
|
|
||||||
configure.ac:
|
configure.ac:
|
||||||
|
@@ -12,7 +12,7 @@ alloca-opt
|
|||||||
assert-h
|
assert-h
|
||||||
extensions-aix
|
extensions-aix
|
||||||
idx
|
idx
|
||||||
stdckdint
|
stdckdint-h
|
||||||
stdint
|
stdint
|
||||||
xalloc-oversized
|
xalloc-oversized
|
||||||
|
|
||||||
|
@@ -14,7 +14,7 @@ assert-h [test $REPLACE_MKTIME = 1]
|
|||||||
intprops [test $REPLACE_MKTIME = 1]
|
intprops [test $REPLACE_MKTIME = 1]
|
||||||
libc-config [test $REPLACE_MKTIME = 1]
|
libc-config [test $REPLACE_MKTIME = 1]
|
||||||
stdbool-h [test $REPLACE_MKTIME = 1]
|
stdbool-h [test $REPLACE_MKTIME = 1]
|
||||||
stdckdint [test $REPLACE_MKTIME = 1]
|
stdckdint-h [test $REPLACE_MKTIME = 1]
|
||||||
time_r [test $REPLACE_MKTIME = 1]
|
time_r [test $REPLACE_MKTIME = 1]
|
||||||
|
|
||||||
configure.ac:
|
configure.ac:
|
||||||
|
@@ -17,7 +17,7 @@ intprops
|
|||||||
libc-config
|
libc-config
|
||||||
localename-unsafe-limited
|
localename-unsafe-limited
|
||||||
stdbool-h
|
stdbool-h
|
||||||
stdckdint
|
stdckdint-h
|
||||||
time_rz
|
time_rz
|
||||||
|
|
||||||
configure.ac:
|
configure.ac:
|
||||||
|
@@ -21,7 +21,7 @@ idx
|
|||||||
intprops
|
intprops
|
||||||
inttypes-h
|
inttypes-h
|
||||||
mktime
|
mktime
|
||||||
stdckdint
|
stdckdint-h
|
||||||
time-h
|
time-h
|
||||||
time_r
|
time_r
|
||||||
time_rz
|
time_rz
|
||||||
|
@@ -7,7 +7,7 @@ m4/posix_memalign.m4
|
|||||||
|
|
||||||
Depends-on:
|
Depends-on:
|
||||||
extensions
|
extensions
|
||||||
stdckdint [test $REPLACE_POSIX_MEMALIGN = 1]
|
stdckdint-h [test $REPLACE_POSIX_MEMALIGN = 1]
|
||||||
stdlib
|
stdlib
|
||||||
|
|
||||||
configure.ac:
|
configure.ac:
|
||||||
|
@@ -11,7 +11,7 @@ c-ctype
|
|||||||
idx
|
idx
|
||||||
mktime
|
mktime
|
||||||
stdbool-h
|
stdbool-h
|
||||||
stdckdint
|
stdckdint-h
|
||||||
time
|
time
|
||||||
verify
|
verify
|
||||||
|
|
||||||
|
@@ -8,7 +8,7 @@ m4/malloc.m4
|
|||||||
|
|
||||||
Depends-on:
|
Depends-on:
|
||||||
extensions-aix
|
extensions-aix
|
||||||
stdckdint [test $REPLACE_REALLOC_FOR_REALLOC_POSIX != 0]
|
stdckdint-h [test $REPLACE_REALLOC_FOR_REALLOC_POSIX != 0]
|
||||||
stdlib
|
stdlib
|
||||||
|
|
||||||
configure.ac:
|
configure.ac:
|
||||||
|
@@ -10,7 +10,7 @@ m4/reallocarray.m4
|
|||||||
Depends-on:
|
Depends-on:
|
||||||
extensions
|
extensions
|
||||||
realloc-posix [test $HAVE_REALLOCARRAY = 0 || test $REPLACE_REALLOCARRAY = 1]
|
realloc-posix [test $HAVE_REALLOCARRAY = 0 || test $REPLACE_REALLOCARRAY = 1]
|
||||||
stdckdint [test $HAVE_REALLOCARRAY = 0 || test $REPLACE_REALLOCARRAY = 1]
|
stdckdint-h [test $HAVE_REALLOCARRAY = 0 || test $REPLACE_REALLOCARRAY = 1]
|
||||||
stdlib
|
stdlib
|
||||||
|
|
||||||
configure.ac:
|
configure.ac:
|
||||||
|
@@ -37,7 +37,7 @@ mbrtowc [test $ac_use_included_regex = yes]
|
|||||||
mbsinit [test $ac_use_included_regex = yes]
|
mbsinit [test $ac_use_included_regex = yes]
|
||||||
nl_langinfo [test $ac_use_included_regex = yes]
|
nl_langinfo [test $ac_use_included_regex = yes]
|
||||||
stdbool-h [test $ac_use_included_regex = yes]
|
stdbool-h [test $ac_use_included_regex = yes]
|
||||||
stdckdint [test $ac_use_included_regex = yes]
|
stdckdint-h [test $ac_use_included_regex = yes]
|
||||||
stdint [test $ac_use_included_regex = yes]
|
stdint [test $ac_use_included_regex = yes]
|
||||||
verify [test $ac_use_included_regex = yes]
|
verify [test $ac_use_included_regex = yes]
|
||||||
wchar [test $ac_use_included_regex = yes]
|
wchar [test $ac_use_included_regex = yes]
|
||||||
|
@@ -71,7 +71,7 @@ pathmax
|
|||||||
ssize_t
|
ssize_t
|
||||||
stdbool-h
|
stdbool-h
|
||||||
stddef
|
stddef
|
||||||
stdckdint
|
stdckdint-h
|
||||||
stdint
|
stdint
|
||||||
stdlib
|
stdlib
|
||||||
string
|
string
|
||||||
|
@@ -11,7 +11,7 @@ time-h
|
|||||||
errno-h
|
errno-h
|
||||||
extensions
|
extensions
|
||||||
extern-inline
|
extern-inline
|
||||||
stdckdint
|
stdckdint-h
|
||||||
|
|
||||||
configure.ac:
|
configure.ac:
|
||||||
gl_STAT_TIME
|
gl_STAT_TIME
|
||||||
|
@@ -5,7 +5,7 @@ tests/nap.h
|
|||||||
|
|
||||||
Depends-on:
|
Depends-on:
|
||||||
nanosleep
|
nanosleep
|
||||||
stdckdint
|
stdckdint-h
|
||||||
time-h
|
time-h
|
||||||
unistd
|
unistd
|
||||||
xconcat-filename
|
xconcat-filename
|
||||||
|
@@ -1,40 +1,20 @@
|
|||||||
Description:
|
Description:
|
||||||
An <stdckdint.h> that is like C23.
|
An <stdckdint.h> that is like C23.
|
||||||
|
|
||||||
|
Status:
|
||||||
|
deprecated
|
||||||
|
|
||||||
|
Notice:
|
||||||
|
This module is deprecated. Use the module 'stdckdint-h' instead.
|
||||||
|
|
||||||
Files:
|
Files:
|
||||||
lib/stdckdint.in.h
|
|
||||||
lib/intprops-internal.h
|
|
||||||
|
|
||||||
Depends-on:
|
Depends-on:
|
||||||
gen-header
|
stdckdint-h
|
||||||
stdbool-h
|
|
||||||
|
|
||||||
configure.ac:
|
configure.ac:
|
||||||
AC_CHECK_HEADERS_ONCE([stdckdint.h])
|
|
||||||
if test $ac_cv_header_stdckdint_h = yes; then
|
|
||||||
GL_GENERATE_STDCKDINT_H=false
|
|
||||||
else
|
|
||||||
GL_GENERATE_STDCKDINT_H=true
|
|
||||||
fi
|
|
||||||
gl_CONDITIONAL_HEADER([stdckdint.h])
|
|
||||||
AC_PROG_MKDIR_P
|
|
||||||
|
|
||||||
Makefile.am:
|
Makefile.am:
|
||||||
BUILT_SOURCES += $(STDCKDINT_H)
|
|
||||||
|
|
||||||
# We need the following in order to create <stdckdint.h> when the system
|
|
||||||
# doesn't have one that works with the given compiler.
|
|
||||||
if GL_GENERATE_STDCKDINT_H
|
|
||||||
stdckdint.h: stdckdint.in.h $(top_builddir)/config.status
|
|
||||||
@NMD@ $(AM_V_GEN)$(MKDIR_P) '%reldir%'
|
|
||||||
$(gl_V_at)$(SED_HEADER_STDOUT) \
|
|
||||||
$(srcdir)/stdckdint.in.h > $@-t
|
|
||||||
$(AM_V_at)mv $@-t $@
|
|
||||||
else
|
|
||||||
stdckdint.h: $(top_builddir)/config.status
|
|
||||||
rm -f $@
|
|
||||||
endif
|
|
||||||
MOSTLYCLEANFILES += stdckdint.h stdckdint.h-t
|
|
||||||
|
|
||||||
Include:
|
Include:
|
||||||
<stdckdint.h>
|
<stdckdint.h>
|
||||||
@@ -43,4 +23,3 @@ License:
|
|||||||
LGPLv2+
|
LGPLv2+
|
||||||
|
|
||||||
Maintainer:
|
Maintainer:
|
||||||
Paul Eggert
|
|
||||||
|
@@ -1,17 +0,0 @@
|
|||||||
Files:
|
|
||||||
tests/test-stdckdint-c++.cc
|
|
||||||
|
|
||||||
Status:
|
|
||||||
c++-test
|
|
||||||
|
|
||||||
Depends-on:
|
|
||||||
ansi-c++-opt
|
|
||||||
|
|
||||||
configure.ac:
|
|
||||||
|
|
||||||
Makefile.am:
|
|
||||||
if ANSICXX
|
|
||||||
TESTS += test-stdckdint-c++
|
|
||||||
check_PROGRAMS += test-stdckdint-c++
|
|
||||||
test_stdckdint_c___SOURCES = test-stdckdint-c++.cc
|
|
||||||
endif
|
|
46
modules/stdckdint-h
Normal file
46
modules/stdckdint-h
Normal file
@@ -0,0 +1,46 @@
|
|||||||
|
Description:
|
||||||
|
An <stdckdint.h> that is like C23.
|
||||||
|
|
||||||
|
Files:
|
||||||
|
lib/stdckdint.in.h
|
||||||
|
lib/intprops-internal.h
|
||||||
|
|
||||||
|
Depends-on:
|
||||||
|
gen-header
|
||||||
|
stdbool-h
|
||||||
|
|
||||||
|
configure.ac:
|
||||||
|
AC_CHECK_HEADERS_ONCE([stdckdint.h])
|
||||||
|
if test $ac_cv_header_stdckdint_h = yes; then
|
||||||
|
GL_GENERATE_STDCKDINT_H=false
|
||||||
|
else
|
||||||
|
GL_GENERATE_STDCKDINT_H=true
|
||||||
|
fi
|
||||||
|
gl_CONDITIONAL_HEADER([stdckdint.h])
|
||||||
|
AC_PROG_MKDIR_P
|
||||||
|
|
||||||
|
Makefile.am:
|
||||||
|
BUILT_SOURCES += $(STDCKDINT_H)
|
||||||
|
|
||||||
|
# We need the following in order to create <stdckdint.h> when the system
|
||||||
|
# doesn't have one that works with the given compiler.
|
||||||
|
if GL_GENERATE_STDCKDINT_H
|
||||||
|
stdckdint.h: stdckdint.in.h $(top_builddir)/config.status
|
||||||
|
@NMD@ $(AM_V_GEN)$(MKDIR_P) '%reldir%'
|
||||||
|
$(gl_V_at)$(SED_HEADER_STDOUT) \
|
||||||
|
$(srcdir)/stdckdint.in.h > $@-t
|
||||||
|
$(AM_V_at)mv $@-t $@
|
||||||
|
else
|
||||||
|
stdckdint.h: $(top_builddir)/config.status
|
||||||
|
rm -f $@
|
||||||
|
endif
|
||||||
|
MOSTLYCLEANFILES += stdckdint.h stdckdint.h-t
|
||||||
|
|
||||||
|
Include:
|
||||||
|
<stdckdint.h>
|
||||||
|
|
||||||
|
License:
|
||||||
|
LGPLv2+
|
||||||
|
|
||||||
|
Maintainer:
|
||||||
|
Paul Eggert
|
17
modules/stdckdint-h-c++-tests
Normal file
17
modules/stdckdint-h-c++-tests
Normal file
@@ -0,0 +1,17 @@
|
|||||||
|
Files:
|
||||||
|
tests/test-stdckdint-h-c++.cc
|
||||||
|
|
||||||
|
Status:
|
||||||
|
c++-test
|
||||||
|
|
||||||
|
Depends-on:
|
||||||
|
ansi-c++-opt
|
||||||
|
|
||||||
|
configure.ac:
|
||||||
|
|
||||||
|
Makefile.am:
|
||||||
|
if ANSICXX
|
||||||
|
TESTS += test-stdckdint-h-c++
|
||||||
|
check_PROGRAMS += test-stdckdint-h-c++
|
||||||
|
test_stdckdint_h_c___SOURCES = test-stdckdint-h-c++.cc
|
||||||
|
endif
|
@@ -1,16 +1,16 @@
|
|||||||
Files:
|
Files:
|
||||||
tests/macros.h
|
tests/macros.h
|
||||||
tests/test-intprops.c
|
tests/test-intprops.c
|
||||||
tests/test-stdckdint.c
|
tests/test-stdckdint-h.c
|
||||||
|
|
||||||
Depends-on:
|
Depends-on:
|
||||||
assert-h
|
assert-h
|
||||||
inttypes-h
|
inttypes-h
|
||||||
stdbool-h
|
stdbool-h
|
||||||
stdckdint-c++-tests
|
stdckdint-h-c++-tests
|
||||||
|
|
||||||
configure.ac:
|
configure.ac:
|
||||||
|
|
||||||
Makefile.am:
|
Makefile.am:
|
||||||
TESTS += test-stdckdint
|
TESTS += test-stdckdint-h
|
||||||
check_PROGRAMS += test-stdckdint
|
check_PROGRAMS += test-stdckdint-h
|
@@ -8,7 +8,7 @@ Depends-on:
|
|||||||
c99
|
c99
|
||||||
intprops
|
intprops
|
||||||
stdbool-h
|
stdbool-h
|
||||||
stdckdint
|
stdckdint-h
|
||||||
timespec
|
timespec
|
||||||
|
|
||||||
configure.ac:
|
configure.ac:
|
||||||
|
@@ -8,7 +8,7 @@ Depends-on:
|
|||||||
c99
|
c99
|
||||||
intprops
|
intprops
|
||||||
stdbool-h
|
stdbool-h
|
||||||
stdckdint
|
stdckdint-h
|
||||||
timespec
|
timespec
|
||||||
|
|
||||||
configure.ac:
|
configure.ac:
|
||||||
|
@@ -9,7 +9,7 @@ dup
|
|||||||
gettext-h
|
gettext-h
|
||||||
ignore-value
|
ignore-value
|
||||||
nanosleep
|
nanosleep
|
||||||
stdckdint
|
stdckdint-h
|
||||||
symlink
|
symlink
|
||||||
timespec
|
timespec
|
||||||
utimecmp
|
utimecmp
|
||||||
|
@@ -12,7 +12,7 @@ dup
|
|||||||
gettext-h
|
gettext-h
|
||||||
ignore-value
|
ignore-value
|
||||||
nanosleep
|
nanosleep
|
||||||
stdckdint
|
stdckdint-h
|
||||||
symlink
|
symlink
|
||||||
timespec
|
timespec
|
||||||
utimecmp
|
utimecmp
|
||||||
|
@@ -10,7 +10,7 @@ tests/macros.h
|
|||||||
Depends-on:
|
Depends-on:
|
||||||
ignore-value
|
ignore-value
|
||||||
nanosleep
|
nanosleep
|
||||||
stdckdint
|
stdckdint-h
|
||||||
timespec
|
timespec
|
||||||
utimecmp
|
utimecmp
|
||||||
xconcat-filename
|
xconcat-filename
|
||||||
|
@@ -16,7 +16,7 @@ malloc-gnu
|
|||||||
minmax
|
minmax
|
||||||
realloc-posix
|
realloc-posix
|
||||||
reallocarray
|
reallocarray
|
||||||
stdckdint
|
stdckdint-h
|
||||||
stdint
|
stdint
|
||||||
xalloc-die
|
xalloc-die
|
||||||
|
|
||||||
|
@@ -9,7 +9,7 @@ m4/xstrtol.m4
|
|||||||
|
|
||||||
Depends-on:
|
Depends-on:
|
||||||
intprops
|
intprops
|
||||||
stdckdint
|
stdckdint-h
|
||||||
stdint
|
stdint
|
||||||
|
|
||||||
configure.ac:
|
configure.ac:
|
||||||
|
Reference in New Issue
Block a user