4909
# C++ compiler. Note that unlike AC_PROG_CC, this call does not trigger an
4910
# error if no C++ compiler was found; it'll just set the variable CXX to 'g++'.
4912
ac_cpp='$CXXCPP $CPPFLAGS'
4913
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4914
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4915
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4916
if test -z "$CXX"; then
4917
if test -n "$CCC"; then
4920
if test -n "$ac_tool_prefix"; then
4921
for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4923
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4924
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4925
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
4926
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4927
if test "${ac_cv_prog_CXX+set}" = set; then
4928
echo $ECHO_N "(cached) $ECHO_C" >&6
4930
if test -n "$CXX"; then
4931
ac_cv_prog_CXX="$CXX" # Let the user override the test.
4933
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4937
test -z "$as_dir" && as_dir=.
4938
for ac_exec_ext in '' $ac_executable_extensions; do
4939
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4940
ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4941
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4951
if test -n "$CXX"; then
4952
{ echo "$as_me:$LINENO: result: $CXX" >&5
4953
echo "${ECHO_T}$CXX" >&6; }
4955
{ echo "$as_me:$LINENO: result: no" >&5
4956
echo "${ECHO_T}no" >&6; }
4960
test -n "$CXX" && break
4963
if test -z "$CXX"; then
4965
for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4967
# Extract the first word of "$ac_prog", so it can be a program name with args.
4968
set dummy $ac_prog; ac_word=$2
4969
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
4970
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4971
if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
4972
echo $ECHO_N "(cached) $ECHO_C" >&6
4974
if test -n "$ac_ct_CXX"; then
4975
ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4977
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4981
test -z "$as_dir" && as_dir=.
4982
for ac_exec_ext in '' $ac_executable_extensions; do
4983
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4984
ac_cv_prog_ac_ct_CXX="$ac_prog"
4985
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4994
ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4995
if test -n "$ac_ct_CXX"; then
4996
{ echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
4997
echo "${ECHO_T}$ac_ct_CXX" >&6; }
4999
{ echo "$as_me:$LINENO: result: no" >&5
5000
echo "${ECHO_T}no" >&6; }
5004
test -n "$ac_ct_CXX" && break
5007
if test "x$ac_ct_CXX" = x; then
5010
case $cross_compiling:$ac_tool_warned in
5012
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5013
whose name does not start with the host triplet. If you think this
5014
configuration is useful to you, please write to autoconf@gnu.org." >&5
5015
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5016
whose name does not start with the host triplet. If you think this
5017
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5018
ac_tool_warned=yes ;;
5026
# Provide some information about the compiler.
5027
echo "$as_me:$LINENO: checking for C++ compiler version" >&5
5028
ac_compiler=`set X $ac_compile; echo $2`
5029
{ (ac_try="$ac_compiler --version >&5"
5031
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5032
*) ac_try_echo=$ac_try;;
5034
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5035
(eval "$ac_compiler --version >&5") 2>&5
5037
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5038
(exit $ac_status); }
5039
{ (ac_try="$ac_compiler -v >&5"
5041
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5042
*) ac_try_echo=$ac_try;;
5044
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5045
(eval "$ac_compiler -v >&5") 2>&5
5047
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5048
(exit $ac_status); }
5049
{ (ac_try="$ac_compiler -V >&5"
5051
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5052
*) ac_try_echo=$ac_try;;
5054
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5055
(eval "$ac_compiler -V >&5") 2>&5
5057
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5058
(exit $ac_status); }
5060
{ echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
5061
echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
5062
if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
5063
echo $ECHO_N "(cached) $ECHO_C" >&6
5065
cat >conftest.$ac_ext <<_ACEOF
5068
cat confdefs.h >>conftest.$ac_ext
5069
cat >>conftest.$ac_ext <<_ACEOF
5070
/* end confdefs.h. */
5083
rm -f conftest.$ac_objext
5084
if { (ac_try="$ac_compile"
5086
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5087
*) ac_try_echo=$ac_try;;
5089
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5090
(eval "$ac_compile") 2>conftest.er1
5092
grep -v '^ *+' conftest.er1 >conftest.err
5094
cat conftest.err >&5
5095
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5096
(exit $ac_status); } && {
5097
test -z "$ac_cxx_werror_flag" ||
5098
test ! -s conftest.err
5099
} && test -s conftest.$ac_objext; then
5102
echo "$as_me: failed program was:" >&5
5103
sed 's/^/| /' conftest.$ac_ext >&5
5108
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5109
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
5112
{ echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
5113
echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
5114
GXX=`test $ac_compiler_gnu = yes && echo yes`
5115
ac_test_CXXFLAGS=${CXXFLAGS+set}
5116
ac_save_CXXFLAGS=$CXXFLAGS
5117
{ echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
5118
echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
5119
if test "${ac_cv_prog_cxx_g+set}" = set; then
5120
echo $ECHO_N "(cached) $ECHO_C" >&6
5122
ac_save_cxx_werror_flag=$ac_cxx_werror_flag
5123
ac_cxx_werror_flag=yes
5126
cat >conftest.$ac_ext <<_ACEOF
5129
cat confdefs.h >>conftest.$ac_ext
5130
cat >>conftest.$ac_ext <<_ACEOF
5131
/* end confdefs.h. */
5141
rm -f conftest.$ac_objext
5142
if { (ac_try="$ac_compile"
5144
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5145
*) ac_try_echo=$ac_try;;
5147
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5148
(eval "$ac_compile") 2>conftest.er1
5150
grep -v '^ *+' conftest.er1 >conftest.err
5152
cat conftest.err >&5
5153
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5154
(exit $ac_status); } && {
5155
test -z "$ac_cxx_werror_flag" ||
5156
test ! -s conftest.err
5157
} && test -s conftest.$ac_objext; then
5158
ac_cv_prog_cxx_g=yes
5160
echo "$as_me: failed program was:" >&5
5161
sed 's/^/| /' conftest.$ac_ext >&5
5164
cat >conftest.$ac_ext <<_ACEOF
5167
cat confdefs.h >>conftest.$ac_ext
5168
cat >>conftest.$ac_ext <<_ACEOF
5169
/* end confdefs.h. */
5179
rm -f conftest.$ac_objext
5180
if { (ac_try="$ac_compile"
5182
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5183
*) ac_try_echo=$ac_try;;
5185
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5186
(eval "$ac_compile") 2>conftest.er1
5188
grep -v '^ *+' conftest.er1 >conftest.err
5190
cat conftest.err >&5
5191
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5192
(exit $ac_status); } && {
5193
test -z "$ac_cxx_werror_flag" ||
5194
test ! -s conftest.err
5195
} && test -s conftest.$ac_objext; then
5198
echo "$as_me: failed program was:" >&5
5199
sed 's/^/| /' conftest.$ac_ext >&5
5201
ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5203
cat >conftest.$ac_ext <<_ACEOF
5206
cat confdefs.h >>conftest.$ac_ext
5207
cat >>conftest.$ac_ext <<_ACEOF
5208
/* end confdefs.h. */
5218
rm -f conftest.$ac_objext
5219
if { (ac_try="$ac_compile"
5221
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5222
*) ac_try_echo=$ac_try;;
5224
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5225
(eval "$ac_compile") 2>conftest.er1
5227
grep -v '^ *+' conftest.er1 >conftest.err
5229
cat conftest.err >&5
5230
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5231
(exit $ac_status); } && {
5232
test -z "$ac_cxx_werror_flag" ||
5233
test ! -s conftest.err
5234
} && test -s conftest.$ac_objext; then
5235
ac_cv_prog_cxx_g=yes
5237
echo "$as_me: failed program was:" >&5
5238
sed 's/^/| /' conftest.$ac_ext >&5
5243
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5246
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5249
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5250
ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5252
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
5253
echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
5254
if test "$ac_test_CXXFLAGS" = set; then
5255
CXXFLAGS=$ac_save_CXXFLAGS
5256
elif test $ac_cv_prog_cxx_g = yes; then
5257
if test "$GXX" = yes; then
5263
if test "$GXX" = yes; then
5270
ac_cpp='$CPP $CPPFLAGS'
5271
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5272
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5273
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5275
depcc="$CXX" am_compiler_list=
5277
{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
5278
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
5279
if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
5280
echo $ECHO_N "(cached) $ECHO_C" >&6
5282
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5283
# We make a subdir and do the tests there. Otherwise we can end up
5284
# making bogus files that we don't know about and never remove. For
5285
# instance it was reported that on HP-UX the gcc test will end up
5286
# making a dummy file named `D' -- because `-MD' means `put the output
5289
# Copy depcomp to subdir because otherwise we won't find it if we're
5290
# using a relative directory.
5291
cp "$am_depcomp" conftest.dir
5293
# We will build objects and dependencies in a subdirectory because
5294
# it helps to detect inapplicable dependency modes. For instance
5295
# both Tru64's cc and ICC support -MD to output dependencies as a
5296
# side effect of compilation, but ICC will put the dependencies in
5297
# the current directory while Tru64 will put them in the object
5301
am_cv_CXX_dependencies_compiler_type=none
5302
if test "$am_compiler_list" = ""; then
5303
am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5305
for depmode in $am_compiler_list; do
5306
# Setup a source with many dependencies, because some compilers
5307
# like to wrap large dependency lists on column 80 (with \), and
5308
# we should not choose a depcomp mode which is confused by this.
5310
# We need to recreate these files for each test, as the compiler may
5311
# overwrite some of them when testing with obscure command lines.
5312
# This happens at least with the AIX C compiler.
5314
for i in 1 2 3 4 5 6; do
5315
echo '#include "conftst'$i'.h"' >> sub/conftest.c
5316
# Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
5317
# Solaris 8's {/usr,}/bin/sh.
5318
touch sub/conftst$i.h
5320
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5324
# after this tag, mechanisms are not by side-effect, so they'll
5325
# only be used when explicitly requested
5326
if test "x$enable_dependency_tracking" = xyes; then
5334
# We check with `-c' and `-o' for the sake of the "dashmstdout"
5335
# mode. It turns out that the SunPro C++ compiler does not properly
5336
# handle `-M -o', and we need to detect this.
5337
if depmode=$depmode \
5338
source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
5339
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5340
$SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
5341
>/dev/null 2>conftest.err &&
5342
grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
5343
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5344
grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
5345
${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5346
# icc doesn't choke on unknown options, it will just issue warnings
5347
# or remarks (even with -Werror). So we grep stderr for any message
5348
# that says an option was ignored or not supported.
5349
# When given -MP, icc 7.0 and 7.1 complain thusly:
5350
# icc: Command line warning: ignoring option '-M'; no argument required
5351
# The diagnosis changed in icc 8.0:
5352
# icc: Command line remark: option '-MP' not supported
5353
if (grep 'ignoring option' conftest.err ||
5354
grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
5355
am_cv_CXX_dependencies_compiler_type=$depmode
5364
am_cv_CXX_dependencies_compiler_type=none
5368
{ echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
5369
echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6; }
5370
CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
5373
test "x$enable_dependency_tracking" != xno \
5374
&& test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
5375
am__fastdepCXX_TRUE=
5376
am__fastdepCXX_FALSE='#'
5378
am__fastdepCXX_TRUE='#'
5379
am__fastdepCXX_FALSE=
4871
5384
# This allows features like per-target compiler flags. I.e., you can compile
4872
5385
# one copy of the same sources twice with different flags. (See lib/guestApp
4873
5386
# for an example.)
6494
ac_cpp='$CXXCPP $CPPFLAGS'
6495
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6496
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6497
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6498
if test -z "$CXX"; then
6499
if test -n "$CCC"; then
6502
if test -n "$ac_tool_prefix"; then
6503
for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
6505
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6506
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6507
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
6508
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6509
if test "${ac_cv_prog_CXX+set}" = set; then
6510
echo $ECHO_N "(cached) $ECHO_C" >&6
6512
if test -n "$CXX"; then
6513
ac_cv_prog_CXX="$CXX" # Let the user override the test.
6515
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6519
test -z "$as_dir" && as_dir=.
6520
for ac_exec_ext in '' $ac_executable_extensions; do
6521
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6522
ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
6523
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6533
if test -n "$CXX"; then
6534
{ echo "$as_me:$LINENO: result: $CXX" >&5
6535
echo "${ECHO_T}$CXX" >&6; }
6537
{ echo "$as_me:$LINENO: result: no" >&5
6538
echo "${ECHO_T}no" >&6; }
6542
test -n "$CXX" && break
6545
if test -z "$CXX"; then
6547
for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
6549
# Extract the first word of "$ac_prog", so it can be a program name with args.
6550
set dummy $ac_prog; ac_word=$2
6551
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
6552
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6553
if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
6554
echo $ECHO_N "(cached) $ECHO_C" >&6
6556
if test -n "$ac_ct_CXX"; then
6557
ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
6559
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6563
test -z "$as_dir" && as_dir=.
6564
for ac_exec_ext in '' $ac_executable_extensions; do
6565
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6566
ac_cv_prog_ac_ct_CXX="$ac_prog"
6567
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6576
ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
6577
if test -n "$ac_ct_CXX"; then
6578
{ echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
6579
echo "${ECHO_T}$ac_ct_CXX" >&6; }
6581
{ echo "$as_me:$LINENO: result: no" >&5
6582
echo "${ECHO_T}no" >&6; }
6586
test -n "$ac_ct_CXX" && break
6589
if test "x$ac_ct_CXX" = x; then
6592
case $cross_compiling:$ac_tool_warned in
6594
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6595
whose name does not start with the host triplet. If you think this
6596
configuration is useful to you, please write to autoconf@gnu.org." >&5
6597
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6598
whose name does not start with the host triplet. If you think this
6599
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6600
ac_tool_warned=yes ;;
6608
# Provide some information about the compiler.
6609
echo "$as_me:$LINENO: checking for C++ compiler version" >&5
6610
ac_compiler=`set X $ac_compile; echo $2`
6611
{ (ac_try="$ac_compiler --version >&5"
6613
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6614
*) ac_try_echo=$ac_try;;
6616
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6617
(eval "$ac_compiler --version >&5") 2>&5
6619
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6620
(exit $ac_status); }
6621
{ (ac_try="$ac_compiler -v >&5"
6623
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6624
*) ac_try_echo=$ac_try;;
6626
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6627
(eval "$ac_compiler -v >&5") 2>&5
6629
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6630
(exit $ac_status); }
6631
{ (ac_try="$ac_compiler -V >&5"
6633
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6634
*) ac_try_echo=$ac_try;;
6636
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6637
(eval "$ac_compiler -V >&5") 2>&5
6639
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6640
(exit $ac_status); }
6642
{ echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
6643
echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
6644
if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
6645
echo $ECHO_N "(cached) $ECHO_C" >&6
6647
cat >conftest.$ac_ext <<_ACEOF
6650
cat confdefs.h >>conftest.$ac_ext
6651
cat >>conftest.$ac_ext <<_ACEOF
6652
/* end confdefs.h. */
6665
rm -f conftest.$ac_objext
6666
if { (ac_try="$ac_compile"
6668
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6669
*) ac_try_echo=$ac_try;;
6671
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6672
(eval "$ac_compile") 2>conftest.er1
6674
grep -v '^ *+' conftest.er1 >conftest.err
6676
cat conftest.err >&5
6677
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6678
(exit $ac_status); } && {
6679
test -z "$ac_cxx_werror_flag" ||
6680
test ! -s conftest.err
6681
} && test -s conftest.$ac_objext; then
6684
echo "$as_me: failed program was:" >&5
6685
sed 's/^/| /' conftest.$ac_ext >&5
6690
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6691
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
6694
{ echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
6695
echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
6696
GXX=`test $ac_compiler_gnu = yes && echo yes`
6697
ac_test_CXXFLAGS=${CXXFLAGS+set}
6698
ac_save_CXXFLAGS=$CXXFLAGS
6699
{ echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
6700
echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
6701
if test "${ac_cv_prog_cxx_g+set}" = set; then
6702
echo $ECHO_N "(cached) $ECHO_C" >&6
6704
ac_save_cxx_werror_flag=$ac_cxx_werror_flag
6705
ac_cxx_werror_flag=yes
6708
cat >conftest.$ac_ext <<_ACEOF
6711
cat confdefs.h >>conftest.$ac_ext
6712
cat >>conftest.$ac_ext <<_ACEOF
6713
/* end confdefs.h. */
6723
rm -f conftest.$ac_objext
6724
if { (ac_try="$ac_compile"
6726
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6727
*) ac_try_echo=$ac_try;;
6729
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6730
(eval "$ac_compile") 2>conftest.er1
6732
grep -v '^ *+' conftest.er1 >conftest.err
6734
cat conftest.err >&5
6735
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6736
(exit $ac_status); } && {
6737
test -z "$ac_cxx_werror_flag" ||
6738
test ! -s conftest.err
6739
} && test -s conftest.$ac_objext; then
6740
ac_cv_prog_cxx_g=yes
6742
echo "$as_me: failed program was:" >&5
6743
sed 's/^/| /' conftest.$ac_ext >&5
6746
cat >conftest.$ac_ext <<_ACEOF
6749
cat confdefs.h >>conftest.$ac_ext
6750
cat >>conftest.$ac_ext <<_ACEOF
6751
/* end confdefs.h. */
6761
rm -f conftest.$ac_objext
6762
if { (ac_try="$ac_compile"
6764
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6765
*) ac_try_echo=$ac_try;;
6767
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6768
(eval "$ac_compile") 2>conftest.er1
6770
grep -v '^ *+' conftest.er1 >conftest.err
6772
cat conftest.err >&5
6773
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6774
(exit $ac_status); } && {
6775
test -z "$ac_cxx_werror_flag" ||
6776
test ! -s conftest.err
6777
} && test -s conftest.$ac_objext; then
6780
echo "$as_me: failed program was:" >&5
6781
sed 's/^/| /' conftest.$ac_ext >&5
6783
ac_cxx_werror_flag=$ac_save_cxx_werror_flag
6785
cat >conftest.$ac_ext <<_ACEOF
6788
cat confdefs.h >>conftest.$ac_ext
6789
cat >>conftest.$ac_ext <<_ACEOF
6790
/* end confdefs.h. */
6800
rm -f conftest.$ac_objext
6801
if { (ac_try="$ac_compile"
6803
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6804
*) ac_try_echo=$ac_try;;
6806
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6807
(eval "$ac_compile") 2>conftest.er1
6809
grep -v '^ *+' conftest.er1 >conftest.err
6811
cat conftest.err >&5
6812
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6813
(exit $ac_status); } && {
6814
test -z "$ac_cxx_werror_flag" ||
6815
test ! -s conftest.err
6816
} && test -s conftest.$ac_objext; then
6817
ac_cv_prog_cxx_g=yes
6819
echo "$as_me: failed program was:" >&5
6820
sed 's/^/| /' conftest.$ac_ext >&5
6825
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6828
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6831
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6832
ac_cxx_werror_flag=$ac_save_cxx_werror_flag
6834
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
6835
echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
6836
if test "$ac_test_CXXFLAGS" = set; then
6837
CXXFLAGS=$ac_save_CXXFLAGS
6838
elif test $ac_cv_prog_cxx_g = yes; then
6839
if test "$GXX" = yes; then
6845
if test "$GXX" = yes; then
6852
ac_cpp='$CXXCPP $CPPFLAGS'
6853
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6854
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6855
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6857
depcc="$CXX" am_compiler_list=
6859
{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
6860
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
6861
if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
6862
echo $ECHO_N "(cached) $ECHO_C" >&6
6864
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
6865
# We make a subdir and do the tests there. Otherwise we can end up
6866
# making bogus files that we don't know about and never remove. For
6867
# instance it was reported that on HP-UX the gcc test will end up
6868
# making a dummy file named `D' -- because `-MD' means `put the output
6871
# Copy depcomp to subdir because otherwise we won't find it if we're
6872
# using a relative directory.
6873
cp "$am_depcomp" conftest.dir
6875
# We will build objects and dependencies in a subdirectory because
6876
# it helps to detect inapplicable dependency modes. For instance
6877
# both Tru64's cc and ICC support -MD to output dependencies as a
6878
# side effect of compilation, but ICC will put the dependencies in
6879
# the current directory while Tru64 will put them in the object
6883
am_cv_CXX_dependencies_compiler_type=none
6884
if test "$am_compiler_list" = ""; then
6885
am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
6887
for depmode in $am_compiler_list; do
6888
# Setup a source with many dependencies, because some compilers
6889
# like to wrap large dependency lists on column 80 (with \), and
6890
# we should not choose a depcomp mode which is confused by this.
6892
# We need to recreate these files for each test, as the compiler may
6893
# overwrite some of them when testing with obscure command lines.
6894
# This happens at least with the AIX C compiler.
6896
for i in 1 2 3 4 5 6; do
6897
echo '#include "conftst'$i'.h"' >> sub/conftest.c
6898
# Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
6899
# Solaris 8's {/usr,}/bin/sh.
6900
touch sub/conftst$i.h
6902
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
6906
# after this tag, mechanisms are not by side-effect, so they'll
6907
# only be used when explicitly requested
6908
if test "x$enable_dependency_tracking" = xyes; then
6916
# We check with `-c' and `-o' for the sake of the "dashmstdout"
6917
# mode. It turns out that the SunPro C++ compiler does not properly
6918
# handle `-M -o', and we need to detect this.
6919
if depmode=$depmode \
6920
source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
6921
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
6922
$SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
6923
>/dev/null 2>conftest.err &&
6924
grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
6925
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
6926
grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
6927
${MAKE-make} -s -f confmf > /dev/null 2>&1; then
6928
# icc doesn't choke on unknown options, it will just issue warnings
6929
# or remarks (even with -Werror). So we grep stderr for any message
6930
# that says an option was ignored or not supported.
6931
# When given -MP, icc 7.0 and 7.1 complain thusly:
6932
# icc: Command line warning: ignoring option '-M'; no argument required
6933
# The diagnosis changed in icc 8.0:
6934
# icc: Command line remark: option '-MP' not supported
6935
if (grep 'ignoring option' conftest.err ||
6936
grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
6937
am_cv_CXX_dependencies_compiler_type=$depmode
6946
am_cv_CXX_dependencies_compiler_type=none
6950
{ echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
6951
echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6; }
6952
CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
6955
test "x$enable_dependency_tracking" != xno \
6956
&& test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
6957
am__fastdepCXX_TRUE=
6958
am__fastdepCXX_FALSE='#'
6960
am__fastdepCXX_TRUE='#'
6961
am__fastdepCXX_FALSE=
6967
7008
if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
22040
22081
echo "$as_me: error: The X11 libraries were not found. Please configure without X11 (using --without-x), or install the libX11 devel package(s)." >&2;}
22041
22082
{ (exit 1); exit 1; }; }
22043
LIBS="$LIBS $X_LIBS"
22044
22084
CPPFLAGS="$CPPFLAGS $X_CFLAGS"
22045
COMMON_XLIBS="-lX11"
22046
COMMON_XLIBS="-lXext $COMMON_XLIBS"
22085
COMMON_XLIBS="$X_PRE_LIBS $X_LIBS -lX11 $X_EXTRA_LIBS"
22087
{ echo "$as_me:$LINENO: checking for XeviQueryVersion in -lXext" >&5
22088
echo $ECHO_N "checking for XeviQueryVersion in -lXext... $ECHO_C" >&6; }
22089
if test "${ac_cv_lib_Xext_XeviQueryVersion+set}" = set; then
22090
echo $ECHO_N "(cached) $ECHO_C" >&6
22092
ac_check_lib_save_LIBS=$LIBS
22093
LIBS="-lXext $COMMON_XLIBS $LIBS"
22094
cat >conftest.$ac_ext <<_ACEOF
22097
cat confdefs.h >>conftest.$ac_ext
22098
cat >>conftest.$ac_ext <<_ACEOF
22099
/* end confdefs.h. */
22101
/* Override any GCC internal prototype to avoid an error.
22102
Use char because int might match the return type of a GCC
22103
builtin and then its argument prototype would still apply. */
22107
char XeviQueryVersion ();
22111
return XeviQueryVersion ();
22116
rm -f conftest.$ac_objext conftest$ac_exeext
22117
if { (ac_try="$ac_link"
22118
case "(($ac_try" in
22119
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22120
*) ac_try_echo=$ac_try;;
22122
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22123
(eval "$ac_link") 2>conftest.er1
22125
grep -v '^ *+' conftest.er1 >conftest.err
22127
cat conftest.err >&5
22128
echo "$as_me:$LINENO: \$? = $ac_status" >&5
22129
(exit $ac_status); } && {
22130
test -z "$ac_c_werror_flag" ||
22131
test ! -s conftest.err
22132
} && test -s conftest$ac_exeext &&
22133
$as_test_x conftest$ac_exeext; then
22134
ac_cv_lib_Xext_XeviQueryVersion=yes
22136
echo "$as_me: failed program was:" >&5
22137
sed 's/^/| /' conftest.$ac_ext >&5
22139
ac_cv_lib_Xext_XeviQueryVersion=no
22142
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22143
conftest$ac_exeext conftest.$ac_ext
22144
LIBS=$ac_check_lib_save_LIBS
22146
{ echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XeviQueryVersion" >&5
22147
echo "${ECHO_T}$ac_cv_lib_Xext_XeviQueryVersion" >&6; }
22148
if test $ac_cv_lib_Xext_XeviQueryVersion = yes; then
22149
COMMON_XLIBS="-lXext $COMMON_XLIBS"
22151
{ { echo "$as_me:$LINENO: error: libXext not found. Please configure without X11 (using --without-x), or install the libXext devel package(s)." >&5
22152
echo "$as_me: error: libXext not found. Please configure without X11 (using --without-x), or install the libXext devel package(s)." >&2;}
22153
{ (exit 1); exit 1; }; }
22048
22157
{ echo "$as_me:$LINENO: checking for X11/extensions/extutil.h" >&5
22049
22158
echo $ECHO_N "checking for X11/extensions/extutil.h... $ECHO_C" >&6; }
22284
{ echo "$as_me:$LINENO: checking for XRenderQueryVersion in -lXrender" >&5
22285
echo $ECHO_N "checking for XRenderQueryVersion in -lXrender... $ECHO_C" >&6; }
22286
if test "${ac_cv_lib_Xrender_XRenderQueryVersion+set}" = set; then
22287
echo $ECHO_N "(cached) $ECHO_C" >&6
22289
ac_check_lib_save_LIBS=$LIBS
22290
LIBS="-lXrender $COMMON_XLIBS $LIBS"
22291
cat >conftest.$ac_ext <<_ACEOF
22294
cat confdefs.h >>conftest.$ac_ext
22295
cat >>conftest.$ac_ext <<_ACEOF
22296
/* end confdefs.h. */
22298
/* Override any GCC internal prototype to avoid an error.
22299
Use char because int might match the return type of a GCC
22300
builtin and then its argument prototype would still apply. */
22304
char XRenderQueryVersion ();
22308
return XRenderQueryVersion ();
22313
rm -f conftest.$ac_objext conftest$ac_exeext
22314
if { (ac_try="$ac_link"
22315
case "(($ac_try" in
22316
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22317
*) ac_try_echo=$ac_try;;
22319
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22320
(eval "$ac_link") 2>conftest.er1
22322
grep -v '^ *+' conftest.er1 >conftest.err
22324
cat conftest.err >&5
22325
echo "$as_me:$LINENO: \$? = $ac_status" >&5
22326
(exit $ac_status); } && {
22327
test -z "$ac_c_werror_flag" ||
22328
test ! -s conftest.err
22329
} && test -s conftest$ac_exeext &&
22330
$as_test_x conftest$ac_exeext; then
22331
ac_cv_lib_Xrender_XRenderQueryVersion=yes
22333
echo "$as_me: failed program was:" >&5
22334
sed 's/^/| /' conftest.$ac_ext >&5
22336
ac_cv_lib_Xrender_XRenderQueryVersion=no
22339
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22340
conftest$ac_exeext conftest.$ac_ext
22341
LIBS=$ac_check_lib_save_LIBS
22343
{ echo "$as_me:$LINENO: result: $ac_cv_lib_Xrender_XRenderQueryVersion" >&5
22344
echo "${ECHO_T}$ac_cv_lib_Xrender_XRenderQueryVersion" >&6; }
22345
if test $ac_cv_lib_Xrender_XRenderQueryVersion = yes; then
22346
COMMON_XLIBS="-lXrender $COMMON_XLIBS"
22348
{ { echo "$as_me:$LINENO: error: libXrender not found. Please configure without X11 (using --without-x), or install the libXrender devel package(s)." >&5
22349
echo "$as_me: error: libXrender not found. Please configure without X11 (using --without-x), or install the libXrender devel package(s)." >&2;}
22350
{ (exit 1); exit 1; }; }
22175
22354
{ echo "$as_me:$LINENO: checking for XRRQueryVersion in -lXrandr" >&5
22176
22355
echo $ECHO_N "checking for XRRQueryVersion in -lXrandr... $ECHO_C" >&6; }
22177
22356
if test "${ac_cv_lib_Xrandr_XRRQueryVersion+set}" = set; then
22178
22357
echo $ECHO_N "(cached) $ECHO_C" >&6
22180
22359
ac_check_lib_save_LIBS=$LIBS
22181
LIBS="-lXrandr -lXrender $COMMON_XLIBS $LIBS"
22360
LIBS="-lXrandr $COMMON_XLIBS $LIBS"
22182
22361
cat >conftest.$ac_ext <<_ACEOF
22183
22362
/* confdefs.h. */
23142
23319
{ (exit 1); exit 1; }; }
23322
# Check for a sufficiently new installation of Gtk 2.0. This symbol is, at
23323
# the time of writing, used in vmware-user. We must perform this check
23324
# after GTK_LIBS has been set up. Note: we don't actually use the
23325
# resultant HAVE_NEW_GTK2 variable; it's just set so that the default
23326
# action, which will append gdk-x11-2.0 to LIBS, isn't taken.
23327
if test "$HAVE_GTK2" == "yes"; then
23328
{ echo "$as_me:$LINENO: checking for gdk_display_get_default_group in -lgdk-x11-2.0" >&5
23329
echo $ECHO_N "checking for gdk_display_get_default_group in -lgdk-x11-2.0... $ECHO_C" >&6; }
23330
if test "${ac_cv_lib_gdk_x11_2_0_gdk_display_get_default_group+set}" = set; then
23331
echo $ECHO_N "(cached) $ECHO_C" >&6
23333
ac_check_lib_save_LIBS=$LIBS
23334
LIBS="-lgdk-x11-2.0 $LIBS"
23335
cat >conftest.$ac_ext <<_ACEOF
23338
cat confdefs.h >>conftest.$ac_ext
23339
cat >>conftest.$ac_ext <<_ACEOF
23340
/* end confdefs.h. */
23342
/* Override any GCC internal prototype to avoid an error.
23343
Use char because int might match the return type of a GCC
23344
builtin and then its argument prototype would still apply. */
23348
char gdk_display_get_default_group ();
23352
return gdk_display_get_default_group ();
23357
rm -f conftest.$ac_objext conftest$ac_exeext
23358
if { (ac_try="$ac_link"
23359
case "(($ac_try" in
23360
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23361
*) ac_try_echo=$ac_try;;
23363
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23364
(eval "$ac_link") 2>conftest.er1
23366
grep -v '^ *+' conftest.er1 >conftest.err
23368
cat conftest.err >&5
23369
echo "$as_me:$LINENO: \$? = $ac_status" >&5
23370
(exit $ac_status); } && {
23371
test -z "$ac_c_werror_flag" ||
23372
test ! -s conftest.err
23373
} && test -s conftest$ac_exeext &&
23374
$as_test_x conftest$ac_exeext; then
23375
ac_cv_lib_gdk_x11_2_0_gdk_display_get_default_group=yes
23377
echo "$as_me: failed program was:" >&5
23378
sed 's/^/| /' conftest.$ac_ext >&5
23380
ac_cv_lib_gdk_x11_2_0_gdk_display_get_default_group=no
23383
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23384
conftest$ac_exeext conftest.$ac_ext
23385
LIBS=$ac_check_lib_save_LIBS
23387
{ echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_x11_2_0_gdk_display_get_default_group" >&5
23388
echo "${ECHO_T}$ac_cv_lib_gdk_x11_2_0_gdk_display_get_default_group" >&6; }
23389
if test $ac_cv_lib_gdk_x11_2_0_gdk_display_get_default_group = yes; then
23390
HAVE_NEW_GTK2="yes"
23392
{ { echo "$as_me:$LINENO: error: Gtk 2.0 installation may be too old. Please upgrade your Gtk 2.0 packages or configure without Gtk 2.0 (using --without-gtk2)" >&5
23393
echo "$as_me: error: Gtk 2.0 installation may be too old. Please upgrade your Gtk 2.0 packages or configure without Gtk 2.0 (using --without-gtk2)" >&2;}
23394
{ (exit 1); exit 1; }; }
23400
# Unity requires libgdk_pixbuf_xlib, which most systems don't seem to
23401
# provide via "pkg-config --libs gtk+-2.0".
23402
if test "$enable_unity" != "no"; then
23403
{ echo "$as_me:$LINENO: checking for gdk_pixbuf_xlib_init in -lgdk_pixbuf_xlib-2.0" >&5
23404
echo $ECHO_N "checking for gdk_pixbuf_xlib_init in -lgdk_pixbuf_xlib-2.0... $ECHO_C" >&6; }
23405
if test "${ac_cv_lib_gdk_pixbuf_xlib_2_0_gdk_pixbuf_xlib_init+set}" = set; then
23406
echo $ECHO_N "(cached) $ECHO_C" >&6
23408
ac_check_lib_save_LIBS=$LIBS
23409
LIBS="-lgdk_pixbuf_xlib-2.0 $GTK_LIBS $LIBS"
23410
cat >conftest.$ac_ext <<_ACEOF
23413
cat confdefs.h >>conftest.$ac_ext
23414
cat >>conftest.$ac_ext <<_ACEOF
23415
/* end confdefs.h. */
23417
/* Override any GCC internal prototype to avoid an error.
23418
Use char because int might match the return type of a GCC
23419
builtin and then its argument prototype would still apply. */
23423
char gdk_pixbuf_xlib_init ();
23427
return gdk_pixbuf_xlib_init ();
23432
rm -f conftest.$ac_objext conftest$ac_exeext
23433
if { (ac_try="$ac_link"
23434
case "(($ac_try" in
23435
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23436
*) ac_try_echo=$ac_try;;
23438
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23439
(eval "$ac_link") 2>conftest.er1
23441
grep -v '^ *+' conftest.er1 >conftest.err
23443
cat conftest.err >&5
23444
echo "$as_me:$LINENO: \$? = $ac_status" >&5
23445
(exit $ac_status); } && {
23446
test -z "$ac_c_werror_flag" ||
23447
test ! -s conftest.err
23448
} && test -s conftest$ac_exeext &&
23449
$as_test_x conftest$ac_exeext; then
23450
ac_cv_lib_gdk_pixbuf_xlib_2_0_gdk_pixbuf_xlib_init=yes
23452
echo "$as_me: failed program was:" >&5
23453
sed 's/^/| /' conftest.$ac_ext >&5
23455
ac_cv_lib_gdk_pixbuf_xlib_2_0_gdk_pixbuf_xlib_init=no
23458
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23459
conftest$ac_exeext conftest.$ac_ext
23460
LIBS=$ac_check_lib_save_LIBS
23462
{ echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_pixbuf_xlib_2_0_gdk_pixbuf_xlib_init" >&5
23463
echo "${ECHO_T}$ac_cv_lib_gdk_pixbuf_xlib_2_0_gdk_pixbuf_xlib_init" >&6; }
23464
if test $ac_cv_lib_gdk_pixbuf_xlib_2_0_gdk_pixbuf_xlib_init = yes; then
23465
GTK_LIBS="$GTK_LIBS -lgdk_pixbuf_xlib-2.0"
23467
{ { echo "$as_me:$LINENO: error: gdk_pixbuf_xlib-2.0 not found. Make sure your Gtk 2.0 installation is sane, or configure without Unity (using --disable-unity)." >&5
23468
echo "$as_me: error: gdk_pixbuf_xlib-2.0 not found. Make sure your Gtk 2.0 installation is sane, or configure without Unity (using --disable-unity)." >&2;}
23469
{ (exit 1); exit 1; }; }
23146
23474
{ { echo "$as_me:$LINENO: error: libgtk not found. Please install the gtk devel package(s)." >&5
23147
23475
echo "$as_me: error: libgtk not found. Please install the gtk devel package(s)." >&2;}
23749
24147
GUESTD_LDADD="$GUESTD_LDADD $PROCPS_LIBS"
23750
24148
VMWARE_USER_LDADD="$VMWARE_USER_LDADD $PROCPS_LIBS"
23752
# On Debian, the 'libproc-dev' package does not contain the libproc
23753
# shared object; it is provided in the 'procps' package. Having the
23754
# 'procps' package installed without 'libproc-dev' would lead to
23755
# compilation errors down the line, so to avoid that we explicitly
23756
# check for one of the libproc headers that is consumed in the build.
23757
if test -n "$CUSTOM_PROCPS_CPPFLAGS"; then
23758
PROCPS_CPPFLAGS="$CUSTOM_PROCPS_CPPFLAGS"
23760
# XXX: Unfortunately, the libproc devel package doesn't appear
23761
# to ship with a configuration script or pkg-config manifest
23762
# file, so there's no portable way to get the location of its
23763
# headers. For now we default to /usr/include.
23764
PROCPS_CPPFLAGS="-I/usr/include"
23766
ORIGINAL_CPPFLAGS="$CPPFLAGS"
23767
CPPFLAGS="$PROCPS_CPPFLAGS $CPPFLAGS"
23768
if test "${ac_cv_header_proc_sysinfo_h+set}" = set; then
23769
{ echo "$as_me:$LINENO: checking for proc/sysinfo.h" >&5
23770
echo $ECHO_N "checking for proc/sysinfo.h... $ECHO_C" >&6; }
23771
if test "${ac_cv_header_proc_sysinfo_h+set}" = set; then
23772
echo $ECHO_N "(cached) $ECHO_C" >&6
23774
{ echo "$as_me:$LINENO: result: $ac_cv_header_proc_sysinfo_h" >&5
23775
echo "${ECHO_T}$ac_cv_header_proc_sysinfo_h" >&6; }
23777
# Is the header compilable?
23778
{ echo "$as_me:$LINENO: checking proc/sysinfo.h usability" >&5
23779
echo $ECHO_N "checking proc/sysinfo.h usability... $ECHO_C" >&6; }
23780
cat >conftest.$ac_ext <<_ACEOF
23783
cat confdefs.h >>conftest.$ac_ext
23784
cat >>conftest.$ac_ext <<_ACEOF
23785
/* end confdefs.h. */
23786
$ac_includes_default
23787
@%:@include <proc/sysinfo.h>
23789
rm -f conftest.$ac_objext
23790
if { (ac_try="$ac_compile"
23791
case "(($ac_try" in
23792
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23793
*) ac_try_echo=$ac_try;;
23795
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23796
(eval "$ac_compile") 2>conftest.er1
23798
grep -v '^ *+' conftest.er1 >conftest.err
23800
cat conftest.err >&5
23801
echo "$as_me:$LINENO: \$? = $ac_status" >&5
23802
(exit $ac_status); } && {
23803
test -z "$ac_c_werror_flag" ||
23804
test ! -s conftest.err
23805
} && test -s conftest.$ac_objext; then
23806
ac_header_compiler=yes
23808
echo "$as_me: failed program was:" >&5
23809
sed 's/^/| /' conftest.$ac_ext >&5
23811
ac_header_compiler=no
23814
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23815
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23816
echo "${ECHO_T}$ac_header_compiler" >&6; }
23818
# Is the header present?
23819
{ echo "$as_me:$LINENO: checking proc/sysinfo.h presence" >&5
23820
echo $ECHO_N "checking proc/sysinfo.h presence... $ECHO_C" >&6; }
23821
cat >conftest.$ac_ext <<_ACEOF
23824
cat confdefs.h >>conftest.$ac_ext
23825
cat >>conftest.$ac_ext <<_ACEOF
23826
/* end confdefs.h. */
23827
@%:@include <proc/sysinfo.h>
23829
if { (ac_try="$ac_cpp conftest.$ac_ext"
23830
case "(($ac_try" in
23831
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23832
*) ac_try_echo=$ac_try;;
23834
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23835
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
23837
grep -v '^ *+' conftest.er1 >conftest.err
23839
cat conftest.err >&5
23840
echo "$as_me:$LINENO: \$? = $ac_status" >&5
23841
(exit $ac_status); } >/dev/null && {
23842
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
23843
test ! -s conftest.err
23845
ac_header_preproc=yes
23847
echo "$as_me: failed program was:" >&5
23848
sed 's/^/| /' conftest.$ac_ext >&5
23850
ac_header_preproc=no
23853
rm -f conftest.err conftest.$ac_ext
23854
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23855
echo "${ECHO_T}$ac_header_preproc" >&6; }
23857
# So? What about this header?
23858
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
23860
{ echo "$as_me:$LINENO: WARNING: proc/sysinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
23861
echo "$as_me: WARNING: proc/sysinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
23862
{ echo "$as_me:$LINENO: WARNING: proc/sysinfo.h: proceeding with the compiler's result" >&5
23863
echo "$as_me: WARNING: proc/sysinfo.h: proceeding with the compiler's result" >&2;}
23864
ac_header_preproc=yes
23867
{ echo "$as_me:$LINENO: WARNING: proc/sysinfo.h: present but cannot be compiled" >&5
23868
echo "$as_me: WARNING: proc/sysinfo.h: present but cannot be compiled" >&2;}
23869
{ echo "$as_me:$LINENO: WARNING: proc/sysinfo.h: check for missing prerequisite headers?" >&5
23870
echo "$as_me: WARNING: proc/sysinfo.h: check for missing prerequisite headers?" >&2;}
23871
{ echo "$as_me:$LINENO: WARNING: proc/sysinfo.h: see the Autoconf documentation" >&5
23872
echo "$as_me: WARNING: proc/sysinfo.h: see the Autoconf documentation" >&2;}
23873
{ echo "$as_me:$LINENO: WARNING: proc/sysinfo.h: section \"Present But Cannot Be Compiled\"" >&5
23874
echo "$as_me: WARNING: proc/sysinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
23875
{ echo "$as_me:$LINENO: WARNING: proc/sysinfo.h: proceeding with the preprocessor's result" >&5
23876
echo "$as_me: WARNING: proc/sysinfo.h: proceeding with the preprocessor's result" >&2;}
23877
{ echo "$as_me:$LINENO: WARNING: proc/sysinfo.h: in the future, the compiler will take precedence" >&5
23878
echo "$as_me: WARNING: proc/sysinfo.h: in the future, the compiler will take precedence" >&2;}
23880
@%:@@%:@ -------------------------------------------------------- @%:@@%:@
23881
@%:@@%:@ Report this to open-vm-tools-devel@lists.sourceforge.net @%:@@%:@
23882
@%:@@%:@ -------------------------------------------------------- @%:@@%:@
23884
) | sed "s/^/$as_me: WARNING: /" >&2
23887
{ echo "$as_me:$LINENO: checking for proc/sysinfo.h" >&5
23888
echo $ECHO_N "checking for proc/sysinfo.h... $ECHO_C" >&6; }
23889
if test "${ac_cv_header_proc_sysinfo_h+set}" = set; then
23890
echo $ECHO_N "(cached) $ECHO_C" >&6
23892
ac_cv_header_proc_sysinfo_h=$ac_header_preproc
23894
{ echo "$as_me:$LINENO: result: $ac_cv_header_proc_sysinfo_h" >&5
23895
echo "${ECHO_T}$ac_cv_header_proc_sysinfo_h" >&6; }
23898
if test $ac_cv_header_proc_sysinfo_h = yes; then
23901
{ { echo "$as_me:$LINENO: error: libproc headers not found. Please configure without procps (using --without-procps) or install libproc devel package" >&5
23902
echo "$as_me: error: libproc headers not found. Please configure without procps (using --without-procps) or install libproc devel package" >&2;}
23903
{ (exit 1); exit 1; }; }
23907
CPPFLAGS="$ORIGINAL_CPPFLAGS"
23910
24151
if test "$with_procps" != "yes"; then
24084
24326
# http://lists.gnu.org/archive/html/bug-automake/2008-04/msg00010.html
24085
24327
# http://www.gnu.org/software/automake/manual/automake.html#Libtool-Convenience-Libraries
24086
24328
# http://www.gnu.org/software/automake/manual/automake.html#C_002b_002b-Support
24088
ac_cpp='$CXXCPP $CPPFLAGS'
24089
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24090
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24091
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24092
if test -z "$CXX"; then
24093
if test -n "$CCC"; then
24096
if test -n "$ac_tool_prefix"; then
24097
for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
24099
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
24100
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
24101
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
24102
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
24103
if test "${ac_cv_prog_CXX+set}" = set; then
24104
echo $ECHO_N "(cached) $ECHO_C" >&6
24106
if test -n "$CXX"; then
24107
ac_cv_prog_CXX="$CXX" # Let the user override the test.
24109
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24110
for as_dir in $PATH
24113
test -z "$as_dir" && as_dir=.
24114
for ac_exec_ext in '' $ac_executable_extensions; do
24115
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
24116
ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
24117
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24126
CXX=$ac_cv_prog_CXX
24127
if test -n "$CXX"; then
24128
{ echo "$as_me:$LINENO: result: $CXX" >&5
24129
echo "${ECHO_T}$CXX" >&6; }
24131
{ echo "$as_me:$LINENO: result: no" >&5
24132
echo "${ECHO_T}no" >&6; }
24136
test -n "$CXX" && break
24139
if test -z "$CXX"; then
24141
for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
24143
# Extract the first word of "$ac_prog", so it can be a program name with args.
24144
set dummy $ac_prog; ac_word=$2
24145
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
24146
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
24147
if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
24148
echo $ECHO_N "(cached) $ECHO_C" >&6
24150
if test -n "$ac_ct_CXX"; then
24151
ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
24153
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24154
for as_dir in $PATH
24157
test -z "$as_dir" && as_dir=.
24158
for ac_exec_ext in '' $ac_executable_extensions; do
24159
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
24160
ac_cv_prog_ac_ct_CXX="$ac_prog"
24161
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24170
ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
24171
if test -n "$ac_ct_CXX"; then
24172
{ echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
24173
echo "${ECHO_T}$ac_ct_CXX" >&6; }
24175
{ echo "$as_me:$LINENO: result: no" >&5
24176
echo "${ECHO_T}no" >&6; }
24180
test -n "$ac_ct_CXX" && break
24183
if test "x$ac_ct_CXX" = x; then
24329
if test -n "$ac_tool_prefix"; then
24330
# Extract the first word of "${ac_tool_prefix}$CXX", so it can be a program name with args.
24331
set dummy ${ac_tool_prefix}$CXX; ac_word=$2
24332
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
24333
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
24334
if test "${ac_cv_prog_HAVE_CXX+set}" = set; then
24335
echo $ECHO_N "(cached) $ECHO_C" >&6
24337
if test -n "$HAVE_CXX"; then
24338
ac_cv_prog_HAVE_CXX="$HAVE_CXX" # Let the user override the test.
24340
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24341
for as_dir in $PATH
24344
test -z "$as_dir" && as_dir=.
24345
for ac_exec_ext in '' $ac_executable_extensions; do
24346
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
24347
ac_cv_prog_HAVE_CXX="${ac_tool_prefix}$CXX"
24348
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24357
HAVE_CXX=$ac_cv_prog_HAVE_CXX
24358
if test -n "$HAVE_CXX"; then
24359
{ echo "$as_me:$LINENO: result: $HAVE_CXX" >&5
24360
echo "${ECHO_T}$HAVE_CXX" >&6; }
24362
{ echo "$as_me:$LINENO: result: no" >&5
24363
echo "${ECHO_T}no" >&6; }
24368
if test -z "$ac_cv_prog_HAVE_CXX"; then
24369
ac_ct_HAVE_CXX=$HAVE_CXX
24370
# Extract the first word of "$CXX", so it can be a program name with args.
24371
set dummy $CXX; ac_word=$2
24372
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
24373
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
24374
if test "${ac_cv_prog_ac_ct_HAVE_CXX+set}" = set; then
24375
echo $ECHO_N "(cached) $ECHO_C" >&6
24377
if test -n "$ac_ct_HAVE_CXX"; then
24378
ac_cv_prog_ac_ct_HAVE_CXX="$ac_ct_HAVE_CXX" # Let the user override the test.
24380
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24381
for as_dir in $PATH
24384
test -z "$as_dir" && as_dir=.
24385
for ac_exec_ext in '' $ac_executable_extensions; do
24386
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
24387
ac_cv_prog_ac_ct_HAVE_CXX="$CXX"
24388
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24397
ac_ct_HAVE_CXX=$ac_cv_prog_ac_ct_HAVE_CXX
24398
if test -n "$ac_ct_HAVE_CXX"; then
24399
{ echo "$as_me:$LINENO: result: $ac_ct_HAVE_CXX" >&5
24400
echo "${ECHO_T}$ac_ct_HAVE_CXX" >&6; }
24402
{ echo "$as_me:$LINENO: result: no" >&5
24403
echo "${ECHO_T}no" >&6; }
24406
if test "x$ac_ct_HAVE_CXX" = x; then
24186
24409
case $cross_compiling:$ac_tool_warned in
24193
24416
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
24194
24417
ac_tool_warned=yes ;;
24202
# Provide some information about the compiler.
24203
echo "$as_me:$LINENO: checking for C++ compiler version" >&5
24204
ac_compiler=`set X $ac_compile; echo $2`
24205
{ (ac_try="$ac_compiler --version >&5"
24206
case "(($ac_try" in
24207
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24208
*) ac_try_echo=$ac_try;;
24210
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24211
(eval "$ac_compiler --version >&5") 2>&5
24213
echo "$as_me:$LINENO: \$? = $ac_status" >&5
24214
(exit $ac_status); }
24215
{ (ac_try="$ac_compiler -v >&5"
24216
case "(($ac_try" in
24217
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24218
*) ac_try_echo=$ac_try;;
24220
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24221
(eval "$ac_compiler -v >&5") 2>&5
24223
echo "$as_me:$LINENO: \$? = $ac_status" >&5
24224
(exit $ac_status); }
24225
{ (ac_try="$ac_compiler -V >&5"
24226
case "(($ac_try" in
24227
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24228
*) ac_try_echo=$ac_try;;
24230
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24231
(eval "$ac_compiler -V >&5") 2>&5
24233
echo "$as_me:$LINENO: \$? = $ac_status" >&5
24234
(exit $ac_status); }
24236
{ echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
24237
echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
24238
if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
24239
echo $ECHO_N "(cached) $ECHO_C" >&6
24241
cat >conftest.$ac_ext <<_ACEOF
24244
cat confdefs.h >>conftest.$ac_ext
24245
cat >>conftest.$ac_ext <<_ACEOF
24246
/* end confdefs.h. */
24259
rm -f conftest.$ac_objext
24260
if { (ac_try="$ac_compile"
24261
case "(($ac_try" in
24262
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24263
*) ac_try_echo=$ac_try;;
24265
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24266
(eval "$ac_compile") 2>conftest.er1
24268
grep -v '^ *+' conftest.er1 >conftest.err
24270
cat conftest.err >&5
24271
echo "$as_me:$LINENO: \$? = $ac_status" >&5
24272
(exit $ac_status); } && {
24273
test -z "$ac_cxx_werror_flag" ||
24274
test ! -s conftest.err
24275
} && test -s conftest.$ac_objext; then
24276
ac_compiler_gnu=yes
24278
echo "$as_me: failed program was:" >&5
24279
sed 's/^/| /' conftest.$ac_ext >&5
24284
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24285
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
24288
{ echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
24289
echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
24290
GXX=`test $ac_compiler_gnu = yes && echo yes`
24291
ac_test_CXXFLAGS=${CXXFLAGS+set}
24292
ac_save_CXXFLAGS=$CXXFLAGS
24293
{ echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
24294
echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
24295
if test "${ac_cv_prog_cxx_g+set}" = set; then
24296
echo $ECHO_N "(cached) $ECHO_C" >&6
24298
ac_save_cxx_werror_flag=$ac_cxx_werror_flag
24299
ac_cxx_werror_flag=yes
24300
ac_cv_prog_cxx_g=no
24302
cat >conftest.$ac_ext <<_ACEOF
24305
cat confdefs.h >>conftest.$ac_ext
24306
cat >>conftest.$ac_ext <<_ACEOF
24307
/* end confdefs.h. */
24317
rm -f conftest.$ac_objext
24318
if { (ac_try="$ac_compile"
24319
case "(($ac_try" in
24320
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24321
*) ac_try_echo=$ac_try;;
24323
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24324
(eval "$ac_compile") 2>conftest.er1
24326
grep -v '^ *+' conftest.er1 >conftest.err
24328
cat conftest.err >&5
24329
echo "$as_me:$LINENO: \$? = $ac_status" >&5
24330
(exit $ac_status); } && {
24331
test -z "$ac_cxx_werror_flag" ||
24332
test ! -s conftest.err
24333
} && test -s conftest.$ac_objext; then
24334
ac_cv_prog_cxx_g=yes
24336
echo "$as_me: failed program was:" >&5
24337
sed 's/^/| /' conftest.$ac_ext >&5
24340
cat >conftest.$ac_ext <<_ACEOF
24343
cat confdefs.h >>conftest.$ac_ext
24344
cat >>conftest.$ac_ext <<_ACEOF
24345
/* end confdefs.h. */
24355
rm -f conftest.$ac_objext
24356
if { (ac_try="$ac_compile"
24357
case "(($ac_try" in
24358
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24359
*) ac_try_echo=$ac_try;;
24361
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24362
(eval "$ac_compile") 2>conftest.er1
24364
grep -v '^ *+' conftest.er1 >conftest.err
24366
cat conftest.err >&5
24367
echo "$as_me:$LINENO: \$? = $ac_status" >&5
24368
(exit $ac_status); } && {
24369
test -z "$ac_cxx_werror_flag" ||
24370
test ! -s conftest.err
24371
} && test -s conftest.$ac_objext; then
24374
echo "$as_me: failed program was:" >&5
24375
sed 's/^/| /' conftest.$ac_ext >&5
24377
ac_cxx_werror_flag=$ac_save_cxx_werror_flag
24379
cat >conftest.$ac_ext <<_ACEOF
24382
cat confdefs.h >>conftest.$ac_ext
24383
cat >>conftest.$ac_ext <<_ACEOF
24384
/* end confdefs.h. */
24394
rm -f conftest.$ac_objext
24395
if { (ac_try="$ac_compile"
24396
case "(($ac_try" in
24397
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24398
*) ac_try_echo=$ac_try;;
24400
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24401
(eval "$ac_compile") 2>conftest.er1
24403
grep -v '^ *+' conftest.er1 >conftest.err
24405
cat conftest.err >&5
24406
echo "$as_me:$LINENO: \$? = $ac_status" >&5
24407
(exit $ac_status); } && {
24408
test -z "$ac_cxx_werror_flag" ||
24409
test ! -s conftest.err
24410
} && test -s conftest.$ac_objext; then
24411
ac_cv_prog_cxx_g=yes
24413
echo "$as_me: failed program was:" >&5
24414
sed 's/^/| /' conftest.$ac_ext >&5
24419
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24422
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24425
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24426
ac_cxx_werror_flag=$ac_save_cxx_werror_flag
24428
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
24429
echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
24430
if test "$ac_test_CXXFLAGS" = set; then
24431
CXXFLAGS=$ac_save_CXXFLAGS
24432
elif test $ac_cv_prog_cxx_g = yes; then
24433
if test "$GXX" = yes; then
24439
if test "$GXX" = yes; then
24446
ac_cpp='$CPP $CPPFLAGS'
24447
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24448
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24449
ac_compiler_gnu=$ac_cv_c_compiler_gnu
24451
depcc="$CXX" am_compiler_list=
24453
{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
24454
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
24455
if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
24456
echo $ECHO_N "(cached) $ECHO_C" >&6
24458
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
24459
# We make a subdir and do the tests there. Otherwise we can end up
24460
# making bogus files that we don't know about and never remove. For
24461
# instance it was reported that on HP-UX the gcc test will end up
24462
# making a dummy file named `D' -- because `-MD' means `put the output
24465
# Copy depcomp to subdir because otherwise we won't find it if we're
24466
# using a relative directory.
24467
cp "$am_depcomp" conftest.dir
24469
# We will build objects and dependencies in a subdirectory because
24470
# it helps to detect inapplicable dependency modes. For instance
24471
# both Tru64's cc and ICC support -MD to output dependencies as a
24472
# side effect of compilation, but ICC will put the dependencies in
24473
# the current directory while Tru64 will put them in the object
24477
am_cv_CXX_dependencies_compiler_type=none
24478
if test "$am_compiler_list" = ""; then
24479
am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
24481
for depmode in $am_compiler_list; do
24482
# Setup a source with many dependencies, because some compilers
24483
# like to wrap large dependency lists on column 80 (with \), and
24484
# we should not choose a depcomp mode which is confused by this.
24486
# We need to recreate these files for each test, as the compiler may
24487
# overwrite some of them when testing with obscure command lines.
24488
# This happens at least with the AIX C compiler.
24490
for i in 1 2 3 4 5 6; do
24491
echo '#include "conftst'$i'.h"' >> sub/conftest.c
24492
# Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
24493
# Solaris 8's {/usr,}/bin/sh.
24494
touch sub/conftst$i.h
24496
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
24500
# after this tag, mechanisms are not by side-effect, so they'll
24501
# only be used when explicitly requested
24502
if test "x$enable_dependency_tracking" = xyes; then
24510
# We check with `-c' and `-o' for the sake of the "dashmstdout"
24511
# mode. It turns out that the SunPro C++ compiler does not properly
24512
# handle `-M -o', and we need to detect this.
24513
if depmode=$depmode \
24514
source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
24515
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
24516
$SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
24517
>/dev/null 2>conftest.err &&
24518
grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
24519
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
24520
grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
24521
${MAKE-make} -s -f confmf > /dev/null 2>&1; then
24522
# icc doesn't choke on unknown options, it will just issue warnings
24523
# or remarks (even with -Werror). So we grep stderr for any message
24524
# that says an option was ignored or not supported.
24525
# When given -MP, icc 7.0 and 7.1 complain thusly:
24526
# icc: Command line warning: ignoring option '-M'; no argument required
24527
# The diagnosis changed in icc 8.0:
24528
# icc: Command line remark: option '-MP' not supported
24529
if (grep 'ignoring option' conftest.err ||
24530
grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
24531
am_cv_CXX_dependencies_compiler_type=$depmode
24538
rm -rf conftest.dir
24540
am_cv_CXX_dependencies_compiler_type=none
24544
{ echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
24545
echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6; }
24546
CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
24549
test "x$enable_dependency_tracking" != xno \
24550
&& test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
24551
am__fastdepCXX_TRUE=
24552
am__fastdepCXX_FALSE='#'
24554
am__fastdepCXX_TRUE='#'
24555
am__fastdepCXX_FALSE=
24419
HAVE_CXX=$ac_ct_HAVE_CXX
24422
HAVE_CXX="$ac_cv_prog_HAVE_CXX"
24425
if test -z "$HAVE_CXX"; then
24426
{ { echo "$as_me:$LINENO: error: No C++ compiler was found on your PATH. Please configure without ICU (using --without-icu) or install a C++ compiler." >&5
24427
echo "$as_me: error: No C++ compiler was found on your PATH. Please configure without ICU (using --without-icu) or install a C++ compiler." >&2;}
24428
{ (exit 1); exit 1; }; }
24560
24431
ac_cpp='$CXXCPP $CPPFLAGS'
24561
24432
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'