~ubuntu-branches/ubuntu/quantal/open-vm-tools/quantal-201207201942

« back to all changes in this revision

Viewing changes to configure

  • Committer: Bazaar Package Importer
  • Author(s): Daniel Baumann
  • Date: 2009-10-18 12:28:19 UTC
  • mfrom: (1.1.7 upstream) (2.4.9 squeeze)
  • Revision ID: james.westby@ubuntu.com-20091018122819-00vqew6m0ztpqcqp
Tags: 2009.10.15-201664-1
MergingĀ upstreamĀ versionĀ 2009.10.15-201664.

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.07.22.
 
3
# Generated by GNU Autoconf 2.61 for open-vm-tools 2009.10.15.
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.07.22'
727
 
PACKAGE_STRING='open-vm-tools 2009.07.22'
 
726
PACKAGE_VERSION='2009.10.15'
 
727
PACKAGE_STRING='open-vm-tools 2009.10.15'
728
728
PACKAGE_BUGREPORT='open-vm-tools-devel@lists.sourceforge.net'
729
729
 
730
730
ac_unique_file="checkvm/checkvm.c"
869
869
lt_ECHO
870
870
DSYMUTIL
871
871
NMEDIT
 
872
LIPO
 
873
OTOOL
 
874
OTOOL64
872
875
CXXCPP
873
876
HAVE_PKG_CONFIG
874
877
XMKMF
945
948
HAVE_GTKMM_FALSE
946
949
HAVE_PAM_TRUE
947
950
HAVE_PAM_FALSE
 
951
USE_SLASH_PROC_TRUE
 
952
USE_SLASH_PROC_FALSE
948
953
TOOLS_VERSION
949
954
TARGET_OS
950
955
KERNEL_RELEASE
960
965
RPCGENFLAGS
961
966
XDR_LIBS
962
967
TEST_PLUGIN_INSTALLDIR
 
968
COMMON_PLUGIN_INSTALLDIR
963
969
VMSVC_PLUGIN_INSTALLDIR
964
970
VMUSR_PLUGIN_INSTALLDIR
965
971
SYSDIR
1494
1500
  # Omit some internal or obsolete options to make the list less imposing.
1495
1501
  # This message is too long to be a string in the A/UX 3.1 sh.
1496
1502
  cat <<_ACEOF
1497
 
