diff options
author | Joel Brobecker <brobecker@gnat.com> | 2010-09-01 18:56:45 +0000 |
---|---|---|
committer | Joel Brobecker <brobecker@gnat.com> | 2010-09-01 18:56:45 +0000 |
commit | bb0116a433af6f2a1bb99b628a863be46446cea0 (patch) | |
tree | 4f115327f70f296c49b1c121ce62c7a853ee5df2 /gdb/gdbserver/config.in | |
parent | 0482b03b6a590ca2540b32cc8db2526172bd8e34 (diff) | |
download | gdb-bb0116a433af6f2a1bb99b628a863be46446cea0.zip gdb-bb0116a433af6f2a1bb99b628a863be46446cea0.tar.gz gdb-bb0116a433af6f2a1bb99b628a863be46446cea0.tar.bz2 |
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.
Diffstat (limited to 'gdb/gdbserver/config.in')
-rw-r--r-- | gdb/gdbserver/config.in | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/gdb/gdbserver/config.in b/gdb/gdbserver/config.in index a6a9704..909dcb9 100644 --- a/gdb/gdbserver/config.in +++ b/gdb/gdbserver/config.in @@ -30,6 +30,14 @@ don't. */ #undef HAVE_DECL_STRERROR +/* Define to 1 if you have the declaration of `vasprintf', and to 0 if you + don't. */ +#undef HAVE_DECL_VASPRINTF + +/* Define to 1 if you have the declaration of `vsnprintf', and to 0 if you + don't. */ +#undef HAVE_DECL_VSNPRINTF + /* Define to 1 if you have the `dladdr' function. */ #undef HAVE_DLADDR @@ -172,6 +180,12 @@ /* Define if UST is available */ #undef HAVE_UST +/* Define to 1 if you have the `vasprintf' function. */ +#undef HAVE_VASPRINTF + +/* Define to 1 if you have the `vsnprintf' function. */ +#undef HAVE_VSNPRINTF + /* Checking if errno must be defined */ #undef MUST_DEFINE_ERRNO |