~n-muench/ubuntu/oneiric/open-vm-tools/open-vm-tools.fix-836277

« back to all changes in this revision

Viewing changes to autom4te.cache/output.2

  • Committer: Evan Broder
  • Date: 2010-03-21 23:26:53 UTC
  • mfrom: (1.1.9 upstream)
  • Revision ID: broder@mit.edu-20100321232653-5a57r7v7ch4o6byv
Merging shared upstream rev into target branch.

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 2009.11.16.
 
3
@%:@ Generated by GNU Autoconf 2.61 for open-vm-tools 2010.02.23.
4
4
@%:@
5
5
@%:@ Report bugs to <open-vm-tools-devel@lists.sourceforge.net>.
6
6
@%:@ 
723
723
# Identity of this package.
724
724
PACKAGE_NAME='open-vm-tools'
725
725
PACKAGE_TARNAME='open-vm-tools'
726
 
PACKAGE_VERSION='2009.11.16'
727
 
PACKAGE_STRING='open-vm-tools 2009.11.16'
 
726
PACKAGE_VERSION='2010.02.23'
 
727
PACKAGE_STRING='open-vm-tools 2010.02.23'
728
728
PACKAGE_BUGREPORT='open-vm-tools-devel@lists.sourceforge.net'
729
729
 
730
730
ac_unique_file="checkvm/checkvm.c"
893
893
FUSE_LIBS
894
894
PAM_CPPFLAGS
895
895
PAM_LIBS
 
896
CUNIT_CPPFLAGS
 
897
CUNIT_LIBS
896
898
URIPARSER_CPPFLAGS
897
899
URIPARSER_LIBS
898
900
LIBPNG_CPPFLAGS
936
938
WITH_KERNEL_MODULES_FALSE
937
939
ENABLE_UNITY_TRUE
938
940
ENABLE_UNITY_FALSE
 
941
ENABLE_TESTS_TRUE
 
942
ENABLE_TESTS_FALSE
939
943
WITH_ROOT_PRIVILEGES_TRUE
940
944
WITH_ROOT_PRIVILEGES_FALSE
941
945
HAVE_DOXYGEN_TRUE
970
974
VMUSR_PLUGIN_INSTALLDIR
971
975
SYSDIR
972
976
LIB_AUTH_CPPFLAGS
973
 
LIB_FILE_CPPFLAGS
974
 
LIB_HGFS_SERVER_CPPFLAGS
975
977
LIB_IMPERSONATE_CPPFLAGS
976
 
LIB_MISC_CPPFLAGS
977
 
LIB_PROC_MGR_CPPFLAGS
978
 
LIB_STRING_CPPFLAGS
979
978
LIB_USER_CPPFLAGS
980
979
LIBVMTOOLS_LIBADD
981
980
VIX_LIBADD
1500
1499
  # Omit some internal or obsolete options to make the list less imposing.
1501
1500
  # This message is too long to be a string in the A/UX 3.1 sh.
1502
1501
  cat <<_ACEOF
1503
 
