diff options
author | Johnathan Corgan | 2011-12-08 13:48:48 -0800 |
---|---|---|
committer | Johnathan Corgan | 2011-12-08 13:48:48 -0800 |
commit | 00420d32081d8252bb37142b2be19a8a7c4dc4c4 (patch) | |
tree | 12c6bf83f01ffc4eff010102090bb687a1233558 /gr-howto-write-a-block/config/ax_boost_thread.m4 | |
parent | f52be4a8f0fa203ed206d0e0afc099856eb5bd03 (diff) | |
download | gnuradio-00420d32081d8252bb37142b2be19a8a7c4dc4c4.tar.gz gnuradio-00420d32081d8252bb37142b2be19a8a7c4dc4c4.tar.bz2 gnuradio-00420d32081d8252bb37142b2be19a8a7c4dc4c4.zip |
Removed autotools, gr-waveform, some cleanup
Nick Foster owes Nick Corgan a six-pack of beer!
Diffstat (limited to 'gr-howto-write-a-block/config/ax_boost_thread.m4')
-rw-r--r-- | gr-howto-write-a-block/config/ax_boost_thread.m4 | 72 |
1 files changed, 0 insertions, 72 deletions
diff --git a/gr-howto-write-a-block/config/ax_boost_thread.m4 b/gr-howto-write-a-block/config/ax_boost_thread.m4 deleted file mode 100644 index 4df23224a..000000000 --- a/gr-howto-write-a-block/config/ax_boost_thread.m4 +++ /dev/null @@ -1,72 +0,0 @@ -# -# SYNOPSIS -# -# AX_BOOST_THREAD -# -# DESCRIPTION -# -# Test for Thread library from the Boost C++ libraries. -# -# This macro calls: -# -# AC_SUBST(BOOST_THREAD_LIB) -# AC_SUBST(BOOST_CXXFLAGS) -# -# And sets: -# -# HAVE_BOOST_THREAD -# -# COPYLEFT -# -# Copyright (c) 2008 Thomas Porschberg <thomas@randspringer.de> -# Copyright (c) 2008 Michael Tindal -# Copyright (c) 2008 Free Software Foundation, Inc. -# -# Copying and distribution of this file, with or without modification, are -# permitted in any medium without royalty provided the copyright notice -# and this notice are preserved. - - -AC_DEFUN([AX_BOOST_THREAD], -[ - AC_REQUIRE([AX_BOOST_BASE]) - AC_REQUIRE([ACX_PTHREAD]) - _AX_BOOST_WITH([boost_thread]) - - if test "$want_boost" = "yes"; then - AC_REQUIRE([AC_PROG_CC]) - AC_REQUIRE([AC_PROG_CXX]) - AC_REQUIRE([AC_CANONICAL_HOST]) - - CPPFLAGS_SAVED="$CPPFLAGS" - LDFLAGS_SAVED="$LDFLAGS" - CXXFLAGS_SAVED="$CXXFLAGS" - - CPPFLAGS="$CPPFLAGS $BOOST_CPPFLAGS" - LDFLAGS="$LDFLAGS $BOOST_LDFLAGS $PTHREAD_LIBS" - CXXFLAGS="$CXXFLAGS $PTHREAD_CFLAGS" - - AC_CACHE_CHECK(whether the boost::thread includes are available, - ax_cv_boost_thread, - [AC_LANG_PUSH([C++]) - AC_COMPILE_IFELSE(AC_LANG_PROGRAM([[@%:@include <boost/thread/thread.hpp>]], - [[boost::thread_group thrds; - return 0;]]), - ax_cv_boost_thread=yes, ax_cv_boost_thread=no) - AC_LANG_POP([C++]) - ]) - - if test "$ax_cv_boost_thread" = "yes"; then - BOOST_CXXFLAGS="$PTHREAD_CFLAGS" - AC_SUBST(BOOST_CXXFLAGS) - _AX_BOOST_CHECK_LIB([boost_thread]) - if test "$link_ok" = "yes" && test -n "$PTHREAD_LIBS"; then - BOOST_THREAD_LIB="$BOOST_THREAD_LIB $PTHREAD_LIBS" - fi - fi - - CPPFLAGS="$CPPFLAGS_SAVED" - LDFLAGS="$LDFLAGS_SAVED" - CXXFLAGS="$CXXFLAGS_SAVED" - fi -]) |