\`configure' configures open-vm-tools 2009.07.22 to adapt to many kinds of systems.
 
1503
\`configure' configures open-vm-tools 2009.10.15 to adapt to many kinds of systems.
1498
1504
 
1499
1505
Usage: $0 [OPTION]... [VAR=VALUE]...
1500
1506
 
1568
1574
 
1569
1575
if test -n "$ac_init_help"; then
1570
1576
  case $ac_init_help in
1571
 
     short | recursive ) echo "Configuration of open-vm-tools 2009.07.22:";;
 
1577
     short | recursive ) echo "Configuration of open-vm-tools 2009.10.15:";;
1572
1578
   esac
1573
1579
  cat <<\_ACEOF
1574
1580
 
1691
1697
test -n "$ac_init_help" && exit $ac_status
1692
1698
if $ac_init_version; then
1693
1699
  cat <<\_ACEOF
1694
 
open-vm-tools configure 2009.07.22
 
1700
open-vm-tools configure 2009.10.15
1695
1701
generated by GNU Autoconf 2.61
1696
1702
 
1697
1703
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1705
1711
This file contains any messages produced by compilers while
1706
1712
running configure, to aid debugging if configure makes a mistake.
1707
1713
 
1708
 
It was created by open-vm-tools $as_me 2009.07.22, which was
 
1714
It was created by open-vm-tools $as_me 2009.10.15, which was
1709
1715
generated by GNU Autoconf 2.61.  Invocation command line was
1710
1716
 
1711
1717
  $ $0 $@
2328
2334
if test "$with_kernel_modules" = "yes"; then
2329
2335
   case "$os" in
2330
2336
      linux)
 
2337
         if test "$osVersion" -lt 206009; then
 
2338
            { { echo "$as_me:$LINENO: error: Kernels prior to 2.6.9 are not supported in this release of open-vm-tools. Configure using --without-kernel-modules to suppress building kernel drivers." >&5
 
2339
echo "$as_me: error: Kernels prior to 2.6.9 are not supported in this release of open-vm-tools. Configure using --without-kernel-modules to suppress building kernel drivers." >&2;}
 
2340
   { (exit 1); exit 1; }; }
 
2341
         fi
2331
2342
         if test ! -d "$LINUXDIR/kernel/"; then
2332
2343
             { { echo "$as_me:$LINENO: error: $LINUXDIR/kernel does not exist" >&5
2333
2344
echo "$as_me: error: $LINUXDIR/kernel does not exist" >&2;}
2703
2714
 
2704
2715
# Define the identity of the package.
2705
2716
 PACKAGE='open-vm-tools'
2706
 
 VERSION='2009.07.22'
 
2717
 VERSION='2009.10.15'
2707
2718
 
2708
2719
 
2709
2720
cat >>confdefs.h <<_ACEOF
5808
5819
 
5809
5820
 
5810
5821
 
5811
 
macro_version='2.2'
5812
 
macro_revision='1.2599'
 
5822
macro_version='2.2.4'
 
5823
macro_revision='1.2976'
5813
5824
 
5814
5825
 
5815
5826
 
6300
6311
 
6301
6312
 
6302
6313
 
6303
 
 
6304
6314
{ echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5
6305
6315
echo $ECHO_N "checking for BSD- or MS-compatible name lister (nm)... $ECHO_C" >&6; }
6306
6316
if test "${lt_cv_path_NM+set}" = set; then
6479
6489
else
6480
6490
  lt_cv_nm_interface="BSD nm"
6481
6491
  echo "int some_variable = 0;" > conftest.$ac_ext
6482
 
  (eval echo "\"\$as_me:6482: $ac_compile\"" >&5)
 
6492
  (eval echo "\"\$as_me:6492: $ac_compile\"" >&5)
6483
6493
  (eval "$ac_compile" 2>conftest.err)
6484
6494
  cat conftest.err >&5
6485
 
  (eval echo "\"\$as_me:6485: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
 
6495
  (eval echo "\"\$as_me:6495: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
6486
6496
  (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
6487
6497
  cat conftest.err >&5
6488
 
  (eval echo "\"\$as_me:6488: output\"" >&5)
 
6498
  (eval echo "\"\$as_me:6498: output\"" >&5)
6489
6499
  cat conftest.out >&5
6490
6500
  if $GREP 'External.*some_variable' conftest.out > /dev/null; then
6491
6501
    lt_cv_nm_interface="MS dumpbin"
6629
6639
 
6630
6640
 
6631
6641
 
6632
 
 
6633
6642
: ${CP="cp -f"}
6634
6643
: ${MV="mv -f"}
6635
6644
: ${RM="rm -f"}
6640
6649
xsi_shell=no
6641
6650
( _lt_dummy="a/b/c"
6642
6651
  test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
6643
 
      = c,a/b,, ) >/dev/null 2>&1 \
 
6652
      = c,a/b,, \
 
6653
    && eval 'test $(( 1 + 1 )) -eq 2 \
 
6654
    && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
6644
6655
  && xsi_shell=yes
6645
6656
{ echo "$as_me:$LINENO: result: $xsi_shell" >&5
6646
6657
echo "${ECHO_T}$xsi_shell" >&6; }
6836
6847
  lt_cv_deplibs_check_method=pass_all
6837
6848
  ;;
6838
6849
 
6839
 
netbsd*)
 
6850
netbsd* | netbsdelf*-gnu)
6840
6851
  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6841
6852
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6842
6853
  else
7584
7595
  ;;
7585
7596
*-*-irix6*)
7586
7597
  # Find out which ABI we are using.
7587
 
  echo '#line 7587 "configure"' > conftest.$ac_ext
 
7598
  echo '#line 7598 "configure"' > conftest.$ac_ext
7588
7599
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7589
7600
  (eval $ac_compile) 2>&5
7590
7601
  ac_status=$?
7966
7977
  NMEDIT="$ac_cv_prog_NMEDIT"
7967
7978
fi
7968
7979
 
 
7980
    if test -n "$ac_tool_prefix"; then
 
7981
  # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
 
7982
set dummy ${ac_tool_prefix}lipo; ac_word=$2
 
7983
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7984
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
7985
if test "${ac_cv_prog_LIPO+set}" = set; then
 
7986
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
7987
else
 
7988
  if test -n "$LIPO"; then
 
7989
  ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
 
7990
else
 
7991
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
7992
for as_dir in $PATH
 
7993
do
 
7994
  IFS=$as_save_IFS
 
7995
  test -z "$as_dir" && as_dir=.
 
7996
  for ac_exec_ext in '' $ac_executable_extensions; do
 
7997
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
7998
    ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
 
7999
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
8000
    break 2
 
8001
  fi
 
8002
done
 
8003
done
 
8004
IFS=$as_save_IFS
 
8005
 
 
8006
fi
 
8007
fi
 
8008
LIPO=$ac_cv_prog_LIPO
 
8009
if test -n "$LIPO"; then
 
8010
  { echo "$as_me:$LINENO: result: $LIPO" >&5
 
8011
echo "${ECHO_T}$LIPO" >&6; }
 
8012
else
 
8013
  { echo "$as_me:$LINENO: result: no" >&5
 
8014
echo "${ECHO_T}no" >&6; }
 
8015
fi
 
8016
 
 
8017
 
 
8018
fi
 
8019
if test -z "$ac_cv_prog_LIPO"; then
 
8020
  ac_ct_LIPO=$LIPO
 
8021
  # Extract the first word of "lipo", so it can be a program name with args.
 
8022
set dummy lipo; ac_word=$2
 
8023
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
8024
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
8025
if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then
 
8026
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
8027
else
 
8028
  if test -n "$ac_ct_LIPO"; then
 
8029
  ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
 
8030
else
 
8031
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
8032
for as_dir in $PATH
 
8033
do
 
8034
  IFS=$as_save_IFS
 
8035
  test -z "$as_dir" && as_dir=.
 
8036
  for ac_exec_ext in '' $ac_executable_extensions; do
 
8037
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
8038
    ac_cv_prog_ac_ct_LIPO="lipo"
 
8039
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
8040
    break 2
 
8041
  fi
 
8042
done
 
8043
done
 
8044
IFS=$as_save_IFS
 
8045
 
 
8046
fi
 
8047
fi
 
8048
ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
 
8049
if test -n "$ac_ct_LIPO"; then
 
8050
  { echo "$as_me:$LINENO: result: $ac_ct_LIPO" >&5
 
8051
echo "${ECHO_T}$ac_ct_LIPO" >&6; }
 
8052
else
 
8053
  { echo "$as_me:$LINENO: result: no" >&5
 
8054
echo "${ECHO_T}no" >&6; }
 
8055
fi
 
8056
 
 
8057
  if test "x$ac_ct_LIPO" = x; then
 
8058
    LIPO=":"
 
8059
  else
 
8060
    case $cross_compiling:$ac_tool_warned in
 
8061
yes:)
 
8062
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
8063
whose name does not start with the host triplet.  If you think this
 
8064
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
8065
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
8066
whose name does not start with the host triplet.  If you think this
 
8067
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
8068
ac_tool_warned=yes ;;
 
8069
esac
 
8070
    LIPO=$ac_ct_LIPO
 
8071
  fi
 
8072
else
 
8073
  LIPO="$ac_cv_prog_LIPO"
 
8074
fi
 
8075
 
 
8076
    if test -n "$ac_tool_prefix"; then
 
8077
  # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
 
8078
set dummy ${ac_tool_prefix}otool; ac_word=$2
 
8079
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
8080
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
8081
if test "${ac_cv_prog_OTOOL+set}" = set; then
 
8082
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
8083
else
 
8084
  if test -n "$OTOOL"; then
 
8085
  ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
 
8086
else
 
8087
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
8088
for as_dir in $PATH
 
8089
do
 
8090
  IFS=$as_save_IFS
 
8091
  test -z "$as_dir" && as_dir=.
 
8092
  for ac_exec_ext in '' $ac_executable_extensions; do
 
8093
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
8094
    ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
 
8095
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
8096
    break 2
 
8097
  fi
 
8098
done
 
8099
done
 
8100
IFS=$as_save_IFS
 
8101
 
 
8102
fi
 
8103
fi
 
8104
OTOOL=$ac_cv_prog_OTOOL
 
8105
if test -n "$OTOOL"; then
 
8106
  { echo "$as_me:$LINENO: result: $OTOOL" >&5
 
8107
echo "${ECHO_T}$OTOOL" >&6; }
 
8108
else
 
8109
  { echo "$as_me:$LINENO: result: no" >&5
 
8110
echo "${ECHO_T}no" >&6; }
 
8111
fi
 
8112
 
 
8113
 
 
8114
fi
 
8115
if test -z "$ac_cv_prog_OTOOL"; then
 
8116
  ac_ct_OTOOL=$OTOOL
 
8117
  # Extract the first word of "otool", so it can be a program name with args.
 
8118
set dummy otool; ac_word=$2
 
8119
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
8120
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
8121
if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then
 
8122
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
8123
else
 
8124
  if test -n "$ac_ct_OTOOL"; then
 
8125
  ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
 
8126
else
 
8127
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
8128
for as_dir in $PATH
 
8129
do
 
8130
  IFS=$as_save_IFS
 
8131
  test -z "$as_dir" && as_dir=.
 
8132
  for ac_exec_ext in '' $ac_executable_extensions; do
 
8133
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
8134
    ac_cv_prog_ac_ct_OTOOL="otool"
 
8135
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
8136
    break 2
 
8137
  fi
 
8138
done
 
8139
done
 
8140
IFS=$as_save_IFS
 
8141
 
 
8142
fi
 
8143
fi
 
8144
ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
 
8145
if test -n "$ac_ct_OTOOL"; then
 
8146
  { echo "$as_me:$LINENO: result: $ac_ct_OTOOL" >&5
 
8147
echo "${ECHO_T}$ac_ct_OTOOL" >&6; }
 
8148
else
 
8149
  { echo "$as_me:$LINENO: result: no" >&5
 
8150
echo "${ECHO_T}no" >&6; }
 
8151
fi
 
8152
 
 
8153
  if test "x$ac_ct_OTOOL" = x; then
 
8154
    OTOOL=":"
 
8155
  else
 
8156
    case $cross_compiling:$ac_tool_warned in
 
8157
yes:)
 
8158
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
8159
whose name does not start with the host triplet.  If you think this
 
8160
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
8161
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
8162
whose name does not start with the host triplet.  If you think this
 
8163
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
8164
ac_tool_warned=yes ;;
 
8165
esac
 
8166
    OTOOL=$ac_ct_OTOOL
 
8167
  fi
 
8168
else
 
8169
  OTOOL="$ac_cv_prog_OTOOL"
 
8170
fi
 
8171
 
 
8172
    if test -n "$ac_tool_prefix"; then
 
8173
  # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
 
8174
set dummy ${ac_tool_prefix}otool64; ac_word=$2
 
8175
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
8176
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
8177
if test "${ac_cv_prog_OTOOL64+set}" = set; then
 
8178
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
8179
else
 
8180
  if test -n "$OTOOL64"; then
 
8181
  ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
 
8182
else
 
8183
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
8184
for as_dir in $PATH
 
8185
do
 
8186
  IFS=$as_save_IFS
 
8187
  test -z "$as_dir" && as_dir=.
 
8188
  for ac_exec_ext in '' $ac_executable_extensions; do
 
8189
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
8190
    ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
 
8191
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
8192
    break 2
 
8193
  fi
 
8194
done
 
8195
done
 
8196
IFS=$as_save_IFS
 
8197
 
 
8198
fi
 
8199
fi
 
8200
OTOOL64=$ac_cv_prog_OTOOL64
 
8201
if test -n "$OTOOL64"; then
 
8202
  { echo "$as_me:$LINENO: result: $OTOOL64" >&5
 
8203
echo "${ECHO_T}$OTOOL64" >&6; }
 
8204
else
 
8205
  { echo "$as_me:$LINENO: result: no" >&5
 
8206
echo "${ECHO_T}no" >&6; }
 
8207
fi
 
8208
 
 
8209
 
 
8210
fi
 
8211
if test -z "$ac_cv_prog_OTOOL64"; then
 
8212
  ac_ct_OTOOL64=$OTOOL64
 
8213
  # Extract the first word of "otool64", so it can be a program name with args.
 
8214
set dummy otool64; ac_word=$2
 
8215
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
8216
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
8217
if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then
 
8218
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
8219
else
 
8220
  if test -n "$ac_ct_OTOOL64"; then
 
8221
  ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
 
8222
else
 
8223
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
8224
for as_dir in $PATH
 
8225
do
 
8226
  IFS=$as_save_IFS
 
8227
  test -z "$as_dir" && as_dir=.
 
8228
  for ac_exec_ext in '' $ac_executable_extensions; do
 
8229
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
8230
    ac_cv_prog_ac_ct_OTOOL64="otool64"
 
8231
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
8232
    break 2
 
8233
  fi
 
8234
done
 
8235
done
 
8236
IFS=$as_save_IFS
 
8237
 
 
8238
fi
 
8239
fi
 
8240
ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
 
8241
if test -n "$ac_ct_OTOOL64"; then
 
8242
  { echo "$as_me:$LINENO: result: $ac_ct_OTOOL64" >&5
 
8243
echo "${ECHO_T}$ac_ct_OTOOL64" >&6; }
 
8244
else
 
8245
  { echo "$as_me:$LINENO: result: no" >&5
 
8246
echo "${ECHO_T}no" >&6; }
 
8247
fi
 
8248
 
 
8249
  if test "x$ac_ct_OTOOL64" = x; then
 
8250
    OTOOL64=":"
 
8251
  else
 
8252
    case $cross_compiling:$ac_tool_warned in
 
8253
yes:)
 
8254
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
8255
whose name does not start with the host triplet.  If you think this
 
8256
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
8257
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
8258
whose name does not start with the host triplet.  If you think this
 
8259
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
8260
ac_tool_warned=yes ;;
 
8261
esac
 
8262
    OTOOL64=$ac_ct_OTOOL64
 
8263
  fi
 
8264
else
 
8265
  OTOOL64="$ac_cv_prog_OTOOL64"
 
8266
fi
 
8267
 
 
8268
 
 
8269
 
 
8270
 
 
8271
 
 
8272
 
 
8273
 
 
8274
 
 
8275
 
 
8276
 
 
8277
 
 
8278
 
 
8279
 
 
8280
 
 
8281
 
 
8282
 
7969
8283
 
7970
8284
 
7971
8285
 
7988
8302
        # by either setting the environment variable LT_MULTI_MODULE
7989
8303
        # non-empty at configure time, or by adding -multi_module to the
7990
8304
        # link flags.
 
8305
        rm -rf libconftest.dylib*
7991
8306
        echo "int foo(void){return 1;}" > conftest.c
 
8307
        echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
 
8308
-dynamiclib -Wl,-single_module conftest.c" >&5
7992
8309
        $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7993
 
          -dynamiclib ${wl}-single_module conftest.c
7994
 
        if test -f libconftest.dylib; then
 
8310
          -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
 
8311
        _lt_result=$?
 
8312
        if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7995
8313
          lt_cv_apple_cc_single_mod=yes
7996
 
          rm -rf libconftest.dylib*
 
8314
        else
 
8315
          cat conftest.err >&5
7997
8316
        fi
7998
 
        rm conftest.c
 
8317
        rm -rf libconftest.dylib*
 
8318
        rm -f conftest.*
7999
8319
      fi
8000
8320
fi
8001
8321
{ echo "$as_me:$LINENO: result: $lt_cv_apple_cc_single_mod" >&5
9601
9921
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9602
9922
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9603
9923
   -e 's:$: $lt_compiler_flag:'`
