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

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

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