~henrix/ubuntu/precise/open-vm-dkms/lp-1416003

« back to all changes in this revision

Viewing changes to autom4te.cache/output.0

  • Committer: Bazaar Package Importer
  • Author(s): Daniel Baumann
  • Date: 2008-10-23 15:32:00 UTC
  • mfrom: (1.1.2 upstream) (2.1.2 sid)
  • Revision ID: james.westby@ubuntu.com-20081023153200-gc1bfx89hj35c799
Tags: 2008.10.10-123053-2
* Correcting typo in dh_installinit call.
* Downgrading depends on module-assistant to recommends.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
@%:@! /bin/sh
2
2
@%:@ Guess values for system-dependent variables and create Makefiles.
3
 
@%:@ Generated by GNU Autoconf 2.61 for open-vm-tools 2008.08.08-109361.
 
3
@%:@ Generated by GNU Autoconf 2.61 for open-vm-tools 2008.10.10-123053.
4
4
@%:@
5
5
@%:@ Report bugs to <open-vm-tools-devel@lists.sourceforge.net>.
6
6
@%:@ 
728
728
# Identity of this package.
729
729
PACKAGE_NAME='open-vm-tools'
730
730
PACKAGE_TARNAME='open-vm-tools'
731
 
PACKAGE_VERSION='2008.08.08-109361'
732
 
PACKAGE_STRING='open-vm-tools 2008.08.08-109361'
 
731
PACKAGE_VERSION='2008.10.10-123053'
 
732
PACKAGE_STRING='open-vm-tools 2008.10.10-123053'
733
733
PACKAGE_BUGREPORT='open-vm-tools-devel@lists.sourceforge.net'
734
734
 
735
735
ac_unique_file="checkvm/checkvm.c"
853
853
am__fastdepCC_TRUE
854
854
am__fastdepCC_FALSE
855
855
CPP
 
856
CXX
 
857
CXXFLAGS
 
858
ac_ct_CXX
 
859
CXXDEPMODE
 
860
am__fastdepCXX_TRUE
 
861
am__fastdepCXX_FALSE
856
862
SED
857
863
LN_S
858
864
GREP
860
866
ECHO
861
867
AR
862
868
RANLIB
863
 
CXX
864
 
CXXFLAGS
865
 
ac_ct_CXX
866
 
CXXDEPMODE
867
 
am__fastdepCXX_TRUE
868
 
am__fastdepCXX_FALSE
869
869
CXXCPP
870
870
F77
871
871
FFLAGS
880
880
LIBPNG_CONFIG
881
881
DNET_CONFIG
882
882
ICU_CONFIG
 
883
HAVE_CXX
883
884
RPCGEN
884
885
BUILD_HGFSMOUNTER_TRUE
885
886
BUILD_HGFSMOUNTER_FALSE
901
902
PAMD_FALSE
902
903
ENABLE_UNITY_TRUE
903
904
ENABLE_UNITY_FALSE
 
905
WITH_ROOT_PRIVILEGES_TRUE
 
906
WITH_ROOT_PRIVILEGES_FALSE
904
907
TARGET_OS
905
908
KERNEL_RELEASE
906
909
MODULES_OS
911
914
GTK_LIBS
912
915
DNET_CPPFLAGS
913
916
DNET_LIBS
914
 
PROCPS_CPPFLAGS
915
917
PROCPS_LIBS
916
918
ICU_CPPFLAGS
917
919
ICU_LIBS
1454
1456
  # Omit some internal or obsolete options to make the list less imposing.
1455
1457
  # This message is too long to be a string in the A/UX 3.1 sh.
1456
1458
  cat <<_ACEOF
1457
 