9604
 
   (eval echo "\"\$as_me:9604: $lt_compile\"" >&5)
 
9924
   (eval echo "\"\$as_me:9924: $lt_compile\"" >&5)
9605
9925
   (eval "$lt_compile" 2>conftest.err)
9606
9926
   ac_status=$?
9607
9927
   cat conftest.err >&5
9608
 
   echo "$as_me:9608: \$? = $ac_status" >&5
 
9928
   echo "$as_me:9928: \$? = $ac_status" >&5
9609
9929
   if (exit $ac_status) && test -s "$ac_outfile"; then
9610
9930
     # The compiler can only warn and ignore the option if not recognized
9611
9931
     # So say no if there are warnings other than the usual output.
9655
9975
      ;;
9656
9976
 
9657
9977
    amigaos*)
9658
 
      if test "$host_cpu" = m68k; then
9659
 
        # FIXME: we need at least 68020 code to build shared libraries, but
9660
 
        # adding the `-m68020' flag to GCC prevents building anything better,
9661
 
        # like `-m68040'.
9662
 
        lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
9663
 
      fi
 
9978
      case $host_cpu in
 
9979
      powerpc)
 
9980
            # see comment about AmigaOS4 .so support
 
9981
            lt_prog_compiler_pic='-fPIC'
 
9982
        ;;
 
9983
      m68k)
 
9984
            # FIXME: we need at least 68020 code to build shared libraries, but
 
9985
            # adding the `-m68020' flag to GCC prevents building anything better,
 
9986
            # like `-m68040'.
 
9987
            lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
 
9988
        ;;
 
9989
      esac
9664
9990
      ;;
9665
9991
 
9666
9992
    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
9919
10245
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9920
10246
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9921
10247
   -e 's:$: $lt_compiler_flag:'`
9922
 
   (eval echo "\"\$as_me:9922: $lt_compile\"" >&5)
 
10248
   (eval echo "\"\$as_me:10248: $lt_compile\"" >&5)
9923
10249
   (eval "$lt_compile" 2>conftest.err)
9924
10250
   ac_status=$?
9925
10251
   cat conftest.err >&5
9926
 
   echo "$as_me:9926: \$? = $ac_status" >&5
 
10252
   echo "$as_me:10252: \$? = $ac_status" >&5
9927
10253
   if (exit $ac_status) && test -s "$ac_outfile"; then
9928
10254
     # The compiler can only warn and ignore the option if not recognized
9929
10255
     # So say no if there are warnings other than the usual output.
10024
10350
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10025
10351
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10026
10352
   -e 's:$: $lt_compiler_flag:'`
10027
 
   (eval echo "\"\$as_me:10027: $lt_compile\"" >&5)
 
10353
   (eval echo "\"\$as_me:10353: $lt_compile\"" >&5)
10028
10354
   (eval "$lt_compile" 2>out/conftest.err)
10029
10355
   ac_status=$?
10030
10356
   cat out/conftest.err >&5
10031
 
   echo "$as_me:10031: \$? = $ac_status" >&5
 
10357
   echo "$as_me:10357: \$? = $ac_status" >&5
10032
10358
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
10033
10359
   then
10034
10360
     # The compiler can only warn and ignore the option if not recognized
10079
10405
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10080
10406
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10081
10407
   -e 's:$: $lt_compiler_flag:'`
10082
 
   (eval echo "\"\$as_me:10082: $lt_compile\"" >&5)
 
10408
   (eval echo "\"\$as_me:10408: $lt_compile\"" >&5)
10083
10409
   (eval "$lt_compile" 2>out/conftest.err)
10084
10410
   ac_status=$?
10085
10411
   cat out/conftest.err >&5
10086
 
   echo "$as_me:10086: \$? = $ac_status" >&5
 
10412
   echo "$as_me:10412: \$? = $ac_status" >&5
10087
10413
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
10088
10414
   then
10089
10415
     # The compiler can only warn and ignore the option if not recognized
10245
10571
      ;;
10246
10572
 
10247
10573
    amigaos*)
10248
 
      if test "$host_cpu" = m68k; then
10249
 
        archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
10250
 
        hardcode_libdir_flag_spec='-L$libdir'
10251
 
        hardcode_minus_L=yes
10252
 
      fi
10253
 
 
10254
 
      # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
10255
 
      # that the semantics of dynamic libraries on AmigaOS, at least up
10256
 
      # to version 4, is to share data among multiple programs linked
10257
 
      # with the same dynamic library.  Since this doesn't match the
10258
 
      # behavior of shared libraries on other platforms, we can't use
10259
 
      # them.
10260
 
      ld_shlibs=no
 
10574
      case $host_cpu in
 
10575
      powerpc)
 
10576
            # see comment about AmigaOS4 .so support
 
10577
            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
10578
            archive_expsym_cmds=''
 
10579
        ;;
 
10580
      m68k)
 
10581
            archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
 
10582
            hardcode_libdir_flag_spec='-L$libdir'
 
10583
            hardcode_minus_L=yes
 
10584
        ;;
 
10585
      esac
10261
10586
      ;;
10262
10587
 
10263
10588
    beos*)
10378
10703
      fi
10379
10704
      ;;
10380
10705
 
10381
 
    netbsd*)
 
10706
    netbsd* | netbsdelf*-gnu)
10382
10707
      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10383
10708
        archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
10384
10709
        wlarc=
10553
10878
        if test "$aix_use_runtimelinking" = yes; then
10554
10879
          shared_flag="$shared_flag "'${wl}-G'
10555
10880
        fi
 
10881
        link_all_deplibs=no
10556
10882
      else
10557
10883
        # not using gcc
10558
10884
        if test "$host_cpu" = ia64; then
10716
11042
      ;;
10717
11043
 
10718
11044
    amigaos*)
10719
 
      if test "$host_cpu" = m68k; then
10720
 
        archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
10721
 
        hardcode_libdir_flag_spec='-L$libdir'
10722
 
        hardcode_minus_L=yes
10723
 
      fi
10724
 
      # see comment about different semantics on the GNU ld section
10725
 
      ld_shlibs=no
 
11045
      case $host_cpu in
 
11046
      powerpc)
 
11047
            # see comment about AmigaOS4 .so support
 
11048
            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
11049
            archive_expsym_cmds=''
 
11050
        ;;
 
11051
      m68k)
 
11052
            archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
 
11053
            hardcode_libdir_flag_spec='-L$libdir'
 
11054
            hardcode_minus_L=yes
 
11055
        ;;
 
11056
      esac
10726
11057
      ;;
10727
11058
 
10728
11059
    bsdi[45]*)
10945
11276
      link_all_deplibs=yes
10946
11277
      ;;
10947
11278
 
10948
 
    netbsd*)
 
11279
    netbsd* | netbsdelf*-gnu)
10949
11280
      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10950
11281
        archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
10951
11282
      else
11556
11887
  ;;
11557
11888
 
11558
11889
amigaos*)
11559
 
  if test "$host_cpu" = m68k; then
 
11890
  case $host_cpu in
 
11891
  powerpc)
 
11892
    # Since July 2007 AmigaOS4 officially supports .so libraries.
 
11893
    # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
 
11894
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
11895
    ;;
 
11896
  m68k)
11560
11897
    library_names_spec='$libname.ixlibrary $libname.a'
11561
11898
    # Create ${libname}_ixlibrary.a entries in /sys/libs.
11562
11899
    finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$ECHO "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
11563
 
  else
11564
 
    dynamic_linker=no
11565
 
  fi
 
11900
    ;;
 
11901
  esac
11566
11902
  ;;
11567
11903
 
11568
11904
beos*)
11913
12249
  dynamic_linker='GNU/Linux ld.so'
11914
12250
  ;;
11915
12251
 
 
12252
netbsdelf*-gnu)
 
12253
  version_type=linux
 
12254
  need_lib_prefix=no
 
12255
  need_version=no
 
12256
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
 
12257
  soname_spec='${libname}${release}${shared_ext}$major'
 
12258
  shlibpath_var=LD_LIBRARY_PATH
 
12259
  shlibpath_overrides_runpath=no
 
12260
  hardcode_into_libs=yes
 
12261
  dynamic_linker='NetBSD ld.elf_so'
 
12262
  ;;
 
12263
 
11916
12264
netbsd*)
11917
12265
  version_type=sunos
11918
12266
  need_lib_prefix=no
12818
13166
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12819
13167
  lt_status=$lt_dlunknown
12820
13168
  cat > conftest.$ac_ext <<_LT_EOF
12821
 
#line 12821 "configure"
 
13169
#line 13169 "configure"
12822
13170
#include "confdefs.h"
12823
13171
 
12824
13172
#if HAVE_DLFCN_H
12918
13266
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12919
13267
  lt_status=$lt_dlunknown
12920
13268
  cat > conftest.$ac_ext <<_LT_EOF
12921
 
#line 12921 "configure"
 
13269
#line 13269 "configure"
12922
13270
#include "confdefs.h"
12923
13271
 
12924
13272
#if HAVE_DLFCN_H
14601
14949
        lt_prog_compiler_static_CXX='-Bstatic'
14602
14950
      fi
14603
14951
      ;;
 
14952
 
14604
14953
    amigaos*)
14605
 
      if test "$host_cpu" = m68k; then
14606
 
        # FIXME: we need at least 68020 code to build shared libraries, but
14607
 
        # adding the `-m68020' flag to GCC prevents building anything better,
