chown: Update doc regarding AIX.
[gnulib.git] / modules / tsearch-tests
1 Files:
2 tests/test-tsearch.sh
3 tests/test-tsearch.c
4 tests/signature.h
5
6 Depends-on:
7 stdint
8
9 configure.ac:
10 TEST_TSEARCH_LIBM=
11 AC_TRY_LINK([
12    #ifndef __NO_MATH_INLINES
13    # define __NO_MATH_INLINES 1 /* for glibc */
14    #endif
15    #include <math.h>
16    double x;],
17   [x = log (x);], , [TEST_TSEARCH_LIBM=-lm])
18 AC_SUBST([TEST_TSEARCH_LIBM])
19 AC_CHECK_FUNCS_ONCE([initstate])
20
21 Makefile.am:
22 TESTS += test-tsearch.sh
23 check_PROGRAMS += test-tsearch
24 test_tsearch_LDADD = $(LDADD) @TEST_TSEARCH_LIBM@