build: Replace bashisms in configure for Wayland and GLES3

Chris Mayo requested to merge cjmayo/gst-plugins-base:m4dash into 1.16
checking for wayland-scanner... wayland-scanner
./configure: 28389: test: xyes: unexpected operator
checking libdrm/drm_fourcc.h usability... yes
checking libdrm/drm_fourcc.h presence... yes
checking for libdrm/drm_fourcc.h... yes
checking for glTexDirectVIV in -lGLESv2... no
./configure: 28530: test: xyes: unexpected operator
./configure: 28533: test: x: unexpected operator

Causes build failure:

make[6]: *** No rule to make target '/stable/xdg-shell/xdg-shell.xml',
needed by 'xdg-shell-client-protocol.c'.  Stop.

In case another 1.16 release is made.

Edited by Chris Mayo

Merge request reports