]> git.ipfire.org Git - thirdparty/libtool.git/commit
* libltdl/argz.h: Moved from here...
authorGary V. Vaughan <gary@gnu.org>
Thu, 22 Apr 2004 22:47:20 +0000 (22:47 +0000)
committerGary V. Vaughan <gary@gnu.org>
Thu, 22 Apr 2004 22:47:20 +0000 (22:47 +0000)
commit04e0cebad7bfbfcd3951f027f9b7a4c8d6dc3920
tree1289c2571f924eea6bb527ec8ae9642f5ce13eba
parent486d02709f72213e0188cea57b54bbc0815cf5ae
* libltdl/argz.h: Moved from here...
* libltdl/argz_.h: ...to here, so as not to shadow system
argz.h when we `#include <argz.h>' for example.
#include stdlib.h and sys/types.h to ensure we get a size_t
definition.
* libltdl/argz.c (HAVE_CONFIG_H): Set it up how ltdl likes it when
used by another client.
* m4/argz.m4: New file.
(gl_FUNC_ARGZ): Try to find an error_t definition, and a system
argz.h.
* m4/ltdl.m4: Use it.
(AC_LTDL_FUNC_ARGZ): Removed.
* libltdl/lt__glibc.h: #include <argz.h> to pick up either the
system argz.h or our libltdl/argz.h if necessary.
* libltdl/Makefile.am (libltdl_la_SOURCES): Move argz.h from
here...
(ltdldata_DATA): ...here. Along with argz.c.
(argz.h): Generate from argz_.h if the system file is missing.
Reported by Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
ChangeLog
Makefile.am
libltdl/Makefile.am
libltdl/argz.c
libltdl/argz_.h [moved from libltdl/argz.h with 93% similarity]
libltdl/lt__glibc.h
m4/argz.m4 [new file with mode: 0644]
m4/ltdl.m4