xref: /onnv-gate/usr/src/lib/libast/common/features/vfork (revision 4887:feebf9260c2e)
1*4887Schinset	prototyped
2*4887Schinhdr	vfork
3*4887Schinsys	vfork
4*4887Schin
5*4887Schintst	run{
6*4887Schin	if	test "$_hdr_vfork" = 1
7*4887Schin	then	echo "#include <vfork.h>"
8*4887Schin	elif	test "$_sys_vfork" = 1
9*4887Schin	then	echo "#include <sys/vfork.h>"
10*4887Schin	else	echo '#include <unistd.h>' > $tmp.c
11*4887Schin		$cc -E $tmp.c | grep vfork
12*4887Schin	fi
13*4887Schin}end
14