diff options
author | Iain Buclaw <ibuclaw@gdcproject.org> | 2015-07-28 09:57:32 +0200 |
---|---|---|
committer | Iain Buclaw <ibuclaw@gdcproject.org> | 2015-07-28 09:57:32 +0200 |
commit | d6f1bafa2c05241b89c0303a9f6a2af89f51c39c (patch) | |
tree | 03edb273e3c0f3a9a21a70204f9130b6199a0d2d /bfd/configure.ac | |
parent | 671c4e31fb12f1bee30d3bb5f8ad95f17d8d4663 (diff) | |
download | gdb-d6f1bafa2c05241b89c0303a9f6a2af89f51c39c.zip gdb-d6f1bafa2c05241b89c0303a9f6a2af89f51c39c.tar.gz gdb-d6f1bafa2c05241b89c0303a9f6a2af89f51c39c.tar.bz2 |
Check for asprintf and vasprintf during configure stage.
This should fix some build errors seen on AIX, MinGW, and possibly other
non-GNU systems too due to missing asprintf().
bfd/
* configure.in: Add asprintf and vasprintf to AC_CHECK_DECLS.
* config.in, configure: Regenerate.
Diffstat (limited to 'bfd/configure.ac')
-rw-r--r-- | bfd/configure.ac | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/bfd/configure.ac b/bfd/configure.ac index 4225f7d..2a38842 100644 --- a/bfd/configure.ac +++ b/bfd/configure.ac @@ -232,6 +232,8 @@ AC_CHECK_DECLS(malloc) AC_CHECK_DECLS(realloc) AC_CHECK_DECLS(stpcpy) AC_CHECK_DECLS(strstr) +AC_CHECK_DECLS(asprintf) +AC_CHECK_DECLS(vasprintf) AC_CHECK_DECLS(snprintf) AC_CHECK_DECLS(vsnprintf) AC_CHECK_DECLS(strnlen) |