2 tests/test-posix_spawn1.c
3 tests/test-posix_spawn1.in.sh
4 tests/test-posix_spawn2.c
5 tests/test-posix_spawn2.in.sh
9 posix_spawn_file_actions_init
10 posix_spawn_file_actions_adddup2
11 posix_spawn_file_actions_addclose
12 posix_spawn_file_actions_addopen
13 posix_spawn_file_actions_destroy
15 posix_spawnattr_setsigmask
16 posix_spawnattr_setflags
17 posix_spawnattr_destroy
24 AC_EGREP_CPP([notposix], [[
25 #if defined _MSC_VER || defined __MINGW32__
29 [posix_spawn_ported=no],
30 [posix_spawn_ported=yes])
31 AM_CONDITIONAL([POSIX_SPAWN_PORTED], [test $posix_spawn_ported = yes])
35 TESTS += test-posix_spawn1 test-posix_spawn2
36 check_PROGRAMS += test-posix_spawn1 test-posix_spawn2
38 BUILT_SOURCES += test-posix_spawn1.sh
39 test-posix_spawn1.sh: test-posix_spawn1.in.sh
40 $(AM_V_GEN)rm -f $@-t $@ && \
41 cp $(srcdir)/test-posix_spawn1.in.sh $@-t && \
43 MOSTLYCLEANFILES += test-posix_spawn1.sh test-posix_spawn1.sh-t
45 BUILT_SOURCES += test-posix_spawn2.sh
46 test-posix_spawn2.sh: test-posix_spawn2.in.sh
47 $(AM_V_GEN)rm -f $@-t $@ && \
48 cp $(srcdir)/test-posix_spawn2.in.sh $@-t && \
50 MOSTLYCLEANFILES += test-posix_spawn2.sh test-posix_spawn2.sh-t