Hi,
Can we please support 'non-standard' install locations
for simgear, plib and OSG?
Attached is a patch for configure.ac - tg-01.patch.
It adds --with-plib=<path> and --with-osg=<path>, and
avoids clobbering the EXTRA_DIRS being built up
from the current --with-simgear=<path>
Works well for me in Ubuntu...
Regards,
Geoff.
diff --git a/configure.ac b/configure.ac
index adb5740..945f1dc 100644
--- a/configure.ac
+++ b/configure.ac
@@ -26,6 +26,22 @@ if test "x$with_simgear" != "x" ; then
EXTRA_DIRS="${EXTRA_DIRS} $with_simgear"
fi
+# specify the plib location
+AC_ARG_WITH(plib, [ --with-plib=PREFIX Specify the prefix path to plib])
+
+if test "x$with_plib" != "x" ; then
+ echo "plib prefix is $with_plib"
+ 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 set the $host variable based on local machine/os
AC_CANONICAL_HOST
@@ -142,7 +158,7 @@ dnl Check for MS Windows environment
AC_CHECK_HEADER(windows.h)
dnl extra library and include directories
-EXTRA_DIRS="/usr/local/plib /usr/X11R6"
+EXTRA_DIRS="$EXTRA_DIRS /usr/local/plib /usr/X11R6"
if test -d /opt/X11R6 ; then
EXTRA_DIRS="$EXTRA_DIRS /opt/X11R6"
------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel