Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • configure

    r3fcbdca1 r1241851  
    637637LIBOBJS
    638638CFA_BACKEND_CC
    639 WITH_LIBTCMALLOC_FALSE
    640 WITH_LIBTCMALLOC_TRUE
    641 WITH_LIBPROFILER_FALSE
    642 WITH_LIBPROFILER_TRUE
    643639WITH_LIBFIBRE_FALSE
    644640WITH_LIBFIBRE_TRUE
     
    34023398                "debug") ;;
    34033399                "nolib") ;;
    3404                 "profile") ;;
    34053400                *)
    34063401                        >&2 echo "Configuration must be 'debug', 'nodebug' or 'nolib'"
     
    1666216657
    1666316658
    16664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ProfilingIsEnabledForAllThreads in -lprofiler" >&5
    16665 $as_echo_n "checking for ProfilingIsEnabledForAllThreads in -lprofiler... " >&6; }
    16666 if ${ac_cv_lib_profiler_ProfilingIsEnabledForAllThreads+:} false; then :
    16667   $as_echo_n "(cached) " >&6
    16668 else
    16669   ac_check_lib_save_LIBS=$LIBS
    16670 LIBS="-lprofiler  $LIBS"
    16671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    16672 /* end confdefs.h.  */
    16673 
    16674 /* Override any GCC internal prototype to avoid an error.
    16675    Use char because int might match the return type of a GCC
    16676    builtin and then its argument prototype would still apply.  */
    16677 #ifdef __cplusplus
    16678 extern "C"
    16679 #endif
    16680 char ProfilingIsEnabledForAllThreads ();
    16681 int
    16682 main ()
    16683 {
    16684 return ProfilingIsEnabledForAllThreads ();
    16685   ;
    16686   return 0;
    16687 }
    16688 _ACEOF
    16689 if ac_fn_c_try_link "$LINENO"; then :
    16690   ac_cv_lib_profiler_ProfilingIsEnabledForAllThreads=yes
    16691 else
    16692   ac_cv_lib_profiler_ProfilingIsEnabledForAllThreads=no
    16693 fi
    16694 rm -f core conftest.err conftest.$ac_objext \
    16695     conftest$ac_exeext conftest.$ac_ext
    16696 LIBS=$ac_check_lib_save_LIBS
    16697 fi
    16698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_profiler_ProfilingIsEnabledForAllThreads" >&5
    16699 $as_echo "$ac_cv_lib_profiler_ProfilingIsEnabledForAllThreads" >&6; }
    16700 if test "x$ac_cv_lib_profiler_ProfilingIsEnabledForAllThreads" = xyes; then :
    16701   HAVE_LIBPROFILER=1
    16702 else
    16703   HAVE_LIBPROFILER=0
    16704 fi
    16705 
    16706  if test "$HAVE_LIBPROFILER" -eq 1; then
    16707   WITH_LIBPROFILER_TRUE=
    16708   WITH_LIBPROFILER_FALSE='#'
    16709 else
    16710   WITH_LIBPROFILER_TRUE='#'
    16711   WITH_LIBPROFILER_FALSE=
    16712 fi
    16713 
    16714 
    16715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for malloc in -ltcmalloc" >&5
    16716 $as_echo_n "checking for malloc in -ltcmalloc... " >&6; }
    16717 if ${ac_cv_lib_tcmalloc_malloc+:} false; then :
    16718   $as_echo_n "(cached) " >&6
    16719 else
    16720   ac_check_lib_save_LIBS=$LIBS
    16721 LIBS="-ltcmalloc  $LIBS"
    16722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    16723 /* end confdefs.h.  */
    16724 
    16725 /* Override any GCC internal prototype to avoid an error.
    16726    Use char because int might match the return type of a GCC
    16727    builtin and then its argument prototype would still apply.  */
    16728 #ifdef __cplusplus
    16729 extern "C"
    16730 #endif
    16731 char malloc ();
    16732 int
    16733 main ()
    16734 {
    16735 return malloc ();
    16736   ;
    16737   return 0;
    16738 }
    16739 _ACEOF
    16740 if ac_fn_c_try_link "$LINENO"; then :
    16741   ac_cv_lib_tcmalloc_malloc=yes
    16742 else
    16743   ac_cv_lib_tcmalloc_malloc=no
    16744 fi
    16745 rm -f core conftest.err conftest.$ac_objext \
    16746     conftest$ac_exeext conftest.$ac_ext
    16747 LIBS=$ac_check_lib_save_LIBS
    16748 fi
    16749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_tcmalloc_malloc" >&5
    16750 $as_echo "$ac_cv_lib_tcmalloc_malloc" >&6; }
    16751 if test "x$ac_cv_lib_tcmalloc_malloc" = xyes; then :
    16752   HAVE_LIBTCMALLOC=1
    16753 else
    16754   HAVE_LIBTCMALLOC=0
    16755 fi
    16756 
    16757  if test "$HAVE_LIBTCMALLOC" -eq 1; then
    16758   WITH_LIBTCMALLOC_TRUE=
    16759   WITH_LIBTCMALLOC_FALSE='#'
    16760 else
    16761   WITH_LIBTCMALLOC_TRUE='#'
    16762   WITH_LIBTCMALLOC_FALSE=
    16763 fi
    16764 
    16765 
    1676616659# Checks for header files.
    1676716660for ac_header in libintl.h malloc.h unistd.h
     
    1699616889if test -z "${WITH_LIBFIBRE_TRUE}" && test -z "${WITH_LIBFIBRE_FALSE}"; then
    1699716890  as_fn_error $? "conditional \"WITH_LIBFIBRE\" was never defined.
    16998 Usually this means the macro was only invoked conditionally." "$LINENO" 5
    16999 fi
    17000 if test -z "${WITH_LIBPROFILER_TRUE}" && test -z "${WITH_LIBPROFILER_FALSE}"; then
    17001   as_fn_error $? "conditional \"WITH_LIBPROFILER\" was never defined.
    17002 Usually this means the macro was only invoked conditionally." "$LINENO" 5
    17003 fi
    17004 if test -z "${WITH_LIBTCMALLOC_TRUE}" && test -z "${WITH_LIBTCMALLOC_FALSE}"; then
    17005   as_fn_error $? "conditional \"WITH_LIBTCMALLOC\" was never defined.
    1700616891Usually this means the macro was only invoked conditionally." "$LINENO" 5
    1700716892fi
Note: See TracChangeset for help on using the changeset viewer.