14608
 
        # like `-m68040'.
14609
 
        lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
14610
 
      fi
 
14954
      case $host_cpu in
 
14955
      powerpc)
 
14956
            # see comment about AmigaOS4 .so support
 
14957
            lt_prog_compiler_pic_CXX='-fPIC'
 
14958
        ;;
 
14959
      m68k)
 
14960
            # FIXME: we need at least 68020 code to build shared libraries, but
 
14961
            # adding the `-m68020' flag to GCC prevents building anything better,
 
14962
            # like `-m68040'.
 
14963
            lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
 
14964
        ;;
 
14965
      esac
14611
14966
      ;;
 
14967
 
14612
14968
    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
14613
14969
      # PIC is the default for these OSes.
14614
14970
      ;;
14789
15145
            ;;
14790
15146
        esac
14791
15147
        ;;
14792
 
      netbsd*)
 
15148
      netbsd* | netbsdelf*-gnu)
14793
15149
        ;;
14794
15150
      *qnx* | *nto*)
14795
15151
        # QNX uses GNU C++, but need to define -shared option too, otherwise
14913
15269
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14914
15270
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14915
15271
   -e 's:$: $lt_compiler_flag:'`
14916
 
   (eval echo "\"\$as_me:14916: $lt_compile\"" >&5)
 
15272
   (eval echo "\"\$as_me:15272: $lt_compile\"" >&5)
14917
15273
   (eval "$lt_compile" 2>conftest.err)
14918
15274
   ac_status=$?
14919
15275
   cat conftest.err >&5
14920
 
   echo "$as_me:14920: \$? = $ac_status" >&5
 
15276
   echo "$as_me:15276: \$? = $ac_status" >&5
14921
15277
   if (exit $ac_status) && test -s "$ac_outfile"; then
14922
15278
     # The compiler can only warn and ignore the option if not recognized
14923
15279
     # So say no if there are warnings other than the usual output.
15012
15368
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15013
15369
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15014
15370
   -e 's:$: $lt_compiler_flag:'`
15015
 
   (eval echo "\"\$as_me:15015: $lt_compile\"" >&5)
 
15371
   (eval echo "\"\$as_me:15371: $lt_compile\"" >&5)
15016
15372
   (eval "$lt_compile" 2>out/conftest.err)
15017
15373
   ac_status=$?
15018
15374
   cat out/conftest.err >&5
15019
 
   echo "$as_me:15019: \$? = $ac_status" >&5
 
15375
   echo "$as_me:15375: \$? = $ac_status" >&5
15020
15376
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
15021
15377
   then
15022
15378
     # The compiler can only warn and ignore the option if not recognized
