gnash-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gnash-commit] gnash macros/boost.m4 ChangeLog


From: Rob Savoye
Subject: [Gnash-commit] gnash macros/boost.m4 ChangeLog
Date: Mon, 22 Oct 2007 14:50:33 +0000

CVSROOT:        /sources/gnash
Module name:    gnash
Changes by:     Rob Savoye <rsavoye>    07/10/22 14:50:33

Modified files:
        macros         : boost.m4 
        .              : ChangeLog 

Log message:
                * configure.ac: Print out a warning for missing boost libraries
                that are only recommended, and not required.
                * macros/boost.m4: Look for some libraries that are only needed
                for testing, but still flag the user if they aren't found.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/macros/boost.m4?cvsroot=gnash&r1=1.68&r2=1.69
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.4666&r2=1.4667

Patches:
Index: macros/boost.m4
===================================================================
RCS file: /sources/gnash/gnash/macros/boost.m4,v
retrieving revision 1.68
retrieving revision 1.69
diff -u -b -r1.68 -r1.69
--- macros/boost.m4     21 Oct 2007 20:17:18 -0000      1.68
+++ macros/boost.m4     22 Oct 2007 14:50:32 -0000      1.69
@@ -14,7 +14,7 @@
 dnl  along with this program; if not, write to the Free Software
 dnl  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 
-dnl $Id: boost.m4,v 1.68 2007/10/21 20:17:18 rsavoye Exp $
+dnl $Id: boost.m4,v 1.69 2007/10/22 14:50:32 rsavoye Exp $
 
 dnl Boost modules are:
 dnl date-time, filesystem. graph. iostreams, program options, python,
@@ -28,6 +28,7 @@
   gnash_boost_libdir=""
   missing_headers=""
   missing_libs=""
+  extra_missing_libs=""
   gcc_version=""
   dirname=""
   libname=""
@@ -36,7 +37,10 @@
   boost_headers="detail/lightweight_mutex.hpp thread/thread.hpp 
multi_index_container.hpp multi_index/key_extractors.hpp thread/mutex.hpp"
   dnl this is a list of *required* libraries. If any of these are missing, this
   dnl test will return a failure, and Gnash won't build.
-  boost_libs="thread date_time serialization unit_test_framework"
+  boost_libs="thread date_time serialization"
+  dnl this is a list of *recommended* libraries. If any of these are missing, 
this
+  dnl test will return a warning, and Gnash will build, but testing won't work.
+  extra_boost_libs="unit_test_framework"
 
   dnl this is the default list for paths to search. This gets
   dnl redefined if --with-boost-incl= is specified.
@@ -138,10 +142,19 @@
         fi
       done
     done
+    for j in ${extra_boost_libs}; do
+      dirs=`ls -dr ${dirname}/libboost_${j}*.${shlibext} 
${dirname}/libboost_${j}*.a 2>/dev/null`
+      if test -n "${dirs}"; then
+        libname=`echo ${dirs} | sed -e 's:\..*$::' -e 's:^.*/lib::'`
+        ac_cv_path_boost_lib="${ac_cv_path_boost_lib} -l${libname}"
+      else
+        extra_missing_libs="${extra_missing_libs} $j"
+      fi
+    done
   fi
 
   if test x"${missing_libs}" != x ; then
-    AC_MSG_WARN([Libraries ${missing_libs} aren't installed ])
+    AC_MSG_WARN([Libraries ${missing_libs} ${extra_missing_libs} aren't 
installed ])
   fi
   AC_MSG_RESULT(${ac_cv_path_boost_lib})
 

Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.4666
retrieving revision 1.4667
diff -u -b -r1.4666 -r1.4667
--- ChangeLog   22 Oct 2007 13:17:46 -0000      1.4666
+++ ChangeLog   22 Oct 2007 14:50:32 -0000      1.4667
@@ -1,3 +1,10 @@
+2007-10-22  Rob Savoye  <address@hidden>
+
+       * configure.ac: Print out a warning for missing boost libraries
+       that are only recommended, and not required.
+       * macros/boost.m4: Look for some libraries that are only needed
+       for testing, but still flag the user if they aren't found.
+
 2007-10-22 Udo Giacomozzi <address@hidden>
 
        * server/asobj/Stage.cpp: corrected Stage.width and Stage.height, 
@@ -40,7 +47,7 @@
 2007-10-20 Sandro Santilli <address@hidden>
 
        * testsuite/misc-ming.all/loadMovieTestRunner.cpp: allow loads from
-         MEDIADIR
+         MEDIADIR.
        * testsuite/actionscript.all/XML.as: test where onData is defined.
        * libbase/LoadThread.{cpp,h}: add support for cancelling load
          (untested).




reply via email to

[Prev in Thread] Current Thread [Next in Thread]