summaryrefslogtreecommitdiff
path: root/gnulib/modules/linkat
diff options
context:
space:
mode:
Diffstat (limited to 'gnulib/modules/linkat')
m---------gnulib0
-rw-r--r--gnulib/modules/linkat52
2 files changed, 52 insertions, 0 deletions
diff --git a/gnulib b/gnulib
deleted file mode 160000
-Subproject 443bc5ffcf7429e557f4a371b0661abe98ddbc1
diff --git a/gnulib/modules/linkat b/gnulib/modules/linkat
new file mode 100644
index 0000000..f31dcf7
--- /dev/null
+++ b/gnulib/modules/linkat
@@ -0,0 +1,52 @@
+Description:
+linkat() function: create a hard link, relative to two directories
+
+Files:
+lib/at-func2.c
+lib/linkat.c
+m4/linkat.m4
+
+Depends-on:
+unistd
+extensions
+dirname-lgpl [test $HAVE_LINKAT = 0 || test $REPLACE_LINKAT = 1]
+errno [test $HAVE_LINKAT = 0 || test $REPLACE_LINKAT = 1]
+fcntl-h [test $HAVE_LINKAT = 0 || test $REPLACE_LINKAT = 1]
+filenamecat-lgpl [test $HAVE_LINKAT = 0 || test $REPLACE_LINKAT = 1]
+link-follow [test $HAVE_LINKAT = 0 || test $REPLACE_LINKAT = 1]
+areadlink [test $HAVE_LINKAT = 0]
+at-internal [test $HAVE_LINKAT = 0]
+dosname [test $HAVE_LINKAT = 0]
+fstat [test $HAVE_LINKAT = 0]
+getcwd-lgpl [test $HAVE_LINKAT = 0]
+openat-h [test $HAVE_LINKAT = 0]
+openat-die [test $HAVE_LINKAT = 0]
+link [test $HAVE_LINKAT = 0]
+lstat [test $HAVE_LINKAT = 0]
+same-inode [test $HAVE_LINKAT = 0]
+save-cwd [test $HAVE_LINKAT = 0]
+symlink [test $HAVE_LINKAT = 0]
+areadlinkat [test $REPLACE_LINKAT = 1]
+fstatat [test $REPLACE_LINKAT = 1]
+
+configure.ac:
+gl_FUNC_LINKAT
+if test $HAVE_LINKAT = 0 || test $REPLACE_LINKAT = 1; then
+ AC_LIBOBJ([linkat])
+fi
+if test $HAVE_LINKAT = 0; then
+ AC_LIBOBJ([at-func2])
+fi
+gl_UNISTD_MODULE_INDICATOR([linkat])
+
+Makefile.am:
+
+Include:
+<fcntl.h>
+<unistd.h>
+
+License:
+GPL
+
+Maintainer:
+Jim Meyering, Eric Blake