--- libassuan-2.1.1/configure.ac.orig 2013-10-16 13:46:05.499080800 +0000 | |
+++ libassuan-2.1.1/configure.ac 2013-10-16 13:52:41.672888500 +0000 | |
@@ -380,7 +380,7 @@ | |
AC_REPLACE_FUNCS(isascii) | |
AC_REPLACE_FUNCS(putc_unlocked) | |
AC_REPLACE_FUNCS(memrchr) | |
-AC_REPLACE_FUNCS(stpcpy) | |
+AC_CHECK_DECLS([stpcpy], [AC_DEFINE([HAVE_STPCPY], [1], [Define to 1 if stpcpy is available])], [AC_LIBOBJ(stpcpy)]) | |
AC_CHECK_HEADERS(unistd.h) | |
AC_REPLACE_FUNCS(setenv) | |
AC_REPLACE_FUNCS(vasprintf) |