Skip to content

Commit e9a0948

Browse files
committed
Regenerate configure and Makefile.in files
1 parent 53d6a1b commit e9a0948

4 files changed

Lines changed: 462 additions & 25 deletions

File tree

configure

Lines changed: 38 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -57369,11 +57369,22 @@ then :
5736957369
then :
5737057370
withtbb=/usr
5737157371
fi
57372-
as_ac_Header=`printf "%s\n" "ac_cv_header_$withtbb/include/tbb/task_scheduler_init.h" | sed "$as_sed_sh"`
57373-
ac_fn_cxx_check_header_compile "$LINENO" "$withtbb/include/tbb/task_scheduler_init.h" "$as_ac_Header" "$ac_includes_default"
57374-
if eval test \"x\$"$as_ac_Header"\" = x"yes"
57372+
57373+
case $withtbb in
57374+
"~/"*) withtbb=$HOME${withtbb#"~"} ;;
57375+
esac
57376+
57377+
tbb_is_onetbb=no
57378+
if test -r $withtbb/include/tbb/version.h
5737557379
then :
5737657380
TBB_INCLUDE_PATH=$withtbb/include
57381+
tbb_is_onetbb=yes
57382+
else case e in #(
57383+
e) if test -r $withtbb/include/tbb/tbb_stddef.h
57384+
then :
57385+
TBB_INCLUDE_PATH=$withtbb/include
57386+
fi ;;
57387+
esac
5737757388
fi
5737857389

5737957390
if test "x$withtbblib" != "x"
@@ -57386,7 +57397,7 @@ fi
5738657397

5738757398
fi
5738857399

57389-
if test -r $TBB_INCLUDE_PATH/tbb/task_scheduler_init.h
57400+
if test "x$TBB_INCLUDE_PATH" != "x"
5739057401
then :
5739157402

5739257403
TBB_LIBRARY="-L$TBB_LIBS -ltbb -ltbbmalloc"
@@ -57397,8 +57408,15 @@ then :
5739757408
TBB_LIBRARY="${RPATHFLAG}${TBB_LIBS} $TBB_LIBRARY"
5739857409
fi
5739957410

57400-
tbbmajor=`grep "define TBB_VERSION_MAJOR" $TBB_INCLUDE_PATH/tbb/tbb_stddef.h | sed -e "s/#define TBB_VERSION_MAJOR[ ]*//g"`
57401-
tbbminor=`grep "define TBB_VERSION_MINOR" $TBB_INCLUDE_PATH/tbb/tbb_stddef.h | sed -e "s/#define TBB_VERSION_MINOR[ ]*//g"`
57411+
if test "x$tbb_is_onetbb" = "xyes"
57412+
then :
57413+
tbbverfile=$TBB_INCLUDE_PATH/tbb/version.h
57414+
else case e in #(
57415+
e) tbbverfile=$TBB_INCLUDE_PATH/tbb/tbb_stddef.h ;;
57416+
esac
57417+
fi
57418+
tbbmajor=`grep "define TBB_VERSION_MAJOR" $tbbverfile | sed -e "s/#define TBB_VERSION_MAJOR[ ]*//g"`
57419+
tbbminor=`grep "define TBB_VERSION_MINOR" $tbbverfile | sed -e "s/#define TBB_VERSION_MINOR[ ]*//g"`
5740257420

5740357421
else case e in #(
5740457422
e) enabletbb=no ;;
@@ -57408,29 +57426,29 @@ fi
5740857426
if test "x$enabletbb" != "xno"
5740957427
then :
5741057428

57411-
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for tbb::tbb_thread support" >&5
57412-
printf %s "checking for tbb::tbb_thread support... " >&6; }
57429+
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for TBB support" >&5
57430+
printf %s "checking for TBB support... " >&6; }
5741357431
ac_ext=cpp
5741457432
ac_cpp='$CXXCPP $CPPFLAGS'
5741557433
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5741657434
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5741757435
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5741857436

5741957437

57420-
saveCXXFLAGS="$CXXFLAGS"
57438+
saveCXXFLAGS="$CXXFLAGS"
5742157439
CXXFLAGS="$saveCXXFLAGS $TBB_INCLUDE"
5742257440

5742357441
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5742457442
/* end confdefs.h. */
5742557443

57426-
#include <tbb/tbb_thread.h>
57444+
#include <tbb/blocked_range.h>
5742757445

5742857446
int
5742957447
main (void)
5743057448
{
5743157449

57432-
tbb::tbb_thread t;
57433-
t.join();
57450+
tbb::blocked_range<int> r(0, 1);
57451+
(void)r.size();
5743457452

5743557453
;
5743657454
return 0;
@@ -57453,8 +57471,7 @@ esac
5745357471
fi
5745457472
rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5745557473

57456-
CXXFLAGS=$saveCXXFLAGS
57457-
57474+
CXXFLAGS=$saveCXXFLAGS
5745857475
ac_ext=cpp
5745957476
ac_cpp='$CXXCPP $CPPFLAGS'
5746057477
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
@@ -57474,6 +57491,13 @@ printf "%s\n" "#define DETECTED_TBB_VERSION_MAJOR $tbbmajor" >>confdefs.h
5747457491
printf "%s\n" "#define DETECTED_TBB_VERSION_MINOR $tbbminor" >>confdefs.h
5747557492

5747657493

57494+
if test "x$tbb_is_onetbb" = "xyes"
57495+
then :
57496+
57497+
printf "%s\n" "#define HAVE_ONETBB 1" >>confdefs.h
57498+
57499+
fi
57500+
5747757501

5747857502

5747957503

0 commit comments

Comments
 (0)