| Index: third_party/tcmalloc/vendor/configure
|
| ===================================================================
|
| --- third_party/tcmalloc/vendor/configure (revision 92996)
|
| +++ third_party/tcmalloc/vendor/configure (working copy)
|
| @@ -1,6 +1,6 @@
|
| #! /bin/sh
|
| # Guess values for system-dependent variables and create Makefiles.
|
| -# Generated by GNU Autoconf 2.65 for google-perftools 1.7.
|
| +# Generated by GNU Autoconf 2.65 for google-perftools 1.8.
|
| #
|
| # Report bugs to <opensource@google.com>.
|
| #
|
| @@ -701,8 +701,8 @@
|
| # Identity of this package.
|
| PACKAGE_NAME='google-perftools'
|
| PACKAGE_TARNAME='google-perftools'
|
| -PACKAGE_VERSION='1.7'
|
| -PACKAGE_STRING='google-perftools 1.7'
|
| +PACKAGE_VERSION='1.8'
|
| +PACKAGE_STRING='google-perftools 1.8'
|
| PACKAGE_BUGREPORT='opensource@google.com'
|
| PACKAGE_URL=''
|
|
|
| @@ -758,6 +758,8 @@
|
| WITH_HEAP_PROFILER_TRUE
|
| WITH_CPU_PROFILER_FALSE
|
| WITH_CPU_PROFILER_TRUE
|
| +OSX_FALSE
|
| +OSX_TRUE
|
| MINGW_FALSE
|
| MINGW_TRUE
|
| PTHREAD_CFLAGS
|
| @@ -766,6 +768,8 @@
|
| acx_pthread_config
|
| LIBSTDCXX_LA_LINKER_FLAG
|
| NANOSLEEP_LIBS
|
| +HAVE_W_NO_UNUSED_RESULT_FALSE
|
| +HAVE_W_NO_UNUSED_RESULT_TRUE
|
| X86_64_AND_NO_FP_BY_DEFAULT_FALSE
|
| X86_64_AND_NO_FP_BY_DEFAULT_TRUE
|
| ENABLE_FRAME_POINTERS_FALSE
|
| @@ -1468,7 +1472,7 @@
|
| # Omit some internal or obsolete options to make the list less imposing.
|
| # This message is too long to be a string in the A/UX 3.1 sh.
|
| cat <<_ACEOF
|
| -\`configure' configures google-perftools 1.7 to adapt to many kinds of systems.
|
| +\`configure' configures google-perftools 1.8 to adapt to many kinds of systems.
|
|
|
| Usage: $0 [OPTION]... [VAR=VALUE]...
|
|
|
| @@ -1539,7 +1543,7 @@
|
|
|
| if test -n "$ac_init_help"; then
|
| case $ac_init_help in
|
| - short | recursive ) echo "Configuration of google-perftools 1.7:";;
|
| + short | recursive ) echo "Configuration of google-perftools 1.8:";;
|
| esac
|
| cat <<\_ACEOF
|
|
|
| @@ -1649,7 +1653,7 @@
|
| test -n "$ac_init_help" && exit $ac_status
|
| if $ac_init_version; then
|
| cat <<\_ACEOF
|
| -google-perftools configure 1.7
|
| +google-perftools configure 1.8
|
| generated by GNU Autoconf 2.65
|
|
|
| Copyright (C) 2009 Free Software Foundation, Inc.
|
| @@ -2234,7 +2238,7 @@
|
| This file contains any messages produced by compilers while
|
| running configure, to aid debugging if configure makes a mistake.
|
|
|
| -It was created by google-perftools $as_me 1.7, which was
|
| +It was created by google-perftools $as_me 1.8, which was
|
| generated by GNU Autoconf 2.65. Invocation command line was
|
|
|
| $ $0 $@
|
| @@ -2586,8 +2590,8 @@
|
|
|
| # Update this value for every release! (A:B:C will map to foo.so.(A-C).C.B)
|
| # http://www.gnu.org/software/libtool/manual/html_node/Updating-version-info.html
|
| -TCMALLOC_SO_VERSION=1:0:1
|
| -PROFILER_SO_VERSION=1:0:1
|
| +TCMALLOC_SO_VERSION=2:0:2
|
| +PROFILER_SO_VERSION=1:1:1
|
|
|
|
|
|
|
| @@ -2979,7 +2983,7 @@
|
|
|
| # Define the identity of the package.
|
| PACKAGE='google-perftools'
|
| - VERSION='1.7'
|
| + VERSION='1.8'
|
|
|
|
|
| cat >>confdefs.h <<_ACEOF
|
| @@ -5609,13 +5613,13 @@
|
| else
|
| lt_cv_nm_interface="BSD nm"
|
| echo "int some_variable = 0;" > conftest.$ac_ext
|
| - (eval echo "\"\$as_me:5612: $ac_compile\"" >&5)
|
| + (eval echo "\"\$as_me:5616: $ac_compile\"" >&5)
|
| (eval "$ac_compile" 2>conftest.err)
|
| cat conftest.err >&5
|
| - (eval echo "\"\$as_me:5615: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
|
| + (eval echo "\"\$as_me:5619: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
|
| (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
|
| cat conftest.err >&5
|
| - (eval echo "\"\$as_me:5618: output\"" >&5)
|
| + (eval echo "\"\$as_me:5622: output\"" >&5)
|
| cat conftest.out >&5
|
| if $GREP 'External.*some_variable' conftest.out > /dev/null; then
|
| lt_cv_nm_interface="MS dumpbin"
|
| @@ -6820,7 +6824,7 @@
|
| ;;
|
| *-*-irix6*)
|
| # Find out which ABI we are using.
|
| - echo '#line 6823 "configure"' > conftest.$ac_ext
|
| + echo '#line 6827 "configure"' > conftest.$ac_ext
|
| if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
|
| (eval $ac_compile) 2>&5
|
| ac_status=$?
|
| @@ -8693,11 +8697,11 @@
|
| -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
|
| -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
|
| -e 's:$: $lt_compiler_flag:'`
|
| - (eval echo "\"\$as_me:8696: $lt_compile\"" >&5)
|
| + (eval echo "\"\$as_me:8700: $lt_compile\"" >&5)
|
| (eval "$lt_compile" 2>conftest.err)
|
| ac_status=$?
|
| cat conftest.err >&5
|
| - echo "$as_me:8700: \$? = $ac_status" >&5
|
| + echo "$as_me:8704: \$? = $ac_status" >&5
|
| if (exit $ac_status) && test -s "$ac_outfile"; then
|
| # The compiler can only warn and ignore the option if not recognized
|
| # So say no if there are warnings other than the usual output.
|
| @@ -9032,11 +9036,11 @@
|
| -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
|
| -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
|
| -e 's:$: $lt_compiler_flag:'`
|
| - (eval echo "\"\$as_me:9035: $lt_compile\"" >&5)
|
| + (eval echo "\"\$as_me:9039: $lt_compile\"" >&5)
|
| (eval "$lt_compile" 2>conftest.err)
|
| ac_status=$?
|
| cat conftest.err >&5
|
| - echo "$as_me:9039: \$? = $ac_status" >&5
|
| + echo "$as_me:9043: \$? = $ac_status" >&5
|
| if (exit $ac_status) && test -s "$ac_outfile"; then
|
| # The compiler can only warn and ignore the option if not recognized
|
| # So say no if there are warnings other than the usual output.
|
| @@ -9137,11 +9141,11 @@
|
| -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
|
| -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
|
| -e 's:$: $lt_compiler_flag:'`
|
| - (eval echo "\"\$as_me:9140: $lt_compile\"" >&5)
|
| + (eval echo "\"\$as_me:9144: $lt_compile\"" >&5)
|
| (eval "$lt_compile" 2>out/conftest.err)
|
| ac_status=$?
|
| cat out/conftest.err >&5
|
| - echo "$as_me:9144: \$? = $ac_status" >&5
|
| + echo "$as_me:9148: \$? = $ac_status" >&5
|
| if (exit $ac_status) && test -s out/conftest2.$ac_objext
|
| then
|
| # The compiler can only warn and ignore the option if not recognized
|
| @@ -9192,11 +9196,11 @@
|
| -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
|
| -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
|
| -e 's:$: $lt_compiler_flag:'`
|
| - (eval echo "\"\$as_me:9195: $lt_compile\"" >&5)
|
| + (eval echo "\"\$as_me:9199: $lt_compile\"" >&5)
|
| (eval "$lt_compile" 2>out/conftest.err)
|
| ac_status=$?
|
| cat out/conftest.err >&5
|
| - echo "$as_me:9199: \$? = $ac_status" >&5
|
| + echo "$as_me:9203: \$? = $ac_status" >&5
|
| if (exit $ac_status) && test -s out/conftest2.$ac_objext
|
| then
|
| # The compiler can only warn and ignore the option if not recognized
|
| @@ -11576,7 +11580,7 @@
|
| lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
|
| lt_status=$lt_dlunknown
|
| cat > conftest.$ac_ext <<_LT_EOF
|
| -#line 11579 "configure"
|
| +#line 11583 "configure"
|
| #include "confdefs.h"
|
|
|
| #if HAVE_DLFCN_H
|
| @@ -11672,7 +11676,7 @@
|
| lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
|
| lt_status=$lt_dlunknown
|
| cat > conftest.$ac_ext <<_LT_EOF
|
| -#line 11675 "configure"
|
| +#line 11679 "configure"
|
| #include "confdefs.h"
|
|
|
| #if HAVE_DLFCN_H
|
| @@ -13628,11 +13632,11 @@
|
| -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
|
| -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
|
| -e 's:$: $lt_compiler_flag:'`
|
| - (eval echo "\"\$as_me:13631: $lt_compile\"" >&5)
|
| + (eval echo "\"\$as_me:13635: $lt_compile\"" >&5)
|
| (eval "$lt_compile" 2>conftest.err)
|
| ac_status=$?
|
| cat conftest.err >&5
|
| - echo "$as_me:13635: \$? = $ac_status" >&5
|
| + echo "$as_me:13639: \$? = $ac_status" >&5
|
| if (exit $ac_status) && test -s "$ac_outfile"; then
|
| # The compiler can only warn and ignore the option if not recognized
|
| # So say no if there are warnings other than the usual output.
|
| @@ -13727,11 +13731,11 @@
|
| -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
|
| -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
|
| -e 's:$: $lt_compiler_flag:'`
|
| - (eval echo "\"\$as_me:13730: $lt_compile\"" >&5)
|
| + (eval echo "\"\$as_me:13734: $lt_compile\"" >&5)
|
| (eval "$lt_compile" 2>out/conftest.err)
|
| ac_status=$?
|
| cat out/conftest.err >&5
|
| - echo "$as_me:13734: \$? = $ac_status" >&5
|
| + echo "$as_me:13738: \$? = $ac_status" >&5
|
| if (exit $ac_status) && test -s out/conftest2.$ac_objext
|
| then
|
| # The compiler can only warn and ignore the option if not recognized
|
| @@ -13779,11 +13783,11 @@
|
| -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
|
| -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
|
| -e 's:$: $lt_compiler_flag:'`
|
| - (eval echo "\"\$as_me:13782: $lt_compile\"" >&5)
|
| + (eval echo "\"\$as_me:13786: $lt_compile\"" >&5)
|
| (eval "$lt_compile" 2>out/conftest.err)
|
| ac_status=$?
|
| cat out/conftest.err >&5
|
| - echo "$as_me:13786: \$? = $ac_status" >&5
|
| + echo "$as_me:13790: \$? = $ac_status" >&5
|
| if (exit $ac_status) && test -s out/conftest2.$ac_objext
|
| then
|
| # The compiler can only warn and ignore the option if not recognized
|
| @@ -15949,7 +15953,53 @@
|
| rm fp.s
|
| CFLAGS="$OLD_CFLAGS"
|
|
|
| +# See if the compiler supports -Wno-unused-result.
|
| +# Newer ubuntu's turn on -D_FORTIFY_SOURCE=2, enabling
|
| +# __attribute__((warn_unused_result)) for things like write(),
|
| +# which we don't care about.
|
| +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the compiler supports -Wno-unused-result" >&5
|
| +$as_echo_n "checking if the compiler supports -Wno-unused-result... " >&6; }
|
| +if test "${perftools_cv_w_no_unused_result+set}" = set; then :
|
| + $as_echo_n "(cached) " >&6
|
| +else
|
| + OLD_CFLAGS="$CFLAGS"
|
| + CFLAGS="$CFLAGS -Wno-error -Wno-unused-result"
|
| + # gcc doesn't warn about unknown flags unless it's
|
| + # also warning for some other purpose, hence the
|
| + # divide-by-0. (We use -Wno-error to make sure the
|
| + # divide-by-0 doesn't cause this test to fail!)
|
| + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
| +/* end confdefs.h. */
|
|
|
| +int
|
| +main ()
|
| +{
|
| +return 1/0
|
| + ;
|
| + return 0;
|
| +}
|
| +_ACEOF
|
| +if ac_fn_c_try_compile "$LINENO"; then :
|
| + perftools_cv_w_no_unused_result=yes
|
| +else
|
| + perftools_cv_w_no_unused_result=no
|
| +fi
|
| +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
| + CFLAGS="$OLD_CFLAGS"
|
| +fi
|
| +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $perftools_cv_w_no_unused_result" >&5
|
| +$as_echo "$perftools_cv_w_no_unused_result" >&6; }
|
| +
|
| +
|
| +if test "$perftools_cv_w_no_unused_result" = yes; then
|
| + HAVE_W_NO_UNUSED_RESULT_TRUE=
|
| + HAVE_W_NO_UNUSED_RESULT_FALSE='#'
|
| +else
|
| + HAVE_W_NO_UNUSED_RESULT_TRUE='#'
|
| + HAVE_W_NO_UNUSED_RESULT_FALSE=
|
| +fi
|
| +
|
| +
|
| # Defines PRIuS
|
| { $as_echo "$as_me:${as_lineno-$LINENO}: checking printf format code for printing a size_t and ssize_t" >&5
|
| $as_echo_n "checking printf format code for printing a size_t and ssize_t... " >&6; }
|
| @@ -16115,6 +16165,35 @@
|
| rm -f core conftest.err conftest.$ac_objext \
|
| conftest$ac_exeext conftest.$ac_ext
|
|
|
| +# glibc's __malloc_hook/etc were declared volatile starting in glibc 2.14
|
| +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if __malloc_hook is declared volatile" >&5
|
| +$as_echo_n "checking if __malloc_hook is declared volatile... " >&6; }
|
| +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
| +/* end confdefs.h. */
|
| +#include <malloc.h>
|
| +void* (* volatile __malloc_hook)(size_t, const void*) = 0;
|
| +int
|
| +main ()
|
| +{
|
| +
|
| + ;
|
| + return 0;
|
| +}
|
| +_ACEOF
|
| +if ac_fn_c_try_compile "$LINENO"; then :
|
| +
|
| +$as_echo "#define MALLOC_HOOK_MAYBE_VOLATILE volatile" >>confdefs.h
|
| +
|
| + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
| +$as_echo "yes" >&6; }
|
| +else
|
| + $as_echo "#define MALLOC_HOOK_MAYBE_VOLATILE /**/" >>confdefs.h
|
| +,
|
| + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
| +$as_echo "no" >&6; }
|
| +fi
|
| +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
| +
|
| # Nanosleep requires extra libraries on some architectures (solaris).
|
| # This sets NANOSLEEP_LIBS. nanosleep doesn't exist on mingw, which
|
| # is fine for us because we don't compile libspinlock, which uses it.
|
| @@ -16977,10 +17056,15 @@
|
| # http://code.google.com/p/google-perftools/issues/detail?id=246
|
|
|
|
|
| +
|
| +
|
| # MinGW uses autoconf, but also needs the windows shim routines
|
| # (since it doesn't have its own support for, say, pthreads).
|
| # This requires us to #include a special header file, and also to
|
| # link in some windows versions of .o's instead of the unix versions.
|
| +#
|
| +# Also, manually mark systems where we have to be careful how early
|
| +# we run pthreads. TODO(csilvers): turn this into an autoconf check.
|
|
|
|
|
|
|
| @@ -16993,6 +17077,16 @@
|
| fi
|
|
|
|
|
| +
|
| +if expr $host : '.*-apple-darwin.*' >/dev/null 2>&1; then
|
| + OSX_TRUE=
|
| + OSX_FALSE='#'
|
| +else
|
| + OSX_TRUE='#'
|
| + OSX_FALSE=
|
| +fi
|
| +
|
| +
|
| # Redhat 7 (and below?) has sys/ucontext.h, but if you try to #include
|
| # it directly, the compiler gets upset. So we pretend we don't have
|
| # it.
|
| @@ -17211,10 +17305,18 @@
|
| as_fn_error "conditional \"X86_64_AND_NO_FP_BY_DEFAULT\" was never defined.
|
| Usually this means the macro was only invoked conditionally." "$LINENO" 5
|
| fi
|
| +if test -z "${HAVE_W_NO_UNUSED_RESULT_TRUE}" && test -z "${HAVE_W_NO_UNUSED_RESULT_FALSE}"; then
|
| + as_fn_error "conditional \"HAVE_W_NO_UNUSED_RESULT\" was never defined.
|
| +Usually this means the macro was only invoked conditionally." "$LINENO" 5
|
| +fi
|
| if test -z "${MINGW_TRUE}" && test -z "${MINGW_FALSE}"; then
|
| as_fn_error "conditional \"MINGW\" was never defined.
|
| Usually this means the macro was only invoked conditionally." "$LINENO" 5
|
| fi
|
| +if test -z "${OSX_TRUE}" && test -z "${OSX_FALSE}"; then
|
| + as_fn_error "conditional \"OSX\" was never defined.
|
| +Usually this means the macro was only invoked conditionally." "$LINENO" 5
|
| +fi
|
| if test -z "${WITH_CPU_PROFILER_TRUE}" && test -z "${WITH_CPU_PROFILER_FALSE}"; then
|
| as_fn_error "conditional \"WITH_CPU_PROFILER\" was never defined.
|
| Usually this means the macro was only invoked conditionally." "$LINENO" 5
|
| @@ -17647,7 +17749,7 @@
|
| # report actual input values of CONFIG_FILES etc. instead of their
|
| # values after options handling.
|
| ac_log="
|
| -This file was extended by google-perftools $as_me 1.7, which was
|
| +This file was extended by google-perftools $as_me 1.8, which was
|
| generated by GNU Autoconf 2.65. Invocation command line was
|
|
|
| CONFIG_FILES = $CONFIG_FILES
|
| @@ -17713,7 +17815,7 @@
|
| cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
| ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
|
| ac_cs_version="\\
|
| -google-perftools config.status 1.7
|
| +google-perftools config.status 1.8
|
| configured by $0, generated by GNU Autoconf 2.65,
|
| with options \\"\$ac_cs_config\\"
|
|
|
|
|