summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorMartin Lambers <marlam@marlam.de>2009-01-18 19:28:53 +0100
committerBruno Haible <bruno@clisp.org>2009-01-18 19:32:09 +0100
commitd1ed8a817f5d07d4013cfa0988ee2da8b2937db6 (patch)
tree118322812fd78a26aa88c8a7cbff784cf4088992 /modules
parente0e63df44d88b4b6139cd29906df1fd697c4bc4a (diff)
downloadgnulib-d1ed8a817f5d07d4013cfa0988ee2da8b2937db6.tar.gz
New module 'link'.
Diffstat (limited to 'modules')
-rw-r--r--modules/link24
-rw-r--r--modules/unistd2
2 files changed, 26 insertions, 0 deletions
diff --git a/modules/link b/modules/link
new file mode 100644
index 0000000000..31d1af4b46
--- /dev/null
+++ b/modules/link
@@ -0,0 +1,24 @@
+Description:
+link() function: create a new link for an existing file
+
+Files:
+lib/link.c
+m4/link.m4
+
+Depends-on:
+unistd
+
+configure.ac:
+gl_FUNC_LINK
+gl_UNISTD_MODULE_INDICATOR([link])
+
+Makefile.am:
+
+Include:
+<unistd.h>
+
+License:
+LGPLv2+
+
+Maintainer:
+Martin Lambers
diff --git a/modules/unistd b/modules/unistd
index 225abf9879..1359c526d7 100644
--- a/modules/unistd
+++ b/modules/unistd
@@ -40,6 +40,7 @@ unistd.h: unistd.in.h
-e 's|@''GNULIB_GETPAGESIZE''@|$(GNULIB_GETPAGESIZE)|g' \
-e 's|@''GNULIB_GETUSERSHELL''@|$(GNULIB_GETUSERSHELL)|g' \
-e 's|@''GNULIB_LCHOWN''@|$(GNULIB_LCHOWN)|g' \
+ -e 's|@''GNULIB_LINK''@|$(GNULIB_LINK)|g' \
-e 's|@''GNULIB_LSEEK''@|$(GNULIB_LSEEK)|g' \
-e 's|@''GNULIB_READLINK''@|$(GNULIB_READLINK)|g' \
-e 's|@''GNULIB_SLEEP''@|$(GNULIB_SLEEP)|g' \
@@ -54,6 +55,7 @@ unistd.h: unistd.in.h
-e 's|@''HAVE_GETHOSTNAME''@|$(HAVE_GETHOSTNAME)|g' \
-e 's|@''HAVE_GETPAGESIZE''@|$(HAVE_GETPAGESIZE)|g' \
-e 's|@''HAVE_GETUSERSHELL''@|$(HAVE_GETUSERSHELL)|g' \
+ -e 's|@''HAVE_LINK''@|$(HAVE_LINK)|g' \
-e 's|@''HAVE_READLINK''@|$(HAVE_READLINK)|g' \
-e 's|@''HAVE_SLEEP''@|$(HAVE_SLEEP)|g' \
-e 's|@''HAVE_DECL_ENVIRON''@|$(HAVE_DECL_ENVIRON)|g' \