diff options
author | Nick Alcock <nick.alcock@oracle.com> | 2020-06-04 17:16:09 +0100 |
---|---|---|
committer | Nick Alcock <nick.alcock@oracle.com> | 2020-07-22 18:02:18 +0100 |
commit | 43a61d7d3e619385b98c03d43733572b5b1dc015 (patch) | |
tree | 7c298d15791c90bd94c64445d721d96f02d4135a /libctf/configure.ac | |
parent | ac2ff760303260cf7f6137f08fc28d1a73cfcd6a (diff) | |
download | gdb-43a61d7d3e619385b98c03d43733572b5b1dc015.zip gdb-43a61d7d3e619385b98c03d43733572b5b1dc015.tar.gz gdb-43a61d7d3e619385b98c03d43733572b5b1dc015.tar.bz2 |
libctf: check for vasprintf
We've been using this for all of libctf's history in binutils: we should
check for it in configure.
libctf/
configure.ac: Check for vasprintf.
configure: Regenerated.
config.h.in: Likewise.
Diffstat (limited to 'libctf/configure.ac')
-rw-r--r-- | libctf/configure.ac | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libctf/configure.ac b/libctf/configure.ac index f31108c..26b062e 100644 --- a/libctf/configure.ac +++ b/libctf/configure.ac @@ -100,9 +100,9 @@ AC_C_BIGENDIAN AC_CHECK_HEADERS(byteswap.h endian.h) AC_CHECK_FUNCS(pread) -AC_CHECK_DECLS([asprintf]) dnl Check for bswap_{16,32,64} AC_CHECK_DECLS([bswap_16, bswap_32, bswap_64], [], [], [[#include <byteswap.h>]]) +AC_CHECK_DECLS([asprintf, vasprintf]) dnl Check for qsort_r. (Taken from gnulib.) AC_CHECK_FUNCS_ONCE([qsort_r]) |