EGL

libavg supports GLES2 and EGL since version 1.8.0. To enable this, install additional dependencies and add a configure parameter:

$ sudo apt-get install libgles2-mesa-dev libegl1-mesa-dev
$ ./configure --enable-egl