The "==" operator isn't POSIX (use "="), and the -a and -o connectors
aren't POSIX (use test foo && test bar, test foo || test bar).
[Enable favourite contacts]), ,
enable_favourite_contacts=no)
-if test "x$enable_favourite_contacts" != "xno" -o "x$chain_enable_favourite_contacts" == "xyes"; then
+if test "x$enable_favourite_contacts" != "xno" || test "x$chain_enable_favourite_contacts" = "xyes"; then
PKG_CHECK_MODULES(TELEPATHY_LOGGER,
[
telepathy-logger
have_favourite_contacts="no"
fi
-if test "x$enable_favourite_contacts" = "xyes" -a "x$have_favourite_contacts" != "xyes"; then
+if test "x$enable_favourite_contacts" = "xyes" && test "x$have_favourite_contacts" != "xyes"; then
AC_MSG_ERROR([Couldn't find favourite contacts dependencies.])
fi