diff options
author | Nick Clifton <nickc@redhat.com> | 2015-08-26 10:56:26 +0100 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2015-08-26 10:56:26 +0100 |
commit | 2a7f4fa91ffc8ad3ad195f7ac02a4c97bc96b791 (patch) | |
tree | fadcb2758c470416039e10e3b1ea485619de587d /gas/configure | |
parent | 7c61d651fd0e42b8f68840a3735ed7e46d4fd083 (diff) | |
download | gdb-2a7f4fa91ffc8ad3ad195f7ac02a4c97bc96b791.zip gdb-2a7f4fa91ffc8ad3ad195f7ac02a4c97bc96b791.tar.gz gdb-2a7f4fa91ffc8ad3ad195f7ac02a4c97bc96b791.tar.bz2 |
Add asprintf to the list of functions whose decls are checked at configure time.
PR gas/18842
* configure.ac (AS_CHECK_DECLS): Add asprintf.
* configure: Regenerate.
* config.in: Regenerate.
Diffstat (limited to 'gas/configure')
-rwxr-xr-x | gas/configure | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/gas/configure b/gas/configure index 143b940..62bf039 100755 --- a/gas/configure +++ b/gas/configure @@ -14311,6 +14311,16 @@ fi cat >>confdefs.h <<_ACEOF #define HAVE_DECL_VSNPRINTF $ac_have_decl _ACEOF +ac_fn_c_check_decl "$LINENO" "asprintf" "ac_cv_have_decl_asprintf" "$ac_includes_default" +if test "x$ac_cv_have_decl_asprintf" = x""yes; then : + ac_have_decl=1 +else + ac_have_decl=0 +fi + +cat >>confdefs.h <<_ACEOF +#define HAVE_DECL_ASPRINTF $ac_have_decl +_ACEOF |