Changeset 3588
- Timestamp:
- Jan 19, 2017, 3:02:04 PM (7 years ago)
- Location:
- trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/m4/yat.m4
r3054 r3588 1 1 ## $Id$ 2 2 # 3 # serial 9 (yat 0.11)3 # serial 10 (yat 0.15) 4 4 # 5 5 # see http://www.gnu.org/software/automake/manual/automake.html#Serials … … 216 216 AC_LANG_ASSERT([C++]) 217 217 # checking for Vector, which uses both GSL and Boost 218 AC_CHECK_HEADER([yat/utility/Vector.h], 219 [ac_yat_ok="yes"], 220 [ac_yat_ok="no"]) 218 AC_MSG_CHECKING([for yat/utility/Vector.h]) 219 _YAT_CHECK_HEADER([yat/utility/Vector.h], [ 220 AC_MSG_RESULT([yes]) 221 ac_yat_ok="yes" 222 ], [ 223 AC_MSG_RESULT([no]) 224 AC_MSG_CHECKING([for yat/utility/Vector.h with -DYAT_WITHOUT_CXX11]) 225 CPPFLAGS="$CPPFLAGS -DYAT_WITHOUT_CXX11" 226 _YAT_CHECK_HEADER([yat/utility/Vector.h], [ 227 YAT_CPPFLAGS="$YAT_CPPFLAGS -DYAT_WITHOUT_CXX11" 228 ac_yat_ok="yes" 229 AC_MSG_RESULT([yes]) 230 ], [ 231 ac_yat_ok="no" 232 AC_MSG_RESULT([no]) 233 ]) 234 ]) 221 235 222 236 # checking that version in yat-config and version.h agree … … 364 378 365 379 380 # _YAT_CHECK_HEADER(header, [ACTION-IF_FOUND], [ACTION-IF-NOT-FOUND]) 381 # 382 AC_DEFUN([_YAT_CHECK_HEADER], 383 [ 384 AC_COMPILE_IFELSE([AC_LANG_PROGRAM([@%:@include <$1>], [])], 385 [$2], [$3]) 386 ]) 387 388 366 389 # _YAT_CHECK_LIB_YAT([ACTION-IF_FOUND], [ACTION-IF-NOT-FOUND]) 367 390 # -
trunk/test/yat_m4_with_bam_test.sh
r3417 r3588 27 27 cat >> configure.ac <<EOF 28 28 YAT_CHECK_HEADER([], [AC_MSG_ERROR]) 29 CPPFLAGS="\$YAT_CPPFLAGS" 29 30 LDFLAGS="\$LDFLAGS \`\$yat_config --ldflags\`" 30 31 LIBS="\$LIBS \`\$yat_config --link-libtool\`" -
trunk/test/yat_pc_test.sh
r3582 r3588 57 57 } 58 58 59 PATH="$abs_top_builddir/build_support:$PATH" 60 export PATH 59 61 60 62 # add PATH so pkg-config find yat.pc in build tree first
Note: See TracChangeset
for help on using the changeset viewer.