15064
15420
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15065
15421
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15066
15422
   -e 's:$: $lt_compiler_flag:'`
15067
 
   (eval echo "\"\$as_me:15067: $lt_compile\"" >&5)
 
15423
   (eval echo "\"\$as_me:15423: $lt_compile\"" >&5)
15068
15424
   (eval "$lt_compile" 2>out/conftest.err)
15069
15425
   ac_status=$?
15070
15426
   cat out/conftest.err >&5
15071
 
   echo "$as_me:15071: \$? = $ac_status" >&5
 
15427
   echo "$as_me:15427: \$? = $ac_status" >&5
15072
15428
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
15073
15429
   then
15074
15430
     # The compiler can only warn and ignore the option if not recognized
15140
15496
  cygwin* | mingw*)
15141
15497
    export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;/^.*[ ]__nm__/s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
15142
15498
  ;;
 
15499
  linux* | k*bsd*-gnu)
 
15500
    link_all_deplibs_CXX=no
 
15501
  ;;
15143
15502
  *)
15144
15503
    export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
15145
15504
  ;;
15361
15720
  ;;
15362
15721
 
15363
15722
amigaos*)
15364
 
  if test "$host_cpu" = m68k; then
 
15723
  case $host_cpu in
 
15724
  powerpc)
 
15725
    # Since July 2007 AmigaOS4 officially supports .so libraries.
 
15726
    # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
 
15727
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
15728
    ;;
 
15729
  m68k)
15365
15730
    library_names_spec='$libname.ixlibrary $libname.a'
15366
15731
    # Create ${libname}_ixlibrary.a entries in /sys/libs.
15367
15732
    finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$ECHO "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
15368
 
  else
15369
 
    dynamic_linker=no
15370
 
  fi
 
15733
    ;;
 
15734
  esac
15371
15735
  ;;
15372
15736
 
15373
15737
beos*)
15717
16081
  dynamic_linker='GNU/Linux ld.so'
15718
16082
  ;;
15719
16083
 
 
16084
netbsdelf*-gnu)
 
16085
  version_type=linux
 
16086
  need_lib_prefix=no
 
16087
  need_version=no
 
16088
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
 
16089
  soname_spec='${libname}${release}${shared_ext}$major'
 
16090
  shlibpath_var=LD_LIBRARY_PATH
 
16091
  shlibpath_overrides_runpath=no
 
16092
  hardcode_into_libs=yes
 
16093
  dynamic_linker='NetBSD ld.elf_so'
 
16094
  ;;
 
16095
 
15720
16096
netbsd*)
15721
16097
  version_type=sunos
15722
16098
  need_lib_prefix=no
19205
19581
fi
19206
19582
 
19207
19583
#
 
19584
# Parts of our Linux code require more recent version of glib
 
19585
#
 
19586
if test "$os" = "linux"; then
 
19587
 
 
19588
 
 
19589
   if test -z "glib-2.0"; then
 
19590
      { { echo "$as_me:$LINENO: error: 'library' parameter is required.'" >&5
 
19591
echo "$as_me: error: 'library' parameter is required.'" >&2;}
 
19592
   { (exit 1); exit 1; }; }
 
19593
   fi
 
19594
   if test -z "GLIB2"; then
 
19595
      { { echo "$as_me:$LINENO: error: 'lvar' parameter is required.'" >&5
 
19596
echo "$as_me: error: 'lvar' parameter is required.'" >&2;}
 
19597
   { (exit 1); exit 1; }; }
 
19598
   fi
 
19599
 
 
19600
   ac_vmw_have_lib=0
 
19601
   ac_vmw_have_lib_func=0
 
19602
   ac_vmw_have_lib_header=0
 
19603
 
 
19604
   #
 
19605
   # First, try any user-defined CUSTOM_* flags.
 
19606
   #
 
19607
   if test -n "${CUSTOM_GLIB2_CPPFLAGS}" || test -n "${CUSTOM_GLIB2_LIBS}"; then
 
19608
      CUSTOM_GLIB2_LIBS="${CUSTOM_GLIB2_LIBS} -lglib-2.0"
 
19609
      if test -n "glib.h"; then
 
19610
         ORIGINAL_CPPFLAGS="$CPPFLAGS"
 
19611
         CPPFLAGS="${CUSTOM_GLIB2_CPPFLAGS} $CPPFLAGS"
 
19612
 
 
19613
         if test "${ac_cv_header_glib_h+set}" = set; then
 
19614
  { echo "$as_me:$LINENO: checking for glib.h" >&5
 
19615
echo $ECHO_N "checking for glib.h... $ECHO_C" >&6; }
 
19616
if test "${ac_cv_header_glib_h+set}" = set; then
 
19617
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
19618
fi
 
19619
{ echo "$as_me:$LINENO: result: $ac_cv_header_glib_h" >&5
 
19620
echo "${ECHO_T}$ac_cv_header_glib_h" >&6; }
 
19621
else
 
19622
  # Is the header compilable?
 
19623
{ echo "$as_me:$LINENO: checking glib.h usability" >&5
 
19624
echo $ECHO_N "checking glib.h usability... $ECHO_C" >&6; }
 
19625
cat >conftest.$ac_ext <<_ACEOF
 
19626
/* confdefs.h.  */
 
19627
_ACEOF
 
19628
cat confdefs.h >>conftest.$ac_ext
 
19629
cat >>conftest.$ac_ext <<_ACEOF
 
19630
/* end confdefs.h.  */
 
19631
$ac_includes_default
 
19632
#include <glib.h>
 
19633
_ACEOF
 
19634
rm -f conftest.$ac_objext
 
19635
if { (ac_try="$ac_compile"
 
19636
case "(($ac_try" in
 
19637
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
19638
  *) ac_try_echo=$ac_try;;
 
19639
esac
 
19640
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
19641
  (eval "$ac_compile") 2>conftest.er1
 
19642
  ac_status=$?
 
19643
  grep -v '^ *+' conftest.er1 >conftest.err
 
19644
  rm -f conftest.er1
 
19645
  cat conftest.err >&5
 
19646
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
19647
  (exit $ac_status); } && {
 
19648
         test -z "$ac_c_werror_flag" ||
 
19649
         test ! -s conftest.err
 
19650
       } && test -s conftest.$ac_objext; then
 
19651
  ac_header_compiler=yes
 
19652
else
 
19653
  echo "$as_me: failed program was:" >&5
 
19654
sed 's/^/| /' conftest.$ac_ext >&5
 
19655
 
 
19656
        ac_header_compiler=no
 
19657
fi
 
19658
 
 
19659
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
19660
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 
19661
echo "${ECHO_T}$ac_header_compiler" >&6; }
 
19662
 
 
19663
# Is the header present?
 
19664
{ echo "$as_me:$LINENO: checking glib.h presence" >&5
 
19665
echo $ECHO_N "checking glib.h presence... $ECHO_C" >&6; }
 
19666
cat >conftest.$ac_ext <<_ACEOF
 
19667
/* confdefs.h.  */
 
19668
_ACEOF
 
19669
cat confdefs.h >>conftest.$ac_ext
 
19670
cat >>conftest.$ac_ext <<_ACEOF
 
19671
/* end confdefs.h.  */
 
19672
#include <glib.h>
 
19673
_ACEOF
 
19674
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
19675
case "(($ac_try" in
 
19676
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
19677
  *) ac_try_echo=$ac_try;;
 
19678
esac
 
19679
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
19680
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
 
19681
  ac_status=$?
 
19682
  grep -v '^ *+' conftest.er1 >conftest.err
 
19683
  rm -f conftest.er1
 
19684
  cat conftest.err >&5
 
19685
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
19686
  (exit $ac_status); } >/dev/null && {
 
19687
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
19688
         test ! -s conftest.err
 
19689
       }; then
 
19690
  ac_header_preproc=yes
 
19691
else
 
19692
  echo "$as_me: failed program was:" >&5
 
19693
sed 's/^/| /' conftest.$ac_ext >&5
 
19694
 
 
19695
  ac_header_preproc=no
 
19696
fi
 
19697
 
 
19698
rm -f conftest.err conftest.$ac_ext
 
19699
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 
19700
echo "${ECHO_T}$ac_header_preproc" >&6; }
 
19701
 
 
19702
# So?  What about this header?
 
19703
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
 
19704
  yes:no: )
 
19705
    { echo "$as_me:$LINENO: WARNING: glib.h: accepted by the compiler, rejected by the preprocessor!" >&5
 
19706
echo "$as_me: WARNING: glib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
 
19707
    { echo "$as_me:$LINENO: WARNING: glib.h: proceeding with the compiler's result" >&5
 
19708
echo "$as_me: WARNING: glib.h: proceeding with the compiler's result" >&2;}
 
19709
    ac_header_preproc=yes
 
19710
    ;;
 
19711
  no:yes:* )
 
19712
    { echo "$as_me:$LINENO: WARNING: glib.h: present but cannot be compiled" >&5
 
19713
echo "$as_me: WARNING: glib.h: present but cannot be compiled" >&2;}
 
19714
    { echo "$as_me:$LINENO: WARNING: glib.h:     check for missing prerequisite headers?" >&5
 
19715
echo "$as_me: WARNING: glib.h:     check for missing prerequisite headers?" >&2;}
 
19716
    { echo "$as_me:$LINENO: WARNING: glib.h: see the Autoconf documentation" >&5
 
19717
echo "$as_me: WARNING: glib.h: see the Autoconf documentation" >&2;}
 
19718
    { echo "$as_me:$LINENO: WARNING: glib.h:     section \"Present But Cannot Be Compiled\"" >&5
 
19719
echo "$as_me: WARNING: glib.h:     section \"Present But Cannot Be Compiled\"" >&2;}
 
19720
    { echo "$as_me:$LINENO: WARNING: glib.h: proceeding with the preprocessor's result" >&5
 
19721
echo "$as_me: WARNING: glib.h: proceeding with the preprocessor's result" >&2;}
 
19722
    { echo "$as_me:$LINENO: WARNING: glib.h: in the future, the compiler will take precedence" >&5
 
19723
echo "$as_me: WARNING: glib.h: in the future, the compiler will take precedence" >&2;}
 
19724
    ( cat <<\_ASBOX
 
19725
## -------------------------------------------------------- ##
 
19726
## Report this to open-vm-tools-devel@lists.sourceforge.net ##
 
19727
## -------------------------------------------------------- ##
 
19728
_ASBOX
 
19729
     ) | sed "s/^/$as_me: WARNING:     /" >&2
 
19730
    ;;
 
19731
esac
 
19732
{ echo "$as_me:$LINENO: checking for glib.h" >&5
 
19733
echo $ECHO_N "checking for glib.h... $ECHO_C" >&6; }
 
19734
if test "${ac_cv_header_glib_h+set}" = set; then
 
19735
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
19736
else
 
19737
  ac_cv_header_glib_h=$ac_header_preproc
 
19738
fi
 
19739
{ echo "$as_me:$LINENO: result: $ac_cv_header_glib_h" >&5
 
19740
echo "${ECHO_T}$ac_cv_header_glib_h" >&6; }
 
19741
 
 
19742
fi
 
19743
if test $ac_cv_header_glib_h = yes; then
 
19744
  ac_vmw_have_lib_header=1
 
19745
fi
 
19746
 
 
19747
 
 
19748
 
 
19749
         CPPFLAGS="$ORIGINAL_CPPFLAGS"
 
19750
      else
 
19751
         ac_vmw_have_lib_header=1
 
19752
      fi
 
19753
 
 
19754
      # Check a specific function in the library if requested.
 
19755
      # If it hasn't, just pick a random function from libc, just to make
 
19756
      # sure the linker can find the library being tested.
 
19757
      if test $ac_vmw_have_lib_header -eq 1; then
 
19758
         if test -n "g_regex_new"; then
 
19759
            ac_vmw_function=g_regex_new
 
19760
         else
 
19761
            ac_vmw_function=strlen
 
19762
         fi
 
19763
         as_ac_Lib=`echo "ac_cv_lib_glib-2.0_$ac_vmw_function" | $as_tr_sh`
 
19764
{ echo "$as_me:$LINENO: checking for $ac_vmw_function in -lglib-2.0" >&5
 
19765
echo $ECHO_N "checking for $ac_vmw_function in -lglib-2.0... $ECHO_C" >&6; }
 
19766
if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
 
19767
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
19768
else
 
19769
  ac_check_lib_save_LIBS=$LIBS
 
19770
LIBS="-lglib-2.0 ${CUSTOM_GLIB2_LIBS} $LIBS"
 
19771
cat >conftest.$ac_ext <<_ACEOF
 
19772
/* confdefs.h.  */
 
19773
_ACEOF
 
19774
cat confdefs.h >>conftest.$ac_ext
 
19775
cat >>conftest.$ac_ext <<_ACEOF
 
19776
/* end confdefs.h.  */
 
19777
 
 
19778
/* Override any GCC internal prototype to avoid an error.
 
19779
   Use char because int might match the return type of a GCC
 
19780
   builtin and then its argument prototype would still apply.  */
 
19781
#ifdef __cplusplus
 
19782
extern "C"
 
19783
#endif
 
19784
char $ac_vmw_function ();
 
19785
int
 
19786
main ()
 
19787
{
 
19788
return $ac_vmw_function ();
 
19789
  ;
 
19790
  return 0;
 
19791
}
 
19792
_ACEOF
 
19793
rm -f conftest.$ac_objext conftest$ac_exeext
 
19794
if { (ac_try="$ac_link"
 
19795
case "(($ac_try" in
 
19796
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
19797
  *) ac_try_echo=$ac_try;;
 
19798
esac
 
19799
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
19800
  (eval "$ac_link") 2>conftest.er1
 
19801
  ac_status=$?
 
19802
  grep -v '^ *+' conftest.er1 >conftest.err
 
19803
  rm -f conftest.er1
 
19804
  cat conftest.err >&5
 
19805
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
19806
  (exit $ac_status); } && {
 
19807
         test -z "$ac_c_werror_flag" ||
 
19808
         test ! -s conftest.err
 
19809
       } && test -s conftest$ac_exeext &&
 
19810
       $as_test_x conftest$ac_exeext; then
 
19811
  eval "$as_ac_Lib=yes"
 
19812
else
 
19813
  echo "$as_me: failed program was:" >&5
 
19814
sed 's/^/| /' conftest.$ac_ext >&5
 
19815
 
 
19816
        eval "$as_ac_Lib=no"
 
19817
fi
 
19818
 
 
19819
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
19820
      conftest$ac_exeext conftest.$ac_ext
 
19821
LIBS=$ac_check_lib_save_LIBS
 
19822
fi
 
19823
ac_res=`eval echo '${'$as_ac_Lib'}'`
 
19824
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
19825
echo "${ECHO_T}$ac_res" >&6; }
 
19826
if test `eval echo '${'$as_ac_Lib'}'` = yes; then
 
19827
  ac_vmw_have_lib_func=1
 
19828
fi
 
19829
 
 
19830
      fi
 
19831
 
 
19832
      if test $ac_vmw_have_lib_func -eq 1 && test $ac_vmw_have_lib_header -eq 1; then
 
19833
         GLIB2_CPPFLAGS="${CUSTOM_GLIB2_CPPFLAGS}"
 
19834
         GLIB2_LIBS="${CUSTOM_GLIB2_LIBS}"
 
19835
         ac_vmw_have_lib=1
 
19836
      fi
 
19837
   fi
 
19838
 
 
19839
   # If that didn't work, try with pkg-config.
 
19840
   if test $ac_vmw_have_lib -eq 0 && test "$HAVE_PKG_CONFIG" = "yes" && test -n "glib-2.0"; then
 
19841
      if test -n "2.14.0"; then
 
19842
         { echo "$as_me:$LINENO: checking for glib-2.0 >= 2.14.0 (via pkg-config)" >&5
 
19843
echo $ECHO_N "checking for glib-2.0 >= 2.14.0 (via pkg-config)... $ECHO_C" >&6; }
 
19844
         if pkg-config --exists 'glib-2.0 >= 2.14.0'; then
 
19845
            ac_vmw_have_lib=1
 
19846
         fi
 
19847
      else
 
19848
         { echo "$as_me:$LINENO: checking for glib-2.0 (via pkg-config)" >&5
 
19849
echo $ECHO_N "checking for glib-2.0 (via pkg-config)... $ECHO_C" >&6; }
 
19850
         if pkg-config --exists 'glib-2.0'; then
 
19851
            ac_vmw_have_lib=1
 
19852
         fi
 
19853
      fi
 
19854
 
 
19855
      if test $ac_vmw_have_lib -eq 1; then
 
19856
         # Sometimes pkg-config might fail; for example, "pkg-config gtk+-2.0 --cflags"
 
19857
         # fails on OpenSolaris B71. So be pessimistic.
 
19858
         ac_vmw_cppflags="`pkg-config --cflags glib-2.0`"
 
19859
         ac_vmw_ret1=$?
 
19860
         ac_vmw_libs="`pkg-config --libs glib-2.0`"
 
19861
         ac_vmw_ret2=$?
 
19862
         if test $ac_vmw_ret1 -eq 0 && test $ac_vmw_ret2 -eq 0; then
 
19863
            { echo "$as_me:$LINENO: result: yes" >&5
 
19864
echo "${ECHO_T}yes" >&6; }
 
19865
            GLIB2_CPPFLAGS="$ac_vmw_cppflags"
 
19866
            GLIB2_LIBS="$ac_vmw_libs"
 
19867
         else
 
19868
            { echo "$as_me:$LINENO: result: no" >&5
 
19869
echo "${ECHO_T}no" >&6; }
 
19870
         fi
 
19871
      else
 
19872
         { echo "$as_me:$LINENO: result: no" >&5
 
19873
echo "${ECHO_T}no" >&6; }
 
19874
      fi
 
19875
   fi
 
19876
 
 
19877
   # If we still haven't found the lib, try with the library's custom "config" script.
 
19878
   # Before checking, flush the AC_PATH_PROG cached variable.
 
19879
   unset ac_cv_path_ac_vmw_lib_cfg
 
19880
   unset ac_vmw_lib_cfg
 
19881
   if test $ac_vmw_have_lib -eq 0 && test -n ""; then
 
19882
      # Extract the first word of "", so it can be a program name with args.
 
19883
set dummy ; ac_word=$2
 
19884
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
19885
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
19886
if test "${ac_cv_path_ac_vmw_lib_cfg+set}" = set; then
 
19887
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
19888
else
 
19889
  case $ac_vmw_lib_cfg in
 
19890
  [\\/]* | ?:[\\/]*)
 
19891
  ac_cv_path_ac_vmw_lib_cfg="$ac_vmw_lib_cfg" # Let the user override the test with a path.
 
19892
  ;;
 
19893
  *)
 
19894
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
19895
for as_dir in $PATH
 
19896
do
 
19897
  IFS=$as_save_IFS
 
19898
  test -z "$as_dir" && as_dir=.
 
19899
  for ac_exec_ext in '' $ac_executable_extensions; do
 
19900
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
19901
    ac_cv_path_ac_vmw_lib_cfg="$as_dir/$ac_word$ac_exec_ext"
 
19902
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
19903
    break 2
 
19904
  fi
 
19905
done
 
19906
done
 
19907
IFS=$as_save_IFS
 
19908
 
 
19909
  test -z "$ac_cv_path_ac_vmw_lib_cfg" && ac_cv_path_ac_vmw_lib_cfg="no"
 
19910
  ;;
 
19911
esac
 
19912
fi
 
19913
ac_vmw_lib_cfg=$ac_cv_path_ac_vmw_lib_cfg
 
19914
if test -n "$ac_vmw_lib_cfg"; then
 
19915
  { echo "$as_me:$LINENO: result: $ac_vmw_lib_cfg" >&5
 
19916
echo "${ECHO_T}$ac_vmw_lib_cfg" >&6; }
 
19917
else
 
19918
  { echo "$as_me:$LINENO: result: no" >&5
 
19919
echo "${ECHO_T}no" >&6; }
 
19920
fi
 
19921
 
 
19922
 
 
19923
      if test "$ac_vmw_lib_cfg" != "no"; then
 
19924
         # XXX: icu-config does not follow the "--cflags" and "--libs" convention,
 
19925
         # so single it out here to avoid having to replicate all the rest of the
 
19926
         # logic elsewhere.
 
19927
         if test `basename "$ac_vmw_lib_cfg"` = "icu-config"; then
 
19928
            GLIB2_CPPFLAGS="`$ac_vmw_lib_cfg --cppflags`"
 
19929
            GLIB2_LIBS="`$ac_vmw_lib_cfg --ldflags`"
 
19930
         else
 
19931
            GLIB2_CPPFLAGS="`$ac_vmw_lib_cfg --cflags`"
 
19932
            GLIB2_LIBS="`$ac_vmw_lib_cfg --libs`"
 
19933
         fi
 
19934
         ac_vmw_have_lib=1
 
19935
      fi
 
19936
   fi
 
19937
 
 
19938
   # Finish by executing the user provided action. The call to "true" is needed
 
19939
   # because the actions are optional, and we need something inside the block.
 
19940
   if test $ac_vmw_have_lib -eq 1; then
 
19941
 
 
19942
 
 
19943
      true
 
19944
      have_glib_2_14=yes
 
19945
   else
 
19946
      true
 
19947
      { echo "$as_me:$LINENO: WARNING: glib is not recent enough, some features will be disabled." >&5
 
19948
echo "$as_me: WARNING: glib is not recent enough, some features will be disabled." >&2;}
 
19949
   fi
 
19950
 
 
19951
fi
 
19952
 
 
19953
#
19208
19954
# Check for fuse.
19209
19955
#
19210
19956
 
22918
23664
done
22919
23665
 
22920
23666
 
22921
 
{ echo "$as_me:$LINENO: checking for pthread_mutex_init in -lpthread" >&5
 
23667
if test "$os" = "freebsd" -a "$osVersion" -ge 600000; then
 
23668
   { echo "$as_me:$LINENO: checking for pthread_mutex_init in -lthr" >&5
 
23669
echo $ECHO_N "checking for pthread_mutex_init in -lthr... $ECHO_C" >&6; }
 
23670
if test "${ac_cv_lib_thr_pthread_mutex_init+set}" = set; then
 
23671
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
23672
else
 
23673
  ac_check_lib_save_LIBS=$LIBS
 
23674
LIBS="-lthr  $LIBS"
 
23675
cat >conftest.$ac_ext <<_ACEOF
 
23676
/* confdefs.h.  */
 
23677
_ACEOF
 
23678
cat confdefs.h >>conftest.$ac_ext
 
23679
cat >>conftest.$ac_ext <<_ACEOF
 
23680
/* end confdefs.h.  */
 
23681
 
 
23682
/* Override any GCC internal prototype to avoid an error.
 
23683
   Use char because int might match the return type of a GCC
 
23684
   builtin and then its argument prototype would still apply.  */
 
23685
#ifdef __cplusplus
 
23686
extern "C"
 
23687
#endif
 
23688
char pthread_mutex_init ();
 
23689
int
 
23690
main ()
 
23691
{
 
23692
return pthread_mutex_init ();
 
23693
  ;
 
23694
  return 0;
 
23695
}
 
23696
_ACEOF
 
23697
rm -f conftest.$ac_objext conftest$ac_exeext
 
23698
if { (ac_try="$ac_link"
 
23699
case "(($ac_try" in
 
23700
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
23701
  *) ac_try_echo=$ac_try;;
 
23702
esac
 
23703
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
23704
  (eval "$ac_link") 2>conftest.er1
 
23705
  ac_status=$?
 
23706
  grep -v '^ *+' conftest.er1 >conftest.err
 
23707
  rm -f conftest.er1
 
23708
  cat conftest.err >&5
 
23709
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
23710
  (exit $ac_status); } && {
 
23711
         test -z "$ac_c_werror_flag" ||
 
23712
         test ! -s conftest.err
 
23713
       } && test -s conftest$ac_exeext &&
 
23714
       $as_test_x conftest$ac_exeext; then
 
23715
  ac_cv_lib_thr_pthread_mutex_init=yes
 
23716
else
 
23717
  echo "$as_me: failed program was:" >&5
 
23718
sed 's/^/| /' conftest.$ac_ext >&5
 
23719
 
 
23720
        ac_cv_lib_thr_pthread_mutex_init=no
 
23721
fi
 
23722
 
 
23723
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
23724
      conftest$ac_exeext conftest.$ac_ext
 
23725
LIBS=$ac_check_lib_save_LIBS
 
23726
fi
 
23727
{ echo "$as_me:$LINENO: result: $ac_cv_lib_thr_pthread_mutex_init" >&5
 
23728
echo "${ECHO_T}$ac_cv_lib_thr_pthread_mutex_init" >&6; }
 
23729
if test $ac_cv_lib_thr_pthread_mutex_init = yes; then
 
23730
  THREAD_LIB=-lthr
 
23731
else
 
23732
  { { echo "$as_me:$LINENO: error: Unable to locate required threading library libthr." >&5
 
23733
echo "$as_me: error: Unable to locate required threading library libthr." >&2;}
 
23734
   { (exit 1); exit 1; }; }
 
23735
fi
 
23736
 
 
23737
else
 
23738
   { echo "$as_me:$LINENO: checking for pthread_mutex_init in -lpthread" >&5
22922
23739
echo $ECHO_N "checking for pthread_mutex_init in -lpthread... $ECHO_C" >&6; }
22923
23740
if test "${ac_cv_lib_pthread_pthread_mutex_init+set}" = set; then
22924
23741
  echo $ECHO_N "(cached) $ECHO_C" >&6
22980
23797
{ echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_mutex_init" >&5
22981
23798
echo "${ECHO_T}$ac_cv_lib_pthread_pthread_mutex_init" >&6; }
22982
23799
if test $ac_cv_lib_pthread_pthread_mutex_init = yes; then
22983
 
  HAVE_PTHREAD=yes
 
23800
  THREAD_LIB=-lpthread
22984
23801
else
22985
23802
  { { echo "$as_me:$LINENO: error: libpthread not found. Please install the libc/libpthread devel package(s)." >&5
22986
23803
echo "$as_me: error: libpthread not found. Please install the libc/libpthread devel package(s)." >&2;}
22987
23804
   { (exit 1); exit 1; }; }
22988
23805
fi
22989
23806
 
 
23807
fi
22990
23808
 
22991
23809
# PAM prefix
22992
23810
 
28423
29241
   CPPFLAGS="$CPPFLAGS -D_BSD_SOURCE"
28424
29242
   CPPFLAGS="$CPPFLAGS -D_SVID_SOURCE"
28425
29243
 
28426
 
   if test "$osVersion" -ge 202000; then
28427
 
      MODULES="$MODULES vmmemctl vmxnet"
28428
 
   fi
28429
 
   if test "$osVersion" -ge 204000; then
28430
 
      MODULES="$MODULES vmblock vmci vmhgfs vsock"
28431
 
      buildHgfsmounter=yes
28432
 
   fi
28433
 
   if test "$osVersion" -ge 206000; then
28434
 
      MODULES="$MODULES vmxnet3"
28435
 
   fi
28436
 
   if test "$osVersion" -ge 206006; then
28437
 
      MODULES="$MODULES vmsync"
28438
 
   fi
28439
 
   if test "$osVersion" -ge 206008; then
28440
 
      MODULES="$MODULES pvscsi"
28441
 
   fi
 
29244
   MODULES="$MODULES vmmemctl vmsync vmci vsock"
 
29245
   MODULES="$MODULES vmxnet vmxnet3 pvscsi"
 
29246
   MODULES="$MODULES vmblock vmhgfs"
 
29247
   buildHgfsmounter=yes
28442
29248
fi
28443
29249
 
28444
29250
if test "$os" = "freebsd"; then
28777
29583
  HAVE_PAM_FALSE=
28778
29584
fi
28779
29585
 
 
29586
 if test "os" = "linux" -a "$have_glib_2_14" = "yes"; then
 
29587
  USE_SLASH_PROC_TRUE=
 
29588
  USE_SLASH_PROC_FALSE='#'
 
29589
else
 
29590
  USE_SLASH_PROC_TRUE='#'
 
29591
  USE_SLASH_PROC_FALSE=
 
29592
fi
 
29593
 
28780
29594
 
28781
29595
### Feature-specific flags / actions
28782
29596
# Combine where possible
28822
29636
   LIB_STRING_CPPFLAGS="$LIB_STRING_CPPFLAGS -DGLIBC_VERSION_22"
28823
29637
fi
28824
29638
 
28825
 
if test "$HAVE_PTHREAD" = "yes"; then
28826
 
   LIBVMTOOLS_LIBADD="$LIBVMTOOLS_LIBADD -lpthread"
28827
 
   VIX_LIBADD="$VIX_LIBADD -lpthread"
28828
 
   VMWARE_USER_LDADD="$VMWARE_USER_LDADD -lpthread"
28829
 
fi
 
29639
LIBVMTOOLS_LIBADD="$LIBVMTOOLS_LIBADD $THREAD_LIB"
 
29640
VIX_LIBADD="$VIX_LIBADD $THREAD_LIB"
 
29641
VMWARE_USER_LDADD="$VMWARE_USER_LDADD $THREAD_LIB"
28830
29642
 
28831
29643
### Core Services definitions.
28832
29644
 
28845
29657
 
28846
29658
# Installation directories for core services plugins.
28847
29659
TEST_PLUGIN_INSTALLDIR=$datadir/open-vm-tools/tests
 
29660
COMMON_PLUGIN_INSTALLDIR=$libdir/open-vm-tools/plugins/common
28848
29661
VMSVC_PLUGIN_INSTALLDIR=$libdir/open-vm-tools/plugins/vmsvc
28849
29662
VMUSR_PLUGIN_INSTALLDIR=$libdir/open-vm-tools/plugins/vmusr
28850
29663
 
28867
29680
 
28868
29681
 
28869
29682
 
 
29683
 
28870
29684
if test "$os" = "freebsd" -a -n "$SYSDIR"; then
28871
29685
   # If SYSDIR is not defined, AC_SUBST expands to nothing, so we need something
28872
29686
   # inside this block.
28895
29709
###
28896
29710
### Create the Makefiles
28897
29711
###
28898
 
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/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/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 docs/Makefile docs/api/Makefile scripts/Makefile"
 
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"
28899
29713
 
28900
29714
 
28901
29715
###
29174
29988
Usually this means the macro was only invoked conditionally." >&2;}
29175
29989
   { (exit 1); exit 1; }; }
29176
29990
fi
 
29991
if test -z "${USE_SLASH_PROC_TRUE}" && test -z "${USE_SLASH_PROC_FALSE}"; then
 
29992
  { { echo "$as_me:$LINENO: error: conditional \"USE_SLASH_PROC\" was never defined.
 
29993
Usually this means the macro was only invoked conditionally." >&5
 
29994
echo "$as_me: error: conditional \"USE_SLASH_PROC\" was never defined.
 
29995
Usually this means the macro was only invoked conditionally." >&2;}
 
29996
   { (exit 1); exit 1; }; }
 
29997
fi
29177
29998
 
29178
29999
: ${CONFIG_STATUS=./config.status}
29179
30000
ac_clean_files_save=$ac_clean_files
29474
30295
# report actual input values of CONFIG_FILES etc. instead of their
29475
30296
# values after options handling.
29476
30297
ac_log="
29477
 
This file was extended by open-vm-tools $as_me 2009.07.22, which was
 
30298
This file was extended by open-vm-tools $as_me 2009.10.15, which was
29478
30299
generated by GNU Autoconf 2.61.  Invocation command line was
29479
30300
 
29480
30301
  CONFIG_FILES    = $CONFIG_FILES
29521
30342
_ACEOF
29522
30343
cat >>$CONFIG_STATUS <<_ACEOF
29523
30344
ac_cs_version="\\
29524
 
open-vm-tools config.status 2009.07.22
 
30345
open-vm-tools config.status 2009.10.15
29525
30346
configured by $0, generated by GNU Autoconf 2.61,
29526
30347
  with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
29527
30348
 
29683
30504
need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
29684
30505
DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
29685
30506
NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
 
30507
LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
 
30508
OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
 
30509
OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
29686
30510
libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
29687
30511
shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
29688
30512
extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
29832
30656
need_locks \
29833
30657
DSYMUTIL \
29834
30658
NMEDIT \
 
30659
LIPO \
 
30660
OTOOL \
 
30661
OTOOL64 \
29835
30662
shrext_cmds \
29836
30663
export_dynamic_flag_spec \
29837
30664
whole_archive_flag_spec \
29992
30819
    "lib/guestRpc/Makefile") CONFIG_FILES="$CONFIG_FILES lib/guestRpc/Makefile" ;;
29993
30820
    "lib/hgfs/Makefile") CONFIG_FILES="$CONFIG_FILES lib/hgfs/Makefile" ;;
29994
30821
    "lib/hgfsBd/Makefile") CONFIG_FILES="$CONFIG_FILES lib/hgfsBd/Makefile" ;;
 
30822
    "lib/hgfsHelper/Makefile") CONFIG_FILES="$CONFIG_FILES lib/hgfsHelper/Makefile" ;;
29995
30823
    "lib/hgfsServer/Makefile") CONFIG_FILES="$CONFIG_FILES lib/hgfsServer/Makefile" ;;
29996
30824
    "lib/hgfsServerManagerGuest/Makefile") CONFIG_FILES="$CONFIG_FILES lib/hgfsServerManagerGuest/Makefile" ;;
29997
30825
    "lib/hgfsServerPolicyGuest/Makefile") CONFIG_FILES="$CONFIG_FILES lib/hgfsServerPolicyGuest/Makefile" ;;
30012
30840
    "lib/rpcOut/Makefile") CONFIG_FILES="$CONFIG_FILES lib/rpcOut/Makefile" ;;
30013
30841
    "lib/rpcVmx/Makefile") CONFIG_FILES="$CONFIG_FILES lib/rpcVmx/Makefile" ;;
30014
30842
    "lib/SLPv2Parser/Makefile") CONFIG_FILES="$CONFIG_FILES lib/SLPv2Parser/Makefile" ;;
 
30843
    "lib/slashProc/Makefile") CONFIG_FILES="$CONFIG_FILES lib/slashProc/Makefile" ;;
30015
30844
    "lib/string/Makefile") CONFIG_FILES="$CONFIG_FILES lib/string/Makefile" ;;
30016
30845
    "lib/stubs/Makefile") CONFIG_FILES="$CONFIG_FILES lib/stubs/Makefile" ;;
30017
30846
    "lib/sync/Makefile") CONFIG_FILES="$CONFIG_FILES lib/sync/Makefile" ;;
30054
30883
    "tests/vmrpcdbg/Makefile") CONFIG_FILES="$CONFIG_FILES tests/vmrpcdbg/Makefile" ;;
30055
30884
    "tests/testDebug/Makefile") CONFIG_FILES="$CONFIG_FILES tests/testDebug/Makefile" ;;
30056
30885
    "tests/testPlugin/Makefile") CONFIG_FILES="$CONFIG_FILES tests/testPlugin/Makefile" ;;
 
30886
    "tests/testVmblock/Makefile") CONFIG_FILES="$CONFIG_FILES tests/testVmblock/Makefile" ;;
30057
30887
    "docs/Makefile") CONFIG_FILES="$CONFIG_FILES docs/Makefile" ;;
30058
30888
    "docs/api/Makefile") CONFIG_FILES="$CONFIG_FILES docs/api/Makefile" ;;
30059
30889
    "scripts/Makefile") CONFIG_FILES="$CONFIG_FILES scripts/Makefile" ;;
30264
31094
lt_ECHO!$lt_ECHO$ac_delim
30265
31095
DSYMUTIL!$DSYMUTIL$ac_delim
30266
31096
NMEDIT!$NMEDIT$ac_delim
 
31097
LIPO!$LIPO$ac_delim
 
31098
OTOOL!$OTOOL$ac_delim
 
31099
OTOOL64!$OTOOL64$ac_delim
30267
31100
CXXCPP!$CXXCPP$ac_delim
30268
31101
HAVE_PKG_CONFIG!$HAVE_PKG_CONFIG$ac_delim
30269
31102
XMKMF!$XMKMF$ac_delim
30340
31173
HAVE_GTKMM_FALSE!$HAVE_GTKMM_FALSE$ac_delim
30341
31174
HAVE_PAM_TRUE!$HAVE_PAM_TRUE$ac_delim
30342
31175
HAVE_PAM_FALSE!$HAVE_PAM_FALSE$ac_delim
 
31176
USE_SLASH_PROC_TRUE!$USE_SLASH_PROC_TRUE$ac_delim
 
31177
USE_SLASH_PROC_FALSE!$USE_SLASH_PROC_FALSE$ac_delim
30343
31178
TOOLS_VERSION!$TOOLS_VERSION$ac_delim
30344
31179
TARGET_OS!$TARGET_OS$ac_delim
30345
31180
KERNEL_RELEASE!$KERNEL_RELEASE$ac_delim
30348
31183
MODULES!$MODULES$ac_delim
30349
31184
COMMON_XLIBS!$COMMON_XLIBS$ac_delim
30350
31185
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
30351
31227
PLUGIN_CPPFLAGS!$PLUGIN_CPPFLAGS$ac_delim
30352
31228
PLUGIN_LDFLAGS!$PLUGIN_LDFLAGS$ac_delim
30353
31229
VMTOOLS_CPPFLAGS!$VMTOOLS_CPPFLAGS$ac_delim
30354
31230
VMTOOLS_LIBS!$VMTOOLS_LIBS$ac_delim
30355
31231
RPCGENFLAGS!$RPCGENFLAGS$ac_delim
30356
 
_ACEOF
30357
 
 
30358
 
  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
30359
 
    break
30360
 
  elif $ac_last_try; then
30361
 
    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
30362
 
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
30363
 
   { (exit 1); exit 1; }; }
30364
 
  else
30365
 
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
30366
 
  fi
30367
 
done
30368
 
 
30369
 
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
30370
 
if test -n "$ac_eof"; then
30371
 
  ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
30372
 
  ac_eof=`expr $ac_eof + 1`
30373
 
fi
30374
 
 
30375
 
cat >>$CONFIG_STATUS <<_ACEOF
30376
 
cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
30377
 
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
30378
 
_ACEOF
30379
 
sed '
30380
 
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
30381
 
s/^/s,@/; s/!/@,|#_!!_#|/
30382
 
:n
30383
 
t n
30384
 
s/'"$ac_delim"'$/,g/; t
30385
 
s/$/\\/; p
30386
 
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
30387
 
' >>$CONFIG_STATUS <conf$$subs.sed
30388
 
rm -f conf$$subs.sed
30389
 
cat >>$CONFIG_STATUS <<_ACEOF
30390
 
CEOF$ac_eof
30391
 
_ACEOF
30392
 
 
30393
 
 
30394
 
ac_delim='%!_!# '
30395
 
for ac_last_try in false false false false false :; do
30396
 
  cat >conf$$subs.sed <<_ACEOF
30397
31232
XDR_LIBS!$XDR_LIBS$ac_delim
30398
31233
TEST_PLUGIN_INSTALLDIR!$TEST_PLUGIN_INSTALLDIR$ac_delim
 
31234
COMMON_PLUGIN_INSTALLDIR!$COMMON_PLUGIN_INSTALLDIR$ac_delim
30399
31235
VMSVC_PLUGIN_INSTALLDIR!$VMSVC_PLUGIN_INSTALLDIR$ac_delim
30400
31236
VMUSR_PLUGIN_INSTALLDIR!$VMUSR_PLUGIN_INSTALLDIR$ac_delim
30401
31237
SYSDIR!$SYSDIR$ac_delim
30415
31251
LTLIBOBJS!$LTLIBOBJS$ac_delim
30416
31252
_ACEOF
30417
31253
 
30418
 
  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 19; then
 
31254
  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 25; then
30419
31255
    break
30420
31256
  elif $ac_last_try; then
30421
31257
    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
30737
31573
  # each Makefile.in and add a new line on top of each file to say so.
30738
31574
  # Grep'ing the whole file is not good either: AIX grep has a line
30739
31575
  # limit of 2048, but all sed's we know have understand at least 4000.
30740
 
  if sed 10q "$mf" | grep '^#.*generated by automake' > /dev/null 2>&1; then
 
31576
  if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
30741
31577
    dirpart=`$as_dirname -- "$mf" ||
