]> git.mxchange.org Git - flightgear.git/blobdiff - configure.ac
Disable depth buffer writes for 2D insturments. This should prevent z-buffer fighting
[flightgear.git] / configure.ac
index 39f861fe3ef09fb4fec905a18bc5e4845c1a5c9c..d202423b4611577b1803f27c651c673667d9311e 100644 (file)
@@ -123,7 +123,7 @@ AC_DEFINE([FGFS], 1, [Define so that JSBSim compiles in 'library' mode])
 
 dnl Used to controll whether clouds3d should be compiled in or not
 AC_DEFINE([FG_USE_CLOUDS_3D], 1, [Define to use 3D cloud support])
-AM_CONDITIONAL(FG_USE_CLOUDS_3D, test "x$FG_USE_CLOUDS_3D" != "x")
+AM_CONDITIONAL(FG_USE_CLOUDS_3D, test "x= "x")
 
 # Check for MS Windows environment
 AC_CHECK_HEADER(windows.h)
@@ -242,7 +242,7 @@ base_LIBS="$LIBS"
 dnl check for glut location
 AC_CHECK_HEADER(GL/glut.h)
 if test "x$ac_cv_header_GL_glut_h" = "xyes"; then
-    AC_DEFINE([GLUT_H], "GL/glut.h", [Define as glut.h include location])
+    AC_DEFINE([GLUT_H], <GL/glut.h>, [Define as glut.h include location])
 else
     AC_CHECK_HEADER(GLUT/glut.h)
     if test "x$ac_cv_header_GLUT_glut_h" = "xyes"; then