Hi,
gnash still doesn't detect the location of boost correctly on some systems
(including Ark Linux).
The problem is one pretty obvious typo (while detecting the version) and a
lack of checks for subdirectories when looking for the includes.
The attached patch fixes both, and detects boost correctly here.
--- gnash/macros/boost.m4.ark 2006-10-30 16:24:46.000000000 +0100
+++ gnash/macros/boost.m4 2006-10-30 16:41:03.000000000 +0100
@@ -51,7 +51,7 @@
gnash_boost_version=""
for i in $pathlist; do
for j in `ls -dr $i/boost* 2>/dev/null`; do
- if test -f ${libdir}/boost/detail/lightweight_mutex.hpp; then
+ if test -f ${j}/boost/detail/lightweight_mutex.hpp; then
gnash_boost_topdir=`basename $j`
gnash_boost_version=`echo ${gnash_boost_topdir} | sed -e 's:boost-::'`
break
@@ -75,6 +75,12 @@
ac_cv_path_boost_incl="-I$i"
break
fi
+ for j in `ls -dr $i/boost* 2>/dev/null`; do
+ if test -f $j/boost/detail/lightweight_mutex.hpp; then
+ ac_cv_path_boost_incl="-I$j"
+ break
+ fi
+ done
done
fi])
fi
_______________________________________________
Gnash mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/gnash