Changeset 1684 for trunk/configure.ac
- Timestamp:
- Jul 30, 2012, 2:25:20 AM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/configure.ac
r1678 r1684 197 197 if test "x${ac_cv_my_stop_looking_for_gl}" = "xno"; then 198 198 AC_CHECK_HEADER(GLES2/gl2.h, 199 [AC_DEFINE(HAVE_GLES_2X, 1, Define to 1 if GLES 2.x is available) 200 ac_cv_my_have_gl="yes"]) 199 [ac_cv_my_have_gl="yes" 200 AC_DEFINE(HAVE_GLES_2X, 1, Define to 1 if GLES 2.x is available) 201 AC_CHECK_LIB(GLESv2, glEnable, 202 [GL_LIBS="${GL_LIBS} -lGLESv2"])]) 201 203 fi 202 204 … … 209 211 210 212 if test "x${ac_cv_my_stop_looking_for_gl}" = "xno"; then 211 AC_CHECK_LIB(GL, gl LoadIdentity,213 AC_CHECK_LIB(GL, glEnable, 212 214 [ac_cv_my_have_gl="yes" 213 215 AC_DEFINE(HAVE_GL_2X, 1, Define to 1 if GL 2.x is available) # FIXME: hackish … … 351 353 352 354 355 dnl Use Android? FIXME: super hacks! 356 ac_cv_my_have_android="no" 357 AC_CHECK_LIB(log, __android_log_vprint, 358 [ac_cv_my_have_android="yes" 359 LOL_LIBS="${LOL_LIBS} -llog -module"]) 360 AM_CONDITIONAL(USE_ANDROID, test "${ac_cv_my_have_android}" != "no") 361 362 353 363 dnl Use EGL? 354 364 ac_cv_my_have_egl="no"
Note: See TracChangeset
for help on using the changeset viewer.