diff --git a/configure.ac b/configure.ac
index e2219d43a9e237fc1a3aa0b866423e88d9781ba6..9fd8ef20596ce34ec3bec0871a1f4e9c47a35f58 100644
--- a/configure.ac
+++ b/configure.ac
@@ -92,7 +92,7 @@ AC_CHECK_LIB(crypt, crypt,
 	found_crypt_func=here
 	])
 AC_SUBST(CRYPTLIB)	
-if test "t$found_crypt_func" == there; then
+if test "t$found_crypt_func" = there; then
 AC_DEFINE(HAVE_CRYPT, 1, [crypt() function])
 fi