]> git.mxchange.org Git - simgear.git/commitdiff
Modified Files:
authorfrohlich <frohlich>
Mon, 30 Oct 2006 19:56:09 +0000 (19:56 +0000)
committerfrohlich <frohlich>
Mon, 30 Oct 2006 19:56:09 +0000 (19:56 +0000)
configure.ac: Add a configure flag for osg

configure.ac

index fcc326d768e0c88117a9e2fe0c8759f72620dc04..1c020f19759bd588bfd7985c22b31412c0f9d655 100644 (file)
@@ -119,6 +119,14 @@ if test "x$with_plib" != "x" ; then
     EXTRA_DIRS="${EXTRA_DIRS} $with_plib"
 fi
 
+# specify the osg location
+AC_ARG_WITH(osg, [  --with-osg=PREFIX       Specify the prefix path to osg])
+
+if test "x$with_osg" != "x" ; then
+    echo "osg prefix is $with_osg"
+    EXTRA_DIRS="${EXTRA_DIRS} $with_osg"
+fi
+
 dnl Determine an extra directories to add to include/lib search paths
 case "${host}" in
 *-apple-darwin* | *-*-cygwin* | *-*-mingw32*)