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
8 posix_spawn_file_actions_init
9 posix_spawn_file_actions_adddup2
10 posix_spawn_file_actions_addclose
11 posix_spawn_file_actions_addopen
12 posix_spawn_file_actions_destroy
14 posix_spawnattr_setsigmask
15 posix_spawnattr_setflags
16 posix_spawnattr_destroy
23 AC_EGREP_CPP([notposix], [[
24 #if defined _MSC_VER || defined __MINGW32__
28 [posix_spawn_ported=no],
29 [posix_spawn_ported=yes])
30 AM_CONDITIONAL([POSIX_SPAWN_PORTED], [test $posix_spawn_ported = yes])
34 TESTS += test-posix_spawn1 test-posix_spawn2
35 check_PROGRAMS += test-posix_spawn1 test-posix_spawn2
37 BUILT_SOURCES += test-posix_spawn1.sh
38 test-posix_spawn1.sh: test-posix_spawn1.in.sh
39 $(AM_V_GEN)rm -f $@-t $@ && \
40 cp $(srcdir)/test-posix_spawn1.in.sh $@-t && \
42 MOSTLYCLEANFILES += test-posix_spawn1.sh test-posix_spawn1.sh-t
44 BUILT_SOURCES += test-posix_spawn2.sh
45 test-posix_spawn2.sh: test-posix_spawn2.in.sh
46 $(AM_V_GEN)rm -f $@-t $@ && \
47 cp $(srcdir)/test-posix_spawn2.in.sh $@-t && \
49 MOSTLYCLEANFILES += test-posix_spawn2.sh test-posix_spawn2.sh-t