generate argz.c and argz.in.h from glibc sources
authorJim Meyering <meyering@redhat.com>
Tue, 3 Jun 2008 09:42:12 +0000 (11:42 +0200)
committerJim Meyering <meyering@redhat.com>
Thu, 5 Jun 2008 18:02:00 +0000 (20:02 +0200)
commiteb61774da0aea434755a8684e2bb2f6854bd4e1c
tree5cfcbace9724908b74284dbd4b29f91571112686
parent2b2986f1776a2850832d60e699b5231d54aa2d01
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.
config/argz.mk [new file with mode: 0644]
config/srclist.txt
lib/argz.c
lib/argz.in.h
m4/argz.m4
modules/argz