]> git.mxchange.org Git - simgear.git/blobdiff - configure.ac
Manage OSG object cache explicitly
[simgear.git] / configure.ac
index 23bfb03e60fba6f05bb56c8cb2a82af3f40d65cf..83040536a7920ba735fc8de2d7f40b62fdd7634b 100644 (file)
@@ -386,6 +386,18 @@ int main() {
 
 LIBS="$saved_LIBS"
 
+AC_CHECK_HEADER(osg/Version)
+if test "x$ac_cv_header_osg_Version" != "xyes"; then
+    echo
+    echo "You *must* have the OpenSceneGraph support library installed on your system"
+    echo "to build this version of SimGear!"
+    echo
+    echo "Please see README.OSG for more details."
+    echo
+    echo "configure aborted."
+    exit
+fi
+
 AC_LANG_POP
 
 dnl Check for system installed zlib