X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=modules%2Fcopy-file-tests;h=ab7f6324e7954b54365a29d835b74159767c0c90;hb=6f730e7ae5225bf9eb36554d94805b97a72784bd;hp=999c677fcfe034a4f5684344896ce0fa69ca5b8c;hpb=025733d35d2371eca95b865e46f57d892c11ce9d;p=gnulib.git diff --git a/modules/copy-file-tests b/modules/copy-file-tests index 999c677fc..ab7f6324e 100644 --- a/modules/copy-file-tests +++ b/modules/copy-file-tests @@ -1,33 +1,19 @@ Files: tests/test-copy-file.sh tests/test-copy-file.c -tests/test-sameacls.c +tests/macros.h Depends-on: acl +acl-tests progname read-file xalloc configure.ac: -AC_REQUIRE([gl_FUNC_ACL]) -save_LIBS="$LIBS" -LIBS="$LIB_ACL $LIBS" -dnl Test for functions present on Linux, FreeBSD, MacOS X, IRIX, Tru64, Cygwin. -AC_CHECK_FUNCS([acl_get_file]) -dnl Test for functions present on Solaris. -AC_CHECK_FUNCS([acl]) -dnl Test for functions present on HP-UX. -AC_CHECK_FUNCS([getacl]) -dnl Test for functions present on AIX. -AC_CHECK_FUNCS([aclx_get]) -dnl Test for functions present on older AIX. -AC_CHECK_FUNCS([statacl]) -LIBS="$save_LIBS" Makefile.am: TESTS += test-copy-file.sh -TESTS_ENVIRONMENT += EXEEXT='@EXEEXT@' -check_PROGRAMS += test-copy-file test-sameacls +TESTS_ENVIRONMENT += USE_ACL=$(USE_ACL) +check_PROGRAMS += test-copy-file test_copy_file_LDADD = $(LDADD) $(LIB_ACL) @LIBINTL@ -test_sameacls_LDADD = $(LDADD) $(LIB_ACL) @LIBINTL@