Branch
Hash :
14507472
Author :
Date :
2024-12-27T23:23:13
Rename module stdint to stdint-h. * modules/stdint-h: Renamed from modules/stdint. * modules/stdint-h-tests: Renamed from modules/stdint-tests. * modules/stdint-h-c++-tests: Renamed from modules/stdint-c++-tests. * tests/test-stdint-h.c: Renamed from tests/test-stdint.c. * tests/test-stdint-h-c++.cc: Renamed from tests/test-stdint-c++.cc. * tests/test-stdint-h-c++2.cc: Renamed from tests/test-stdint-c++2.cc. * doc/posix-headers/stdint.texi: Update. * doc/gnulib-readme.texi: Update. * doc/gnulib.texi: Update. * modules/* (Depends-on): Update. * modules/stdint: New file.
Files:
tests/test-tsearch.sh
tests/test-tsearch.c
tests/signature.h
tests/macros.h
Depends-on:
stdint-h
configure.ac:
TEST_TSEARCH_LIBM=
AC_LINK_IFELSE(
[AC_LANG_PROGRAM(
[[#ifndef __NO_MATH_INLINES
# define __NO_MATH_INLINES 1 /* for glibc */
#endif
#include <math.h>
double x;]],
[[x = log (x);]])],
[],
[TEST_TSEARCH_LIBM=-lm])
AC_SUBST([TEST_TSEARCH_LIBM])
gl_CHECK_FUNCS_ANDROID([initstate], [[#include <stdlib.h>]])
Makefile.am:
TESTS += test-tsearch.sh
check_PROGRAMS += test-tsearch
test_tsearch_LDADD = $(LDADD) @TEST_TSEARCH_LIBM@