Commit 8e9504da authored by Alexandre Julliard's avatar Alexandre Julliard

configure: Make sure opengl is not built with --without-opengl is specified.

parent 254349fb
...@@ -11387,6 +11387,11 @@ fi ...@@ -11387,6 +11387,11 @@ fi
else else
opengl_msg="OpenGL development headers not found." opengl_msg="OpenGL development headers not found."
fi fi
test -n "$opengl_msg" && enable_opengl32=${enable_opengl32:-no}
test "x$ac_cv_lib_soname_GLU" = "x" && enable_glu32=${enable_glu32:-no}
else
enable_opengl32=${enable_opengl32:-no}
enable_glu32=${enable_glu32:-no}
fi fi
if test -n "$opengl_msg"; then if test -n "$opengl_msg"; then
case "x$with_opengl" in case "x$with_opengl" in
...@@ -11404,9 +11409,6 @@ esac ...@@ -11404,9 +11409,6 @@ esac
fi fi
test -n "$opengl_msg" && enable_opengl32=${enable_opengl32:-no}
test "x$ac_cv_lib_soname_GLU" = "x" && enable_glu32=${enable_glu32:-no}
NASLIBS="" NASLIBS=""
......
...@@ -790,13 +790,15 @@ This probably prevents linking to OpenGL. Try deleting the file and restarting c ...@@ -790,13 +790,15 @@ This probably prevents linking to OpenGL. Try deleting the file and restarting c
else else
opengl_msg="OpenGL development headers not found." opengl_msg="OpenGL development headers not found."
fi fi
test -n "$opengl_msg" && enable_opengl32=${enable_opengl32:-no}
test "x$ac_cv_lib_soname_GLU" = "x" && enable_glu32=${enable_glu32:-no}
else
enable_opengl32=${enable_opengl32:-no}
enable_glu32=${enable_glu32:-no}
fi fi
WINE_WARNING_WITH(opengl,[test -n "$opengl_msg"],[$opengl_msg WINE_WARNING_WITH(opengl,[test -n "$opengl_msg"],[$opengl_msg
OpenGL and Direct3D won't be supported.]) OpenGL and Direct3D won't be supported.])
test -n "$opengl_msg" && enable_opengl32=${enable_opengl32:-no}
test "x$ac_cv_lib_soname_GLU" = "x" && enable_glu32=${enable_glu32:-no}
dnl **** Check for NAS **** dnl **** Check for NAS ****
AC_SUBST(NASLIBS,"") AC_SUBST(NASLIBS,"")
AC_CHECK_HEADERS(audio/audiolib.h, AC_CHECK_HEADERS(audio/audiolib.h,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment