02:46.32 | *** join/#bzflag L4m3r (~l4m3r@bzflag/developer/L4m3r) |
02:46.32 | *** mode/#bzflag [+v L4m3r] by ChanServ |
07:29.00 | *** join/#bzflag brad (~brad@unaffiliated/brad) |
08:16.08 | macsforme | blast007: were you trying to avoid modifying LIBS during those tests for gl.h, glu.h, and glew.h? |
08:19.31 | macsforme | it looks like the functions you are using to do the tests are modifying LIBS temporarily in the background, anyway |
10:05.48 | blast007 | nope, wasn't trying to avoid that |
10:10.49 | blast007 | on macOS could we just assume the presense of the OpenGL framework and only check for GLEW? |
11:13.23 | blast007 | if you remove the two lines checking for GL/GLU for macOS, does the build work? |
16:54.13 | *** join/#bzflag bboles (~quassel@2607:fcd0:100:8300:1c::a3ed) |
19:28.39 | macsforme | it's probably safe to do, unless someone is using some other OS with the darwin kernel (that doesn't include OpenGL by default), or unless OpenGL support in macOS changes substantially in the future |
19:29.55 | macsforme | but if we leave the check for the headers, we're probably safe... and yes, it does build if we disable those two lines |
19:38.20 | macsforme | want me to patch it? |
19:41.05 | blast007 | sure |
20:52.19 | blast007 | macsforme: I guess the other option would be to just check for the GL/GLU headers but assume that if we find those that -framework OpenGL is available |
20:53.13 | blast007 | or I suppose I mean assume that the -framework OpenGL is available, but check for the existance of the GL/GLU headers and disable the client if we don't find those |
20:55.46 | *** join/#bzflag I_Died_Once (~I_Died_On@unaffiliated/idiedonce/x-1828535) |
21:15.58 | blast007 | possibly this: |
21:16.03 | blast007 | AC_CHECK_HEADER([OpenGL/gl.h], [$ac_cv_search_glBegin = "none required"], [have_gl=no], $GLIBS), [have_gl=no ; ac_cv_search_glBegin=no]) |
21:16.07 | blast007 | AC_CHECK_HEADER([OpenGL/glu.h], [$ac_cv_search_gluScaleImage = "none required"], [have_gl=no ; ac_cv_search_gluScaleImage=no]) |
23:36.30 | *** join/#bzflag spldart (~james@bzflag/contributor/spldart) |
23:36.30 | *** mode/#bzflag [+v spldart] by ChanServ |