diff --git a/desmume/configure.ac b/desmume/configure.ac index 003afd91c..79904cc70 100644 --- a/desmume/configure.ac +++ b/desmume/configure.ac @@ -60,6 +60,7 @@ AC_ARG_ENABLE([osmesa], if test "x$osmesa" = "xyes" ; then AC_CHECK_LIB(dl, main) + AC_CHECK_LIB([GL], main) AC_CHECK_LIB(OSMesa, main,[ useosmesa=yes AC_DEFINE(HAVE_LIBOSMESA)