mirror of
https://github.com/Relintai/sdl2_frt.git
synced 2025-01-22 01:57:18 +01:00
Fixes test building
This commit is contained in:
parent
ad20c801cb
commit
7fc50affaa
8
test/configure
vendored
8
test/configure
vendored
@ -3451,7 +3451,7 @@ rm -f core conftest.err conftest.$ac_objext \
|
|||||||
rm -f conf.sdltest
|
rm -f conf.sdltest
|
||||||
|
|
||||||
CFLAGS="$CFLAGS $SDL_CFLAGS"
|
CFLAGS="$CFLAGS $SDL_CFLAGS"
|
||||||
LIBS="$LIBS -lSDL2_test $SDL_LIBS"
|
LIBS="$LIBS $SDL_LIBS -lSDL2_test"
|
||||||
|
|
||||||
ac_ext=c
|
ac_ext=c
|
||||||
ac_cpp='$CPP $CPPFLAGS'
|
ac_cpp='$CPP $CPPFLAGS'
|
||||||
@ -3785,16 +3785,16 @@ $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
if test x$have_x = xyes; then
|
if test x$have_x = xyes; then
|
||||||
if test x$ac_x_includes = xno || test x$ac_x_includes = x; then
|
if test x$ac_x_includes = xno || test "x$ac_x_includes" = xNone; then
|
||||||
:
|
:
|
||||||
else
|
else
|
||||||
CFLAGS="$CFLAGS -I$ac_x_includes"
|
CFLAGS="$CFLAGS -I$ac_x_includes"
|
||||||
fi
|
fi
|
||||||
if test x$ac_x_libraries = xno || test x$ac_x_libraries = x; then
|
if test x$ac_x_libraries = xno || test "x$ac_x_libraries" = xNone; then
|
||||||
:
|
:
|
||||||
else
|
else
|
||||||
XPATH="-L$ac_x_libraries"
|
XPATH="-L$ac_x_libraries"
|
||||||
XLIB="-L$ac_x_libraries -lX11"
|
XLIB="-lX11"
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
@ -86,21 +86,21 @@ AM_PATH_SDL2($SDL_VERSION,
|
|||||||
AC_MSG_ERROR([*** SDL version $SDL_VERSION not found!])
|
AC_MSG_ERROR([*** SDL version $SDL_VERSION not found!])
|
||||||
)
|
)
|
||||||
CFLAGS="$CFLAGS $SDL_CFLAGS"
|
CFLAGS="$CFLAGS $SDL_CFLAGS"
|
||||||
LIBS="$LIBS -lSDL2_test $SDL_LIBS"
|
LIBS="$LIBS $SDL_LIBS -lSDL2_test"
|
||||||
|
|
||||||
dnl Check for X11 path, needed for OpenGL on some systems
|
dnl Check for X11 path, needed for OpenGL on some systems
|
||||||
AC_PATH_X
|
AC_PATH_X
|
||||||
if test x$have_x = xyes; then
|
if test x$have_x = xyes; then
|
||||||
if test x$ac_x_includes = xno || test x$ac_x_includes = x; then
|
if test x$ac_x_includes = xno || test "x$ac_x_includes" = xNone; then
|
||||||
:
|
:
|
||||||
else
|
else
|
||||||
CFLAGS="$CFLAGS -I$ac_x_includes"
|
CFLAGS="$CFLAGS -I$ac_x_includes"
|
||||||
fi
|
fi
|
||||||
if test x$ac_x_libraries = xno || test x$ac_x_libraries = x; then
|
if test x$ac_x_libraries = xno || test "x$ac_x_libraries" = xNone; then
|
||||||
:
|
:
|
||||||
else
|
else
|
||||||
XPATH="-L$ac_x_libraries"
|
XPATH="-L$ac_x_libraries"
|
||||||
XLIB="-L$ac_x_libraries -lX11"
|
XLIB="-lX11"
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user