--- 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