\`configure' configures open-vm-tools 2008.08.08-109361 to adapt to many kinds of systems.
 
1459
\`configure' configures open-vm-tools 2008.10.10-123053 to adapt to many kinds of systems.
1458
1460
 
1459
1461
Usage: $0 [OPTION]... [VAR=VALUE]...
1460
1462
 
1528
1530
 
1529
1531
if test -n "$ac_init_help"; then
1530
1532
  case $ac_init_help in
1531
 
     short | recursive ) echo "Configuration of open-vm-tools 2008.08.08-109361:";;
 
1533
     short | recursive ) echo "Configuration of open-vm-tools 2008.10.10-123053:";;
1532
1534
   esac
1533
1535
  cat <<\_ACEOF
1534
1536
 
1535
1537
Optional Features:
1536
1538
  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1537
1539
  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1538
 
  --disable-multimon      Disables multimon, enabled by default
1539
 
  --disable-unity         Disables Unity, enabled by default
 
1540
  --disable-multimon      disables multimon, enabled by default
 
1541
  --disable-unity         disables Unity, enabled by default
1540
1542
  --disable-dependency-tracking  speeds up one-time build
1541
1543
  --enable-dependency-tracking   do not reject slow dependency extractors
1542
1544
  --enable-shared@<:@=PKGS@:>@  build shared libraries @<:@default=yes@:>@
1548
1550
Optional Packages:
1549
1551
  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1550
1552
  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
 
1553
  --without-root-privileges 
 
1554
                          does not perform any operations that require root
 
1555
                          privileges
1551
1556
  --without-kernel-modules 
1552
 
                          Do not compile or install the kernel modules
1553
 
  --with-kernel-release   Specify the kernel release you want to build against
1554
 
  --with-linuxdir         Specify the Linux directory you want to use
 
1557
                          does not compile or install the kernel modules
 
1558
  --with-kernel-release   specifies the kernel release you want to build
 
1559
                          against
 
1560
  --with-linuxdir         specifies the Linux directory you want to use
 
1561
  --without-gtk2          compiles without Gtk 2.0 (falls back on Gtk 1.2)
1555
1562
  --with-gnu-ld           assume the C compiler uses GNU ld @<:@default=no@:>@
1556
1563
  --with-pic              try to use only PIC/non-PIC objects @<:@default=use
1557
1564
                          both@:>@
1558
1565
  --with-tags@<:@=TAGS@:>@      include additional configurations @<:@automatic@:>@
1559
1566
  --with-x                use the X Window System
1560
 
  --with-pam-prefix       specify where pam files go. Default is $(sysconfdir)
1561
 
  --without-procps        compile without libproc (disables support for
 
1567
  --with-pam-prefix       specifies where pam files go. Default is
 
1568
                          $(sysconfdir)
 
1569
  --without-procps        compiles without libproc (disables support for
1562
1570
                          meminfo)
1563
 
  --without-dnet          compile without libdnet (disables support for
 
1571
  --without-dnet          compiles without libdnet (disables support for
1564
1572
                          nicinfo)
1565
 
  --without-icu           disable support for ICU
 
1573
  --without-icu           disables support for ICU
1566
1574
 
1567
1575
Some influential environment variables:
1568
1576
  CC          C compiler command
1644
1652
test -n "$ac_init_help" && exit $ac_status
1645
1653
if $ac_init_version; then
1646
1654
  cat <<\_ACEOF
1647
 
open-vm-tools configure 2008.08.08-109361
 
1655
open-vm-tools configure 2008.10.10-123053
1648
1656
generated by GNU Autoconf 2.61
1649
1657
 
1650
1658
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1658
1666
This file contains any messages produced by compilers while
1659
1667
running configure, to aid debugging if configure makes a mistake.
1660
1668
 
1661
 
It was created by open-vm-tools $as_me 2008.08.08-109361, which was
 
1669
It was created by open-vm-tools $as_me 2008.10.10-123053, which was
1662
1670
generated by GNU Autoconf 2.61.  Invocation command line was
1663
1671
 
1664
1672
  $ $0 $@
2033
2041
# helps autoconf verify that it really has found the source tree.
2034
2042
 
2035
2043
 
 
2044
# Keep the top-level directory tidy by putting auxiliary build tools and local
 
2045
# macros in separate subdirectories.
2036
2046
ac_aux_dir=
2037
 
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
 
2047
for ac_dir in config "$srcdir"/config; do
2038
2048
  if test -f "$ac_dir/install-sh"; then
2039
2049
    ac_aux_dir=$ac_dir
2040
2050
    ac_install_sh="$ac_aux_dir/install-sh -c"
2050
2060
  fi
2051
2061
done
2052
2062
if test -z "$ac_aux_dir"; then
2053
 
  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2054
 
echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
 
2063
  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in config \"$srcdir\"/config" >&5
 
2064
echo "$as_me: error: cannot find install-sh or install.sh in config \"$srcdir\"/config" >&2;}
2055
2065
   { (exit 1); exit 1; }; }
2056
2066
fi
2057
2067
 
2064
2074
ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2065
2075
 
2066
2076
 
 
2077
 
 
2078
 
2067
2079
# Make sure we can run config.sub.
2068
2080
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2069
2081
  { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2209
2221
      ;;
2210
2222
esac
2211
2223
 
2212
 
# Kernel args
 
2224
# Operational arguments.
 
2225
 
 
2226
# Check whether --with-root-privileges was given.
 
2227
if test "${with_root_privileges+set}" = set; then
 
2228
  withval=$with_root_privileges; 
 
2229
else
 
2230
  with_root_privileges=yes
 
2231
fi
 
2232
 
 
2233
 
 
2234
# Kernel arguments.
2213
2235
# The kernel args have to go here otherwise the KERNEL_RELEASE won't be visible
2214
2236
# to getOsVersion()
2215
2237
 
2273
2295
   fi
2274
2296
fi
2275
2297
 
2276
 
# Arguments for disabling individual open-vm-tools features.
 
2298
# Arguments for disabling individual open-vm-tools features or libraries.
2277
2299
# Check whether --enable-multimon was given.
2278
2300
if test "${enable_multimon+set}" = set; then
2279
2301
  enableval=$enable_multimon; enable_multimon="$enableval"
2290
2312
fi
2291
2313
 
2292
2314
 
 
2315
 
 
2316
# Check whether --with-gtk2 was given.
 
2317
if test "${with_gtk2+set}" = set; then
 
2318
  withval=$with_gtk2; with_gtk2="$withval"
 
2319
else
 
2320
  with_gtk2="yes"
 
2321
fi
 
2322
 
 
2323
 
 
2324
# If we're not going to use Gtk 2.0, disable Unity. It may be possible to
 
2325
# get Unity working with Gtk 1.2 (it used to in the past), but that will
 
2326
# require a great deal of work.
 
2327
if test "$with_gtk2" != "yes"; then
 
2328
   enable_unity="no"
 
2329
fi
 
2330
 
2293
2331
am__api_version='1.10'
2294
2332
 
2295
2333
# Find a good install program.  We prefer a C program (faster),
2596
2634
 
2597
2635
# Define the identity of the package.
2598
2636
 PACKAGE='open-vm-tools'
2599
 
 VERSION='2008.08.08-109361'
 
2637
 VERSION='2008.10.10-123053'
2600
2638
 
2601
2639
 
2602
2640
cat >>confdefs.h <<_ACEOF
2763
2801
###
2764
2802
### Programs
2765
2803
###
2766
 
# Compiler and preprocessor
 
2804
# C preprocessor and compiler.
2767
2805
DEPDIR="${am__leading_dot}deps"
2768
2806
 
2769
2807
ac_config_commands="$ac_config_commands depfiles"
4868
4906
 
4869
4907
 
4870
4908
 
 
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++'.
 
4911
ac_ext=cpp
 
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
 
4918
    CXX=$CCC
 
4919
  else
 
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
 
4922
  do
 
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
 
4929
else
 
4930
  if test -n "$CXX"; then
 
4931
  ac_cv_prog_CXX="$CXX" # Let the user override the test.
 
4932
else
 
4933
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4934
for as_dir in $PATH
 
4935
do
 
4936
  IFS=$as_save_IFS
 
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
 
4942
    break 2
 
4943
  fi
 
4944
done
 
4945
done
 
4946
IFS=$as_save_IFS
 
4947
 
 
4948
fi
 
4949
fi
 
4950
CXX=$ac_cv_prog_CXX
 
4951
if test -n "$CXX"; then
 
4952
  { echo "$as_me:$LINENO: result: $CXX" >&5
 
4953
echo "${ECHO_T}$CXX" >&6; }
 
4954
else
 
4955
  { echo "$as_me:$LINENO: result: no" >&5
 
4956
echo "${ECHO_T}no" >&6; }
 
4957
fi
 
4958
 
 
4959
 
 
4960
    test -n "$CXX" && break
 
4961
  done
 
4962
fi
 
4963
if test -z "$CXX"; then
 
4964
  ac_ct_CXX=$CXX
 
4965
  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
 
4966
do
 
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
 
4973
else
 
4974
  if test -n "$ac_ct_CXX"; then
 
4975
  ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
 
4976
else
 
4977
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4978
for as_dir in $PATH
 
4979
do
 
4980
  IFS=$as_save_IFS
 
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
 
4986
    break 2
 
4987
  fi
 
4988
done
 
4989
done
 
4990
IFS=$as_save_IFS
 
4991
 
 
4992
fi
 
4993
fi
 
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; }
 
4998
else
 
4999
  { echo "$as_me:$LINENO: result: no" >&5
 
5000
echo "${ECHO_T}no" >&6; }
 
5001
fi
 
5002
 
 
5003
 
 
5004
  test -n "$ac_ct_CXX" && break
 
5005
done
 
5006
 
 
5007
  if test "x$ac_ct_CXX" = x; then
 
5008
    CXX="g++"
 
5009
  else
 
5010
    case $cross_compiling:$ac_tool_warned in
 
5011
yes:)
 
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 ;;
 
5019
esac
 
5020
    CXX=$ac_ct_CXX
 
5021
  fi
 
5022
fi
 
5023
 
 
5024
  fi
 
5025
fi
 
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"
 
5030
case "(($ac_try" in
 
5031
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5032
  *) ac_try_echo=$ac_try;;
 
5033
esac
 
5034
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5035
  (eval "$ac_compiler --version >&5") 2>&5
 
5036
  ac_status=$?
 
5037
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5038
  (exit $ac_status); }
 
5039
{ (ac_try="$ac_compiler -v >&5"
 
5040
case "(($ac_try" in
 
5041
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5042
  *) ac_try_echo=$ac_try;;
 
5043
esac
 
5044
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5045
  (eval "$ac_compiler -v >&5") 2>&5
 
5046
  ac_status=$?
 
5047
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5048
  (exit $ac_status); }
 
5049
{ (ac_try="$ac_compiler -V >&5"
 
5050
case "(($ac_try" in
 
5051
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5052
  *) ac_try_echo=$ac_try;;
 
5053
esac
 
5054
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5055
  (eval "$ac_compiler -V >&5") 2>&5
 
5056
  ac_status=$?
 
5057
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5058
  (exit $ac_status); }
 
5059
 
 
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
 
5064
else
 
5065
  cat >conftest.$ac_ext <<_ACEOF
 
5066
/* confdefs.h.  */
 
5067
_ACEOF
 
5068
cat confdefs.h >>conftest.$ac_ext
 
5069
cat >>conftest.$ac_ext <<_ACEOF
 
5070
/* end confdefs.h.  */
 
5071
 
 
5072
int
 
5073
main ()
 
5074
{
 
5075
#ifndef __GNUC__
 
5076
       choke me
 
5077
#endif
 
5078
 
 
5079
  ;
 
5080
  return 0;
 
5081
}
 
5082
_ACEOF
 
5083
rm -f conftest.$ac_objext
 
5084
if { (ac_try="$ac_compile"
 
5085
case "(($ac_try" in
 
5086
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5087
  *) ac_try_echo=$ac_try;;
 
5088
esac
 
5089
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5090
  (eval "$ac_compile") 2>conftest.er1
 
5091
  ac_status=$?
 
5092
  grep -v '^ *+' conftest.er1 >conftest.err
 
5093
  rm -f conftest.er1
 
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
 
5100
  ac_compiler_gnu=yes
 
5101
else
 
5102
  echo "$as_me: failed program was:" >&5
 
5103
sed 's/^/| /' conftest.$ac_ext >&5
 
5104
 
 
5105
        ac_compiler_gnu=no
 
5106
fi
 
5107
 
 
5108
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
5109
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
 
5110
 
 
5111
fi
 
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
 
5121
else
 
5122
  ac_save_cxx_werror_flag=$ac_cxx_werror_flag
 
5123
   ac_cxx_werror_flag=yes
 
5124
   ac_cv_prog_cxx_g=no
 
5125
   CXXFLAGS="-g"
 
5126
   cat >conftest.$ac_ext <<_ACEOF
 
5127
/* confdefs.h.  */
 
5128
_ACEOF
 
5129
cat confdefs.h >>conftest.$ac_ext
 
5130
cat >>conftest.$ac_ext <<_ACEOF
 
5131
/* end confdefs.h.  */
 
5132
 
 
5133
int
 
5134
main ()
 
5135
{
 
5136
 
 
5137
  ;
 
5138
  return 0;
 
5139
}
 
5140
_ACEOF
 
5141
rm -f conftest.$ac_objext
 
5142
if { (ac_try="$ac_compile"
 
5143
case "(($ac_try" in
 
5144
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5145
  *) ac_try_echo=$ac_try;;
 
5146
esac
 
5147
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5148
  (eval "$ac_compile") 2>conftest.er1
 
5149
  ac_status=$?
 
5150
  grep -v '^ *+' conftest.er1 >conftest.err
 
5151
  rm -f conftest.er1
 
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
 
5159
else
 
5160
  echo "$as_me: failed program was:" >&5
 
5161
sed 's/^/| /' conftest.$ac_ext >&5
 
5162
 
 
5163
        CXXFLAGS=""
 
5164
      cat >conftest.$ac_ext <<_ACEOF
 
5165
/* confdefs.h.  */
 
5166
_ACEOF
 
5167
cat confdefs.h >>conftest.$ac_ext
 
5168
cat >>conftest.$ac_ext <<_ACEOF
 
5169
/* end confdefs.h.  */
 
5170
 
 
5171
int
 
5172
main ()
 
5173
{
 
5174
 
 
5175
  ;
 
5176
  return 0;
 
5177
}
 
5178
_ACEOF
 
5179
rm -f conftest.$ac_objext
 
5180
if { (ac_try="$ac_compile"
 
5181
case "(($ac_try" in
 
5182
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5183
  *) ac_try_echo=$ac_try;;
 
5184
esac
 
5185
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5186
  (eval "$ac_compile") 2>conftest.er1
 
5187
  ac_status=$?
 
5188
  grep -v '^ *+' conftest.er1 >conftest.err
 
5189
  rm -f conftest.er1
 
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
 
5196
  :
 
5197
else
 
5198
  echo "$as_me: failed program was:" >&5
 
5199
sed 's/^/| /' conftest.$ac_ext >&5
 
5200
 
 
5201
        ac_cxx_werror_flag=$ac_save_cxx_werror_flag
 
5202
         CXXFLAGS="-g"
 
5203
         cat >conftest.$ac_ext <<_ACEOF
 
5204
/* confdefs.h.  */
 
5205
_ACEOF
 
5206
cat confdefs.h >>conftest.$ac_ext
 
5207
cat >>conftest.$ac_ext <<_ACEOF
 
5208
/* end confdefs.h.  */
 
5209
 
 
5210
int
 
5211
main ()
 
5212
{
 
5213
 
 
5214
  ;
 
5215
  return 0;
 
5216
}
 
5217
_ACEOF
 
5218
rm -f conftest.$ac_objext
 
5219
if { (ac_try="$ac_compile"
 
5220
case "(($ac_try" in
 
5221
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5222
  *) ac_try_echo=$ac_try;;
 
5223
esac
 
5224
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5225
  (eval "$ac_compile") 2>conftest.er1
 
5226
  ac_status=$?
 
5227
  grep -v '^ *+' conftest.er1 >conftest.err
 
5228
  rm -f conftest.er1
 
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
 
5236
else
 
5237
  echo "$as_me: failed program was:" >&5
 
5238
sed 's/^/| /' conftest.$ac_ext >&5
 
5239
 
 
5240
        
 
5241
fi
 
5242
 
 
5243
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
5244
fi
 
5245
 
 
5246
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
5247
fi
 
5248
 
 
5249
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
5250
   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
 
5251
fi
 
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
 
5258
    CXXFLAGS="-g -O2"
 
5259
  else
 
5260
    CXXFLAGS="-g"
 
5261
  fi
 
5262
else
 
5263
  if test "$GXX" = yes; then
 
5264
    CXXFLAGS="-O2"
 
5265
  else
 
5266
    CXXFLAGS=
 
5267
  fi
 
5268
fi
 
5269
ac_ext=c
 
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
 
5274
 
 
5275
depcc="$CXX"  am_compiler_list=
 
5276
 
 
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
 
5281
else
 
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
 
5287
  # in D'.
 
5288
  mkdir conftest.dir
 
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
 
5292
  cd 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
 
5298
  # directory.
 
5299
  mkdir sub
 
5300
 
 
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`
 