30742
31578
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
30743
31579
         X"$mf" : 'X\(//\)[^/]' \| \
30867
31703
#! $SHELL
30868
31704
 
30869
31705
# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
30870
 
# Generated automatically by $as_me (GNU $PACKAGE$TIMESTAMP) $VERSION
 
31706
# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
30871
31707
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
30872
31708
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
30873
31709
#
31030
31866
# Tool to change global to local symbols on Mac OS X.
31031
31867
NMEDIT=$lt_NMEDIT
31032
31868
 
 
31869
# Tool to manipulate fat objects and archives on Mac OS X.
 
31870
LIPO=$lt_LIPO
 
31871
 
 
31872
# ldd/readelf like tool for Mach-O binaries on Mac OS X.
 
31873
OTOOL=$lt_OTOOL
 
31874
 
 
31875
# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
 
31876
OTOOL64=$lt_OTOOL64
 
31877
 
31033
31878
# Old archive suffix (normally "a").
31034
31879
libext=$libext
31035
31880
 
31284
32129
  case $xsi_shell in
31285
32130
  yes)
31286
32131
    cat << \_LT_EOF >> "$cfgfile"
 
32132
 
31287
32133
# func_dirname file append nondir_replacement
31288
32134
# Compute the dirname of FILE.  If nonempty, add APPEND to the result,
31289
32135
# otherwise set result to NONDIR_REPLACEMENT.
31351
32197
    *)    func_lo2o_result=${1} ;;
