Changeset 9410
- Timestamp:
- 08/25/08 15:18:30
- Files:
-
- usrp2/trunk/host-ng/config/ax_boost_base.m4 (copied) (copied from gnuradio/trunk/config/ax_boost_base.m4)
- usrp2/trunk/host-ng/config/ax_boost_date_time.m4 (copied) (copied from gnuradio/trunk/config/ax_boost_date_time.m4)
- usrp2/trunk/host-ng/config/ax_boost_filesystem.m4 (copied) (copied from gnuradio/trunk/config/ax_boost_filesystem.m4)
- usrp2/trunk/host-ng/config/ax_boost_iostreams.m4 (copied) (copied from gnuradio/trunk/config/ax_boost_iostreams.m4)
- usrp2/trunk/host-ng/config/ax_boost_program_options.m4 (copied) (copied from gnuradio/trunk/config/ax_boost_program_options.m4)
- usrp2/trunk/host-ng/config/ax_boost_python.m4 (copied) (copied from gnuradio/trunk/config/ax_boost_python.m4)
- usrp2/trunk/host-ng/config/ax_boost_regex.m4 (copied) (copied from gnuradio/trunk/config/ax_boost_regex.m4)
- usrp2/trunk/host-ng/config/ax_boost_serialization.m4 (copied) (copied from gnuradio/trunk/config/ax_boost_serialization.m4)
- usrp2/trunk/host-ng/config/ax_boost_signals.m4 (copied) (copied from gnuradio/trunk/config/ax_boost_signals.m4)
- usrp2/trunk/host-ng/config/ax_boost_system.m4 (copied) (copied from gnuradio/trunk/config/ax_boost_system.m4)
- usrp2/trunk/host-ng/config/ax_boost_test_exec_monitor.m4 (copied) (copied from gnuradio/trunk/config/ax_boost_test_exec_monitor.m4)
- usrp2/trunk/host-ng/config/ax_boost_thread.m4 (copied) (copied from gnuradio/trunk/config/ax_boost_thread.m4)
- usrp2/trunk/host-ng/config/ax_boost_unit_test_framework.m4 (copied) (copied from gnuradio/trunk/config/ax_boost_unit_test_framework.m4)
- usrp2/trunk/host-ng/config/ax_boost_wserialization.m4 (copied) (copied from gnuradio/trunk/config/ax_boost_wserialization.m4)
- usrp2/trunk/host-ng/config/gr_boost.m4 (deleted)
- usrp2/trunk/host-ng/config/gr_lib64.m4 (copied) (copied from gnuradio/trunk/config/gr_lib64.m4)
- usrp2/trunk/host-ng/config/pkg.m4 (modified) (5 diffs)
- usrp2/trunk/host-ng/configure.ac (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
usrp2/trunk/host-ng/config/pkg.m4
r6955 r9410 2 2 # 3 3 # Copyright © 2004 Scott James Remnant <scott@netsplit.com>. 4 # Copyright © 2008 Free Software Foundation, Inc. 4 5 # 5 6 # This program is free software; you can redistribute it and/or modify … … 97 98 # E.g., 98 99 # PKG_CHECK_MODULES(GSTUFF, gtk+-2.0 >= 1.3 glib = 1.3.4, action-if, action-not) 99 # defines GSTUFF_LIBS, GSTUFF_CFLAGS, see pkg-config man page 100 # also defines GSTUFF_PKG_ERRORS on error 100 # defines: 101 # 102 # GSTUFF_LIBS 103 # GSTUFF_CFLAGS 104 # GSTUFF_INCLUDEDIR 105 # GSTUFF_CPPFLAGS # the -I, -D and -U's out of CFLAGS 106 # 107 # see pkg-config man page also defines GSTUFF_PKG_ERRORS on error 101 108 # 102 109 # Note that if there is a possibility the first call to … … 109 116 AC_ARG_VAR([$1][_CFLAGS], [C compiler flags for $1, overriding pkg-config])dnl 110 117 AC_ARG_VAR([$1][_LIBS], [linker flags for $1, overriding pkg-config])dnl 118 AC_ARG_VAR([$1][_INCLUDEDIR], [includedir for $1, overriding pkg-config])dnl 111 119 112 120 pkg_failed=no … … 121 129 _PKG_CONFIG([$1][_LIBS], [libs --static], [$2]) 122 130 fi 131 132 _PKG_CONFIG([$1][_INCLUDEDIR], [variable=includedir], [$2]) 133 123 134 124 135 m4_define([_PKG_TEXT], [Alternatively, you may set the environment variables $1[]_CFLAGS … … 161 172 $1[]_CFLAGS=$pkg_cv_[]$1[]_CFLAGS 162 173 $1[]_LIBS=$pkg_cv_[]$1[]_LIBS 174 $1[]_INCLUDEDIR=$pkg_cv_[]$1[]_INCLUDEDIR 175 176 $1[]_CPPFLAGS="" 177 for flag in $$1[]_CFLAGS; do 178 case $flag in 179 -I* | -D* | -U*) $1[]_CPPFLAGS="$$1[]_CPPFLAGS $flag" ;; 180 esac 181 done 182 pkg_cv_[]$1[]_CPPFLAGS=$$1[]_CPPFLAGS 183 AC_SUBST($1[]_CPPFLAGS) 184 163 185 AC_MSG_RESULT([yes]) 164 186 ifelse([$3], , :, [$3]) usrp2/trunk/host-ng/configure.ac
r9142 r9410 145 145 146 146 AH_BOTTOM([ 147 #ifdef __cplusplus 148 extern "C" { 149 #endif 150 147 151 #ifndef HAVE_TRUNC 148 152 #include <math.h> … … 158 162 { 159 163 return pow(10.0, x); 164 } 165 #endif 166 167 #ifdef __cplusplus 160 168 } 161 169 #endif … … 196 204 AC_SUBST(CPPUNIT_INCLUDES) 197 205 198 dnl Define where to find boost includes 199 dnl defines BOOST_CFLAGS 200 GR_REQUIRE_BOOST_INCLUDES 206 dnl AX_BOOST_BASE finds the headers and the lib dir (-L<foo>) 207 dnl 208 dnl calls AC_SUBST(BOOST_CPPFLAGS), AC_SUBST(BOOST_LDFLAGS) and defines HAVE_BOOST 209 AX_BOOST_BASE([1.35]) 201 210 202 211 dnl so we can use some utilities. FIXME hoist them out
