commit-gnuradio
[Top][All Lists]
Advanced

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

[Commit-gnuradio] r8744 - gnuradio/branches/developers/eb/sched-wip/conf


From: eb
Subject: [Commit-gnuradio] r8744 - gnuradio/branches/developers/eb/sched-wip/config
Date: Sat, 28 Jun 2008 21:08:00 -0600 (MDT)

Author: eb
Date: 2008-06-28 21:07:54 -0600 (Sat, 28 Jun 2008)
New Revision: 8744

Modified:
   gnuradio/branches/developers/eb/sched-wip/config/ax_boost_thread.m4
Log:
Fixed cross-compilation confusion of BUILD vs HOST.


Modified: gnuradio/branches/developers/eb/sched-wip/config/ax_boost_thread.m4
===================================================================
--- gnuradio/branches/developers/eb/sched-wip/config/ax_boost_thread.m4 
2008-06-28 04:47:48 UTC (rev 8743)
+++ gnuradio/branches/developers/eb/sched-wip/config/ax_boost_thread.m4 
2008-06-29 03:07:54 UTC (rev 8744)
@@ -55,7 +55,7 @@
 
        if test "x$want_boost" = "xyes"; then
         AC_REQUIRE([AC_PROG_CC])
-        AC_REQUIRE([AC_CANONICAL_BUILD])
+        AC_REQUIRE([AC_CANONICAL_HOST])
                CPPFLAGS_SAVED="$CPPFLAGS"
                CPPFLAGS="$CPPFLAGS $BOOST_CPPFLAGS"
                export CPPFLAGS
@@ -69,9 +69,9 @@
         [AC_LANG_PUSH([C++])
                         CXXFLAGS_SAVE=$CXXFLAGS
 
-                        if test "x$build_os" = "xsolaris" ; then
+                        if test "x$host_os" = "xsolaris" ; then
                                 CXXFLAGS="-pthreads $CXXFLAGS"
-                        elif test "x$build_os" = "xming32" ; then
+                        elif test "x$host_os" = "xming32" ; then
                                 CXXFLAGS="-mthreads $CXXFLAGS"
                         else
                                CXXFLAGS="-pthread $CXXFLAGS"
@@ -84,9 +84,9 @@
              AC_LANG_POP([C++])
                ])
                if test "x$ax_cv_boost_thread" = "xyes"; then
-           if test "x$build_os" = "xsolaris" ; then
+           if test "x$host_os" = "xsolaris" ; then
                          BOOST_CPPFLAGS="-pthreads $BOOST_CPPFLAGS"
-                  elif test "x$build_os" = "xming32" ; then
+                  elif test "x$host_os" = "xming32" ; then
                          BOOST_CPPFLAGS="-mthreads $BOOST_CPPFLAGS"
                   else
                          BOOST_CPPFLAGS="-pthread $BOOST_CPPFLAGS"
@@ -98,7 +98,7 @@
             BOOSTLIBDIR=`echo $BOOST_LDFLAGS | sed -e 's/@<:@^\/@:>@*//'`
 
                        LDFLAGS_SAVE=$LDFLAGS
-                        case "x$build_os" in
+                        case "x$host_os" in
                           *bsd* )
                                LDFLAGS="-pthread $LDFLAGS"
                           break;
@@ -131,7 +131,7 @@
                        if test "x$link_thread" = "xno"; then
                                AC_MSG_ERROR(Could not link against $ax_lib !)
                         else
-                           case "x$build_os" in
+                           case "x$host_os" in
                               *bsd* )
                                BOOST_LDFLAGS="-pthread $BOOST_LDFLAGS"
                               break;





reply via email to

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