31352
32198
  esac
31353
32199
}
 
32200
 
 
32201
# func_xform libobj-or-source
 
32202
func_xform ()
 
32203
{
 
32204
  func_xform_result=${1%.*}.lo
 
32205
}
 
32206
 
 
32207
# func_arith arithmetic-term...
 
32208
func_arith ()
 
32209
{
 
32210
  func_arith_result=$(( $* ))
 
32211
}
 
32212
 
 
32213
# func_len string
 
32214
# STRING may not start with a hyphen.
 
32215
func_len ()
 
32216
{
 
32217
  func_len_result=${#1}
 
32218
}
 
32219
 
31354
32220
_LT_EOF
31355
32221
    ;;
31356
32222
  *) # Bourne compatible functions.
31357
32223
    cat << \_LT_EOF >> "$cfgfile"
 
32224
 
31358
32225
# func_dirname file append nondir_replacement
31359
32226
# Compute the dirname of FILE.  If nonempty, add APPEND to the result,
31360
32227
# otherwise set result to NONDIR_REPLACEMENT.
31375
32242
  func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
31376
32243
}
31377
32244
 
31378
 
# func_dirname_and_basename file append nondir_replacement
31379
 
# perform func_basename and func_dirname in a single function
31380
 
# call:
31381
 
#   dirname:  Compute the dirname of FILE.  If nonempty,
31382
 
