--- configure.ac	2019-04-26 11:43:32.648297000 -0400
+++ configure.ac	2019-07-09 18:11:50.759723658 -0400
@@ -2029,7 +2029,7 @@
 # Clean up all leftovers from this test.
 rm -f crammd5_installed.c crammd5_installed

-AS_IF([test "x$crammd5test" = "xfound"],
+AS_IF([test "$(echo x$crammd5test | cut -c -6)" = "xfound"],
       [AC_MSG_RESULT([yes])],
       [AC_MSG_ERROR([no
 -------------------------------------------------------------------