The '==' comparision operator is not defined by POSIX, use '=' instead

This commit is contained in:
Juergen Daubert 2015-11-30 20:55:07 +08:00
parent a3049d6433
commit f299caf612

View File

@ -92,7 +92,7 @@ AC_CHECK_LIB(crypt, crypt,
found_crypt_func=here found_crypt_func=here
]) ])
AC_SUBST(CRYPTLIB) 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]) AC_DEFINE(HAVE_CRYPT, 1, [crypt() function])
fi fi