#             add APPEND to the result, otherwise set result
31383
 
#             to NONDIR_REPLACEMENT.
31384
 
#             value returned in "$func_dirname_result"
31385
 
#   basename: Compute filename of FILE.
31386
 
#             value retuned in "$func_basename_result"
31387
 
# Implementation must be kept synchronized with func_dirname
31388
 
# and func_basename. For efficiency, we do not delegate to
31389
 
# those functions but instead duplicate the functionality here.
31390
 
func_dirname_and_basename ()
31391
 
{
31392
 
  # Extract subdirectory from the argument.
31393
 
  func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
31394
 
  if test "X$func_dirname_result" = "X${1}"; then
31395
 
    func_dirname_result="${3}"
31396
 
  else
31397
 
    func_dirname_result="$func_dirname_result${2}"
31398
 
  fi
31399
 
  func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
31400
 
}
31401
32245
 
31402
32246
# func_stripname prefix suffix name
31403
32247
# strip PREFIX and SUFFIX off of NAME.
31431
32275
{
31432
32276
  func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
31433
32277
}
 
32278
 
 
32279
# func_xform libobj-or-source
 
32280
func_xform ()
 
32281
{
 
32282
  func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
 
32283
}
 
32284
 
 
32285
# func_arith arithmetic-term...
 
32286
func_arith ()
 
32287
{
 
32288
  func_arith_result=`expr "$@"`
 
32289
}
 
32290
 
 
32291
# func_len string
 
32292
# STRING may not start with a hyphen.
 
32293
func_len ()
 
32294
{
 
32295
  func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
 
32296
}
 
32297
 
31434
32298
_LT_EOF
31435
32299
esac
31436
32300
 
31455
32319
{
31456
32320
  eval "$1=\$$1\$2"
31457
32321
}
 
32322
 
31458
32323
_LT_EOF
31459
32324
    ;;
31460
32325
  esac