\`configure' configures open-vm-tools 2009.11.16 to adapt to many kinds of systems.
 
1502
\`configure' configures open-vm-tools 2010.02.23 to adapt to many kinds of systems.
1504
1503
 
1505
1504
Usage: $0 [OPTION]... [VAR=VALUE]...
1506
1505
 
1574
1573
 
1575
1574
if test -n "$ac_init_help"; then
1576
1575
  case $ac_init_help in
1577
 
     short | recursive ) echo "Configuration of open-vm-tools 2009.11.16:";;
 
1576
     short | recursive ) echo "Configuration of open-vm-tools 2010.02.23:";;
1578
1577
   esac
1579
1578
  cat <<\_ACEOF
1580
1579
 
1585
1584
  --disable-unity         disables Unity, enabled by default
1586
1585
  --disable-docs          disables generation of API documentation; by
1587
1586
                          default, docs are built if doxygen is available.
 
1587
  --disable-tests         disable compilation of test code.
1588
1588
  --disable-dependency-tracking  speeds up one-time build
1589
1589
  --enable-dependency-tracking   do not reject slow dependency extractors
1590
1590
  --enable-shared@<:@=PKGS@:>@  build shared libraries @<:@default=yes@:>@
1697
1697
test -n "$ac_init_help" && exit $ac_status
1698
1698
if $ac_init_version; then
1699
1699
  cat <<\_ACEOF
1700
 
open-vm-tools configure 2009.11.16
 
1700
open-vm-tools configure 2010.02.23
1701
1701
generated by GNU Autoconf 2.61
1702
1702
 
1703
1703
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1711
1711
This file contains any messages produced by compilers while
1712
1712
running configure, to aid debugging if configure makes a mistake.
1713
1713
 
1714
 
It was created by open-vm-tools $as_me 2009.11.16, which was
 
1714
It was created by open-vm-tools $as_me 2010.02.23, which was
1715
1715
generated by GNU Autoconf 2.61.  Invocation command line was
1716
1716
 
1717
1717
  $ $0 $@
2403
2403
fi
2404
2404
 
2405
2405
 
 
2406
# Check whether --enable-tests was given.
 
2407
if test "${enable_tests+set}" = set; then
 
2408
  enableval=$enable_tests; enable_tests="$enableval"
 
2409
else
 
2410
  enable_tests="auto"
 
2411
fi
 
2412
 
 
2413
 
2406
2414
# If we're not going to use Gtk 2.0, disable Unity.
2407
2415
if test "$with_gtk2" != "yes"; then
2408
2416
   enable_unity="no"
2714
2722
 
2715
2723
# Define the identity of the package.
2716
2724
 PACKAGE='open-vm-tools'
2717
 
 VERSION='2009.11.16'
 
2725
 VERSION='2010.02.23'
2718
2726
 
2719
2727
 
2720
2728
cat >>confdefs.h <<_ACEOF
18091
18099
   ac_vmw_have_lib=0
18092
18100
   ac_vmw_have_lib_func=0
18093
18101
   ac_vmw_have_lib_header=0
 
18102
   ac_vmw_custom_libs=
18094
18103
 
18095
18104
   #
18096
18105
   # First, try any user-defined CUSTOM_* flags.
18097
18106
   #
18098
18107
   if test -n "${CUSTOM_GLIB2_CPPFLAGS}" || test -n "${CUSTOM_GLIB2_LIBS}"; then
18099
 
      CUSTOM_GLIB2_LIBS="${CUSTOM_GLIB2_LIBS} -lglib-2.0"
 
18108
      ac_vmw_custom_libs="${CUSTOM_GLIB2_LIBS} -lglib-2.0"
18100
18109
      if test -n "glib.h"; then
18101
18110
         ORIGINAL_CPPFLAGS="$CPPFLAGS"
18102
18111
         CPPFLAGS="${CUSTOM_GLIB2_CPPFLAGS} $CPPFLAGS"
18258
18267
  echo $ECHO_N "(cached) $ECHO_C" >&6
18259
18268
else
18260
18269
  ac_check_lib_save_LIBS=$LIBS
18261
 
LIBS="-lglib-2.0 ${CUSTOM_GLIB2_LIBS} $LIBS"
 
18270
LIBS="-lglib-2.0 $ac_vmw_custom_libs $LIBS"
18262
18271
cat >conftest.$ac_ext <<_ACEOF
18263
18272
/* confdefs.h.  */
18264
18273
_ACEOF
18322
18331
 
18323
18332
      if test $ac_vmw_have_lib_func -eq 1 && test $ac_vmw_have_lib_header -eq 1; then
18324
18333
         GLIB2_CPPFLAGS="${CUSTOM_GLIB2_CPPFLAGS}"
18325
 
         GLIB2_LIBS="${CUSTOM_GLIB2_LIBS}"
 
18334
         GLIB2_LIBS="$ac_vmw_custom_libs"
18326
18335
         ac_vmw_have_lib=1
18327
18336
      fi
18328
18337
   fi
18456
18465
   ac_vmw_have_lib=0
18457
18466
   ac_vmw_have_lib_func=0
18458
18467
   ac_vmw_have_lib_header=0
 
18468
   ac_vmw_custom_libs=
18459
18469
 
18460
18470
   #
18461
18471
   # First, try any user-defined CUSTOM_* flags.
18462
18472
   #
18463
18473
   if test -n "${CUSTOM_GMODULE_CPPFLAGS}" || test -n "${CUSTOM_GMODULE_LIBS}"; then
18464
 
      CUSTOM_GMODULE_LIBS="${CUSTOM_GMODULE_LIBS} -lgmodule-2.0"
 
18474
      ac_vmw_custom_libs="${CUSTOM_GMODULE_LIBS} -lgmodule-2.0"
18465
18475
      if test -n ""; then
18466
18476
         ORIGINAL_CPPFLAGS="$CPPFLAGS"
18467
18477
         CPPFLAGS="${CUSTOM_GMODULE_CPPFLAGS} $CPPFLAGS"
18623
18633
  echo $ECHO_N "(cached) $ECHO_C" >&6
18624
18634
else
18625
18635
  ac_check_lib_save_LIBS=$LIBS
18626
 
LIBS="-lgmodule-2.0 ${CUSTOM_GMODULE_LIBS} $LIBS"
 
18636
LIBS="-lgmodule-2.0 $ac_vmw_custom_libs $LIBS"
18627
18637
cat >conftest.$ac_ext <<_ACEOF
18628
18638
/* confdefs.h.  */
18629
18639
_ACEOF
18687
18697
 
18688
18698
      if test $ac_vmw_have_lib_func -eq 1 && test $ac_vmw_have_lib_header -eq 1; then
18689
18699
         GMODULE_CPPFLAGS="${CUSTOM_GMODULE_CPPFLAGS}"
18690
 
         GMODULE_LIBS="${CUSTOM_GMODULE_LIBS}"
 
18700
         GMODULE_LIBS="$ac_vmw_custom_libs"
18691
18701
         ac_vmw_have_lib=1
18692
18702
      fi
18693
18703
   fi
18821
18831
   ac_vmw_have_lib=0
18822
18832
   ac_vmw_have_lib_func=0
18823
18833
   ac_vmw_have_lib_header=0
 
18834
   ac_vmw_custom_libs=
18824
18835
 
18825
18836
   #
18826
18837
   # First, try any user-defined CUSTOM_* flags.
18827
18838
   #
18828
18839
   if test -n "${CUSTOM_GOBJECT_CPPFLAGS}" || test -n "${CUSTOM_GOBJECT_LIBS}"; then
18829
 
      CUSTOM_GOBJECT_LIBS="${CUSTOM_GOBJECT_LIBS} -lgobject-2.0"
 
18840
      ac_vmw_custom_libs="${CUSTOM_GOBJECT_LIBS} -lgobject-2.0"
18830
18841
      if test -n "glib-object.h"; then
18831
18842
         ORIGINAL_CPPFLAGS="$CPPFLAGS"
18832
18843
         CPPFLAGS="${CUSTOM_GOBJECT_CPPFLAGS} $CPPFLAGS"
18988
18999
  echo $ECHO_N "(cached) $ECHO_C" >&6
18989
19000
else
18990
19001
  ac_check_lib_save_LIBS=$LIBS
18991
 
LIBS="-lgobject-2.0 ${CUSTOM_GOBJECT_LIBS} $LIBS"
 
19002
LIBS="-lgobject-2.0 $ac_vmw_custom_libs $LIBS"
18992
19003
cat >conftest.$ac_ext <<_ACEOF
18993
19004
/* confdefs.h.  */
18994
19005
_ACEOF
19052
19063
 
19053
19064
      if test $ac_vmw_have_lib_func -eq 1 && test $ac_vmw_have_lib_header -eq 1; then
19054
19065
         GOBJECT_CPPFLAGS="${CUSTOM_GOBJECT_CPPFLAGS}"
19055
 
         GOBJECT_LIBS="${CUSTOM_GOBJECT_LIBS}"
 
19066
         GOBJECT_LIBS="$ac_vmw_custom_libs"
19056
19067
         ac_vmw_have_lib=1
19057
19068
      fi
19058
19069
   fi
19186
19197
   ac_vmw_have_lib=0
19187
19198
   ac_vmw_have_lib_func=0
19188
19199
   ac_vmw_have_lib_header=0
 
19200
   ac_vmw_custom_libs=
19189
19201
 
19190
19202
   #
19191
19203
   # First, try any user-defined CUSTOM_* flags.
19192
19204
   #
19193
19205
   if test -n "${CUSTOM_GTHREAD_CPPFLAGS}" || test -n "${CUSTOM_GTHREAD_LIBS}"; then
19194
 
      CUSTOM_GTHREAD_LIBS="${CUSTOM_GTHREAD_LIBS} -lgthread-2.0"
 
19206
      ac_vmw_custom_libs="${CUSTOM_GTHREAD_LIBS} -lgthread-2.0"
19195
19207
      if test -n ""; then
19196
19208
         ORIGINAL_CPPFLAGS="$CPPFLAGS"
19197
19209
         CPPFLAGS="${CUSTOM_GTHREAD_CPPFLAGS} $CPPFLAGS"
19353
19365
  echo $ECHO_N "(cached) $ECHO_C" >&6
19354
19366
else
19355
19367
  ac_check_lib_save_LIBS=$LIBS
19356
 
LIBS="-lgthread-2.0 ${CUSTOM_GTHREAD_LIBS} $LIBS"
 
19368
LIBS="-lgthread-2.0 $ac_vmw_custom_libs $LIBS"
19357
19369
cat >conftest.$ac_ext <<_ACEOF
19358
19370
/* confdefs.h.  */
19359
19371
_ACEOF
19417
19429
 
19418
19430
      if test $ac_vmw_have_lib_func -eq 1 && test $ac_vmw_have_lib_header -eq 1; then
19419
19431
         GTHREAD_CPPFLAGS="${CUSTOM_GTHREAD_CPPFLAGS}"
19420
 
         GTHREAD_LIBS="${CUSTOM_GTHREAD_LIBS}"
 
19432
         GTHREAD_LIBS="$ac_vmw_custom_libs"
19421
19433
         ac_vmw_have_lib=1
19422
19434
      fi
19423
19435
   fi
19600
19612
   ac_vmw_have_lib=0
19601
19613
   ac_vmw_have_lib_func=0
19602
19614
   ac_vmw_have_lib_header=0
 
19615
   ac_vmw_custom_libs=
19603
19616
 
19604
19617
   #
19605
19618
   # First, try any user-defined CUSTOM_* flags.
19606
19619
   #
19607
19620
   if test -n "${CUSTOM_GLIB2_CPPFLAGS}" || test -n "${CUSTOM_GLIB2_LIBS}"; then
19608
 
      CUSTOM_GLIB2_LIBS="${CUSTOM_GLIB2_LIBS} -lglib-2.0"
 
19621
      ac_vmw_custom_libs="${CUSTOM_GLIB2_LIBS} -lglib-2.0"
19609
19622
      if test -n "glib.h"; then
19610
19623
         ORIGINAL_CPPFLAGS="$CPPFLAGS"
19611
19624
         CPPFLAGS="${CUSTOM_GLIB2_CPPFLAGS} $CPPFLAGS"
19767
19780
  echo $ECHO_N "(cached) $ECHO_C" >&6
19768
19781
else
19769
19782
  ac_check_lib_save_LIBS=$LIBS
19770
 
LIBS="-lglib-2.0 ${CUSTOM_GLIB2_LIBS} $LIBS"
 
19783
LIBS="-lglib-2.0 $ac_vmw_custom_libs $LIBS"
19771
19784
cat >conftest.$ac_ext <<_ACEOF
19772
19785
/* confdefs.h.  */
19773
19786
_ACEOF
19831
19844
 
19832
19845
      if test $ac_vmw_have_lib_func -eq 1 && test $ac_vmw_have_lib_header -eq 1; then
19833
19846
         GLIB2_CPPFLAGS="${CUSTOM_GLIB2_CPPFLAGS}"
19834
 
         GLIB2_LIBS="${CUSTOM_GLIB2_LIBS}"
 
19847
         GLIB2_LIBS="$ac_vmw_custom_libs"
19835
19848
         ac_vmw_have_lib=1
19836
19849
      fi
19837
19850
   fi
19969
19982
   ac_vmw_have_lib=0
19970
19983
   ac_vmw_have_lib_func=0
19971
19984
   ac_vmw_have_lib_header=0
 
19985
   ac_vmw_custom_libs=
19972
19986
 
19973
19987
   #
19974
19988
   # First, try any user-defined CUSTOM_* flags.
19975
19989
   #
19976
19990
   if test -n "${CUSTOM_FUSE_CPPFLAGS}" || test -n "${CUSTOM_FUSE_LIBS}"; then
19977
 
      CUSTOM_FUSE_LIBS="${CUSTOM_FUSE_LIBS} -lfuse"
 
19991
      ac_vmw_custom_libs="${CUSTOM_FUSE_LIBS} -lfuse"
19978
19992
      if test -n "fuse.h"; then
19979
19993
         ORIGINAL_CPPFLAGS="$CPPFLAGS"
19980
19994
         CPPFLAGS="${CUSTOM_FUSE_CPPFLAGS} $CPPFLAGS"
20136
20150
  echo $ECHO_N "(cached) $ECHO_C" >&6
20137
20151
else
20138
20152
  ac_check_lib_save_LIBS=$LIBS
20139
 
LIBS="-lfuse ${CUSTOM_FUSE_LIBS} $LIBS"
 
20153
LIBS="-lfuse $ac_vmw_custom_libs $LIBS"
20140
20154
cat >conftest.$ac_ext <<_ACEOF
20141
20155
/* confdefs.h.  */
20142
20156
_ACEOF
20200
20214
 
20201
20215
      if test $ac_vmw_have_lib_func -eq 1 && test $ac_vmw_have_lib_header -eq 1; then
20202
20216
         FUSE_CPPFLAGS="${CUSTOM_FUSE_CPPFLAGS}"
20203
 
         FUSE_LIBS="${CUSTOM_FUSE_LIBS}"
 
20217
         FUSE_LIBS="$ac_vmw_custom_libs"
20204
20218
         ac_vmw_have_lib=1
20205
20219
      fi
20206
20220
   fi
20333
20347
 
20334
20348
 
20335
20349
   if test "$with_pam" = "yes"; then
20336
 
      if test -z "$CUSTOM_PAM_CPPFLAGS"; then
20337
 
         # Assume PAM headers are in /usr/include by default.
 
20350
      
 
20351
   if test -z "$CUSTOM_PAM_CPPFLAGS"; then
 
20352
      if test "$os" = freebsd; then
 
20353
         CUSTOM_PAM_CPPFLAGS="-I/usr/local/include"
 
20354
      else
20338
20355
         CUSTOM_PAM_CPPFLAGS="-I/usr/include"
20339
20356
      fi
 
20357
      if test -n ""; then
 
20358
         CUSTOM_PAM_CPPFLAGS="${CUSTOM_PAM_CPPFLAGS}/"
 
20359
      fi
 
20360
   fi
 
20361
 
20340
20362
      
20341
20363
        
20342
20364
   if test -z "pam"; then
20353
20375
   ac_vmw_have_lib=0
20354
20376
   ac_vmw_have_lib_func=0
20355
20377
   ac_vmw_have_lib_header=0
 
20378
   ac_vmw_custom_libs=
20356
20379
 
20357
20380
   #
20358
20381
   # First, try any user-defined CUSTOM_* flags.
20359
20382
   #
20360
20383
   if test -n "${CUSTOM_PAM_CPPFLAGS}" || test -n "${CUSTOM_PAM_LIBS}"; then
20361
 
      CUSTOM_PAM_LIBS="${CUSTOM_PAM_LIBS} -lpam"
 
20384
      ac_vmw_custom_libs="${CUSTOM_PAM_LIBS} -lpam"
20362
20385
      if test -n "security/pam_appl.h"; then
20363
20386
         ORIGINAL_CPPFLAGS="$CPPFLAGS"
20364
20387
         CPPFLAGS="${CUSTOM_PAM_CPPFLAGS} $CPPFLAGS"
20520
20543
  echo $ECHO_N "(cached) $ECHO_C" >&6
20521
20544
else
20522
20545
  ac_check_lib_save_LIBS=$LIBS
20523
 
LIBS="-lpam ${CUSTOM_PAM_LIBS} $LIBS"
 
20546
LIBS="-lpam $ac_vmw_custom_libs $LIBS"
20524
20547
cat >conftest.$ac_ext <<_ACEOF
20525
20548
/* confdefs.h.  */
20526
20549
_ACEOF
20584
20607
 
20585
20608
      if test $ac_vmw_have_lib_func -eq 1 && test $ac_vmw_have_lib_header -eq 1; then
20586
20609
         PAM_CPPFLAGS="${CUSTOM_PAM_CPPFLAGS}"
20587
 
         PAM_LIBS="${CUSTOM_PAM_LIBS}"
 
20610
         PAM_LIBS="$ac_vmw_custom_libs"
20588
20611
         ac_vmw_have_lib=1
20589
20612
      fi
20590
20613
   fi
20711
20734
   fi
20712
20735
fi
20713
20736
 
 
20737
#
 
20738
# Check for CUnit and disable test code if not available.
 
20739
#
 
20740
if test "$enable_tests" = "auto" -o "$enable_tests" = "yes"; then
 
20741
   
 
20742
   if test -z "$CUSTOM_CUNIT_CPPFLAGS"; then
 
20743
      if test "$os" = freebsd; then
 
20744
         CUSTOM_CUNIT_CPPFLAGS="-I/usr/local/include"
 
20745
      else
 
20746
         CUSTOM_CUNIT_CPPFLAGS="-I/usr/include"
 
20747
      fi
 
20748
      if test -n ""; then
 
20749
         CUSTOM_CUNIT_CPPFLAGS="${CUSTOM_CUNIT_CPPFLAGS}/"
 
20750
      fi
 
20751
   fi
 
20752
 
 
20753
   
 
20754
        
 
20755
   if test -z "cunit"; then
 
20756
      { { echo "$as_me:$LINENO: error: 'library' parameter is required.'" >&5
 
20757
echo "$as_me: error: 'library' parameter is required.'" >&2;}
 
20758
   { (exit 1); exit 1; }; }
 
20759
   fi
 
20760
   if test -z "CUNIT"; then
 
20761
      { { echo "$as_me:$LINENO: error: 'lvar' parameter is required.'" >&5
 
20762
echo "$as_me: error: 'lvar' parameter is required.'" >&2;}
 
20763
   { (exit 1); exit 1; }; }
 
20764
   fi
 
20765
 
 
20766
   ac_vmw_have_lib=0
 
20767
   ac_vmw_have_lib_func=0
 
20768
   ac_vmw_have_lib_header=0
 
20769
   ac_vmw_custom_libs=
 
20770
 
 
20771
   #
 
20772
   # First, try any user-defined CUSTOM_* flags.
 
20773
   #
 
20774
   if test -n "${CUSTOM_CUNIT_CPPFLAGS}" || test -n "${CUSTOM_CUNIT_LIBS}"; then
 
20775
      ac_vmw_custom_libs="${CUSTOM_CUNIT_LIBS} -lcunit"
 
20776
      if test -n "CUnit/CUnit.h"; then
 
20777
         ORIGINAL_CPPFLAGS="$CPPFLAGS"
 
20778
         CPPFLAGS="${CUSTOM_CUNIT_CPPFLAGS} $CPPFLAGS"
 
20779
 
 
20780
         if test "${ac_cv_header_CUnit_CUnit_h+set}" = set; then
 
20781
  { echo "$as_me:$LINENO: checking for CUnit/CUnit.h" >&5
 
20782
echo $ECHO_N "checking for CUnit/CUnit.h... $ECHO_C" >&6; }
 
20783
if test "${ac_cv_header_CUnit_CUnit_h+set}" = set; then
 
20784
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
20785
fi
 
20786
{ echo "$as_me:$LINENO: result: $ac_cv_header_CUnit_CUnit_h" >&5
 
20787
echo "${ECHO_T}$ac_cv_header_CUnit_CUnit_h" >&6; }
 
20788
else
 
20789
  # Is the header compilable?
 
20790
{ echo "$as_me:$LINENO: checking CUnit/CUnit.h usability" >&5
 
20791
echo $ECHO_N "checking CUnit/CUnit.h usability... $ECHO_C" >&6; }
 
20792
cat >conftest.$ac_ext <<_ACEOF
 
20793
/* confdefs.h.  */
 
20794
_ACEOF
 
20795
cat confdefs.h >>conftest.$ac_ext
 
20796
cat >>conftest.$ac_ext <<_ACEOF
 
20797
/* end confdefs.h.  */
 
20798
$ac_includes_default
 
20799
@%:@include <CUnit/CUnit.h>
 
20800
_ACEOF
 
20801
rm -f conftest.$ac_objext
 
20802
if { (ac_try="$ac_compile"
 
20803
case "(($ac_try" in
 
20804
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20805
  *) ac_try_echo=$ac_try;;
 
20806
esac
 
20807
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
20808
  (eval "$ac_compile") 2>conftest.er1
 
20809
  ac_status=$?
 
20810
  grep -v '^ *+' conftest.er1 >conftest.err
 
20811
  rm -f conftest.er1
 
20812
  cat conftest.err >&5
 
20813
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
20814
  (exit $ac_status); } && {
 
20815
         test -z "$ac_c_werror_flag" ||
 
20816
         test ! -s conftest.err
 
20817
       } && test -s conftest.$ac_objext; then
 
20818
  ac_header_compiler=yes
 
20819
else
 
20820
  echo "$as_me: failed program was:" >&5
 
20821
sed 's/^/| /' conftest.$ac_ext >&5
 
20822
 
 
20823
        ac_header_compiler=no
 
20824
fi
 
20825
 
 
20826
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
20827
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 
20828
echo "${ECHO_T}$ac_header_compiler" >&6; }
 
20829
 
 
20830
# Is the header present?
 
20831
{ echo "$as_me:$LINENO: checking CUnit/CUnit.h presence" >&5
 
20832
echo $ECHO_N "checking CUnit/CUnit.h presence... $ECHO_C" >&6; }
 
20833
cat >conftest.$ac_ext <<_ACEOF
 
20834
/* confdefs.h.  */
 
20835
_ACEOF
 
20836
cat confdefs.h >>conftest.$ac_ext
 
20837
cat >>conftest.$ac_ext <<_ACEOF
 
20838
/* end confdefs.h.  */
 
20839
@%:@include <CUnit/CUnit.h>
 
20840
_ACEOF
 
20841
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
20842
case "(($ac_try" in
 
20843
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20844
  *) ac_try_echo=$ac_try;;
 
20845
esac
 
20846
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
20847
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
 
20848
  ac_status=$?
 
20849
  grep -v '^ *+' conftest.er1 >conftest.err
 
20850
  rm -f conftest.er1
 
20851
  cat conftest.err >&5
 
20852
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
20853
  (exit $ac_status); } >/dev/null && {
 
20854
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
20855
         test ! -s conftest.err
 
20856
       }; then
 
20857
  ac_header_preproc=yes
 
20858
else
 
20859
  echo "$as_me: failed program was:" >&5
 
20860
sed 's/^/| /' conftest.$ac_ext >&5
 
20861
 
 
20862
  ac_header_preproc=no
 
20863
fi
 
20864
 
 
20865
rm -f conftest.err conftest.$ac_ext
 
20866
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 
20867
echo "${ECHO_T}$ac_header_preproc" >&6; }
 
20868
 
 
20869
# So?  What about this header?
 
20870
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
 
20871
  yes:no: )
 
20872
    { echo "$as_me:$LINENO: WARNING: CUnit/CUnit.h: accepted by the compiler, rejected by the preprocessor!" >&5
 
20873
echo "$as_me: WARNING: CUnit/CUnit.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
 
20874
    { echo "$as_me:$LINENO: WARNING: CUnit/CUnit.h: proceeding with the compiler's result" >&5
 
20875
echo "$as_me: WARNING: CUnit/CUnit.h: proceeding with the compiler's result" >&2;}
 
20876
    ac_header_preproc=yes
 
20877
    ;;
 
20878
  no:yes:* )
 
20879
    { echo "$as_me:$LINENO: WARNING: CUnit/CUnit.h: present but cannot be compiled" >&5
 
20880
echo "$as_me: WARNING: CUnit/CUnit.h: present but cannot be compiled" >&2;}
 
20881
    { echo "$as_me:$LINENO: WARNING: CUnit/CUnit.h:     check for missing prerequisite headers?" >&5
 
20882
echo "$as_me: WARNING: CUnit/CUnit.h:     check for missing prerequisite headers?" >&2;}
 
20883
    { echo "$as_me:$LINENO: WARNING: CUnit/CUnit.h: see the Autoconf documentation" >&5
 
20884
echo "$as_me: WARNING: CUnit/CUnit.h: see the Autoconf documentation" >&2;}
 
20885
    { echo "$as_me:$LINENO: WARNING: CUnit/CUnit.h:     section \"Present But Cannot Be Compiled\"" >&5
 
20886
echo "$as_me: WARNING: CUnit/CUnit.h:     section \"Present But Cannot Be Compiled\"" >&2;}
 
20887
    { echo "$as_me:$LINENO: WARNING: CUnit/CUnit.h: proceeding with the preprocessor's result" >&5
 
20888
echo "$as_me: WARNING: CUnit/CUnit.h: proceeding with the preprocessor's result" >&2;}
 
20889
    { echo "$as_me:$LINENO: WARNING: CUnit/CUnit.h: in the future, the compiler will take precedence" >&5
 
20890
echo "$as_me: WARNING: CUnit/CUnit.h: in the future, the compiler will take precedence" >&2;}
 
20891
    ( cat <<\_ASBOX
 
20892
@%:@@%:@ -------------------------------------------------------- @%:@@%:@
 
20893
@%:@@%:@ Report this to open-vm-tools-devel@lists.sourceforge.net @%:@@%:@
 
20894
@%:@@%:@ -------------------------------------------------------- @%:@@%:@
 
20895
_ASBOX
 
20896
     ) | sed "s/^/$as_me: WARNING:     /" >&2
 
20897
    ;;
 
20898
esac
 
20899
{ echo "$as_me:$LINENO: checking for CUnit/CUnit.h" >&5
 
20900
echo $ECHO_N "checking for CUnit/CUnit.h... $ECHO_C" >&6; }
 
20901
if test "${ac_cv_header_CUnit_CUnit_h+set}" = set; then
 
20902
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
20903
else
 
20904
  ac_cv_header_CUnit_CUnit_h=$ac_header_preproc
 
20905
fi
 
20906
{ echo "$as_me:$LINENO: result: $ac_cv_header_CUnit_CUnit_h" >&5
 
20907
echo "${ECHO_T}$ac_cv_header_CUnit_CUnit_h" >&6; }
 
20908
 
 
20909
fi
 
20910
if test $ac_cv_header_CUnit_CUnit_h = yes; then
 
20911
  ac_vmw_have_lib_header=1
 
20912
fi
 
20913
 
 
20914
 
 
20915
 
 
20916
         CPPFLAGS="$ORIGINAL_CPPFLAGS"
 
20917
      else
 
20918
         ac_vmw_have_lib_header=1
 
20919
      fi
 
20920
 
 
20921
      # Check a specific function in the library if requested.
 
20922
      # If it hasn't, just pick a random function from libc, just to make
 
20923
      # sure the linker can find the library being tested.
 
20924
      if test $ac_vmw_have_lib_header -eq 1; then
 
20925
         if test -n "CU_initialize_registry"; then
 
20926
            ac_vmw_function=CU_initialize_registry
 
20927
         else
 
20928
            ac_vmw_function=strlen
 
20929
         fi
 
20930
         as_ac_Lib=`echo "ac_cv_lib_cunit_$ac_vmw_function" | $as_tr_sh`
 
20931
{ echo "$as_me:$LINENO: checking for $ac_vmw_function in -lcunit" >&5
 
20932
echo $ECHO_N "checking for $ac_vmw_function in -lcunit... $ECHO_C" >&6; }
 
20933
if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
 
20934
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
20935
else
 
20936
  ac_check_lib_save_LIBS=$LIBS
 
20937
LIBS="-lcunit $ac_vmw_custom_libs $LIBS"
 
20938
cat >conftest.$ac_ext <<_ACEOF
 
20939
/* confdefs.h.  */
 
20940
_ACEOF
 
20941
cat confdefs.h >>conftest.$ac_ext
 
20942
cat >>conftest.$ac_ext <<_ACEOF
 
20943
/* end confdefs.h.  */
 
20944
 
 
20945
/* Override any GCC internal prototype to avoid an error.
 
20946
   Use char because int might match the return type of a GCC
 
20947
   builtin and then its argument prototype would still apply.  */
 
20948
#ifdef __cplusplus
 
20949
extern "C"
 
20950
#endif
 
20951
char $ac_vmw_function ();
 
20952
int
 
20953
main ()
 
20954
{
 
20955
return $ac_vmw_function ();
 
20956
  ;
 
20957
  return 0;
 
20958
}
 
20959
_ACEOF
 
20960
rm -f conftest.$ac_objext conftest$ac_exeext
 
20961
if { (ac_try="$ac_link"
 
20962
case "(($ac_try" in
 
20963
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20964
  *) ac_try_echo=$ac_try;;
 
20965
esac
 
20966
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
20967
  (eval "$ac_link") 2>conftest.er1
 
20968
  ac_status=$?
 
20969
  grep -v '^ *+' conftest.er1 >conftest.err
 
20970
  rm -f conftest.er1
 
20971
  cat conftest.err >&5
 
20972
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
20973
  (exit $ac_status); } && {
 
20974
         test -z "$ac_c_werror_flag" ||
 
20975
         test ! -s conftest.err
 
20976
       } && test -s conftest$ac_exeext &&
 
20977
       $as_test_x conftest$ac_exeext; then
 
20978
  eval "$as_ac_Lib=yes"
 
20979
else
 
20980
  echo "$as_me: failed program was:" >&5
 
20981
sed 's/^/| /' conftest.$ac_ext >&5
 
20982
 
 
20983
        eval "$as_ac_Lib=no"
 
20984
fi
 
20985
 
 
20986
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
20987
      conftest$ac_exeext conftest.$ac_ext
 
20988
LIBS=$ac_check_lib_save_LIBS
 
20989
fi
 
20990
ac_res=`eval echo '${'$as_ac_Lib'}'`
 
20991
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
20992
echo "${ECHO_T}$ac_res" >&6; }
 
20993
if test `eval echo '${'$as_ac_Lib'}'` = yes; then
 
20994
  ac_vmw_have_lib_func=1
 
20995
fi
 
20996
 
 
20997
      fi
 
20998
 
 
20999
      if test $ac_vmw_have_lib_func -eq 1 && test $ac_vmw_have_lib_header -eq 1; then
 
21000
         CUNIT_CPPFLAGS="${CUSTOM_CUNIT_CPPFLAGS}"
 
21001
         CUNIT_LIBS="$ac_vmw_custom_libs"
 
21002
         ac_vmw_have_lib=1
 
21003
      fi
 
21004
   fi
 
21005
 
 
21006
   # If that didn't work, try with pkg-config.
 
21007
   if test $ac_vmw_have_lib -eq 0 && test "$HAVE_PKG_CONFIG" = "yes" && test -n ""; then
 
21008
      if test -n ""; then
 
21009
         { echo "$as_me:$LINENO: checking for  >=  (via pkg-config)" >&5
 
21010
echo $ECHO_N "checking for  >=  (via pkg-config)... $ECHO_C" >&6; }
 
21011
         if pkg-config --exists ' >= '; then
 
21012
            ac_vmw_have_lib=1
 
21013
         fi
 
21014
      else
 
21015
         { echo "$as_me:$LINENO: checking for  (via pkg-config)" >&5
 
21016
echo $ECHO_N "checking for  (via pkg-config)... $ECHO_C" >&6; }
 
21017
         if pkg-config --exists ''; then
 
21018
            ac_vmw_have_lib=1
 
21019
         fi
 
21020
      fi
 
21021
 
 
21022
      if test $ac_vmw_have_lib -eq 1; then
 
21023
         # Sometimes pkg-config might fail; for example, "pkg-config gtk+-2.0 --cflags"
 
21024
         # fails on OpenSolaris B71. So be pessimistic.
 
21025
         ac_vmw_cppflags="`pkg-config --cflags `"
 
21026
         ac_vmw_ret1=$?
 
21027
         ac_vmw_libs="`pkg-config --libs `"
 
21028
         ac_vmw_ret2=$?
 
21029
         if test $ac_vmw_ret1 -eq 0 && test $ac_vmw_ret2 -eq 0; then
 
21030
            { echo "$as_me:$LINENO: result: yes" >&5
 
21031
echo "${ECHO_T}yes" >&6; }
 
21032
            CUNIT_CPPFLAGS="$ac_vmw_cppflags"
 
21033
            CUNIT_LIBS="$ac_vmw_libs"
 
21034
         else
 
21035
            { echo "$as_me:$LINENO: result: no" >&5
 
21036
echo "${ECHO_T}no" >&6; }
 
21037
         fi
 
21038
      else
 
21039
         { echo "$as_me:$LINENO: result: no" >&5
 
21040
echo "${ECHO_T}no" >&6; }
 
21041
      fi
 
21042
   fi
 
21043
 
 
21044
   # If we still haven't found the lib, try with the library's custom "config" script.
 
21045
   # Before checking, flush the AC_PATH_PROG cached variable.
 
21046
   unset ac_cv_path_ac_vmw_lib_cfg
 
21047
   unset ac_vmw_lib_cfg
 
21048
   if test $ac_vmw_have_lib -eq 0 && test -n ""; then
 
21049
      # Extract the first word of "", so it can be a program name with args.
 
21050
set dummy ; ac_word=$2
 
21051
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
21052
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
21053
if test "${ac_cv_path_ac_vmw_lib_cfg+set}" = set; then
 
21054
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
21055
else
 
21056
  case $ac_vmw_lib_cfg in
 
21057
  [\\/]* | ?:[\\/]*)
 
21058
  ac_cv_path_ac_vmw_lib_cfg="$ac_vmw_lib_cfg" # Let the user override the test with a path.
 
21059
  ;;
 
21060
  *)
 
21061
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
21062
for as_dir in $PATH
 
21063
do
 
21064
  IFS=$as_save_IFS
 
21065
  test -z "$as_dir" && as_dir=.
 
21066
  for ac_exec_ext in '' $ac_executable_extensions; do
 
21067
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
21068
    ac_cv_path_ac_vmw_lib_cfg="$as_dir/$ac_word$ac_exec_ext"
 
21069
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
21070
    break 2
 
21071
  fi
 
21072
done
 
21073
done
 
21074
IFS=$as_save_IFS
 
21075
 
 
21076
  test -z "$ac_cv_path_ac_vmw_lib_cfg" && ac_cv_path_ac_vmw_lib_cfg="no"
 
21077
  ;;
 
21078
esac
 
21079
fi
 
21080
ac_vmw_lib_cfg=$ac_cv_path_ac_vmw_lib_cfg
 
21081
if test -n "$ac_vmw_lib_cfg"; then
 
21082
  { echo "$as_me:$LINENO: result: $ac_vmw_lib_cfg" >&5
 
21083
echo "${ECHO_T}$ac_vmw_lib_cfg" >&6; }
 
21084
else
 
21085
  { echo "$as_me:$LINENO: result: no" >&5
 
21086
echo "${ECHO_T}no" >&6; }
 
21087
fi
 
21088
 
 
21089
 
 
21090
      if test "$ac_vmw_lib_cfg" != "no"; then
 
21091
         # XXX: icu-config does not follow the "--cflags" and "--libs" convention,
 
21092
         # so single it out here to avoid having to replicate all the rest of the
 
21093
         # logic elsewhere.
 
21094
         if test `basename "$ac_vmw_lib_cfg"` = "icu-config"; then
 
21095
            CUNIT_CPPFLAGS="`$ac_vmw_lib_cfg --cppflags`"
 
21096
            CUNIT_LIBS="`$ac_vmw_lib_cfg --ldflags`"
 
21097
         else
 
21098
            CUNIT_CPPFLAGS="`$ac_vmw_lib_cfg --cflags`"
 
21099
            CUNIT_LIBS="`$ac_vmw_lib_cfg --libs`"
 
21100
         fi
 
21101
         ac_vmw_have_lib=1
 
21102
      fi
 
21103
   fi
 
21104
 
 
21105
   # Finish by executing the user provided action. The call to "true" is needed
 
21106
   # because the actions are optional, and we need something inside the block.
 
21107
   if test $ac_vmw_have_lib -eq 1; then
 
21108
      
 
21109
      
 
21110
      true
 
21111
      have_cunit=yes
 
21112
   else
 
21113
      true
 
21114
      have_cunit=no
 
21115
   fi
 
21116
 
 
21117
   if test "$have_cunit" = "no"; then
 
21118
      if test "$enable_tests" = "yes"; then
 
21119
         
 
21120
   feature=""
 
21121
   if test -z "$feature"; then
 
21122
      feature="CUNIT"
 
21123
   fi
 
21124
   { { echo "$as_me:$LINENO: error: Cannot find CUNIT library. Please configure without $feature (using --without-cunit), or install the CUNIT libraries and devel package(s)." >&5
 
21125
echo "$as_me: error: Cannot find CUNIT library. Please configure without $feature (using --without-cunit), or install the CUNIT libraries and devel package(s)." >&2;}
 
21126
   { (exit 1); exit 1; }; }
 
21127
 
 
21128
      else
 
21129
         { echo "$as_me:$LINENO: WARNING: CUnit not found, tests won't be compiled." >&5
 
21130
echo "$as_me: WARNING: CUnit not found, tests won't be compiled." >&2;}
 
21131
      fi
 
21132
   fi
 
21133
fi
20714
21134
 
20715
21135
# If the user explicitly disables X11, then don't try to detect the X-related libraries
20716
21136
if test "$have_x" = "disabled"; then
21141
21561
   # libraries.
21142
21562
   if test "$enable_unity" != "no"; then
21143
21563
 
21144
 
           # Unity needs the X11 Screen Saver extension library. It should be
 
21564
      # Unity needs the X11 Screen Saver extension library. It should be
21145
21565
           # in the same place as the X11 libraries, so no need for any fancy
21146
21566
           # path checking.
21147
 
           { echo "$as_me:$LINENO: checking for XScreenSaverQueryExtension in -lXss" >&5
 
21567
           
 
21568
   have_header=1
 
21569
   if test -n "X11/extensions/scrnsaver.h"; then
 
21570
      if test "${ac_cv_header_X11_extensions_scrnsaver_h+set}" = set; then
 
21571
  { echo "$as_me:$LINENO: checking for X11/extensions/scrnsaver.h" >&5
 
21572
echo $ECHO_N "checking for X11/extensions/scrnsaver.h... $ECHO_C" >&6; }
 
21573
if test "${ac_cv_header_X11_extensions_scrnsaver_h+set}" = set; then
 
21574
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
21575
fi
 
21576
{ echo "$as_me:$LINENO: result: $ac_cv_header_X11_extensions_scrnsaver_h" >&5
 
21577
echo "${ECHO_T}$ac_cv_header_X11_extensions_scrnsaver_h" >&6; }
 
21578
else
 
21579
  # Is the header compilable?
 
21580
{ echo "$as_me:$LINENO: checking X11/extensions/scrnsaver.h usability" >&5
 
21581
echo $ECHO_N "checking X11/extensions/scrnsaver.h usability... $ECHO_C" >&6; }
 
21582
cat >conftest.$ac_ext <<_ACEOF
 
21583
/* confdefs.h.  */
 
21584
_ACEOF
 
21585
cat confdefs.h >>conftest.$ac_ext
 
21586
cat >>conftest.$ac_ext <<_ACEOF
 
21587
/* end confdefs.h.  */
 
21588
$ac_includes_default
 
21589
@%:@include <X11/extensions/scrnsaver.h>
 
21590
_ACEOF
 
21591
rm -f conftest.$ac_objext
 
21592
if { (ac_try="$ac_compile"
 
21593
case "(($ac_try" in
 
21594
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
21595
  *) ac_try_echo=$ac_try;;
 
21596
esac
 
21597
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
21598
  (eval "$ac_compile") 2>conftest.er1
 
21599
  ac_status=$?
 
21600
  grep -v '^ *+' conftest.er1 >conftest.err
 
21601
  rm -f conftest.er1
 
21602
  cat conftest.err >&5
 
21603
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
21604
  (exit $ac_status); } && {
 
21605
         test -z "$ac_c_werror_flag" ||
 
21606
         test ! -s conftest.err
 
21607
       } && test -s conftest.$ac_objext; then
 
21608
  ac_header_compiler=yes
 
21609
else
 
21610
  echo "$as_me: failed program was:" >&5
 
21611
sed 's/^/| /' conftest.$ac_ext >&5
 
21612
 
 
21613
        ac_header_compiler=no
 
21614
fi
 
21615
 
 
21616
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
21617
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 
21618
echo "${ECHO_T}$ac_header_compiler" >&6; }
 
21619
 
 
21620
# Is the header present?
 
21621
{ echo "$as_me:$LINENO: checking X11/extensions/scrnsaver.h presence" >&5
 
21622
echo $ECHO_N "checking X11/extensions/scrnsaver.h presence... $ECHO_C" >&6; }
 
21623
cat >conftest.$ac_ext <<_ACEOF
 
21624
/* confdefs.h.  */
 
21625
_ACEOF
 
21626
cat confdefs.h >>conftest.$ac_ext
 
21627
cat >>conftest.$ac_ext <<_ACEOF
 
21628
/* end confdefs.h.  */
 
21629
@%:@include <X11/extensions/scrnsaver.h>
 
21630
_ACEOF
 
21631
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
21632
case "(($ac_try" in
 
21633
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
21634
  *) ac_try_echo=$ac_try;;
 
21635
esac
 
21636
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
21637
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
 
21638
  ac_status=$?
 
21639
  grep -v '^ *+' conftest.er1 >conftest.err
 
21640
  rm -f conftest.er1
 
21641
  cat conftest.err >&5
 
21642
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
21643
  (exit $ac_status); } >/dev/null && {
 
21644
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
21645
         test ! -s conftest.err
 
21646
       }; then
 
21647
  ac_header_preproc=yes
 
21648
else
 
21649
  echo "$as_me: failed program was:" >&5
 
21650
sed 's/^/| /' conftest.$ac_ext >&5
 
21651
 
 
21652
  ac_header_preproc=no
 
21653
fi
 
21654
 
 
21655
rm -f conftest.err conftest.$ac_ext
 
21656
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 
21657
echo "${ECHO_T}$ac_header_preproc" >&6; }
 
21658
 
 
21659
# So?  What about this header?
 
21660
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
 
21661
  yes:no: )
 
21662
    { echo "$as_me:$LINENO: WARNING: X11/extensions/scrnsaver.h: accepted by the compiler, rejected by the preprocessor!" >&5
 
21663
echo "$as_me: WARNING: X11/extensions/scrnsaver.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
 
21664
    { echo "$as_me:$LINENO: WARNING: X11/extensions/scrnsaver.h: proceeding with the compiler's result" >&5
 
21665
echo "$as_me: WARNING: X11/extensions/scrnsaver.h: proceeding with the compiler's result" >&2;}
 
21666
    ac_header_preproc=yes
 
21667
    ;;
 
21668
  no:yes:* )
 
21669
    { echo "$as_me:$LINENO: WARNING: X11/extensions/scrnsaver.h: present but cannot be compiled" >&5
 
21670
echo "$as_me: WARNING: X11/extensions/scrnsaver.h: present but cannot be compiled" >&2;}
 
21671
    { echo "$as_me:$LINENO: WARNING: X11/extensions/scrnsaver.h:     check for missing prerequisite headers?" >&5
 
21672
echo "$as_me: WARNING: X11/extensions/scrnsaver.h:     check for missing prerequisite headers?" >&2;}
 
21673
    { echo "$as_me:$LINENO: WARNING: X11/extensions/scrnsaver.h: see the Autoconf documentation" >&5
 
21674
echo "$as_me: WARNING: X11/extensions/scrnsaver.h: see the Autoconf documentation" >&2;}
 
21675
    { echo "$as_me:$LINENO: WARNING: X11/extensions/scrnsaver.h:     section \"Present But Cannot Be Compiled\"" >&5
 
21676
echo "$as_me: WARNING: X11/extensions/scrnsaver.h:     section \"Present But Cannot Be Compiled\"" >&2;}
 
21677
    { echo "$as_me:$LINENO: WARNING: X11/extensions/scrnsaver.h: proceeding with the preprocessor's result" >&5
 
21678
echo "$as_me: WARNING: X11/extensions/scrnsaver.h: proceeding with the preprocessor's result" >&2;}
 
21679
    { echo "$as_me:$LINENO: WARNING: X11/extensions/scrnsaver.h: in the future, the compiler will take precedence" >&5
 
21680
echo "$as_me: WARNING: X11/extensions/scrnsaver.h: in the future, the compiler will take precedence" >&2;}
 
21681
    ( cat <<\_ASBOX
 
21682
@%:@@%:@ -------------------------------------------------------- @%:@@%:@
 
21683
@%:@@%:@ Report this to open-vm-tools-devel@lists.sourceforge.net @%:@@%:@
 
21684
@%:@@%:@ -------------------------------------------------------- @%:@@%:@
 
21685
_ASBOX
 
21686
     ) | sed "s/^/$as_me: WARNING:     /" >&2
 
21687
    ;;
 
21688
esac
 
21689
{ echo "$as_me:$LINENO: checking for X11/extensions/scrnsaver.h" >&5
 
21690
echo $ECHO_N "checking for X11/extensions/scrnsaver.h... $ECHO_C" >&6; }
 
21691
if test "${ac_cv_header_X11_extensions_scrnsaver_h+set}" = set; then
 
21692
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
21693
else
 
21694
  ac_cv_header_X11_extensions_scrnsaver_h=$ac_header_preproc
 
21695
fi
 
21696
{ echo "$as_me:$LINENO: result: $ac_cv_header_X11_extensions_scrnsaver_h" >&5
 
21697
echo "${ECHO_T}$ac_cv_header_X11_extensions_scrnsaver_h" >&6; }
 
21698
 
 
21699
fi
 
21700
if test $ac_cv_header_X11_extensions_scrnsaver_h = yes; then
 
21701
  :
 
21702
else
 
21703
  
 
21704
          have_header=0;
 
21705
          { { echo "$as_me:$LINENO: error: libXss or headers not found. Please configure without Unity (using --disable-unity) or install the libXss devel package." >&5
 
21706
echo "$as_me: error: libXss or headers not found. Please configure without Unity (using --disable-unity) or install the libXss devel package." >&2;}
 
21707
   { (exit 1); exit 1; }; }
 
21708
         
 
21709
fi
 
21710
 
 
21711
 
 
21712
   fi
 
21713
 
 
21714
   if test $have_header = 1; then
 
21715
      { echo "$as_me:$LINENO: checking for XScreenSaverQueryExtension in -lXss" >&5
21148
21716
echo $ECHO_N "checking for XScreenSaverQueryExtension in -lXss... $ECHO_C" >&6; }
21149
21717
if test "${ac_cv_lib_Xss_XScreenSaverQueryExtension+set}" = set; then
21150
21718
  echo $ECHO_N "(cached) $ECHO_C" >&6
21208
21776
if test $ac_cv_lib_Xss_XScreenSaverQueryExtension = yes; then
21209
21777
  COMMON_XLIBS="-lXss $COMMON_XLIBS"
21210
21778
else
21211
 
  { { echo "$as_me:$LINENO: error: libXss not found. Please configure without Unity (using --disable-unity) or install the libXss devel package." >&5
21212
 
echo "$as_me: error: libXss not found. Please configure without Unity (using --disable-unity) or install the libXss devel package." >&2;}
 
21779
  { { echo "$as_me:$LINENO: error: libXss or headers not found. Please configure without Unity (using --disable-unity) or install the libXss devel package." >&5
 
21780
echo "$as_me: error: libXss or headers not found. Please configure without Unity (using --disable-unity) or install the libXss devel package." >&2;}
21213
21781
   { (exit 1); exit 1; }; }
21214
21782
fi
21215
21783
 
 
21784
   fi
 
21785
 
21216
21786
 
21217
21787
           # Check for the uriparser library and headers. The upstream uriparser
21218
21788
           # doesn't appear to ship with either a pkg-config file or a
21222
21792
           # Note that we look for uriFreeQueryListA because it's a relatively
21223
21793
           # new symbol that our code needs (it isn't present in the uriparser
21224
21794
           # that shipped with Ubuntu Hardy).
21225
 
           if test -z "$CUSTOM_URIPARSER_CPPFLAGS"; then
21226
 
              # XXX: No pkg-config and no uriparser-config means we need to
21227
 
              # hard-code a sensible default.
21228
 
              CUSTOM_URIPARSER_CPPFLAGS="-I/usr/include/uriparser"
21229
 
           fi
 
21795
           
 
21796
   if test -z "$CUSTOM_URIPARSER_CPPFLAGS"; then
 
21797
      if test "$os" = freebsd; then
 
21798
         CUSTOM_URIPARSER_CPPFLAGS="-I/usr/local/include"
 
21799
      else
 
21800
         CUSTOM_URIPARSER_CPPFLAGS="-I/usr/include"
 
21801
      fi
 
21802
      if test -n "uriparser"; then
 
21803
         CUSTOM_URIPARSER_CPPFLAGS="${CUSTOM_URIPARSER_CPPFLAGS}/uriparser"
 
21804
      fi
 
21805
   fi
 
21806
 
21230
21807
           
21231
21808
        
21232
21809
   if test -z "uriparser"; then
21243
21820
   ac_vmw_have_lib=0
21244
21821
   ac_vmw_have_lib_func=0
21245
21822
   ac_vmw_have_lib_header=0
 
21823
   ac_vmw_custom_libs=
21246
21824
 
21247
21825
   #
21248
21826
   # First, try any user-defined CUSTOM_* flags.
21249
21827
   #
21250
21828
   if test -n "${CUSTOM_URIPARSER_CPPFLAGS}" || test -n "${CUSTOM_URIPARSER_LIBS}"; then
21251
 
      CUSTOM_URIPARSER_LIBS="${CUSTOM_URIPARSER_LIBS} -luriparser"
 
21829
      ac_vmw_custom_libs="${CUSTOM_URIPARSER_LIBS} -luriparser"
21252
21830
      if test -n "Uri.h"; then
21253
21831
         ORIGINAL_CPPFLAGS="$CPPFLAGS"
21254
21832
         CPPFLAGS="${CUSTOM_URIPARSER_CPPFLAGS} $CPPFLAGS"
21410
21988
  echo $ECHO_N "(cached) $ECHO_C" >&6
21411
21989
else
21412
21990
  ac_check_lib_save_LIBS=$LIBS
21413
 
LIBS="-luriparser ${CUSTOM_URIPARSER_LIBS} $LIBS"
 
21991
LIBS="-luriparser $ac_vmw_custom_libs $LIBS"
21414
21992
cat >conftest.$ac_ext <<_ACEOF
21415
21993
/* confdefs.h.  */
21416
21994
_ACEOF
21474
22052
 
21475
22053
      if test $ac_vmw_have_lib_func -eq 1 && test $ac_vmw_have_lib_header -eq 1; then
21476
22054
         URIPARSER_CPPFLAGS="${CUSTOM_URIPARSER_CPPFLAGS}"
21477
 
         URIPARSER_LIBS="${CUSTOM_URIPARSER_LIBS}"
 
22055
         URIPARSER_LIBS="$ac_vmw_custom_libs"
21478
22056
         ac_vmw_have_lib=1
21479
22057
      fi
21480
22058
   fi
21610
22188
   ac_vmw_have_lib=0
21611
22189
   ac_vmw_have_lib_func=0
21612
22190
   ac_vmw_have_lib_header=0
 
22191
   ac_vmw_custom_libs=
21613
22192
 
21614
22193
   #
21615
22194
   # First, try any user-defined CUSTOM_* flags.
21616
22195
   #
21617
22196
   if test -n "${CUSTOM_LIBPNG_CPPFLAGS}" || test -n "${CUSTOM_LIBPNG_LIBS}"; then
21618
 
      CUSTOM_LIBPNG_LIBS="${CUSTOM_LIBPNG_LIBS} -lpng12"
 
22197
      ac_vmw_custom_libs="${CUSTOM_LIBPNG_LIBS} -lpng12"
21619
22198
      if test -n "png.h"; then
21620
22199
         ORIGINAL_CPPFLAGS="$CPPFLAGS"
21621
22200
         CPPFLAGS="${CUSTOM_LIBPNG_CPPFLAGS} $CPPFLAGS"
21777
22356
  echo $ECHO_N "(cached) $ECHO_C" >&6
21778
22357
else
21779
22358
  ac_check_lib_save_LIBS=$LIBS
21780
 
LIBS="-lpng12 ${CUSTOM_LIBPNG_LIBS} $LIBS"
 
22359
LIBS="-lpng12 $ac_vmw_custom_libs $LIBS"
21781
22360
cat >conftest.$ac_ext <<_ACEOF
21782
22361
/* confdefs.h.  */
21783
22362
_ACEOF
21841
22420
 
21842
22421
      if test $ac_vmw_have_lib_func -eq 1 && test $ac_vmw_have_lib_header -eq 1; then
21843
22422
         LIBPNG_CPPFLAGS="${CUSTOM_LIBPNG_CPPFLAGS}"
21844
 
         LIBPNG_LIBS="${CUSTOM_LIBPNG_LIBS}"
 
22423
         LIBPNG_LIBS="$ac_vmw_custom_libs"
21845
22424
         ac_vmw_have_lib=1
21846
22425
      fi
21847
22426
   fi
21962
22541
 
21963
22542
           # Check for the zlib library and headers. Like uriparser, there
21964
22543
           # isn't a pkg-config or zlib-config file.
21965
 
           if test -z "$CUSTOM_ZLIB_CPPFLAGS"; then
21966
 
              # XXX: No pkg-config and no zlib-config means we need to
21967
 
              # hard-code a sensible default.
21968
 
              CUSTOM_ZLIB_CPPFLAGS="-I/usr/include"
21969
 
           fi
 
22544
           
 
22545
   if test -z "$CUSTOM_ZLIB_CPPFLAGS"; then
 
22546
      if test "$os" = freebsd; then
 
22547
         CUSTOM_ZLIB_CPPFLAGS="-I/usr/local/include"
 
22548
      else
 
22549
         CUSTOM_ZLIB_CPPFLAGS="-I/usr/include"
 
22550
      fi
 
22551
      if test -n ""; then
 
22552
         CUSTOM_ZLIB_CPPFLAGS="${CUSTOM_ZLIB_CPPFLAGS}/"
 
22553
      fi
 
22554
   fi
 
22555
 
21970
22556
           
21971
22557
        
21972
22558
   if test -z "z"; then
21983
22569
   ac_vmw_have_lib=0
21984
22570
   ac_vmw_have_lib_func=0
21985
22571
   ac_vmw_have_lib_header=0
 
22572
   ac_vmw_custom_libs=
21986
22573
 
21987
22574
   #
21988
22575
   # First, try any user-defined CUSTOM_* flags.
21989
22576
   #
21990
22577
   if test -n "${CUSTOM_ZLIB_CPPFLAGS}" || test -n "${CUSTOM_ZLIB_LIBS}"; then
21991
 
      CUSTOM_ZLIB_LIBS="${CUSTOM_ZLIB_LIBS} -lz"
 
22578
      ac_vmw_custom_libs="${CUSTOM_ZLIB_LIBS} -lz"
21992
22579
      if test -n "zlib.h"; then
21993
22580
         ORIGINAL_CPPFLAGS="$CPPFLAGS"
21994
22581
         CPPFLAGS="${CUSTOM_ZLIB_CPPFLAGS} $CPPFLAGS"
22150
22737
  echo $ECHO_N "(cached) $ECHO_C" >&6
22151
22738
else
22152
22739
  ac_check_lib_save_LIBS=$LIBS
22153
 
LIBS="-lz ${CUSTOM_ZLIB_LIBS} $LIBS"
 
22740
LIBS="-lz $ac_vmw_custom_libs $LIBS"
22154
22741
cat >conftest.$ac_ext <<_ACEOF
22155
22742
/* confdefs.h.  */
22156
22743
_ACEOF
22214
22801
 
22215
22802
      if test $ac_vmw_have_lib_func -eq 1 && test $ac_vmw_have_lib_header -eq 1; then
22216
22803
         ZLIB_CPPFLAGS="${CUSTOM_ZLIB_CPPFLAGS}"
22217
 
         ZLIB_LIBS="${CUSTOM_ZLIB_LIBS}"
 
22804
         ZLIB_LIBS="$ac_vmw_custom_libs"
22218
22805
         ac_vmw_have_lib=1
22219
22806
      fi
22220
22807
   fi
22354
22941
   ac_vmw_have_lib=0
22355
22942
   ac_vmw_have_lib_func=0
22356
22943
   ac_vmw_have_lib_header=0
 
22944
   ac_vmw_custom_libs=
22357
22945
 
22358
22946
   #
22359
22947
   # First, try any user-defined CUSTOM_* flags.
22360
22948
   #
22361
22949
   if test -n "${CUSTOM_GTK_CPPFLAGS}" || test -n "${CUSTOM_GTK_LIBS}"; then
22362
 
      CUSTOM_GTK_LIBS="${CUSTOM_GTK_LIBS} -lgtk-x11-2.0"
 
22950
      ac_vmw_custom_libs="${CUSTOM_GTK_LIBS} -lgtk-x11-2.0"
22363
22951
      if test -n "gtk/gtk.h"; then
22364
22952
         ORIGINAL_CPPFLAGS="$CPPFLAGS"
22365
22953
         CPPFLAGS="${CUSTOM_GTK_CPPFLAGS} $CPPFLAGS"
22521
23109
  echo $ECHO_N "(cached) $ECHO_C" >&6
22522
23110
else
22523
23111
  ac_check_lib_save_LIBS=$LIBS
22524
 
LIBS="-lgtk-x11-2.0 ${CUSTOM_GTK_LIBS} $LIBS"
 
23112
LIBS="-lgtk-x11-2.0 $ac_vmw_custom_libs $LIBS"
22525
23113
cat >conftest.$ac_ext <<_ACEOF
22526
23114
/* confdefs.h.  */
22527
23115
_ACEOF
22585
23173
 
22586
23174
      if test $ac_vmw_have_lib_func -eq 1 && test $ac_vmw_have_lib_header -eq 1; then
22587
23175
         GTK_CPPFLAGS="${CUSTOM_GTK_CPPFLAGS}"
22588
 
         GTK_LIBS="${CUSTOM_GTK_LIBS}"
 
23176
         GTK_LIBS="$ac_vmw_custom_libs"
22589
23177
         ac_vmw_have_lib=1
22590
23178
      fi
22591
23179
   fi
22810
23398
   ac_vmw_have_lib=0
22811
23399
   ac_vmw_have_lib_func=0
22812
23400
   ac_vmw_have_lib_header=0
 
23401
   ac_vmw_custom_libs=
22813
23402
 
22814
23403
   #
22815
23404
   # First, try any user-defined CUSTOM_* flags.
22816
23405
   #
22817
23406
   if test -n "${CUSTOM_GTKMM_CPPFLAGS}" || test -n "${CUSTOM_GTKMM_LIBS}"; then
22818
 
      CUSTOM_GTKMM_LIBS="${CUSTOM_GTKMM_LIBS} -lgtkmm-2.4"
 
23407
      ac_vmw_custom_libs="${CUSTOM_GTKMM_LIBS} -lgtkmm-2.4"
22819
23408
      if test -n "gtkmm.h"; then
22820
23409
         ORIGINAL_CPPFLAGS="$CPPFLAGS"
22821
23410
         CPPFLAGS="${CUSTOM_GTKMM_CPPFLAGS} $CPPFLAGS"
22977
23566
  echo $ECHO_N "(cached) $ECHO_C" >&6
22978
23567
else
22979
23568
  ac_check_lib_save_LIBS=$LIBS
22980
 
LIBS="-lgtkmm-2.4 ${CUSTOM_GTKMM_LIBS} $LIBS"
 
23569
LIBS="-lgtkmm-2.4 $ac_vmw_custom_libs $LIBS"
22981
23570
cat >conftest.$ac_ext <<_ACEOF
22982
23571
/* confdefs.h.  */
22983
23572
_ACEOF
23041
23630
 
23042
23631
      if test $ac_vmw_have_lib_func -eq 1 && test $ac_vmw_have_lib_header -eq 1; then
23043
23632
         GTKMM_CPPFLAGS="${CUSTOM_GTKMM_CPPFLAGS}"
23044
 
         GTKMM_LIBS="${CUSTOM_GTKMM_LIBS}"
 
23633
         GTKMM_LIBS="$ac_vmw_custom_libs"
23045
23634
         ac_vmw_have_lib=1
23046
23635
      fi
23047
23636
   fi
23239
23828
fi
23240
23829
 
23241
23830
 
23242
 
{ echo "$as_me:$LINENO: checking for notify_init in -lnotify" >&5
23243
 
echo $ECHO_N "checking for notify_init in -lnotify... $ECHO_C" >&6; }
23244
 
if test "${ac_cv_lib_notify_notify_init+set}" = set; then
23245
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
23246
 
else
23247
 
  ac_check_lib_save_LIBS=$LIBS
23248
 
LIBS="-lnotify  $LIBS"
23249
 
cat >conftest.$ac_ext <<_ACEOF
23250
 
/* confdefs.h.  */
23251
 
_ACEOF
23252
 
cat confdefs.h >>conftest.$ac_ext
23253
 
cat >>conftest.$ac_ext <<_ACEOF
23254
 
/* end confdefs.h.  */
23255
 
 
23256
 
/* Override any GCC internal prototype to avoid an error.
23257
 
   Use char because int might match the return type of a GCC
23258
 
   builtin and then its argument prototype would still apply.  */
23259
 
#ifdef __cplusplus
23260
 
extern "C"
23261
 
#endif
23262
 
char notify_init ();
23263
 
int
23264
 
main ()
23265
 
{
23266
 
return notify_init ();
23267
 
  ;
23268
 
  return 0;
23269
 
}
23270
 
_ACEOF
23271
 
rm -f conftest.$ac_objext conftest$ac_exeext
23272
 
if { (ac_try="$ac_link"
23273
 
case "(($ac_try" in
23274
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23275
 
  *) ac_try_echo=$ac_try;;
23276
 
esac
23277
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23278
 
  (eval "$ac_link") 2>conftest.er1
23279
 
  ac_status=$?
23280
 
  grep -v '^ *+' conftest.er1 >conftest.err
23281
 
  rm -f conftest.er1
23282
 
  cat conftest.err >&5
23283
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23284
 
  (exit $ac_status); } && {
23285
 
         test -z "$ac_c_werror_flag" ||
23286
 
         test ! -s conftest.err
23287
 
       } && test -s conftest$ac_exeext &&
23288
 
       $as_test_x conftest$ac_exeext; then
23289
 
  ac_cv_lib_notify_notify_init=yes
23290
 
else
23291
 
  echo "$as_me: failed program was:" >&5
23292
 
sed 's/^/| /' conftest.$ac_ext >&5
23293
 
 
23294
 
        ac_cv_lib_notify_notify_init=no
23295
 
fi
23296
 
 
23297
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23298
 
      conftest$ac_exeext conftest.$ac_ext
23299
 
LIBS=$ac_check_lib_save_LIBS
23300
 
fi
23301
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_notify_notify_init" >&5
23302
 
echo "${ECHO_T}$ac_cv_lib_notify_notify_init" >&6; }
23303
 
if test $ac_cv_lib_notify_notify_init = yes; then
23304
 
  HAVE_NOTIFY="yes"
23305
 
    VMWARE_USER_LDADD="$VMWARE_USER_LDADD -lnotify"
23306
 
else
23307
 
  { echo "$as_me:$LINENO: WARNING: libnotify not found; notification disabled" >&5
23308
 
echo "$as_me: WARNING: libnotify not found; notification disabled" >&2;}
23309
 
fi
23310
 
 
23311
 
 
23312
23831
 
23313
23832
for ac_func in dlopen
23314
23833
do
23830
24349
fi
23831
24350
 
23832
24351
if test "$with_procps" = "yes"; then
23833
 
   # XXX: Force CUSTOM_PROCPS_LIBS to have something so that AC_VMW_CHECK_LIB
23834
 
   # properly performs the library check.
 
24352
   if test -z "$CUSTOM_PROCPS_NAME"; then
 
24353
      CUSTOM_PROCPS_NAME=proc
 
24354
   fi
 
24355
 
 
24356
   # XXX: no pkg-config and no procps-config means we need to
 
24357
   # hard-code a sensible default.
23835
24358
   if test -z "$CUSTOM_PROCPS_LIBS"; then
23836
24359
      CUSTOM_PROCPS_LIBS="-L/lib"
23837
24360
   fi
 
24361
 
 
24362
   # Some distros provide libproc-${version}.so only, others provide the
 
24363
   # libproc.so symlink. Try both to see what sticks (but only try the 3.2.7
 
24364
   # version - adding every possible version here would be a mess).
 
24365
   #
 
24366
   # Users can help by providing CUSTOM_PROCPS_NAME / CUSTOM_PROCPS_LIBS if
 
24367
   # necessary.
 
24368
   have_procps=no
 
24369
 
23838
24370
   
23839
24371
        
 
24372
   if test -z "$CUSTOM_PROCPS_NAME"; then
 
24373
      { { echo "$as_me:$LINENO: error: 'library' parameter is required.'" >&5
 
24374
echo "$as_me: error: 'library' parameter is required.'" >&2;}
 
24375
   { (exit 1); exit 1; }; }
 
24376
   fi
 
24377
   if test -z "PROCPS"; then
 
24378
      { { echo "$as_me:$LINENO: error: 'lvar' parameter is required.'" >&5
 
24379
echo "$as_me: error: 'lvar' parameter is required.'" >&2;}
 
24380
   { (exit 1); exit 1; }; }
 
24381
   fi
 
24382
 
 
24383
   ac_vmw_have_lib=0
 
24384
   ac_vmw_have_lib_func=0
 
24385
   ac_vmw_have_lib_header=0
 
24386
   ac_vmw_custom_libs=
 
24387
 
 
24388
   #
 
24389
   # First, try any user-defined CUSTOM_* flags.
 
24390
   #
 
24391
   if test -n "${CUSTOM_PROCPS_CPPFLAGS}" || test -n "${CUSTOM_PROCPS_LIBS}"; then
 
24392
      ac_vmw_custom_libs="${CUSTOM_PROCPS_LIBS} -l$CUSTOM_PROCPS_NAME"
 
24393
      if test -n ""; then
 
24394
         ORIGINAL_CPPFLAGS="$CPPFLAGS"
 
24395
         CPPFLAGS="${CUSTOM_PROCPS_CPPFLAGS} $CPPFLAGS"
 
24396
 
 
24397
         if test "${ac_cv_header_+set}" = set; then
 
24398
  { echo "$as_me:$LINENO: checking for " >&5
 
24399
echo $ECHO_N "checking for ... $ECHO_C" >&6; }
 
24400
if test "${ac_cv_header_+set}" = set; then
 
24401
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
24402
fi
 
24403
{ echo "$as_me:$LINENO: result: $ac_cv_header_" >&5
 
24404
echo "${ECHO_T}$ac_cv_header_" >&6; }
 
24405
else
 
24406
  # Is the header compilable?
 
24407
{ echo "$as_me:$LINENO: checking  usability" >&5
 
24408
echo $ECHO_N "checking  usability... $ECHO_C" >&6; }
 
24409
cat >conftest.$ac_ext <<_ACEOF
 
24410
/* confdefs.h.  */
 
24411
_ACEOF
 
24412
cat confdefs.h >>conftest.$ac_ext
 
24413
cat >>conftest.$ac_ext <<_ACEOF
 
24414
/* end confdefs.h.  */
 
24415
$ac_includes_default
 
24416
@%:@include <>
 
24417
_ACEOF
 
24418
rm -f conftest.$ac_objext
 
24419
if { (ac_try="$ac_compile"
 
24420
case "(($ac_try" in
 
24421
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
24422
  *) ac_try_echo=$ac_try;;
 
24423
esac
 
24424
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
24425
  (eval "$ac_compile") 2>conftest.er1
 
24426
  ac_status=$?
 
24427
  grep -v '^ *+' conftest.er1 >conftest.err
 
24428
  rm -f conftest.er1
 
24429
  cat conftest.err >&5
 
24430
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
24431
  (exit $ac_status); } && {
 
24432
         test -z "$ac_c_werror_flag" ||
 
24433
         test ! -s conftest.err
 
24434
       } && test -s conftest.$ac_objext; then
 
24435
  ac_header_compiler=yes
 
24436
else
 
24437
  echo "$as_me: failed program was:" >&5
 
24438
sed 's/^/| /' conftest.$ac_ext >&5
 
24439
 
 
24440
        ac_header_compiler=no
 
24441
fi
 
24442
 
 
24443
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
24444
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 
24445
echo "${ECHO_T}$ac_header_compiler" >&6; }
 
24446
 
 
24447
# Is the header present?
 
24448
{ echo "$as_me:$LINENO: checking  presence" >&5
 
24449
echo $ECHO_N "checking  presence... $ECHO_C" >&6; }
 
24450
cat >conftest.$ac_ext <<_ACEOF
 
24451
/* confdefs.h.  */
 
24452
_ACEOF
 
24453
cat confdefs.h >>conftest.$ac_ext
 
24454
cat >>conftest.$ac_ext <<_ACEOF
 
24455
/* end confdefs.h.  */
 
24456
@%:@include <>
 
24457
_ACEOF
 
24458
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
24459
case "(($ac_try" in
 
24460
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
24461
  *) ac_try_echo=$ac_try;;
 
24462
esac
 
24463
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
24464
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
 
24465
  ac_status=$?
 
24466
  grep -v '^ *+' conftest.er1 >conftest.err
 
24467
  rm -f conftest.er1
 
24468
  cat conftest.err >&5
 
24469
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
24470
  (exit $ac_status); } >/dev/null && {
 
24471
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
24472
         test ! -s conftest.err
 
24473
       }; then
 
24474
  ac_header_preproc=yes
 
24475
else
 
24476
  echo "$as_me: failed program was:" >&5
 
24477
sed 's/^/| /' conftest.$ac_ext >&5
 
24478
 
 
24479
  ac_header_preproc=no
 
24480
fi
 
24481
 
 
24482
rm -f conftest.err conftest.$ac_ext
 
24483
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 
24484
echo "${ECHO_T}$ac_header_preproc" >&6; }
 
24485
 
 
24486
# So?  What about this header?
 
24487
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
 
24488
  yes:no: )
 
24489
    { echo "$as_me:$LINENO: WARNING: : accepted by the compiler, rejected by the preprocessor!" >&5
 
24490
echo "$as_me: WARNING: : accepted by the compiler, rejected by the preprocessor!" >&2;}
 
24491
    { echo "$as_me:$LINENO: WARNING: : proceeding with the compiler's result" >&5
 
24492
echo "$as_me: WARNING: : proceeding with the compiler's result" >&2;}
 
24493
    ac_header_preproc=yes
 
24494
    ;;
 
24495
  no:yes:* )
 
24496
    { echo "$as_me:$LINENO: WARNING: : present but cannot be compiled" >&5
 
24497
echo "$as_me: WARNING: : present but cannot be compiled" >&2;}
 
24498
    { echo "$as_me:$LINENO: WARNING: :     check for missing prerequisite headers?" >&5
 
24499
echo "$as_me: WARNING: :     check for missing prerequisite headers?" >&2;}
 
24500
    { echo "$as_me:$LINENO: WARNING: : see the Autoconf documentation" >&5
 
24501
echo "$as_me: WARNING: : see the Autoconf documentation" >&2;}
 
24502
    { echo "$as_me:$LINENO: WARNING: :     section \"Present But Cannot Be Compiled\"" >&5
 
24503
echo "$as_me: WARNING: :     section \"Present But Cannot Be Compiled\"" >&2;}
 
24504
    { echo "$as_me:$LINENO: WARNING: : proceeding with the preprocessor's result" >&5
 
24505
echo "$as_me: WARNING: : proceeding with the preprocessor's result" >&2;}
 
24506
    { echo "$as_me:$LINENO: WARNING: : in the future, the compiler will take precedence" >&5
 
24507
echo "$as_me: WARNING: : in the future, the compiler will take precedence" >&2;}
 
24508
    ( cat <<\_ASBOX
 
24509
@%:@@%:@ -------------------------------------------------------- @%:@@%:@
 
24510
@%:@@%:@ Report this to open-vm-tools-devel@lists.sourceforge.net @%:@@%:@
 
24511
@%:@@%:@ -------------------------------------------------------- @%:@@%:@
 
24512
_ASBOX
 
24513
     ) | sed "s/^/$as_me: WARNING:     /" >&2
 
24514
    ;;
 
24515
esac
 
24516
{ echo "$as_me:$LINENO: checking for " >&5
 
24517
echo $ECHO_N "checking for ... $ECHO_C" >&6; }
 
24518
if test "${ac_cv_header_+set}" = set; then
 
24519
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
24520
else
 
24521
  ac_cv_header_=$ac_header_preproc
 
24522
fi
 
24523
{ echo "$as_me:$LINENO: result: $ac_cv_header_" >&5
 
24524
echo "${ECHO_T}$ac_cv_header_" >&6; }
 
24525
 
 
24526
fi
 
24527
if test $ac_cv_header_ = yes; then
 
24528
  ac_vmw_have_lib_header=1
 
24529
fi
 
24530
 
 
24531
 
 
24532
 
 
24533
         CPPFLAGS="$ORIGINAL_CPPFLAGS"
 
24534
      else
 
24535
         ac_vmw_have_lib_header=1
 
24536
      fi
 
24537
 
 
24538
      # Check a specific function in the library if requested.
 
24539
      # If it hasn't, just pick a random function from libc, just to make
 
24540
      # sure the linker can find the library being tested.
 
24541
      if test $ac_vmw_have_lib_header -eq 1; then
 
24542
         if test -n "getstat"; then
 
24543
            ac_vmw_function=getstat
 
24544
         else
 
24545
            ac_vmw_function=strlen
 
24546
         fi
 
24547
         as_ac_Lib=`echo "ac_cv_lib_$CUSTOM_PROCPS_NAME''_$ac_vmw_function" | $as_tr_sh`
 
24548
{ echo "$as_me:$LINENO: checking for $ac_vmw_function in -l$CUSTOM_PROCPS_NAME" >&5
 
24549
echo $ECHO_N "checking for $ac_vmw_function in -l$CUSTOM_PROCPS_NAME... $ECHO_C" >&6; }
 
24550
if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
 
24551
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
24552
else
 
24553
  ac_check_lib_save_LIBS=$LIBS
 
24554
LIBS="-l$CUSTOM_PROCPS_NAME $ac_vmw_custom_libs $LIBS"
 
24555
cat >conftest.$ac_ext <<_ACEOF
 
24556
/* confdefs.h.  */
 
24557
_ACEOF
 
24558
cat confdefs.h >>conftest.$ac_ext
 
24559
cat >>conftest.$ac_ext <<_ACEOF
 
24560
/* end confdefs.h.  */
 
24561
 
 
24562
/* Override any GCC internal prototype to avoid an error.
 
24563
   Use char because int might match the return type of a GCC
 
24564
   builtin and then its argument prototype would still apply.  */
 
24565
#ifdef __cplusplus
 
24566
extern "C"
 
24567
#endif
 
24568
char $ac_vmw_function ();
 
24569
int
 
24570
main ()
 
24571
{
 
24572
return $ac_vmw_function ();
 
24573
  ;
 
24574
  return 0;
 
24575
}
 
24576
_ACEOF
 
24577
rm -f conftest.$ac_objext conftest$ac_exeext
 
24578
if { (ac_try="$ac_link"
 
24579
case "(($ac_try" in
 
24580
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
24581
  *) ac_try_echo=$ac_try;;
 
24582
esac
 
24583
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
24584
  (eval "$ac_link") 2>conftest.er1
 
24585
  ac_status=$?
 
24586
  grep -v '^ *+' conftest.er1 >conftest.err
 
24587
  rm -f conftest.er1
 
24588
  cat conftest.err >&5
 
24589
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
24590
  (exit $ac_status); } && {
 
24591
         test -z "$ac_c_werror_flag" ||
 
24592
         test ! -s conftest.err
 
24593
       } && test -s conftest$ac_exeext &&
 
24594
       $as_test_x conftest$ac_exeext; then
 
24595
  eval "$as_ac_Lib=yes"
 
24596
else
 
24597
  echo "$as_me: failed program was:" >&5
 
24598
sed 's/^/| /' conftest.$ac_ext >&5
 
24599
 
 
24600
        eval "$as_ac_Lib=no"
 
24601
fi
 
24602
 
 
24603
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
24604
      conftest$ac_exeext conftest.$ac_ext
 
24605
LIBS=$ac_check_lib_save_LIBS
 
24606
fi
 
24607
ac_res=`eval echo '${'$as_ac_Lib'}'`
 
24608
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
24609
echo "${ECHO_T}$ac_res" >&6; }
 
24610
if test `eval echo '${'$as_ac_Lib'}'` = yes; then
 
24611
  ac_vmw_have_lib_func=1
 
24612
fi
 
24613
 
 
24614
      fi
 
24615
 
 
24616
      if test $ac_vmw_have_lib_func -eq 1 && test $ac_vmw_have_lib_header -eq 1; then
 
24617
         PROCPS_CPPFLAGS="${CUSTOM_PROCPS_CPPFLAGS}"
 
24618
         PROCPS_LIBS="$ac_vmw_custom_libs"
 
24619
         ac_vmw_have_lib=1
 
24620
      fi
 
24621
   fi
 
24622
 
 
24623
   # If that didn't work, try with pkg-config.
 
24624
   if test $ac_vmw_have_lib -eq 0 && test "$HAVE_PKG_CONFIG" = "yes" && test -n ""; then
 
24625
      if test -n ""; then
 
24626
         { echo "$as_me:$LINENO: checking for  >=  (via pkg-config)" >&5
 
24627
echo $ECHO_N "checking for  >=  (via pkg-config)... $ECHO_C" >&6; }
 
24628
         if pkg-config --exists ' >= '; then
 
24629
            ac_vmw_have_lib=1
 
24630
         fi
 
24631
      else
 
24632
         { echo "$as_me:$LINENO: checking for  (via pkg-config)" >&5
 
24633
echo $ECHO_N "checking for  (via pkg-config)... $ECHO_C" >&6; }
 
24634
         if pkg-config --exists ''; then
 
24635
            ac_vmw_have_lib=1
 
24636
         fi
 
24637
      fi
 
24638
 
 
24639
      if test $ac_vmw_have_lib -eq 1; then
 
24640
         # Sometimes pkg-config might fail; for example, "pkg-config gtk+-2.0 --cflags"
 
24641
         # fails on OpenSolaris B71. So be pessimistic.
 
24642
         ac_vmw_cppflags="`pkg-config --cflags `"
 
24643
         ac_vmw_ret1=$?
 
24644
         ac_vmw_libs="`pkg-config --libs `"
 
24645
         ac_vmw_ret2=$?
 
24646
         if test $ac_vmw_ret1 -eq 0 && test $ac_vmw_ret2 -eq 0; then
 
24647
            { echo "$as_me:$LINENO: result: yes" >&5
 
24648
echo "${ECHO_T}yes" >&6; }
 
24649
            PROCPS_CPPFLAGS="$ac_vmw_cppflags"
 
24650
            PROCPS_LIBS="$ac_vmw_libs"
 
24651
         else
 
24652
            { echo "$as_me:$LINENO: result: no" >&5
 
24653
echo "${ECHO_T}no" >&6; }
 
24654
         fi
 
24655
      else
 
24656
         { echo "$as_me:$LINENO: result: no" >&5
 
24657
echo "${ECHO_T}no" >&6; }
 
24658
      fi
 
24659
   fi
 
24660
 
 
24661
   # If we still haven't found the lib, try with the library's custom "config" script.
 
24662
   # Before checking, flush the AC_PATH_PROG cached variable.
 
24663
   unset ac_cv_path_ac_vmw_lib_cfg
 
24664
   unset ac_vmw_lib_cfg
 
24665
   if test $ac_vmw_have_lib -eq 0 && test -n ""; then
 
24666
      # Extract the first word of "", so it can be a program name with args.
 
24667
set dummy ; ac_word=$2
 
24668
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
24669
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
24670
if test "${ac_cv_path_ac_vmw_lib_cfg+set}" = set; then
 
24671
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
24672
else
 
24673
  case $ac_vmw_lib_cfg in
 
24674
  [\\/]* | ?:[\\/]*)
 
24675
  ac_cv_path_ac_vmw_lib_cfg="$ac_vmw_lib_cfg" # Let the user override the test with a path.
 
24676
  ;;
 
24677
  *)
 
24678
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
24679
for as_dir in $PATH
 
24680
do
 
24681
  IFS=$as_save_IFS
 
24682
  test -z "$as_dir" && as_dir=.
 
24683
  for ac_exec_ext in '' $ac_executable_extensions; do
 
24684
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
24685
    ac_cv_path_ac_vmw_lib_cfg="$as_dir/$ac_word$ac_exec_ext"
 
24686
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
24687
    break 2
 
24688
  fi
 
24689
done
 
24690
done
 
24691
IFS=$as_save_IFS
 
24692
 
 
24693
  test -z "$ac_cv_path_ac_vmw_lib_cfg" && ac_cv_path_ac_vmw_lib_cfg="no"
 
24694
  ;;
 
24695
esac
 
24696
fi
 
24697
ac_vmw_lib_cfg=$ac_cv_path_ac_vmw_lib_cfg
 
24698
if test -n "$ac_vmw_lib_cfg"; then
 
24699
  { echo "$as_me:$LINENO: result: $ac_vmw_lib_cfg" >&5
 
24700
echo "${ECHO_T}$ac_vmw_lib_cfg" >&6; }
 
24701
else
 
24702
  { echo "$as_me:$LINENO: result: no" >&5
 
24703
echo "${ECHO_T}no" >&6; }
 
24704
fi
 
24705
 
 
24706
 
 
24707
      if test "$ac_vmw_lib_cfg" != "no"; then
 
24708
         # XXX: icu-config does not follow the "--cflags" and "--libs" convention,
 
24709
         # so single it out here to avoid having to replicate all the rest of the
 
24710
         # logic elsewhere.
 
24711
         if test `basename "$ac_vmw_lib_cfg"` = "icu-config"; then
 
24712
            PROCPS_CPPFLAGS="`$ac_vmw_lib_cfg --cppflags`"
 
24713
            PROCPS_LIBS="`$ac_vmw_lib_cfg --ldflags`"
 
24714
         else
 
24715
            PROCPS_CPPFLAGS="`$ac_vmw_lib_cfg --cflags`"
 
24716
            PROCPS_LIBS="`$ac_vmw_lib_cfg --libs`"
 
24717
         fi
 
24718
         ac_vmw_have_lib=1
 
24719
      fi
 
24720
   fi
 
24721
 
 
24722
   # Finish by executing the user provided action. The call to "true" is needed
 
24723
   # because the actions are optional, and we need something inside the block.
 
24724
   if test $ac_vmw_have_lib -eq 1; then
 
24725
      
 
24726
      
 
24727
      true
 
24728
      
 
24729
                     have_procps=yes;
 
24730
                     VMWARE_USER_LDADD="$VMWARE_USER_LDADD $PROCPS_LIBS"
 
24731
                    
 
24732
   else
 
24733
      true
 
24734
      
 
24735
   fi
 
24736
 
 
24737
 
 
24738
   if test "$have_procps" = "no"; then
 
24739
      
 
24740
        
23840
24741
   if test -z "proc-3.2.7"; then
23841
24742
      { { echo "$as_me:$LINENO: error: 'library' parameter is required.'" >&5
23842
24743
echo "$as_me: error: 'library' parameter is required.'" >&2;}
23851
24752
   ac_vmw_have_lib=0
23852
24753
   ac_vmw_have_lib_func=0
23853
24754
   ac_vmw_have_lib_header=0
 
24755
   ac_vmw_custom_libs=
23854
24756
 
23855
24757
   #
23856
24758
   # First, try any user-defined CUSTOM_* flags.
23857
24759
   #
23858
24760
   if test -n "${CUSTOM_PROCPS_CPPFLAGS}" || test -n "${CUSTOM_PROCPS_LIBS}"; then
23859
 
      CUSTOM_PROCPS_LIBS="${CUSTOM_PROCPS_LIBS} -lproc-3.2.7"
 
24761
      ac_vmw_custom_libs="${CUSTOM_PROCPS_LIBS} -lproc-3.2.7"
23860
24762
      if test -n ""; then
23861
24763
         ORIGINAL_CPPFLAGS="$CPPFLAGS"
23862
24764
         CPPFLAGS="${CUSTOM_PROCPS_CPPFLAGS} $CPPFLAGS"
24018
24920
  echo $ECHO_N "(cached) $ECHO_C" >&6
24019
24921
else
24020
24922
  ac_check_lib_save_LIBS=$LIBS
24021
 
LIBS="-lproc-3.2.7 ${CUSTOM_PROCPS_LIBS} $LIBS"
 
24923
LIBS="-lproc-3.2.7 $ac_vmw_custom_libs $LIBS"
24022
24924
cat >conftest.$ac_ext <<_ACEOF
24023
24925
/* confdefs.h.  */
24024
24926
_ACEOF
24082
24984
 
24083
24985
      if test $ac_vmw_have_lib_func -eq 1 && test $ac_vmw_have_lib_header -eq 1; then
24084
24986
         PROCPS_CPPFLAGS="${CUSTOM_PROCPS_CPPFLAGS}"
24085
 
         PROCPS_LIBS="${CUSTOM_PROCPS_LIBS}"
 
24987
         PROCPS_LIBS="$ac_vmw_custom_libs"
24086
24988
         ac_vmw_have_lib=1
24087
24989
      fi
24088
24990
   fi
24200
25102
   { (exit 1); exit 1; }; }
24201
25103
   fi
24202
25104
 
 
25105
   fi
24203
25106
fi
24204
25107
 
24205
25108
if test "$with_procps" != "yes"; then
24241
25144
   ac_vmw_have_lib=0
24242
25145
   ac_vmw_have_lib_func=0
24243
25146
   ac_vmw_have_lib_header=0
 
25147
   ac_vmw_custom_libs=
24244
25148
 
24245
25149
   #
24246
25150
   # First, try any user-defined CUSTOM_* flags.
24247
25151
   #
24248
25152
   if test -n "${CUSTOM_DNET_CPPFLAGS}" || test -n "${CUSTOM_DNET_LIBS}"; then
24249
 
      CUSTOM_DNET_LIBS="${CUSTOM_DNET_LIBS} -ldumbnet"
 
25153
      ac_vmw_custom_libs="${CUSTOM_DNET_LIBS} -ldumbnet"
24250
25154
      if test -n "dumbnet.h"; then
24251
25155
         ORIGINAL_CPPFLAGS="$CPPFLAGS"
24252
25156
         CPPFLAGS="${CUSTOM_DNET_CPPFLAGS} $CPPFLAGS"
24408
25312
  echo $ECHO_N "(cached) $ECHO_C" >&6
24409
25313
else
24410
25314
  ac_check_lib_save_LIBS=$LIBS
24411
 
LIBS="-ldumbnet ${CUSTOM_DNET_LIBS} $LIBS"
 
25315
LIBS="-ldumbnet $ac_vmw_custom_libs $LIBS"
24412
25316
cat >conftest.$ac_ext <<_ACEOF
24413
25317
/* confdefs.h.  */
24414
25318
_ACEOF
24472
25376
 
24473
25377
      if test $ac_vmw_have_lib_func -eq 1 && test $ac_vmw_have_lib_header -eq 1; then
24474
25378
         DNET_CPPFLAGS="${CUSTOM_DNET_CPPFLAGS}"
24475
 
         DNET_LIBS="${CUSTOM_DNET_LIBS}"
 
25379
         DNET_LIBS="$ac_vmw_custom_libs"
24476
25380
         ac_vmw_have_lib=1
24477
25381
      fi
24478
25382
   fi
24611
25515
   ac_vmw_have_lib=0
24612
25516
   ac_vmw_have_lib_func=0
24613
25517
   ac_vmw_have_lib_header=0
 
25518
   ac_vmw_custom_libs=
24614
25519
 
24615
25520
   #
24616
25521
   # First, try any user-defined CUSTOM_* flags.
24617
25522
   #
24618
25523
   if test -n "${CUSTOM_DNET_CPPFLAGS}" || test -n "${CUSTOM_DNET_LIBS}"; then
24619
 
      CUSTOM_DNET_LIBS="${CUSTOM_DNET_LIBS} -ldnet"
 
25524
      ac_vmw_custom_libs="${CUSTOM_DNET_LIBS} -ldnet"
24620
25525
      if test -n "dnet.h"; then
24621
25526
         ORIGINAL_CPPFLAGS="$CPPFLAGS"
24622
25527
         CPPFLAGS="${CUSTOM_DNET_CPPFLAGS} $CPPFLAGS"
24778
25683
  echo $ECHO_N "(cached) $ECHO_C" >&6
24779
25684
else
24780
25685
  ac_check_lib_save_LIBS=$LIBS
24781
 
LIBS="-ldnet ${CUSTOM_DNET_LIBS} $LIBS"
 
25686
LIBS="-ldnet $ac_vmw_custom_libs $LIBS"
24782
25687
cat >conftest.$ac_ext <<_ACEOF
24783
25688
/* confdefs.h.  */
24784
25689
_ACEOF
24842
25747
 
24843
25748
      if test $ac_vmw_have_lib_func -eq 1 && test $ac_vmw_have_lib_header -eq 1; then
24844
25749
         DNET_CPPFLAGS="${CUSTOM_DNET_CPPFLAGS}"
24845
 
         DNET_LIBS="${CUSTOM_DNET_LIBS}"
 
25750
         DNET_LIBS="$ac_vmw_custom_libs"
24846
25751
         ac_vmw_have_lib=1
24847
25752
      fi
24848
25753
   fi
25116
26021
   ac_vmw_have_lib=0
25117
26022
   ac_vmw_have_lib_func=0
25118
26023
   ac_vmw_have_lib_header=0
 
26024
   ac_vmw_custom_libs=
25119
26025
 
25120
26026
   #
25121
26027
   # First, try any user-defined CUSTOM_* flags.
25122
26028
   #
25123
26029
   if test -n "${CUSTOM_ICU_CPPFLAGS}" || test -n "${CUSTOM_ICU_LIBS}"; then
25124
 
      CUSTOM_ICU_LIBS="${CUSTOM_ICU_LIBS} -licuuc"
 
26030
      ac_vmw_custom_libs="${CUSTOM_ICU_LIBS} -licuuc"
25125
26031
      if test -n "unicode/utf.h"; then
25126
26032
         ORIGINAL_CPPFLAGS="$CPPFLAGS"
25127
26033
         CPPFLAGS="${CUSTOM_ICU_CPPFLAGS} $CPPFLAGS"
25283
26189
  echo $ECHO_N "(cached) $ECHO_C" >&6
25284
26190
else
25285
26191
  ac_check_lib_save_LIBS=$LIBS
25286
 
LIBS="-licuuc ${CUSTOM_ICU_LIBS} $LIBS"
 
26192
LIBS="-licuuc $ac_vmw_custom_libs $LIBS"
25287
26193
cat >conftest.$ac_ext <<_ACEOF
25288
26194
/* confdefs.h.  */
25289
26195
_ACEOF
25347
26253
 
25348
26254
      if test $ac_vmw_have_lib_func -eq 1 && test $ac_vmw_have_lib_header -eq 1; then
25349
26255
         ICU_CPPFLAGS="${CUSTOM_ICU_CPPFLAGS}"
25350
 
         ICU_LIBS="${CUSTOM_ICU_LIBS}"
 
26256
         ICU_LIBS="$ac_vmw_custom_libs"
25351
26257
         ac_vmw_have_lib=1
25352
26258
      fi
25353
26259
   fi
27689
28595
 
27690
28596
 
27691
28597
 
 
28598
if test "$os" = "linux"; then
 
28599
   # Make sure kernel-headers package is installed.
 
28600
   if test "${ac_cv_header_linux_unistd_h+set}" = set; then
 
28601
  { echo "$as_me:$LINENO: checking for linux/unistd.h" >&5
 
28602
echo $ECHO_N "checking for linux/unistd.h... $ECHO_C" >&6; }
 
28603
if test "${ac_cv_header_linux_unistd_h+set}" = set; then
 
28604
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
28605
fi
 
28606
{ echo "$as_me:$LINENO: result: $ac_cv_header_linux_unistd_h" >&5
 
28607
echo "${ECHO_T}$ac_cv_header_linux_unistd_h" >&6; }
 
28608
else
 
28609
  # Is the header compilable?
 
28610
{ echo "$as_me:$LINENO: checking linux/unistd.h usability" >&5
 
28611
echo $ECHO_N "checking linux/unistd.h usability... $ECHO_C" >&6; }
 
28612
cat >conftest.$ac_ext <<_ACEOF
 
28613
/* confdefs.h.  */
 
28614
_ACEOF
 
28615
cat confdefs.h >>conftest.$ac_ext
 
28616
cat >>conftest.$ac_ext <<_ACEOF
 
28617
/* end confdefs.h.  */
 
28618
$ac_includes_default
 
28619
@%:@include <linux/unistd.h>
 
28620
_ACEOF
 
28621
rm -f conftest.$ac_objext
 
28622
if { (ac_try="$ac_compile"
 
28623
case "(($ac_try" in
 
28624
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
28625
  *) ac_try_echo=$ac_try;;
 
28626
esac
 
28627
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
28628
  (eval "$ac_compile") 2>conftest.er1
 
28629
  ac_status=$?
 
28630
  grep -v '^ *+' conftest.er1 >conftest.err
 
28631
  rm -f conftest.er1
 
28632
  cat conftest.err >&5
 
28633
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
28634
  (exit $ac_status); } && {
 
28635
         test -z "$ac_c_werror_flag" ||
 
28636
         test ! -s conftest.err
 
28637
       } && test -s conftest.$ac_objext; then
 
28638
  ac_header_compiler=yes
 
28639
else
 
28640
  echo "$as_me: failed program was:" >&5
 
28641
sed 's/^/| /' conftest.$ac_ext >&5
 
28642
 
 
28643
        ac_header_compiler=no
 
28644
fi
 
28645
 
 
28646
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
28647
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 
28648
echo "${ECHO_T}$ac_header_compiler" >&6; }
 
28649
 
 
28650
# Is the header present?
 
28651
{ echo "$as_me:$LINENO: checking linux/unistd.h presence" >&5
 
28652
echo $ECHO_N "checking linux/unistd.h presence... $ECHO_C" >&6; }
 
28653
cat >conftest.$ac_ext <<_ACEOF
 
28654
/* confdefs.h.  */
 
28655
_ACEOF
 
28656
cat confdefs.h >>conftest.$ac_ext
 
28657
cat >>conftest.$ac_ext <<_ACEOF
 
28658
/* end confdefs.h.  */
 
28659
@%:@include <linux/unistd.h>
 
28660
_ACEOF
 
28661
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
28662
case "(($ac_try" in
 
28663
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
28664
  *) ac_try_echo=$ac_try;;
 
28665
esac
 
28666
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
28667
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
 
28668
  ac_status=$?
 
28669
  grep -v '^ *+' conftest.er1 >conftest.err
 
28670
  rm -f conftest.er1
 
28671
  cat conftest.err >&5
 
28672
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
28673
  (exit $ac_status); } >/dev/null && {
 
28674
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
28675
         test ! -s conftest.err
 
28676
       }; then
 
28677
  ac_header_preproc=yes
 
28678
else
 
28679
  echo "$as_me: failed program was:" >&5
 
28680
sed 's/^/| /' conftest.$ac_ext >&5
 
28681
 
 
28682
  ac_header_preproc=no
 
28683
fi
 
28684
 
 
28685
rm -f conftest.err conftest.$ac_ext
 
28686
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 
28687
echo "${ECHO_T}$ac_header_preproc" >&6; }
 
28688
 
 
28689
# So?  What about this header?
 
28690
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
 
28691
  yes:no: )
 
28692
    { echo "$as_me:$LINENO: WARNING: linux/unistd.h: accepted by the compiler, rejected by the preprocessor!" >&5
 
28693
echo "$as_me: WARNING: linux/unistd.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
 
28694
    { echo "$as_me:$LINENO: WARNING: linux/unistd.h: proceeding with the compiler's result" >&5
 
28695
echo "$as_me: WARNING: linux/unistd.h: proceeding with the compiler's result" >&2;}
 
28696
    ac_header_preproc=yes
 
28697
    ;;
 
28698
  no:yes:* )
 
28699
    { echo "$as_me:$LINENO: WARNING: linux/unistd.h: present but cannot be compiled" >&5
 
28700
echo "$as_me: WARNING: linux/unistd.h: present but cannot be compiled" >&2;}
 
28701
    { echo "$as_me:$LINENO: WARNING: linux/unistd.h:     check for missing prerequisite headers?" >&5
 
28702
echo "$as_me: WARNING: linux/unistd.h:     check for missing prerequisite headers?" >&2;}
 
28703
    { echo "$as_me:$LINENO: WARNING: linux/unistd.h: see the Autoconf documentation" >&5
 
28704
echo "$as_me: WARNING: linux/unistd.h: see the Autoconf documentation" >&2;}
 
28705
    { echo "$as_me:$LINENO: WARNING: linux/unistd.h:     section \"Present But Cannot Be Compiled\"" >&5
 
28706
echo "$as_me: WARNING: linux/unistd.h:     section \"Present But Cannot Be Compiled\"" >&2;}
 
28707
    { echo "$as_me:$LINENO: WARNING: linux/unistd.h: proceeding with the preprocessor's result" >&5
 
28708
echo "$as_me: WARNING: linux/unistd.h: proceeding with the preprocessor's result" >&2;}
 
28709
    { echo "$as_me:$LINENO: WARNING: linux/unistd.h: in the future, the compiler will take precedence" >&5
 
28710
echo "$as_me: WARNING: linux/unistd.h: in the future, the compiler will take precedence" >&2;}
 
28711
    ( cat <<\_ASBOX
 
28712
@%:@@%:@ -------------------------------------------------------- @%:@@%:@
 
28713
@%:@@%:@ Report this to open-vm-tools-devel@lists.sourceforge.net @%:@@%:@
 
28714
@%:@@%:@ -------------------------------------------------------- @%:@@%:@
 
28715
_ASBOX
 
28716
     ) | sed "s/^/$as_me: WARNING:     /" >&2
 
28717
    ;;
 
28718
esac
 
28719
{ echo "$as_me:$LINENO: checking for linux/unistd.h" >&5
 
28720
echo $ECHO_N "checking for linux/unistd.h... $ECHO_C" >&6; }
 
28721
if test "${ac_cv_header_linux_unistd_h+set}" = set; then
 
28722
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
28723
else
 
28724
  ac_cv_header_linux_unistd_h=$ac_header_preproc
 
28725
fi
 
28726
{ echo "$as_me:$LINENO: result: $ac_cv_header_linux_unistd_h" >&5
 
28727
echo "${ECHO_T}$ac_cv_header_linux_unistd_h" >&6; }
 
28728
 
 
28729
fi
 
28730
if test $ac_cv_header_linux_unistd_h = yes; then
 
28731
  :
 
28732
else
 
28733
  { { echo "$as_me:$LINENO: error: linux/unistd.h is not found. Please install kernel-headers/linux-userspace-headers/linux-libc-dev package." >&5
 
28734
echo "$as_me: error: linux/unistd.h is not found. Please install kernel-headers/linux-userspace-headers/linux-libc-dev package." >&2;}
 
28735
   { (exit 1); exit 1; }; }
 
28736
fi
 
28737
 
 
28738
 
 
28739
fi
 
28740
 
27692
28741
if test "$enable_multimon" != "no"; then
27693
28742
   { echo "$as_me:$LINENO: checking for X11/extensions/panoramiXproto.h" >&5
27694
28743
echo $ECHO_N "checking for X11/extensions/panoramiXproto.h... $ECHO_C" >&6; }
28689
29738
### Specific features and OS/arch flags / actions
28690
29739
###
28691
29740
 
28692
 
# Check to see if SYS_setuid32 is defined. If SYS_setuid32 is unknown, we will
28693
 
# certainly error out.
28694
 
if test "$os$userSpaceBitness" = "linux32"; then
28695
 
   { echo "$as_me:$LINENO: checking for SYS_setuid32" >&5
28696
 
echo $ECHO_N "checking for SYS_setuid32... $ECHO_C" >&6; }
28697
 
   cat >conftest.$ac_ext <<_ACEOF
28698
 
/* confdefs.h.  */
28699
 
_ACEOF
28700
 
cat confdefs.h >>conftest.$ac_ext
28701
 
cat >>conftest.$ac_ext <<_ACEOF
28702
 
/* end confdefs.h.  */
28703
 
#include <sys/syscall.h>
28704
 
       #include <unistd.h>
28705
 
int
28706
 
main ()
28707
 
{
28708
 
 
28709
 
         syscall(SYS_setuid32, 1);
28710
 
      
28711
 
  ;
28712
 
  return 0;
28713
 
}
28714
 
_ACEOF
28715
 
rm -f conftest.$ac_objext
28716
 
if { (ac_try="$ac_compile"
28717
 
case "(($ac_try" in
28718
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28719
 
  *) ac_try_echo=$ac_try;;
28720
 
esac
28721
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28722
 
  (eval "$ac_compile") 2>conftest.er1
28723
 
  ac_status=$?
28724
 
  grep -v '^ *+' conftest.er1 >conftest.err
28725
 
  rm -f conftest.er1
28726
 
  cat conftest.err >&5
28727
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
28728
 
  (exit $ac_status); } && {
28729
 
         test -z "$ac_c_werror_flag" ||
28730
 
         test ! -s conftest.err
28731
 
       } && test -s conftest.$ac_objext; then
28732
 
  HAVE_SYS_SETUID="yes"
28733
 
else
28734
 
  echo "$as_me: failed program was:" >&5
28735
 
sed 's/^/| /' conftest.$ac_ext >&5
28736
 
 
28737
 
        HAVE_SYS_SETUID="no"
28738
 
fi
28739
 
 
28740
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28741
 
   { echo "$as_me:$LINENO: result: $HAVE_SYS_SETUID" >&5
28742
 
echo "${ECHO_T}$HAVE_SYS_SETUID" >&6; }
28743
 
fi
28744
 
 
28745
29741
# Newer iconv (from glibc 2.2 and later on Linux) takes a char ** as the second
28746
29742
# argument. Here, we test for the older form and expect a compiler warning/error
28747
29743
# if the newer form is defined (because, in that case, we would be attempting to
29242
30238
   CPPFLAGS="$CPPFLAGS -D_SVID_SOURCE"
29243
30239
 
29244
30240
   MODULES="$MODULES vmmemctl vmsync vmci vsock"
29245
 
   MODULES="$MODULES vmxnet vmxnet3 pvscsi"
 
30241
   MODULES="$MODULES vmxnet pvscsi"
29246
30242
   MODULES="$MODULES vmblock vmhgfs"
29247
30243
   buildHgfsmounter=yes
29248
30244
fi
29275
30271
 
29276
30272
   LIBVMTOOLS_LIBADD="$LIBVMTOOLS_LIBADD -lsocket"
29277
30273
   LIBVMTOOLS_LIBADD="$LIBVMTOOLS_LIBADD -lnsl"
 
30274
   LIBVMTOOLS_LIBADD="$LIBVMTOOLS_LIBADD -lresolv"
29278
30275
   LIBVMTOOLS_LIBADD="$LIBVMTOOLS_LIBADD -lrpcsvc"
29279
30276
 
29280
30277
   VMWARE_USER_CPPFLAGS="$VMWARE_USER_CPPFLAGS -I/usr/X11/include/"
29295
30292
      CPPFLAGS="$CPPFLAGS -DSOL11"
29296
30293
   fi
29297
30294
 
29298
 
   # Choose which modules to compile
 
30295
   MODULES="$MODULES vmxnet vmmemctl"
 
30296
 
 
30297
   # HGFS and vmblock need Solaris 10 at least.
29299
30298
   if test "$osVersion" -ge 510000; then
29300
30299
      MODULES="$MODULES vmhgfs vmblock"
29301
30300
   fi
29302
30301
 
29303
 
   # We build vmxnet and vmballoon on Solaris 9 and 10
29304
 
   if test "$osVersion" -lt 511000 -a "$osVersion" -ge 509000; then
29305
 
      MODULES="$MODULES vmxnet vmmemctl"
29306
 
   fi
29307
 
 
29308
 
   # Vmxnet3 is built on Solaris 10 only and only if GLDv3 is installed
29309
 
   if test "$osVersion" -eq 510000; then
 
30302
   # vmxnet3 is built on Solaris 10 / 11 only if GLDv3 is installed.
 
30303
   if test "$osVersion" -gt 510000; then
29310
30304
      if test "${ac_cv_header_sys_mac_h+set}" = set; then
29311
30305
  { echo "$as_me:$LINENO: checking for sys/mac.h" >&5
29312
30306
echo $ECHO_N "checking for sys/mac.h... $ECHO_C" >&6; }
29535
30529
  ENABLE_UNITY_FALSE=
29536
30530
fi
29537
30531
 
 
30532
 if test "$have_cunit" = "yes"; then
 
30533
  ENABLE_TESTS_TRUE=
 
30534
  ENABLE_TESTS_FALSE='#'
 
30535
else
 
30536
  ENABLE_TESTS_TRUE='#'
 
30537
  ENABLE_TESTS_FALSE=
 
30538
fi
 
30539
 
29538
30540
 if test "$with_root_privileges" = "yes"; then
29539
30541
  WITH_ROOT_PRIVILEGES_TRUE=
29540
30542
  WITH_ROOT_PRIVILEGES_FALSE='#'
29608
30610
 
29609
30611
fi
29610
30612
 
29611
 
if test "$os$userSpaceBitness" = "linux64" || test "$HAVE_SYS_SETUID" = "yes"; then
29612
 
   LIB_MISC_CPPFLAGS="$LIB_MISC_CPPFLAGS -DGLIBC_VERSION_21"
29613
 
fi
29614
 
 
29615
 
if test "$HAVE_NEW_ICONV" = "yes"; then
29616
 
   LIB_MISC_CPPFLAGS="$LIB_MISC_CPPFLAGS -DGLIBC_VERSION_22"
29617
 
fi
29618
 
 
29619
 
if test "$HAVE_LSEEK" = "yes"; then
29620
 
   LIB_FILE_CPPFLAGS="$LIB_FILE_CPPFLAGS -DGLIBC_VERSION_21"
29621
 
   LIB_HGFS_SERVER_CPPFLAGS="$LIB_HGFS_SERVER_CPPFLAGS -DGLIBC_VERSION_21"
29622
 
fi
29623
 
 
29624
 
if test "$HAVE_SETRESUID" = "yes"; then
29625
 
   LIB_PROC_MGR_CPPFLAGS="$LIB_PROC_MGR_CPPFLAGS -DGLIBC_VERSION_23"
 
30613
if test "$os" = "linux"; then
 
30614
   if test "$HAVE_LSEEK" = "yes"; then
 
30615
      CPPFLAGS="$CPPFLAGS -DGLIBC_VERSION_21"
 
30616
   fi
 
30617
 
 
30618
   if test "$HAVE_NEW_ICONV" = "yes"; then
 
30619
      CPPFLAGS="$CPPFLAGS -DGLIBC_VERSION_22"
 
30620
   fi
 
30621
 
 
30622
   if test "$HAVE_SETRESUID" = "yes"; then
 
30623
      CPPFLAGS="$CPPFLAGS -DGLIBC_VERSION_23"
 
30624
   fi
29626
30625
fi
29627
30626
 
29628
30627
LIB_AUTH_CPPFLAGS="$LIB_AUTH_CPPFLAGS $PAM_CPPFLAGS"
29629
30628
if test "$HAVE_CRYPT" = "yes"; then
29630
 
   LIB_AUTH_CPPFLAGS="$LIB_AUTH_CPPFLAGS -DGLIBC_VERSION_22"
29631
30629
   LIBVMTOOLS_LIBADD="$LIBVMTOOLS_LIBADD -lcrypt"
29632
30630
   VIX_LIBADD="$VIX_LIBADD -lcrypt"
29633
30631
fi
29634
30632
 
29635
 
if test "$HAVE_WCHAR_H" = "yes"; then
29636
 
   LIB_STRING_CPPFLAGS="$LIB_STRING_CPPFLAGS -DGLIBC_VERSION_22"
29637
 
fi
29638
30633
 
29639
30634
LIBVMTOOLS_LIBADD="$LIBVMTOOLS_LIBADD $THREAD_LIB"
29640
30635
VIX_LIBADD="$VIX_LIBADD $THREAD_LIB"
29695
30690
 
29696
30691
 
29697
30692
 
29698
 
 
29699
 
 
29700
 
 
29701
 
 
29702
 
 
29703
30693
### Program substs
29704
30694
 
29705
30695
 
29709
30699
###
29710
30700
### Create the Makefiles
29711
30701
###
29712
 
ac_config_files="$ac_config_files Makefile lib/Makefile lib/appUtil/Makefile lib/auth/Makefile lib/backdoor/Makefile lib/conf/Makefile lib/dict/Makefile lib/dnd/Makefile lib/dndGuest/Makefile lib/dynxdr/Makefile lib/err/Makefile lib/eventManager/Makefile lib/file/Makefile lib/foundryMsg/Makefile lib/ghIntegration/Makefile lib/ghIntegrationStub/Makefile lib/guestApp/Makefile lib/guestInfo/Makefile lib/guestRpc/Makefile lib/hgfs/Makefile lib/hgfsBd/Makefile lib/hgfsHelper/Makefile lib/hgfsServer/Makefile lib/hgfsServerManagerGuest/Makefile lib/hgfsServerPolicyGuest/Makefile lib/image/Makefile lib/impersonate/Makefile lib/message/Makefile lib/misc/Makefile lib/netUtil/Makefile lib/panic/Makefile lib/panicDefault/Makefile lib/printer/Makefile lib/procMgr/Makefile lib/raster/Makefile lib/region/Makefile lib/resolution/Makefile lib/rpcChannel/Makefile lib/rpcIn/Makefile lib/rpcOut/Makefile lib/rpcVmx/Makefile lib/SLPv2Parser/Makefile lib/slashProc/Makefile lib/string/Makefile lib/stubs/Makefile lib/sync/Makefile lib/syncDriver/Makefile lib/system/Makefile lib/unicode/Makefile lib/unity/Makefile lib/unityStub/Makefile lib/unityWindowTracker/Makefile lib/user/Makefile lib/vixTools/Makefile lib/vmCheck/Makefile lib/vmSignal/Makefile lib/wiper/Makefile services/Makefile services/vmtoolsd/Makefile services/plugins/Makefile services/plugins/guestInfo/Makefile services/plugins/hgfsServer/Makefile services/plugins/powerOps/Makefile services/plugins/resolutionSet/Makefile services/plugins/timeSync/Makefile services/plugins/vix/Makefile services/plugins/vixUser/Makefile services/plugins/vmbackup/Makefile vmware-user/Makefile vmware-user-suid-wrapper/Makefile toolbox/Makefile hgfsclient/Makefile hgfsmounter/Makefile checkvm/Makefile rpctool/Makefile libguestlib/Makefile libguestlib/vmguestlib.pc libvmtools/Makefile xferlogs/Makefile modules/Makefile vmblock-fuse/Makefile tests/Makefile tests/vmrpcdbg/Makefile tests/testDebug/Makefile tests/testPlugin/Makefile tests/testVmblock/Makefile docs/Makefile docs/api/Makefile scripts/Makefile"
 
30702
ac_config_files="$ac_config_files Makefile lib/Makefile lib/appUtil/Makefile lib/auth/Makefile lib/backdoor/Makefile lib/conf/Makefile lib/dict/Makefile lib/dnd/Makefile lib/dndGuest/Makefile lib/dynxdr/Makefile lib/err/Makefile lib/eventManager/Makefile lib/file/Makefile lib/foundryMsg/Makefile lib/ghIntegration/Makefile lib/ghIntegrationStub/Makefile lib/guestApp/Makefile lib/guestInfo/Makefile lib/guestRpc/Makefile lib/hgfs/Makefile lib/hgfsBd/Makefile lib/hgfsHelper/Makefile lib/hgfsServer/Makefile lib/hgfsServerManagerGuest/Makefile lib/hgfsServerPolicyGuest/Makefile lib/image/Makefile lib/impersonate/Makefile lib/message/Makefile lib/misc/Makefile lib/netUtil/Makefile lib/panic/Makefile lib/panicDefault/Makefile lib/printer/Makefile lib/procMgr/Makefile lib/raster/Makefile lib/region/Makefile lib/resolution/Makefile lib/rpcChannel/Makefile lib/rpcIn/Makefile lib/rpcOut/Makefile lib/rpcVmx/Makefile lib/SLPv2Parser/Makefile lib/slashProc/Makefile lib/string/Makefile lib/stubs/Makefile lib/syncDriver/Makefile lib/system/Makefile lib/unicode/Makefile lib/unity/Makefile lib/unityStub/Makefile lib/unityWindowTracker/Makefile lib/user/Makefile lib/vixTools/Makefile lib/vmCheck/Makefile lib/vmSignal/Makefile lib/wiper/Makefile services/Makefile services/vmtoolsd/Makefile services/plugins/Makefile services/plugins/guestInfo/Makefile services/plugins/hgfsServer/Makefile services/plugins/powerOps/Makefile services/plugins/resolutionSet/Makefile services/plugins/timeSync/Makefile services/plugins/vix/Makefile services/plugins/vixUser/Makefile services/plugins/vmbackup/Makefile vmware-user/Makefile vmware-user-suid-wrapper/Makefile toolbox/Makefile hgfsclient/Makefile hgfsmounter/Makefile checkvm/Makefile rpctool/Makefile libguestlib/Makefile libguestlib/vmguestlib.pc libvmtools/Makefile xferlogs/Makefile modules/Makefile vmblock-fuse/Makefile tests/Makefile tests/vmrpcdbg/Makefile tests/testDebug/Makefile tests/testPlugin/Makefile tests/testVmblock/Makefile docs/Makefile docs/api/Makefile scripts/Makefile"
29713
30703
 
29714
30704
 
29715
30705
###
29946
30936
Usually this means the macro was only invoked conditionally." >&2;}
29947
30937
   { (exit 1); exit 1; }; }
29948
30938
fi
 
30939
if test -z "${ENABLE_TESTS_TRUE}" && test -z "${ENABLE_TESTS_FALSE}"; then
 
30940
  { { echo "$as_me:$LINENO: error: conditional \"ENABLE_TESTS\" was never defined.
 
30941
Usually this means the macro was only invoked conditionally." >&5
 
30942
echo "$as_me: error: conditional \"ENABLE_TESTS\" was never defined.
 
30943
Usually this means the macro was only invoked conditionally." >&2;}
 
30944
   { (exit 1); exit 1; }; }
 
30945
fi
29949
30946
if test -z "${WITH_ROOT_PRIVILEGES_TRUE}" && test -z "${WITH_ROOT_PRIVILEGES_FALSE}"; then
29950
30947
  { { echo "$as_me:$LINENO: error: conditional \"WITH_ROOT_PRIVILEGES\" was never defined.
29951
30948
Usually this means the macro was only invoked conditionally." >&5
30295
31292
# report actual input values of CONFIG_FILES etc. instead of their
30296
31293
# values after options handling.
30297
31294
ac_log="
30298
 
This file was extended by open-vm-tools $as_me 2009.11.16, which was
 
31295
This file was extended by open-vm-tools $as_me 2010.02.23, which was
30299
31296
generated by GNU Autoconf 2.61.  Invocation command line was
30300
31297
 
30301
31298
  CONFIG_FILES    = $CONFIG_FILES
30342
31339
_ACEOF
30343
31340
cat >>$CONFIG_STATUS <<_ACEOF
30344
31341
ac_cs_version="\\
30345
 
open-vm-tools config.status 2009.11.16
 
31342
open-vm-tools config.status 2010.02.23
30346
31343
configured by $0, generated by GNU Autoconf 2.61,
30347
31344
  with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
30348
31345
 
30843
31840
    "lib/slashProc/Makefile") CONFIG_FILES="$CONFIG_FILES lib/slashProc/Makefile" ;;
30844
31841
    "lib/string/Makefile") CONFIG_FILES="$CONFIG_FILES lib/string/Makefile" ;;
30845
31842
    "lib/stubs/Makefile") CONFIG_FILES="$CONFIG_FILES lib/stubs/Makefile" ;;
30846
 
    "lib/sync/Makefile") CONFIG_FILES="$CONFIG_FILES lib/sync/Makefile" ;;
30847
31843
    "lib/syncDriver/Makefile") CONFIG_FILES="$CONFIG_FILES lib/syncDriver/Makefile" ;;
30848
31844
    "lib/system/Makefile") CONFIG_FILES="$CONFIG_FILES lib/system/Makefile" ;;
30849
31845
    "lib/unicode/Makefile") CONFIG_FILES="$CONFIG_FILES lib/unicode/Makefile" ;;
31118
32114
FUSE_LIBS!$FUSE_LIBS$ac_delim
31119
32115
PAM_CPPFLAGS!$PAM_CPPFLAGS$ac_delim
31120
32116
PAM_LIBS!$PAM_LIBS$ac_delim
 
32117
CUNIT_CPPFLAGS!$CUNIT_CPPFLAGS$ac_delim
 
32118
CUNIT_LIBS!$CUNIT_LIBS$ac_delim
31121
32119
URIPARSER_CPPFLAGS!$URIPARSER_CPPFLAGS$ac_delim
31122
32120
URIPARSER_LIBS!$URIPARSER_LIBS$ac_delim
31123
32121
LIBPNG_CPPFLAGS!$LIBPNG_CPPFLAGS$ac_delim
31161
32159
WITH_KERNEL_MODULES_FALSE!$WITH_KERNEL_MODULES_FALSE$ac_delim
31162
32160
ENABLE_UNITY_TRUE!$ENABLE_UNITY_TRUE$ac_delim
31163
32161
ENABLE_UNITY_FALSE!$ENABLE_UNITY_FALSE$ac_delim
 
32162
ENABLE_TESTS_TRUE!$ENABLE_TESTS_TRUE$ac_delim
 
32163
ENABLE_TESTS_FALSE!$ENABLE_TESTS_FALSE$ac_delim
31164
32164
WITH_ROOT_PRIVILEGES_TRUE!$WITH_ROOT_PRIVILEGES_TRUE$ac_delim
31165
32165
WITH_ROOT_PRIVILEGES_FALSE!$WITH_ROOT_PRIVILEGES_FALSE$ac_delim
31166
32166
HAVE_DOXYGEN_TRUE!$HAVE_DOXYGEN_TRUE$ac_delim
31179
32179
TARGET_OS!$TARGET_OS$ac_delim
31180
32180
KERNEL_RELEASE!$KERNEL_RELEASE$ac_delim
31181
32181
MODULES_OS!$MODULES_OS$ac_delim
 
32182
_ACEOF
 
32183
 
 
32184
  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
 
32185
    break
 
32186
  elif $ac_last_try; then
 
32187
    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
 
32188
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
 
32189
   { (exit 1); exit 1; }; }
 
32190
  else
 
32191
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
 
32192
  fi
 
32193
done
 
32194
 
 
32195
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
 
32196
if test -n "$ac_eof"; then
 
32197
  ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
 
32198
  ac_eof=`expr $ac_eof + 1`
 
32199
fi
 
32200
 
 
32201
cat >>$CONFIG_STATUS <<_ACEOF
 
32202
cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
 
32203
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
 
32204
_ACEOF
 
32205
sed '
 
32206
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
 
32207
s/^/s,@/; s/!/@,|#_!!_#|/
 
32208
:n
 
32209
t n
 
32210
s/'"$ac_delim"'$/,g/; t
 
32211
s/$/\\/; p
 
32212
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
 
32213
' >>$CONFIG_STATUS <conf$$subs.sed
 
32214
rm -f conf$$subs.sed
 
32215
cat >>$CONFIG_STATUS <<_ACEOF
 
32216
CEOF$ac_eof
 
32217
_ACEOF
 
32218
 
 
32219
 
 
32220
ac_delim='%!_!# '
 
32221
for ac_last_try in false false false false false :; do
 
32222
  cat >conf$$subs.sed <<_ACEOF
31182
32223
MODULES_DIR!$MODULES_DIR$ac_delim
31183
32224
MODULES!$MODULES$ac_delim
31184
32225
COMMON_XLIBS!$COMMON_XLIBS$ac_delim
31185
32226
PAM_PREFIX!$PAM_PREFIX$ac_delim
31186
 
_ACEOF
31187
 
 
31188
 
  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
31189
 
    break
31190
 
  elif $ac_last_try; then
31191
 
    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
31192
 
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
31193
 
   { (exit 1); exit 1; }; }
31194
 
  else
31195
 
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
31196
 
  fi
31197
 
done
31198
 
 
31199
 
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
31200
 
if test -n "$ac_eof"; then
31201
 
  ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
31202
 
  ac_eof=`expr $ac_eof + 1`
31203
 
fi
31204
 
 
31205
 
cat >>$CONFIG_STATUS <<_ACEOF
31206
 
cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
31207
 
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
31208
 
_ACEOF
31209
 
sed '
31210
 
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
31211
 
s/^/s,@/; s/!/@,|#_!!_#|/
31212
 
:n
31213
 
t n
31214
 
s/'"$ac_delim"'$/,g/; t
31215
 
s/$/\\/; p
31216
 
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
31217
 
' >>$CONFIG_STATUS <conf$$subs.sed
31218
 
rm -f conf$$subs.sed
31219
 
cat >>$CONFIG_STATUS <<_ACEOF
31220
 
CEOF$ac_eof
31221
 
_ACEOF
31222
 
 
31223
 
 
31224
 
ac_delim='%!_!# '
31225
 
for ac_last_try in false false false false false :; do
31226
 
  cat >conf$$subs.sed <<_ACEOF
31227
32227
PLUGIN_CPPFLAGS!$PLUGIN_CPPFLAGS$ac_delim
31228
32228
PLUGIN_LDFLAGS!$PLUGIN_LDFLAGS$ac_delim
31229
32229
VMTOOLS_CPPFLAGS!$VMTOOLS_CPPFLAGS$ac_delim
31236
32236
VMUSR_PLUGIN_INSTALLDIR!$VMUSR_PLUGIN_INSTALLDIR$ac_delim
31237
32237
SYSDIR!$SYSDIR$ac_delim
31238
32238
LIB_AUTH_CPPFLAGS!$LIB_AUTH_CPPFLAGS$ac_delim
31239
 
LIB_FILE_CPPFLAGS!$LIB_FILE_CPPFLAGS$ac_delim
31240
 
LIB_HGFS_SERVER_CPPFLAGS!$LIB_HGFS_SERVER_CPPFLAGS$ac_delim
31241
32239
LIB_IMPERSONATE_CPPFLAGS!$LIB_IMPERSONATE_CPPFLAGS$ac_delim
31242
 
LIB_MISC_CPPFLAGS!$LIB_MISC_CPPFLAGS$ac_delim
31243
 
LIB_PROC_MGR_CPPFLAGS!$LIB_PROC_MGR_CPPFLAGS$ac_delim
31244
 
LIB_STRING_CPPFLAGS!$LIB_STRING_CPPFLAGS$ac_delim
31245
32240
LIB_USER_CPPFLAGS!$LIB_USER_CPPFLAGS$ac_delim
31246
32241
LIBVMTOOLS_LIBADD!$LIBVMTOOLS_LIBADD$ac_delim
31247
32242
VIX_LIBADD!$VIX_LIBADD$ac_delim
31251
32246
LTLIBOBJS!$LTLIBOBJS$ac_delim
31252
32247
_ACEOF
31253
32248
 
31254
 
  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 25; then
 
32249
  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 24; then
31255
32250
    break
31256
32251
  elif $ac_last_try; then
31257
32252
    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5