5304
  fi
 
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.
 
5309
    #
 
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.
 
5313
    : > sub/conftest.c
 
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
 
5319
    done
 
5320
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
 
5321
 
 
5322
    case $depmode in
 
5323
    nosideeffect)
 
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
 
5327
        continue
 
5328
      else
 
5329
        break
 
5330
      fi
 
5331
      ;;
 
5332
    none) break ;;
 
5333
    esac
 
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
 
5356
        break
 
5357
      fi
 
5358
    fi
 
5359
  done
 
5360
 
 
5361
  cd ..
 
5362
  rm -rf conftest.dir
 
5363
else
 
5364
  am_cv_CXX_dependencies_compiler_type=none
 
5365
fi
 
5366
 
 
5367
fi
 
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
 
5371
 
 
5372
 if 
 
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='#'
 
5377
else
 
5378
  am__fastdepCXX_TRUE='#'
 
5379
  am__fastdepCXX_FALSE=
 
5380
fi
 
5381
 
 
5382
 
 
5383
 
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.)
6490
7003
 
6491
7004
done
6492
7005
 
6493
 
ac_ext=cpp
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
6500
 
    CXX=$CCC
6501
 
  else
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
6504
 
  do
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
6511
 
else
6512
 
  if test -n "$CXX"; then
6513
 
  ac_cv_prog_CXX="$CXX" # Let the user override the test.
6514
 
else
6515
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6516
 
for as_dir in $PATH
6517
 
do
6518
 
  IFS=$as_save_IFS
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
6524
 
    break 2
6525
 
  fi
6526
 
done
6527
 
done
6528
 
IFS=$as_save_IFS
6529
 
 
6530
 
fi
6531
 
fi
6532
 
CXX=$ac_cv_prog_CXX
6533
 
if test -n "$CXX"; then
6534
 
  { echo "$as_me:$LINENO: result: $CXX" >&5
6535
 
echo "${ECHO_T}$CXX" >&6; }
6536
 
else
6537
 
  { echo "$as_me:$LINENO: result: no" >&5
6538
 
echo "${ECHO_T}no" >&6; }
6539
 
fi
6540
 
 
6541
 
 
6542
 
    test -n "$CXX" && break
6543
 
  done
6544
 
fi
6545
 
if test -z "$CXX"; then
6546
 
  ac_ct_CXX=$CXX
6547
 
  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
6548
 
do
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
6555
 
else
6556
 
  if test -n "$ac_ct_CXX"; then
6557
 
  ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
6558
 
else
6559
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6560
 
for as_dir in $PATH
6561
 
do
6562
 
  IFS=$as_save_IFS
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
6568
 
    break 2
6569
 
  fi
6570
 
done
6571
 
done
6572
 
IFS=$as_save_IFS
6573
 
 
6574
 
fi
6575
 
fi
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; }
6580
 
else
6581
 
  { echo "$as_me:$LINENO: result: no" >&5
6582
 
echo "${ECHO_T}no" >&6; }
6583
 
fi
6584
 
 
6585
 
 
6586
 
  test -n "$ac_ct_CXX" && break
6587
 
done
6588
 
 
6589
 
  if test "x$ac_ct_CXX" = x; then
6590
 
    CXX="g++"
6591
 
  else
6592
 
    case $cross_compiling:$ac_tool_warned in
6593
 
yes:)
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 ;;
6601
 
esac
6602
 
    CXX=$ac_ct_CXX
6603
 
  fi
6604
 
fi
6605
 
 
6606
 
  fi
6607
 
fi
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"
6612
 
case "(($ac_try" in
6613
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6614
 
  *) ac_try_echo=$ac_try;;
6615
 
esac
6616
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6617
 
  (eval "$ac_compiler --version >&5") 2>&5
6618
 
  ac_status=$?
6619
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6620
 
  (exit $ac_status); }
6621
 
{ (ac_try="$ac_compiler -v >&5"
6622
 
case "(($ac_try" in
6623
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6624
 
  *) ac_try_echo=$ac_try;;
6625
 
esac
6626
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6627
 
  (eval "$ac_compiler -v >&5") 2>&5
6628
 
  ac_status=$?
6629
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6630
 
  (exit $ac_status); }
6631
 
{ (ac_try="$ac_compiler -V >&5"
6632
 
case "(($ac_try" in
6633
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6634
 
  *) ac_try_echo=$ac_try;;
6635
 
esac
6636
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6637
 
  (eval "$ac_compiler -V >&5") 2>&5
6638
 
  ac_status=$?
6639
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6640
 
  (exit $ac_status); }
6641
 
 
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
6646
 
else
6647
 
  cat >conftest.$ac_ext <<_ACEOF
6648
 
/* confdefs.h.  */
6649
 
_ACEOF
6650
 
cat confdefs.h >>conftest.$ac_ext
6651
 
cat >>conftest.$ac_ext <<_ACEOF
6652
 
/* end confdefs.h.  */
6653
 
 
6654
 
int
6655
 
main ()
6656
 
{
6657
 
#ifndef __GNUC__
6658
 
       choke me
6659
 
#endif
6660
 
 
6661
 
  ;
6662
 
  return 0;
6663
 
}
6664
 
_ACEOF
6665
 
rm -f conftest.$ac_objext
6666
 
