Use the right variables to set stuff for sdl-config script
authorPatrice Mandin <patmandin@gmail.com>
Fri, 12 May 2006 16:24:30 +0000
changeset 1825f255c6bee184
parent 1824 e25445333ccf
child 1826 cf7528eded83
Use the right variables to set stuff for sdl-config script
configure.in
     1.1 --- a/configure.in	Fri May 12 04:21:19 2006 +0000
     1.2 +++ b/configure.in	Fri May 12 16:24:30 2006 +0000
     1.3 @@ -1385,7 +1385,7 @@
     1.4              video_gem=yes
     1.5              AC_DEFINE(SDL_VIDEO_DRIVER_GEM)
     1.6              SOURCES="$SOURCES $srcdir/src/video/gem/*.c"
     1.7 -            EXTRA_LDFLAGS="$EXTRA_LDFLAGS -lgem"
     1.8 +            SDL_LIBS="$SDL_LIBS -lgem"
     1.9              have_video=yes
    1.10          fi
    1.11      fi
    1.12 @@ -1506,8 +1506,8 @@
    1.13          fi
    1.14          AC_DEFINE(SDL_VIDEO_OPENGL)
    1.15          AC_DEFINE(SDL_VIDEO_OPENGL_OSMESA)
    1.16 -        EXTRA_CFLAGS="$EXTRA_CFLAGS $OSMESA_CFLAGS"
    1.17 -        EXTRA_LDFLAGS="$EXTRA_LDFLAGS $OSMESA_LIBS"
    1.18 +        SDL_CFLAGS="$SDL_CFLAGS $OSMESA_CFLAGS"
    1.19 +        SDL_LIBS="$SDL_LIBS $OSMESA_LIBS"
    1.20  
    1.21          AC_ARG_ENABLE(osmesa-shared,
    1.22  AC_HELP_STRING([--enable-osmesa-shared], [dynamically load OSMesa OpenGL support [[default=yes]]]),
    1.23 @@ -1877,7 +1877,7 @@
    1.24          if test x$have_ldg_hdr = xyes -a x$have_ldg_lib = xyes; then
    1.25              AC_DEFINE(SDL_LOADSO_LDG)
    1.26              SOURCES="$SOURCES $srcdir/src/loadso/mint/*.c"
    1.27 -            EXTRA_LDFLAGS="$EXTRA_LDFLAGS -lldg -lgem"
    1.28 +            SDL_LIBS="$SDL_LIBS -lldg -lgem"
    1.29              have_loadso=yes
    1.30          fi
    1.31      fi