diff --git a/configure.in b/configure.in index 3ed1b9a..e932281 100644 --- a/configure.in +++ b/configure.in @@ -1057,12 +1057,6 @@ if test "x$HAVE_SDL" = xyes -a "x$ENABLE_SDL" = xyes; then TARGETS="$TARGETS qf-client-sdl\$(EXEEXT)" CL_TARGETS="$CL_TARGETS SDL" fi -if test "x$HAVE_SGL" = xyes; then - if test "x$HAVE_GLX" = xyes -a "x$ENABLE_SGL" = xyes; then - TARGETS="$TARGETS qf-client-sgl\$(EXEEXT)" - CL_TARGETS="$CL_TARGETS SDL-GL" - fi -fi if test "x$HAVE_SVGA" = xyes -a "x$ENABLE_SVGA" = xyes; then TARGETS="$TARGETS qf-client-svga\$(EXEEXT)" CL_TARGETS="$CL_TARGETS SVGAlib" @@ -1077,6 +1071,12 @@ if test "x$HAVE_X" = xyes; then CL_TARGETS="$CL_TARGETS GLX" fi fi +if test "x$HAVE_SGL" = xyes; then + if test "x$HAVE_GLX" = xyes -a "x$ENABLE_SGL" = xyes; then + TARGETS="$TARGETS qf-client-sgl\$(EXEEXT)" + CL_TARGETS="$CL_TARGETS SDL-GL" + fi +fi if test "x$HAVE_TDFXGL" = xyes -a "x$ENABLE_3DFX" = xyes; then TARGETS="$TARGETS qf-client-3dfx\$(EXEEXT)" CL_TARGETS="$CL_TARGETS 3dfx"