Import vsnprintf from libiberty if not available.
authorJoel Brobecker <brobecker@gnat.com>
Wed, 1 Sep 2010 18:56:45 +0000 (18:56 +0000)
committerJoel Brobecker <brobecker@gnat.com>
Wed, 1 Sep 2010 18:56:45 +0000 (18:56 +0000)
commitbb0116a433af6f2a1bb99b628a863be46446cea0
tree4f115327f70f296c49b1c121ce62c7a853ee5df2
parent0482b03b6a590ca2540b32cc8db2526172bd8e34
Import vsnprintf from libiberty if not available.

vasprintf and vsnprintf are not available on LynxOS, at least not on
version 4.0.0.  This patch updates the configury to import them from
libiberty if not available out of the box.

gdbserver/
        * Makefile.in (vasprintf.o, vsnprintf.o): New rules.
        * configure.ac: Add check for vasprintf and vsnprintf.
        * configure, config.in: Regenerate.
        * server.h (vasprintf, vsnprintf): Add conditional declarations.
gdb/gdbserver/ChangeLog
gdb/gdbserver/Makefile.in
gdb/gdbserver/config.in
gdb/gdbserver/configure
gdb/gdbserver/configure.ac
gdb/gdbserver/server.h