Thomas Zimmermann kuhundbaer@web.de writes:
this patch fixes a detection error in configure.ac.
'Xrandr' and 'Xinerama' detection fails if GCC is set to Ansi mode. The reason is the use of 'typeof' in the test. GCC does not support this keyword when it is in Ansi mode. The patch solves that problem by using __typeof__ instead. I tested the patch on my machine.
Since the corresponding code won't build either, it's actually a feature that the configure check fails.