[build] Check for libXext
[build] Check for libXext

It seems GNU Gold (the new linker) either behaves as if with
--no-undefined by default, or has some issue preventing it from not
doing that when instructed to (I'm not sure if this actually
happens). In any case, clutter uses the Xshm extensions, but does not
link to libXext, which makes gold unhappy.

Based on a patch by: Xan Lopez <xan@gnome.org>

Signed-off-by: Emmanuele Bassi <049ee2061f71220e5aaf33f5be422fc2a2b06a44@linux.intel.com>

nobled/clutter,jigpu/clutter,jigpu/clutter,ebassi/clutter,spatulasnout/clutter,heysion/clutter-clone,djdeath/clutter,Distrotech/clutter,heysion/clutter-clone,djdeath/clutter-multithreaded,heysion/clutter-clone,rkudiyarov/clutter_osx,djdeath/clutter,Distrotech/clutter,GNOME/clutter,djdeath/clutter-android,heysion/clutter-clone,spatulasnout/clutter,ebassi/clutter,ebassi/clutter,djdeath/clutter-multithreaded,ebassi/clutter,collects/clutter,djdeath/clutter-multithreaded,kerrickstaley/clutter-vala,Distrotech/clutter,jigpu/clutter,jigpu/clutter,tardyp/clutter,djdeath/clutter-android,spatulasnout/clutter,dlespiau/clutter,GNOME/clutter,GNOME/clutter,tardyp/clutter,collects/clutter,nobled/clutter,GNOME/clutter,collects/clutter,dlespiau/clutter,collects/clutter,collects/clutter,rkudiyarov/clutter_osx,Distrotech/clutter,kerrickstaley/clutter-vala,jigpu/clutter,djdeath/clutter,djdeath/clutter,Distrotech/clutter,spatulasnout/clutter,ebassi/clutter,tardyp/clutter,djdeath/clutter,jigpu/clutter,djdeath/clutter-android,rkudiyarov/clutter_osx,spatulasnout/clutter,kerrickstaley/clutter-vala,rkudiyarov/clutter_osx,djdeath/clutter,heysion/clutter-clone,kerrickstaley/clutter-vala,dlespiau/clutter,GNOME/clutter,djdeath/clutter-multithreaded,djdeath/clutter-android,Distrotech/clutter,nobled/clutter,djdeath/clutter-android