3 ?RCS: Copyright (c) 1999, Jarkko Hietaniemi
5 ?RCS: You may redistribute only under the terms of the Artistic License,
6 ?RCS: as specified in the README file that comes with the distribution.
7 ?RCS: You may reuse parts of this distribution only within the terms of
8 ?RCS: that same Artistic License; a copy of which may be found at the root
9 ?RCS: of the source tree for dist 3.0.
11 ?MAKE:d_posix_clock: Setvar d_clock_getres d_clock_gettime d_clock_settime i_time
12 ?MAKE: -pick add $@ %<
14 ?S: This variable conditionally defines the HAS_POSIX_CLOCK symbol, which
15 ?S: indicates that the entire POSIX clock_*(2) library is present.
18 ?C: This symbol, if defined, indicates that the entire POSIX clock_*(2)
19 ?C: library is supported.
21 ?H:#$d_posix_clock HAS_POSIX_CLOCK /**/
23 ?LINT:set d_posix_clock
24 : see how much of the 'POSIX clock_*(2)' library is present.
26 case "$i_time$d_clock_getres$d_clock_gettime$d_clock_settime" in
27 *"$undef"*) val="$undef" ;;
31 "$define") echo "You have the full POSIX clock_*(2) library." >&4 ;;
32 "$undef") echo "You don't have the full POSIX clock_*(2) library." >&4 ;;