if { (ac_try="$ac_compile"
6667
 
case "(($ac_try" in
6668
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6669
 
  *) ac_try_echo=$ac_try;;
6670
 
esac
6671
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6672
 
  (eval "$ac_compile") 2>conftest.er1
6673
 
  ac_status=$?
6674
 
  grep -v '^ *+' conftest.er1 >conftest.err
6675
 
  rm -f conftest.er1
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
6682
 
  ac_compiler_gnu=yes
6683
 
else
6684
 
  echo "$as_me: failed program was:" >&5
6685
 
sed 's/^/| /' conftest.$ac_ext >&5
6686
 
 
6687
 
        ac_compiler_gnu=no
6688
 
fi
6689
 
 
6690
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6691
 
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
6692
 
 
6693
 
fi
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
6703
 
else
6704
 
  ac_save_cxx_werror_flag=$ac_cxx_werror_flag
6705
 
   ac_cxx_werror_flag=yes
6706
 
   ac_cv_prog_cxx_g=no
6707
 
   CXXFLAGS="-g"
6708
 
   cat >conftest.$ac_ext <<_ACEOF
6709
 
/* confdefs.h.  */
6710
 
_ACEOF
6711
 
cat confdefs.h >>conftest.$ac_ext
6712
 
cat >>conftest.$ac_ext <<_ACEOF
6713
 
/* end confdefs.h.  */
6714
 
 
6715
 
int
6716
 
main ()
6717
 
{
6718
 
 
6719
 
  ;
6720
 
  return 0;
6721
 
}
6722
 
_ACEOF
6723
 
rm -f conftest.$ac_objext
6724
 
if { (ac_try="$ac_compile"
6725
 
case "(($ac_try" in
6726
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6727
 
  *) ac_try_echo=$ac_try;;
6728
 
esac
6729
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6730
 
  (eval "$ac_compile") 2>conftest.er1
6731
 
  ac_status=$?
6732
 
  grep -v '^ *+' conftest.er1 >conftest.err
6733
 
  rm -f conftest.er1
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
6741
 
else
6742
 
  echo "$as_me: failed program was:" >&5
6743
 
sed 's/^/| /' conftest.$ac_ext >&5
6744
 
 
6745
 
        CXXFLAGS=""
6746
 
      cat >conftest.$ac_ext <<_ACEOF
6747
 
/* confdefs.h.  */
6748
 
_ACEOF
6749
 
cat confdefs.h >>conftest.$ac_ext
6750
 
cat >>conftest.$ac_ext <<_ACEOF
6751
 
/* end confdefs.h.  */
6752
 
 
6753
 
int
6754
 
main ()
6755
 
{
6756
 
 
6757
 
  ;
6758
 
  return 0;
6759
 
}
6760
 
_ACEOF
6761
 
rm -f conftest.$ac_objext
6762
 
if { (ac_try="$ac_compile"
6763
 
case "(($ac_try" in
6764
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6765
 
  *) ac_try_echo=$ac_try;;
6766
 
esac
6767
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6768
 
  (eval "$ac_compile") 2>conftest.er1
6769
 
  ac_status=$?
6770
 
  grep -v '^ *+' conftest.er1 >conftest.err
6771
 
  rm -f conftest.er1
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
6778
 
  :
6779
 
else
6780
 
  echo "$as_me: failed program was:" >&5
6781
 
sed 's/^/| /' conftest.$ac_ext >&5
6782
 
 
6783
 
        ac_cxx_werror_flag=$ac_save_cxx_werror_flag
6784
 
         CXXFLAGS="-g"
6785
 
         cat >conftest.$ac_ext <<_ACEOF
6786
 
/* confdefs.h.  */
6787
 
_ACEOF
6788
 
cat confdefs.h >>conftest.$ac_ext
6789
 
cat >>conftest.$ac_ext <<_ACEOF
6790
 
/* end confdefs.h.  */
6791
 
 
6792
 
int
6793
 
main ()
6794
 
{
6795
 
 
6796
 
  ;
6797
 
  return 0;
6798
 
}
6799
 
_ACEOF
6800
 
rm -f conftest.$ac_objext
6801
 
if { (ac_try="$ac_compile"
6802
 
case "(($ac_try" in
6803
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6804
 
  *) ac_try_echo=$ac_try;;
6805
 
esac
6806
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6807
 
  (eval "$ac_compile") 2>conftest.er1
6808
 
  ac_status=$?
6809
 
  grep -v '^ *+' conftest.er1 >conftest.err
6810
 
  rm -f conftest.er1
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
6818
 
else
6819
 
  echo "$as_me: failed program was:" >&5
6820
 
sed 's/^/| /' conftest.$ac_ext >&5
6821
 
 
6822
 
        
6823
 
fi
6824
 
 
6825
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6826
 
fi
6827
 
 
6828
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6829
 
fi
6830
 
 
6831
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6832
 
   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
6833
 
fi
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
6840
 
    CXXFLAGS="-g -O2"
6841
 
  else
6842
 
    CXXFLAGS="-g"
6843
 
  fi
6844
 
else
6845
 
  if test "$GXX" = yes; then
6846
 
    CXXFLAGS="-O2"
6847
 
  else
6848
 
    CXXFLAGS=
6849
 
  fi
6850
 
fi
6851
 
ac_ext=cpp
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
6856
 
 
6857
 
depcc="$CXX"  am_compiler_list=
6858
 
 
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
6863
 
else
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
6869
 
  # in D'.
6870
 
  mkdir conftest.dir
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
6874
 
  cd 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
6880
 
  # directory.
6881
 
  mkdir sub
6882
 
 
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`
6886
 
  fi
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.
6891
 
    #
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.
6895
 
    : > sub/conftest.c
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
6901
 
    done
6902
 
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
6903
 
 
6904
 
    case $depmode in
6905
 
    nosideeffect)
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
6909
 
        continue
6910
 
      else
6911
 
        break
6912
 
      fi
6913
 
      ;;
6914
 
    none) break ;;
6915
 
    esac
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
6938
 
        break
6939
 
      fi
6940
 
    fi
6941
 
  done
6942
 
 
6943
 
  cd ..
6944
 
  rm -rf conftest.dir
6945
 
else
6946
 
  am_cv_CXX_dependencies_compiler_type=none
6947
 
fi
6948
 
 
6949
 
fi
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
6953
 
 
6954
 
 if 
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='#'
6959
 
else
6960
 
  am__fastdepCXX_TRUE='#'
6961
 
  am__fastdepCXX_FALSE=
6962
 
fi
6963
 
 
6964
 
 
6965
7006
 
6966
7007
 
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; }; }
22042
22083
else
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"
 
22086
 
 
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
 
22091
else
 
22092
  ac_check_lib_save_LIBS=$LIBS
 
22093
LIBS="-lXext $COMMON_XLIBS $LIBS"
 
22094
cat >conftest.$ac_ext <<_ACEOF
 
22095
/* confdefs.h.  */
 
22096
_ACEOF
 
22097
cat confdefs.h >>conftest.$ac_ext
 
22098
cat >>conftest.$ac_ext <<_ACEOF
 
22099
/* end confdefs.h.  */
 
22100
 
 
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.  */
 
22104
#ifdef __cplusplus
 
22105
extern "C"
 
22106
#endif
 
22107
char XeviQueryVersion ();
 
22108
int
 
22109
main ()
 
22110
{
 
22111
return XeviQueryVersion ();
 
22112
  ;
 
22113
  return 0;
 
22114
}
 
22115
_ACEOF
 
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;;
 
22121
esac
 
22122
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
22123
  (eval "$ac_link") 2>conftest.er1
 
22124
  ac_status=$?
 
22125
  grep -v '^ *+' conftest.er1 >conftest.err
 
22126
  rm -f conftest.er1
 
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
 
22135
else
 
22136
  echo "$as_me: failed program was:" >&5
 
22137
sed 's/^/| /' conftest.$ac_ext >&5
 
22138
 
 
22139
        ac_cv_lib_Xext_XeviQueryVersion=no
 
22140
fi
 
22141
 
 
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
 
22145
fi
 
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"
 
22150
else
 
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; }; }
 
22154
fi
 
22155
 
22047
22156
 
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; }
22172
22281
 
22173
22282
   fi
22174
22283
 
 
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
 
22288
else
 
22289
  ac_check_lib_save_LIBS=$LIBS
 
22290
LIBS="-lXrender $COMMON_XLIBS $LIBS"
 
22291
cat >conftest.$ac_ext <<_ACEOF
 
22292
/* confdefs.h.  */
 
22293
_ACEOF
 
22294
cat confdefs.h >>conftest.$ac_ext
 
22295
cat >>conftest.$ac_ext <<_ACEOF
 
22296
/* end confdefs.h.  */
 
22297
 
 
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.  */
 
22301
#ifdef __cplusplus
 
22302
extern "C"
 
22303
#endif
 
22304
char XRenderQueryVersion ();
 
22305
int
 
22306
main ()
 
22307
{
 
22308
return XRenderQueryVersion ();
 
22309
  ;
 
22310
  return 0;
 
22311
}
 
22312
_ACEOF
 
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;;
 
22318
esac
 
22319
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
22320
  (eval "$ac_link") 2>conftest.er1
 
22321
  ac_status=$?
 
22322
  grep -v '^ *+' conftest.er1 >conftest.err
 
22323
  rm -f conftest.er1
 
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
 
22332
else
 
22333
  echo "$as_me: failed program was:" >&5
 
22334
sed 's/^/| /' conftest.$ac_ext >&5
 
22335
 
 
22336
        ac_cv_lib_Xrender_XRenderQueryVersion=no
 
22337
fi
 
22338
 
 
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
 
22342
fi
 
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"
 
22347
else
 
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; }; }
 
22351
fi
 
22352
 
 
22353
 
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
22179
22358
else
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.  */
22184
22363
_ACEOF
22235
22414
echo "${ECHO_T}$ac_cv_lib_Xrandr_XRRQueryVersion" >&6; }
22236
22415
if test $ac_cv_lib_Xrandr_XRRQueryVersion = yes; then
22237
22416
  COMMON_XLIBS="-lXrandr $COMMON_XLIBS"
22238
 
       COMMON_XLIBS="-lXrender $COMMON_XLIBS"
22239
22417
else
22240
22418
  { { echo "$as_me:$LINENO: error: libXrandr not found. Please configure without X11 (using --without-x) or install the libXrandr devel package(s)." >&5
22241
22419
echo "$as_me: error: libXrandr not found. Please configure without X11 (using --without-x) or install the libXrandr devel package(s)." >&2;}
22992
23170
  HAVE_GTK1="yes"
22993
23171
fi
22994
23172
 
22995
 
      { echo "$as_me:$LINENO: checking for gtk_tree_view_new in -lgtk-x11-2.0" >&5
 
23173
      if test "$with_gtk2" != "no"; then
 
23174
         { echo "$as_me:$LINENO: checking for gtk_tree_view_new in -lgtk-x11-2.0" >&5
22996
23175
echo $ECHO_N "checking for gtk_tree_view_new in -lgtk-x11-2.0... $ECHO_C" >&6; }
22997
23176
if test "${ac_cv_lib_gtk_x11_2_0_gtk_tree_view_new+set}" = set; then
22998
23177
  echo $ECHO_N "(cached) $ECHO_C" >&6
23057
23236
  HAVE_GTK2="yes"
23058
23237
fi
23059
23238
 
 
23239
      fi
23060
23240
   fi
23061
23241
 
23062
23242
   # Sometimes pkg-config can find stuff that AC_CHECK_LIB can't, so we use that as well.
23063
23243
   if test "$HAVE_PKG_CONFIG" = "yes"; then
23064
 
      { echo "$as_me:$LINENO: checking for Gtk+ 2.0 (via pkg-config)" >&5
 
23244
      if test "$with_gtk2" != "no"; then
 
23245
         { echo "$as_me:$LINENO: checking for Gtk+ 2.0 (via pkg-config)" >&5
23065
23246
echo $ECHO_N "checking for Gtk+ 2.0 (via pkg-config)... $ECHO_C" >&6; }
23066
 
      if pkg-config --exists gtk+-2.0; then
23067
 
         HAVE_GTK2="yes"
23068
 
         { echo "$as_me:$LINENO: result: yes" >&5
 
23247
         if pkg-config --exists gtk+-2.0; then
 
23248
            HAVE_GTK2="yes"
 
23249
            { echo "$as_me:$LINENO: result: yes" >&5
23069
23250
echo "${ECHO_T}yes" >&6; }
23070
 
      else
23071
 
         { echo "$as_me:$LINENO: result: no" >&5
 
23251
         else
 
23252
            { echo "$as_me:$LINENO: result: no" >&5
23072
23253
echo "${ECHO_T}no" >&6; }
23073
 
      fi
 
23254
         fi
 
23255
     fi
23074
23256
 
23075
23257
      { echo "$as_me:$LINENO: checking for Gtk+ 1.x (via pkg-config)" >&5
23076
23258
echo $ECHO_N "checking for Gtk+ 1.x (via pkg-config)... $ECHO_C" >&6; }
23101
23283
      fi
23102
23284
 
23103
23285
      if test "$HAVE_GTK2" = "yes"; then
23104
 
      # Gtk 2.0
 
23286
         # Gtk 2.0
23105
23287
         GTK_CPPFLAGS="$GTK_CPPFLAGS -DGTK2"
23106
23288
         gtkPackageName="gtk+-2.0"
23107
23289
      elif test "$HAVE_GTK1" = "yes"; then
23108
 
      # Gtk 1.2
 
23290
         # Gtk 1.2
23109
23291
         gtkPackageName="gtk+"
23110
23292
 
23111
23293
         # Unity requires Gtk 2.0.
23130
23312
      elif test "$HAVE_PKG_CONFIG" = "yes"; then
23131
23313
         GTK_CPPFLAGS="$GTK_CPPFLAGS $(pkg-config --cflags $gtkPackageName)"
23132
23314
         GTK_LIBS="$GTK_LIBS $(pkg-config --libs $gtkPackageName)"
23133
 
         # Unity requires libgdk_pixbuf_xlib, which most systems don't seem to
23134
 
         # provide via "pkg-config --libs gtk+-2.0".
23135
 
         if test "$enable_unity" != "no"; then
23136
 
            GTK_LIBS="$GTK_LIBS -lgdk_pixbuf_xlib-2.0"
23137
 
         fi
23138
23315
      # Otherwise, we have a problem.
23139
23316
      else
23140
23317
         { { echo "$as_me:$LINENO: error: pkg-config not found. Get pkg-config or set CUSTOM_GTK_CPPFLAGS and CUSTOM_GTK_LIBS to specify gtk header file and library locations." >&5
23142
23319
   { (exit 1); exit 1; }; }
23143
23320
      fi
23144
23321
 
 
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
 
23332
else
 
23333
  ac_check_lib_save_LIBS=$LIBS
 
23334
LIBS="-lgdk-x11-2.0  $LIBS"
 
23335
cat >conftest.$ac_ext <<_ACEOF
 
23336
/* confdefs.h.  */
 
23337
_ACEOF
 
23338
cat confdefs.h >>conftest.$ac_ext
 
23339
cat >>conftest.$ac_ext <<_ACEOF
 
23340
/* end confdefs.h.  */
 
23341
 
 
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.  */
 
23345
#ifdef __cplusplus
 
23346
extern "C"
 
23347
#endif
 
23348
char gdk_display_get_default_group ();
 
23349
int
 
23350
main ()
 
23351
{
 
23352
return gdk_display_get_default_group ();
 
23353
  ;
 
23354
  return 0;
 
23355
}
 
23356
_ACEOF
 
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;;
 
23362
esac
 
23363
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
23364
  (eval "$ac_link") 2>conftest.er1
 
23365
  ac_status=$?
 
23366
  grep -v '^ *+' conftest.er1 >conftest.err
 
23367
  rm -f conftest.er1
 
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
 
23376
else
 
23377
  echo "$as_me: failed program was:" >&5
 
23378
sed 's/^/| /' conftest.$ac_ext >&5
 
23379
 
 
23380
        ac_cv_lib_gdk_x11_2_0_gdk_display_get_default_group=no
 
23381
fi
 
23382
 
 
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
 
23386
fi
 
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"
 
23391
else
 
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; }; }
 
23395
            $GTK_LIBS
 
23396
fi
 
23397
 
 
23398
      fi
 
23399
 
 
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
 
23407
else
 
23408
  ac_check_lib_save_LIBS=$LIBS
 
23409
LIBS="-lgdk_pixbuf_xlib-2.0 $GTK_LIBS $LIBS"
 
23410
cat >conftest.$ac_ext <<_ACEOF
 
23411
/* confdefs.h.  */
 
23412
_ACEOF
 
23413
cat confdefs.h >>conftest.$ac_ext
 
23414
cat >>conftest.$ac_ext <<_ACEOF
 
23415
/* end confdefs.h.  */
 
23416
 
 
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.  */
 
23420
#ifdef __cplusplus
 
23421
extern "C"
 
23422
#endif
 
23423
char gdk_pixbuf_xlib_init ();
 
23424
int
 
23425
main ()
 
23426
{
 
23427
return gdk_pixbuf_xlib_init ();
 
23428
  ;
 
23429
  return 0;
 
23430
}
 
23431
_ACEOF
 
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;;
 
23437
esac
 
23438
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
23439
  (eval "$ac_link") 2>conftest.er1
 
23440
  ac_status=$?
 
23441
  grep -v '^ *+' conftest.er1 >conftest.err
 
23442
  rm -f conftest.er1
 
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
 
23451
else
 
23452
  echo "$as_me: failed program was:" >&5
 
23453
sed 's/^/| /' conftest.$ac_ext >&5
 
23454
 
 
23455
        ac_cv_lib_gdk_pixbuf_xlib_2_0_gdk_pixbuf_xlib_init=no
 
23456
fi
 
23457
 
 
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
 
23461
fi
 
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"
 
23466
else
 
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; }; }
 
23470
fi
 
23471
 
 
23472
      fi
23145
23473
   else
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;}
23220
23548
fi
23221
23549
 
23222
23550
 
 
23551
{ echo "$as_me:$LINENO: checking for notify_init in -lnotify" >&5
 
23552
echo $ECHO_N "checking for notify_init in -lnotify... $ECHO_C" >&6; }
 
23553
if test "${ac_cv_lib_notify_notify_init+set}" = set; then
 
23554
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
23555
else
 
23556
  ac_check_lib_save_LIBS=$LIBS
 
23557
LIBS="-lnotify  $LIBS"
 
23558
cat >conftest.$ac_ext <<_ACEOF
 
23559
/* confdefs.h.  */
 
23560
_ACEOF
 
23561
cat confdefs.h >>conftest.$ac_ext
 
23562
cat >>conftest.$ac_ext <<_ACEOF
 
23563
/* end confdefs.h.  */
 
23564
 
 
23565
/* Override any GCC internal prototype to avoid an error.
 
23566
   Use char because int might match the return type of a GCC
 
23567
   builtin and then its argument prototype would still apply.  */
 
23568
#ifdef __cplusplus
 
23569
extern "C"
 
23570
#endif
 
23571
char notify_init ();
 
23572
int
 
23573
main ()
 
23574
{
 
23575
return notify_init ();
 
23576
  ;
 
23577
  return 0;
 
23578
}
 
23579
_ACEOF
 
23580
rm -f conftest.$ac_objext conftest$ac_exeext
 
23581
if { (ac_try="$ac_link"
 
23582
case "(($ac_try" in
 
23583
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
23584
  *) ac_try_echo=$ac_try;;
 
23585
esac
 
23586
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
23587
  (eval "$ac_link") 2>conftest.er1
 
23588
  ac_status=$?
 
23589
  grep -v '^ *+' conftest.er1 >conftest.err
 
23590
  rm -f conftest.er1
 
23591
  cat conftest.err >&5
 
23592
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
23593
  (exit $ac_status); } && {
 
23594
         test -z "$ac_c_werror_flag" ||
 
23595
         test ! -s conftest.err
 
23596
       } && test -s conftest$ac_exeext &&
 
23597
       $as_test_x conftest$ac_exeext; then
 
23598
  ac_cv_lib_notify_notify_init=yes
 
23599
else
 
23600
  echo "$as_me: failed program was:" >&5
 
23601
sed 's/^/| /' conftest.$ac_ext >&5
 
23602
 
 
23603
        ac_cv_lib_notify_notify_init=no
 
23604
fi
 
23605
 
 
23606
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
23607
      conftest$ac_exeext conftest.$ac_ext
 
23608
LIBS=$ac_check_lib_save_LIBS
 
23609
fi
 
23610
{ echo "$as_me:$LINENO: result: $ac_cv_lib_notify_notify_init" >&5
 
23611
echo "${ECHO_T}$ac_cv_lib_notify_notify_init" >&6; }
 
23612
if test $ac_cv_lib_notify_notify_init = yes; then
 
23613
  HAVE_NOTIFY="yes"
 
23614
    VMWARE_USER_LDADD="$VMWARE_USER_LDADD -lnotify"
 
23615
else
 
23616
  { echo "$as_me:$LINENO: WARNING: libnotify not found; notification disabled" >&5
 
23617
echo "$as_me: WARNING: libnotify not found; notification disabled" >&2;}
 
23618
fi
 
23619
 
 
23620
 
23223
23621
 
23224
23622
for ac_func in dlopen
23225
23623
do
23748
24146
 
23749
24147
        GUESTD_LDADD="$GUESTD_LDADD $PROCPS_LIBS"
23750
24148
        VMWARE_USER_LDADD="$VMWARE_USER_LDADD $PROCPS_LIBS"
23751
 
 
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"
23759
 
        else
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"
23765
 
        fi
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
23773
 
fi
23774
 
{ echo "$as_me:$LINENO: result: $ac_cv_header_proc_sysinfo_h" >&5
23775
 
echo "${ECHO_T}$ac_cv_header_proc_sysinfo_h" >&6; }
23776
 
else
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
23781
 
/* confdefs.h.  */
23782
 
_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>
23788
 
_ACEOF
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;;
23794
 
esac
23795
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23796
 
  (eval "$ac_compile") 2>conftest.er1
23797
 
  ac_status=$?
23798
 
  grep -v '^ *+' conftest.er1 >conftest.err
23799
 
  rm -f conftest.er1
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
23807
 
else
23808
 
  echo "$as_me: failed program was:" >&5
23809
 
sed 's/^/| /' conftest.$ac_ext >&5
23810
 
 
23811
 
        ac_header_compiler=no
23812
 
fi
23813
 
 
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; }
23817
 
 
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
23822
 
/* confdefs.h.  */
23823
 
_ACEOF
23824
 
cat confdefs.h >>conftest.$ac_ext
23825
 
cat >>conftest.$ac_ext <<_ACEOF
23826
 
/* end confdefs.h.  */
23827
 
@%:@include <proc/sysinfo.h>
23828
 
_ACEOF
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;;
23833
 
esac
23834
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23835
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
23836
 
  ac_status=$?
23837
 
  grep -v '^ *+' conftest.er1 >conftest.err
23838
 
  rm -f conftest.er1
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
23844
 
       }; then
23845
 
  ac_header_preproc=yes
23846
 
else
23847
 
  echo "$as_me: failed program was:" >&5
23848
 
sed 's/^/| /' conftest.$ac_ext >&5
23849
 
 
23850
 
  ac_header_preproc=no
23851
 
fi
23852
 
 
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; }
23856
 
 
23857
 
# So?  What about this header?
23858
 
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
23859
 
  yes:no: )
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
23865
 
    ;;
23866
 
  no: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;}
23879
 
    ( cat <<\_ASBOX
23880
 
@%:@@%:@ -------------------------------------------------------- @%:@@%:@
23881
 
@%:@@%:@ Report this to open-vm-tools-devel@lists.sourceforge.net @%:@@%:@
23882
 
@%:@@%:@ -------------------------------------------------------- @%:@@%:@
23883
 
_ASBOX
23884
 
     ) | sed "s/^/$as_me: WARNING:     /" >&2
23885
 
    ;;
23886
 
esac
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
23891
 
else
23892
 
  ac_cv_header_proc_sysinfo_h=$ac_header_preproc
23893
 
fi
23894
 
{ echo "$as_me:$LINENO: result: $ac_cv_header_proc_sysinfo_h" >&5
23895
 
echo "${ECHO_T}$ac_cv_header_proc_sysinfo_h" >&6; }
23896
 
 
23897
 
fi
23898
 
if test $ac_cv_header_proc_sysinfo_h = yes; then
23899
 
  :
23900
 
else
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; }; }
23904
 
fi
23905
 
 
23906
 
 
23907
 
        CPPFLAGS="$ORIGINAL_CPPFLAGS"
23908
24149
fi
23909
24150
 
23910
24151
if test "$with_procps" != "yes"; then
24058
24299
                ICU_CPPFLAGS="`$ICU_CONFIG --cppflags` -DUSE_ICU"
24059
24300
                ICU_LIBS="`$ICU_CONFIG --ldflags`"
24060
24301
 
24061
 
                # The icu components are built with C++, so we need to use the
24062
 
                # C++ linker when linking icu into our applications and when
24063
 
                # performing configuration tests against icu.
 
24302
                # The icu components are built with C++, so we need to ensure
 
24303
                # that the C++ linker actually exists, and use it when linking
 
24304
                # icu into our applications and when performing configuration
 
24305
                # tests against icu.
24064
24306
                #
24065
24307
                # XXX: Getting automake to choose between the C linker and the
24066
24308
                # C++ linker depending on HAVE_ICU was a royal pain in the ass.
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
24087
 
                ac_ext=cpp
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
24094
 
    CXX=$CCC
24095
 
  else
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
24098
 
  do
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
24105
 
else
24106
 
  if test -n "$CXX"; then
24107
 
  ac_cv_prog_CXX="$CXX" # Let the user override the test.
24108
 
else
24109
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24110
 
for as_dir in $PATH
24111
 
do
24112
 
  IFS=$as_save_IFS
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
24118
 
    break 2
24119
 
  fi
24120
 
done
24121
 
done
24122
 
IFS=$as_save_IFS
24123
 
 
24124
 
fi
24125
 
fi
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; }
24130
 
else
24131
 
  { echo "$as_me:$LINENO: result: no" >&5
24132
 
echo "${ECHO_T}no" >&6; }
24133
 
fi
24134
 
 
24135
 
 
24136
 
    test -n "$CXX" && break
24137
 
  done
24138
 
fi
24139
 
if test -z "$CXX"; then
24140
 
  ac_ct_CXX=$CXX
24141
 
  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
24142
 
do
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
24149
 
else
24150
 
  if test -n "$ac_ct_CXX"; then
24151
 
  ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
24152
 
else
24153
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24154
 
for as_dir in $PATH
24155
 
do
24156
 
  IFS=$as_save_IFS
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
24162
 
    break 2
24163
 
  fi
24164
 
done
24165
 
done
24166
 
IFS=$as_save_IFS
24167
 
 
24168
 
fi
24169
 
fi
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; }
24174
 
else
24175
 
  { echo "$as_me:$LINENO: result: no" >&5
24176
 
echo "${ECHO_T}no" >&6; }
24177
 
fi
24178
 
 
24179
 
 
24180
 
  test -n "$ac_ct_CXX" && break
24181
 
done
24182
 
 
24183
 
  if test "x$ac_ct_CXX" = x; then
24184
 
    CXX="g++"
 
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
 
24336
else
 
24337
  if test -n "$HAVE_CXX"; then
 
24338
  ac_cv_prog_HAVE_CXX="$HAVE_CXX" # Let the user override the test.
 
24339
else
 
24340
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
24341
for as_dir in $PATH
 
24342
do
 
24343
  IFS=$as_save_IFS
 
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
 
24349
    break 2
 
24350
  fi
 
24351
done
 
24352
done
 
24353
IFS=$as_save_IFS
 
24354
 
 
24355
fi
 
24356
fi
 
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; }
 
24361
else
 
24362
  { echo "$as_me:$LINENO: result: no" >&5
 
24363
echo "${ECHO_T}no" >&6; }
 
24364
fi
 
24365
 
 
24366
 
 
24367
fi
 
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
 
24376
else
 
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.
 
24379
else
 
24380
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
24381
for as_dir in $PATH
 
24382
do
 
24383
  IFS=$as_save_IFS
 
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
 
24389
    break 2
 
24390
  fi
 
24391
done
 
24392
done
 
24393
IFS=$as_save_IFS
 
24394
 
 
24395
fi
 
24396
fi
 
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; }
 
24401
else
 
24402
  { echo "$as_me:$LINENO: result: no" >&5
 
24403
echo "${ECHO_T}no" >&6; }
 
24404
fi
 
24405
 
 
24406
  if test "x$ac_ct_HAVE_CXX" = x; then
 
24407
    HAVE_CXX=""
24185
24408
  else
24186
24409
    case $cross_compiling:$ac_tool_warned in
24187
24410
yes:)
24193
24416
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
24194
24417
ac_tool_warned=yes ;;
24195
24418
esac
24196
 
    CXX=$ac_ct_CXX
24197
 
  fi
24198
 
fi
24199
 
 
24200
 
  fi
24201
 
fi
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;;
24209
 
esac
24210
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24211
 
  (eval "$ac_compiler --version >&5") 2>&5
24212
 
  ac_status=$?
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;;
24219
 
esac
24220
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24221
 
  (eval "$ac_compiler -v >&5") 2>&5
24222
 
  ac_status=$?
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;;
24229
 
esac
24230
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24231
 
  (eval "$ac_compiler -V >&5") 2>&5
24232
 
  ac_status=$?
24233
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24234
 
  (exit $ac_status); }
24235
 
 
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
24240
 
else
24241
 
  cat >conftest.$ac_ext <<_ACEOF
24242
 
/* confdefs.h.  */
24243
 
_ACEOF
24244
 
cat confdefs.h >>conftest.$ac_ext
24245
 
cat >>conftest.$ac_ext <<_ACEOF
24246
 
/* end confdefs.h.  */
24247
 
 
24248
 
int
24249
 
main ()
24250
 
{
24251
 
#ifndef __GNUC__
24252
 
       choke me
24253
 
#endif
24254
 
 
24255
 
  ;
24256
 
  return 0;
24257
 
}
24258
 
_ACEOF
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;;
24264
 
esac
24265
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24266
 
  (eval "$ac_compile") 2>conftest.er1
24267
 
  ac_status=$?
24268
 
  grep -v '^ *+' conftest.er1 >conftest.err
24269
 
  rm -f conftest.er1
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
24277
 
else
24278
 
  echo "$as_me: failed program was:" >&5
24279
 
sed 's/^/| /' conftest.$ac_ext >&5
24280
 
 
24281
 
        ac_compiler_gnu=no
24282
 
fi
24283
 
 
24284
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24285
 
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
24286
 
 
24287
 
fi
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
24297
 
else
24298
 
  ac_save_cxx_werror_flag=$ac_cxx_werror_flag
24299
 
   ac_cxx_werror_flag=yes
24300
 
   ac_cv_prog_cxx_g=no
24301
 
   CXXFLAGS="-g"
24302
 
   cat >conftest.$ac_ext <<_ACEOF
24303
 
/* confdefs.h.  */
24304
 
_ACEOF
24305
 
cat confdefs.h >>conftest.$ac_ext
24306
 
cat >>conftest.$ac_ext <<_ACEOF
24307
 
/* end confdefs.h.  */
24308
 
 
24309
 
int
24310
 
main ()
24311
 
{
24312
 
 
24313
 
  ;
24314
 
  return 0;
24315
 
}
24316
 
_ACEOF
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;;
24322
 
esac
24323
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24324
 
  (eval "$ac_compile") 2>conftest.er1
24325
 
  ac_status=$?
24326
 
  grep -v '^ *+' conftest.er1 >conftest.err
24327
 
  rm -f conftest.er1
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
24335
 
else
24336
 
  echo "$as_me: failed program was:" >&5
24337
 
sed 's/^/| /' conftest.$ac_ext >&5
24338
 
 
24339
 
        CXXFLAGS=""
24340
 
      cat >conftest.$ac_ext <<_ACEOF
24341
 
/* confdefs.h.  */
24342
 
_ACEOF
24343
 
cat confdefs.h >>conftest.$ac_ext
24344
 
cat >>conftest.$ac_ext <<_ACEOF
24345
 
/* end confdefs.h.  */
24346
 
 
24347
 
int
24348
 
main ()
24349
 
{
24350
 
 
24351
 
  ;
24352
 
  return 0;
24353
 
}
24354
 
_ACEOF
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;;
24360
 
esac
24361
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24362
 
  (eval "$ac_compile") 2>conftest.er1
24363
 
  ac_status=$?
24364
 
  grep -v '^ *+' conftest.er1 >conftest.err
24365
 
  rm -f conftest.er1
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
24372
 
  :
24373
 
else
24374
 
  echo "$as_me: failed program was:" >&5
24375
 
sed 's/^/| /' conftest.$ac_ext >&5
24376
 
 
24377
 
        ac_cxx_werror_flag=$ac_save_cxx_werror_flag
24378
 
         CXXFLAGS="-g"
24379
 
         cat >conftest.$ac_ext <<_ACEOF
24380
 
/* confdefs.h.  */
24381
 
_ACEOF
24382
 
cat confdefs.h >>conftest.$ac_ext
24383
 
cat >>conftest.$ac_ext <<_ACEOF
24384
 
/* end confdefs.h.  */
24385
 
 
24386
 
int
24387
 
main ()
24388
 
{
24389
 
 
24390
 
  ;
24391
 
  return 0;
24392
 
}
24393
 
_ACEOF
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;;
24399
 
esac
24400
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24401
 
  (eval "$ac_compile") 2>conftest.er1
24402
 
  ac_status=$?
24403
 
  grep -v '^ *+' conftest.er1 >conftest.err
24404
 
  rm -f conftest.er1
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
24412
 
else
24413
 
  echo "$as_me: failed program was:" >&5
24414
 
sed 's/^/| /' conftest.$ac_ext >&5
24415
 
 
24416
 
        
24417
 
fi
24418
 
 
24419
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24420
 
fi
24421
 
 
24422
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24423
 
fi
24424
 
 
24425
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24426
 
   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
24427
 
fi
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
24434
 
    CXXFLAGS="-g -O2"
24435
 
  else
24436
 
    CXXFLAGS="-g"
24437
 
  fi
24438
 
else
24439
 
  if test "$GXX" = yes; then
24440
 
    CXXFLAGS="-O2"
24441
 
  else
24442
 
    CXXFLAGS=
24443
 
  fi
24444
 
fi
24445
 
ac_ext=c
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
24450
 
 
24451
 
depcc="$CXX"  am_compiler_list=
24452
 
 
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
24457
 
else
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
24463
 
  # in D'.
24464
 
  mkdir conftest.dir
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
24468
 
  cd 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
24474
 
  # directory.
24475
 
  mkdir sub
24476
 
 
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`
24480
 
  fi
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.
24485
 
    #
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.
24489
 
    : > sub/conftest.c
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
24495
 
    done
24496
 
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
24497
 
 
24498
 
    case $depmode in
24499
 
    nosideeffect)
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
24503
 
        continue
24504
 
      else
24505
 
        break
24506
 
      fi
24507
 
      ;;
24508
 
    none) break ;;
24509
 
    esac
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
24532
 
        break
24533
 
      fi
24534
 
    fi
24535
 
  done
24536
 
 
24537
 
  cd ..
24538
 
  rm -rf conftest.dir
24539
 
else
24540
 
  am_cv_CXX_dependencies_compiler_type=none
24541
 
fi
24542
 
 
24543
 
fi
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
24547
 
 
24548
 
 if 
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='#'
24553
 
else
24554
 
  am__fastdepCXX_TRUE='#'
24555
 
  am__fastdepCXX_FALSE=
24556
 
fi
24557
 
 
24558
 
 
 
24419
    HAVE_CXX=$ac_ct_HAVE_CXX
 
24420
  fi
 
24421
else
 
24422
  HAVE_CXX="$ac_cv_prog_HAVE_CXX"
 
24423
fi
 
24424
 
 
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; }; }
 
