test/configure.in
changeset 7703 982abfefd19d
parent 7495 c4ba5e5c2765
child 7704 3182291fc65f
equal deleted inserted replaced
7702:83878644c8e6 7703:982abfefd19d
    84 AM_PATH_SDL2($SDL_VERSION,
    84 AM_PATH_SDL2($SDL_VERSION,
    85             :,
    85             :,
    86 	    AC_MSG_ERROR([*** SDL version $SDL_VERSION not found!])
    86 	    AC_MSG_ERROR([*** SDL version $SDL_VERSION not found!])
    87 )
    87 )
    88 CFLAGS="$CFLAGS $SDL_CFLAGS"
    88 CFLAGS="$CFLAGS $SDL_CFLAGS"
    89 LIBS="$LIBS -lSDL2_test $SDL_LIBS"
    89 LIBS="$LIBS  $SDL_LIBS -lSDL2_test"
    90 
    90 
    91 dnl Check for X11 path, needed for OpenGL on some systems
    91 dnl Check for X11 path, needed for OpenGL on some systems
    92 AC_PATH_X
    92 AC_PATH_X
    93 if test x$have_x = xyes; then
    93 if test x$have_x = xyes; then
    94     if test x$ac_x_includes = xno || test x$ac_x_includes = x; then
    94     if test x$ac_x_includes = xno || test "x$ac_x_includes" = xNone; then
    95         :
    95         :
    96     else
    96     else
    97         CFLAGS="$CFLAGS -I$ac_x_includes"
    97         CFLAGS="$CFLAGS -I$ac_x_includes"
    98     fi
    98     fi
    99     if test x$ac_x_libraries = xno || test x$ac_x_libraries = x; then
    99     if test x$ac_x_libraries = xno || test "x$ac_x_libraries" = xNone; then
   100         :
   100         :
   101     else
   101     else
   102         XPATH="-L$ac_x_libraries"
   102         XPATH="-L$ac_x_libraries"
   103         XLIB="-L$ac_x_libraries -lX11"
   103         XLIB="-lX11"
   104     fi
   104     fi
   105 fi
   105 fi
   106 
   106 
   107 dnl Check for OpenGL
   107 dnl Check for OpenGL
   108 AC_MSG_CHECKING(for OpenGL support)
   108 AC_MSG_CHECKING(for OpenGL support)