This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
fix .gitignore: only ignore 'perl' in root of repo, not U/perl subdir
[metaconfig.git] / U / perl / d_posix_sched.U
1 ?RCS: $Id$
2 ?RCS:
3 ?RCS: Copyright (c) 1999, Jarkko Hietaniemi
4 ?RCS:
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.
10 ?RCS:
11 ?MAKE:d_posix_sched: Setvar d_sched_getparam d_sched_setparam d_sched_getscheduler d_sched_setscheduler d_sched_rr_get_interval d_sched_get_priority_min d_sched_get_priority_max i_sched
12 ?MAKE:  -pick add $@ %<
13 ?S:d_posix_sched:
14 ?S:     This variable conditionally defines the HAS_POSIX_SCHED symbol, which
15 ?S:     indicates that the entire POSIX sched_*(2) library is present.
16 ?S:.
17 ?C:HAS_POSIX_SCHED:
18 ?C:     This symbol, if defined, indicates that the entire POSIX sched_*(2)
19 ?C:     library is supported.
20 ?C:.
21 ?H:#$d_posix_sched HAS_POSIX_SCHED              /**/
22 ?H:.
23 ?LINT:set d_posix_sched
24 : see how much of the 'POSIX sched_*(2)' library is present.
25 echo " "
26 case "$i_sched$d_sched_getparam$d_sched_getscheduler$d_sched_setscheduler$d_sched_rr_get_interval$d_sched_get_priority_min$d_sched_get_priority_max$d_sched_setparam" in
27 *"$undef"*) val="$undef" ;;
28 *) val="$define" ;;
29 esac
30 case "$val" in
31 "$define") echo "You have the full POSIX sched_*(2) library." >&4 ;;
32 "$undef")  echo "You don't have the full POSIX sched_*(2) library." >&4 ;;
33 esac
34 set d_posix_sched
35 eval $setvar
36