portable version of OpenBSD's signify with autoconf