--- a2ps-4.14-orig/configure.in	2008-04-16 08:36:03.000000000 +0200
+++ a2ps-4.14/configure.in	2008-04-16 08:36:29.000000000 +0200
@@ -137,7 +137,8 @@
 ad_REPLACE_FUNC_STRCASECMP
 ad_REPLACE_FUNC_STRNCASECMP
 ad_REPLACE_FUNC_RENAME
-AC_CHECK_FUNCS(uname strchr strerror strerror_r getcwd bcopy bzero tempnam strsignal psignal setlocale)
+AC_CHECK_FUNCS(uname strchr strerror strerror_r getcwd bcopy bzero \
+  tempnam strsignal psignal setlocale mempcpy)
 ad_FUNC_SYSTEMPAPERNAME
 ad_FUNC_ATEXIT
 ad_FUNC_STRFTIME
