aboutsummaryrefslogtreecommitdiff
path: root/binutils/configure.ac
diff options
context:
space:
mode:
authorSam Thursfield <sam.thursfield@codethink.co.uk>2017-03-03 14:14:35 +0000
committerAlan Modra <amodra@gmail.com>2017-03-06 11:42:30 +1030
commit1f5345a614203185f7fdacbf4b000d2676de26dd (patch)
tree67228625c61b837baa2e0f176eabf2589445eb51 /binutils/configure.ac
parent62e755d208d7359e722a248df3e74278779272c8 (diff)
downloadgdb-1f5345a614203185f7fdacbf4b000d2676de26dd.zip
gdb-1f5345a614203185f7fdacbf4b000d2676de26dd.tar.gz
gdb-1f5345a614203185f7fdacbf4b000d2676de26dd.tar.bz2
binutils: Fix warning on platforms that don't have asprintf
* configure.ac (AC_CHECK_DECLS): Add asprintf. * config.in: Regenerate. * configure: Regenerate.
Diffstat (limited to 'binutils/configure.ac')
-rw-r--r--binutils/configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/binutils/configure.ac b/binutils/configure.ac
index 2f3fca9..fbd366a 100644
--- a/binutils/configure.ac
+++ b/binutils/configure.ac
@@ -198,7 +198,7 @@ if test $bu_cv_header_utime_h = yes; then
AC_DEFINE(HAVE_GOOD_UTIME_H, 1, [Does <utime.h> define struct utimbuf?])
fi
-AC_CHECK_DECLS([environ, fprintf, getc_unlocked, getenv,
+AC_CHECK_DECLS([asprintf, environ, fprintf, getc_unlocked, getenv,
sbrk, snprintf, stpcpy, strnlen, strstr, vsnprintf])
# Link in zlib if we can. This allows us to read compressed debug