Rename tests/test-copy-file-sameacls.c to tests/test-sameacls.c.
[gnulib.git] / modules / copy-file-tests
1 Files:
2 tests/test-copy-file.sh
3 tests/test-copy-file.c
4 tests/test-sameacls.c
5
6 Depends-on:
7 acl
8 progname
9 read-file
10 xalloc
11
12 configure.ac:
13 AC_REQUIRE([gl_FUNC_ACL])
14 save_LIBS="$LIBS"
15 LIBS="$LIB_ACL $LIBS"
16 dnl Test for functions present on Linux, FreeBSD, MacOS X, IRIX, Tru64, Cygwin.
17 AC_CHECK_FUNCS([acl_get_file])
18 dnl Test for functions present on Solaris.
19 AC_CHECK_FUNCS([acl])
20 dnl Test for functions present on HP-UX.
21 AC_CHECK_FUNCS([getacl])
22 dnl Test for functions present on AIX.
23 AC_CHECK_FUNCS([aclx_get])
24 dnl Test for functions present on older AIX.
25 AC_CHECK_FUNCS([statacl])
26 LIBS="$save_LIBS"
27
28 Makefile.am:
29 TESTS += test-copy-file.sh
30 TESTS_ENVIRONMENT += EXEEXT='@EXEEXT@'
31 check_PROGRAMS += test-copy-file test-sameacls
32 test_copy_file_LDADD = $(LDADD) $(LIB_ACL) @LIBINTL@
33 test_sameacls_LDADD = $(LDADD) $(LIB_ACL) @LIBINTL@