configure.ac: Look for pwd.h, grp.h, netdb.h headers and functions.
authorFrank Ch. Eigler <fche@redhat.com>
Tue, 7 Sep 2004 21:52:52 +0000 (21:52 +0000)
committerFrank Ch. Eigler <fche@gcc.gnu.org>
Tue, 7 Sep 2004 21:52:52 +0000 (21:52 +0000)
commit66a5d3b1c1af7dca783626c5c8470c13cdb246e8
tree60266192b1071f716dc829f1db1f87f97112b81a
parentec666d23ca0f507e0940bcdf0b65848bceb1af30
configure.ac: Look for pwd.h, grp.h, netdb.h headers and functions.

2004-09-07  Frank Ch. Eigler  <fche@redhat.com>

* configure.ac: Look for pwd.h, grp.h, netdb.h headers and functions.
* mf-hooks2.c (strerror): Unregister previous string returned by
previous strerror.
(getlogin,cuserid,getpwnam,getpwuid,getgrnam,getgrgid): New wrappers.
(getservent,getservbyname,getservbyport,gai_strerror): Ditto.
* mf-runtime.h.in: Add redefine_extname pragmas for them all.
* mf-runtime.c (__mf_describe_object): Clarify object life status.
* testsuite/libmudflap.c/pass48-frag.c, pass49-frag.c, fail32-frag.c:
New tests.
* configure, config.h.in: Regenerated.

From-SVN: r87160
libmudflap/ChangeLog
libmudflap/config.h.in
libmudflap/configure
libmudflap/configure.ac
libmudflap/mf-hooks2.c
libmudflap/mf-runtime.c
libmudflap/mf-runtime.h.in
libmudflap/testsuite/libmudflap.c/fail32-frag.c [new file with mode: 0644]
libmudflap/testsuite/libmudflap.c/pass48-frag.c [new file with mode: 0644]
libmudflap/testsuite/libmudflap.c/pass49-frag.c [new file with mode: 0644]