build: some fixes in configure.ac - Use 'test =' instead of 'test ==' in the x11 test. The second one might not work with e.g. dash, whoops. - Use AS_IF instead of 'if'. It actually blends in better.. Signed-off-by: Ran Benita <ran234@gmail.com>