]> git.mxchange.org Git - flightgear.git/blobdiff - configure.ac
Put the id of the tile we are flying over into the property tree for
[flightgear.git] / configure.ac
index 39f861fe3ef09fb4fec905a18bc5e4845c1a5c9c..7360988eba05053d3349686b0cfe2c401ba119a7 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,11 +242,11 @@ 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([FG_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
-        AC_DEFINE([GLUT_H], <GLUT/glut.h>, [Define as glut.h include location])
+        AC_DEFINE([FG_GLUT_H], <GLUT/glut.h>, [Define as glut.h include location])
     else
         echo "Neither GL/glut.h nor GLUT/glut.h found.  Cannot continue"
         exit