24429
                fi
24559
24430
                ac_ext=cpp
24560
24431
ac_cpp='$CXXCPP $CPPFLAGS'
24561
24432
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28138
28009
      MODULES="$MODULES vmblock vmci vmhgfs vsock"
28139
28010
      buildHgfsmounter=yes
28140
28011
   fi
 
28012
   if test "$osVersion" -ge 206000; then
 
28013
      MODULES="$MODULES vmxnet3"
 
28014
   fi
28141
28015
   if test "$osVersion" -ge 206006; then
28142
28016
      MODULES="$MODULES vmsync"
28143
28017
   fi
28259
28133
  ENABLE_UNITY_FALSE=
28260
28134
fi
28261
28135
 
 
28136
 if test "$with_root_privileges" = "yes"; then
 
28137
  WITH_ROOT_PRIVILEGES_TRUE=
 
28138
  WITH_ROOT_PRIVILEGES_FALSE='#'
 
28139
else
 
28140
  WITH_ROOT_PRIVILEGES_TRUE='#'
 
28141
  WITH_ROOT_PRIVILEGES_FALSE=
 
28142
fi
 
28143
 
28262
28144
 
28263
28145
### Feature-specific flags / actions
28264
28146
# Combine where possible
28324
28206
 
28325
28207
 
