Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(724)

Side by Side Diff: third_party/tcmalloc/vendor/configure

Issue 9316021: Update the tcmalloc vendor branch to r144 (gperftools 2.0). (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Reuploading Created 8 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « third_party/tcmalloc/vendor/config.sub ('k') | third_party/tcmalloc/vendor/configure.ac » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #! /bin/sh 1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles. 2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.65 for google-perftools 1.8. 3 # Generated by GNU Autoconf 2.65 for gperftools 2.0.
4 # 4 #
5 # Report bugs to <opensource@google.com>. 5 # Report bugs to <google-perftools@googlegroups.com>.
6 # 6 #
7 # 7 #
8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, 9 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
10 # Inc. 10 # Inc.
11 # 11 #
12 # 12 #
13 # This configure script is free software; the Free Software Foundation 13 # This configure script is free software; the Free Software Foundation
14 # gives unlimited permission to copy, distribute and modify it. 14 # gives unlimited permission to copy, distribute and modify it.
15 ## -------------------- ## 15 ## -------------------- ##
(...skipping 208 matching lines...) Expand 10 before | Expand all | Expand 10 after
224 fi 224 fi
225 225
226 if test x$as_have_required = xno; then : 226 if test x$as_have_required = xno; then :
227 $as_echo "$0: This script requires a shell more modern than all" 227 $as_echo "$0: This script requires a shell more modern than all"
228 $as_echo "$0: the shells that I found on your system." 228 $as_echo "$0: the shells that I found on your system."
229 if test x${ZSH_VERSION+set} = xset ; then 229 if test x${ZSH_VERSION+set} = xset ; then
230 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" 230 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
231 $as_echo "$0: be upgraded to zsh 4.3.4 or later." 231 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
232 else 232 else
233 $as_echo "$0: Please tell bug-autoconf@gnu.org and 233 $as_echo "$0: Please tell bug-autoconf@gnu.org and
234 $0: opensource@google.com about your system, including any 234 $0: google-perftools@googlegroups.com about your system,
235 $0: error possibly output before this message. Then install 235 $0: including any error possibly output before this
236 $0: a modern shell, or manually run the script under such a 236 $0: message. Then install a modern shell, or manually run
237 $0: shell if you do have one." 237 $0: the script under such a shell if you do have one."
238 fi 238 fi
239 exit 1 239 exit 1
240 fi 240 fi
241 fi 241 fi
242 fi 242 fi
243 SHELL=${CONFIG_SHELL-/bin/sh} 243 SHELL=${CONFIG_SHELL-/bin/sh}
244 export SHELL 244 export SHELL
245 # Unset more variables known to interfere with behavior of common tools. 245 # Unset more variables known to interfere with behavior of common tools.
246 CLICOLOR_FORCE= GREP_OPTIONS= 246 CLICOLOR_FORCE= GREP_OPTIONS=
247 unset CLICOLOR_FORCE GREP_OPTIONS 247 unset CLICOLOR_FORCE GREP_OPTIONS
(...skipping 444 matching lines...) Expand 10 before | Expand all | Expand 10 after
692 ac_default_prefix=/usr/local 692 ac_default_prefix=/usr/local
693 ac_clean_files= 693 ac_clean_files=
694 ac_config_libobj_dir=. 694 ac_config_libobj_dir=.
695 LIBOBJS= 695 LIBOBJS=
696 cross_compiling=no 696 cross_compiling=no
697 subdirs= 697 subdirs=
698 MFLAGS= 698 MFLAGS=
699 MAKEFLAGS= 699 MAKEFLAGS=
700 700
701 # Identity of this package. 701 # Identity of this package.
702 PACKAGE_NAME='google-perftools' 702 PACKAGE_NAME='gperftools'
703 PACKAGE_TARNAME='google-perftools' 703 PACKAGE_TARNAME='gperftools'
704 PACKAGE_VERSION='1.8' 704 PACKAGE_VERSION='2.0'
705 PACKAGE_STRING='google-perftools 1.8' 705 PACKAGE_STRING='gperftools 2.0'
706 PACKAGE_BUGREPORT='opensource@google.com' 706 PACKAGE_BUGREPORT='google-perftools@googlegroups.com'
707 PACKAGE_URL='' 707 PACKAGE_URL=''
708 708
709 ac_unique_file="README" 709 ac_unique_file="README"
710 # Factoring default headers for most tests. 710 # Factoring default headers for most tests.
711 ac_includes_default="\ 711 ac_includes_default="\
712 #include <stdio.h> 712 #include <stdio.h>
713 #ifdef HAVE_SYS_TYPES_H 713 #ifdef HAVE_SYS_TYPES_H
714 # include <sys/types.h> 714 # include <sys/types.h>
715 #endif 715 #endif
716 #ifdef HAVE_SYS_STAT_H 716 #ifdef HAVE_SYS_STAT_H
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
763 MINGW_FALSE 763 MINGW_FALSE
764 MINGW_TRUE 764 MINGW_TRUE
765 PTHREAD_CFLAGS 765 PTHREAD_CFLAGS
766 PTHREAD_LIBS 766 PTHREAD_LIBS
767 PTHREAD_CC 767 PTHREAD_CC
768 acx_pthread_config 768 acx_pthread_config
769 LIBSTDCXX_LA_LINKER_FLAG 769 LIBSTDCXX_LA_LINKER_FLAG
770 NANOSLEEP_LIBS 770 NANOSLEEP_LIBS
771 HAVE_W_NO_UNUSED_RESULT_FALSE 771 HAVE_W_NO_UNUSED_RESULT_FALSE
772 HAVE_W_NO_UNUSED_RESULT_TRUE 772 HAVE_W_NO_UNUSED_RESULT_TRUE
773 I386_FALSE
774 I386_TRUE
773 X86_64_AND_NO_FP_BY_DEFAULT_FALSE 775 X86_64_AND_NO_FP_BY_DEFAULT_FALSE
774 X86_64_AND_NO_FP_BY_DEFAULT_TRUE 776 X86_64_AND_NO_FP_BY_DEFAULT_TRUE
775 ENABLE_FRAME_POINTERS_FALSE 777 ENABLE_FRAME_POINTERS_FALSE
776 ENABLE_FRAME_POINTERS_TRUE 778 ENABLE_FRAME_POINTERS_TRUE
777 UNWIND_LIBS 779 UNWIND_LIBS
778 ENABLE_STATIC_FALSE 780 ENABLE_STATIC_FALSE
779 ENABLE_STATIC_TRUE 781 ENABLE_STATIC_TRUE
780 ac_cv_have_struct_mallinfo 782 ac_cv_have_struct_mallinfo
781 USE_LIBTOOL_FALSE 783 USE_LIBTOOL_FALSE
782 USE_LIBTOOL_TRUE 784 USE_LIBTOOL_TRUE
(...skipping 16 matching lines...) Expand all
799 FGREP 801 FGREP
800 EGREP 802 EGREP
801 GREP 803 GREP
802 SED 804 SED
803 LIBTOOL 805 LIBTOOL
804 HAVE_OBJCOPY_WEAKEN_FALSE 806 HAVE_OBJCOPY_WEAKEN_FALSE
805 HAVE_OBJCOPY_WEAKEN_TRUE 807 HAVE_OBJCOPY_WEAKEN_TRUE
806 OBJCOPY 808 OBJCOPY
807 GCC_FALSE 809 GCC_FALSE
808 GCC_TRUE 810 GCC_TRUE
809 am__fastdepCXX_FALSE
810 am__fastdepCXX_TRUE
811 CXXDEPMODE
812 ac_ct_CXX
813 CXXFLAGS
814 CXX
815 CPP 811 CPP
816 am__fastdepCC_FALSE 812 am__fastdepCC_FALSE
817 am__fastdepCC_TRUE 813 am__fastdepCC_TRUE
818 CCDEPMODE 814 CCDEPMODE
815 ac_ct_CC
816 CFLAGS
817 CC
818 am__fastdepCXX_FALSE
819 am__fastdepCXX_TRUE
820 CXXDEPMODE
819 AMDEPBACKSLASH 821 AMDEPBACKSLASH
820 AMDEP_FALSE 822 AMDEP_FALSE
821 AMDEP_TRUE 823 AMDEP_TRUE
822 am__quote 824 am__quote
823 am__include 825 am__include
824 DEPDIR 826 DEPDIR
825 OBJEXT 827 OBJEXT
826 EXEEXT 828 EXEEXT
827 ac_ct_CC 829 ac_ct_CXX
828 CPPFLAGS 830 CPPFLAGS
829 LDFLAGS 831 LDFLAGS
830 CFLAGS 832 CXXFLAGS
831 CC 833 CXX
832 TC_VERSION_PATCH 834 TC_VERSION_PATCH
833 TC_VERSION_MINOR 835 TC_VERSION_MINOR
834 TC_VERSION_MAJOR 836 TC_VERSION_MAJOR
835 am__untar 837 am__untar
836 am__tar 838 am__tar
837 AMTAR 839 AMTAR
838 am__leading_dot 840 am__leading_dot
839 SET_MAKE 841 SET_MAKE
840 AWK 842 AWK
841 mkdir_p 843 mkdir_p
844 MKDIR_P
842 INSTALL_STRIP_PROGRAM 845 INSTALL_STRIP_PROGRAM
843 STRIP 846 STRIP
844 install_sh 847 install_sh
845 MAKEINFO 848 MAKEINFO
846 AUTOHEADER 849 AUTOHEADER
847 AUTOMAKE 850 AUTOMAKE
848 AUTOCONF 851 AUTOCONF
849 ACLOCAL 852 ACLOCAL
850 VERSION 853 VERSION
851 PACKAGE 854 PACKAGE
852 CYGPATH_W 855 CYGPATH_W
856 am__isrc
853 INSTALL_DATA 857 INSTALL_DATA
854 INSTALL_SCRIPT 858 INSTALL_SCRIPT
855 INSTALL_PROGRAM 859 INSTALL_PROGRAM
856 host_os 860 host_os
857 host_vendor 861 host_vendor
858 host_cpu 862 host_cpu
859 host 863 host
860 build_os 864 build_os
861 build_vendor 865 build_vendor
862 build_cpu 866 build_cpu
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
914 enable_shared 918 enable_shared
915 enable_static 919 enable_static
916 with_pic 920 with_pic
917 with_gnu_ld 921 with_gnu_ld
918 enable_libtool_lock 922 enable_libtool_lock
919 enable_frame_pointers 923 enable_frame_pointers
920 ' 924 '
921 ac_precious_vars='build_alias 925 ac_precious_vars='build_alias
922 host_alias 926 host_alias
923 target_alias 927 target_alias
924 CC 928 CXX
925 CFLAGS 929 CXXFLAGS
926 LDFLAGS 930 LDFLAGS
927 LIBS 931 LIBS
928 CPPFLAGS 932 CPPFLAGS
933 CCC
934 CC
935 CFLAGS
929 CPP 936 CPP
930 CXX
931 CXXFLAGS
932 CCC
933 CXXCPP' 937 CXXCPP'
934 938
935 939
936 # Initialize some variables set by options. 940 # Initialize some variables set by options.
937 ac_init_help= 941 ac_init_help=
938 ac_init_version=false 942 ac_init_version=false
939 ac_unrecognized_opts= 943 ac_unrecognized_opts=
940 ac_unrecognized_sep= 944 ac_unrecognized_sep=
941 # The variables have the same names as the options, with 945 # The variables have the same names as the options, with
942 # dashes changed to underlines. 946 # dashes changed to underlines.
(...skipping 522 matching lines...) Expand 10 before | Expand all | Expand 10 after
1465 eval ac_cv_env_${ac_var}_value=\$${ac_var} 1469 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1466 done 1470 done
1467 1471
1468 # 1472 #
1469 # Report the --help message. 1473 # Report the --help message.
1470 # 1474 #
1471 if test "$ac_init_help" = "long"; then 1475 if test "$ac_init_help" = "long"; then
1472 # Omit some internal or obsolete options to make the list less imposing. 1476 # Omit some internal or obsolete options to make the list less imposing.
1473 # This message is too long to be a string in the A/UX 3.1 sh. 1477 # This message is too long to be a string in the A/UX 3.1 sh.
1474 cat <<_ACEOF 1478 cat <<_ACEOF
1475 \`configure' configures google-perftools 1.8 to adapt to many kinds of systems. 1479 \`configure' configures gperftools 2.0 to adapt to many kinds of systems.
1476 1480
1477 Usage: $0 [OPTION]... [VAR=VALUE]... 1481 Usage: $0 [OPTION]... [VAR=VALUE]...
1478 1482
1479 To assign environment variables (e.g., CC, CFLAGS...), specify them as 1483 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1480 VAR=VALUE. See below for descriptions of some of the useful variables. 1484 VAR=VALUE. See below for descriptions of some of the useful variables.
1481 1485
1482 Defaults for the options are specified in brackets. 1486 Defaults for the options are specified in brackets.
1483 1487
1484 Configuration: 1488 Configuration:
1485 -h, --help display this help and exit 1489 -h, --help display this help and exit
(...skipping 27 matching lines...) Expand all
1513 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 1517 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1514 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 1518 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1515 --libdir=DIR object code libraries [EPREFIX/lib] 1519 --libdir=DIR object code libraries [EPREFIX/lib]
1516 --includedir=DIR C header files [PREFIX/include] 1520 --includedir=DIR C header files [PREFIX/include]
1517 --oldincludedir=DIR C header files for non-gcc [/usr/include] 1521 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1518 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 1522 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1519 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 1523 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1520 --infodir=DIR info documentation [DATAROOTDIR/info] 1524 --infodir=DIR info documentation [DATAROOTDIR/info]
1521 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 1525 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1522 --mandir=DIR man documentation [DATAROOTDIR/man] 1526 --mandir=DIR man documentation [DATAROOTDIR/man]
1523 --docdir=DIR documentation root 1527 --docdir=DIR documentation root [DATAROOTDIR/doc/gperftools]
1524 [DATAROOTDIR/doc/google-perftools]
1525 --htmldir=DIR html documentation [DOCDIR] 1528 --htmldir=DIR html documentation [DOCDIR]
1526 --dvidir=DIR dvi documentation [DOCDIR] 1529 --dvidir=DIR dvi documentation [DOCDIR]
1527 --pdfdir=DIR pdf documentation [DOCDIR] 1530 --pdfdir=DIR pdf documentation [DOCDIR]
1528 --psdir=DIR ps documentation [DOCDIR] 1531 --psdir=DIR ps documentation [DOCDIR]
1529 _ACEOF 1532 _ACEOF
1530 1533
1531 cat <<\_ACEOF 1534 cat <<\_ACEOF
1532 1535
1533 Program names: 1536 Program names:
1534 --program-prefix=PREFIX prepend PREFIX to installed program names 1537 --program-prefix=PREFIX prepend PREFIX to installed program names
1535 --program-suffix=SUFFIX append SUFFIX to installed program names 1538 --program-suffix=SUFFIX append SUFFIX to installed program names
1536 --program-transform-name=PROGRAM run sed PROGRAM on installed program names 1539 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1537 1540
1538 System types: 1541 System types:
1539 --build=BUILD configure for building on BUILD [guessed] 1542 --build=BUILD configure for building on BUILD [guessed]
1540 --host=HOST cross-compile to build programs to run on HOST [BUILD] 1543 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1541 _ACEOF 1544 _ACEOF
1542 fi 1545 fi
1543 1546
1544 if test -n "$ac_init_help"; then 1547 if test -n "$ac_init_help"; then
1545 case $ac_init_help in 1548 case $ac_init_help in
1546 short | recursive ) echo "Configuration of google-perftools 1.8:";; 1549 short | recursive ) echo "Configuration of gperftools 2.0:";;
1547 esac 1550 esac
1548 cat <<\_ACEOF 1551 cat <<\_ACEOF
1549 1552
1550 Optional Features: 1553 Optional Features:
1551 --disable-option-checking ignore unrecognized --enable/--with options 1554 --disable-option-checking ignore unrecognized --enable/--with options
1552 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 1555 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1553 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 1556 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1554 --disable-cpu-profiler do not build the cpu profiler 1557 --disable-cpu-profiler do not build the cpu profiler
1555 --disable-heap-profiler do not build the heap profiler 1558 --disable-heap-profiler do not build the heap profiler
1556 --disable-heap-checker do not build the heap checker 1559 --disable-heap-checker do not build the heap checker
(...skipping 11 matching lines...) Expand all
1568 -fno-omit-frame-pointer (see INSTALL) 1571 -fno-omit-frame-pointer (see INSTALL)
1569 1572
1570 Optional Packages: 1573 Optional Packages:
1571 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 1574 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1572 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 1575 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1573 --with-pic try to use only PIC/non-PIC objects [default=use 1576 --with-pic try to use only PIC/non-PIC objects [default=use
1574 both] 1577 both]
1575 --with-gnu-ld assume the C compiler uses GNU ld [default=no] 1578 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1576 1579
1577 Some influential environment variables: 1580 Some influential environment variables:
1578 CC C compiler command 1581 CXX C++ compiler command
1579 CFLAGS C compiler flags 1582 CXXFLAGS C++ compiler flags
1580 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 1583 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1581 nonstandard directory <lib dir> 1584 nonstandard directory <lib dir>
1582 LIBS libraries to pass to the linker, e.g. -l<library> 1585 LIBS libraries to pass to the linker, e.g. -l<library>
1583 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if 1586 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1584 you have headers in a nonstandard directory <include dir> 1587 you have headers in a nonstandard directory <include dir>
1588 CC C compiler command
1589 CFLAGS C compiler flags
1585 CPP C preprocessor 1590 CPP C preprocessor
1586 CXX C++ compiler command
1587 CXXFLAGS C++ compiler flags
1588 CXXCPP C++ preprocessor 1591 CXXCPP C++ preprocessor
1589 1592
1590 Use these variables to override the choices made by `configure' or to help 1593 Use these variables to override the choices made by `configure' or to help
1591 it to find libraries and programs with nonstandard names/locations. 1594 it to find libraries and programs with nonstandard names/locations.
1592 1595
1593 Report bugs to <opensource@google.com>. 1596 Report bugs to <google-perftools@googlegroups.com>.
1594 _ACEOF 1597 _ACEOF
1595 ac_status=$? 1598 ac_status=$?
1596 fi 1599 fi
1597 1600
1598 if test "$ac_init_help" = "recursive"; then 1601 if test "$ac_init_help" = "recursive"; then
1599 # If there are subdirs, report their specific --help. 1602 # If there are subdirs, report their specific --help.
1600 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 1603 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1601 test -d "$ac_dir" || 1604 test -d "$ac_dir" ||
1602 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || 1605 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1603 continue 1606 continue
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
1646 else 1649 else
1647 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1650 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1648 fi || ac_status=$? 1651 fi || ac_status=$?
1649 cd "$ac_pwd" || { ac_status=$?; break; } 1652 cd "$ac_pwd" || { ac_status=$?; break; }
1650 done 1653 done
1651 fi 1654 fi
1652 1655
1653 test -n "$ac_init_help" && exit $ac_status 1656 test -n "$ac_init_help" && exit $ac_status
1654 if $ac_init_version; then 1657 if $ac_init_version; then
1655 cat <<\_ACEOF 1658 cat <<\_ACEOF
1656 google-perftools configure 1.8 1659 gperftools configure 2.0
1657 generated by GNU Autoconf 2.65 1660 generated by GNU Autoconf 2.65
1658 1661
1659 Copyright (C) 2009 Free Software Foundation, Inc. 1662 Copyright (C) 2009 Free Software Foundation, Inc.
1660 This configure script is free software; the Free Software Foundation 1663 This configure script is free software; the Free Software Foundation
1661 gives unlimited permission to copy, distribute and modify it. 1664 gives unlimited permission to copy, distribute and modify it.
1662 _ACEOF 1665 _ACEOF
1663 exit 1666 exit
1664 fi 1667 fi
1665 1668
1666 ## ------------------------ ## 1669 ## ------------------------ ##
1667 ## Autoconf initialization. ## 1670 ## Autoconf initialization. ##
1668 ## ------------------------ ## 1671 ## ------------------------ ##
1669 1672
1670 # ac_fn_c_try_compile LINENO 1673 # ac_fn_cxx_try_compile LINENO
1671 # -------------------------- 1674 # ----------------------------
1672 # Try to compile conftest.$ac_ext, and return whether this succeeded. 1675 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1673 ac_fn_c_try_compile () 1676 ac_fn_cxx_try_compile ()
1674 { 1677 {
1675 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1678 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1676 rm -f conftest.$ac_objext 1679 rm -f conftest.$ac_objext
1677 if { { ac_try="$ac_compile" 1680 if { { ac_try="$ac_compile"
1678 case "(($ac_try" in 1681 case "(($ac_try" in
1679 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1682 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1680 *) ac_try_echo=$ac_try;; 1683 *) ac_try_echo=$ac_try;;
1681 esac 1684 esac
1682 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1685 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1683 $as_echo "$ac_try_echo"; } >&5 1686 $as_echo "$ac_try_echo"; } >&5
1684 (eval "$ac_compile") 2>conftest.err 1687 (eval "$ac_compile") 2>conftest.err
1685 ac_status=$? 1688 ac_status=$?
1686 if test -s conftest.err; then 1689 if test -s conftest.err; then
1687 grep -v '^ *+' conftest.err >conftest.er1 1690 grep -v '^ *+' conftest.err >conftest.er1
1688 cat conftest.er1 >&5 1691 cat conftest.er1 >&5
1689 mv -f conftest.er1 conftest.err 1692 mv -f conftest.er1 conftest.err
1690 fi 1693 fi
1691 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1694 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1692 test $ac_status = 0; } && { 1695 test $ac_status = 0; } && {
1693 » test -z "$ac_c_werror_flag" || 1696 » test -z "$ac_cxx_werror_flag" ||
1694 test ! -s conftest.err 1697 test ! -s conftest.err
1695 } && test -s conftest.$ac_objext; then : 1698 } && test -s conftest.$ac_objext; then :
1696 ac_retval=0 1699 ac_retval=0
1697 else 1700 else
1698 $as_echo "$as_me: failed program was:" >&5 1701 $as_echo "$as_me: failed program was:" >&5
1699 sed 's/^/| /' conftest.$ac_ext >&5 1702 sed 's/^/| /' conftest.$ac_ext >&5
1700 1703
1701 ac_retval=1 1704 ac_retval=1
1702 fi 1705 fi
1703 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_ lineno;} 1706 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_ lineno;}
1704 as_fn_set_status $ac_retval 1707 as_fn_set_status $ac_retval
1705 1708
1706 } # ac_fn_c_try_compile 1709 } # ac_fn_cxx_try_compile
1707 1710
1708 # ac_fn_c_try_cpp LINENO 1711 # ac_fn_c_try_compile LINENO
1709 # ---------------------- 1712 # --------------------------
1710 # Try to preprocess conftest.$ac_ext, and return whether this succeeded. 1713 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1711 ac_fn_c_try_cpp () 1714 ac_fn_c_try_compile ()
1712 { 1715 {
1713 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1716 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1714 if { { ac_try="$ac_cpp conftest.$ac_ext" 1717 rm -f conftest.$ac_objext
1718 if { { ac_try="$ac_compile"
1715 case "(($ac_try" in 1719 case "(($ac_try" in
1716 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1720 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1717 *) ac_try_echo=$ac_try;; 1721 *) ac_try_echo=$ac_try;;
1718 esac 1722 esac
1719 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1723 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1720 $as_echo "$ac_try_echo"; } >&5 1724 $as_echo "$ac_try_echo"; } >&5
1721 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err 1725 (eval "$ac_compile") 2>conftest.err
1722 ac_status=$? 1726 ac_status=$?
1723 if test -s conftest.err; then 1727 if test -s conftest.err; then
1724 grep -v '^ *+' conftest.err >conftest.er1 1728 grep -v '^ *+' conftest.err >conftest.er1
1725 cat conftest.er1 >&5 1729 cat conftest.er1 >&5
1726 mv -f conftest.er1 conftest.err 1730 mv -f conftest.er1 conftest.err
1727 fi 1731 fi
1728 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1732 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1729 test $ac_status = 0; } >/dev/null && { 1733 test $ac_status = 0; } && {
1730 » test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 1734 » test -z "$ac_c_werror_flag" ||
1731 test ! -s conftest.err 1735 test ! -s conftest.err
1732 }; then : 1736 } && test -s conftest.$ac_objext; then :
1733 ac_retval=0 1737 ac_retval=0
1734 else 1738 else
1735 $as_echo "$as_me: failed program was:" >&5 1739 $as_echo "$as_me: failed program was:" >&5
1736 sed 's/^/| /' conftest.$ac_ext >&5 1740 sed 's/^/| /' conftest.$ac_ext >&5
1737 1741
1738 ac_retval=1 1742 » ac_retval=1
1739 fi 1743 fi
1740 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_ lineno;} 1744 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_ lineno;}
1741 as_fn_set_status $ac_retval 1745 as_fn_set_status $ac_retval
1742 1746
1743 } # ac_fn_c_try_cpp 1747 } # ac_fn_c_try_compile
1744 1748
1745 # ac_fn_cxx_try_compile LINENO 1749 # ac_fn_c_try_cpp LINENO
1746 # ---------------------------- 1750 # ----------------------
1747 # Try to compile conftest.$ac_ext, and return whether this succeeded. 1751 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1748 ac_fn_cxx_try_compile () 1752 ac_fn_c_try_cpp ()
1749 { 1753 {
1750 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1754 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1751 rm -f conftest.$ac_objext 1755 if { { ac_try="$ac_cpp conftest.$ac_ext"
1752 if { { ac_try="$ac_compile"
1753 case "(($ac_try" in 1756 case "(($ac_try" in
1754 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1757 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1755 *) ac_try_echo=$ac_try;; 1758 *) ac_try_echo=$ac_try;;
1756 esac 1759 esac
1757 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1760 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1758 $as_echo "$ac_try_echo"; } >&5 1761 $as_echo "$ac_try_echo"; } >&5
1759 (eval "$ac_compile") 2>conftest.err 1762 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1760 ac_status=$? 1763 ac_status=$?
1761 if test -s conftest.err; then 1764 if test -s conftest.err; then
1762 grep -v '^ *+' conftest.err >conftest.er1 1765 grep -v '^ *+' conftest.err >conftest.er1
1763 cat conftest.er1 >&5 1766 cat conftest.er1 >&5
1764 mv -f conftest.er1 conftest.err 1767 mv -f conftest.er1 conftest.err
1765 fi 1768 fi
1766 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1769 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1767 test $ac_status = 0; } && { 1770 test $ac_status = 0; } >/dev/null && {
1768 » test -z "$ac_cxx_werror_flag" || 1771 » test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1769 test ! -s conftest.err 1772 test ! -s conftest.err
1770 } && test -s conftest.$ac_objext; then : 1773 }; then :
1771 ac_retval=0 1774 ac_retval=0
1772 else 1775 else
1773 $as_echo "$as_me: failed program was:" >&5 1776 $as_echo "$as_me: failed program was:" >&5
1774 sed 's/^/| /' conftest.$ac_ext >&5 1777 sed 's/^/| /' conftest.$ac_ext >&5
1775 1778
1776 » ac_retval=1 1779 ac_retval=1
1777 fi 1780 fi
1778 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_ lineno;} 1781 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_ lineno;}
1779 as_fn_set_status $ac_retval 1782 as_fn_set_status $ac_retval
1780 1783
1781 } # ac_fn_cxx_try_compile 1784 } # ac_fn_c_try_cpp
1782 1785
1783 # ac_fn_c_try_link LINENO 1786 # ac_fn_c_try_link LINENO
1784 # ----------------------- 1787 # -----------------------
1785 # Try to link conftest.$ac_ext, and return whether this succeeded. 1788 # Try to link conftest.$ac_ext, and return whether this succeeded.
1786 ac_fn_c_try_link () 1789 ac_fn_c_try_link ()
1787 { 1790 {
1788 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1791 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1789 rm -f conftest.$ac_objext conftest$ac_exeext 1792 rm -f conftest.$ac_objext conftest$ac_exeext
1790 if { { ac_try="$ac_link" 1793 if { { ac_try="$ac_link"
1791 case "(($ac_try" in 1794 case "(($ac_try" in
(...skipping 375 matching lines...) Expand 10 before | Expand all | Expand 10 after
2167 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} 2170 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2168 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 2171 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2169 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2; } 2172 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2; }
2170 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf docum entation" >&5 2173 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf docum entation" >&5
2171 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} 2174 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2172 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 2175 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2173 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" > &2;} 2176 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" > &2;}
2174 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the co mpiler's result" >&5 2177 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the co mpiler's result" >&5
2175 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 2178 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2176 ( cat <<\_ASBOX 2179 ( cat <<\_ASBOX
2177 ## ------------------------------------ ## 2180 ## ------------------------------------------------ ##
2178 ## Report this to opensource@google.com ## 2181 ## Report this to google-perftools@googlegroups.com ##
2179 ## ------------------------------------ ## 2182 ## ------------------------------------------------ ##
2180 _ASBOX 2183 _ASBOX
2181 ) | sed "s/^/$as_me: WARNING: /" >&2 2184 ) | sed "s/^/$as_me: WARNING: /" >&2
2182 ;; 2185 ;;
2183 esac 2186 esac
2184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 2187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2185 $as_echo_n "checking for $2... " >&6; } 2188 $as_echo_n "checking for $2... " >&6; }
2186 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 2189 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2187 $as_echo_n "(cached) " >&6 2190 $as_echo_n "(cached) " >&6
2188 else 2191 else
2189 eval "$3=\$ac_header_compiler" 2192 eval "$3=\$ac_header_compiler"
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
2231 eval ac_res=\$$3 2234 eval ac_res=\$$3
2232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2233 $as_echo "$ac_res" >&6; } 2236 $as_echo "$ac_res" >&6; }
2234 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_ lineno;} 2237 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_ lineno;}
2235 2238
2236 } # ac_fn_c_check_decl 2239 } # ac_fn_c_check_decl
2237 cat >config.log <<_ACEOF 2240 cat >config.log <<_ACEOF
2238 This file contains any messages produced by compilers while 2241 This file contains any messages produced by compilers while
2239 running configure, to aid debugging if configure makes a mistake. 2242 running configure, to aid debugging if configure makes a mistake.
2240 2243
2241 It was created by google-perftools $as_me 1.8, which was 2244 It was created by gperftools $as_me 2.0, which was
2242 generated by GNU Autoconf 2.65. Invocation command line was 2245 generated by GNU Autoconf 2.65. Invocation command line was
2243 2246
2244 $ $0 $@ 2247 $ $0 $@
2245 2248
2246 _ACEOF 2249 _ACEOF
2247 exec 5>>config.log 2250 exec 5>>config.log
2248 { 2251 {
2249 cat <<_ASUNAME 2252 cat <<_ASUNAME
2250 ## --------- ## 2253 ## --------- ##
2251 ## Platform. ## 2254 ## Platform. ##
(...skipping 331 matching lines...) Expand 10 before | Expand all | Expand 10 after
2583 2586
2584 ac_ext=c 2587 ac_ext=c
2585 ac_cpp='$CPP $CPPFLAGS' 2588 ac_cpp='$CPP $CPPFLAGS'
2586 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2589 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2587 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $ LIBS >&5' 2590 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $ LIBS >&5'
2588 ac_compiler_gnu=$ac_cv_c_compiler_gnu 2591 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2589 2592
2590 2593
2591 # Update this value for every release! (A:B:C will map to foo.so.(A-C).C.B) 2594 # Update this value for every release! (A:B:C will map to foo.so.(A-C).C.B)
2592 # http://www.gnu.org/software/libtool/manual/html_node/Updating-version-info.htm l 2595 # http://www.gnu.org/software/libtool/manual/html_node/Updating-version-info.htm l
2593 TCMALLOC_SO_VERSION=2:0:2 2596 TCMALLOC_SO_VERSION=5:0:1
2594 PROFILER_SO_VERSION=1:1:1 2597 PROFILER_SO_VERSION=3:0:3
2595 2598
2596 2599
2597 2600
2598 2601
2599 # The argument here is just something that should be in the current directory 2602 # The argument here is just something that should be in the current directory
2600 # (for sanity checking) 2603 # (for sanity checking)
2601 2604
2602 2605
2603 ac_aux_dir= 2606 ac_aux_dir=
2604 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do 2607 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
2687 host_cpu=$1 2690 host_cpu=$1
2688 host_vendor=$2 2691 host_vendor=$2
2689 shift; shift 2692 shift; shift
2690 # Remember, the first character of IFS is used to create $*, 2693 # Remember, the first character of IFS is used to create $*,
2691 # except with old shells: 2694 # except with old shells:
2692 host_os=$* 2695 host_os=$*
2693 IFS=$ac_save_IFS 2696 IFS=$ac_save_IFS
2694 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac 2697 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2695 2698
2696 2699
2697 am__api_version="1.9" 2700 am__api_version='1.10'
2701
2698 # Find a good install program. We prefer a C program (faster), 2702 # Find a good install program. We prefer a C program (faster),
2699 # so one script is as good as another. But avoid the broken or 2703 # so one script is as good as another. But avoid the broken or
2700 # incompatible versions: 2704 # incompatible versions:
2701 # SysV /etc/install, /usr/sbin/install 2705 # SysV /etc/install, /usr/sbin/install
2702 # SunOS /usr/etc/install 2706 # SunOS /usr/etc/install
2703 # IRIX /sbin/install 2707 # IRIX /sbin/install
2704 # AIX /bin/install 2708 # AIX /bin/install
2705 # AmigaOS /C/install, which installs bootblocks on floppy discs 2709 # AmigaOS /C/install, which installs bootblocks on floppy discs
2706 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 2710 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2707 # AFS /usr/afsws/bin/install, which mishandles nonexistent args 2711 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
(...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after
2843 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing" 2847 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
2844 # Use eval to expand $SHELL 2848 # Use eval to expand $SHELL
2845 if eval "$MISSING --run true"; then 2849 if eval "$MISSING --run true"; then
2846 am_missing_run="$MISSING --run " 2850 am_missing_run="$MISSING --run "
2847 else 2851 else
2848 am_missing_run= 2852 am_missing_run=
2849 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5 2853 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2850 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} 2854 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2851 fi 2855 fi
2852 2856
2853 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then 2857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >& 5
2854 # We used to keeping the `.' as first argument, in order to 2858 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2855 # allow $(mkdir_p) to be used without argument. As in 2859 if test -z "$MKDIR_P"; then
2856 # $(mkdir_p) $(somedir) 2860 if test "${ac_cv_path_mkdir+set}" = set; then :
2857 # where $(somedir) is conditionally defined. However this is wrong 2861 $as_echo_n "(cached) " >&6
2858 # for two reasons:
2859 # 1. if the package is installed by a user who cannot write `.'
2860 # make install will fail,
2861 # 2. the above comment should most certainly read
2862 # $(mkdir_p) $(DESTDIR)$(somedir)
2863 # so it does not work when $(somedir) is undefined and
2864 # $(DESTDIR) is not.
2865 # To support the latter case, we have to write
2866 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
2867 # so the `.' trick is pointless.
2868 mkdir_p='mkdir -p --'
2869 else 2862 else
2870 # On NextStep and OpenStep, the `mkdir' command does not 2863 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2871 # recognize any option. It will interpret all options as 2864 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2872 # directories to create, and then abort because `.' already 2865 do
2873 # exists. 2866 IFS=$as_save_IFS
2874 for d in ./-p ./--version; 2867 test -z "$as_dir" && as_dir=.
2875 do 2868 for ac_prog in mkdir gmkdir; do
2876 test -d $d && rmdir $d 2869 » for ac_exec_ext in '' $ac_executable_extensions; do
2870 » { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_p rog$ac_exec_ext"; } || continue
2871 » case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2872 » 'mkdir (GNU coreutils) '* | \
2873 » 'mkdir (coreutils) '* | \
2874 » 'mkdir (fileutils) '4.1*)
2875 » ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2876 » break 3;;
2877 » esac
2878 » done
2879 done
2877 done 2880 done
2878 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists. 2881 IFS=$as_save_IFS
2879 if test -f "$ac_aux_dir/mkinstalldirs"; then 2882
2880 mkdir_p='$(mkinstalldirs)' 2883 fi
2884
2885 test -d ./--version && rmdir ./--version
2886 if test "${ac_cv_path_mkdir+set}" = set; then
2887 MKDIR_P="$ac_cv_path_mkdir -p"
2881 else 2888 else
2882 mkdir_p='$(install_sh) -d' 2889 # As a last resort, use the slow shell script. Don't cache a
2890 # value for MKDIR_P within a source directory, because that will
2891 # break other packages using the cache if that directory is
2892 # removed, or if the value is a relative name.
2893 MKDIR_P="$ac_install_sh -d"
2883 fi 2894 fi
2884 fi 2895 fi
2896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2897 $as_echo "$MKDIR_P" >&6; }
2898
2899 mkdir_p="$MKDIR_P"
2900 case $mkdir_p in
2901 [\\/$]* | ?:[\\/]*) ;;
2902 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2903 esac
2885 2904
2886 for ac_prog in gawk mawk nawk awk 2905 for ac_prog in gawk mawk nawk awk
2887 do 2906 do
2888 # Extract the first word of "$ac_prog", so it can be a program name with args. 2907 # Extract the first word of "$ac_prog", so it can be a program name with args.
2889 set dummy $ac_prog; ac_word=$2 2908 set dummy $ac_prog; ac_word=$2
2890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2891 $as_echo_n "checking for $ac_word... " >&6; } 2910 $as_echo_n "checking for $ac_word... " >&6; }
2892 if test "${ac_cv_prog_AWK+set}" = set; then : 2911 if test "${ac_cv_prog_AWK+set}" = set; then :
2893 $as_echo_n "(cached) " >&6 2912 $as_echo_n "(cached) " >&6
2894 else 2913 else
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
2958 2977
2959 rm -rf .tst 2>/dev/null 2978 rm -rf .tst 2>/dev/null
2960 mkdir .tst 2>/dev/null 2979 mkdir .tst 2>/dev/null
2961 if test -d .tst; then 2980 if test -d .tst; then
2962 am__leading_dot=. 2981 am__leading_dot=.
2963 else 2982 else
2964 am__leading_dot=_ 2983 am__leading_dot=_
2965 fi 2984 fi
2966 rmdir .tst 2>/dev/null 2985 rmdir .tst 2>/dev/null
2967 2986
2968 # test to see if srcdir already configured 2987 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2969 if test "`cd $srcdir && pwd`" != "`pwd`" && 2988 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2970 test -f $srcdir/config.status; then 2989 # is not polluted with repeated "-I."
2971 as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 2990 am__isrc=' -I$(srcdir)'
2991 # test to see if srcdir already configured
2992 if test -f $srcdir/config.status; then
2993 as_fn_error "source directory already configured; run \"make distclean\" the re first" "$LINENO" 5
2994 fi
2972 fi 2995 fi
2973 2996
2974 # test whether we have cygpath 2997 # test whether we have cygpath
2975 if test -z "$CYGPATH_W"; then 2998 if test -z "$CYGPATH_W"; then
2976 if (cygpath --version) >/dev/null 2>/dev/null; then 2999 if (cygpath --version) >/dev/null 2>/dev/null; then
2977 CYGPATH_W='cygpath -w' 3000 CYGPATH_W='cygpath -w'
2978 else 3001 else
2979 CYGPATH_W=echo 3002 CYGPATH_W=echo
2980 fi 3003 fi
2981 fi 3004 fi
2982 3005
2983 3006
2984 # Define the identity of the package. 3007 # Define the identity of the package.
2985 PACKAGE='google-perftools' 3008 PACKAGE='gperftools'
2986 VERSION='1.8' 3009 VERSION='2.0'
2987 3010
2988 3011
2989 cat >>confdefs.h <<_ACEOF 3012 cat >>confdefs.h <<_ACEOF
2990 #define PACKAGE "$PACKAGE" 3013 #define PACKAGE "$PACKAGE"
2991 _ACEOF 3014 _ACEOF
2992 3015
2993 3016
2994 cat >>confdefs.h <<_ACEOF 3017 cat >>confdefs.h <<_ACEOF
2995 #define VERSION "$VERSION" 3018 #define VERSION "$VERSION"
2996 _ACEOF 3019 _ACEOF
2997 3020
2998 # Some tools Automake needs. 3021 # Some tools Automake needs.
2999 3022
3000 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} 3023 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3001 3024
3002 3025
3003 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} 3026 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3004 3027
3005 3028
3006 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} 3029 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3007 3030
3008 3031
3009 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} 3032 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3010 3033
3011 3034
3012 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} 3035 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3013 3036
3014 install_sh=${install_sh-"$am_aux_dir/install-sh"} 3037 install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
3015 3038
3016 # Installed binaries are usually stripped using `strip' when the user 3039 # Installed binaries are usually stripped using `strip' when the user
3017 # run `make install-strip'. However `strip' might not be the right 3040 # run `make install-strip'. However `strip' might not be the right
3018 # tool to use in cross-compilation environments, therefore Automake 3041 # tool to use in cross-compilation environments, therefore Automake
3019 # will honor the `STRIP' environment variable to overrule this program. 3042 # will honor the `STRIP' environment variable to overrule this program.
3020 if test "$cross_compiling" != no; then 3043 if test "$cross_compiling" != no; then
3021 if test -n "$ac_tool_prefix"; then 3044 if test -n "$ac_tool_prefix"; then
3022 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program n ame with args. 3045 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program n ame with args.
3023 set dummy ${ac_tool_prefix}strip; ac_word=$2 3046 set dummy ${ac_tool_prefix}strip; ac_word=$2
3024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
3104 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2 ;} 3127 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2 ;}
3105 ac_tool_warned=yes ;; 3128 ac_tool_warned=yes ;;
3106 esac 3129 esac
3107 STRIP=$ac_ct_STRIP 3130 STRIP=$ac_ct_STRIP
3108 fi 3131 fi
3109 else 3132 else
3110 STRIP="$ac_cv_prog_STRIP" 3133 STRIP="$ac_cv_prog_STRIP"
3111 fi 3134 fi
3112 3135
3113 fi 3136 fi
3114 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s" 3137 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3115 3138
3116 # We need awk for the "check" target. The system "awk" is bad on 3139 # We need awk for the "check" target. The system "awk" is bad on
3117 # some platforms. 3140 # some platforms.
3118 # Always define AMTAR for backward compatibility. 3141 # Always define AMTAR for backward compatibility.
3119 3142
3120 AMTAR=${AMTAR-"${am_missing_run}tar"} 3143 AMTAR=${AMTAR-"${am_missing_run}tar"}
3121 3144
3122 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -' 3145 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
3123 3146
3124 3147
3125 3148
3126 3149
3127 3150
3128 ac_config_headers="$ac_config_headers src/config.h" 3151 ac_config_headers="$ac_config_headers src/config.h"
3129 3152
3130 3153
3131 # Export the version information (for tc_version and friends) 3154 # Export the version information (for tc_version and friends)
3132 TC_VERSION_MAJOR=`expr "$PACKAGE_VERSION" : '\([0-9]*\)'` 3155 TC_VERSION_MAJOR=`expr "$PACKAGE_VERSION" : '\([0-9]*\)'`
3133 TC_VERSION_MINOR=`expr "$PACKAGE_VERSION" : '[^.]*\.\([0-9]*\)'` 3156 TC_VERSION_MINOR=`expr "$PACKAGE_VERSION" : '[0-9]*\.\([0-9]*\)'`
3134 TC_VERSION_PATCH=`expr "$PACKAGE_VERSION" : '[^.0-9]*\([^0-9]*\)$'` 3157 TC_VERSION_PATCH=`expr "$PACKAGE_VERSION" : '[0-9]*\.[0-9]*\(.*\)$'`
3135 3158
3136 3159
3137 3160
3138 3161
3139 3162
3140 # The user can choose not to compile in the heap-profiler, the 3163 # The user can choose not to compile in the heap-profiler, the
3141 # heap-checker, or the cpu-profiler. There's also the possibility 3164 # heap-checker, or the cpu-profiler. There's also the possibility
3142 # for a 'fully minimal' compile, which leaves out the stacktrace 3165 # for a 'fully minimal' compile, which leaves out the stacktrace
3143 # code as well. By default, we include all of these that the 3166 # code as well. By default, we include all of these that the
3144 # target system supports. 3167 # target system supports.
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
3192 fi 3215 fi
3193 3216
3194 if test "$enable_minimal" = yes; then 3217 if test "$enable_minimal" = yes; then
3195 enable_cpu_profiler=no 3218 enable_cpu_profiler=no
3196 enable_heap_profiler=no 3219 enable_heap_profiler=no
3197 enable_heap_checker=no 3220 enable_heap_checker=no
3198 fi 3221 fi
3199 3222
3200 3223
3201 # Checks for programs. 3224 # Checks for programs.
3202 ac_ext=c 3225 ac_ext=cpp
3203 ac_cpp='$CPP $CPPFLAGS' 3226 ac_cpp='$CXXCPP $CPPFLAGS'
3204 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3227 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3205 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $ LIBS >&5' 3228 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ex t $LIBS >&5'
3206 ac_compiler_gnu=$ac_cv_c_compiler_gnu 3229 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3207 if test -n "$ac_tool_prefix"; then 3230 if test -z "$CXX"; then
3208 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program nam e with args. 3231 if test -n "$CCC"; then
3209 set dummy ${ac_tool_prefix}gcc; ac_word=$2 3232 CXX=$CCC
3233 else
3234 if test -n "$ac_tool_prefix"; then
3235 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3236 do
3237 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a progra m name with args.
3238 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3211 $as_echo_n "checking for $ac_word... " >&6; } 3240 $as_echo_n "checking for $ac_word... " >&6; }
3212 if test "${ac_cv_prog_CC+set}" = set; then : 3241 if test "${ac_cv_prog_CXX+set}" = set; then :
3213 $as_echo_n "(cached) " >&6 3242 $as_echo_n "(cached) " >&6
3214 else 3243 else
3215 if test -n "$CC"; then 3244 if test -n "$CXX"; then
3216 ac_cv_prog_CC="$CC" # Let the user override the test. 3245 ac_cv_prog_CXX="$CXX" # Let the user override the test.
3217 else 3246 else
3218 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3247 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3219 for as_dir in $PATH 3248 for as_dir in $PATH
3220 do 3249 do
3221 IFS=$as_save_IFS 3250 IFS=$as_save_IFS
3222 test -z "$as_dir" && as_dir=. 3251 test -z "$as_dir" && as_dir=.
3223 for ac_exec_ext in '' $ac_executable_extensions; do 3252 for ac_exec_ext in '' $ac_executable_extensions; do
3224 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac _exec_ext"; }; then 3253 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac _exec_ext"; }; then
3225 ac_cv_prog_CC="${ac_tool_prefix}gcc" 3254 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3226 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" > &5 3255 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" > &5
3227 break 2 3256 break 2
3228 fi 3257 fi
3229 done 3258 done
3230 done 3259 done
3231 IFS=$as_save_IFS 3260 IFS=$as_save_IFS
3232 3261
3233 fi 3262 fi
3234 fi 3263 fi
3235 CC=$ac_cv_prog_CC 3264 CXX=$ac_cv_prog_CXX
3236 if test -n "$CC"; then 3265 if test -n "$CXX"; then
3237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
3238 $as_echo "$CC" >&6; } 3267 $as_echo "$CXX" >&6; }
3239 else 3268 else
3240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3241 $as_echo "no" >&6; } 3270 $as_echo "no" >&6; }
3242 fi 3271 fi
3243 3272
3244 3273
3274 test -n "$CXX" && break
3275 done
3245 fi 3276 fi
3246 if test -z "$ac_cv_prog_CC"; then 3277 if test -z "$CXX"; then
3247 ac_ct_CC=$CC 3278 ac_ct_CXX=$CXX
3248 # Extract the first word of "gcc", so it can be a program name with args. 3279 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3249 set dummy gcc; ac_word=$2 3280 do
3281 # Extract the first word of "$ac_prog", so it can be a program name with args.
3282 set dummy $ac_prog; ac_word=$2
3250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3251 $as_echo_n "checking for $ac_word... " >&6; } 3284 $as_echo_n "checking for $ac_word... " >&6; }
3252 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : 3285 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
3253 $as_echo_n "(cached) " >&6 3286 $as_echo_n "(cached) " >&6
3254 else 3287 else
3255 if test -n "$ac_ct_CC"; then 3288 if test -n "$ac_ct_CXX"; then
3256 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 3289 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3257 else 3290 else
3258 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3291 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3259 for as_dir in $PATH 3292 for as_dir in $PATH
3260 do 3293 do
3261 IFS=$as_save_IFS 3294 IFS=$as_save_IFS
3262 test -z "$as_dir" && as_dir=. 3295 test -z "$as_dir" && as_dir=.
3263 for ac_exec_ext in '' $ac_executable_extensions; do 3296 for ac_exec_ext in '' $ac_executable_extensions; do
3264 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac _exec_ext"; }; then 3297 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac _exec_ext"; }; then
3265 ac_cv_prog_ac_ct_CC="gcc" 3298 ac_cv_prog_ac_ct_CXX="$ac_prog"
3266 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" > &5 3299 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" > &5
3267 break 2 3300 break 2
3268 fi 3301 fi
3269 done 3302 done
3270 done 3303 done
3271 IFS=$as_save_IFS 3304 IFS=$as_save_IFS
3272 3305
3273 fi 3306 fi
3274 fi 3307 fi
3275 ac_ct_CC=$ac_cv_prog_ac_ct_CC 3308 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3276 if test -n "$ac_ct_CC"; then 3309 if test -n "$ac_ct_CXX"; then
3277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 3310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
3278 $as_echo "$ac_ct_CC" >&6; } 3311 $as_echo "$ac_ct_CXX" >&6; }
3279 else 3312 else
3280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3281 $as_echo "no" >&6; } 3314 $as_echo "no" >&6; }
3282 fi 3315 fi
3283 3316
3284 if test "x$ac_ct_CC" = x; then 3317
3285 CC="" 3318 test -n "$ac_ct_CXX" && break
3319 done
3320
3321 if test "x$ac_ct_CXX" = x; then
3322 CXX="g++"
3286 else 3323 else
3287 case $cross_compiling:$ac_tool_warned in 3324 case $cross_compiling:$ac_tool_warned in
3288 yes:) 3325 yes:)
3289 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3326 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3290 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2 ;} 3327 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2 ;}
3291 ac_tool_warned=yes ;; 3328 ac_tool_warned=yes ;;
3292 esac 3329 esac
3293 CC=$ac_ct_CC 3330 CXX=$ac_ct_CXX
3294 fi 3331 fi
3295 else
3296 CC="$ac_cv_prog_CC"
3297 fi 3332 fi
3298 3333
3299 if test -z "$CC"; then
3300 if test -n "$ac_tool_prefix"; then
3301 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program na me with args.
3302 set dummy ${ac_tool_prefix}cc; ac_word=$2
3303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3304 $as_echo_n "checking for $ac_word... " >&6; }
3305 if test "${ac_cv_prog_CC+set}" = set; then :
3306 $as_echo_n "(cached) " >&6
3307 else
3308 if test -n "$CC"; then
3309 ac_cv_prog_CC="$CC" # Let the user override the test.
3310 else
3311 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3312 for as_dir in $PATH
3313 do
3314 IFS=$as_save_IFS
3315 test -z "$as_dir" && as_dir=.
3316 for ac_exec_ext in '' $ac_executable_extensions; do
3317 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac _exec_ext"; }; then
3318 ac_cv_prog_CC="${ac_tool_prefix}cc"
3319 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" > &5
3320 break 2
3321 fi
3322 done
3323 done
3324 IFS=$as_save_IFS
3325
3326 fi
3327 fi
3328 CC=$ac_cv_prog_CC
3329 if test -n "$CC"; then
3330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3331 $as_echo "$CC" >&6; }
3332 else
3333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3334 $as_echo "no" >&6; }
3335 fi
3336
3337
3338 fi 3334 fi
3339 fi 3335 fi
3340 if test -z "$CC"; then
3341 # Extract the first word of "cc", so it can be a program name with args.
3342 set dummy cc; ac_word=$2
3343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3344 $as_echo_n "checking for $ac_word... " >&6; }
3345 if test "${ac_cv_prog_CC+set}" = set; then :
3346 $as_echo_n "(cached) " >&6
3347 else
3348 if test -n "$CC"; then
3349 ac_cv_prog_CC="$CC" # Let the user override the test.
3350 else
3351 ac_prog_rejected=no
3352 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3353 for as_dir in $PATH
3354 do
3355 IFS=$as_save_IFS
3356 test -z "$as_dir" && as_dir=.
3357 for ac_exec_ext in '' $ac_executable_extensions; do
3358 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac _exec_ext"; }; then
3359 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3360 ac_prog_rejected=yes
3361 continue
3362 fi
3363 ac_cv_prog_CC="cc"
3364 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" > &5
3365 break 2
3366 fi
3367 done
3368 done
3369 IFS=$as_save_IFS
3370
3371 if test $ac_prog_rejected = yes; then
3372 # We found a bogon in the path, so make sure we never use it.
3373 set dummy $ac_cv_prog_CC
3374 shift
3375 if test $# != 0; then
3376 # We chose a different compiler from the bogus one.
3377 # However, it has the same basename, so the bogon will be chosen
3378 # first if we set CC to just the basename; use the full file name.
3379 shift
3380 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3381 fi
3382 fi
3383 fi
3384 fi
3385 CC=$ac_cv_prog_CC
3386 if test -n "$CC"; then
3387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3388 $as_echo "$CC" >&6; }
3389 else
3390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3391 $as_echo "no" >&6; }
3392 fi
3393
3394
3395 fi
3396 if test -z "$CC"; then
3397 if test -n "$ac_tool_prefix"; then
3398 for ac_prog in cl.exe
3399 do
3400 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a progra m name with args.
3401 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3403 $as_echo_n "checking for $ac_word... " >&6; }
3404 if test "${ac_cv_prog_CC+set}" = set; then :
3405 $as_echo_n "(cached) " >&6
3406 else
3407 if test -n "$CC"; then
3408 ac_cv_prog_CC="$CC" # Let the user override the test.
3409 else
3410 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3411 for as_dir in $PATH
3412 do
3413 IFS=$as_save_IFS
3414 test -z "$as_dir" && as_dir=.
3415 for ac_exec_ext in '' $ac_executable_extensions; do
3416 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac _exec_ext"; }; then
3417 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3418 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" > &5
3419 break 2
3420 fi
3421 done
3422 done
3423 IFS=$as_save_IFS
3424
3425 fi
3426 fi
3427 CC=$ac_cv_prog_CC
3428 if test -n "$CC"; then
3429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3430 $as_echo "$CC" >&6; }
3431 else
3432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3433 $as_echo "no" >&6; }
3434 fi
3435
3436
3437 test -n "$CC" && break
3438 done
3439 fi
3440 if test -z "$CC"; then
3441 ac_ct_CC=$CC
3442 for ac_prog in cl.exe
3443 do
3444 # Extract the first word of "$ac_prog", so it can be a program name with args.
3445 set dummy $ac_prog; ac_word=$2
3446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3447 $as_echo_n "checking for $ac_word... " >&6; }
3448 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3449 $as_echo_n "(cached) " >&6
3450 else
3451 if test -n "$ac_ct_CC"; then
3452 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3453 else
3454 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3455 for as_dir in $PATH
3456 do
3457 IFS=$as_save_IFS
3458 test -z "$as_dir" && as_dir=.
3459 for ac_exec_ext in '' $ac_executable_extensions; do
3460 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac _exec_ext"; }; then
3461 ac_cv_prog_ac_ct_CC="$ac_prog"
3462 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" > &5
3463 break 2
3464 fi
3465 done
3466 done
3467 IFS=$as_save_IFS
3468
3469 fi
3470 fi
3471 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3472 if test -n "$ac_ct_CC"; then
3473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3474 $as_echo "$ac_ct_CC" >&6; }
3475 else
3476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3477 $as_echo "no" >&6; }
3478 fi
3479
3480
3481 test -n "$ac_ct_CC" && break
3482 done
3483
3484 if test "x$ac_ct_CC" = x; then
3485 CC=""
3486 else
3487 case $cross_compiling:$ac_tool_warned in
3488 yes:)
3489 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3490 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2 ;}
3491 ac_tool_warned=yes ;;
3492 esac
3493 CC=$ac_ct_CC
3494 fi
3495 fi
3496
3497 fi
3498
3499
3500 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd' :" >&5
3501 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3502 as_fn_error "no acceptable C compiler found in \$PATH
3503 See \`config.log' for more details." "$LINENO" 5; }
3504
3505 # Provide some information about the compiler. 3336 # Provide some information about the compiler.
3506 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 3337 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
3507 set X $ac_compile 3338 set X $ac_compile
3508 ac_compiler=$2 3339 ac_compiler=$2
3509 for ac_option in --version -v -V -qversion; do 3340 for ac_option in --version -v -V -qversion; do
3510 { { ac_try="$ac_compiler $ac_option >&5" 3341 { { ac_try="$ac_compiler $ac_option >&5"
3511 case "(($ac_try" in 3342 case "(($ac_try" in
3512 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3343 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3513 *) ac_try_echo=$ac_try;; 3344 *) ac_try_echo=$ac_try;;
3514 esac 3345 esac
3515 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3346 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3516 $as_echo "$ac_try_echo"; } >&5 3347 $as_echo "$ac_try_echo"; } >&5
(...skipping 19 matching lines...) Expand all
3536 3367
3537 ; 3368 ;
3538 return 0; 3369 return 0;
3539 } 3370 }
3540 _ACEOF 3371 _ACEOF
3541 ac_clean_files_save=$ac_clean_files 3372 ac_clean_files_save=$ac_clean_files
3542 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" 3373 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3543 # Try to create an executable without -o first, disregard a.out. 3374 # Try to create an executable without -o first, disregard a.out.
3544 # It will help us diagnose broken compilers, and finding out an intuition 3375 # It will help us diagnose broken compilers, and finding out an intuition
3545 # of exeext. 3376 # of exeext.
3546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 3377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler works " >&5
3547 $as_echo_n "checking whether the C compiler works... " >&6; } 3378 $as_echo_n "checking whether the C++ compiler works... " >&6; }
3548 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 3379 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3549 3380
3550 # The possible output files: 3381 # The possible output files:
3551 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" 3382 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3552 3383
3553 ac_rmfiles= 3384 ac_rmfiles=
3554 for ac_file in $ac_files 3385 for ac_file in $ac_files
3555 do 3386 do
3556 case $ac_file in 3387 case $ac_file in
3557 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 3388 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
3608 fi 3439 fi
3609 if test -z "$ac_file"; then : 3440 if test -z "$ac_file"; then :
3610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3611 $as_echo "no" >&6; } 3442 $as_echo "no" >&6; }
3612 $as_echo "$as_me: failed program was:" >&5 3443 $as_echo "$as_me: failed program was:" >&5
3613 sed 's/^/| /' conftest.$ac_ext >&5 3444 sed 's/^/| /' conftest.$ac_ext >&5
3614 3445
3615 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3446 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3616 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3447 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3617 { as_fn_set_status 77 3448 { as_fn_set_status 77
3618 as_fn_error "C compiler cannot create executables 3449 as_fn_error "C++ compiler cannot create executables
3619 See \`config.log' for more details." "$LINENO" 5; }; } 3450 See \`config.log' for more details." "$LINENO" 5; }; }
3620 else 3451 else
3621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3622 $as_echo "yes" >&6; } 3453 $as_echo "yes" >&6; }
3623 fi 3454 fi
3624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 3455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler default outpu t file name" >&5
3625 $as_echo_n "checking for C compiler default output file name... " >&6; } 3456 $as_echo_n "checking for C++ compiler default output file name... " >&6; }
3626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 3457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3627 $as_echo "$ac_file" >&6; } 3458 $as_echo "$ac_file" >&6; }
3628 ac_exeext=$ac_cv_exeext 3459 ac_exeext=$ac_cv_exeext
3629 3460
3630 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 3461 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3631 ac_clean_files=$ac_clean_files_save 3462 ac_clean_files=$ac_clean_files_save
3632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 3463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3633 $as_echo_n "checking for suffix of executables... " >&6; } 3464 $as_echo_n "checking for suffix of executables... " >&6; }
3634 if { { ac_try="$ac_link" 3465 if { { ac_try="$ac_link"
3635 case "(($ac_try" in 3466 case "(($ac_try" in
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
3709 ac_status=$? 3540 ac_status=$?
3710 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3541 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3711 test $ac_status = 0; }; }; then 3542 test $ac_status = 0; }; }; then
3712 cross_compiling=no 3543 cross_compiling=no
3713 else 3544 else
3714 if test "$cross_compiling" = maybe; then 3545 if test "$cross_compiling" = maybe; then
3715 cross_compiling=yes 3546 cross_compiling=yes
3716 else 3547 else
3717 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3548 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3718 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3549 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3719 as_fn_error "cannot run C compiled programs. 3550 as_fn_error "cannot run C++ compiled programs.
3720 If you meant to cross compile, use \`--host'. 3551 If you meant to cross compile, use \`--host'.
3721 See \`config.log' for more details." "$LINENO" 5; } 3552 See \`config.log' for more details." "$LINENO" 5; }
3722 fi 3553 fi
3723 fi 3554 fi
3724 fi 3555 fi
3725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 3556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3726 $as_echo "$cross_compiling" >&6; } 3557 $as_echo "$cross_compiling" >&6; }
3727 3558
3728 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out 3559 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3729 ac_clean_files=$ac_clean_files_save 3560 ac_clean_files=$ac_clean_files_save
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
3771 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3602 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3772 as_fn_error "cannot compute suffix of object files: cannot compile 3603 as_fn_error "cannot compute suffix of object files: cannot compile
3773 See \`config.log' for more details." "$LINENO" 5; } 3604 See \`config.log' for more details." "$LINENO" 5; }
3774 fi 3605 fi
3775 rm -f conftest.$ac_cv_objext conftest.$ac_ext 3606 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3776 fi 3607 fi
3777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 3608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3778 $as_echo "$ac_cv_objext" >&6; } 3609 $as_echo "$ac_cv_objext" >&6; }
3779 OBJEXT=$ac_cv_objext 3610 OBJEXT=$ac_cv_objext
3780 ac_objext=$OBJEXT 3611 ac_objext=$OBJEXT
3781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 3612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C ++ compiler" >&5
3782 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 3613 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
3783 if test "${ac_cv_c_compiler_gnu+set}" = set; then : 3614 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
3784 $as_echo_n "(cached) " >&6 3615 $as_echo_n "(cached) " >&6
3785 else 3616 else
3786 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3787 /* end confdefs.h. */ 3618 /* end confdefs.h. */
3788 3619
3789 int 3620 int
3790 main () 3621 main ()
3791 { 3622 {
3792 #ifndef __GNUC__ 3623 #ifndef __GNUC__
3793 choke me 3624 choke me
3794 #endif 3625 #endif
3795 3626
3796 ; 3627 ;
3797 return 0; 3628 return 0;
3798 } 3629 }
3799 _ACEOF 3630 _ACEOF
3800 if ac_fn_c_try_compile "$LINENO"; then : 3631 if ac_fn_cxx_try_compile "$LINENO"; then :
3801 ac_compiler_gnu=yes 3632 ac_compiler_gnu=yes
3802 else 3633 else
3803 ac_compiler_gnu=no 3634 ac_compiler_gnu=no
3804 fi 3635 fi
3805 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3636 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3806 ac_cv_c_compiler_gnu=$ac_compiler_gnu 3637 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3807 3638
3808 fi 3639 fi
3809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 3640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
3810 $as_echo "$ac_cv_c_compiler_gnu" >&6; } 3641 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
3811 if test $ac_compiler_gnu = yes; then 3642 if test $ac_compiler_gnu = yes; then
3812 GCC=yes 3643 GXX=yes
3813 else 3644 else
3814 GCC= 3645 GXX=
3815 fi 3646 fi
3816 ac_test_CFLAGS=${CFLAGS+set} 3647 ac_test_CXXFLAGS=${CXXFLAGS+set}
3817 ac_save_CFLAGS=$CFLAGS 3648 ac_save_CXXFLAGS=$CXXFLAGS
3818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 3649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
3819 $as_echo_n "checking whether $CC accepts -g... " >&6; } 3650 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
3820 if test "${ac_cv_prog_cc_g+set}" = set; then : 3651 if test "${ac_cv_prog_cxx_g+set}" = set; then :
3821 $as_echo_n "(cached) " >&6 3652 $as_echo_n "(cached) " >&6
3822 else 3653 else
3823 ac_save_c_werror_flag=$ac_c_werror_flag 3654 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3824 ac_c_werror_flag=yes 3655 ac_cxx_werror_flag=yes
3825 ac_cv_prog_cc_g=no 3656 ac_cv_prog_cxx_g=no
3826 CFLAGS="-g" 3657 CXXFLAGS="-g"
3827 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3828 /* end confdefs.h. */ 3659 /* end confdefs.h. */
3829 3660
3830 int 3661 int
3831 main () 3662 main ()
3832 { 3663 {
3833 3664
3834 ; 3665 ;
3835 return 0; 3666 return 0;
3836 } 3667 }
3837 _ACEOF 3668 _ACEOF
3838 if ac_fn_c_try_compile "$LINENO"; then : 3669 if ac_fn_cxx_try_compile "$LINENO"; then :
3839 ac_cv_prog_cc_g=yes 3670 ac_cv_prog_cxx_g=yes
3840 else 3671 else
3841 CFLAGS="" 3672 CXXFLAGS=""
3842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3673 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3843 /* end confdefs.h. */ 3674 /* end confdefs.h. */
3844 3675
3845 int 3676 int
3846 main () 3677 main ()
3847 { 3678 {
3848 3679
3849 ; 3680 ;
3850 return 0; 3681 return 0;
3851 } 3682 }
3852 _ACEOF 3683 _ACEOF
3853 if ac_fn_c_try_compile "$LINENO"; then : 3684 if ac_fn_cxx_try_compile "$LINENO"; then :
3854 3685
3855 else 3686 else
3856 ac_c_werror_flag=$ac_save_c_werror_flag 3687 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3857 » CFLAGS="-g" 3688 » CXXFLAGS="-g"
3858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3859 /* end confdefs.h. */ 3690 /* end confdefs.h. */
3860 3691
3861 int 3692 int
3862 main () 3693 main ()
3863 { 3694 {
3864 3695
3865 ; 3696 ;
3866 return 0; 3697 return 0;
3867 } 3698 }
3868 _ACEOF 3699 _ACEOF
3869 if ac_fn_c_try_compile "$LINENO"; then : 3700 if ac_fn_cxx_try_compile "$LINENO"; then :
3870 ac_cv_prog_cc_g=yes 3701 ac_cv_prog_cxx_g=yes
3871 fi 3702 fi
3872 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3703 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3873 fi 3704 fi
3874 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3705 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3875 fi 3706 fi
3876 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3707 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3877 ac_c_werror_flag=$ac_save_c_werror_flag 3708 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3878 fi 3709 fi
3879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 3710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
3880 $as_echo "$ac_cv_prog_cc_g" >&6; } 3711 $as_echo "$ac_cv_prog_cxx_g" >&6; }
3881 if test "$ac_test_CFLAGS" = set; then 3712 if test "$ac_test_CXXFLAGS" = set; then
3882 CFLAGS=$ac_save_CFLAGS 3713 CXXFLAGS=$ac_save_CXXFLAGS
3883 elif test $ac_cv_prog_cc_g = yes; then 3714 elif test $ac_cv_prog_cxx_g = yes; then
3884 if test "$GCC" = yes; then 3715 if test "$GXX" = yes; then
3885 CFLAGS="-g -O2" 3716 CXXFLAGS="-g -O2"
3886 else 3717 else
3887 CFLAGS="-g" 3718 CXXFLAGS="-g"
3888 fi 3719 fi
3889 else 3720 else
3890 if test "$GCC" = yes; then 3721 if test "$GXX" = yes; then
3891 CFLAGS="-O2" 3722 CXXFLAGS="-O2"
3892 else 3723 else
3893 CFLAGS= 3724 CXXFLAGS=
3894 fi 3725 fi
3895 fi 3726 fi
3896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C 89" >&5
3897 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3898 if test "${ac_cv_prog_cc_c89+set}" = set; then :
3899 $as_echo_n "(cached) " >&6
3900 else
3901 ac_cv_prog_cc_c89=no
3902 ac_save_CC=$CC
3903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3904 /* end confdefs.h. */
3905 #include <stdarg.h>
3906 #include <stdio.h>
3907 #include <sys/types.h>
3908 #include <sys/stat.h>
3909 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3910 struct buf { int x; };
3911 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3912 static char *e (p, i)
3913 char **p;
3914 int i;
3915 {
3916 return p[i];
3917 }
3918 static char *f (char * (*g) (char **, int), char **p, ...)
3919 {
3920 char *s;
3921 va_list v;
3922 va_start (v,p);
3923 s = g (p, va_arg (v,int));
3924 va_end (v);
3925 return s;
3926 }
3927
3928 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3929 function prototypes and stuff, but not '\xHH' hex character constants.
3930 These don't provoke an error unfortunately, instead are silently treated
3931 as 'x'. The following induces an error, until -std is added to get
3932 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3933 array size at least. It's necessary to write '\x00'==0 to get something
3934 that's true only with -std. */
3935 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3936
3937 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3938 inside strings and character constants. */
3939 #define FOO(x) 'x'
3940 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3941
3942 int test (int i, double x);
3943 struct s1 {int (*f) (int a);};
3944 struct s2 {int (*f) (double a);};
3945 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, i nt);
3946 int argc;
3947 char **argv;
3948 int
3949 main ()
3950 {
3951 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3952 ;
3953 return 0;
3954 }
3955 _ACEOF
3956 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3957 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3958 do
3959 CC="$ac_save_CC $ac_arg"
3960 if ac_fn_c_try_compile "$LINENO"; then :
3961 ac_cv_prog_cc_c89=$ac_arg
3962 fi
3963 rm -f core conftest.err conftest.$ac_objext
3964 test "x$ac_cv_prog_cc_c89" != "xno" && break
3965 done
3966 rm -f conftest.$ac_ext
3967 CC=$ac_save_CC
3968
3969 fi
3970 # AC_CACHE_VAL
3971 case "x$ac_cv_prog_cc_c89" in
3972 x)
3973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3974 $as_echo "none needed" >&6; } ;;
3975 xno)
3976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3977 $as_echo "unsupported" >&6; } ;;
3978 *)
3979 CC="$CC $ac_cv_prog_cc_c89"
3980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3981 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3982 esac
3983 if test "x$ac_cv_prog_cc_c89" != xno; then :
3984
3985 fi
3986
3987 ac_ext=c 3727 ac_ext=c
3988 ac_cpp='$CPP $CPPFLAGS' 3728 ac_cpp='$CPP $CPPFLAGS'
3989 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3729 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3990 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $ LIBS >&5' 3730 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $ LIBS >&5'
3991 ac_compiler_gnu=$ac_cv_c_compiler_gnu 3731 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3992 DEPDIR="${am__leading_dot}deps" 3732 DEPDIR="${am__leading_dot}deps"
3993 3733
3994 ac_config_commands="$ac_config_commands depfiles" 3734 ac_config_commands="$ac_config_commands depfiles"
3995 3735
3996 3736
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
4035 3775
4036 # Check whether --enable-dependency-tracking was given. 3776 # Check whether --enable-dependency-tracking was given.
4037 if test "${enable_dependency_tracking+set}" = set; then : 3777 if test "${enable_dependency_tracking+set}" = set; then :
4038 enableval=$enable_dependency_tracking; 3778 enableval=$enable_dependency_tracking;
4039 fi 3779 fi
4040 3780
4041 if test "x$enable_dependency_tracking" != xno; then 3781 if test "x$enable_dependency_tracking" != xno; then
4042 am_depcomp="$ac_aux_dir/depcomp" 3782 am_depcomp="$ac_aux_dir/depcomp"
4043 AMDEPBACKSLASH='\' 3783 AMDEPBACKSLASH='\'
4044 fi 3784 fi
4045 3785 if test "x$enable_dependency_tracking" != xno; then
4046
4047 if test "x$enable_dependency_tracking" != xno; then
4048 AMDEP_TRUE= 3786 AMDEP_TRUE=
4049 AMDEP_FALSE='#' 3787 AMDEP_FALSE='#'
4050 else 3788 else
4051 AMDEP_TRUE='#' 3789 AMDEP_TRUE='#'
4052 AMDEP_FALSE= 3790 AMDEP_FALSE=
4053 fi 3791 fi
4054 3792
4055 3793
4056 3794
4057 3795 depcc="$CXX" am_compiler_list=
4058 depcc="$CC" am_compiler_list=
4059 3796
4060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >& 5 3797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >& 5
4061 $as_echo_n "checking dependency style of $depcc... " >&6; } 3798 $as_echo_n "checking dependency style of $depcc... " >&6; }
4062 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then : 3799 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then :
4063 $as_echo_n "(cached) " >&6 3800 $as_echo_n "(cached) " >&6
4064 else 3801 else
4065 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 3802 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4066 # We make a subdir and do the tests there. Otherwise we can end up 3803 # We make a subdir and do the tests there. Otherwise we can end up
4067 # making bogus files that we don't know about and never remove. For 3804 # making bogus files that we don't know about and never remove. For
4068 # instance it was reported that on HP-UX the gcc test will end up 3805 # instance it was reported that on HP-UX the gcc test will end up
4069 # making a dummy file named `D' -- because `-MD' means `put the output 3806 # making a dummy file named `D' -- because `-MD' means `put the output
4070 # in D'. 3807 # in D'.
4071 mkdir conftest.dir 3808 mkdir conftest.dir
4072 # Copy depcomp to subdir because otherwise we won't find it if we're 3809 # Copy depcomp to subdir because otherwise we won't find it if we're
4073 # using a relative directory. 3810 # using a relative directory.
4074 cp "$am_depcomp" conftest.dir 3811 cp "$am_depcomp" conftest.dir
4075 cd conftest.dir 3812 cd conftest.dir
4076 # We will build objects and dependencies in a subdirectory because 3813 # We will build objects and dependencies in a subdirectory because
4077 # it helps to detect inapplicable dependency modes. For instance 3814 # it helps to detect inapplicable dependency modes. For instance
4078 # both Tru64's cc and ICC support -MD to output dependencies as a 3815 # both Tru64's cc and ICC support -MD to output dependencies as a
4079 # side effect of compilation, but ICC will put the dependencies in 3816 # side effect of compilation, but ICC will put the dependencies in
4080 # the current directory while Tru64 will put them in the object 3817 # the current directory while Tru64 will put them in the object
4081 # directory. 3818 # directory.
4082 mkdir sub 3819 mkdir sub
4083 3820
4084 am_cv_CC_dependencies_compiler_type=none 3821 am_cv_CXX_dependencies_compiler_type=none
4085 if test "$am_compiler_list" = ""; then 3822 if test "$am_compiler_list" = ""; then
4086 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 3823 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4087 fi 3824 fi
4088 for depmode in $am_compiler_list; do 3825 for depmode in $am_compiler_list; do
4089 # Setup a source with many dependencies, because some compilers 3826 # Setup a source with many dependencies, because some compilers
4090 # like to wrap large dependency lists on column 80 (with \), and 3827 # like to wrap large dependency lists on column 80 (with \), and
4091 # we should not choose a depcomp mode which is confused by this. 3828 # we should not choose a depcomp mode which is confused by this.
4092 # 3829 #
4093 # We need to recreate these files for each test, as the compiler may 3830 # We need to recreate these files for each test, as the compiler may
4094 # overwrite some of them when testing with obscure command lines. 3831 # overwrite some of them when testing with obscure command lines.
(...skipping 20 matching lines...) Expand all
4115 none) break ;; 3852 none) break ;;
4116 esac 3853 esac
4117 # We check with `-c' and `-o' for the sake of the "dashmstdout" 3854 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4118 # mode. It turns out that the SunPro C++ compiler does not properly 3855 # mode. It turns out that the SunPro C++ compiler does not properly
4119 # handle `-M -o', and we need to detect this. 3856 # handle `-M -o', and we need to detect this.
4120 if depmode=$depmode \ 3857 if depmode=$depmode \
4121 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \ 3858 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
4122 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 3859 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4123 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \ 3860 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
4124 >/dev/null 2>conftest.err && 3861 >/dev/null 2>conftest.err &&
3862 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4125 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 3863 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4126 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 && 3864 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
4127 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 3865 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4128 # icc doesn't choke on unknown options, it will just issue warnings 3866 # icc doesn't choke on unknown options, it will just issue warnings
4129 # or remarks (even with -Werror). So we grep stderr for any message 3867 # or remarks (even with -Werror). So we grep stderr for any message
4130 # that says an option was ignored or not supported. 3868 # that says an option was ignored or not supported.
4131 # When given -MP, icc 7.0 and 7.1 complain thusly: 3869 # When given -MP, icc 7.0 and 7.1 complain thusly:
4132 # icc: Command line warning: ignoring option '-M'; no argument required 3870 # icc: Command line warning: ignoring option '-M'; no argument required
4133 # The diagnosis changed in icc 8.0: 3871 # The diagnosis changed in icc 8.0:
4134 # icc: Command line remark: option '-MP' not supported 3872 # icc: Command line remark: option '-MP' not supported
4135 if (grep 'ignoring option' conftest.err || 3873 if (grep 'ignoring option' conftest.err ||
4136 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 3874 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4137 am_cv_CC_dependencies_compiler_type=$depmode 3875 am_cv_CXX_dependencies_compiler_type=$depmode
4138 break 3876 break
4139 fi 3877 fi
4140 fi 3878 fi
4141 done 3879 done
4142 3880
4143 cd .. 3881 cd ..
4144 rm -rf conftest.dir 3882 rm -rf conftest.dir
4145 else 3883 else
4146 am_cv_CC_dependencies_compiler_type=none 3884 am_cv_CXX_dependencies_compiler_type=none
4147 fi 3885 fi
4148 3886
4149 fi 3887 fi
4150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler _type" >&5 3888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compile r_type" >&5
4151 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } 3889 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
4152 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type 3890 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
4153 3891
4154 3892 if
4155
4156 if
4157 test "x$enable_dependency_tracking" != xno \ 3893 test "x$enable_dependency_tracking" != xno \
4158 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then 3894 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
4159 am__fastdepCC_TRUE= 3895 am__fastdepCXX_TRUE=
4160 am__fastdepCC_FALSE='#' 3896 am__fastdepCXX_FALSE='#'
4161 else 3897 else
4162 am__fastdepCC_TRUE='#' 3898 am__fastdepCXX_TRUE='#'
4163 am__fastdepCC_FALSE= 3899 am__fastdepCXX_FALSE=
4164 fi 3900 fi
4165 3901
4166 3902
4167 ac_ext=c 3903 ac_ext=c
4168 ac_cpp='$CPP $CPPFLAGS' 3904 ac_cpp='$CPP $CPPFLAGS'
4169 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3905 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4170 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $ LIBS >&5' 3906 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $ LIBS >&5'
4171 ac_compiler_gnu=$ac_cv_c_compiler_gnu 3907 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 3908 if test -n "$ac_tool_prefix"; then
4173 $as_echo_n "checking how to run the C preprocessor... " >&6; } 3909 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program nam e with args.
4174 # On Suns, sometimes $CPP names a directory. 3910 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4175 if test -n "$CPP" && test -d "$CPP"; then 3911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4176 CPP= 3912 $as_echo_n "checking for $ac_word... " >&6; }
4177 fi 3913 if test "${ac_cv_prog_CC+set}" = set; then :
4178 if test -z "$CPP"; then 3914 $as_echo_n "(cached) " >&6
4179 if test "${ac_cv_prog_CPP+set}" = set; then : 3915 else
4180 $as_echo_n "(cached) " >&6 3916 if test -n "$CC"; then
4181 else 3917 ac_cv_prog_CC="$CC" # Let the user override the test.
4182 # Double quotes because CPP needs to be expanded 3918 else
4183 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" 3919 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4184 do 3920 for as_dir in $PATH
4185 ac_preproc_ok=false 3921 do
4186 for ac_c_preproc_warn_flag in '' yes 3922 IFS=$as_save_IFS
4187 do 3923 test -z "$as_dir" && as_dir=.
4188 # Use a header file that comes with gcc, so configuring glibc 3924 for ac_exec_ext in '' $ac_executable_extensions; do
4189 # with a fresh cross-compiler works. 3925 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac _exec_ext"; }; then
4190 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 3926 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4191 # <limits.h> exists even on freestanding compilers. 3927 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" > &5
4192 # On the NeXT, cc -E runs the code through the compiler's parser, 3928 break 2
4193 # not just through cpp. "Syntax error" is here to catch this case. 3929 fi
4194 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3930 done
4195 /* end confdefs.h. */ 3931 done
4196 #ifdef __STDC__ 3932 IFS=$as_save_IFS
4197 # include <limits.h> 3933
4198 #else 3934 fi
4199 # include <assert.h> 3935 fi
4200 #endif 3936 CC=$ac_cv_prog_CC
4201 » » Syntax error 3937 if test -n "$CC"; then
4202 _ACEOF 3938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4203 if ac_fn_c_try_cpp "$LINENO"; then : 3939 $as_echo "$CC" >&6; }
4204 3940 else
4205 else 3941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4206 # Broken: fails on valid input. 3942 $as_echo "no" >&6; }
4207 continue 3943 fi
4208 fi 3944
4209 rm -f conftest.err conftest.$ac_ext 3945
4210 3946 fi
4211 # OK, works on sane cases. Now check whether nonexistent headers 3947 if test -z "$ac_cv_prog_CC"; then
4212 # can be detected and how. 3948 ac_ct_CC=$CC
4213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3949 # Extract the first word of "gcc", so it can be a program name with args.
4214 /* end confdefs.h. */ 3950 set dummy gcc; ac_word=$2
4215 #include <ac_nonexistent.h> 3951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4216 _ACEOF 3952 $as_echo_n "checking for $ac_word... " >&6; }
4217 if ac_fn_c_try_cpp "$LINENO"; then : 3953 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
4218 # Broken: success on invalid input. 3954 $as_echo_n "(cached) " >&6
4219 continue 3955 else
4220 else 3956 if test -n "$ac_ct_CC"; then
4221 # Passes both tests. 3957 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4222 ac_preproc_ok=: 3958 else
4223 break 3959 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4224 fi 3960 for as_dir in $PATH
4225 rm -f conftest.err conftest.$ac_ext 3961 do
4226 3962 IFS=$as_save_IFS
4227 done 3963 test -z "$as_dir" && as_dir=.
4228 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 3964 for ac_exec_ext in '' $ac_executable_extensions; do
4229 rm -f conftest.err conftest.$ac_ext 3965 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac _exec_ext"; }; then
4230 if $ac_preproc_ok; then : 3966 ac_cv_prog_ac_ct_CC="gcc"
4231 break 3967 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" > &5
4232 fi 3968 break 2
4233 3969 fi
4234 done 3970 done
4235 ac_cv_prog_CPP=$CPP 3971 done
4236 3972 IFS=$as_save_IFS
4237 fi 3973
4238 CPP=$ac_cv_prog_CPP 3974 fi
4239 else 3975 fi
4240 ac_cv_prog_CPP=$CPP 3976 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4241 fi 3977 if test -n "$ac_ct_CC"; then
4242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 3978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4243 $as_echo "$CPP" >&6; } 3979 $as_echo "$ac_ct_CC" >&6; }
4244 ac_preproc_ok=false 3980 else
4245 for ac_c_preproc_warn_flag in '' yes 3981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4246 do 3982 $as_echo "no" >&6; }
4247 # Use a header file that comes with gcc, so configuring glibc 3983 fi
4248 # with a fresh cross-compiler works. 3984
4249 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 3985 if test "x$ac_ct_CC" = x; then
4250 # <limits.h> exists even on freestanding compilers. 3986 CC=""
4251 # On the NeXT, cc -E runs the code through the compiler's parser,
4252 # not just through cpp. "Syntax error" is here to catch this case.
4253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4254 /* end confdefs.h. */
4255 #ifdef __STDC__
4256 # include <limits.h>
4257 #else
4258 # include <assert.h>
4259 #endif
4260 » » Syntax error
4261 _ACEOF
4262 if ac_fn_c_try_cpp "$LINENO"; then :
4263
4264 else
4265 # Broken: fails on valid input.
4266 continue
4267 fi
4268 rm -f conftest.err conftest.$ac_ext
4269
4270 # OK, works on sane cases. Now check whether nonexistent headers
4271 # can be detected and how.
4272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4273 /* end confdefs.h. */
4274 #include <ac_nonexistent.h>
4275 _ACEOF
4276 if ac_fn_c_try_cpp "$LINENO"; then :
4277 # Broken: success on invalid input.
4278 continue
4279 else
4280 # Passes both tests.
4281 ac_preproc_ok=:
4282 break
4283 fi
4284 rm -f conftest.err conftest.$ac_ext
4285
4286 done
4287 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4288 rm -f conftest.err conftest.$ac_ext
4289 if $ac_preproc_ok; then :
4290
4291 else
4292 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4293 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4294 as_fn_error "C preprocessor \"$CPP\" fails sanity check
4295 See \`config.log' for more details." "$LINENO" 5; }
4296 fi
4297
4298 ac_ext=c
4299 ac_cpp='$CPP $CPPFLAGS'
4300 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4301 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $ LIBS >&5'
4302 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4303
4304 ac_ext=cpp
4305 ac_cpp='$CXXCPP $CPPFLAGS'
4306 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4307 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ex t $LIBS >&5'
4308 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4309 if test -z "$CXX"; then
4310 if test -n "$CCC"; then
4311 CXX=$CCC
4312 else 3987 else
4313 if test -n "$ac_tool_prefix"; then 3988 case $cross_compiling:$ac_tool_warned in
4314 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC 3989 yes:)
3990 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3991 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2 ;}
3992 ac_tool_warned=yes ;;
3993 esac
3994 CC=$ac_ct_CC
3995 fi
3996 else
3997 CC="$ac_cv_prog_CC"
3998 fi
3999
4000 if test -z "$CC"; then
4001 if test -n "$ac_tool_prefix"; then
4002 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program na me with args.
4003 set dummy ${ac_tool_prefix}cc; ac_word=$2
4004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4005 $as_echo_n "checking for $ac_word... " >&6; }
4006 if test "${ac_cv_prog_CC+set}" = set; then :
4007 $as_echo_n "(cached) " >&6
4008 else
4009 if test -n "$CC"; then
4010 ac_cv_prog_CC="$CC" # Let the user override the test.
4011 else
4012 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4013 for as_dir in $PATH
4014 do
4015 IFS=$as_save_IFS
4016 test -z "$as_dir" && as_dir=.
4017 for ac_exec_ext in '' $ac_executable_extensions; do
4018 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac _exec_ext"; }; then
4019 ac_cv_prog_CC="${ac_tool_prefix}cc"
4020 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" > &5
4021 break 2
4022 fi
4023 done
4024 done
4025 IFS=$as_save_IFS
4026
4027 fi
4028 fi
4029 CC=$ac_cv_prog_CC
4030 if test -n "$CC"; then
4031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4032 $as_echo "$CC" >&6; }
4033 else
4034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4035 $as_echo "no" >&6; }
4036 fi
4037
4038
4039 fi
4040 fi
4041 if test -z "$CC"; then
4042 # Extract the first word of "cc", so it can be a program name with args.
4043 set dummy cc; ac_word=$2
4044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4045 $as_echo_n "checking for $ac_word... " >&6; }
4046 if test "${ac_cv_prog_CC+set}" = set; then :
4047 $as_echo_n "(cached) " >&6
4048 else
4049 if test -n "$CC"; then
4050 ac_cv_prog_CC="$CC" # Let the user override the test.
4051 else
4052 ac_prog_rejected=no
4053 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4054 for as_dir in $PATH
4055 do
4056 IFS=$as_save_IFS
4057 test -z "$as_dir" && as_dir=.
4058 for ac_exec_ext in '' $ac_executable_extensions; do
4059 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac _exec_ext"; }; then
4060 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4061 ac_prog_rejected=yes
4062 continue
4063 fi
4064 ac_cv_prog_CC="cc"
4065 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" > &5
4066 break 2
4067 fi
4068 done
4069 done
4070 IFS=$as_save_IFS
4071
4072 if test $ac_prog_rejected = yes; then
4073 # We found a bogon in the path, so make sure we never use it.
4074 set dummy $ac_cv_prog_CC
4075 shift
4076 if test $# != 0; then
4077 # We chose a different compiler from the bogus one.
4078 # However, it has the same basename, so the bogon will be chosen
4079 # first if we set CC to just the basename; use the full file name.
4080 shift
4081 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4082 fi
4083 fi
4084 fi
4085 fi
4086 CC=$ac_cv_prog_CC
4087 if test -n "$CC"; then
4088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4089 $as_echo "$CC" >&6; }
4090 else
4091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4092 $as_echo "no" >&6; }
4093 fi
4094
4095
4096 fi
4097 if test -z "$CC"; then
4098 if test -n "$ac_tool_prefix"; then
4099 for ac_prog in cl.exe
4315 do 4100 do
4316 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a progra m name with args. 4101 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a progra m name with args.
4317 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 4102 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4319 $as_echo_n "checking for $ac_word... " >&6; } 4104 $as_echo_n "checking for $ac_word... " >&6; }
4320 if test "${ac_cv_prog_CXX+set}" = set; then : 4105 if test "${ac_cv_prog_CC+set}" = set; then :
4321 $as_echo_n "(cached) " >&6 4106 $as_echo_n "(cached) " >&6
4322 else 4107 else
4323 if test -n "$CXX"; then 4108 if test -n "$CC"; then
4324 ac_cv_prog_CXX="$CXX" # Let the user override the test. 4109 ac_cv_prog_CC="$CC" # Let the user override the test.
4325 else 4110 else
4326 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4111 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4327 for as_dir in $PATH 4112 for as_dir in $PATH
4328 do 4113 do
4329 IFS=$as_save_IFS 4114 IFS=$as_save_IFS
4330 test -z "$as_dir" && as_dir=. 4115 test -z "$as_dir" && as_dir=.
4331 for ac_exec_ext in '' $ac_executable_extensions; do 4116 for ac_exec_ext in '' $ac_executable_extensions; do
4332 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac _exec_ext"; }; then 4117 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac _exec_ext"; }; then
4333 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" 4118 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4334 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" > &5 4119 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" > &5
4335 break 2 4120 break 2
4336 fi 4121 fi
4337 done 4122 done
4338 done 4123 done
4339 IFS=$as_save_IFS 4124 IFS=$as_save_IFS
4340 4125
4341 fi 4126 fi
4342 fi 4127 fi
4343 CXX=$ac_cv_prog_CXX 4128 CC=$ac_cv_prog_CC
4344 if test -n "$CXX"; then 4129 if test -n "$CC"; then
4345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5 4130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4346 $as_echo "$CXX" >&6; } 4131 $as_echo "$CC" >&6; }
4347 else 4132 else
4348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4349 $as_echo "no" >&6; } 4134 $as_echo "no" >&6; }
4350 fi 4135 fi
4351 4136
4352 4137
4353 test -n "$CXX" && break 4138 test -n "$CC" && break
4354 done 4139 done
4355 fi 4140 fi
4356 if test -z "$CXX"; then 4141 if test -z "$CC"; then
4357 ac_ct_CXX=$CXX 4142 ac_ct_CC=$CC
4358 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC 4143 for ac_prog in cl.exe
4359 do 4144 do
4360 # Extract the first word of "$ac_prog", so it can be a program name with args. 4145 # Extract the first word of "$ac_prog", so it can be a program name with args.
4361 set dummy $ac_prog; ac_word=$2 4146 set dummy $ac_prog; ac_word=$2
4362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4363 $as_echo_n "checking for $ac_word... " >&6; } 4148 $as_echo_n "checking for $ac_word... " >&6; }
4364 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then : 4149 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
4365 $as_echo_n "(cached) " >&6 4150 $as_echo_n "(cached) " >&6
4366 else 4151 else
4367 if test -n "$ac_ct_CXX"; then 4152 if test -n "$ac_ct_CC"; then
4368 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test. 4153 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4369 else 4154 else
4370 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4155 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4371 for as_dir in $PATH 4156 for as_dir in $PATH
4372 do 4157 do
4373 IFS=$as_save_IFS 4158 IFS=$as_save_IFS
4374 test -z "$as_dir" && as_dir=. 4159 test -z "$as_dir" && as_dir=.
4375 for ac_exec_ext in '' $ac_executable_extensions; do 4160 for ac_exec_ext in '' $ac_executable_extensions; do
4376 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac _exec_ext"; }; then 4161 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac _exec_ext"; }; then
4377 ac_cv_prog_ac_ct_CXX="$ac_prog" 4162 ac_cv_prog_ac_ct_CC="$ac_prog"
4378 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" > &5 4163 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" > &5
4379 break 2 4164 break 2
4380 fi 4165 fi
4381 done 4166 done
4382 done 4167 done
4383 IFS=$as_save_IFS 4168 IFS=$as_save_IFS
4384 4169
4385 fi 4170 fi
4386 fi 4171 fi
4387 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX 4172 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4388 if test -n "$ac_ct_CXX"; then 4173 if test -n "$ac_ct_CC"; then
4389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5 4174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4390 $as_echo "$ac_ct_CXX" >&6; } 4175 $as_echo "$ac_ct_CC" >&6; }
4391 else 4176 else
4392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4393 $as_echo "no" >&6; } 4178 $as_echo "no" >&6; }
4394 fi 4179 fi
4395 4180
4396 4181
4397 test -n "$ac_ct_CXX" && break 4182 test -n "$ac_ct_CC" && break
4398 done 4183 done
4399 4184
4400 if test "x$ac_ct_CXX" = x; then 4185 if test "x$ac_ct_CC" = x; then
4401 CXX="g++" 4186 CC=""
4402 else 4187 else
4403 case $cross_compiling:$ac_tool_warned in 4188 case $cross_compiling:$ac_tool_warned in
4404 yes:) 4189 yes:)
4405 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 4190 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4406 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2 ;} 4191 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2 ;}
4407 ac_tool_warned=yes ;; 4192 ac_tool_warned=yes ;;
4408 esac 4193 esac
4409 CXX=$ac_ct_CXX 4194 CC=$ac_ct_CC
4410 fi 4195 fi
4411 fi 4196 fi
4412 4197
4413 fi
4414 fi 4198 fi
4199
4200
4201 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd' :" >&5
4202 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4203 as_fn_error "no acceptable C compiler found in \$PATH
4204 See \`config.log' for more details." "$LINENO" 5; }
4205
4415 # Provide some information about the compiler. 4206 # Provide some information about the compiler.
4416 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5 4207 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4417 set X $ac_compile 4208 set X $ac_compile
4418 ac_compiler=$2 4209 ac_compiler=$2
4419 for ac_option in --version -v -V -qversion; do 4210 for ac_option in --version -v -V -qversion; do
4420 { { ac_try="$ac_compiler $ac_option >&5" 4211 { { ac_try="$ac_compiler $ac_option >&5"
4421 case "(($ac_try" in 4212 case "(($ac_try" in
4422 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4213 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4423 *) ac_try_echo=$ac_try;; 4214 *) ac_try_echo=$ac_try;;
4424 esac 4215 esac
4425 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 4216 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4426 $as_echo "$ac_try_echo"; } >&5 4217 $as_echo "$ac_try_echo"; } >&5
4427 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 4218 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4428 ac_status=$? 4219 ac_status=$?
4429 if test -s conftest.err; then 4220 if test -s conftest.err; then
4430 sed '10a\ 4221 sed '10a\
4431 ... rest of stderr output deleted ... 4222 ... rest of stderr output deleted ...
4432 10q' conftest.err >conftest.er1 4223 10q' conftest.err >conftest.er1
4433 cat conftest.er1 >&5 4224 cat conftest.er1 >&5
4434 fi 4225 fi
4435 rm -f conftest.er1 conftest.err 4226 rm -f conftest.er1 conftest.err
4436 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4227 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4437 test $ac_status = 0; } 4228 test $ac_status = 0; }
4438 done 4229 done
4439 4230
4440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C ++ compiler" >&5 4231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4441 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; } 4232 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4442 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then : 4233 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4443 $as_echo_n "(cached) " >&6 4234 $as_echo_n "(cached) " >&6
4444 else 4235 else
4445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4446 /* end confdefs.h. */ 4237 /* end confdefs.h. */
4447 4238
4448 int 4239 int
4449 main () 4240 main ()
4450 { 4241 {
4451 #ifndef __GNUC__ 4242 #ifndef __GNUC__
4452 choke me 4243 choke me
4453 #endif 4244 #endif
4454 4245
4455 ; 4246 ;
4456 return 0; 4247 return 0;
4457 } 4248 }
4458 _ACEOF 4249 _ACEOF
4459 if ac_fn_cxx_try_compile "$LINENO"; then : 4250 if ac_fn_c_try_compile "$LINENO"; then :
4460 ac_compiler_gnu=yes 4251 ac_compiler_gnu=yes
4461 else 4252 else
4462 ac_compiler_gnu=no 4253 ac_compiler_gnu=no
4463 fi 4254 fi
4464 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4255 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4465 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu 4256 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4466 4257
4467 fi 4258 fi
4468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5 4259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4469 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; } 4260 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4470 if test $ac_compiler_gnu = yes; then 4261 if test $ac_compiler_gnu = yes; then
4471 GXX=yes 4262 GCC=yes
4472 else 4263 else
4473 GXX= 4264 GCC=
4474 fi 4265 fi
4475 ac_test_CXXFLAGS=${CXXFLAGS+set} 4266 ac_test_CFLAGS=${CFLAGS+set}
4476 ac_save_CXXFLAGS=$CXXFLAGS 4267 ac_save_CFLAGS=$CFLAGS
4477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5 4268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4478 $as_echo_n "checking whether $CXX accepts -g... " >&6; } 4269 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4479 if test "${ac_cv_prog_cxx_g+set}" = set; then : 4270 if test "${ac_cv_prog_cc_g+set}" = set; then :
4480 $as_echo_n "(cached) " >&6 4271 $as_echo_n "(cached) " >&6
4481 else 4272 else
4482 ac_save_cxx_werror_flag=$ac_cxx_werror_flag 4273 ac_save_c_werror_flag=$ac_c_werror_flag
4483 ac_cxx_werror_flag=yes 4274 ac_c_werror_flag=yes
4484 ac_cv_prog_cxx_g=no 4275 ac_cv_prog_cc_g=no
4485 CXXFLAGS="-g" 4276 CFLAGS="-g"
4486 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4487 /* end confdefs.h. */ 4278 /* end confdefs.h. */
4488 4279
4489 int 4280 int
4490 main () 4281 main ()
4491 { 4282 {
4492 4283
4493 ; 4284 ;
4494 return 0; 4285 return 0;
4495 } 4286 }
4496 _ACEOF 4287 _ACEOF
4497 if ac_fn_cxx_try_compile "$LINENO"; then : 4288 if ac_fn_c_try_compile "$LINENO"; then :
4498 ac_cv_prog_cxx_g=yes 4289 ac_cv_prog_cc_g=yes
4499 else 4290 else
4500 CXXFLAGS="" 4291 CFLAGS=""
4501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4292 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4502 /* end confdefs.h. */ 4293 /* end confdefs.h. */
4503 4294
4504 int 4295 int
4505 main () 4296 main ()
4506 { 4297 {
4507 4298
4508 ; 4299 ;
4509 return 0; 4300 return 0;
4510 } 4301 }
4511 _ACEOF 4302 _ACEOF
4512 if ac_fn_cxx_try_compile "$LINENO"; then : 4303 if ac_fn_c_try_compile "$LINENO"; then :
4513 4304
4514 else 4305 else
4515 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 4306 ac_c_werror_flag=$ac_save_c_werror_flag
4516 » CXXFLAGS="-g" 4307 » CFLAGS="-g"
4517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4518 /* end confdefs.h. */ 4309 /* end confdefs.h. */
4519 4310
4520 int 4311 int
4521 main () 4312 main ()
4522 { 4313 {
4523 4314
4524 ; 4315 ;
4525 return 0; 4316 return 0;
4526 } 4317 }
4527 _ACEOF 4318 _ACEOF
4528 if ac_fn_cxx_try_compile "$LINENO"; then : 4319 if ac_fn_c_try_compile "$LINENO"; then :
4529 ac_cv_prog_cxx_g=yes 4320 ac_cv_prog_cc_g=yes
4530 fi 4321 fi
4531 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4322 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4532 fi 4323 fi
4533 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4324 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4534 fi 4325 fi
4535 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4326 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4536 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 4327 ac_c_werror_flag=$ac_save_c_werror_flag
4537 fi 4328 fi
4538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5 4329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4539 $as_echo "$ac_cv_prog_cxx_g" >&6; } 4330 $as_echo "$ac_cv_prog_cc_g" >&6; }
4540 if test "$ac_test_CXXFLAGS" = set; then 4331 if test "$ac_test_CFLAGS" = set; then
4541 CXXFLAGS=$ac_save_CXXFLAGS 4332 CFLAGS=$ac_save_CFLAGS
4542 elif test $ac_cv_prog_cxx_g = yes; then 4333 elif test $ac_cv_prog_cc_g = yes; then
4543 if test "$GXX" = yes; then 4334 if test "$GCC" = yes; then
4544 CXXFLAGS="-g -O2" 4335 CFLAGS="-g -O2"
4545 else 4336 else
4546 CXXFLAGS="-g" 4337 CFLAGS="-g"
4547 fi 4338 fi
4548 else 4339 else
4549 if test "$GXX" = yes; then 4340 if test "$GCC" = yes; then
4550 CXXFLAGS="-O2" 4341 CFLAGS="-O2"
4551 else 4342 else
4552 CXXFLAGS= 4343 CFLAGS=
4553 fi 4344 fi
4554 fi 4345 fi
4346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C 89" >&5
4347 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4348 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4349 $as_echo_n "(cached) " >&6
4350 else
4351 ac_cv_prog_cc_c89=no
4352 ac_save_CC=$CC
4353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4354 /* end confdefs.h. */
4355 #include <stdarg.h>
4356 #include <stdio.h>
4357 #include <sys/types.h>
4358 #include <sys/stat.h>
4359 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4360 struct buf { int x; };
4361 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4362 static char *e (p, i)
4363 char **p;
4364 int i;
4365 {
4366 return p[i];
4367 }
4368 static char *f (char * (*g) (char **, int), char **p, ...)
4369 {
4370 char *s;
4371 va_list v;
4372 va_start (v,p);
4373 s = g (p, va_arg (v,int));
4374 va_end (v);
4375 return s;
4376 }
4377
4378 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4379 function prototypes and stuff, but not '\xHH' hex character constants.
4380 These don't provoke an error unfortunately, instead are silently treated
4381 as 'x'. The following induces an error, until -std is added to get
4382 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4383 array size at least. It's necessary to write '\x00'==0 to get something
4384 that's true only with -std. */
4385 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4386
4387 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4388 inside strings and character constants. */
4389 #define FOO(x) 'x'
4390 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4391
4392 int test (int i, double x);
4393 struct s1 {int (*f) (int a);};
4394 struct s2 {int (*f) (double a);};
4395 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, i nt);
4396 int argc;
4397 char **argv;
4398 int
4399 main ()
4400 {
4401 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4402 ;
4403 return 0;
4404 }
4405 _ACEOF
4406 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4407 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4408 do
4409 CC="$ac_save_CC $ac_arg"
4410 if ac_fn_c_try_compile "$LINENO"; then :
4411 ac_cv_prog_cc_c89=$ac_arg
4412 fi
4413 rm -f core conftest.err conftest.$ac_objext
4414 test "x$ac_cv_prog_cc_c89" != "xno" && break
4415 done
4416 rm -f conftest.$ac_ext
4417 CC=$ac_save_CC
4418
4419 fi
4420 # AC_CACHE_VAL
4421 case "x$ac_cv_prog_cc_c89" in
4422 x)
4423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4424 $as_echo "none needed" >&6; } ;;
4425 xno)
4426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4427 $as_echo "unsupported" >&6; } ;;
4428 *)
4429 CC="$CC $ac_cv_prog_cc_c89"
4430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4431 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4432 esac
4433 if test "x$ac_cv_prog_cc_c89" != xno; then :
4434
4435 fi
4436
4555 ac_ext=c 4437 ac_ext=c
4556 ac_cpp='$CPP $CPPFLAGS' 4438 ac_cpp='$CPP $CPPFLAGS'
4557 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4439 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4558 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $ LIBS >&5' 4440 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $ LIBS >&5'
4559 ac_compiler_gnu=$ac_cv_c_compiler_gnu 4441 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4560 4442
4561 depcc="$CXX" am_compiler_list= 4443 depcc="$CC" am_compiler_list=
4562 4444
4563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >& 5 4445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >& 5
4564 $as_echo_n "checking dependency style of $depcc... " >&6; } 4446 $as_echo_n "checking dependency style of $depcc... " >&6; }
4565 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then : 4447 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
4566 $as_echo_n "(cached) " >&6 4448 $as_echo_n "(cached) " >&6
4567 else 4449 else
4568 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 4450 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4569 # We make a subdir and do the tests there. Otherwise we can end up 4451 # We make a subdir and do the tests there. Otherwise we can end up
4570 # making bogus files that we don't know about and never remove. For 4452 # making bogus files that we don't know about and never remove. For
4571 # instance it was reported that on HP-UX the gcc test will end up 4453 # instance it was reported that on HP-UX the gcc test will end up
4572 # making a dummy file named `D' -- because `-MD' means `put the output 4454 # making a dummy file named `D' -- because `-MD' means `put the output
4573 # in D'. 4455 # in D'.
4574 mkdir conftest.dir 4456 mkdir conftest.dir
4575 # Copy depcomp to subdir because otherwise we won't find it if we're 4457 # Copy depcomp to subdir because otherwise we won't find it if we're
4576 # using a relative directory. 4458 # using a relative directory.
4577 cp "$am_depcomp" conftest.dir 4459 cp "$am_depcomp" conftest.dir
4578 cd conftest.dir 4460 cd conftest.dir
4579 # We will build objects and dependencies in a subdirectory because 4461 # We will build objects and dependencies in a subdirectory because
4580 # it helps to detect inapplicable dependency modes. For instance 4462 # it helps to detect inapplicable dependency modes. For instance
4581 # both Tru64's cc and ICC support -MD to output dependencies as a 4463 # both Tru64's cc and ICC support -MD to output dependencies as a
4582 # side effect of compilation, but ICC will put the dependencies in 4464 # side effect of compilation, but ICC will put the dependencies in
4583 # the current directory while Tru64 will put them in the object 4465 # the current directory while Tru64 will put them in the object
4584 # directory. 4466 # directory.
4585 mkdir sub 4467 mkdir sub
4586 4468
4587 am_cv_CXX_dependencies_compiler_type=none 4469 am_cv_CC_dependencies_compiler_type=none
4588 if test "$am_compiler_list" = ""; then 4470 if test "$am_compiler_list" = ""; then
4589 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 4471 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4590 fi 4472 fi
4591 for depmode in $am_compiler_list; do 4473 for depmode in $am_compiler_list; do
4592 # Setup a source with many dependencies, because some compilers 4474 # Setup a source with many dependencies, because some compilers
4593 # like to wrap large dependency lists on column 80 (with \), and 4475 # like to wrap large dependency lists on column 80 (with \), and
4594 # we should not choose a depcomp mode which is confused by this. 4476 # we should not choose a depcomp mode which is confused by this.
4595 # 4477 #
4596 # We need to recreate these files for each test, as the compiler may 4478 # We need to recreate these files for each test, as the compiler may
4597 # overwrite some of them when testing with obscure command lines. 4479 # overwrite some of them when testing with obscure command lines.
(...skipping 20 matching lines...) Expand all
4618 none) break ;; 4500 none) break ;;
4619 esac 4501 esac
4620 # We check with `-c' and `-o' for the sake of the "dashmstdout" 4502 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4621 # mode. It turns out that the SunPro C++ compiler does not properly 4503 # mode. It turns out that the SunPro C++ compiler does not properly
4622 # handle `-M -o', and we need to detect this. 4504 # handle `-M -o', and we need to detect this.
4623 if depmode=$depmode \ 4505 if depmode=$depmode \
4624 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \ 4506 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
4625 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 4507 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4626 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \ 4508 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
4627 >/dev/null 2>conftest.err && 4509 >/dev/null 2>conftest.err &&
4510 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4628 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 4511 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4629 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 && 4512 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
4630 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 4513 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4631 # icc doesn't choke on unknown options, it will just issue warnings 4514 # icc doesn't choke on unknown options, it will just issue warnings
4632 # or remarks (even with -Werror). So we grep stderr for any message 4515 # or remarks (even with -Werror). So we grep stderr for any message
4633 # that says an option was ignored or not supported. 4516 # that says an option was ignored or not supported.
4634 # When given -MP, icc 7.0 and 7.1 complain thusly: 4517 # When given -MP, icc 7.0 and 7.1 complain thusly:
4635 # icc: Command line warning: ignoring option '-M'; no argument required 4518 # icc: Command line warning: ignoring option '-M'; no argument required
4636 # The diagnosis changed in icc 8.0: 4519 # The diagnosis changed in icc 8.0:
4637 # icc: Command line remark: option '-MP' not supported 4520 # icc: Command line remark: option '-MP' not supported
4638 if (grep 'ignoring option' conftest.err || 4521 if (grep 'ignoring option' conftest.err ||
4639 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 4522 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4640 am_cv_CXX_dependencies_compiler_type=$depmode 4523 am_cv_CC_dependencies_compiler_type=$depmode
4641 break 4524 break
4642 fi 4525 fi
4643 fi 4526 fi
4644 done 4527 done
4645 4528
4646 cd .. 4529 cd ..
4647 rm -rf conftest.dir 4530 rm -rf conftest.dir
4648 else 4531 else
4649 am_cv_CXX_dependencies_compiler_type=none 4532 am_cv_CC_dependencies_compiler_type=none
4650 fi 4533 fi
4651 4534
4652 fi 4535 fi
4653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compile r_type" >&5 4536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler _type" >&5
4654 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; } 4537 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4655 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type 4538 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4656 4539
4657 4540 if
4658
4659 if
4660 test "x$enable_dependency_tracking" != xno \ 4541 test "x$enable_dependency_tracking" != xno \
4661 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then 4542 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4662 am__fastdepCXX_TRUE= 4543 am__fastdepCC_TRUE=
4663 am__fastdepCXX_FALSE='#' 4544 am__fastdepCC_FALSE='#'
4664 else 4545 else
4665 am__fastdepCXX_TRUE='#' 4546 am__fastdepCC_TRUE='#'
4666 am__fastdepCXX_FALSE= 4547 am__fastdepCC_FALSE=
4667 fi 4548 fi
4668 4549
4669 4550
4551 ac_ext=c
4552 ac_cpp='$CPP $CPPFLAGS'
4553 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4554 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $ LIBS >&5'
4555 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4557 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4558 # On Suns, sometimes $CPP names a directory.
4559 if test -n "$CPP" && test -d "$CPP"; then
4560 CPP=
4561 fi
4562 if test -z "$CPP"; then
4563 if test "${ac_cv_prog_CPP+set}" = set; then :
4564 $as_echo_n "(cached) " >&6
4565 else
4566 # Double quotes because CPP needs to be expanded
4567 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4568 do
4569 ac_preproc_ok=false
4570 for ac_c_preproc_warn_flag in '' yes
4571 do
4572 # Use a header file that comes with gcc, so configuring glibc
4573 # with a fresh cross-compiler works.
4574 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4575 # <limits.h> exists even on freestanding compilers.
4576 # On the NeXT, cc -E runs the code through the compiler's parser,
4577 # not just through cpp. "Syntax error" is here to catch this case.
4578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4579 /* end confdefs.h. */
4580 #ifdef __STDC__
4581 # include <limits.h>
4582 #else
4583 # include <assert.h>
4584 #endif
4585 Syntax error
4586 _ACEOF
4587 if ac_fn_c_try_cpp "$LINENO"; then :
4670 4588
4589 else
4590 # Broken: fails on valid input.
4591 continue
4592 fi
4593 rm -f conftest.err conftest.$ac_ext
4671 4594
4672 if test "$GCC" = yes; then 4595 # OK, works on sane cases. Now check whether nonexistent headers
4596 # can be detected and how.
4597 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4598 /* end confdefs.h. */
4599 #include <ac_nonexistent.h>
4600 _ACEOF
4601 if ac_fn_c_try_cpp "$LINENO"; then :
4602 # Broken: success on invalid input.
4603 continue
4604 else
4605 # Passes both tests.
4606 ac_preproc_ok=:
4607 break
4608 fi
4609 rm -f conftest.err conftest.$ac_ext
4610
4611 done
4612 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4613 rm -f conftest.err conftest.$ac_ext
4614 if $ac_preproc_ok; then :
4615 break
4616 fi
4617
4618 done
4619 ac_cv_prog_CPP=$CPP
4620
4621 fi
4622 CPP=$ac_cv_prog_CPP
4623 else
4624 ac_cv_prog_CPP=$CPP
4625 fi
4626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4627 $as_echo "$CPP" >&6; }
4628 ac_preproc_ok=false
4629 for ac_c_preproc_warn_flag in '' yes
4630 do
4631 # Use a header file that comes with gcc, so configuring glibc
4632 # with a fresh cross-compiler works.
4633 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4634 # <limits.h> exists even on freestanding compilers.
4635 # On the NeXT, cc -E runs the code through the compiler's parser,
4636 # not just through cpp. "Syntax error" is here to catch this case.
4637 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4638 /* end confdefs.h. */
4639 #ifdef __STDC__
4640 # include <limits.h>
4641 #else
4642 # include <assert.h>
4643 #endif
4644 » » Syntax error
4645 _ACEOF
4646 if ac_fn_c_try_cpp "$LINENO"; then :
4647
4648 else
4649 # Broken: fails on valid input.
4650 continue
4651 fi
4652 rm -f conftest.err conftest.$ac_ext
4653
4654 # OK, works on sane cases. Now check whether nonexistent headers
4655 # can be detected and how.
4656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4657 /* end confdefs.h. */
4658 #include <ac_nonexistent.h>
4659 _ACEOF
4660 if ac_fn_c_try_cpp "$LINENO"; then :
4661 # Broken: success on invalid input.
4662 continue
4663 else
4664 # Passes both tests.
4665 ac_preproc_ok=:
4666 break
4667 fi
4668 rm -f conftest.err conftest.$ac_ext
4669
4670 done
4671 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4672 rm -f conftest.err conftest.$ac_ext
4673 if $ac_preproc_ok; then :
4674
4675 else
4676 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4677 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4678 as_fn_error "C preprocessor \"$CPP\" fails sanity check
4679 See \`config.log' for more details." "$LINENO" 5; }
4680 fi
4681
4682 ac_ext=c
4683 ac_cpp='$CPP $CPPFLAGS'
4684 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4685 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $ LIBS >&5'
4686 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4687
4688 if test "$GCC" = yes; then
4673 GCC_TRUE= 4689 GCC_TRUE=
4674 GCC_FALSE='#' 4690 GCC_FALSE='#'
4675 else 4691 else
4676 GCC_TRUE='#' 4692 GCC_TRUE='#'
4677 GCC_FALSE= 4693 GCC_FALSE=
4678 fi 4694 fi
4679 # let the Makefile know if we're gcc 4695 # let the Makefile know if we're gcc
4680 if test "x$CC" != xcc; then 4696 if test "x$CC" != xcc; then
4681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understan d -c and -o together" >&5 4697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understan d -c and -o together" >&5
4682 $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; } 4698 $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
(...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after
4793 set dummy $CC 4809 set dummy $CC
4794 ac_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'` 4810 ac_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
4795 if eval "test \"`echo '$ac_cv_prog_cc_'${ac_cc}_c_o`\" != yes"; then 4811 if eval "test \"`echo '$ac_cv_prog_cc_'${ac_cc}_c_o`\" != yes"; then
4796 # Losing compiler, so override with the script. 4812 # Losing compiler, so override with the script.
4797 # FIXME: It is wrong to rewrite CC. 4813 # FIXME: It is wrong to rewrite CC.
4798 # But if we don't then we get into trouble of one sort or another. 4814 # But if we don't then we get into trouble of one sort or another.
4799 # A longer-term fix would be to have automake use am__CC in this case, 4815 # A longer-term fix would be to have automake use am__CC in this case,
4800 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" 4816 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4801 CC="$am_aux_dir/compile $CC" 4817 CC="$am_aux_dir/compile $CC"
4802 fi 4818 fi
4819
4803 # shrug: autogen.sh suddenly needs this for some reason 4820 # shrug: autogen.sh suddenly needs this for some reason
4804 4821
4805 # Check if we have an objcopy installed that supports -W 4822 # Check if we have an objcopy installed that supports -W
4806 if test -n "$ac_tool_prefix"; then 4823 if test -n "$ac_tool_prefix"; then
4807 # Extract the first word of "${ac_tool_prefix}objcopy", so it can be a program name with args. 4824 # Extract the first word of "${ac_tool_prefix}objcopy", so it can be a program name with args.
4808 set dummy ${ac_tool_prefix}objcopy; ac_word=$2 4825 set dummy ${ac_tool_prefix}objcopy; ac_word=$2
4809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4810 $as_echo_n "checking for $ac_word... " >&6; } 4827 $as_echo_n "checking for $ac_word... " >&6; }
4811 if test "${ac_cv_prog_OBJCOPY+set}" = set; then : 4828 if test "${ac_cv_prog_OBJCOPY+set}" = set; then :
4812 $as_echo_n "(cached) " >&6 4829 $as_echo_n "(cached) " >&6
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after
4916 gpt_cv_objcopy_weaken=no 4933 gpt_cv_objcopy_weaken=no
4917 fi 4934 fi
4918 rm -f core conftest.err conftest.$ac_objext \ 4935 rm -f core conftest.err conftest.$ac_objext \
4919 conftest$ac_exeext conftest.$ac_ext 4936 conftest$ac_exeext conftest.$ac_ext
4920 fi 4937 fi
4921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gpt_cv_objcopy_weaken" >&5 4938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gpt_cv_objcopy_weaken" >&5
4922 $as_echo "$gpt_cv_objcopy_weaken" >&6; } 4939 $as_echo "$gpt_cv_objcopy_weaken" >&6; }
4923 else 4940 else
4924 gpt_cv_objcopy_weaken=no 4941 gpt_cv_objcopy_weaken=no
4925 fi 4942 fi
4926 4943 if test $gpt_cv_objcopy_weaken = yes; then
4927
4928 if test $gpt_cv_objcopy_weaken = yes; then
4929 HAVE_OBJCOPY_WEAKEN_TRUE= 4944 HAVE_OBJCOPY_WEAKEN_TRUE=
4930 HAVE_OBJCOPY_WEAKEN_FALSE='#' 4945 HAVE_OBJCOPY_WEAKEN_FALSE='#'
4931 else 4946 else
4932 HAVE_OBJCOPY_WEAKEN_TRUE='#' 4947 HAVE_OBJCOPY_WEAKEN_TRUE='#'
4933 HAVE_OBJCOPY_WEAKEN_FALSE= 4948 HAVE_OBJCOPY_WEAKEN_FALSE=
4934 fi 4949 fi
4935 4950
4936 4951
4937 case $host_os in 4952 case $host_os in
4938 *mingw*) 4953 *mingw*)
(...skipping 667 matching lines...) Expand 10 before | Expand all | Expand 10 after
5606 5621
5607 5622
5608 5623
5609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interfac e" >&5 5624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interfac e" >&5
5610 $as_echo_n "checking the name lister ($NM) interface... " >&6; } 5625 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5611 if test "${lt_cv_nm_interface+set}" = set; then : 5626 if test "${lt_cv_nm_interface+set}" = set; then :
5612 $as_echo_n "(cached) " >&6 5627 $as_echo_n "(cached) " >&6
5613 else 5628 else
5614 lt_cv_nm_interface="BSD nm" 5629 lt_cv_nm_interface="BSD nm"
5615 echo "int some_variable = 0;" > conftest.$ac_ext 5630 echo "int some_variable = 0;" > conftest.$ac_ext
5616 (eval echo "\"\$as_me:5616: $ac_compile\"" >&5) 5631 (eval echo "\"\$as_me:5631: $ac_compile\"" >&5)
5617 (eval "$ac_compile" 2>conftest.err) 5632 (eval "$ac_compile" 2>conftest.err)
5618 cat conftest.err >&5 5633 cat conftest.err >&5
5619 (eval echo "\"\$as_me:5619: $NM \\\"conftest.$ac_objext\\\"\"" >&5) 5634 (eval echo "\"\$as_me:5634: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5620 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out) 5635 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5621 cat conftest.err >&5 5636 cat conftest.err >&5
5622 (eval echo "\"\$as_me:5622: output\"" >&5) 5637 (eval echo "\"\$as_me:5637: output\"" >&5)
5623 cat conftest.out >&5 5638 cat conftest.out >&5
5624 if $GREP 'External.*some_variable' conftest.out > /dev/null; then 5639 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5625 lt_cv_nm_interface="MS dumpbin" 5640 lt_cv_nm_interface="MS dumpbin"
5626 fi 5641 fi
5627 rm -f conftest* 5642 rm -f conftest*
5628 fi 5643 fi
5629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5 5644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5630 $as_echo "$lt_cv_nm_interface" >&6; } 5645 $as_echo "$lt_cv_nm_interface" >&6; }
5631 5646
5632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5 5647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
(...skipping 1184 matching lines...) Expand 10 before | Expand all | Expand 10 after
6817 ;; 6832 ;;
6818 *ELF-64*) 6833 *ELF-64*)
6819 HPUX_IA64_MODE="64" 6834 HPUX_IA64_MODE="64"
6820 ;; 6835 ;;
6821 esac 6836 esac
6822 fi 6837 fi
6823 rm -rf conftest* 6838 rm -rf conftest*
6824 ;; 6839 ;;
6825 *-*-irix6*) 6840 *-*-irix6*)
6826 # Find out which ABI we are using. 6841 # Find out which ABI we are using.
6827 echo '#line 6827 "configure"' > conftest.$ac_ext 6842 echo '#line 6842 "configure"' > conftest.$ac_ext
6828 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 6843 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6829 (eval $ac_compile) 2>&5 6844 (eval $ac_compile) 2>&5
6830 ac_status=$? 6845 ac_status=$?
6831 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6846 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6832 test $ac_status = 0; }; then 6847 test $ac_status = 0; }; then
6833 if test "$lt_cv_prog_gnu_ld" = yes; then 6848 if test "$lt_cv_prog_gnu_ld" = yes; then
6834 case `/usr/bin/file conftest.$ac_objext` in 6849 case `/usr/bin/file conftest.$ac_objext` in
6835 *32-bit*) 6850 *32-bit*)
6836 LD="${LD-ld} -melf32bsmip" 6851 LD="${LD-ld} -melf32bsmip"
6837 ;; 6852 ;;
(...skipping 1196 matching lines...) Expand 10 before | Expand all | Expand 10 after
8034 none) break ;; 8049 none) break ;;
8035 esac 8050 esac
8036 # We check with `-c' and `-o' for the sake of the "dashmstdout" 8051 # We check with `-c' and `-o' for the sake of the "dashmstdout"
8037 # mode. It turns out that the SunPro C++ compiler does not properly 8052 # mode. It turns out that the SunPro C++ compiler does not properly
8038 # handle `-M -o', and we need to detect this. 8053 # handle `-M -o', and we need to detect this.
8039 if depmode=$depmode \ 8054 if depmode=$depmode \
8040 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \ 8055 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
8041 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 8056 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
8042 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \ 8057 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
8043 >/dev/null 2>conftest.err && 8058 >/dev/null 2>conftest.err &&
8059 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
8044 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 8060 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
8045 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 && 8061 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
8046 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 8062 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
8047 # icc doesn't choke on unknown options, it will just issue warnings 8063 # icc doesn't choke on unknown options, it will just issue warnings
8048 # or remarks (even with -Werror). So we grep stderr for any message 8064 # or remarks (even with -Werror). So we grep stderr for any message
8049 # that says an option was ignored or not supported. 8065 # that says an option was ignored or not supported.
8050 # When given -MP, icc 7.0 and 7.1 complain thusly: 8066 # When given -MP, icc 7.0 and 7.1 complain thusly:
8051 # icc: Command line warning: ignoring option '-M'; no argument required 8067 # icc: Command line warning: ignoring option '-M'; no argument required
8052 # The diagnosis changed in icc 8.0: 8068 # The diagnosis changed in icc 8.0:
8053 # icc: Command line remark: option '-MP' not supported 8069 # icc: Command line remark: option '-MP' not supported
8054 if (grep 'ignoring option' conftest.err || 8070 if (grep 'ignoring option' conftest.err ||
8055 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 8071 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
8056 am_cv_CXX_dependencies_compiler_type=$depmode 8072 am_cv_CXX_dependencies_compiler_type=$depmode
8057 break 8073 break
8058 fi 8074 fi
8059 fi 8075 fi
8060 done 8076 done
8061 8077
8062 cd .. 8078 cd ..
8063 rm -rf conftest.dir 8079 rm -rf conftest.dir
8064 else 8080 else
8065 am_cv_CXX_dependencies_compiler_type=none 8081 am_cv_CXX_dependencies_compiler_type=none
8066 fi 8082 fi
8067 8083
8068 fi 8084 fi
8069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compile r_type" >&5 8085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compile r_type" >&5
8070 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; } 8086 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
8071 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type 8087 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
8072 8088
8073 8089 if
8074
8075 if
8076 test "x$enable_dependency_tracking" != xno \ 8090 test "x$enable_dependency_tracking" != xno \
8077 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then 8091 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
8078 am__fastdepCXX_TRUE= 8092 am__fastdepCXX_TRUE=
8079 am__fastdepCXX_FALSE='#' 8093 am__fastdepCXX_FALSE='#'
8080 else 8094 else
8081 am__fastdepCXX_TRUE='#' 8095 am__fastdepCXX_TRUE='#'
8082 am__fastdepCXX_FALSE= 8096 am__fastdepCXX_FALSE=
8083 fi 8097 fi
8084 8098
8085 8099
(...skipping 604 matching lines...) Expand 10 before | Expand all | Expand 10 after
8690 lt_compiler_flag="-fno-rtti -fno-exceptions" 8704 lt_compiler_flag="-fno-rtti -fno-exceptions"
8691 # Insert the option either (1) after the last *FLAGS variable, or 8705 # Insert the option either (1) after the last *FLAGS variable, or
8692 # (2) before a word containing "conftest.", or (3) at the end. 8706 # (2) before a word containing "conftest.", or (3) at the end.
8693 # Note that $ac_compile itself does not contain backslashes and begins 8707 # Note that $ac_compile itself does not contain backslashes and begins
8694 # with a dollar sign (not a hyphen), so the echo should work correctly. 8708 # with a dollar sign (not a hyphen), so the echo should work correctly.
8695 # The option is referenced via a variable to avoid confusing sed. 8709 # The option is referenced via a variable to avoid confusing sed.
8696 lt_compile=`echo "$ac_compile" | $SED \ 8710 lt_compile=`echo "$ac_compile" | $SED \
8697 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 8711 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8698 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 8712 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8699 -e 's:$: $lt_compiler_flag:'` 8713 -e 's:$: $lt_compiler_flag:'`
8700 (eval echo "\"\$as_me:8700: $lt_compile\"" >&5) 8714 (eval echo "\"\$as_me:8714: $lt_compile\"" >&5)
8701 (eval "$lt_compile" 2>conftest.err) 8715 (eval "$lt_compile" 2>conftest.err)
8702 ac_status=$? 8716 ac_status=$?
8703 cat conftest.err >&5 8717 cat conftest.err >&5
8704 echo "$as_me:8704: \$? = $ac_status" >&5 8718 echo "$as_me:8718: \$? = $ac_status" >&5
8705 if (exit $ac_status) && test -s "$ac_outfile"; then 8719 if (exit $ac_status) && test -s "$ac_outfile"; then
8706 # The compiler can only warn and ignore the option if not recognized 8720 # The compiler can only warn and ignore the option if not recognized
8707 # So say no if there are warnings other than the usual output. 8721 # So say no if there are warnings other than the usual output.
8708 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp 8722 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
8709 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 8723 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8710 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; the n 8724 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; the n
8711 lt_cv_prog_compiler_rtti_exceptions=yes 8725 lt_cv_prog_compiler_rtti_exceptions=yes
8712 fi 8726 fi
8713 fi 8727 fi
8714 $RM conftest* 8728 $RM conftest*
(...skipping 314 matching lines...) Expand 10 before | Expand all | Expand 10 after
9029 lt_compiler_flag="$lt_prog_compiler_pic -DPIC" 9043 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
9030 # Insert the option either (1) after the last *FLAGS variable, or 9044 # Insert the option either (1) after the last *FLAGS variable, or
9031 # (2) before a word containing "conftest.", or (3) at the end. 9045 # (2) before a word containing "conftest.", or (3) at the end.
9032 # Note that $ac_compile itself does not contain backslashes and begins 9046 # Note that $ac_compile itself does not contain backslashes and begins
9033 # with a dollar sign (not a hyphen), so the echo should work correctly. 9047 # with a dollar sign (not a hyphen), so the echo should work correctly.
9034 # The option is referenced via a variable to avoid confusing sed. 9048 # The option is referenced via a variable to avoid confusing sed.
9035 lt_compile=`echo "$ac_compile" | $SED \ 9049 lt_compile=`echo "$ac_compile" | $SED \
9036 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 9050 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9037 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 9051 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9038 -e 's:$: $lt_compiler_flag:'` 9052 -e 's:$: $lt_compiler_flag:'`
9039 (eval echo "\"\$as_me:9039: $lt_compile\"" >&5) 9053 (eval echo "\"\$as_me:9053: $lt_compile\"" >&5)
9040 (eval "$lt_compile" 2>conftest.err) 9054 (eval "$lt_compile" 2>conftest.err)
9041 ac_status=$? 9055 ac_status=$?
9042 cat conftest.err >&5 9056 cat conftest.err >&5
9043 echo "$as_me:9043: \$? = $ac_status" >&5 9057 echo "$as_me:9057: \$? = $ac_status" >&5
9044 if (exit $ac_status) && test -s "$ac_outfile"; then 9058 if (exit $ac_status) && test -s "$ac_outfile"; then
9045 # The compiler can only warn and ignore the option if not recognized 9059 # The compiler can only warn and ignore the option if not recognized
9046 # So say no if there are warnings other than the usual output. 9060 # So say no if there are warnings other than the usual output.
9047 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp 9061 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
9048 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 9062 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9049 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; the n 9063 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; the n
9050 lt_cv_prog_compiler_pic_works=yes 9064 lt_cv_prog_compiler_pic_works=yes
9051 fi 9065 fi
9052 fi 9066 fi
9053 $RM conftest* 9067 $RM conftest*
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
9134 9148
9135 lt_compiler_flag="-o out/conftest2.$ac_objext" 9149 lt_compiler_flag="-o out/conftest2.$ac_objext"
9136 # Insert the option either (1) after the last *FLAGS variable, or 9150 # Insert the option either (1) after the last *FLAGS variable, or
9137 # (2) before a word containing "conftest.", or (3) at the end. 9151 # (2) before a word containing "conftest.", or (3) at the end.
9138 # Note that $ac_compile itself does not contain backslashes and begins 9152 # Note that $ac_compile itself does not contain backslashes and begins
9139 # with a dollar sign (not a hyphen), so the echo should work correctly. 9153 # with a dollar sign (not a hyphen), so the echo should work correctly.
9140 lt_compile=`echo "$ac_compile" | $SED \ 9154 lt_compile=`echo "$ac_compile" | $SED \
9141 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 9155 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9142 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 9156 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9143 -e 's:$: $lt_compiler_flag:'` 9157 -e 's:$: $lt_compiler_flag:'`
9144 (eval echo "\"\$as_me:9144: $lt_compile\"" >&5) 9158 (eval echo "\"\$as_me:9158: $lt_compile\"" >&5)
9145 (eval "$lt_compile" 2>out/conftest.err) 9159 (eval "$lt_compile" 2>out/conftest.err)
9146 ac_status=$? 9160 ac_status=$?
9147 cat out/conftest.err >&5 9161 cat out/conftest.err >&5
9148 echo "$as_me:9148: \$? = $ac_status" >&5 9162 echo "$as_me:9162: \$? = $ac_status" >&5
9149 if (exit $ac_status) && test -s out/conftest2.$ac_objext 9163 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9150 then 9164 then
9151 # The compiler can only warn and ignore the option if not recognized 9165 # The compiler can only warn and ignore the option if not recognized
9152 # So say no if there are warnings 9166 # So say no if there are warnings
9153 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp 9167 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
9154 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 9168 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9155 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/d ev/null; then 9169 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/d ev/null; then
9156 lt_cv_prog_compiler_c_o=yes 9170 lt_cv_prog_compiler_c_o=yes
9157 fi 9171 fi
9158 fi 9172 fi
(...skipping 30 matching lines...) Expand all
9189 9203
9190 lt_compiler_flag="-o out/conftest2.$ac_objext" 9204 lt_compiler_flag="-o out/conftest2.$ac_objext"
9191 # Insert the option either (1) after the last *FLAGS variable, or 9205 # Insert the option either (1) after the last *FLAGS variable, or
9192 # (2) before a word containing "conftest.", or (3) at the end. 9206 # (2) before a word containing "conftest.", or (3) at the end.
9193 # Note that $ac_compile itself does not contain backslashes and begins 9207 # Note that $ac_compile itself does not contain backslashes and begins
9194 # with a dollar sign (not a hyphen), so the echo should work correctly. 9208 # with a dollar sign (not a hyphen), so the echo should work correctly.
9195 lt_compile=`echo "$ac_compile" | $SED \ 9209 lt_compile=`echo "$ac_compile" | $SED \
9196 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 9210 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9197 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 9211 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9198 -e 's:$: $lt_compiler_flag:'` 9212 -e 's:$: $lt_compiler_flag:'`
9199 (eval echo "\"\$as_me:9199: $lt_compile\"" >&5) 9213 (eval echo "\"\$as_me:9213: $lt_compile\"" >&5)
9200 (eval "$lt_compile" 2>out/conftest.err) 9214 (eval "$lt_compile" 2>out/conftest.err)
9201 ac_status=$? 9215 ac_status=$?
9202 cat out/conftest.err >&5 9216 cat out/conftest.err >&5
9203 echo "$as_me:9203: \$? = $ac_status" >&5 9217 echo "$as_me:9217: \$? = $ac_status" >&5
9204 if (exit $ac_status) && test -s out/conftest2.$ac_objext 9218 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9205 then 9219 then
9206 # The compiler can only warn and ignore the option if not recognized 9220 # The compiler can only warn and ignore the option if not recognized
9207 # So say no if there are warnings 9221 # So say no if there are warnings
9208 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp 9222 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
9209 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 9223 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9210 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/d ev/null; then 9224 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/d ev/null; then
9211 lt_cv_prog_compiler_c_o=yes 9225 lt_cv_prog_compiler_c_o=yes
9212 fi 9226 fi
9213 fi 9227 fi
(...skipping 2359 matching lines...) Expand 10 before | Expand all | Expand 10 after
11573 $as_echo_n "checking whether a program can dlopen itself... " >&6; } 11587 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11574 if test "${lt_cv_dlopen_self+set}" = set; then : 11588 if test "${lt_cv_dlopen_self+set}" = set; then :
11575 $as_echo_n "(cached) " >&6 11589 $as_echo_n "(cached) " >&6
11576 else 11590 else
11577 if test "$cross_compiling" = yes; then : 11591 if test "$cross_compiling" = yes; then :
11578 lt_cv_dlopen_self=cross 11592 lt_cv_dlopen_self=cross
11579 else 11593 else
11580 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 11594 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11581 lt_status=$lt_dlunknown 11595 lt_status=$lt_dlunknown
11582 cat > conftest.$ac_ext <<_LT_EOF 11596 cat > conftest.$ac_ext <<_LT_EOF
11583 #line 11583 "configure" 11597 #line 11597 "configure"
11584 #include "confdefs.h" 11598 #include "confdefs.h"
11585 11599
11586 #if HAVE_DLFCN_H 11600 #if HAVE_DLFCN_H
11587 #include <dlfcn.h> 11601 #include <dlfcn.h>
11588 #endif 11602 #endif
11589 11603
11590 #include <stdio.h> 11604 #include <stdio.h>
11591 11605
11592 #ifdef RTLD_GLOBAL 11606 #ifdef RTLD_GLOBAL
11593 # define LT_DLGLOBAL RTLD_GLOBAL 11607 # define LT_DLGLOBAL RTLD_GLOBAL
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
11669 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; } 11683 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11670 if test "${lt_cv_dlopen_self_static+set}" = set; then : 11684 if test "${lt_cv_dlopen_self_static+set}" = set; then :
11671 $as_echo_n "(cached) " >&6 11685 $as_echo_n "(cached) " >&6
11672 else 11686 else
11673 if test "$cross_compiling" = yes; then : 11687 if test "$cross_compiling" = yes; then :
11674 lt_cv_dlopen_self_static=cross 11688 lt_cv_dlopen_self_static=cross
11675 else 11689 else
11676 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 11690 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11677 lt_status=$lt_dlunknown 11691 lt_status=$lt_dlunknown
11678 cat > conftest.$ac_ext <<_LT_EOF 11692 cat > conftest.$ac_ext <<_LT_EOF
11679 #line 11679 "configure" 11693 #line 11693 "configure"
11680 #include "confdefs.h" 11694 #include "confdefs.h"
11681 11695
11682 #if HAVE_DLFCN_H 11696 #if HAVE_DLFCN_H
11683 #include <dlfcn.h> 11697 #include <dlfcn.h>
11684 #endif 11698 #endif
11685 11699
11686 #include <stdio.h> 11700 #include <stdio.h>
11687 11701
11688 #ifdef RTLD_GLOBAL 11702 #ifdef RTLD_GLOBAL
11689 # define LT_DLGLOBAL RTLD_GLOBAL 11703 # define LT_DLGLOBAL RTLD_GLOBAL
(...skipping 1935 matching lines...) Expand 10 before | Expand all | Expand 10 after
13625 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC" 13639 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
13626 # Insert the option either (1) after the last *FLAGS variable, or 13640 # Insert the option either (1) after the last *FLAGS variable, or
13627 # (2) before a word containing "conftest.", or (3) at the end. 13641 # (2) before a word containing "conftest.", or (3) at the end.
13628 # Note that $ac_compile itself does not contain backslashes and begins 13642 # Note that $ac_compile itself does not contain backslashes and begins
13629 # with a dollar sign (not a hyphen), so the echo should work correctly. 13643 # with a dollar sign (not a hyphen), so the echo should work correctly.
13630 # The option is referenced via a variable to avoid confusing sed. 13644 # The option is referenced via a variable to avoid confusing sed.
13631 lt_compile=`echo "$ac_compile" | $SED \ 13645 lt_compile=`echo "$ac_compile" | $SED \
13632 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 13646 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13633 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 13647 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13634 -e 's:$: $lt_compiler_flag:'` 13648 -e 's:$: $lt_compiler_flag:'`
13635 (eval echo "\"\$as_me:13635: $lt_compile\"" >&5) 13649 (eval echo "\"\$as_me:13649: $lt_compile\"" >&5)
13636 (eval "$lt_compile" 2>conftest.err) 13650 (eval "$lt_compile" 2>conftest.err)
13637 ac_status=$? 13651 ac_status=$?
13638 cat conftest.err >&5 13652 cat conftest.err >&5
13639 echo "$as_me:13639: \$? = $ac_status" >&5 13653 echo "$as_me:13653: \$? = $ac_status" >&5
13640 if (exit $ac_status) && test -s "$ac_outfile"; then 13654 if (exit $ac_status) && test -s "$ac_outfile"; then
13641 # The compiler can only warn and ignore the option if not recognized 13655 # The compiler can only warn and ignore the option if not recognized
13642 # So say no if there are warnings other than the usual output. 13656 # So say no if there are warnings other than the usual output.
13643 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp 13657 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
13644 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 13658 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13645 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; the n 13659 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; the n
13646 lt_cv_prog_compiler_pic_works_CXX=yes 13660 lt_cv_prog_compiler_pic_works_CXX=yes
13647 fi 13661 fi
13648 fi 13662 fi
13649 $RM conftest* 13663 $RM conftest*
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
13724 13738
13725 lt_compiler_flag="-o out/conftest2.$ac_objext" 13739 lt_compiler_flag="-o out/conftest2.$ac_objext"
13726 # Insert the option either (1) after the last *FLAGS variable, or 13740 # Insert the option either (1) after the last *FLAGS variable, or
13727 # (2) before a word containing "conftest.", or (3) at the end. 13741 # (2) before a word containing "conftest.", or (3) at the end.
13728 # Note that $ac_compile itself does not contain backslashes and begins 13742 # Note that $ac_compile itself does not contain backslashes and begins
13729 # with a dollar sign (not a hyphen), so the echo should work correctly. 13743 # with a dollar sign (not a hyphen), so the echo should work correctly.
13730 lt_compile=`echo "$ac_compile" | $SED \ 13744 lt_compile=`echo "$ac_compile" | $SED \
13731 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 13745 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13732 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 13746 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13733 -e 's:$: $lt_compiler_flag:'` 13747 -e 's:$: $lt_compiler_flag:'`
13734 (eval echo "\"\$as_me:13734: $lt_compile\"" >&5) 13748 (eval echo "\"\$as_me:13748: $lt_compile\"" >&5)
13735 (eval "$lt_compile" 2>out/conftest.err) 13749 (eval "$lt_compile" 2>out/conftest.err)
13736 ac_status=$? 13750 ac_status=$?
13737 cat out/conftest.err >&5 13751 cat out/conftest.err >&5
13738 echo "$as_me:13738: \$? = $ac_status" >&5 13752 echo "$as_me:13752: \$? = $ac_status" >&5
13739 if (exit $ac_status) && test -s out/conftest2.$ac_objext 13753 if (exit $ac_status) && test -s out/conftest2.$ac_objext
13740 then 13754 then
13741 # The compiler can only warn and ignore the option if not recognized 13755 # The compiler can only warn and ignore the option if not recognized
13742 # So say no if there are warnings 13756 # So say no if there are warnings
13743 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp 13757 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
13744 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 13758 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13745 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/d ev/null; then 13759 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/d ev/null; then
13746 lt_cv_prog_compiler_c_o_CXX=yes 13760 lt_cv_prog_compiler_c_o_CXX=yes
13747 fi 13761 fi
13748 fi 13762 fi
(...skipping 27 matching lines...) Expand all
13776 13790
13777 lt_compiler_flag="-o out/conftest2.$ac_objext" 13791 lt_compiler_flag="-o out/conftest2.$ac_objext"
13778 # Insert the option either (1) after the last *FLAGS variable, or 13792 # Insert the option either (1) after the last *FLAGS variable, or
13779 # (2) before a word containing "conftest.", or (3) at the end. 13793 # (2) before a word containing "conftest.", or (3) at the end.
13780 # Note that $ac_compile itself does not contain backslashes and begins 13794 # Note that $ac_compile itself does not contain backslashes and begins
13781 # with a dollar sign (not a hyphen), so the echo should work correctly. 13795 # with a dollar sign (not a hyphen), so the echo should work correctly.
13782 lt_compile=`echo "$ac_compile" | $SED \ 13796 lt_compile=`echo "$ac_compile" | $SED \
13783 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 13797 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13784 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 13798 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13785 -e 's:$: $lt_compiler_flag:'` 13799 -e 's:$: $lt_compiler_flag:'`
13786 (eval echo "\"\$as_me:13786: $lt_compile\"" >&5) 13800 (eval echo "\"\$as_me:13800: $lt_compile\"" >&5)
13787 (eval "$lt_compile" 2>out/conftest.err) 13801 (eval "$lt_compile" 2>out/conftest.err)
13788 ac_status=$? 13802 ac_status=$?
13789 cat out/conftest.err >&5 13803 cat out/conftest.err >&5
13790 echo "$as_me:13790: \$? = $ac_status" >&5 13804 echo "$as_me:13804: \$? = $ac_status" >&5
13791 if (exit $ac_status) && test -s out/conftest2.$ac_objext 13805 if (exit $ac_status) && test -s out/conftest2.$ac_objext
13792 then 13806 then
13793 # The compiler can only warn and ignore the option if not recognized 13807 # The compiler can only warn and ignore the option if not recognized
13794 # So say no if there are warnings 13808 # So say no if there are warnings
13795 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp 13809 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
13796 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 13810 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13797 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/d ev/null; then 13811 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/d ev/null; then
13798 lt_cv_prog_compiler_c_o_CXX=yes 13812 lt_cv_prog_compiler_c_o_CXX=yes
13799 fi 13813 fi
13800 fi 13814 fi
(...skipping 943 matching lines...) Expand 10 before | Expand all | Expand 10 after
14744 14758
14745 ac_config_commands="$ac_config_commands libtool" 14759 ac_config_commands="$ac_config_commands libtool"
14746 14760
14747 14761
14748 14762
14749 14763
14750 # Only expand once: 14764 # Only expand once:
14751 14765
14752 14766
14753 14767
14754 14768 if test "x$LIBTOOL" != "x"; then
14755
14756 if test "x$LIBTOOL" != "x"; then
14757 USE_LIBTOOL_TRUE= 14769 USE_LIBTOOL_TRUE=
14758 USE_LIBTOOL_FALSE='#' 14770 USE_LIBTOOL_FALSE='#'
14759 else 14771 else
14760 USE_LIBTOOL_TRUE='#' 14772 USE_LIBTOOL_TRUE='#'
14761 USE_LIBTOOL_FALSE= 14773 USE_LIBTOOL_FALSE=
14762 fi 14774 fi
14763 14775
14764 14776
14765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5 14777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
14766 $as_echo_n "checking for inline... " >&6; } 14778 $as_echo_n "checking for inline... " >&6; }
(...skipping 587 matching lines...) Expand 10 before | Expand all | Expand 10 after
15354 ac_have_decl=0 15366 ac_have_decl=0
15355 fi 15367 fi
15356 15368
15357 cat >>confdefs.h <<_ACEOF 15369 cat >>confdefs.h <<_ACEOF
15358 #define HAVE_DECL_PVALLOC $ac_have_decl 15370 #define HAVE_DECL_PVALLOC $ac_have_decl
15359 _ACEOF 15371 _ACEOF
15360 15372
15361 15373
15362 if test "$ac_cv_type_struct_mallinfo" = yes; then 15374 if test "$ac_cv_type_struct_mallinfo" = yes; then
15363 ac_cv_have_struct_mallinfo=1 15375 ac_cv_have_struct_mallinfo=1
15364 # google/tcmalloc.h needs this 15376 # gperftools/tcmalloc.h needs this
15365 else 15377 else
15366 ac_cv_have_struct_mallinfo=0 15378 ac_cv_have_struct_mallinfo=0
15367 15379
15368 fi 15380 fi
15369 15381
15370 # We need to check for mmap. cygwin supports mmap, but the autoconf 15382 # We need to check for mmap. cygwin supports mmap, but the autoconf
15371 # test doesn't work on cygwin: 15383 # test doesn't work on cygwin:
15372 # http://www.cygwin.com/ml/cygwin/2002-04/msg00412.html 15384 # http://www.cygwin.com/ml/cygwin/2002-04/msg00412.html
15373 # This workaround comes from 15385 # This workaround comes from
15374 # http://cygwin.com/ml/cygwin/2004-11/msg00138.html 15386 # http://cygwin.com/ml/cygwin/2004-11/msg00138.html
(...skipping 441 matching lines...) Expand 10 before | Expand all | Expand 10 after
15816 done 15828 done
15817 fi 15829 fi
15818 if ! $pc_field_found; then 15830 if ! $pc_field_found; then
15819 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Could not find the PC. W ill not try to compile libprofiler..." >&5 15831 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Could not find the PC. W ill not try to compile libprofiler..." >&5
15820 $as_echo "$as_me: WARNING: Could not find the PC. Will not try to compile libpr ofiler..." >&2;}; 15832 $as_echo "$as_me: WARNING: Could not find the PC. Will not try to compile libpr ofiler..." >&2;};
15821 enable_cpu_profiler=no 15833 enable_cpu_profiler=no
15822 fi 15834 fi
15823 fi 15835 fi
15824 15836
15825 # Some tests test the behavior of .so files, and only make sense for dynamic. 15837 # Some tests test the behavior of .so files, and only make sense for dynamic.
15826 15838 if test "$enable_static" = yes; then
15827
15828 if test "$enable_static" = yes; then
15829 ENABLE_STATIC_TRUE= 15839 ENABLE_STATIC_TRUE=
15830 ENABLE_STATIC_FALSE='#' 15840 ENABLE_STATIC_FALSE='#'
15831 else 15841 else
15832 ENABLE_STATIC_TRUE='#' 15842 ENABLE_STATIC_TRUE='#'
15833 ENABLE_STATIC_FALSE= 15843 ENABLE_STATIC_FALSE=
15834 fi 15844 fi
15835 15845
15836 15846
15837 # We want to link in libunwind if it exists 15847 # We want to link in libunwind if it exists
15838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for backtrace in -lunwind" >&5 15848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for backtrace in -lunwind" >&5
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
15881 15891
15882 # On x86_64, instead of libunwind, we can choose to compile with frame-pointers 15892 # On x86_64, instead of libunwind, we can choose to compile with frame-pointers
15883 # (This isn't needed on i386, where -fno-omit-frame-pointer is the default). 15893 # (This isn't needed on i386, where -fno-omit-frame-pointer is the default).
15884 # Check whether --enable-frame_pointers was given. 15894 # Check whether --enable-frame_pointers was given.
15885 if test "${enable_frame_pointers+set}" = set; then : 15895 if test "${enable_frame_pointers+set}" = set; then :
15886 enableval=$enable_frame_pointers; 15896 enableval=$enable_frame_pointers;
15887 else 15897 else
15888 enable_frame_pointers=no 15898 enable_frame_pointers=no
15889 fi 15899 fi
15890 15900
15891 15901 if test "$enable_frame_pointers" = yes; then
15892
15893 if test "$enable_frame_pointers" = yes; then
15894 ENABLE_FRAME_POINTERS_TRUE= 15902 ENABLE_FRAME_POINTERS_TRUE=
15895 ENABLE_FRAME_POINTERS_FALSE='#' 15903 ENABLE_FRAME_POINTERS_FALSE='#'
15896 else 15904 else
15897 ENABLE_FRAME_POINTERS_TRUE='#' 15905 ENABLE_FRAME_POINTERS_TRUE='#'
15898 ENABLE_FRAME_POINTERS_FALSE= 15906 ENABLE_FRAME_POINTERS_FALSE=
15899 fi 15907 fi
15900 15908
15901 15909
15902 # Some x86_64 systems do not insert frame pointers by default (all 15910 # Some x86_64 systems do not insert frame pointers by default (all
15903 # i386 systems that I know of, do. I don't know about non-x86 chips). 15911 # i386 systems that I know of, do. I don't know about non-x86 chips).
(...skipping 29 matching lines...) Expand all
15933 ; 15941 ;
15934 return 0; 15942 return 0;
15935 } 15943 }
15936 _ACEOF 15944 _ACEOF
15937 if ac_fn_c_try_compile "$LINENO"; then : 15945 if ac_fn_c_try_compile "$LINENO"; then :
15938 : 15946 :
15939 else 15947 else
15940 : 15948 :
15941 fi 15949 fi
15942 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 15950 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15943 15951 if test "$is_x86_64" = yes && ! grep 'mov.*rsp.*rbp' fp.s >/dev/null 2>&1; then
15944
15945 if test "$is_x86_64" = yes && ! grep 'mov.*rsp.*rbp' fp.s >/dev/null 2>&1; then
15946 X86_64_AND_NO_FP_BY_DEFAULT_TRUE= 15952 X86_64_AND_NO_FP_BY_DEFAULT_TRUE=
15947 X86_64_AND_NO_FP_BY_DEFAULT_FALSE='#' 15953 X86_64_AND_NO_FP_BY_DEFAULT_FALSE='#'
15948 else 15954 else
15949 X86_64_AND_NO_FP_BY_DEFAULT_TRUE='#' 15955 X86_64_AND_NO_FP_BY_DEFAULT_TRUE='#'
15950 X86_64_AND_NO_FP_BY_DEFAULT_FALSE= 15956 X86_64_AND_NO_FP_BY_DEFAULT_FALSE=
15951 fi 15957 fi
15952 15958
15953 rm fp.s 15959 rm fp.s
15954 CFLAGS="$OLD_CFLAGS" 15960 CFLAGS="$OLD_CFLAGS"
15955 15961
15962 # We need to know if we're i386 so we can turn on -mmms, which is not
15963 # on by default for i386 (it is for x86_64).
15964 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15965 /* end confdefs.h. */
15966
15967 int
15968 main ()
15969 {
15970 return __i386__ == 1 ? 0 : 1
15971 ;
15972 return 0;
15973 }
15974 _ACEOF
15975 if ac_fn_c_try_compile "$LINENO"; then :
15976 is_i386=yes
15977 else
15978 is_i386=no
15979 fi
15980 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15981 if test "$is_i386" = yes; then
15982 I386_TRUE=
15983 I386_FALSE='#'
15984 else
15985 I386_TRUE='#'
15986 I386_FALSE=
15987 fi
15988
15989
15956 # See if the compiler supports -Wno-unused-result. 15990 # See if the compiler supports -Wno-unused-result.
15957 # Newer ubuntu's turn on -D_FORTIFY_SOURCE=2, enabling 15991 # Newer ubuntu's turn on -D_FORTIFY_SOURCE=2, enabling
15958 # __attribute__((warn_unused_result)) for things like write(), 15992 # __attribute__((warn_unused_result)) for things like write(),
15959 # which we don't care about. 15993 # which we don't care about.
15960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the compiler supports -Wno- unused-result" >&5 15994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the compiler supports -Wno- unused-result" >&5
15961 $as_echo_n "checking if the compiler supports -Wno-unused-result... " >&6; } 15995 $as_echo_n "checking if the compiler supports -Wno-unused-result... " >&6; }
15962 if test "${perftools_cv_w_no_unused_result+set}" = set; then : 15996 if test "${perftools_cv_w_no_unused_result+set}" = set; then :
15963 $as_echo_n "(cached) " >&6 15997 $as_echo_n "(cached) " >&6
15964 else 15998 else
15965 OLD_CFLAGS="$CFLAGS" 15999 OLD_CFLAGS="$CFLAGS"
(...skipping 16 matching lines...) Expand all
15982 if ac_fn_c_try_compile "$LINENO"; then : 16016 if ac_fn_c_try_compile "$LINENO"; then :
15983 perftools_cv_w_no_unused_result=yes 16017 perftools_cv_w_no_unused_result=yes
15984 else 16018 else
15985 perftools_cv_w_no_unused_result=no 16019 perftools_cv_w_no_unused_result=no
15986 fi 16020 fi
15987 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 16021 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15988 CFLAGS="$OLD_CFLAGS" 16022 CFLAGS="$OLD_CFLAGS"
15989 fi 16023 fi
15990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $perftools_cv_w_no_unused_resul t" >&5 16024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $perftools_cv_w_no_unused_resul t" >&5
15991 $as_echo "$perftools_cv_w_no_unused_result" >&6; } 16025 $as_echo "$perftools_cv_w_no_unused_result" >&6; }
15992 16026 if test "$perftools_cv_w_no_unused_result" = yes; then
15993
15994 if test "$perftools_cv_w_no_unused_result" = yes; then
15995 HAVE_W_NO_UNUSED_RESULT_TRUE= 16027 HAVE_W_NO_UNUSED_RESULT_TRUE=
15996 HAVE_W_NO_UNUSED_RESULT_FALSE='#' 16028 HAVE_W_NO_UNUSED_RESULT_FALSE='#'
15997 else 16029 else
15998 HAVE_W_NO_UNUSED_RESULT_TRUE='#' 16030 HAVE_W_NO_UNUSED_RESULT_TRUE='#'
15999 HAVE_W_NO_UNUSED_RESULT_FALSE= 16031 HAVE_W_NO_UNUSED_RESULT_FALSE=
16000 fi 16032 fi
16001 16033
16002 16034
16003 # Defines PRIuS 16035 # Defines PRIuS
16004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking printf format code for printin g a size_t and ssize_t" >&5 16036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking printf format code for printin g a size_t and ssize_t" >&5
(...skipping 176 matching lines...) Expand 10 before | Expand all | Expand 10 after
16181 } 16213 }
16182 _ACEOF 16214 _ACEOF
16183 if ac_fn_c_try_compile "$LINENO"; then : 16215 if ac_fn_c_try_compile "$LINENO"; then :
16184 16216
16185 $as_echo "#define MALLOC_HOOK_MAYBE_VOLATILE volatile" >>confdefs.h 16217 $as_echo "#define MALLOC_HOOK_MAYBE_VOLATILE volatile" >>confdefs.h
16186 16218
16187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 16219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16188 $as_echo "yes" >&6; } 16220 $as_echo "yes" >&6; }
16189 else 16221 else
16190 $as_echo "#define MALLOC_HOOK_MAYBE_VOLATILE /**/" >>confdefs.h 16222 $as_echo "#define MALLOC_HOOK_MAYBE_VOLATILE /**/" >>confdefs.h
16191 , 16223
16192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 16224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16193 $as_echo "no" >&6; } 16225 $as_echo "no" >&6; }
16194 fi 16226 fi
16195 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 16227 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16196 16228
16197 # Nanosleep requires extra libraries on some architectures (solaris). 16229 # Nanosleep requires extra libraries on some architectures (solaris).
16198 # This sets NANOSLEEP_LIBS. nanosleep doesn't exist on mingw, which 16230 # This sets NANOSLEEP_LIBS. nanosleep doesn't exist on mingw, which
16199 # is fine for us because we don't compile libspinlock, which uses it. 16231 # is fine for us because we don't compile libspinlock, which uses it.
16200 if test "$need_nanosleep" = yes; then 16232 if test "$need_nanosleep" = yes; then
16201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if nanosleep requires any li braries" >&5 16233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if nanosleep requires any li braries" >&5
(...skipping 844 matching lines...) Expand 10 before | Expand all | Expand 10 after
17046 17078
17047 $as_echo "#define PERFTOOLS_DLL_DECL /**/" >>confdefs.h 17079 $as_echo "#define PERFTOOLS_DLL_DECL /**/" >>confdefs.h
17048 17080
17049 17081
17050 # In theory, config.h files shouldn't need a header guard, but we do, 17082 # In theory, config.h files shouldn't need a header guard, but we do,
17051 # because we (maybe) #include windows/mingw.h from within config.h, 17083 # because we (maybe) #include windows/mingw.h from within config.h,
17052 # and it #includes other .h files. These all have header guards, so 17084 # and it #includes other .h files. These all have header guards, so
17053 # the end result is if config.h is #included twice, its #undefs get 17085 # the end result is if config.h is #included twice, its #undefs get
17054 # evaluated twice, but all the ones in mingw.h/etc only get evaluated 17086 # evaluated twice, but all the ones in mingw.h/etc only get evaluated
17055 # once, potentially causing trouble. c.f. 17087 # once, potentially causing trouble. c.f.
17056 # http://code.google.com/p/google-perftools/issues/detail?id=246 17088 # http://code.google.com/p/gperftools/issues/detail?id=246
17057 17089
17058 17090
17059 17091
17060 17092
17061 # MinGW uses autoconf, but also needs the windows shim routines 17093 # MinGW uses autoconf, but also needs the windows shim routines
17062 # (since it doesn't have its own support for, say, pthreads). 17094 # (since it doesn't have its own support for, say, pthreads).
17063 # This requires us to #include a special header file, and also to 17095 # This requires us to #include a special header file, and also to
17064 # link in some windows versions of .o's instead of the unix versions. 17096 # link in some windows versions of .o's instead of the unix versions.
17065 # 17097 #
17066 # Also, manually mark systems where we have to be careful how early 17098 # Also, manually mark systems where we have to be careful how early
17067 # we run pthreads. TODO(csilvers): turn this into an autoconf check. 17099 # we run pthreads. TODO(csilvers): turn this into an autoconf check.
17068 17100
17069 17101 if expr $host : '.*-mingw' >/dev/null 2>&1; then
17070
17071 if expr $host : '.*-mingw' >/dev/null 2>&1; then
17072 MINGW_TRUE= 17102 MINGW_TRUE=
17073 MINGW_FALSE='#' 17103 MINGW_FALSE='#'
17074 else 17104 else
17075 MINGW_TRUE='#' 17105 MINGW_TRUE='#'
17076 MINGW_FALSE= 17106 MINGW_FALSE=
17077 fi 17107 fi
17078 17108
17079 17109 if expr $host : '.*-apple-darwin.*' >/dev/null 2>&1; then
17080
17081 if expr $host : '.*-apple-darwin.*' >/dev/null 2>&1; then
17082 OSX_TRUE= 17110 OSX_TRUE=
17083 OSX_FALSE='#' 17111 OSX_FALSE='#'
17084 else 17112 else
17085 OSX_TRUE='#' 17113 OSX_TRUE='#'
17086 OSX_FALSE= 17114 OSX_FALSE=
17087 fi 17115 fi
17088 17116
17089 17117
17090 # Redhat 7 (and below?) has sys/ucontext.h, but if you try to #include 17118 # Redhat 7 (and below?) has sys/ucontext.h, but if you try to #include
17091 # it directly, the compiler gets upset. So we pretend we don't have 17119 # it directly, the compiler gets upset. So we pretend we don't have
17092 # it. 17120 # it.
17093 if cat /etc/redhat-release 2>/dev/null | grep "Red Hat Linux release 7" >/dev/nu ll 2>&1; then 17121 if cat /etc/redhat-release 2>/dev/null | grep "Red Hat Linux release 7" >/dev/nu ll 2>&1; then
17094 17122
17095 $as_echo "#define HAVE_SYS_UCONTEXT_H 0" >>confdefs.h 17123 $as_echo "#define HAVE_SYS_UCONTEXT_H 0" >>confdefs.h
17096 17124
17097 fi 17125 fi
17098 17126
17099 # Export the --enable flags we set above. We do this at the end so 17127 # Export the --enable flags we set above. We do this at the end so
17100 # other configure rules can enable or disable targets based on what 17128 # other configure rules can enable or disable targets based on what
17101 # they find. 17129 # they find.
17102 17130 if test "$enable_cpu_profiler" = yes; then
17103
17104 if test "$enable_cpu_profiler" = yes; then
17105 WITH_CPU_PROFILER_TRUE= 17131 WITH_CPU_PROFILER_TRUE=
17106 WITH_CPU_PROFILER_FALSE='#' 17132 WITH_CPU_PROFILER_FALSE='#'
17107 else 17133 else
17108 WITH_CPU_PROFILER_TRUE='#' 17134 WITH_CPU_PROFILER_TRUE='#'
17109 WITH_CPU_PROFILER_FALSE= 17135 WITH_CPU_PROFILER_FALSE=
17110 fi 17136 fi
17111 17137
17112 17138 if test "$enable_heap_profiler" = yes; then
17113
17114 if test "$enable_heap_profiler" = yes; then
17115 WITH_HEAP_PROFILER_TRUE= 17139 WITH_HEAP_PROFILER_TRUE=
17116 WITH_HEAP_PROFILER_FALSE='#' 17140 WITH_HEAP_PROFILER_FALSE='#'
17117 else 17141 else
17118 WITH_HEAP_PROFILER_TRUE='#' 17142 WITH_HEAP_PROFILER_TRUE='#'
17119 WITH_HEAP_PROFILER_FALSE= 17143 WITH_HEAP_PROFILER_FALSE=
17120 fi 17144 fi
17121 17145
17122 17146 if test "$enable_heap_checker" = yes; then
17123
17124 if test "$enable_heap_checker" = yes; then
17125 WITH_HEAP_CHECKER_TRUE= 17147 WITH_HEAP_CHECKER_TRUE=
17126 WITH_HEAP_CHECKER_FALSE='#' 17148 WITH_HEAP_CHECKER_FALSE='#'
17127 else 17149 else
17128 WITH_HEAP_CHECKER_TRUE='#' 17150 WITH_HEAP_CHECKER_TRUE='#'
17129 WITH_HEAP_CHECKER_FALSE= 17151 WITH_HEAP_CHECKER_FALSE=
17130 fi 17152 fi
17131 17153
17132 17154 if test "$enable_debugalloc" = yes; then
17133
17134 if test "$enable_debugalloc" = yes; then
17135 WITH_DEBUGALLOC_TRUE= 17155 WITH_DEBUGALLOC_TRUE=
17136 WITH_DEBUGALLOC_FALSE='#' 17156 WITH_DEBUGALLOC_FALSE='#'
17137 else 17157 else
17138 WITH_DEBUGALLOC_TRUE='#' 17158 WITH_DEBUGALLOC_TRUE='#'
17139 WITH_DEBUGALLOC_FALSE= 17159 WITH_DEBUGALLOC_FALSE=
17140 fi 17160 fi
17141 17161
17142 # We make tcmalloc.so if either heap-profiler or heap-checker is asked for. 17162 # We make tcmalloc.so if either heap-profiler or heap-checker is asked for.
17143 17163 if test "$enable_heap_profiler" = yes -o \
17144
17145 if test "$enable_heap_profiler" = yes -o \
17146 "$enable_heap_checker" = yes; then 17164 "$enable_heap_checker" = yes; then
17147 WITH_HEAP_PROFILER_OR_CHECKER_TRUE= 17165 WITH_HEAP_PROFILER_OR_CHECKER_TRUE=
17148 WITH_HEAP_PROFILER_OR_CHECKER_FALSE='#' 17166 WITH_HEAP_PROFILER_OR_CHECKER_FALSE='#'
17149 else 17167 else
17150 WITH_HEAP_PROFILER_OR_CHECKER_TRUE='#' 17168 WITH_HEAP_PROFILER_OR_CHECKER_TRUE='#'
17151 WITH_HEAP_PROFILER_OR_CHECKER_FALSE= 17169 WITH_HEAP_PROFILER_OR_CHECKER_FALSE=
17152 fi 17170 fi
17153 17171
17154 # If we don't use any profilers, we don't need stack traces (or pprof) 17172 # If we don't use any profilers, we don't need stack traces (or pprof)
17155 17173 if test "$enable_cpu_profiler" = yes -o \
17156
17157 if test "$enable_cpu_profiler" = yes -o \
17158 "$enable_heap_profiler" = yes -o \ 17174 "$enable_heap_profiler" = yes -o \
17159 "$enable_heap_checker" = yes; then 17175 "$enable_heap_checker" = yes; then
17160 WITH_STACK_TRACE_TRUE= 17176 WITH_STACK_TRACE_TRUE=
17161 WITH_STACK_TRACE_FALSE='#' 17177 WITH_STACK_TRACE_FALSE='#'
17162 else 17178 else
17163 WITH_STACK_TRACE_TRUE='#' 17179 WITH_STACK_TRACE_TRUE='#'
17164 WITH_STACK_TRACE_FALSE= 17180 WITH_STACK_TRACE_FALSE=
17165 fi 17181 fi
17166 17182
17167 17183
17168 # Write generated configuration file 17184 # Write generated configuration file
17169 ac_config_files="$ac_config_files Makefile src/google/tcmalloc.h src/windows/goo gle/tcmalloc.h" 17185 ac_config_files="$ac_config_files Makefile src/gperftools/tcmalloc.h src/windows /gperftools/tcmalloc.h"
17170 17186
17171 cat >confcache <<\_ACEOF 17187 cat >confcache <<\_ACEOF
17172 # This file is a shell script that caches the results of configure 17188 # This file is a shell script that caches the results of configure
17173 # tests run on this system so they can be shared between configure 17189 # tests run on this system so they can be shared between configure
17174 # scripts and configure runs, see configure's option --config-cache. 17190 # scripts and configure runs, see configure's option --config-cache.
17175 # It is not useful on other systems. If it contains results you don't 17191 # It is not useful on other systems. If it contains results you don't
17176 # want to keep, you may remove or edit it. 17192 # want to keep, you may remove or edit it.
17177 # 17193 #
17178 # config.status only pays attention to the cache file if you give it 17194 # config.status only pays attention to the cache file if you give it
17179 # the --recheck option to rerun configure. 17195 # the --recheck option to rerun configure.
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
17262 done 17278 done
17263 LIBOBJS=$ac_libobjs 17279 LIBOBJS=$ac_libobjs
17264 17280
17265 LTLIBOBJS=$ac_ltlibobjs 17281 LTLIBOBJS=$ac_ltlibobjs
17266 17282
17267 17283
17268 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then 17284 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
17269 as_fn_error "conditional \"AMDEP\" was never defined. 17285 as_fn_error "conditional \"AMDEP\" was never defined.
17270 Usually this means the macro was only invoked conditionally." "$LINENO" 5 17286 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17271 fi 17287 fi
17288 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
17289 as_fn_error "conditional \"am__fastdepCXX\" was never defined.
17290 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17291 fi
17272 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then 17292 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
17273 as_fn_error "conditional \"am__fastdepCC\" was never defined. 17293 as_fn_error "conditional \"am__fastdepCC\" was never defined.
17274 Usually this means the macro was only invoked conditionally." "$LINENO" 5 17294 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17275 fi 17295 fi
17276 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
17277 as_fn_error "conditional \"am__fastdepCXX\" was never defined.
17278 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17279 fi
17280 if test -z "${GCC_TRUE}" && test -z "${GCC_FALSE}"; then 17296 if test -z "${GCC_TRUE}" && test -z "${GCC_FALSE}"; then
17281 as_fn_error "conditional \"GCC\" was never defined. 17297 as_fn_error "conditional \"GCC\" was never defined.
17282 Usually this means the macro was only invoked conditionally." "$LINENO" 5 17298 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17283 fi 17299 fi
17284 if test -z "${HAVE_OBJCOPY_WEAKEN_TRUE}" && test -z "${HAVE_OBJCOPY_WEAKEN_FALSE }"; then 17300 if test -z "${HAVE_OBJCOPY_WEAKEN_TRUE}" && test -z "${HAVE_OBJCOPY_WEAKEN_FALSE }"; then
17285 as_fn_error "conditional \"HAVE_OBJCOPY_WEAKEN\" was never defined. 17301 as_fn_error "conditional \"HAVE_OBJCOPY_WEAKEN\" was never defined.
17286 Usually this means the macro was only invoked conditionally." "$LINENO" 5 17302 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17287 fi 17303 fi
17288 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then 17304 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
17289 as_fn_error "conditional \"am__fastdepCXX\" was never defined. 17305 as_fn_error "conditional \"am__fastdepCXX\" was never defined.
17290 Usually this means the macro was only invoked conditionally." "$LINENO" 5 17306 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17291 fi 17307 fi
17292 if test -z "${USE_LIBTOOL_TRUE}" && test -z "${USE_LIBTOOL_FALSE}"; then 17308 if test -z "${USE_LIBTOOL_TRUE}" && test -z "${USE_LIBTOOL_FALSE}"; then
17293 as_fn_error "conditional \"USE_LIBTOOL\" was never defined. 17309 as_fn_error "conditional \"USE_LIBTOOL\" was never defined.
17294 Usually this means the macro was only invoked conditionally." "$LINENO" 5 17310 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17295 fi 17311 fi
17296 if test -z "${ENABLE_STATIC_TRUE}" && test -z "${ENABLE_STATIC_FALSE}"; then 17312 if test -z "${ENABLE_STATIC_TRUE}" && test -z "${ENABLE_STATIC_FALSE}"; then
17297 as_fn_error "conditional \"ENABLE_STATIC\" was never defined. 17313 as_fn_error "conditional \"ENABLE_STATIC\" was never defined.
17298 Usually this means the macro was only invoked conditionally." "$LINENO" 5 17314 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17299 fi 17315 fi
17300 if test -z "${ENABLE_FRAME_POINTERS_TRUE}" && test -z "${ENABLE_FRAME_POINTERS_F ALSE}"; then 17316 if test -z "${ENABLE_FRAME_POINTERS_TRUE}" && test -z "${ENABLE_FRAME_POINTERS_F ALSE}"; then
17301 as_fn_error "conditional \"ENABLE_FRAME_POINTERS\" was never defined. 17317 as_fn_error "conditional \"ENABLE_FRAME_POINTERS\" was never defined.
17302 Usually this means the macro was only invoked conditionally." "$LINENO" 5 17318 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17303 fi 17319 fi
17304 if test -z "${X86_64_AND_NO_FP_BY_DEFAULT_TRUE}" && test -z "${X86_64_AND_NO_FP_ BY_DEFAULT_FALSE}"; then 17320 if test -z "${X86_64_AND_NO_FP_BY_DEFAULT_TRUE}" && test -z "${X86_64_AND_NO_FP_ BY_DEFAULT_FALSE}"; then
17305 as_fn_error "conditional \"X86_64_AND_NO_FP_BY_DEFAULT\" was never defined. 17321 as_fn_error "conditional \"X86_64_AND_NO_FP_BY_DEFAULT\" was never defined.
17306 Usually this means the macro was only invoked conditionally." "$LINENO" 5 17322 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17307 fi 17323 fi
17324 if test -z "${I386_TRUE}" && test -z "${I386_FALSE}"; then
17325 as_fn_error "conditional \"I386\" was never defined.
17326 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17327 fi
17308 if test -z "${HAVE_W_NO_UNUSED_RESULT_TRUE}" && test -z "${HAVE_W_NO_UNUSED_RESU LT_FALSE}"; then 17328 if test -z "${HAVE_W_NO_UNUSED_RESULT_TRUE}" && test -z "${HAVE_W_NO_UNUSED_RESU LT_FALSE}"; then
17309 as_fn_error "conditional \"HAVE_W_NO_UNUSED_RESULT\" was never defined. 17329 as_fn_error "conditional \"HAVE_W_NO_UNUSED_RESULT\" was never defined.
17310 Usually this means the macro was only invoked conditionally." "$LINENO" 5 17330 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17311 fi 17331 fi
17312 if test -z "${MINGW_TRUE}" && test -z "${MINGW_FALSE}"; then 17332 if test -z "${MINGW_TRUE}" && test -z "${MINGW_FALSE}"; then
17313 as_fn_error "conditional \"MINGW\" was never defined. 17333 as_fn_error "conditional \"MINGW\" was never defined.
17314 Usually this means the macro was only invoked conditionally." "$LINENO" 5 17334 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17315 fi 17335 fi
17316 if test -z "${OSX_TRUE}" && test -z "${OSX_FALSE}"; then 17336 if test -z "${OSX_TRUE}" && test -z "${OSX_FALSE}"; then
17317 as_fn_error "conditional \"OSX\" was never defined. 17337 as_fn_error "conditional \"OSX\" was never defined.
(...skipping 424 matching lines...) Expand 10 before | Expand all | Expand 10 after
17742 ## Main body of $CONFIG_STATUS script. ## 17762 ## Main body of $CONFIG_STATUS script. ##
17743 ## ----------------------------------- ## 17763 ## ----------------------------------- ##
17744 _ASEOF 17764 _ASEOF
17745 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 17765 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
17746 17766
17747 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 17767 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17748 # Save the log message, to keep $0 and so on meaningful, and to 17768 # Save the log message, to keep $0 and so on meaningful, and to
17749 # report actual input values of CONFIG_FILES etc. instead of their 17769 # report actual input values of CONFIG_FILES etc. instead of their
17750 # values after options handling. 17770 # values after options handling.
17751 ac_log=" 17771 ac_log="
17752 This file was extended by google-perftools $as_me 1.8, which was 17772 This file was extended by gperftools $as_me 2.0, which was
17753 generated by GNU Autoconf 2.65. Invocation command line was 17773 generated by GNU Autoconf 2.65. Invocation command line was
17754 17774
17755 CONFIG_FILES = $CONFIG_FILES 17775 CONFIG_FILES = $CONFIG_FILES
17756 CONFIG_HEADERS = $CONFIG_HEADERS 17776 CONFIG_HEADERS = $CONFIG_HEADERS
17757 CONFIG_LINKS = $CONFIG_LINKS 17777 CONFIG_LINKS = $CONFIG_LINKS
17758 CONFIG_COMMANDS = $CONFIG_COMMANDS 17778 CONFIG_COMMANDS = $CONFIG_COMMANDS
17759 $ $0 $@ 17779 $ $0 $@
17760 17780
17761 on `(hostname || uname -n) 2>/dev/null | sed 1q` 17781 on `(hostname || uname -n) 2>/dev/null | sed 1q`
17762 " 17782 "
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
17802 17822
17803 Configuration files: 17823 Configuration files:
17804 $config_files 17824 $config_files
17805 17825
17806 Configuration headers: 17826 Configuration headers:
17807 $config_headers 17827 $config_headers
17808 17828
17809 Configuration commands: 17829 Configuration commands:
17810 $config_commands 17830 $config_commands
17811 17831
17812 Report bugs to <opensource@google.com>." 17832 Report bugs to <google-perftools@googlegroups.com>."
17813 17833
17814 _ACEOF 17834 _ACEOF
17815 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 17835 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17816 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g '`" 17836 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g '`"
17817 ac_cs_version="\\ 17837 ac_cs_version="\\
17818 google-perftools config.status 1.8 17838 gperftools config.status 2.0
17819 configured by $0, generated by GNU Autoconf 2.65, 17839 configured by $0, generated by GNU Autoconf 2.65,
17820 with options \\"\$ac_cs_config\\" 17840 with options \\"\$ac_cs_config\\"
17821 17841
17822 Copyright (C) 2009 Free Software Foundation, Inc. 17842 Copyright (C) 2009 Free Software Foundation, Inc.
17823 This config.status script is free software; the Free Software Foundation 17843 This config.status script is free software; the Free Software Foundation
17824 gives unlimited permission to copy, distribute and modify it." 17844 gives unlimited permission to copy, distribute and modify it."
17825 17845
17826 ac_pwd='$ac_pwd' 17846 ac_pwd='$ac_pwd'
17827 srcdir='$srcdir' 17847 srcdir='$srcdir'
17828 INSTALL='$INSTALL' 17848 INSTALL='$INSTALL'
17849 MKDIR_P='$MKDIR_P'
17829 AWK='$AWK' 17850 AWK='$AWK'
17830 test -n "\$AWK" || AWK=awk 17851 test -n "\$AWK" || AWK=awk
17831 _ACEOF 17852 _ACEOF
17832 17853
17833 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 17854 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17834 # The default lists apply if the user does not specify any file. 17855 # The default lists apply if the user does not specify any file.
17835 ac_need_defaults=: 17856 ac_need_defaults=:
17836 while test $# != 0 17857 while test $# != 0
17837 do 17858 do
17838 case $1 in 17859 case $1 in
(...skipping 446 matching lines...) Expand 10 before | Expand all | Expand 10 after
18285 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 18306 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18286 18307
18287 # Handling of arguments. 18308 # Handling of arguments.
18288 for ac_config_target in $ac_config_targets 18309 for ac_config_target in $ac_config_targets
18289 do 18310 do
18290 case $ac_config_target in 18311 case $ac_config_target in
18291 "src/config.h") CONFIG_HEADERS="$CONFIG_HEADERS src/config.h" ;; 18312 "src/config.h") CONFIG_HEADERS="$CONFIG_HEADERS src/config.h" ;;
18292 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; 18313 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
18293 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;; 18314 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
18294 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 18315 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
18295 "src/google/tcmalloc.h") CONFIG_FILES="$CONFIG_FILES src/google/tcmalloc.h" ;; 18316 "src/gperftools/tcmalloc.h") CONFIG_FILES="$CONFIG_FILES src/gperftools/tcma lloc.h" ;;
18296 "src/windows/google/tcmalloc.h") CONFIG_FILES="$CONFIG_FILES src/windows/goo gle/tcmalloc.h" ;; 18317 "src/windows/gperftools/tcmalloc.h") CONFIG_FILES="$CONFIG_FILES src/windows /gperftools/tcmalloc.h" ;;
18297 18318
18298 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;; 18319 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
18299 esac 18320 esac
18300 done 18321 done
18301 18322
18302 18323
18303 # If the user did not use the arguments to specify the items to instantiate, 18324 # If the user did not use the arguments to specify the items to instantiate,
18304 # then the envvar interface is used. Set only those that are not. 18325 # then the envvar interface is used. Set only those that are not.
18305 # We use the long form for the default assignment because of an extremely 18326 # We use the long form for the default assignment because of an extremely
18306 # bizarre bug on SunOS 4.1.3. 18327 # bizarre bug on SunOS 4.1.3.
(...skipping 418 matching lines...) Expand 10 before | Expand all | Expand 10 after
18725 case $ac_mode in 18746 case $ac_mode in
18726 :F) 18747 :F)
18727 # 18748 #
18728 # CONFIG_FILE 18749 # CONFIG_FILE
18729 # 18750 #
18730 18751
18731 case $INSTALL in 18752 case $INSTALL in
18732 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 18753 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
18733 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; 18754 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
18734 esac 18755 esac
18756 ac_MKDIR_P=$MKDIR_P
18757 case $MKDIR_P in
18758 [\\/$]* | ?:[\\/]* ) ;;
18759 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
18760 esac
18735 _ACEOF 18761 _ACEOF
18736 18762
18737 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 18763 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18738 # If the template does not know about datarootdir, expand it. 18764 # If the template does not know about datarootdir, expand it.
18739 # FIXME: This hack should be removed a few years after 2.60. 18765 # FIXME: This hack should be removed a few years after 2.60.
18740 ac_datarootdir_hack=; ac_datarootdir_seen= 18766 ac_datarootdir_hack=; ac_datarootdir_seen=
18741 ac_sed_dataroot=' 18767 ac_sed_dataroot='
18742 /datarootdir/ { 18768 /datarootdir/ {
18743 p 18769 p
18744 q 18770 q
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
18779 s&@top_builddir@&$ac_top_builddir_sub&;t t 18805 s&@top_builddir@&$ac_top_builddir_sub&;t t
18780 s&@top_build_prefix@&$ac_top_build_prefix&;t t 18806 s&@top_build_prefix@&$ac_top_build_prefix&;t t
18781 s&@srcdir@&$ac_srcdir&;t t 18807 s&@srcdir@&$ac_srcdir&;t t
18782 s&@abs_srcdir@&$ac_abs_srcdir&;t t 18808 s&@abs_srcdir@&$ac_abs_srcdir&;t t
18783 s&@top_srcdir@&$ac_top_srcdir&;t t 18809 s&@top_srcdir@&$ac_top_srcdir&;t t
18784 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t 18810 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
18785 s&@builddir@&$ac_builddir&;t t 18811 s&@builddir@&$ac_builddir&;t t
18786 s&@abs_builddir@&$ac_abs_builddir&;t t 18812 s&@abs_builddir@&$ac_abs_builddir&;t t
18787 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t 18813 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
18788 s&@INSTALL@&$ac_INSTALL&;t t 18814 s&@INSTALL@&$ac_INSTALL&;t t
18815 s&@MKDIR_P@&$ac_MKDIR_P&;t t
18789 $ac_datarootdir_hack 18816 $ac_datarootdir_hack
18790 " 18817 "
18791 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/ou t \ 18818 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/ou t \
18792 || as_fn_error "could not create $ac_file" "$LINENO" 5 18819 || as_fn_error "could not create $ac_file" "$LINENO" 5
18793 18820
18794 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 18821 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
18795 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && 18822 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
18796 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out" ; } && 18823 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out" ; } &&
18797 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a referenc e to the variable \`datarootdir' 18824 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a referenc e to the variable \`datarootdir'
18798 which seems to be undefined. Please make sure it is defined." >&5 18825 which seems to be undefined. Please make sure it is defined." >&5
(...skipping 24 matching lines...) Expand all
18823 rm -f "$ac_file" 18850 rm -f "$ac_file"
18824 mv "$tmp/config.h" "$ac_file" \ 18851 mv "$tmp/config.h" "$ac_file" \
18825 || as_fn_error "could not create $ac_file" "$LINENO" 5 18852 || as_fn_error "could not create $ac_file" "$LINENO" 5
18826 fi 18853 fi
18827 else 18854 else
18828 $as_echo "/* $configure_input */" \ 18855 $as_echo "/* $configure_input */" \
18829 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \ 18856 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
18830 || as_fn_error "could not create -" "$LINENO" 5 18857 || as_fn_error "could not create -" "$LINENO" 5
18831 fi 18858 fi
18832 # Compute "$ac_file"'s index in $config_headers. 18859 # Compute "$ac_file"'s index in $config_headers.
18860 _am_arg="$ac_file"
18833 _am_stamp_count=1 18861 _am_stamp_count=1
18834 for _am_header in $config_headers :; do 18862 for _am_header in $config_headers :; do
18835 case $_am_header in 18863 case $_am_header in
18836 "$ac_file" | "$ac_file":* ) 18864 $_am_arg | $_am_arg:* )
18837 break ;; 18865 break ;;
18838 * ) 18866 * )
18839 _am_stamp_count=`expr $_am_stamp_count + 1` ;; 18867 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
18840 esac 18868 esac
18841 done 18869 done
18842 echo "timestamp for "$ac_file"" >`$as_dirname -- "$ac_file" || 18870 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
18843 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 18871 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18844 » X"$ac_file" : 'X\(//\)[^/]' \| \ 18872 » X"$_am_arg" : 'X\(//\)[^/]' \| \
18845 » X"$ac_file" : 'X\(//\)$' \| \ 18873 » X"$_am_arg" : 'X\(//\)$' \| \
18846 » X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 18874 » X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
18847 $as_echo X"$ac_file" | 18875 $as_echo X"$_am_arg" |
18848 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 18876 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18849 s//\1/ 18877 s//\1/
18850 q 18878 q
18851 } 18879 }
18852 /^X\(\/\/\)[^/].*/{ 18880 /^X\(\/\/\)[^/].*/{
18853 s//\1/ 18881 s//\1/
18854 q 18882 q
18855 } 18883 }
18856 /^X\(\/\/\)$/{ 18884 /^X\(\/\/\)$/{
18857 s//\1/ 18885 s//\1/
(...skipping 14 matching lines...) Expand all
18872 18900
18873 case $ac_file$ac_mode in 18901 case $ac_file$ac_mode in
18874 "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do 18902 "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
18875 # Strip MF so we end up with the name of the file. 18903 # Strip MF so we end up with the name of the file.
18876 mf=`echo "$mf" | sed -e 's/:.*$//'` 18904 mf=`echo "$mf" | sed -e 's/:.*$//'`
18877 # Check whether this is an Automake generated Makefile or not. 18905 # Check whether this is an Automake generated Makefile or not.
18878 # We used to match only the files named `Makefile.in', but 18906 # We used to match only the files named `Makefile.in', but
18879 # some people rename them; so instead we look at the file content. 18907 # some people rename them; so instead we look at the file content.
18880 # Grep'ing the first line is not enough: some people post-process 18908 # Grep'ing the first line is not enough: some people post-process
18881 # each Makefile.in and add a new line on top of each file to say so. 18909 # each Makefile.in and add a new line on top of each file to say so.
18882 # So let's grep whole file. 18910 # Grep'ing the whole file is not good either: AIX grep has a line
18883 if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then 18911 # limit of 2048, but all sed's we know have understand at least 4000.
18912 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
18884 dirpart=`$as_dirname -- "$mf" || 18913 dirpart=`$as_dirname -- "$mf" ||
18885 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 18914 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18886 X"$mf" : 'X\(//\)[^/]' \| \ 18915 X"$mf" : 'X\(//\)[^/]' \| \
18887 X"$mf" : 'X\(//\)$' \| \ 18916 X"$mf" : 'X\(//\)$' \| \
18888 X"$mf" : 'X\(/\)' \| . 2>/dev/null || 18917 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
18889 $as_echo X"$mf" | 18918 $as_echo X"$mf" |
18890 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 18919 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18891 s//\1/ 18920 s//\1/
18892 q 18921 q
18893 } 18922 }
(...skipping 893 matching lines...) Expand 10 before | Expand all | Expand 10 after
19787 exec 5>>config.log 19816 exec 5>>config.log
19788 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 19817 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
19789 # would make configure fail if this is the last instruction. 19818 # would make configure fail if this is the last instruction.
19790 $ac_cs_success || as_fn_exit $? 19819 $ac_cs_success || as_fn_exit $?
19791 fi 19820 fi
19792 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 19821 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
19793 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_un recognized_opts" >&5 19822 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_un recognized_opts" >&5
19794 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 19823 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
19795 fi 19824 fi
19796 19825
OLDNEW
« no previous file with comments | « third_party/tcmalloc/vendor/config.sub ('k') | third_party/tcmalloc/vendor/configure.ac » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698