aboutsummaryrefslogtreecommitdiff
path: root/binutils/configure
diff options
context:
space:
mode:
Diffstat (limited to 'binutils/configure')
-rwxr-xr-xbinutils/configure10
1 files changed, 10 insertions, 0 deletions
diff --git a/binutils/configure b/binutils/configure
index fc9b976..48fa906 100755
--- a/binutils/configure
+++ b/binutils/configure
@@ -13518,6 +13518,16 @@ $as_echo "#define HAVE_GOOD_UTIME_H 1" >>confdefs.h
fi
+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
ac_fn_c_check_decl "$LINENO" "environ" "ac_cv_have_decl_environ" "$ac_includes_default"
if test "x$ac_cv_have_decl_environ" = x""yes; then :
ac_have_decl=1