28326
28208
 
28327
 
 
28328
28209
### Lib substs
28329
28210
 
28330
28211
 
28506
28387
Usually this means the macro was only invoked conditionally." >&2;}
28507
28388
   { (exit 1); exit 1; }; }
28508
28389
fi
28509
 
if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
28510
 
  { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
28511
 
Usually this means the macro was only invoked conditionally." >&5
28512
 
echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
28513
 
Usually this means the macro was only invoked conditionally." >&2;}
28514
 
   { (exit 1); exit 1; }; }
28515
 
fi
28516
28390
if test -z "${BUILD_HGFSMOUNTER_TRUE}" && test -z "${BUILD_HGFSMOUNTER_FALSE}"; then
28517
28391
  { { echo "$as_me:$LINENO: error: conditional \"BUILD_HGFSMOUNTER\" was never defined.
28518
28392
Usually this means the macro was only invoked conditionally." >&5
28583
28457
Usually this means the macro was only invoked conditionally." >&2;}
28584
28458
   { (exit 1); exit 1; }; }
28585
28459
fi
 
28460
if test -z "${WITH_ROOT_PRIVILEGES_TRUE}" && test -z "${WITH_ROOT_PRIVILEGES_FALSE}"; then
 
28461
  { { echo "$as_me:$LINENO: error: conditional \"WITH_ROOT_PRIVILEGES\" was never defined.
 
28462
Usually this means the macro was only invoked conditionally." >&5
 
28463
echo "$as_me: error: conditional \"WITH_ROOT_PRIVILEGES\" was never defined.
 
28464
Usually this means the macro was only invoked conditionally." >&2;}
 
28465
   { (exit 1); exit 1; }; }
 
28466
fi
28586
28467
 
28587
28468
: ${CONFIG_STATUS=./config.status}
28588
28469
ac_clean_files_save=$ac_clean_files
28883
28764
# report actual input values of CONFIG_FILES etc. instead of their
28884
28765
# values after options handling.
28885
28766
ac_log="
28886
 
This file was extended by open-vm-tools $as_me 2008.08.08-109361, which was
 
28767
This file was extended by open-vm-tools $as_me 2008.10.10-123053, which was
28887
28768
generated by GNU Autoconf 2.61.  Invocation command line was
28888
28769
 
28889
28770
  CONFIG_FILES    = $CONFIG_FILES
28930
28811
_ACEOF
28931
28812
cat >>$CONFIG_STATUS <<_ACEOF
28932
28813
ac_cs_version="\\
28933
 
open-vm-tools config.status 2008.08.08-109361
 
28814
open-vm-tools config.status 2008.10.10-123053
28934
28815
configured by $0, generated by GNU Autoconf 2.61,
28935
28816
  with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
28936
28817
 
29256
29137
am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
29257
29138
am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
29258
29139
CPP!$CPP$ac_delim
 
29140
CXX!$CXX$ac_delim
 
29141
CXXFLAGS!$CXXFLAGS$ac_delim
 
29142
ac_ct_CXX!$ac_ct_CXX$ac_delim
 
29143
CXXDEPMODE!$CXXDEPMODE$ac_delim
 
29144
am__fastdepCXX_TRUE!$am__fastdepCXX_TRUE$ac_delim
 
29145
am__fastdepCXX_FALSE!$am__fastdepCXX_FALSE$ac_delim
29259
29146
SED!$SED$ac_delim
29260
29147
LN_S!$LN_S$ac_delim
29261
29148
GREP!$GREP$ac_delim
29263
29150
ECHO!$ECHO$ac_delim
29264
29151
AR!$AR$ac_delim
29265
29152
RANLIB!$RANLIB$ac_delim
29266
 
CXX!$CXX$ac_delim
29267
 
CXXFLAGS!$CXXFLAGS$ac_delim
29268
 
ac_ct_CXX!$ac_ct_CXX$ac_delim
29269
 
CXXDEPMODE!$CXXDEPMODE$ac_delim
29270
 
am__fastdepCXX_TRUE!$am__fastdepCXX_TRUE$ac_delim
29271
 
am__fastdepCXX_FALSE!$am__fastdepCXX_FALSE$ac_delim
29272
29153
_ACEOF
29273
29154
 
29274
29155
  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
29324
29205
LIBPNG_CONFIG!$LIBPNG_CONFIG$ac_delim
29325
29206
DNET_CONFIG!$DNET_CONFIG$ac_delim
29326
29207
ICU_CONFIG!$ICU_CONFIG$ac_delim
 
29208
HAVE_CXX!$HAVE_CXX$ac_delim
29327
29209
RPCGEN!$RPCGEN$ac_delim
29328
29210
BUILD_HGFSMOUNTER_TRUE!$BUILD_HGFSMOUNTER_TRUE$ac_delim
29329
29211
BUILD_HGFSMOUNTER_FALSE!$BUILD_HGFSMOUNTER_FALSE$ac_delim
29345
29227
PAMD_FALSE!$PAMD_FALSE$ac_delim
29346
29228
ENABLE_UNITY_TRUE!$ENABLE_UNITY_TRUE$ac_delim
29347
29229
ENABLE_UNITY_FALSE!$ENABLE_UNITY_FALSE$ac_delim
 
29230
WITH_ROOT_PRIVILEGES_TRUE!$WITH_ROOT_PRIVILEGES_TRUE$ac_delim
 
29231
WITH_ROOT_PRIVILEGES_FALSE!$WITH_ROOT_PRIVILEGES_FALSE$ac_delim
29348
29232
TARGET_OS!$TARGET_OS$ac_delim
29349
29233
KERNEL_RELEASE!$KERNEL_RELEASE$ac_delim
29350
29234
MODULES_OS!$MODULES_OS$ac_delim
29355
29239
GTK_LIBS!$GTK_LIBS$ac_delim
29356
29240
DNET_CPPFLAGS!$DNET_CPPFLAGS$ac_delim
29357
29241
DNET_LIBS!$DNET_LIBS$ac_delim
29358
 
PROCPS_CPPFLAGS!$PROCPS_CPPFLAGS$ac_delim
29359
29242
PROCPS_LIBS!$PROCPS_LIBS$ac_delim
29360
29243
ICU_CPPFLAGS!$ICU_CPPFLAGS$ac_delim
29361
29244
ICU_LIBS!$ICU_LIBS$ac_delim
29381
29264
LTLIBOBJS!$LTLIBOBJS$ac_delim
29382
29265
_ACEOF
29383
29266
 
29384
 
  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 69; then
 
29267
  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 71; then
29385
29268
    break
29386
29269
  elif $ac_last_try; then
29387
29270
    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5