13071
ac_cpp='$CXXCPP $CPPFLAGS'
13072
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13073
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13074
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13075
if test -z "$CXX"; then
13076
if test -n "$CCC"; then
13079
if test -n "$ac_tool_prefix"; then
13080
for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
13082
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
13083
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
13084
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
13085
$as_echo_n "checking for $ac_word... " >&6; }
13086
if test "${ac_cv_prog_CXX+set}" = set; then
13087
$as_echo_n "(cached) " >&6
13089
if test -n "$CXX"; then
13090
ac_cv_prog_CXX="$CXX" # Let the user override the test.
13092
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13093
for as_dir in $PATH
13096
test -z "$as_dir" && as_dir=.
13097
for ac_exec_ext in '' $ac_executable_extensions; do
13098
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13099
ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
13100
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13109
CXX=$ac_cv_prog_CXX
13110
if test -n "$CXX"; then
13111
{ $as_echo "$as_me:$LINENO: result: $CXX" >&5
13112
$as_echo "$CXX" >&6; }
13114
{ $as_echo "$as_me:$LINENO: result: no" >&5
13115
$as_echo "no" >&6; }
13119
test -n "$CXX" && break
13122
if test -z "$CXX"; then
13124
for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
13126
# Extract the first word of "$ac_prog", so it can be a program name with args.
13127
set dummy $ac_prog; ac_word=$2
13128
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
13129
$as_echo_n "checking for $ac_word... " >&6; }
13130
if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
13131
$as_echo_n "(cached) " >&6
13133
if test -n "$ac_ct_CXX"; then
13134
ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
13136
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13137
for as_dir in $PATH
13140
test -z "$as_dir" && as_dir=.
13141
for ac_exec_ext in '' $ac_executable_extensions; do
13142
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13143
ac_cv_prog_ac_ct_CXX="$ac_prog"
13144
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13153
ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
13154
if test -n "$ac_ct_CXX"; then
13155
{ $as_echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
13156
$as_echo "$ac_ct_CXX" >&6; }
13158
{ $as_echo "$as_me:$LINENO: result: no" >&5
13159
$as_echo "no" >&6; }
13163
test -n "$ac_ct_CXX" && break
13166
if test "x$ac_ct_CXX" = x; then
13169
case $cross_compiling:$ac_tool_warned in
13171
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
13172
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13173
ac_tool_warned=yes ;;
13181
# Provide some information about the compiler.
13182
$as_echo "$as_me:$LINENO: checking for C++ compiler version" >&5
13185
{ (ac_try="$ac_compiler --version >&5"
13186
case "(($ac_try" in
13187
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13188
*) ac_try_echo=$ac_try;;
13190
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13191
$as_echo "$ac_try_echo") >&5
13192
(eval "$ac_compiler --version >&5") 2>&5
13194
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13195
(exit $ac_status); }
13196
{ (ac_try="$ac_compiler -v >&5"
13197
case "(($ac_try" in
13198
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13199
*) ac_try_echo=$ac_try;;
13201
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13202
$as_echo "$ac_try_echo") >&5
13203
(eval "$ac_compiler -v >&5") 2>&5
13205
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13206
(exit $ac_status); }
13207
{ (ac_try="$ac_compiler -V >&5"
13208
case "(($ac_try" in
13209
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13210
*) ac_try_echo=$ac_try;;
13212
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13213
$as_echo "$ac_try_echo") >&5
13214
(eval "$ac_compiler -V >&5") 2>&5
13216
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13217
(exit $ac_status); }
13219
{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
13220
$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
13221
if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
13222
$as_echo_n "(cached) " >&6
13224
cat >conftest.$ac_ext <<_ACEOF
13227
cat confdefs.h >>conftest.$ac_ext
13228
cat >>conftest.$ac_ext <<_ACEOF
13229
/* end confdefs.h. */
13242
rm -f conftest.$ac_objext
13243
if { (ac_try="$ac_compile"
13244
case "(($ac_try" in
13245
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13246
*) ac_try_echo=$ac_try;;
13248
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13249
$as_echo "$ac_try_echo") >&5
13250
(eval "$ac_compile") 2>conftest.er1
13252
grep -v '^ *+' conftest.er1 >conftest.err
13254
cat conftest.err >&5
13255
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13256
(exit $ac_status); } && {
13257
test -z "$ac_cxx_werror_flag" ||
13258
test ! -s conftest.err
13259
} && test -s conftest.$ac_objext; then
13260
ac_compiler_gnu=yes
13262
$as_echo "$as_me: failed program was:" >&5
13263
sed 's/^/| /' conftest.$ac_ext >&5
13268
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13269
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
13272
{ $as_echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
13273
$as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
13274
if test $ac_compiler_gnu = yes; then
13279
ac_test_CXXFLAGS=${CXXFLAGS+set}
13280
ac_save_CXXFLAGS=$CXXFLAGS
13281
{ $as_echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
13282
$as_echo_n "checking whether $CXX accepts -g... " >&6; }
13283
if test "${ac_cv_prog_cxx_g+set}" = set; then
13284
$as_echo_n "(cached) " >&6
13286
ac_save_cxx_werror_flag=$ac_cxx_werror_flag
13287
ac_cxx_werror_flag=yes
13288
ac_cv_prog_cxx_g=no
13290
cat >conftest.$ac_ext <<_ACEOF
13293
cat confdefs.h >>conftest.$ac_ext
13294
cat >>conftest.$ac_ext <<_ACEOF
13295
/* end confdefs.h. */
13305
rm -f conftest.$ac_objext
13306
if { (ac_try="$ac_compile"
13307
case "(($ac_try" in
13308
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13309
*) ac_try_echo=$ac_try;;
13311
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13312
$as_echo "$ac_try_echo") >&5
13313
(eval "$ac_compile") 2>conftest.er1
13315
grep -v '^ *+' conftest.er1 >conftest.err
13317
cat conftest.err >&5
13318
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13319
(exit $ac_status); } && {
13320
test -z "$ac_cxx_werror_flag" ||
13321
test ! -s conftest.err
13322
} && test -s conftest.$ac_objext; then
13323
ac_cv_prog_cxx_g=yes
13325
$as_echo "$as_me: failed program was:" >&5
13326
sed 's/^/| /' conftest.$ac_ext >&5
13329
cat >conftest.$ac_ext <<_ACEOF
13332
cat confdefs.h >>conftest.$ac_ext
13333
cat >>conftest.$ac_ext <<_ACEOF
13334
/* end confdefs.h. */
13344
rm -f conftest.$ac_objext
13345
if { (ac_try="$ac_compile"
13346
case "(($ac_try" in
13347
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13348
*) ac_try_echo=$ac_try;;
13350
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13351
$as_echo "$ac_try_echo") >&5
13352
(eval "$ac_compile") 2>conftest.er1
13354
grep -v '^ *+' conftest.er1 >conftest.err
13356
cat conftest.err >&5
13357
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13358
(exit $ac_status); } && {
13359
test -z "$ac_cxx_werror_flag" ||
13360
test ! -s conftest.err
13361
} && test -s conftest.$ac_objext; then
13364
$as_echo "$as_me: failed program was:" >&5
13365
sed 's/^/| /' conftest.$ac_ext >&5
13367
ac_cxx_werror_flag=$ac_save_cxx_werror_flag
13369
cat >conftest.$ac_ext <<_ACEOF
13372
cat confdefs.h >>conftest.$ac_ext
13373
cat >>conftest.$ac_ext <<_ACEOF
13374
/* end confdefs.h. */
13384
rm -f conftest.$ac_objext
13385
if { (ac_try="$ac_compile"
13386
case "(($ac_try" in
13387
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13388
*) ac_try_echo=$ac_try;;
13390
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13391
$as_echo "$ac_try_echo") >&5
13392
(eval "$ac_compile") 2>conftest.er1
13394
grep -v '^ *+' conftest.er1 >conftest.err
13396
cat conftest.err >&5
13397
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13398
(exit $ac_status); } && {
13399
test -z "$ac_cxx_werror_flag" ||
13400
test ! -s conftest.err
13401
} && test -s conftest.$ac_objext; then
13402
ac_cv_prog_cxx_g=yes
13404
$as_echo "$as_me: failed program was:" >&5
13405
sed 's/^/| /' conftest.$ac_ext >&5
13410
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13413
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13416
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13417
ac_cxx_werror_flag=$ac_save_cxx_werror_flag
13419
{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
13420
$as_echo "$ac_cv_prog_cxx_g" >&6; }
13421
if test "$ac_test_CXXFLAGS" = set; then
13422
CXXFLAGS=$ac_save_CXXFLAGS
13423
elif test $ac_cv_prog_cxx_g = yes; then
13424
if test "$GXX" = yes; then
13430
if test "$GXX" = yes; then
13437
ac_cpp='$CPP $CPPFLAGS'
13438
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13439
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13440
ac_compiler_gnu=$ac_cv_c_compiler_gnu
13442
depcc="$CXX" am_compiler_list=
13444
{ $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
13445
$as_echo_n "checking dependency style of $depcc... " >&6; }
13446
if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
13447
$as_echo_n "(cached) " >&6
13449
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
13450
# We make a subdir and do the tests there. Otherwise we can end up
13451
# making bogus files that we don't know about and never remove. For
13452
# instance it was reported that on HP-UX the gcc test will end up
13453
# making a dummy file named `D' -- because `-MD' means `put the output
13456
# Copy depcomp to subdir because otherwise we won't find it if we're
13457
# using a relative directory.
13458
cp "$am_depcomp" conftest.dir
13460
# We will build objects and dependencies in a subdirectory because
13461
# it helps to detect inapplicable dependency modes. For instance
13462
# both Tru64's cc and ICC support -MD to output dependencies as a
13463
# side effect of compilation, but ICC will put the dependencies in
13464
# the current directory while Tru64 will put them in the object
13468
am_cv_CXX_dependencies_compiler_type=none
13469
if test "$am_compiler_list" = ""; then
13470
am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
13472
for depmode in $am_compiler_list; do
13473
# Setup a source with many dependencies, because some compilers
13474
# like to wrap large dependency lists on column 80 (with \), and
13475
# we should not choose a depcomp mode which is confused by this.
13477
# We need to recreate these files for each test, as the compiler may
13478
# overwrite some of them when testing with obscure command lines.
13479
# This happens at least with the AIX C compiler.
13481
for i in 1 2 3 4 5 6; do
13482
echo '#include "conftst'$i'.h"' >> sub/conftest.c
13483
# Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
13484
# Solaris 8's {/usr,}/bin/sh.
13485
touch sub/conftst$i.h
13487
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
13491
# after this tag, mechanisms are not by side-effect, so they'll
13492
# only be used when explicitly requested
13493
if test "x$enable_dependency_tracking" = xyes; then
13501
# We check with `-c' and `-o' for the sake of the "dashmstdout"
13502
# mode. It turns out that the SunPro C++ compiler does not properly
13503
# handle `-M -o', and we need to detect this.
13504
if depmode=$depmode \
13505
source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
13506
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
13507
$SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
13508
>/dev/null 2>conftest.err &&
13509
grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
13510
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
13511
grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
13512
${MAKE-make} -s -f confmf > /dev/null 2>&1; then
13513
# icc doesn't choke on unknown options, it will just issue warnings
13514
# or remarks (even with -Werror). So we grep stderr for any message
13515
# that says an option was ignored or not supported.
13516
# When given -MP, icc 7.0 and 7.1 complain thusly:
13517
# icc: Command line warning: ignoring option '-M'; no argument required
13518
# The diagnosis changed in icc 8.0:
13519
# icc: Command line remark: option '-MP' not supported
13520
if (grep 'ignoring option' conftest.err ||
13521
grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
13522
am_cv_CXX_dependencies_compiler_type=$depmode
13529
rm -rf conftest.dir
13531
am_cv_CXX_dependencies_compiler_type=none
13535
{ $as_echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
13536
$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
13537
CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
13540
test "x$enable_dependency_tracking" != xno \
13541
&& test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
13542
am__fastdepCXX_TRUE=
13543
am__fastdepCXX_FALSE='#'
13545
am__fastdepCXX_TRUE='#'
13546
am__fastdepCXX_FALSE=
13552
ac_cpp='$CXXCPP $CPPFLAGS'
13553
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13554
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13555
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13556
if test -z "$CXX"; then
13557
if test -n "$CCC"; then
13560
if test -n "$ac_tool_prefix"; then
13561
for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
13563
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
13564
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
13565
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
13566
$as_echo_n "checking for $ac_word... " >&6; }
13567
if test "${ac_cv_prog_CXX+set}" = set; then
13568
$as_echo_n "(cached) " >&6
13570
if test -n "$CXX"; then
13571
ac_cv_prog_CXX="$CXX" # Let the user override the test.
13573
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13574
for as_dir in $PATH
13577
test -z "$as_dir" && as_dir=.
13578
for ac_exec_ext in '' $ac_executable_extensions; do
13579
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13580
ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
13581
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13590
CXX=$ac_cv_prog_CXX
13591
if test -n "$CXX"; then
13592
{ $as_echo "$as_me:$LINENO: result: $CXX" >&5
13593
$as_echo "$CXX" >&6; }
13595
{ $as_echo "$as_me:$LINENO: result: no" >&5
13596
$as_echo "no" >&6; }
13600
test -n "$CXX" && break
13603
if test -z "$CXX"; then
13605
for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
13607
# Extract the first word of "$ac_prog", so it can be a program name with args.
13608
set dummy $ac_prog; ac_word=$2
13609
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
13610
$as_echo_n "checking for $ac_word... " >&6; }
13611
if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
13612
$as_echo_n "(cached) " >&6
13614
if test -n "$ac_ct_CXX"; then
13615
ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
13617
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13618
for as_dir in $PATH
13621
test -z "$as_dir" && as_dir=.
13622
for ac_exec_ext in '' $ac_executable_extensions; do
13623
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13624
ac_cv_prog_ac_ct_CXX="$ac_prog"
13625
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13634
ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
13635
if test -n "$ac_ct_CXX"; then
13636
{ $as_echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
13637
$as_echo "$ac_ct_CXX" >&6; }
13639
{ $as_echo "$as_me:$LINENO: result: no" >&5
13640
$as_echo "no" >&6; }
13644
test -n "$ac_ct_CXX" && break
13647
if test "x$ac_ct_CXX" = x; then
13650
case $cross_compiling:$ac_tool_warned in
13652
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
13653
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13654
ac_tool_warned=yes ;;
13662
# Provide some information about the compiler.
13663
$as_echo "$as_me:$LINENO: checking for C++ compiler version" >&5
13666
{ (ac_try="$ac_compiler --version >&5"
13667
case "(($ac_try" in
13668
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13669
*) ac_try_echo=$ac_try;;
13671
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13672
$as_echo "$ac_try_echo") >&5
13673
(eval "$ac_compiler --version >&5") 2>&5
13675
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13676
(exit $ac_status); }
13677
{ (ac_try="$ac_compiler -v >&5"
13678
case "(($ac_try" in
13679
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13680
*) ac_try_echo=$ac_try;;
13682
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13683
$as_echo "$ac_try_echo") >&5
13684
(eval "$ac_compiler -v >&5") 2>&5
13686
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13687
(exit $ac_status); }
13688
{ (ac_try="$ac_compiler -V >&5"
13689
case "(($ac_try" in
13690
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13691
*) ac_try_echo=$ac_try;;
13693
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13694
$as_echo "$ac_try_echo") >&5
13695
(eval "$ac_compiler -V >&5") 2>&5
13697
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13698
(exit $ac_status); }
13700
{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
13701
$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
13702
if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
13703
$as_echo_n "(cached) " >&6
13705
cat >conftest.$ac_ext <<_ACEOF
13708
cat confdefs.h >>conftest.$ac_ext
13709
cat >>conftest.$ac_ext <<_ACEOF
13710
/* end confdefs.h. */
13723
rm -f conftest.$ac_objext
13724
if { (ac_try="$ac_compile"
13725
case "(($ac_try" in
13726
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13727
*) ac_try_echo=$ac_try;;
13729
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13730
$as_echo "$ac_try_echo") >&5
13731
(eval "$ac_compile") 2>conftest.er1
13733
grep -v '^ *+' conftest.er1 >conftest.err
13735
cat conftest.err >&5
13736
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13737
(exit $ac_status); } && {
13738
test -z "$ac_cxx_werror_flag" ||
13739
test ! -s conftest.err
13740
} && test -s conftest.$ac_objext; then
13741
ac_compiler_gnu=yes
13743
$as_echo "$as_me: failed program was:" >&5
13744
sed 's/^/| /' conftest.$ac_ext >&5
13749
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13750
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
13753
{ $as_echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
13754
$as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
13755
if test $ac_compiler_gnu = yes; then
13760
ac_test_CXXFLAGS=${CXXFLAGS+set}
13761
ac_save_CXXFLAGS=$CXXFLAGS
13762
{ $as_echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
13763
$as_echo_n "checking whether $CXX accepts -g... " >&6; }
13764
if test "${ac_cv_prog_cxx_g+set}" = set; then
13765
$as_echo_n "(cached) " >&6
13767
ac_save_cxx_werror_flag=$ac_cxx_werror_flag
13768
ac_cxx_werror_flag=yes
13769
ac_cv_prog_cxx_g=no
13771
cat >conftest.$ac_ext <<_ACEOF
13774
cat confdefs.h >>conftest.$ac_ext
13775
cat >>conftest.$ac_ext <<_ACEOF
13776
/* end confdefs.h. */
13786
rm -f conftest.$ac_objext
13787
if { (ac_try="$ac_compile"
13788
case "(($ac_try" in
13789
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13790
*) ac_try_echo=$ac_try;;
13792
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13793
$as_echo "$ac_try_echo") >&5
13794
(eval "$ac_compile") 2>conftest.er1
13796
grep -v '^ *+' conftest.er1 >conftest.err
13798
cat conftest.err >&5
13799
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13800
(exit $ac_status); } && {
13801
test -z "$ac_cxx_werror_flag" ||
13802
test ! -s conftest.err
13803
} && test -s conftest.$ac_objext; then
13804
ac_cv_prog_cxx_g=yes
13806
$as_echo "$as_me: failed program was:" >&5
13807
sed 's/^/| /' conftest.$ac_ext >&5
13810
cat >conftest.$ac_ext <<_ACEOF
13813
cat confdefs.h >>conftest.$ac_ext
13814
cat >>conftest.$ac_ext <<_ACEOF
13815
/* end confdefs.h. */
13825
rm -f conftest.$ac_objext
13826
if { (ac_try="$ac_compile"
13827
case "(($ac_try" in
13828
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13829
*) ac_try_echo=$ac_try;;
13831
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13832
$as_echo "$ac_try_echo") >&5
13833
(eval "$ac_compile") 2>conftest.er1
13835
grep -v '^ *+' conftest.er1 >conftest.err
13837
cat conftest.err >&5
13838
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13839
(exit $ac_status); } && {
13840
test -z "$ac_cxx_werror_flag" ||
13841
test ! -s conftest.err
13842
} && test -s conftest.$ac_objext; then
13845
$as_echo "$as_me: failed program was:" >&5
13846
sed 's/^/| /' conftest.$ac_ext >&5
13848
ac_cxx_werror_flag=$ac_save_cxx_werror_flag
13850
cat >conftest.$ac_ext <<_ACEOF
13853
cat confdefs.h >>conftest.$ac_ext
13854
cat >>conftest.$ac_ext <<_ACEOF
13855
/* end confdefs.h. */
13865
rm -f conftest.$ac_objext
13866
if { (ac_try="$ac_compile"
13867
case "(($ac_try" in
13868
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13869
*) ac_try_echo=$ac_try;;
13871
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13872
$as_echo "$ac_try_echo") >&5
13873
(eval "$ac_compile") 2>conftest.er1
13875
grep -v '^ *+' conftest.er1 >conftest.err
13877
cat conftest.err >&5
13878
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13879
(exit $ac_status); } && {
13880
test -z "$ac_cxx_werror_flag" ||
13881
test ! -s conftest.err
13882
} && test -s conftest.$ac_objext; then
13883
ac_cv_prog_cxx_g=yes
13885
$as_echo "$as_me: failed program was:" >&5
13886
sed 's/^/| /' conftest.$ac_ext >&5
13891
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13894
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13897
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13898
ac_cxx_werror_flag=$ac_save_cxx_werror_flag
13900
{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
13901
$as_echo "$ac_cv_prog_cxx_g" >&6; }
13902
if test "$ac_test_CXXFLAGS" = set; then
13903
CXXFLAGS=$ac_save_CXXFLAGS
13904
elif test $ac_cv_prog_cxx_g = yes; then
13905
if test "$GXX" = yes; then
13911
if test "$GXX" = yes; then
13918
ac_cpp='$CPP $CPPFLAGS'
13919
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13920
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13921
ac_compiler_gnu=$ac_cv_c_compiler_gnu
13923
depcc="$CXX" am_compiler_list=
13925
{ $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
13926
$as_echo_n "checking dependency style of $depcc... " >&6; }
13927
if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
13928
$as_echo_n "(cached) " >&6
13930
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
13931
# We make a subdir and do the tests there. Otherwise we can end up
13932
# making bogus files that we don't know about and never remove. For
13933
# instance it was reported that on HP-UX the gcc test will end up
13934
# making a dummy file named `D' -- because `-MD' means `put the output
13937
# Copy depcomp to subdir because otherwise we won't find it if we're
13938
# using a relative directory.
13939
cp "$am_depcomp" conftest.dir
13941
# We will build objects and dependencies in a subdirectory because
13942
# it helps to detect inapplicable dependency modes. For instance
13943
# both Tru64's cc and ICC support -MD to output dependencies as a
13944
# side effect of compilation, but ICC will put the dependencies in
13945
# the current directory while Tru64 will put them in the object
13949
am_cv_CXX_dependencies_compiler_type=none
13950
if test "$am_compiler_list" = ""; then
13951
am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
13953
for depmode in $am_compiler_list; do
13954
# Setup a source with many dependencies, because some compilers
13955
# like to wrap large dependency lists on column 80 (with \), and
13956
# we should not choose a depcomp mode which is confused by this.
13958
# We need to recreate these files for each test, as the compiler may
13959
# overwrite some of them when testing with obscure command lines.
13960
# This happens at least with the AIX C compiler.
13962
for i in 1 2 3 4 5 6; do
13963
echo '#include "conftst'$i'.h"' >> sub/conftest.c
13964
# Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
13965
# Solaris 8's {/usr,}/bin/sh.
13966
touch sub/conftst$i.h
13968
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
13972
# after this tag, mechanisms are not by side-effect, so they'll
13973
# only be used when explicitly requested
13974
if test "x$enable_dependency_tracking" = xyes; then
13982
# We check with `-c' and `-o' for the sake of the "dashmstdout"
13983
# mode. It turns out that the SunPro C++ compiler does not properly
13984
# handle `-M -o', and we need to detect this.
13985
if depmode=$depmode \
13986
source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
13987
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
13988
$SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
13989
>/dev/null 2>conftest.err &&
13990
grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
13991
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
13992
grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
13993
${MAKE-make} -s -f confmf > /dev/null 2>&1; then
13994
# icc doesn't choke on unknown options, it will just issue warnings
13995
# or remarks (even with -Werror). So we grep stderr for any message
13996
# that says an option was ignored or not supported.
13997
# When given -MP, icc 7.0 and 7.1 complain thusly:
13998
# icc: Command line warning: ignoring option '-M'; no argument required
13999
# The diagnosis changed in icc 8.0:
14000
# icc: Command line remark: option '-MP' not supported
14001
if (grep 'ignoring option' conftest.err ||
14002
grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
14003
am_cv_CXX_dependencies_compiler_type=$depmode
14010
rm -rf conftest.dir
14012
am_cv_CXX_dependencies_compiler_type=none
14016
{ $as_echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
14017
$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
14018
CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
14021
test "x$enable_dependency_tracking" != xno \
14022
&& test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
14023
am__fastdepCXX_TRUE=
14024
am__fastdepCXX_FALSE='#'
14026
am__fastdepCXX_TRUE='#'
14027
am__fastdepCXX_FALSE=
13090
{ $as_echo "$as_me:$LINENO: checking what warning flags to pass to the C compiler" >&5
13091
$as_echo_n "checking what warning flags to pass to the C compiler... " >&6; }
13092
if test "${kpse_cv_warning_cflags+set}" = set; then
13093
$as_echo_n "(cached) " >&6
13095
if test "x$enable_compiler_warnings" = xno; then
13096
kpse_cv_warning_cflags=
13097
elif test "x$GCC" = xyes; then
13098
kpse_cv_warning_cflags="-Wall -Wunused"
13099
case `$CC -dumpversion` in
13100
3.4.* | 4.*) kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wdeclaration-after-statement" ;;
13103
case `$CC -dumpversion` in
13104
3.[234].* | 4.*) kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wno-unknown-pragmas" ;;
13107
if test "x$enable_compiler_warnings" != xmin; then
13108
kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wmissing-prototypes -Wmissing-declarations"
13109
if test "x$enable_compiler_warnings" != xyes; then
13110
kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wimplicit -Wparentheses -Wreturn-type"
13111
kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wswitch -Wtrigraphs -Wshadow -Wpointer-arith"
13112
kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wcast-qual -Wcast-align -Wwrite-strings"
13113
case `$CC -dumpversion` in
13114
3.4.* | 4.*) kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wold-style-definition" ;;
13120
: # FIXME: warning flags for non-gcc compilers
13123
{ $as_echo "$as_me:$LINENO: result: $kpse_cv_warning_cflags" >&5
13124
$as_echo "$kpse_cv_warning_cflags" >&6; }
13125
WARNING_CFLAGS=$kpse_cv_warning_cflags
13133
ac_cpp='$CXXCPP $CPPFLAGS'
13134
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13135
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13136
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13137
if test -z "$CXX"; then
13138
if test -n "$CCC"; then
13141
if test -n "$ac_tool_prefix"; then
13142
for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
13144
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
13145
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
13146
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
13147
$as_echo_n "checking for $ac_word... " >&6; }
13148
if test "${ac_cv_prog_CXX+set}" = set; then
13149
$as_echo_n "(cached) " >&6
13151
if test -n "$CXX"; then
13152
ac_cv_prog_CXX="$CXX" # Let the user override the test.
13154
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13155
for as_dir in $PATH
13158
test -z "$as_dir" && as_dir=.
13159
for ac_exec_ext in '' $ac_executable_extensions; do
13160
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13161
ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
13162
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13171
CXX=$ac_cv_prog_CXX
13172
if test -n "$CXX"; then
13173
{ $as_echo "$as_me:$LINENO: result: $CXX" >&5
13174
$as_echo "$CXX" >&6; }
13176
{ $as_echo "$as_me:$LINENO: result: no" >&5
13177
$as_echo "no" >&6; }
13181
test -n "$CXX" && break
13184
if test -z "$CXX"; then
13186
for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
13188
# Extract the first word of "$ac_prog", so it can be a program name with args.
13189
set dummy $ac_prog; ac_word=$2
13190
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
13191
$as_echo_n "checking for $ac_word... " >&6; }
13192
if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
13193
$as_echo_n "(cached) " >&6
13195
if test -n "$ac_ct_CXX"; then
13196
ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
13198
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13199
for as_dir in $PATH
13202
test -z "$as_dir" && as_dir=.
13203
for ac_exec_ext in '' $ac_executable_extensions; do
13204
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13205
ac_cv_prog_ac_ct_CXX="$ac_prog"
13206
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13215
ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
13216
if test -n "$ac_ct_CXX"; then
13217
{ $as_echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
13218
$as_echo "$ac_ct_CXX" >&6; }
13220
{ $as_echo "$as_me:$LINENO: result: no" >&5
13221
$as_echo "no" >&6; }
13225
test -n "$ac_ct_CXX" && break
13228
if test "x$ac_ct_CXX" = x; then
13231
case $cross_compiling:$ac_tool_warned in
13233
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
13234
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13235
ac_tool_warned=yes ;;
13243
# Provide some information about the compiler.
13244
$as_echo "$as_me:$LINENO: checking for C++ compiler version" >&5
13247
{ (ac_try="$ac_compiler --version >&5"
13248
case "(($ac_try" in
13249
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13250
*) ac_try_echo=$ac_try;;
13252
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13253
$as_echo "$ac_try_echo") >&5
13254
(eval "$ac_compiler --version >&5") 2>&5
13256
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13257
(exit $ac_status); }
13258
{ (ac_try="$ac_compiler -v >&5"
13259
case "(($ac_try" in
13260
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13261
*) ac_try_echo=$ac_try;;
13263
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13264
$as_echo "$ac_try_echo") >&5
13265
(eval "$ac_compiler -v >&5") 2>&5
13267
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13268
(exit $ac_status); }
13269
{ (ac_try="$ac_compiler -V >&5"
13270
case "(($ac_try" in
13271
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13272
*) ac_try_echo=$ac_try;;
13274
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13275
$as_echo "$ac_try_echo") >&5
13276
(eval "$ac_compiler -V >&5") 2>&5
13278
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13279
(exit $ac_status); }
13281
{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
13282
$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
13283
if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
13284
$as_echo_n "(cached) " >&6
13286
cat >conftest.$ac_ext <<_ACEOF
13289
cat confdefs.h >>conftest.$ac_ext
13290
cat >>conftest.$ac_ext <<_ACEOF
13291
/* end confdefs.h. */
13304
rm -f conftest.$ac_objext
13305
if { (ac_try="$ac_compile"
13306
case "(($ac_try" in
13307
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13308
*) ac_try_echo=$ac_try;;
13310
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13311
$as_echo "$ac_try_echo") >&5
13312
(eval "$ac_compile") 2>conftest.er1
13314
grep -v '^ *+' conftest.er1 >conftest.err
13316
cat conftest.err >&5
13317
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13318
(exit $ac_status); } && {
13319
test -z "$ac_cxx_werror_flag" ||
13320
test ! -s conftest.err
13321
} && test -s conftest.$ac_objext; then
13322
ac_compiler_gnu=yes
13324
$as_echo "$as_me: failed program was:" >&5
13325
sed 's/^/| /' conftest.$ac_ext >&5
13330
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13331
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
13334
{ $as_echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
13335
$as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
13336
if test $ac_compiler_gnu = yes; then
13341
ac_test_CXXFLAGS=${CXXFLAGS+set}
13342
ac_save_CXXFLAGS=$CXXFLAGS
13343
{ $as_echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
13344
$as_echo_n "checking whether $CXX accepts -g... " >&6; }
13345
if test "${ac_cv_prog_cxx_g+set}" = set; then
13346
$as_echo_n "(cached) " >&6
13348
ac_save_cxx_werror_flag=$ac_cxx_werror_flag
13349
ac_cxx_werror_flag=yes
13350
ac_cv_prog_cxx_g=no
13352
cat >conftest.$ac_ext <<_ACEOF
13355
cat confdefs.h >>conftest.$ac_ext
13356
cat >>conftest.$ac_ext <<_ACEOF
13357
/* end confdefs.h. */
13367
rm -f conftest.$ac_objext
13368
if { (ac_try="$ac_compile"
13369
case "(($ac_try" in
13370
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13371
*) ac_try_echo=$ac_try;;
13373
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13374
$as_echo "$ac_try_echo") >&5
13375
(eval "$ac_compile") 2>conftest.er1
13377
grep -v '^ *+' conftest.er1 >conftest.err
13379
cat conftest.err >&5
13380
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13381
(exit $ac_status); } && {
13382
test -z "$ac_cxx_werror_flag" ||
13383
test ! -s conftest.err
13384
} && test -s conftest.$ac_objext; then
13385
ac_cv_prog_cxx_g=yes
13387
$as_echo "$as_me: failed program was:" >&5
13388
sed 's/^/| /' conftest.$ac_ext >&5
13391
cat >conftest.$ac_ext <<_ACEOF
13394
cat confdefs.h >>conftest.$ac_ext
13395
cat >>conftest.$ac_ext <<_ACEOF
13396
/* end confdefs.h. */
13406
rm -f conftest.$ac_objext
13407
if { (ac_try="$ac_compile"
13408
case "(($ac_try" in
13409
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13410
*) ac_try_echo=$ac_try;;
13412
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13413
$as_echo "$ac_try_echo") >&5
13414
(eval "$ac_compile") 2>conftest.er1
13416
grep -v '^ *+' conftest.er1 >conftest.err
13418
cat conftest.err >&5
13419
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13420
(exit $ac_status); } && {
13421
test -z "$ac_cxx_werror_flag" ||
13422
test ! -s conftest.err
13423
} && test -s conftest.$ac_objext; then
13426
$as_echo "$as_me: failed program was:" >&5
13427
sed 's/^/| /' conftest.$ac_ext >&5
13429
ac_cxx_werror_flag=$ac_save_cxx_werror_flag
13431
cat >conftest.$ac_ext <<_ACEOF
13434
cat confdefs.h >>conftest.$ac_ext
13435
cat >>conftest.$ac_ext <<_ACEOF
13436
/* end confdefs.h. */
13446
rm -f conftest.$ac_objext
13447
if { (ac_try="$ac_compile"
13448
case "(($ac_try" in
13449
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13450
*) ac_try_echo=$ac_try;;
13452
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13453
$as_echo "$ac_try_echo") >&5
13454
(eval "$ac_compile") 2>conftest.er1
13456
grep -v '^ *+' conftest.er1 >conftest.err
13458
cat conftest.err >&5
13459
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13460
(exit $ac_status); } && {
13461
test -z "$ac_cxx_werror_flag" ||
13462
test ! -s conftest.err
13463
} && test -s conftest.$ac_objext; then
13464
ac_cv_prog_cxx_g=yes
13466
$as_echo "$as_me: failed program was:" >&5
13467
sed 's/^/| /' conftest.$ac_ext >&5
13472
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13475
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13478
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13479
ac_cxx_werror_flag=$ac_save_cxx_werror_flag
13481
{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
13482
$as_echo "$ac_cv_prog_cxx_g" >&6; }
13483
if test "$ac_test_CXXFLAGS" = set; then
13484
CXXFLAGS=$ac_save_CXXFLAGS
13485
elif test $ac_cv_prog_cxx_g = yes; then
13486
if test "$GXX" = yes; then
13492
if test "$GXX" = yes; then
13499
ac_cpp='$CPP $CPPFLAGS'
13500
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13501
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13502
ac_compiler_gnu=$ac_cv_c_compiler_gnu
13504
depcc="$CXX" am_compiler_list=
13506
{ $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
13507
$as_echo_n "checking dependency style of $depcc... " >&6; }
13508
if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
13509
$as_echo_n "(cached) " >&6
13511
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
13512
# We make a subdir and do the tests there. Otherwise we can end up
13513
# making bogus files that we don't know about and never remove. For
13514
# instance it was reported that on HP-UX the gcc test will end up
13515
# making a dummy file named `D' -- because `-MD' means `put the output
13518
# Copy depcomp to subdir because otherwise we won't find it if we're
13519
# using a relative directory.
13520
cp "$am_depcomp" conftest.dir
13522
# We will build objects and dependencies in a subdirectory because
13523
# it helps to detect inapplicable dependency modes. For instance
13524
# both Tru64's cc and ICC support -MD to output dependencies as a
13525
# side effect of compilation, but ICC will put the dependencies in
13526
# the current directory while Tru64 will put them in the object
13530
am_cv_CXX_dependencies_compiler_type=none
13531
if test "$am_compiler_list" = ""; then
13532
am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
13534
for depmode in $am_compiler_list; do
13535
# Setup a source with many dependencies, because some compilers
13536
# like to wrap large dependency lists on column 80 (with \), and
13537
# we should not choose a depcomp mode which is confused by this.
13539
# We need to recreate these files for each test, as the compiler may
13540
# overwrite some of them when testing with obscure command lines.
13541
# This happens at least with the AIX C compiler.
13543
for i in 1 2 3 4 5 6; do
13544
echo '#include "conftst'$i'.h"' >> sub/conftest.c
13545
# Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
13546
# Solaris 8's {/usr,}/bin/sh.
13547
touch sub/conftst$i.h
13549
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
13553
# after this tag, mechanisms are not by side-effect, so they'll
13554
# only be used when explicitly requested
13555
if test "x$enable_dependency_tracking" = xyes; then
13563
# We check with `-c' and `-o' for the sake of the "dashmstdout"
13564
# mode. It turns out that the SunPro C++ compiler does not properly
13565
# handle `-M -o', and we need to detect this.
13566
if depmode=$depmode \
13567
source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
13568
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
13569
$SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
13570
>/dev/null 2>conftest.err &&
13571
grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
13572
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
13573
grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
13574
${MAKE-make} -s -f confmf > /dev/null 2>&1; then
13575
# icc doesn't choke on unknown options, it will just issue warnings
13576
# or remarks (even with -Werror). So we grep stderr for any message
13577
# that says an option was ignored or not supported.
13578
# When given -MP, icc 7.0 and 7.1 complain thusly:
13579
# icc: Command line warning: ignoring option '-M'; no argument required
13580
# The diagnosis changed in icc 8.0:
13581
# icc: Command line remark: option '-MP' not supported
13582
if (grep 'ignoring option' conftest.err ||
13583
grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
13584
am_cv_CXX_dependencies_compiler_type=$depmode
13591
rm -rf conftest.dir
13593
am_cv_CXX_dependencies_compiler_type=none
13597
{ $as_echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
13598
$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
13599
CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
13602
test "x$enable_dependency_tracking" != xno \
13603
&& test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
13604
am__fastdepCXX_TRUE=
13605
am__fastdepCXX_FALSE='#'
13607
am__fastdepCXX_TRUE='#'
13608
am__fastdepCXX_FALSE=
13614
ac_cpp='$CXXCPP $CPPFLAGS'
13615
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13616
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13617
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13618
if test -z "$CXX"; then
13619
if test -n "$CCC"; then
13622
if test -n "$ac_tool_prefix"; then
13623
for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
13625
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
13626
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
13627
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
13628
$as_echo_n "checking for $ac_word... " >&6; }
13629
if test "${ac_cv_prog_CXX+set}" = set; then
13630
$as_echo_n "(cached) " >&6
13632
if test -n "$CXX"; then
13633
ac_cv_prog_CXX="$CXX" # Let the user override the test.
13635
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13636
for as_dir in $PATH
13639
test -z "$as_dir" && as_dir=.
13640
for ac_exec_ext in '' $ac_executable_extensions; do
13641
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13642
ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
13643
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13652
CXX=$ac_cv_prog_CXX
13653
if test -n "$CXX"; then
13654
{ $as_echo "$as_me:$LINENO: result: $CXX" >&5
13655
$as_echo "$CXX" >&6; }
13657
{ $as_echo "$as_me:$LINENO: result: no" >&5
13658
$as_echo "no" >&6; }
13662
test -n "$CXX" && break
13665
if test -z "$CXX"; then
13667
for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
13669
# Extract the first word of "$ac_prog", so it can be a program name with args.
13670
set dummy $ac_prog; ac_word=$2
13671
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
13672
$as_echo_n "checking for $ac_word... " >&6; }
13673
if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
13674
$as_echo_n "(cached) " >&6
13676
if test -n "$ac_ct_CXX"; then
13677
ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
13679
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13680
for as_dir in $PATH
13683
test -z "$as_dir" && as_dir=.
13684
for ac_exec_ext in '' $ac_executable_extensions; do
13685
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13686
ac_cv_prog_ac_ct_CXX="$ac_prog"
13687
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13696
ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
13697
if test -n "$ac_ct_CXX"; then
13698
{ $as_echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
13699
$as_echo "$ac_ct_CXX" >&6; }
13701
{ $as_echo "$as_me:$LINENO: result: no" >&5
13702
$as_echo "no" >&6; }
13706
test -n "$ac_ct_CXX" && break
13709
if test "x$ac_ct_CXX" = x; then
13712
case $cross_compiling:$ac_tool_warned in
13714
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
13715
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13716
ac_tool_warned=yes ;;
13724
# Provide some information about the compiler.
13725
$as_echo "$as_me:$LINENO: checking for C++ compiler version" >&5
13728
{ (ac_try="$ac_compiler --version >&5"
13729
case "(($ac_try" in
13730
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13731
*) ac_try_echo=$ac_try;;
13733
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13734
$as_echo "$ac_try_echo") >&5
13735
(eval "$ac_compiler --version >&5") 2>&5
13737
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13738
(exit $ac_status); }
13739
{ (ac_try="$ac_compiler -v >&5"
13740
case "(($ac_try" in
13741
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13742
*) ac_try_echo=$ac_try;;
13744
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13745
$as_echo "$ac_try_echo") >&5
13746
(eval "$ac_compiler -v >&5") 2>&5
13748
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13749
(exit $ac_status); }
13750
{ (ac_try="$ac_compiler -V >&5"
13751
case "(($ac_try" in
13752
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13753
*) ac_try_echo=$ac_try;;
13755
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13756
$as_echo "$ac_try_echo") >&5
13757
(eval "$ac_compiler -V >&5") 2>&5
13759
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13760
(exit $ac_status); }
13762
{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
13763
$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
13764
if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
13765
$as_echo_n "(cached) " >&6
13767
cat >conftest.$ac_ext <<_ACEOF
13770
cat confdefs.h >>conftest.$ac_ext
13771
cat >>conftest.$ac_ext <<_ACEOF
13772
/* end confdefs.h. */
13785
rm -f conftest.$ac_objext
13786
if { (ac_try="$ac_compile"
13787
case "(($ac_try" in
13788
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13789
*) ac_try_echo=$ac_try;;
13791
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13792
$as_echo "$ac_try_echo") >&5
13793
(eval "$ac_compile") 2>conftest.er1
13795
grep -v '^ *+' conftest.er1 >conftest.err
13797
cat conftest.err >&5
13798
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13799
(exit $ac_status); } && {
13800
test -z "$ac_cxx_werror_flag" ||
13801
test ! -s conftest.err
13802
} && test -s conftest.$ac_objext; then
13803
ac_compiler_gnu=yes
13805
$as_echo "$as_me: failed program was:" >&5
13806
sed 's/^/| /' conftest.$ac_ext >&5
13811
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13812
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
13815
{ $as_echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
13816
$as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
13817
if test $ac_compiler_gnu = yes; then
13822
ac_test_CXXFLAGS=${CXXFLAGS+set}
13823
ac_save_CXXFLAGS=$CXXFLAGS
13824
{ $as_echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
13825
$as_echo_n "checking whether $CXX accepts -g... " >&6; }
13826
if test "${ac_cv_prog_cxx_g+set}" = set; then
13827
$as_echo_n "(cached) " >&6
13829
ac_save_cxx_werror_flag=$ac_cxx_werror_flag
13830
ac_cxx_werror_flag=yes
13831
ac_cv_prog_cxx_g=no
13833
cat >conftest.$ac_ext <<_ACEOF
13836
cat confdefs.h >>conftest.$ac_ext
13837
cat >>conftest.$ac_ext <<_ACEOF
13838
/* end confdefs.h. */
13848
rm -f conftest.$ac_objext
13849
if { (ac_try="$ac_compile"
13850
case "(($ac_try" in
13851
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13852
*) ac_try_echo=$ac_try;;
13854
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13855
$as_echo "$ac_try_echo") >&5
13856
(eval "$ac_compile") 2>conftest.er1
13858
grep -v '^ *+' conftest.er1 >conftest.err
13860
cat conftest.err >&5
13861
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13862
(exit $ac_status); } && {
13863
test -z "$ac_cxx_werror_flag" ||
13864
test ! -s conftest.err
13865
} && test -s conftest.$ac_objext; then
13866
ac_cv_prog_cxx_g=yes
13868
$as_echo "$as_me: failed program was:" >&5
13869
sed 's/^/| /' conftest.$ac_ext >&5
13872
cat >conftest.$ac_ext <<_ACEOF
13875
cat confdefs.h >>conftest.$ac_ext
13876
cat >>conftest.$ac_ext <<_ACEOF
13877
/* end confdefs.h. */
13887
rm -f conftest.$ac_objext
13888
if { (ac_try="$ac_compile"
13889
case "(($ac_try" in
13890
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13891
*) ac_try_echo=$ac_try;;
13893
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13894
$as_echo "$ac_try_echo") >&5
13895
(eval "$ac_compile") 2>conftest.er1
13897
grep -v '^ *+' conftest.er1 >conftest.err
13899
cat conftest.err >&5
13900
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13901
(exit $ac_status); } && {
13902
test -z "$ac_cxx_werror_flag" ||
13903
test ! -s conftest.err
13904
} && test -s conftest.$ac_objext; then
13907
$as_echo "$as_me: failed program was:" >&5
13908
sed 's/^/| /' conftest.$ac_ext >&5
13910
ac_cxx_werror_flag=$ac_save_cxx_werror_flag
13912
cat >conftest.$ac_ext <<_ACEOF
13915
cat confdefs.h >>conftest.$ac_ext
13916
cat >>conftest.$ac_ext <<_ACEOF
13917
/* end confdefs.h. */
13927
rm -f conftest.$ac_objext
13928
if { (ac_try="$ac_compile"
13929
case "(($ac_try" in
13930
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13931
*) ac_try_echo=$ac_try;;
13933
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13934
$as_echo "$ac_try_echo") >&5
13935
(eval "$ac_compile") 2>conftest.er1
13937
grep -v '^ *+' conftest.er1 >conftest.err
13939
cat conftest.err >&5
13940
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13941
(exit $ac_status); } && {
13942
test -z "$ac_cxx_werror_flag" ||
13943
test ! -s conftest.err
13944
} && test -s conftest.$ac_objext; then
13945
ac_cv_prog_cxx_g=yes
13947
$as_echo "$as_me: failed program was:" >&5
13948
sed 's/^/| /' conftest.$ac_ext >&5
13953
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13956
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13959
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13960
ac_cxx_werror_flag=$ac_save_cxx_werror_flag
13962
{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
13963
$as_echo "$ac_cv_prog_cxx_g" >&6; }
13964
if test "$ac_test_CXXFLAGS" = set; then
13965
CXXFLAGS=$ac_save_CXXFLAGS
13966
elif test $ac_cv_prog_cxx_g = yes; then
13967
if test "$GXX" = yes; then
13973
if test "$GXX" = yes; then
13980
ac_cpp='$CPP $CPPFLAGS'
13981
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13982
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13983
ac_compiler_gnu=$ac_cv_c_compiler_gnu
13985
depcc="$CXX" am_compiler_list=
13987
{ $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
13988
$as_echo_n "checking dependency style of $depcc... " >&6; }
13989
if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
13990
$as_echo_n "(cached) " >&6
13992
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
13993
# We make a subdir and do the tests there. Otherwise we can end up
13994
# making bogus files that we don't know about and never remove. For
13995
# instance it was reported that on HP-UX the gcc test will end up
13996
# making a dummy file named `D' -- because `-MD' means `put the output
13999
# Copy depcomp to subdir because otherwise we won't find it if we're
14000
# using a relative directory.
14001
cp "$am_depcomp" conftest.dir
14003
# We will build objects and dependencies in a subdirectory because
14004
# it helps to detect inapplicable dependency modes. For instance
14005
# both Tru64's cc and ICC support -MD to output dependencies as a
14006
# side effect of compilation, but ICC will put the dependencies in
14007
# the current directory while Tru64 will put them in the object
14011
am_cv_CXX_dependencies_compiler_type=none
14012
if test "$am_compiler_list" = ""; then
14013
am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
14015
for depmode in $am_compiler_list; do
14016
# Setup a source with many dependencies, because some compilers
14017
# like to wrap large dependency lists on column 80 (with \), and
14018
# we should not choose a depcomp mode which is confused by this.
14020
# We need to recreate these files for each test, as the compiler may
14021
# overwrite some of them when testing with obscure command lines.
14022
# This happens at least with the AIX C compiler.
14024
for i in 1 2 3 4 5 6; do
14025
echo '#include "conftst'$i'.h"' >> sub/conftest.c
14026
# Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
14027
# Solaris 8's {/usr,}/bin/sh.
14028
touch sub/conftst$i.h
14030
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
14034
# after this tag, mechanisms are not by side-effect, so they'll
14035
# only be used when explicitly requested
14036
if test "x$enable_dependency_tracking" = xyes; then
14044
# We check with `-c' and `-o' for the sake of the "dashmstdout"
14045
# mode. It turns out that the SunPro C++ compiler does not properly
14046
# handle `-M -o', and we need to detect this.
14047
if depmode=$depmode \
14048
source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
14049
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
14050
$SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
14051
>/dev/null 2>conftest.err &&
14052
grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
14053
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
14054
grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
14055
${MAKE-make} -s -f confmf > /dev/null 2>&1; then
14056
# icc doesn't choke on unknown options, it will just issue warnings
14057
# or remarks (even with -Werror). So we grep stderr for any message
14058
# that says an option was ignored or not supported.
14059
# When given -MP, icc 7.0 and 7.1 complain thusly:
14060
# icc: Command line warning: ignoring option '-M'; no argument required
14061
# The diagnosis changed in icc 8.0:
14062
# icc: Command line remark: option '-MP' not supported
14063
if (grep 'ignoring option' conftest.err ||
14064
grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
14065
am_cv_CXX_dependencies_compiler_type=$depmode
14072
rm -rf conftest.dir
14074
am_cv_CXX_dependencies_compiler_type=none
14078
{ $as_echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
14079
$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
14080
CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
14083
test "x$enable_dependency_tracking" != xno \
14084
&& test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
14085
am__fastdepCXX_TRUE=
14086
am__fastdepCXX_FALSE='#'
14088
am__fastdepCXX_TRUE='#'
14089
am__fastdepCXX_FALSE=
14092
{ $as_echo "$as_me:$LINENO: checking what warning flags to pass to the C++ compiler" >&5
14093
$as_echo_n "checking what warning flags to pass to the C++ compiler... " >&6; }
14094
if test "${kpse_cv_warning_cxxflags+set}" = set; then
14095
$as_echo_n "(cached) " >&6
14097
if test "x$enable_compiler_warnings" = xno; then
14098
kpse_cv_warning_cxxflags=
14099
elif test "x$GXX" = xyes; then
14100
kpse_cv_warning_cxxflags="-Wall -Wunused"
14101
case `$CXX -dumpversion` in
14102
3.[234].* | 4.*) kpse_cv_warning_cxxflags="$kpse_cv_warning_cxxflags -Wno-unknown-pragmas" ;;
14105
if test "x$enable_compiler_warnings" != xmin; then
14106
if test "x$enable_compiler_warnings" != xyes; then
14107
kpse_cv_warning_cxxflags="$kpse_cv_warning_cxxflags -Wimplicit -Wparentheses -Wreturn-type"
14108
kpse_cv_warning_cxxflags="$kpse_cv_warning_cxxflags -Wswitch -Wtrigraphs -Wshadow -Wpointer-arith"
14109
kpse_cv_warning_cxxflags="$kpse_cv_warning_cxxflags -Wcast-qual -Wcast-align -Wwrite-strings"
14113
: # FIXME: warning flags for non-g++ compilers
14116
{ $as_echo "$as_me:$LINENO: result: $kpse_cv_warning_cxxflags" >&5
14117
$as_echo "$kpse_cv_warning_cxxflags" >&6; }
14118
WARNING_CXXFLAGS=$kpse_cv_warning_cxxflags
14031
14121
if test -n "$CXX" && ( test "X$CXX" != "Xno" &&