| Index: third_party/tcmalloc/vendor/configure
|
| ===================================================================
|
| --- third_party/tcmalloc/vendor/configure (revision 126727)
|
| +++ third_party/tcmalloc/vendor/configure (working copy)
|
| @@ -1,8 +1,8 @@
|
| #! /bin/sh
|
| # Guess values for system-dependent variables and create Makefiles.
|
| -# Generated by GNU Autoconf 2.65 for gperftools 2.0.
|
| +# Generated by GNU Autoconf 2.65 for google-perftools 1.8.
|
| #
|
| -# Report bugs to <google-perftools@googlegroups.com>.
|
| +# Report bugs to <opensource@google.com>.
|
| #
|
| #
|
| # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
|
| @@ -231,10 +231,10 @@
|
| $as_echo "$0: be upgraded to zsh 4.3.4 or later."
|
| else
|
| $as_echo "$0: Please tell bug-autoconf@gnu.org and
|
| -$0: google-perftools@googlegroups.com about your system,
|
| -$0: including any error possibly output before this
|
| -$0: message. Then install a modern shell, or manually run
|
| -$0: the script under such a shell if you do have one."
|
| +$0: opensource@google.com about your system, including any
|
| +$0: error possibly output before this message. Then install
|
| +$0: a modern shell, or manually run the script under such a
|
| +$0: shell if you do have one."
|
| fi
|
| exit 1
|
| fi
|
| @@ -699,11 +699,11 @@
|
| MAKEFLAGS=
|
|
|
| # Identity of this package.
|
| -PACKAGE_NAME='gperftools'
|
| -PACKAGE_TARNAME='gperftools'
|
| -PACKAGE_VERSION='2.0'
|
| -PACKAGE_STRING='gperftools 2.0'
|
| -PACKAGE_BUGREPORT='google-perftools@googlegroups.com'
|
| +PACKAGE_NAME='google-perftools'
|
| +PACKAGE_TARNAME='google-perftools'
|
| +PACKAGE_VERSION='1.8'
|
| +PACKAGE_STRING='google-perftools 1.8'
|
| +PACKAGE_BUGREPORT='opensource@google.com'
|
| PACKAGE_URL=''
|
|
|
| ac_unique_file="README"
|
| @@ -770,8 +770,6 @@
|
| NANOSLEEP_LIBS
|
| HAVE_W_NO_UNUSED_RESULT_FALSE
|
| HAVE_W_NO_UNUSED_RESULT_TRUE
|
| -I386_FALSE
|
| -I386_TRUE
|
| X86_64_AND_NO_FP_BY_DEFAULT_FALSE
|
| X86_64_AND_NO_FP_BY_DEFAULT_TRUE
|
| ENABLE_FRAME_POINTERS_FALSE
|
| @@ -808,16 +806,16 @@
|
| OBJCOPY
|
| GCC_FALSE
|
| GCC_TRUE
|
| +am__fastdepCXX_FALSE
|
| +am__fastdepCXX_TRUE
|
| +CXXDEPMODE
|
| +ac_ct_CXX
|
| +CXXFLAGS
|
| +CXX
|
| CPP
|
| am__fastdepCC_FALSE
|
| am__fastdepCC_TRUE
|
| CCDEPMODE
|
| -ac_ct_CC
|
| -CFLAGS
|
| -CC
|
| -am__fastdepCXX_FALSE
|
| -am__fastdepCXX_TRUE
|
| -CXXDEPMODE
|
| AMDEPBACKSLASH
|
| AMDEP_FALSE
|
| AMDEP_TRUE
|
| @@ -826,11 +824,11 @@
|
| DEPDIR
|
| OBJEXT
|
| EXEEXT
|
| -ac_ct_CXX
|
| +ac_ct_CC
|
| CPPFLAGS
|
| LDFLAGS
|
| -CXXFLAGS
|
| -CXX
|
| +CFLAGS
|
| +CC
|
| TC_VERSION_PATCH
|
| TC_VERSION_MINOR
|
| TC_VERSION_MAJOR
|
| @@ -841,7 +839,6 @@
|
| SET_MAKE
|
| AWK
|
| mkdir_p
|
| -MKDIR_P
|
| INSTALL_STRIP_PROGRAM
|
| STRIP
|
| install_sh
|
| @@ -853,7 +850,6 @@
|
| VERSION
|
| PACKAGE
|
| CYGPATH_W
|
| -am__isrc
|
| INSTALL_DATA
|
| INSTALL_SCRIPT
|
| INSTALL_PROGRAM
|
| @@ -925,15 +921,15 @@
|
| ac_precious_vars='build_alias
|
| host_alias
|
| target_alias
|
| -CXX
|
| -CXXFLAGS
|
| +CC
|
| +CFLAGS
|
| LDFLAGS
|
| LIBS
|
| CPPFLAGS
|
| -CCC
|
| -CC
|
| -CFLAGS
|
| CPP
|
| +CXX
|
| +CXXFLAGS
|
| +CCC
|
| CXXCPP'
|
|
|
|
|
| @@ -1476,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 gperftools 2.0 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]...
|
|
|
| @@ -1524,7 +1520,8 @@
|
| --infodir=DIR info documentation [DATAROOTDIR/info]
|
| --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
|
| --mandir=DIR man documentation [DATAROOTDIR/man]
|
| - --docdir=DIR documentation root [DATAROOTDIR/doc/gperftools]
|
| + --docdir=DIR documentation root
|
| + [DATAROOTDIR/doc/google-perftools]
|
| --htmldir=DIR html documentation [DOCDIR]
|
| --dvidir=DIR dvi documentation [DOCDIR]
|
| --pdfdir=DIR pdf documentation [DOCDIR]
|
| @@ -1546,7 +1543,7 @@
|
|
|
| if test -n "$ac_init_help"; then
|
| case $ac_init_help in
|
| - short | recursive ) echo "Configuration of gperftools 2.0:";;
|
| + short | recursive ) echo "Configuration of google-perftools 1.8:";;
|
| esac
|
| cat <<\_ACEOF
|
|
|
| @@ -1578,22 +1575,22 @@
|
| --with-gnu-ld assume the C compiler uses GNU ld [default=no]
|
|
|
| Some influential environment variables:
|
| - CXX C++ compiler command
|
| - CXXFLAGS C++ compiler flags
|
| + CC C compiler command
|
| + CFLAGS C compiler flags
|
| LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
|
| nonstandard directory <lib dir>
|
| LIBS libraries to pass to the linker, e.g. -l<library>
|
| CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
|
| you have headers in a nonstandard directory <include dir>
|
| - CC C compiler command
|
| - CFLAGS C compiler flags
|
| CPP C preprocessor
|
| + CXX C++ compiler command
|
| + CXXFLAGS C++ compiler flags
|
| CXXCPP C++ preprocessor
|
|
|
| Use these variables to override the choices made by `configure' or to help
|
| it to find libraries and programs with nonstandard names/locations.
|
|
|
| -Report bugs to <google-perftools@googlegroups.com>.
|
| +Report bugs to <opensource@google.com>.
|
| _ACEOF
|
| ac_status=$?
|
| fi
|
| @@ -1656,7 +1653,7 @@
|
| test -n "$ac_init_help" && exit $ac_status
|
| if $ac_init_version; then
|
| cat <<\_ACEOF
|
| -gperftools configure 2.0
|
| +google-perftools configure 1.8
|
| generated by GNU Autoconf 2.65
|
|
|
| Copyright (C) 2009 Free Software Foundation, Inc.
|
| @@ -1670,10 +1667,10 @@
|
| ## Autoconf initialization. ##
|
| ## ------------------------ ##
|
|
|
| -# ac_fn_cxx_try_compile LINENO
|
| -# ----------------------------
|
| +# ac_fn_c_try_compile LINENO
|
| +# --------------------------
|
| # Try to compile conftest.$ac_ext, and return whether this succeeded.
|
| -ac_fn_cxx_try_compile ()
|
| +ac_fn_c_try_compile ()
|
| {
|
| as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
| rm -f conftest.$ac_objext
|
| @@ -1693,7 +1690,7 @@
|
| fi
|
| $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
| test $ac_status = 0; } && {
|
| - test -z "$ac_cxx_werror_flag" ||
|
| + test -z "$ac_c_werror_flag" ||
|
| test ! -s conftest.err
|
| } && test -s conftest.$ac_objext; then :
|
| ac_retval=0
|
| @@ -1706,23 +1703,22 @@
|
| eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
|
| as_fn_set_status $ac_retval
|
|
|
| -} # ac_fn_cxx_try_compile
|
| +} # ac_fn_c_try_compile
|
|
|
| -# ac_fn_c_try_compile LINENO
|
| -# --------------------------
|
| -# Try to compile conftest.$ac_ext, and return whether this succeeded.
|
| -ac_fn_c_try_compile ()
|
| +# ac_fn_c_try_cpp LINENO
|
| +# ----------------------
|
| +# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
|
| +ac_fn_c_try_cpp ()
|
| {
|
| as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
| - rm -f conftest.$ac_objext
|
| - if { { ac_try="$ac_compile"
|
| + if { { ac_try="$ac_cpp conftest.$ac_ext"
|
| case "(($ac_try" in
|
| *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
| *) ac_try_echo=$ac_try;;
|
| esac
|
| eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
| $as_echo "$ac_try_echo"; } >&5
|
| - (eval "$ac_compile") 2>conftest.err
|
| + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
|
| ac_status=$?
|
| if test -s conftest.err; then
|
| grep -v '^ *+' conftest.err >conftest.er1
|
| @@ -1730,36 +1726,37 @@
|
| mv -f conftest.er1 conftest.err
|
| fi
|
| $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
| - test $ac_status = 0; } && {
|
| - test -z "$ac_c_werror_flag" ||
|
| + test $ac_status = 0; } >/dev/null && {
|
| + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
|
| test ! -s conftest.err
|
| - } && test -s conftest.$ac_objext; then :
|
| + }; then :
|
| ac_retval=0
|
| else
|
| $as_echo "$as_me: failed program was:" >&5
|
| sed 's/^/| /' conftest.$ac_ext >&5
|
|
|
| - ac_retval=1
|
| + ac_retval=1
|
| fi
|
| eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
|
| as_fn_set_status $ac_retval
|
|
|
| -} # ac_fn_c_try_compile
|
| +} # ac_fn_c_try_cpp
|
|
|
| -# ac_fn_c_try_cpp LINENO
|
| -# ----------------------
|
| -# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
|
| -ac_fn_c_try_cpp ()
|
| +# ac_fn_cxx_try_compile LINENO
|
| +# ----------------------------
|
| +# Try to compile conftest.$ac_ext, and return whether this succeeded.
|
| +ac_fn_cxx_try_compile ()
|
| {
|
| as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
| - if { { ac_try="$ac_cpp conftest.$ac_ext"
|
| + rm -f conftest.$ac_objext
|
| + if { { ac_try="$ac_compile"
|
| case "(($ac_try" in
|
| *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
| *) ac_try_echo=$ac_try;;
|
| esac
|
| eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
| $as_echo "$ac_try_echo"; } >&5
|
| - (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
|
| + (eval "$ac_compile") 2>conftest.err
|
| ac_status=$?
|
| if test -s conftest.err; then
|
| grep -v '^ *+' conftest.err >conftest.er1
|
| @@ -1767,21 +1764,21 @@
|
| mv -f conftest.er1 conftest.err
|
| fi
|
| $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
| - test $ac_status = 0; } >/dev/null && {
|
| - test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
|
| + test $ac_status = 0; } && {
|
| + test -z "$ac_cxx_werror_flag" ||
|
| test ! -s conftest.err
|
| - }; then :
|
| + } && test -s conftest.$ac_objext; then :
|
| ac_retval=0
|
| else
|
| $as_echo "$as_me: failed program was:" >&5
|
| sed 's/^/| /' conftest.$ac_ext >&5
|
|
|
| - ac_retval=1
|
| + ac_retval=1
|
| fi
|
| eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
|
| as_fn_set_status $ac_retval
|
|
|
| -} # ac_fn_c_try_cpp
|
| +} # ac_fn_cxx_try_compile
|
|
|
| # ac_fn_c_try_link LINENO
|
| # -----------------------
|
| @@ -2177,9 +2174,9 @@
|
| { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
|
| $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
|
| ( cat <<\_ASBOX
|
| -## ------------------------------------------------ ##
|
| -## Report this to google-perftools@googlegroups.com ##
|
| -## ------------------------------------------------ ##
|
| +## ------------------------------------ ##
|
| +## Report this to opensource@google.com ##
|
| +## ------------------------------------ ##
|
| _ASBOX
|
| ) | sed "s/^/$as_me: WARNING: /" >&2
|
| ;;
|
| @@ -2241,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 gperftools $as_me 2.0, 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 $@
|
| @@ -2593,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=5:0:1
|
| -PROFILER_SO_VERSION=3:0:3
|
| +TCMALLOC_SO_VERSION=2:0:2
|
| +PROFILER_SO_VERSION=1:1:1
|
|
|
|
|
|
|
| @@ -2697,8 +2694,7 @@
|
| case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
|
|
|
|
|
| -am__api_version='1.10'
|
| -
|
| +am__api_version="1.9"
|
| # Find a good install program. We prefer a C program (faster),
|
| # so one script is as good as another. But avoid the broken or
|
| # incompatible versions:
|
| @@ -2854,54 +2850,39 @@
|
| $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
|
| fi
|
|
|
| -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
|
| -$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
|
| -if test -z "$MKDIR_P"; then
|
| - if test "${ac_cv_path_mkdir+set}" = set; then :
|
| - $as_echo_n "(cached) " >&6
|
| +if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
|
| + # We used to keeping the `.' as first argument, in order to
|
| + # allow $(mkdir_p) to be used without argument. As in
|
| + # $(mkdir_p) $(somedir)
|
| + # where $(somedir) is conditionally defined. However this is wrong
|
| + # for two reasons:
|
| + # 1. if the package is installed by a user who cannot write `.'
|
| + # make install will fail,
|
| + # 2. the above comment should most certainly read
|
| + # $(mkdir_p) $(DESTDIR)$(somedir)
|
| + # so it does not work when $(somedir) is undefined and
|
| + # $(DESTDIR) is not.
|
| + # To support the latter case, we have to write
|
| + # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
|
| + # so the `.' trick is pointless.
|
| + mkdir_p='mkdir -p --'
|
| else
|
| - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
| -for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
|
| -do
|
| - IFS=$as_save_IFS
|
| - test -z "$as_dir" && as_dir=.
|
| - for ac_prog in mkdir gmkdir; do
|
| - for ac_exec_ext in '' $ac_executable_extensions; do
|
| - { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
|
| - case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
|
| - 'mkdir (GNU coreutils) '* | \
|
| - 'mkdir (coreutils) '* | \
|
| - 'mkdir (fileutils) '4.1*)
|
| - ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
|
| - break 3;;
|
| - esac
|
| - done
|
| - done
|
| + # On NextStep and OpenStep, the `mkdir' command does not
|
| + # recognize any option. It will interpret all options as
|
| + # directories to create, and then abort because `.' already
|
| + # exists.
|
| + for d in ./-p ./--version;
|
| + do
|
| + test -d $d && rmdir $d
|
| done
|
| -IFS=$as_save_IFS
|
| -
|
| -fi
|
| -
|
| - test -d ./--version && rmdir ./--version
|
| - if test "${ac_cv_path_mkdir+set}" = set; then
|
| - MKDIR_P="$ac_cv_path_mkdir -p"
|
| + # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
|
| + if test -f "$ac_aux_dir/mkinstalldirs"; then
|
| + mkdir_p='$(mkinstalldirs)'
|
| else
|
| - # As a last resort, use the slow shell script. Don't cache a
|
| - # value for MKDIR_P within a source directory, because that will
|
| - # break other packages using the cache if that directory is
|
| - # removed, or if the value is a relative name.
|
| - MKDIR_P="$ac_install_sh -d"
|
| + mkdir_p='$(install_sh) -d'
|
| fi
|
| fi
|
| -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
|
| -$as_echo "$MKDIR_P" >&6; }
|
|
|
| -mkdir_p="$MKDIR_P"
|
| -case $mkdir_p in
|
| - [\\/$]* | ?:[\\/]*) ;;
|
| - */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
|
| -esac
|
| -
|
| for ac_prog in gawk mawk nawk awk
|
| do
|
| # Extract the first word of "$ac_prog", so it can be a program name with args.
|
| @@ -2984,14 +2965,10 @@
|
| fi
|
| rmdir .tst 2>/dev/null
|
|
|
| -if test "`cd $srcdir && pwd`" != "`pwd`"; then
|
| - # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
|
| - # is not polluted with repeated "-I."
|
| - am__isrc=' -I$(srcdir)'
|
| - # test to see if srcdir already configured
|
| - if test -f $srcdir/config.status; then
|
| - as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
|
| - fi
|
| +# test to see if srcdir already configured
|
| +if test "`cd $srcdir && pwd`" != "`pwd`" &&
|
| + test -f $srcdir/config.status; then
|
| + as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
|
| fi
|
|
|
| # test whether we have cygpath
|
| @@ -3005,8 +2982,8 @@
|
|
|
|
|
| # Define the identity of the package.
|
| - PACKAGE='gperftools'
|
| - VERSION='2.0'
|
| + PACKAGE='google-perftools'
|
| + VERSION='1.8'
|
|
|
|
|
| cat >>confdefs.h <<_ACEOF
|
| @@ -3034,7 +3011,7 @@
|
|
|
| MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
|
|
|
| -install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
|
| +install_sh=${install_sh-"$am_aux_dir/install-sh"}
|
|
|
| # Installed binaries are usually stripped using `strip' when the user
|
| # run `make install-strip'. However `strip' might not be the right
|
| @@ -3134,7 +3111,7 @@
|
| fi
|
|
|
| fi
|
| -INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
|
| +INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
|
|
|
| # We need awk for the "check" target. The system "awk" is bad on
|
| # some platforms.
|
| @@ -3153,8 +3130,8 @@
|
|
|
| # Export the version information (for tc_version and friends)
|
| TC_VERSION_MAJOR=`expr "$PACKAGE_VERSION" : '\([0-9]*\)'`
|
| -TC_VERSION_MINOR=`expr "$PACKAGE_VERSION" : '[0-9]*\.\([0-9]*\)'`
|
| -TC_VERSION_PATCH=`expr "$PACKAGE_VERSION" : '[0-9]*\.[0-9]*\(.*\)$'`
|
| +TC_VERSION_MINOR=`expr "$PACKAGE_VERSION" : '[^.]*\.\([0-9]*\)'`
|
| +TC_VERSION_PATCH=`expr "$PACKAGE_VERSION" : '[^.0-9]*\([^0-9]*\)$'`
|
|
|
|
|
|
|
| @@ -3222,27 +3199,213 @@
|
|
|
|
|
| # Checks for programs.
|
| -ac_ext=cpp
|
| -ac_cpp='$CXXCPP $CPPFLAGS'
|
| -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
| -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
| -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
|
| -if test -z "$CXX"; then
|
| - if test -n "$CCC"; then
|
| - CXX=$CCC
|
| +ac_ext=c
|
| +ac_cpp='$CPP $CPPFLAGS'
|
| +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
| +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
| +ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
| +if test -n "$ac_tool_prefix"; then
|
| + # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
|
| +set dummy ${ac_tool_prefix}gcc; ac_word=$2
|
| +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
| +$as_echo_n "checking for $ac_word... " >&6; }
|
| +if test "${ac_cv_prog_CC+set}" = set; then :
|
| + $as_echo_n "(cached) " >&6
|
| +else
|
| + if test -n "$CC"; then
|
| + ac_cv_prog_CC="$CC" # Let the user override the test.
|
| +else
|
| +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
| +for as_dir in $PATH
|
| +do
|
| + IFS=$as_save_IFS
|
| + test -z "$as_dir" && as_dir=.
|
| + for ac_exec_ext in '' $ac_executable_extensions; do
|
| + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
| + ac_cv_prog_CC="${ac_tool_prefix}gcc"
|
| + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
| + break 2
|
| + fi
|
| +done
|
| + done
|
| +IFS=$as_save_IFS
|
| +
|
| +fi
|
| +fi
|
| +CC=$ac_cv_prog_CC
|
| +if test -n "$CC"; then
|
| + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
|
| +$as_echo "$CC" >&6; }
|
| +else
|
| + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
| +$as_echo "no" >&6; }
|
| +fi
|
| +
|
| +
|
| +fi
|
| +if test -z "$ac_cv_prog_CC"; then
|
| + ac_ct_CC=$CC
|
| + # Extract the first word of "gcc", so it can be a program name with args.
|
| +set dummy gcc; ac_word=$2
|
| +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
| +$as_echo_n "checking for $ac_word... " >&6; }
|
| +if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
|
| + $as_echo_n "(cached) " >&6
|
| +else
|
| + if test -n "$ac_ct_CC"; then
|
| + ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
|
| +else
|
| +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
| +for as_dir in $PATH
|
| +do
|
| + IFS=$as_save_IFS
|
| + test -z "$as_dir" && as_dir=.
|
| + for ac_exec_ext in '' $ac_executable_extensions; do
|
| + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
| + ac_cv_prog_ac_ct_CC="gcc"
|
| + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
| + break 2
|
| + fi
|
| +done
|
| + done
|
| +IFS=$as_save_IFS
|
| +
|
| +fi
|
| +fi
|
| +ac_ct_CC=$ac_cv_prog_ac_ct_CC
|
| +if test -n "$ac_ct_CC"; then
|
| + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
|
| +$as_echo "$ac_ct_CC" >&6; }
|
| +else
|
| + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
| +$as_echo "no" >&6; }
|
| +fi
|
| +
|
| + if test "x$ac_ct_CC" = x; then
|
| + CC=""
|
| else
|
| - if test -n "$ac_tool_prefix"; then
|
| - for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
|
| + case $cross_compiling:$ac_tool_warned in
|
| +yes:)
|
| +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
|
| +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
| +ac_tool_warned=yes ;;
|
| +esac
|
| + CC=$ac_ct_CC
|
| + fi
|
| +else
|
| + CC="$ac_cv_prog_CC"
|
| +fi
|
| +
|
| +if test -z "$CC"; then
|
| + if test -n "$ac_tool_prefix"; then
|
| + # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
|
| +set dummy ${ac_tool_prefix}cc; ac_word=$2
|
| +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
| +$as_echo_n "checking for $ac_word... " >&6; }
|
| +if test "${ac_cv_prog_CC+set}" = set; then :
|
| + $as_echo_n "(cached) " >&6
|
| +else
|
| + if test -n "$CC"; then
|
| + ac_cv_prog_CC="$CC" # Let the user override the test.
|
| +else
|
| +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
| +for as_dir in $PATH
|
| +do
|
| + IFS=$as_save_IFS
|
| + test -z "$as_dir" && as_dir=.
|
| + for ac_exec_ext in '' $ac_executable_extensions; do
|
| + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
| + ac_cv_prog_CC="${ac_tool_prefix}cc"
|
| + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
| + break 2
|
| + fi
|
| +done
|
| + done
|
| +IFS=$as_save_IFS
|
| +
|
| +fi
|
| +fi
|
| +CC=$ac_cv_prog_CC
|
| +if test -n "$CC"; then
|
| + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
|
| +$as_echo "$CC" >&6; }
|
| +else
|
| + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
| +$as_echo "no" >&6; }
|
| +fi
|
| +
|
| +
|
| + fi
|
| +fi
|
| +if test -z "$CC"; then
|
| + # Extract the first word of "cc", so it can be a program name with args.
|
| +set dummy cc; ac_word=$2
|
| +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
| +$as_echo_n "checking for $ac_word... " >&6; }
|
| +if test "${ac_cv_prog_CC+set}" = set; then :
|
| + $as_echo_n "(cached) " >&6
|
| +else
|
| + if test -n "$CC"; then
|
| + ac_cv_prog_CC="$CC" # Let the user override the test.
|
| +else
|
| + ac_prog_rejected=no
|
| +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
| +for as_dir in $PATH
|
| +do
|
| + IFS=$as_save_IFS
|
| + test -z "$as_dir" && as_dir=.
|
| + for ac_exec_ext in '' $ac_executable_extensions; do
|
| + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
| + if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
|
| + ac_prog_rejected=yes
|
| + continue
|
| + fi
|
| + ac_cv_prog_CC="cc"
|
| + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
| + break 2
|
| + fi
|
| +done
|
| + done
|
| +IFS=$as_save_IFS
|
| +
|
| +if test $ac_prog_rejected = yes; then
|
| + # We found a bogon in the path, so make sure we never use it.
|
| + set dummy $ac_cv_prog_CC
|
| + shift
|
| + if test $# != 0; then
|
| + # We chose a different compiler from the bogus one.
|
| + # However, it has the same basename, so the bogon will be chosen
|
| + # first if we set CC to just the basename; use the full file name.
|
| + shift
|
| + ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
|
| + fi
|
| +fi
|
| +fi
|
| +fi
|
| +CC=$ac_cv_prog_CC
|
| +if test -n "$CC"; then
|
| + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
|
| +$as_echo "$CC" >&6; }
|
| +else
|
| + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
| +$as_echo "no" >&6; }
|
| +fi
|
| +
|
| +
|
| +fi
|
| +if test -z "$CC"; then
|
| + if test -n "$ac_tool_prefix"; then
|
| + for ac_prog in cl.exe
|
| do
|
| # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
|
| set dummy $ac_tool_prefix$ac_prog; ac_word=$2
|
| { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
| $as_echo_n "checking for $ac_word... " >&6; }
|
| -if test "${ac_cv_prog_CXX+set}" = set; then :
|
| +if test "${ac_cv_prog_CC+set}" = set; then :
|
| $as_echo_n "(cached) " >&6
|
| else
|
| - if test -n "$CXX"; then
|
| - ac_cv_prog_CXX="$CXX" # Let the user override the test.
|
| + if test -n "$CC"; then
|
| + ac_cv_prog_CC="$CC" # Let the user override the test.
|
| else
|
| as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
| for as_dir in $PATH
|
| @@ -3251,7 +3414,7 @@
|
| test -z "$as_dir" && as_dir=.
|
| for ac_exec_ext in '' $ac_executable_extensions; do
|
| if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
| - ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
|
| + ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
|
| $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
| break 2
|
| fi
|
| @@ -3261,32 +3424,32 @@
|
|
|
| fi
|
| fi
|
| -CXX=$ac_cv_prog_CXX
|
| -if test -n "$CXX"; then
|
| - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
|
| -$as_echo "$CXX" >&6; }
|
| +CC=$ac_cv_prog_CC
|
| +if test -n "$CC"; then
|
| + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
|
| +$as_echo "$CC" >&6; }
|
| else
|
| { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
| $as_echo "no" >&6; }
|
| fi
|
|
|
|
|
| - test -n "$CXX" && break
|
| + test -n "$CC" && break
|
| done
|
| fi
|
| -if test -z "$CXX"; then
|
| - ac_ct_CXX=$CXX
|
| - for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
|
| +if test -z "$CC"; then
|
| + ac_ct_CC=$CC
|
| + for ac_prog in cl.exe
|
| do
|
| # Extract the first word of "$ac_prog", so it can be a program name with args.
|
| set dummy $ac_prog; ac_word=$2
|
| { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
| $as_echo_n "checking for $ac_word... " >&6; }
|
| -if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
|
| +if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
|
| $as_echo_n "(cached) " >&6
|
| else
|
| - if test -n "$ac_ct_CXX"; then
|
| - ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
|
| + if test -n "$ac_ct_CC"; then
|
| + ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
|
| else
|
| as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
| for as_dir in $PATH
|
| @@ -3295,7 +3458,7 @@
|
| test -z "$as_dir" && as_dir=.
|
| for ac_exec_ext in '' $ac_executable_extensions; do
|
| if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
| - ac_cv_prog_ac_ct_CXX="$ac_prog"
|
| + ac_cv_prog_ac_ct_CC="$ac_prog"
|
| $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
| break 2
|
| fi
|
| @@ -3305,21 +3468,21 @@
|
|
|
| fi
|
| fi
|
| -ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
|
| -if test -n "$ac_ct_CXX"; then
|
| - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
|
| -$as_echo "$ac_ct_CXX" >&6; }
|
| +ac_ct_CC=$ac_cv_prog_ac_ct_CC
|
| +if test -n "$ac_ct_CC"; then
|
| + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
|
| +$as_echo "$ac_ct_CC" >&6; }
|
| else
|
| { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
| $as_echo "no" >&6; }
|
| fi
|
|
|
|
|
| - test -n "$ac_ct_CXX" && break
|
| + test -n "$ac_ct_CC" && break
|
| done
|
|
|
| - if test "x$ac_ct_CXX" = x; then
|
| - CXX="g++"
|
| + if test "x$ac_ct_CC" = x; then
|
| + CC=""
|
| else
|
| case $cross_compiling:$ac_tool_warned in
|
| yes:)
|
| @@ -3327,14 +3490,20 @@
|
| $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
| ac_tool_warned=yes ;;
|
| esac
|
| - CXX=$ac_ct_CXX
|
| + CC=$ac_ct_CC
|
| fi
|
| fi
|
|
|
| - fi
|
| fi
|
| +
|
| +
|
| +test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
| +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
| +as_fn_error "no acceptable C compiler found in \$PATH
|
| +See \`config.log' for more details." "$LINENO" 5; }
|
| +
|
| # Provide some information about the compiler.
|
| -$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
|
| +$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
|
| set X $ac_compile
|
| ac_compiler=$2
|
| for ac_option in --version -v -V -qversion; do
|
| @@ -3374,8 +3543,8 @@
|
| # Try to create an executable without -o first, disregard a.out.
|
| # It will help us diagnose broken compilers, and finding out an intuition
|
| # of exeext.
|
| -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler works" >&5
|
| -$as_echo_n "checking whether the C++ compiler works... " >&6; }
|
| +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
|
| +$as_echo_n "checking whether the C compiler works... " >&6; }
|
| ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
|
|
|
| # The possible output files:
|
| @@ -3446,14 +3615,14 @@
|
| { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
| $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
| { as_fn_set_status 77
|
| -as_fn_error "C++ compiler cannot create executables
|
| +as_fn_error "C compiler cannot create executables
|
| See \`config.log' for more details." "$LINENO" 5; }; }
|
| else
|
| { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
| $as_echo "yes" >&6; }
|
| fi
|
| -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler default output file name" >&5
|
| -$as_echo_n "checking for C++ compiler default output file name... " >&6; }
|
| +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
|
| +$as_echo_n "checking for C compiler default output file name... " >&6; }
|
| { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
|
| $as_echo "$ac_file" >&6; }
|
| ac_exeext=$ac_cv_exeext
|
| @@ -3547,7 +3716,7 @@
|
| else
|
| { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
| $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
| -as_fn_error "cannot run C++ compiled programs.
|
| +as_fn_error "cannot run C compiled programs.
|
| If you meant to cross compile, use \`--host'.
|
| See \`config.log' for more details." "$LINENO" 5; }
|
| fi
|
| @@ -3609,9 +3778,9 @@
|
| $as_echo "$ac_cv_objext" >&6; }
|
| OBJEXT=$ac_cv_objext
|
| ac_objext=$OBJEXT
|
| -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
|
| -$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
|
| -if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
|
| +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
|
| +$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
|
| +if test "${ac_cv_c_compiler_gnu+set}" = set; then :
|
| $as_echo_n "(cached) " >&6
|
| else
|
| cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
| @@ -3628,33 +3797,33 @@
|
| return 0;
|
| }
|
| _ACEOF
|
| -if ac_fn_cxx_try_compile "$LINENO"; then :
|
| +if ac_fn_c_try_compile "$LINENO"; then :
|
| ac_compiler_gnu=yes
|
| else
|
| ac_compiler_gnu=no
|
| fi
|
| rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
| -ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
|
| +ac_cv_c_compiler_gnu=$ac_compiler_gnu
|
|
|
| fi
|
| -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
|
| -$as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
|
| +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
|
| +$as_echo "$ac_cv_c_compiler_gnu" >&6; }
|
| if test $ac_compiler_gnu = yes; then
|
| - GXX=yes
|
| + GCC=yes
|
| else
|
| - GXX=
|
| + GCC=
|
| fi
|
| -ac_test_CXXFLAGS=${CXXFLAGS+set}
|
| -ac_save_CXXFLAGS=$CXXFLAGS
|
| -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
|
| -$as_echo_n "checking whether $CXX accepts -g... " >&6; }
|
| -if test "${ac_cv_prog_cxx_g+set}" = set; then :
|
| +ac_test_CFLAGS=${CFLAGS+set}
|
| +ac_save_CFLAGS=$CFLAGS
|
| +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
|
| +$as_echo_n "checking whether $CC accepts -g... " >&6; }
|
| +if test "${ac_cv_prog_cc_g+set}" = set; then :
|
| $as_echo_n "(cached) " >&6
|
| else
|
| - ac_save_cxx_werror_flag=$ac_cxx_werror_flag
|
| - ac_cxx_werror_flag=yes
|
| - ac_cv_prog_cxx_g=no
|
| - CXXFLAGS="-g"
|
| + ac_save_c_werror_flag=$ac_c_werror_flag
|
| + ac_c_werror_flag=yes
|
| + ac_cv_prog_cc_g=no
|
| + CFLAGS="-g"
|
| cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
| /* end confdefs.h. */
|
|
|
| @@ -3666,10 +3835,10 @@
|
| return 0;
|
| }
|
| _ACEOF
|
| -if ac_fn_cxx_try_compile "$LINENO"; then :
|
| - ac_cv_prog_cxx_g=yes
|
| +if ac_fn_c_try_compile "$LINENO"; then :
|
| + ac_cv_prog_cc_g=yes
|
| else
|
| - CXXFLAGS=""
|
| + CFLAGS=""
|
| cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
| /* end confdefs.h. */
|
|
|
| @@ -3681,11 +3850,11 @@
|
| return 0;
|
| }
|
| _ACEOF
|
| -if ac_fn_cxx_try_compile "$LINENO"; then :
|
| +if ac_fn_c_try_compile "$LINENO"; then :
|
|
|
| else
|
| - ac_cxx_werror_flag=$ac_save_cxx_werror_flag
|
| - CXXFLAGS="-g"
|
| + ac_c_werror_flag=$ac_save_c_werror_flag
|
| + CFLAGS="-g"
|
| cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
| /* end confdefs.h. */
|
|
|
| @@ -3697,33 +3866,124 @@
|
| return 0;
|
| }
|
| _ACEOF
|
| -if ac_fn_cxx_try_compile "$LINENO"; then :
|
| - ac_cv_prog_cxx_g=yes
|
| +if ac_fn_c_try_compile "$LINENO"; then :
|
| + ac_cv_prog_cc_g=yes
|
| fi
|
| rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
| fi
|
| rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
| fi
|
| rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
| - ac_cxx_werror_flag=$ac_save_cxx_werror_flag
|
| + ac_c_werror_flag=$ac_save_c_werror_flag
|
| fi
|
| -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
|
| -$as_echo "$ac_cv_prog_cxx_g" >&6; }
|
| -if test "$ac_test_CXXFLAGS" = set; then
|
| - CXXFLAGS=$ac_save_CXXFLAGS
|
| -elif test $ac_cv_prog_cxx_g = yes; then
|
| - if test "$GXX" = yes; then
|
| - CXXFLAGS="-g -O2"
|
| +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
|
| +$as_echo "$ac_cv_prog_cc_g" >&6; }
|
| +if test "$ac_test_CFLAGS" = set; then
|
| + CFLAGS=$ac_save_CFLAGS
|
| +elif test $ac_cv_prog_cc_g = yes; then
|
| + if test "$GCC" = yes; then
|
| + CFLAGS="-g -O2"
|
| else
|
| - CXXFLAGS="-g"
|
| + CFLAGS="-g"
|
| fi
|
| else
|
| - if test "$GXX" = yes; then
|
| - CXXFLAGS="-O2"
|
| + if test "$GCC" = yes; then
|
| + CFLAGS="-O2"
|
| else
|
| - CXXFLAGS=
|
| + CFLAGS=
|
| fi
|
| fi
|
| +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
|
| +$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
|
| +if test "${ac_cv_prog_cc_c89+set}" = set; then :
|
| + $as_echo_n "(cached) " >&6
|
| +else
|
| + ac_cv_prog_cc_c89=no
|
| +ac_save_CC=$CC
|
| +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
| +/* end confdefs.h. */
|
| +#include <stdarg.h>
|
| +#include <stdio.h>
|
| +#include <sys/types.h>
|
| +#include <sys/stat.h>
|
| +/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
|
| +struct buf { int x; };
|
| +FILE * (*rcsopen) (struct buf *, struct stat *, int);
|
| +static char *e (p, i)
|
| + char **p;
|
| + int i;
|
| +{
|
| + return p[i];
|
| +}
|
| +static char *f (char * (*g) (char **, int), char **p, ...)
|
| +{
|
| + char *s;
|
| + va_list v;
|
| + va_start (v,p);
|
| + s = g (p, va_arg (v,int));
|
| + va_end (v);
|
| + return s;
|
| +}
|
| +
|
| +/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
|
| + function prototypes and stuff, but not '\xHH' hex character constants.
|
| + These don't provoke an error unfortunately, instead are silently treated
|
| + as 'x'. The following induces an error, until -std is added to get
|
| + proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
|
| + array size at least. It's necessary to write '\x00'==0 to get something
|
| + that's true only with -std. */
|
| +int osf4_cc_array ['\x00' == 0 ? 1 : -1];
|
| +
|
| +/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
|
| + inside strings and character constants. */
|
| +#define FOO(x) 'x'
|
| +int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
|
| +
|
| +int test (int i, double x);
|
| +struct s1 {int (*f) (int a);};
|
| +struct s2 {int (*f) (double a);};
|
| +int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
|
| +int argc;
|
| +char **argv;
|
| +int
|
| +main ()
|
| +{
|
| +return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
|
| + ;
|
| + return 0;
|
| +}
|
| +_ACEOF
|
| +for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
|
| + -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
|
| +do
|
| + CC="$ac_save_CC $ac_arg"
|
| + if ac_fn_c_try_compile "$LINENO"; then :
|
| + ac_cv_prog_cc_c89=$ac_arg
|
| +fi
|
| +rm -f core conftest.err conftest.$ac_objext
|
| + test "x$ac_cv_prog_cc_c89" != "xno" && break
|
| +done
|
| +rm -f conftest.$ac_ext
|
| +CC=$ac_save_CC
|
| +
|
| +fi
|
| +# AC_CACHE_VAL
|
| +case "x$ac_cv_prog_cc_c89" in
|
| + x)
|
| + { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
|
| +$as_echo "none needed" >&6; } ;;
|
| + xno)
|
| + { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
|
| +$as_echo "unsupported" >&6; } ;;
|
| + *)
|
| + CC="$CC $ac_cv_prog_cc_c89"
|
| + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
|
| +$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
|
| +esac
|
| +if test "x$ac_cv_prog_cc_c89" != xno; then :
|
| +
|
| +fi
|
| +
|
| ac_ext=c
|
| ac_cpp='$CPP $CPPFLAGS'
|
| ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
| @@ -3782,7 +4042,9 @@
|
| am_depcomp="$ac_aux_dir/depcomp"
|
| AMDEPBACKSLASH='\'
|
| fi
|
| - if test "x$enable_dependency_tracking" != xno; then
|
| +
|
| +
|
| +if test "x$enable_dependency_tracking" != xno; then
|
| AMDEP_TRUE=
|
| AMDEP_FALSE='#'
|
| else
|
| @@ -3792,11 +4054,12 @@
|
|
|
|
|
|
|
| -depcc="$CXX" am_compiler_list=
|
|
|
| +depcc="$CC" am_compiler_list=
|
| +
|
| { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
|
| $as_echo_n "checking dependency style of $depcc... " >&6; }
|
| -if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then :
|
| +if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
|
| $as_echo_n "(cached) " >&6
|
| else
|
| if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
|
| @@ -3818,7 +4081,7 @@
|
| # directory.
|
| mkdir sub
|
|
|
| - am_cv_CXX_dependencies_compiler_type=none
|
| + am_cv_CC_dependencies_compiler_type=none
|
| if test "$am_compiler_list" = ""; then
|
| am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
|
| fi
|
| @@ -3859,7 +4122,6 @@
|
| depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
|
| $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
|
| >/dev/null 2>conftest.err &&
|
| - grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
|
| grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
|
| grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
|
| ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
|
| @@ -3872,7 +4134,7 @@
|
| # icc: Command line remark: option '-MP' not supported
|
| if (grep 'ignoring option' conftest.err ||
|
| grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
|
| - am_cv_CXX_dependencies_compiler_type=$depmode
|
| + am_cv_CC_dependencies_compiler_type=$depmode
|
| break
|
| fi
|
| fi
|
| @@ -3881,22 +4143,24 @@
|
| cd ..
|
| rm -rf conftest.dir
|
| else
|
| - am_cv_CXX_dependencies_compiler_type=none
|
| + am_cv_CC_dependencies_compiler_type=none
|
| fi
|
|
|
| fi
|
| -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
|
| -$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
|
| -CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
|
| +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
|
| +$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
|
| +CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
|
|
|
| - if
|
| +
|
| +
|
| +if
|
| test "x$enable_dependency_tracking" != xno \
|
| - && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
|
| - am__fastdepCXX_TRUE=
|
| - am__fastdepCXX_FALSE='#'
|
| + && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
|
| + am__fastdepCC_TRUE=
|
| + am__fastdepCC_FALSE='#'
|
| else
|
| - am__fastdepCXX_TRUE='#'
|
| - am__fastdepCXX_FALSE=
|
| + am__fastdepCC_TRUE='#'
|
| + am__fastdepCC_FALSE=
|
| fi
|
|
|
|
|
| @@ -3905,208 +4169,159 @@
|
| ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
| ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
| ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
| -if test -n "$ac_tool_prefix"; then
|
| - # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
|
| -set dummy ${ac_tool_prefix}gcc; ac_word=$2
|
| -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
| -$as_echo_n "checking for $ac_word... " >&6; }
|
| -if test "${ac_cv_prog_CC+set}" = set; then :
|
| +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
|
| +$as_echo_n "checking how to run the C preprocessor... " >&6; }
|
| +# On Suns, sometimes $CPP names a directory.
|
| +if test -n "$CPP" && test -d "$CPP"; then
|
| + CPP=
|
| +fi
|
| +if test -z "$CPP"; then
|
| + if test "${ac_cv_prog_CPP+set}" = set; then :
|
| $as_echo_n "(cached) " >&6
|
| else
|
| - if test -n "$CC"; then
|
| - ac_cv_prog_CC="$CC" # Let the user override the test.
|
| -else
|
| -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
| -for as_dir in $PATH
|
| + # Double quotes because CPP needs to be expanded
|
| + for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
|
| + do
|
| + ac_preproc_ok=false
|
| +for ac_c_preproc_warn_flag in '' yes
|
| do
|
| - IFS=$as_save_IFS
|
| - test -z "$as_dir" && as_dir=.
|
| - for ac_exec_ext in '' $ac_executable_extensions; do
|
| - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
| - ac_cv_prog_CC="${ac_tool_prefix}gcc"
|
| - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
| - break 2
|
| - fi
|
| -done
|
| - done
|
| -IFS=$as_save_IFS
|
| + # Use a header file that comes with gcc, so configuring glibc
|
| + # with a fresh cross-compiler works.
|
| + # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|
| + # <limits.h> exists even on freestanding compilers.
|
| + # On the NeXT, cc -E runs the code through the compiler's parser,
|
| + # not just through cpp. "Syntax error" is here to catch this case.
|
| + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
| +/* end confdefs.h. */
|
| +#ifdef __STDC__
|
| +# include <limits.h>
|
| +#else
|
| +# include <assert.h>
|
| +#endif
|
| + Syntax error
|
| +_ACEOF
|
| +if ac_fn_c_try_cpp "$LINENO"; then :
|
|
|
| -fi
|
| -fi
|
| -CC=$ac_cv_prog_CC
|
| -if test -n "$CC"; then
|
| - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
|
| -$as_echo "$CC" >&6; }
|
| else
|
| - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
| -$as_echo "no" >&6; }
|
| + # Broken: fails on valid input.
|
| +continue
|
| fi
|
| +rm -f conftest.err conftest.$ac_ext
|
|
|
| -
|
| -fi
|
| -if test -z "$ac_cv_prog_CC"; then
|
| - ac_ct_CC=$CC
|
| - # Extract the first word of "gcc", so it can be a program name with args.
|
| -set dummy gcc; ac_word=$2
|
| -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
| -$as_echo_n "checking for $ac_word... " >&6; }
|
| -if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
|
| - $as_echo_n "(cached) " >&6
|
| + # OK, works on sane cases. Now check whether nonexistent headers
|
| + # can be detected and how.
|
| + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
| +/* end confdefs.h. */
|
| +#include <ac_nonexistent.h>
|
| +_ACEOF
|
| +if ac_fn_c_try_cpp "$LINENO"; then :
|
| + # Broken: success on invalid input.
|
| +continue
|
| else
|
| - if test -n "$ac_ct_CC"; then
|
| - ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
|
| -else
|
| -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
| -for as_dir in $PATH
|
| -do
|
| - IFS=$as_save_IFS
|
| - test -z "$as_dir" && as_dir=.
|
| - for ac_exec_ext in '' $ac_executable_extensions; do
|
| - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
| - ac_cv_prog_ac_ct_CC="gcc"
|
| - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
| - break 2
|
| - fi
|
| + # Passes both tests.
|
| +ac_preproc_ok=:
|
| +break
|
| +fi
|
| +rm -f conftest.err conftest.$ac_ext
|
| +
|
| done
|
| - done
|
| -IFS=$as_save_IFS
|
| +# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
|
| +rm -f conftest.err conftest.$ac_ext
|
| +if $ac_preproc_ok; then :
|
| + break
|
| +fi
|
|
|
| + done
|
| + ac_cv_prog_CPP=$CPP
|
| +
|
| fi
|
| -fi
|
| -ac_ct_CC=$ac_cv_prog_ac_ct_CC
|
| -if test -n "$ac_ct_CC"; then
|
| - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
|
| -$as_echo "$ac_ct_CC" >&6; }
|
| + CPP=$ac_cv_prog_CPP
|
| else
|
| - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
| -$as_echo "no" >&6; }
|
| + ac_cv_prog_CPP=$CPP
|
| fi
|
| +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
|
| +$as_echo "$CPP" >&6; }
|
| +ac_preproc_ok=false
|
| +for ac_c_preproc_warn_flag in '' yes
|
| +do
|
| + # Use a header file that comes with gcc, so configuring glibc
|
| + # with a fresh cross-compiler works.
|
| + # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|
| + # <limits.h> exists even on freestanding compilers.
|
| + # On the NeXT, cc -E runs the code through the compiler's parser,
|
| + # not just through cpp. "Syntax error" is here to catch this case.
|
| + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
| +/* end confdefs.h. */
|
| +#ifdef __STDC__
|
| +# include <limits.h>
|
| +#else
|
| +# include <assert.h>
|
| +#endif
|
| + Syntax error
|
| +_ACEOF
|
| +if ac_fn_c_try_cpp "$LINENO"; then :
|
|
|
| - if test "x$ac_ct_CC" = x; then
|
| - CC=""
|
| - else
|
| - case $cross_compiling:$ac_tool_warned in
|
| -yes:)
|
| -{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
|
| -$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
| -ac_tool_warned=yes ;;
|
| -esac
|
| - CC=$ac_ct_CC
|
| - fi
|
| else
|
| - CC="$ac_cv_prog_CC"
|
| + # Broken: fails on valid input.
|
| +continue
|
| fi
|
| +rm -f conftest.err conftest.$ac_ext
|
|
|
| -if test -z "$CC"; then
|
| - if test -n "$ac_tool_prefix"; then
|
| - # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
|
| -set dummy ${ac_tool_prefix}cc; ac_word=$2
|
| -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
| -$as_echo_n "checking for $ac_word... " >&6; }
|
| -if test "${ac_cv_prog_CC+set}" = set; then :
|
| - $as_echo_n "(cached) " >&6
|
| + # OK, works on sane cases. Now check whether nonexistent headers
|
| + # can be detected and how.
|
| + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
| +/* end confdefs.h. */
|
| +#include <ac_nonexistent.h>
|
| +_ACEOF
|
| +if ac_fn_c_try_cpp "$LINENO"; then :
|
| + # Broken: success on invalid input.
|
| +continue
|
| else
|
| - if test -n "$CC"; then
|
| - ac_cv_prog_CC="$CC" # Let the user override the test.
|
| -else
|
| -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
| -for as_dir in $PATH
|
| -do
|
| - IFS=$as_save_IFS
|
| - test -z "$as_dir" && as_dir=.
|
| - for ac_exec_ext in '' $ac_executable_extensions; do
|
| - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
| - ac_cv_prog_CC="${ac_tool_prefix}cc"
|
| - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
| - break 2
|
| - fi
|
| -done
|
| - done
|
| -IFS=$as_save_IFS
|
| -
|
| + # Passes both tests.
|
| +ac_preproc_ok=:
|
| +break
|
| fi
|
| -fi
|
| -CC=$ac_cv_prog_CC
|
| -if test -n "$CC"; then
|
| - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
|
| -$as_echo "$CC" >&6; }
|
| -else
|
| - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
| -$as_echo "no" >&6; }
|
| -fi
|
| +rm -f conftest.err conftest.$ac_ext
|
|
|
| -
|
| - fi
|
| -fi
|
| -if test -z "$CC"; then
|
| - # Extract the first word of "cc", so it can be a program name with args.
|
| -set dummy cc; ac_word=$2
|
| -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
| -$as_echo_n "checking for $ac_word... " >&6; }
|
| -if test "${ac_cv_prog_CC+set}" = set; then :
|
| - $as_echo_n "(cached) " >&6
|
| -else
|
| - if test -n "$CC"; then
|
| - ac_cv_prog_CC="$CC" # Let the user override the test.
|
| -else
|
| - ac_prog_rejected=no
|
| -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
| -for as_dir in $PATH
|
| -do
|
| - IFS=$as_save_IFS
|
| - test -z "$as_dir" && as_dir=.
|
| - for ac_exec_ext in '' $ac_executable_extensions; do
|
| - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
| - if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
|
| - ac_prog_rejected=yes
|
| - continue
|
| - fi
|
| - ac_cv_prog_CC="cc"
|
| - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
| - break 2
|
| - fi
|
| done
|
| - done
|
| -IFS=$as_save_IFS
|
| +# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
|
| +rm -f conftest.err conftest.$ac_ext
|
| +if $ac_preproc_ok; then :
|
|
|
| -if test $ac_prog_rejected = yes; then
|
| - # We found a bogon in the path, so make sure we never use it.
|
| - set dummy $ac_cv_prog_CC
|
| - shift
|
| - if test $# != 0; then
|
| - # We chose a different compiler from the bogus one.
|
| - # However, it has the same basename, so the bogon will be chosen
|
| - # first if we set CC to just the basename; use the full file name.
|
| - shift
|
| - ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
|
| - fi
|
| -fi
|
| -fi
|
| -fi
|
| -CC=$ac_cv_prog_CC
|
| -if test -n "$CC"; then
|
| - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
|
| -$as_echo "$CC" >&6; }
|
| else
|
| - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
| -$as_echo "no" >&6; }
|
| + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
| +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
| +as_fn_error "C preprocessor \"$CPP\" fails sanity check
|
| +See \`config.log' for more details." "$LINENO" 5; }
|
| fi
|
|
|
| +ac_ext=c
|
| +ac_cpp='$CPP $CPPFLAGS'
|
| +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
| +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
| +ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
|
|
| -fi
|
| -if test -z "$CC"; then
|
| - if test -n "$ac_tool_prefix"; then
|
| - for ac_prog in cl.exe
|
| +ac_ext=cpp
|
| +ac_cpp='$CXXCPP $CPPFLAGS'
|
| +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
| +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
| +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
|
| +if test -z "$CXX"; then
|
| + if test -n "$CCC"; then
|
| + CXX=$CCC
|
| + else
|
| + if test -n "$ac_tool_prefix"; then
|
| + for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
|
| do
|
| # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
|
| set dummy $ac_tool_prefix$ac_prog; ac_word=$2
|
| { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
| $as_echo_n "checking for $ac_word... " >&6; }
|
| -if test "${ac_cv_prog_CC+set}" = set; then :
|
| +if test "${ac_cv_prog_CXX+set}" = set; then :
|
| $as_echo_n "(cached) " >&6
|
| else
|
| - if test -n "$CC"; then
|
| - ac_cv_prog_CC="$CC" # Let the user override the test.
|
| + if test -n "$CXX"; then
|
| + ac_cv_prog_CXX="$CXX" # Let the user override the test.
|
| else
|
| as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
| for as_dir in $PATH
|
| @@ -4115,7 +4330,7 @@
|
| test -z "$as_dir" && as_dir=.
|
| for ac_exec_ext in '' $ac_executable_extensions; do
|
| if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
| - ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
|
| + ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
|
| $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
| break 2
|
| fi
|
| @@ -4125,32 +4340,32 @@
|
|
|
| fi
|
| fi
|
| -CC=$ac_cv_prog_CC
|
| -if test -n "$CC"; then
|
| - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
|
| -$as_echo "$CC" >&6; }
|
| +CXX=$ac_cv_prog_CXX
|
| +if test -n "$CXX"; then
|
| + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
|
| +$as_echo "$CXX" >&6; }
|
| else
|
| { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
| $as_echo "no" >&6; }
|
| fi
|
|
|
|
|
| - test -n "$CC" && break
|
| + test -n "$CXX" && break
|
| done
|
| fi
|
| -if test -z "$CC"; then
|
| - ac_ct_CC=$CC
|
| - for ac_prog in cl.exe
|
| +if test -z "$CXX"; then
|
| + ac_ct_CXX=$CXX
|
| + for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
|
| do
|
| # Extract the first word of "$ac_prog", so it can be a program name with args.
|
| set dummy $ac_prog; ac_word=$2
|
| { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
| $as_echo_n "checking for $ac_word... " >&6; }
|
| -if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
|
| +if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
|
| $as_echo_n "(cached) " >&6
|
| else
|
| - if test -n "$ac_ct_CC"; then
|
| - ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
|
| + if test -n "$ac_ct_CXX"; then
|
| + ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
|
| else
|
| as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
| for as_dir in $PATH
|
| @@ -4159,7 +4374,7 @@
|
| test -z "$as_dir" && as_dir=.
|
| for ac_exec_ext in '' $ac_executable_extensions; do
|
| if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
| - ac_cv_prog_ac_ct_CC="$ac_prog"
|
| + ac_cv_prog_ac_ct_CXX="$ac_prog"
|
| $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
| break 2
|
| fi
|
| @@ -4169,21 +4384,21 @@
|
|
|
| fi
|
| fi
|
| -ac_ct_CC=$ac_cv_prog_ac_ct_CC
|
| -if test -n "$ac_ct_CC"; then
|
| - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
|
| -$as_echo "$ac_ct_CC" >&6; }
|
| +ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
|
| +if test -n "$ac_ct_CXX"; then
|
| + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
|
| +$as_echo "$ac_ct_CXX" >&6; }
|
| else
|
| { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
| $as_echo "no" >&6; }
|
| fi
|
|
|
|
|
| - test -n "$ac_ct_CC" && break
|
| + test -n "$ac_ct_CXX" && break
|
| done
|
|
|
| - if test "x$ac_ct_CC" = x; then
|
| - CC=""
|
| + if test "x$ac_ct_CXX" = x; then
|
| + CXX="g++"
|
| else
|
| case $cross_compiling:$ac_tool_warned in
|
| yes:)
|
| @@ -4191,20 +4406,14 @@
|
| $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
| ac_tool_warned=yes ;;
|
| esac
|
| - CC=$ac_ct_CC
|
| + CXX=$ac_ct_CXX
|
| fi
|
| fi
|
|
|
| + fi
|
| fi
|
| -
|
| -
|
| -test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
| -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
| -as_fn_error "no acceptable C compiler found in \$PATH
|
| -See \`config.log' for more details." "$LINENO" 5; }
|
| -
|
| # Provide some information about the compiler.
|
| -$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
|
| +$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
|
| set X $ac_compile
|
| ac_compiler=$2
|
| for ac_option in --version -v -V -qversion; do
|
| @@ -4228,9 +4437,9 @@
|
| test $ac_status = 0; }
|
| done
|
|
|
| -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
|
| -$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
|
| -if test "${ac_cv_c_compiler_gnu+set}" = set; then :
|
| +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
|
| +$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
|
| +if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
|
| $as_echo_n "(cached) " >&6
|
| else
|
| cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
| @@ -4247,33 +4456,33 @@
|
| return 0;
|
| }
|
| _ACEOF
|
| -if ac_fn_c_try_compile "$LINENO"; then :
|
| +if ac_fn_cxx_try_compile "$LINENO"; then :
|
| ac_compiler_gnu=yes
|
| else
|
| ac_compiler_gnu=no
|
| fi
|
| rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
| -ac_cv_c_compiler_gnu=$ac_compiler_gnu
|
| +ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
|
|
|
| fi
|
| -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
|
| -$as_echo "$ac_cv_c_compiler_gnu" >&6; }
|
| +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
|
| +$as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
|
| if test $ac_compiler_gnu = yes; then
|
| - GCC=yes
|
| + GXX=yes
|
| else
|
| - GCC=
|
| + GXX=
|
| fi
|
| -ac_test_CFLAGS=${CFLAGS+set}
|
| -ac_save_CFLAGS=$CFLAGS
|
| -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
|
| -$as_echo_n "checking whether $CC accepts -g... " >&6; }
|
| -if test "${ac_cv_prog_cc_g+set}" = set; then :
|
| +ac_test_CXXFLAGS=${CXXFLAGS+set}
|
| +ac_save_CXXFLAGS=$CXXFLAGS
|
| +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
|
| +$as_echo_n "checking whether $CXX accepts -g... " >&6; }
|
| +if test "${ac_cv_prog_cxx_g+set}" = set; then :
|
| $as_echo_n "(cached) " >&6
|
| else
|
| - ac_save_c_werror_flag=$ac_c_werror_flag
|
| - ac_c_werror_flag=yes
|
| - ac_cv_prog_cc_g=no
|
| - CFLAGS="-g"
|
| + ac_save_cxx_werror_flag=$ac_cxx_werror_flag
|
| + ac_cxx_werror_flag=yes
|
| + ac_cv_prog_cxx_g=no
|
| + CXXFLAGS="-g"
|
| cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
| /* end confdefs.h. */
|
|
|
| @@ -4285,10 +4494,10 @@
|
| return 0;
|
| }
|
| _ACEOF
|
| -if ac_fn_c_try_compile "$LINENO"; then :
|
| - ac_cv_prog_cc_g=yes
|
| +if ac_fn_cxx_try_compile "$LINENO"; then :
|
| + ac_cv_prog_cxx_g=yes
|
| else
|
| - CFLAGS=""
|
| + CXXFLAGS=""
|
| cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
| /* end confdefs.h. */
|
|
|
| @@ -4300,11 +4509,11 @@
|
| return 0;
|
| }
|
| _ACEOF
|
| -if ac_fn_c_try_compile "$LINENO"; then :
|
| +if ac_fn_cxx_try_compile "$LINENO"; then :
|
|
|
| else
|
| - ac_c_werror_flag=$ac_save_c_werror_flag
|
| - CFLAGS="-g"
|
| + ac_cxx_werror_flag=$ac_save_cxx_werror_flag
|
| + CXXFLAGS="-g"
|
| cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
| /* end confdefs.h. */
|
|
|
| @@ -4316,135 +4525,44 @@
|
| return 0;
|
| }
|
| _ACEOF
|
| -if ac_fn_c_try_compile "$LINENO"; then :
|
| - ac_cv_prog_cc_g=yes
|
| +if ac_fn_cxx_try_compile "$LINENO"; then :
|
| + ac_cv_prog_cxx_g=yes
|
| fi
|
| rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
| fi
|
| rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
| fi
|
| rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
| - ac_c_werror_flag=$ac_save_c_werror_flag
|
| + ac_cxx_werror_flag=$ac_save_cxx_werror_flag
|
| fi
|
| -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
|
| -$as_echo "$ac_cv_prog_cc_g" >&6; }
|
| -if test "$ac_test_CFLAGS" = set; then
|
| - CFLAGS=$ac_save_CFLAGS
|
| -elif test $ac_cv_prog_cc_g = yes; then
|
| - if test "$GCC" = yes; then
|
| - CFLAGS="-g -O2"
|
| +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
|
| +$as_echo "$ac_cv_prog_cxx_g" >&6; }
|
| +if test "$ac_test_CXXFLAGS" = set; then
|
| + CXXFLAGS=$ac_save_CXXFLAGS
|
| +elif test $ac_cv_prog_cxx_g = yes; then
|
| + if test "$GXX" = yes; then
|
| + CXXFLAGS="-g -O2"
|
| else
|
| - CFLAGS="-g"
|
| + CXXFLAGS="-g"
|
| fi
|
| else
|
| - if test "$GCC" = yes; then
|
| - CFLAGS="-O2"
|
| + if test "$GXX" = yes; then
|
| + CXXFLAGS="-O2"
|
| else
|
| - CFLAGS=
|
| + CXXFLAGS=
|
| fi
|
| fi
|
| -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
|
| -$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
|
| -if test "${ac_cv_prog_cc_c89+set}" = set; then :
|
| - $as_echo_n "(cached) " >&6
|
| -else
|
| - ac_cv_prog_cc_c89=no
|
| -ac_save_CC=$CC
|
| -cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
| -/* end confdefs.h. */
|
| -#include <stdarg.h>
|
| -#include <stdio.h>
|
| -#include <sys/types.h>
|
| -#include <sys/stat.h>
|
| -/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
|
| -struct buf { int x; };
|
| -FILE * (*rcsopen) (struct buf *, struct stat *, int);
|
| -static char *e (p, i)
|
| - char **p;
|
| - int i;
|
| -{
|
| - return p[i];
|
| -}
|
| -static char *f (char * (*g) (char **, int), char **p, ...)
|
| -{
|
| - char *s;
|
| - va_list v;
|
| - va_start (v,p);
|
| - s = g (p, va_arg (v,int));
|
| - va_end (v);
|
| - return s;
|
| -}
|
| -
|
| -/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
|
| - function prototypes and stuff, but not '\xHH' hex character constants.
|
| - These don't provoke an error unfortunately, instead are silently treated
|
| - as 'x'. The following induces an error, until -std is added to get
|
| - proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
|
| - array size at least. It's necessary to write '\x00'==0 to get something
|
| - that's true only with -std. */
|
| -int osf4_cc_array ['\x00' == 0 ? 1 : -1];
|
| -
|
| -/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
|
| - inside strings and character constants. */
|
| -#define FOO(x) 'x'
|
| -int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
|
| -
|
| -int test (int i, double x);
|
| -struct s1 {int (*f) (int a);};
|
| -struct s2 {int (*f) (double a);};
|
| -int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
|
| -int argc;
|
| -char **argv;
|
| -int
|
| -main ()
|
| -{
|
| -return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
|
| - ;
|
| - return 0;
|
| -}
|
| -_ACEOF
|
| -for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
|
| - -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
|
| -do
|
| - CC="$ac_save_CC $ac_arg"
|
| - if ac_fn_c_try_compile "$LINENO"; then :
|
| - ac_cv_prog_cc_c89=$ac_arg
|
| -fi
|
| -rm -f core conftest.err conftest.$ac_objext
|
| - test "x$ac_cv_prog_cc_c89" != "xno" && break
|
| -done
|
| -rm -f conftest.$ac_ext
|
| -CC=$ac_save_CC
|
| -
|
| -fi
|
| -# AC_CACHE_VAL
|
| -case "x$ac_cv_prog_cc_c89" in
|
| - x)
|
| - { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
|
| -$as_echo "none needed" >&6; } ;;
|
| - xno)
|
| - { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
|
| -$as_echo "unsupported" >&6; } ;;
|
| - *)
|
| - CC="$CC $ac_cv_prog_cc_c89"
|
| - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
|
| -$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
|
| -esac
|
| -if test "x$ac_cv_prog_cc_c89" != xno; then :
|
| -
|
| -fi
|
| -
|
| ac_ext=c
|
| ac_cpp='$CPP $CPPFLAGS'
|
| ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
| ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
| ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
|
|
| -depcc="$CC" am_compiler_list=
|
| +depcc="$CXX" am_compiler_list=
|
|
|
| { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
|
| $as_echo_n "checking dependency style of $depcc... " >&6; }
|
| -if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
|
| +if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then :
|
| $as_echo_n "(cached) " >&6
|
| else
|
| if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
|
| @@ -4466,7 +4584,7 @@
|
| # directory.
|
| mkdir sub
|
|
|
| - am_cv_CC_dependencies_compiler_type=none
|
| + am_cv_CXX_dependencies_compiler_type=none
|
| if test "$am_compiler_list" = ""; then
|
| am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
|
| fi
|
| @@ -4507,7 +4625,6 @@
|
| depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
|
| $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
|
| >/dev/null 2>conftest.err &&
|
| - grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
|
| grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
|
| grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
|
| ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
|
| @@ -4520,7 +4637,7 @@
|
| # icc: Command line remark: option '-MP' not supported
|
| if (grep 'ignoring option' conftest.err ||
|
| grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
|
| - am_cv_CC_dependencies_compiler_type=$depmode
|
| + am_cv_CXX_dependencies_compiler_type=$depmode
|
| break
|
| fi
|
| fi
|
| @@ -4529,163 +4646,30 @@
|
| cd ..
|
| rm -rf conftest.dir
|
| else
|
| - am_cv_CC_dependencies_compiler_type=none
|
| + am_cv_CXX_dependencies_compiler_type=none
|
| fi
|
|
|
| fi
|
| -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
|
| -$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
|
| -CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
|
| +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
|
| +$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
|
| +CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
|
|
|
| - if
|
| - test "x$enable_dependency_tracking" != xno \
|
| - && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
|
| - am__fastdepCC_TRUE=
|
| - am__fastdepCC_FALSE='#'
|
| -else
|
| - am__fastdepCC_TRUE='#'
|
| - am__fastdepCC_FALSE=
|
| -fi
|
|
|
|
|
| -ac_ext=c
|
| -ac_cpp='$CPP $CPPFLAGS'
|
| -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
| -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
| -ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
| -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
|
| -$as_echo_n "checking how to run the C preprocessor... " >&6; }
|
| -# On Suns, sometimes $CPP names a directory.
|
| -if test -n "$CPP" && test -d "$CPP"; then
|
| - CPP=
|
| -fi
|
| -if test -z "$CPP"; then
|
| - if test "${ac_cv_prog_CPP+set}" = set; then :
|
| - $as_echo_n "(cached) " >&6
|
| +if
|
| + test "x$enable_dependency_tracking" != xno \
|
| + && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
|
| + am__fastdepCXX_TRUE=
|
| + am__fastdepCXX_FALSE='#'
|
| else
|
| - # Double quotes because CPP needs to be expanded
|
| - for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
|
| - do
|
| - ac_preproc_ok=false
|
| -for ac_c_preproc_warn_flag in '' yes
|
| -do
|
| - # Use a header file that comes with gcc, so configuring glibc
|
| - # with a fresh cross-compiler works.
|
| - # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|
| - # <limits.h> exists even on freestanding compilers.
|
| - # On the NeXT, cc -E runs the code through the compiler's parser,
|
| - # not just through cpp. "Syntax error" is here to catch this case.
|
| - cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
| -/* end confdefs.h. */
|
| -#ifdef __STDC__
|
| -# include <limits.h>
|
| -#else
|
| -# include <assert.h>
|
| -#endif
|
| - Syntax error
|
| -_ACEOF
|
| -if ac_fn_c_try_cpp "$LINENO"; then :
|
| -
|
| -else
|
| - # Broken: fails on valid input.
|
| -continue
|
| + am__fastdepCXX_TRUE='#'
|
| + am__fastdepCXX_FALSE=
|
| fi
|
| -rm -f conftest.err conftest.$ac_ext
|
|
|
| - # OK, works on sane cases. Now check whether nonexistent headers
|
| - # can be detected and how.
|
| - cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
| -/* end confdefs.h. */
|
| -#include <ac_nonexistent.h>
|
| -_ACEOF
|
| -if ac_fn_c_try_cpp "$LINENO"; then :
|
| - # Broken: success on invalid input.
|
| -continue
|
| -else
|
| - # Passes both tests.
|
| -ac_preproc_ok=:
|
| -break
|
| -fi
|
| -rm -f conftest.err conftest.$ac_ext
|
|
|
| -done
|
| -# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
|
| -rm -f conftest.err conftest.$ac_ext
|
| -if $ac_preproc_ok; then :
|
| - break
|
| -fi
|
|
|
| - done
|
| - ac_cv_prog_CPP=$CPP
|
|
|
| -fi
|
| - CPP=$ac_cv_prog_CPP
|
| -else
|
| - ac_cv_prog_CPP=$CPP
|
| -fi
|
| -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
|
| -$as_echo "$CPP" >&6; }
|
| -ac_preproc_ok=false
|
| -for ac_c_preproc_warn_flag in '' yes
|
| -do
|
| - # Use a header file that comes with gcc, so configuring glibc
|
| - # with a fresh cross-compiler works.
|
| - # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|
| - # <limits.h> exists even on freestanding compilers.
|
| - # On the NeXT, cc -E runs the code through the compiler's parser,
|
| - # not just through cpp. "Syntax error" is here to catch this case.
|
| - cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
| -/* end confdefs.h. */
|
| -#ifdef __STDC__
|
| -# include <limits.h>
|
| -#else
|
| -# include <assert.h>
|
| -#endif
|
| - Syntax error
|
| -_ACEOF
|
| -if ac_fn_c_try_cpp "$LINENO"; then :
|
| -
|
| -else
|
| - # Broken: fails on valid input.
|
| -continue
|
| -fi
|
| -rm -f conftest.err conftest.$ac_ext
|
| -
|
| - # OK, works on sane cases. Now check whether nonexistent headers
|
| - # can be detected and how.
|
| - cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
| -/* end confdefs.h. */
|
| -#include <ac_nonexistent.h>
|
| -_ACEOF
|
| -if ac_fn_c_try_cpp "$LINENO"; then :
|
| - # Broken: success on invalid input.
|
| -continue
|
| -else
|
| - # Passes both tests.
|
| -ac_preproc_ok=:
|
| -break
|
| -fi
|
| -rm -f conftest.err conftest.$ac_ext
|
| -
|
| -done
|
| -# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
|
| -rm -f conftest.err conftest.$ac_ext
|
| -if $ac_preproc_ok; then :
|
| -
|
| -else
|
| - { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
| -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
| -as_fn_error "C preprocessor \"$CPP\" fails sanity check
|
| -See \`config.log' for more details." "$LINENO" 5; }
|
| -fi
|
| -
|
| -ac_ext=c
|
| -ac_cpp='$CPP $CPPFLAGS'
|
| -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
| -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
| -ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
| -
|
| - if test "$GCC" = yes; then
|
| +if test "$GCC" = yes; then
|
| GCC_TRUE=
|
| GCC_FALSE='#'
|
| else
|
| @@ -4816,7 +4800,6 @@
|
| # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
|
| CC="$am_aux_dir/compile $CC"
|
| fi
|
| -
|
| # shrug: autogen.sh suddenly needs this for some reason
|
|
|
| # Check if we have an objcopy installed that supports -W
|
| @@ -4940,7 +4923,9 @@
|
| else
|
| gpt_cv_objcopy_weaken=no
|
| fi
|
| - if test $gpt_cv_objcopy_weaken = yes; then
|
| +
|
| +
|
| +if test $gpt_cv_objcopy_weaken = yes; then
|
| HAVE_OBJCOPY_WEAKEN_TRUE=
|
| HAVE_OBJCOPY_WEAKEN_FALSE='#'
|
| else
|
| @@ -5628,13 +5613,13 @@
|
| else
|
| lt_cv_nm_interface="BSD nm"
|
| echo "int some_variable = 0;" > conftest.$ac_ext
|
| - (eval echo "\"\$as_me:5631: $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:5634: $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:5637: 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"
|
| @@ -6839,7 +6824,7 @@
|
| ;;
|
| *-*-irix6*)
|
| # Find out which ABI we are using.
|
| - echo '#line 6842 "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=$?
|
| @@ -8056,7 +8041,6 @@
|
| depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
|
| $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
|
| >/dev/null 2>conftest.err &&
|
| - grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
|
| grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
|
| grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
|
| ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
|
| @@ -8086,7 +8070,9 @@
|
| $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
|
| CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
|
|
|
| - if
|
| +
|
| +
|
| +if
|
| test "x$enable_dependency_tracking" != xno \
|
| && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
|
| am__fastdepCXX_TRUE=
|
| @@ -8711,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:8714: $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:8718: \$? = $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.
|
| @@ -9050,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:9053: $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:9057: \$? = $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.
|
| @@ -9155,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:9158: $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:9162: \$? = $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
|
| @@ -9210,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:9213: $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:9217: \$? = $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
|
| @@ -11594,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 11597 "configure"
|
| +#line 11583 "configure"
|
| #include "confdefs.h"
|
|
|
| #if HAVE_DLFCN_H
|
| @@ -11690,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 11693 "configure"
|
| +#line 11679 "configure"
|
| #include "confdefs.h"
|
|
|
| #if HAVE_DLFCN_H
|
| @@ -13646,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:13649: $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:13653: \$? = $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.
|
| @@ -13745,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:13748: $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:13752: \$? = $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
|
| @@ -13797,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:13800: $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:13804: \$? = $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
|
| @@ -14765,7 +14751,9 @@
|
|
|
|
|
|
|
| - if test "x$LIBTOOL" != "x"; then
|
| +
|
| +
|
| +if test "x$LIBTOOL" != "x"; then
|
| USE_LIBTOOL_TRUE=
|
| USE_LIBTOOL_FALSE='#'
|
| else
|
| @@ -15373,7 +15361,7 @@
|
|
|
| if test "$ac_cv_type_struct_mallinfo" = yes; then
|
| ac_cv_have_struct_mallinfo=1
|
| - # gperftools/tcmalloc.h needs this
|
| + # google/tcmalloc.h needs this
|
| else
|
| ac_cv_have_struct_mallinfo=0
|
|
|
| @@ -15835,7 +15823,9 @@
|
| fi
|
|
|
| # Some tests test the behavior of .so files, and only make sense for dynamic.
|
| - if test "$enable_static" = yes; then
|
| +
|
| +
|
| +if test "$enable_static" = yes; then
|
| ENABLE_STATIC_TRUE=
|
| ENABLE_STATIC_FALSE='#'
|
| else
|
| @@ -15898,7 +15888,9 @@
|
| enable_frame_pointers=no
|
| fi
|
|
|
| - if test "$enable_frame_pointers" = yes; then
|
| +
|
| +
|
| +if test "$enable_frame_pointers" = yes; then
|
| ENABLE_FRAME_POINTERS_TRUE=
|
| ENABLE_FRAME_POINTERS_FALSE='#'
|
| else
|
| @@ -15948,7 +15940,9 @@
|
| :
|
| fi
|
| rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
| - if test "$is_x86_64" = yes && ! grep 'mov.*rsp.*rbp' fp.s >/dev/null 2>&1; then
|
| +
|
| +
|
| +if test "$is_x86_64" = yes && ! grep 'mov.*rsp.*rbp' fp.s >/dev/null 2>&1; then
|
| X86_64_AND_NO_FP_BY_DEFAULT_TRUE=
|
| X86_64_AND_NO_FP_BY_DEFAULT_FALSE='#'
|
| else
|
| @@ -15959,34 +15953,6 @@
|
| rm fp.s
|
| CFLAGS="$OLD_CFLAGS"
|
|
|
| -# We need to know if we're i386 so we can turn on -mmms, which is not
|
| -# on by default for i386 (it is for x86_64).
|
| -cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
| -/* end confdefs.h. */
|
| -
|
| -int
|
| -main ()
|
| -{
|
| -return __i386__ == 1 ? 0 : 1
|
| - ;
|
| - return 0;
|
| -}
|
| -_ACEOF
|
| -if ac_fn_c_try_compile "$LINENO"; then :
|
| - is_i386=yes
|
| -else
|
| - is_i386=no
|
| -fi
|
| -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
| - if test "$is_i386" = yes; then
|
| - I386_TRUE=
|
| - I386_FALSE='#'
|
| -else
|
| - I386_TRUE='#'
|
| - I386_FALSE=
|
| -fi
|
| -
|
| -
|
| # 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(),
|
| @@ -16023,7 +15989,9 @@
|
| 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
|
| +
|
| +
|
| +if test "$perftools_cv_w_no_unused_result" = yes; then
|
| HAVE_W_NO_UNUSED_RESULT_TRUE=
|
| HAVE_W_NO_UNUSED_RESULT_FALSE='#'
|
| else
|
| @@ -16220,7 +16188,7 @@
|
| $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
|
| @@ -17085,7 +17053,7 @@
|
| # the end result is if config.h is #included twice, its #undefs get
|
| # evaluated twice, but all the ones in mingw.h/etc only get evaluated
|
| # once, potentially causing trouble. c.f.
|
| -# http://code.google.com/p/gperftools/issues/detail?id=246
|
| +# http://code.google.com/p/google-perftools/issues/detail?id=246
|
|
|
|
|
|
|
| @@ -17098,7 +17066,9 @@
|
| # Also, manually mark systems where we have to be careful how early
|
| # we run pthreads. TODO(csilvers): turn this into an autoconf check.
|
|
|
| - if expr $host : '.*-mingw' >/dev/null 2>&1; then
|
| +
|
| +
|
| +if expr $host : '.*-mingw' >/dev/null 2>&1; then
|
| MINGW_TRUE=
|
| MINGW_FALSE='#'
|
| else
|
| @@ -17106,7 +17076,9 @@
|
| MINGW_FALSE=
|
| fi
|
|
|
| - if expr $host : '.*-apple-darwin.*' >/dev/null 2>&1; then
|
| +
|
| +
|
| +if expr $host : '.*-apple-darwin.*' >/dev/null 2>&1; then
|
| OSX_TRUE=
|
| OSX_FALSE='#'
|
| else
|
| @@ -17127,7 +17099,9 @@
|
| # Export the --enable flags we set above. We do this at the end so
|
| # other configure rules can enable or disable targets based on what
|
| # they find.
|
| - if test "$enable_cpu_profiler" = yes; then
|
| +
|
| +
|
| +if test "$enable_cpu_profiler" = yes; then
|
| WITH_CPU_PROFILER_TRUE=
|
| WITH_CPU_PROFILER_FALSE='#'
|
| else
|
| @@ -17135,7 +17109,9 @@
|
| WITH_CPU_PROFILER_FALSE=
|
| fi
|
|
|
| - if test "$enable_heap_profiler" = yes; then
|
| +
|
| +
|
| +if test "$enable_heap_profiler" = yes; then
|
| WITH_HEAP_PROFILER_TRUE=
|
| WITH_HEAP_PROFILER_FALSE='#'
|
| else
|
| @@ -17143,7 +17119,9 @@
|
| WITH_HEAP_PROFILER_FALSE=
|
| fi
|
|
|
| - if test "$enable_heap_checker" = yes; then
|
| +
|
| +
|
| +if test "$enable_heap_checker" = yes; then
|
| WITH_HEAP_CHECKER_TRUE=
|
| WITH_HEAP_CHECKER_FALSE='#'
|
| else
|
| @@ -17151,7 +17129,9 @@
|
| WITH_HEAP_CHECKER_FALSE=
|
| fi
|
|
|
| - if test "$enable_debugalloc" = yes; then
|
| +
|
| +
|
| +if test "$enable_debugalloc" = yes; then
|
| WITH_DEBUGALLOC_TRUE=
|
| WITH_DEBUGALLOC_FALSE='#'
|
| else
|
| @@ -17160,7 +17140,9 @@
|
| fi
|
|
|
| # We make tcmalloc.so if either heap-profiler or heap-checker is asked for.
|
| - if test "$enable_heap_profiler" = yes -o \
|
| +
|
| +
|
| +if test "$enable_heap_profiler" = yes -o \
|
| "$enable_heap_checker" = yes; then
|
| WITH_HEAP_PROFILER_OR_CHECKER_TRUE=
|
| WITH_HEAP_PROFILER_OR_CHECKER_FALSE='#'
|
| @@ -17170,7 +17152,9 @@
|
| fi
|
|
|
| # If we don't use any profilers, we don't need stack traces (or pprof)
|
| - if test "$enable_cpu_profiler" = yes -o \
|
| +
|
| +
|
| +if test "$enable_cpu_profiler" = yes -o \
|
| "$enable_heap_profiler" = yes -o \
|
| "$enable_heap_checker" = yes; then
|
| WITH_STACK_TRACE_TRUE=
|
| @@ -17182,7 +17166,7 @@
|
|
|
|
|
| # Write generated configuration file
|
| -ac_config_files="$ac_config_files Makefile src/gperftools/tcmalloc.h src/windows/gperftools/tcmalloc.h"
|
| +ac_config_files="$ac_config_files Makefile src/google/tcmalloc.h src/windows/google/tcmalloc.h"
|
|
|
| cat >confcache <<\_ACEOF
|
| # This file is a shell script that caches the results of configure
|
| @@ -17285,14 +17269,14 @@
|
| as_fn_error "conditional \"AMDEP\" was never defined.
|
| Usually this means the macro was only invoked conditionally." "$LINENO" 5
|
| fi
|
| -if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
|
| - as_fn_error "conditional \"am__fastdepCXX\" was never defined.
|
| -Usually this means the macro was only invoked conditionally." "$LINENO" 5
|
| -fi
|
| if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
|
| as_fn_error "conditional \"am__fastdepCC\" was never defined.
|
| Usually this means the macro was only invoked conditionally." "$LINENO" 5
|
| fi
|
| +if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
|
| + as_fn_error "conditional \"am__fastdepCXX\" was never defined.
|
| +Usually this means the macro was only invoked conditionally." "$LINENO" 5
|
| +fi
|
| if test -z "${GCC_TRUE}" && test -z "${GCC_FALSE}"; then
|
| as_fn_error "conditional \"GCC\" was never defined.
|
| Usually this means the macro was only invoked conditionally." "$LINENO" 5
|
| @@ -17321,10 +17305,6 @@
|
| 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 "${I386_TRUE}" && test -z "${I386_FALSE}"; then
|
| - as_fn_error "conditional \"I386\" 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
|
| @@ -17769,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 gperftools $as_me 2.0, 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
|
| @@ -17829,13 +17809,13 @@
|
| Configuration commands:
|
| $config_commands
|
|
|
| -Report bugs to <google-perftools@googlegroups.com>."
|
| +Report bugs to <opensource@google.com>."
|
|
|
| _ACEOF
|
| cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
| ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
|
| ac_cs_version="\\
|
| -gperftools config.status 2.0
|
| +google-perftools config.status 1.8
|
| configured by $0, generated by GNU Autoconf 2.65,
|
| with options \\"\$ac_cs_config\\"
|
|
|
| @@ -17846,7 +17826,6 @@
|
| ac_pwd='$ac_pwd'
|
| srcdir='$srcdir'
|
| INSTALL='$INSTALL'
|
| -MKDIR_P='$MKDIR_P'
|
| AWK='$AWK'
|
| test -n "\$AWK" || AWK=awk
|
| _ACEOF
|
| @@ -18313,8 +18292,8 @@
|
| "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
|
| "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
|
| "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
|
| - "src/gperftools/tcmalloc.h") CONFIG_FILES="$CONFIG_FILES src/gperftools/tcmalloc.h" ;;
|
| - "src/windows/gperftools/tcmalloc.h") CONFIG_FILES="$CONFIG_FILES src/windows/gperftools/tcmalloc.h" ;;
|
| + "src/google/tcmalloc.h") CONFIG_FILES="$CONFIG_FILES src/google/tcmalloc.h" ;;
|
| + "src/windows/google/tcmalloc.h") CONFIG_FILES="$CONFIG_FILES src/windows/google/tcmalloc.h" ;;
|
|
|
| *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
|
| esac
|
| @@ -18753,11 +18732,6 @@
|
| [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
|
| *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
|
| esac
|
| - ac_MKDIR_P=$MKDIR_P
|
| - case $MKDIR_P in
|
| - [\\/$]* | ?:[\\/]* ) ;;
|
| - */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
|
| - esac
|
| _ACEOF
|
|
|
| cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
| @@ -18812,7 +18786,6 @@
|
| s&@abs_builddir@&$ac_abs_builddir&;t t
|
| s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
|
| s&@INSTALL@&$ac_INSTALL&;t t
|
| -s&@MKDIR_P@&$ac_MKDIR_P&;t t
|
| $ac_datarootdir_hack
|
| "
|
| eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
|
| @@ -18857,22 +18830,21 @@
|
| || as_fn_error "could not create -" "$LINENO" 5
|
| fi
|
| # Compute "$ac_file"'s index in $config_headers.
|
| -_am_arg="$ac_file"
|
| _am_stamp_count=1
|
| for _am_header in $config_headers :; do
|
| case $_am_header in
|
| - $_am_arg | $_am_arg:* )
|
| + "$ac_file" | "$ac_file":* )
|
| break ;;
|
| * )
|
| _am_stamp_count=`expr $_am_stamp_count + 1` ;;
|
| esac
|
| done
|
| -echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
|
| -$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
| - X"$_am_arg" : 'X\(//\)[^/]' \| \
|
| - X"$_am_arg" : 'X\(//\)$' \| \
|
| - X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
|
| -$as_echo X"$_am_arg" |
|
| +echo "timestamp for "$ac_file"" >`$as_dirname -- "$ac_file" ||
|
| +$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
| + X"$ac_file" : 'X\(//\)[^/]' \| \
|
| + X"$ac_file" : 'X\(//\)$' \| \
|
| + X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
|
| +$as_echo X"$ac_file" |
|
| sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
|
| s//\1/
|
| q
|
| @@ -18907,9 +18879,8 @@
|
| # some people rename them; so instead we look at the file content.
|
| # Grep'ing the first line is not enough: some people post-process
|
| # each Makefile.in and add a new line on top of each file to say so.
|
| - # Grep'ing the whole file is not good either: AIX grep has a line
|
| - # limit of 2048, but all sed's we know have understand at least 4000.
|
| - if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
|
| + # So let's grep whole file.
|
| + if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
|
| dirpart=`$as_dirname -- "$mf" ||
|
| $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
| X"$mf" : 'X\(//\)[^/]' \| \
|
|
|
| Property changes on: third_party/tcmalloc/vendor/configure
|
| ___________________________________________________________________
|
| Deleted: svn:executable
|
| - *
|
|
|
|
|