Ignore:
Timestamp:
Jul 30, 2012, 2:25:20 AM (7 years ago)
Author:
sam
Message:

build: switch the Android native build rules to autoconf; still a bit rough
but we can now create shared objects for each project; only the testsuite
is not building properly because of issues with STLport, and EglApp is
deactivated because AndroidApp should have precedence.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/configure.ac

    r1678 r1684  
    197197if test "x${ac_cv_my_stop_looking_for_gl}" = "xno"; then
    198198  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"])])
    201203fi
    202204
     
    209211
    210212if test "x${ac_cv_my_stop_looking_for_gl}" = "xno"; then
    211   AC_CHECK_LIB(GL, glLoadIdentity,
     213  AC_CHECK_LIB(GL, glEnable,
    212214   [ac_cv_my_have_gl="yes"
    213215    AC_DEFINE(HAVE_GL_2X, 1, Define to 1 if GL 2.x is available) # FIXME: hackish
     
    351353
    352354
     355dnl  Use Android? FIXME: super hacks!
     356ac_cv_my_have_android="no"
     357AC_CHECK_LIB(log, __android_log_vprint,
     358 [ac_cv_my_have_android="yes"
     359  LOL_LIBS="${LOL_LIBS} -llog -module"])
     360AM_CONDITIONAL(USE_ANDROID, test "${ac_cv_my_have_android}" != "no")
     361
     362
    353363dnl  Use EGL?
    354364ac_cv_my_have_egl="no"
Note: See TracChangeset for help on using the changeset viewer.