7966
7977
NMEDIT="$ac_cv_prog_NMEDIT"
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
7988
if test -n "$LIPO"; then
7989
ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7991
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
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
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; }
8013
{ echo "$as_me:$LINENO: result: no" >&5
8014
echo "${ECHO_T}no" >&6; }
8019
if test -z "$ac_cv_prog_LIPO"; then
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
8028
if test -n "$ac_ct_LIPO"; then
8029
ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
8031
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
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
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; }
8053
{ echo "$as_me:$LINENO: result: no" >&5
8054
echo "${ECHO_T}no" >&6; }
8057
if test "x$ac_ct_LIPO" = x; then
8060
case $cross_compiling:$ac_tool_warned in
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 ;;
8073
LIPO="$ac_cv_prog_LIPO"
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
8084
if test -n "$OTOOL"; then
8085
ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
8087
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
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
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; }
8109
{ echo "$as_me:$LINENO: result: no" >&5
8110
echo "${ECHO_T}no" >&6; }
8115
if test -z "$ac_cv_prog_OTOOL"; then
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
8124
if test -n "$ac_ct_OTOOL"; then
8125
ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
8127
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
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
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; }
8149
{ echo "$as_me:$LINENO: result: no" >&5
8150
echo "${ECHO_T}no" >&6; }
8153
if test "x$ac_ct_OTOOL" = x; then
8156
case $cross_compiling:$ac_tool_warned in
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 ;;
8169
OTOOL="$ac_cv_prog_OTOOL"
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
8180
if test -n "$OTOOL64"; then
8181
ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
8183
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
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
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; }
8205
{ echo "$as_me:$LINENO: result: no" >&5
8206
echo "${ECHO_T}no" >&6; }
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
8220
if test -n "$ac_ct_OTOOL64"; then
8221
ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
8223
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
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
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; }
8245
{ echo "$as_me:$LINENO: result: no" >&5
8246
echo "${ECHO_T}no" >&6; }
8249
if test "x$ac_ct_OTOOL64" = x; then
8252
case $cross_compiling:$ac_tool_warned in
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 ;;
8262
OTOOL64=$ac_ct_OTOOL64
8265
OTOOL64="$ac_cv_prog_OTOOL64"
19584
# Parts of our Linux code require more recent version of glib
19586
if test "$os" = "linux"; then
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; }; }
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; }; }
19601
ac_vmw_have_lib_func=0
19602
ac_vmw_have_lib_header=0
19605
# First, try any user-defined CUSTOM_* flags.
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"
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
19619
{ echo "$as_me:$LINENO: result: $ac_cv_header_glib_h" >&5
19620
echo "${ECHO_T}$ac_cv_header_glib_h" >&6; }
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
19628
cat confdefs.h >>conftest.$ac_ext
19629
cat >>conftest.$ac_ext <<_ACEOF
19630
/* end confdefs.h. */
19631
$ac_includes_default
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;;
19640
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19641
(eval "$ac_compile") 2>conftest.er1
19643
grep -v '^ *+' conftest.er1 >conftest.err
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
19653
echo "$as_me: failed program was:" >&5
19654
sed 's/^/| /' conftest.$ac_ext >&5
19656
ac_header_compiler=no
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; }
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
19669
cat confdefs.h >>conftest.$ac_ext
19670
cat >>conftest.$ac_ext <<_ACEOF
19671
/* end confdefs.h. */
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;;
19679
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19680
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
19682
grep -v '^ *+' conftest.er1 >conftest.err
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
19690
ac_header_preproc=yes
19692
echo "$as_me: failed program was:" >&5
19693
sed 's/^/| /' conftest.$ac_ext >&5
19695
ac_header_preproc=no
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; }
19702
# So? What about this header?
19703
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
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
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;}
19725
## -------------------------------------------------------- ##
19726
## Report this to open-vm-tools-devel@lists.sourceforge.net ##
19727
## -------------------------------------------------------- ##
19729
) | sed "s/^/$as_me: WARNING: /" >&2
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
19737
ac_cv_header_glib_h=$ac_header_preproc
19739
{ echo "$as_me:$LINENO: result: $ac_cv_header_glib_h" >&5
19740
echo "${ECHO_T}$ac_cv_header_glib_h" >&6; }
19743
if test $ac_cv_header_glib_h = yes; then
19744
ac_vmw_have_lib_header=1
19749
CPPFLAGS="$ORIGINAL_CPPFLAGS"
19751
ac_vmw_have_lib_header=1
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
19761
ac_vmw_function=strlen
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
19769
ac_check_lib_save_LIBS=$LIBS
19770
LIBS="-lglib-2.0 ${CUSTOM_GLIB2_LIBS} $LIBS"
19771
cat >conftest.$ac_ext <<_ACEOF
19774
cat confdefs.h >>conftest.$ac_ext
19775
cat >>conftest.$ac_ext <<_ACEOF
19776
/* end confdefs.h. */
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. */
19784
char $ac_vmw_function ();
19788
return $ac_vmw_function ();
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;;
19799
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19800
(eval "$ac_link") 2>conftest.er1
19802
grep -v '^ *+' conftest.er1 >conftest.err
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"
19813
echo "$as_me: failed program was:" >&5
19814
sed 's/^/| /' conftest.$ac_ext >&5
19816
eval "$as_ac_Lib=no"
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
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
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}"
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
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
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`"
19860
ac_vmw_libs="`pkg-config --libs glib-2.0`"
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"
19868
{ echo "$as_me:$LINENO: result: no" >&5
19869
echo "${ECHO_T}no" >&6; }
19872
{ echo "$as_me:$LINENO: result: no" >&5
19873
echo "${ECHO_T}no" >&6; }
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
19889
case $ac_vmw_lib_cfg in
19891
ac_cv_path_ac_vmw_lib_cfg="$ac_vmw_lib_cfg" # Let the user override the test with a path.
19894
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19895
for as_dir in $PATH
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
19909
test -z "$ac_cv_path_ac_vmw_lib_cfg" && ac_cv_path_ac_vmw_lib_cfg="no"
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; }
19918
{ echo "$as_me:$LINENO: result: no" >&5
19919
echo "${ECHO_T}no" >&6; }
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
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`"
19931
GLIB2_CPPFLAGS="`$ac_vmw_lib_cfg --cflags`"
19932
GLIB2_LIBS="`$ac_vmw_lib_cfg --libs`"
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
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;}
19208
19954
# Check for fuse.
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
23673
ac_check_lib_save_LIBS=$LIBS
23675
cat >conftest.$ac_ext <<_ACEOF
23678
cat confdefs.h >>conftest.$ac_ext
23679
cat >>conftest.$ac_ext <<_ACEOF
23680
/* end confdefs.h. */
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. */
23688
char pthread_mutex_init ();
23692
return pthread_mutex_init ();
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;;
23703
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23704
(eval "$ac_link") 2>conftest.er1
23706
grep -v '^ *+' conftest.er1 >conftest.err
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
23717
echo "$as_me: failed program was:" >&5
23718
sed 's/^/| /' conftest.$ac_ext >&5
23720
ac_cv_lib_thr_pthread_mutex_init=no
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
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
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; }; }
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
30348
31183
MODULES!$MODULES$ac_delim
30349
31184
COMMON_XLIBS!$COMMON_XLIBS$ac_delim
30350
31185
PAM_PREFIX!$PAM_PREFIX$ac_delim
31188
if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
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; }; }
31195
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
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`
31205
cat >>$CONFIG_STATUS <<_ACEOF
31206
cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
31207
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
31210
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
31211
s/^/s,@/; s/!/@,|#_!!_#|/
31214
s/'"$ac_delim"'$/,g/; t
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
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
30358
if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
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; }; }
30365
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
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`
30375
cat >>$CONFIG_STATUS <<_ACEOF
30376
cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
30377
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
30380
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
30381
s/^/s,@/; s/!/@,|#_!!_#|/
30384
s/'"$ac_delim"'$/,g/; t
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
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