gnash-commit
[Top][All Lists]
Advanced

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

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


From: Markus Gothe
Subject: [Gnash-commit] gnash ChangeLog macros/boost.m4
Date: Sun, 02 Sep 2007 23:43:24 +0000

CVSROOT:        /sources/gnash
Module name:    gnash
Changes by:     Markus Gothe <nihilus>  07/09/02 23:43:24

Modified files:
        .              : ChangeLog 
        macros         : boost.m4 

Log message:
        ----------------------------------------------------------------------
        macros/boost.m4 CVS:
        ----------------------------------------------------------------------
        Commented out bogus check and improved the checking of BOOST_CFLAGS.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.4191&r2=1.4192
http://cvs.savannah.gnu.org/viewcvs/gnash/macros/boost.m4?cvsroot=gnash&r1=1.51&r2=1.52

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.4191
retrieving revision 1.4192
diff -u -b -r1.4191 -r1.4192
--- ChangeLog   2 Sep 2007 17:01:58 -0000       1.4191
+++ ChangeLog   2 Sep 2007 23:43:23 -0000       1.4192
@@ -1,3 +1,8 @@
+2007-09-03 Markus Gothe <address@hidden> 
+
+       * macros/boost.m4: Commented out bogus check and improved the
+         checking of BOOST_CFLAGS.
+
 2007-09-03 Chad Musick <address@hidden>
 
        * server/fill_style.h,.cpp -- Add recording of focal point for focal

Index: macros/boost.m4
===================================================================
RCS file: /sources/gnash/gnash/macros/boost.m4,v
retrieving revision 1.51
retrieving revision 1.52
diff -u -b -r1.51 -r1.52
--- macros/boost.m4     1 Sep 2007 23:44:23 -0000       1.51
+++ macros/boost.m4     2 Sep 2007 23:43:24 -0000       1.52
@@ -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.51 2007/09/01 23:44:23 nihilus Exp $
+dnl $Id: boost.m4,v 1.52 2007/09/02 23:43:24 nihilus Exp $
 
 dnl Boost modules are:
 dnl date-time, filesystem. graph. iostreams, program options, python,
@@ -48,10 +48,17 @@
     gnash_boost_topdir=""
     gnash_boost_version=""
     for i in $incllist; do
-      for j in `ls -dr $i/boost* 2>/dev/null`; do
-        if test -f ${j}/boost/detail/lightweight_mutex.hpp -a -f 
${j}/boost/thread.hpp; then
+      for j in `ls -dr $i/boost* | grep boost 2>/dev/null`; do
+       
+       dnl Fix for packaging systems not adding extra fluff to the path-name.
+       i=`dirname ${j}`
+        
+       if test -f ${j}/boost/detail/lightweight_mutex.hpp -a -f 
${j}/boost/thread.hpp ;then
           gnash_boost_topdir=`basename $j`
           ac_cv_path_boost_incl="-I${j}"
+         break;
+       elif test -f ${i}/boost/detail/lightweight_mutex.hpp -a -f 
${i}/boost/thread.hpp ; then
+          ac_cv_path_boost_incl="-I${i}"
           break
         fi
       done
@@ -140,17 +147,18 @@
   dnl (if not cross-compiling)
   dnl ---------------------------------------
 
-  if test x${cross_compiling} = xno; then
-    AC_LANG_PUSH(C++)
-    save_CXXFLAGS="$CXXFLAGS"
-    save_CPPFLAGS="$CPPFLAGS"
-    CXXFLAGS="$CFLAGS $BOOST_CFLAGS"
-    CPPFLAGS="$CXXFLAGS"
-    AC_CHECK_HEADERS([boost/thread.hpp], [], [boost_thread=no]) 
-    CXXFLAGS="$save_CXXFLAGS"
-    CPPFLAGS="$save_CPPFLAGS"
-    AC_LANG_POP(C++)  
-  fi # if not cross-compiling
+  dnl Bogus testing
+  dnl if test x${cross_compiling} = xno; then
+  dbl  AC_LANG_PUSH(C++)
+  dnl  save_CXXFLAGS="$CXXFLAGS"
+  dnl  save_CPPFLAGS="$CPPFLAGS"
+  dnl  CXXFLAGS="$CFLAGS $BOOST_CFLAGS"
+  dnl  CPPFLAGS="$CXXFLAGS"
+  dnl  AC_CHECK_HEADERS([boost/thread.hpp], [], [boost_thread=no]) 
+  dnl  CXXFLAGS="$save_CXXFLAGS"
+  dnl  CPPFLAGS="$save_CPPFLAGS"
+  dnl  AC_LANG_POP(C++)  
+  dnl fi # if not cross-compiling
 
   dnl ---------------------------------------
   dnl TODO: Check actual usability of libs




reply via email to

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