Commit d229869a authored by IOhannes m zmölnig's avatar IOhannes m zmölnig
Browse files

(only) allow building of Gem without GLU if explicitely requested.

parent 44cb1e84
......@@ -252,7 +252,7 @@ AS_IF([test "x$with_x" != "xno"], [
IEM_CHECK_GL
no_glu=yes
IEM_CHECK_GLU
AS_IF([test "x$with_GLU" != "xno"], IEM_CHECK_GLU)
AM_CONDITIONAL(HAVE_GLU, [test "x${no_glu}" != "xyes"])
IEM_CHECK_GLUT
IEM_CHECK_GLX
......@@ -740,7 +740,7 @@ AS_IF([test "x$no_gl" = "xyes"], [
])
AS_IF([test "x$no_glu" = "xyes" && test "x$no_agl" = "xyes"], [
AC_MSG_ERROR([GLU (headers) not found! you need openGL Utility Library!!!])
AS_IF([test "x$with_GLU" != "xno"],[AC_MSG_ERROR([GLU (headers) not found! you need openGL Utility Library!!!])])
])
AC_MSG_RESULT([Now run make ...])
Supports Markdown
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