Changeset 1533


Ignore:
Timestamp:
Jun 28, 2012, 2:30:29 PM (7 years ago)
Author:
sam
Message:

build: use $CELL_SDK and fall back to $CELL_SDK if not set.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/configure.ac

    r1530 r1533  
    100100  AC_DEFINE(HAVE_GLES_2X, 1, Define to 1 if GLES 2.x is available) # FIXME: hack
    101101  GL_LIBS="${GL_LIBS} -lPSGL -lgcm_cmd -lgcm_sys_stub"
     102  dnl  This is the old way
     103  if test "x${CELLSDK}" != x -a "x${CELLSDK}" = x; then
     104    CELL_SDK="${CELLSDK}"
     105  fi
    102106  if test "x${enable_debug}" = xyes; then
    103     GL_LIBS="${GL_LIBS} -L${CELLSDK}/target/ppu/lib/PSGL/RSX/debug"
     107    GL_LIBS="${GL_LIBS} -L${CELL_SDK}/target/ppu/lib/PSGL/RSX/debug"
    104108  elif test "x${enable_release}" = xyes; then
    105     GL_LIBS="${GL_LIBS} -L${CELLSDK}/target/ppu/lib/PSGL/RSX/ultra-opt"
     109    GL_LIBS="${GL_LIBS} -L${CELL_SDK}/target/ppu/lib/PSGL/RSX/ultra-opt"
    106110  else
    107     GL_LIBS="${GL_LIBS} -L${CELLSDK}/target/ppu/lib/PSGL/RSX/opt"
     111    GL_LIBS="${GL_LIBS} -L${CELL_SDK}/target/ppu/lib/PSGL/RSX/opt"
    108112  fi
    109113  dnl  For the runtime Cg compiler
Note: See TracChangeset for help on using the changeset viewer.