Ignore:
Timestamp:
Sep 30, 2012, 8:23:45 AM (9 years ago)
Author:
Peter
Message:

fix boost macros to remove usage of tool 'tac' and change file pattern so it also detects dylibs. Same patch has been submitted upstream to the AC archive, see http://lists.gnu.org/archive/html/autoconf-archive-maintainers/2012-09/msg00026.html

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/m4/ax_boost_thread.m4

    r2825 r2859  
    105105                        esac
    106106            if test "x$ax_boost_user_thread_lib" = "x"; then
    107                 for libextension in `ls $BOOSTLIBDIR/libboost_thread*.so* 2>/dev/null | sed 's,.*/,,' | sed -e 's;^lib\(boost_thread.*\)\.so.*$;\1;'` `ls $BOOSTLIBDIR/libboost_thread*.dylib* 2>/dev/null | sed 's,.*/,,' | sed -e 's;^lib\(libboost_thread.*\)\.dylib.*$;\1;'` `ls $BOOSTLIBDIR/libboost_thread*.a* 2>/dev/null | sed 's,.*/,,' | sed -e 's;^lib\(boost_thread.*\)\.a.*$;\1;'`; do
     107                for libextension in `ls -r $BOOSTLIBDIR/libboost_thread* 2>/dev/null | sed 's,.*/lib,,' | sed 's,\..*,,'`; do
    108108                     ax_lib=${libextension}
    109109            AC_CHECK_LIB($ax_lib, exit,
     
    112112        done
    113113                if test "x$link_thread" != "xyes"; then
    114                 for libextension in `ls $BOOSTLIBDIR/boost_thread*.dll* 2>/dev/null | sed 's,.*/,,' | sed -e 's;^\(boost_thread.*\)\.dll.*$;\1;'` `ls $BOOSTLIBDIR/boost_thread*.a* 2>/dev/null | sed 's,.*/,,' | sed -e 's;^\(boost_thread.*\)\.a.*$;\1;'` ; do
     114                for libextension in `ls -r $BOOSTLIBDIR/boost_thread* 2>/dev/null | sed 's,.*/,,' | sed 's,\..*,,'`; do
    115115                     ax_lib=${libextension}
    116116            AC_CHECK_LIB($ax_lib, exit,
Note: See TracChangeset for help on using the changeset viewer.