From 0175442dfa8f5f0f3e14cad5347d922bbe9f6b7d Mon Sep 17 00:00:00 2001 From: "H.J. Lu" Date: Wed, 16 Dec 2009 00:28:56 +0000 Subject: 2009-12-15 H.J. Lu * as.h (mempcpy): New. * configure.in: Check if mempcpy is declared. * configure: Regenerated. * config.in: Likewise. --- gas/configure | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'gas/configure') diff --git a/gas/configure b/gas/configure index cbcffc7..86ae974 100755 --- a/gas/configure +++ b/gas/configure @@ -13820,6 +13820,17 @@ $as_echo "#define NEED_DECLARATION_STRSTR 1" >>confdefs.h fi +ac_fn_c_check_decl "$LINENO" "mempcpy" "ac_cv_have_decl_mempcpy" "$ac_includes_default" +if test "x$ac_cv_have_decl_mempcpy" = x""yes; then : + ac_have_decl=1 +else + ac_have_decl=0 +fi + +cat >>confdefs.h <<_ACEOF +#define HAVE_DECL_MEMPCPY $ac_have_decl +_ACEOF + ac_fn_c_check_decl "$LINENO" "vsnprintf" "ac_cv_have_decl_vsnprintf" "$ac_includes_default" if test "x$ac_cv_have_decl_vsnprintf" = x""yes; then : ac_have_decl=1 -- cgit v1.1