[configure.ac] Fix inadvertently invoking X server (#4792)
authorAlexander Köplinger <alex.koeplinger@outlook.com>
Thu, 4 May 2017 22:04:43 +0000 (00:04 +0200)
committerGitHub <noreply@github.com>
Thu, 4 May 2017 22:04:43 +0000 (00:04 +0200)
commit12d5afd75fb5ec8aa4d46c3d38d7cde4e13be68f
treeb30bfa5815aaff784645e471b105e5711b7c3965
parent23ae27b70d7286c542d129e974a0c927503635bc
[configure.ac] Fix inadvertently invoking X server (#4792)

I noticed this when I cleaned my Mono repo and reran autogen.sh.
I suddenly got a popup from XQuartz about "Unrecognized option: =".

Turns out this was introduced in 9e967f00b3073671b340c1a4e3da7253d5213668,
the second half of the if is missing `test`, so it actually runs
`x = xyes` which starts XQuartz :D

Also cleaned up the USE_NLS checking since that ran immediately
before this and just printed "no" before which confused me.
configure.ac