From 5381d581fe6d0c79a485f3179cd5505b7efb9336 Mon Sep 17 00:00:00 2001 From: Carl Worth Date: Mon, 24 Jun 2013 15:27:50 -0700 Subject: [PATCH] configure: Fix configure check to look for egl.h in the correct directory This configure check was broken by looking for GL/egl.h instead of EGL/egl.h as it should. This failure was masked on any system with an EGL implementation providing a pkg-config file (egl.pc). --- configure | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/configure b/configure index d5438d3..ef8aed0 100755 --- a/configure +++ b/configure @@ -308,14 +308,14 @@ else fi rm -f glx-minimal glx-minimal.c -printf " Checking for GL/egl.h... " +printf " Checking for EGL/egl.h... " have_egl=No if pkg-config --exists egl; then printf "Yes.\n" have_egl=Yes egl_cflags=$(pkg-config --cflags egl) else - printf "#include \nint main(void){return 0;}\n" > egl-minimal.c + printf "#include \nint main(void){return 0;}\n" > egl-minimal.c if ${CC} -o egl-minimal egl-minimal.c ${gl_cflags} > /dev/null 2>&1 then printf "Yes.\n" -- 2.43.0