2478
2553
# Checks for programs.
2555
ac_cpp='$CXXCPP $CPPFLAGS'
2556
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2557
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2558
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2559
if test -z "$CXX"; then
2560
if test -n "$CCC"; then
2563
if test -n "$ac_tool_prefix"; then
2564
for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
2566
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2567
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2568
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2569
$as_echo_n "checking for $ac_word... " >&6; }
2570
if test "${ac_cv_prog_CXX+set}" = set; then :
2571
$as_echo_n "(cached) " >&6
2573
if test -n "$CXX"; then
2574
ac_cv_prog_CXX="$CXX" # Let the user override the test.
2576
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2580
test -z "$as_dir" && as_dir=.
2581
for ac_exec_ext in '' $ac_executable_extensions; do
2582
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2583
ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
2584
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2594
if test -n "$CXX"; then
2595
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
2596
$as_echo "$CXX" >&6; }
2598
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2599
$as_echo "no" >&6; }
2603
test -n "$CXX" && break
2606
if test -z "$CXX"; then
2608
for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
2610
# Extract the first word of "$ac_prog", so it can be a program name with args.
2611
set dummy $ac_prog; ac_word=$2
2612
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2613
$as_echo_n "checking for $ac_word... " >&6; }
2614
if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
2615
$as_echo_n "(cached) " >&6
2617
if test -n "$ac_ct_CXX"; then
2618
ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
2620
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2624
test -z "$as_dir" && as_dir=.
2625
for ac_exec_ext in '' $ac_executable_extensions; do
2626
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2627
ac_cv_prog_ac_ct_CXX="$ac_prog"
2628
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2637
ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
2638
if test -n "$ac_ct_CXX"; then
2639
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
2640
$as_echo "$ac_ct_CXX" >&6; }
2642
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2643
$as_echo "no" >&6; }
2647
test -n "$ac_ct_CXX" && break
2650
if test "x$ac_ct_CXX" = x; then
2653
case $cross_compiling:$ac_tool_warned in
2655
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2656
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2657
ac_tool_warned=yes ;;
2665
# Provide some information about the compiler.
2666
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
2669
for ac_option in --version -v -V -qversion; do
2670
{ { ac_try="$ac_compiler $ac_option >&5"
2672
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2673
*) ac_try_echo=$ac_try;;
2675
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2676
$as_echo "$ac_try_echo"; } >&5
2677
(eval "$ac_compiler $ac_option >&5") 2>conftest.err
2679
if test -s conftest.err; then
2681
... rest of stderr output deleted ...
2682
10q' conftest.err >conftest.er1
2683
cat conftest.er1 >&5
2685
rm -f conftest.er1 conftest.err
2686
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2687
test $ac_status = 0; }
2690
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2691
/* end confdefs.h. */
2701
ac_clean_files_save=$ac_clean_files
2702
ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2703
# Try to create an executable without -o first, disregard a.out.
2704
# It will help us diagnose broken compilers, and finding out an intuition
2706
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler works" >&5
2707
$as_echo_n "checking whether the C++ compiler works... " >&6; }
2708
ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2710
# The possible output files:
2711
ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2714
for ac_file in $ac_files
2717
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2718
* ) ac_rmfiles="$ac_rmfiles $ac_file";;
2723
if { { ac_try="$ac_link_default"
2725
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2726
*) ac_try_echo=$ac_try;;
2728
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2729
$as_echo "$ac_try_echo"; } >&5
2730
(eval "$ac_link_default") 2>&5
2732
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2733
test $ac_status = 0; }; then :
2734
# Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2735
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2736
# in a Makefile. We should not override ac_cv_exeext if it was cached,
2737
# so that the user can short-circuit this test for compilers unknown to
2739
for ac_file in $ac_files ''
2741
test -f "$ac_file" || continue
2743
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2746
# We found the default executable, but exeext='' is most
2750
if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2752
ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2754
# We set ac_cv_exeext here because the later test for it is not
2755
# safe: cross compilers may not add the suffix if given an `-o'
2756
# argument, so we may need to know it at that point already.
2757
# Even if this section looks crufty: it has the advantage of
2764
test "$ac_cv_exeext" = no && ac_cv_exeext=
2769
if test -z "$ac_file"; then :
2770
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2771
$as_echo "no" >&6; }
2772
$as_echo "$as_me: failed program was:" >&5
2773
sed 's/^/| /' conftest.$ac_ext >&5
2775
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2776
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2777
as_fn_error 77 "C++ compiler cannot create executables
2778
See \`config.log' for more details" "$LINENO" 5 ; }
2780
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2781
$as_echo "yes" >&6; }
2783
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler default output file name" >&5
2784
$as_echo_n "checking for C++ compiler default output file name... " >&6; }
2785
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2786
$as_echo "$ac_file" >&6; }
2787
ac_exeext=$ac_cv_exeext
2789
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2790
ac_clean_files=$ac_clean_files_save
2791
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2792
$as_echo_n "checking for suffix of executables... " >&6; }
2793
if { { ac_try="$ac_link"
2795
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2796
*) ac_try_echo=$ac_try;;
2798
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2799
$as_echo "$ac_try_echo"; } >&5
2800
(eval "$ac_link") 2>&5
2802
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2803
test $ac_status = 0; }; then :
2804
# If both `conftest.exe' and `conftest' are `present' (well, observable)
2805
# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2806
# work properly (i.e., refer to `conftest.exe'), while it won't with
2808
for ac_file in conftest.exe conftest conftest.*; do
2809
test -f "$ac_file" || continue
2811
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2812
*.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2818
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2819
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2820
as_fn_error $? "cannot compute suffix of executables: cannot compile and link
2821
See \`config.log' for more details" "$LINENO" 5 ; }
2823
rm -f conftest conftest$ac_cv_exeext
2824
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2825
$as_echo "$ac_cv_exeext" >&6; }
2827
rm -f conftest.$ac_ext
2828
EXEEXT=$ac_cv_exeext
2830
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2831
/* end confdefs.h. */
2836
FILE *f = fopen ("conftest.out", "w");
2837
return ferror (f) || fclose (f) != 0;
2843
ac_clean_files="$ac_clean_files conftest.out"
2844
# Check that the compiler produces executables we can run. If not, either
2845
# the compiler is broken, or we cross compile.
2846
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2847
$as_echo_n "checking whether we are cross compiling... " >&6; }
2848
if test "$cross_compiling" != yes; then
2849
{ { ac_try="$ac_link"
2851
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2852
*) ac_try_echo=$ac_try;;
2854
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2855
$as_echo "$ac_try_echo"; } >&5
2856
(eval "$ac_link") 2>&5
2858
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2859
test $ac_status = 0; }
2860
if { ac_try='./conftest$ac_cv_exeext'
2861
{ { case "(($ac_try" in
2862
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2863
*) ac_try_echo=$ac_try;;
2865
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2866
$as_echo "$ac_try_echo"; } >&5
2867
(eval "$ac_try") 2>&5
2869
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2870
test $ac_status = 0; }; }; then
2873
if test "$cross_compiling" = maybe; then
2876
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2877
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2878
as_fn_error $? "cannot run C++ compiled programs.
2879
If you meant to cross compile, use \`--host'.
2880
See \`config.log' for more details" "$LINENO" 5 ; }
2884
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2885
$as_echo "$cross_compiling" >&6; }
2887
rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
2888
ac_clean_files=$ac_clean_files_save
2889
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2890
$as_echo_n "checking for suffix of object files... " >&6; }
2891
if test "${ac_cv_objext+set}" = set; then :
2892
$as_echo_n "(cached) " >&6
2894
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2895
/* end confdefs.h. */
2905
rm -f conftest.o conftest.obj
2906
if { { ac_try="$ac_compile"
2908
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2909
*) ac_try_echo=$ac_try;;
2911
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2912
$as_echo "$ac_try_echo"; } >&5
2913
(eval "$ac_compile") 2>&5
2915
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2916
test $ac_status = 0; }; then :
2917
for ac_file in conftest.o conftest.obj conftest.*; do
2918
test -f "$ac_file" || continue;
2920
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2921
*) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2926
$as_echo "$as_me: failed program was:" >&5
2927
sed 's/^/| /' conftest.$ac_ext >&5
2929
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2930
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2931
as_fn_error $? "cannot compute suffix of object files: cannot compile
2932
See \`config.log' for more details" "$LINENO" 5 ; }
2934
rm -f conftest.$ac_cv_objext conftest.$ac_ext
2936
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2937
$as_echo "$ac_cv_objext" >&6; }
2938
OBJEXT=$ac_cv_objext
2940
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
2941
$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
2942
if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
2943
$as_echo_n "(cached) " >&6
2945
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2946
/* end confdefs.h. */
2959
if ac_fn_cxx_try_compile "$LINENO"; then :
2964
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2965
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
2968
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
2969
$as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
2970
if test $ac_compiler_gnu = yes; then
2975
ac_test_CXXFLAGS=${CXXFLAGS+set}
2976
ac_save_CXXFLAGS=$CXXFLAGS
2977
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
2978
$as_echo_n "checking whether $CXX accepts -g... " >&6; }
2979
if test "${ac_cv_prog_cxx_g+set}" = set; then :
2980
$as_echo_n "(cached) " >&6
2982
ac_save_cxx_werror_flag=$ac_cxx_werror_flag
2983
ac_cxx_werror_flag=yes
2986
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2987
/* end confdefs.h. */
2997
if ac_fn_cxx_try_compile "$LINENO"; then :
2998
ac_cv_prog_cxx_g=yes
3001
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3002
/* end confdefs.h. */
3012
if ac_fn_cxx_try_compile "$LINENO"; then :
3015
ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3017
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3018
/* end confdefs.h. */
3028
if ac_fn_cxx_try_compile "$LINENO"; then :
3029
ac_cv_prog_cxx_g=yes
3031
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3033
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3035
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3036
ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3038
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
3039
$as_echo "$ac_cv_prog_cxx_g" >&6; }
3040
if test "$ac_test_CXXFLAGS" = set; then
3041
CXXFLAGS=$ac_save_CXXFLAGS
3042
elif test $ac_cv_prog_cxx_g = yes; then
3043
if test "$GXX" = yes; then
3049
if test "$GXX" = yes; then
3056
ac_cpp='$CPP $CPPFLAGS'
3057
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3058
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3059
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3060
DEPDIR="${am__leading_dot}deps"
3062
ac_config_commands="$ac_config_commands depfiles"
3065
am_make=${MAKE-make}
3066
cat > confinc << 'END'
3068
@echo this is the am__doit target
3071
# If we don't find an include directive, just comment out the code.
3072
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3073
$as_echo_n "checking for style of include used by $am_make... " >&6; }
3077
# First try GNU make style include.
3078
echo "include confinc" > confmf
3079
# Ignore all kinds of additional output from `make'.
3080
case `$am_make -s -f confmf 2> /dev/null` in #(
3081
*the\ am__doit\ target*)
3087
# Now try BSD make style include.
3088
if test "$am__include" = "#"; then
3089
echo '.include "confinc"' > confmf
3090
case `$am_make -s -f confmf 2> /dev/null` in #(
3091
*the\ am__doit\ target*)
3092
am__include=.include
3100
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3101
$as_echo "$_am_result" >&6; }
3102
rm -f confinc confmf
3104
# Check whether --enable-dependency-tracking was given.
3105
if test "${enable_dependency_tracking+set}" = set; then :
3106
enableval=$enable_dependency_tracking;
3109
if test "x$enable_dependency_tracking" != xno; then
3110
am_depcomp="$ac_aux_dir/depcomp"
3113
if test "x$enable_dependency_tracking" != xno; then
3123
depcc="$CXX" am_compiler_list=
3125
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3126
$as_echo_n "checking dependency style of $depcc... " >&6; }
3127
if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then :
3128
$as_echo_n "(cached) " >&6
3130
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3131
# We make a subdir and do the tests there. Otherwise we can end up
3132
# making bogus files that we don't know about and never remove. For
3133
# instance it was reported that on HP-UX the gcc test will end up
3134
# making a dummy file named `D' -- because `-MD' means `put the output
3137
# Copy depcomp to subdir because otherwise we won't find it if we're
3138
# using a relative directory.
3139
cp "$am_depcomp" conftest.dir
3141
# We will build objects and dependencies in a subdirectory because
3142
# it helps to detect inapplicable dependency modes. For instance
3143
# both Tru64's cc and ICC support -MD to output dependencies as a
3144
# side effect of compilation, but ICC will put the dependencies in
3145
# the current directory while Tru64 will put them in the object
3149
am_cv_CXX_dependencies_compiler_type=none
3150
if test "$am_compiler_list" = ""; then
3151
am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3154
case " $depcc " in #(
3155
*\ -arch\ *\ -arch\ *) am__universal=true ;;
3158
for depmode in $am_compiler_list; do
3159
# Setup a source with many dependencies, because some compilers
3160
# like to wrap large dependency lists on column 80 (with \), and
3161
# we should not choose a depcomp mode which is confused by this.
3163
# We need to recreate these files for each test, as the compiler may
3164
# overwrite some of them when testing with obscure command lines.
3165
# This happens at least with the AIX C compiler.
3167
for i in 1 2 3 4 5 6; do
3168
echo '#include "conftst'$i'.h"' >> sub/conftest.c
3169
# Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3170
# Solaris 8's {/usr,}/bin/sh.
3171
touch sub/conftst$i.h
3173
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3175
# We check with `-c' and `-o' for the sake of the "dashmstdout"
3176
# mode. It turns out that the SunPro C++ compiler does not properly
3177
# handle `-M -o', and we need to detect this. Also, some Intel
3178
# versions had trouble with output in subdirs
3179
am__obj=sub/conftest.${OBJEXT-o}
3180
am__minus_obj="-o $am__obj"
3183
# This depmode causes a compiler race in universal mode.
3184
test "$am__universal" = false || continue
3187
# after this tag, mechanisms are not by side-effect, so they'll
3188
# only be used when explicitly requested
3189
if test "x$enable_dependency_tracking" = xyes; then
3195
msvisualcpp | msvcmsys)
3196
# This compiler won't grok `-c -o', but also, the minuso test has
3197
# not run yet. These depmodes are late enough in the game, and
3198
# so weak that their functioning should not be impacted.
3199
am__obj=conftest.${OBJEXT-o}
3204
if depmode=$depmode \
3205
source=sub/conftest.c object=$am__obj \
3206
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3207
$SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3208
>/dev/null 2>conftest.err &&
3209
grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3210
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3211
grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3212
${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3213
# icc doesn't choke on unknown options, it will just issue warnings
3214
# or remarks (even with -Werror). So we grep stderr for any message
3215
# that says an option was ignored or not supported.
3216
# When given -MP, icc 7.0 and 7.1 complain thusly:
3217
# icc: Command line warning: ignoring option '-M'; no argument required
3218
# The diagnosis changed in icc 8.0:
3219
# icc: Command line remark: option '-MP' not supported
3220
if (grep 'ignoring option' conftest.err ||
3221
grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3222
am_cv_CXX_dependencies_compiler_type=$depmode
3231
am_cv_CXX_dependencies_compiler_type=none
3235
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
3236
$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
3237
CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
3240
test "x$enable_dependency_tracking" != xno \
3241
&& test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
3242
am__fastdepCXX_TRUE=
3243
am__fastdepCXX_FALSE='#'
3245
am__fastdepCXX_TRUE='#'
3246
am__fastdepCXX_FALSE=
3251
ac_cpp='$CXXCPP $CPPFLAGS'
3252
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3253
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3254
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2480
3257
# Check for host platform
2481
3258
# Make sure we can run config.sub.