- Timestamp:
- Apr 26, 2019, 4:05:12 PM (6 years ago)
- Branches:
- ADT, arm-eh, ast-experimental, cleanup-dtors, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, pthread-emulation, qualifiedEnum
- Children:
- 3fcbdca1
- Parents:
- 8f194ee
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified configure ¶
r8f194ee r114936a 637 637 LIBOBJS 638 638 CFA_BACKEND_CC 639 WITH_LIBTCMALLOC_FALSE 640 WITH_LIBTCMALLOC_TRUE 641 WITH_LIBPROFILER_FALSE 642 WITH_LIBPROFILER_TRUE 639 643 WITH_LIBFIBRE_FALSE 640 644 WITH_LIBFIBRE_TRUE … … 16657 16661 16658 16662 16663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ProfilingIsEnabledForAllThreads in -lprofiler" >&5 16664 $as_echo_n "checking for ProfilingIsEnabledForAllThreads in -lprofiler... " >&6; } 16665 if ${ac_cv_lib_profiler_ProfilingIsEnabledForAllThreads+:} false; then : 16666 $as_echo_n "(cached) " >&6 16667 else 16668 ac_check_lib_save_LIBS=$LIBS 16669 LIBS="-lprofiler $LIBS" 16670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 16671 /* end confdefs.h. */ 16672 16673 /* Override any GCC internal prototype to avoid an error. 16674 Use char because int might match the return type of a GCC 16675 builtin and then its argument prototype would still apply. */ 16676 #ifdef __cplusplus 16677 extern "C" 16678 #endif 16679 char ProfilingIsEnabledForAllThreads (); 16680 int 16681 main () 16682 { 16683 return ProfilingIsEnabledForAllThreads (); 16684 ; 16685 return 0; 16686 } 16687 _ACEOF 16688 if ac_fn_c_try_link "$LINENO"; then : 16689 ac_cv_lib_profiler_ProfilingIsEnabledForAllThreads=yes 16690 else 16691 ac_cv_lib_profiler_ProfilingIsEnabledForAllThreads=no 16692 fi 16693 rm -f core conftest.err conftest.$ac_objext \ 16694 conftest$ac_exeext conftest.$ac_ext 16695 LIBS=$ac_check_lib_save_LIBS 16696 fi 16697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_profiler_ProfilingIsEnabledForAllThreads" >&5 16698 $as_echo "$ac_cv_lib_profiler_ProfilingIsEnabledForAllThreads" >&6; } 16699 if test "x$ac_cv_lib_profiler_ProfilingIsEnabledForAllThreads" = xyes; then : 16700 HAVE_LIBPROFILER=1 16701 else 16702 HAVE_LIBPROFILER=0 16703 fi 16704 16705 if test "$HAVE_LIBPROFILER" -eq 1; then 16706 WITH_LIBPROFILER_TRUE= 16707 WITH_LIBPROFILER_FALSE='#' 16708 else 16709 WITH_LIBPROFILER_TRUE='#' 16710 WITH_LIBPROFILER_FALSE= 16711 fi 16712 16713 16714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for malloc in -ltcmalloc" >&5 16715 $as_echo_n "checking for malloc in -ltcmalloc... " >&6; } 16716 if ${ac_cv_lib_tcmalloc_malloc+:} false; then : 16717 $as_echo_n "(cached) " >&6 16718 else 16719 ac_check_lib_save_LIBS=$LIBS 16720 LIBS="-ltcmalloc $LIBS" 16721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 16722 /* end confdefs.h. */ 16723 16724 /* Override any GCC internal prototype to avoid an error. 16725 Use char because int might match the return type of a GCC 16726 builtin and then its argument prototype would still apply. */ 16727 #ifdef __cplusplus 16728 extern "C" 16729 #endif 16730 char malloc (); 16731 int 16732 main () 16733 { 16734 return malloc (); 16735 ; 16736 return 0; 16737 } 16738 _ACEOF 16739 if ac_fn_c_try_link "$LINENO"; then : 16740 ac_cv_lib_tcmalloc_malloc=yes 16741 else 16742 ac_cv_lib_tcmalloc_malloc=no 16743 fi 16744 rm -f core conftest.err conftest.$ac_objext \ 16745 conftest$ac_exeext conftest.$ac_ext 16746 LIBS=$ac_check_lib_save_LIBS 16747 fi 16748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_tcmalloc_malloc" >&5 16749 $as_echo "$ac_cv_lib_tcmalloc_malloc" >&6; } 16750 if test "x$ac_cv_lib_tcmalloc_malloc" = xyes; then : 16751 HAVE_LIBTCMALLOC=1 16752 else 16753 HAVE_LIBTCMALLOC=0 16754 fi 16755 16756 if test "$HAVE_LIBTCMALLOC" -eq 1; then 16757 WITH_LIBTCMALLOC_TRUE= 16758 WITH_LIBTCMALLOC_FALSE='#' 16759 else 16760 WITH_LIBTCMALLOC_TRUE='#' 16761 WITH_LIBTCMALLOC_FALSE= 16762 fi 16763 16764 16659 16765 # Checks for header files. 16660 16766 for ac_header in libintl.h malloc.h unistd.h … … 16889 16995 if test -z "${WITH_LIBFIBRE_TRUE}" && test -z "${WITH_LIBFIBRE_FALSE}"; then 16890 16996 as_fn_error $? "conditional \"WITH_LIBFIBRE\" was never defined. 16997 Usually this means the macro was only invoked conditionally." "$LINENO" 5 16998 fi 16999 if test -z "${WITH_LIBPROFILER_TRUE}" && test -z "${WITH_LIBPROFILER_FALSE}"; then 17000 as_fn_error $? "conditional \"WITH_LIBPROFILER\" was never defined. 17001 Usually this means the macro was only invoked conditionally." "$LINENO" 5 17002 fi 17003 if test -z "${WITH_LIBTCMALLOC_TRUE}" && test -z "${WITH_LIBTCMALLOC_FALSE}"; then 17004 as_fn_error $? "conditional \"WITH_LIBTCMALLOC\" was never defined. 16891 17005 Usually this means the macro was only invoked conditionally." "$LINENO" 5 16892 17006 fi
Note: See TracChangeset
for help on using the changeset viewer.