Mercurial > sdl-ios-xcode
comparison configure.in @ 1825:f255c6bee184
Use the right variables to set stuff for sdl-config script
author | Patrice Mandin <patmandin@gmail.com> |
---|---|
date | Fri, 12 May 2006 16:24:30 +0000 |
parents | d2b0f8b18ab8 |
children | 037715c96a85 |
comparison
equal
deleted
inserted
replaced
1824:e25445333ccf | 1825:f255c6bee184 |
---|---|
1383 AC_CHECK_LIB(gem, appl_init, have_gem_lib=yes) | 1383 AC_CHECK_LIB(gem, appl_init, have_gem_lib=yes) |
1384 if test x$have_gem_hdr = xyes -a x$have_gem_lib = xyes; then | 1384 if test x$have_gem_hdr = xyes -a x$have_gem_lib = xyes; then |
1385 video_gem=yes | 1385 video_gem=yes |
1386 AC_DEFINE(SDL_VIDEO_DRIVER_GEM) | 1386 AC_DEFINE(SDL_VIDEO_DRIVER_GEM) |
1387 SOURCES="$SOURCES $srcdir/src/video/gem/*.c" | 1387 SOURCES="$SOURCES $srcdir/src/video/gem/*.c" |
1388 EXTRA_LDFLAGS="$EXTRA_LDFLAGS -lgem" | 1388 SDL_LIBS="$SDL_LIBS -lgem" |
1389 have_video=yes | 1389 have_video=yes |
1390 fi | 1390 fi |
1391 fi | 1391 fi |
1392 } | 1392 } |
1393 | 1393 |
1504 OSMESA_CFLAGS=`$OSMESA_CONFIG --cflags` | 1504 OSMESA_CFLAGS=`$OSMESA_CONFIG --cflags` |
1505 OSMESA_LIBS=`$OSMESA_CONFIG --libs` | 1505 OSMESA_LIBS=`$OSMESA_CONFIG --libs` |
1506 fi | 1506 fi |
1507 AC_DEFINE(SDL_VIDEO_OPENGL) | 1507 AC_DEFINE(SDL_VIDEO_OPENGL) |
1508 AC_DEFINE(SDL_VIDEO_OPENGL_OSMESA) | 1508 AC_DEFINE(SDL_VIDEO_OPENGL_OSMESA) |
1509 EXTRA_CFLAGS="$EXTRA_CFLAGS $OSMESA_CFLAGS" | 1509 SDL_CFLAGS="$SDL_CFLAGS $OSMESA_CFLAGS" |
1510 EXTRA_LDFLAGS="$EXTRA_LDFLAGS $OSMESA_LIBS" | 1510 SDL_LIBS="$SDL_LIBS $OSMESA_LIBS" |
1511 | 1511 |
1512 AC_ARG_ENABLE(osmesa-shared, | 1512 AC_ARG_ENABLE(osmesa-shared, |
1513 AC_HELP_STRING([--enable-osmesa-shared], [dynamically load OSMesa OpenGL support [[default=yes]]]), | 1513 AC_HELP_STRING([--enable-osmesa-shared], [dynamically load OSMesa OpenGL support [[default=yes]]]), |
1514 , enable_osmesa_shared=yes) | 1514 , enable_osmesa_shared=yes) |
1515 if test "x$enable_osmesa_shared" = "xyes" -a "x$enable_atari_ldg" = "xyes"; then | 1515 if test "x$enable_osmesa_shared" = "xyes" -a "x$enable_atari_ldg" = "xyes"; then |
1875 AC_CHECK_HEADER(ldg.h, have_ldg_hdr=yes) | 1875 AC_CHECK_HEADER(ldg.h, have_ldg_hdr=yes) |
1876 AC_CHECK_LIB(ldg, ldg_open, have_ldg_lib=yes, have_ldg_lib=no, -lgem) | 1876 AC_CHECK_LIB(ldg, ldg_open, have_ldg_lib=yes, have_ldg_lib=no, -lgem) |
1877 if test x$have_ldg_hdr = xyes -a x$have_ldg_lib = xyes; then | 1877 if test x$have_ldg_hdr = xyes -a x$have_ldg_lib = xyes; then |
1878 AC_DEFINE(SDL_LOADSO_LDG) | 1878 AC_DEFINE(SDL_LOADSO_LDG) |
1879 SOURCES="$SOURCES $srcdir/src/loadso/mint/*.c" | 1879 SOURCES="$SOURCES $srcdir/src/loadso/mint/*.c" |
1880 EXTRA_LDFLAGS="$EXTRA_LDFLAGS -lldg -lgem" | 1880 SDL_LIBS="$SDL_LIBS -lldg -lgem" |
1881 have_loadso=yes | 1881 have_loadso=yes |
1882 fi | 1882 fi |
1883 fi | 1883 fi |
1884 } | 1884 } |
1885 | 1885 |