Ignore:
Timestamp:
Sep 18, 2011, 11:01:26 PM (8 years ago)
Author:
sam
Message:

osx: automake does not support .mm files yet, so rename ios-image.mm back
to ios-image.cpp, but disable it on OS X because UIKit isn't available.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/configure.ac

    r954 r958  
    233233
    234234
     235dnl Use Cocoa?
     236ac_cv_my_have_cocoa="no"
     237LIBS_save="$LIBS"
     238LIBS="$LIBS -Wl,-framework -Wl,Cocoa"
     239AC_MSG_CHECKING(for -framework Cocoa)
     240AC_TRY_LINK([], [],
     241 [ac_cv_my_have_cocoa="yes"
     242  AC_MSG_RESULT(yes)
     243  CXXFLAGS="${CXXFLAGS} -ObjC++"],
     244 [AC_MSG_RESULT(no)])
     245LIBS="$LIBS_save"
     246AM_CONDITIONAL(USE_COCOA, test "${ac_cv_my_have_cocoa}" != "no")
     247
     248
    235249dnl Use EGL?
    236250ac_cv_my_have_egl="no"
Note: See TracChangeset for help on using the changeset viewer.