Ignore:
Timestamp:
Jul 18, 2012, 10:27:34 PM (7 years ago)
Author:
sam
Message:

build: hide the SDL_main.h inclusion in core.h, and only activate it
on Windows if using Visual Studio; if using MinGW, try to stick to the
original main() entry point.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/configure.ac

    r1643 r1647  
    124124
    125125
     126dnl  Are we building using MinGW?
     127LIBS_save="$LIBS"
     128LIBS="$LIBS -mwindows"
     129AC_MSG_CHECKING(for -mwindows)
     130AC_TRY_LINK([], [],
     131 [AC_MSG_RESULT(yes)
     132  LOL_LIBS="${LOL_LIBS} -mwindows"],
     133 [AC_MSG_RESULT(no)])
     134LIBS="$LIBS_save"
     135
     136
    126137dnl  Are we on the Xbox 360?
    127138dnl  Answer: NO! we don't know how to build for it anyway
     
    143154AC_MSG_CHECKING(for -framework OpenGL)
    144155AC_TRY_LINK([], [],
    145  [ac_cv_my_have_cocoa="yes"
    146   AC_MSG_RESULT(yes)
     156 [AC_MSG_RESULT(yes)
    147157  GL_LIBS="${GL_LIBS} -framework OpenGL"
    148158  CXXFLAGS="${CXXFLAGS} -ObjC++"],
Note: See TracChangeset for help on using the changeset viewer.