blob: f1a0ea7d15b8dcb08e8c20715df60a73eab98225 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
set prototyped
hdr vfork
sys vfork
tst run{
if test "$_hdr_vfork" = 1
then echo "#include <vfork.h>"
elif test "$_sys_vfork" = 1
then echo "#include <sys/vfork.h>"
else echo '#include <unistd.h>' > $tmp.c
$cc -E $tmp.c | grep vfork
fi
}end
|