Fix make configure on SmartOS

* Disable if test "A" = "A"; then fi test
  SYntax error on SmartOS
* build is fine on SmartOS, hopefully other SunOS,
  but I cannot confirm functionality now
Update to 2.22

Changelog:
SeaMonkey-specific changes

    Sorting messages by date can now be configured to look at the thread root instead of the newest message in it (pref: mailnews.sort_threads_by_root).
    Plugins doorhangers now allow to activate different plugin types independently.
    The proxy popup is now also available from the MailNews main window.
    A new Recipients column has been added that shows all recipients (To, CC, BCC).
    The default HTML5 audio/video player controls allow to change the playback rate now.
    A "Validate this page" entry has been added to Tools/Web Development.
    The Firefox devtools debugger can now be used to debug SeaMonkey remotely.
    See the changes page for a more complete overview.

Mozilla platform changes

    Web Audio support has been added.
    CSS3 background-attachment:local support to control background scrolling has been implemented.
    Many new ES6 functions have been implemented.
    iframe document content can now be specified inline.
    Fixed several stability issues.

Fixed in SeaMonkey 2.22
MFSA 2013-102 Use-after-free in HTML document templates
MFSA 2013-101 Memory corruption in workers
MFSA 2013-100 Miscellaneous use-after-free issues found through ASAN fuzzing
MFSA 2013-98 Use-after-free when updating offline cache
MFSA 2013-97 Writing to cycle collected object during image decoding
MFSA 2013-96 Improperly initialized memory and overflows in some JavaScript functions
MFSA 2013-95 Access violation with XSLT and uninitialized data
MFSA 2013-94 Spoofing addressbar though SELECT element
MFSA 2013-93 Miscellaneous memory safety hazards (rv:25.0 / rv:24.1 / rv:17.0.10)
Updated www/seamonkey to 2.22
Update to 2.22

* Sync with seamonkey-2.22
Updated www/seamonkey-l10n to 2.22
Add --without-tpm to configure arguments to have consistency across
platforms.
Reported by Richard PALO.
Changes 3.3.10:
* kerberos_ldap_group: fix LDAP string duplication
* Avoid "hot idle": A series of rapid select() calls with zero timeout.
* Bug 3887: tcp_outgoing_tos not working for IPv6
* Fix cbdata 'error: expression result unused' errors
* Have testRock use cachemgr stubs
* Bug 3836: Fix issues with automake 1.13 and later and make check (extra)
* Bug 3836: Fix issues with automake 1.13 and later and make check
* Append Connection:close to OPTIONS requests when icap_persistent_connections is off.
* Add cache_miss_revalidate
* Bug 3480: StoreEntry::kickProducer() segfaults in store_client::copy()
* Fix CBDATA_CLASS2 macro definition
* libntlmauth: Fix string field truncation
* ntlm_fake_auth: pass DOMAIN data to Squid in original case
* Fix SQUID_CC_CHECK_ARGUMENT autoconf macro
* Polish: better WARNING when workers directive is ignore on reconfigure.
* Use IPv6 localhost nameserver on DNS configuration errors
* Bug 3923: cbdata and undefined behavior due to dynamic runtime enumeration
* Polish: report bytes received when bad content-length detected by quick-abort
* Bug 3918: Squid 3.3.9 Self Test Failures on Mac OS X 10.8
* Bug 3929: request_header_add not working for tunnel requests
* Fix pinning hierarchy log information
* Close idle client connections associated with closed idle pinned connections.
Updated www/squid3 to 3.3.10
Support arpa/nameser_compat.h for OSX.
Don't strip on older OSX, avoids 'malformed object' errors.