summaryrefslogtreecommitdiff
path: root/modules/argz
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2008-06-03 11:42:12 +0200
committerJim Meyering <meyering@redhat.com>2008-06-05 20:02:00 +0200
commiteb61774da0aea434755a8684e2bb2f6854bd4e1c (patch)
tree5cfcbace9724908b74284dbd4b29f91571112686 /modules/argz
parent2b2986f1776a2850832d60e699b5231d54aa2d01 (diff)
downloadgnulib-eb61774da0aea434755a8684e2bb2f6854bd4e1c.tar.gz
generate argz.c and argz.in.h from glibc sources
* config/argz.mk: New file, with rules to generate the two files. * modules/argz (Depends-on): Add mempcpy, stpcpy, strndup and strnlen. Suggested by David Lutterkort. * m4/argz.m4: Require AC_C_RESTRICT. Check only for the existence of one function, argz_replace, since it seems to have been added most recently. Also, remove the side effect of defining HAVE_ARGZ_* symbols. * lib/argz.c: Now generated directly from glibc sources, rather than imported from libtool. Includes the following additional functions: argz_extract, argz_create, argz_delete, str_append, argz_replace. * lib/argz.in.h: Likewise. * config/srclist.txt: Reflect that argz* files are no longer pulled from libtool.
Diffstat (limited to 'modules/argz')
-rw-r--r--modules/argz6
1 files changed, 5 insertions, 1 deletions
diff --git a/modules/argz b/modules/argz
index 601abb7221..19d884bcc8 100644
--- a/modules/argz
+++ b/modules/argz
@@ -7,6 +7,10 @@ lib/argz.c
m4/argz.m4
Depends-on:
+mempcpy
+stpcpy
+strndup
+strnlen
configure.ac:
gl_FUNC_ARGZ
@@ -30,4 +34,4 @@ License:
LGPLv2+
Maintainer:
-bug-libtool@gnu.org
+all