diff options
Diffstat (limited to 'src/lib/libast/features/vfork')
-rw-r--r-- | src/lib/libast/features/vfork | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/lib/libast/features/vfork b/src/lib/libast/features/vfork new file mode 100644 index 0000000..f1a0ea7 --- /dev/null +++ b/src/lib/libast/features/vfork @@ -0,0 +1,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 |