configure: fix broken RHEL conditional.

dist can be "openSUSE project" on openSUSE systems, so needs to be
quoted.

Also, for consistency, and clarity of usage of POSIX vs. non-POSIX style
conditionals, it is better to use either [ a = b ] or [[ a == b ]]
rather than mixing the two: [ a == b ]