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: Bastiaan Jacques
Subject: [Gnash-commit] gnash ChangeLog macros/boost.m4
Date: Sat, 30 Dec 2006 09:08:32 +0000

CVSROOT:        /sources/gnash
Module name:    gnash
Changes by:     Bastiaan Jacques <bjacques>     06/12/30 09:08:32

Modified files:
        .              : ChangeLog 
        macros         : boost.m4 

Log message:
        When the --with-boost-lib configure
                flag is specified, don't forget to append the library
                name to the specified path.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.2012&r2=1.2013
http://cvs.savannah.gnu.org/viewcvs/gnash/macros/boost.m4?cvsroot=gnash&r1=1.26&r2=1.27

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.2012
retrieving revision 1.2013
diff -u -b -r1.2012 -r1.2013
--- ChangeLog   29 Dec 2006 20:13:50 -0000      1.2012
+++ ChangeLog   30 Dec 2006 09:08:31 -0000      1.2013
@@ -1,3 +1,9 @@
+2006-12-30 Bastiaan Jacques <address@hidden>
+
+       * macros/boost.m4: When the --with-boost-lib configure
+       flag is specified, don't forget to append the library
+       name to the specified path.
+
 2006-12-29 Sandro Santilli <address@hidden>
 
        * cygnal/cygnal.cpp: removed compiler warnings.

Index: macros/boost.m4
===================================================================
RCS file: /sources/gnash/gnash/macros/boost.m4,v
retrieving revision 1.26
retrieving revision 1.27
diff -u -b -r1.26 -r1.27
--- macros/boost.m4     9 Nov 2006 18:28:15 -0000       1.26
+++ macros/boost.m4     30 Dec 2006 09:08:32 -0000      1.27
@@ -17,7 +17,7 @@
 dnl  
 dnl 
 
-dnl $Id: boost.m4,v 1.26 2006/11/09 18:28:15 nihilus Exp $
+dnl $Id: boost.m4,v 1.27 2006/12/30 09:08:32 bjacques Exp $
 
 dnl Boost modules are:
 dnl date-time, filesystem. graph. iostreams, program options, python,
@@ -135,14 +135,15 @@
     AC_MSG_RESULT(${ac_cv_path_boost_lib})
     ])
   else
-    if test -f ${ac_cv_path_boost_lib}/lib${j}.a -o -f 
${ac_cv_path_boost_lib}/lib${j}.so; then
-      linkname=`basename ${libname} | sed -e 's/lib//'`
+    for k in ${boostnames}; do
+      if test -f ${ac_cv_path_boost_lib}/lib${k}.a -o -f 
${ac_cv_path_boost_lib}/lib${k}.so; then
       if test x"${ac_cv_path_boost_lib}" != x"/usr/lib"; then
-       ac_cv_path_boost_lib="-L${ac_cv_path_boost_lib} -l${linkname}"
+         ac_cv_path_boost_lib="-L${ac_cv_path_boost_lib} -l${k}"
       else
-        ac_cv_path_boost_lib="-l${linkname}"
+          ac_cv_path_boost_lib="-l${k}"
       fi
     fi
+    done
   fi
   AC_LANG_POP(C++)
   




reply via email to

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