[Bf-committers] MacOSX

Michael Velikanje bf-committers@blender.org
Thu, 5 Dec 2002 13:18:42 -0900


Kent wrote: "Heya could someone on MacOSX

Try making the following changes to configure.ac
replace the 2 AC_CHECK_HEADER lines here:
  *darwin*)
          
AC_CHECK_HEADER([/System/Library/Frameworks/OpenGL.framework/Versions/A/
Headers/gl.h])
          
AC_CHECK_HEADER([/System/Library/Frameworks/OpenGL.framework/Versions/A/
Headers/glu.h])
   ;;

with:
SYSTEM_LIBS="$SYSTEM_LIBS -framework OpenGL -framework AGL"

Kent
"

I tried this, and can see no difference in the output of configure. I  
tried *-apple-darwin*, *-darwin*,  *-powerpc*, and  
*-powerpc-unknown-none* there is no sign that it's even looked at.  
GL/gl.h still =no and there is no where in the configure output that  
shows that the /System........GL path is found. Could this be an issue  
of the host/target not being found? I tried this with  
AC_CHECK_HEADERS([/System............  and with  
SYSTEM_LIBS="$SYSTEM_LIBS -framework OpenGL -framework AGL"
I even tried to replace 'case "$target" in' with 'case "$host" in' that  
didn't even give me an error. The only --build= that configure will  
take is --build=powerpc it doesn't know about osx, darwin, or  
apple-darwin.

Michael V