Public headers should not have #ifdefs relying on private defines
Public headers should not have #ifdefs relying on private defines

HAVE_COGL_GLES2 is defined in config.h through the configure script and
should not be used in public headers.

The patch makes configure generate the right define that can be used
later in the header.

collects/cogl,djdeath/cogl,Distrotech/cogl,djdeath/cogl-android,djdeath/cogl-android,spatulasnout/cogl,gcampax/cogl,Distrotech/cogl,djdeath/cogl-android,gcampax/cogl,collects/cogl,gcampax/cogl,Distrotech/cogl,djdeath/cogl,gcampax/cogl,Distrotech/cogl,djdeath/cogl,spatulasnout/cogl