~n-muench/ubuntu/oneiric/open-vm-tools/open-vm-tools-august.merge

« back to all changes in this revision

Viewing changes to autom4te.cache/output.2

  • Committer: Bazaar Package Importer
  • Author(s): Nate Muench
  • Date: 2010-09-06 21:06:01 UTC
  • mfrom: (2.4.19 sid)
  • Revision ID: james.westby@ubuntu.com-20100906210601-gxxy30e5roil4srt
Tags: 2010.06.16-268169-3ubuntu1
* Merge from Debian testing (LP: #632101), remaining changes:
  - Recommend open-vm-toolbox in open-vm-tools.
  - Rediffing vsock.patch.

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 2010.04.25.
 
3
@%:@ Generated by GNU Autoconf 2.65 for open-vm-tools 2010.06.16.
4
4
@%:@
5
5
@%:@ Report bugs to <open-vm-tools-devel@lists.sourceforge.net>.
6
6
@%:@ 
 
7
@%:@ 
7
8
@%:@ Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
8
 
@%:@ 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
 
9
@%:@ 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
 
10
@%:@ Inc.
 
11
@%:@ 
 
12
@%:@ 
9
13
@%:@ This configure script is free software; the Free Software Foundation
10
14
@%:@ gives unlimited permission to copy, distribute and modify it.
11
 
## --------------------- ##
12
 
## M4sh Initialization.  ##
13
 
## --------------------- ##
 
15
## -------------------- ##
 
16
## M4sh Initialization. ##
 
17
## -------------------- ##
14
18
 
15
19
# Be more Bourne compatible
16
20
DUALCASE=1; export DUALCASE # for MKS sh
17
 
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
 
21
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
18
22
  emulate sh
19
23
  NULLCMD=:
20
 
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
 
24
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21
25
  # is contrary to our usage.  Disable this feature.
22
26
  alias -g '${1+"$@"}'='"$@"'
23
27
  setopt NO_GLOB_SUBST
24
28
else
25
 
  case `(set -o) 2>/dev/null` in
26
 
  *posix*) set -o posix ;;
 
29
  case `(set -o) 2>/dev/null` in @%:@(
 
30
  *posix*) :
 
31
    set -o posix ;; @%:@(
 
32
  *) :
 
33
     ;;
27
34
esac
28
 
 
29
 
fi
30
 
 
31
 
 
32
 
 
33
 
 
34
 
# PATH needs CR
35
 
# Avoid depending upon Character Ranges.
36
 
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
37
 
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
38
 
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
39
 
as_cr_digits='0123456789'
40
 
as_cr_alnum=$as_cr_Letters$as_cr_digits
 
35
fi
 
36
 
 
37
 
 
38
as_nl='
 
39
'
 
40
export as_nl
 
41
# Printing a long string crashes Solaris 7 /usr/bin/printf.
 
42
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
 
43
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
 
44
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
 
45
# Prefer a ksh shell builtin over an external printf program on Solaris,
 
46
# but without wasting forks for bash or zsh.
 
47
if test -z "$BASH_VERSION$ZSH_VERSION" \
 
48
    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
 
49
  as_echo='print -r --'
 
50
  as_echo_n='print -rn --'
 
51
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
 
52
  as_echo='printf %s\n'
 
53
  as_echo_n='printf %s'
 
54
else
 
55
  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
 
56
    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
 
57
    as_echo_n='/usr/ucb/echo -n'
 
58
  else
 
59
    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
 
60
    as_echo_n_body='eval
 
61
      arg=$1;
 
62
      case $arg in @%:@(
 
63
      *"$as_nl"*)
 
64
        expr "X$arg" : "X\\(.*\\)$as_nl";
 
65
        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
 
66
      esac;
 
67
      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
 
68
    '
 
69
    export as_echo_n_body
 
70
    as_echo_n='sh -c $as_echo_n_body as_echo'
 
71
  fi
 
72
  export as_echo_body
 
73
  as_echo='sh -c $as_echo_body as_echo'
 
74
fi
41
75
 
42
76
# The user is always right.
43
77
if test "${PATH_SEPARATOR+set}" != set; then
44
 
  echo "#! /bin/sh" >conf$$.sh
45
 
  echo  "exit 0"   >>conf$$.sh
46
 
  chmod +x conf$$.sh
47
 
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
48
 
    PATH_SEPARATOR=';'
49
 
  else
50
 
    PATH_SEPARATOR=:
51
 
  fi
52
 
  rm -f conf$$.sh
53
 
fi
54
 
 
55
 
# Support unset when possible.
56
 
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
57
 
  as_unset=unset
58
 
else
59
 
  as_unset=false
 
78
  PATH_SEPARATOR=:
 
79
  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
 
80
    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
 
81
      PATH_SEPARATOR=';'
 
82
  }
60
83
fi
61
84
 
62
85
 
65
88
# there to prevent editors from complaining about space-tab.
66
89
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
67
90
# splitting by setting IFS to empty value.)
68
 
as_nl='
69
 
'
70
91
IFS=" ""        $as_nl"
71
92
 
72
93
# Find who we are.  Look in the path if we contain no directory separator.
73
 
case $0 in
 
94
case $0 in @%:@((
74
95
  *[\\/]* ) as_myself=$0 ;;
75
96
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
76
97
for as_dir in $PATH
77
98
do
78
99
  IFS=$as_save_IFS
79
100
  test -z "$as_dir" && as_dir=.
80
 
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
81
 
done
 
101
    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
 
102
  done
82
103
IFS=$as_save_IFS
83
104
 
84
105
     ;;
89
110
  as_myself=$0
90
111
fi
91
112
if test ! -f "$as_myself"; then
92
 
  echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
93
 
  { (exit 1); exit 1; }
 
113
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
 
114
  exit 1
94
115
fi
95
116
 
96
 
# Work around bugs in pre-3.0 UWIN ksh.
97
 
for as_var in ENV MAIL MAILPATH
98
 
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
 
117
# Unset variables that we do not need and which cause bugs (e.g. in
 
118
# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
 
119
# suppresses any "Segmentation fault" message there.  '((' could
 
120
# trigger a bug in pdksh 5.2.14.
 
121
for as_var in BASH_ENV ENV MAIL MAILPATH
 
122
do eval test x\${$as_var+set} = xset \
 
123
  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
99
124
done
100
125
PS1='$ '
101
126
PS2='> '
102
127
PS4='+ '
103
128
 
104
129
# NLS nuisances.
105
 
for as_var in \
106
 
  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
107
 
  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
108
 
  LC_TELEPHONE LC_TIME
109
 
do
110
 
  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
111
 
    eval $as_var=C; export $as_var
112
 
  else
113
 
    ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
114
 
  fi
115
 
done
116
 
 
117
 
# Required to use basename.
118
 
if expr a : '\(a\)' >/dev/null 2>&1 &&
119
 
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
120
 
  as_expr=expr
121
 
else
122
 
  as_expr=false
123
 
fi
124
 
 
125
 
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
126
 
  as_basename=basename
127
 
else
128
 
  as_basename=false
129
 
fi
130
 
 
131
 
 
132
 
# Name of the executable.
133
 
as_me=`$as_basename -- "$0" ||
134
 
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
135
 
         X"$0" : 'X\(//\)$' \| \
136
 
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
137
 
echo X/"$0" |
138
 
    sed '/^.*\/\([^/][^/]*\)\/*$/{
139
 
            s//\1/
140
 
            q
141
 
          }
142
 
          /^X\/\(\/\/\)$/{
143
 
            s//\1/
144
 
            q
145
 
          }
146
 
          /^X\/\(\/\).*/{
147
 
            s//\1/
148
 
            q
149
 
          }
150
 
          s/.*/./; q'`
 
130
LC_ALL=C
 
131
export LC_ALL
 
132
LANGUAGE=C
 
133
export LANGUAGE
151
134
 
152
135
# CDPATH.
153
 
$as_unset CDPATH
154
 
 
 
136
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
155
137
 
156
138
if test "x$CONFIG_SHELL" = x; then
157
 
  if (eval ":") 2>/dev/null; then
 
139
  as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
 
140
  emulate sh
 
141
  NULLCMD=:
 
142
  # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
 
143
  # is contrary to our usage.  Disable this feature.
 
144
  alias -g '\${1+\"\$@\"}'='\"\$@\"'
 
145
  setopt NO_GLOB_SUBST
 
146
else
 
147
  case \`(set -o) 2>/dev/null\` in @%:@(
 
148
  *posix*) :
 
149
    set -o posix ;; @%:@(
 
150
  *) :
 
151
     ;;
 
152
esac
 
153
fi
 
154
"
 
155
  as_required="as_fn_return () { (exit \$1); }
 
156
as_fn_success () { as_fn_return 0; }
 
157
as_fn_failure () { as_fn_return 1; }
 
158
as_fn_ret_success () { return 0; }
 
159
as_fn_ret_failure () { return 1; }
 
160
 
 
161
exitcode=0
 
162
as_fn_success || { exitcode=1; echo as_fn_success failed.; }
 
163
as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
 
164
as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
 
165
as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
 
166
if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
 
167
  
 
168
else
 
169
  exitcode=1; echo positional parameters were not saved.
 
170
fi
 
171
test x\$exitcode = x0 || exit 1"
 
172
  as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
 
173
  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
 
174
  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
 
175
  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
 
176
test \$(( 1 + 1 )) = 2 || exit 1"
 
177
  if (eval "$as_required") 2>/dev/null; then :
158
178
  as_have_required=yes
159
179
else
160
180
  as_have_required=no
161
181
fi
162
 
 
163
 
  if test $as_have_required = yes &&     (eval ":
164
 
(as_func_return () {
165
 
  (exit \$1)
166
 
}
167
 
as_func_success () {
168
 
  as_func_return 0
169
 
}
170
 
as_func_failure () {
171
 
  as_func_return 1
172
 
}
173
 
as_func_ret_success () {
174
 
  return 0
175
 
}
176
 
as_func_ret_failure () {
177
 
  return 1
178
 
}
179
 
 
180
 
exitcode=0
181
 
if as_func_success; then
182
 
  :
183
 
else
184
 
  exitcode=1
185
 
  echo as_func_success failed.
186
 
fi
187
 
 
188
 
if as_func_failure; then
189
 
  exitcode=1
190
 
  echo as_func_failure succeeded.
191
 
fi
192
 
 
193
 
if as_func_ret_success; then
194
 
  :
195
 
else
196
 
  exitcode=1
197
 
  echo as_func_ret_success failed.
198
 
fi
199
 
 
200
 
if as_func_ret_failure; then
201
 
  exitcode=1
202
 
  echo as_func_ret_failure succeeded.
203
 
fi
204
 
 
205
 
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
206
 
  :
207
 
else
208
 
  exitcode=1
209
 
  echo positional parameters were not saved.
210
 
fi
211
 
 
212
 
test \$exitcode = 0) || { (exit 1); exit 1; }
213
 
 
214
 
(
215
 
  as_lineno_1=\$LINENO
216
 
  as_lineno_2=\$LINENO
217
 
  test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
218
 
  test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
219
 
") 2> /dev/null; then
220
 
  :
221
 
else
222
 
  as_candidate_shells=
223
 
    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
182
  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
 
183
  
 
184
else
 
185
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
186
as_found=false
224
187
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
225
188
do
226
189
  IFS=$as_save_IFS
227
190
  test -z "$as_dir" && as_dir=.
228
 
  case $as_dir in
 
191
  as_found=:
 
192
  case $as_dir in @%:@(
229
193
         /*)
230
194
           for as_base in sh bash ksh sh5; do
231
 
             as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
 
195
             # Try only shells that exist, to save several forks.
 
196
             as_shell=$as_dir/$as_base
 
197
             if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
 
198
                    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
 
199
  CONFIG_SHELL=$as_shell as_have_required=yes
 
200
                   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
 
201
  break 2
 
202
fi
 
203
fi
232
204
           done;;
233
205
       esac
 
206
  as_found=false
234
207
done
 
208
$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
 
209
              { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
 
210
  CONFIG_SHELL=$SHELL as_have_required=yes
 
211
fi; }
235
212
IFS=$as_save_IFS
236
213
 
237
214
 
238
 
      for as_shell in $as_candidate_shells $SHELL; do
239
 
         # Try only shells that exist, to save several forks.
240
 
         if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
241
 
                { ("$as_shell") 2> /dev/null <<\_ASEOF
242
 
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
243
 
  emulate sh
244
 
  NULLCMD=:
245
 
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
246
 
  # is contrary to our usage.  Disable this feature.
247
 
  alias -g '${1+"$@"}'='"$@"'
248
 
  setopt NO_GLOB_SUBST
249
 
else
250
 
  case `(set -o) 2>/dev/null` in
251
 
  *posix*) set -o posix ;;
252
 
esac
253
 
 
254
 
fi
255
 
 
256
 
 
257
 
:
258
 
_ASEOF
259
 
}; then
260
 
  CONFIG_SHELL=$as_shell
261
 
               as_have_required=yes
262
 
               if { "$as_shell" 2> /dev/null <<\_ASEOF
263
 
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
264
 
  emulate sh
265
 
  NULLCMD=:
266
 
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
267
 
  # is contrary to our usage.  Disable this feature.
268
 
  alias -g '${1+"$@"}'='"$@"'
269
 
  setopt NO_GLOB_SUBST
270
 
else
271
 
  case `(set -o) 2>/dev/null` in
272
 
  *posix*) set -o posix ;;
273
 
esac
274
 
 
275
 
fi
276
 
 
277
 
 
278
 
:
279
 
(as_func_return () {
280
 
  (exit $1)
281
 
}
282
 
as_func_success () {
283
 
  as_func_return 0
284
 
}
285
 
as_func_failure () {
286
 
  as_func_return 1
287
 
}
288
 
as_func_ret_success () {
289
 
  return 0
290
 
}
291
 
as_func_ret_failure () {
292
 
  return 1
293
 
}
294
 
 
295
 
exitcode=0
296
 
if as_func_success; then
297
 
  :
298
 
else
299
 
  exitcode=1
300
 
  echo as_func_success failed.
301
 
fi
302
 
 
303
 
if as_func_failure; then
304
 
  exitcode=1
305
 
  echo as_func_failure succeeded.
306
 
fi
307
 
 
308
 
if as_func_ret_success; then
309
 
  :
310
 
else
311
 
  exitcode=1
312
 
  echo as_func_ret_success failed.
313
 
fi
314
 
 
315
 
if as_func_ret_failure; then
316
 
  exitcode=1
317
 
  echo as_func_ret_failure succeeded.
318
 
fi
319
 
 
320
 
if ( set x; as_func_ret_success y && test x = "$1" ); then
321
 
  :
322
 
else
323
 
  exitcode=1
324
 
  echo positional parameters were not saved.
325
 
fi
326
 
 
327
 
test $exitcode = 0) || { (exit 1); exit 1; }
328
 
 
329
 
(
330
 
  as_lineno_1=$LINENO
331
 
  as_lineno_2=$LINENO
332
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
333
 
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
334
 
 
335
 
_ASEOF
336
 
}; then
337
 
  break
338
 
fi
339
 
 
340
 
fi
341
 
 
342
 
      done
343
 
 
344
 
      if test "x$CONFIG_SHELL" != x; then
345
 
  for as_var in BASH_ENV ENV
346
 
        do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
347
 
        done
348
 
        export CONFIG_SHELL
349
 
        exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
350
 
fi
351
 
 
352
 
 
353
 
    if test $as_have_required = no; then
354
 
  echo This script requires a shell more modern than all the
355
 
      echo shells that I found on your system.  Please install a
356
 
      echo modern shell, or manually run the script under such a
357
 
      echo shell if you do have one.
358
 
      { (exit 1); exit 1; }
359
 
fi
360
 
 
361
 
    
362
 
fi
363
 
 
364
 
fi
365
 
 
366
 
 
367
 
 
368
 
(eval "as_func_return () {
369
 
  (exit \$1)
370
 
}
371
 
as_func_success () {
372
 
  as_func_return 0
373
 
}
374
 
as_func_failure () {
375
 
  as_func_return 1
376
 
}
377
 
as_func_ret_success () {
378
 
  return 0
379
 
}
380
 
as_func_ret_failure () {
381
 
  return 1
382
 
}
383
 
 
384
 
exitcode=0
385
 
if as_func_success; then
386
 
  :
387
 
else
388
 
  exitcode=1
389
 
  echo as_func_success failed.
390
 
fi
391
 
 
392
 
if as_func_failure; then
393
 
  exitcode=1
394
 
  echo as_func_failure succeeded.
395
 
fi
396
 
 
397
 
if as_func_ret_success; then
398
 
  :
399
 
else
400
 
  exitcode=1
401
 
  echo as_func_ret_success failed.
402
 
fi
403
 
 
404
 
if as_func_ret_failure; then
405
 
  exitcode=1
406
 
  echo as_func_ret_failure succeeded.
407
 
fi
408
 
 
409
 
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
410
 
  :
411
 
else
412
 
  exitcode=1
413
 
  echo positional parameters were not saved.
414
 
fi
415
 
 
416
 
test \$exitcode = 0") || {
417
 
  echo No shell found that supports shell functions.
418
 
  echo Please tell autoconf@gnu.org about your system,
419
 
  echo including any error possibly output before this
420
 
  echo message
421
 
}
422
 
 
423
 
 
424
 
 
425
 
  as_lineno_1=$LINENO
426
 
  as_lineno_2=$LINENO
427
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
428
 
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
429
 
 
430
 
  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
431
 
  # uniformly replaced by the line number.  The first 'sed' inserts a
432
 
  # line-number line after each line using $LINENO; the second 'sed'
433
 
  # does the real work.  The second script uses 'N' to pair each
434
 
  # line-number line with the line containing $LINENO, and appends
435
 
  # trailing '-' during substitution so that $LINENO is not a special
436
 
  # case at line end.
437
 
  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
438
 
  # scripts with optimization help from Paolo Bonzini.  Blame Lee
439
 
  # E. McMahon (1931-1989) for sed's syntax.  :-)
 
215
      if test "x$CONFIG_SHELL" != x; then :
 
216
  # We cannot yet assume a decent shell, so we have to provide a
 
217
        # neutralization value for shells without unset; and this also
 
218
        # works around shells that cannot unset nonexistent variables.
 
219
        BASH_ENV=/dev/null
 
220
        ENV=/dev/null
 
221
        (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
 
222
        export CONFIG_SHELL
 
223
        exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
 
224
fi
 
225
 
 
226
    if test x$as_have_required = xno; then :
 
227
  $as_echo "$0: This script requires a shell more modern than all"
 
228
  $as_echo "$0: the shells that I found on your system."
 
229
  if test x${ZSH_VERSION+set} = xset ; then
 
230
    $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
 
231
    $as_echo "$0: be upgraded to zsh 4.3.4 or later."
 
232
  else
 
233
    $as_echo "$0: Please tell bug-autoconf@gnu.org and
 
234
$0: open-vm-tools-devel@lists.sourceforge.net about your
 
235
$0: system, including any error possibly output before this
 
236
$0: message. Then install a modern shell, or manually run
 
237
$0: the script under such a shell if you do have one."
 
238
  fi
 
239
  exit 1
 
240
fi
 
241
fi
 
242
fi
 
243
SHELL=${CONFIG_SHELL-/bin/sh}
 
244
export SHELL
 
245
# Unset more variables known to interfere with behavior of common tools.
 
246
CLICOLOR_FORCE= GREP_OPTIONS=
 
247
unset CLICOLOR_FORCE GREP_OPTIONS
 
248
 
 
249
## --------------------- ##
 
250
## M4sh Shell Functions. ##
 
251
## --------------------- ##
 
252
@%:@ as_fn_unset VAR
 
253
@%:@ ---------------
 
254
@%:@ Portably unset VAR.
 
255
as_fn_unset ()
 
256
{
 
257
  { eval $1=; unset $1;}
 
258
}
 
259
as_unset=as_fn_unset
 
260
 
 
261
@%:@ as_fn_set_status STATUS
 
262
@%:@ -----------------------
 
263
@%:@ Set @S|@? to STATUS, without forking.
 
264
as_fn_set_status ()
 
265
{
 
266
  return $1
 
267
} @%:@ as_fn_set_status
 
268
 
 
269
@%:@ as_fn_exit STATUS
 
270
@%:@ -----------------
 
271
@%:@ Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
 
272
as_fn_exit ()
 
273
{
 
274
  set +e
 
275
  as_fn_set_status $1
 
276
  exit $1
 
277
} @%:@ as_fn_exit
 
278
 
 
279
@%:@ as_fn_mkdir_p
 
280
@%:@ -------------
 
281
@%:@ Create "@S|@as_dir" as a directory, including parents if necessary.
 
282
as_fn_mkdir_p ()
 
283
{
 
284
 
 
285
  case $as_dir in #(
 
286
  -*) as_dir=./$as_dir;;
 
287
  esac
 
288
  test -d "$as_dir" || eval $as_mkdir_p || {
 
289
    as_dirs=
 
290
    while :; do
 
291
      case $as_dir in #(
 
292
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
 
293
      *) as_qdir=$as_dir;;
 
294
      esac
 
295
      as_dirs="'$as_qdir' $as_dirs"
 
296
      as_dir=`$as_dirname -- "$as_dir" ||
 
297
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
298
         X"$as_dir" : 'X\(//\)[^/]' \| \
 
299
         X"$as_dir" : 'X\(//\)$' \| \
 
300
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
 
301
$as_echo X"$as_dir" |
 
302
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
303
            s//\1/
 
304
            q
 
305
          }
 
306
          /^X\(\/\/\)[^/].*/{
 
307
            s//\1/
 
308
            q
 
309
          }
 
310
          /^X\(\/\/\)$/{
 
311
            s//\1/
 
312
            q
 
313
          }
 
314
          /^X\(\/\).*/{
 
315
            s//\1/
 
316
            q
 
317
          }
 
318
          s/.*/./; q'`
 
319
      test -d "$as_dir" && break
 
320
    done
 
321
    test -z "$as_dirs" || eval "mkdir $as_dirs"
 
322
  } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
 
323
 
 
324
 
 
325
} @%:@ as_fn_mkdir_p
 
326
@%:@ as_fn_append VAR VALUE
 
327
@%:@ ----------------------
 
328
@%:@ Append the text in VALUE to the end of the definition contained in VAR. Take
 
329
@%:@ advantage of any shell optimizations that allow amortized linear growth over
 
330
@%:@ repeated appends, instead of the typical quadratic growth present in naive
 
331
@%:@ implementations.
 
332
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
 
333
  eval 'as_fn_append ()
 
334
  {
 
335
    eval $1+=\$2
 
336
  }'
 
337
else
 
338
  as_fn_append ()
 
339
  {
 
340
    eval $1=\$$1\$2
 
341
  }
 
342
fi # as_fn_append
 
343
 
 
344
@%:@ as_fn_arith ARG...
 
345
@%:@ ------------------
 
346
@%:@ Perform arithmetic evaluation on the ARGs, and store the result in the
 
347
@%:@ global @S|@as_val. Take advantage of shells that can avoid forks. The arguments
 
348
@%:@ must be portable across @S|@(()) and expr.
 
349
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
 
350
  eval 'as_fn_arith ()
 
351
  {
 
352
    as_val=$(( $* ))
 
353
  }'
 
354
else
 
355
  as_fn_arith ()
 
356
  {
 
357
    as_val=`expr "$@" || test $? -eq 1`
 
358
  }
 
359
fi # as_fn_arith
 
360
 
 
361
 
 
362
@%:@ as_fn_error ERROR [LINENO LOG_FD]
 
363
@%:@ ---------------------------------
 
364
@%:@ Output "`basename @S|@0`: error: ERROR" to stderr. If LINENO and LOG_FD are
 
365
@%:@ provided, also output the error to LOG_FD, referencing LINENO. Then exit the
 
366
@%:@ script with status @S|@?, using 1 if that was 0.
 
367
as_fn_error ()
 
368
{
 
369
  as_status=$?; test $as_status -eq 0 && as_status=1
 
370
  if test "$3"; then
 
371
    as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
372
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
 
373
  fi
 
374
  $as_echo "$as_me: error: $1" >&2
 
375
  as_fn_exit $as_status
 
376
} @%:@ as_fn_error
 
377
 
 
378
if expr a : '\(a\)' >/dev/null 2>&1 &&
 
379
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
 
380
  as_expr=expr
 
381
else
 
382
  as_expr=false
 
383
fi
 
384
 
 
385
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
 
386
  as_basename=basename
 
387
else
 
388
  as_basename=false
 
389
fi
 
390
 
 
391
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
 
392
  as_dirname=dirname
 
393
else
 
394
  as_dirname=false
 
395
fi
 
396
 
 
397
as_me=`$as_basename -- "$0" ||
 
398
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
 
399
         X"$0" : 'X\(//\)$' \| \
 
400
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
 
401
$as_echo X/"$0" |
 
402
    sed '/^.*\/\([^/][^/]*\)\/*$/{
 
403
            s//\1/
 
404
            q
 
405
          }
 
406
          /^X\/\(\/\/\)$/{
 
407
            s//\1/
 
408
            q
 
409
          }
 
410
          /^X\/\(\/\).*/{
 
411
            s//\1/
 
412
            q
 
413
          }
 
414
          s/.*/./; q'`
 
415
 
 
416
# Avoid depending upon Character Ranges.
 
417
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
 
418
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
 
419
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
 
420
as_cr_digits='0123456789'
 
421
as_cr_alnum=$as_cr_Letters$as_cr_digits
 
422
 
 
423
 
 
424
  as_lineno_1=$LINENO as_lineno_1a=$LINENO
 
425
  as_lineno_2=$LINENO as_lineno_2a=$LINENO
 
426
  eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
 
427
  test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
 
428
  # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
440
429
  sed -n '
441
430
    p
442
431
    /[$]LINENO/=
453
442
      s/-\n.*//
454
443
    ' >$as_me.lineno &&
455
444
  chmod +x "$as_me.lineno" ||
456
 
    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
457
 
   { (exit 1); exit 1; }; }
 
445
    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
458
446
 
459
447
  # Don't try to exec as it changes $[0], causing all sort of problems
460
448
  # (the dirname of $[0] is not the place where we might find the
464
452
  exit
465
453
}
466
454
 
467
 
 
468
 
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
469
 
  as_dirname=dirname
470
 
else
471
 
  as_dirname=false
472
 
fi
473
 
 
474
455
ECHO_C= ECHO_N= ECHO_T=
475
 
case `echo -n x` in
 
456
case `echo -n x` in @%:@(((((
476
457
-n*)
477
 
  case `echo 'x\c'` in
 
458
  case `echo 'xy\c'` in
478
459
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
479
 
  *)   ECHO_C='\c';;
 
460
  xy)  ECHO_C='\c';;
 
461
  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
 
462
       ECHO_T=' ';;
480
463
  esac;;
481
464
*)
482
465
  ECHO_N='-n';;
483
466
esac
484
467
 
485
 
if expr a : '\(a\)' >/dev/null 2>&1 &&
486
 
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
487
 
  as_expr=expr
488
 
else
489
 
  as_expr=false
490
 
fi
491
 
 
492
468
rm -f conf$$ conf$$.exe conf$$.file
493
469
if test -d conf$$.dir; then
494
470
  rm -f conf$$.dir/conf$$.file
495
471
else
496
472
  rm -f conf$$.dir
497
 
  mkdir conf$$.dir
 
473
  mkdir conf$$.dir 2>/dev/null
498
474
fi
499
 
echo >conf$$.file
500
 
if ln -s conf$$.file conf$$ 2>/dev/null; then
501
 
  as_ln_s='ln -s'
502
 
  # ... but there are two gotchas:
503
 
  # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
504
 
  # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
505
 
  # In both cases, we have to default to `cp -p'.
506
 
  ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
 
475
if (echo >conf$$.file) 2>/dev/null; then
 
476
  if ln -s conf$$.file conf$$ 2>/dev/null; then
 
477
    as_ln_s='ln -s'
 
478
    # ... but there are two gotchas:
 
479
    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
 
480
    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
 
481
    # In both cases, we have to default to `cp -p'.
 
482
    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
 
483
      as_ln_s='cp -p'
 
484
  elif ln conf$$.file conf$$ 2>/dev/null; then
 
485
    as_ln_s=ln
 
486
  else
507
487
    as_ln_s='cp -p'
508
 
elif ln conf$$.file conf$$ 2>/dev/null; then
509
 
  as_ln_s=ln
 
488
  fi
510
489
else
511
490
  as_ln_s='cp -p'
512
491
fi
514
493
rmdir conf$$.dir 2>/dev/null
515
494
 
516
495
if mkdir -p . 2>/dev/null; then
517
 
  as_mkdir_p=:
 
496
  as_mkdir_p='mkdir -p "$as_dir"'
518
497
else
519
498
  test -d ./-p && rmdir ./-p
520
499
  as_mkdir_p=false
531
510
  as_test_x='
532
511
    eval sh -c '\''
533
512
      if test -d "$1"; then
534
 
        test -d "$1/.";
 
513
        test -d "$1/.";
535
514
      else
536
 
        case $1 in
537
 
        -*)set "./$1";;
 
515
        case $1 in @%:@(
 
516
        -*)set "./$1";;
538
517
        esac;
539
 
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
 
518
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in @%:@((
540
519
        ???[sx]*):;;*)false;;esac;fi
541
520
    '\'' sh
542
521
  '
551
530
 
552
531
 
553
532
 
554
 
 
555
533
# Check that we are running under the correct shell.
556
534
SHELL=${CONFIG_SHELL-/bin/sh}
557
535
 
700
678
 
701
679
 
702
680
 
703
 
exec 7<&0 </dev/null 6>&1
 
681
test -n "$DJDIR" || exec 7<&0 </dev/null
 
682
exec 6>&1
704
683
 
705
684
# Name of the host.
706
685
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
718
697
subdirs=
719
698
MFLAGS=
720
699
MAKEFLAGS=
721
 
SHELL=${CONFIG_SHELL-/bin/sh}
722
700
 
723
701
# Identity of this package.
724
702
PACKAGE_NAME='open-vm-tools'
725
703
PACKAGE_TARNAME='open-vm-tools'
726
 
PACKAGE_VERSION='2010.04.25'
727
 
PACKAGE_STRING='open-vm-tools 2010.04.25'
 
704
PACKAGE_VERSION='2010.06.16'
 
705
PACKAGE_STRING='open-vm-tools 2010.06.16'
728
706
PACKAGE_BUGREPORT='open-vm-tools-devel@lists.sourceforge.net'
 
707
PACKAGE_URL=''
729
708
 
730
709
ac_unique_file="checkvm/checkvm.c"
731
710
# Factoring default headers for most tests.
764
743
# include <unistd.h>
765
744
#endif"
766
745
 
767
 
ac_subst_vars='SHELL
 
746
ac_subst_vars='am__EXEEXT_FALSE
 
747
am__EXEEXT_TRUE
 
748
LTLIBOBJS
 
749
LIB@&t@OBJS
 
750
VMWARE_USER_LDADD
 
751
VMWARE_USER_CPPFLAGS
 
752
VIX_LIBADD
 
753
LIBVMTOOLS_LIBADD
 
754
LIB_USER_CPPFLAGS
 
755
LIB_IMPERSONATE_CPPFLAGS
 
756
LIB_AUTH_CPPFLAGS
 
757
SYSDIR
 
758
VMUSR_PLUGIN_INSTALLDIR
 
759
VMSVC_PLUGIN_INSTALLDIR
 
760
COMMON_PLUGIN_INSTALLDIR
 
761
TEST_PLUGIN_INSTALLDIR
 
762
XDR_LIBS
 
763
RPCGENFLAGS
 
764
VMTOOLS_LIBS
 
765
VMTOOLS_CPPFLAGS
 
766
PLUGIN_LDFLAGS
 
767
PLUGIN_CPPFLAGS
 
768
PAM_PREFIX
 
769
COMMON_XLIBS
 
770
MODULES
 
771
MODULES_DIR
 
772
MODULES_OS
 
773
KERNEL_RELEASE
 
774
TARGET_OS
 
775
TOOLS_VERSION
 
776
USE_SLASH_PROC_FALSE
 
777
USE_SLASH_PROC_TRUE
 
778
HAVE_PAM_FALSE
 
779
HAVE_PAM_TRUE
 
780
HAVE_GTKMM_FALSE
 
781
HAVE_GTKMM_TRUE
 
782
HAVE_GNU_LD_FALSE
 
783
HAVE_GNU_LD_TRUE
 
784
HAVE_FUSE_FALSE
 
785
HAVE_FUSE_TRUE
 
786
HAVE_DOXYGEN_FALSE
 
787
HAVE_DOXYGEN_TRUE
 
788
WITH_ROOT_PRIVILEGES_FALSE
 
789
WITH_ROOT_PRIVILEGES_TRUE
 
790
ENABLE_TESTS_FALSE
 
791
ENABLE_TESTS_TRUE
 
792
ENABLE_UNITY_FALSE
 
793
ENABLE_UNITY_TRUE
 
794
WITH_KERNEL_MODULES_FALSE
 
795
WITH_KERNEL_MODULES_TRUE
 
796
HAVE_ICU_FALSE
 
797
HAVE_ICU_TRUE
 
798
HAVE_X11_FALSE
 
799
HAVE_X11_TRUE
 
800
THIRTY_TWO_BIT_USERSPACE_FALSE
 
801
THIRTY_TWO_BIT_USERSPACE_TRUE
 
802
FREEBSD_CUSTOM_SYSDIR_FALSE
 
803
FREEBSD_CUSTOM_SYSDIR_TRUE
 
804
FREEBSD_FALSE
 
805
FREEBSD_TRUE
 
806
SOLARIS_FALSE
 
807
SOLARIS_TRUE
 
808
LINUX_FALSE
 
809
LINUX_TRUE
 
810
BUILD_HGFSMOUNTER_FALSE
 
811
BUILD_HGFSMOUNTER_TRUE
 
812
MSCGEN_DIR
 
813
MSCGEN
 
814
HAVE_DOT
 
815
DOT
 
816
have_doxygen
 
817
RPCGEN
 
818
ICU_LIBS
 
819
ICU_CPPFLAGS
 
820
have_cxx
 
821
DNET_LIBS
 
822
DNET_CPPFLAGS
 
823
PROCPS_LIBS
 
824
PROCPS_CPPFLAGS
 
825
GTKMM_LIBS
 
826
GTKMM_CPPFLAGS
 
827
GTK_LIBS
 
828
GTK_CPPFLAGS
 
829
ZLIB_LIBS
 
830
ZLIB_CPPFLAGS
 
831
LIBPNG_LIBS
 
832
LIBPNG_CPPFLAGS
 
833
URIPARSER_LIBS
 
834
URIPARSER_CPPFLAGS
 
835
CUNIT_LIBS
 
836
CUNIT_CPPFLAGS
 
837
PAM_LIBS
 
838
PAM_CPPFLAGS
 
839
FUSE_LIBS
 
840
FUSE_CPPFLAGS
 
841
have_genmarshal
 
842
GTHREAD_LIBS
 
843
GTHREAD_CPPFLAGS
 
844
GOBJECT_LIBS
 
845
GOBJECT_CPPFLAGS
 
846
GMODULE_LIBS
 
847
GMODULE_CPPFLAGS
 
848
GLIB2_LIBS
 
849
GLIB2_CPPFLAGS
 
850
ac_vmw_lib_cfg
 
851
X_EXTRA_LIBS
 
852
X_LIBS
 
853
X_PRE_LIBS
 
854
X_CFLAGS
 
855
XMKMF
 
856
HAVE_PKG_CONFIG
 
857
CXXCPP
 
858
OTOOL64
 
859
OTOOL
 
860
LIPO
 
861
NMEDIT
 
862
DSYMUTIL
 
863
lt_ECHO
 
864
RANLIB
 
865
AR
 
866
OBJDUMP
 
867
NM
 
868
ac_ct_DUMPBIN
 
869
DUMPBIN
 
870
LD
 
871
FGREP
 
872
EGREP
 
873
GREP
 
874
LIBTOOL
 
875
LN_S
 
876
SED
 
877
am__fastdepCXX_FALSE
 
878
am__fastdepCXX_TRUE
 
879
CXXDEPMODE
 
880
ac_ct_CXX
 
881
CXXFLAGS
 
882
CXX
 
883
CPP
 
884
am__fastdepCC_FALSE
 
885
am__fastdepCC_TRUE
 
886
CCDEPMODE
 
887
AMDEPBACKSLASH
 
888
AMDEP_FALSE
 
889
AMDEP_TRUE
 
890
am__quote
 
891
am__include
 
892
DEPDIR
 
893
OBJEXT
 
894
EXEEXT
 
895
ac_ct_CC
 
896
CPPFLAGS
 
897
LDFLAGS
 
898
CFLAGS
 
899
CC
 
900
am__untar
 
901
am__tar
 
902
AMTAR
 
903
am__leading_dot
 
904
SET_MAKE
 
905
AWK
 
906
mkdir_p
 
907
MKDIR_P
 
908
INSTALL_STRIP_PROGRAM
 
909
STRIP
 
910
install_sh
 
911
MAKEINFO
 
912
AUTOHEADER
 
913
AUTOMAKE
 
914
AUTOCONF
 
915
ACLOCAL
 
916
VERSION
 
917
PACKAGE
 
918
CYGPATH_W
 
919
am__isrc
 
920
INSTALL_DATA
 
921
INSTALL_SCRIPT
 
922
INSTALL_PROGRAM
 
923
host_os
 
924
host_vendor
 
925
host_cpu
 
926
host
 
927
build_os
 
928
build_vendor
 
929
build_cpu
 
930
build
 
931
target_alias
 
932
host_alias
 
933
build_alias
 
934
LIBS
 
935
ECHO_T
 
936
ECHO_N
 
937
ECHO_C
 
938
DEFS
 
939
mandir
 
940
localedir
 
941
libdir
 
942
psdir
 
943
pdfdir
 
944
dvidir
 
945
htmldir
 
946
infodir
 
947
docdir
 
948
oldincludedir
 
949
includedir
 
950
localstatedir
 
951
sharedstatedir
 
952
sysconfdir
 
953
datadir
 
954
datarootdir
 
955
libexecdir
 
956
sbindir
 
957
bindir
 
958
program_transform_name
 
959
prefix
 
960
exec_prefix
 
961
PACKAGE_URL
 
962
PACKAGE_BUGREPORT
 
963
PACKAGE_STRING
 
964
PACKAGE_VERSION
 
965
PACKAGE_TARNAME
 
966
PACKAGE_NAME
768
967
PATH_SEPARATOR
769
 
PACKAGE_NAME
770
 
PACKAGE_TARNAME
771
 
PACKAGE_VERSION
772
 
PACKAGE_STRING
773
 
PACKAGE_BUGREPORT
774
 
exec_prefix
775
 
prefix
776
 
program_transform_name
777
 
bindir
778
 
sbindir
779
 
libexecdir
780
 
datarootdir
781
 
datadir
782
 
sysconfdir
783
 
sharedstatedir
784
 
localstatedir
785
 
includedir
786
 
oldincludedir
787
 
docdir
788
 
infodir
789
 
htmldir
790
 
dvidir
791
 
pdfdir
792
 
psdir
793
 
libdir
794
 
localedir
795
 
mandir
796
 
DEFS
797
 
ECHO_C
798
 
ECHO_N
799
 
ECHO_T
800
 
LIBS
801
 
build_alias
802
 
host_alias
803
 
target_alias
804
 
build
805
 
build_cpu
806
 
build_vendor
807
 
build_os
808
 
host
809
 
host_cpu
810
 
host_vendor
811
 
host_os
812
 
INSTALL_PROGRAM
813
 
INSTALL_SCRIPT
814
 
INSTALL_DATA
815
 
am__isrc
816
 
CYGPATH_W
817
 
PACKAGE
818
 
VERSION
819
 
ACLOCAL
820
 
AUTOCONF
821
 
AUTOMAKE
822
 
AUTOHEADER
823
 
MAKEINFO
824
 
install_sh
825
 
STRIP
826
 
INSTALL_STRIP_PROGRAM
827
 
mkdir_p
828
 
AWK
829
 
SET_MAKE
830
 
am__leading_dot
831
 
AMTAR
832
 
am__tar
833
 
am__untar
834
 
CC
835
 
CFLAGS
836
 
LDFLAGS
837
 
CPPFLAGS
838
 
ac_ct_CC
839
 
EXEEXT
840
 
OBJEXT
841
 
DEPDIR
842
 
am__include
843
 
am__quote
844
 
AMDEP_TRUE
845
 
AMDEP_FALSE
846
 
AMDEPBACKSLASH
847
 
CCDEPMODE
848
 
am__fastdepCC_TRUE
849
 
am__fastdepCC_FALSE
850
 
CPP
851
 
CXX
852
 
CXXFLAGS
853
 
ac_ct_CXX
854
 
CXXDEPMODE
855
 
am__fastdepCXX_TRUE
856
 
am__fastdepCXX_FALSE
857
 
SED
858
 
LN_S
859
 
LIBTOOL
860
 
GREP
861
 
EGREP
862
 
FGREP
863
 
LD
864
 
DUMPBIN
865
 
ac_ct_DUMPBIN
866
 
NM
867
 
AR
868
 
RANLIB
869
 
lt_ECHO
870
 
DSYMUTIL
871
 
NMEDIT
872
 
LIPO
873
 
OTOOL
874
 
OTOOL64
875
 
CXXCPP
876
 
HAVE_PKG_CONFIG
877
 
XMKMF
878
 
X_CFLAGS
879
 
X_PRE_LIBS
880
 
X_LIBS
881
 
X_EXTRA_LIBS
882
 
ac_vmw_lib_cfg
883
 
GLIB2_CPPFLAGS
884
 
GLIB2_LIBS
885
 
GMODULE_CPPFLAGS
886
 
GMODULE_LIBS
887
 
GOBJECT_CPPFLAGS
888
 
GOBJECT_LIBS
889
 
GTHREAD_CPPFLAGS
890
 
GTHREAD_LIBS
891
 
have_genmarshal
892
 
FUSE_CPPFLAGS
893
 
FUSE_LIBS
894
 
PAM_CPPFLAGS
895
 
PAM_LIBS
896
 
CUNIT_CPPFLAGS
897
 
CUNIT_LIBS
898
 
URIPARSER_CPPFLAGS
899
 
URIPARSER_LIBS
900
 
LIBPNG_CPPFLAGS
901
 
LIBPNG_LIBS
902
 
ZLIB_CPPFLAGS
903
 
ZLIB_LIBS
904
 
GTK_CPPFLAGS
905
 
GTK_LIBS
906
 
GTKMM_CPPFLAGS
907
 
GTKMM_LIBS
908
 
PROCPS_CPPFLAGS
909
 
PROCPS_LIBS
910
 
DNET_CPPFLAGS
911
 
DNET_LIBS
912
 
have_cxx
913
 
ICU_CPPFLAGS
914
 
ICU_LIBS
915
 
RPCGEN
916
 
have_doxygen
917
 
DOT
918
 
HAVE_DOT
919
 
MSCGEN
920
 
MSCGEN_DIR
921
 
BUILD_HGFSMOUNTER_TRUE
922
 
BUILD_HGFSMOUNTER_FALSE
923
 
LINUX_TRUE
924
 
LINUX_FALSE
925
 
SOLARIS_TRUE
926
 
SOLARIS_FALSE
927
 
FREEBSD_TRUE
928
 
FREEBSD_FALSE
929
 
FREEBSD_CUSTOM_SYSDIR_TRUE
930
 
FREEBSD_CUSTOM_SYSDIR_FALSE
931
 
THIRTY_TWO_BIT_USERSPACE_TRUE
932
 
THIRTY_TWO_BIT_USERSPACE_FALSE
933
 
HAVE_X11_TRUE
934
 
HAVE_X11_FALSE
935
 
HAVE_ICU_TRUE
936
 
HAVE_ICU_FALSE
937
 
WITH_KERNEL_MODULES_TRUE
938
 
WITH_KERNEL_MODULES_FALSE
939
 
ENABLE_UNITY_TRUE
940
 
ENABLE_UNITY_FALSE
941
 
ENABLE_TESTS_TRUE
942
 
ENABLE_TESTS_FALSE
943
 
WITH_ROOT_PRIVILEGES_TRUE
944
 
WITH_ROOT_PRIVILEGES_FALSE
945
 
HAVE_DOXYGEN_TRUE
946
 
HAVE_DOXYGEN_FALSE
947
 
HAVE_FUSE_TRUE
948
 
HAVE_FUSE_FALSE
949
 
HAVE_GNU_LD_TRUE
950
 
HAVE_GNU_LD_FALSE
951
 
HAVE_GTKMM_TRUE
952
 
HAVE_GTKMM_FALSE
953
 
HAVE_PAM_TRUE
954
 
HAVE_PAM_FALSE
955
 
USE_SLASH_PROC_TRUE
956
 
USE_SLASH_PROC_FALSE
957
 
TOOLS_VERSION
958
 
TARGET_OS
959
 
KERNEL_RELEASE
960
 
MODULES_OS
961
 
MODULES_DIR
962
 
MODULES
963
 
COMMON_XLIBS
964
 
PAM_PREFIX
965
 
PLUGIN_CPPFLAGS
966
 
PLUGIN_LDFLAGS
967
 
VMTOOLS_CPPFLAGS
968
 
VMTOOLS_LIBS
969
 
RPCGENFLAGS
970
 
XDR_LIBS
971
 
TEST_PLUGIN_INSTALLDIR
972
 
COMMON_PLUGIN_INSTALLDIR
973
 
VMSVC_PLUGIN_INSTALLDIR
974
 
VMUSR_PLUGIN_INSTALLDIR
975
 
SYSDIR
976
 
LIB_AUTH_CPPFLAGS
977
 
LIB_IMPERSONATE_CPPFLAGS
978
 
LIB_USER_CPPFLAGS
979
 
LIBVMTOOLS_LIBADD
980
 
VIX_LIBADD
981
 
VMWARE_USER_CPPFLAGS
982
 
VMWARE_USER_LDADD
983
 
LIB@&t@OBJS
984
 
LTLIBOBJS'
 
968
SHELL'
985
969
ac_subst_files=''
 
970
ac_user_opts='
 
971
enable_option_checking
 
972
with_root_privileges
 
973
with_kernel_modules
 
974
with_kernel_release
 
975
with_linuxdir
 
976
enable_multimon
 
977
enable_unity
 
978
with_gtk2
 
979
with_gtkmm
 
980
enable_docs
 
981
enable_tests
 
982
enable_dependency_tracking
 
983
enable_shared
 
984
enable_static
 
985
with_pic
 
986
enable_fast_install
 
987
with_gnu_ld
 
988
enable_libtool_lock
 
989
with_x
 
990
with_pam
 
991
with_pam_prefix
 
992
with_procps
 
993
with_dnet
 
994
with_icu
 
995
'
986
996
      ac_precious_vars='build_alias
987
997
host_alias
988
998
target_alias
1002
1012
# Initialize some variables set by options.
1003
1013
ac_init_help=
1004
1014
ac_init_version=false
 
1015
ac_unrecognized_opts=
 
1016
ac_unrecognized_sep=
1005
1017
# The variables have the same names as the options, with
1006
1018
# dashes changed to underlines.
1007
1019
cache_file=/dev/null
1100
1112
    datarootdir=$ac_optarg ;;
1101
1113
 
1102
1114
  -disable-* | --disable-*)
1103
 
    ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
 
1115
    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1104
1116
    # Reject names that are not valid shell variable names.
1105
 
    expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1106
 
      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1107
 
   { (exit 1); exit 1; }; }
1108
 
    ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1109
 
    eval enable_$ac_feature=no ;;
 
1117
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 
1118
      as_fn_error "invalid feature name: $ac_useropt"
 
1119
    ac_useropt_orig=$ac_useropt
 
1120
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 
1121
    case $ac_user_opts in
 
1122
      *"
 
1123
"enable_$ac_useropt"
 
1124
"*) ;;
 
1125
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
 
1126
         ac_unrecognized_sep=', ';;
 
1127
    esac
 
1128
    eval enable_$ac_useropt=no ;;
1110
1129
 
1111
1130
  -docdir | --docdir | --docdi | --doc | --do)
1112
1131
    ac_prev=docdir ;;
1119
1138
    dvidir=$ac_optarg ;;
1120
1139
 
1121
1140
  -enable-* | --enable-*)
1122
 
    ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
 
1141
    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1123
1142
    # Reject names that are not valid shell variable names.
1124
 
    expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1125
 
      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1126
 
   { (exit 1); exit 1; }; }
1127
 
    ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1128
 
    eval enable_$ac_feature=\$ac_optarg ;;
 
1143
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 
1144
      as_fn_error "invalid feature name: $ac_useropt"
 
1145
    ac_useropt_orig=$ac_useropt
 
1146
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 
1147
    case $ac_user_opts in
 
1148
      *"
 
1149
"enable_$ac_useropt"
 
1150
"*) ;;
 
1151
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
 
1152
         ac_unrecognized_sep=', ';;
 
1153
    esac
 
1154
    eval enable_$ac_useropt=\$ac_optarg ;;
1129
1155
 
1130
1156
  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1131
1157
  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1316
1342
    ac_init_version=: ;;
1317
1343
 
1318
1344
  -with-* | --with-*)
1319
 
    ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
 
1345
    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1320
1346
    # Reject names that are not valid shell variable names.
1321
 
    expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1322
 
      { echo "$as_me: error: invalid package name: $ac_package" >&2
1323
 
   { (exit 1); exit 1; }; }
1324
 
    ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1325
 
    eval with_$ac_package=\$ac_optarg ;;
 
1347
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 
1348
      as_fn_error "invalid package name: $ac_useropt"
 
1349
    ac_useropt_orig=$ac_useropt
 
1350
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 
1351
    case $ac_user_opts in
 
1352
      *"
 
1353
"with_$ac_useropt"
 
1354
"*) ;;
 
1355
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
 
1356
         ac_unrecognized_sep=', ';;
 
1357
    esac
 
1358
    eval with_$ac_useropt=\$ac_optarg ;;
1326
1359
 
1327
1360
  -without-* | --without-*)
1328
 
    ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
 
1361
    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1329
1362
    # Reject names that are not valid shell variable names.
1330
 
    expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1331
 
      { echo "$as_me: error: invalid package name: $ac_package" >&2
1332
 
   { (exit 1); exit 1; }; }
1333
 
    ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1334
 
    eval with_$ac_package=no ;;
 
1363
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 
1364
      as_fn_error "invalid package name: $ac_useropt"
 
1365
    ac_useropt_orig=$ac_useropt
 
1366
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 
1367
    case $ac_user_opts in
 
1368
      *"
 
1369
"with_$ac_useropt"
 
1370
"*) ;;
 
1371
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
 
1372
         ac_unrecognized_sep=', ';;
 
1373
    esac
 
1374
    eval with_$ac_useropt=no ;;
1335
1375
 
1336
1376
  --x)
1337
1377
    # Obsolete; use --with-x.
1351
1391
  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1352
1392
    x_libraries=$ac_optarg ;;
1353
1393
 
1354
 
  -*) { echo "$as_me: error: unrecognized option: $ac_option
1355
 
Try \`$0 --help' for more information." >&2
1356
 
   { (exit 1); exit 1; }; }
 
1394
  -*) as_fn_error "unrecognized option: \`$ac_option'
 
1395
Try \`$0 --help' for more information."
1357
1396
    ;;
1358
1397
 
1359
1398
  *=*)
1360
1399
    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1361
1400
    # Reject names that are not valid shell variable names.
1362
 
    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1363
 
      { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1364
 
   { (exit 1); exit 1; }; }
 
1401
    case $ac_envvar in #(
 
1402
      '' | [0-9]* | *[!_$as_cr_alnum]* )
 
1403
      as_fn_error "invalid variable name: \`$ac_envvar'" ;;
 
1404
    esac
1365
1405
    eval $ac_envvar=\$ac_optarg
1366
1406
    export $ac_envvar ;;
1367
1407
 
1368
1408
  *)
1369
1409
    # FIXME: should be removed in autoconf 3.0.
1370
 
    echo "$as_me: WARNING: you should use --build, --host, --target" >&2
 
1410
    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1371
1411
    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1372
 
      echo "$as_me: WARNING: invalid host type: $ac_option" >&2
 
1412
      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1373
1413
    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1374
1414
    ;;
1375
1415
 
1378
1418
 
1379
1419
if test -n "$ac_prev"; then
1380
1420
  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1381
 
  { echo "$as_me: error: missing argument to $ac_option" >&2
1382
 
   { (exit 1); exit 1; }; }
1383
 
fi
1384
 
 
1385
 
# Be sure to have absolute directory names.
 
1421
  as_fn_error "missing argument to $ac_option"
 
1422
fi
 
1423
 
 
1424
if test -n "$ac_unrecognized_opts"; then
 
1425
  case $enable_option_checking in
 
1426
    no) ;;
 
1427
    fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
 
1428
    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
 
1429
  esac
 
1430
fi
 
1431
 
 
1432
# Check all directory arguments for consistency.
1386
1433
for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1387
1434
                datadir sysconfdir sharedstatedir localstatedir includedir \
1388
1435
                oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1389
1436
                libdir localedir mandir
1390
1437
do
1391
1438
  eval ac_val=\$$ac_var
 
1439
  # Remove trailing slashes.
 
1440
  case $ac_val in
 
1441
    */ )
 
1442
      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
 
1443
      eval $ac_var=\$ac_val;;
 
1444
  esac
 
1445
  # Be sure to have absolute directory names.
1392
1446
  case $ac_val in
1393
1447
    [\\/$]* | ?:[\\/]* )  continue;;
1394
1448
    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1395
1449
  esac
1396
 
  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1397
 
   { (exit 1); exit 1; }; }
 
1450
  as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1398
1451
done
1399
1452
 
1400
1453
# There might be people who depend on the old broken behavior: `$host'
1408
1461
if test "x$host_alias" != x; then
1409
1462
  if test "x$build_alias" = x; then
1410
1463
    cross_compiling=maybe
1411
 
    echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
 
1464
    $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1412
1465
    If a cross compiler is detected then cross compile mode will be used." >&2
1413
1466
  elif test "x$build_alias" != "x$host_alias"; then
1414
1467
    cross_compiling=yes
1424
1477
ac_pwd=`pwd` && test -n "$ac_pwd" &&
1425
1478
ac_ls_di=`ls -di .` &&
1426
1479
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1427
 
  { echo "$as_me: error: Working directory cannot be determined" >&2
1428
 
   { (exit 1); exit 1; }; }
 
1480
  as_fn_error "working directory cannot be determined"
1429
1481
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1430
 
  { echo "$as_me: error: pwd does not report name of working directory" >&2
1431
 
   { (exit 1); exit 1; }; }
 
1482
  as_fn_error "pwd does not report name of working directory"
1432
1483
 
1433
1484
 
1434
1485
# Find the source files, if location was not specified.
1435
1486
if test -z "$srcdir"; then
1436
1487
  ac_srcdir_defaulted=yes
1437
1488
  # Try the directory containing this script, then the parent directory.
1438
 
  ac_confdir=`$as_dirname -- "$0" ||
1439
 
$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1440
 
         X"$0" : 'X\(//\)[^/]' \| \
1441
 
         X"$0" : 'X\(//\)$' \| \
1442
 
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1443
 
echo X"$0" |
 
1489
  ac_confdir=`$as_dirname -- "$as_myself" ||
 
1490
$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
1491
         X"$as_myself" : 'X\(//\)[^/]' \| \
 
1492
         X"$as_myself" : 'X\(//\)$' \| \
 
1493
         X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
 
1494
$as_echo X"$as_myself" |
1444
1495
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1445
1496
            s//\1/
1446
1497
            q
1467
1518
fi
1468
1519
if test ! -r "$srcdir/$ac_unique_file"; then
1469
1520
  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1470
 
  { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1471
 
   { (exit 1); exit 1; }; }
 
1521
  as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1472
1522
fi
1473
1523
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1474
1524
ac_abs_confdir=`(
1475
 
        cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1476
 
   { (exit 1); exit 1; }; }
 
1525
        cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1477
1526
        pwd)`
1478
1527
# When building in place, set srcdir=.
1479
1528
if test "$ac_abs_confdir" = "$ac_pwd"; then
1499
1548
  # Omit some internal or obsolete options to make the list less imposing.
1500
1549
  # This message is too long to be a string in the A/UX 3.1 sh.
1501
1550
  cat <<_ACEOF
1502
 
\`configure' configures open-vm-tools 2010.04.25 to adapt to many kinds of systems.
 
1551
\`configure' configures open-vm-tools 2010.06.16 to adapt to many kinds of systems.
1503
1552
 
1504
1553
Usage: $0 [OPTION]... [VAR=VALUE]...
1505
1554
 
1521
1570
 
1522
1571
Installation directories:
1523
1572
  --prefix=PREFIX         install architecture-independent files in PREFIX
1524
 
                          [$ac_default_prefix]
 
1573
                          @<:@@S|@ac_default_prefix@:>@
1525
1574
  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1526
 
                          [PREFIX]
 
1575
                          @<:@PREFIX@:>@
1527
1576
 
1528
1577
By default, \`make install' will install all the files in
1529
1578
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1533
1582
For better control, use the options below.
1534
1583
 
1535
1584
Fine tuning of the installation directories:
1536
 
  --bindir=DIR           user executables [EPREFIX/bin]
1537
 
  --sbindir=DIR          system admin executables [EPREFIX/sbin]
1538
 
  --libexecdir=DIR       program executables [EPREFIX/libexec]
1539
 
  --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
1540
 
  --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
1541
 
  --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
1542
 
  --libdir=DIR           object code libraries [EPREFIX/lib]
1543
 
  --includedir=DIR       C header files [PREFIX/include]
1544
 
  --oldincludedir=DIR    C header files for non-gcc [/usr/include]
1545
 
  --datarootdir=DIR      read-only arch.-independent data root [PREFIX/share]
1546
 
  --datadir=DIR          read-only architecture-independent data [DATAROOTDIR]
1547
 
  --infodir=DIR          info documentation [DATAROOTDIR/info]
1548
 
  --localedir=DIR        locale-dependent data [DATAROOTDIR/locale]
1549
 
  --mandir=DIR           man documentation [DATAROOTDIR/man]
1550
 
  --docdir=DIR           documentation root @<:@DATAROOTDIR/doc/open-vm-tools@:>@
1551
 
  --htmldir=DIR          html documentation [DOCDIR]
1552
 
  --dvidir=DIR           dvi documentation [DOCDIR]
1553
 
  --pdfdir=DIR           pdf documentation [DOCDIR]
1554
 
  --psdir=DIR            ps documentation [DOCDIR]
 
1585
  --bindir=DIR            user executables [EPREFIX/bin]
 
1586
  --sbindir=DIR           system admin executables [EPREFIX/sbin]
 
1587
  --libexecdir=DIR        program executables [EPREFIX/libexec]
 
1588
  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
 
1589
  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
 
1590
  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
 
1591
  --libdir=DIR            object code libraries [EPREFIX/lib]
 
1592
  --includedir=DIR        C header files [PREFIX/include]
 
1593
  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
 
1594
  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
 
1595
  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
 
1596
  --infodir=DIR           info documentation [DATAROOTDIR/info]
 
1597
  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
 
1598
  --mandir=DIR            man documentation [DATAROOTDIR/man]
 
1599
  --docdir=DIR            documentation root @<:@DATAROOTDIR/doc/open-vm-tools@:>@
 
1600
  --htmldir=DIR           html documentation [DOCDIR]
 
1601
  --dvidir=DIR            dvi documentation [DOCDIR]
 
1602
  --pdfdir=DIR            pdf documentation [DOCDIR]
 
1603
  --psdir=DIR             ps documentation [DOCDIR]
1555
1604
_ACEOF
1556
1605
 
1557
1606
  cat <<\_ACEOF
1573
1622
 
1574
1623
if test -n "$ac_init_help"; then
1575
1624
  case $ac_init_help in
1576
 
     short | recursive ) echo "Configuration of open-vm-tools 2010.04.25:";;
 
1625
     short | recursive ) echo "Configuration of open-vm-tools 2010.06.16:";;
1577
1626
   esac
1578
1627
  cat <<\_ACEOF
1579
1628
 
1580
1629
Optional Features:
 
1630
  --disable-option-checking  ignore unrecognized --enable/--with options
1581
1631
  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1582
1632
  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1583
1633
  --disable-multimon      disables multimon, enabled by default
1612
1662
  --with-x                use the X Window System
1613
1663
  --without-pam           compiles without PAM support.
1614
1664
  --with-pam-prefix       specifies where pam files go. Default is
1615
 
                          $(sysconfdir)
 
1665
                          @S|@(sysconfdir)
1616
1666
  --without-procps        compiles without libproc (disables support for
1617
1667
                          meminfo)
1618
1668
  --without-dnet          compiles without libdnet (disables support for
1625
1675
  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1626
1676
              nonstandard directory <lib dir>
1627
1677
  LIBS        libraries to pass to the linker, e.g. -l<library>
1628
 
  CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
 
1678
  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1629
1679
              you have headers in a nonstandard directory <include dir>
1630
1680
  CPP         C preprocessor
1631
1681
  CXX         C++ compiler command
1644
1694
if test "$ac_init_help" = "recursive"; then
1645
1695
  # If there are subdirs, report their specific --help.
1646
1696
  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1647
 
    test -d "$ac_dir" || continue
 
1697
    test -d "$ac_dir" ||
 
1698
      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
 
1699
      continue
1648
1700
    ac_builddir=.
1649
1701
 
1650
1702
case "$ac_dir" in
1651
1703
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1652
1704
*)
1653
 
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
 
1705
  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1654
1706
  # A ".." for each directory in $ac_dir_suffix.
1655
 
  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
 
1707
  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1656
1708
  case $ac_top_builddir_sub in
1657
1709
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1658
1710
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1688
1740
      echo &&
1689
1741
      $SHELL "$ac_srcdir/configure" --help=recursive
1690
1742
    else
1691
 
      echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
 
1743
      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1692
1744
    fi || ac_status=$?
1693
1745
    cd "$ac_pwd" || { ac_status=$?; break; }
1694
1746
  done
1697
1749
test -n "$ac_init_help" && exit $ac_status
1698
1750
if $ac_init_version; then
1699
1751
  cat <<\_ACEOF
1700
 
open-vm-tools configure 2010.04.25
1701
 
generated by GNU Autoconf 2.61
 
1752
open-vm-tools configure 2010.06.16
 
1753
generated by GNU Autoconf 2.65
1702
1754
 
1703
 
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1704
 
2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
 
1755
Copyright (C) 2009 Free Software Foundation, Inc.
1705
1756
This configure script is free software; the Free Software Foundation
1706
1757
gives unlimited permission to copy, distribute and modify it.
1707
1758
_ACEOF
1708
1759
  exit
1709
1760
fi
 
1761
 
 
1762
## ------------------------ ##
 
1763
## Autoconf initialization. ##
 
1764
## ------------------------ ##
 
1765
 
 
1766
@%:@ ac_fn_c_try_compile LINENO
 
1767
@%:@ --------------------------
 
1768
@%:@ Try to compile conftest.@S|@ac_ext, and return whether this succeeded.
 
1769
ac_fn_c_try_compile ()
 
1770
{
 
1771
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1772
  rm -f conftest.$ac_objext
 
1773
  if { { ac_try="$ac_compile"
 
1774
case "(($ac_try" in
 
1775
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1776
  *) ac_try_echo=$ac_try;;
 
1777
esac
 
1778
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1779
$as_echo "$ac_try_echo"; } >&5
 
1780
  (eval "$ac_compile") 2>conftest.err
 
1781
  ac_status=$?
 
1782
  if test -s conftest.err; then
 
1783
    grep -v '^ *+' conftest.err >conftest.er1
 
1784
    cat conftest.er1 >&5
 
1785
    mv -f conftest.er1 conftest.err
 
1786
  fi
 
1787
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1788
  test $ac_status = 0; } && {
 
1789
         test -z "$ac_c_werror_flag" ||
 
1790
         test ! -s conftest.err
 
1791
       } && test -s conftest.$ac_objext; then :
 
1792
  ac_retval=0
 
1793
else
 
1794
  $as_echo "$as_me: failed program was:" >&5
 
1795
sed 's/^/| /' conftest.$ac_ext >&5
 
1796
 
 
1797
        ac_retval=1
 
1798
fi
 
1799
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1800
  as_fn_set_status $ac_retval
 
1801
 
 
1802
} @%:@ ac_fn_c_try_compile
 
1803
 
 
1804
@%:@ ac_fn_c_try_cpp LINENO
 
1805
@%:@ ----------------------
 
1806
@%:@ Try to preprocess conftest.@S|@ac_ext, and return whether this succeeded.
 
1807
ac_fn_c_try_cpp ()
 
1808
{
 
1809
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1810
  if { { ac_try="$ac_cpp conftest.$ac_ext"
 
1811
case "(($ac_try" in
 
1812
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1813
  *) ac_try_echo=$ac_try;;
 
1814
esac
 
1815
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1816
$as_echo "$ac_try_echo"; } >&5
 
1817
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
 
1818
  ac_status=$?
 
1819
  if test -s conftest.err; then
 
1820
    grep -v '^ *+' conftest.err >conftest.er1
 
1821
    cat conftest.er1 >&5
 
1822
    mv -f conftest.er1 conftest.err
 
1823
  fi
 
1824
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1825
  test $ac_status = 0; } >/dev/null && {
 
1826
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
1827
         test ! -s conftest.err
 
1828
       }; then :
 
1829
  ac_retval=0
 
1830
else
 
1831
  $as_echo "$as_me: failed program was:" >&5
 
1832
sed 's/^/| /' conftest.$ac_ext >&5
 
1833
 
 
1834
    ac_retval=1
 
1835
fi
 
1836
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1837
  as_fn_set_status $ac_retval
 
1838
 
 
1839
} @%:@ ac_fn_c_try_cpp
 
1840
 
 
1841
@%:@ ac_fn_cxx_try_compile LINENO
 
1842
@%:@ ----------------------------
 
1843
@%:@ Try to compile conftest.@S|@ac_ext, and return whether this succeeded.
 
1844
ac_fn_cxx_try_compile ()
 
1845
{
 
1846
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1847
  rm -f conftest.$ac_objext
 
1848
  if { { ac_try="$ac_compile"
 
1849
case "(($ac_try" in
 
1850
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1851
  *) ac_try_echo=$ac_try;;
 
1852
esac
 
1853
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1854
$as_echo "$ac_try_echo"; } >&5
 
1855
  (eval "$ac_compile") 2>conftest.err
 
1856
  ac_status=$?
 
1857
  if test -s conftest.err; then
 
1858
    grep -v '^ *+' conftest.err >conftest.er1
 
1859
    cat conftest.er1 >&5
 
1860
    mv -f conftest.er1 conftest.err
 
1861
  fi
 
1862
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1863
  test $ac_status = 0; } && {
 
1864
         test -z "$ac_cxx_werror_flag" ||
 
1865
         test ! -s conftest.err
 
1866
       } && test -s conftest.$ac_objext; then :
 
1867
  ac_retval=0
 
1868
else
 
1869
  $as_echo "$as_me: failed program was:" >&5
 
1870
sed 's/^/| /' conftest.$ac_ext >&5
 
1871
 
 
1872
        ac_retval=1
 
1873
fi
 
1874
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1875
  as_fn_set_status $ac_retval
 
1876
 
 
1877
} @%:@ ac_fn_cxx_try_compile
 
1878
 
 
1879
@%:@ ac_fn_c_try_link LINENO
 
1880
@%:@ -----------------------
 
1881
@%:@ Try to link conftest.@S|@ac_ext, and return whether this succeeded.
 
1882
ac_fn_c_try_link ()
 
1883
{
 
1884
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1885
  rm -f conftest.$ac_objext conftest$ac_exeext
 
1886
  if { { ac_try="$ac_link"
 
1887
case "(($ac_try" in
 
1888
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1889
  *) ac_try_echo=$ac_try;;
 
1890
esac
 
1891
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1892
$as_echo "$ac_try_echo"; } >&5
 
1893
  (eval "$ac_link") 2>conftest.err
 
1894
  ac_status=$?
 
1895
  if test -s conftest.err; then
 
1896
    grep -v '^ *+' conftest.err >conftest.er1
 
1897
    cat conftest.er1 >&5
 
1898
    mv -f conftest.er1 conftest.err
 
1899
  fi
 
1900
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1901
  test $ac_status = 0; } && {
 
1902
         test -z "$ac_c_werror_flag" ||
 
1903
         test ! -s conftest.err
 
1904
       } && test -s conftest$ac_exeext && {
 
1905
         test "$cross_compiling" = yes ||
 
1906
         $as_test_x conftest$ac_exeext
 
1907
       }; then :
 
1908
  ac_retval=0
 
1909
else
 
1910
  $as_echo "$as_me: failed program was:" >&5
 
1911
sed 's/^/| /' conftest.$ac_ext >&5
 
1912
 
 
1913
        ac_retval=1
 
1914
fi
 
1915
  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
 
1916
  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
 
1917
  # interfere with the next link command; also delete a directory that is
 
1918
  # left behind by Apple's compiler.  We do this before executing the actions.
 
1919
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
 
1920
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1921
  as_fn_set_status $ac_retval
 
1922
 
 
1923
} @%:@ ac_fn_c_try_link
 
1924
 
 
1925
@%:@ ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
 
1926
@%:@ -------------------------------------------------------
 
1927
@%:@ Tests whether HEADER exists and can be compiled using the include files in
 
1928
@%:@ INCLUDES, setting the cache variable VAR accordingly.
 
1929
ac_fn_c_check_header_compile ()
 
1930
{
 
1931
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1932
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 
1933
$as_echo_n "checking for $2... " >&6; }
 
1934
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 
1935
  $as_echo_n "(cached) " >&6
 
1936
else
 
1937
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
1938
/* end confdefs.h.  */
 
1939
$4
 
1940
@%:@include <$2>
 
1941
_ACEOF
 
1942
if ac_fn_c_try_compile "$LINENO"; then :
 
1943
  eval "$3=yes"
 
1944
else
 
1945
  eval "$3=no"
 
1946
fi
 
1947
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
1948
fi
 
1949
eval ac_res=\$$3
 
1950
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
1951
$as_echo "$ac_res" >&6; }
 
1952
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1953
 
 
1954
} @%:@ ac_fn_c_check_header_compile
 
1955
 
 
1956
@%:@ ac_fn_c_try_run LINENO
 
1957
@%:@ ----------------------
 
1958
@%:@ Try to link conftest.@S|@ac_ext, and return whether this succeeded. Assumes
 
1959
@%:@ that executables *can* be run.
 
1960
ac_fn_c_try_run ()
 
1961
{
 
1962
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1963
  if { { ac_try="$ac_link"
 
1964
case "(($ac_try" in
 
1965
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1966
  *) ac_try_echo=$ac_try;;
 
1967
esac
 
1968
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1969
$as_echo "$ac_try_echo"; } >&5
 
1970
  (eval "$ac_link") 2>&5
 
1971
  ac_status=$?
 
1972
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1973
  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
 
1974
  { { case "(($ac_try" in
 
1975
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1976
  *) ac_try_echo=$ac_try;;
 
1977
esac
 
1978
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1979
$as_echo "$ac_try_echo"; } >&5
 
1980
  (eval "$ac_try") 2>&5
 
1981
  ac_status=$?
 
1982
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1983
  test $ac_status = 0; }; }; then :
 
1984
  ac_retval=0
 
1985
else
 
1986
  $as_echo "$as_me: program exited with status $ac_status" >&5
 
1987
       $as_echo "$as_me: failed program was:" >&5
 
1988
sed 's/^/| /' conftest.$ac_ext >&5
 
1989
 
 
1990
       ac_retval=$ac_status
 
1991
fi
 
1992
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
 
1993
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1994
  as_fn_set_status $ac_retval
 
1995
 
 
1996
} @%:@ ac_fn_c_try_run
 
1997
 
 
1998
@%:@ ac_fn_c_check_func LINENO FUNC VAR
 
1999
@%:@ ----------------------------------
 
2000
@%:@ Tests whether FUNC exists, setting the cache variable VAR accordingly
 
2001
ac_fn_c_check_func ()
 
2002
{
 
2003
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
2004
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 
2005
$as_echo_n "checking for $2... " >&6; }
 
2006
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 
2007
  $as_echo_n "(cached) " >&6
 
2008
else
 
2009
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
2010
/* end confdefs.h.  */
 
2011
/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
 
2012
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 
2013
#define $2 innocuous_$2
 
2014
 
 
2015
/* System header to define __stub macros and hopefully few prototypes,
 
2016
    which can conflict with char $2 (); below.
 
2017
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
2018
    <limits.h> exists even on freestanding compilers.  */
 
2019
 
 
2020
#ifdef __STDC__
 
2021
# include <limits.h>
 
2022
#else
 
2023
# include <assert.h>
 
2024
#endif
 
2025
 
 
2026
#undef $2
 
2027
 
 
2028
/* Override any GCC internal prototype to avoid an error.
 
2029
   Use char because int might match the return type of a GCC
 
2030
   builtin and then its argument prototype would still apply.  */
 
2031
#ifdef __cplusplus
 
2032
extern "C"
 
2033
#endif
 
2034
char $2 ();
 
2035
/* The GNU C library defines this for functions which it implements
 
2036
    to always fail with ENOSYS.  Some functions are actually named
 
2037
    something starting with __ and the normal name is an alias.  */
 
2038
#if defined __stub_$2 || defined __stub___$2
 
2039
choke me
 
2040
#endif
 
2041
 
 
2042
int
 
2043
main ()
 
2044
{
 
2045
return $2 ();
 
2046
  ;
 
2047
  return 0;
 
2048
}
 
2049
_ACEOF
 
2050
if ac_fn_c_try_link "$LINENO"; then :
 
2051
  eval "$3=yes"
 
2052
else
 
2053
  eval "$3=no"
 
2054
fi
 
2055
rm -f core conftest.err conftest.$ac_objext \
 
2056
    conftest$ac_exeext conftest.$ac_ext
 
2057
fi
 
2058
eval ac_res=\$$3
 
2059
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
2060
$as_echo "$ac_res" >&6; }
 
2061
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
2062
 
 
2063
} @%:@ ac_fn_c_check_func
 
2064
 
 
2065
@%:@ ac_fn_cxx_try_cpp LINENO
 
2066
@%:@ ------------------------
 
2067
@%:@ Try to preprocess conftest.@S|@ac_ext, and return whether this succeeded.
 
2068
ac_fn_cxx_try_cpp ()
 
2069
{
 
2070
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
2071
  if { { ac_try="$ac_cpp conftest.$ac_ext"
 
2072
case "(($ac_try" in
 
2073
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2074
  *) ac_try_echo=$ac_try;;
 
2075
esac
 
2076
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
2077
$as_echo "$ac_try_echo"; } >&5
 
2078
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
 
2079
  ac_status=$?
 
2080
  if test -s conftest.err; then
 
2081
    grep -v '^ *+' conftest.err >conftest.er1
 
2082
    cat conftest.er1 >&5
 
2083
    mv -f conftest.er1 conftest.err
 
2084
  fi
 
2085
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
2086
  test $ac_status = 0; } >/dev/null && {
 
2087
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
 
2088
         test ! -s conftest.err
 
2089
       }; then :
 
2090
  ac_retval=0
 
2091
else
 
2092
  $as_echo "$as_me: failed program was:" >&5
 
2093
sed 's/^/| /' conftest.$ac_ext >&5
 
2094
 
 
2095
    ac_retval=1
 
2096
fi
 
2097
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
2098
  as_fn_set_status $ac_retval
 
2099
 
 
2100
} @%:@ ac_fn_cxx_try_cpp
 
2101
 
 
2102
@%:@ ac_fn_cxx_try_link LINENO
 
2103
@%:@ -------------------------
 
2104
@%:@ Try to link conftest.@S|@ac_ext, and return whether this succeeded.
 
2105
ac_fn_cxx_try_link ()
 
2106
{
 
2107
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
2108
  rm -f conftest.$ac_objext conftest$ac_exeext
 
2109
  if { { ac_try="$ac_link"
 
2110
case "(($ac_try" in
 
2111
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2112
  *) ac_try_echo=$ac_try;;
 
2113
esac
 
2114
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
2115
$as_echo "$ac_try_echo"; } >&5
 
2116
  (eval "$ac_link") 2>conftest.err
 
2117
  ac_status=$?
 
2118
  if test -s conftest.err; then
 
2119
    grep -v '^ *+' conftest.err >conftest.er1
 
2120
    cat conftest.er1 >&5
 
2121
    mv -f conftest.er1 conftest.err
 
2122
  fi
 
2123
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
2124
  test $ac_status = 0; } && {
 
2125
         test -z "$ac_cxx_werror_flag" ||
 
2126
         test ! -s conftest.err
 
2127
       } && test -s conftest$ac_exeext && {
 
2128
         test "$cross_compiling" = yes ||
 
2129
         $as_test_x conftest$ac_exeext
 
2130
       }; then :
 
2131
  ac_retval=0
 
2132
else
 
2133
  $as_echo "$as_me: failed program was:" >&5
 
2134
sed 's/^/| /' conftest.$ac_ext >&5
 
2135
 
 
2136
        ac_retval=1
 
2137
fi
 
2138
  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
 
2139
  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
 
2140
  # interfere with the next link command; also delete a directory that is
 
2141
  # left behind by Apple's compiler.  We do this before executing the actions.
 
2142
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
 
2143
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
2144
  as_fn_set_status $ac_retval
 
2145
 
 
2146
} @%:@ ac_fn_cxx_try_link
 
2147
 
 
2148
@%:@ ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
 
2149
@%:@ -------------------------------------------------------
 
2150
@%:@ Tests whether HEADER exists, giving a warning if it cannot be compiled using
 
2151
@%:@ the include files in INCLUDES and setting the cache variable VAR
 
2152
@%:@ accordingly.
 
2153
ac_fn_c_check_header_mongrel ()
 
2154
{
 
2155
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
2156
  if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 
2157
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 
2158
$as_echo_n "checking for $2... " >&6; }
 
2159
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 
2160
  $as_echo_n "(cached) " >&6
 
2161
fi
 
2162
eval ac_res=\$$3
 
2163
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
2164
$as_echo "$ac_res" >&6; }
 
2165
else
 
2166
  # Is the header compilable?
 
2167
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
 
2168
$as_echo_n "checking $2 usability... " >&6; }
 
2169
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
2170
/* end confdefs.h.  */
 
2171
$4
 
2172
@%:@include <$2>
 
2173
_ACEOF
 
2174
if ac_fn_c_try_compile "$LINENO"; then :
 
2175
  ac_header_compiler=yes
 
2176
else
 
2177
  ac_header_compiler=no
 
2178
fi
 
2179
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
2180
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
 
2181
$as_echo "$ac_header_compiler" >&6; }
 
2182
 
 
2183
# Is the header present?
 
2184
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
 
2185
$as_echo_n "checking $2 presence... " >&6; }
 
2186
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
2187
/* end confdefs.h.  */
 
2188
@%:@include <$2>
 
2189
_ACEOF
 
2190
if ac_fn_c_try_cpp "$LINENO"; then :
 
2191
  ac_header_preproc=yes
 
2192
else
 
2193
  ac_header_preproc=no
 
2194
fi
 
2195
rm -f conftest.err conftest.$ac_ext
 
2196
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
 
2197
$as_echo "$ac_header_preproc" >&6; }
 
2198
 
 
2199
# So?  What about this header?
 
2200
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
 
2201
  yes:no: )
 
2202
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
 
2203
$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
 
2204
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
 
2205
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
 
2206
    ;;
 
2207
  no:yes:* )
 
2208
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
 
2209
$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
 
2210
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
 
2211
$as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
 
2212
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
 
2213
$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
 
2214
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
 
2215
$as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
 
2216
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
 
2217
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
 
2218
( cat <<\_ASBOX
 
2219
## -------------------------------------------------------- ##
 
2220
## Report this to open-vm-tools-devel@lists.sourceforge.net ##
 
2221
## -------------------------------------------------------- ##
 
2222
_ASBOX
 
2223
     ) | sed "s/^/$as_me: WARNING:     /" >&2
 
2224
    ;;
 
2225
esac
 
2226
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 
2227
$as_echo_n "checking for $2... " >&6; }
 
2228
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 
2229
  $as_echo_n "(cached) " >&6
 
2230
else
 
2231
  eval "$3=\$ac_header_compiler"
 
2232
fi
 
2233
eval ac_res=\$$3
 
2234
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
2235
$as_echo "$ac_res" >&6; }
 
2236
fi
 
2237
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
2238
 
 
2239
} @%:@ ac_fn_c_check_header_mongrel
 
2240
 
 
2241
@%:@ ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
 
2242
@%:@ ---------------------------------------------------------
 
2243
@%:@ Tests whether HEADER exists, giving a warning if it cannot be compiled using
 
2244
@%:@ the include files in INCLUDES and setting the cache variable VAR
 
2245
@%:@ accordingly.
 
2246
ac_fn_cxx_check_header_mongrel ()
 
2247
{
 
2248
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
2249
  if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 
2250
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 
2251
$as_echo_n "checking for $2... " >&6; }
 
2252
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 
2253
  $as_echo_n "(cached) " >&6
 
2254
fi
 
2255
eval ac_res=\$$3
 
2256
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
2257
$as_echo "$ac_res" >&6; }
 
2258
else
 
2259
  # Is the header compilable?
 
2260
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
 
2261
$as_echo_n "checking $2 usability... " >&6; }
 
2262
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
2263
/* end confdefs.h.  */
 
2264
$4
 
2265
@%:@include <$2>
 
2266
_ACEOF
 
2267
if ac_fn_cxx_try_compile "$LINENO"; then :
 
2268
  ac_header_compiler=yes
 
2269
else
 
2270
  ac_header_compiler=no
 
2271
fi
 
2272
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
2273
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
 
2274
$as_echo "$ac_header_compiler" >&6; }
 
2275
 
 
2276
# Is the header present?
 
2277
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
 
2278
$as_echo_n "checking $2 presence... " >&6; }
 
2279
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
2280
/* end confdefs.h.  */
 
2281
@%:@include <$2>
 
2282
_ACEOF
 
2283
if ac_fn_cxx_try_cpp "$LINENO"; then :
 
2284
  ac_header_preproc=yes
 
2285
else
 
2286
  ac_header_preproc=no
 
2287
fi
 
2288
rm -f conftest.err conftest.$ac_ext
 
2289
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
 
2290
$as_echo "$ac_header_preproc" >&6; }
 
2291
 
 
2292
# So?  What about this header?
 
2293
case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
 
2294
  yes:no: )
 
2295
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
 
2296
$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
 
2297
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
 
2298
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
 
2299
    ;;
 
2300
  no:yes:* )
 
2301
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
 
2302
$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
 
2303
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
 
2304
$as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
 
2305
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
 
2306
$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
 
2307
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
 
2308
$as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
 
2309
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
 
2310
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
 
2311
( cat <<\_ASBOX
 
2312
## -------------------------------------------------------- ##
 
2313
## Report this to open-vm-tools-devel@lists.sourceforge.net ##
 
2314
## -------------------------------------------------------- ##
 
2315
_ASBOX
 
2316
     ) | sed "s/^/$as_me: WARNING:     /" >&2
 
2317
    ;;
 
2318
esac
 
2319
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 
2320
$as_echo_n "checking for $2... " >&6; }
 
2321
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 
2322
  $as_echo_n "(cached) " >&6
 
2323
else
 
2324
  eval "$3=\$ac_header_compiler"
 
2325
fi
 
2326
eval ac_res=\$$3
 
2327
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
2328
$as_echo "$ac_res" >&6; }
 
2329
fi
 
2330
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
2331
 
 
2332
} @%:@ ac_fn_cxx_check_header_mongrel
 
2333
 
 
2334
@%:@ ac_fn_c_check_type LINENO TYPE VAR INCLUDES
 
2335
@%:@ -------------------------------------------
 
2336
@%:@ Tests whether TYPE exists after having included INCLUDES, setting cache
 
2337
@%:@ variable VAR accordingly.
 
2338
ac_fn_c_check_type ()
 
2339
{
 
2340
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
2341
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 
2342
$as_echo_n "checking for $2... " >&6; }
 
2343
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 
2344
  $as_echo_n "(cached) " >&6
 
2345
else
 
2346
  eval "$3=no"
 
2347
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
2348
/* end confdefs.h.  */
 
2349
$4
 
2350
int
 
2351
main ()
 
2352
{
 
2353
if (sizeof ($2))
 
2354
         return 0;
 
2355
  ;
 
2356
  return 0;
 
2357
}
 
2358
_ACEOF
 
2359
if ac_fn_c_try_compile "$LINENO"; then :
 
2360
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
2361
/* end confdefs.h.  */
 
2362
$4
 
2363
int
 
2364
main ()
 
2365
{
 
2366
if (sizeof (($2)))
 
2367
            return 0;
 
2368
  ;
 
2369
  return 0;
 
2370
}
 
2371
_ACEOF
 
2372
if ac_fn_c_try_compile "$LINENO"; then :
 
2373
  
 
2374
else
 
2375
  eval "$3=yes"
 
2376
fi
 
2377
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
2378
fi
 
2379
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
2380
fi
 
2381
eval ac_res=\$$3
 
2382
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
2383
$as_echo "$ac_res" >&6; }
 
2384
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
2385
 
 
2386
} @%:@ ac_fn_c_check_type
 
2387
 
 
2388
@%:@ ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
 
2389
@%:@ ----------------------------------------------------
 
2390
@%:@ Tries to find if the field MEMBER exists in type AGGR, after including
 
2391
@%:@ INCLUDES, setting cache variable VAR accordingly.
 
2392
ac_fn_c_check_member ()
 
2393
{
 
2394
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
2395
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
 
2396
$as_echo_n "checking for $2.$3... " >&6; }
 
2397
if { as_var=$4; eval "test \"\${$as_var+set}\" = set"; }; then :
 
2398
  $as_echo_n "(cached) " >&6
 
2399
else
 
2400
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
2401
/* end confdefs.h.  */
 
2402
$5
 
2403
int
 
2404
main ()
 
2405
{
 
2406
static $2 ac_aggr;
 
2407
if (ac_aggr.$3)
 
2408
return 0;
 
2409
  ;
 
2410
  return 0;
 
2411
}
 
2412
_ACEOF
 
2413
if ac_fn_c_try_compile "$LINENO"; then :
 
2414
  eval "$4=yes"
 
2415
else
 
2416
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
2417
/* end confdefs.h.  */
 
2418
$5
 
2419
int
 
2420
main ()
 
2421
{
 
2422
static $2 ac_aggr;
 
2423
if (sizeof ac_aggr.$3)
 
2424
return 0;
 
2425
  ;
 
2426
  return 0;
 
2427
}
 
2428
_ACEOF
 
2429
if ac_fn_c_try_compile "$LINENO"; then :
 
2430
  eval "$4=yes"
 
2431
else
 
2432
  eval "$4=no"
 
2433
fi
 
2434
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
2435
fi
 
2436
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
2437
fi
 
2438
eval ac_res=\$$4
 
2439
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
2440
$as_echo "$ac_res" >&6; }
 
2441
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
2442
 
 
2443
} @%:@ ac_fn_c_check_member
1710
2444
cat >config.log <<_ACEOF
1711
2445
This file contains any messages produced by compilers while
1712
2446
running configure, to aid debugging if configure makes a mistake.
1713
2447
 
1714
 
It was created by open-vm-tools $as_me 2010.04.25, which was
1715
 
generated by GNU Autoconf 2.61.  Invocation command line was
 
2448
It was created by open-vm-tools $as_me 2010.06.16, which was
 
2449
generated by GNU Autoconf 2.65.  Invocation command line was
1716
2450
 
1717
2451
  $ $0 $@
1718
2452
 
1720
2454
exec 5>>config.log
1721
2455
{
1722
2456
cat <<_ASUNAME
1723
 
@%:@@%:@ --------- @%:@@%:@
1724
 
@%:@@%:@ Platform. @%:@@%:@
1725
 
@%:@@%:@ --------- @%:@@%:@
 
2457
## --------- ##
 
2458
## Platform. ##
 
2459
## --------- ##
1726
2460
 
1727
2461
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1728
2462
uname -m = `(uname -m) 2>/dev/null || echo unknown`
1748
2482
do
1749
2483
  IFS=$as_save_IFS
1750
2484
  test -z "$as_dir" && as_dir=.
1751
 
  echo "PATH: $as_dir"
1752
 
done
 
2485
    $as_echo "PATH: $as_dir"
 
2486
  done
1753
2487
IFS=$as_save_IFS
1754
2488
 
1755
2489
} >&5
1757
2491
cat >&5 <<_ACEOF
1758
2492
 
1759
2493
 
1760
 
@%:@@%:@ ----------- @%:@@%:@
1761
 
@%:@@%:@ Core tests. @%:@@%:@
1762
 
@%:@@%:@ ----------- @%:@@%:@
 
2494
## ----------- ##
 
2495
## Core tests. ##
 
2496
## ----------- ##
1763
2497
 
1764
2498
_ACEOF
1765
2499
 
1783
2517
    | -silent | --silent | --silen | --sile | --sil)
1784
2518
      continue ;;
1785
2519
    *\'*)
1786
 
      ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
 
2520
      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1787
2521
    esac
1788
2522
    case $ac_pass in
1789
 
    1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
 
2523
    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1790
2524
    2)
1791
 
      ac_configure_args1="$ac_configure_args1 '$ac_arg'"
 
2525
      as_fn_append ac_configure_args1 " '$ac_arg'"
1792
2526
      if test $ac_must_keep_next = true; then
1793
2527
        ac_must_keep_next=false # Got value, back to normal.
1794
2528
      else
1804
2538
          -* ) ac_must_keep_next=true ;;
1805
2539
        esac
1806
2540
      fi
1807
 
      ac_configure_args="$ac_configure_args '$ac_arg'"
 
2541
      as_fn_append ac_configure_args " '$ac_arg'"
1808
2542
      ;;
1809
2543
    esac
1810
2544
  done
1811
2545
done
1812
 
$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1813
 
$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
 
2546
{ ac_configure_args0=; unset ac_configure_args0;}
 
2547
{ ac_configure_args1=; unset ac_configure_args1;}
1814
2548
 
1815
2549
# When interrupted or exit'd, cleanup temporary files, and complete
1816
2550
# config.log.  We remove comments because anyway the quotes in there
1823
2557
    echo
1824
2558
 
1825
2559
    cat <<\_ASBOX
1826
 
@%:@@%:@ ---------------- @%:@@%:@
1827
 
@%:@@%:@ Cache variables. @%:@@%:@
1828
 
@%:@@%:@ ---------------- @%:@@%:@
 
2560
## ---------------- ##
 
2561
## Cache variables. ##
 
2562
## ---------------- ##
1829
2563
_ASBOX
1830
2564
    echo
1831
2565
    # The following way of writing the cache mishandles newlines in values,
1835
2569
    case $ac_val in #(
1836
2570
    *${as_nl}*)
1837
2571
      case $ac_var in #(
1838
 
      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1839
 
echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
 
2572
      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
 
2573
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1840
2574
      esac
1841
2575
      case $ac_var in #(
1842
2576
      _ | IFS | as_nl) ;; #(
1843
 
      *) $as_unset $ac_var ;;
 
2577
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
 
2578
      *) { eval $ac_var=; unset $ac_var;} ;;
1844
2579
      esac ;;
1845
2580
    esac
1846
2581
  done
1860
2595
    echo
1861
2596
 
1862
2597
    cat <<\_ASBOX
1863
 
@%:@@%:@ ----------------- @%:@@%:@
1864
 
@%:@@%:@ Output variables. @%:@@%:@
1865
 
@%:@@%:@ ----------------- @%:@@%:@
 
2598
## ----------------- ##
 
2599
## Output variables. ##
 
2600
## ----------------- ##
1866
2601
_ASBOX
1867
2602
    echo
1868
2603
    for ac_var in $ac_subst_vars
1869
2604
    do
1870
2605
      eval ac_val=\$$ac_var
1871
2606
      case $ac_val in
1872
 
      *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
 
2607
      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1873
2608
      esac
1874
 
      echo "$ac_var='\''$ac_val'\''"
 
2609
      $as_echo "$ac_var='\''$ac_val'\''"
1875
2610
    done | sort
1876
2611
    echo
1877
2612
 
1878
2613
    if test -n "$ac_subst_files"; then
1879
2614
      cat <<\_ASBOX
1880
 
@%:@@%:@ ------------------- @%:@@%:@
1881
 
@%:@@%:@ File substitutions. @%:@@%:@
1882
 
@%:@@%:@ ------------------- @%:@@%:@
 
2615
## ------------------- ##
 
2616
## File substitutions. ##
 
2617
## ------------------- ##
1883
2618
_ASBOX
1884
2619
      echo
1885
2620
      for ac_var in $ac_subst_files
1886
2621
      do
1887
2622
        eval ac_val=\$$ac_var
1888
2623
        case $ac_val in
1889
 
        *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
 
2624
        *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1890
2625
        esac
1891
 
        echo "$ac_var='\''$ac_val'\''"
 
2626
        $as_echo "$ac_var='\''$ac_val'\''"
1892
2627
      done | sort
1893
2628
      echo
1894
2629
    fi
1895
2630
 
1896
2631
    if test -s confdefs.h; then
1897
2632
      cat <<\_ASBOX
1898
 
@%:@@%:@ ----------- @%:@@%:@
1899
 
@%:@@%:@ confdefs.h. @%:@@%:@
1900
 
@%:@@%:@ ----------- @%:@@%:@
 
2633
## ----------- ##
 
2634
## confdefs.h. ##
 
2635
## ----------- ##
1901
2636
_ASBOX
1902
2637
      echo
1903
2638
      cat confdefs.h
1904
2639
      echo
1905
2640
    fi
1906
2641
    test "$ac_signal" != 0 &&
1907
 
      echo "$as_me: caught signal $ac_signal"
1908
 
    echo "$as_me: exit $exit_status"
 
2642
      $as_echo "$as_me: caught signal $ac_signal"
 
2643
    $as_echo "$as_me: exit $exit_status"
1909
2644
  } >&5
1910
2645
  rm -f core *.core core.conftest.* &&
1911
2646
    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1912
2647
    exit $exit_status
1913
2648
' 0
1914
2649
for ac_signal in 1 2 13 15; do
1915
 
  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
 
2650
  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1916
2651
done
1917
2652
ac_signal=0
1918
2653
 
1919
2654
# confdefs.h avoids OS command line length limits that DEFS can exceed.
1920
2655
rm -f -r conftest* confdefs.h
1921
2656
 
 
2657
$as_echo "/* confdefs.h */" > confdefs.h
 
2658
 
1922
2659
# Predefined preprocessor variables.
1923
2660
 
1924
2661
cat >>confdefs.h <<_ACEOF
1925
2662
@%:@define PACKAGE_NAME "$PACKAGE_NAME"
1926
2663
_ACEOF
1927
2664
 
1928
 
 
1929
2665
cat >>confdefs.h <<_ACEOF
1930
2666
@%:@define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1931
2667
_ACEOF
1932
2668
 
1933
 
 
1934
2669
cat >>confdefs.h <<_ACEOF
1935
2670
@%:@define PACKAGE_VERSION "$PACKAGE_VERSION"
1936
2671
_ACEOF
1937
2672
 
1938
 
 
1939
2673
cat >>confdefs.h <<_ACEOF
1940
2674
@%:@define PACKAGE_STRING "$PACKAGE_STRING"
1941
2675
_ACEOF
1942
2676
 
1943
 
 
1944
2677
cat >>confdefs.h <<_ACEOF
1945
2678
@%:@define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1946
2679
_ACEOF
1947
2680
 
 
2681
cat >>confdefs.h <<_ACEOF
 
2682
@%:@define PACKAGE_URL "$PACKAGE_URL"
 
2683
_ACEOF
 
2684
 
1948
2685
 
1949
2686
# Let the site file select an alternate cache file if it wants to.
1950
 
# Prefer explicitly selected file to automatically selected ones.
 
2687
# Prefer an explicitly selected file to automatically selected ones.
 
2688
ac_site_file1=NONE
 
2689
ac_site_file2=NONE
1951
2690
if test -n "$CONFIG_SITE"; then
1952
 
  set x "$CONFIG_SITE"
 
2691
  ac_site_file1=$CONFIG_SITE
1953
2692
elif test "x$prefix" != xNONE; then
1954
 
  set x "$prefix/share/config.site" "$prefix/etc/config.site"
 
2693
  ac_site_file1=$prefix/share/config.site
 
2694
  ac_site_file2=$prefix/etc/config.site
1955
2695
else
1956
 
  set x "$ac_default_prefix/share/config.site" \
1957
 
        "$ac_default_prefix/etc/config.site"
 
2696
  ac_site_file1=$ac_default_prefix/share/config.site
 
2697
  ac_site_file2=$ac_default_prefix/etc/config.site
1958
2698
fi
1959
 
shift
1960
 
for ac_site_file
 
2699
for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1961
2700
do
1962
 
  if test -r "$ac_site_file"; then
1963
 
    { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1964
 
echo "$as_me: loading site script $ac_site_file" >&6;}
 
2701
  test "x$ac_site_file" = xNONE && continue
 
2702
  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
 
2703
    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
 
2704
$as_echo "$as_me: loading site script $ac_site_file" >&6;}
1965
2705
    sed 's/^/| /' "$ac_site_file" >&5
1966
2706
    . "$ac_site_file"
1967
2707
  fi
1968
2708
done
1969
2709
 
1970
2710
if test -r "$cache_file"; then
1971
 
  # Some versions of bash will fail to source /dev/null (special
1972
 
  # files actually), so we avoid doing that.
1973
 
  if test -f "$cache_file"; then
1974
 
    { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1975
 
echo "$as_me: loading cache $cache_file" >&6;}
 
2711
  # Some versions of bash will fail to source /dev/null (special files
 
2712
  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
 
2713
  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
 
2714
    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
 
2715
$as_echo "$as_me: loading cache $cache_file" >&6;}
1976
2716
    case $cache_file in
1977
2717
      [\\/]* | ?:[\\/]* ) . "$cache_file";;
1978
2718
      *)                      . "./$cache_file";;
1979
2719
    esac
1980
2720
  fi
1981
2721
else
1982
 
  { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1983
 
echo "$as_me: creating cache $cache_file" >&6;}
 
2722
  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
 
2723
$as_echo "$as_me: creating cache $cache_file" >&6;}
1984
2724
  >$cache_file
1985
2725
fi
1986
2726
 
1994
2734
  eval ac_new_val=\$ac_env_${ac_var}_value
1995
2735
  case $ac_old_set,$ac_new_set in
1996
2736
    set,)
1997
 
      { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1998
 
echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
 
2737
      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
 
2738
$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1999
2739
      ac_cache_corrupted=: ;;
2000
2740
    ,set)
2001
 
      { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
2002
 
echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
 
2741
      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
 
2742
$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2003
2743
      ac_cache_corrupted=: ;;
2004
2744
    ,);;
2005
2745
    *)
2006
2746
      if test "x$ac_old_val" != "x$ac_new_val"; then
2007
 
        { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2008
 
echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2009
 
        { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
2010
 
echo "$as_me:   former value:  $ac_old_val" >&2;}
2011
 
        { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
2012
 
echo "$as_me:   current value: $ac_new_val" >&2;}
2013
 
        ac_cache_corrupted=:
 
2747
        # differences in whitespace do not lead to failure.
 
2748
        ac_old_val_w=`echo x $ac_old_val`
 
2749
        ac_new_val_w=`echo x $ac_new_val`
 
2750
        if test "$ac_old_val_w" != "$ac_new_val_w"; then
 
2751
          { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
 
2752
$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
 
2753
          ac_cache_corrupted=:
 
2754
        else
 
2755
          { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
 
2756
$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
 
2757
          eval $ac_var=\$ac_old_val
 
2758
        fi
 
2759
        { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
 
2760
$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
 
2761
        { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
 
2762
$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2014
2763
      fi;;
2015
2764
  esac
2016
2765
  # Pass precious variables to config.status.
2017
2766
  if test "$ac_new_set" = set; then
2018
2767
    case $ac_new_val in
2019
 
    *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
 
2768
    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2020
2769
    *) ac_arg=$ac_var=$ac_new_val ;;
2021
2770
    esac
2022
2771
    case " $ac_configure_args " in
2023
2772
      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2024
 
      *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
 
2773
      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2025
2774
    esac
2026
2775
  fi
2027
2776
done
2028
2777
if $ac_cache_corrupted; then
2029
 
  { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2030
 
echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2031
 
  { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2032
 
echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2033
 
   { (exit 1); exit 1; }; }
 
2778
  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
2779
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
2780
  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
 
2781
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
 
2782
  as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2034
2783
fi
2035
 
 
2036
 
 
2037
 
 
2038
 
 
2039
 
 
2040
 
 
2041
 
 
2042
 
 
2043
 
 
2044
 
 
2045
 
 
2046
 
 
2047
 
 
2048
 
 
2049
 
 
2050
 
 
2051
 
 
2052
 
 
2053
 
 
2054
 
 
2055
 
 
2056
 
 
2057
 
 
2058
 
 
 
2784
## -------------------- ##
 
2785
## Main body of script. ##
 
2786
## -------------------- ##
2059
2787
 
2060
2788
ac_ext=c
2061
2789
ac_cpp='$CPP $CPPFLAGS'
2090
2818
# macros in separate subdirectories.
2091
2819
ac_aux_dir=
2092
2820
for ac_dir in config "$srcdir"/config; do
2093
 
  if test -f "$ac_dir/install-sh"; then
2094
 
    ac_aux_dir=$ac_dir
2095
 
    ac_install_sh="$ac_aux_dir/install-sh -c"
2096
 
    break
2097
 
  elif test -f "$ac_dir/install.sh"; then
2098
 
    ac_aux_dir=$ac_dir
2099
 
    ac_install_sh="$ac_aux_dir/install.sh -c"
2100
 
    break
2101
 
  elif test -f "$ac_dir/shtool"; then
2102
 
    ac_aux_dir=$ac_dir
2103
 
    ac_install_sh="$ac_aux_dir/shtool install -c"
2104
 
    break
2105
 
  fi
 
2821
  for ac_t in install-sh install.sh shtool; do
 
2822
    if test -f "$ac_dir/$ac_t"; then
 
2823
      ac_aux_dir=$ac_dir
 
2824
      ac_install_sh="$ac_aux_dir/$ac_t -c"
 
2825
      break 2
 
2826
    fi
 
2827
  done
2106
2828
done
2107
2829
if test -z "$ac_aux_dir"; then
2108
 
  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in config \"$srcdir\"/config" >&5
2109
 
echo "$as_me: error: cannot find install-sh or install.sh in config \"$srcdir\"/config" >&2;}
2110
 
   { (exit 1); exit 1; }; }
 
2830
  as_fn_error "cannot find install-sh, install.sh, or shtool in config \"$srcdir\"/config" "$LINENO" 5
2111
2831
fi
2112
2832
 
2113
2833
# These three variables are undocumented and unsupported,
2123
2843
 
2124
2844
# Make sure we can run config.sub.
2125
2845
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2126
 
  { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2127
 
echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2128
 
   { (exit 1); exit 1; }; }
 
2846
  as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2129
2847
 
2130
 
{ echo "$as_me:$LINENO: checking build system type" >&5
2131
 
echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2132
 
if test "${ac_cv_build+set}" = set; then
2133
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2848
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
 
2849
$as_echo_n "checking build system type... " >&6; }
 
2850
if test "${ac_cv_build+set}" = set; then :
 
2851
  $as_echo_n "(cached) " >&6
2134
2852
else
2135
2853
  ac_build_alias=$build_alias
2136
2854
test "x$ac_build_alias" = x &&
2137
2855
  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2138
2856
test "x$ac_build_alias" = x &&
2139
 
  { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2140
 
echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2141
 
   { (exit 1); exit 1; }; }
 
2857
  as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
2142
2858
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2143
 
  { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2144
 
echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2145
 
   { (exit 1); exit 1; }; }
 
2859
  as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2146
2860
 
2147
2861
fi
2148
 
{ echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2149
 
echo "${ECHO_T}$ac_cv_build" >&6; }
 
2862
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
 
2863
$as_echo "$ac_cv_build" >&6; }
2150
2864
case $ac_cv_build in
2151
2865
*-*-*) ;;
2152
 
*) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2153
 
echo "$as_me: error: invalid value of canonical build" >&2;}
2154
 
   { (exit 1); exit 1; }; };;
 
2866
*) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
2155
2867
esac
2156
2868
build=$ac_cv_build
2157
2869
ac_save_IFS=$IFS; IFS='-'
2167
2879
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2168
2880
 
2169
2881
 
2170
 
{ echo "$as_me:$LINENO: checking host system type" >&5
2171
 
echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2172
 
if test "${ac_cv_host+set}" = set; then
2173
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2882
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
 
2883
$as_echo_n "checking host system type... " >&6; }
 
2884
if test "${ac_cv_host+set}" = set; then :
 
2885
  $as_echo_n "(cached) " >&6
2174
2886
else
2175
2887
  if test "x$host_alias" = x; then
2176
2888
  ac_cv_host=$ac_cv_build
2177
2889
else
2178
2890
  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2179
 
    { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2180
 
echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2181
 
   { (exit 1); exit 1; }; }
 
2891
    as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2182
2892
fi
2183
2893
 
2184
2894
fi
2185
 
{ echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2186
 
echo "${ECHO_T}$ac_cv_host" >&6; }
 
2895
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
 
2896
$as_echo "$ac_cv_host" >&6; }
2187
2897
case $ac_cv_host in
2188
2898
*-*-*) ;;
2189
 
*) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2190
 
echo "$as_me: error: invalid value of canonical host" >&2;}
2191
 
   { (exit 1); exit 1; }; };;
 
2899
*) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
2192
2900
esac
2193
2901
host=$ac_cv_host
2194
2902
ac_save_IFS=$IFS; IFS='-'
2204
2912
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2205
2913
 
2206
2914
 
2207
 
# Make sure we can run config.sub.
2208
 
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2209
 
  { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2210
 
echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2211
 
   { (exit 1); exit 1; }; }
2212
 
 
2213
 
{ echo "$as_me:$LINENO: checking build system type" >&5
2214
 
echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2215
 
if test "${ac_cv_build+set}" = set; then
2216
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
2217
 
else
2218
 
  ac_build_alias=$build_alias
2219
 
test "x$ac_build_alias" = x &&
2220
 
  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2221
 
test "x$ac_build_alias" = x &&
2222
 
  { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2223
 
echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2224
 
   { (exit 1); exit 1; }; }
2225
 
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2226
 
  { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2227
 
echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2228
 
   { (exit 1); exit 1; }; }
2229
 
 
2230
 
fi
2231
 
{ echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2232
 
echo "${ECHO_T}$ac_cv_build" >&6; }
2233
 
case $ac_cv_build in
2234
 
*-*-*) ;;
2235
 
*) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2236
 
echo "$as_me: error: invalid value of canonical build" >&2;}
2237
 
   { (exit 1); exit 1; }; };;
2238
 
esac
2239
 
build=$ac_cv_build
2240
 
ac_save_IFS=$IFS; IFS='-'
2241
 
set x $ac_cv_build
2242
 
shift
2243
 
build_cpu=$1
2244
 
build_vendor=$2
2245
 
shift; shift
2246
 
# Remember, the first character of IFS is used to create $*,
2247
 
# except with old shells:
2248
 
build_os=$*
2249
 
IFS=$ac_save_IFS
2250
 
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2251
 
 
2252
2915
 
2253
2916
 
2254
2917
# Quote the regular expressions
2260
2923
      userSpaceBitness="64"
2261
2924
      ;;
2262
2925
   *)
2263
 
      { { echo "$as_me:$LINENO: error: Unknown architecture." >&5
2264
 
echo "$as_me: error: Unknown architecture." >&2;}
2265
 
   { (exit 1); exit 1; }; }
 
2926
      as_fn_error "Unknown architecture." "$LINENO" 5
2266
2927
      ;;
2267
2928
esac
2268
2929
 
2269
2930
# Operational arguments.
2270
2931
 
2271
 
# Check whether --with-root-privileges was given.
2272
 
if test "${with_root_privileges+set}" = set; then
 
2932
@%:@ Check whether --with-root-privileges was given.
 
2933
if test "${with_root_privileges+set}" = set; then :
2273
2934
  withval=$with_root_privileges; 
2274
2935
else
2275
2936
  with_root_privileges=yes
2280
2941
# The kernel args have to go here otherwise the KERNEL_RELEASE won't be visible
2281
2942
# to getOsVersion()
2282
2943
 
2283
 
# Check whether --with-kernel-modules was given.
2284
 
if test "${with_kernel_modules+set}" = set; then
 
2944
@%:@ Check whether --with-kernel-modules was given.
 
2945
if test "${with_kernel_modules+set}" = set; then :
2285
2946
  withval=$with_kernel_modules; 
2286
2947
else
2287
2948
  with_kernel_modules=yes
2289
2950
 
2290
2951
 
2291
2952
 
2292
 
# Check whether --with-kernel-release was given.
2293
 
if test "${with_kernel_release+set}" = set; then
 
2953
@%:@ Check whether --with-kernel-release was given.
 
2954
if test "${with_kernel_release+set}" = set; then :
2294
2955
  withval=$with_kernel_release; KERNEL_RELEASE="$withval"
2295
2956
else
2296
2957
  KERNEL_RELEASE=`uname -r`
2298
2959
 
2299
2960
 
2300
2961
 
2301
 
# Check whether --with-linuxdir was given.
2302
 
if test "${with_linuxdir+set}" = set; then
 
2962
@%:@ Check whether --with-linuxdir was given.
 
2963
if test "${with_linuxdir+set}" = set; then :
2303
2964
  withval=$with_linuxdir; LINUXDIR="$withval"
2304
2965
else
2305
2966
  LINUXDIR=/lib/modules/$KERNEL_RELEASE
2325
2986
      os="solaris"
2326
2987
      ;;
2327
2988
   *)
2328
 
      { echo "$as_me:$LINENO: WARNING: This is an untested and unsupported Operating System. Proceed at your own peril." >&5
2329
 
echo "$as_me: WARNING: This is an untested and unsupported Operating System. Proceed at your own peril." >&2;}
 
2989
      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: This is an untested and unsupported Operating System. Proceed at your own peril." >&5
 
2990
$as_echo "$as_me: WARNING: This is an untested and unsupported Operating System. Proceed at your own peril." >&2;}
2330
2991
      ;;
2331
2992
esac
2332
2993
osVersion="`getOsVersion`"
2335
2996
   case "$os" in
2336
2997
      linux)
2337
2998
         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; }; }
 
2999
            as_fn_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." "$LINENO" 5
2341
3000
         fi
2342
3001
         if test ! -d "$LINUXDIR/kernel/"; then
2343
 
             { { echo "$as_me:$LINENO: error: $LINUXDIR/kernel does not exist" >&5
2344
 
echo "$as_me: error: $LINUXDIR/kernel does not exist" >&2;}
2345
 
   { (exit 1); exit 1; }; }
 
3002
             as_fn_error "$LINUXDIR/kernel does not exist" "$LINENO" 5
2346
3003
         fi
2347
3004
         ;;
2348
3005
 
2352
3009
            freebsd_sysdir="$SYSDIR"
2353
3010
         fi
2354
3011
         if test ! -f "$freebsd_sysdir/conf/kmod.mk"; then
2355
 
            { { echo "$as_me:$LINENO: error: FreeBSD kernel tree not found. Please install the kernel sources (or provide the location using SYSDIR) or configure using --without-kernel-modules." >&5
2356
 
echo "$as_me: error: FreeBSD kernel tree not found. Please install the kernel sources (or provide the location using SYSDIR) or configure using --without-kernel-modules." >&2;}
2357
 
   { (exit 1); exit 1; }; }
 
3012
            as_fn_error "FreeBSD kernel tree not found. Please install the kernel sources (or provide the location using SYSDIR) or configure using --without-kernel-modules." "$LINENO" 5
2358
3013
         fi
2359
3014
         ;;
2360
3015
   esac
2361
3016
fi
2362
3017
 
2363
3018
# Arguments for disabling individual open-vm-tools features or libraries.
2364
 
# Check whether --enable-multimon was given.
2365
 
if test "${enable_multimon+set}" = set; then
 
3019
@%:@ Check whether --enable-multimon was given.
 
3020
if test "${enable_multimon+set}" = set; then :
2366
3021
  enableval=$enable_multimon; enable_multimon="$enableval"
2367
3022
else
2368
3023
  enable_multimon="yes"
2369
3024
fi
2370
3025
 
2371
3026
 
2372
 
# Check whether --enable-unity was given.
2373
 
if test "${enable_unity+set}" = set; then
 
3027
@%:@ Check whether --enable-unity was given.
 
3028
if test "${enable_unity+set}" = set; then :
2374
3029
  enableval=$enable_unity; enable_unity="$enableval"
2375
3030
else
2376
3031
  enable_unity="yes"
2378
3033
 
2379
3034
 
2380
3035
 
2381
 
# Check whether --with-gtk2 was given.
2382
 
if test "${with_gtk2+set}" = set; then
 
3036
@%:@ Check whether --with-gtk2 was given.
 
3037
if test "${with_gtk2+set}" = set; then :
2383
3038
  withval=$with_gtk2; with_gtk2="$withval"
2384
3039
else
2385
3040
  with_gtk2="yes"
2387
3042
 
2388
3043
 
2389
3044
 
2390
 
# Check whether --with-gtkmm was given.
2391
 
if test "${with_gtkmm+set}" = set; then
 
3045
@%:@ Check whether --with-gtkmm was given.
 
3046
if test "${with_gtkmm+set}" = set; then :
2392
3047
  withval=$with_gtkmm; with_gtkmm="$withval"
2393
3048
else
2394
3049
  with_gtkmm="yes"
2395
3050
fi
2396
3051
 
2397
3052
 
2398
 
# Check whether --enable-docs was given.
2399
 
if test "${enable_docs+set}" = set; then
 
3053
@%:@ Check whether --enable-docs was given.
 
3054
if test "${enable_docs+set}" = set; then :
2400
3055
  enableval=$enable_docs; enable_docs="$enableval"
2401
3056
else
2402
3057
  enable_docs="yes"
2403
3058
fi
2404
3059
 
2405
3060
 
2406
 
# Check whether --enable-tests was given.
2407
 
if test "${enable_tests+set}" = set; then
 
3061
@%:@ Check whether --enable-tests was given.
 
3062
if test "${enable_tests+set}" = set; then :
2408
3063
  enableval=$enable_tests; enable_tests="$enableval"
2409
3064
else
2410
3065
  enable_tests="auto"
2416
3071
   enable_unity="no"
2417
3072
fi
2418
3073
 
2419
 
am__api_version='1.10'
 
3074
am__api_version='1.11'
2420
3075
 
2421
3076
# Find a good install program.  We prefer a C program (faster),
2422
3077
# so one script is as good as another.  But avoid the broken or
2431
3086
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2432
3087
# OS/2's system install, which has a completely different semantic
2433
3088
# ./install, which can be erroneously created by make from ./install.sh.
2434
 
{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2435
 
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
 
3089
# Reject install programs that cannot install multiple files.
 
3090
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
 
3091
$as_echo_n "checking for a BSD-compatible install... " >&6; }
2436
3092
if test -z "$INSTALL"; then
2437
 
if test "${ac_cv_path_install+set}" = set; then
2438
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3093
if test "${ac_cv_path_install+set}" = set; then :
 
3094
  $as_echo_n "(cached) " >&6
2439
3095
else
2440
3096
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2441
3097
for as_dir in $PATH
2442
3098
do
2443
3099
  IFS=$as_save_IFS
2444
3100
  test -z "$as_dir" && as_dir=.
2445
 
  # Account for people who put trailing slashes in PATH elements.
2446
 
case $as_dir/ in
2447
 
  ./ | .// | /cC/* | \
 
3101
    # Account for people who put trailing slashes in PATH elements.
 
3102
case $as_dir/ in @%:@((
 
3103
  ./ | .// | /[cC]/* | \
2448
3104
  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2449
 
  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
 
3105
  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2450
3106
  /usr/ucb/* ) ;;
2451
3107
  *)
2452
3108
    # OSF1 and SCO ODT 3.0 have their own names for install.
2464
3120
            # program-specific install script used by HP pwplus--don't use.
2465
3121
            :
2466
3122
          else
2467
 
            ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2468
 
            break 3
 
3123
            rm -rf conftest.one conftest.two conftest.dir
 
3124
            echo one > conftest.one
 
3125
            echo two > conftest.two
 
3126
            mkdir conftest.dir
 
3127
            if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
 
3128
              test -s conftest.one && test -s conftest.two &&
 
3129
              test -s conftest.dir/conftest.one &&
 
3130
              test -s conftest.dir/conftest.two
 
3131
            then
 
3132
              ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
 
3133
              break 3
 
3134
            fi
2469
3135
          fi
2470
3136
        fi
2471
3137
      done
2472
3138
    done
2473
3139
    ;;
2474
3140
esac
2475
 
done
 
3141
 
 
3142
  done
2476
3143
IFS=$as_save_IFS
2477
3144
 
 
3145
rm -rf conftest.one conftest.two conftest.dir
2478
3146
 
2479
3147
fi
2480
3148
  if test "${ac_cv_path_install+set}" = set; then
2487
3155
    INSTALL=$ac_install_sh
2488
3156
  fi
2489
3157
fi
2490
 
{ echo "$as_me:$LINENO: result: $INSTALL" >&5
2491
 
echo "${ECHO_T}$INSTALL" >&6; }
 
3158
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
 
3159
$as_echo "$INSTALL" >&6; }
2492
3160
 
2493
3161
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2494
3162
# It thinks the first close brace ends the variable substitution.
2498
3166
 
2499
3167
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2500
3168
 
2501
 
{ echo "$as_me:$LINENO: checking whether build environment is sane" >&5
2502
 
echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
 
3169
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
 
3170
$as_echo_n "checking whether build environment is sane... " >&6; }
2503
3171
# Just in case
2504
3172
sleep 1
2505
3173
echo timestamp > conftest.file
 
3174
# Reject unsafe characters in $srcdir or the absolute working directory
 
3175
# name.  Accept space and tab only in the latter.
 
3176
am_lf='
 
3177
'
 
3178
case `pwd` in
 
3179
  *[\\\"\#\$\&\'\`$am_lf]*)
 
3180
    as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
 
3181
esac
 
3182
case $srcdir in
 
3183
  *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
 
3184
    as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
 
3185
esac
 
3186
 
2506
3187
# Do `set' in a subshell so we don't clobber the current shell's
2507
3188
# arguments.  Must try -L first in case configure is actually a
2508
3189
# symlink; some systems play weird games with the mod time of symlinks
2509
3190
# (eg FreeBSD returns the mod time of the symlink's containing
2510
3191
# directory).
2511
3192
if (
2512
 
   set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
 
3193
   set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2513
3194
   if test "$*" = "X"; then
2514
3195
      # -L didn't work.
2515
 
      set X `ls -t $srcdir/configure conftest.file`
 
3196
      set X `ls -t "$srcdir/configure" conftest.file`
2516
3197
   fi
2517
3198
   rm -f conftest.file
2518
3199
   if test "$*" != "X $srcdir/configure conftest.file" \
2522
3203
      # if, for instance, CONFIG_SHELL is bash and it inherits a
2523
3204
      # broken ls alias from the environment.  This has actually
2524
3205
      # happened.  Such a system could not be considered "sane".
2525
 
      { { echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
2526
 
alias in your environment" >&5
2527
 
echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
2528
 
alias in your environment" >&2;}
2529
 
   { (exit 1); exit 1; }; }
 
3206
      as_fn_error "ls -t appears to fail.  Make sure there is not a broken
 
3207
alias in your environment" "$LINENO" 5
2530
3208
   fi
2531
3209
 
2532
3210
   test "$2" = conftest.file
2535
3213
   # Ok.
2536
3214
   :
2537
3215
else
2538
 
   { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2539
 
Check your system clock" >&5
2540
 
echo "$as_me: error: newly created file is older than distributed files!
2541
 
Check your system clock" >&2;}
2542
 
   { (exit 1); exit 1; }; }
 
3216
   as_fn_error "newly created file is older than distributed files!
 
3217
Check your system clock" "$LINENO" 5
2543
3218
fi
2544
 
{ echo "$as_me:$LINENO: result: yes" >&5
2545
 
echo "${ECHO_T}yes" >&6; }
 
3219
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
3220
$as_echo "yes" >&6; }
2546
3221
test "$program_prefix" != NONE &&
2547
3222
  program_transform_name="s&^&$program_prefix&;$program_transform_name"
2548
3223
# Use a double $ so make ignores it.
2549
3224
test "$program_suffix" != NONE &&
2550
3225
  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2551
 
# Double any \ or $.  echo might interpret backslashes.
 
3226
# Double any \ or $.
2552
3227
# By default was `s,x,x', remove it if useless.
2553
 
cat <<\_ACEOF >conftest.sed
2554
 
s/[\\$]/&&/g;s/;s,x,x,$//
2555
 
_ACEOF
2556
 
program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
2557
 
rm -f conftest.sed
 
3228
ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
 
3229
program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2558
3230
 
2559
3231
# expand $ac_aux_dir to an absolute path
2560
3232
am_aux_dir=`cd $ac_aux_dir && pwd`
2561
3233
 
2562
 
test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
 
3234
if test x"${MISSING+set}" != xset; then
 
3235
  case $am_aux_dir in
 
3236
  *\ * | *\     *)
 
3237
    MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
 
3238
  *)
 
3239
    MISSING="\${SHELL} $am_aux_dir/missing" ;;
 
3240
  esac
 
3241
fi
2563
3242
# Use eval to expand $SHELL
2564
3243
if eval "$MISSING --run true"; then
2565
3244
  am_missing_run="$MISSING --run "
2566
3245
else
2567
3246
  am_missing_run=
2568
 
  { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2569
 
echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2570
 
fi
2571
 
 
2572
 
{ echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
2573
 
echo $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; }
 
3247
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
 
3248
$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
 
3249
fi
 
3250
 
 
3251
if test x"${install_sh}" != xset; then
 
3252
  case $am_aux_dir in
 
3253
  *\ * | *\     *)
 
3254
    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
 
3255
  *)
 
3256
    install_sh="\${SHELL} $am_aux_dir/install-sh"
 
3257
  esac
 
3258
fi
 
3259
 
 
3260
# Installed binaries are usually stripped using `strip' when the user
 
3261
# run `make install-strip'.  However `strip' might not be the right
 
3262
# tool to use in cross-compilation environments, therefore Automake
 
3263
# will honor the `STRIP' environment variable to overrule this program.
 
3264
if test "$cross_compiling" != no; then
 
3265
  if test -n "$ac_tool_prefix"; then
 
3266
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
 
3267
set dummy ${ac_tool_prefix}strip; ac_word=$2
 
3268
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
3269
$as_echo_n "checking for $ac_word... " >&6; }
 
3270
if test "${ac_cv_prog_STRIP+set}" = set; then :
 
3271
  $as_echo_n "(cached) " >&6
 
3272
else
 
3273
  if test -n "$STRIP"; then
 
3274
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
 
3275
else
 
3276
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
3277
for as_dir in $PATH
 
3278
do
 
3279
  IFS=$as_save_IFS
 
3280
  test -z "$as_dir" && as_dir=.
 
3281
    for ac_exec_ext in '' $ac_executable_extensions; do
 
3282
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
3283
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
 
3284
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3285
    break 2
 
3286
  fi
 
3287
done
 
3288
  done
 
3289
IFS=$as_save_IFS
 
3290
 
 
3291
fi
 
3292
fi
 
3293
STRIP=$ac_cv_prog_STRIP
 
3294
if test -n "$STRIP"; then
 
3295
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
 
3296
$as_echo "$STRIP" >&6; }
 
3297
else
 
3298
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
3299
$as_echo "no" >&6; }
 
3300
fi
 
3301
 
 
3302
 
 
3303
fi
 
3304
if test -z "$ac_cv_prog_STRIP"; then
 
3305
  ac_ct_STRIP=$STRIP
 
3306
  # Extract the first word of "strip", so it can be a program name with args.
 
3307
set dummy strip; ac_word=$2
 
3308
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
3309
$as_echo_n "checking for $ac_word... " >&6; }
 
3310
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
 
3311
  $as_echo_n "(cached) " >&6
 
3312
else
 
3313
  if test -n "$ac_ct_STRIP"; then
 
3314
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
 
3315
else
 
3316
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
3317
for as_dir in $PATH
 
3318
do
 
3319
  IFS=$as_save_IFS
 
3320
  test -z "$as_dir" && as_dir=.
 
3321
    for ac_exec_ext in '' $ac_executable_extensions; do
 
3322
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
3323
    ac_cv_prog_ac_ct_STRIP="strip"
 
3324
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3325
    break 2
 
3326
  fi
 
3327
done
 
3328
  done
 
3329
IFS=$as_save_IFS
 
3330
 
 
3331
fi
 
3332
fi
 
3333
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
 
3334
if test -n "$ac_ct_STRIP"; then
 
3335
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
 
3336
$as_echo "$ac_ct_STRIP" >&6; }
 
3337
else
 
3338
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
3339
$as_echo "no" >&6; }
 
3340
fi
 
3341
 
 
3342
  if test "x$ac_ct_STRIP" = x; then
 
3343
    STRIP=":"
 
3344
  else
 
3345
    case $cross_compiling:$ac_tool_warned in
 
3346
yes:)
 
3347
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
3348
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
3349
ac_tool_warned=yes ;;
 
3350
esac
 
3351
    STRIP=$ac_ct_STRIP
 
3352
  fi
 
3353
else
 
3354
  STRIP="$ac_cv_prog_STRIP"
 
3355
fi
 
3356
 
 
3357
fi
 
3358
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
 
3359
 
 
3360
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
 
3361
$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2574
3362
if test -z "$MKDIR_P"; then
2575
 
  if test "${ac_cv_path_mkdir+set}" = set; then
2576
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3363
  if test "${ac_cv_path_mkdir+set}" = set; then :
 
3364
  $as_echo_n "(cached) " >&6
2577
3365
else
2578
3366
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2579
3367
for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2580
3368
do
2581
3369
  IFS=$as_save_IFS
2582
3370
  test -z "$as_dir" && as_dir=.
2583
 
  for ac_prog in mkdir gmkdir; do
 
3371
    for ac_prog in mkdir gmkdir; do
2584
3372
         for ac_exec_ext in '' $ac_executable_extensions; do
2585
3373
           { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2586
3374
           case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2592
3380
           esac
2593
3381
         done
2594
3382
       done
2595
 
done
 
3383
  done
2596
3384
IFS=$as_save_IFS
2597
3385
 
2598
3386
fi
2599
3387
 
 
3388
  test -d ./--version && rmdir ./--version
2600
3389
  if test "${ac_cv_path_mkdir+set}" = set; then
2601
3390
    MKDIR_P="$ac_cv_path_mkdir -p"
2602
3391
  else
2604
3393
    # value for MKDIR_P within a source directory, because that will
2605
3394
    # break other packages using the cache if that directory is
2606
3395
    # removed, or if the value is a relative name.
2607
 
    test -d ./--version && rmdir ./--version
2608
3396
    MKDIR_P="$ac_install_sh -d"
2609
3397
  fi
2610
3398
fi
2611
 
{ echo "$as_me:$LINENO: result: $MKDIR_P" >&5
2612
 
echo "${ECHO_T}$MKDIR_P" >&6; }
 
3399
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
 
3400
$as_echo "$MKDIR_P" >&6; }
2613
3401
 
2614
3402
mkdir_p="$MKDIR_P"
2615
3403
case $mkdir_p in
2621
3409
do
2622
3410
  # Extract the first word of "$ac_prog", so it can be a program name with args.
2623
3411
set dummy $ac_prog; ac_word=$2
2624
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2625
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2626
 
if test "${ac_cv_prog_AWK+set}" = set; then
2627
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3412
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
3413
$as_echo_n "checking for $ac_word... " >&6; }
 
3414
if test "${ac_cv_prog_AWK+set}" = set; then :
 
3415
  $as_echo_n "(cached) " >&6
2628
3416
else
2629
3417
  if test -n "$AWK"; then
2630
3418
  ac_cv_prog_AWK="$AWK" # Let the user override the test.
2634
3422
do
2635
3423
  IFS=$as_save_IFS
2636
3424
  test -z "$as_dir" && as_dir=.
2637
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
3425
    for ac_exec_ext in '' $ac_executable_extensions; do
2638
3426
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2639
3427
    ac_cv_prog_AWK="$ac_prog"
2640
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3428
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2641
3429
    break 2
2642
3430
  fi
2643
3431
done
2644
 
done
 
3432
  done
2645
3433
IFS=$as_save_IFS
2646
3434
 
2647
3435
fi
2648
3436
fi
2649
3437
AWK=$ac_cv_prog_AWK
2650
3438
if test -n "$AWK"; then
2651
 
  { echo "$as_me:$LINENO: result: $AWK" >&5
2652
 
echo "${ECHO_T}$AWK" >&6; }
 
3439
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
 
3440
$as_echo "$AWK" >&6; }
2653
3441
else
2654
 
  { echo "$as_me:$LINENO: result: no" >&5
2655
 
echo "${ECHO_T}no" >&6; }
 
3442
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
3443
$as_echo "no" >&6; }
2656
3444
fi
2657
3445
 
2658
3446
 
2659
3447
  test -n "$AWK" && break
2660
3448
done
2661
3449
 
2662
 
{ echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2663
 
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2664
 
set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2665
 
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2666
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3450
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
 
3451
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
 
3452
set x ${MAKE-make}
 
3453
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
 
3454
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
 
3455
  $as_echo_n "(cached) " >&6
2667
3456
else
2668
3457
  cat >conftest.make <<\_ACEOF
2669
3458
SHELL = /bin/sh
2680
3469
rm -f conftest.make
2681
3470
fi
2682
3471
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2683
 
  { echo "$as_me:$LINENO: result: yes" >&5
2684
 
echo "${ECHO_T}yes" >&6; }
 
3472
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
3473
$as_echo "yes" >&6; }
2685
3474
  SET_MAKE=
2686
3475
else
2687
 
  { echo "$as_me:$LINENO: result: no" >&5
2688
 
echo "${ECHO_T}no" >&6; }
 
3476
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
3477
$as_echo "no" >&6; }
2689
3478
  SET_MAKE="MAKE=${MAKE-make}"
2690
3479
fi
2691
3480
 
2704
3493
  am__isrc=' -I$(srcdir)'
2705
3494
  # test to see if srcdir already configured
2706
3495
  if test -f $srcdir/config.status; then
2707
 
    { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2708
 
echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2709
 
   { (exit 1); exit 1; }; }
 
3496
    as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2710
3497
  fi
2711
3498
fi
2712
3499
 
2722
3509
 
2723
3510
# Define the identity of the package.
2724
3511
 PACKAGE='open-vm-tools'
2725
 
 VERSION='2010.04.25'
 
3512
 VERSION='2010.06.16'
2726
3513
 
2727
3514
 
2728
3515
cat >>confdefs.h <<_ACEOF
2750
3537
 
2751
3538
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2752
3539
 
2753
 
install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
2754
 
 
2755
 
# Installed binaries are usually stripped using `strip' when the user
2756
 
# run `make install-strip'.  However `strip' might not be the right
2757
 
# tool to use in cross-compilation environments, therefore Automake
2758
 
# will honor the `STRIP' environment variable to overrule this program.
2759
 
if test "$cross_compiling" != no; then
2760
 
  if test -n "$ac_tool_prefix"; then
2761
 
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2762
 
set dummy ${ac_tool_prefix}strip; ac_word=$2
2763
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2764
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2765
 
if test "${ac_cv_prog_STRIP+set}" = set; then
2766
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
2767
 
else
2768
 
  if test -n "$STRIP"; then
2769
 
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2770
 
else
2771
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2772
 
for as_dir in $PATH
2773
 
do
2774
 
  IFS=$as_save_IFS
2775
 
  test -z "$as_dir" && as_dir=.
2776
 
  for ac_exec_ext in '' $ac_executable_extensions; do
2777
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2778
 
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2779
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2780
 
    break 2
2781
 
  fi
2782
 
done
2783
 
done
2784
 
IFS=$as_save_IFS
2785
 
 
2786
 
fi
2787
 
fi
2788
 
STRIP=$ac_cv_prog_STRIP
2789
 
if test -n "$STRIP"; then
2790
 
  { echo "$as_me:$LINENO: result: $STRIP" >&5
2791
 
echo "${ECHO_T}$STRIP" >&6; }
2792
 
else
2793
 
  { echo "$as_me:$LINENO: result: no" >&5
2794
 
echo "${ECHO_T}no" >&6; }
2795
 
fi
2796
 
 
2797
 
 
2798
 
fi
2799
 
if test -z "$ac_cv_prog_STRIP"; then
2800
 
  ac_ct_STRIP=$STRIP
2801
 
  # Extract the first word of "strip", so it can be a program name with args.
2802
 
set dummy strip; ac_word=$2
2803
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2804
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2805
 
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2806
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
2807
 
else
2808
 
  if test -n "$ac_ct_STRIP"; then
2809
 
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2810
 
else
2811
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2812
 
for as_dir in $PATH
2813
 
do
2814
 
  IFS=$as_save_IFS
2815
 
  test -z "$as_dir" && as_dir=.
2816
 
  for ac_exec_ext in '' $ac_executable_extensions; do
2817
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2818
 
    ac_cv_prog_ac_ct_STRIP="strip"
2819
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2820
 
    break 2
2821
 
  fi
2822
 
done
2823
 
done
2824
 
IFS=$as_save_IFS
2825
 
 
2826
 
fi
2827
 
fi
2828
 
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2829
 
if test -n "$ac_ct_STRIP"; then
2830
 
  { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2831
 
echo "${ECHO_T}$ac_ct_STRIP" >&6; }
2832
 
else
2833
 
  { echo "$as_me:$LINENO: result: no" >&5
2834
 
echo "${ECHO_T}no" >&6; }
2835
 
fi
2836
 
 
2837
 
  if test "x$ac_ct_STRIP" = x; then
2838
 
    STRIP=":"
2839
 
  else
2840
 
    case $cross_compiling:$ac_tool_warned in
2841
 
yes:)
2842
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2843
 
whose name does not start with the host triplet.  If you think this
2844
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
2845
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2846
 
whose name does not start with the host triplet.  If you think this
2847
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2848
 
ac_tool_warned=yes ;;
2849
 
esac
2850
 
    STRIP=$ac_ct_STRIP
2851
 
  fi
2852
 
else
2853
 
  STRIP="$ac_cv_prog_STRIP"
2854
 
fi
2855
 
 
2856
 
fi
2857
 
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2858
 
 
2859
3540
# We need awk for the "check" target.  The system "awk" is bad on
2860
3541
# some platforms.
2861
3542
# Always define AMTAR for backward compatibility.
2898
3579
am_make=${MAKE-make}
2899
3580
cat > confinc << 'END'
2900
3581
am__doit:
2901
 
        @echo done
 
3582
        @echo this is the am__doit target
2902
3583
.PHONY: am__doit
2903
3584
END
2904
3585
# If we don't find an include directive, just comment out the code.
2905
 
{ echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2906
 
echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
 
3586
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
 
3587
$as_echo_n "checking for style of include used by $am_make... " >&6; }
2907
3588
am__include="#"
2908
3589
am__quote=
2909
3590
_am_result=none
2910
3591
# First try GNU make style include.
2911
3592
echo "include confinc" > confmf
2912
 
# We grep out `Entering directory' and `Leaving directory'
2913
 
# messages which can occur if `w' ends up in MAKEFLAGS.
2914
 
# In particular we don't look at `^make:' because GNU make might
2915
 
# be invoked under some other name (usually "gmake"), in which
2916
 
# case it prints its new name instead of `make'.
2917
 
if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2918
 
   am__include=include
2919
 
   am__quote=
2920
 
   _am_result=GNU
2921
 
fi
 
3593
# Ignore all kinds of additional output from `make'.
 
3594
case `$am_make -s -f confmf 2> /dev/null` in #(
 
3595
*the\ am__doit\ target*)
 
3596
  am__include=include
 
3597
  am__quote=
 
3598
  _am_result=GNU
 
3599
  ;;
 
3600
esac
2922
3601
# Now try BSD make style include.
2923
3602
if test "$am__include" = "#"; then
2924
3603
   echo '.include "confinc"' > confmf
2925
 
   if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2926
 
      am__include=.include
2927
 
      am__quote="\""
2928
 
      _am_result=BSD
2929
 
   fi
 
3604
   case `$am_make -s -f confmf 2> /dev/null` in #(
 
3605
   *the\ am__doit\ target*)
 
3606
     am__include=.include
 
3607
     am__quote="\""
 
3608
     _am_result=BSD
 
3609
     ;;
 
3610
   esac
2930
3611
fi
2931
3612
 
2932
3613
 
2933
 
{ echo "$as_me:$LINENO: result: $_am_result" >&5
2934
 
echo "${ECHO_T}$_am_result" >&6; }
 
3614
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
 
3615
$as_echo "$_am_result" >&6; }
2935
3616
rm -f confinc confmf
2936
3617
 
2937
 
# Check whether --enable-dependency-tracking was given.
2938
 
if test "${enable_dependency_tracking+set}" = set; then
 
3618
@%:@ Check whether --enable-dependency-tracking was given.
 
3619
if test "${enable_dependency_tracking+set}" = set; then :
2939
3620
  enableval=$enable_dependency_tracking; 
2940
3621
fi
2941
3622
 
2960
3641
if test -n "$ac_tool_prefix"; then
2961
3642
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2962
3643
set dummy ${ac_tool_prefix}gcc; ac_word=$2
2963
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2964
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2965
 
if test "${ac_cv_prog_CC+set}" = set; then
2966
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3644
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
3645
$as_echo_n "checking for $ac_word... " >&6; }
 
3646
if test "${ac_cv_prog_CC+set}" = set; then :
 
3647
  $as_echo_n "(cached) " >&6
2967
3648
else
2968
3649
  if test -n "$CC"; then
2969
3650
  ac_cv_prog_CC="$CC" # Let the user override the test.
2973
3654
do
2974
3655
  IFS=$as_save_IFS
2975
3656
  test -z "$as_dir" && as_dir=.
2976
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
3657
    for ac_exec_ext in '' $ac_executable_extensions; do
2977
3658
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2978
3659
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
2979
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3660
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2980
3661
    break 2
2981
3662
  fi
2982
3663
done
2983
 
done
 
3664
  done
2984
3665
IFS=$as_save_IFS
2985
3666
 
2986
3667
fi
2987
3668
fi
2988
3669
CC=$ac_cv_prog_CC
2989
3670
if test -n "$CC"; then
2990
 
  { echo "$as_me:$LINENO: result: $CC" >&5
2991
 
echo "${ECHO_T}$CC" >&6; }
 
3671
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 
3672
$as_echo "$CC" >&6; }
2992
3673
else
2993
 
  { echo "$as_me:$LINENO: result: no" >&5
2994
 
echo "${ECHO_T}no" >&6; }
 
3674
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
3675
$as_echo "no" >&6; }
2995
3676
fi
2996
3677
 
2997
3678
 
3000
3681
  ac_ct_CC=$CC
3001
3682
  # Extract the first word of "gcc", so it can be a program name with args.
3002
3683
set dummy gcc; ac_word=$2
3003
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3004
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3005
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3006
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3684
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
3685
$as_echo_n "checking for $ac_word... " >&6; }
 
3686
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
 
3687
  $as_echo_n "(cached) " >&6
3007
3688
else
3008
3689
  if test -n "$ac_ct_CC"; then
3009
3690
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3013
3694
do
3014
3695
  IFS=$as_save_IFS
3015
3696
  test -z "$as_dir" && as_dir=.
3016
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
3697
    for ac_exec_ext in '' $ac_executable_extensions; do
3017
3698
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3018
3699
    ac_cv_prog_ac_ct_CC="gcc"
3019
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3700
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3020
3701
    break 2
3021
3702
  fi
3022
3703
done
3023
 
done
 
3704
  done
3024
3705
IFS=$as_save_IFS
3025
3706
 
3026
3707
fi
3027
3708
fi
3028
3709
ac_ct_CC=$ac_cv_prog_ac_ct_CC
3029
3710
if test -n "$ac_ct_CC"; then
3030
 
  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3031
 
echo "${ECHO_T}$ac_ct_CC" >&6; }
 
3711
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
 
3712
$as_echo "$ac_ct_CC" >&6; }
3032
3713
else
3033
 
  { echo "$as_me:$LINENO: result: no" >&5
3034
 
echo "${ECHO_T}no" >&6; }
 
3714
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
3715
$as_echo "no" >&6; }
3035
3716
fi
3036
3717
 
3037
3718
  if test "x$ac_ct_CC" = x; then
3039
3720
  else
3040
3721
    case $cross_compiling:$ac_tool_warned in
3041
3722
yes:)
3042
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3043
 
whose name does not start with the host triplet.  If you think this
3044
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
3045
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3046
 
whose name does not start with the host triplet.  If you think this
3047
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
3723
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
3724
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3048
3725
ac_tool_warned=yes ;;
3049
3726
esac
3050
3727
    CC=$ac_ct_CC
3057
3734
          if test -n "$ac_tool_prefix"; then
3058
3735
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3059
3736
set dummy ${ac_tool_prefix}cc; ac_word=$2
3060
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3061
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3062
 
if test "${ac_cv_prog_CC+set}" = set; then
3063
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3737
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
3738
$as_echo_n "checking for $ac_word... " >&6; }
 
3739
if test "${ac_cv_prog_CC+set}" = set; then :
 
3740
  $as_echo_n "(cached) " >&6
3064
3741
else
3065
3742
  if test -n "$CC"; then
3066
3743
  ac_cv_prog_CC="$CC" # Let the user override the test.
3070
3747
do
3071
3748
  IFS=$as_save_IFS
3072
3749
  test -z "$as_dir" && as_dir=.
3073
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
3750
    for ac_exec_ext in '' $ac_executable_extensions; do
3074
3751
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3075
3752
    ac_cv_prog_CC="${ac_tool_prefix}cc"
3076
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3753
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3077
3754
    break 2
3078
3755
  fi
3079
3756
done
3080
 
done
 
3757
  done
3081
3758
IFS=$as_save_IFS
3082
3759
 
3083
3760
fi
3084
3761
fi
3085
3762
CC=$ac_cv_prog_CC
3086
3763
if test -n "$CC"; then
3087
 
  { echo "$as_me:$LINENO: result: $CC" >&5
3088
 
echo "${ECHO_T}$CC" >&6; }
 
3764
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 
3765
$as_echo "$CC" >&6; }
3089
3766
else
3090
 
  { echo "$as_me:$LINENO: result: no" >&5
3091
 
echo "${ECHO_T}no" >&6; }
 
3767
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
3768
$as_echo "no" >&6; }
3092
3769
fi
3093
3770
 
3094
3771
 
3097
3774
if test -z "$CC"; then
3098
3775
  # Extract the first word of "cc", so it can be a program name with args.
3099
3776
set dummy cc; ac_word=$2
3100
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3101
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3102
 
if test "${ac_cv_prog_CC+set}" = set; then
3103
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3777
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
3778
$as_echo_n "checking for $ac_word... " >&6; }
 
3779
if test "${ac_cv_prog_CC+set}" = set; then :
 
3780
  $as_echo_n "(cached) " >&6
3104
3781
else
3105
3782
  if test -n "$CC"; then
3106
3783
  ac_cv_prog_CC="$CC" # Let the user override the test.
3111
3788
do
3112
3789
  IFS=$as_save_IFS
3113
3790
  test -z "$as_dir" && as_dir=.
3114
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
3791
    for ac_exec_ext in '' $ac_executable_extensions; do
3115
3792
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3116
3793
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3117
3794
       ac_prog_rejected=yes
3118
3795
       continue
3119
3796
     fi
3120
3797
    ac_cv_prog_CC="cc"
3121
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3798
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3122
3799
    break 2
3123
3800
  fi
3124
3801
done
3125
 
done
 
3802
  done
3126
3803
IFS=$as_save_IFS
3127
3804
 
3128
3805
if test $ac_prog_rejected = yes; then
3141
3818
fi
3142
3819
CC=$ac_cv_prog_CC
3143
3820
if test -n "$CC"; then
3144
 
  { echo "$as_me:$LINENO: result: $CC" >&5
3145
 
echo "${ECHO_T}$CC" >&6; }
 
3821
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 
3822
$as_echo "$CC" >&6; }
3146
3823
else
3147
 
  { echo "$as_me:$LINENO: result: no" >&5
3148
 
echo "${ECHO_T}no" >&6; }
 
3824
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
3825
$as_echo "no" >&6; }
3149
3826
fi
3150
3827
 
3151
3828
 
3156
3833
  do
3157
3834
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3158
3835
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3159
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3160
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3161
 
if test "${ac_cv_prog_CC+set}" = set; then
3162
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3836
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
3837
$as_echo_n "checking for $ac_word... " >&6; }
 
3838
if test "${ac_cv_prog_CC+set}" = set; then :
 
3839
  $as_echo_n "(cached) " >&6
3163
3840
else
3164
3841
  if test -n "$CC"; then
3165
3842
  ac_cv_prog_CC="$CC" # Let the user override the test.
3169
3846
do
3170
3847
  IFS=$as_save_IFS
3171
3848
  test -z "$as_dir" && as_dir=.
3172
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
3849
    for ac_exec_ext in '' $ac_executable_extensions; do
3173
3850
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3174
3851
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3175
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3852
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3176
3853
    break 2
3177
3854
  fi
3178
3855
done
3179
 
done
 
3856
  done
3180
3857
IFS=$as_save_IFS
3181
3858
 
3182
3859
fi
3183
3860
fi
3184
3861
CC=$ac_cv_prog_CC
3185
3862
if test -n "$CC"; then
3186
 
  { echo "$as_me:$LINENO: result: $CC" >&5
3187
 
echo "${ECHO_T}$CC" >&6; }
 
3863
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 
3864
$as_echo "$CC" >&6; }
3188
3865
else
3189
 
  { echo "$as_me:$LINENO: result: no" >&5
3190
 
echo "${ECHO_T}no" >&6; }
 
3866
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
3867
$as_echo "no" >&6; }
3191
3868
fi
3192
3869
 
3193
3870
 
3200
3877
do
3201
3878
  # Extract the first word of "$ac_prog", so it can be a program name with args.
3202
3879
set dummy $ac_prog; ac_word=$2
3203
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3204
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3205
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3206
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3880
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
3881
$as_echo_n "checking for $ac_word... " >&6; }
 
3882
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
 
3883
  $as_echo_n "(cached) " >&6
3207
3884
else
3208
3885
  if test -n "$ac_ct_CC"; then
3209
3886
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3213
3890
do
3214
3891
  IFS=$as_save_IFS
3215
3892
  test -z "$as_dir" && as_dir=.
3216
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
3893
    for ac_exec_ext in '' $ac_executable_extensions; do
3217
3894
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3218
3895
    ac_cv_prog_ac_ct_CC="$ac_prog"
3219
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3896
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3220
3897
    break 2
3221
3898
  fi
3222
3899
done
3223
 
done
 
3900
  done
3224
3901
IFS=$as_save_IFS
3225
3902
 
3226
3903
fi
3227
3904
fi
3228
3905
ac_ct_CC=$ac_cv_prog_ac_ct_CC
3229
3906
if test -n "$ac_ct_CC"; then
3230
 
  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3231
 
echo "${ECHO_T}$ac_ct_CC" >&6; }
 
3907
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
 
3908
$as_echo "$ac_ct_CC" >&6; }
3232
3909
else
3233
 
  { echo "$as_me:$LINENO: result: no" >&5
3234
 
echo "${ECHO_T}no" >&6; }
 
3910
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
3911
$as_echo "no" >&6; }
3235
3912
fi
3236
3913
 
3237
3914
 
3243
3920
  else
3244
3921
    case $cross_compiling:$ac_tool_warned in
3245
3922
yes:)
3246
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3247
 
whose name does not start with the host triplet.  If you think this
3248
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
3249
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3250
 
whose name does not start with the host triplet.  If you think this
3251
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
3923
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
3924
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3252
3925
ac_tool_warned=yes ;;
3253
3926
esac
3254
3927
    CC=$ac_ct_CC
3258
3931
fi
3259
3932
 
3260
3933
 
3261
 
test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
3262
 
See \`config.log' for more details." >&5
3263
 
echo "$as_me: error: no acceptable C compiler found in \$PATH
3264
 
See \`config.log' for more details." >&2;}
3265
 
   { (exit 1); exit 1; }; }
 
3934
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
3935
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
3936
as_fn_error "no acceptable C compiler found in \$PATH
 
3937
See \`config.log' for more details." "$LINENO" 5; }
3266
3938
 
3267
3939
# Provide some information about the compiler.
3268
 
echo "$as_me:$LINENO: checking for C compiler version" >&5
3269
 
ac_compiler=`set X $ac_compile; echo $2`
3270
 
{ (ac_try="$ac_compiler --version >&5"
3271
 
case "(($ac_try" in
3272
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3273
 
  *) ac_try_echo=$ac_try;;
3274
 
esac
3275
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3276
 
  (eval "$ac_compiler --version >&5") 2>&5
3277
 
  ac_status=$?
3278
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3279
 
  (exit $ac_status); }
3280
 
{ (ac_try="$ac_compiler -v >&5"
3281
 
case "(($ac_try" in
3282
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3283
 
  *) ac_try_echo=$ac_try;;
3284
 
esac
3285
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3286
 
  (eval "$ac_compiler -v >&5") 2>&5
3287
 
  ac_status=$?
3288
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3289
 
  (exit $ac_status); }
3290
 
{ (ac_try="$ac_compiler -V >&5"
3291
 
case "(($ac_try" in
3292
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3293
 
  *) ac_try_echo=$ac_try;;
3294
 
esac
3295
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3296
 
  (eval "$ac_compiler -V >&5") 2>&5
3297
 
  ac_status=$?
3298
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3299
 
  (exit $ac_status); }
 
3940
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
 
3941
set X $ac_compile
 
3942
ac_compiler=$2
 
3943
for ac_option in --version -v -V -qversion; do
 
3944
  { { ac_try="$ac_compiler $ac_option >&5"
 
3945
case "(($ac_try" in
 
3946
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3947
  *) ac_try_echo=$ac_try;;
 
3948
esac
 
3949
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3950
$as_echo "$ac_try_echo"; } >&5
 
3951
  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
 
3952
  ac_status=$?
 
3953
  if test -s conftest.err; then
 
3954
    sed '10a\
 
3955
... rest of stderr output deleted ...
 
3956
         10q' conftest.err >conftest.er1
 
3957
    cat conftest.er1 >&5
 
3958
  fi
 
3959
  rm -f conftest.er1 conftest.err
 
3960
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3961
  test $ac_status = 0; }
 
3962
done
3300
3963
 
3301
 
cat >conftest.$ac_ext <<_ACEOF
3302
 
/* confdefs.h.  */
3303
 
_ACEOF
3304
 
cat confdefs.h >>conftest.$ac_ext
3305
 
cat >>conftest.$ac_ext <<_ACEOF
 
3964
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3306
3965
/* end confdefs.h.  */
3307
3966
 
3308
3967
int
3314
3973
}
3315
3974
_ACEOF
3316
3975
ac_clean_files_save=$ac_clean_files
3317
 
ac_clean_files="$ac_clean_files a.out a.exe b.out"
 
3976
ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3318
3977
# Try to create an executable without -o first, disregard a.out.
3319
3978
# It will help us diagnose broken compilers, and finding out an intuition
3320
3979
# of exeext.
3321
 
{ echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
3322
 
echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
3323
 
ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3324
 
#
3325
 
# List of possible output files, starting from the most likely.
3326
 
# The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
3327
 
# only as a last resort.  b.out is created by i960 compilers.
3328
 
ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
3329
 
#
3330
 
# The IRIX 6 linker writes into existing files which may not be
3331
 
# executable, retaining their permissions.  Remove them first so a
3332
 
# subsequent execution test works.
 
3980
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
 
3981
$as_echo_n "checking whether the C compiler works... " >&6; }
 
3982
ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
 
3983
 
 
3984
# The possible output files:
 
3985
ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
 
3986
 
3333
3987
ac_rmfiles=
3334
3988
for ac_file in $ac_files
3335
3989
do
3336
3990
  case $ac_file in
3337
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
 
3991
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3338
3992
    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3339
3993
  esac
3340
3994
done
3341
3995
rm -f $ac_rmfiles
3342
3996
 
3343
 
if { (ac_try="$ac_link_default"
 
3997
if { { ac_try="$ac_link_default"
3344
3998
case "(($ac_try" in
3345
3999
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3346
4000
  *) ac_try_echo=$ac_try;;
3347
4001
esac
3348
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4002
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
4003
$as_echo "$ac_try_echo"; } >&5
3349
4004
  (eval "$ac_link_default") 2>&5
3350
4005
  ac_status=$?
3351
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3352
 
  (exit $ac_status); }; then
 
4006
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
4007
  test $ac_status = 0; }; then :
3353
4008
  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3354
4009
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3355
4010
# in a Makefile.  We should not override ac_cv_exeext if it was cached,
3359
4014
do
3360
4015
  test -f "$ac_file" || continue
3361
4016
  case $ac_file in
3362
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
 
4017
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3363
4018
        ;;
3364
4019
    [ab].out )
3365
4020
        # We found the default executable, but exeext='' is most
3366
4021
        # certainly right.
3367
4022
        break;;
3368
4023
    *.* )
3369
 
        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
 
4024
        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3370
4025
        then :; else
3371
4026
           ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3372
4027
        fi
3385
4040
else
3386
4041
  ac_file=''
3387
4042
fi
3388
 
 
3389
 
{ echo "$as_me:$LINENO: result: $ac_file" >&5
3390
 
echo "${ECHO_T}$ac_file" >&6; }
3391
 
if test -z "$ac_file"; then
3392
 
  echo "$as_me: failed program was:" >&5
 
4043
if test -z "$ac_file"; then :
 
4044
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
4045
$as_echo "no" >&6; }
 
4046
$as_echo "$as_me: failed program was:" >&5
3393
4047
sed 's/^/| /' conftest.$ac_ext >&5
3394
4048
 
3395
 
{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
3396
 
See \`config.log' for more details." >&5
3397
 
echo "$as_me: error: C compiler cannot create executables
3398
 
See \`config.log' for more details." >&2;}
3399
 
   { (exit 77); exit 77; }; }
 
4049
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
4050
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
4051
{ as_fn_set_status 77
 
4052
as_fn_error "C compiler cannot create executables
 
4053
See \`config.log' for more details." "$LINENO" 5; }; }
 
4054
else
 
4055
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
4056
$as_echo "yes" >&6; }
3400
4057
fi
3401
 
 
 
4058
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
 
4059
$as_echo_n "checking for C compiler default output file name... " >&6; }
 
4060
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
 
4061
$as_echo "$ac_file" >&6; }
3402
4062
ac_exeext=$ac_cv_exeext
3403
4063
 
3404
 
# Check that the compiler produces executables we can run.  If not, either
3405
 
# the compiler is broken, or we cross compile.
3406
 
{ echo "$as_me:$LINENO: checking whether the C compiler works" >&5
3407
 
echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
3408
 
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
3409
 
# If not cross compiling, check that we can run a simple program.
3410
 
if test "$cross_compiling" != yes; then
3411
 
  if { ac_try='./$ac_file'
3412
 
  { (case "(($ac_try" in
3413
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3414
 
  *) ac_try_echo=$ac_try;;
3415
 
esac
3416
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3417
 
  (eval "$ac_try") 2>&5
3418
 
  ac_status=$?
3419
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3420
 
  (exit $ac_status); }; }; then
3421
 
    cross_compiling=no
3422
 
  else
3423
 
    if test "$cross_compiling" = maybe; then
3424
 
        cross_compiling=yes
3425
 
    else
3426
 
        { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
3427
 
If you meant to cross compile, use \`--host'.
3428
 
See \`config.log' for more details." >&5
3429
 
echo "$as_me: error: cannot run C compiled programs.
3430
 
If you meant to cross compile, use \`--host'.
3431
 
See \`config.log' for more details." >&2;}
3432
 
   { (exit 1); exit 1; }; }
3433
 
    fi
3434
 
  fi
3435
 
fi
3436
 
{ echo "$as_me:$LINENO: result: yes" >&5
3437
 
echo "${ECHO_T}yes" >&6; }
3438
 
 
3439
 
rm -f a.out a.exe conftest$ac_cv_exeext b.out
 
4064
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3440
4065
ac_clean_files=$ac_clean_files_save
3441
 
# Check that the compiler produces executables we can run.  If not, either
3442
 
# the compiler is broken, or we cross compile.
3443
 
{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
3444
 
echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
3445
 
{ echo "$as_me:$LINENO: result: $cross_compiling" >&5
3446
 
echo "${ECHO_T}$cross_compiling" >&6; }
3447
 
 
3448
 
{ echo "$as_me:$LINENO: checking for suffix of executables" >&5
3449
 
echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
3450
 
if { (ac_try="$ac_link"
 
4066
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
 
4067
$as_echo_n "checking for suffix of executables... " >&6; }
 
4068
if { { ac_try="$ac_link"
3451
4069
case "(($ac_try" in
3452
4070
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3453
4071
  *) ac_try_echo=$ac_try;;
3454
4072
esac
3455
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4073
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
4074
$as_echo "$ac_try_echo"; } >&5
3456
4075
  (eval "$ac_link") 2>&5
3457
4076
  ac_status=$?
3458
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3459
 
  (exit $ac_status); }; then
 
4077
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
4078
  test $ac_status = 0; }; then :
3460
4079
  # If both `conftest.exe' and `conftest' are `present' (well, observable)
3461
4080
# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3462
4081
# work properly (i.e., refer to `conftest.exe'), while it won't with
3464
4083
for ac_file in conftest.exe conftest conftest.*; do
3465
4084
  test -f "$ac_file" || continue
3466
4085
  case $ac_file in
3467
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
 
4086
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3468
4087
    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3469
4088
          break;;
3470
4089
    * ) break;;
3471
4090
  esac
3472
4091
done
3473
4092
else
3474
 
  { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
3475
 
See \`config.log' for more details." >&5
3476
 
echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
3477
 
See \`config.log' for more details." >&2;}
3478
 
   { (exit 1); exit 1; }; }
 
4093
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
4094
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
4095
as_fn_error "cannot compute suffix of executables: cannot compile and link
 
4096
See \`config.log' for more details." "$LINENO" 5; }
3479
4097
fi
3480
 
 
3481
 
rm -f conftest$ac_cv_exeext
3482
 
{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
3483
 
echo "${ECHO_T}$ac_cv_exeext" >&6; }
 
4098
rm -f conftest conftest$ac_cv_exeext
 
4099
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
 
4100
$as_echo "$ac_cv_exeext" >&6; }
3484
4101
 
3485
4102
rm -f conftest.$ac_ext
3486
4103
EXEEXT=$ac_cv_exeext
3487
4104
ac_exeext=$EXEEXT
3488
 
{ echo "$as_me:$LINENO: checking for suffix of object files" >&5
3489
 
echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
3490
 
if test "${ac_cv_objext+set}" = set; then
3491
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4105
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
4106
/* end confdefs.h.  */
 
4107
@%:@include <stdio.h>
 
4108
int
 
4109
main ()
 
4110
{
 
4111
FILE *f = fopen ("conftest.out", "w");
 
4112
 return ferror (f) || fclose (f) != 0;
 
4113
 
 
4114
  ;
 
4115
  return 0;
 
4116
}
 
4117
_ACEOF
 
4118
ac_clean_files="$ac_clean_files conftest.out"
 
4119
# Check that the compiler produces executables we can run.  If not, either
 
4120
# the compiler is broken, or we cross compile.
 
4121
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
 
4122
$as_echo_n "checking whether we are cross compiling... " >&6; }
 
4123
if test "$cross_compiling" != yes; then
 
4124
  { { ac_try="$ac_link"
 
4125
case "(($ac_try" in
 
4126
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4127
  *) ac_try_echo=$ac_try;;
 
4128
esac
 
4129
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
4130
$as_echo "$ac_try_echo"; } >&5
 
4131
  (eval "$ac_link") 2>&5
 
4132
  ac_status=$?
 
4133
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
4134
  test $ac_status = 0; }
 
4135
  if { ac_try='./conftest$ac_cv_exeext'
 
4136
  { { case "(($ac_try" in
 
4137
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4138
  *) ac_try_echo=$ac_try;;
 
4139
esac
 
4140
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
4141
$as_echo "$ac_try_echo"; } >&5
 
4142
  (eval "$ac_try") 2>&5
 
4143
  ac_status=$?
 
4144
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
4145
  test $ac_status = 0; }; }; then
 
4146
    cross_compiling=no
 
4147
  else
 
4148
    if test "$cross_compiling" = maybe; then
 
4149
        cross_compiling=yes
 
4150
    else
 
4151
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
4152
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
4153
as_fn_error "cannot run C compiled programs.
 
4154
If you meant to cross compile, use \`--host'.
 
4155
See \`config.log' for more details." "$LINENO" 5; }
 
4156
    fi
 
4157
  fi
 
4158
fi
 
4159
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
 
4160
$as_echo "$cross_compiling" >&6; }
 
4161
 
 
4162
rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
 
4163
ac_clean_files=$ac_clean_files_save
 
4164
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
 
4165
$as_echo_n "checking for suffix of object files... " >&6; }
 
4166
if test "${ac_cv_objext+set}" = set; then :
 
4167
  $as_echo_n "(cached) " >&6
3492
4168
else
3493
 
  cat >conftest.$ac_ext <<_ACEOF
3494
 
/* confdefs.h.  */
3495
 
_ACEOF
3496
 
cat confdefs.h >>conftest.$ac_ext
3497
 
cat >>conftest.$ac_ext <<_ACEOF
 
4169
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3498
4170
/* end confdefs.h.  */
3499
4171
 
3500
4172
int
3506
4178
}
3507
4179
_ACEOF
3508
4180
rm -f conftest.o conftest.obj
3509
 
if { (ac_try="$ac_compile"
 
4181
if { { ac_try="$ac_compile"
3510
4182
case "(($ac_try" in
3511
4183
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3512
4184
  *) ac_try_echo=$ac_try;;
3513
4185
esac
3514
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4186
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
4187
$as_echo "$ac_try_echo"; } >&5
3515
4188
  (eval "$ac_compile") 2>&5
3516
4189
  ac_status=$?
3517
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3518
 
  (exit $ac_status); }; then
 
4190
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
4191
  test $ac_status = 0; }; then :
3519
4192
  for ac_file in conftest.o conftest.obj conftest.*; do
3520
4193
  test -f "$ac_file" || continue;
3521
4194
  case $ac_file in
3522
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
 
4195
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3523
4196
    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3524
4197
       break;;
3525
4198
  esac
3526
4199
done
3527
4200
else
3528
 
  echo "$as_me: failed program was:" >&5
 
4201
  $as_echo "$as_me: failed program was:" >&5
3529
4202
sed 's/^/| /' conftest.$ac_ext >&5
3530
4203
 
3531
 
{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3532
 
See \`config.log' for more details." >&5
3533
 
echo "$as_me: error: cannot compute suffix of object files: cannot compile
3534
 
See \`config.log' for more details." >&2;}
3535
 
   { (exit 1); exit 1; }; }
 
4204
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
4205
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
4206
as_fn_error "cannot compute suffix of object files: cannot compile
 
4207
See \`config.log' for more details." "$LINENO" 5; }
3536
4208
fi
3537
 
 
3538
4209
rm -f conftest.$ac_cv_objext conftest.$ac_ext
3539
4210
fi
3540
 
{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
3541
 
echo "${ECHO_T}$ac_cv_objext" >&6; }
 
4211
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
 
4212
$as_echo "$ac_cv_objext" >&6; }
3542
4213
OBJEXT=$ac_cv_objext
3543
4214
ac_objext=$OBJEXT
3544
 
{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3545
 
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
3546
 
if test "${ac_cv_c_compiler_gnu+set}" = set; then
3547
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4215
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
 
4216
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
 
4217
if test "${ac_cv_c_compiler_gnu+set}" = set; then :
 
4218
  $as_echo_n "(cached) " >&6
3548
4219
else
3549
 
  cat >conftest.$ac_ext <<_ACEOF
3550
 
/* confdefs.h.  */
3551
 
_ACEOF
3552
 
cat confdefs.h >>conftest.$ac_ext
3553
 
cat >>conftest.$ac_ext <<_ACEOF
 
4220
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3554
4221
/* end confdefs.h.  */
3555
4222
 
3556
4223
int
3564
4231
  return 0;
3565
4232
}
3566
4233
_ACEOF
3567
 
rm -f conftest.$ac_objext
3568
 
if { (ac_try="$ac_compile"
3569
 
case "(($ac_try" in
3570
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3571
 
  *) ac_try_echo=$ac_try;;
3572
 
esac
3573
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3574
 
  (eval "$ac_compile") 2>conftest.er1
3575
 
  ac_status=$?
3576
 
  grep -v '^ *+' conftest.er1 >conftest.err
3577
 
  rm -f conftest.er1
3578
 
  cat conftest.err >&5
3579
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3580
 
  (exit $ac_status); } && {
3581
 
         test -z "$ac_c_werror_flag" ||
3582
 
         test ! -s conftest.err
3583
 
       } && test -s conftest.$ac_objext; then
 
4234
if ac_fn_c_try_compile "$LINENO"; then :
3584
4235
  ac_compiler_gnu=yes
3585
4236
else
3586
 
  echo "$as_me: failed program was:" >&5
3587
 
sed 's/^/| /' conftest.$ac_ext >&5
3588
 
 
3589
 
        ac_compiler_gnu=no
 
4237
  ac_compiler_gnu=no
3590
4238
fi
3591
 
 
3592
4239
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3593
4240
ac_cv_c_compiler_gnu=$ac_compiler_gnu
3594
4241
 
3595
4242
fi
3596
 
{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3597
 
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
3598
 
GCC=`test $ac_compiler_gnu = yes && echo yes`
 
4243
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
 
4244
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
 
4245
if test $ac_compiler_gnu = yes; then
 
4246
  GCC=yes
 
4247
else
 
4248
  GCC=
 
4249
fi
3599
4250
ac_test_CFLAGS=${CFLAGS+set}
3600
4251
ac_save_CFLAGS=$CFLAGS
3601
 
{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3602
 
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
3603
 
if test "${ac_cv_prog_cc_g+set}" = set; then
3604
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4252
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
 
4253
$as_echo_n "checking whether $CC accepts -g... " >&6; }
 
4254
if test "${ac_cv_prog_cc_g+set}" = set; then :
 
4255
  $as_echo_n "(cached) " >&6
3605
4256
else
3606
4257
  ac_save_c_werror_flag=$ac_c_werror_flag
3607
4258
   ac_c_werror_flag=yes
3608
4259
   ac_cv_prog_cc_g=no
3609
4260
   CFLAGS="-g"
3610
 
   cat >conftest.$ac_ext <<_ACEOF
3611
 
/* confdefs.h.  */
3612
 
_ACEOF
3613
 
cat confdefs.h >>conftest.$ac_ext
3614
 
cat >>conftest.$ac_ext <<_ACEOF
 
4261
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3615
4262
/* end confdefs.h.  */
3616
4263
 
3617
4264
int
3622
4269
  return 0;
3623
4270
}
3624
4271
_ACEOF
3625
 
rm -f conftest.$ac_objext
3626
 
if { (ac_try="$ac_compile"
3627
 
case "(($ac_try" in
3628
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3629
 
  *) ac_try_echo=$ac_try;;
3630
 
esac
3631
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3632
 
  (eval "$ac_compile") 2>conftest.er1
3633
 
  ac_status=$?
3634
 
  grep -v '^ *+' conftest.er1 >conftest.err
3635
 
  rm -f conftest.er1
3636
 
  cat conftest.err >&5
3637
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3638
 
  (exit $ac_status); } && {
3639
 
         test -z "$ac_c_werror_flag" ||
3640
 
         test ! -s conftest.err
3641
 
       } && test -s conftest.$ac_objext; then
 
4272
if ac_fn_c_try_compile "$LINENO"; then :
3642
4273
  ac_cv_prog_cc_g=yes
3643
4274
else
3644
 
  echo "$as_me: failed program was:" >&5
3645
 
sed 's/^/| /' conftest.$ac_ext >&5
3646
 
 
3647
 
        CFLAGS=""
3648
 
      cat >conftest.$ac_ext <<_ACEOF
3649
 
/* confdefs.h.  */
3650
 
_ACEOF
3651
 
cat confdefs.h >>conftest.$ac_ext
3652
 
cat >>conftest.$ac_ext <<_ACEOF
 
4275
  CFLAGS=""
 
4276
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3653
4277
/* end confdefs.h.  */
3654
4278
 
3655
4279
int
3660
4284
  return 0;
3661
4285
}
3662
4286
_ACEOF
3663
 
rm -f conftest.$ac_objext
3664
 
if { (ac_try="$ac_compile"
3665
 
case "(($ac_try" in
3666
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3667
 
  *) ac_try_echo=$ac_try;;
3668
 
esac
3669
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3670
 
  (eval "$ac_compile") 2>conftest.er1
3671
 
  ac_status=$?
3672
 
  grep -v '^ *+' conftest.er1 >conftest.err
3673
 
  rm -f conftest.er1
3674
 
  cat conftest.err >&5
3675
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3676
 
  (exit $ac_status); } && {
3677
 
         test -z "$ac_c_werror_flag" ||
3678
 
         test ! -s conftest.err
3679
 
       } && test -s conftest.$ac_objext; then
3680
 
  :
 
4287
if ac_fn_c_try_compile "$LINENO"; then :
 
4288
  
3681
4289
else
3682
 
  echo "$as_me: failed program was:" >&5
3683
 
sed 's/^/| /' conftest.$ac_ext >&5
3684
 
 
3685
 
        ac_c_werror_flag=$ac_save_c_werror_flag
 
4290
  ac_c_werror_flag=$ac_save_c_werror_flag
3686
4291
         CFLAGS="-g"
3687
 
         cat >conftest.$ac_ext <<_ACEOF
3688
 
/* confdefs.h.  */
3689
 
_ACEOF
3690
 
cat confdefs.h >>conftest.$ac_ext
3691
 
cat >>conftest.$ac_ext <<_ACEOF
 
4292
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3692
4293
/* end confdefs.h.  */
3693
4294
 
3694
4295
int
3699
4300
  return 0;
3700
4301
}
3701
4302
_ACEOF
3702
 
rm -f conftest.$ac_objext
3703
 
if { (ac_try="$ac_compile"
3704
 
case "(($ac_try" in
3705
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3706
 
  *) ac_try_echo=$ac_try;;
3707
 
esac
3708
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3709
 
  (eval "$ac_compile") 2>conftest.er1
3710
 
  ac_status=$?
3711
 
  grep -v '^ *+' conftest.er1 >conftest.err
3712
 
  rm -f conftest.er1
3713
 
  cat conftest.err >&5
3714
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3715
 
  (exit $ac_status); } && {
3716
 
         test -z "$ac_c_werror_flag" ||
3717
 
         test ! -s conftest.err
3718
 
       } && test -s conftest.$ac_objext; then
 
4303
if ac_fn_c_try_compile "$LINENO"; then :
3719
4304
  ac_cv_prog_cc_g=yes
3720
 
else
3721
 
  echo "$as_me: failed program was:" >&5
3722
 
sed 's/^/| /' conftest.$ac_ext >&5
3723
 
 
3724
 
        
3725
 
fi
3726
 
 
3727
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3728
 
fi
3729
 
 
3730
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3731
 
fi
3732
 
 
 
4305
fi
 
4306
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
4307
fi
 
4308
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
4309
fi
3733
4310
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3734
4311
   ac_c_werror_flag=$ac_save_c_werror_flag
3735
4312
fi
3736
 
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3737
 
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
 
4313
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
 
4314
$as_echo "$ac_cv_prog_cc_g" >&6; }
3738
4315
if test "$ac_test_CFLAGS" = set; then
3739
4316
  CFLAGS=$ac_save_CFLAGS
3740
4317
elif test $ac_cv_prog_cc_g = yes; then
3750
4327
    CFLAGS=
3751
4328
  fi
3752
4329
fi
3753
 
{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3754
 
echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
3755
 
if test "${ac_cv_prog_cc_c89+set}" = set; then
3756
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4330
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
 
4331
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
 
4332
if test "${ac_cv_prog_cc_c89+set}" = set; then :
 
4333
  $as_echo_n "(cached) " >&6
3757
4334
else
3758
4335
  ac_cv_prog_cc_c89=no
3759
4336
ac_save_CC=$CC
3760
 
cat >conftest.$ac_ext <<_ACEOF
3761
 
/* confdefs.h.  */
3762
 
_ACEOF
3763
 
cat confdefs.h >>conftest.$ac_ext
3764
 
cat >>conftest.$ac_ext <<_ACEOF
 
4337
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3765
4338
/* end confdefs.h.  */
3766
4339
#include <stdarg.h>
3767
4340
#include <stdio.h>
3818
4391
        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3819
4392
do
3820
4393
  CC="$ac_save_CC $ac_arg"
3821
 
  rm -f conftest.$ac_objext
3822
 
if { (ac_try="$ac_compile"
3823
 
case "(($ac_try" in
3824
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3825
 
  *) ac_try_echo=$ac_try;;
3826
 
esac
3827
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3828
 
  (eval "$ac_compile") 2>conftest.er1
3829
 
  ac_status=$?
3830
 
  grep -v '^ *+' conftest.er1 >conftest.err
3831
 
  rm -f conftest.er1
3832
 
  cat conftest.err >&5
3833
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3834
 
  (exit $ac_status); } && {
3835
 
         test -z "$ac_c_werror_flag" ||
3836
 
         test ! -s conftest.err
3837
 
       } && test -s conftest.$ac_objext; then
 
4394
  if ac_fn_c_try_compile "$LINENO"; then :
3838
4395
  ac_cv_prog_cc_c89=$ac_arg
3839
 
else
3840
 
  echo "$as_me: failed program was:" >&5
3841
 
sed 's/^/| /' conftest.$ac_ext >&5
3842
 
 
3843
 
        
3844
4396
fi
3845
 
 
3846
 
rm -f core conftest.err conftest.$ac_objext 
 
4397
rm -f core conftest.err conftest.$ac_objext
3847
4398
  test "x$ac_cv_prog_cc_c89" != "xno" && break
3848
4399
done
3849
4400
rm -f conftest.$ac_ext
3853
4404
# AC_CACHE_VAL
3854
4405
case "x$ac_cv_prog_cc_c89" in
3855
4406
  x)
3856
 
    { echo "$as_me:$LINENO: result: none needed" >&5
3857
 
echo "${ECHO_T}none needed" >&6; } ;;
 
4407
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
 
4408
$as_echo "none needed" >&6; } ;;
3858
4409
  xno)
3859
 
    { echo "$as_me:$LINENO: result: unsupported" >&5
3860
 
echo "${ECHO_T}unsupported" >&6; } ;;
 
4410
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
 
4411
$as_echo "unsupported" >&6; } ;;
3861
4412
  *)
3862
4413
    CC="$CC $ac_cv_prog_cc_c89"
3863
 
    { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3864
 
echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
 
4414
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
 
4415
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3865
4416
esac
3866
 
 
 
4417
if test "x$ac_cv_prog_cc_c89" != xno; then :
 
4418
  
 
4419
fi
3867
4420
 
3868
4421
ac_ext=c
3869
4422
ac_cpp='$CPP $CPPFLAGS'
3873
4426
 
3874
4427
depcc="$CC"   am_compiler_list=
3875
4428
 
3876
 
{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3877
 
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
3878
 
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3879
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4429
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
 
4430
$as_echo_n "checking dependency style of $depcc... " >&6; }
 
4431
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
 
4432
  $as_echo_n "(cached) " >&6
3880
4433
else
3881
4434
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3882
4435
  # We make a subdir and do the tests there.  Otherwise we can end up
3901
4454
  if test "$am_compiler_list" = ""; then
3902
4455
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3903
4456
  fi
 
4457
  am__universal=false
 
4458
  case " $depcc " in #(
 
4459
     *\ -arch\ *\ -arch\ *) am__universal=true ;;
 
4460
     esac
 
4461
 
3904
4462
  for depmode in $am_compiler_list; do
3905
4463
    # Setup a source with many dependencies, because some compilers
3906
4464
    # like to wrap large dependency lists on column 80 (with \), and
3918
4476
    done
3919
4477
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3920
4478
 
 
4479
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
 
4480
    # mode.  It turns out that the SunPro C++ compiler does not properly
 
4481
    # handle `-M -o', and we need to detect this.  Also, some Intel
 
4482
    # versions had trouble with output in subdirs
 
4483
    am__obj=sub/conftest.${OBJEXT-o}
 
4484
    am__minus_obj="-o $am__obj"
3921
4485
    case $depmode in
 
4486
    gcc)
 
4487
      # This depmode causes a compiler race in universal mode.
 
4488
      test "$am__universal" = false || continue
 
4489
      ;;
3922
4490
    nosideeffect)
3923
4491
      # after this tag, mechanisms are not by side-effect, so they'll
3924
4492
      # only be used when explicitly requested
3928
4496
        break
3929
4497
      fi
3930
4498
      ;;
 
4499
    msvisualcpp | msvcmsys)
 
4500
      # This compiler won't grok `-c -o', but also, the minuso test has
 
4501
      # not run yet.  These depmodes are late enough in the game, and
 
4502
      # so weak that their functioning should not be impacted.
 
4503
      am__obj=conftest.${OBJEXT-o}
 
4504
      am__minus_obj=
 
4505
      ;;
3931
4506
    none) break ;;
3932
4507
    esac
3933
 
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
3934
 
    # mode.  It turns out that the SunPro C++ compiler does not properly
3935
 
    # handle `-M -o', and we need to detect this.
3936
4508
    if depmode=$depmode \
3937
 
       source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
 
4509
       source=sub/conftest.c object=$am__obj \
3938
4510
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3939
 
       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
 
4511
       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3940
4512
         >/dev/null 2>conftest.err &&
3941
4513
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3942
4514
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3943
 
       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
 
4515
       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3944
4516
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3945
4517
      # icc doesn't choke on unknown options, it will just issue warnings
3946
4518
      # or remarks (even with -Werror).  So we grep stderr for any message
3964
4536
fi
3965
4537
 
3966
4538
fi
3967
 
{ echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3968
 
echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
 
4539
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
 
4540
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3969
4541
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3970
4542
 
3971
4543
 if 
3984
4556
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3985
4557
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3986
4558
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3987
 
{ echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3988
 
echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
 
4559
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
 
4560
$as_echo_n "checking how to run the C preprocessor... " >&6; }
3989
4561
# On Suns, sometimes $CPP names a directory.
3990
4562
if test -n "$CPP" && test -d "$CPP"; then
3991
4563
  CPP=
3992
4564
fi
3993
4565
if test -z "$CPP"; then
3994
 
  if test "${ac_cv_prog_CPP+set}" = set; then
3995
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4566
  if test "${ac_cv_prog_CPP+set}" = set; then :
 
4567
  $as_echo_n "(cached) " >&6
3996
4568
else
3997
4569
      # Double quotes because CPP needs to be expanded
3998
4570
    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4006
4578
  # <limits.h> exists even on freestanding compilers.
4007
4579
  # On the NeXT, cc -E runs the code through the compiler's parser,
4008
4580
  # not just through cpp. "Syntax error" is here to catch this case.
4009
 
  cat >conftest.$ac_ext <<_ACEOF
4010
 
/* confdefs.h.  */
4011
 
_ACEOF
4012
 
cat confdefs.h >>conftest.$ac_ext
4013
 
cat >>conftest.$ac_ext <<_ACEOF
 
4581
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4014
4582
/* end confdefs.h.  */
4015
4583
@%:@ifdef __STDC__
4016
4584
@%:@ include <limits.h>
4019
4587
@%:@endif
4020
4588
                     Syntax error
4021
4589
_ACEOF
4022
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
4023
 
case "(($ac_try" in
4024
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4025
 
  *) ac_try_echo=$ac_try;;
4026
 
esac
4027
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4028
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4029
 
  ac_status=$?
4030
 
  grep -v '^ *+' conftest.er1 >conftest.err
4031
 
  rm -f conftest.er1
4032
 
  cat conftest.err >&5
4033
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4034
 
  (exit $ac_status); } >/dev/null && {
4035
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4036
 
         test ! -s conftest.err
4037
 
       }; then
4038
 
  :
 
4590
if ac_fn_c_try_cpp "$LINENO"; then :
 
4591
  
4039
4592
else
4040
 
  echo "$as_me: failed program was:" >&5
4041
 
sed 's/^/| /' conftest.$ac_ext >&5
4042
 
 
4043
4593
  # Broken: fails on valid input.
4044
4594
continue
4045
4595
fi
4046
 
 
4047
4596
rm -f conftest.err conftest.$ac_ext
4048
4597
 
4049
4598
  # OK, works on sane cases.  Now check whether nonexistent headers
4050
4599
  # can be detected and how.
4051
 
  cat >conftest.$ac_ext <<_ACEOF
4052
 
/* confdefs.h.  */
4053
 
_ACEOF
4054
 
cat confdefs.h >>conftest.$ac_ext
4055
 
cat >>conftest.$ac_ext <<_ACEOF
 
4600
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4056
4601
/* end confdefs.h.  */
4057
4602
@%:@include <ac_nonexistent.h>
4058
4603
_ACEOF
4059
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
4060
 
case "(($ac_try" in
4061
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4062
 
  *) ac_try_echo=$ac_try;;
4063
 
esac
4064
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4065
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4066
 
  ac_status=$?
4067
 
  grep -v '^ *+' conftest.er1 >conftest.err
4068
 
  rm -f conftest.er1
4069
 
  cat conftest.err >&5
4070
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4071
 
  (exit $ac_status); } >/dev/null && {
4072
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4073
 
         test ! -s conftest.err
4074
 
       }; then
 
4604
if ac_fn_c_try_cpp "$LINENO"; then :
4075
4605
  # Broken: success on invalid input.
4076
4606
continue
4077
4607
else
4078
 
  echo "$as_me: failed program was:" >&5
4079
 
sed 's/^/| /' conftest.$ac_ext >&5
4080
 
 
4081
4608
  # Passes both tests.
4082
4609
ac_preproc_ok=:
4083
4610
break
4084
4611
fi
4085
 
 
4086
4612
rm -f conftest.err conftest.$ac_ext
4087
4613
 
4088
4614
done
4089
4615
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4090
4616
rm -f conftest.err conftest.$ac_ext
4091
 
if $ac_preproc_ok; then
 
4617
if $ac_preproc_ok; then :
4092
4618
  break
4093
4619
fi
4094
4620
 
4100
4626
else
4101
4627
  ac_cv_prog_CPP=$CPP
4102
4628
fi
4103
 
{ echo "$as_me:$LINENO: result: $CPP" >&5
4104
 
echo "${ECHO_T}$CPP" >&6; }
 
4629
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
 
4630
$as_echo "$CPP" >&6; }
4105
4631
ac_preproc_ok=false
4106
4632
for ac_c_preproc_warn_flag in '' yes
4107
4633
do
4111
4637
  # <limits.h> exists even on freestanding compilers.
4112
4638
  # On the NeXT, cc -E runs the code through the compiler's parser,
4113
4639
  # not just through cpp. "Syntax error" is here to catch this case.
4114
 
  cat >conftest.$ac_ext <<_ACEOF
4115
 
/* confdefs.h.  */
4116
 
_ACEOF
4117
 
cat confdefs.h >>conftest.$ac_ext
4118
 
cat >>conftest.$ac_ext <<_ACEOF
 
4640
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4119
4641
/* end confdefs.h.  */
4120
4642
@%:@ifdef __STDC__
4121
4643
@%:@ include <limits.h>
4124
4646
@%:@endif
4125
4647
                     Syntax error
4126
4648
_ACEOF
4127
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
4128
 
case "(($ac_try" in
4129
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4130
 
  *) ac_try_echo=$ac_try;;
4131
 
esac
4132
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4133
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4134
 
  ac_status=$?
4135
 
  grep -v '^ *+' conftest.er1 >conftest.err
4136
 
  rm -f conftest.er1
4137
 
  cat conftest.err >&5
4138
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4139
 
  (exit $ac_status); } >/dev/null && {
4140
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4141
 
         test ! -s conftest.err
4142
 
       }; then
4143
 
  :
 
4649
if ac_fn_c_try_cpp "$LINENO"; then :
 
4650
  
4144
4651
else
4145
 
  echo "$as_me: failed program was:" >&5
4146
 
sed 's/^/| /' conftest.$ac_ext >&5
4147
 
 
4148
4652
  # Broken: fails on valid input.
4149
4653
continue
4150
4654
fi
4151
 
 
4152
4655
rm -f conftest.err conftest.$ac_ext
4153
4656
 
4154
4657
  # OK, works on sane cases.  Now check whether nonexistent headers
4155
4658
  # can be detected and how.
4156
 
  cat >conftest.$ac_ext <<_ACEOF
4157
 
/* confdefs.h.  */
4158
 
_ACEOF
4159
 
cat confdefs.h >>conftest.$ac_ext
4160
 
cat >>conftest.$ac_ext <<_ACEOF
 
4659
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4161
4660
/* end confdefs.h.  */
4162
4661
@%:@include <ac_nonexistent.h>
4163
4662
_ACEOF
4164
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
4165
 
case "(($ac_try" in
4166
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4167
 
  *) ac_try_echo=$ac_try;;
4168
 
esac
4169
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4170
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4171
 
  ac_status=$?
4172
 
  grep -v '^ *+' conftest.er1 >conftest.err
4173
 
  rm -f conftest.er1
4174
 
  cat conftest.err >&5
4175
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4176
 
  (exit $ac_status); } >/dev/null && {
4177
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4178
 
         test ! -s conftest.err
4179
 
       }; then
 
4663
if ac_fn_c_try_cpp "$LINENO"; then :
4180
4664
  # Broken: success on invalid input.
4181
4665
continue
4182
4666
else
4183
 
  echo "$as_me: failed program was:" >&5
4184
 
sed 's/^/| /' conftest.$ac_ext >&5
4185
 
 
4186
4667
  # Passes both tests.
4187
4668
ac_preproc_ok=:
4188
4669
break
4189
4670
fi
4190
 
 
4191
4671
rm -f conftest.err conftest.$ac_ext
4192
4672
 
4193
4673
done
4194
4674
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4195
4675
rm -f conftest.err conftest.$ac_ext
4196
 
if $ac_preproc_ok; then
4197
 
  :
 
4676
if $ac_preproc_ok; then :
 
4677
  
4198
4678
else
4199
 
  { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
4200
 
See \`config.log' for more details." >&5
4201
 
echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
4202
 
See \`config.log' for more details." >&2;}
4203
 
   { (exit 1); exit 1; }; }
 
4679
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
4680
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
4681
as_fn_error "C preprocessor \"$CPP\" fails sanity check
 
4682
See \`config.log' for more details." "$LINENO" 5; }
4204
4683
fi
4205
4684
 
4206
4685
ac_ext=c
4217
4696
if test -n "$ac_tool_prefix"; then
4218
4697
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4219
4698
set dummy ${ac_tool_prefix}gcc; ac_word=$2
4220
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
4221
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4222
 
if test "${ac_cv_prog_CC+set}" = set; then
4223
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4699
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
4700
$as_echo_n "checking for $ac_word... " >&6; }
 
4701
if test "${ac_cv_prog_CC+set}" = set; then :
 
4702
  $as_echo_n "(cached) " >&6
4224
4703
else
4225
4704
  if test -n "$CC"; then
4226
4705
  ac_cv_prog_CC="$CC" # Let the user override the test.
4230
4709
do
4231
4710
  IFS=$as_save_IFS
4232
4711
  test -z "$as_dir" && as_dir=.
4233
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
4712
    for ac_exec_ext in '' $ac_executable_extensions; do
4234
4713
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4235
4714
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
4236
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4715
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4237
4716
    break 2
4238
4717
  fi
4239
4718
done
4240
 
done
 
4719
  done
4241
4720
IFS=$as_save_IFS
4242
4721
 
4243
4722
fi
4244
4723
fi
4245
4724
CC=$ac_cv_prog_CC
4246
4725
if test -n "$CC"; then
4247
 
  { echo "$as_me:$LINENO: result: $CC" >&5
4248
 
echo "${ECHO_T}$CC" >&6; }
 
4726
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 
4727
$as_echo "$CC" >&6; }
4249
4728
else
4250
 
  { echo "$as_me:$LINENO: result: no" >&5
4251
 
echo "${ECHO_T}no" >&6; }
 
4729
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
4730
$as_echo "no" >&6; }
4252
4731
fi
4253
4732
 
4254
4733
 
4257
4736
  ac_ct_CC=$CC
4258
4737
  # Extract the first word of "gcc", so it can be a program name with args.
4259
4738
set dummy gcc; ac_word=$2
4260
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
4261
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4262
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
4263
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4739
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
4740
$as_echo_n "checking for $ac_word... " >&6; }
 
4741
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
 
4742
  $as_echo_n "(cached) " >&6
4264
4743
else
4265
4744
  if test -n "$ac_ct_CC"; then
4266
4745
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4270
4749
do
4271
4750
  IFS=$as_save_IFS
4272
4751
  test -z "$as_dir" && as_dir=.
4273
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
4752
    for ac_exec_ext in '' $ac_executable_extensions; do
4274
4753
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4275
4754
    ac_cv_prog_ac_ct_CC="gcc"
4276
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4755
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4277
4756
    break 2
4278
4757
  fi
4279
4758
done
4280
 
done
 
4759
  done
4281
4760
IFS=$as_save_IFS
4282
4761
 
4283
4762
fi
4284
4763
fi
4285
4764
ac_ct_CC=$ac_cv_prog_ac_ct_CC
4286
4765
if test -n "$ac_ct_CC"; then
4287
 
  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
4288
 
echo "${ECHO_T}$ac_ct_CC" >&6; }
 
4766
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
 
4767
$as_echo "$ac_ct_CC" >&6; }
4289
4768
else
4290
 
  { echo "$as_me:$LINENO: result: no" >&5
4291
 
echo "${ECHO_T}no" >&6; }
 
4769
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
4770
$as_echo "no" >&6; }
4292
4771
fi
4293
4772
 
4294
4773
  if test "x$ac_ct_CC" = x; then
4296
4775
  else
4297
4776
    case $cross_compiling:$ac_tool_warned in
4298
4777
yes:)
4299
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4300
 
whose name does not start with the host triplet.  If you think this
4301
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
4302
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4303
 
whose name does not start with the host triplet.  If you think this
4304
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
4778
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
4779
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4305
4780
ac_tool_warned=yes ;;
4306
4781
esac
4307
4782
    CC=$ac_ct_CC
4314
4789
          if test -n "$ac_tool_prefix"; then
4315
4790
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4316
4791
set dummy ${ac_tool_prefix}cc; ac_word=$2
4317
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
4318
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4319
 
if test "${ac_cv_prog_CC+set}" = set; then
4320
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4792
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
4793
$as_echo_n "checking for $ac_word... " >&6; }
 
4794
if test "${ac_cv_prog_CC+set}" = set; then :
 
4795
  $as_echo_n "(cached) " >&6
4321
4796
else
4322
4797
  if test -n "$CC"; then
4323
4798
  ac_cv_prog_CC="$CC" # Let the user override the test.
4327
4802
do
4328
4803
  IFS=$as_save_IFS
4329
4804
  test -z "$as_dir" && as_dir=.
4330
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
4805
    for ac_exec_ext in '' $ac_executable_extensions; do
4331
4806
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4332
4807
    ac_cv_prog_CC="${ac_tool_prefix}cc"
4333
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4808
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4334
4809
    break 2
4335
4810
  fi
4336
4811
done
4337
 
done
 
4812
  done
4338
4813
IFS=$as_save_IFS
4339
4814
 
4340
4815
fi
4341
4816
fi
4342
4817
CC=$ac_cv_prog_CC
4343
4818
if test -n "$CC"; then
4344
 
  { echo "$as_me:$LINENO: result: $CC" >&5
4345
 
echo "${ECHO_T}$CC" >&6; }
 
4819
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 
4820
$as_echo "$CC" >&6; }
4346
4821
else
4347
 
  { echo "$as_me:$LINENO: result: no" >&5
4348
 
echo "${ECHO_T}no" >&6; }
 
4822
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
4823
$as_echo "no" >&6; }
4349
4824
fi
4350
4825
 
4351
4826
 
4354
4829
if test -z "$CC"; then
4355
4830
  # Extract the first word of "cc", so it can be a program name with args.
4356
4831
set dummy cc; ac_word=$2
4357
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
4358
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4359
 
if test "${ac_cv_prog_CC+set}" = set; then
4360
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4832
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
4833
$as_echo_n "checking for $ac_word... " >&6; }
 
4834
if test "${ac_cv_prog_CC+set}" = set; then :
 
4835
  $as_echo_n "(cached) " >&6
4361
4836
else
4362
4837
  if test -n "$CC"; then
4363
4838
  ac_cv_prog_CC="$CC" # Let the user override the test.
4368
4843
do
4369
4844
  IFS=$as_save_IFS
4370
4845
  test -z "$as_dir" && as_dir=.
4371
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
4846
    for ac_exec_ext in '' $ac_executable_extensions; do
4372
4847
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4373
4848
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4374
4849
       ac_prog_rejected=yes
4375
4850
       continue
4376
4851
     fi
4377
4852
    ac_cv_prog_CC="cc"
4378
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4853
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4379
4854
    break 2
4380
4855
  fi
4381
4856
done
4382
 
done
 
4857
  done
4383
4858
IFS=$as_save_IFS
4384
4859
 
4385
4860
if test $ac_prog_rejected = yes; then
4398
4873
fi
4399
4874
CC=$ac_cv_prog_CC
4400
4875
if test -n "$CC"; then
4401
 
  { echo "$as_me:$LINENO: result: $CC" >&5
4402
 
echo "${ECHO_T}$CC" >&6; }
 
4876
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 
4877
$as_echo "$CC" >&6; }
4403
4878
else
4404
 
  { echo "$as_me:$LINENO: result: no" >&5
4405
 
echo "${ECHO_T}no" >&6; }
 
4879
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
4880
$as_echo "no" >&6; }
4406
4881
fi
4407
4882
 
4408
4883
 
4413
4888
  do
4414
4889
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4415
4890
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4416
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
4417
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4418
 
if test "${ac_cv_prog_CC+set}" = set; then
4419
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4891
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
4892
$as_echo_n "checking for $ac_word... " >&6; }
 
4893
if test "${ac_cv_prog_CC+set}" = set; then :
 
4894
  $as_echo_n "(cached) " >&6
4420
4895
else
4421
4896
  if test -n "$CC"; then
4422
4897
  ac_cv_prog_CC="$CC" # Let the user override the test.
4426
4901
do
4427
4902
  IFS=$as_save_IFS
4428
4903
  test -z "$as_dir" && as_dir=.
4429
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
4904
    for ac_exec_ext in '' $ac_executable_extensions; do
4430
4905
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4431
4906
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4432
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4907
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4433
4908
    break 2
4434
4909
  fi
4435
4910
done
4436
 
done
 
4911
  done
4437
4912
IFS=$as_save_IFS
4438
4913
 
4439
4914
fi
4440
4915
fi
4441
4916
CC=$ac_cv_prog_CC
4442
4917
if test -n "$CC"; then
4443
 
  { echo "$as_me:$LINENO: result: $CC" >&5
4444
 
echo "${ECHO_T}$CC" >&6; }
 
4918
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 
4919
$as_echo "$CC" >&6; }
4445
4920
else
4446
 
  { echo "$as_me:$LINENO: result: no" >&5
4447
 
echo "${ECHO_T}no" >&6; }
 
4921
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
4922
$as_echo "no" >&6; }
4448
4923
fi
4449
4924
 
4450
4925
 
4457
4932
do
4458
4933
  # Extract the first word of "$ac_prog", so it can be a program name with args.
4459
4934
set dummy $ac_prog; ac_word=$2
4460
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
4461
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4462
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
4463
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4935
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
4936
$as_echo_n "checking for $ac_word... " >&6; }
 
4937
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
 
4938
  $as_echo_n "(cached) " >&6
4464
4939
else
4465
4940
  if test -n "$ac_ct_CC"; then
4466
4941
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4470
4945
do
4471
4946
  IFS=$as_save_IFS
4472
4947
  test -z "$as_dir" && as_dir=.
4473
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
4948
    for ac_exec_ext in '' $ac_executable_extensions; do
4474
4949
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4475
4950
    ac_cv_prog_ac_ct_CC="$ac_prog"
4476
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4951
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4477
4952
    break 2
4478
4953
  fi
4479
4954
done
4480
 
done
 
4955
  done
4481
4956
IFS=$as_save_IFS
4482
4957
 
4483
4958
fi
4484
4959
fi
4485
4960
ac_ct_CC=$ac_cv_prog_ac_ct_CC
4486
4961
if test -n "$ac_ct_CC"; then
4487
 
  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
4488
 
echo "${ECHO_T}$ac_ct_CC" >&6; }
 
4962
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
 
4963
$as_echo "$ac_ct_CC" >&6; }
4489
4964
else
4490
 
  { echo "$as_me:$LINENO: result: no" >&5
4491
 
echo "${ECHO_T}no" >&6; }
 
4965
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
4966
$as_echo "no" >&6; }
4492
4967
fi
4493
4968
 
4494
4969
 
4500
4975
  else
4501
4976
    case $cross_compiling:$ac_tool_warned in
4502
4977
yes:)
4503
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4504
 
whose name does not start with the host triplet.  If you think this
4505
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
4506
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4507
 
whose name does not start with the host triplet.  If you think this
4508
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
4978
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
4979
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4509
4980
ac_tool_warned=yes ;;
4510
4981
esac
4511
4982
    CC=$ac_ct_CC
4515
4986
fi
4516
4987
 
4517
4988
 
4518
 
test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
4519
 
See \`config.log' for more details." >&5
4520
 
echo "$as_me: error: no acceptable C compiler found in \$PATH
4521
 
See \`config.log' for more details." >&2;}
4522
 
   { (exit 1); exit 1; }; }
 
4989
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
4990
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
4991
as_fn_error "no acceptable C compiler found in \$PATH
 
4992
See \`config.log' for more details." "$LINENO" 5; }
4523
4993
 
4524
4994
# Provide some information about the compiler.
4525
 
echo "$as_me:$LINENO: checking for C compiler version" >&5
4526
 
ac_compiler=`set X $ac_compile; echo $2`
4527
 
{ (ac_try="$ac_compiler --version >&5"
4528
 
case "(($ac_try" in
4529
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4530
 
  *) ac_try_echo=$ac_try;;
4531
 
esac
4532
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4533
 
  (eval "$ac_compiler --version >&5") 2>&5
4534
 
  ac_status=$?
4535
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4536
 
  (exit $ac_status); }
4537
 
{ (ac_try="$ac_compiler -v >&5"
4538
 
case "(($ac_try" in
4539
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4540
 
  *) ac_try_echo=$ac_try;;
4541
 
esac
4542
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4543
 
  (eval "$ac_compiler -v >&5") 2>&5
4544
 
  ac_status=$?
4545
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4546
 
  (exit $ac_status); }
4547
 
{ (ac_try="$ac_compiler -V >&5"
4548
 
case "(($ac_try" in
4549
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4550
 
  *) ac_try_echo=$ac_try;;
4551
 
esac
4552
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4553
 
  (eval "$ac_compiler -V >&5") 2>&5
4554
 
  ac_status=$?
4555
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4556
 
  (exit $ac_status); }
 
4995
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
 
4996
set X $ac_compile
 
4997
ac_compiler=$2
 
4998
for ac_option in --version -v -V -qversion; do
 
4999
  { { ac_try="$ac_compiler $ac_option >&5"
 
5000
case "(($ac_try" in
 
5001
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5002
  *) ac_try_echo=$ac_try;;
 
5003
esac
 
5004
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
5005
$as_echo "$ac_try_echo"; } >&5
 
5006
  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
 
5007
  ac_status=$?
 
5008
  if test -s conftest.err; then
 
5009
    sed '10a\
 
5010
... rest of stderr output deleted ...
 
5011
         10q' conftest.err >conftest.er1
 
5012
    cat conftest.er1 >&5
 
5013
  fi
 
5014
  rm -f conftest.er1 conftest.err
 
5015
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
5016
  test $ac_status = 0; }
 
5017
done
4557
5018
 
4558
 
{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
4559
 
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
4560
 
if test "${ac_cv_c_compiler_gnu+set}" = set; then
4561
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
5019
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
 
5020
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
 
5021
if test "${ac_cv_c_compiler_gnu+set}" = set; then :
 
5022
  $as_echo_n "(cached) " >&6
4562
5023
else
4563
 
  cat >conftest.$ac_ext <<_ACEOF
4564
 
/* confdefs.h.  */
4565
 
_ACEOF
4566
 
cat confdefs.h >>conftest.$ac_ext
4567
 
cat >>conftest.$ac_ext <<_ACEOF
 
5024
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4568
5025
/* end confdefs.h.  */
4569
5026
 
4570
5027
int
4578
5035
  return 0;
4579
5036
}
4580
5037
_ACEOF
4581
 
rm -f conftest.$ac_objext
4582
 
if { (ac_try="$ac_compile"
4583
 
case "(($ac_try" in
4584
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4585
 
  *) ac_try_echo=$ac_try;;
4586
 
esac
4587
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4588
 
  (eval "$ac_compile") 2>conftest.er1
4589
 
  ac_status=$?
4590
 
  grep -v '^ *+' conftest.er1 >conftest.err
4591
 
  rm -f conftest.er1
4592
 
  cat conftest.err >&5
4593
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4594
 
  (exit $ac_status); } && {
4595
 
         test -z "$ac_c_werror_flag" ||
4596
 
         test ! -s conftest.err
4597
 
       } && test -s conftest.$ac_objext; then
 
5038
if ac_fn_c_try_compile "$LINENO"; then :
4598
5039
  ac_compiler_gnu=yes
4599
5040
else
4600
 
  echo "$as_me: failed program was:" >&5
4601
 
sed 's/^/| /' conftest.$ac_ext >&5
4602
 
 
4603
 
        ac_compiler_gnu=no
 
5041
  ac_compiler_gnu=no
4604
5042
fi
4605
 
 
4606
5043
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4607
5044
ac_cv_c_compiler_gnu=$ac_compiler_gnu
4608
5045
 
4609
5046
fi
4610
 
{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
4611
 
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
4612
 
GCC=`test $ac_compiler_gnu = yes && echo yes`
 
5047
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
 
5048
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
 
5049
if test $ac_compiler_gnu = yes; then
 
5050
  GCC=yes
 
5051
else
 
5052
  GCC=
 
5053
fi
4613
5054
ac_test_CFLAGS=${CFLAGS+set}
4614
5055
ac_save_CFLAGS=$CFLAGS
4615
 
{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
4616
 
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
4617
 
if test "${ac_cv_prog_cc_g+set}" = set; then
4618
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
5056
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
 
5057
$as_echo_n "checking whether $CC accepts -g... " >&6; }
 
5058
if test "${ac_cv_prog_cc_g+set}" = set; then :
 
5059
  $as_echo_n "(cached) " >&6
4619
5060
else
4620
5061
  ac_save_c_werror_flag=$ac_c_werror_flag
4621
5062
   ac_c_werror_flag=yes
4622
5063
   ac_cv_prog_cc_g=no
4623
5064
   CFLAGS="-g"
4624
 
   cat >conftest.$ac_ext <<_ACEOF
4625
 
/* confdefs.h.  */
4626
 
_ACEOF
4627
 
cat confdefs.h >>conftest.$ac_ext
4628
 
cat >>conftest.$ac_ext <<_ACEOF
 
5065
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4629
5066
/* end confdefs.h.  */
4630
5067
 
4631
5068
int
4636
5073
  return 0;
4637
5074
}
4638
5075
_ACEOF
4639
 
rm -f conftest.$ac_objext
4640
 
if { (ac_try="$ac_compile"
4641
 
case "(($ac_try" in
4642
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4643
 
  *) ac_try_echo=$ac_try;;
4644
 
esac
4645
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4646
 
  (eval "$ac_compile") 2>conftest.er1
4647
 
  ac_status=$?
4648
 
  grep -v '^ *+' conftest.er1 >conftest.err
4649
 
  rm -f conftest.er1
4650
 
  cat conftest.err >&5
4651
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4652
 
  (exit $ac_status); } && {
4653
 
         test -z "$ac_c_werror_flag" ||
4654
 
         test ! -s conftest.err
4655
 
       } && test -s conftest.$ac_objext; then
 
5076
if ac_fn_c_try_compile "$LINENO"; then :
4656
5077
  ac_cv_prog_cc_g=yes
4657
5078
else
4658
 
  echo "$as_me: failed program was:" >&5
4659
 
sed 's/^/| /' conftest.$ac_ext >&5
4660
 
 
4661
 
        CFLAGS=""
4662
 
      cat >conftest.$ac_ext <<_ACEOF
4663
 
/* confdefs.h.  */
4664
 
_ACEOF
4665
 
cat confdefs.h >>conftest.$ac_ext
4666
 
cat >>conftest.$ac_ext <<_ACEOF
 
5079
  CFLAGS=""
 
5080
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4667
5081
/* end confdefs.h.  */
4668
5082
 
4669
5083
int
4674
5088
  return 0;
4675
5089
}
4676
5090
_ACEOF
4677
 
rm -f conftest.$ac_objext
4678
 
if { (ac_try="$ac_compile"
4679
 
case "(($ac_try" in
4680
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4681
 
  *) ac_try_echo=$ac_try;;
4682
 
esac
4683
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4684
 
  (eval "$ac_compile") 2>conftest.er1
4685
 
  ac_status=$?
4686
 
  grep -v '^ *+' conftest.er1 >conftest.err
4687
 
  rm -f conftest.er1
4688
 
  cat conftest.err >&5
4689
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4690
 
  (exit $ac_status); } && {
4691
 
         test -z "$ac_c_werror_flag" ||
4692
 
         test ! -s conftest.err
4693
 
       } && test -s conftest.$ac_objext; then
4694
 
  :
 
5091
if ac_fn_c_try_compile "$LINENO"; then :
 
5092
  
4695
5093
else
4696
 
  echo "$as_me: failed program was:" >&5
4697
 
sed 's/^/| /' conftest.$ac_ext >&5
4698
 
 
4699
 
        ac_c_werror_flag=$ac_save_c_werror_flag
 
5094
  ac_c_werror_flag=$ac_save_c_werror_flag
4700
5095
         CFLAGS="-g"
4701
 
         cat >conftest.$ac_ext <<_ACEOF
4702
 
/* confdefs.h.  */
4703
 
_ACEOF
4704
 
cat confdefs.h >>conftest.$ac_ext
4705
 
cat >>conftest.$ac_ext <<_ACEOF
 
5096
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4706
5097
/* end confdefs.h.  */
4707
5098
 
4708
5099
int
4713
5104
  return 0;
4714
5105
}
4715
5106
_ACEOF
4716
 
rm -f conftest.$ac_objext
4717
 
if { (ac_try="$ac_compile"
4718
 
case "(($ac_try" in
4719
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4720
 
  *) ac_try_echo=$ac_try;;
4721
 
esac
4722
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4723
 
  (eval "$ac_compile") 2>conftest.er1
4724
 
  ac_status=$?
4725
 
  grep -v '^ *+' conftest.er1 >conftest.err
4726
 
  rm -f conftest.er1
4727
 
  cat conftest.err >&5
4728
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4729
 
  (exit $ac_status); } && {
4730
 
         test -z "$ac_c_werror_flag" ||
4731
 
         test ! -s conftest.err
4732
 
       } && test -s conftest.$ac_objext; then
 
5107
if ac_fn_c_try_compile "$LINENO"; then :
4733
5108
  ac_cv_prog_cc_g=yes
4734
 
else
4735
 
  echo "$as_me: failed program was:" >&5
4736
 
sed 's/^/| /' conftest.$ac_ext >&5
4737
 
 
4738
 
        
4739
 
fi
4740
 
 
4741
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4742
 
fi
4743
 
 
4744
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4745
 
fi
4746
 
 
 
5109
fi
 
5110
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
5111
fi
 
5112
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
5113
fi
4747
5114
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4748
5115
   ac_c_werror_flag=$ac_save_c_werror_flag
4749
5116
fi
4750
 
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
4751
 
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
 
5117
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
 
5118
$as_echo "$ac_cv_prog_cc_g" >&6; }
4752
5119
if test "$ac_test_CFLAGS" = set; then
4753
5120
  CFLAGS=$ac_save_CFLAGS
4754
5121
elif test $ac_cv_prog_cc_g = yes; then
4764
5131
    CFLAGS=
4765
5132
  fi
4766
5133
fi
4767
 
{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
4768
 
echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
4769
 
if test "${ac_cv_prog_cc_c89+set}" = set; then
4770
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
5134
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
 
5135
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
 
5136
if test "${ac_cv_prog_cc_c89+set}" = set; then :
 
5137
  $as_echo_n "(cached) " >&6
4771
5138
else
4772
5139
  ac_cv_prog_cc_c89=no
4773
5140
ac_save_CC=$CC
4774
 
cat >conftest.$ac_ext <<_ACEOF
4775
 
/* confdefs.h.  */
4776
 
_ACEOF
4777
 
cat confdefs.h >>conftest.$ac_ext
4778
 
cat >>conftest.$ac_ext <<_ACEOF
 
5141
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4779
5142
/* end confdefs.h.  */
4780
5143
#include <stdarg.h>
4781
5144
#include <stdio.h>
4832
5195
        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4833
5196
do
4834
5197
  CC="$ac_save_CC $ac_arg"
4835
 
  rm -f conftest.$ac_objext
4836
 
if { (ac_try="$ac_compile"
4837
 
case "(($ac_try" in
4838
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4839
 
  *) ac_try_echo=$ac_try;;
4840
 
esac
4841
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4842
 
  (eval "$ac_compile") 2>conftest.er1
4843
 
  ac_status=$?
4844
 
  grep -v '^ *+' conftest.er1 >conftest.err
4845
 
  rm -f conftest.er1
4846
 
  cat conftest.err >&5
4847
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4848
 
  (exit $ac_status); } && {
4849
 
         test -z "$ac_c_werror_flag" ||
4850
 
         test ! -s conftest.err
4851
 
       } && test -s conftest.$ac_objext; then
 
5198
  if ac_fn_c_try_compile "$LINENO"; then :
4852
5199
  ac_cv_prog_cc_c89=$ac_arg
4853
 
else
4854
 
  echo "$as_me: failed program was:" >&5
4855
 
sed 's/^/| /' conftest.$ac_ext >&5
4856
 
 
4857
 
        
4858
5200
fi
4859
 
 
4860
 
rm -f core conftest.err conftest.$ac_objext 
 
5201
rm -f core conftest.err conftest.$ac_objext
4861
5202
  test "x$ac_cv_prog_cc_c89" != "xno" && break
4862
5203
done
4863
5204
rm -f conftest.$ac_ext
4867
5208
# AC_CACHE_VAL
4868
5209
case "x$ac_cv_prog_cc_c89" in
4869
5210
  x)
4870
 
    { echo "$as_me:$LINENO: result: none needed" >&5
4871
 
echo "${ECHO_T}none needed" >&6; } ;;
 
5211
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
 
5212
$as_echo "none needed" >&6; } ;;
4872
5213
  xno)
4873
 
    { echo "$as_me:$LINENO: result: unsupported" >&5
4874
 
echo "${ECHO_T}unsupported" >&6; } ;;
 
5214
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
 
5215
$as_echo "unsupported" >&6; } ;;
4875
5216
  *)
4876
5217
    CC="$CC $ac_cv_prog_cc_c89"
4877
 
    { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
4878
 
echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
 
5218
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
 
5219
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4879
5220
esac
4880
 
 
 
5221
if test "x$ac_cv_prog_cc_c89" != xno; then :
 
5222
  
 
5223
fi
4881
5224
 
4882
5225
ac_ext=c
4883
5226
ac_cpp='$CPP $CPPFLAGS'
4887
5230
 
4888
5231
depcc="$CC"   am_compiler_list=
4889
5232
 
4890
 
{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
4891
 
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
4892
 
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
4893
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
5233
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
 
5234
$as_echo_n "checking dependency style of $depcc... " >&6; }
 
5235
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
 
5236
  $as_echo_n "(cached) " >&6
4894
5237
else
4895
5238
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4896
5239
  # We make a subdir and do the tests there.  Otherwise we can end up
4915
5258
  if test "$am_compiler_list" = ""; then
4916
5259
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4917
5260
  fi
 
5261
  am__universal=false
 
5262
  case " $depcc " in #(
 
5263
     *\ -arch\ *\ -arch\ *) am__universal=true ;;
 
5264
     esac
 
5265
 
4918
5266
  for depmode in $am_compiler_list; do
4919
5267
    # Setup a source with many dependencies, because some compilers
4920
5268
    # like to wrap large dependency lists on column 80 (with \), and
4932
5280
    done
4933
5281
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4934
5282
 
 
5283
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
 
5284
    # mode.  It turns out that the SunPro C++ compiler does not properly
 
5285
    # handle `-M -o', and we need to detect this.  Also, some Intel
 
5286
    # versions had trouble with output in subdirs
 
5287
    am__obj=sub/conftest.${OBJEXT-o}
 
5288
    am__minus_obj="-o $am__obj"
4935
5289
    case $depmode in
 
5290
    gcc)
 
5291
      # This depmode causes a compiler race in universal mode.
 
5292
      test "$am__universal" = false || continue
 
5293
      ;;
4936
5294
    nosideeffect)
4937
5295
      # after this tag, mechanisms are not by side-effect, so they'll
4938
5296
      # only be used when explicitly requested
4942
5300
        break
4943
5301
      fi
4944
5302
      ;;
 
5303
    msvisualcpp | msvcmsys)
 
5304
      # This compiler won't grok `-c -o', but also, the minuso test has
 
5305
      # not run yet.  These depmodes are late enough in the game, and
 
5306
      # so weak that their functioning should not be impacted.
 
5307
      am__obj=conftest.${OBJEXT-o}
 
5308
      am__minus_obj=
 
5309
      ;;
4945
5310
    none) break ;;
4946
5311
    esac
4947
 
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
4948
 
    # mode.  It turns out that the SunPro C++ compiler does not properly
4949
 
    # handle `-M -o', and we need to detect this.
4950
5312
    if depmode=$depmode \
4951
 
       source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
 
5313
       source=sub/conftest.c object=$am__obj \
4952
5314
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4953
 
       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
 
5315
       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4954
5316
         >/dev/null 2>conftest.err &&
4955
5317
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4956
5318
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4957
 
       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
 
5319
       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4958
5320
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4959
5321
      # icc doesn't choke on unknown options, it will just issue warnings
4960
5322
      # or remarks (even with -Werror).  So we grep stderr for any message
4978
5340
fi
4979
5341
 
4980
5342
fi
4981
 
{ echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
4982
 
echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
 
5343
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
 
5344
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4983
5345
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4984
5346
 
4985
5347
 if 
5010
5372
  do
5011
5373
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5012
5374
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5013
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
5014
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5015
 
if test "${ac_cv_prog_CXX+set}" = set; then
5016
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
5375
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
5376
$as_echo_n "checking for $ac_word... " >&6; }
 
5377
if test "${ac_cv_prog_CXX+set}" = set; then :
 
5378
  $as_echo_n "(cached) " >&6
5017
5379
else
5018
5380
  if test -n "$CXX"; then
5019
5381
  ac_cv_prog_CXX="$CXX" # Let the user override the test.
5023
5385
do
5024
5386
  IFS=$as_save_IFS
5025
5387
  test -z "$as_dir" && as_dir=.
5026
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
5388
    for ac_exec_ext in '' $ac_executable_extensions; do
5027
5389
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5028
5390
    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5029
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5391
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5030
5392
    break 2
5031
5393
  fi
5032
5394
done
5033
 
done
 
5395
  done
5034
5396
IFS=$as_save_IFS
5035
5397
 
5036
5398
fi
5037
5399
fi
5038
5400
CXX=$ac_cv_prog_CXX
5039
5401
if test -n "$CXX"; then
5040
 
  { echo "$as_me:$LINENO: result: $CXX" >&5
5041
 
echo "${ECHO_T}$CXX" >&6; }
 
5402
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
 
5403
$as_echo "$CXX" >&6; }
5042
5404
else
5043
 
  { echo "$as_me:$LINENO: result: no" >&5
5044
 
echo "${ECHO_T}no" >&6; }
 
5405
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
5406
$as_echo "no" >&6; }
5045
5407
fi
5046
5408
 
5047
5409
 
5054
5416
do
5055
5417
  # Extract the first word of "$ac_prog", so it can be a program name with args.
5056
5418
set dummy $ac_prog; ac_word=$2
5057
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
5058
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5059
 
if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
5060
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
5419
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
5420
$as_echo_n "checking for $ac_word... " >&6; }
 
5421
if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
 
5422
  $as_echo_n "(cached) " >&6
5061
5423
else
5062
5424
  if test -n "$ac_ct_CXX"; then
5063
5425
  ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5067
5429
do
5068
5430
  IFS=$as_save_IFS
5069
5431
  test -z "$as_dir" && as_dir=.
5070
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
5432
    for ac_exec_ext in '' $ac_executable_extensions; do
5071
5433
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5072
5434
    ac_cv_prog_ac_ct_CXX="$ac_prog"
5073
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5435
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5074
5436
    break 2
5075
5437
  fi
5076
5438
done
5077
 
done
 
5439
  done
5078
5440
IFS=$as_save_IFS
5079
5441
 
5080
5442
fi
5081
5443
fi
5082
5444
ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5083
5445
if test -n "$ac_ct_CXX"; then
5084
 
  { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
5085
 
echo "${ECHO_T}$ac_ct_CXX" >&6; }
 
5446
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
 
5447
$as_echo "$ac_ct_CXX" >&6; }
5086
5448
else
5087
 
  { echo "$as_me:$LINENO: result: no" >&5
5088
 
echo "${ECHO_T}no" >&6; }
 
5449
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
5450
$as_echo "no" >&6; }
5089
5451
fi
5090
5452
 
5091
5453
 
5097
5459
  else
5098
5460
    case $cross_compiling:$ac_tool_warned in
5099
5461
yes:)
5100
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5101
 
whose name does not start with the host triplet.  If you think this
5102
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
5103
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5104
 
whose name does not start with the host triplet.  If you think this
5105
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
5462
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
5463
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5106
5464
ac_tool_warned=yes ;;
5107
5465
esac
5108
5466
    CXX=$ac_ct_CXX
5112
5470
  fi
5113
5471
fi
5114
5472
# Provide some information about the compiler.
5115
 
echo "$as_me:$LINENO: checking for C++ compiler version" >&5
5116
 
ac_compiler=`set X $ac_compile; echo $2`
5117
 
{ (ac_try="$ac_compiler --version >&5"
5118
 
case "(($ac_try" in
5119
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5120
 
  *) ac_try_echo=$ac_try;;
5121
 
esac
5122
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5123
 
  (eval "$ac_compiler --version >&5") 2>&5
5124
 
  ac_status=$?
5125
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5126
 
  (exit $ac_status); }
5127
 
{ (ac_try="$ac_compiler -v >&5"
5128
 
case "(($ac_try" in
5129
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5130
 
  *) ac_try_echo=$ac_try;;
5131
 
esac
5132
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5133
 
  (eval "$ac_compiler -v >&5") 2>&5
5134
 
  ac_status=$?
5135
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5136
 
  (exit $ac_status); }
5137
 
{ (ac_try="$ac_compiler -V >&5"
5138
 
case "(($ac_try" in
5139
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5140
 
  *) ac_try_echo=$ac_try;;
5141
 
esac
5142
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5143
 
  (eval "$ac_compiler -V >&5") 2>&5
5144
 
  ac_status=$?
5145
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5146
 
  (exit $ac_status); }
 
5473
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
 
5474
set X $ac_compile
 
5475
ac_compiler=$2
 
5476
for ac_option in --version -v -V -qversion; do
 
5477
  { { ac_try="$ac_compiler $ac_option >&5"
 
5478
case "(($ac_try" in
 
5479
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5480
  *) ac_try_echo=$ac_try;;
 
5481
esac
 
5482
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
5483
$as_echo "$ac_try_echo"; } >&5
 
5484
  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
 
5485
  ac_status=$?
 
5486
  if test -s conftest.err; then
 
5487
    sed '10a\
 
5488
... rest of stderr output deleted ...
 
5489
         10q' conftest.err >conftest.er1
 
5490
    cat conftest.er1 >&5
 
5491
  fi
 
5492
  rm -f conftest.er1 conftest.err
 
5493
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
5494
  test $ac_status = 0; }
 
5495
done
5147
5496
 
5148
 
{ echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
5149
 
echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
5150
 
if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
5151
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
5497
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
 
5498
$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
 
5499
if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
 
5500
  $as_echo_n "(cached) " >&6
5152
5501
else
5153
 
  cat >conftest.$ac_ext <<_ACEOF
5154
 
/* confdefs.h.  */
5155
 
_ACEOF
5156
 
cat confdefs.h >>conftest.$ac_ext
5157
 
cat >>conftest.$ac_ext <<_ACEOF
 
5502
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5158
5503
/* end confdefs.h.  */
5159
5504
 
5160
5505
int
5168
5513
  return 0;
5169
5514
}
5170
5515
_ACEOF
5171
 
rm -f conftest.$ac_objext
5172
 
if { (ac_try="$ac_compile"
5173
 
case "(($ac_try" in
5174
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5175
 
  *) ac_try_echo=$ac_try;;
5176
 
esac
5177
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5178
 
  (eval "$ac_compile") 2>conftest.er1
5179
 
  ac_status=$?
5180
 
  grep -v '^ *+' conftest.er1 >conftest.err
5181
 
  rm -f conftest.er1
5182
 
  cat conftest.err >&5
5183
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5184
 
  (exit $ac_status); } && {
5185
 
         test -z "$ac_cxx_werror_flag" ||
5186
 
         test ! -s conftest.err
5187
 
       } && test -s conftest.$ac_objext; then
 
5516
if ac_fn_cxx_try_compile "$LINENO"; then :
5188
5517
  ac_compiler_gnu=yes
5189
5518
else
5190
 
  echo "$as_me: failed program was:" >&5
5191
 
sed 's/^/| /' conftest.$ac_ext >&5
5192
 
 
5193
 
        ac_compiler_gnu=no
 
5519
  ac_compiler_gnu=no
5194
5520
fi
5195
 
 
5196
5521
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5197
5522
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
5198
5523
 
5199
5524
fi
5200
 
{ echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
5201
 
echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
5202
 
GXX=`test $ac_compiler_gnu = yes && echo yes`
 
5525
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
 
5526
$as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
 
5527
if test $ac_compiler_gnu = yes; then
 
5528
  GXX=yes
 
5529
else
 
5530
  GXX=
 
5531
fi
5203
5532
ac_test_CXXFLAGS=${CXXFLAGS+set}
5204
5533
ac_save_CXXFLAGS=$CXXFLAGS
5205
 
{ echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
5206
 
echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
5207
 
if test "${ac_cv_prog_cxx_g+set}" = set; then
5208
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
5534
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
 
5535
$as_echo_n "checking whether $CXX accepts -g... " >&6; }
 
5536
if test "${ac_cv_prog_cxx_g+set}" = set; then :
 
5537
  $as_echo_n "(cached) " >&6
5209
5538
else
5210
5539
  ac_save_cxx_werror_flag=$ac_cxx_werror_flag
5211
5540
   ac_cxx_werror_flag=yes
5212
5541
   ac_cv_prog_cxx_g=no
5213
5542
   CXXFLAGS="-g"
5214
 
   cat >conftest.$ac_ext <<_ACEOF
5215
 
/* confdefs.h.  */
5216
 
_ACEOF
5217
 
cat confdefs.h >>conftest.$ac_ext
5218
 
cat >>conftest.$ac_ext <<_ACEOF
 
5543
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5219
5544
/* end confdefs.h.  */
5220
5545
 
5221
5546
int
5226
5551
  return 0;
5227
5552
}
5228
5553
_ACEOF
5229
 
rm -f conftest.$ac_objext
5230
 
if { (ac_try="$ac_compile"
5231
 
case "(($ac_try" in
5232
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5233
 
  *) ac_try_echo=$ac_try;;
5234
 
esac
5235
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5236
 
  (eval "$ac_compile") 2>conftest.er1
5237
 
  ac_status=$?
5238
 
  grep -v '^ *+' conftest.er1 >conftest.err
5239
 
  rm -f conftest.er1
5240
 
  cat conftest.err >&5
5241
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5242
 
  (exit $ac_status); } && {
5243
 
         test -z "$ac_cxx_werror_flag" ||
5244
 
         test ! -s conftest.err
5245
 
       } && test -s conftest.$ac_objext; then
 
5554
if ac_fn_cxx_try_compile "$LINENO"; then :
5246
5555
  ac_cv_prog_cxx_g=yes
5247
5556
else
5248
 
  echo "$as_me: failed program was:" >&5
5249
 
sed 's/^/| /' conftest.$ac_ext >&5
5250
 
 
5251
 
        CXXFLAGS=""
5252
 
      cat >conftest.$ac_ext <<_ACEOF
5253
 
/* confdefs.h.  */
5254
 
_ACEOF
5255
 
cat confdefs.h >>conftest.$ac_ext
5256
 
cat >>conftest.$ac_ext <<_ACEOF
 
5557
  CXXFLAGS=""
 
5558
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5257
5559
/* end confdefs.h.  */
5258
5560
 
5259
5561
int
5264
5566
  return 0;
5265
5567
}
5266
5568
_ACEOF
5267
 
rm -f conftest.$ac_objext
5268
 
if { (ac_try="$ac_compile"
5269
 
case "(($ac_try" in
5270
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5271
 
  *) ac_try_echo=$ac_try;;
5272
 
esac
5273
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5274
 
  (eval "$ac_compile") 2>conftest.er1
5275
 
  ac_status=$?
5276
 
  grep -v '^ *+' conftest.er1 >conftest.err
5277
 
  rm -f conftest.er1
5278
 
  cat conftest.err >&5
5279
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5280
 
  (exit $ac_status); } && {
5281
 
         test -z "$ac_cxx_werror_flag" ||
5282
 
         test ! -s conftest.err
5283
 
       } && test -s conftest.$ac_objext; then
5284
 
  :
 
5569
if ac_fn_cxx_try_compile "$LINENO"; then :
 
5570
  
5285
5571
else
5286
 
  echo "$as_me: failed program was:" >&5
5287
 
sed 's/^/| /' conftest.$ac_ext >&5
5288
 
 
5289
 
        ac_cxx_werror_flag=$ac_save_cxx_werror_flag
 
5572
  ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5290
5573
         CXXFLAGS="-g"
5291
 
         cat >conftest.$ac_ext <<_ACEOF
5292
 
/* confdefs.h.  */
5293
 
_ACEOF
5294
 
cat confdefs.h >>conftest.$ac_ext
5295
 
cat >>conftest.$ac_ext <<_ACEOF
 
5574
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5296
5575
/* end confdefs.h.  */
5297
5576
 
5298
5577
int
5303
5582
  return 0;
5304
5583
}
5305
5584
_ACEOF
5306
 
rm -f conftest.$ac_objext
5307
 
if { (ac_try="$ac_compile"
5308
 
case "(($ac_try" in
5309
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5310
 
  *) ac_try_echo=$ac_try;;
5311
 
esac
5312
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5313
 
  (eval "$ac_compile") 2>conftest.er1
5314
 
  ac_status=$?
5315
 
  grep -v '^ *+' conftest.er1 >conftest.err
5316
 
  rm -f conftest.er1
5317
 
  cat conftest.err >&5
5318
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5319
 
  (exit $ac_status); } && {
5320
 
         test -z "$ac_cxx_werror_flag" ||
5321
 
         test ! -s conftest.err
5322
 
       } && test -s conftest.$ac_objext; then
 
5585
if ac_fn_cxx_try_compile "$LINENO"; then :
5323
5586
  ac_cv_prog_cxx_g=yes
5324
 
else
5325
 
  echo "$as_me: failed program was:" >&5
5326
 
sed 's/^/| /' conftest.$ac_ext >&5
5327
 
 
5328
 
        
5329
 
fi
5330
 
 
5331
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5332
 
fi
5333
 
 
5334
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5335
 
fi
5336
 
 
 
5587
fi
 
5588
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
5589
fi
 
5590
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
5591
fi
5337
5592
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5338
5593
   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5339
5594
fi
5340
 
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
5341
 
echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
 
5595
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
 
5596
$as_echo "$ac_cv_prog_cxx_g" >&6; }
5342
5597
if test "$ac_test_CXXFLAGS" = set; then
5343
5598
  CXXFLAGS=$ac_save_CXXFLAGS
5344
5599
elif test $ac_cv_prog_cxx_g = yes; then
5362
5617
 
5363
5618
depcc="$CXX"  am_compiler_list=
5364
5619
 
5365
 
{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
5366
 
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
5367
 
if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
5368
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
5620
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
 
5621
$as_echo_n "checking dependency style of $depcc... " >&6; }
 
5622
if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then :
 
5623
  $as_echo_n "(cached) " >&6
5369
5624
else
5370
5625
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5371
5626
  # We make a subdir and do the tests there.  Otherwise we can end up
5390
5645
  if test "$am_compiler_list" = ""; then
5391
5646
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5392
5647
  fi
 
5648
  am__universal=false
 
5649
  case " $depcc " in #(
 
5650
     *\ -arch\ *\ -arch\ *) am__universal=true ;;
 
5651
     esac
 
5652
 
5393
5653
  for depmode in $am_compiler_list; do
5394
5654
    # Setup a source with many dependencies, because some compilers
5395
5655
    # like to wrap large dependency lists on column 80 (with \), and
5407
5667
    done
5408
5668
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5409
5669
 
 
5670
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
 
5671
    # mode.  It turns out that the SunPro C++ compiler does not properly
 
5672
    # handle `-M -o', and we need to detect this.  Also, some Intel
 
5673
    # versions had trouble with output in subdirs
 
5674
    am__obj=sub/conftest.${OBJEXT-o}
 
5675
    am__minus_obj="-o $am__obj"
5410
5676
    case $depmode in
 
5677
    gcc)
 
5678
      # This depmode causes a compiler race in universal mode.
 
5679
      test "$am__universal" = false || continue
 
5680
      ;;
5411
5681
    nosideeffect)
5412
5682
      # after this tag, mechanisms are not by side-effect, so they'll
5413
5683
      # only be used when explicitly requested
5417
5687
        break
5418
5688
      fi
5419
5689
      ;;
 
5690
    msvisualcpp | msvcmsys)
 
5691
      # This compiler won't grok `-c -o', but also, the minuso test has
 
5692
      # not run yet.  These depmodes are late enough in the game, and
 
5693
      # so weak that their functioning should not be impacted.
 
5694
      am__obj=conftest.${OBJEXT-o}
 
5695
      am__minus_obj=
 
5696
      ;;
5420
5697
    none) break ;;
5421
5698
    esac
5422
 
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
5423
 
    # mode.  It turns out that the SunPro C++ compiler does not properly
5424
 
    # handle `-M -o', and we need to detect this.
5425
5699
    if depmode=$depmode \
5426
 
       source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
 
5700
       source=sub/conftest.c object=$am__obj \
5427
5701
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5428
 
       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
 
5702
       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
5429
5703
         >/dev/null 2>conftest.err &&
5430
5704
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
5431
5705
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5432
 
       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
 
5706
       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
5433
5707
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5434
5708
      # icc doesn't choke on unknown options, it will just issue warnings
5435
5709
      # or remarks (even with -Werror).  So we grep stderr for any message
5453
5727
fi
5454
5728
 
5455
5729
fi
5456
 
{ echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
5457
 
echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6; }
 
5730
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
 
5731
$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
5458
5732
CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
5459
5733
 
5460
5734
 if 
5473
5747
# one copy of the same sources twice with different flags.  (See lib/guestApp
5474
5748
# for an example.)
5475
5749
if test "x$CC" != xcc; then
5476
 
  { echo "$as_me:$LINENO: checking whether $CC and cc understand -c and -o together" >&5
5477
 
echo $ECHO_N "checking whether $CC and cc understand -c and -o together... $ECHO_C" >&6; }
 
5750
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
 
5751
$as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
5478
5752
else
5479
 
  { echo "$as_me:$LINENO: checking whether cc understands -c and -o together" >&5
5480
 
echo $ECHO_N "checking whether cc understands -c and -o together... $ECHO_C" >&6; }
 
5753
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
 
5754
$as_echo_n "checking whether cc understands -c and -o together... " >&6; }
5481
5755
fi
5482
 
set dummy $CC; ac_cc=`echo $2 |
 
5756
set dummy $CC; ac_cc=`$as_echo "$2" |
5483
5757
                      sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
5484
 
if { as_var=ac_cv_prog_cc_${ac_cc}_c_o; eval "test \"\${$as_var+set}\" = set"; }; then
5485
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
5758
if { as_var=ac_cv_prog_cc_${ac_cc}_c_o; eval "test \"\${$as_var+set}\" = set"; }; then :
 
5759
  $as_echo_n "(cached) " >&6
5486
5760
else
5487
 
  cat >conftest.$ac_ext <<_ACEOF
5488
 
/* confdefs.h.  */
5489
 
_ACEOF
5490
 
cat confdefs.h >>conftest.$ac_ext
5491
 
cat >>conftest.$ac_ext <<_ACEOF
 
5761
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5492
5762
/* end confdefs.h.  */
5493
5763
 
5494
5764
int
5504
5774
# existing .o file with -o, though they will create one.
5505
5775
ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
5506
5776
rm -f conftest2.*
5507
 
if { (case "(($ac_try" in
5508
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5509
 
  *) ac_try_echo=$ac_try;;
5510
 
esac
5511
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5512
 
  (eval "$ac_try") 2>&5
5513
 
  ac_status=$?
5514
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5515
 
  (exit $ac_status); } &&
5516
 
   test -f conftest2.$ac_objext && { (case "(($ac_try" in
5517
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5518
 
  *) ac_try_echo=$ac_try;;
5519
 
esac
5520
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5521
 
  (eval "$ac_try") 2>&5
5522
 
  ac_status=$?
5523
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5524
 
  (exit $ac_status); };
 
5777
if { { case "(($ac_try" in
 
5778
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5779
  *) ac_try_echo=$ac_try;;
 
5780
esac
 
5781
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
5782
$as_echo "$ac_try_echo"; } >&5
 
5783
  (eval "$ac_try") 2>&5
 
5784
  ac_status=$?
 
5785
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
5786
  test $ac_status = 0; } &&
 
5787
   test -f conftest2.$ac_objext && { { case "(($ac_try" in
 
5788
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5789
  *) ac_try_echo=$ac_try;;
 
5790
esac
 
5791
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
5792
$as_echo "$ac_try_echo"; } >&5
 
5793
  (eval "$ac_try") 2>&5
 
5794
  ac_status=$?
 
5795
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
5796
  test $ac_status = 0; };
5525
5797
then
5526
5798
  eval ac_cv_prog_cc_${ac_cc}_c_o=yes
5527
5799
  if test "x$CC" != xcc; then
5528
5800
    # Test first that cc exists at all.
5529
5801
    if { ac_try='cc -c conftest.$ac_ext >&5'
5530
 
  { (case "(($ac_try" in
 
5802
  { { case "(($ac_try" in
5531
5803
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5532
5804
  *) ac_try_echo=$ac_try;;
5533
5805
esac
5534
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5806
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
5807
$as_echo "$ac_try_echo"; } >&5
5535
5808
  (eval "$ac_try") 2>&5
5536
5809
  ac_status=$?
5537
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5538
 
  (exit $ac_status); }; }; then
 
5810
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
5811
  test $ac_status = 0; }; }; then
5539
5812
      ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
5540
5813
      rm -f conftest2.*
5541
 
      if { (case "(($ac_try" in
5542
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5543
 
  *) ac_try_echo=$ac_try;;
5544
 
esac
5545
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5546
 
  (eval "$ac_try") 2>&5
5547
 
  ac_status=$?
5548
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5549
 
  (exit $ac_status); } &&
5550
 
         test -f conftest2.$ac_objext && { (case "(($ac_try" in
5551
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5552
 
  *) ac_try_echo=$ac_try;;
5553
 
esac
5554
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5555
 
  (eval "$ac_try") 2>&5
5556
 
  ac_status=$?
5557
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5558
 
  (exit $ac_status); };
 
5814
      if { { case "(($ac_try" in
 
5815
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5816
  *) ac_try_echo=$ac_try;;
 
5817
esac
 
5818
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
5819
$as_echo "$ac_try_echo"; } >&5
 
5820
  (eval "$ac_try") 2>&5
 
5821
  ac_status=$?
 
5822
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
5823
  test $ac_status = 0; } &&
 
5824
         test -f conftest2.$ac_objext && { { case "(($ac_try" in
 
5825
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5826
  *) ac_try_echo=$ac_try;;
 
5827
esac
 
5828
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
5829
$as_echo "$ac_try_echo"; } >&5
 
5830
  (eval "$ac_try") 2>&5
 
5831
  ac_status=$?
 
5832
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
5833
  test $ac_status = 0; };
5559
5834
      then
5560
5835
        # cc works too.
5561
5836
        :
5572
5847
 
5573
5848
fi
5574
5849
if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
5575
 
  { echo "$as_me:$LINENO: result: yes" >&5
5576
 
echo "${ECHO_T}yes" >&6; }
 
5850
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
5851
$as_echo "yes" >&6; }
5577
5852
else
5578
 
  { echo "$as_me:$LINENO: result: no" >&5
5579
 
echo "${ECHO_T}no" >&6; }
 
5853
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
5854
$as_echo "no" >&6; }
5580
5855
  
5581
 
cat >>confdefs.h <<\_ACEOF
5582
 
@%:@define NO_MINUS_C_MINUS_O 1
5583
 
_ACEOF
 
5856
$as_echo "@%:@define NO_MINUS_C_MINUS_O 1" >>confdefs.h
5584
5857
 
5585
5858
fi
5586
5859
 
5587
5860
# FIXME: we rely on the cache variable name because
5588
5861
# there is no other way.
5589
5862
set dummy $CC
5590
 
ac_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
5591
 
if eval "test \"`echo '$ac_cv_prog_cc_'${ac_cc}_c_o`\" != yes"; then
 
5863
am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
 
5864
eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
 
5865
if test "$am_t" != yes; then
5592
5866
   # Losing compiler, so override with the script.
5593
5867
   # FIXME: It is wrong to rewrite CC.
5594
5868
   # But if we don't then we get into trouble of one sort or another.
5600
5874
 
5601
5875
 
5602
5876
# Needed for the various install and uninstall hooks.
5603
 
# Find a good install program.  We prefer a C program (faster),
5604
 
# so one script is as good as another.  But avoid the broken or
5605
 
# incompatible versions:
5606
 
# SysV /etc/install, /usr/sbin/install
5607
 
# SunOS /usr/etc/install
5608
 
# IRIX /sbin/install
5609
 
# AIX /bin/install
5610
 
# AmigaOS /C/install, which installs bootblocks on floppy discs
5611
 
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
5612
 
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
5613
 
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
5614
 
# OS/2's system install, which has a completely different semantic
5615
 
# ./install, which can be erroneously created by make from ./install.sh.
5616
 
{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
5617
 
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
5618
 
if test -z "$INSTALL"; then
5619
 
if test "${ac_cv_path_install+set}" = set; then
5620
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5621
 
else
5622
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5623
 
for as_dir in $PATH
5624
 
do
5625
 
  IFS=$as_save_IFS
5626
 
  test -z "$as_dir" && as_dir=.
5627
 
  # Account for people who put trailing slashes in PATH elements.
5628
 
case $as_dir/ in
5629
 
  ./ | .// | /cC/* | \
5630
 
  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
5631
 
  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
5632
 
  /usr/ucb/* ) ;;
5633
 
  *)
5634
 
    # OSF1 and SCO ODT 3.0 have their own names for install.
5635
 
    # Don't use installbsd from OSF since it installs stuff as root
5636
 
    # by default.
5637
 
    for ac_prog in ginstall scoinst install; do
5638
 
      for ac_exec_ext in '' $ac_executable_extensions; do
5639
 
        if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
5640
 
          if test $ac_prog = install &&
5641
 
            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
5642
 
            # AIX install.  It has an incompatible calling convention.
5643
 
            :
5644
 
          elif test $ac_prog = install &&
5645
 
            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
5646
 
            # program-specific install script used by HP pwplus--don't use.
5647
 
            :
5648
 
          else
5649
 
            ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
5650
 
            break 3
5651
 
          fi
5652
 
        fi
5653
 
      done
5654
 
    done
5655
 
    ;;
5656
 
esac
5657
 
done
5658
 
IFS=$as_save_IFS
5659
 
 
5660
 
 
5661
 
fi
5662
 
  if test "${ac_cv_path_install+set}" = set; then
5663
 
    INSTALL=$ac_cv_path_install
5664
 
  else
5665
 
    # As a last resort, use the slow shell script.  Don't cache a
5666
 
    # value for INSTALL within a source directory, because that will
5667
 
    # break other packages using the cache if that directory is
5668
 
    # removed, or if the value is a relative name.
5669
 
    INSTALL=$ac_install_sh
5670
 
  fi
5671
 
fi
5672
 
{ echo "$as_me:$LINENO: result: $INSTALL" >&5
5673
 
echo "${ECHO_T}$INSTALL" >&6; }
5674
 
 
5675
 
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
5676
 
# It thinks the first close brace ends the variable substitution.
5677
 
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
5678
 
 
5679
 
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
5680
 
 
5681
 
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
5682
 
 
5683
 
{ echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
5684
 
echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6; }
5685
 
if test "${ac_cv_path_SED+set}" = set; then
5686
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
5877
 
 
5878
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
 
5879
$as_echo_n "checking for a sed that does not truncate output... " >&6; }
 
5880
if test "${ac_cv_path_SED+set}" = set; then :
 
5881
  $as_echo_n "(cached) " >&6
5687
5882
else
5688
5883
            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5689
5884
     for ac_i in 1 2 3 4 5 6 7; do
5690
5885
       ac_script="$ac_script$as_nl$ac_script"
5691
5886
     done
5692
 
     echo "$ac_script" | sed 99q >conftest.sed
5693
 
     $as_unset ac_script || ac_script=
5694
 
     # Extract the first word of "sed gsed" to use in msg output
5695
 
if test -z "$SED"; then
5696
 
set dummy sed gsed; ac_prog_name=$2
5697
 
if test "${ac_cv_path_SED+set}" = set; then
5698
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5699
 
else
 
5887
     echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
 
5888
     { ac_script=; unset ac_script;}
 
5889
     if test -z "$SED"; then
5700
5890
  ac_path_SED_found=false
5701
 
# Loop through the user's path and test for each of PROGNAME-LIST
5702
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5891
  # Loop through the user's path and test for each of PROGNAME-LIST
 
5892
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5703
5893
for as_dir in $PATH
5704
5894
do
5705
5895
  IFS=$as_save_IFS
5706
5896
  test -z "$as_dir" && as_dir=.
5707
 
  for ac_prog in sed gsed; do
5708
 
  for ac_exec_ext in '' $ac_executable_extensions; do
5709
 
    ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5710
 
    { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
5711
 
    # Check for GNU ac_path_SED and select it if it is found.
 
5897
    for ac_prog in sed gsed; do
 
5898
    for ac_exec_ext in '' $ac_executable_extensions; do
 
5899
      ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
 
5900
      { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
 
5901
# Check for GNU ac_path_SED and select it if it is found.
5712
5902
  # Check for GNU $ac_path_SED
5713
5903
case `"$ac_path_SED" --version 2>&1` in
5714
5904
*GNU*)
5715
5905
  ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5716
5906
*)
5717
5907
  ac_count=0
5718
 
  echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
 
5908
  $as_echo_n 0123456789 >"conftest.in"
5719
5909
  while :
5720
5910
  do
5721
5911
    cat "conftest.in" "conftest.in" >"conftest.tmp"
5722
5912
    mv "conftest.tmp" "conftest.in"
5723
5913
    cp "conftest.in" "conftest.nl"
5724
 
    echo '' >> "conftest.nl"
 
5914
    $as_echo '' >> "conftest.nl"
5725
5915
    "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5726
5916
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5727
 
    ac_count=`expr $ac_count + 1`
 
5917
    as_fn_arith $ac_count + 1 && ac_count=$as_val
5728
5918
    if test $ac_count -gt ${ac_path_SED_max-0}; then
5729
5919
      # Best one so far, save it but keep looking for a better one
5730
5920
      ac_cv_path_SED="$ac_path_SED"
5736
5926
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5737
5927
esac
5738
5928
 
5739
 
 
5740
 
    $ac_path_SED_found && break 3
5741
 
  done
5742
 
done
5743
 
 
5744
 
done
 
5929
      $ac_path_SED_found && break 3
 
5930
    done
 
5931
  done
 
5932
  done
5745
5933
IFS=$as_save_IFS
5746
 
 
5747
 
 
5748
 
fi
5749
 
 
5750
 
SED="$ac_cv_path_SED"
5751
 
if test -z "$SED"; then
5752
 
  { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in \$PATH" >&5
5753
 
echo "$as_me: error: no acceptable $ac_prog_name could be found in \$PATH" >&2;}
5754
 
   { (exit 1); exit 1; }; }
5755
 
fi
5756
 
 
 
5934
  if test -z "$ac_cv_path_SED"; then
 
5935
    as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
 
5936
  fi
5757
5937
else
5758
5938
  ac_cv_path_SED=$SED
5759
5939
fi
5760
5940
 
5761
5941
fi
5762
 
{ echo "$as_me:$LINENO: result: $ac_cv_path_SED" >&5
5763
 
echo "${ECHO_T}$ac_cv_path_SED" >&6; }
 
5942
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
 
5943
$as_echo "$ac_cv_path_SED" >&6; }
5764
5944
 SED="$ac_cv_path_SED"
5765
5945
  rm -f conftest.sed
5766
5946
 
5767
 
{ echo "$as_me:$LINENO: checking whether ln -s works" >&5
5768
 
echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
 
5947
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
 
5948
$as_echo_n "checking whether ln -s works... " >&6; }
5769
5949
LN_S=$as_ln_s
5770
5950
if test "$LN_S" = "ln -s"; then
5771
 
  { echo "$as_me:$LINENO: result: yes" >&5
5772
 
echo "${ECHO_T}yes" >&6; }
5773
 
else
5774
 
  { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
5775
 
echo "${ECHO_T}no, using $LN_S" >&6; }
5776
 
fi
5777
 
 
5778
 
{ echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
5779
 
echo $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; }
5780
 
if test -z "$MKDIR_P"; then
5781
 
  if test "${ac_cv_path_mkdir+set}" = set; then
5782
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5783
 
else
5784
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5785
 
for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
5786
 
do
5787
 
  IFS=$as_save_IFS
5788
 
  test -z "$as_dir" && as_dir=.
5789
 
  for ac_prog in mkdir gmkdir; do
5790
 
         for ac_exec_ext in '' $ac_executable_extensions; do
5791
 
           { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
5792
 
           case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
5793
 
             'mkdir (GNU coreutils) '* | \
5794
 
             'mkdir (coreutils) '* | \
5795
 
             'mkdir (fileutils) '4.1*)
5796
 
               ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
5797
 
               break 3;;
5798
 
           esac
5799
 
         done
5800
 
       done
5801
 
done
5802
 
IFS=$as_save_IFS
5803
 
 
5804
 
fi
5805
 
 
5806
 
  if test "${ac_cv_path_mkdir+set}" = set; then
5807
 
    MKDIR_P="$ac_cv_path_mkdir -p"
5808
 
  else
5809
 
    # As a last resort, use the slow shell script.  Don't cache a
5810
 
    # value for MKDIR_P within a source directory, because that will
5811
 
    # break other packages using the cache if that directory is
5812
 
    # removed, or if the value is a relative name.
5813
 
    test -d ./--version && rmdir ./--version
5814
 
    MKDIR_P="$ac_install_sh -d"
5815
 
  fi
5816
 
fi
5817
 
{ echo "$as_me:$LINENO: result: $MKDIR_P" >&5
5818
 
echo "${ECHO_T}$MKDIR_P" >&6; }
 
5951
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
5952
$as_echo "yes" >&6; }
 
5953
else
 
5954
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
 
5955
$as_echo "no, using $LN_S" >&6; }
 
5956
fi
 
5957
 
5819
5958
 
5820
5959
 
5821
5960
# Needed for creating the archives in lib/ and the shared libraries.
5822
5961
case `pwd` in
5823
5962
  *\ * | *\     *)
5824
 
    { echo "$as_me:$LINENO: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5825
 
echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
 
5963
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
 
5964
$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5826
5965
esac
5827
5966
 
5828
5967
 
5829
5968
 
5830
 
macro_version='2.2.4'
5831
 
macro_revision='1.2976'
 
5969
macro_version='2.2.6b'
 
5970
macro_revision='1.3017'
5832
5971
 
5833
5972
    
5834
5973
    
5844
5983
 
5845
5984
ltmain="$ac_aux_dir/ltmain.sh"
5846
5985
 
5847
 
{ echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
5848
 
echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6; }
5849
 
if test "${ac_cv_path_SED+set}" = set; then
5850
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
5986
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
 
5987
$as_echo_n "checking for a sed that does not truncate output... " >&6; }
 
5988
if test "${ac_cv_path_SED+set}" = set; then :
 
5989
  $as_echo_n "(cached) " >&6
5851
5990
else
5852
5991
            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5853
5992
     for ac_i in 1 2 3 4 5 6 7; do
5854
5993
       ac_script="$ac_script$as_nl$ac_script"
5855
5994
     done
5856
 
     echo "$ac_script" | sed 99q >conftest.sed
5857
 
     $as_unset ac_script || ac_script=
5858
 
     # Extract the first word of "sed gsed" to use in msg output
5859
 
if test -z "$SED"; then
5860
 
set dummy sed gsed; ac_prog_name=$2
5861
 
if test "${ac_cv_path_SED+set}" = set; then
5862
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5863
 
else
 
5995
     echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
 
5996
     { ac_script=; unset ac_script;}
 
5997
     if test -z "$SED"; then
5864
5998
  ac_path_SED_found=false
5865
 
# Loop through the user's path and test for each of PROGNAME-LIST
5866
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5999
  # Loop through the user's path and test for each of PROGNAME-LIST
 
6000
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5867
6001
for as_dir in $PATH
5868
6002
do
5869
6003
  IFS=$as_save_IFS
5870
6004
  test -z "$as_dir" && as_dir=.
5871
 
  for ac_prog in sed gsed; do
5872
 
  for ac_exec_ext in '' $ac_executable_extensions; do
5873
 
    ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5874
 
    { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
5875
 
    # Check for GNU ac_path_SED and select it if it is found.
 
6005
    for ac_prog in sed gsed; do
 
6006
    for ac_exec_ext in '' $ac_executable_extensions; do
 
6007
      ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
 
6008
      { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
 
6009
# Check for GNU ac_path_SED and select it if it is found.
5876
6010
  # Check for GNU $ac_path_SED
5877
6011
case `"$ac_path_SED" --version 2>&1` in
5878
6012
*GNU*)
5879
6013
  ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5880
6014
*)
5881
6015
  ac_count=0
5882
 
  echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
 
6016
  $as_echo_n 0123456789 >"conftest.in"
5883
6017
  while :
5884
6018
  do
5885
6019
    cat "conftest.in" "conftest.in" >"conftest.tmp"
5886
6020
    mv "conftest.tmp" "conftest.in"
5887
6021
    cp "conftest.in" "conftest.nl"
5888
 
    echo '' >> "conftest.nl"
 
6022
    $as_echo '' >> "conftest.nl"
5889
6023
    "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5890
6024
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5891
 
    ac_count=`expr $ac_count + 1`
 
6025
    as_fn_arith $ac_count + 1 && ac_count=$as_val
5892
6026
    if test $ac_count -gt ${ac_path_SED_max-0}; then
5893
6027
      # Best one so far, save it but keep looking for a better one
5894
6028
      ac_cv_path_SED="$ac_path_SED"
5900
6034
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5901
6035
esac
5902
6036
 
5903
 
 
5904
 
    $ac_path_SED_found && break 3
5905
 
  done
5906
 
done
5907
 
 
5908
 
done
 
6037
      $ac_path_SED_found && break 3
 
6038
    done
 
6039
  done
 
6040
  done
5909
6041
IFS=$as_save_IFS
5910
 
 
5911
 
 
5912
 
fi
5913
 
 
5914
 
SED="$ac_cv_path_SED"
5915
 
if test -z "$SED"; then
5916
 
  { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in \$PATH" >&5
5917
 
echo "$as_me: error: no acceptable $ac_prog_name could be found in \$PATH" >&2;}
5918
 
   { (exit 1); exit 1; }; }
5919
 
fi
5920
 
 
 
6042
  if test -z "$ac_cv_path_SED"; then
 
6043
    as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
 
6044
  fi
5921
6045
else
5922
6046
  ac_cv_path_SED=$SED
5923
6047
fi
5924
6048
 
5925
6049
fi
5926
 
{ echo "$as_me:$LINENO: result: $ac_cv_path_SED" >&5
5927
 
echo "${ECHO_T}$ac_cv_path_SED" >&6; }
 
6050
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
 
6051
$as_echo "$ac_cv_path_SED" >&6; }
5928
6052
 SED="$ac_cv_path_SED"
5929
6053
  rm -f conftest.sed
5930
6054
 
5941
6065
    
5942
6066
 
5943
6067
 
5944
 
{ echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
5945
 
echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
5946
 
if test "${ac_cv_path_GREP+set}" = set; then
5947
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5948
 
else
5949
 
  # Extract the first word of "grep ggrep" to use in msg output
5950
 
if test -z "$GREP"; then
5951
 
set dummy grep ggrep; ac_prog_name=$2
5952
 
if test "${ac_cv_path_GREP+set}" = set; then
5953
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5954
 
else
 
6068
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
 
6069
$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
 
6070
if test "${ac_cv_path_GREP+set}" = set; then :
 
6071
  $as_echo_n "(cached) " >&6
 
6072
else
 
6073
  if test -z "$GREP"; then
5955
6074
  ac_path_GREP_found=false
5956
 
# Loop through the user's path and test for each of PROGNAME-LIST
5957
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6075
  # Loop through the user's path and test for each of PROGNAME-LIST
 
6076
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5958
6077
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5959
6078
do
5960
6079
  IFS=$as_save_IFS
5961
6080
  test -z "$as_dir" && as_dir=.
5962
 
  for ac_prog in grep ggrep; do
5963
 
  for ac_exec_ext in '' $ac_executable_extensions; do
5964
 
    ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5965
 
    { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
5966
 
    # Check for GNU ac_path_GREP and select it if it is found.
 
6081
    for ac_prog in grep ggrep; do
 
6082
    for ac_exec_ext in '' $ac_executable_extensions; do
 
6083
      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
 
6084
      { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
 
6085
# Check for GNU ac_path_GREP and select it if it is found.
5967
6086
  # Check for GNU $ac_path_GREP
5968
6087
case `"$ac_path_GREP" --version 2>&1` in
5969
6088
*GNU*)
5970
6089
  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5971
6090
*)
5972
6091
  ac_count=0
5973
 
  echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
 
6092
  $as_echo_n 0123456789 >"conftest.in"
5974
6093
  while :
5975
6094
  do
5976
6095
    cat "conftest.in" "conftest.in" >"conftest.tmp"
5977
6096
    mv "conftest.tmp" "conftest.in"
5978
6097
    cp "conftest.in" "conftest.nl"
5979
 
    echo 'GREP' >> "conftest.nl"
 
6098
    $as_echo 'GREP' >> "conftest.nl"
5980
6099
    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5981
6100
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5982
 
    ac_count=`expr $ac_count + 1`
 
6101
    as_fn_arith $ac_count + 1 && ac_count=$as_val
5983
6102
    if test $ac_count -gt ${ac_path_GREP_max-0}; then
5984
6103
      # Best one so far, save it but keep looking for a better one
5985
6104
      ac_cv_path_GREP="$ac_path_GREP"
5991
6110
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5992
6111
esac
5993
6112
 
5994
 
 
5995
 
    $ac_path_GREP_found && break 3
5996
 
  done
5997
 
done
5998
 
 
5999
 
done
 
6113
      $ac_path_GREP_found && break 3
 
6114
    done
 
6115
  done
 
6116
  done
6000
6117
IFS=$as_save_IFS
6001
 
 
6002
 
 
6003
 
fi
6004
 
 
6005
 
GREP="$ac_cv_path_GREP"
6006
 
if test -z "$GREP"; then
6007
 
  { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
6008
 
echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
6009
 
   { (exit 1); exit 1; }; }
6010
 
fi
6011
 
 
 
6118
  if test -z "$ac_cv_path_GREP"; then
 
6119
    as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
 
6120
  fi
6012
6121
else
6013
6122
  ac_cv_path_GREP=$GREP
6014
6123
fi
6015
6124
 
6016
 
 
6017
6125
fi
6018
 
{ echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
6019
 
echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
 
6126
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
 
6127
$as_echo "$ac_cv_path_GREP" >&6; }
6020
6128
 GREP="$ac_cv_path_GREP"
6021
6129
 
6022
6130
 
6023
 
{ echo "$as_me:$LINENO: checking for egrep" >&5
6024
 
echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
6025
 
if test "${ac_cv_path_EGREP+set}" = set; then
6026
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
6131
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
 
6132
$as_echo_n "checking for egrep... " >&6; }
 
6133
if test "${ac_cv_path_EGREP+set}" = set; then :
 
6134
  $as_echo_n "(cached) " >&6
6027
6135
else
6028
6136
  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
6029
6137
   then ac_cv_path_EGREP="$GREP -E"
6030
6138
   else
6031
 
     # Extract the first word of "egrep" to use in msg output
6032
 
if test -z "$EGREP"; then
6033
 
set dummy egrep; ac_prog_name=$2
6034
 
if test "${ac_cv_path_EGREP+set}" = set; then
6035
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6036
 
else
 
6139
     if test -z "$EGREP"; then
6037
6140
  ac_path_EGREP_found=false
6038
 
# Loop through the user's path and test for each of PROGNAME-LIST
6039
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6141
  # Loop through the user's path and test for each of PROGNAME-LIST
 
6142
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6040
6143
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6041
6144
do
6042
6145
  IFS=$as_save_IFS
6043
6146
  test -z "$as_dir" && as_dir=.
6044
 
  for ac_prog in egrep; do
6045
 
  for ac_exec_ext in '' $ac_executable_extensions; do
6046
 
    ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
6047
 
    { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
6048
 
    # Check for GNU ac_path_EGREP and select it if it is found.
 
6147
    for ac_prog in egrep; do
 
6148
    for ac_exec_ext in '' $ac_executable_extensions; do
 
6149
      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
 
6150
      { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
 
6151
# Check for GNU ac_path_EGREP and select it if it is found.
6049
6152
  # Check for GNU $ac_path_EGREP
6050
6153
case `"$ac_path_EGREP" --version 2>&1` in
6051
6154
*GNU*)
6052
6155
  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
6053
6156
*)
6054
6157
  ac_count=0
6055
 
  echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
 
6158
  $as_echo_n 0123456789 >"conftest.in"
6056
6159
  while :
6057
6160
  do
6058
6161
    cat "conftest.in" "conftest.in" >"conftest.tmp"
6059
6162
    mv "conftest.tmp" "conftest.in"
6060
6163
    cp "conftest.in" "conftest.nl"
6061
 
    echo 'EGREP' >> "conftest.nl"
 
6164
    $as_echo 'EGREP' >> "conftest.nl"
6062
6165
    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6063
6166
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6064
 
    ac_count=`expr $ac_count + 1`
 
6167
    as_fn_arith $ac_count + 1 && ac_count=$as_val
6065
6168
    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
6066
6169
      # Best one so far, save it but keep looking for a better one
6067
6170
      ac_cv_path_EGREP="$ac_path_EGREP"
6073
6176
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6074
6177
esac
6075
6178
 
6076
 
 
6077
 
    $ac_path_EGREP_found && break 3
6078
 
  done
6079
 
done
6080
 
 
6081
 
done
 
6179
      $ac_path_EGREP_found && break 3
 
6180
    done
 
6181
  done
 
6182
  done
6082
6183
IFS=$as_save_IFS
6083
 
 
6084
 
 
6085
 
fi
6086
 
 
6087
 
EGREP="$ac_cv_path_EGREP"
6088
 
if test -z "$EGREP"; then
6089
 
  { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
6090
 
echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
6091
 
   { (exit 1); exit 1; }; }
6092
 
fi
6093
 
 
 
6184
  if test -z "$ac_cv_path_EGREP"; then
 
6185
    as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
 
6186
  fi
6094
6187
else
6095
6188
  ac_cv_path_EGREP=$EGREP
6096
6189
fi
6097
6190
 
6098
 
 
6099
6191
   fi
6100
6192
fi
6101
 
{ echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
6102
 
echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
 
6193
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
 
6194
$as_echo "$ac_cv_path_EGREP" >&6; }
6103
6195
 EGREP="$ac_cv_path_EGREP"
6104
6196
 
6105
6197
 
6106
 
{ echo "$as_me:$LINENO: checking for fgrep" >&5
6107
 
echo $ECHO_N "checking for fgrep... $ECHO_C" >&6; }
6108
 
if test "${ac_cv_path_FGREP+set}" = set; then
6109
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
6198
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
 
6199
$as_echo_n "checking for fgrep... " >&6; }
 
6200
if test "${ac_cv_path_FGREP+set}" = set; then :
 
6201
  $as_echo_n "(cached) " >&6
6110
6202
else
6111
6203
  if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
6112
6204
   then ac_cv_path_FGREP="$GREP -F"
6113
6205
   else
6114
 
     # Extract the first word of "fgrep" to use in msg output
6115
 
if test -z "$FGREP"; then
6116
 
set dummy fgrep; ac_prog_name=$2
6117
 
if test "${ac_cv_path_FGREP+set}" = set; then
6118
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6119
 
else
 
6206
     if test -z "$FGREP"; then
6120
6207
  ac_path_FGREP_found=false
6121
 
# Loop through the user's path and test for each of PROGNAME-LIST
6122
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6208
  # Loop through the user's path and test for each of PROGNAME-LIST
 
6209
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6123
6210
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6124
6211
do
6125
6212
  IFS=$as_save_IFS
6126
6213
  test -z "$as_dir" && as_dir=.
6127
 
  for ac_prog in fgrep; do
6128
 
  for ac_exec_ext in '' $ac_executable_extensions; do
6129
 
    ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
6130
 
    { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
6131
 
    # Check for GNU ac_path_FGREP and select it if it is found.
 
6214
    for ac_prog in fgrep; do
 
6215
    for ac_exec_ext in '' $ac_executable_extensions; do
 
6216
      ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
 
6217
      { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
 
6218
# Check for GNU ac_path_FGREP and select it if it is found.
6132
6219
  # Check for GNU $ac_path_FGREP
6133
6220
case `"$ac_path_FGREP" --version 2>&1` in
6134
6221
*GNU*)
6135
6222
  ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
6136
6223
*)
6137
6224
  ac_count=0
6138
 
  echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
 
6225
  $as_echo_n 0123456789 >"conftest.in"
6139
6226
  while :
6140
6227
  do
6141
6228
    cat "conftest.in" "conftest.in" >"conftest.tmp"
6142
6229
    mv "conftest.tmp" "conftest.in"
6143
6230
    cp "conftest.in" "conftest.nl"
6144
 
    echo 'FGREP' >> "conftest.nl"
 
6231
    $as_echo 'FGREP' >> "conftest.nl"
6145
6232
    "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
6146
6233
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6147
 
    ac_count=`expr $ac_count + 1`
 
6234
    as_fn_arith $ac_count + 1 && ac_count=$as_val
6148
6235
    if test $ac_count -gt ${ac_path_FGREP_max-0}; then
6149
6236
      # Best one so far, save it but keep looking for a better one
6150
6237
      ac_cv_path_FGREP="$ac_path_FGREP"
6156
6243
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6157
6244
esac
6158
6245
 
6159
 
 
6160
 
    $ac_path_FGREP_found && break 3
6161
 
  done
6162
 
done
6163
 
 
6164
 
done
 
6246
      $ac_path_FGREP_found && break 3
 
6247
    done
 
6248
  done
 
6249
  done
6165
6250
IFS=$as_save_IFS
6166
 
 
6167
 
 
6168
 
fi
6169
 
 
6170
 
FGREP="$ac_cv_path_FGREP"
6171
 
if test -z "$FGREP"; then
6172
 
  { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
6173
 
echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
6174
 
   { (exit 1); exit 1; }; }
6175
 
fi
6176
 
 
 
6251
  if test -z "$ac_cv_path_FGREP"; then
 
6252
    as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
 
6253
  fi
6177
6254
else
6178
6255
  ac_cv_path_FGREP=$FGREP
6179
6256
fi
6180
6257
 
6181
 
 
6182
6258
   fi
6183
6259
fi
6184
 
{ echo "$as_me:$LINENO: result: $ac_cv_path_FGREP" >&5
6185
 
echo "${ECHO_T}$ac_cv_path_FGREP" >&6; }
 
6260
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
 
6261
$as_echo "$ac_cv_path_FGREP" >&6; }
6186
6262
 FGREP="$ac_cv_path_FGREP"
6187
6263
 
6188
6264
 
6206
6282
 
6207
6283
 
6208
6284
 
6209
 
# Check whether --with-gnu-ld was given.
6210
 
if test "${with_gnu_ld+set}" = set; then
 
6285
@%:@ Check whether --with-gnu-ld was given.
 
6286
if test "${with_gnu_ld+set}" = set; then :
6211
6287
  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
6212
6288
else
6213
6289
  with_gnu_ld=no
6216
6292
ac_prog=ld
6217
6293
if test "$GCC" = yes; then
6218
6294
  # Check if gcc -print-prog-name=ld gives a path.
6219
 
  { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
6220
 
echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
 
6295
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
 
6296
$as_echo_n "checking for ld used by $CC... " >&6; }
6221
6297
  case $host in
6222
6298
  *-*-mingw*)
6223
6299
    # gcc leaves a trailing carriage return which upsets mingw
6246
6322
    ;;
6247
6323
  esac
6248
6324
elif test "$with_gnu_ld" = yes; then
6249
 
  { echo "$as_me:$LINENO: checking for GNU ld" >&5
6250
 
echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
 
6325
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
 
6326
$as_echo_n "checking for GNU ld... " >&6; }
6251
6327
else
6252
 
  { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
6253
 
echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
 
6328
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
 
6329
$as_echo_n "checking for non-GNU ld... " >&6; }
6254
6330
fi
6255
 
if test "${lt_cv_path_LD+set}" = set; then
6256
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
6331
if test "${lt_cv_path_LD+set}" = set; then :
 
6332
  $as_echo_n "(cached) " >&6
6257
6333
else
6258
6334
  if test -z "$LD"; then
6259
6335
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6283
6359
 
6284
6360
LD="$lt_cv_path_LD"
6285
6361
if test -n "$LD"; then
6286
 
  { echo "$as_me:$LINENO: result: $LD" >&5
6287
 
echo "${ECHO_T}$LD" >&6; }
 
6362
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
 
6363
$as_echo "$LD" >&6; }
6288
6364
else
6289
 
  { echo "$as_me:$LINENO: result: no" >&5
6290
 
echo "${ECHO_T}no" >&6; }
 
6365
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
6366
$as_echo "no" >&6; }
6291
6367
fi
6292
 
test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
6293
 
echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
6294
 
   { (exit 1); exit 1; }; }
6295
 
{ echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
6296
 
echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
6297
 
if test "${lt_cv_prog_gnu_ld+set}" = set; then
6298
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
6368
test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
 
6369
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
 
6370
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
 
6371
if test "${lt_cv_prog_gnu_ld+set}" = set; then :
 
6372
  $as_echo_n "(cached) " >&6
6299
6373
else
6300
6374
  # I'd rather use --version here, but apparently some GNU lds only accept -v.
6301
6375
case `$LD -v 2>&1 </dev/null` in
6307
6381
  ;;
6308
6382
esac
6309
6383
fi
6310
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
6311
 
echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
 
6384
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
 
6385
$as_echo "$lt_cv_prog_gnu_ld" >&6; }
6312
6386
with_gnu_ld=$lt_cv_prog_gnu_ld
6313
6387
 
6314
6388
 
6319
6393
    
6320
6394
 
6321
6395
 
6322
 
{ echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5
6323
 
echo $ECHO_N "checking for BSD- or MS-compatible name lister (nm)... $ECHO_C" >&6; }
6324
 
if test "${lt_cv_path_NM+set}" = set; then
6325
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
6396
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
 
6397
$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
 
6398
if test "${lt_cv_path_NM+set}" = set; then :
 
6399
  $as_echo_n "(cached) " >&6
6326
6400
else
6327
6401
  if test -n "$NM"; then
6328
6402
  # Let the user override the test.
6368
6442
  : ${lt_cv_path_NM=no}
6369
6443
fi
6370
6444
fi
6371
 
{ echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
6372
 
echo "${ECHO_T}$lt_cv_path_NM" >&6; }
 
6445
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
 
6446
$as_echo "$lt_cv_path_NM" >&6; }
6373
6447
if test "$lt_cv_path_NM" != "no"; then
6374
6448
  NM="$lt_cv_path_NM"
6375
6449
else
6379
6453
  do
6380
6454
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6381
6455
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6382
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
6383
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6384
 
if test "${ac_cv_prog_DUMPBIN+set}" = set; then
6385
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
6456
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
6457
$as_echo_n "checking for $ac_word... " >&6; }
 
6458
if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
 
6459
  $as_echo_n "(cached) " >&6
6386
6460
else
6387
6461
  if test -n "$DUMPBIN"; then
6388
6462
  ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
6392
6466
do
6393
6467
  IFS=$as_save_IFS
6394
6468
  test -z "$as_dir" && as_dir=.
6395
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
6469
    for ac_exec_ext in '' $ac_executable_extensions; do
6396
6470
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6397
6471
    ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
6398
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6472
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6399
6473
    break 2
6400
6474
  fi
6401
6475
done
6402
 
done
 
6476
  done
6403
6477
IFS=$as_save_IFS
6404
6478
 
6405
6479
fi
6406
6480
fi
6407
6481
DUMPBIN=$ac_cv_prog_DUMPBIN
6408
6482
if test -n "$DUMPBIN"; then
6409
 
  { echo "$as_me:$LINENO: result: $DUMPBIN" >&5
6410
 
echo "${ECHO_T}$DUMPBIN" >&6; }
 
6483
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
 
6484
$as_echo "$DUMPBIN" >&6; }
6411
6485
else
6412
 
  { echo "$as_me:$LINENO: result: no" >&5
6413
 
echo "${ECHO_T}no" >&6; }
 
6486
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
6487
$as_echo "no" >&6; }
6414
6488
fi
6415
6489
 
6416
6490
 
6423
6497
do
6424
6498
  # Extract the first word of "$ac_prog", so it can be a program name with args.
6425
6499
set dummy $ac_prog; ac_word=$2
6426
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
6427
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6428
 
if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then
6429
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
6500
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
6501
$as_echo_n "checking for $ac_word... " >&6; }
 
6502
if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
 
6503
  $as_echo_n "(cached) " >&6
6430
6504
else
6431
6505
  if test -n "$ac_ct_DUMPBIN"; then
6432
6506
  ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
6436
6510
do
6437
6511
  IFS=$as_save_IFS
6438
6512
  test -z "$as_dir" && as_dir=.
6439
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
6513
    for ac_exec_ext in '' $ac_executable_extensions; do
6440
6514
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6441
6515
    ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
6442
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6516
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6443
6517
    break 2
6444
6518
  fi
6445
6519
done
6446
 
done
 
6520
  done
6447
6521
IFS=$as_save_IFS
6448
6522
 
6449
6523
fi
6450
6524
fi
6451
6525
ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
6452
6526
if test -n "$ac_ct_DUMPBIN"; then
6453
 
  { echo "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5
6454
 
echo "${ECHO_T}$ac_ct_DUMPBIN" >&6; }
 
6527
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
 
6528
$as_echo "$ac_ct_DUMPBIN" >&6; }
6455
6529
else
6456
 
  { echo "$as_me:$LINENO: result: no" >&5
6457
 
echo "${ECHO_T}no" >&6; }
 
6530
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
6531
$as_echo "no" >&6; }
6458
6532
fi
6459
6533
 
6460
6534
 
6466
6540
  else
6467
6541
    case $cross_compiling:$ac_tool_warned in
6468
6542
yes:)
6469
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6470
 
whose name does not start with the host triplet.  If you think this
6471
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
6472
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6473
 
whose name does not start with the host triplet.  If you think this
6474
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
6543
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
6544
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6475
6545
ac_tool_warned=yes ;;
6476
6546
esac
6477
6547
    DUMPBIN=$ac_ct_DUMPBIN
6490
6560
    
6491
6561
    
6492
6562
 
6493
 
{ echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5
6494
 
echo $ECHO_N "checking the name lister ($NM) interface... $ECHO_C" >&6; }
6495
 
if test "${lt_cv_nm_interface+set}" = set; then
6496
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
6563
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
 
6564
$as_echo_n "checking the name lister ($NM) interface... " >&6; }
 
6565
if test "${lt_cv_nm_interface+set}" = set; then :
 
6566
  $as_echo_n "(cached) " >&6
6497
6567
else
6498
6568
  lt_cv_nm_interface="BSD nm"
6499
6569
  echo "int some_variable = 0;" > conftest.$ac_ext
6510
6580
  fi
6511
6581
  rm -f conftest*
6512
6582
fi
6513
 
{ echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5
6514
 
echo "${ECHO_T}$lt_cv_nm_interface" >&6; }
 
6583
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
 
6584
$as_echo "$lt_cv_nm_interface" >&6; }
6515
6585
 
6516
6586
# find the maximum length of command line arguments
6517
 
{ echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
6518
 
echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6; }
6519
 
if test "${lt_cv_sys_max_cmd_len+set}" = set; then
6520
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
6587
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
 
6588
$as_echo_n "checking the maximum length of command line arguments... " >&6; }
 
6589
if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
 
6590
  $as_echo_n "(cached) " >&6
6521
6591
else
6522
6592
    i=0
6523
6593
  teststring="ABCD"
6538
6608
    lt_cv_sys_max_cmd_len=-1;
6539
6609
    ;;
6540
6610
 
6541
 
  cygwin* | mingw*)
 
6611
  cygwin* | mingw* | cegcc*)
6542
6612
    # On Win9x/ME, this test blows up -- it succeeds, but takes
6543
6613
    # about 5 minutes as the teststring grows exponentially.
6544
6614
    # Worse, since 9x/ME are not pre-emptively multitasking,
6634
6704
fi
6635
6705
 
6636
6706
if test -n $lt_cv_sys_max_cmd_len ; then
6637
 
  { echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
6638
 
echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6; }
 
6707
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
 
6708
$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6639
6709
else
6640
 
  { echo "$as_me:$LINENO: result: none" >&5
6641
 
echo "${ECHO_T}none" >&6; }
 
6710
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
 
6711
$as_echo "none" >&6; }
6642
6712
fi
6643
6713
max_cmd_len=$lt_cv_sys_max_cmd_len
6644
6714
 
6651
6721
: ${MV="mv -f"}
6652
6722
: ${RM="rm -f"}
6653
6723
 
6654
 
{ echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5
6655
 
echo $ECHO_N "checking whether the shell understands some XSI constructs... $ECHO_C" >&6; }
 
6724
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
 
6725
$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
6656
6726
# Try some XSI features
6657
6727
xsi_shell=no
6658
6728
( _lt_dummy="a/b/c"
6661
6731
    && eval 'test $(( 1 + 1 )) -eq 2 \
6662
6732
    && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
6663
6733
  && xsi_shell=yes
6664
 
{ echo "$as_me:$LINENO: result: $xsi_shell" >&5
6665
 
echo "${ECHO_T}$xsi_shell" >&6; }
6666
 
 
6667
 
 
6668
 
{ echo "$as_me:$LINENO: checking whether the shell understands \"+=\"" >&5
6669
 
echo $ECHO_N "checking whether the shell understands \"+=\"... $ECHO_C" >&6; }
 
6734
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
 
6735
$as_echo "$xsi_shell" >&6; }
 
6736
 
 
6737
 
 
6738
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
 
6739
$as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
6670
6740
lt_shell_append=no
6671
6741
( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
6672
6742
    >/dev/null 2>&1 \
6673
6743
  && lt_shell_append=yes
6674
 
{ echo "$as_me:$LINENO: result: $lt_shell_append" >&5
6675
 
echo "${ECHO_T}$lt_shell_append" >&6; }
 
6744
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
 
6745
$as_echo "$lt_shell_append" >&6; }
6676
6746
 
6677
6747
 
6678
6748
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6706
6776
    
6707
6777
    
6708
6778
 
6709
 
{ echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
6710
 
echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6; }
6711
 
if test "${lt_cv_ld_reload_flag+set}" = set; then
6712
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
6779
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
 
6780
$as_echo_n "checking for $LD option to reload object files... " >&6; }
 
6781
if test "${lt_cv_ld_reload_flag+set}" = set; then :
 
6782
  $as_echo_n "(cached) " >&6
6713
6783
else
6714
6784
  lt_cv_ld_reload_flag='-r'
6715
6785
fi
6716
 
{ echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
6717
 
echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6; }
 
6786
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
 
6787
$as_echo "$lt_cv_ld_reload_flag" >&6; }
6718
6788
reload_flag=$lt_cv_ld_reload_flag
6719
6789
case $reload_flag in
6720
6790
"" | " "*) ;;
6739
6809
    
6740
6810
    
6741
6811
 
6742
 
 
6743
 
{ echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
6744
 
echo $ECHO_N "checking how to recognize dependent libraries... $ECHO_C" >&6; }
6745
 
if test "${lt_cv_deplibs_check_method+set}" = set; then
6746
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
6812
if test -n "$ac_tool_prefix"; then
 
6813
  # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
 
6814
set dummy ${ac_tool_prefix}objdump; ac_word=$2
 
6815
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
6816
$as_echo_n "checking for $ac_word... " >&6; }
 
6817
if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
 
6818
  $as_echo_n "(cached) " >&6
 
6819
else
 
6820
  if test -n "$OBJDUMP"; then
 
6821
  ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
 
6822
else
 
6823
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6824
for as_dir in $PATH
 
6825
do
 
6826
  IFS=$as_save_IFS
 
6827
  test -z "$as_dir" && as_dir=.
 
6828
    for ac_exec_ext in '' $ac_executable_extensions; do
 
6829
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6830
    ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
 
6831
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6832
    break 2
 
6833
  fi
 
6834
done
 
6835
  done
 
6836
IFS=$as_save_IFS
 
6837
 
 
6838
fi
 
6839
fi
 
6840
OBJDUMP=$ac_cv_prog_OBJDUMP
 
6841
if test -n "$OBJDUMP"; then
 
6842
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
 
6843
$as_echo "$OBJDUMP" >&6; }
 
6844
else
 
6845
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
6846
$as_echo "no" >&6; }
 
6847
fi
 
6848
 
 
6849
 
 
6850
fi
 
6851
if test -z "$ac_cv_prog_OBJDUMP"; then
 
6852
  ac_ct_OBJDUMP=$OBJDUMP
 
6853
  # Extract the first word of "objdump", so it can be a program name with args.
 
6854
set dummy objdump; ac_word=$2
 
6855
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
6856
$as_echo_n "checking for $ac_word... " >&6; }
 
6857
if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
 
6858
  $as_echo_n "(cached) " >&6
 
6859
else
 
6860
  if test -n "$ac_ct_OBJDUMP"; then
 
6861
  ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
 
6862
else
 
6863
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6864
for as_dir in $PATH
 
6865
do
 
6866
  IFS=$as_save_IFS
 
6867
  test -z "$as_dir" && as_dir=.
 
6868
    for ac_exec_ext in '' $ac_executable_extensions; do
 
6869
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6870
    ac_cv_prog_ac_ct_OBJDUMP="objdump"
 
6871
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6872
    break 2
 
6873
  fi
 
6874
done
 
6875
  done
 
6876
IFS=$as_save_IFS
 
6877
 
 
6878
fi
 
6879
fi
 
6880
ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
 
6881
if test -n "$ac_ct_OBJDUMP"; then
 
6882
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
 
6883
$as_echo "$ac_ct_OBJDUMP" >&6; }
 
6884
else
 
6885
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
6886
$as_echo "no" >&6; }
 
6887
fi
 
6888
 
 
6889
  if test "x$ac_ct_OBJDUMP" = x; then
 
6890
    OBJDUMP="false"
 
6891
  else
 
6892
    case $cross_compiling:$ac_tool_warned in
 
6893
yes:)
 
6894
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
6895
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
6896
ac_tool_warned=yes ;;
 
6897
esac
 
6898
    OBJDUMP=$ac_ct_OBJDUMP
 
6899
  fi
 
6900
else
 
6901
  OBJDUMP="$ac_cv_prog_OBJDUMP"
 
6902
fi
 
6903
 
 
6904
test -z "$OBJDUMP" && OBJDUMP=objdump
 
6905
 
 
6906
    
 
6907
    
 
6908
    
 
6909
 
 
6910
 
 
6911
 
 
6912
 
 
6913
 
 
6914
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
 
6915
$as_echo_n "checking how to recognize dependent libraries... " >&6; }
 
6916
if test "${lt_cv_deplibs_check_method+set}" = set; then :
 
6917
  $as_echo_n "(cached) " >&6
6747
6918
else
6748
6919
  lt_cv_file_magic_cmd='$MAGIC_CMD'
6749
6920
lt_cv_file_magic_test_file=
6793
6964
  fi
6794
6965
  ;;
6795
6966
 
 
6967
cegcc)
 
6968
  # use the weaker test based on 'objdump'. See mingw*.
 
6969
  lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
 
6970
  lt_cv_file_magic_cmd='$OBJDUMP -f'
 
6971
  ;;
 
6972
 
6796
6973
darwin* | rhapsody*)
6797
6974
  lt_cv_deplibs_check_method=pass_all
6798
6975
  ;;
6851
7028
  ;;
6852
7029
 
6853
7030
# This must be Linux ELF.
6854
 
linux* | k*bsd*-gnu)
 
7031
linux* | k*bsd*-gnu | kopensolaris*-gnu)
6855
7032
  lt_cv_deplibs_check_method=pass_all
6856
7033
  ;;
6857
7034
 
6930
7107
esac
6931
7108
 
6932
7109
fi
6933
 
{ echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
6934
 
echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6; }
 
7110
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
 
7111
$as_echo "$lt_cv_deplibs_check_method" >&6; }
6935
7112
file_magic_cmd=$lt_cv_file_magic_cmd
6936
7113
deplibs_check_method=$lt_cv_deplibs_check_method
6937
7114
test -z "$deplibs_check_method" && deplibs_check_method=unknown
6950
7127
if test -n "$ac_tool_prefix"; then
6951
7128
  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6952
7129
set dummy ${ac_tool_prefix}ar; ac_word=$2
6953
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
6954
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6955
 
if test "${ac_cv_prog_AR+set}" = set; then
6956
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
7130
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
7131
$as_echo_n "checking for $ac_word... " >&6; }
 
7132
if test "${ac_cv_prog_AR+set}" = set; then :
 
7133
  $as_echo_n "(cached) " >&6
6957
7134
else
6958
7135
  if test -n "$AR"; then
6959
7136
  ac_cv_prog_AR="$AR" # Let the user override the test.
6963
7140
do
6964
7141
  IFS=$as_save_IFS
6965
7142
  test -z "$as_dir" && as_dir=.
6966
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
7143
    for ac_exec_ext in '' $ac_executable_extensions; do
6967
7144
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6968
7145
    ac_cv_prog_AR="${ac_tool_prefix}ar"
6969
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7146
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6970
7147
    break 2
6971
7148
  fi
6972
7149
done
6973
 
done
 
7150
  done
6974
7151
IFS=$as_save_IFS
6975
7152
 
6976
7153
fi
6977
7154
fi
6978
7155
AR=$ac_cv_prog_AR
6979
7156
if test -n "$AR"; then
6980
 
  { echo "$as_me:$LINENO: result: $AR" >&5
6981
 
echo "${ECHO_T}$AR" >&6; }
 
7157
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
 
7158
$as_echo "$AR" >&6; }
6982
7159
else
6983
 
  { echo "$as_me:$LINENO: result: no" >&5
6984
 
echo "${ECHO_T}no" >&6; }
 
7160
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
7161
$as_echo "no" >&6; }
6985
7162
fi
6986
7163
 
6987
7164
 
6990
7167
  ac_ct_AR=$AR
6991
7168
  # Extract the first word of "ar", so it can be a program name with args.
6992
7169
set dummy ar; ac_word=$2
6993
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
6994
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6995
 
if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
6996
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
7170
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
7171
$as_echo_n "checking for $ac_word... " >&6; }
 
7172
if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
 
7173
  $as_echo_n "(cached) " >&6
6997
7174
else
6998
7175
  if test -n "$ac_ct_AR"; then
6999
7176
  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
7003
7180
do
7004
7181
  IFS=$as_save_IFS
7005
7182
  test -z "$as_dir" && as_dir=.
7006
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
7183
    for ac_exec_ext in '' $ac_executable_extensions; do
7007
7184
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7008
7185
    ac_cv_prog_ac_ct_AR="ar"
7009
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7186
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7010
7187
    break 2
7011
7188
  fi
7012
7189
done
7013
 
done
 
7190
  done
7014
7191
IFS=$as_save_IFS
7015
7192
 
7016
7193
fi
7017
7194
fi
7018
7195
ac_ct_AR=$ac_cv_prog_ac_ct_AR
7019
7196
if test -n "$ac_ct_AR"; then
7020
 
  { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
7021
 
echo "${ECHO_T}$ac_ct_AR" >&6; }
 
7197
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
 
7198
$as_echo "$ac_ct_AR" >&6; }
7022
7199
else
7023
 
  { echo "$as_me:$LINENO: result: no" >&5
7024
 
echo "${ECHO_T}no" >&6; }
 
7200
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
7201
$as_echo "no" >&6; }
7025
7202
fi
7026
7203
 
7027
7204
  if test "x$ac_ct_AR" = x; then
7029
7206
  else
7030
7207
    case $cross_compiling:$ac_tool_warned in
7031
7208
yes:)
7032
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
7033
 
whose name does not start with the host triplet.  If you think this
7034
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
7035
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
7036
 
whose name does not start with the host triplet.  If you think this
7037
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
7209
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
7210
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7038
7211
ac_tool_warned=yes ;;
7039
7212
esac
7040
7213
    AR=$ac_ct_AR
7059
7232
if test -n "$ac_tool_prefix"; then
7060
7233
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
7061
7234
set dummy ${ac_tool_prefix}strip; ac_word=$2
7062
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
7063
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7064
 
if test "${ac_cv_prog_STRIP+set}" = set; then
7065
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
7235
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
7236
$as_echo_n "checking for $ac_word... " >&6; }
 
7237
if test "${ac_cv_prog_STRIP+set}" = set; then :
 
7238
  $as_echo_n "(cached) " >&6
7066
7239
else
7067
7240
  if test -n "$STRIP"; then
7068
7241
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
7072
7245
do
7073
7246
  IFS=$as_save_IFS
7074
7247
  test -z "$as_dir" && as_dir=.
7075
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
7248
    for ac_exec_ext in '' $ac_executable_extensions; do
7076
7249
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7077
7250
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
7078
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7251
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7079
7252
    break 2
7080
7253
  fi
7081
7254
done
7082
 
done
 
7255
  done
7083
7256
IFS=$as_save_IFS
7084
7257
 
7085
7258
fi
7086
7259
fi
7087
7260
STRIP=$ac_cv_prog_STRIP
7088
7261
if test -n "$STRIP"; then
7089
 
  { echo "$as_me:$LINENO: result: $STRIP" >&5
7090
 
echo "${ECHO_T}$STRIP" >&6; }
 
7262
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
 
7263
$as_echo "$STRIP" >&6; }
7091
7264
else
7092
 
  { echo "$as_me:$LINENO: result: no" >&5
7093
 
echo "${ECHO_T}no" >&6; }
 
7265
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
7266
$as_echo "no" >&6; }
7094
7267
fi
7095
7268
 
7096
7269
 
7099
7272
  ac_ct_STRIP=$STRIP
7100
7273
  # Extract the first word of "strip", so it can be a program name with args.
7101
7274
set dummy strip; ac_word=$2
7102
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
7103
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7104
 
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
7105
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
7275
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
7276
$as_echo_n "checking for $ac_word... " >&6; }
 
7277
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
 
7278
  $as_echo_n "(cached) " >&6
7106
7279
else
7107
7280
  if test -n "$ac_ct_STRIP"; then
7108
7281
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
7112
7285
do
7113
7286
  IFS=$as_save_IFS
7114
7287
  test -z "$as_dir" && as_dir=.
7115
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
7288
    for ac_exec_ext in '' $ac_executable_extensions; do
7116
7289
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7117
7290
    ac_cv_prog_ac_ct_STRIP="strip"
7118
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7291
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7119
7292
    break 2
7120
7293
  fi
7121
7294
done
7122
 
done
 
7295
  done
7123
7296
IFS=$as_save_IFS
7124
7297
 
7125
7298
fi
7126
7299
fi
7127
7300
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
7128
7301
if test -n "$ac_ct_STRIP"; then
7129
 
  { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
7130
 
echo "${ECHO_T}$ac_ct_STRIP" >&6; }
 
7302
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
 
7303
$as_echo "$ac_ct_STRIP" >&6; }
7131
7304
else
7132
 
  { echo "$as_me:$LINENO: result: no" >&5
7133
 
echo "${ECHO_T}no" >&6; }
 
7305
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
7306
$as_echo "no" >&6; }
7134
7307
fi
7135
7308
 
7136
7309
  if test "x$ac_ct_STRIP" = x; then
7138
7311
  else
7139
7312
    case $cross_compiling:$ac_tool_warned in
7140
7313
yes:)
7141
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
7142
 
whose name does not start with the host triplet.  If you think this
7143
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
7144
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
7145
 
whose name does not start with the host triplet.  If you think this
7146
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
7314
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
7315
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7147
7316
ac_tool_warned=yes ;;
7148
7317
esac
7149
7318
    STRIP=$ac_ct_STRIP
7162
7331
if test -n "$ac_tool_prefix"; then
7163
7332
  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
7164
7333
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
7165
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
7166
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7167
 
if test "${ac_cv_prog_RANLIB+set}" = set; then
7168
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
7334
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
7335
$as_echo_n "checking for $ac_word... " >&6; }
 
7336
if test "${ac_cv_prog_RANLIB+set}" = set; then :
 
7337
  $as_echo_n "(cached) " >&6
7169
7338
else
7170
7339
  if test -n "$RANLIB"; then
7171
7340
  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
7175
7344
do
7176
7345
  IFS=$as_save_IFS
7177
7346
  test -z "$as_dir" && as_dir=.
7178
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
7347
    for ac_exec_ext in '' $ac_executable_extensions; do
7179
7348
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7180
7349
    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
7181
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7350
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7182
7351
    break 2
7183
7352
  fi
7184
7353
done
7185
 
done
 
7354
  done
7186
7355
IFS=$as_save_IFS
7187
7356
 
7188
7357
fi
7189
7358
fi
7190
7359
RANLIB=$ac_cv_prog_RANLIB
7191
7360
if test -n "$RANLIB"; then
7192
 
  { echo "$as_me:$LINENO: result: $RANLIB" >&5
7193
 
echo "${ECHO_T}$RANLIB" >&6; }
 
7361
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
 
7362
$as_echo "$RANLIB" >&6; }
7194
7363
else
7195
 
  { echo "$as_me:$LINENO: result: no" >&5
7196
 
echo "${ECHO_T}no" >&6; }
 
7364
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
7365
$as_echo "no" >&6; }
7197
7366
fi
7198
7367
 
7199
7368
 
7202
7371
  ac_ct_RANLIB=$RANLIB
7203
7372
  # Extract the first word of "ranlib", so it can be a program name with args.
7204
7373
set dummy ranlib; ac_word=$2
7205
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
7206
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7207
 
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
7208
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
7374
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
7375
$as_echo_n "checking for $ac_word... " >&6; }
 
7376
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
 
7377
  $as_echo_n "(cached) " >&6
7209
7378
else
7210
7379
  if test -n "$ac_ct_RANLIB"; then
7211
7380
  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
7215
7384
do
7216
7385
  IFS=$as_save_IFS
7217
7386
  test -z "$as_dir" && as_dir=.
7218
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
7387
    for ac_exec_ext in '' $ac_executable_extensions; do
7219
7388
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7220
7389
    ac_cv_prog_ac_ct_RANLIB="ranlib"
7221
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7390
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7222
7391
    break 2
7223
7392
  fi
7224
7393
done
7225
 
done
 
7394
  done
7226
7395
IFS=$as_save_IFS
7227
7396
 
7228
7397
fi
7229
7398
fi
7230
7399
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
7231
7400
if test -n "$ac_ct_RANLIB"; then
7232
 
  { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
7233
 
echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
 
7401
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
 
7402
$as_echo "$ac_ct_RANLIB" >&6; }
7234
7403
else
7235
 
  { echo "$as_me:$LINENO: result: no" >&5
7236
 
echo "${ECHO_T}no" >&6; }
 
7404
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
7405
$as_echo "no" >&6; }
7237
7406
fi
7238
7407
 
7239
7408
  if test "x$ac_ct_RANLIB" = x; then
7241
7410
  else
7242
7411
    case $cross_compiling:$ac_tool_warned in
7243
7412
yes:)
7244
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
7245
 
whose name does not start with the host triplet.  If you think this
7246
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
7247
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
7248
 
whose name does not start with the host triplet.  If you think this
7249
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
7413
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
7414
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7250
7415
ac_tool_warned=yes ;;
7251
7416
esac
7252
7417
    RANLIB=$ac_ct_RANLIB
7323
7488
 
7324
7489
 
7325
7490
# Check for command to grab the raw symbol name followed by C symbol from nm.
7326
 
{ echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
7327
 
echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6; }
7328
 
if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
7329
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
7491
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
 
7492
$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
 
7493
if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
 
7494
  $as_echo_n "(cached) " >&6
7330
7495
else
7331
7496
  
7332
7497
# These are sane defaults that work on at least a few old systems.
7343
7508
aix*)
7344
7509
  symcode='[BCDT]'
7345
7510
  ;;
7346
 
cygwin* | mingw* | pw32*)
 
7511
cygwin* | mingw* | pw32* | cegcc*)
7347
7512
  symcode='[ABCDGISTW]'
7348
7513
  ;;
7349
7514
hpux*)
7441
7606
int main(){nm_test_var='a';nm_test_func();return(0);}
7442
7607
_LT_EOF
7443
7608
 
7444
 
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
7609
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7445
7610
  (eval $ac_compile) 2>&5
7446
7611
  ac_status=$?
7447
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7448
 
  (exit $ac_status); }; then
 
7612
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
7613
  test $ac_status = 0; }; then
7449
7614
    # Now try to grab the symbols.
7450
7615
    nlist=conftest.nm
7451
 
    if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
 
7616
    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\""; } >&5
7452
7617
  (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
7453
7618
  ac_status=$?
7454
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7455
 
  (exit $ac_status); } && test -s "$nlist"; then
 
7619
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
7620
  test $ac_status = 0; } && test -s "$nlist"; then
7456
7621
      # Try sorting and uniquifying the output.
7457
7622
      if sort "$nlist" | uniq > "$nlist"T; then
7458
7623
        mv -f "$nlist"T "$nlist"
7505
7670
          lt_save_CFLAGS="$CFLAGS"
7506
7671
          LIBS="conftstm.$ac_objext"
7507
7672
          CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7508
 
          if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
7673
          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7509
7674
  (eval $ac_link) 2>&5
7510
7675
  ac_status=$?
7511
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7512
 
  (exit $ac_status); } && test -s conftest${ac_exeext}; then
 
7676
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
7677
  test $ac_status = 0; } && test -s conftest${ac_exeext}; then
7513
7678
            pipe_works=yes
7514
7679
          fi
7515
7680
          LIBS="$lt_save_LIBS"
7543
7708
  lt_cv_sys_global_symbol_to_cdecl=
7544
7709
fi
7545
7710
if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7546
 
  { echo "$as_me:$LINENO: result: failed" >&5
7547
 
echo "${ECHO_T}failed" >&6; }
 
7711
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
 
7712
$as_echo "failed" >&6; }
7548
7713
else
7549
 
  { echo "$as_me:$LINENO: result: ok" >&5
7550
 
echo "${ECHO_T}ok" >&6; }
 
7714
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
 
7715
$as_echo "ok" >&6; }
7551
7716
fi
7552
7717
 
7553
7718
 
7572
7737
 
7573
7738
 
7574
7739
 
7575
 
# Check whether --enable-libtool-lock was given.
7576
 
if test "${enable_libtool_lock+set}" = set; then
 
7740
@%:@ Check whether --enable-libtool-lock was given.
 
7741
if test "${enable_libtool_lock+set}" = set; then :
7577
7742
  enableval=$enable_libtool_lock; 
7578
7743
fi
7579
7744
 
7585
7750
ia64-*-hpux*)
7586
7751
  # Find out which ABI we are using.
7587
7752
  echo 'int i;' > conftest.$ac_ext
7588
 
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
7753
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7589
7754
  (eval $ac_compile) 2>&5
7590
7755
  ac_status=$?
7591
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7592
 
  (exit $ac_status); }; then
 
7756
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
7757
  test $ac_status = 0; }; then
7593
7758
    case `/usr/bin/file conftest.$ac_objext` in
7594
7759
      *ELF-32*)
7595
7760
        HPUX_IA64_MODE="32"
7604
7769
*-*-irix6*)
7605
7770
  # Find out which ABI we are using.
7606
7771
  echo '#line __oline__ "configure"' > conftest.$ac_ext
7607
 
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
7772
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7608
7773
  (eval $ac_compile) 2>&5
7609
7774
  ac_status=$?
7610
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7611
 
  (exit $ac_status); }; then
 
7775
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
7776
  test $ac_status = 0; }; then
7612
7777
    if test "$lt_cv_prog_gnu_ld" = yes; then
7613
7778
      case `/usr/bin/file conftest.$ac_objext` in
7614
7779
        *32-bit*)
7642
7807
s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7643
7808
  # Find out which ABI we are using.
7644
7809
  echo 'int i;' > conftest.$ac_ext
7645
 
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
7810
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7646
7811
  (eval $ac_compile) 2>&5
7647
7812
  ac_status=$?
7648
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7649
 
  (exit $ac_status); }; then
 
7813
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
7814
  test $ac_status = 0; }; then
7650
7815
    case `/usr/bin/file conftest.o` in
7651
7816
      *32-bit*)
7652
7817
        case $host in
7695
7860
  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7696
7861
  SAVE_CFLAGS="$CFLAGS"
7697
7862
  CFLAGS="$CFLAGS -belf"
7698
 
  { echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
7699
 
echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6; }
7700
 
if test "${lt_cv_cc_needs_belf+set}" = set; then
7701
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
7863
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
 
7864
$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
 
7865
if test "${lt_cv_cc_needs_belf+set}" = set; then :
 
7866
  $as_echo_n "(cached) " >&6
7702
7867
else
7703
7868
  ac_ext=c
7704
7869
ac_cpp='$CPP $CPPFLAGS'
7706
7871
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7707
7872
ac_compiler_gnu=$ac_cv_c_compiler_gnu
7708
7873
 
7709
 
     cat >conftest.$ac_ext <<_ACEOF
7710
 
/* confdefs.h.  */
7711
 
_ACEOF
7712
 
cat confdefs.h >>conftest.$ac_ext
7713
 
cat >>conftest.$ac_ext <<_ACEOF
 
7874
     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7714
7875
/* end confdefs.h.  */
7715
7876
 
7716
7877
int
7721
7882
  return 0;
7722
7883
}
7723
7884
_ACEOF
7724
 
rm -f conftest.$ac_objext conftest$ac_exeext
7725
 
if { (ac_try="$ac_link"
7726
 
case "(($ac_try" in
7727
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7728
 
  *) ac_try_echo=$ac_try;;
7729
 
esac
7730
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7731
 
  (eval "$ac_link") 2>conftest.er1
7732
 
  ac_status=$?
7733
 
  grep -v '^ *+' conftest.er1 >conftest.err
7734
 
  rm -f conftest.er1
7735
 
  cat conftest.err >&5
7736
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7737
 
  (exit $ac_status); } && {
7738
 
         test -z "$ac_c_werror_flag" ||
7739
 
         test ! -s conftest.err
7740
 
       } && test -s conftest$ac_exeext &&
7741
 
       $as_test_x conftest$ac_exeext; then
 
7885
if ac_fn_c_try_link "$LINENO"; then :
7742
7886
  lt_cv_cc_needs_belf=yes
7743
7887
else
7744
 
  echo "$as_me: failed program was:" >&5
7745
 
sed 's/^/| /' conftest.$ac_ext >&5
7746
 
 
7747
 
        lt_cv_cc_needs_belf=no
 
7888
  lt_cv_cc_needs_belf=no
7748
7889
fi
7749
 
 
7750
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7751
 
      conftest$ac_exeext conftest.$ac_ext
 
7890
rm -f core conftest.err conftest.$ac_objext \
 
7891
    conftest$ac_exeext conftest.$ac_ext
7752
7892
     ac_ext=c
7753
7893
ac_cpp='$CPP $CPPFLAGS'
7754
7894
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7756
7896
ac_compiler_gnu=$ac_cv_c_compiler_gnu
7757
7897
 
7758
7898
fi
7759
 
{ echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
7760
 
echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6; }
 
7899
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
 
7900
$as_echo "$lt_cv_cc_needs_belf" >&6; }
7761
7901
  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7762
7902
    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7763
7903
    CFLAGS="$SAVE_CFLAGS"
7766
7906
sparc*-*solaris*)
7767
7907
  # Find out which ABI we are using.
7768
7908
  echo 'int i;' > conftest.$ac_ext
7769
 
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
7909
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7770
7910
  (eval $ac_compile) 2>&5
7771
7911
  ac_status=$?
7772
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7773
 
  (exit $ac_status); }; then
 
7912
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
7913
  test $ac_status = 0; }; then
7774
7914
    case `/usr/bin/file conftest.o` in
7775
7915
    *64-bit*)
7776
7916
      case $lt_cv_prog_gnu_ld in
7796
7936
    if test -n "$ac_tool_prefix"; then
7797
7937
  # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7798
7938
set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7799
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
7800
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7801
 
if test "${ac_cv_prog_DSYMUTIL+set}" = set; then
7802
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
7939
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
7940
$as_echo_n "checking for $ac_word... " >&6; }
 
7941
if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
 
7942
  $as_echo_n "(cached) " >&6
7803
7943
else
7804
7944
  if test -n "$DSYMUTIL"; then
7805
7945
  ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7809
7949
do
7810
7950
  IFS=$as_save_IFS
7811
7951
  test -z "$as_dir" && as_dir=.
7812
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
7952
    for ac_exec_ext in '' $ac_executable_extensions; do
7813
7953
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7814
7954
    ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7815
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7955
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7816
7956
    break 2
7817
7957
  fi
7818
7958
done
7819
 
done
 
7959
  done
7820
7960
IFS=$as_save_IFS
7821
7961
 
7822
7962
fi
7823
7963
fi
7824
7964
DSYMUTIL=$ac_cv_prog_DSYMUTIL
7825
7965
if test -n "$DSYMUTIL"; then
7826
 
  { echo "$as_me:$LINENO: result: $DSYMUTIL" >&5
7827
 
echo "${ECHO_T}$DSYMUTIL" >&6; }
 
7966
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
 
7967
$as_echo "$DSYMUTIL" >&6; }
7828
7968
else
7829
 
  { echo "$as_me:$LINENO: result: no" >&5
7830
 
echo "${ECHO_T}no" >&6; }
 
7969
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
7970
$as_echo "no" >&6; }
7831
7971
fi
7832
7972
 
7833
7973
 
7836
7976
  ac_ct_DSYMUTIL=$DSYMUTIL
7837
7977
  # Extract the first word of "dsymutil", so it can be a program name with args.
7838
7978
set dummy dsymutil; ac_word=$2
7839
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
7840
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7841
 
if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then
7842
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
7979
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
7980
$as_echo_n "checking for $ac_word... " >&6; }
 
7981
if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
 
7982
  $as_echo_n "(cached) " >&6
7843
7983
else
7844
7984
  if test -n "$ac_ct_DSYMUTIL"; then
7845
7985
  ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7849
7989
do
7850
7990
  IFS=$as_save_IFS
7851
7991
  test -z "$as_dir" && as_dir=.
7852
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
7992
    for ac_exec_ext in '' $ac_executable_extensions; do
7853
7993
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7854
7994
    ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7855
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7995
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7856
7996
    break 2
7857
7997
  fi
7858
7998
done
7859
 
done
 
7999
  done
7860
8000
IFS=$as_save_IFS
7861
8001
 
7862
8002
fi
7863
8003
fi
7864
8004
ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7865
8005
if test -n "$ac_ct_DSYMUTIL"; then
7866
 
  { echo "$as_me:$LINENO: result: $ac_ct_DSYMUTIL" >&5
7867
 
echo "${ECHO_T}$ac_ct_DSYMUTIL" >&6; }
 
8006
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
 
8007
$as_echo "$ac_ct_DSYMUTIL" >&6; }
7868
8008
else
7869
 
  { echo "$as_me:$LINENO: result: no" >&5
7870
 
echo "${ECHO_T}no" >&6; }
 
8009
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
8010
$as_echo "no" >&6; }
7871
8011
fi
7872
8012
 
7873
8013
  if test "x$ac_ct_DSYMUTIL" = x; then
7875
8015
  else
7876
8016
    case $cross_compiling:$ac_tool_warned in
7877
8017
yes:)
7878
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
7879
 
whose name does not start with the host triplet.  If you think this
7880
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
7881
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
7882
 
whose name does not start with the host triplet.  If you think this
7883
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
8018
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
8019
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7884
8020
ac_tool_warned=yes ;;
7885
8021
esac
7886
8022
    DSYMUTIL=$ac_ct_DSYMUTIL
7892
8028
    if test -n "$ac_tool_prefix"; then
7893
8029
  # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7894
8030
set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7895
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
7896
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7897
 
if test "${ac_cv_prog_NMEDIT+set}" = set; then
7898
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
8031
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
8032
$as_echo_n "checking for $ac_word... " >&6; }
 
8033
if test "${ac_cv_prog_NMEDIT+set}" = set; then :
 
8034
  $as_echo_n "(cached) " >&6
7899
8035
else
7900
8036
  if test -n "$NMEDIT"; then
7901
8037
  ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7905
8041
do
7906
8042
  IFS=$as_save_IFS
7907
8043
  test -z "$as_dir" && as_dir=.
7908
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
8044
    for ac_exec_ext in '' $ac_executable_extensions; do
7909
8045
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7910
8046
    ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7911
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
8047
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7912
8048
    break 2
7913
8049
  fi
7914
8050
done
7915
 
done
 
8051
  done
7916
8052
IFS=$as_save_IFS
7917
8053
 
7918
8054
fi
7919
8055
fi
7920
8056
NMEDIT=$ac_cv_prog_NMEDIT
7921
8057
if test -n "$NMEDIT"; then
7922
 
  { echo "$as_me:$LINENO: result: $NMEDIT" >&5
7923
 
echo "${ECHO_T}$NMEDIT" >&6; }
 
8058
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
 
8059
$as_echo "$NMEDIT" >&6; }
7924
8060
else
7925
 
  { echo "$as_me:$LINENO: result: no" >&5
7926
 
echo "${ECHO_T}no" >&6; }
 
8061
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
8062
$as_echo "no" >&6; }
7927
8063
fi
7928
8064
 
7929
8065
 
7932
8068
  ac_ct_NMEDIT=$NMEDIT
7933
8069
  # Extract the first word of "nmedit", so it can be a program name with args.
7934
8070
set dummy nmedit; ac_word=$2
7935
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
7936
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7937
 
if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then
7938
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
8071
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
8072
$as_echo_n "checking for $ac_word... " >&6; }
 
8073
if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
 
8074
  $as_echo_n "(cached) " >&6
7939
8075
else
7940
8076
  if test -n "$ac_ct_NMEDIT"; then
7941
8077
  ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7945
8081
do
7946
8082
  IFS=$as_save_IFS
7947
8083
  test -z "$as_dir" && as_dir=.
7948
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
8084
    for ac_exec_ext in '' $ac_executable_extensions; do
7949
8085
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7950
8086
    ac_cv_prog_ac_ct_NMEDIT="nmedit"
7951
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
8087
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7952
8088
    break 2
7953
8089
  fi
7954
8090
done
7955
 
done
 
8091
  done
7956
8092
IFS=$as_save_IFS
7957
8093
 
7958
8094
fi
7959
8095
fi
7960
8096
ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7961
8097
if test -n "$ac_ct_NMEDIT"; then
7962
 
  { echo "$as_me:$LINENO: result: $ac_ct_NMEDIT" >&5
7963
 
echo "${ECHO_T}$ac_ct_NMEDIT" >&6; }
 
8098
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
 
8099
$as_echo "$ac_ct_NMEDIT" >&6; }
7964
8100
else
7965
 
  { echo "$as_me:$LINENO: result: no" >&5
7966
 
echo "${ECHO_T}no" >&6; }
 
8101
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
8102
$as_echo "no" >&6; }
7967
8103
fi
7968
8104
 
7969
8105
  if test "x$ac_ct_NMEDIT" = x; then
7971
8107
  else
7972
8108
    case $cross_compiling:$ac_tool_warned in
7973
8109
yes:)
7974
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
7975
 
whose name does not start with the host triplet.  If you think this
7976
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
7977
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
7978
 
whose name does not start with the host triplet.  If you think this
7979
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
8110
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
8111
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7980
8112
ac_tool_warned=yes ;;
7981
8113
esac
7982
8114
    NMEDIT=$ac_ct_NMEDIT
7988
8120
    if test -n "$ac_tool_prefix"; then
7989
8121
  # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7990
8122
set dummy ${ac_tool_prefix}lipo; ac_word=$2
7991
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
7992
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7993
 
if test "${ac_cv_prog_LIPO+set}" = set; then
7994
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
8123
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
8124
$as_echo_n "checking for $ac_word... " >&6; }
 
8125
if test "${ac_cv_prog_LIPO+set}" = set; then :
 
8126
  $as_echo_n "(cached) " >&6
7995
8127
else
7996
8128
  if test -n "$LIPO"; then
7997
8129
  ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8001
8133
do
8002
8134
  IFS=$as_save_IFS
8003
8135
  test -z "$as_dir" && as_dir=.
8004
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
8136
    for ac_exec_ext in '' $ac_executable_extensions; do
8005
8137
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8006
8138
    ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
8007
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
8139
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8008
8140
    break 2
8009
8141
  fi
8010
8142
done
8011
 
done
 
8143
  done
8012
8144
IFS=$as_save_IFS
8013
8145
 
8014
8146
fi
8015
8147
fi
8016
8148
LIPO=$ac_cv_prog_LIPO
8017
8149
if test -n "$LIPO"; then
8018
 
  { echo "$as_me:$LINENO: result: $LIPO" >&5
8019
 
echo "${ECHO_T}$LIPO" >&6; }
 
8150
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
 
8151
$as_echo "$LIPO" >&6; }
8020
8152
else
8021
 
  { echo "$as_me:$LINENO: result: no" >&5
8022
 
echo "${ECHO_T}no" >&6; }
 
8153
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
8154
$as_echo "no" >&6; }
8023
8155
fi
8024
8156
 
8025
8157
 
8028
8160
  ac_ct_LIPO=$LIPO
8029
8161
  # Extract the first word of "lipo", so it can be a program name with args.
8030
8162
set dummy lipo; ac_word=$2
8031
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
8032
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8033
 
if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then
8034
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
8163
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
8164
$as_echo_n "checking for $ac_word... " >&6; }
 
8165
if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
 
8166
  $as_echo_n "(cached) " >&6
8035
8167
else
8036
8168
  if test -n "$ac_ct_LIPO"; then
8037
8169
  ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
8041
8173
do
8042
8174
  IFS=$as_save_IFS
8043
8175
  test -z "$as_dir" && as_dir=.
8044
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
8176
    for ac_exec_ext in '' $ac_executable_extensions; do
8045
8177
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8046
8178
    ac_cv_prog_ac_ct_LIPO="lipo"
8047
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
8179
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8048
8180
    break 2
8049
8181
  fi
8050
8182
done
8051
 
done
 
8183
  done
8052
8184
IFS=$as_save_IFS
8053
8185
 
8054
8186
fi
8055
8187
fi
8056
8188
ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
8057
8189
if test -n "$ac_ct_LIPO"; then
8058
 
  { echo "$as_me:$LINENO: result: $ac_ct_LIPO" >&5
8059
 
echo "${ECHO_T}$ac_ct_LIPO" >&6; }
 
8190
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
 
8191
$as_echo "$ac_ct_LIPO" >&6; }
8060
8192
else
8061
 
  { echo "$as_me:$LINENO: result: no" >&5
8062
 
echo "${ECHO_T}no" >&6; }
 
8193
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
8194
$as_echo "no" >&6; }
8063
8195
fi
8064
8196
 
8065
8197
  if test "x$ac_ct_LIPO" = x; then
8067
8199
  else
8068
8200
    case $cross_compiling:$ac_tool_warned in
8069
8201
yes:)
8070
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
8071
 
whose name does not start with the host triplet.  If you think this
8072
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
8073
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
8074
 
whose name does not start with the host triplet.  If you think this
8075
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
8202
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
8203
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8076
8204
ac_tool_warned=yes ;;
8077
8205
esac
8078
8206
    LIPO=$ac_ct_LIPO
8084
8212
    if test -n "$ac_tool_prefix"; then
8085
8213
  # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
8086
8214
set dummy ${ac_tool_prefix}otool; ac_word=$2
8087
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
8088
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8089
 
if test "${ac_cv_prog_OTOOL+set}" = set; then
8090
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
8215
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
8216
$as_echo_n "checking for $ac_word... " >&6; }
 
8217
if test "${ac_cv_prog_OTOOL+set}" = set; then :
 
8218
  $as_echo_n "(cached) " >&6
8091
8219
else
8092
8220
  if test -n "$OTOOL"; then
8093
8221
  ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
8097
8225
do
8098
8226
  IFS=$as_save_IFS
8099
8227
  test -z "$as_dir" && as_dir=.
8100
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
8228
    for ac_exec_ext in '' $ac_executable_extensions; do
8101
8229
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8102
8230
    ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
8103
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
8231
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8104
8232
    break 2
8105
8233
  fi
8106
8234
done
8107
 
done
 
8235
  done
8108
8236
IFS=$as_save_IFS
8109
8237
 
8110
8238
fi
8111
8239
fi
8112
8240
OTOOL=$ac_cv_prog_OTOOL
8113
8241
if test -n "$OTOOL"; then
8114
 
  { echo "$as_me:$LINENO: result: $OTOOL" >&5
8115
 
echo "${ECHO_T}$OTOOL" >&6; }
 
8242
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
 
8243
$as_echo "$OTOOL" >&6; }
8116
8244
else
8117
 
  { echo "$as_me:$LINENO: result: no" >&5
8118
 
echo "${ECHO_T}no" >&6; }
 
8245
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
8246
$as_echo "no" >&6; }
8119
8247
fi
8120
8248
 
8121
8249
 
8124
8252
  ac_ct_OTOOL=$OTOOL
8125
8253
  # Extract the first word of "otool", so it can be a program name with args.
8126
8254
set dummy otool; ac_word=$2
8127
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
8128
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8129
 
if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then
8130
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
8255
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
8256
$as_echo_n "checking for $ac_word... " >&6; }
 
8257
if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
 
8258
  $as_echo_n "(cached) " >&6
8131
8259
else
8132
8260
  if test -n "$ac_ct_OTOOL"; then
8133
8261
  ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
8137
8265
do
8138
8266
  IFS=$as_save_IFS
8139
8267
  test -z "$as_dir" && as_dir=.
8140
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
8268
    for ac_exec_ext in '' $ac_executable_extensions; do
8141
8269
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8142
8270
    ac_cv_prog_ac_ct_OTOOL="otool"
8143
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
8271
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8144
8272
    break 2
8145
8273
  fi
8146
8274
done
8147
 
done
 
8275
  done
8148
8276
IFS=$as_save_IFS
8149
8277
 
8150
8278
fi
8151
8279
fi
8152
8280
ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
8153
8281
if test -n "$ac_ct_OTOOL"; then
8154
 
  { echo "$as_me:$LINENO: result: $ac_ct_OTOOL" >&5
8155
 
echo "${ECHO_T}$ac_ct_OTOOL" >&6; }
 
8282
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
 
8283
$as_echo "$ac_ct_OTOOL" >&6; }
8156
8284
else
8157
 
  { echo "$as_me:$LINENO: result: no" >&5
8158
 
echo "${ECHO_T}no" >&6; }
 
8285
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
8286
$as_echo "no" >&6; }
8159
8287
fi
8160
8288
 
8161
8289
  if test "x$ac_ct_OTOOL" = x; then
8163
8291
  else
8164
8292
    case $cross_compiling:$ac_tool_warned in
8165
8293
yes:)
8166
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
8167
 
whose name does not start with the host triplet.  If you think this
8168
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
8169
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
8170
 
whose name does not start with the host triplet.  If you think this
8171
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
8294
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
8295
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8172
8296
ac_tool_warned=yes ;;
8173
8297
esac
8174
8298
    OTOOL=$ac_ct_OTOOL
8180
8304
    if test -n "$ac_tool_prefix"; then
8181
8305
  # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
8182
8306
set dummy ${ac_tool_prefix}otool64; ac_word=$2
8183
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
8184
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8185
 
if test "${ac_cv_prog_OTOOL64+set}" = set; then
8186
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
8307
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
8308
$as_echo_n "checking for $ac_word... " >&6; }
 
8309
if test "${ac_cv_prog_OTOOL64+set}" = set; then :
 
8310
  $as_echo_n "(cached) " >&6
8187
8311
else
8188
8312
  if test -n "$OTOOL64"; then
8189
8313
  ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
8193
8317
do
8194
8318
  IFS=$as_save_IFS
8195
8319
  test -z "$as_dir" && as_dir=.
8196
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
8320
    for ac_exec_ext in '' $ac_executable_extensions; do
8197
8321
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8198
8322
    ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
8199
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
8323
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8200
8324
    break 2
8201
8325
  fi
8202
8326
done
8203
 
done
 
8327
  done
8204
8328
IFS=$as_save_IFS
8205
8329
 
8206
8330
fi
8207
8331
fi
8208
8332
OTOOL64=$ac_cv_prog_OTOOL64
8209
8333
if test -n "$OTOOL64"; then
8210
 
  { echo "$as_me:$LINENO: result: $OTOOL64" >&5
8211
 
echo "${ECHO_T}$OTOOL64" >&6; }
 
8334
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
 
8335
$as_echo "$OTOOL64" >&6; }
8212
8336
else
8213
 
  { echo "$as_me:$LINENO: result: no" >&5
8214
 
echo "${ECHO_T}no" >&6; }
 
8337
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
8338
$as_echo "no" >&6; }
8215
8339
fi
8216
8340
 
8217
8341
 
8220
8344
  ac_ct_OTOOL64=$OTOOL64
8221
8345
  # Extract the first word of "otool64", so it can be a program name with args.
8222
8346
set dummy otool64; ac_word=$2
8223
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
8224
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8225
 
if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then
8226
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
8347
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
8348
$as_echo_n "checking for $ac_word... " >&6; }
 
8349
if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
 
8350
  $as_echo_n "(cached) " >&6
8227
8351
else
8228
8352
  if test -n "$ac_ct_OTOOL64"; then
8229
8353
  ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
8233
8357
do
8234
8358
  IFS=$as_save_IFS
8235
8359
  test -z "$as_dir" && as_dir=.
8236
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
8360
    for ac_exec_ext in '' $ac_executable_extensions; do
8237
8361
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8238
8362
    ac_cv_prog_ac_ct_OTOOL64="otool64"
8239
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
8363
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8240
8364
    break 2
8241
8365
  fi
8242
8366
done
8243
 
done
 
8367
  done
8244
8368
IFS=$as_save_IFS
8245
8369
 
8246
8370
fi
8247
8371
fi
8248
8372
ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
8249
8373
if test -n "$ac_ct_OTOOL64"; then
8250
 
  { echo "$as_me:$LINENO: result: $ac_ct_OTOOL64" >&5
8251
 
echo "${ECHO_T}$ac_ct_OTOOL64" >&6; }
 
8374
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
 
8375
$as_echo "$ac_ct_OTOOL64" >&6; }
8252
8376
else
8253
 
  { echo "$as_me:$LINENO: result: no" >&5
8254
 
echo "${ECHO_T}no" >&6; }
 
8377
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
8378
$as_echo "no" >&6; }
8255
8379
fi
8256
8380
 
8257
8381
  if test "x$ac_ct_OTOOL64" = x; then
8259
8383
  else
8260
8384
    case $cross_compiling:$ac_tool_warned in
8261
8385
yes:)
8262
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
8263
 
whose name does not start with the host triplet.  If you think this
8264
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
8265
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
8266
 
whose name does not start with the host triplet.  If you think this
8267
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
8386
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
8387
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8268
8388
ac_tool_warned=yes ;;
8269
8389
esac
8270
8390
    OTOOL64=$ac_ct_OTOOL64
8299
8419
    
8300
8420
 
8301
8421
 
8302
 
    { echo "$as_me:$LINENO: checking for -single_module linker flag" >&5
8303
 
echo $ECHO_N "checking for -single_module linker flag... $ECHO_C" >&6; }
8304
 
if test "${lt_cv_apple_cc_single_mod+set}" = set; then
8305
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
8422
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
 
8423
$as_echo_n "checking for -single_module linker flag... " >&6; }
 
8424
if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
 
8425
  $as_echo_n "(cached) " >&6
8306
8426
else
8307
8427
  lt_cv_apple_cc_single_mod=no
8308
8428
      if test -z "${LT_MULTI_MODULE}"; then
8326
8446
        rm -f conftest.*
8327
8447
      fi
8328
8448
fi
8329
 
{ echo "$as_me:$LINENO: result: $lt_cv_apple_cc_single_mod" >&5
8330
 
echo "${ECHO_T}$lt_cv_apple_cc_single_mod" >&6; }
8331
 
    { echo "$as_me:$LINENO: checking for -exported_symbols_list linker flag" >&5
8332
 
echo $ECHO_N "checking for -exported_symbols_list linker flag... $ECHO_C" >&6; }
8333
 
if test "${lt_cv_ld_exported_symbols_list+set}" = set; then
8334
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
8449
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
 
8450
$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
 
8451
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
 
8452
$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
 
8453
if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
 
8454
  $as_echo_n "(cached) " >&6
8335
8455
else
8336
8456
  lt_cv_ld_exported_symbols_list=no
8337
8457
      save_LDFLAGS=$LDFLAGS
8338
8458
      echo "_main" > conftest.sym
8339
8459
      LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
8340
 
      cat >conftest.$ac_ext <<_ACEOF
8341
 
/* confdefs.h.  */
8342
 
_ACEOF
8343
 
cat confdefs.h >>conftest.$ac_ext
8344
 
cat >>conftest.$ac_ext <<_ACEOF
 
8460
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8345
8461
/* end confdefs.h.  */
8346
8462
 
8347
8463
int
8352
8468
  return 0;
8353
8469
}
8354
8470
_ACEOF
8355
 
rm -f conftest.$ac_objext conftest$ac_exeext
8356
 
if { (ac_try="$ac_link"
8357
 
case "(($ac_try" in
8358
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8359
 
  *) ac_try_echo=$ac_try;;
8360
 
esac
8361
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8362
 
  (eval "$ac_link") 2>conftest.er1
8363
 
  ac_status=$?
8364
 
  grep -v '^ *+' conftest.er1 >conftest.err
8365
 
  rm -f conftest.er1
8366
 
  cat conftest.err >&5
8367
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8368
 
  (exit $ac_status); } && {
8369
 
         test -z "$ac_c_werror_flag" ||
8370
 
         test ! -s conftest.err
8371
 
       } && test -s conftest$ac_exeext &&
8372
 
       $as_test_x conftest$ac_exeext; then
 
8471
if ac_fn_c_try_link "$LINENO"; then :
8373
8472
  lt_cv_ld_exported_symbols_list=yes
8374
8473
else
8375
 
  echo "$as_me: failed program was:" >&5
8376
 
sed 's/^/| /' conftest.$ac_ext >&5
8377
 
 
8378
 
        lt_cv_ld_exported_symbols_list=no
 
8474
  lt_cv_ld_exported_symbols_list=no
8379
8475
fi
8380
 
 
8381
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8382
 
      conftest$ac_exeext conftest.$ac_ext
 
8476
rm -f core conftest.err conftest.$ac_objext \
 
8477
    conftest$ac_exeext conftest.$ac_ext
8383
8478
        LDFLAGS="$save_LDFLAGS"
8384
8479
    
8385
8480
fi
8386
 
{ echo "$as_me:$LINENO: result: $lt_cv_ld_exported_symbols_list" >&5
8387
 
echo "${ECHO_T}$lt_cv_ld_exported_symbols_list" >&6; }
 
8481
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
 
8482
$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8388
8483
    case $host_os in
8389
8484
    rhapsody* | darwin1.[012])
8390
8485
      _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
8391
8486
    darwin1.*)
8392
8487
      _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8393
 
    darwin*) # darwin 5.x on 
 
8488
    darwin*) # darwin 5.x on
8394
8489
      # if running on 10.5 or later, the deployment target defaults
8395
8490
      # to the OS version, if on x86, and 10.4, the deployment
8396
 
      # target defaults to 10.4. Don't you love it? 
 
8491
      # target defaults to 10.4. Don't you love it?
8397
8492
      case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
8398
8493
        10.0,*86*-darwin8*|10.0,*-darwin[91]*)
8399
8494
          _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8421
8516
  esac
8422
8517
 
8423
8518
 
8424
 
{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5
8425
 
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
8426
 
if test "${ac_cv_header_stdc+set}" = set; then
8427
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
8519
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
 
8520
$as_echo_n "checking for ANSI C header files... " >&6; }
 
8521
if test "${ac_cv_header_stdc+set}" = set; then :
 
8522
  $as_echo_n "(cached) " >&6
8428
8523
else
8429
 
  cat >conftest.$ac_ext <<_ACEOF
8430
 
/* confdefs.h.  */
8431
 
_ACEOF
8432
 
cat confdefs.h >>conftest.$ac_ext
8433
 
cat >>conftest.$ac_ext <<_ACEOF
 
8524
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8434
8525
/* end confdefs.h.  */
8435
8526
#include <stdlib.h>
8436
8527
#include <stdarg.h>
8445
8536
  return 0;
8446
8537
}
8447
8538
_ACEOF
8448
 
rm -f conftest.$ac_objext
8449
 
if { (ac_try="$ac_compile"
8450
 
case "(($ac_try" in
8451
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8452
 
  *) ac_try_echo=$ac_try;;
8453
 
esac
8454
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8455
 
  (eval "$ac_compile") 2>conftest.er1
8456
 
  ac_status=$?
8457
 
  grep -v '^ *+' conftest.er1 >conftest.err
8458
 
  rm -f conftest.er1
8459
 
  cat conftest.err >&5
8460
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8461
 
  (exit $ac_status); } && {
8462
 
         test -z "$ac_c_werror_flag" ||
8463
 
         test ! -s conftest.err
8464
 
       } && test -s conftest.$ac_objext; then
 
8539
if ac_fn_c_try_compile "$LINENO"; then :
8465
8540
  ac_cv_header_stdc=yes
8466
8541
else
8467
 
  echo "$as_me: failed program was:" >&5
8468
 
sed 's/^/| /' conftest.$ac_ext >&5
8469
 
 
8470
 
        ac_cv_header_stdc=no
 
8542
  ac_cv_header_stdc=no
8471
8543
fi
8472
 
 
8473
8544
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8474
8545
 
8475
8546
if test $ac_cv_header_stdc = yes; then
8476
8547
  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
8477
 
  cat >conftest.$ac_ext <<_ACEOF
8478
 
/* confdefs.h.  */
8479
 
_ACEOF
8480
 
cat confdefs.h >>conftest.$ac_ext
8481
 
cat >>conftest.$ac_ext <<_ACEOF
 
8548
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8482
8549
/* end confdefs.h.  */
8483
8550
#include <string.h>
8484
8551
 
8485
8552
_ACEOF
8486
8553
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8487
 
  $EGREP "memchr" >/dev/null 2>&1; then
8488
 
  :
 
8554
  $EGREP "memchr" >/dev/null 2>&1; then :
 
8555
  
8489
8556
else
8490
8557
  ac_cv_header_stdc=no
8491
8558
fi
8495
8562
 
8496
8563
if test $ac_cv_header_stdc = yes; then
8497
8564
  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
8498
 
  cat >conftest.$ac_ext <<_ACEOF
8499
 
/* confdefs.h.  */
8500
 
_ACEOF
8501
 
cat confdefs.h >>conftest.$ac_ext
8502
 
cat >>conftest.$ac_ext <<_ACEOF
 
8565
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8503
8566
/* end confdefs.h.  */
8504
8567
#include <stdlib.h>
8505
8568
 
8506
8569
_ACEOF
8507
8570
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8508
 
  $EGREP "free" >/dev/null 2>&1; then
8509
 
  :
 
8571
  $EGREP "free" >/dev/null 2>&1; then :
 
8572
  
8510
8573
else
8511
8574
  ac_cv_header_stdc=no
8512
8575
fi
8516
8579
 
8517
8580
if test $ac_cv_header_stdc = yes; then
8518
8581
  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
8519
 
  if test "$cross_compiling" = yes; then
 
8582
  if test "$cross_compiling" = yes; then :
8520
8583
  :
8521
8584
else
8522
 
  cat >conftest.$ac_ext <<_ACEOF
8523
 
/* confdefs.h.  */
8524
 
_ACEOF
8525
 
cat confdefs.h >>conftest.$ac_ext
8526
 
cat >>conftest.$ac_ext <<_ACEOF
 
8585
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8527
8586
/* end confdefs.h.  */
8528
8587
#include <ctype.h>
8529
8588
#include <stdlib.h>
8550
8609
  return 0;
8551
8610
}
8552
8611
_ACEOF
8553
 
rm -f conftest$ac_exeext
8554
 
if { (ac_try="$ac_link"
8555
 
case "(($ac_try" in
8556
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8557
 
  *) ac_try_echo=$ac_try;;
8558
 
esac
8559
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8560
 
  (eval "$ac_link") 2>&5
8561
 
  ac_status=$?
8562
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8563
 
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
8564
 
  { (case "(($ac_try" in
8565
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8566
 
  *) ac_try_echo=$ac_try;;
8567
 
esac
8568
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8569
 
  (eval "$ac_try") 2>&5
8570
 
  ac_status=$?
8571
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8572
 
  (exit $ac_status); }; }; then
8573
 
  :
 
8612
if ac_fn_c_try_run "$LINENO"; then :
 
8613
  
8574
8614
else
8575
 
  echo "$as_me: program exited with status $ac_status" >&5
8576
 
echo "$as_me: failed program was:" >&5
8577
 
sed 's/^/| /' conftest.$ac_ext >&5
8578
 
 
8579
 
( exit $ac_status )
8580
 
ac_cv_header_stdc=no
8581
 
fi
8582
 
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8583
 
fi
8584
 
 
8585
 
 
8586
 
fi
8587
 
fi
8588
 
{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
8589
 
echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
 
8615
  ac_cv_header_stdc=no
 
8616
fi
 
8617
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
 
8618
  conftest.$ac_objext conftest.beam conftest.$ac_ext
 
8619
fi
 
8620
 
 
8621
fi
 
8622
fi
 
8623
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
 
8624
$as_echo "$ac_cv_header_stdc" >&6; }
8590
8625
if test $ac_cv_header_stdc = yes; then
8591
8626
  
8592
 
cat >>confdefs.h <<\_ACEOF
8593
 
@%:@define STDC_HEADERS 1
8594
 
_ACEOF
 
8627
$as_echo "@%:@define STDC_HEADERS 1" >>confdefs.h
8595
8628
 
8596
8629
fi
8597
8630
 
8598
8631
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
8599
 
 
8600
 
 
8601
 
 
8602
 
 
8603
 
 
8604
 
 
8605
 
 
8606
 
 
8607
 
 
8608
8632
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
8609
8633
                  inttypes.h stdint.h unistd.h
8610
 
do
8611
 
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8612
 
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
8613
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8614
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8615
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
8616
 
else
8617
 
  cat >conftest.$ac_ext <<_ACEOF
8618
 
/* confdefs.h.  */
8619
 
_ACEOF
8620
 
cat confdefs.h >>conftest.$ac_ext
8621
 
cat >>conftest.$ac_ext <<_ACEOF
8622
 
/* end confdefs.h.  */
8623
 
$ac_includes_default
8624
 
 
8625
 
@%:@include <$ac_header>
8626
 
_ACEOF
8627
 
rm -f conftest.$ac_objext
8628
 
if { (ac_try="$ac_compile"
8629
 
case "(($ac_try" in
8630
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8631
 
  *) ac_try_echo=$ac_try;;
8632
 
esac
8633
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8634
 
  (eval "$ac_compile") 2>conftest.er1
8635
 
  ac_status=$?
8636
 
  grep -v '^ *+' conftest.er1 >conftest.err
8637
 
  rm -f conftest.er1
8638
 
  cat conftest.err >&5
8639
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8640
 
  (exit $ac_status); } && {
8641
 
         test -z "$ac_c_werror_flag" ||
8642
 
         test ! -s conftest.err
8643
 
       } && test -s conftest.$ac_objext; then
8644
 
  eval "$as_ac_Header=yes"
8645
 
else
8646
 
  echo "$as_me: failed program was:" >&5
8647
 
sed 's/^/| /' conftest.$ac_ext >&5
8648
 
 
8649
 
        eval "$as_ac_Header=no"
8650
 
fi
8651
 
 
8652
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8653
 
fi
8654
 
ac_res=`eval echo '${'$as_ac_Header'}'`
8655
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
8656
 
echo "${ECHO_T}$ac_res" >&6; }
8657
 
if test `eval echo '${'$as_ac_Header'}'` = yes; then
 
8634
do :
 
8635
  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
8636
ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
 
8637
"
 
8638
eval as_val=\$$as_ac_Header
 
8639
   if test "x$as_val" = x""yes; then :
8658
8640
  cat >>confdefs.h <<_ACEOF
8659
 
@%:@define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
8641
@%:@define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8660
8642
_ACEOF
8661
8643
 
8662
8644
fi
8664
8646
done
8665
8647
 
8666
8648
 
8667
 
 
8668
8649
for ac_header in dlfcn.h
8669
 
do
8670
 
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8671
 
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
8672
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8673
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8674
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
8675
 
else
8676
 
  cat >conftest.$ac_ext <<_ACEOF
8677
 
/* confdefs.h.  */
8678
 
_ACEOF
8679
 
cat confdefs.h >>conftest.$ac_ext
8680
 
cat >>conftest.$ac_ext <<_ACEOF
8681
 
/* end confdefs.h.  */
8682
 
$ac_includes_default
8683
 
 
8684
 
@%:@include <$ac_header>
8685
 
_ACEOF
8686
 
rm -f conftest.$ac_objext
8687
 
if { (ac_try="$ac_compile"
8688
 
case "(($ac_try" in
8689
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8690
 
  *) ac_try_echo=$ac_try;;
8691
 
esac
8692
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8693
 
  (eval "$ac_compile") 2>conftest.er1
8694
 
  ac_status=$?
8695
 
  grep -v '^ *+' conftest.er1 >conftest.err
8696
 
  rm -f conftest.er1
8697
 
  cat conftest.err >&5
8698
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8699
 
  (exit $ac_status); } && {
8700
 
         test -z "$ac_c_werror_flag" ||
8701
 
         test ! -s conftest.err
8702
 
       } && test -s conftest.$ac_objext; then
8703
 
  eval "$as_ac_Header=yes"
8704
 
else
8705
 
  echo "$as_me: failed program was:" >&5
8706
 
sed 's/^/| /' conftest.$ac_ext >&5
8707
 
 
8708
 
        eval "$as_ac_Header=no"
8709
 
fi
8710
 
 
8711
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8712
 
fi
8713
 
ac_res=`eval echo '${'$as_ac_Header'}'`
8714
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
8715
 
echo "${ECHO_T}$ac_res" >&6; }
8716
 
if test `eval echo '${'$as_ac_Header'}'` = yes; then
 
8650
do :
 
8651
  ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
 
8652
"
 
8653
if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
8717
8654
  cat >>confdefs.h <<_ACEOF
8718
 
@%:@define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
8655
@%:@define HAVE_DLFCN_H 1
8719
8656
_ACEOF
8720
8657
 
8721
8658
fi
8738
8675
  do
8739
8676
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
8740
8677
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
8741
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
8742
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8743
 
if test "${ac_cv_prog_CXX+set}" = set; then
8744
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
8678
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
8679
$as_echo_n "checking for $ac_word... " >&6; }
 
8680
if test "${ac_cv_prog_CXX+set}" = set; then :
 
8681
  $as_echo_n "(cached) " >&6
8745
8682
else
8746
8683
  if test -n "$CXX"; then
8747
8684
  ac_cv_prog_CXX="$CXX" # Let the user override the test.
8751
8688
do
8752
8689
  IFS=$as_save_IFS
8753
8690
  test -z "$as_dir" && as_dir=.
8754
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
8691
    for ac_exec_ext in '' $ac_executable_extensions; do
8755
8692
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8756
8693
    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
8757
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
8694
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8758
8695
    break 2
8759
8696
  fi
8760
8697
done
8761
 
done
 
8698
  done
8762
8699
IFS=$as_save_IFS
8763
8700
 
8764
8701
fi
8765
8702
fi
8766
8703
CXX=$ac_cv_prog_CXX
8767
8704
if test -n "$CXX"; then
8768
 
  { echo "$as_me:$LINENO: result: $CXX" >&5
8769
 
echo "${ECHO_T}$CXX" >&6; }
 
8705
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
 
8706
$as_echo "$CXX" >&6; }
8770
8707
else
8771
 
  { echo "$as_me:$LINENO: result: no" >&5
8772
 
echo "${ECHO_T}no" >&6; }
 
8708
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
8709
$as_echo "no" >&6; }
8773
8710
fi
8774
8711
 
8775
8712
 
8782
8719
do
8783
8720
  # Extract the first word of "$ac_prog", so it can be a program name with args.
8784
8721
set dummy $ac_prog; ac_word=$2
8785
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
8786
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8787
 
if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
8788
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
8722
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
8723
$as_echo_n "checking for $ac_word... " >&6; }
 
8724
if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
 
8725
  $as_echo_n "(cached) " >&6
8789
8726
else
8790
8727
  if test -n "$ac_ct_CXX"; then
8791
8728
  ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
8795
8732
do
8796
8733
  IFS=$as_save_IFS
8797
8734
  test -z "$as_dir" && as_dir=.
8798
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
8735
    for ac_exec_ext in '' $ac_executable_extensions; do
8799
8736
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8800
8737
    ac_cv_prog_ac_ct_CXX="$ac_prog"
8801
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
8738
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8802
8739
    break 2
8803
8740
  fi
8804
8741
done
8805
 
done
 
8742
  done
8806
8743
IFS=$as_save_IFS
8807
8744
 
8808
8745
fi
8809
8746
fi
8810
8747
ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
8811
8748
if test -n "$ac_ct_CXX"; then
8812
 
  { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
8813
 
echo "${ECHO_T}$ac_ct_CXX" >&6; }
 
8749
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
 
8750
$as_echo "$ac_ct_CXX" >&6; }
8814
8751
else
8815
 
  { echo "$as_me:$LINENO: result: no" >&5
8816
 
echo "${ECHO_T}no" >&6; }
 
8752
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
8753
$as_echo "no" >&6; }
8817
8754
fi
8818
8755
 
8819
8756
 
8825
8762
  else
8826
8763
    case $cross_compiling:$ac_tool_warned in
8827
8764
yes:)
8828
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
8829
 
whose name does not start with the host triplet.  If you think this
8830
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
8831
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
8832
 
whose name does not start with the host triplet.  If you think this
8833
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
8765
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
8766
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8834
8767
ac_tool_warned=yes ;;
8835
8768
esac
8836
8769
    CXX=$ac_ct_CXX
8840
8773
  fi
8841
8774
fi
8842
8775
# Provide some information about the compiler.
8843
 
echo "$as_me:$LINENO: checking for C++ compiler version" >&5
8844
 
ac_compiler=`set X $ac_compile; echo $2`
8845
 
{ (ac_try="$ac_compiler --version >&5"
8846
 
case "(($ac_try" in
8847
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8848
 
  *) ac_try_echo=$ac_try;;
8849
 
esac
8850
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8851
 
  (eval "$ac_compiler --version >&5") 2>&5
8852
 
  ac_status=$?
8853
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8854
 
  (exit $ac_status); }
8855
 
{ (ac_try="$ac_compiler -v >&5"
8856
 
case "(($ac_try" in
8857
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8858
 
  *) ac_try_echo=$ac_try;;
8859
 
esac
8860
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8861
 
  (eval "$ac_compiler -v >&5") 2>&5
8862
 
  ac_status=$?
8863
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8864
 
  (exit $ac_status); }
8865
 
{ (ac_try="$ac_compiler -V >&5"
8866
 
case "(($ac_try" in
8867
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8868
 
  *) ac_try_echo=$ac_try;;
8869
 
esac
8870
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8871
 
  (eval "$ac_compiler -V >&5") 2>&5
8872
 
  ac_status=$?
8873
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8874
 
  (exit $ac_status); }
 
8776
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
 
8777
set X $ac_compile
 
8778
ac_compiler=$2
 
8779
for ac_option in --version -v -V -qversion; do
 
8780
  { { ac_try="$ac_compiler $ac_option >&5"
 
8781
case "(($ac_try" in
 
8782
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
8783
  *) ac_try_echo=$ac_try;;
 
8784
esac
 
8785
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
8786
$as_echo "$ac_try_echo"; } >&5
 
8787
  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
 
8788
  ac_status=$?
 
8789
  if test -s conftest.err; then
 
8790
    sed '10a\
 
8791
... rest of stderr output deleted ...
 
8792
         10q' conftest.err >conftest.er1
 
8793
    cat conftest.er1 >&5
 
8794
  fi
 
8795
  rm -f conftest.er1 conftest.err
 
8796
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
8797
  test $ac_status = 0; }
 
8798
done
8875
8799
 
8876
 
{ echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
8877
 
echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
8878
 
if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
8879
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
8800
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
 
8801
$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
 
8802
if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
 
8803
  $as_echo_n "(cached) " >&6
8880
8804
else
8881
 
  cat >conftest.$ac_ext <<_ACEOF
8882
 
/* confdefs.h.  */
8883
 
_ACEOF
8884
 
cat confdefs.h >>conftest.$ac_ext
8885
 
cat >>conftest.$ac_ext <<_ACEOF
 
8805
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8886
8806
/* end confdefs.h.  */
8887
8807
 
8888
8808
int
8896
8816
  return 0;
8897
8817
}
8898
8818
_ACEOF
8899
 
rm -f conftest.$ac_objext
8900
 
if { (ac_try="$ac_compile"
8901
 
case "(($ac_try" in
8902
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8903
 
  *) ac_try_echo=$ac_try;;
8904
 
esac
8905
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8906
 
  (eval "$ac_compile") 2>conftest.er1
8907
 
  ac_status=$?
8908
 
  grep -v '^ *+' conftest.er1 >conftest.err
8909
 
  rm -f conftest.er1
8910
 
  cat conftest.err >&5
8911
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8912
 
  (exit $ac_status); } && {
8913
 
         test -z "$ac_cxx_werror_flag" ||
8914
 
         test ! -s conftest.err
8915
 
       } && test -s conftest.$ac_objext; then
 
8819
if ac_fn_cxx_try_compile "$LINENO"; then :
8916
8820
  ac_compiler_gnu=yes
8917
8821
else
8918
 
  echo "$as_me: failed program was:" >&5
8919
 
sed 's/^/| /' conftest.$ac_ext >&5
8920
 
 
8921
 
        ac_compiler_gnu=no
 
8822
  ac_compiler_gnu=no
8922
8823
fi
8923
 
 
8924
8824
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8925
8825
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
8926
8826
 
8927
8827
fi
8928
 
{ echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
8929
 
echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
8930
 
GXX=`test $ac_compiler_gnu = yes && echo yes`
 
8828
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
 
8829
$as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
 
8830
if test $ac_compiler_gnu = yes; then
 
8831
  GXX=yes
 
8832
else
 
8833
  GXX=
 
8834
fi
8931
8835
ac_test_CXXFLAGS=${CXXFLAGS+set}
8932
8836
ac_save_CXXFLAGS=$CXXFLAGS
8933
 
{ echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
8934
 
echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
8935
 
if test "${ac_cv_prog_cxx_g+set}" = set; then
8936
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
8837
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
 
8838
$as_echo_n "checking whether $CXX accepts -g... " >&6; }
 
8839
if test "${ac_cv_prog_cxx_g+set}" = set; then :
 
8840
  $as_echo_n "(cached) " >&6
8937
8841
else
8938
8842
  ac_save_cxx_werror_flag=$ac_cxx_werror_flag
8939
8843
   ac_cxx_werror_flag=yes
8940
8844
   ac_cv_prog_cxx_g=no
8941
8845
   CXXFLAGS="-g"
8942
 
   cat >conftest.$ac_ext <<_ACEOF
8943
 
/* confdefs.h.  */
8944
 
_ACEOF
8945
 
cat confdefs.h >>conftest.$ac_ext
8946
 
cat >>conftest.$ac_ext <<_ACEOF
 
8846
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8947
8847
/* end confdefs.h.  */
8948
8848
 
8949
8849
int
8954
8854
  return 0;
8955
8855
}
8956
8856
_ACEOF
8957
 
rm -f conftest.$ac_objext
8958
 
if { (ac_try="$ac_compile"
8959
 
case "(($ac_try" in
8960
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8961
 
  *) ac_try_echo=$ac_try;;
8962
 
esac
8963
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8964
 
  (eval "$ac_compile") 2>conftest.er1
8965
 
  ac_status=$?
8966
 
  grep -v '^ *+' conftest.er1 >conftest.err
8967
 
  rm -f conftest.er1
8968
 
  cat conftest.err >&5
8969
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8970
 
  (exit $ac_status); } && {
8971
 
         test -z "$ac_cxx_werror_flag" ||
8972
 
         test ! -s conftest.err
8973
 
       } && test -s conftest.$ac_objext; then
 
8857
if ac_fn_cxx_try_compile "$LINENO"; then :
8974
8858
  ac_cv_prog_cxx_g=yes
8975
8859
else
8976
 
  echo "$as_me: failed program was:" >&5
8977
 
sed 's/^/| /' conftest.$ac_ext >&5
8978
 
 
8979
 
        CXXFLAGS=""
8980
 
      cat >conftest.$ac_ext <<_ACEOF
8981
 
/* confdefs.h.  */
8982
 
_ACEOF
8983
 
cat confdefs.h >>conftest.$ac_ext
8984
 
cat >>conftest.$ac_ext <<_ACEOF
 
8860
  CXXFLAGS=""
 
8861
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8985
8862
/* end confdefs.h.  */
8986
8863
 
8987
8864
int
8992
8869
  return 0;
8993
8870
}
8994
8871
_ACEOF
8995
 
rm -f conftest.$ac_objext
8996
 
if { (ac_try="$ac_compile"
8997
 
case "(($ac_try" in
8998
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8999
 
  *) ac_try_echo=$ac_try;;
9000
 
esac
9001
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9002
 
  (eval "$ac_compile") 2>conftest.er1
9003
 
  ac_status=$?
9004
 
  grep -v '^ *+' conftest.er1 >conftest.err
9005
 
  rm -f conftest.er1
9006
 
  cat conftest.err >&5
9007
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9008
 
  (exit $ac_status); } && {
9009
 
         test -z "$ac_cxx_werror_flag" ||
9010
 
         test ! -s conftest.err
9011
 
       } && test -s conftest.$ac_objext; then
9012
 
  :
 
8872
if ac_fn_cxx_try_compile "$LINENO"; then :
 
8873
  
9013
8874
else
9014
 
  echo "$as_me: failed program was:" >&5
9015
 
sed 's/^/| /' conftest.$ac_ext >&5
9016
 
 
9017
 
        ac_cxx_werror_flag=$ac_save_cxx_werror_flag
 
8875
  ac_cxx_werror_flag=$ac_save_cxx_werror_flag
9018
8876
         CXXFLAGS="-g"
9019
 
         cat >conftest.$ac_ext <<_ACEOF
9020
 
/* confdefs.h.  */
9021
 
_ACEOF
9022
 
cat confdefs.h >>conftest.$ac_ext
9023
 
cat >>conftest.$ac_ext <<_ACEOF
 
8877
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9024
8878
/* end confdefs.h.  */
9025
8879
 
9026
8880
int
9031
8885
  return 0;
9032
8886
}
9033
8887
_ACEOF
9034
 
rm -f conftest.$ac_objext
9035
 
if { (ac_try="$ac_compile"
9036
 
case "(($ac_try" in
9037
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9038
 
  *) ac_try_echo=$ac_try;;
9039
 
esac
9040
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9041
 
  (eval "$ac_compile") 2>conftest.er1
9042
 
  ac_status=$?
9043
 
  grep -v '^ *+' conftest.er1 >conftest.err
9044
 
  rm -f conftest.er1
9045
 
  cat conftest.err >&5
9046
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9047
 
  (exit $ac_status); } && {
9048
 
         test -z "$ac_cxx_werror_flag" ||
9049
 
         test ! -s conftest.err
9050
 
       } && test -s conftest.$ac_objext; then
 
8888
if ac_fn_cxx_try_compile "$LINENO"; then :
9051
8889
  ac_cv_prog_cxx_g=yes
9052
 
else
9053
 
  echo "$as_me: failed program was:" >&5
9054
 
sed 's/^/| /' conftest.$ac_ext >&5
9055
 
 
9056
 
        
9057
 
fi
9058
 
 
9059
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9060
 
fi
9061
 
 
9062
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9063
 
fi
9064
 
 
 
8890
fi
 
8891
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
8892
fi
 
8893
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
8894
fi
9065
8895
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9066
8896
   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
9067
8897
fi
9068
 
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
9069
 
echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
 
8898
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
 
8899
$as_echo "$ac_cv_prog_cxx_g" >&6; }
9070
8900
if test "$ac_test_CXXFLAGS" = set; then
9071
8901
  CXXFLAGS=$ac_save_CXXFLAGS
9072
8902
elif test $ac_cv_prog_cxx_g = yes; then
9090
8920
 
9091
8921
depcc="$CXX"  am_compiler_list=
9092
8922
 
9093
 
{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
9094
 
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
9095
 
if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
9096
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
8923
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
 
8924
$as_echo_n "checking dependency style of $depcc... " >&6; }
 
8925
if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then :
 
8926
  $as_echo_n "(cached) " >&6
9097
8927
else
9098
8928
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
9099
8929
  # We make a subdir and do the tests there.  Otherwise we can end up
9118
8948
  if test "$am_compiler_list" = ""; then
9119
8949
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
9120
8950
  fi
 
8951
  am__universal=false
 
8952
  case " $depcc " in #(
 
8953
     *\ -arch\ *\ -arch\ *) am__universal=true ;;
 
8954
     esac
 
8955
 
9121
8956
  for depmode in $am_compiler_list; do
9122
8957
    # Setup a source with many dependencies, because some compilers
9123
8958
    # like to wrap large dependency lists on column 80 (with \), and
9135
8970
    done
9136
8971
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
9137
8972
 
 
8973
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
 
8974
    # mode.  It turns out that the SunPro C++ compiler does not properly
 
8975
    # handle `-M -o', and we need to detect this.  Also, some Intel
 
8976
    # versions had trouble with output in subdirs
 
8977
    am__obj=sub/conftest.${OBJEXT-o}
 
8978
    am__minus_obj="-o $am__obj"
9138
8979
    case $depmode in
 
8980
    gcc)
 
8981
      # This depmode causes a compiler race in universal mode.
 
8982
      test "$am__universal" = false || continue
 
8983
      ;;
9139
8984
    nosideeffect)
9140
8985
      # after this tag, mechanisms are not by side-effect, so they'll
9141
8986
      # only be used when explicitly requested
9145
8990
        break
9146
8991
      fi
9147
8992
      ;;
 
8993
    msvisualcpp | msvcmsys)
 
8994
      # This compiler won't grok `-c -o', but also, the minuso test has
 
8995
      # not run yet.  These depmodes are late enough in the game, and
 
8996
      # so weak that their functioning should not be impacted.
 
8997
      am__obj=conftest.${OBJEXT-o}
 
8998
      am__minus_obj=
 
8999
      ;;
9148
9000
    none) break ;;
9149
9001
    esac
9150
 
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
9151
 
    # mode.  It turns out that the SunPro C++ compiler does not properly
9152
 
    # handle `-M -o', and we need to detect this.
9153
9002
    if depmode=$depmode \
9154
 
       source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
 
9003
       source=sub/conftest.c object=$am__obj \
9155
9004
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
9156
 
       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
 
9005
       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
9157
9006
         >/dev/null 2>conftest.err &&
9158
9007
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
9159
9008
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
9160
 
       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
 
9009
       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
9161
9010
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
9162
9011
      # icc doesn't choke on unknown options, it will just issue warnings
9163
9012
      # or remarks (even with -Werror).  So we grep stderr for any message
9181
9030
fi
9182
9031
 
9183
9032
fi
9184
 
{ echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
9185
 
echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6; }
 
9033
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
 
9034
$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
9186
9035
CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
9187
9036
 
9188
9037
 if 
9204
9053
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9205
9054
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9206
9055
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9207
 
{ echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
9208
 
echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }
 
9056
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
 
9057
$as_echo_n "checking how to run the C++ preprocessor... " >&6; }
9209
9058
if test -z "$CXXCPP"; then
9210
 
  if test "${ac_cv_prog_CXXCPP+set}" = set; then
9211
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
9059
  if test "${ac_cv_prog_CXXCPP+set}" = set; then :
 
9060
  $as_echo_n "(cached) " >&6
9212
9061
else
9213
9062
      # Double quotes because CXXCPP needs to be expanded
9214
9063
    for CXXCPP in "$CXX -E" "/lib/cpp"
9222
9071
  # <limits.h> exists even on freestanding compilers.
9223
9072
  # On the NeXT, cc -E runs the code through the compiler's parser,
9224
9073
  # not just through cpp. "Syntax error" is here to catch this case.
9225
 
  cat >conftest.$ac_ext <<_ACEOF
9226
 
/* confdefs.h.  */
9227
 
_ACEOF
9228
 
cat confdefs.h >>conftest.$ac_ext
9229
 
cat >>conftest.$ac_ext <<_ACEOF
 
9074
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9230
9075
/* end confdefs.h.  */
9231
9076
@%:@ifdef __STDC__
9232
9077
@%:@ include <limits.h>
9235
9080
@%:@endif
9236
9081
                     Syntax error
9237
9082
_ACEOF
9238
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
9239
 
case "(($ac_try" in
9240
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9241
 
  *) ac_try_echo=$ac_try;;
9242
 
esac
9243
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9244
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
9245
 
  ac_status=$?
9246
 
  grep -v '^ *+' conftest.er1 >conftest.err
9247
 
  rm -f conftest.er1
9248
 
  cat conftest.err >&5
9249
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9250
 
  (exit $ac_status); } >/dev/null && {
9251
 
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
9252
 
         test ! -s conftest.err
9253
 
       }; then
9254
 
  :
 
9083
if ac_fn_cxx_try_cpp "$LINENO"; then :
 
9084
  
9255
9085
else
9256
 
  echo "$as_me: failed program was:" >&5
9257
 
sed 's/^/| /' conftest.$ac_ext >&5
9258
 
 
9259
9086
  # Broken: fails on valid input.
9260
9087
continue
9261
9088
fi
9262
 
 
9263
9089
rm -f conftest.err conftest.$ac_ext
9264
9090
 
9265
9091
  # OK, works on sane cases.  Now check whether nonexistent headers
9266
9092
  # can be detected and how.
9267
 
  cat >conftest.$ac_ext <<_ACEOF
9268
 
/* confdefs.h.  */
9269
 
_ACEOF
9270
 
cat confdefs.h >>conftest.$ac_ext
9271
 
cat >>conftest.$ac_ext <<_ACEOF
 
9093
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9272
9094
/* end confdefs.h.  */
9273
9095
@%:@include <ac_nonexistent.h>
9274
9096
_ACEOF
9275
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
9276
 
case "(($ac_try" in
9277
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9278
 
  *) ac_try_echo=$ac_try;;
9279
 
esac
9280
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9281
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
9282
 
  ac_status=$?
9283
 
  grep -v '^ *+' conftest.er1 >conftest.err
9284
 
  rm -f conftest.er1
9285
 
  cat conftest.err >&5
9286
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9287
 
  (exit $ac_status); } >/dev/null && {
9288
 
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
9289
 
         test ! -s conftest.err
9290
 
       }; then
 
9097
if ac_fn_cxx_try_cpp "$LINENO"; then :
9291
9098
  # Broken: success on invalid input.
9292
9099
continue
9293
9100
else
9294
 
  echo "$as_me: failed program was:" >&5
9295
 
sed 's/^/| /' conftest.$ac_ext >&5
9296
 
 
9297
9101
  # Passes both tests.
9298
9102
ac_preproc_ok=:
9299
9103
break
9300
9104
fi
9301
 
 
9302
9105
rm -f conftest.err conftest.$ac_ext
9303
9106
 
9304
9107
done
9305
9108
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
9306
9109
rm -f conftest.err conftest.$ac_ext
9307
 
if $ac_preproc_ok; then
 
9110
if $ac_preproc_ok; then :
9308
9111
  break
9309
9112
fi
9310
9113
 
9316
9119
else
9317
9120
  ac_cv_prog_CXXCPP=$CXXCPP
9318
9121
fi
9319
 
{ echo "$as_me:$LINENO: result: $CXXCPP" >&5
9320
 
echo "${ECHO_T}$CXXCPP" >&6; }
 
9122
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
 
9123
$as_echo "$CXXCPP" >&6; }
9321
9124
ac_preproc_ok=false
9322
9125
for ac_cxx_preproc_warn_flag in '' yes
9323
9126
do
9327
9130
  # <limits.h> exists even on freestanding compilers.
9328
9131
  # On the NeXT, cc -E runs the code through the compiler's parser,
9329
9132
  # not just through cpp. "Syntax error" is here to catch this case.
9330
 
  cat >conftest.$ac_ext <<_ACEOF
9331
 
/* confdefs.h.  */
9332
 
_ACEOF
9333
 
cat confdefs.h >>conftest.$ac_ext
9334
 
cat >>conftest.$ac_ext <<_ACEOF
 
9133
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9335
9134
/* end confdefs.h.  */
9336
9135
@%:@ifdef __STDC__
9337
9136
@%:@ include <limits.h>
9340
9139
@%:@endif
9341
9140
                     Syntax error
9342
9141
_ACEOF
9343
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
9344
 
case "(($ac_try" in
9345
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9346
 
  *) ac_try_echo=$ac_try;;
9347
 
esac
9348
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9349
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
9350
 
  ac_status=$?
9351
 
  grep -v '^ *+' conftest.er1 >conftest.err
9352
 
  rm -f conftest.er1
9353
 
  cat conftest.err >&5
9354
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9355
 
  (exit $ac_status); } >/dev/null && {
9356
 
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
9357
 
         test ! -s conftest.err
9358
 
       }; then
9359
 
  :
 
9142
if ac_fn_cxx_try_cpp "$LINENO"; then :
 
9143
  
9360
9144
else
9361
 
  echo "$as_me: failed program was:" >&5
9362
 
sed 's/^/| /' conftest.$ac_ext >&5
9363
 
 
9364
9145
  # Broken: fails on valid input.
9365
9146
continue
9366
9147
fi
9367
 
 
9368
9148
rm -f conftest.err conftest.$ac_ext
9369
9149
 
9370
9150
  # OK, works on sane cases.  Now check whether nonexistent headers
9371
9151
  # can be detected and how.
9372
 
  cat >conftest.$ac_ext <<_ACEOF
9373
 
/* confdefs.h.  */
9374
 
_ACEOF
9375
 
cat confdefs.h >>conftest.$ac_ext
9376
 
cat >>conftest.$ac_ext <<_ACEOF
 
9152
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9377
9153
/* end confdefs.h.  */
9378
9154
@%:@include <ac_nonexistent.h>
9379
9155
_ACEOF
9380
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
9381
 
case "(($ac_try" in
9382
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9383
 
  *) ac_try_echo=$ac_try;;
9384
 
esac
9385
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9386
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
9387
 
  ac_status=$?
9388
 
  grep -v '^ *+' conftest.er1 >conftest.err
9389
 
  rm -f conftest.er1
9390
 
  cat conftest.err >&5
9391
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9392
 
  (exit $ac_status); } >/dev/null && {
9393
 
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
9394
 
         test ! -s conftest.err
9395
 
       }; then
 
9156
if ac_fn_cxx_try_cpp "$LINENO"; then :
9396
9157
  # Broken: success on invalid input.
9397
9158
continue
9398
9159
else
9399
 
  echo "$as_me: failed program was:" >&5
9400
 
sed 's/^/| /' conftest.$ac_ext >&5
9401
 
 
9402
9160
  # Passes both tests.
9403
9161
ac_preproc_ok=:
9404
9162
break
9405
9163
fi
9406
 
 
9407
9164
rm -f conftest.err conftest.$ac_ext
9408
9165
 
9409
9166
done
9410
9167
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
9411
9168
rm -f conftest.err conftest.$ac_ext
9412
 
if $ac_preproc_ok; then
9413
 
  :
 
9169
if $ac_preproc_ok; then :
 
9170
  
9414
9171
else
9415
 
  _lt_caught_CXX_error=yes
 
9172
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
9173
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
9174
_lt_caught_CXX_error=yes; }
9416
9175
fi
9417
9176
 
9418
9177
ac_ext=c
9439
9198
  enable_win32_dll=no
9440
9199
  
9441
9200
 
9442
 
            # Check whether --enable-shared was given.
9443
 
if test "${enable_shared+set}" = set; then
 
9201
            @%:@ Check whether --enable-shared was given.
 
9202
if test "${enable_shared+set}" = set; then :
9444
9203
  enableval=$enable_shared; p=${PACKAGE-default}
9445
9204
    case $enableval in
9446
9205
    yes) enable_shared=yes ;;
9470
9229
 
9471
9230
 
9472
9231
 
9473
 
  # Check whether --enable-static was given.
9474
 
if test "${enable_static+set}" = set; then
 
9232
  @%:@ Check whether --enable-static was given.
 
9233
if test "${enable_static+set}" = set; then :
9475
9234
  enableval=$enable_static; p=${PACKAGE-default}
9476
9235
    case $enableval in
9477
9236
    yes) enable_static=yes ;;
9502
9261
 
9503
9262
 
9504
9263
  
9505
 
# Check whether --with-pic was given.
9506
 
if test "${with_pic+set}" = set; then
 
9264
@%:@ Check whether --with-pic was given.
 
9265
if test "${with_pic+set}" = set; then :
9507
9266
  withval=$with_pic; pic_mode="$withval"
9508
9267
else
9509
9268
  pic_mode=default
9518
9277
    
9519
9278
 
9520
9279
 
9521
 
  # Check whether --enable-fast-install was given.
9522
 
if test "${enable_fast_install+set}" = set; then
 
9280
  @%:@ Check whether --enable-fast-install was given.
 
9281
if test "${enable_fast_install+set}" = set; then :
9523
9282
  enableval=$enable_fast_install; p=${PACKAGE-default}
9524
9283
    case $enableval in
9525
9284
    yes) enable_fast_install=yes ;;
9600
9359
   setopt NO_GLOB_SUBST
9601
9360
fi
9602
9361
 
9603
 
{ echo "$as_me:$LINENO: checking for objdir" >&5
9604
 
echo $ECHO_N "checking for objdir... $ECHO_C" >&6; }
9605
 
if test "${lt_cv_objdir+set}" = set; then
9606
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
9362
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
 
9363
$as_echo_n "checking for objdir... " >&6; }
 
9364
if test "${lt_cv_objdir+set}" = set; then :
 
9365
  $as_echo_n "(cached) " >&6
9607
9366
else
9608
9367
  rm -f .libs 2>/dev/null
9609
9368
mkdir .libs 2>/dev/null
9615
9374
fi
9616
9375
rmdir .libs 2>/dev/null
9617
9376
fi
9618
 
{ echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
9619
 
echo "${ECHO_T}$lt_cv_objdir" >&6; }
 
9377
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
 
9378
$as_echo "$lt_cv_objdir" >&6; }
9620
9379
objdir=$lt_cv_objdir
9621
9380
 
9622
9381
    
9708
9467
case $deplibs_check_method in
9709
9468
file_magic*)
9710
9469
  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
9711
 
    { echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
9712
 
echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6; }
9713
 
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
9714
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
9470
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
 
9471
$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
 
9472
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
 
9473
  $as_echo_n "(cached) " >&6
9715
9474
else
9716
9475
  case $MAGIC_CMD in
9717
9476
[\\/*] |  ?:[\\/]*)
9761
9520
 
9762
9521
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9763
9522
if test -n "$MAGIC_CMD"; then
9764
 
  { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
9765
 
echo "${ECHO_T}$MAGIC_CMD" >&6; }
 
9523
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
 
9524
$as_echo "$MAGIC_CMD" >&6; }
9766
9525
else
9767
 
  { echo "$as_me:$LINENO: result: no" >&5
9768
 
echo "${ECHO_T}no" >&6; }
 
9526
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
9527
$as_echo "no" >&6; }
9769
9528
fi
9770
9529
 
9771
9530
    
9774
9533
 
9775
9534
if test -z "$lt_cv_path_MAGIC_CMD"; then
9776
9535
  if test -n "$ac_tool_prefix"; then
9777
 
    { echo "$as_me:$LINENO: checking for file" >&5
9778
 
echo $ECHO_N "checking for file... $ECHO_C" >&6; }
9779
 
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
9780
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
9536
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
 
9537
$as_echo_n "checking for file... " >&6; }
 
9538
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
 
9539
  $as_echo_n "(cached) " >&6
9781
9540
else
9782
9541
  case $MAGIC_CMD in
9783
9542
[\\/*] |  ?:[\\/]*)
9827
9586
 
9828
9587
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9829
9588
if test -n "$MAGIC_CMD"; then
9830
 
  { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
9831
 
echo "${ECHO_T}$MAGIC_CMD" >&6; }
 
9589
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
 
9590
$as_echo "$MAGIC_CMD" >&6; }
9832
9591
else
9833
 
  { echo "$as_me:$LINENO: result: no" >&5
9834
 
echo "${ECHO_T}no" >&6; }
 
9592
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
9593
$as_echo "no" >&6; }
9835
9594
fi
9836
9595
 
9837
9596
 
9911
9670
if test "$GCC" = yes; then
9912
9671
  lt_prog_compiler_no_builtin_flag=' -fno-builtin'
9913
9672
 
9914
 
  { echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
9915
 
echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
9916
 
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
9917
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
9673
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
 
9674
$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
 
9675
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
 
9676
  $as_echo_n "(cached) " >&6
9918
9677
else
9919
9678
  lt_cv_prog_compiler_rtti_exceptions=no
9920
9679
   ac_outfile=conftest.$ac_objext
9946
9705
   $RM conftest*
9947
9706
 
9948
9707
fi
9949
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
9950
 
echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
 
9708
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
 
9709
$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9951
9710
 
9952
9711
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
9953
9712
    lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9966
9725
lt_prog_compiler_pic=
9967
9726
lt_prog_compiler_static=
9968
9727
 
9969
 
{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
9970
 
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
 
9728
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
 
9729
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9971
9730
 
9972
9731
  if test "$GCC" = yes; then
9973
9732
    lt_prog_compiler_wl='-Wl,'
10001
9760
      # PIC is the default for these OSes.
10002
9761
      ;;
10003
9762
 
10004
 
    mingw* | cygwin* | pw32* | os2*)
 
9763
    mingw* | cygwin* | pw32* | os2* | cegcc*)
10005
9764
      # This hack is so that the source file can tell whether it is being
10006
9765
      # built for inclusion in a dll (and should export symbols for example).
10007
9766
      # Although the cygwin gcc ignores -fPIC, still need this for old-style
10016
9775
      ;;
10017
9776
 
10018
9777
    hpux*)
10019
 
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
10020
 
      # not for PA HP-UX.
 
9778
      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
 
9779
      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
 
9780
      # sets the default TLS model and affects inlining.
10021
9781
      case $host_cpu in
10022
 
      hppa*64*|ia64*)
 
9782
      hppa*64*)
10023
9783
        # +Z the default
10024
9784
        ;;
10025
9785
      *)
10069
9829
      fi
10070
9830
      ;;
10071
9831
 
10072
 
    mingw* | cygwin* | pw32* | os2*)
 
9832
    mingw* | cygwin* | pw32* | os2* | cegcc*)
10073
9833
      # This hack is so that the source file can tell whether it is being
10074
9834
      # built for inclusion in a dll (and should export symbols for example).
10075
9835
      lt_prog_compiler_pic='-DDLL_EXPORT'
10097
9857
      lt_prog_compiler_static='-non_shared'
10098
9858
      ;;
10099
9859
 
10100
 
    linux* | k*bsd*-gnu)
 
9860
    linux* | k*bsd*-gnu | kopensolaris*-gnu)
10101
9861
      case $cc_basename in
10102
 
      icc* | ecc* | ifort*)
 
9862
      # old Intel for x86_64 which still supported -KPIC.
 
9863
      ecc*)
10103
9864
        lt_prog_compiler_wl='-Wl,'
10104
9865
        lt_prog_compiler_pic='-KPIC'
10105
9866
        lt_prog_compiler_static='-static'
10106
9867
        ;;
 
9868
      # icc used to be incompatible with GCC.
 
9869
      # ICC 10 doesn't accept -KPIC any more.
 
9870
      icc* | ifort*)
 
9871
        lt_prog_compiler_wl='-Wl,'
 
9872
        lt_prog_compiler_pic='-fPIC'
 
9873
        lt_prog_compiler_static='-static'
 
9874
        ;;
 
9875
      # Lahey Fortran 8.1.
 
9876
      lf95*)
 
9877
        lt_prog_compiler_wl='-Wl,'
 
9878
        lt_prog_compiler_pic='--shared'
 
9879
        lt_prog_compiler_static='--static'
 
9880
        ;;
10107
9881
      pgcc* | pgf77* | pgf90* | pgf95*)
10108
9882
        # Portland Group compilers (*not* the Pentium gcc compiler,
10109
9883
        # which looks to be a dead project)
10223
9997
    lt_prog_compiler_pic="$lt_prog_compiler_pic@&t@ -DPIC"
10224
9998
    ;;
10225
9999
esac
10226
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
10227
 
echo "${ECHO_T}$lt_prog_compiler_pic" >&6; }
 
10000
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
 
10001
$as_echo "$lt_prog_compiler_pic" >&6; }
10228
10002
 
10229
10003
    
10230
10004
    
10235
10009
# Check to make sure the PIC flag actually works.
10236
10010
#
10237
10011
if test -n "$lt_prog_compiler_pic"; then
10238
 
  { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
10239
 
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6; }
10240
 
if test "${lt_cv_prog_compiler_pic_works+set}" = set; then
10241
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
10012
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
 
10013
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
 
10014
if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
 
10015
  $as_echo_n "(cached) " >&6
10242
10016
else
10243
10017
  lt_cv_prog_compiler_pic_works=no
10244
10018
   ac_outfile=conftest.$ac_objext
10270
10044
   $RM conftest*
10271
10045
 
10272
10046
fi
10273
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5
10274
 
echo "${ECHO_T}$lt_cv_prog_compiler_pic_works" >&6; }
 
10047
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
 
10048
$as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
10275
10049
 
10276
10050
if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
10277
10051
    case $lt_prog_compiler_pic in
10294
10068
# Check to make sure the static flag actually works.
10295
10069
#
10296
10070
wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
10297
 
{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
10298
 
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
10299
 
if test "${lt_cv_prog_compiler_static_works+set}" = set; then
10300
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
10071
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
 
10072
$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
 
10073
if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
 
10074
  $as_echo_n "(cached) " >&6
10301
10075
else
10302
10076
  lt_cv_prog_compiler_static_works=no
10303
10077
   save_LDFLAGS="$LDFLAGS"
10322
10096
   LDFLAGS="$save_LDFLAGS"
10323
10097
 
10324
10098
fi
10325
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5
10326
 
echo "${ECHO_T}$lt_cv_prog_compiler_static_works" >&6; }
 
10099
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
 
10100
$as_echo "$lt_cv_prog_compiler_static_works" >&6; }
10327
10101
 
10328
10102
if test x"$lt_cv_prog_compiler_static_works" = xyes; then
10329
10103
    :
10337
10111
    
10338
10112
 
10339
10113
 
10340
 
  { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
10341
 
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
10342
 
if test "${lt_cv_prog_compiler_c_o+set}" = set; then
10343
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
10344
 
else
10345
 
  lt_cv_prog_compiler_c_o=no
10346
 
   $RM -r conftest 2>/dev/null
10347
 
   mkdir conftest
10348
 
   cd conftest
10349
 
   mkdir out
10350
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10351
 
 
10352
 
   lt_compiler_flag="-o out/conftest2.$ac_objext"
10353
 
   # Insert the option either (1) after the last *FLAGS variable, or
10354
 
   # (2) before a word containing "conftest.", or (3) at the end.
10355
 
   # Note that $ac_compile itself does not contain backslashes and begins
10356
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
10357
 
   lt_compile=`echo "$ac_compile" | $SED \
10358
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10359
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10360
 
   -e 's:$: $lt_compiler_flag:'`
10361
 
   (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
10362
 
   (eval "$lt_compile" 2>out/conftest.err)
10363
 
   ac_status=$?
10364
 
   cat out/conftest.err >&5
10365
 
   echo "$as_me:__oline__: \$? = $ac_status" >&5
10366
 
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
10367
 
   then
10368
 
     # The compiler can only warn and ignore the option if not recognized
10369
 
     # So say no if there are warnings
10370
 
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
10371
 
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
10372
 
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
10373
 
       lt_cv_prog_compiler_c_o=yes
10374
 
     fi
10375
 
   fi
10376
 
   chmod u+w . 2>&5
10377
 
   $RM conftest*
10378
 
   # SGI C++ compiler will create directory out/ii_files/ for
10379
 
   # template instantiation
10380
 
   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
10381
 
   $RM out/* && rmdir out
10382
 
   cd ..
10383
 
   $RM -r conftest
10384
 
   $RM conftest*
10385
 
 
10386
 
fi
10387
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
10388
 
echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6; }
10389
 
 
10390
 
    
10391
 
    
10392
 
    
10393
 
 
10394
 
 
10395
 
  { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
10396
 
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
10397
 
if test "${lt_cv_prog_compiler_c_o+set}" = set; then
10398
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
10399
 
else
10400
 
  lt_cv_prog_compiler_c_o=no
10401
 
   $RM -r conftest 2>/dev/null
10402
 
   mkdir conftest
10403
 
   cd conftest
10404
 
   mkdir out
10405
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10406
 
 
10407
 
   lt_compiler_flag="-o out/conftest2.$ac_objext"
10408
 
   # Insert the option either (1) after the last *FLAGS variable, or
10409
 
   # (2) before a word containing "conftest.", or (3) at the end.
10410
 
   # Note that $ac_compile itself does not contain backslashes and begins
10411
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
10412
 
   lt_compile=`echo "$ac_compile" | $SED \
10413
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10414
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10415
 
   -e 's:$: $lt_compiler_flag:'`
10416
 
   (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
10417
 
   (eval "$lt_compile" 2>out/conftest.err)
10418
 
   ac_status=$?
10419
 
   cat out/conftest.err >&5
10420
 
   echo "$as_me:__oline__: \$? = $ac_status" >&5
10421
 
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
10422
 
   then
10423
 
     # The compiler can only warn and ignore the option if not recognized
10424
 
     # So say no if there are warnings
10425
 
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
10426
 
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
10427
 
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
10428
 
       lt_cv_prog_compiler_c_o=yes
10429
 
     fi
10430
 
   fi
10431
 
   chmod u+w . 2>&5
10432
 
   $RM conftest*
10433
 
   # SGI C++ compiler will create directory out/ii_files/ for
10434
 
   # template instantiation
10435
 
   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
10436
 
   $RM out/* && rmdir out
10437
 
   cd ..
10438
 
   $RM -r conftest
10439
 
   $RM conftest*
10440
 
 
10441
 
fi
10442
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
10443
 
echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6; }
 
10114
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
 
10115
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
 
10116
if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
 
10117
  $as_echo_n "(cached) " >&6
 
10118
else
 
10119
  lt_cv_prog_compiler_c_o=no
 
10120
   $RM -r conftest 2>/dev/null
 
10121
   mkdir conftest
 
10122
   cd conftest
 
10123
   mkdir out
 
10124
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
10125
 
 
10126
   lt_compiler_flag="-o out/conftest2.$ac_objext"
 
10127
   # Insert the option either (1) after the last *FLAGS variable, or
 
10128
   # (2) before a word containing "conftest.", or (3) at the end.
 
10129
   # Note that $ac_compile itself does not contain backslashes and begins
 
10130
   # with a dollar sign (not a hyphen), so the echo should work correctly.
 
10131
   lt_compile=`echo "$ac_compile" | $SED \
 
10132
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 
10133
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 
10134
   -e 's:$: $lt_compiler_flag:'`
 
10135
   (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
 
10136
   (eval "$lt_compile" 2>out/conftest.err)
 
10137
   ac_status=$?
 
10138
   cat out/conftest.err >&5
 
10139
   echo "$as_me:__oline__: \$? = $ac_status" >&5
 
10140
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
 
10141
   then
 
10142
     # The compiler can only warn and ignore the option if not recognized
 
10143
     # So say no if there are warnings
 
10144
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
 
10145
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
 
10146
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
 
10147
       lt_cv_prog_compiler_c_o=yes
 
10148
     fi
 
10149
   fi
 
10150
   chmod u+w . 2>&5
 
10151
   $RM conftest*
 
10152
   # SGI C++ compiler will create directory out/ii_files/ for
 
10153
   # template instantiation
 
10154
   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
 
10155
   $RM out/* && rmdir out
 
10156
   cd ..
 
10157
   $RM -r conftest
 
10158
   $RM conftest*
 
10159
 
 
10160
fi
 
10161
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
 
10162
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
 
10163
 
 
10164
    
 
10165
    
 
10166
    
 
10167
 
 
10168
 
 
10169
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
 
10170
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
 
10171
if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
 
10172
  $as_echo_n "(cached) " >&6
 
10173
else
 
10174
  lt_cv_prog_compiler_c_o=no
 
10175
   $RM -r conftest 2>/dev/null
 
10176
   mkdir conftest
 
10177
   cd conftest
 
10178
   mkdir out
 
10179
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
10180
 
 
10181
   lt_compiler_flag="-o out/conftest2.$ac_objext"
 
10182
   # Insert the option either (1) after the last *FLAGS variable, or
 
10183
   # (2) before a word containing "conftest.", or (3) at the end.
 
10184
   # Note that $ac_compile itself does not contain backslashes and begins
 
10185
   # with a dollar sign (not a hyphen), so the echo should work correctly.
 
10186
   lt_compile=`echo "$ac_compile" | $SED \
 
10187
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 
10188
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 
10189
   -e 's:$: $lt_compiler_flag:'`
 
10190
   (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
 
10191
   (eval "$lt_compile" 2>out/conftest.err)
 
10192
   ac_status=$?
 
10193
   cat out/conftest.err >&5
 
10194
   echo "$as_me:__oline__: \$? = $ac_status" >&5
 
10195
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
 
10196
   then
 
10197
     # The compiler can only warn and ignore the option if not recognized
 
10198
     # So say no if there are warnings
 
10199
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
 
10200
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
 
10201
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
 
10202
       lt_cv_prog_compiler_c_o=yes
 
10203
     fi
 
10204
   fi
 
10205
   chmod u+w . 2>&5
 
10206
   $RM conftest*
 
10207
   # SGI C++ compiler will create directory out/ii_files/ for
 
10208
   # template instantiation
 
10209
   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
 
10210
   $RM out/* && rmdir out
 
10211
   cd ..
 
10212
   $RM -r conftest
 
10213
   $RM conftest*
 
10214
 
 
10215
fi
 
10216
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
 
10217
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
10444
10218
 
10445
10219
 
10446
10220
 
10448
10222
hard_links="nottested"
10449
10223
if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
10450
10224
  # do not overwrite the value of need_locks provided by the user
10451
 
  { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
10452
 
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
 
10225
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
 
10226
$as_echo_n "checking if we can lock with hard links... " >&6; }
10453
10227
  hard_links=yes
10454
10228
  $RM conftest*
10455
10229
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
10456
10230
  touch conftest.a
10457
10231
  ln conftest.a conftest.b 2>&5 || hard_links=no
10458
10232
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
10459
 
  { echo "$as_me:$LINENO: result: $hard_links" >&5
10460
 
echo "${ECHO_T}$hard_links" >&6; }
 
10233
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
 
10234
$as_echo "$hard_links" >&6; }
10461
10235
  if test "$hard_links" = no; then
10462
 
    { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
10463
 
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
 
10236
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
 
10237
$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
10464
10238
    need_locks=warn
10465
10239
  fi
10466
10240
else
10472
10246
    
10473
10247
 
10474
10248
 
10475
 
  { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
10476
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
 
10249
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 
10250
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
10477
10251
 
10478
10252
  runpath_var=
10479
10253
  allow_undefined_flag=
10517
10291
  extract_expsyms_cmds=
10518
10292
 
10519
10293
  case $host_os in
10520
 
  cygwin* | mingw* | pw32*)
 
10294
  cygwin* | mingw* | pw32* | cegcc*)
10521
10295
    # FIXME: the MSVC++ port hasn't been tested in a loooong time
10522
10296
    # When not using gcc, we currently assume that we are using
10523
10297
    # Microsoft Visual C++.
10532
10306
  openbsd*)
10533
10307
    with_gnu_ld=no
10534
10308
    ;;
 
10309
  linux* | k*bsd*-gnu)
 
10310
    link_all_deplibs=no
 
10311
    ;;
10535
10312
  esac
10536
10313
 
10537
10314
  ld_shlibs=yes
10553
10330
    fi
10554
10331
    supports_anon_versioning=no
10555
10332
    case `$LD -v 2>&1` in
 
10333
      *GNU\ gold*) supports_anon_versioning=yes ;;
10556
10334
      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
10557
10335
      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
10558
10336
      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
10604
10382
      fi
10605
10383
      ;;
10606
10384
 
10607
 
    cygwin* | mingw* | pw32*)
 
10385
    cygwin* | mingw* | pw32* | cegcc*)
10608
10386
      # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
10609
10387
      # as there is no search path for DLLs.
10610
10388
      hardcode_libdir_flag_spec='-L$libdir'
10644
10422
      archive_expsym_cmds='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
10645
10423
      ;;
10646
10424
 
10647
 
    gnu* | linux* | tpf* | k*bsd*-gnu)
 
10425
    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
10648
10426
      tmp_diet=no
10649
10427
      if test "$host_os" = linux-dietlibc; then
10650
10428
        case $cc_basename in
10670
10448
          tmp_addflag=' -i_dynamic -nofor_main' ;;
10671
10449
        ifc* | ifort*)                  # Intel Fortran compiler
10672
10450
          tmp_addflag=' -nofor_main' ;;
 
10451
        lf95*)                          # Lahey Fortran 8.1
 
10452
          whole_archive_flag_spec=
 
10453
          tmp_sharedflag='--shared' ;;
10673
10454
        xl[cC]*)                        # IBM XL C 8.0 on PPC (deal with xlf below)
10674
10455
          tmp_sharedflag='-qmkshrobj'
10675
10456
          tmp_addflag= ;;
10902
10683
        fi
10903
10684
      fi
10904
10685
 
 
10686
      export_dynamic_flag_spec='${wl}-bexpall'
10905
10687
      # It seems that -bexpall does not export symbols beginning with
10906
10688
      # underscore (_), so it is better to generate a list of symbols to export.
10907
10689
      always_export_symbols=yes
10911
10693
        allow_undefined_flag='-berok'
10912
10694
        # Determine the default libpath from the value encoded in an
10913
10695
        # empty executable.
10914
 
        cat >conftest.$ac_ext <<_ACEOF
10915
 
/* confdefs.h.  */
10916
 
_ACEOF
10917
 
cat confdefs.h >>conftest.$ac_ext
10918
 
cat >>conftest.$ac_ext <<_ACEOF
 
10696
        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10919
10697
/* end confdefs.h.  */
10920
10698
 
10921
10699
int
10926
10704
  return 0;
10927
10705
}
10928
10706
_ACEOF
10929
 
rm -f conftest.$ac_objext conftest$ac_exeext
10930
 
if { (ac_try="$ac_link"
10931
 
case "(($ac_try" in
10932
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10933
 
  *) ac_try_echo=$ac_try;;
10934
 
esac
10935
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10936
 
  (eval "$ac_link") 2>conftest.er1
10937
 
  ac_status=$?
10938
 
  grep -v '^ *+' conftest.er1 >conftest.err
10939
 
  rm -f conftest.er1
10940
 
  cat conftest.err >&5
10941
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10942
 
  (exit $ac_status); } && {
10943
 
         test -z "$ac_c_werror_flag" ||
10944
 
         test ! -s conftest.err
10945
 
       } && test -s conftest$ac_exeext &&
10946
 
       $as_test_x conftest$ac_exeext; then
 
10707
if ac_fn_c_try_link "$LINENO"; then :
10947
10708
  
10948
10709
lt_aix_libpath_sed='
10949
10710
    /Import File Strings/,/^$/ {
10957
10718
if test -z "$aix_libpath"; then
10958
10719
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10959
10720
fi
10960
 
else
10961
 
  echo "$as_me: failed program was:" >&5
10962
 
sed 's/^/| /' conftest.$ac_ext >&5
10963
 
 
10964
 
        
10965
10721
fi
10966
 
 
10967
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10968
 
      conftest$ac_exeext conftest.$ac_ext
 
10722
rm -f core conftest.err conftest.$ac_objext \
 
10723
    conftest$ac_exeext conftest.$ac_ext
10969
10724
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
10970
10725
 
10971
10726
        hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10978
10733
        else
10979
10734
         # Determine the default libpath from the value encoded in an
10980
10735
         # empty executable.
10981
 
         cat >conftest.$ac_ext <<_ACEOF
10982
 
/* confdefs.h.  */
10983
 
_ACEOF
10984
 
cat confdefs.h >>conftest.$ac_ext
10985
 
cat >>conftest.$ac_ext <<_ACEOF
 
10736
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10986
10737
/* end confdefs.h.  */
10987
10738
 
10988
10739
int
10993
10744
  return 0;
10994
10745
}
10995
10746
_ACEOF
10996
 
rm -f conftest.$ac_objext conftest$ac_exeext
10997
 
if { (ac_try="$ac_link"
10998
 
case "(($ac_try" in
10999
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11000
 
  *) ac_try_echo=$ac_try;;
11001
 
esac
11002
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11003
 
  (eval "$ac_link") 2>conftest.er1
11004
 
  ac_status=$?
11005
 
  grep -v '^ *+' conftest.er1 >conftest.err
11006
 
  rm -f conftest.er1
11007
 
  cat conftest.err >&5
11008
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11009
 
  (exit $ac_status); } && {
11010
 
         test -z "$ac_c_werror_flag" ||
11011
 
         test ! -s conftest.err
11012
 
       } && test -s conftest$ac_exeext &&
11013
 
       $as_test_x conftest$ac_exeext; then
 
10747
if ac_fn_c_try_link "$LINENO"; then :
11014
10748
  
11015
10749
lt_aix_libpath_sed='
11016
10750
    /Import File Strings/,/^$/ {
11024
10758
if test -z "$aix_libpath"; then
11025
10759
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11026
10760
fi
11027
 
else
11028
 
  echo "$as_me: failed program was:" >&5
11029
 
sed 's/^/| /' conftest.$ac_ext >&5
11030
 
 
11031
 
        
11032
10761
fi
11033
 
 
11034
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11035
 
      conftest$ac_exeext conftest.$ac_ext
 
10762
rm -f core conftest.err conftest.$ac_objext \
 
10763
    conftest$ac_exeext conftest.$ac_ext
11036
10764
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
11037
10765
 
11038
10766
         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
11068
10796
      export_dynamic_flag_spec=-rdynamic
11069
10797
      ;;
11070
10798
 
11071
 
    cygwin* | mingw* | pw32*)
 
10799
    cygwin* | mingw* | pw32* | cegcc*)
11072
10800
      # When not using gcc, we currently assume that we are using
11073
10801
      # Microsoft Visual C++.
11074
10802
      # hardcode_libdir_flag_spec is actually meaningless, as there is
11099
10827
  whole_archive_flag_spec=''
11100
10828
  link_all_deplibs=yes
11101
10829
  allow_undefined_flag="$_lt_dar_allow_undefined"
11102
 
  if test "$GCC" = "yes"; then
 
10830
  case $cc_basename in
 
10831
     ifort*) _lt_dar_can_shared=yes ;;
 
10832
     *) _lt_dar_can_shared=$GCC ;;
 
10833
  esac
 
10834
  if test "$_lt_dar_can_shared" = "yes"; then
11103
10835
    output_verbose_link_cmd=echo
11104
10836
    archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
11105
10837
    module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
11191
10923
          archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
11192
10924
          ;;
11193
10925
        ia64*)
11194
 
          archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
 
10926
          archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
11195
10927
          ;;
11196
10928
        *)
11197
10929
          archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11240
10972
        # implicitly export all symbols.
11241
10973
        save_LDFLAGS="$LDFLAGS"
11242
10974
        LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
11243
 
        cat >conftest.$ac_ext <<_ACEOF
 
10975
        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
10976
/* end confdefs.h.  */
11244
10977
int foo(void) {}
11245
10978
_ACEOF
11246
 
rm -f conftest.$ac_objext conftest$ac_exeext
11247
 
if { (ac_try="$ac_link"
11248
 
case "(($ac_try" in
11249
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11250
 
  *) ac_try_echo=$ac_try;;
11251
 
esac
11252
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11253
 
  (eval "$ac_link") 2>conftest.er1
11254
 
  ac_status=$?
11255
 
  grep -v '^ *+' conftest.er1 >conftest.err
11256
 
  rm -f conftest.er1
11257
 
  cat conftest.err >&5
11258
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11259
 
  (exit $ac_status); } && {
11260
 
         test -z "$ac_c_werror_flag" ||
11261
 
         test ! -s conftest.err
11262
 
       } && test -s conftest$ac_exeext &&
11263
 
       $as_test_x conftest$ac_exeext; then
 
10979
if ac_fn_c_try_link "$LINENO"; then :
11264
10980
  archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
11265
10981
        
11266
 
else
11267
 
  echo "$as_me: failed program was:" >&5
11268
 
sed 's/^/| /' conftest.$ac_ext >&5
11269
 
 
11270
 
        
11271
10982
fi
11272
 
 
11273
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11274
 
      conftest$ac_exeext conftest.$ac_ext
 
10983
rm -f core conftest.err conftest.$ac_objext \
 
10984
    conftest$ac_exeext conftest.$ac_ext
11275
10985
        LDFLAGS="$save_LDFLAGS"
11276
10986
      else
11277
10987
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
11527
11237
    fi
11528
11238
  fi
11529
11239
 
11530
 
{ echo "$as_me:$LINENO: result: $ld_shlibs" >&5
11531
 
echo "${ECHO_T}$ld_shlibs" >&6; }
 
11240
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
 
11241
$as_echo "$ld_shlibs" >&6; }
11532
11242
test "$ld_shlibs" = no && can_build_shared=no
11533
11243
 
11534
11244
with_gnu_ld=$with_gnu_ld
11564
11274
      # Test whether the compiler implicitly links with -lc since on some
11565
11275
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
11566
11276
      # to ld, don't add -lc before -lgcc.
11567
 
      { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
11568
 
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
 
11277
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
 
11278
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
11569
11279
      $RM conftest*
11570
11280
      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11571
11281
 
11572
 
      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
11282
      if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
11573
11283
  (eval $ac_compile) 2>&5
11574
11284
  ac_status=$?
11575
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11576
 
  (exit $ac_status); } 2>conftest.err; then
 
11285
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
11286
  test $ac_status = 0; } 2>conftest.err; then
11577
11287
        soname=conftest
11578
11288
        lib=conftest
11579
11289
        libobjs=conftest.$ac_objext
11587
11297
        libname=conftest
11588
11298
        lt_save_allow_undefined_flag=$allow_undefined_flag
11589
11299
        allow_undefined_flag=
11590
 
        if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
 
11300
        if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
11591
11301
  (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
11592
11302
  ac_status=$?
11593
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11594
 
  (exit $ac_status); }
 
11303
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
11304
  test $ac_status = 0; }
11595
11305
        then
11596
11306
          archive_cmds_need_lc=no
11597
11307
        else
11602
11312
        cat conftest.err 1>&5
11603
11313
      fi
11604
11314
      $RM conftest*
11605
 
      { echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
11606
 
echo "${ECHO_T}$archive_cmds_need_lc" >&6; }
 
11315
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc" >&5
 
11316
$as_echo "$archive_cmds_need_lc" >&6; }
11607
11317
      ;;
11608
11318
    esac
11609
11319
  fi
11766
11476
    
11767
11477
 
11768
11478
 
11769
 
  { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
11770
 
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
 
11479
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
 
11480
$as_echo_n "checking dynamic linker characteristics... " >&6; }
11771
11481
 
11772
11482
if test "$GCC" = yes; then
11773
11483
  case $host_os in
11929
11639
  # libtool to hard-code these into programs
11930
11640
  ;;
11931
11641
 
11932
 
cygwin* | mingw* | pw32*)
 
11642
cygwin* | mingw* | pw32* | cegcc*)
11933
11643
  version_type=windows
11934
11644
  shrext_cmds=".dll"
11935
11645
  need_version=no
11936
11646
  need_lib_prefix=no
11937
11647
 
11938
11648
  case $GCC,$host_os in
11939
 
  yes,cygwin* | yes,mingw* | yes,pw32*)
 
11649
  yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
11940
11650
    library_names_spec='$libname.dll.a'
11941
11651
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
11942
11652
    postinstall_cmds='base_file=`basename \${file}`~
11959
11669
      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11960
11670
      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
11961
11671
      ;;
11962
 
    mingw*)
 
11672
    mingw* | cegcc*)
11963
11673
      # MinGW DLLs use traditional 'lib' prefix
11964
11674
      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11965
11675
      sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
12174
11884
  ;;
12175
11885
 
12176
11886
# This must be Linux ELF.
12177
 
linux* | k*bsd*-gnu)
 
11887
linux* | k*bsd*-gnu | kopensolaris*-gnu)
12178
11888
  version_type=linux
12179
11889
  need_lib_prefix=no
12180
11890
  need_version=no
12188
11898
  save_libdir=$libdir
12189
11899
  eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
12190
11900
       LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
12191
 
  cat >conftest.$ac_ext <<_ACEOF
12192
 
/* confdefs.h.  */
12193
 
_ACEOF
12194
 
cat confdefs.h >>conftest.$ac_ext
12195
 
cat >>conftest.$ac_ext <<_ACEOF
 
11901
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12196
11902
/* end confdefs.h.  */
12197
11903
 
12198
11904
int
12203
11909
  return 0;
12204
11910
}
12205
11911
_ACEOF
12206
 
rm -f conftest.$ac_objext conftest$ac_exeext
12207
 
if { (ac_try="$ac_link"
12208
 
case "(($ac_try" in
12209
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12210
 
  *) ac_try_echo=$ac_try;;
12211
 
esac
12212
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12213
 
  (eval "$ac_link") 2>conftest.er1
12214
 
  ac_status=$?
12215
 
  grep -v '^ *+' conftest.er1 >conftest.err
12216
 
  rm -f conftest.er1
12217
 
  cat conftest.err >&5
12218
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12219
 
  (exit $ac_status); } && {
12220
 
         test -z "$ac_c_werror_flag" ||
12221
 
         test ! -s conftest.err
12222
 
       } && test -s conftest$ac_exeext &&
12223
 
       $as_test_x conftest$ac_exeext; then
12224
 
  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then
 
11912
if ac_fn_c_try_link "$LINENO"; then :
 
11913
  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
12225
11914
  shlibpath_overrides_runpath=yes
12226
11915
fi
12227
 
 
12228
 
else
12229
 
  echo "$as_me: failed program was:" >&5
12230
 
sed 's/^/| /' conftest.$ac_ext >&5
12231
 
 
12232
 
        
12233
11916
fi
12234
 
 
12235
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12236
 
      conftest$ac_exeext conftest.$ac_ext
 
11917
rm -f core conftest.err conftest.$ac_objext \
 
11918
    conftest$ac_exeext conftest.$ac_ext
12237
11919
  LDFLAGS=$save_LDFLAGS
12238
11920
  libdir=$save_libdir
12239
11921
 
12440
12122
  version_type=linux
12441
12123
  need_lib_prefix=no
12442
12124
  need_version=no
12443
 
  library_name_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
12125
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12444
12126
  shlibpath_var=LD_LIBRARY_PATH
12445
12127
  shlibpath_overrides_runpath=no
12446
12128
  hardcode_into_libs=yes
12457
12139
  dynamic_linker=no
12458
12140
  ;;
12459
12141
esac
12460
 
{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
12461
 
echo "${ECHO_T}$dynamic_linker" >&6; }
 
12142
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
 
12143
$as_echo "$dynamic_linker" >&6; }
12462
12144
test "$dynamic_linker" = no && can_build_shared=no
12463
12145
 
12464
12146
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
12465
12147
if test "$GCC" = yes; then
12466
12148
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
12467
12149
fi
12468
 
 
 
12150
 
12469
12151
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
12470
12152
  sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
12471
12153
fi
12559
12241
    
12560
12242
 
12561
12243
 
12562
 
  { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
12563
 
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
 
12244
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
 
12245
$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
12564
12246
hardcode_action=
12565
12247
if test -n "$hardcode_libdir_flag_spec" ||
12566
12248
   test -n "$runpath_var" ||
12584
12266
  # directories.
12585
12267
  hardcode_action=unsupported
12586
12268
fi
12587
 
{ echo "$as_me:$LINENO: result: $hardcode_action" >&5
12588
 
echo "${ECHO_T}$hardcode_action" >&6; }
 
12269
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
 
12270
$as_echo "$hardcode_action" >&6; }
12589
12271
 
12590
12272
if test "$hardcode_action" = relink ||
12591
12273
   test "$inherit_rpath" = yes; then
12617
12299
    lt_cv_dlopen_self=yes
12618
12300
    ;;
12619
12301
 
12620
 
  mingw* | pw32*)
 
12302
  mingw* | pw32* | cegcc*)
12621
12303
    lt_cv_dlopen="LoadLibrary"
12622
12304
    lt_cv_dlopen_libs=
12623
12305
    ;;
12629
12311
 
12630
12312
  darwin*)
12631
12313
  # if libdl is installed we need to link against it
12632
 
    { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
12633
 
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
12634
 
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
12635
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
12314
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
 
12315
$as_echo_n "checking for dlopen in -ldl... " >&6; }
 
12316
if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
 
12317
  $as_echo_n "(cached) " >&6
12636
12318
else
12637
12319
  ac_check_lib_save_LIBS=$LIBS
12638
12320
LIBS="-ldl  $LIBS"
12639
 
cat >conftest.$ac_ext <<_ACEOF
12640
 
/* confdefs.h.  */
12641
 
_ACEOF
12642
 
cat confdefs.h >>conftest.$ac_ext
12643
 
cat >>conftest.$ac_ext <<_ACEOF
 
12321
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12644
12322
/* end confdefs.h.  */
12645
12323
 
12646
12324
/* Override any GCC internal prototype to avoid an error.
12658
12336
  return 0;
12659
12337
}
12660
12338
_ACEOF
12661
 
rm -f conftest.$ac_objext conftest$ac_exeext
12662
 
if { (ac_try="$ac_link"
12663
 
case "(($ac_try" in
12664
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12665
 
  *) ac_try_echo=$ac_try;;
12666
 
esac
12667
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12668
 
  (eval "$ac_link") 2>conftest.er1
12669
 
  ac_status=$?
12670
 
  grep -v '^ *+' conftest.er1 >conftest.err
12671
 
  rm -f conftest.er1
12672
 
  cat conftest.err >&5
12673
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12674
 
  (exit $ac_status); } && {
12675
 
         test -z "$ac_c_werror_flag" ||
12676
 
         test ! -s conftest.err
12677
 
       } && test -s conftest$ac_exeext &&
12678
 
       $as_test_x conftest$ac_exeext; then
 
12339
if ac_fn_c_try_link "$LINENO"; then :
12679
12340
  ac_cv_lib_dl_dlopen=yes
12680
12341
else
12681
 
  echo "$as_me: failed program was:" >&5
12682
 
sed 's/^/| /' conftest.$ac_ext >&5
12683
 
 
12684
 
        ac_cv_lib_dl_dlopen=no
 
12342
  ac_cv_lib_dl_dlopen=no
12685
12343
fi
12686
 
 
12687
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12688
 
      conftest$ac_exeext conftest.$ac_ext
 
12344
rm -f core conftest.err conftest.$ac_objext \
 
12345
    conftest$ac_exeext conftest.$ac_ext
12689
12346
LIBS=$ac_check_lib_save_LIBS
12690
12347
fi
12691
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
12692
 
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
12693
 
if test $ac_cv_lib_dl_dlopen = yes; then
 
12348
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
 
12349
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
 
12350
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
12694
12351
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
12695
12352
else
12696
12353
  
12703
12360
    ;;
12704
12361
 
12705
12362
  *)
12706
 
    { echo "$as_me:$LINENO: checking for shl_load" >&5
12707
 
echo $ECHO_N "checking for shl_load... $ECHO_C" >&6; }
12708
 
if test "${ac_cv_func_shl_load+set}" = set; then
12709
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
12710
 
else
12711
 
  cat >conftest.$ac_ext <<_ACEOF
12712
 
/* confdefs.h.  */
12713
 
_ACEOF
12714
 
cat confdefs.h >>conftest.$ac_ext
12715
 
cat >>conftest.$ac_ext <<_ACEOF
12716
 
/* end confdefs.h.  */
12717
 
/* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
12718
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
12719
 
#define shl_load innocuous_shl_load
12720
 
 
12721
 
/* System header to define __stub macros and hopefully few prototypes,
12722
 
    which can conflict with char shl_load (); below.
12723
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12724
 
    <limits.h> exists even on freestanding compilers.  */
12725
 
 
12726
 
#ifdef __STDC__
12727
 
# include <limits.h>
12728
 
#else
12729
 
# include <assert.h>
12730
 
#endif
12731
 
 
12732
 
#undef shl_load
12733
 
 
12734
 
/* Override any GCC internal prototype to avoid an error.
12735
 
   Use char because int might match the return type of a GCC
12736
 
   builtin and then its argument prototype would still apply.  */
12737
 
#ifdef __cplusplus
12738
 
extern "C"
12739
 
#endif
12740
 
char shl_load ();
12741
 
/* The GNU C library defines this for functions which it implements
12742
 
    to always fail with ENOSYS.  Some functions are actually named
12743
 
    something starting with __ and the normal name is an alias.  */
12744
 
#if defined __stub_shl_load || defined __stub___shl_load
12745
 
choke me
12746
 
#endif
12747
 
 
12748
 
int
12749
 
main ()
12750
 
{
12751
 
return shl_load ();
12752
 
  ;
12753
 
  return 0;
12754
 
}
12755
 
_ACEOF
12756
 
rm -f conftest.$ac_objext conftest$ac_exeext
12757
 
if { (ac_try="$ac_link"
12758
 
case "(($ac_try" in
12759
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12760
 
  *) ac_try_echo=$ac_try;;
12761
 
esac
12762
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12763
 
  (eval "$ac_link") 2>conftest.er1
12764
 
  ac_status=$?
12765
 
  grep -v '^ *+' conftest.er1 >conftest.err
12766
 
  rm -f conftest.er1
12767
 
  cat conftest.err >&5
12768
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12769
 
  (exit $ac_status); } && {
12770
 
         test -z "$ac_c_werror_flag" ||
12771
 
         test ! -s conftest.err
12772
 
       } && test -s conftest$ac_exeext &&
12773
 
       $as_test_x conftest$ac_exeext; then
12774
 
  ac_cv_func_shl_load=yes
12775
 
else
12776
 
  echo "$as_me: failed program was:" >&5
12777
 
sed 's/^/| /' conftest.$ac_ext >&5
12778
 
 
12779
 
        ac_cv_func_shl_load=no
12780
 
fi
12781
 
 
12782
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12783
 
      conftest$ac_exeext conftest.$ac_ext
12784
 
fi
12785
 
{ echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
12786
 
echo "${ECHO_T}$ac_cv_func_shl_load" >&6; }
12787
 
if test $ac_cv_func_shl_load = yes; then
 
12363
    ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
 
12364
if test "x$ac_cv_func_shl_load" = x""yes; then :
12788
12365
  lt_cv_dlopen="shl_load"
12789
12366
else
12790
 
  { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
12791
 
echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }
12792
 
if test "${ac_cv_lib_dld_shl_load+set}" = set; then
12793
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
12367
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
 
12368
$as_echo_n "checking for shl_load in -ldld... " >&6; }
 
12369
if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
 
12370
  $as_echo_n "(cached) " >&6
12794
12371
else
12795
12372
  ac_check_lib_save_LIBS=$LIBS
12796
12373
LIBS="-ldld  $LIBS"
12797
 
cat >conftest.$ac_ext <<_ACEOF
12798
 
/* confdefs.h.  */
12799
 
_ACEOF
12800
 
cat confdefs.h >>conftest.$ac_ext
12801
 
cat >>conftest.$ac_ext <<_ACEOF
 
12374
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12802
12375
/* end confdefs.h.  */
12803
12376
 
12804
12377
/* Override any GCC internal prototype to avoid an error.
12816
12389
  return 0;
12817
12390
}
12818
12391
_ACEOF
12819
 
rm -f conftest.$ac_objext conftest$ac_exeext
12820
 
if { (ac_try="$ac_link"
12821
 
case "(($ac_try" in
12822
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12823
 
  *) ac_try_echo=$ac_try;;
12824
 
esac
12825
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12826
 
  (eval "$ac_link") 2>conftest.er1
12827
 
  ac_status=$?
12828
 
  grep -v '^ *+' conftest.er1 >conftest.err
12829
 
  rm -f conftest.er1
12830
 
  cat conftest.err >&5
12831
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12832
 
  (exit $ac_status); } && {
12833
 
         test -z "$ac_c_werror_flag" ||
12834
 
         test ! -s conftest.err
12835
 
       } && test -s conftest$ac_exeext &&
12836
 
       $as_test_x conftest$ac_exeext; then
 
12392
if ac_fn_c_try_link "$LINENO"; then :
12837
12393
  ac_cv_lib_dld_shl_load=yes
12838
12394
else
12839
 
  echo "$as_me: failed program was:" >&5
12840
 
sed 's/^/| /' conftest.$ac_ext >&5
12841
 
 
12842
 
        ac_cv_lib_dld_shl_load=no
 
12395
  ac_cv_lib_dld_shl_load=no
12843
12396
fi
12844
 
 
12845
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12846
 
      conftest$ac_exeext conftest.$ac_ext
 
12397
rm -f core conftest.err conftest.$ac_objext \
 
12398
    conftest$ac_exeext conftest.$ac_ext
12847
12399
LIBS=$ac_check_lib_save_LIBS
12848
12400
fi
12849
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
12850
 
echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
12851
 
if test $ac_cv_lib_dld_shl_load = yes; then
 
12401
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
 
12402
$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
 
12403
if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
12852
12404
  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
12853
12405
else
12854
 
  { echo "$as_me:$LINENO: checking for dlopen" >&5
12855
 
echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; }
12856
 
if test "${ac_cv_func_dlopen+set}" = set; then
12857
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
12858
 
else
12859
 
  cat >conftest.$ac_ext <<_ACEOF
12860
 
/* confdefs.h.  */
12861
 
_ACEOF
12862
 
cat confdefs.h >>conftest.$ac_ext
12863
 
cat >>conftest.$ac_ext <<_ACEOF
12864
 
/* end confdefs.h.  */
12865
 
/* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
12866
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
12867
 
#define dlopen innocuous_dlopen
12868
 
 
12869
 
/* System header to define __stub macros and hopefully few prototypes,
12870
 
    which can conflict with char dlopen (); below.
12871
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12872
 
    <limits.h> exists even on freestanding compilers.  */
12873
 
 
12874
 
#ifdef __STDC__
12875
 
# include <limits.h>
12876
 
#else
12877
 
# include <assert.h>
12878
 
#endif
12879
 
 
12880
 
#undef dlopen
12881
 
 
12882
 
/* Override any GCC internal prototype to avoid an error.
12883
 
   Use char because int might match the return type of a GCC
12884
 
   builtin and then its argument prototype would still apply.  */
12885
 
#ifdef __cplusplus
12886
 
extern "C"
12887
 
#endif
12888
 
char dlopen ();
12889
 
/* The GNU C library defines this for functions which it implements
12890
 
    to always fail with ENOSYS.  Some functions are actually named
12891
 
    something starting with __ and the normal name is an alias.  */
12892
 
#if defined __stub_dlopen || defined __stub___dlopen
12893
 
choke me
12894
 
#endif
12895
 
 
12896
 
int
12897
 
main ()
12898
 
{
12899
 
return dlopen ();
12900
 
  ;
12901
 
  return 0;
12902
 
}
12903
 
_ACEOF
12904
 
rm -f conftest.$ac_objext conftest$ac_exeext
12905
 
if { (ac_try="$ac_link"
12906
 
case "(($ac_try" in
12907
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12908
 
  *) ac_try_echo=$ac_try;;
12909
 
esac
12910
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12911
 
  (eval "$ac_link") 2>conftest.er1
12912
 
  ac_status=$?
12913
 
  grep -v '^ *+' conftest.er1 >conftest.err
12914
 
  rm -f conftest.er1
12915
 
  cat conftest.err >&5
12916
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12917
 
  (exit $ac_status); } && {
12918
 
         test -z "$ac_c_werror_flag" ||
12919
 
         test ! -s conftest.err
12920
 
       } && test -s conftest$ac_exeext &&
12921
 
       $as_test_x conftest$ac_exeext; then
12922
 
  ac_cv_func_dlopen=yes
12923
 
else
12924
 
  echo "$as_me: failed program was:" >&5
12925
 
sed 's/^/| /' conftest.$ac_ext >&5
12926
 
 
12927
 
        ac_cv_func_dlopen=no
12928
 
fi
12929
 
 
12930
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12931
 
      conftest$ac_exeext conftest.$ac_ext
12932
 
fi
12933
 
{ echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
12934
 
echo "${ECHO_T}$ac_cv_func_dlopen" >&6; }
12935
 
if test $ac_cv_func_dlopen = yes; then
 
12406
  ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
 
12407
if test "x$ac_cv_func_dlopen" = x""yes; then :
12936
12408
  lt_cv_dlopen="dlopen"
12937
12409
else
12938
 
  { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
12939
 
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
12940
 
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
12941
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
12410
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
 
12411
$as_echo_n "checking for dlopen in -ldl... " >&6; }
 
12412
if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
 
12413
  $as_echo_n "(cached) " >&6
12942
12414
else
12943
12415
  ac_check_lib_save_LIBS=$LIBS
12944
12416
LIBS="-ldl  $LIBS"
12945
 
cat >conftest.$ac_ext <<_ACEOF
12946
 
/* confdefs.h.  */
12947
 
_ACEOF
12948
 
cat confdefs.h >>conftest.$ac_ext
12949
 
cat >>conftest.$ac_ext <<_ACEOF
 
12417
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12950
12418
/* end confdefs.h.  */
12951
12419
 
12952
12420
/* Override any GCC internal prototype to avoid an error.
12964
12432
  return 0;
12965
12433
}
12966
12434
_ACEOF
12967
 
rm -f conftest.$ac_objext conftest$ac_exeext
12968
 
if { (ac_try="$ac_link"
12969
 
case "(($ac_try" in
12970
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12971
 
  *) ac_try_echo=$ac_try;;
12972
 
esac
12973
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12974
 
  (eval "$ac_link") 2>conftest.er1
12975
 
  ac_status=$?
12976
 
  grep -v '^ *+' conftest.er1 >conftest.err
12977
 
  rm -f conftest.er1
12978
 
  cat conftest.err >&5
12979
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12980
 
  (exit $ac_status); } && {
12981
 
         test -z "$ac_c_werror_flag" ||
12982
 
         test ! -s conftest.err
12983
 
       } && test -s conftest$ac_exeext &&
12984
 
       $as_test_x conftest$ac_exeext; then
 
12435
if ac_fn_c_try_link "$LINENO"; then :
12985
12436
  ac_cv_lib_dl_dlopen=yes
12986
12437
else
12987
 
  echo "$as_me: failed program was:" >&5
12988
 
sed 's/^/| /' conftest.$ac_ext >&5
12989
 
 
12990
 
        ac_cv_lib_dl_dlopen=no
 
12438
  ac_cv_lib_dl_dlopen=no
12991
12439
fi
12992
 
 
12993
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12994
 
      conftest$ac_exeext conftest.$ac_ext
 
12440
rm -f core conftest.err conftest.$ac_objext \
 
12441
    conftest$ac_exeext conftest.$ac_ext
12995
12442
LIBS=$ac_check_lib_save_LIBS
12996
12443
fi
12997
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
12998
 
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
12999
 
if test $ac_cv_lib_dl_dlopen = yes; then
 
12444
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
 
12445
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
 
12446
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
13000
12447
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
13001
12448
else
13002
 
  { echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
13003
 
echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6; }
13004
 
if test "${ac_cv_lib_svld_dlopen+set}" = set; then
13005
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
12449
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
 
12450
$as_echo_n "checking for dlopen in -lsvld... " >&6; }
 
12451
if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
 
12452
  $as_echo_n "(cached) " >&6
13006
12453
else
13007
12454
  ac_check_lib_save_LIBS=$LIBS
13008
12455
LIBS="-lsvld  $LIBS"
13009
 
cat >conftest.$ac_ext <<_ACEOF
13010
 
/* confdefs.h.  */
13011
 
_ACEOF
13012
 
cat confdefs.h >>conftest.$ac_ext
13013
 
cat >>conftest.$ac_ext <<_ACEOF
 
12456
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13014
12457
/* end confdefs.h.  */
13015
12458
 
13016
12459
/* Override any GCC internal prototype to avoid an error.
13028
12471
  return 0;
13029
12472
}
13030
12473
_ACEOF
13031
 
rm -f conftest.$ac_objext conftest$ac_exeext
13032
 
if { (ac_try="$ac_link"
13033
 
case "(($ac_try" in
13034
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13035
 
  *) ac_try_echo=$ac_try;;
13036
 
esac
13037
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13038
 
  (eval "$ac_link") 2>conftest.er1
13039
 
  ac_status=$?
13040
 
  grep -v '^ *+' conftest.er1 >conftest.err
13041
 
  rm -f conftest.er1
13042
 
  cat conftest.err >&5
13043
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13044
 
  (exit $ac_status); } && {
13045
 
         test -z "$ac_c_werror_flag" ||
13046
 
         test ! -s conftest.err
13047
 
       } && test -s conftest$ac_exeext &&
13048
 
       $as_test_x conftest$ac_exeext; then
 
12474
if ac_fn_c_try_link "$LINENO"; then :
13049
12475
  ac_cv_lib_svld_dlopen=yes
13050
12476
else
13051
 
  echo "$as_me: failed program was:" >&5
13052
 
sed 's/^/| /' conftest.$ac_ext >&5
13053
 
 
13054
 
        ac_cv_lib_svld_dlopen=no
 
12477
  ac_cv_lib_svld_dlopen=no
13055
12478
fi
13056
 
 
13057
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13058
 
      conftest$ac_exeext conftest.$ac_ext
 
12479
rm -f core conftest.err conftest.$ac_objext \
 
12480
    conftest$ac_exeext conftest.$ac_ext
13059
12481
LIBS=$ac_check_lib_save_LIBS
13060
12482
fi
13061
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
13062
 
echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; }
13063
 
if test $ac_cv_lib_svld_dlopen = yes; then
 
12483
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
 
12484
$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
 
12485
if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
13064
12486
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
13065
12487
else
13066
 
  { echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
13067
 
echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6; }
13068
 
if test "${ac_cv_lib_dld_dld_link+set}" = set; then
13069
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
12488
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
 
12489
$as_echo_n "checking for dld_link in -ldld... " >&6; }
 
12490
if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
 
12491
  $as_echo_n "(cached) " >&6
13070
12492
else
13071
12493
  ac_check_lib_save_LIBS=$LIBS
13072
12494
LIBS="-ldld  $LIBS"
13073
 
cat >conftest.$ac_ext <<_ACEOF
13074
 
/* confdefs.h.  */
13075
 
_ACEOF
13076
 
cat confdefs.h >>conftest.$ac_ext
13077
 
cat >>conftest.$ac_ext <<_ACEOF
 
12495
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13078
12496
/* end confdefs.h.  */
13079
12497
 
13080
12498
/* Override any GCC internal prototype to avoid an error.
13092
12510
  return 0;
13093
12511
}
13094
12512
_ACEOF
13095
 
rm -f conftest.$ac_objext conftest$ac_exeext
13096
 
if { (ac_try="$ac_link"
13097
 
case "(($ac_try" in
13098
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13099
 
  *) ac_try_echo=$ac_try;;
13100
 
esac
13101
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13102
 
  (eval "$ac_link") 2>conftest.er1
13103
 
  ac_status=$?
13104
 
  grep -v '^ *+' conftest.er1 >conftest.err
13105
 
  rm -f conftest.er1
13106
 
  cat conftest.err >&5
13107
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13108
 
  (exit $ac_status); } && {
13109
 
         test -z "$ac_c_werror_flag" ||
13110
 
         test ! -s conftest.err
13111
 
       } && test -s conftest$ac_exeext &&
13112
 
       $as_test_x conftest$ac_exeext; then
 
12513
if ac_fn_c_try_link "$LINENO"; then :
13113
12514
  ac_cv_lib_dld_dld_link=yes
13114
12515
else
13115
 
  echo "$as_me: failed program was:" >&5
13116
 
sed 's/^/| /' conftest.$ac_ext >&5
13117
 
 
13118
 
        ac_cv_lib_dld_dld_link=no
 
12516
  ac_cv_lib_dld_dld_link=no
13119
12517
fi
13120
 
 
13121
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13122
 
      conftest$ac_exeext conftest.$ac_ext
 
12518
rm -f core conftest.err conftest.$ac_objext \
 
12519
    conftest$ac_exeext conftest.$ac_ext
13123
12520
LIBS=$ac_check_lib_save_LIBS
13124
12521
fi
13125
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
13126
 
echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; }
13127
 
if test $ac_cv_lib_dld_dld_link = yes; then
 
12522
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
 
12523
$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
 
12524
if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
13128
12525
  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
13129
12526
fi
13130
12527
 
13163
12560
    save_LIBS="$LIBS"
13164
12561
    LIBS="$lt_cv_dlopen_libs $LIBS"
13165
12562
 
13166
 
    { echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
13167
 
echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6; }
13168
 
if test "${lt_cv_dlopen_self+set}" = set; then
13169
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
12563
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
 
12564
$as_echo_n "checking whether a program can dlopen itself... " >&6; }
 
12565
if test "${lt_cv_dlopen_self+set}" = set; then :
 
12566
  $as_echo_n "(cached) " >&6
13170
12567
else
13171
12568
          if test "$cross_compiling" = yes; then :
13172
12569
  lt_cv_dlopen_self=cross
13215
12612
#  endif
13216
12613
#endif
13217
12614
 
13218
 
#ifdef __cplusplus
13219
 
extern "C" void exit (int);
13220
 
#endif
13221
 
 
13222
12615
void fnord() { int i=42;}
13223
12616
int main ()
13224
12617
{
13234
12627
  else
13235
12628
    puts (dlerror ());
13236
12629
 
13237
 
    exit (status);
 
12630
  return status;
13238
12631
}
13239
12632
_LT_EOF
13240
 
  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
12633
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
13241
12634
  (eval $ac_link) 2>&5
13242
12635
  ac_status=$?
13243
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13244
 
  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
 
12636
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
12637
  test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
13245
12638
    (./conftest; exit; ) >&5 2>/dev/null
13246
12639
    lt_status=$?
13247
12640
    case x$lt_status in
13258
12651
 
13259
12652
    
13260
12653
fi
13261
 
{ echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
13262
 
echo "${ECHO_T}$lt_cv_dlopen_self" >&6; }
 
12654
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
 
12655
$as_echo "$lt_cv_dlopen_self" >&6; }
13263
12656
 
13264
12657
    if test "x$lt_cv_dlopen_self" = xyes; then
13265
12658
      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
13266
 
      { echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
13267
 
echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6; }
13268
 
if test "${lt_cv_dlopen_self_static+set}" = set; then
13269
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
12659
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
 
12660
$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
 
12661
if test "${lt_cv_dlopen_self_static+set}" = set; then :
 
12662
  $as_echo_n "(cached) " >&6
13270
12663
else
13271
12664
          if test "$cross_compiling" = yes; then :
13272
12665
  lt_cv_dlopen_self_static=cross
13315
12708
#  endif
13316
12709
#endif
13317
12710
 
13318
 
#ifdef __cplusplus
13319
 
extern "C" void exit (int);
13320
 
#endif
13321
 
 
13322
12711
void fnord() { int i=42;}
13323
12712
int main ()
13324
12713
{
13334
12723
  else
13335
12724
    puts (dlerror ());
13336
12725
 
13337
 
    exit (status);
 
12726
  return status;
13338
12727
}
13339
12728
_LT_EOF
13340
 
  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
12729
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
13341
12730
  (eval $ac_link) 2>&5
13342
12731
  ac_status=$?
13343
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13344
 
  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
 
12732
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
12733
  test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
13345
12734
    (./conftest; exit; ) >&5 2>/dev/null
13346
12735
    lt_status=$?
13347
12736
    case x$lt_status in
13358
12747
 
13359
12748
      
13360
12749
fi
13361
 
{ echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
13362
 
echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6; }
 
12750
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
 
12751
$as_echo "$lt_cv_dlopen_self_static" >&6; }
13363
12752
    fi
13364
12753
 
13365
12754
    CPPFLAGS="$save_CPPFLAGS"
13397
12786
  
13398
12787
striplib=
13399
12788
old_striplib=
13400
 
{ echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
13401
 
echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; }
 
12789
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
 
12790
$as_echo_n "checking whether stripping libraries is possible... " >&6; }
13402
12791
if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
13403
12792
  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
13404
12793
  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
13405
 
  { echo "$as_me:$LINENO: result: yes" >&5
13406
 
echo "${ECHO_T}yes" >&6; }
 
12794
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
12795
$as_echo "yes" >&6; }
13407
12796
else
13408
12797
# FIXME - insert some real tests, host_os isn't really good enough
13409
12798
  case $host_os in
13411
12800
    if test -n "$STRIP" ; then
13412
12801
      striplib="$STRIP -x"
13413
12802
      old_striplib="$STRIP -S"
13414
 
      { echo "$as_me:$LINENO: result: yes" >&5
13415
 
echo "${ECHO_T}yes" >&6; }
 
12803
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
12804
$as_echo "yes" >&6; }
13416
12805
    else
13417
 
      { echo "$as_me:$LINENO: result: no" >&5
13418
 
echo "${ECHO_T}no" >&6; }
 
12806
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
12807
$as_echo "no" >&6; }
13419
12808
    fi
13420
12809
    ;;
13421
12810
  *)
13422
 
    { echo "$as_me:$LINENO: result: no" >&5
13423
 
echo "${ECHO_T}no" >&6; }
 
12811
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
12812
$as_echo "no" >&6; }
13424
12813
    ;;
13425
12814
  esac
13426
12815
fi
13437
12826
 
13438
12827
 
13439
12828
  # Report which library types will actually be built
13440
 
  { echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
13441
 
echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
13442
 
  { echo "$as_me:$LINENO: result: $can_build_shared" >&5
13443
 
echo "${ECHO_T}$can_build_shared" >&6; }
 
12829
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
 
12830
$as_echo_n "checking if libtool supports shared libraries... " >&6; }
 
12831
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
 
12832
$as_echo "$can_build_shared" >&6; }
13444
12833
 
13445
 
  { echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
13446
 
echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
 
12834
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
 
12835
$as_echo_n "checking whether to build shared libraries... " >&6; }
13447
12836
  test "$can_build_shared" = "no" && enable_shared=no
13448
12837
 
13449
12838
  # On AIX, shared libraries and static libraries use the same namespace, and
13463
12852
    fi
13464
12853
    ;;
13465
12854
  esac
13466
 
  { echo "$as_me:$LINENO: result: $enable_shared" >&5
13467
 
echo "${ECHO_T}$enable_shared" >&6; }
 
12855
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
 
12856
$as_echo "$enable_shared" >&6; }
13468
12857
 
13469
 
  { echo "$as_me:$LINENO: checking whether to build static libraries" >&5
13470
 
echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
 
12858
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
 
12859
$as_echo_n "checking whether to build static libraries... " >&6; }
13471
12860
  # Make sure either enable_shared or enable_static is yes.
13472
12861
  test "$enable_shared" = yes || enable_static=yes
13473
 
  { echo "$as_me:$LINENO: result: $enable_static" >&5
13474
 
echo "${ECHO_T}$enable_static" >&6; }
 
12862
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
 
12863
$as_echo "$enable_static" >&6; }
13475
12864
 
13476
12865
  
13477
12866
 
13610
12999
 
13611
13000
      
13612
13001
 
13613
 
# Check whether --with-gnu-ld was given.
13614
 
if test "${with_gnu_ld+set}" = set; then
 
13002
@%:@ Check whether --with-gnu-ld was given.
 
13003
if test "${with_gnu_ld+set}" = set; then :
13615
13004
  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
13616
13005
else
13617
13006
  with_gnu_ld=no
13620
13009
ac_prog=ld
13621
13010
if test "$GCC" = yes; then
13622
13011
  # Check if gcc -print-prog-name=ld gives a path.
13623
 
  { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
13624
 
echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
 
13012
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
 
13013
$as_echo_n "checking for ld used by $CC... " >&6; }
13625
13014
  case $host in
13626
13015
  *-*-mingw*)
13627
13016
    # gcc leaves a trailing carriage return which upsets mingw
13650
13039
    ;;
13651
13040
  esac
13652
13041
elif test "$with_gnu_ld" = yes; then
13653
 
  { echo "$as_me:$LINENO: checking for GNU ld" >&5
13654
 
echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
 
13042
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
 
13043
$as_echo_n "checking for GNU ld... " >&6; }
13655
13044
else
13656
 
  { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
13657
 
echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
 
13045
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
 
13046
$as_echo_n "checking for non-GNU ld... " >&6; }
13658
13047
fi
13659
 
if test "${lt_cv_path_LD+set}" = set; then
13660
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
13048
if test "${lt_cv_path_LD+set}" = set; then :
 
13049
  $as_echo_n "(cached) " >&6
13661
13050
else
13662
13051
  if test -z "$LD"; then
13663
13052
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
13687
13076
 
13688
13077
LD="$lt_cv_path_LD"
13689
13078
if test -n "$LD"; then
13690
 
  { echo "$as_me:$LINENO: result: $LD" >&5
13691
 
echo "${ECHO_T}$LD" >&6; }
 
13079
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
 
13080
$as_echo "$LD" >&6; }
13692
13081
else
13693
 
  { echo "$as_me:$LINENO: result: no" >&5
13694
 
echo "${ECHO_T}no" >&6; }
 
13082
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
13083
$as_echo "no" >&6; }
13695
13084
fi
13696
 
test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
13697
 
echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
13698
 
   { (exit 1); exit 1; }; }
13699
 
{ echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
13700
 
echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
13701
 
if test "${lt_cv_prog_gnu_ld+set}" = set; then
13702
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
13085
test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
 
13086
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
 
13087
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
 
13088
if test "${lt_cv_prog_gnu_ld+set}" = set; then :
 
13089
  $as_echo_n "(cached) " >&6
13703
13090
else
13704
13091
  # I'd rather use --version here, but apparently some GNU lds only accept -v.
13705
13092
case `$LD -v 2>&1 </dev/null` in
13711
13098
  ;;
13712
13099
esac
13713
13100
fi
13714
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
13715
 
echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
 
13101
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
 
13102
$as_echo "$lt_cv_prog_gnu_ld" >&6; }
13716
13103
with_gnu_ld=$lt_cv_prog_gnu_ld
13717
13104
 
13718
13105
 
13766
13153
    fi
13767
13154
 
13768
13155
    # PORTME: fill in a description of your system's C++ link characteristics
13769
 
    { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13770
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
 
13156
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 
13157
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
13771
13158
    ld_shlibs_CXX=yes
13772
13159
    case $host_os in
13773
13160
      aix3*)
13856
13243
          fi
13857
13244
        fi
13858
13245
 
 
13246
        export_dynamic_flag_spec_CXX='${wl}-bexpall'
13859
13247
        # It seems that -bexpall does not export symbols beginning with
13860
13248
        # underscore (_), so it is better to generate a list of symbols to
13861
13249
        # export.
13866
13254
          allow_undefined_flag_CXX='-berok'
13867
13255
          # Determine the default libpath from the value encoded in an empty
13868
13256
          # executable.
13869
 
          cat >conftest.$ac_ext <<_ACEOF
13870
 
/* confdefs.h.  */
13871
 
_ACEOF
13872
 
cat confdefs.h >>conftest.$ac_ext
13873
 
cat >>conftest.$ac_ext <<_ACEOF
 
13257
          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13874
13258
/* end confdefs.h.  */
13875
13259
 
13876
13260
int
13881
13265
  return 0;
13882
13266
}
13883
13267
_ACEOF
13884
 
rm -f conftest.$ac_objext conftest$ac_exeext
13885
 
if { (ac_try="$ac_link"
13886
 
case "(($ac_try" in
13887
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13888
 
  *) ac_try_echo=$ac_try;;
13889
 
esac
13890
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13891
 
  (eval "$ac_link") 2>conftest.er1
13892
 
  ac_status=$?
13893
 
  grep -v '^ *+' conftest.er1 >conftest.err
13894
 
  rm -f conftest.er1
13895
 
  cat conftest.err >&5
13896
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13897
 
  (exit $ac_status); } && {
13898
 
         test -z "$ac_cxx_werror_flag" ||
13899
 
         test ! -s conftest.err
13900
 
       } && test -s conftest$ac_exeext &&
13901
 
       $as_test_x conftest$ac_exeext; then
 
13268
if ac_fn_cxx_try_link "$LINENO"; then :
13902
13269
  
13903
13270
lt_aix_libpath_sed='
13904
13271
    /Import File Strings/,/^$/ {
13912
13279
if test -z "$aix_libpath"; then
13913
13280
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13914
13281
fi
13915
 
else
13916
 
  echo "$as_me: failed program was:" >&5
13917
 
sed 's/^/| /' conftest.$ac_ext >&5
13918
 
 
13919
 
        
13920
13282
fi
13921
 
 
13922
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13923
 
      conftest$ac_exeext conftest.$ac_ext
 
13283
rm -f core conftest.err conftest.$ac_objext \
 
13284
    conftest$ac_exeext conftest.$ac_ext
13924
13285
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
13925
13286
 
13926
13287
          hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
13934
13295
          else
13935
13296
            # Determine the default libpath from the value encoded in an
13936
13297
            # empty executable.
13937
 
            cat >conftest.$ac_ext <<_ACEOF
13938
 
/* confdefs.h.  */
13939
 
_ACEOF
13940
 
cat confdefs.h >>conftest.$ac_ext
13941
 
cat >>conftest.$ac_ext <<_ACEOF
 
13298
            cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13942
13299
/* end confdefs.h.  */
13943
13300
 
13944
13301
int
13949
13306
  return 0;
13950
13307
}
13951
13308
_ACEOF
13952
 
rm -f conftest.$ac_objext conftest$ac_exeext
13953
 
if { (ac_try="$ac_link"
13954
 
case "(($ac_try" in
13955
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13956
 
  *) ac_try_echo=$ac_try;;
13957
 
esac
13958
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13959
 
  (eval "$ac_link") 2>conftest.er1
13960
 
  ac_status=$?
13961
 
  grep -v '^ *+' conftest.er1 >conftest.err
13962
 
  rm -f conftest.er1
13963
 
  cat conftest.err >&5
13964
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13965
 
  (exit $ac_status); } && {
13966
 
         test -z "$ac_cxx_werror_flag" ||
13967
 
         test ! -s conftest.err
13968
 
       } && test -s conftest$ac_exeext &&
13969
 
       $as_test_x conftest$ac_exeext; then
 
13309
if ac_fn_cxx_try_link "$LINENO"; then :
13970
13310
  
13971
13311
lt_aix_libpath_sed='
13972
13312
    /Import File Strings/,/^$/ {
13980
13320
if test -z "$aix_libpath"; then
13981
13321
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13982
13322
fi
13983
 
else
13984
 
  echo "$as_me: failed program was:" >&5
13985
 
sed 's/^/| /' conftest.$ac_ext >&5
13986
 
 
13987
 
        
13988
13323
fi
13989
 
 
13990
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13991
 
      conftest$ac_exeext conftest.$ac_ext
 
13324
rm -f core conftest.err conftest.$ac_objext \
 
13325
    conftest$ac_exeext conftest.$ac_ext
13992
13326
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
13993
13327
 
13994
13328
            hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
14026
13360
        esac
14027
13361
        ;;
14028
13362
 
14029
 
      cygwin* | mingw* | pw32*)
 
13363
      cygwin* | mingw* | pw32* | cegcc*)
14030
13364
        # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
14031
13365
        # as there is no search path for DLLs.
14032
13366
        hardcode_libdir_flag_spec_CXX='-L$libdir'
14059
13393
  whole_archive_flag_spec_CXX=''
14060
13394
  link_all_deplibs_CXX=yes
14061
13395
  allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
14062
 
  if test "$GCC" = "yes"; then
 
13396
  case $cc_basename in
 
13397
     ifort*) _lt_dar_can_shared=yes ;;
 
13398
     *) _lt_dar_can_shared=$GCC ;;
 
13399
  esac
 
13400
  if test "$_lt_dar_can_shared" = "yes"; then
14063
13401
    output_verbose_link_cmd=echo
14064
13402
    archive_cmds_CXX="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
14065
13403
    module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
14269
13607
        inherit_rpath_CXX=yes
14270
13608
        ;;
14271
13609
 
14272
 
      linux* | k*bsd*-gnu)
 
13610
      linux* | k*bsd*-gnu | kopensolaris*-gnu)
14273
13611
        case $cc_basename in
14274
13612
          KCC*)
14275
13613
            # Kuck and Associates, Inc. (KAI) C++ Compiler
14728
14066
        ;;
14729
14067
    esac
14730
14068
 
14731
 
    { echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
14732
 
echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
 
14069
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
 
14070
$as_echo "$ld_shlibs_CXX" >&6; }
14733
14071
    test "$ld_shlibs_CXX" = no && can_build_shared=no
14734
14072
 
14735
14073
    GCC_CXX="$GXX"
14756
14094
};
14757
14095
_LT_EOF
14758
14096
 
14759
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
14097
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14760
14098
  (eval $ac_compile) 2>&5
14761
14099
  ac_status=$?
14762
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14763
 
  (exit $ac_status); }; then
 
14100
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
14101
  test $ac_status = 0; }; then
14764
14102
  # Parse the compiler output and extract the necessary
14765
14103
  # objects, libraries and library flags.
14766
14104
 
14941
14279
lt_prog_compiler_pic_CXX=
14942
14280
lt_prog_compiler_static_CXX=
14943
14281
 
14944
 
{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
14945
 
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
 
14282
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
 
14283
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
14946
14284
 
14947
14285
  # C++ specific cases for pic, static, wl, etc.
14948
14286
  if test "$GXX" = yes; then
14976
14314
    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
14977
14315
      # PIC is the default for these OSes.
14978
14316
      ;;
14979
 
    mingw* | cygwin* | os2* | pw32*)
 
14317
    mingw* | cygwin* | os2* | pw32* | cegcc*)
14980
14318
      # This hack is so that the source file can tell whether it is being
14981
14319
      # built for inclusion in a dll (and should export symbols for example).
14982
14320
      # Although the cygwin gcc ignores -fPIC, still need this for old-style
15002
14340
      fi
15003
14341
      ;;
15004
14342
    hpux*)
15005
 
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
15006
 
      # not for PA HP-UX.
 
14343
      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
 
14344
      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
 
14345
      # sets the default TLS model and affects inlining.
15007
14346
      case $host_cpu in
15008
 
      hppa*64*|ia64*)
 
14347
      hppa*64*)
15009
14348
        ;;
15010
14349
      *)
15011
14350
        lt_prog_compiler_pic_CXX='-fPIC'
15096
14435
            ;;
15097
14436
        esac
15098
14437
        ;;
15099
 
      linux* | k*bsd*-gnu)
 
14438
      linux* | k*bsd*-gnu | kopensolaris*-gnu)
15100
14439
        case $cc_basename in
15101
14440
          KCC*)
15102
14441
            # KAI C++ Compiler
15103
14442
            lt_prog_compiler_wl_CXX='--backend -Wl,'
15104
14443
            lt_prog_compiler_pic_CXX='-fPIC'
15105
14444
            ;;
15106
 
          icpc* | ecpc* )
15107
 
            # Intel C++
 
14445
          ecpc* )
 
14446
            # old Intel C++ for x86_64 which still supported -KPIC.
15108
14447
            lt_prog_compiler_wl_CXX='-Wl,'
15109
14448
            lt_prog_compiler_pic_CXX='-KPIC'
15110
14449
            lt_prog_compiler_static_CXX='-static'
15111
14450
            ;;
 
14451
          icpc* )
 
14452
            # Intel C++, used to be incompatible with GCC.
 
14453
            # ICC 10 doesn't accept -KPIC any more.
 
14454
            lt_prog_compiler_wl_CXX='-Wl,'
 
14455
            lt_prog_compiler_pic_CXX='-fPIC'
 
14456
            lt_prog_compiler_static_CXX='-static'
 
14457
            ;;
15112
14458
          pgCC* | pgcpp*)
15113
14459
            # Portland Group C++ compiler
15114
14460
            lt_prog_compiler_wl_CXX='-Wl,'
15250
14596
    lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX@&t@ -DPIC"
15251
14597
    ;;
15252
14598
esac
15253
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
15254
 
echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6; }
 
14599
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
 
14600
$as_echo "$lt_prog_compiler_pic_CXX" >&6; }
15255
14601
 
15256
14602
 
15257
14603
 
15259
14605
# Check to make sure the PIC flag actually works.
15260
14606
#
15261
14607
if test -n "$lt_prog_compiler_pic_CXX"; then
15262
 
  { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
15263
 
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6; }
15264
 
if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then
15265
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
14608
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
 
14609
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
 
14610
if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then :
 
14611
  $as_echo_n "(cached) " >&6
15266
14612
else
15267
14613
  lt_cv_prog_compiler_pic_works_CXX=no
15268
14614
   ac_outfile=conftest.$ac_objext
15294
14640
   $RM conftest*
15295
14641
 
15296
14642
fi
15297
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
15298
 
echo "${ECHO_T}$lt_cv_prog_compiler_pic_works_CXX" >&6; }
 
14643
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
 
14644
$as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
15299
14645
 
15300
14646
if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
15301
14647
    case $lt_prog_compiler_pic_CXX in
15315
14661
# Check to make sure the static flag actually works.
15316
14662
#
15317
14663
wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
15318
 
{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
15319
 
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
15320
 
if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then
15321
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
14664
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
 
14665
$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
 
14666
if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then :
 
14667
  $as_echo_n "(cached) " >&6
15322
14668
else
15323
14669
  lt_cv_prog_compiler_static_works_CXX=no
15324
14670
   save_LDFLAGS="$LDFLAGS"
15343
14689
   LDFLAGS="$save_LDFLAGS"
15344
14690
 
15345
14691
fi
15346
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_CXX" >&5
15347
 
echo "${ECHO_T}$lt_cv_prog_compiler_static_works_CXX" >&6; }
 
14692
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
 
14693
$as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
15348
14694
 
15349
14695
if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
15350
14696
    :
15355
14701
 
15356
14702
 
15357
14703
 
15358
 
    { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
15359
 
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
15360
 
if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
15361
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
15362
 
else
15363
 
  lt_cv_prog_compiler_c_o_CXX=no
15364
 
   $RM -r conftest 2>/dev/null
15365
 
   mkdir conftest
15366
 
   cd conftest
15367
 
   mkdir out
15368
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15369
 
 
15370
 
   lt_compiler_flag="-o out/conftest2.$ac_objext"
15371
 
   # Insert the option either (1) after the last *FLAGS variable, or
15372
 
   # (2) before a word containing "conftest.", or (3) at the end.
15373
 
   # Note that $ac_compile itself does not contain backslashes and begins
15374
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
15375
 
   lt_compile=`echo "$ac_compile" | $SED \
15376
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15377
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15378
 
   -e 's:$: $lt_compiler_flag:'`
15379
 
   (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
15380
 
   (eval "$lt_compile" 2>out/conftest.err)
15381
 
   ac_status=$?
15382
 
   cat out/conftest.err >&5
15383
 
   echo "$as_me:__oline__: \$? = $ac_status" >&5
15384
 
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
15385
 
   then
15386
 
     # The compiler can only warn and ignore the option if not recognized
15387
 
     # So say no if there are warnings
15388
 
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
15389
 
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
15390
 
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
15391
 
       lt_cv_prog_compiler_c_o_CXX=yes
15392
 
     fi
15393
 
   fi
15394
 
   chmod u+w . 2>&5
15395
 
   $RM conftest*
15396
 
   # SGI C++ compiler will create directory out/ii_files/ for
15397
 
   # template instantiation
15398
 
   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
15399
 
   $RM out/* && rmdir out
15400
 
   cd ..
15401
 
   $RM -r conftest
15402
 
   $RM conftest*
15403
 
 
15404
 
fi
15405
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
15406
 
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6; }
15407
 
 
15408
 
 
15409
 
 
15410
 
    { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
15411
 
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
15412
 
if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
15413
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
15414
 
else
15415
 
  lt_cv_prog_compiler_c_o_CXX=no
15416
 
   $RM -r conftest 2>/dev/null
15417
 
   mkdir conftest
15418
 
   cd conftest
15419
 
   mkdir out
15420
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15421
 
 
15422
 
   lt_compiler_flag="-o out/conftest2.$ac_objext"
15423
 
   # Insert the option either (1) after the last *FLAGS variable, or
15424
 
   # (2) before a word containing "conftest.", or (3) at the end.
15425
 
   # Note that $ac_compile itself does not contain backslashes and begins
15426
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
15427
 
   lt_compile=`echo "$ac_compile" | $SED \
15428
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15429
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15430
 
   -e 's:$: $lt_compiler_flag:'`
15431
 
   (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
15432
 
   (eval "$lt_compile" 2>out/conftest.err)
15433
 
   ac_status=$?
15434
 
   cat out/conftest.err >&5
15435
 
   echo "$as_me:__oline__: \$? = $ac_status" >&5
15436
 
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
15437
 
   then
15438
 
     # The compiler can only warn and ignore the option if not recognized
15439
 
     # So say no if there are warnings
15440
 
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
15441
 
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
15442
 
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
15443
 
       lt_cv_prog_compiler_c_o_CXX=yes
15444
 
     fi
15445
 
   fi
15446
 
   chmod u+w . 2>&5
15447
 
   $RM conftest*
15448
 
   # SGI C++ compiler will create directory out/ii_files/ for
15449
 
   # template instantiation
15450
 
   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
15451
 
   $RM out/* && rmdir out
15452
 
   cd ..
15453
 
   $RM -r conftest
15454
 
   $RM conftest*
15455
 
 
15456
 
fi
15457
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
15458
 
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6; }
 
14704
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
 
14705
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
 
14706
if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
 
14707
  $as_echo_n "(cached) " >&6
 
14708
else
 
14709
  lt_cv_prog_compiler_c_o_CXX=no
 
14710
   $RM -r conftest 2>/dev/null
 
14711
   mkdir conftest
 
14712
   cd conftest
 
14713
   mkdir out
 
14714
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
14715
 
 
14716
   lt_compiler_flag="-o out/conftest2.$ac_objext"
 
14717
   # Insert the option either (1) after the last *FLAGS variable, or
 
14718
   # (2) before a word containing "conftest.", or (3) at the end.
 
14719
   # Note that $ac_compile itself does not contain backslashes and begins
 
14720
   # with a dollar sign (not a hyphen), so the echo should work correctly.
 
14721
   lt_compile=`echo "$ac_compile" | $SED \
 
14722
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 
14723
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 
14724
   -e 's:$: $lt_compiler_flag:'`
 
14725
   (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
 
14726
   (eval "$lt_compile" 2>out/conftest.err)
 
14727
   ac_status=$?
 
14728
   cat out/conftest.err >&5
 
14729
   echo "$as_me:__oline__: \$? = $ac_status" >&5
 
14730
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
 
14731
   then
 
14732
     # The compiler can only warn and ignore the option if not recognized
 
14733
     # So say no if there are warnings
 
14734
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
 
14735
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
 
14736
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
 
14737
       lt_cv_prog_compiler_c_o_CXX=yes
 
14738
     fi
 
14739
   fi
 
14740
   chmod u+w . 2>&5
 
14741
   $RM conftest*
 
14742
   # SGI C++ compiler will create directory out/ii_files/ for
 
14743
   # template instantiation
 
14744
   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
 
14745
   $RM out/* && rmdir out
 
14746
   cd ..
 
14747
   $RM -r conftest
 
14748
   $RM conftest*
 
14749
 
 
14750
fi
 
14751
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
 
14752
$as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
 
14753
 
 
14754
 
 
14755
 
 
14756
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
 
14757
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
 
14758
if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
 
14759
  $as_echo_n "(cached) " >&6
 
14760
else
 
14761
  lt_cv_prog_compiler_c_o_CXX=no
 
14762
   $RM -r conftest 2>/dev/null
 
14763
   mkdir conftest
 
14764
   cd conftest
 
14765
   mkdir out
 
14766
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
14767
 
 
14768
   lt_compiler_flag="-o out/conftest2.$ac_objext"
 
14769
   # Insert the option either (1) after the last *FLAGS variable, or
 
14770
   # (2) before a word containing "conftest.", or (3) at the end.
 
14771
   # Note that $ac_compile itself does not contain backslashes and begins
 
14772
   # with a dollar sign (not a hyphen), so the echo should work correctly.
 
14773
   lt_compile=`echo "$ac_compile" | $SED \
 
14774
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 
14775
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 
14776
   -e 's:$: $lt_compiler_flag:'`
 
14777
   (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
 
14778
   (eval "$lt_compile" 2>out/conftest.err)
 
14779
   ac_status=$?
 
14780
   cat out/conftest.err >&5
 
14781
   echo "$as_me:__oline__: \$? = $ac_status" >&5
 
14782
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
 
14783
   then
 
14784
     # The compiler can only warn and ignore the option if not recognized
 
14785
     # So say no if there are warnings
 
14786
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
 
14787
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
 
14788
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
 
14789
       lt_cv_prog_compiler_c_o_CXX=yes
 
14790
     fi
 
14791
   fi
 
14792
   chmod u+w . 2>&5
 
14793
   $RM conftest*
 
14794
   # SGI C++ compiler will create directory out/ii_files/ for
 
14795
   # template instantiation
 
14796
   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
 
14797
   $RM out/* && rmdir out
 
14798
   cd ..
 
14799
   $RM -r conftest
 
14800
   $RM conftest*
 
14801
 
 
14802
fi
 
14803
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
 
14804
$as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
15459
14805
 
15460
14806
 
15461
14807
 
15463
14809
hard_links="nottested"
15464
14810
if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
15465
14811
  # do not overwrite the value of need_locks provided by the user
15466
 
  { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
15467
 
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
 
14812
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
 
14813
$as_echo_n "checking if we can lock with hard links... " >&6; }
15468
14814
  hard_links=yes
15469
14815
  $RM conftest*
15470
14816
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
15471
14817
  touch conftest.a
15472
14818
  ln conftest.a conftest.b 2>&5 || hard_links=no
15473
14819
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
15474
 
  { echo "$as_me:$LINENO: result: $hard_links" >&5
15475
 
echo "${ECHO_T}$hard_links" >&6; }
 
14820
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
 
14821
$as_echo "$hard_links" >&6; }
15476
14822
  if test "$hard_links" = no; then
15477
 
    { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
15478
 
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
 
14823
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
 
14824
$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
15479
14825
    need_locks=warn
15480
14826
  fi
15481
14827
else
15484
14830
 
15485
14831
 
15486
14832
 
15487
 
    { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
15488
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
 
14833
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 
14834
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
15489
14835
 
15490
14836
  export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
15491
14837
  case $host_os in
15501
14847
  pw32*)
15502
14848
    export_symbols_cmds_CXX="$ltdll_cmds"
15503
14849
  ;;
15504
 
  cygwin* | mingw*)
 
14850
  cygwin* | mingw* | cegcc*)
15505
14851
    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'
15506
14852
  ;;
15507
14853
  linux* | k*bsd*-gnu)
15513
14859
  esac
15514
14860
  exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
15515
14861
 
15516
 
{ echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
15517
 
echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
 
14862
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
 
14863
$as_echo "$ld_shlibs_CXX" >&6; }
15518
14864
test "$ld_shlibs_CXX" = no && can_build_shared=no
15519
14865
 
15520
14866
with_gnu_ld_CXX=$with_gnu_ld
15541
14887
      # Test whether the compiler implicitly links with -lc since on some
15542
14888
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
15543
14889
      # to ld, don't add -lc before -lgcc.
15544
 
      { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
15545
 
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
 
14890
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
 
14891
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
15546
14892
      $RM conftest*
15547
14893
      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15548
14894
 
15549
 
      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
14895
      if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15550
14896
  (eval $ac_compile) 2>&5
15551
14897
  ac_status=$?
15552
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15553
 
  (exit $ac_status); } 2>conftest.err; then
 
14898
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
14899
  test $ac_status = 0; } 2>conftest.err; then
15554
14900
        soname=conftest
15555
14901
        lib=conftest
15556
14902
        libobjs=conftest.$ac_objext
15564
14910
        libname=conftest
15565
14911
        lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
15566
14912
        allow_undefined_flag_CXX=
15567
 
        if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
 
14913
        if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
15568
14914
  (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
15569
14915
  ac_status=$?
15570
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15571
 
  (exit $ac_status); }
 
14916
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
14917
  test $ac_status = 0; }
15572
14918
        then
15573
14919
          archive_cmds_need_lc_CXX=no
15574
14920
        else
15579
14925
        cat conftest.err 1>&5
15580
14926
      fi
15581
14927
      $RM conftest*
15582
 
      { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
15583
 
echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6; }
 
14928
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc_CXX" >&5
 
14929
$as_echo "$archive_cmds_need_lc_CXX" >&6; }
15584
14930
      ;;
15585
14931
    esac
15586
14932
  fi
15650
14996
 
15651
14997
 
15652
14998
 
15653
 
    { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
15654
 
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
 
14999
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
 
15000
$as_echo_n "checking dynamic linker characteristics... " >&6; }
15655
15001
 
15656
15002
library_names_spec=
15657
15003
libname_spec='lib$name'
15762
15108
  # libtool to hard-code these into programs
15763
15109
  ;;
15764
15110
 
15765
 
cygwin* | mingw* | pw32*)
 
15111
cygwin* | mingw* | pw32* | cegcc*)
15766
15112
  version_type=windows
15767
15113
  shrext_cmds=".dll"
15768
15114
  need_version=no
15769
15115
  need_lib_prefix=no
15770
15116
 
15771
15117
  case $GCC,$host_os in
15772
 
  yes,cygwin* | yes,mingw* | yes,pw32*)
 
15118
  yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
15773
15119
    library_names_spec='$libname.dll.a'
15774
15120
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
15775
15121
    postinstall_cmds='base_file=`basename \${file}`~
15792
15138
      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15793
15139
      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
15794
15140
      ;;
15795
 
    mingw*)
 
15141
    mingw* | cegcc*)
15796
15142
      # MinGW DLLs use traditional 'lib' prefix
15797
15143
      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15798
15144
      sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
16006
15352
  ;;
16007
15353
 
16008
15354
# This must be Linux ELF.
16009
 
linux* | k*bsd*-gnu)
 
15355
linux* | k*bsd*-gnu | kopensolaris*-gnu)
16010
15356
  version_type=linux
16011
15357
  need_lib_prefix=no
16012
15358
  need_version=no
16020
15366
  save_libdir=$libdir
16021
15367
  eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
16022
15368
       LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
16023
 
  cat >conftest.$ac_ext <<_ACEOF
16024
 
/* confdefs.h.  */
16025
 
_ACEOF
16026
 
cat confdefs.h >>conftest.$ac_ext
16027
 
cat >>conftest.$ac_ext <<_ACEOF
 
15369
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16028
15370
/* end confdefs.h.  */
16029
15371
 
16030
15372
int
16035
15377
  return 0;
16036
15378
}
16037
15379
_ACEOF
16038
 
rm -f conftest.$ac_objext conftest$ac_exeext
16039
 
if { (ac_try="$ac_link"
16040
 
case "(($ac_try" in
16041
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16042
 
  *) ac_try_echo=$ac_try;;
16043
 
esac
16044
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16045
 
  (eval "$ac_link") 2>conftest.er1
16046
 
  ac_status=$?
16047
 
  grep -v '^ *+' conftest.er1 >conftest.err
16048
 
  rm -f conftest.er1
16049
 
  cat conftest.err >&5
16050
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16051
 
  (exit $ac_status); } && {
16052
 
         test -z "$ac_cxx_werror_flag" ||
16053
 
         test ! -s conftest.err
16054
 
       } && test -s conftest$ac_exeext &&
16055
 
       $as_test_x conftest$ac_exeext; then
16056
 
  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then
 
15380
if ac_fn_cxx_try_link "$LINENO"; then :
 
15381
  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
16057
15382
  shlibpath_overrides_runpath=yes
16058
15383
fi
16059
 
 
16060
 
else
16061
 
  echo "$as_me: failed program was:" >&5
16062
 
sed 's/^/| /' conftest.$ac_ext >&5
16063
 
 
16064
 
        
16065
15384
fi
16066
 
 
16067
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16068
 
      conftest$ac_exeext conftest.$ac_ext
 
15385
rm -f core conftest.err conftest.$ac_objext \
 
15386
    conftest$ac_exeext conftest.$ac_ext
16069
15387
  LDFLAGS=$save_LDFLAGS
16070
15388
  libdir=$save_libdir
16071
15389
 
16272
15590
  version_type=linux
16273
15591
  need_lib_prefix=no
16274
15592
  need_version=no
16275
 
  library_name_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
15593
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16276
15594
  shlibpath_var=LD_LIBRARY_PATH
16277
15595
  shlibpath_overrides_runpath=no
16278
15596
  hardcode_into_libs=yes
16289
15607
  dynamic_linker=no
16290
15608
  ;;
16291
15609
esac
16292
 
{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
16293
 
echo "${ECHO_T}$dynamic_linker" >&6; }
 
15610
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
 
15611
$as_echo "$dynamic_linker" >&6; }
16294
15612
test "$dynamic_linker" = no && can_build_shared=no
16295
15613
 
16296
15614
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
16297
15615
if test "$GCC" = yes; then
16298
15616
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
16299
15617
fi
16300
 
 
 
15618
 
16301
15619
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
16302
15620
  sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
16303
15621
fi
16340
15658
 
16341
15659
 
16342
15660
 
16343
 
    { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
16344
 
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
 
15661
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
 
15662
$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
16345
15663
hardcode_action_CXX=
16346
15664
if test -n "$hardcode_libdir_flag_spec_CXX" ||
16347
15665
   test -n "$runpath_var_CXX" ||
16365
15683
  # directories.
16366
15684
  hardcode_action_CXX=unsupported
16367
15685
fi
16368
 
{ echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
16369
 
echo "${ECHO_T}$hardcode_action_CXX" >&6; }
 
15686
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
 
15687
$as_echo "$hardcode_action_CXX" >&6; }
16370
15688
 
16371
15689
if test "$hardcode_action_CXX" = relink ||
16372
15690
   test "$inherit_rpath_CXX" = yes; then
16424
15742
 
16425
15743
 
16426
15744
if test "$ac_cv_prog_AR" = false; then
16427
 
   { { echo "$as_me:$LINENO: error: The 'ar' utility was not found. Please put ar on the path." >&5
16428
 
echo "$as_me: error: The 'ar' utility was not found. Please put ar on the path." >&2;}
16429
 
   { (exit 1); exit 1; }; }
 
15745
   as_fn_error "The 'ar' utility was not found. Please put ar on the path." "$LINENO" 5
16430
15746
fi
16431
15747
 
16432
15748
# We use pkg-config to set up the cflags and libs for gtk.
16433
15749
# Extract the first word of "pkg-config", so it can be a program name with args.
16434
15750
set dummy pkg-config; ac_word=$2
16435
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
16436
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16437
 
if test "${ac_cv_prog_HAVE_PKG_CONFIG+set}" = set; then
16438
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
15751
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
15752
$as_echo_n "checking for $ac_word... " >&6; }
 
15753
if test "${ac_cv_prog_HAVE_PKG_CONFIG+set}" = set; then :
 
15754
  $as_echo_n "(cached) " >&6
16439
15755
else
16440
15756
  if test -n "$HAVE_PKG_CONFIG"; then
16441
15757
  ac_cv_prog_HAVE_PKG_CONFIG="$HAVE_PKG_CONFIG" # Let the user override the test.
16445
15761
do
16446
15762
  IFS=$as_save_IFS
16447
15763
  test -z "$as_dir" && as_dir=.
16448
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
15764
    for ac_exec_ext in '' $ac_executable_extensions; do
16449
15765
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16450
15766
    ac_cv_prog_HAVE_PKG_CONFIG="yes"
16451
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
15767
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16452
15768
    break 2
16453
15769
  fi
16454
15770
done
16455
 
done
 
15771
  done
16456
15772
IFS=$as_save_IFS
16457
15773
 
16458
15774
  test -z "$ac_cv_prog_HAVE_PKG_CONFIG" && ac_cv_prog_HAVE_PKG_CONFIG="no"
16460
15776
fi
16461
15777
HAVE_PKG_CONFIG=$ac_cv_prog_HAVE_PKG_CONFIG
16462
15778
if test -n "$HAVE_PKG_CONFIG"; then
16463
 
  { echo "$as_me:$LINENO: result: $HAVE_PKG_CONFIG" >&5
16464
 
echo "${ECHO_T}$HAVE_PKG_CONFIG" >&6; }
 
15779
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_PKG_CONFIG" >&5
 
15780
$as_echo "$HAVE_PKG_CONFIG" >&6; }
16465
15781
else
16466
 
  { echo "$as_me:$LINENO: result: no" >&5
16467
 
echo "${ECHO_T}no" >&6; }
 
15782
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
15783
$as_echo "no" >&6; }
16468
15784
fi
16469
15785
 
16470
15786
 
16471
15787
 
16472
15788
if test "$GCC" != "yes"; then
16473
 
   { { echo "$as_me:$LINENO: error: Only GCC is currently supported. Please put gcc in the path." >&5
16474
 
echo "$as_me: error: Only GCC is currently supported. Please put gcc in the path." >&2;}
16475
 
   { (exit 1); exit 1; }; }
 
15789
   as_fn_error "Only GCC is currently supported. Please put gcc in the path." "$LINENO" 5
16476
15790
fi
16477
15791
 
16478
15792
###
16479
15793
### Libraries
16480
15794
###
16481
15795
 
16482
 
{ echo "$as_me:$LINENO: checking for X" >&5
16483
 
echo $ECHO_N "checking for X... $ECHO_C" >&6; }
16484
 
 
16485
 
 
16486
 
# Check whether --with-x was given.
16487
 
if test "${with_x+set}" = set; then
 
15796
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
 
15797
$as_echo_n "checking for X... " >&6; }
 
15798
 
 
15799
 
 
15800
@%:@ Check whether --with-x was given.
 
15801
if test "${with_x+set}" = set; then :
16488
15802
  withval=$with_x; 
16489
15803
fi
16490
15804
 
16494
15808
  have_x=disabled
16495
15809
else
16496
15810
  case $x_includes,$x_libraries in #(
16497
 
    *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
16498
 
echo "$as_me: error: Cannot use X directory names containing '" >&2;}
16499
 
   { (exit 1); exit 1; }; };; #(
16500
 
    *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
16501
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
15811
    *\'*) as_fn_error "cannot use X directory names containing '" "$LINENO" 5;; #(
 
15812
    *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then :
 
15813
  $as_echo_n "(cached) " >&6
16502
15814
else
16503
15815
  # One or both of the vars are not set, and there is no cached value.
16504
15816
ac_x_includes=no ac_x_libraries=no
16519
15831
      eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
16520
15832
    done
16521
15833
    # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
16522
 
    for ac_extension in a so sl; do
 
15834
    for ac_extension in a so sl dylib la dll; do
16523
15835
      if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
16524
15836
         test -f "$ac_im_libdir/libX11.$ac_extension"; then
16525
15837
        ac_im_usrlibdir=$ac_im_libdir; break
16533
15845
        *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
16534
15846
    esac
16535
15847
    case $ac_im_usrlibdir in
16536
 
        /usr/lib | /lib) ;;
 
15848
        /usr/lib | /usr/lib64 | /lib | /lib64) ;;
16537
15849
        *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
16538
15850
    esac
16539
15851
  fi
16545
15857
# Check X11 before X11Rn because it is often a symlink to the current release.
16546
15858
ac_x_header_dirs='
16547
15859
/usr/X11/include
 
15860
/usr/X11R7/include
16548
15861
/usr/X11R6/include
16549
15862
/usr/X11R5/include
16550
15863
/usr/X11R4/include
16551
15864
 
16552
15865
/usr/include/X11
 
15866
/usr/include/X11R7
16553
15867
/usr/include/X11R6
16554
15868
/usr/include/X11R5
16555
15869
/usr/include/X11R4
16556
15870
 
16557
15871
/usr/local/X11/include
 
15872
/usr/local/X11R7/include
16558
15873
/usr/local/X11R6/include
16559
15874
/usr/local/X11R5/include
16560
15875
/usr/local/X11R4/include
16561
15876
 
16562
15877
/usr/local/include/X11
 
15878
/usr/local/include/X11R7
16563
15879
/usr/local/include/X11R6
16564
15880
/usr/local/include/X11R5
16565
15881
/usr/local/include/X11R4
16581
15897
if test "$ac_x_includes" = no; then
16582
15898
  # Guess where to find include files, by looking for Xlib.h.
16583
15899
  # First, try using that file with no special directory specified.
16584
 
  cat >conftest.$ac_ext <<_ACEOF
16585
 
/* confdefs.h.  */
16586
 
_ACEOF
16587
 
cat confdefs.h >>conftest.$ac_ext
16588
 
cat >>conftest.$ac_ext <<_ACEOF
 
15900
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16589
15901
/* end confdefs.h.  */
16590
15902
@%:@include <X11/Xlib.h>
16591
15903
_ACEOF
16592
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
16593
 
case "(($ac_try" in
16594
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16595
 
  *) ac_try_echo=$ac_try;;
16596
 
esac
16597
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16598
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16599
 
  ac_status=$?
16600
 
  grep -v '^ *+' conftest.er1 >conftest.err
16601
 
  rm -f conftest.er1
16602
 
  cat conftest.err >&5
16603
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16604
 
  (exit $ac_status); } >/dev/null && {
16605
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16606
 
         test ! -s conftest.err
16607
 
       }; then
 
15904
if ac_fn_c_try_cpp "$LINENO"; then :
16608
15905
  # We can compile using X headers with no special include directory.
16609
15906
ac_x_includes=
16610
15907
else
16611
 
  echo "$as_me: failed program was:" >&5
16612
 
sed 's/^/| /' conftest.$ac_ext >&5
16613
 
 
16614
15908
  for ac_dir in $ac_x_header_dirs; do
16615
15909
  if test -r "$ac_dir/X11/Xlib.h"; then
16616
15910
    ac_x_includes=$ac_dir
16618
15912
  fi
16619
15913
done
16620
15914
fi
16621
 
 
16622
15915
rm -f conftest.err conftest.$ac_ext
16623
15916
fi # $ac_x_includes = no
16624
15917
 
16628
15921
  # Don't add to $LIBS permanently.
16629
15922
  ac_save_LIBS=$LIBS
16630
15923
  LIBS="-lX11 $LIBS"
16631
 
  cat >conftest.$ac_ext <<_ACEOF
16632
 
/* confdefs.h.  */
16633
 
_ACEOF
16634
 
cat confdefs.h >>conftest.$ac_ext
16635
 
cat >>conftest.$ac_ext <<_ACEOF
 
15924
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16636
15925
/* end confdefs.h.  */
16637
15926
@%:@include <X11/Xlib.h>
16638
15927
int
16643
15932
  return 0;
16644
15933
}
16645
15934
_ACEOF
16646
 
rm -f conftest.$ac_objext conftest$ac_exeext
16647
 
if { (ac_try="$ac_link"
16648
 
case "(($ac_try" in
16649
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16650
 
  *) ac_try_echo=$ac_try;;
16651
 
esac
16652
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16653
 
  (eval "$ac_link") 2>conftest.er1
16654
 
  ac_status=$?
16655
 
  grep -v '^ *+' conftest.er1 >conftest.err
16656
 
  rm -f conftest.er1
16657
 
  cat conftest.err >&5
16658
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16659
 
  (exit $ac_status); } && {
16660
 
         test -z "$ac_c_werror_flag" ||
16661
 
         test ! -s conftest.err
16662
 
       } && test -s conftest$ac_exeext &&
16663
 
       $as_test_x conftest$ac_exeext; then
 
15935
if ac_fn_c_try_link "$LINENO"; then :
16664
15936
  LIBS=$ac_save_LIBS
16665
15937
# We can link X programs with no special library path.
16666
15938
ac_x_libraries=
16667
15939
else
16668
 
  echo "$as_me: failed program was:" >&5
16669
 
sed 's/^/| /' conftest.$ac_ext >&5
16670
 
 
16671
 
        LIBS=$ac_save_LIBS
16672
 
for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
 
15940
  LIBS=$ac_save_LIBS
 
15941
for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
16673
15942
do
16674
15943
  # Don't even attempt the hair of trying to link an X program!
16675
 
  for ac_extension in a so sl; do
 
15944
  for ac_extension in a so sl dylib la dll; do
16676
15945
    if test -r "$ac_dir/libX11.$ac_extension"; then
16677
15946
      ac_x_libraries=$ac_dir
16678
15947
      break 2
16680
15949
  done
16681
15950
done
16682
15951
fi
16683
 
 
16684
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16685
 
      conftest$ac_exeext conftest.$ac_ext
 
15952
rm -f core conftest.err conftest.$ac_objext \
 
15953
    conftest$ac_exeext conftest.$ac_ext
16686
15954
fi # $ac_x_libraries = no
16687
15955
 
16688
15956
case $ac_x_includes,$ac_x_libraries in #(
16703
15971
fi # $with_x != no
16704
15972
 
16705
15973
if test "$have_x" != yes; then
16706
 
  { echo "$as_me:$LINENO: result: $have_x" >&5
16707
 
echo "${ECHO_T}$have_x" >&6; }
 
15974
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
 
15975
$as_echo "$have_x" >&6; }
16708
15976
  no_x=yes
16709
15977
else
16710
15978
  # If each of the values was on the command line, it overrides each guess.
16714
15982
  ac_cv_have_x="have_x=yes\
16715
15983
        ac_x_includes='$x_includes'\
16716
15984
        ac_x_libraries='$x_libraries'"
16717
 
  { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
16718
 
echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
 
15985
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
 
15986
$as_echo "libraries $x_libraries, headers $x_includes" >&6; }
16719
15987
fi
16720
15988
 
16721
15989
if test "$no_x" = yes; then
16722
15990
  # Not all programs may use this symbol, but it does not hurt to define it.
16723
15991
  
16724
 
cat >>confdefs.h <<\_ACEOF
16725
 
@%:@define X_DISPLAY_MISSING 1
16726
 
_ACEOF
 
15992
$as_echo "@%:@define X_DISPLAY_MISSING 1" >>confdefs.h
16727
15993
 
16728
15994
  X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
16729
15995
else
16736
16002
    X_LIBS="$X_LIBS -L$x_libraries"
16737
16003
    # For Solaris; some versions of Sun CC require a space after -R and
16738
16004
    # others require no space.  Words are not sufficient . . . .
16739
 
    { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
16740
 
echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
 
16005
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
 
16006
$as_echo_n "checking whether -R must be followed by a space... " >&6; }
16741
16007
    ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
16742
16008
    ac_xsave_c_werror_flag=$ac_c_werror_flag
16743
16009
    ac_c_werror_flag=yes
16744
 
    cat >conftest.$ac_ext <<_ACEOF
16745
 
/* confdefs.h.  */
16746
 
_ACEOF
16747
 
cat confdefs.h >>conftest.$ac_ext
16748
 
cat >>conftest.$ac_ext <<_ACEOF
 
16010
    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16749
16011
/* end confdefs.h.  */
16750
16012
 
16751
16013
int
16756
16018
  return 0;
16757
16019
}
16758
16020
_ACEOF
16759
 
rm -f conftest.$ac_objext conftest$ac_exeext
16760
 
if { (ac_try="$ac_link"
16761
 
case "(($ac_try" in
16762
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16763
 
  *) ac_try_echo=$ac_try;;
16764
 
esac
16765
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16766
 
  (eval "$ac_link") 2>conftest.er1
16767
 
  ac_status=$?
16768
 
  grep -v '^ *+' conftest.er1 >conftest.err
16769
 
  rm -f conftest.er1
16770
 
  cat conftest.err >&5
16771
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16772
 
  (exit $ac_status); } && {
16773
 
         test -z "$ac_c_werror_flag" ||
16774
 
         test ! -s conftest.err
16775
 
       } && test -s conftest$ac_exeext &&
16776
 
       $as_test_x conftest$ac_exeext; then
16777
 
  { echo "$as_me:$LINENO: result: no" >&5
16778
 
echo "${ECHO_T}no" >&6; }
 
16021
if ac_fn_c_try_link "$LINENO"; then :
 
16022
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
16023
$as_echo "no" >&6; }
16779
16024
       X_LIBS="$X_LIBS -R$x_libraries"
16780
16025
else
16781
 
  echo "$as_me: failed program was:" >&5
16782
 
sed 's/^/| /' conftest.$ac_ext >&5
16783
 
 
16784
 
        LIBS="$ac_xsave_LIBS -R $x_libraries"
16785
 
       cat >conftest.$ac_ext <<_ACEOF
16786
 
/* confdefs.h.  */
16787
 
_ACEOF
16788
 
cat confdefs.h >>conftest.$ac_ext
16789
 
cat >>conftest.$ac_ext <<_ACEOF
 
16026
  LIBS="$ac_xsave_LIBS -R $x_libraries"
 
16027
       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16790
16028
/* end confdefs.h.  */
16791
16029
 
16792
16030
int
16797
16035
  return 0;
16798
16036
}
16799
16037
_ACEOF
16800
 
rm -f conftest.$ac_objext conftest$ac_exeext
16801
 
if { (ac_try="$ac_link"
16802
 
case "(($ac_try" in
16803
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16804
 
  *) ac_try_echo=$ac_try;;
16805
 
esac
16806
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16807
 
  (eval "$ac_link") 2>conftest.er1
16808
 
  ac_status=$?
16809
 
  grep -v '^ *+' conftest.er1 >conftest.err
16810
 
  rm -f conftest.er1
16811
 
  cat conftest.err >&5
16812
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16813
 
  (exit $ac_status); } && {
16814
 
         test -z "$ac_c_werror_flag" ||
16815
 
         test ! -s conftest.err
16816
 
       } && test -s conftest$ac_exeext &&
16817
 
       $as_test_x conftest$ac_exeext; then
16818
 
  { echo "$as_me:$LINENO: result: yes" >&5
16819
 
echo "${ECHO_T}yes" >&6; }
 
16038
if ac_fn_c_try_link "$LINENO"; then :
 
16039
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
16040
$as_echo "yes" >&6; }
16820
16041
          X_LIBS="$X_LIBS -R $x_libraries"
16821
16042
else
16822
 
  echo "$as_me: failed program was:" >&5
16823
 
sed 's/^/| /' conftest.$ac_ext >&5
16824
 
 
16825
 
        { echo "$as_me:$LINENO: result: neither works" >&5
16826
 
echo "${ECHO_T}neither works" >&6; }
16827
 
fi
16828
 
 
16829
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16830
 
      conftest$ac_exeext conftest.$ac_ext
16831
 
fi
16832
 
 
16833
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16834
 
      conftest$ac_exeext conftest.$ac_ext
 
16043
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
 
16044
$as_echo "neither works" >&6; }
 
16045
fi
 
16046
rm -f core conftest.err conftest.$ac_objext \
 
16047
    conftest$ac_exeext conftest.$ac_ext
 
16048
fi
 
16049
rm -f core conftest.err conftest.$ac_objext \
 
16050
    conftest$ac_exeext conftest.$ac_ext
16835
16051
    ac_c_werror_flag=$ac_xsave_c_werror_flag
16836
16052
    LIBS=$ac_xsave_LIBS
16837
16053
  fi
16847
16063
    # libraries were built with DECnet support.  And Karl Berry says
16848
16064
    # the Alpha needs dnet_stub (dnet does not exist).
16849
16065
    ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
16850
 
    cat >conftest.$ac_ext <<_ACEOF
16851
 
/* confdefs.h.  */
16852
 
_ACEOF
16853
 
cat confdefs.h >>conftest.$ac_ext
16854
 
cat >>conftest.$ac_ext <<_ACEOF
 
16066
    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16855
16067
/* end confdefs.h.  */
16856
16068
 
16857
16069
/* Override any GCC internal prototype to avoid an error.
16869
16081
  return 0;
16870
16082
}
16871
16083
_ACEOF
16872
 
rm -f conftest.$ac_objext conftest$ac_exeext
16873
 
if { (ac_try="$ac_link"
16874
 
case "(($ac_try" in
16875
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16876
 
  *) ac_try_echo=$ac_try;;
16877
 
esac
16878
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16879
 
  (eval "$ac_link") 2>conftest.er1
16880
 
  ac_status=$?
16881
 
  grep -v '^ *+' conftest.er1 >conftest.err
16882
 
  rm -f conftest.er1
16883
 
  cat conftest.err >&5
16884
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16885
 
  (exit $ac_status); } && {
16886
 
         test -z "$ac_c_werror_flag" ||
16887
 
         test ! -s conftest.err
16888
 
       } && test -s conftest$ac_exeext &&
16889
 
       $as_test_x conftest$ac_exeext; then
16890
 
  :
 
16084
if ac_fn_c_try_link "$LINENO"; then :
 
16085
  
16891
16086
else
16892
 
  echo "$as_me: failed program was:" >&5
16893
 
sed 's/^/| /' conftest.$ac_ext >&5
16894
 
 
16895
 
        { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
16896
 
echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
16897
 
if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
16898
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
16087
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
 
16088
$as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
 
16089
if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then :
 
16090
  $as_echo_n "(cached) " >&6
16899
16091
else
16900
16092
  ac_check_lib_save_LIBS=$LIBS
16901
16093
LIBS="-ldnet  $LIBS"
16902
 
cat >conftest.$ac_ext <<_ACEOF
16903
 
/* confdefs.h.  */
16904
 
_ACEOF
16905
 
cat confdefs.h >>conftest.$ac_ext
16906
 
cat >>conftest.$ac_ext <<_ACEOF
 
16094
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16907
16095
/* end confdefs.h.  */
16908
16096
 
16909
16097
/* Override any GCC internal prototype to avoid an error.
16921
16109
  return 0;
16922
16110
}
16923
16111
_ACEOF
16924
 
rm -f conftest.$ac_objext conftest$ac_exeext
16925
 
if { (ac_try="$ac_link"
16926
 
case "(($ac_try" in
16927
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16928
 
  *) ac_try_echo=$ac_try;;
16929
 
esac
16930
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16931
 
  (eval "$ac_link") 2>conftest.er1
16932
 
  ac_status=$?
16933
 
  grep -v '^ *+' conftest.er1 >conftest.err
16934
 
  rm -f conftest.er1
16935
 
  cat conftest.err >&5
16936
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16937
 
  (exit $ac_status); } && {
16938
 
         test -z "$ac_c_werror_flag" ||
16939
 
         test ! -s conftest.err
16940
 
       } && test -s conftest$ac_exeext &&
16941
 
       $as_test_x conftest$ac_exeext; then
 
16112
if ac_fn_c_try_link "$LINENO"; then :
16942
16113
  ac_cv_lib_dnet_dnet_ntoa=yes
16943
16114
else
16944
 
  echo "$as_me: failed program was:" >&5
16945
 
sed 's/^/| /' conftest.$ac_ext >&5
16946
 
 
16947
 
        ac_cv_lib_dnet_dnet_ntoa=no
 
16115
  ac_cv_lib_dnet_dnet_ntoa=no
16948
16116
fi
16949
 
 
16950
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16951
 
      conftest$ac_exeext conftest.$ac_ext
 
16117
rm -f core conftest.err conftest.$ac_objext \
 
16118
    conftest$ac_exeext conftest.$ac_ext
16952
16119
LIBS=$ac_check_lib_save_LIBS
16953
16120
fi
16954
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
16955
 
echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
16956
 
if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
 
16121
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
 
16122
$as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
 
16123
if test "x$ac_cv_lib_dnet_dnet_ntoa" = x""yes; then :
16957
16124
  X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
16958
16125
fi
16959
16126
 
16960
16127
    if test $ac_cv_lib_dnet_dnet_ntoa = no; then
16961
 
      { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
16962
 
echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
16963
 
if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
16964
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
16128
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
 
16129
$as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
 
16130
if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then :
 
16131
  $as_echo_n "(cached) " >&6
16965
16132
else
16966
16133
  ac_check_lib_save_LIBS=$LIBS
16967
16134
LIBS="-ldnet_stub  $LIBS"
16968
 
cat >conftest.$ac_ext <<_ACEOF
16969
 
/* confdefs.h.  */
16970
 
_ACEOF
16971
 
cat confdefs.h >>conftest.$ac_ext
16972
 
cat >>conftest.$ac_ext <<_ACEOF
 
16135
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16973
16136
/* end confdefs.h.  */
16974
16137
 
16975
16138
/* Override any GCC internal prototype to avoid an error.
16987
16150
  return 0;
16988
16151
}
16989
16152
_ACEOF
16990
 
rm -f conftest.$ac_objext conftest$ac_exeext
16991
 
if { (ac_try="$ac_link"
16992
 
case "(($ac_try" in
16993
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16994
 
  *) ac_try_echo=$ac_try;;
16995
 
esac
16996
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16997
 
  (eval "$ac_link") 2>conftest.er1
16998
 
  ac_status=$?
16999
 
  grep -v '^ *+' conftest.er1 >conftest.err
17000
 
  rm -f conftest.er1
17001
 
  cat conftest.err >&5
17002
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17003
 
  (exit $ac_status); } && {
17004
 
         test -z "$ac_c_werror_flag" ||
17005
 
         test ! -s conftest.err
17006
 
       } && test -s conftest$ac_exeext &&
17007
 
       $as_test_x conftest$ac_exeext; then
 
16153
if ac_fn_c_try_link "$LINENO"; then :
17008
16154
  ac_cv_lib_dnet_stub_dnet_ntoa=yes
17009
16155
else
17010
 
  echo "$as_me: failed program was:" >&5
17011
 
sed 's/^/| /' conftest.$ac_ext >&5
17012
 
 
17013
 
        ac_cv_lib_dnet_stub_dnet_ntoa=no
 
16156
  ac_cv_lib_dnet_stub_dnet_ntoa=no
17014
16157
fi
17015
 
 
17016
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17017
 
      conftest$ac_exeext conftest.$ac_ext
 
16158
rm -f core conftest.err conftest.$ac_objext \
 
16159
    conftest$ac_exeext conftest.$ac_ext
17018
16160
LIBS=$ac_check_lib_save_LIBS
17019
16161
fi
17020
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
17021
 
echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
17022
 
if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
 
16162
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
 
16163
$as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
 
16164
if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = x""yes; then :
17023
16165
  X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
17024
16166
fi
17025
16167
 
17026
16168
    fi
17027
16169
fi
17028
 
 
17029
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17030
 
      conftest$ac_exeext conftest.$ac_ext
 
16170
rm -f core conftest.err conftest.$ac_objext \
 
16171
    conftest$ac_exeext conftest.$ac_ext
17031
16172
    LIBS="$ac_xsave_LIBS"
17032
16173
 
17033
16174
    # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
17038
16179
    # on Irix 5.2, according to T.E. Dickey.
17039
16180
    # The functions gethostbyname, getservbyname, and inet_addr are
17040
16181
    # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
17041
 
    { echo "$as_me:$LINENO: checking for gethostbyname" >&5
17042
 
echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
17043
 
if test "${ac_cv_func_gethostbyname+set}" = set; then
17044
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
17045
 
else
17046
 
  cat >conftest.$ac_ext <<_ACEOF
17047
 
/* confdefs.h.  */
17048
 
_ACEOF
17049
 
cat confdefs.h >>conftest.$ac_ext
17050
 
cat >>conftest.$ac_ext <<_ACEOF
17051
 
/* end confdefs.h.  */
17052
 
/* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
17053
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
17054
 
#define gethostbyname innocuous_gethostbyname
17055
 
 
17056
 
/* System header to define __stub macros and hopefully few prototypes,
17057
 
    which can conflict with char gethostbyname (); below.
17058
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17059
 
    <limits.h> exists even on freestanding compilers.  */
17060
 
 
17061
 
#ifdef __STDC__
17062
 
# include <limits.h>
17063
 
#else
17064
 
# include <assert.h>
17065
 
#endif
17066
 
 
17067
 
#undef gethostbyname
17068
 
 
17069
 
/* Override any GCC internal prototype to avoid an error.
17070
 
   Use char because int might match the return type of a GCC
17071
 
   builtin and then its argument prototype would still apply.  */
17072
 
#ifdef __cplusplus
17073
 
extern "C"
17074
 
#endif
17075
 
char gethostbyname ();
17076
 
/* The GNU C library defines this for functions which it implements
17077
 
    to always fail with ENOSYS.  Some functions are actually named
17078
 
    something starting with __ and the normal name is an alias.  */
17079
 
#if defined __stub_gethostbyname || defined __stub___gethostbyname
17080
 
choke me
17081
 
#endif
17082
 
 
17083
 
int
17084
 
main ()
17085
 
{
17086
 
return gethostbyname ();
17087
 
  ;
17088
 
  return 0;
17089
 
}
17090
 
_ACEOF
17091
 
rm -f conftest.$ac_objext conftest$ac_exeext
17092
 
if { (ac_try="$ac_link"
17093
 
case "(($ac_try" in
17094
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17095
 
  *) ac_try_echo=$ac_try;;
17096
 
esac
17097
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17098
 
  (eval "$ac_link") 2>conftest.er1
17099
 
  ac_status=$?
17100
 
  grep -v '^ *+' conftest.er1 >conftest.err
17101
 
  rm -f conftest.er1
17102
 
  cat conftest.err >&5
17103
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17104
 
  (exit $ac_status); } && {
17105
 
         test -z "$ac_c_werror_flag" ||
17106
 
         test ! -s conftest.err
17107
 
       } && test -s conftest$ac_exeext &&
17108
 
       $as_test_x conftest$ac_exeext; then
17109
 
  ac_cv_func_gethostbyname=yes
17110
 
else
17111
 
  echo "$as_me: failed program was:" >&5
17112
 
sed 's/^/| /' conftest.$ac_ext >&5
17113
 
 
17114
 
        ac_cv_func_gethostbyname=no
17115
 
fi
17116
 
 
17117
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17118
 
      conftest$ac_exeext conftest.$ac_ext
17119
 
fi
17120
 
{ echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
17121
 
echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
 
16182
    ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
 
16183
if test "x$ac_cv_func_gethostbyname" = x""yes; then :
 
16184
  
 
16185
fi
17122
16186
 
17123
16187
    if test $ac_cv_func_gethostbyname = no; then
17124
 
      { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
17125
 
echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
17126
 
if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
17127
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
16188
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
 
16189
$as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
 
16190
if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then :
 
16191
  $as_echo_n "(cached) " >&6
17128
16192
else
17129
16193
  ac_check_lib_save_LIBS=$LIBS
17130
16194
LIBS="-lnsl  $LIBS"
17131
 
cat >conftest.$ac_ext <<_ACEOF
17132
 
/* confdefs.h.  */
17133
 
_ACEOF
17134
 
cat confdefs.h >>conftest.$ac_ext
17135
 
cat >>conftest.$ac_ext <<_ACEOF
 
16195
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17136
16196
/* end confdefs.h.  */
17137
16197
 
17138
16198
/* Override any GCC internal prototype to avoid an error.
17150
16210
  return 0;
17151
16211
}
17152
16212
_ACEOF
17153
 
rm -f conftest.$ac_objext conftest$ac_exeext
17154
 
if { (ac_try="$ac_link"
17155
 
case "(($ac_try" in
17156
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17157
 
  *) ac_try_echo=$ac_try;;
17158
 
esac
17159
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17160
 
  (eval "$ac_link") 2>conftest.er1
17161
 
  ac_status=$?
17162
 
  grep -v '^ *+' conftest.er1 >conftest.err
17163
 
  rm -f conftest.er1
17164
 
  cat conftest.err >&5
17165
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17166
 
  (exit $ac_status); } && {
17167
 
         test -z "$ac_c_werror_flag" ||
17168
 
         test ! -s conftest.err
17169
 
       } && test -s conftest$ac_exeext &&
17170
 
       $as_test_x conftest$ac_exeext; then
 
16213
if ac_fn_c_try_link "$LINENO"; then :
17171
16214
  ac_cv_lib_nsl_gethostbyname=yes
17172
16215
else
17173
 
  echo "$as_me: failed program was:" >&5
17174
 
sed 's/^/| /' conftest.$ac_ext >&5
17175
 
 
17176
 
        ac_cv_lib_nsl_gethostbyname=no
 
16216
  ac_cv_lib_nsl_gethostbyname=no
17177
16217
fi
17178
 
 
17179
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17180
 
      conftest$ac_exeext conftest.$ac_ext
 
16218
rm -f core conftest.err conftest.$ac_objext \
 
16219
    conftest$ac_exeext conftest.$ac_ext
17181
16220
LIBS=$ac_check_lib_save_LIBS
17182
16221
fi
17183
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
17184
 
echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
17185
 
if test $ac_cv_lib_nsl_gethostbyname = yes; then
 
16222
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
 
16223
$as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
 
16224
if test "x$ac_cv_lib_nsl_gethostbyname" = x""yes; then :
17186
16225
  X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
17187
16226
fi
17188
16227
 
17189
16228
      if test $ac_cv_lib_nsl_gethostbyname = no; then
17190
 
        { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
17191
 
echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
17192
 
if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
17193
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
16229
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
 
16230
$as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
 
16231
if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then :
 
16232
  $as_echo_n "(cached) " >&6
17194
16233
else
17195
16234
  ac_check_lib_save_LIBS=$LIBS
17196
16235
LIBS="-lbsd  $LIBS"
17197
 
cat >conftest.$ac_ext <<_ACEOF
17198
 
/* confdefs.h.  */
17199
 
_ACEOF
17200
 
cat confdefs.h >>conftest.$ac_ext
17201
 
cat >>conftest.$ac_ext <<_ACEOF
 
16236
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17202
16237
/* end confdefs.h.  */
17203
16238
 
17204
16239
/* Override any GCC internal prototype to avoid an error.
17216
16251
  return 0;
17217
16252
}
17218
16253
_ACEOF
17219
 
rm -f conftest.$ac_objext conftest$ac_exeext
17220
 
if { (ac_try="$ac_link"
17221
 
case "(($ac_try" in
17222
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17223
 
  *) ac_try_echo=$ac_try;;
17224
 
esac
17225
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17226
 
  (eval "$ac_link") 2>conftest.er1
17227
 
  ac_status=$?
17228
 
  grep -v '^ *+' conftest.er1 >conftest.err
17229
 
  rm -f conftest.er1
17230
 
  cat conftest.err >&5
17231
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17232
 
  (exit $ac_status); } && {
17233
 
         test -z "$ac_c_werror_flag" ||
17234
 
         test ! -s conftest.err
17235
 
       } && test -s conftest$ac_exeext &&
17236
 
       $as_test_x conftest$ac_exeext; then
 
16254
if ac_fn_c_try_link "$LINENO"; then :
17237
16255
  ac_cv_lib_bsd_gethostbyname=yes
17238
16256
else
17239
 
  echo "$as_me: failed program was:" >&5
17240
 
sed 's/^/| /' conftest.$ac_ext >&5
17241
 
 
17242
 
        ac_cv_lib_bsd_gethostbyname=no
 
16257
  ac_cv_lib_bsd_gethostbyname=no
17243
16258
fi
17244
 
 
17245
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17246
 
      conftest$ac_exeext conftest.$ac_ext
 
16259
rm -f core conftest.err conftest.$ac_objext \
 
16260
    conftest$ac_exeext conftest.$ac_ext
17247
16261
LIBS=$ac_check_lib_save_LIBS
17248
16262
fi
17249
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
17250
 
echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
17251
 
if test $ac_cv_lib_bsd_gethostbyname = yes; then
 
16263
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
 
16264
$as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
 
16265
if test "x$ac_cv_lib_bsd_gethostbyname" = x""yes; then :
17252
16266
  X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
17253
16267
fi
17254
16268
 
17262
16276
    # variants that don't use the name server (or something).  -lsocket
17263
16277
    # must be given before -lnsl if both are needed.  We assume that
17264
16278
    # if connect needs -lnsl, so does gethostbyname.
17265
 
    { echo "$as_me:$LINENO: checking for connect" >&5
17266
 
echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
17267
 
if test "${ac_cv_func_connect+set}" = set; then
17268
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
17269
 
else
17270
 
  cat >conftest.$ac_ext <<_ACEOF
17271
 
/* confdefs.h.  */
17272
 
_ACEOF
17273
 
cat confdefs.h >>conftest.$ac_ext
17274
 
cat >>conftest.$ac_ext <<_ACEOF
17275
 
/* end confdefs.h.  */
17276
 
/* Define connect to an innocuous variant, in case <limits.h> declares connect.
17277
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
17278
 
#define connect innocuous_connect
17279
 
 
17280
 
/* System header to define __stub macros and hopefully few prototypes,
17281
 
    which can conflict with char connect (); below.
17282
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17283
 
    <limits.h> exists even on freestanding compilers.  */
17284
 
 
17285
 
#ifdef __STDC__
17286
 
# include <limits.h>
17287
 
#else
17288
 
# include <assert.h>
17289
 
#endif
17290
 
 
17291
 
#undef connect
17292
 
 
17293
 
/* Override any GCC internal prototype to avoid an error.
17294
 
   Use char because int might match the return type of a GCC
17295
 
   builtin and then its argument prototype would still apply.  */
17296
 
#ifdef __cplusplus
17297
 
extern "C"
17298
 
#endif
17299
 
char connect ();
17300
 
/* The GNU C library defines this for functions which it implements
17301
 
    to always fail with ENOSYS.  Some functions are actually named
17302
 
    something starting with __ and the normal name is an alias.  */
17303
 
#if defined __stub_connect || defined __stub___connect
17304
 
choke me
17305
 
#endif
17306
 
 
17307
 
int
17308
 
main ()
17309
 
{
17310
 
return connect ();
17311
 
  ;
17312
 
  return 0;
17313
 
}
17314
 
_ACEOF
17315
 
rm -f conftest.$ac_objext conftest$ac_exeext
17316
 
if { (ac_try="$ac_link"
17317
 
case "(($ac_try" in
17318
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17319
 
  *) ac_try_echo=$ac_try;;
17320
 
esac
17321
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17322
 
  (eval "$ac_link") 2>conftest.er1
17323
 
  ac_status=$?
17324
 
  grep -v '^ *+' conftest.er1 >conftest.err
17325
 
  rm -f conftest.er1
17326
 
  cat conftest.err >&5
17327
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17328
 
  (exit $ac_status); } && {
17329
 
         test -z "$ac_c_werror_flag" ||
17330
 
         test ! -s conftest.err
17331
 
       } && test -s conftest$ac_exeext &&
17332
 
       $as_test_x conftest$ac_exeext; then
17333
 
  ac_cv_func_connect=yes
17334
 
else
17335
 
  echo "$as_me: failed program was:" >&5
17336
 
sed 's/^/| /' conftest.$ac_ext >&5
17337
 
 
17338
 
        ac_cv_func_connect=no
17339
 
fi
17340
 
 
17341
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17342
 
      conftest$ac_exeext conftest.$ac_ext
17343
 
fi
17344
 
{ echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
17345
 
echo "${ECHO_T}$ac_cv_func_connect" >&6; }
 
16279
    ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
 
16280
if test "x$ac_cv_func_connect" = x""yes; then :
 
16281
  
 
16282
fi
17346
16283
 
17347
16284
    if test $ac_cv_func_connect = no; then
17348
 
      { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
17349
 
echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
17350
 
if test "${ac_cv_lib_socket_connect+set}" = set; then
17351
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
16285
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
 
16286
$as_echo_n "checking for connect in -lsocket... " >&6; }
 
16287
if test "${ac_cv_lib_socket_connect+set}" = set; then :
 
16288
  $as_echo_n "(cached) " >&6
17352
16289
else
17353
16290
  ac_check_lib_save_LIBS=$LIBS
17354
16291
LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
17355
 
cat >conftest.$ac_ext <<_ACEOF
17356
 
/* confdefs.h.  */
17357
 
_ACEOF
17358
 
cat confdefs.h >>conftest.$ac_ext
17359
 
cat >>conftest.$ac_ext <<_ACEOF
 
16292
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17360
16293
/* end confdefs.h.  */
17361
16294
 
17362
16295
/* Override any GCC internal prototype to avoid an error.
17374
16307
  return 0;
17375
16308
}
17376
16309
_ACEOF
17377
 
rm -f conftest.$ac_objext conftest$ac_exeext
17378
 
if { (ac_try="$ac_link"
17379
 
case "(($ac_try" in
17380
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17381
 
  *) ac_try_echo=$ac_try;;
17382
 
esac
17383
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17384
 
  (eval "$ac_link") 2>conftest.er1
17385
 
  ac_status=$?
17386
 
  grep -v '^ *+' conftest.er1 >conftest.err
17387
 
  rm -f conftest.er1
17388
 
  cat conftest.err >&5
17389
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17390
 
  (exit $ac_status); } && {
17391
 
         test -z "$ac_c_werror_flag" ||
17392
 
         test ! -s conftest.err
17393
 
       } && test -s conftest$ac_exeext &&
17394
 
       $as_test_x conftest$ac_exeext; then
 
16310
if ac_fn_c_try_link "$LINENO"; then :
17395
16311
  ac_cv_lib_socket_connect=yes
17396
16312
else
17397
 
  echo "$as_me: failed program was:" >&5
17398
 
sed 's/^/| /' conftest.$ac_ext >&5
17399
 
 
17400
 
        ac_cv_lib_socket_connect=no
 
16313
  ac_cv_lib_socket_connect=no
17401
16314
fi
17402
 
 
17403
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17404
 
      conftest$ac_exeext conftest.$ac_ext
 
16315
rm -f core conftest.err conftest.$ac_objext \
 
16316
    conftest$ac_exeext conftest.$ac_ext
17405
16317
LIBS=$ac_check_lib_save_LIBS
17406
16318
fi
17407
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
17408
 
echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
17409
 
if test $ac_cv_lib_socket_connect = yes; then
 
16319
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
 
16320
$as_echo "$ac_cv_lib_socket_connect" >&6; }
 
16321
if test "x$ac_cv_lib_socket_connect" = x""yes; then :
17410
16322
  X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
17411
16323
fi
17412
16324
 
17413
16325
    fi
17414
16326
 
17415
16327
    # Guillermo Gomez says -lposix is necessary on A/UX.
17416
 
    { echo "$as_me:$LINENO: checking for remove" >&5
17417
 
echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
17418
 
if test "${ac_cv_func_remove+set}" = set; then
17419
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
17420
 
else
17421
 
  cat >conftest.$ac_ext <<_ACEOF
17422
 
/* confdefs.h.  */
17423
 
_ACEOF
17424
 
cat confdefs.h >>conftest.$ac_ext
17425
 
cat >>conftest.$ac_ext <<_ACEOF
17426
 
/* end confdefs.h.  */
17427
 
/* Define remove to an innocuous variant, in case <limits.h> declares remove.
17428
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
17429
 
#define remove innocuous_remove
17430
 
 
17431
 
/* System header to define __stub macros and hopefully few prototypes,
17432
 
    which can conflict with char remove (); below.
17433
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17434
 
    <limits.h> exists even on freestanding compilers.  */
17435
 
 
17436
 
#ifdef __STDC__
17437
 
# include <limits.h>
17438
 
#else
17439
 
# include <assert.h>
17440
 
#endif
17441
 
 
17442
 
#undef remove
17443
 
 
17444
 
/* Override any GCC internal prototype to avoid an error.
17445
 
   Use char because int might match the return type of a GCC
17446
 
   builtin and then its argument prototype would still apply.  */
17447
 
#ifdef __cplusplus
17448
 
extern "C"
17449
 
#endif
17450
 
char remove ();
17451
 
/* The GNU C library defines this for functions which it implements
17452
 
    to always fail with ENOSYS.  Some functions are actually named
17453
 
    something starting with __ and the normal name is an alias.  */
17454
 
#if defined __stub_remove || defined __stub___remove
17455
 
choke me
17456
 
#endif
17457
 
 
17458
 
int
17459
 
main ()
17460
 
{
17461
 
return remove ();
17462
 
  ;
17463
 
  return 0;
17464
 
}
17465
 
_ACEOF
17466
 
rm -f conftest.$ac_objext conftest$ac_exeext
17467
 
if { (ac_try="$ac_link"
17468
 
case "(($ac_try" in
17469
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17470
 
  *) ac_try_echo=$ac_try;;
17471
 
esac
17472
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17473
 
  (eval "$ac_link") 2>conftest.er1
17474
 
  ac_status=$?
17475
 
  grep -v '^ *+' conftest.er1 >conftest.err
17476
 
  rm -f conftest.er1
17477
 
  cat conftest.err >&5
17478
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17479
 
  (exit $ac_status); } && {
17480
 
         test -z "$ac_c_werror_flag" ||
17481
 
         test ! -s conftest.err
17482
 
       } && test -s conftest$ac_exeext &&
17483
 
       $as_test_x conftest$ac_exeext; then
17484
 
  ac_cv_func_remove=yes
17485
 
else
17486
 
  echo "$as_me: failed program was:" >&5
17487
 
sed 's/^/| /' conftest.$ac_ext >&5
17488
 
 
17489
 
        ac_cv_func_remove=no
17490
 
fi
17491
 
 
17492
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17493
 
      conftest$ac_exeext conftest.$ac_ext
17494
 
fi
17495
 
{ echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
17496
 
echo "${ECHO_T}$ac_cv_func_remove" >&6; }
 
16328
    ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
 
16329
if test "x$ac_cv_func_remove" = x""yes; then :
 
16330
  
 
16331
fi
17497
16332
 
17498
16333
    if test $ac_cv_func_remove = no; then
17499
 
      { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
17500
 
echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
17501
 
if test "${ac_cv_lib_posix_remove+set}" = set; then
17502
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
16334
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
 
16335
$as_echo_n "checking for remove in -lposix... " >&6; }
 
16336
if test "${ac_cv_lib_posix_remove+set}" = set; then :
 
16337
  $as_echo_n "(cached) " >&6
17503
16338
else
17504
16339
  ac_check_lib_save_LIBS=$LIBS
17505
16340
LIBS="-lposix  $LIBS"
17506
 
cat >conftest.$ac_ext <<_ACEOF
17507
 
/* confdefs.h.  */
17508
 
_ACEOF
17509
 
cat confdefs.h >>conftest.$ac_ext
17510
 
cat >>conftest.$ac_ext <<_ACEOF
 
16341
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17511
16342
/* end confdefs.h.  */
17512
16343
 
17513
16344
/* Override any GCC internal prototype to avoid an error.
17525
16356
  return 0;
17526
16357
}
17527
16358
_ACEOF
17528
 
rm -f conftest.$ac_objext conftest$ac_exeext
17529
 
if { (ac_try="$ac_link"
17530
 
case "(($ac_try" in
17531
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17532
 
  *) ac_try_echo=$ac_try;;
17533
 
esac
17534
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17535
 
  (eval "$ac_link") 2>conftest.er1
17536
 
  ac_status=$?
17537
 
  grep -v '^ *+' conftest.er1 >conftest.err
17538
 
  rm -f conftest.er1
17539
 
  cat conftest.err >&5
17540
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17541
 
  (exit $ac_status); } && {
17542
 
         test -z "$ac_c_werror_flag" ||
17543
 
         test ! -s conftest.err
17544
 
       } && test -s conftest$ac_exeext &&
17545
 
       $as_test_x conftest$ac_exeext; then
 
16359
if ac_fn_c_try_link "$LINENO"; then :
17546
16360
  ac_cv_lib_posix_remove=yes
17547
16361
else
17548
 
  echo "$as_me: failed program was:" >&5
17549
 
sed 's/^/| /' conftest.$ac_ext >&5
17550
 
 
17551
 
        ac_cv_lib_posix_remove=no
 
16362
  ac_cv_lib_posix_remove=no
17552
16363
fi
17553
 
 
17554
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17555
 
      conftest$ac_exeext conftest.$ac_ext
 
16364
rm -f core conftest.err conftest.$ac_objext \
 
16365
    conftest$ac_exeext conftest.$ac_ext
17556
16366
LIBS=$ac_check_lib_save_LIBS
17557
16367
fi
17558
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
17559
 
echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
17560
 
if test $ac_cv_lib_posix_remove = yes; then
 
16368
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
 
16369
$as_echo "$ac_cv_lib_posix_remove" >&6; }
 
16370
if test "x$ac_cv_lib_posix_remove" = x""yes; then :
17561
16371
  X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
17562
16372
fi
17563
16373
 
17564
16374
    fi
17565
16375
 
17566
16376
    # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
17567
 
    { echo "$as_me:$LINENO: checking for shmat" >&5
17568
 
echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
17569
 
if test "${ac_cv_func_shmat+set}" = set; then
17570
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
17571
 
else
17572
 
  cat >conftest.$ac_ext <<_ACEOF
17573
 
/* confdefs.h.  */
17574
 
_ACEOF
17575
 
cat confdefs.h >>conftest.$ac_ext
17576
 
cat >>conftest.$ac_ext <<_ACEOF
17577
 
/* end confdefs.h.  */
17578
 
/* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
17579
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
17580
 
#define shmat innocuous_shmat
17581
 
 
17582
 
/* System header to define __stub macros and hopefully few prototypes,
17583
 
    which can conflict with char shmat (); below.
17584
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17585
 
    <limits.h> exists even on freestanding compilers.  */
17586
 
 
17587
 
#ifdef __STDC__
17588
 
# include <limits.h>
17589
 
#else
17590
 
# include <assert.h>
17591
 
#endif
17592
 
 
17593
 
#undef shmat
17594
 
 
17595
 
/* Override any GCC internal prototype to avoid an error.
17596
 
   Use char because int might match the return type of a GCC
17597
 
   builtin and then its argument prototype would still apply.  */
17598
 
#ifdef __cplusplus
17599
 
extern "C"
17600
 
#endif
17601
 
char shmat ();
17602
 
/* The GNU C library defines this for functions which it implements
17603
 
    to always fail with ENOSYS.  Some functions are actually named
17604
 
    something starting with __ and the normal name is an alias.  */
17605
 
#if defined __stub_shmat || defined __stub___shmat
17606
 
choke me
17607
 
#endif
17608
 
 
17609
 
int
17610
 
main ()
17611
 
{
17612
 
return shmat ();
17613
 
  ;
17614
 
  return 0;
17615
 
}
17616
 
_ACEOF
17617
 
rm -f conftest.$ac_objext conftest$ac_exeext
17618
 
if { (ac_try="$ac_link"
17619
 
case "(($ac_try" in
17620
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17621
 
  *) ac_try_echo=$ac_try;;
17622
 
esac
17623
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17624
 
  (eval "$ac_link") 2>conftest.er1
17625
 
  ac_status=$?
17626
 
  grep -v '^ *+' conftest.er1 >conftest.err
17627
 
  rm -f conftest.er1
17628
 
  cat conftest.err >&5
17629
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17630
 
  (exit $ac_status); } && {
17631
 
         test -z "$ac_c_werror_flag" ||
17632
 
         test ! -s conftest.err
17633
 
       } && test -s conftest$ac_exeext &&
17634
 
       $as_test_x conftest$ac_exeext; then
17635
 
  ac_cv_func_shmat=yes
17636
 
else
17637
 
  echo "$as_me: failed program was:" >&5
17638
 
sed 's/^/| /' conftest.$ac_ext >&5
17639
 
 
17640
 
        ac_cv_func_shmat=no
17641
 
fi
17642
 
 
17643
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17644
 
      conftest$ac_exeext conftest.$ac_ext
17645
 
fi
17646
 
{ echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
17647
 
echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
 
16377
    ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
 
16378
if test "x$ac_cv_func_shmat" = x""yes; then :
 
16379
  
 
16380
fi
17648
16381
 
17649
16382
    if test $ac_cv_func_shmat = no; then
17650
 
      { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
17651
 
echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
17652
 
if test "${ac_cv_lib_ipc_shmat+set}" = set; then
17653
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
16383
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
 
16384
$as_echo_n "checking for shmat in -lipc... " >&6; }
 
16385
if test "${ac_cv_lib_ipc_shmat+set}" = set; then :
 
16386
  $as_echo_n "(cached) " >&6
17654
16387
else
17655
16388
  ac_check_lib_save_LIBS=$LIBS
17656
16389
LIBS="-lipc  $LIBS"
17657
 
cat >conftest.$ac_ext <<_ACEOF
17658
 
/* confdefs.h.  */
17659
 
_ACEOF
17660
 
cat confdefs.h >>conftest.$ac_ext
17661
 
cat >>conftest.$ac_ext <<_ACEOF
 
16390
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17662
16391
/* end confdefs.h.  */
17663
16392
 
17664
16393
/* Override any GCC internal prototype to avoid an error.
17676
16405
  return 0;
17677
16406
}
17678
16407
_ACEOF
17679
 
rm -f conftest.$ac_objext conftest$ac_exeext
17680
 
if { (ac_try="$ac_link"
17681
 
case "(($ac_try" in
17682
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17683
 
  *) ac_try_echo=$ac_try;;
17684
 
esac
17685
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17686
 
  (eval "$ac_link") 2>conftest.er1
17687
 
  ac_status=$?
17688
 
  grep -v '^ *+' conftest.er1 >conftest.err
17689
 
  rm -f conftest.er1
17690
 
  cat conftest.err >&5
17691
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17692
 
  (exit $ac_status); } && {
17693
 
         test -z "$ac_c_werror_flag" ||
17694
 
         test ! -s conftest.err
17695
 
       } && test -s conftest$ac_exeext &&
17696
 
       $as_test_x conftest$ac_exeext; then
 
16408
if ac_fn_c_try_link "$LINENO"; then :
17697
16409
  ac_cv_lib_ipc_shmat=yes
17698
16410
else
17699
 
  echo "$as_me: failed program was:" >&5
17700
 
sed 's/^/| /' conftest.$ac_ext >&5
17701
 
 
17702
 
        ac_cv_lib_ipc_shmat=no
 
16411
  ac_cv_lib_ipc_shmat=no
17703
16412
fi
17704
 
 
17705
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17706
 
      conftest$ac_exeext conftest.$ac_ext
 
16413
rm -f core conftest.err conftest.$ac_objext \
 
16414
    conftest$ac_exeext conftest.$ac_ext
17707
16415
LIBS=$ac_check_lib_save_LIBS
17708
16416
fi
17709
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
17710
 
echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
17711
 
if test $ac_cv_lib_ipc_shmat = yes; then
 
16417
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
 
16418
$as_echo "$ac_cv_lib_ipc_shmat" >&6; }
 
16419
if test "x$ac_cv_lib_ipc_shmat" = x""yes; then :
17712
16420
  X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
17713
16421
fi
17714
16422
 
17724
16432
  # These have to be linked with before -lX11, unlike the other
17725
16433
  # libraries we check for below, so use a different variable.
17726
16434
  # John Interrante, Karl Berry
17727
 
  { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
17728
 
echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
17729
 
if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
17730
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
16435
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
 
16436
$as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
 
16437
if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then :
 
16438
  $as_echo_n "(cached) " >&6
17731
16439
else
17732
16440
  ac_check_lib_save_LIBS=$LIBS
17733
16441
LIBS="-lICE $X_EXTRA_LIBS $LIBS"
17734
 
cat >conftest.$ac_ext <<_ACEOF
17735
 
/* confdefs.h.  */
17736
 
_ACEOF
17737
 
cat confdefs.h >>conftest.$ac_ext
17738
 
cat >>conftest.$ac_ext <<_ACEOF
 
16442
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17739
16443
/* end confdefs.h.  */
17740
16444
 
17741
16445
/* Override any GCC internal prototype to avoid an error.
17753
16457
  return 0;
17754
16458
}
17755
16459
_ACEOF
17756
 
rm -f conftest.$ac_objext conftest$ac_exeext
17757
 
if { (ac_try="$ac_link"
17758
 
case "(($ac_try" in
17759
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17760
 
  *) ac_try_echo=$ac_try;;
17761
 
esac
17762
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17763
 
  (eval "$ac_link") 2>conftest.er1
17764
 
  ac_status=$?
17765
 
  grep -v '^ *+' conftest.er1 >conftest.err
17766
 
  rm -f conftest.er1
17767
 
  cat conftest.err >&5
17768
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17769
 
  (exit $ac_status); } && {
17770
 
         test -z "$ac_c_werror_flag" ||
17771
 
         test ! -s conftest.err
17772
 
       } && test -s conftest$ac_exeext &&
17773
 
       $as_test_x conftest$ac_exeext; then
 
16460
if ac_fn_c_try_link "$LINENO"; then :
17774
16461
  ac_cv_lib_ICE_IceConnectionNumber=yes
17775
16462
else
17776
 
  echo "$as_me: failed program was:" >&5
17777
 
sed 's/^/| /' conftest.$ac_ext >&5
17778
 
 
17779
 
        ac_cv_lib_ICE_IceConnectionNumber=no
 
16463
  ac_cv_lib_ICE_IceConnectionNumber=no
17780
16464
fi
17781
 
 
17782
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17783
 
      conftest$ac_exeext conftest.$ac_ext
 
16465
rm -f core conftest.err conftest.$ac_objext \
 
16466
    conftest$ac_exeext conftest.$ac_ext
17784
16467
LIBS=$ac_check_lib_save_LIBS
17785
16468
fi
17786
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
17787
 
echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
17788
 
if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
 
16469
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
 
16470
$as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
 
16471
if test "x$ac_cv_lib_ICE_IceConnectionNumber" = x""yes; then :
17789
16472
  X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
17790
16473
fi
17791
16474
 
17799
16482
# may not be added to the include path, so code that use glib's i18n functions
17800
16483
# would fail to compile because it can't find libintl.h.
17801
16484
#
17802
 
if test "${ac_cv_header_libintl_h+set}" = set; then
17803
 
  { echo "$as_me:$LINENO: checking for libintl.h" >&5
17804
 
echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6; }
17805
 
if test "${ac_cv_header_libintl_h+set}" = set; then
17806
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
17807
 
fi
17808
 
{ echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
17809
 
echo "${ECHO_T}$ac_cv_header_libintl_h" >&6; }
17810
 
else
17811
 
  # Is the header compilable?
17812
 
{ echo "$as_me:$LINENO: checking libintl.h usability" >&5
17813
 
echo $ECHO_N "checking libintl.h usability... $ECHO_C" >&6; }
17814
 
cat >conftest.$ac_ext <<_ACEOF
17815
 
/* confdefs.h.  */
17816
 
_ACEOF
17817
 
cat confdefs.h >>conftest.$ac_ext
17818
 
cat >>conftest.$ac_ext <<_ACEOF
17819
 
/* end confdefs.h.  */
17820
 
$ac_includes_default
17821
 
@%:@include <libintl.h>
17822
 
_ACEOF
17823
 
rm -f conftest.$ac_objext
17824
 
if { (ac_try="$ac_compile"
17825
 
case "(($ac_try" in
17826
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17827
 
  *) ac_try_echo=$ac_try;;
17828
 
esac
17829
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17830
 
  (eval "$ac_compile") 2>conftest.er1
17831
 
  ac_status=$?
17832
 
  grep -v '^ *+' conftest.er1 >conftest.err
17833
 
  rm -f conftest.er1
17834
 
  cat conftest.err >&5
17835
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17836
 
  (exit $ac_status); } && {
17837
 
         test -z "$ac_c_werror_flag" ||
17838
 
         test ! -s conftest.err
17839
 
       } && test -s conftest.$ac_objext; then
17840
 
  ac_header_compiler=yes
17841
 
else
17842
 
  echo "$as_me: failed program was:" >&5
17843
 
sed 's/^/| /' conftest.$ac_ext >&5
17844
 
 
17845
 
        ac_header_compiler=no
17846
 
fi
17847
 
 
17848
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17849
 
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17850
 
echo "${ECHO_T}$ac_header_compiler" >&6; }
17851
 
 
17852
 
# Is the header present?
17853
 
{ echo "$as_me:$LINENO: checking libintl.h presence" >&5
17854
 
echo $ECHO_N "checking libintl.h presence... $ECHO_C" >&6; }
17855
 
cat >conftest.$ac_ext <<_ACEOF
17856
 
/* confdefs.h.  */
17857
 
_ACEOF
17858
 
cat confdefs.h >>conftest.$ac_ext
17859
 
cat >>conftest.$ac_ext <<_ACEOF
17860
 
/* end confdefs.h.  */
17861
 
@%:@include <libintl.h>
17862
 
_ACEOF
17863
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
17864
 
case "(($ac_try" in
17865
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17866
 
  *) ac_try_echo=$ac_try;;
17867
 
esac
17868
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17869
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
17870
 
  ac_status=$?
17871
 
  grep -v '^ *+' conftest.er1 >conftest.err
17872
 
  rm -f conftest.er1
17873
 
  cat conftest.err >&5
17874
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17875
 
  (exit $ac_status); } >/dev/null && {
17876
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
17877
 
         test ! -s conftest.err
17878
 
       }; then
17879
 
  ac_header_preproc=yes
17880
 
else
17881
 
  echo "$as_me: failed program was:" >&5
17882
 
sed 's/^/| /' conftest.$ac_ext >&5
17883
 
 
17884
 
  ac_header_preproc=no
17885
 
fi
17886
 
 
17887
 
rm -f conftest.err conftest.$ac_ext
17888
 
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17889
 
echo "${ECHO_T}$ac_header_preproc" >&6; }
17890
 
 
17891
 
# So?  What about this header?
17892
 
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
17893
 
  yes:no: )
17894
 
    { echo "$as_me:$LINENO: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&5
17895
 
echo "$as_me: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
17896
 
    { echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the compiler's result" >&5
17897
 
echo "$as_me: WARNING: libintl.h: proceeding with the compiler's result" >&2;}
17898
 
    ac_header_preproc=yes
17899
 
    ;;
17900
 
  no:yes:* )
17901
 
    { echo "$as_me:$LINENO: WARNING: libintl.h: present but cannot be compiled" >&5
17902
 
echo "$as_me: WARNING: libintl.h: present but cannot be compiled" >&2;}
17903
 
    { echo "$as_me:$LINENO: WARNING: libintl.h:     check for missing prerequisite headers?" >&5
17904
 
echo "$as_me: WARNING: libintl.h:     check for missing prerequisite headers?" >&2;}
17905
 
    { echo "$as_me:$LINENO: WARNING: libintl.h: see the Autoconf documentation" >&5
17906
 
echo "$as_me: WARNING: libintl.h: see the Autoconf documentation" >&2;}
17907
 
    { echo "$as_me:$LINENO: WARNING: libintl.h:     section \"Present But Cannot Be Compiled\"" >&5
17908
 
echo "$as_me: WARNING: libintl.h:     section \"Present But Cannot Be Compiled\"" >&2;}
17909
 
    { echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the preprocessor's result" >&5
17910
 
echo "$as_me: WARNING: libintl.h: proceeding with the preprocessor's result" >&2;}
17911
 
    { echo "$as_me:$LINENO: WARNING: libintl.h: in the future, the compiler will take precedence" >&5
17912
 
echo "$as_me: WARNING: libintl.h: in the future, the compiler will take precedence" >&2;}
17913
 
    ( cat <<\_ASBOX
17914
 
@%:@@%:@ -------------------------------------------------------- @%:@@%:@
17915
 
@%:@@%:@ Report this to open-vm-tools-devel@lists.sourceforge.net @%:@@%:@
17916
 
@%:@@%:@ -------------------------------------------------------- @%:@@%:@
17917
 
_ASBOX
17918
 
     ) | sed "s/^/$as_me: WARNING:     /" >&2
17919
 
    ;;
17920
 
esac
17921
 
{ echo "$as_me:$LINENO: checking for libintl.h" >&5
17922
 
echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6; }
17923
 
if test "${ac_cv_header_libintl_h+set}" = set; then
17924
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
17925
 
else
17926
 
  ac_cv_header_libintl_h=$ac_header_preproc
17927
 
fi
17928
 
{ echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
17929
 
echo "${ECHO_T}$ac_cv_header_libintl_h" >&6; }
17930
 
 
17931
 
fi
17932
 
if test $ac_cv_header_libintl_h = yes; then
17933
 
  :
 
16485
ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
 
16486
if test "x$ac_cv_header_libintl_h" = x""yes; then :
 
16487
  
17934
16488
else
17935
16489
  have_libintl=no
17936
16490
fi
17939
16493
if test "$have_libintl" = "no"; then
17940
16494
   unset ac_cv_header_libintl_h
17941
16495
   CPPFLAGS="$CPPFLAGS -I/usr/local/include"
17942
 
   if test "${ac_cv_header_libintl_h+set}" = set; then
17943
 
  { echo "$as_me:$LINENO: checking for libintl.h" >&5
17944
 
echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6; }
17945
 
if test "${ac_cv_header_libintl_h+set}" = set; then
17946
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
17947
 
fi
17948
 
{ echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
17949
 
echo "${ECHO_T}$ac_cv_header_libintl_h" >&6; }
17950
 
else
17951
 
  # Is the header compilable?
17952
 
{ echo "$as_me:$LINENO: checking libintl.h usability" >&5
17953
 
echo $ECHO_N "checking libintl.h usability... $ECHO_C" >&6; }
17954
 
cat >conftest.$ac_ext <<_ACEOF
17955
 
/* confdefs.h.  */
17956
 
_ACEOF
17957
 
cat confdefs.h >>conftest.$ac_ext
17958
 
cat >>conftest.$ac_ext <<_ACEOF
17959
 
/* end confdefs.h.  */
17960
 
$ac_includes_default
17961
 
@%:@include <libintl.h>
17962
 
_ACEOF
17963
 
rm -f conftest.$ac_objext
17964
 
if { (ac_try="$ac_compile"
17965
 
case "(($ac_try" in
17966
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17967
 
  *) ac_try_echo=$ac_try;;
17968
 
esac
17969
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17970
 
  (eval "$ac_compile") 2>conftest.er1
17971
 
  ac_status=$?
17972
 
  grep -v '^ *+' conftest.er1 >conftest.err
17973
 
  rm -f conftest.er1
17974
 
  cat conftest.err >&5
17975
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17976
 
  (exit $ac_status); } && {
17977
 
         test -z "$ac_c_werror_flag" ||
17978
 
         test ! -s conftest.err
17979
 
       } && test -s conftest.$ac_objext; then
17980
 
  ac_header_compiler=yes
17981
 
else
17982
 
  echo "$as_me: failed program was:" >&5
17983
 
sed 's/^/| /' conftest.$ac_ext >&5
17984
 
 
17985
 
        ac_header_compiler=no
17986
 
fi
17987
 
 
17988
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17989
 
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17990
 
echo "${ECHO_T}$ac_header_compiler" >&6; }
17991
 
 
17992
 
# Is the header present?
17993
 
{ echo "$as_me:$LINENO: checking libintl.h presence" >&5
17994
 
echo $ECHO_N "checking libintl.h presence... $ECHO_C" >&6; }
17995
 
cat >conftest.$ac_ext <<_ACEOF
17996
 
/* confdefs.h.  */
17997
 
_ACEOF
17998
 
cat confdefs.h >>conftest.$ac_ext
17999
 
cat >>conftest.$ac_ext <<_ACEOF
18000
 
/* end confdefs.h.  */
18001
 
@%:@include <libintl.h>
18002
 
_ACEOF
18003
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
18004
 
case "(($ac_try" in
18005
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18006
 
  *) ac_try_echo=$ac_try;;
18007
 
esac
18008
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18009
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
18010
 
  ac_status=$?
18011
 
  grep -v '^ *+' conftest.er1 >conftest.err
18012
 
  rm -f conftest.er1
18013
 
  cat conftest.err >&5
18014
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18015
 
  (exit $ac_status); } >/dev/null && {
18016
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
18017
 
         test ! -s conftest.err
18018
 
       }; then
18019
 
  ac_header_preproc=yes
18020
 
else
18021
 
  echo "$as_me: failed program was:" >&5
18022
 
sed 's/^/| /' conftest.$ac_ext >&5
18023
 
 
18024
 
  ac_header_preproc=no
18025
 
fi
18026
 
 
18027
 
rm -f conftest.err conftest.$ac_ext
18028
 
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18029
 
echo "${ECHO_T}$ac_header_preproc" >&6; }
18030
 
 
18031
 
# So?  What about this header?
18032
 
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
18033
 
  yes:no: )
18034
 
    { echo "$as_me:$LINENO: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&5
18035
 
echo "$as_me: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
18036
 
    { echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the compiler's result" >&5
18037
 
echo "$as_me: WARNING: libintl.h: proceeding with the compiler's result" >&2;}
18038
 
    ac_header_preproc=yes
18039
 
    ;;
18040
 
  no:yes:* )
18041
 
    { echo "$as_me:$LINENO: WARNING: libintl.h: present but cannot be compiled" >&5
18042
 
echo "$as_me: WARNING: libintl.h: present but cannot be compiled" >&2;}
18043
 
    { echo "$as_me:$LINENO: WARNING: libintl.h:     check for missing prerequisite headers?" >&5
18044
 
echo "$as_me: WARNING: libintl.h:     check for missing prerequisite headers?" >&2;}
18045
 
    { echo "$as_me:$LINENO: WARNING: libintl.h: see the Autoconf documentation" >&5
18046
 
echo "$as_me: WARNING: libintl.h: see the Autoconf documentation" >&2;}
18047
 
    { echo "$as_me:$LINENO: WARNING: libintl.h:     section \"Present But Cannot Be Compiled\"" >&5
18048
 
echo "$as_me: WARNING: libintl.h:     section \"Present But Cannot Be Compiled\"" >&2;}
18049
 
    { echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the preprocessor's result" >&5
18050
 
echo "$as_me: WARNING: libintl.h: proceeding with the preprocessor's result" >&2;}
18051
 
    { echo "$as_me:$LINENO: WARNING: libintl.h: in the future, the compiler will take precedence" >&5
18052
 
echo "$as_me: WARNING: libintl.h: in the future, the compiler will take precedence" >&2;}
18053
 
    ( cat <<\_ASBOX
18054
 
@%:@@%:@ -------------------------------------------------------- @%:@@%:@
18055
 
@%:@@%:@ Report this to open-vm-tools-devel@lists.sourceforge.net @%:@@%:@
18056
 
@%:@@%:@ -------------------------------------------------------- @%:@@%:@
18057
 
_ASBOX
18058
 
     ) | sed "s/^/$as_me: WARNING:     /" >&2
18059
 
    ;;
18060
 
esac
18061
 
{ echo "$as_me:$LINENO: checking for libintl.h" >&5
18062
 
echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6; }
18063
 
if test "${ac_cv_header_libintl_h+set}" = set; then
18064
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
18065
 
else
18066
 
  ac_cv_header_libintl_h=$ac_header_preproc
18067
 
fi
18068
 
{ echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
18069
 
echo "${ECHO_T}$ac_cv_header_libintl_h" >&6; }
18070
 
 
18071
 
fi
18072
 
if test $ac_cv_header_libintl_h = yes; then
18073
 
  :
18074
 
else
18075
 
  { { echo "$as_me:$LINENO: error: libintl.h not found. Make sure you have the gettext headers installed." >&5
18076
 
echo "$as_me: error: libintl.h not found. Make sure you have the gettext headers installed." >&2;}
18077
 
   { (exit 1); exit 1; }; }
 
16496
   ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
 
16497
if test "x$ac_cv_header_libintl_h" = x""yes; then :
 
16498
  
 
16499
else
 
16500
  as_fn_error "libintl.h not found. Make sure you have the gettext headers installed." "$LINENO" 5
18078
16501
fi
18079
16502
 
18080
16503
 
18086
16509
 
18087
16510
        
18088
16511
   if test -z "glib-2.0"; then
18089
 
      { { echo "$as_me:$LINENO: error: 'library' parameter is required.'" >&5
18090
 
echo "$as_me: error: 'library' parameter is required.'" >&2;}
18091
 
   { (exit 1); exit 1; }; }
 
16512
      as_fn_error "'library' parameter is required.'" "$LINENO" 5
18092
16513
   fi
18093
16514
   if test -z "GLIB2"; then
18094
 
      { { echo "$as_me:$LINENO: error: 'lvar' parameter is required.'" >&5
18095
 
echo "$as_me: error: 'lvar' parameter is required.'" >&2;}
18096
 
   { (exit 1); exit 1; }; }
 
16515
      as_fn_error "'lvar' parameter is required.'" "$LINENO" 5
18097
16516
   fi
18098
16517
 
18099
16518
   ac_vmw_have_lib=0
18110
16529
         ORIGINAL_CPPFLAGS="$CPPFLAGS"
18111
16530
         CPPFLAGS="${CUSTOM_GLIB2_CPPFLAGS} $CPPFLAGS"
18112
16531
 
18113
 
         if test "${ac_cv_header_glib_h+set}" = set; then
18114
 
  { echo "$as_me:$LINENO: checking for glib.h" >&5
18115
 
echo $ECHO_N "checking for glib.h... $ECHO_C" >&6; }
18116
 
if test "${ac_cv_header_glib_h+set}" = set; then
18117
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
18118
 
fi
18119
 
{ echo "$as_me:$LINENO: result: $ac_cv_header_glib_h" >&5
18120
 
echo "${ECHO_T}$ac_cv_header_glib_h" >&6; }
18121
 
else
18122
 
  # Is the header compilable?
18123
 
{ echo "$as_me:$LINENO: checking glib.h usability" >&5
18124
 
echo $ECHO_N "checking glib.h usability... $ECHO_C" >&6; }
18125
 
cat >conftest.$ac_ext <<_ACEOF
18126
 
/* confdefs.h.  */
18127
 
_ACEOF
18128
 
cat confdefs.h >>conftest.$ac_ext
18129
 
cat >>conftest.$ac_ext <<_ACEOF
18130
 
/* end confdefs.h.  */
18131
 
$ac_includes_default
18132
 
@%:@include <glib.h>
18133
 
_ACEOF
18134
 
rm -f conftest.$ac_objext
18135
 
if { (ac_try="$ac_compile"
18136
 
case "(($ac_try" in
18137
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18138
 
  *) ac_try_echo=$ac_try;;
18139
 
esac
18140
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18141
 
  (eval "$ac_compile") 2>conftest.er1
18142
 
  ac_status=$?
18143
 
  grep -v '^ *+' conftest.er1 >conftest.err
18144
 
  rm -f conftest.er1
18145
 
  cat conftest.err >&5
18146
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18147
 
  (exit $ac_status); } && {
18148
 
         test -z "$ac_c_werror_flag" ||
18149
 
         test ! -s conftest.err
18150
 
       } && test -s conftest.$ac_objext; then
18151
 
  ac_header_compiler=yes
18152
 
else
18153
 
  echo "$as_me: failed program was:" >&5
18154
 
sed 's/^/| /' conftest.$ac_ext >&5
18155
 
 
18156
 
        ac_header_compiler=no
18157
 
fi
18158
 
 
18159
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18160
 
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18161
 
echo "${ECHO_T}$ac_header_compiler" >&6; }
18162
 
 
18163
 
# Is the header present?
18164
 
{ echo "$as_me:$LINENO: checking glib.h presence" >&5
18165
 
echo $ECHO_N "checking glib.h presence... $ECHO_C" >&6; }
18166
 
cat >conftest.$ac_ext <<_ACEOF
18167
 
/* confdefs.h.  */
18168
 
_ACEOF
18169
 
cat confdefs.h >>conftest.$ac_ext
18170
 
cat >>conftest.$ac_ext <<_ACEOF
18171
 
/* end confdefs.h.  */
18172
 
@%:@include <glib.h>
18173
 
_ACEOF
18174
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
18175
 
case "(($ac_try" in
18176
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18177
 
  *) ac_try_echo=$ac_try;;
18178
 
esac
18179
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18180
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
18181
 
  ac_status=$?
18182
 
  grep -v '^ *+' conftest.er1 >conftest.err
18183
 
  rm -f conftest.er1
18184
 
  cat conftest.err >&5
18185
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18186
 
  (exit $ac_status); } >/dev/null && {
18187
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
18188
 
         test ! -s conftest.err
18189
 
       }; then
18190
 
  ac_header_preproc=yes
18191
 
else
18192
 
  echo "$as_me: failed program was:" >&5
18193
 
sed 's/^/| /' conftest.$ac_ext >&5
18194
 
 
18195
 
  ac_header_preproc=no
18196
 
fi
18197
 
 
18198
 
rm -f conftest.err conftest.$ac_ext
18199
 
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18200
 
echo "${ECHO_T}$ac_header_preproc" >&6; }
18201
 
 
18202
 
# So?  What about this header?
18203
 
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
18204
 
  yes:no: )
18205
 
    { echo "$as_me:$LINENO: WARNING: glib.h: accepted by the compiler, rejected by the preprocessor!" >&5
18206
 
echo "$as_me: WARNING: glib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
18207
 
    { echo "$as_me:$LINENO: WARNING: glib.h: proceeding with the compiler's result" >&5
18208
 
echo "$as_me: WARNING: glib.h: proceeding with the compiler's result" >&2;}
18209
 
    ac_header_preproc=yes
18210
 
    ;;
18211
 
  no:yes:* )
18212
 
    { echo "$as_me:$LINENO: WARNING: glib.h: present but cannot be compiled" >&5
18213
 
echo "$as_me: WARNING: glib.h: present but cannot be compiled" >&2;}
18214
 
    { echo "$as_me:$LINENO: WARNING: glib.h:     check for missing prerequisite headers?" >&5
18215
 
echo "$as_me: WARNING: glib.h:     check for missing prerequisite headers?" >&2;}
18216
 
    { echo "$as_me:$LINENO: WARNING: glib.h: see the Autoconf documentation" >&5
18217
 
echo "$as_me: WARNING: glib.h: see the Autoconf documentation" >&2;}
18218
 
    { echo "$as_me:$LINENO: WARNING: glib.h:     section \"Present But Cannot Be Compiled\"" >&5
18219
 
echo "$as_me: WARNING: glib.h:     section \"Present But Cannot Be Compiled\"" >&2;}
18220
 
    { echo "$as_me:$LINENO: WARNING: glib.h: proceeding with the preprocessor's result" >&5
18221
 
echo "$as_me: WARNING: glib.h: proceeding with the preprocessor's result" >&2;}
18222
 
    { echo "$as_me:$LINENO: WARNING: glib.h: in the future, the compiler will take precedence" >&5
18223
 
echo "$as_me: WARNING: glib.h: in the future, the compiler will take precedence" >&2;}
18224
 
    ( cat <<\_ASBOX
18225
 
@%:@@%:@ -------------------------------------------------------- @%:@@%:@
18226
 
@%:@@%:@ Report this to open-vm-tools-devel@lists.sourceforge.net @%:@@%:@
18227
 
@%:@@%:@ -------------------------------------------------------- @%:@@%:@
18228
 
_ASBOX
18229
 
     ) | sed "s/^/$as_me: WARNING:     /" >&2
18230
 
    ;;
18231
 
esac
18232
 
{ echo "$as_me:$LINENO: checking for glib.h" >&5
18233
 
echo $ECHO_N "checking for glib.h... $ECHO_C" >&6; }
18234
 
if test "${ac_cv_header_glib_h+set}" = set; then
18235
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
18236
 
else
18237
 
  ac_cv_header_glib_h=$ac_header_preproc
18238
 
fi
18239
 
{ echo "$as_me:$LINENO: result: $ac_cv_header_glib_h" >&5
18240
 
echo "${ECHO_T}$ac_cv_header_glib_h" >&6; }
18241
 
 
18242
 
fi
18243
 
if test $ac_cv_header_glib_h = yes; then
 
16532
         ac_fn_c_check_header_mongrel "$LINENO" "glib.h" "ac_cv_header_glib_h" "$ac_includes_default"
 
16533
if test "x$ac_cv_header_glib_h" = x""yes; then :
18244
16534
  ac_vmw_have_lib_header=1
18245
16535
fi
18246
16536
 
18260
16550
         else
18261
16551
            ac_vmw_function=strlen
18262
16552
         fi
18263
 
         as_ac_Lib=`echo "ac_cv_lib_glib-2.0_$ac_vmw_function" | $as_tr_sh`
18264
 
{ echo "$as_me:$LINENO: checking for $ac_vmw_function in -lglib-2.0" >&5
18265
 
echo $ECHO_N "checking for $ac_vmw_function in -lglib-2.0... $ECHO_C" >&6; }
18266
 
if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
18267
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
16553
         as_ac_Lib=`$as_echo "ac_cv_lib_glib-2.0_$ac_vmw_function" | $as_tr_sh`
 
16554
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_vmw_function in -lglib-2.0" >&5
 
16555
$as_echo_n "checking for $ac_vmw_function in -lglib-2.0... " >&6; }
 
16556
if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then :
 
16557
  $as_echo_n "(cached) " >&6
18268
16558
else
18269
16559
  ac_check_lib_save_LIBS=$LIBS
18270
16560
LIBS="-lglib-2.0 $ac_vmw_custom_libs $LIBS"
18271
 
cat >conftest.$ac_ext <<_ACEOF
18272
 
/* confdefs.h.  */
18273
 
_ACEOF
18274
 
cat confdefs.h >>conftest.$ac_ext
18275
 
cat >>conftest.$ac_ext <<_ACEOF
 
16561
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18276
16562
/* end confdefs.h.  */
18277
16563
 
18278
16564
/* Override any GCC internal prototype to avoid an error.
18290
16576
  return 0;
18291
16577
}
18292
16578
_ACEOF
18293
 
rm -f conftest.$ac_objext conftest$ac_exeext
18294
 
if { (ac_try="$ac_link"
18295
 
case "(($ac_try" in
18296
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18297
 
  *) ac_try_echo=$ac_try;;
18298
 
esac
18299
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18300
 
  (eval "$ac_link") 2>conftest.er1
18301
 
  ac_status=$?
18302
 
  grep -v '^ *+' conftest.er1 >conftest.err
18303
 
  rm -f conftest.er1
18304
 
  cat conftest.err >&5
18305
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18306
 
  (exit $ac_status); } && {
18307
 
         test -z "$ac_c_werror_flag" ||
18308
 
         test ! -s conftest.err
18309
 
       } && test -s conftest$ac_exeext &&
18310
 
       $as_test_x conftest$ac_exeext; then
 
16579
if ac_fn_c_try_link "$LINENO"; then :
18311
16580
  eval "$as_ac_Lib=yes"
18312
16581
else
18313
 
  echo "$as_me: failed program was:" >&5
18314
 
sed 's/^/| /' conftest.$ac_ext >&5
18315
 
 
18316
 
        eval "$as_ac_Lib=no"
 
16582
  eval "$as_ac_Lib=no"
18317
16583
fi
18318
 
 
18319
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18320
 
      conftest$ac_exeext conftest.$ac_ext
 
16584
rm -f core conftest.err conftest.$ac_objext \
 
16585
    conftest$ac_exeext conftest.$ac_ext
18321
16586
LIBS=$ac_check_lib_save_LIBS
18322
16587
fi
18323
 
ac_res=`eval echo '${'$as_ac_Lib'}'`
18324
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
18325
 
echo "${ECHO_T}$ac_res" >&6; }
18326
 
if test `eval echo '${'$as_ac_Lib'}'` = yes; then
 
16588
eval ac_res=\$$as_ac_Lib
 
16589
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
16590
$as_echo "$ac_res" >&6; }
 
16591
eval as_val=\$$as_ac_Lib
 
16592
   if test "x$as_val" = x""yes; then :
18327
16593
  ac_vmw_have_lib_func=1
18328
16594
fi
18329
16595
 
18339
16605
   # If that didn't work, try with pkg-config.
18340
16606
   if test $ac_vmw_have_lib -eq 0 && test "$HAVE_PKG_CONFIG" = "yes" && test -n "glib-2.0"; then
18341
16607
      if test -n "2.6.0"; then
18342
 
         { echo "$as_me:$LINENO: checking for glib-2.0 >= 2.6.0 (via pkg-config)" >&5
18343
 
echo $ECHO_N "checking for glib-2.0 >= 2.6.0 (via pkg-config)... $ECHO_C" >&6; }
 
16608
         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glib-2.0 >= 2.6.0 (via pkg-config)" >&5
 
16609
$as_echo_n "checking for glib-2.0 >= 2.6.0 (via pkg-config)... " >&6; }
18344
16610
         if pkg-config --exists 'glib-2.0 >= 2.6.0'; then
18345
16611
            ac_vmw_have_lib=1
18346
16612
         fi
18347
16613
      else
18348
 
         { echo "$as_me:$LINENO: checking for glib-2.0 (via pkg-config)" >&5
18349
 
echo $ECHO_N "checking for glib-2.0 (via pkg-config)... $ECHO_C" >&6; }
 
16614
         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glib-2.0 (via pkg-config)" >&5
 
16615
$as_echo_n "checking for glib-2.0 (via pkg-config)... " >&6; }
18350
16616
         if pkg-config --exists 'glib-2.0'; then
18351
16617
            ac_vmw_have_lib=1
18352
16618
         fi
18360
16626
         ac_vmw_libs="`pkg-config --libs glib-2.0`"
18361
16627
         ac_vmw_ret2=$?
18362
16628
         if test $ac_vmw_ret1 -eq 0 && test $ac_vmw_ret2 -eq 0; then
18363
 
            { echo "$as_me:$LINENO: result: yes" >&5
18364
 
echo "${ECHO_T}yes" >&6; }
 
16629
            { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
16630
$as_echo "yes" >&6; }
18365
16631
            GLIB2_CPPFLAGS="$ac_vmw_cppflags"
18366
16632
            GLIB2_LIBS="$ac_vmw_libs"
18367
16633
         else
18368
 
            { echo "$as_me:$LINENO: result: no" >&5
18369
 
echo "${ECHO_T}no" >&6; }
 
16634
            { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
16635
$as_echo "no" >&6; }
18370
16636
         fi
18371
16637
      else
18372
 
         { echo "$as_me:$LINENO: result: no" >&5
18373
 
echo "${ECHO_T}no" >&6; }
 
16638
         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
16639
$as_echo "no" >&6; }
18374
16640
      fi
18375
16641
   fi
18376
16642
 
18381
16647
   if test $ac_vmw_have_lib -eq 0 && test -n ""; then
18382
16648
      # Extract the first word of "", so it can be a program name with args.
18383
16649
set dummy ; ac_word=$2
18384
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
18385
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18386
 
if test "${ac_cv_path_ac_vmw_lib_cfg+set}" = set; then
18387
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
16650
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
16651
$as_echo_n "checking for $ac_word... " >&6; }
 
16652
if test "${ac_cv_path_ac_vmw_lib_cfg+set}" = set; then :
 
16653
  $as_echo_n "(cached) " >&6
18388
16654
else
18389
16655
  case $ac_vmw_lib_cfg in
18390
16656
  [\\/]* | ?:[\\/]*)
18396
16662
do
18397
16663
  IFS=$as_save_IFS
18398
16664
  test -z "$as_dir" && as_dir=.
18399
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
16665
    for ac_exec_ext in '' $ac_executable_extensions; do
18400
16666
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18401
16667
    ac_cv_path_ac_vmw_lib_cfg="$as_dir/$ac_word$ac_exec_ext"
18402
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
16668
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18403
16669
    break 2
18404
16670
  fi
18405
16671
done
18406
 
done
 
16672
  done
18407
16673
IFS=$as_save_IFS
18408
16674
 
18409
16675
  test -z "$ac_cv_path_ac_vmw_lib_cfg" && ac_cv_path_ac_vmw_lib_cfg="no"
18412
16678
fi
18413
16679
ac_vmw_lib_cfg=$ac_cv_path_ac_vmw_lib_cfg
18414
16680
if test -n "$ac_vmw_lib_cfg"; then
18415
 
  { echo "$as_me:$LINENO: result: $ac_vmw_lib_cfg" >&5
18416
 
echo "${ECHO_T}$ac_vmw_lib_cfg" >&6; }
 
16681
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_vmw_lib_cfg" >&5
 
16682
$as_echo "$ac_vmw_lib_cfg" >&6; }
18417
16683
else
18418
 
  { echo "$as_me:$LINENO: result: no" >&5
18419
 
echo "${ECHO_T}no" >&6; }
 
16684
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
16685
$as_echo "no" >&6; }
18420
16686
fi
18421
16687
 
18422
16688
 
18444
16710
      
18445
16711
   else
18446
16712
      true
18447
 
      { { echo "$as_me:$LINENO: error: glib >= 2.6.0 is required." >&5
18448
 
echo "$as_me: error: glib >= 2.6.0 is required." >&2;}
18449
 
   { (exit 1); exit 1; }; }
 
16713
      as_fn_error "glib >= 2.6.0 is required." "$LINENO" 5
18450
16714
   fi
18451
16715
 
18452
16716
 
18453
16717
        
18454
16718
   if test -z "gmodule-2.0"; then
18455
 
      { { echo "$as_me:$LINENO: error: 'library' parameter is required.'" >&5
18456
 
echo "$as_me: error: 'library' parameter is required.'" >&2;}
18457
 
   { (exit 1); exit 1; }; }
 
16719
      as_fn_error "'library' parameter is required.'" "$LINENO" 5
18458
16720
   fi
18459
16721
   if test -z "GMODULE"; then
18460
 
      { { echo "$as_me:$LINENO: error: 'lvar' parameter is required.'" >&5
18461
 
echo "$as_me: error: 'lvar' parameter is required.'" >&2;}
18462
 
   { (exit 1); exit 1; }; }
 
16722
      as_fn_error "'lvar' parameter is required.'" "$LINENO" 5
18463
16723
   fi
18464
16724
 
18465
16725
   ac_vmw_have_lib=0
18476
16736
         ORIGINAL_CPPFLAGS="$CPPFLAGS"
18477
16737
         CPPFLAGS="${CUSTOM_GMODULE_CPPFLAGS} $CPPFLAGS"
18478
16738
 
18479
 
         if test "${ac_cv_header_+set}" = set; then
18480
 
  { echo "$as_me:$LINENO: checking for " >&5
18481
 
echo $ECHO_N "checking for ... $ECHO_C" >&6; }
18482
 
if test "${ac_cv_header_+set}" = set; then
18483
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
18484
 
fi
18485
 
{ echo "$as_me:$LINENO: result: $ac_cv_header_" >&5
18486
 
echo "${ECHO_T}$ac_cv_header_" >&6; }
18487
 
else
18488
 
  # Is the header compilable?
18489
 
{ echo "$as_me:$LINENO: checking  usability" >&5
18490
 
echo $ECHO_N "checking  usability... $ECHO_C" >&6; }
18491
 
cat >conftest.$ac_ext <<_ACEOF
18492
 
/* confdefs.h.  */
18493
 
_ACEOF
18494
 
cat confdefs.h >>conftest.$ac_ext
18495
 
cat >>conftest.$ac_ext <<_ACEOF
18496
 
/* end confdefs.h.  */
18497
 
$ac_includes_default
18498
 
@%:@include <>
18499
 
_ACEOF
18500
 
rm -f conftest.$ac_objext
18501
 
if { (ac_try="$ac_compile"
18502
 
case "(($ac_try" in
18503
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18504
 
  *) ac_try_echo=$ac_try;;
18505
 
esac
18506
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18507
 
  (eval "$ac_compile") 2>conftest.er1
18508
 
  ac_status=$?
18509
 
  grep -v '^ *+' conftest.er1 >conftest.err
18510
 
  rm -f conftest.er1
18511
 
  cat conftest.err >&5
18512
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18513
 
  (exit $ac_status); } && {
18514
 
         test -z "$ac_c_werror_flag" ||
18515
 
         test ! -s conftest.err
18516
 
       } && test -s conftest.$ac_objext; then
18517
 
  ac_header_compiler=yes
18518
 
else
18519
 
  echo "$as_me: failed program was:" >&5
18520
 
sed 's/^/| /' conftest.$ac_ext >&5
18521
 
 
18522
 
        ac_header_compiler=no
18523
 
fi
18524
 
 
18525
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18526
 
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18527
 
echo "${ECHO_T}$ac_header_compiler" >&6; }
18528
 
 
18529
 
# Is the header present?
18530
 
{ echo "$as_me:$LINENO: checking  presence" >&5
18531
 
echo $ECHO_N "checking  presence... $ECHO_C" >&6; }
18532
 
cat >conftest.$ac_ext <<_ACEOF
18533
 
/* confdefs.h.  */
18534
 
_ACEOF
18535
 
cat confdefs.h >>conftest.$ac_ext
18536
 
cat >>conftest.$ac_ext <<_ACEOF
18537
 
/* end confdefs.h.  */
18538
 
@%:@include <>
18539
 
_ACEOF
18540
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
18541
 
case "(($ac_try" in
18542
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18543
 
  *) ac_try_echo=$ac_try;;
18544
 
esac
18545
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18546
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
18547
 
  ac_status=$?
18548
 
  grep -v '^ *+' conftest.er1 >conftest.err
18549
 
  rm -f conftest.er1
18550
 
  cat conftest.err >&5
18551
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18552
 
  (exit $ac_status); } >/dev/null && {
18553
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
18554
 
         test ! -s conftest.err
18555
 
       }; then
18556
 
  ac_header_preproc=yes
18557
 
else
18558
 
  echo "$as_me: failed program was:" >&5
18559
 
sed 's/^/| /' conftest.$ac_ext >&5
18560
 
 
18561
 
  ac_header_preproc=no
18562
 
fi
18563
 
 
18564
 
rm -f conftest.err conftest.$ac_ext
18565
 
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18566
 
echo "${ECHO_T}$ac_header_preproc" >&6; }
18567
 
 
18568
 
# So?  What about this header?
18569
 
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
18570
 
  yes:no: )
18571
 
    { echo "$as_me:$LINENO: WARNING: : accepted by the compiler, rejected by the preprocessor!" >&5
18572
 
echo "$as_me: WARNING: : accepted by the compiler, rejected by the preprocessor!" >&2;}
18573
 
    { echo "$as_me:$LINENO: WARNING: : proceeding with the compiler's result" >&5
18574
 
echo "$as_me: WARNING: : proceeding with the compiler's result" >&2;}
18575
 
    ac_header_preproc=yes
18576
 
    ;;
18577
 
  no:yes:* )
18578
 
    { echo "$as_me:$LINENO: WARNING: : present but cannot be compiled" >&5
18579
 
echo "$as_me: WARNING: : present but cannot be compiled" >&2;}
18580
 
    { echo "$as_me:$LINENO: WARNING: :     check for missing prerequisite headers?" >&5
18581
 
echo "$as_me: WARNING: :     check for missing prerequisite headers?" >&2;}
18582
 
    { echo "$as_me:$LINENO: WARNING: : see the Autoconf documentation" >&5
18583
 
echo "$as_me: WARNING: : see the Autoconf documentation" >&2;}
18584
 
    { echo "$as_me:$LINENO: WARNING: :     section \"Present But Cannot Be Compiled\"" >&5
18585
 
echo "$as_me: WARNING: :     section \"Present But Cannot Be Compiled\"" >&2;}
18586
 
    { echo "$as_me:$LINENO: WARNING: : proceeding with the preprocessor's result" >&5
18587
 
echo "$as_me: WARNING: : proceeding with the preprocessor's result" >&2;}
18588
 
    { echo "$as_me:$LINENO: WARNING: : in the future, the compiler will take precedence" >&5
18589
 
echo "$as_me: WARNING: : in the future, the compiler will take precedence" >&2;}
18590
 
    ( cat <<\_ASBOX
18591
 
@%:@@%:@ -------------------------------------------------------- @%:@@%:@
18592
 
@%:@@%:@ Report this to open-vm-tools-devel@lists.sourceforge.net @%:@@%:@
18593
 
@%:@@%:@ -------------------------------------------------------- @%:@@%:@
18594
 
_ASBOX
18595
 
     ) | sed "s/^/$as_me: WARNING:     /" >&2
18596
 
    ;;
18597
 
esac
18598
 
{ echo "$as_me:$LINENO: checking for " >&5
18599
 
echo $ECHO_N "checking for ... $ECHO_C" >&6; }
18600
 
if test "${ac_cv_header_+set}" = set; then
18601
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
18602
 
else
18603
 
  ac_cv_header_=$ac_header_preproc
18604
 
fi
18605
 
{ echo "$as_me:$LINENO: result: $ac_cv_header_" >&5
18606
 
echo "${ECHO_T}$ac_cv_header_" >&6; }
18607
 
 
18608
 
fi
18609
 
if test $ac_cv_header_ = yes; then
 
16739
         ac_fn_c_check_header_mongrel "$LINENO" "" "ac_cv_header_" "$ac_includes_default"
 
16740
if test "x$ac_cv_header_" = x""yes; then :
18610
16741
  ac_vmw_have_lib_header=1
18611
16742
fi
18612
16743
 
18626
16757
         else
18627
16758
            ac_vmw_function=strlen
18628
16759
         fi
18629
 
         as_ac_Lib=`echo "ac_cv_lib_gmodule-2.0_$ac_vmw_function" | $as_tr_sh`
18630
 
{ echo "$as_me:$LINENO: checking for $ac_vmw_function in -lgmodule-2.0" >&5
18631
 
echo $ECHO_N "checking for $ac_vmw_function in -lgmodule-2.0... $ECHO_C" >&6; }
18632
 
if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
18633
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
16760
         as_ac_Lib=`$as_echo "ac_cv_lib_gmodule-2.0_$ac_vmw_function" | $as_tr_sh`
 
16761
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_vmw_function in -lgmodule-2.0" >&5
 
16762
$as_echo_n "checking for $ac_vmw_function in -lgmodule-2.0... " >&6; }
 
16763
if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then :
 
16764
  $as_echo_n "(cached) " >&6
18634
16765
else
18635
16766
  ac_check_lib_save_LIBS=$LIBS
18636
16767
LIBS="-lgmodule-2.0 $ac_vmw_custom_libs $LIBS"
18637
 
cat >conftest.$ac_ext <<_ACEOF
18638
 
/* confdefs.h.  */
18639
 
_ACEOF
18640
 
cat confdefs.h >>conftest.$ac_ext
18641
 
cat >>conftest.$ac_ext <<_ACEOF
 
16768
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18642
16769
/* end confdefs.h.  */
18643
16770
 
18644
16771
/* Override any GCC internal prototype to avoid an error.
18656
16783
  return 0;
18657
16784
}
18658
16785
_ACEOF
18659
 
rm -f conftest.$ac_objext conftest$ac_exeext
18660
 
if { (ac_try="$ac_link"
18661
 
case "(($ac_try" in
18662
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18663
 
  *) ac_try_echo=$ac_try;;
18664
 
esac
18665
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18666
 
  (eval "$ac_link") 2>conftest.er1
18667
 
  ac_status=$?
18668
 
  grep -v '^ *+' conftest.er1 >conftest.err
18669
 
  rm -f conftest.er1
18670
 
  cat conftest.err >&5
18671
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18672
 
  (exit $ac_status); } && {
18673
 
         test -z "$ac_c_werror_flag" ||
18674
 
         test ! -s conftest.err
18675
 
       } && test -s conftest$ac_exeext &&
18676
 
       $as_test_x conftest$ac_exeext; then
 
16786
if ac_fn_c_try_link "$LINENO"; then :
18677
16787
  eval "$as_ac_Lib=yes"
18678
16788
else
18679
 
  echo "$as_me: failed program was:" >&5
18680
 
sed 's/^/| /' conftest.$ac_ext >&5
18681
 
 
18682
 
        eval "$as_ac_Lib=no"
 
16789
  eval "$as_ac_Lib=no"
18683
16790
fi
18684
 
 
18685
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18686
 
      conftest$ac_exeext conftest.$ac_ext
 
16791
rm -f core conftest.err conftest.$ac_objext \
 
16792
    conftest$ac_exeext conftest.$ac_ext
18687
16793
LIBS=$ac_check_lib_save_LIBS
18688
16794
fi
18689
 
ac_res=`eval echo '${'$as_ac_Lib'}'`
18690
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
18691
 
echo "${ECHO_T}$ac_res" >&6; }
18692
 
if test `eval echo '${'$as_ac_Lib'}'` = yes; then
 
16795
eval ac_res=\$$as_ac_Lib
 
16796
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
16797
$as_echo "$ac_res" >&6; }
 
16798
eval as_val=\$$as_ac_Lib
 
16799
   if test "x$as_val" = x""yes; then :
18693
16800
  ac_vmw_have_lib_func=1
18694
16801
fi
18695
16802
 
18705
16812
   # If that didn't work, try with pkg-config.
18706
16813
   if test $ac_vmw_have_lib -eq 0 && test "$HAVE_PKG_CONFIG" = "yes" && test -n "gmodule-2.0"; then
18707
16814
      if test -n "2.6.0"; then
18708
 
         { echo "$as_me:$LINENO: checking for gmodule-2.0 >= 2.6.0 (via pkg-config)" >&5
18709
 
echo $ECHO_N "checking for gmodule-2.0 >= 2.6.0 (via pkg-config)... $ECHO_C" >&6; }
 
16815
         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gmodule-2.0 >= 2.6.0 (via pkg-config)" >&5
 
16816
$as_echo_n "checking for gmodule-2.0 >= 2.6.0 (via pkg-config)... " >&6; }
18710
16817
         if pkg-config --exists 'gmodule-2.0 >= 2.6.0'; then
18711
16818
            ac_vmw_have_lib=1
18712
16819
         fi
18713
16820
      else
18714
 
         { echo "$as_me:$LINENO: checking for gmodule-2.0 (via pkg-config)" >&5
18715
 
echo $ECHO_N "checking for gmodule-2.0 (via pkg-config)... $ECHO_C" >&6; }
 
16821
         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gmodule-2.0 (via pkg-config)" >&5
 
16822
$as_echo_n "checking for gmodule-2.0 (via pkg-config)... " >&6; }
18716
16823
         if pkg-config --exists 'gmodule-2.0'; then
18717
16824
            ac_vmw_have_lib=1
18718
16825
         fi
18726
16833
         ac_vmw_libs="`pkg-config --libs gmodule-2.0`"
18727
16834
         ac_vmw_ret2=$?
18728
16835
         if test $ac_vmw_ret1 -eq 0 && test $ac_vmw_ret2 -eq 0; then
18729
 
            { echo "$as_me:$LINENO: result: yes" >&5
18730
 
echo "${ECHO_T}yes" >&6; }
 
16836
            { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
16837
$as_echo "yes" >&6; }
18731
16838
            GMODULE_CPPFLAGS="$ac_vmw_cppflags"
18732
16839
            GMODULE_LIBS="$ac_vmw_libs"
18733
16840
         else
18734
 
            { echo "$as_me:$LINENO: result: no" >&5
18735
 
echo "${ECHO_T}no" >&6; }
 
16841
            { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
16842
$as_echo "no" >&6; }
18736
16843
         fi
18737
16844
      else
18738
 
         { echo "$as_me:$LINENO: result: no" >&5
18739
 
echo "${ECHO_T}no" >&6; }
 
16845
         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
16846
$as_echo "no" >&6; }
18740
16847
      fi
18741
16848
   fi
18742
16849
 
18747
16854
   if test $ac_vmw_have_lib -eq 0 && test -n ""; then
18748
16855
      # Extract the first word of "", so it can be a program name with args.
18749
16856
set dummy ; ac_word=$2
18750
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
18751
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18752
 
if test "${ac_cv_path_ac_vmw_lib_cfg+set}" = set; then
18753
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
16857
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
16858
$as_echo_n "checking for $ac_word... " >&6; }
 
16859
if test "${ac_cv_path_ac_vmw_lib_cfg+set}" = set; then :
 
16860
  $as_echo_n "(cached) " >&6
18754
16861
else
18755
16862
  case $ac_vmw_lib_cfg in
18756
16863
  [\\/]* | ?:[\\/]*)
18762
16869
do
18763
16870
  IFS=$as_save_IFS
18764
16871
  test -z "$as_dir" && as_dir=.
18765
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
16872
    for ac_exec_ext in '' $ac_executable_extensions; do
18766
16873
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18767
16874
    ac_cv_path_ac_vmw_lib_cfg="$as_dir/$ac_word$ac_exec_ext"
18768
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
16875
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18769
16876
    break 2
18770
16877
  fi
18771
16878
done
18772
 
done
 
16879
  done
18773
16880
IFS=$as_save_IFS
18774
16881
 
18775
16882
  test -z "$ac_cv_path_ac_vmw_lib_cfg" && ac_cv_path_ac_vmw_lib_cfg="no"
18778
16885
fi
18779
16886
ac_vmw_lib_cfg=$ac_cv_path_ac_vmw_lib_cfg
18780
16887
if test -n "$ac_vmw_lib_cfg"; then
18781
 
  { echo "$as_me:$LINENO: result: $ac_vmw_lib_cfg" >&5
18782
 
echo "${ECHO_T}$ac_vmw_lib_cfg" >&6; }
 
16888
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_vmw_lib_cfg" >&5
 
16889
$as_echo "$ac_vmw_lib_cfg" >&6; }
18783
16890
else
18784
 
  { echo "$as_me:$LINENO: result: no" >&5
18785
 
echo "${ECHO_T}no" >&6; }
 
16891
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
16892
$as_echo "no" >&6; }
18786
16893
fi
18787
16894
 
18788
16895
 
18810
16917
      
18811
16918
   else
18812
16919
      true
18813
 
      { { echo "$as_me:$LINENO: error: gmodule >= 2.6.0 is required." >&5
18814
 
echo "$as_me: error: gmodule >= 2.6.0 is required." >&2;}
18815
 
   { (exit 1); exit 1; }; }
 
16920
      as_fn_error "gmodule >= 2.6.0 is required." "$LINENO" 5
18816
16921
   fi
18817
16922
 
18818
16923
 
18819
16924
        
18820
16925
   if test -z "gobject-2.0"; then
18821
 
      { { echo "$as_me:$LINENO: error: 'library' parameter is required.'" >&5
18822
 
echo "$as_me: error: 'library' parameter is required.'" >&2;}
18823
 
   { (exit 1); exit 1; }; }
 
16926
      as_fn_error "'library' parameter is required.'" "$LINENO" 5
18824
16927
   fi
18825
16928
   if test -z "GOBJECT"; then
18826
 
      { { echo "$as_me:$LINENO: error: 'lvar' parameter is required.'" >&5
18827
 
echo "$as_me: error: 'lvar' parameter is required.'" >&2;}
18828
 
   { (exit 1); exit 1; }; }
 
16929
      as_fn_error "'lvar' parameter is required.'" "$LINENO" 5
18829
16930
   fi
18830
16931
 
18831
16932
   ac_vmw_have_lib=0
18842
16943
         ORIGINAL_CPPFLAGS="$CPPFLAGS"
18843
16944
         CPPFLAGS="${CUSTOM_GOBJECT_CPPFLAGS} $CPPFLAGS"
18844
16945
 
18845
 
         if test "${ac_cv_header_glib_object_h+set}" = set; then
18846
 
  { echo "$as_me:$LINENO: checking for glib-object.h" >&5
18847
 
echo $ECHO_N "checking for glib-object.h... $ECHO_C" >&6; }
18848
 
if test "${ac_cv_header_glib_object_h+set}" = set; then
18849
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
18850
 
fi
18851
 
{ echo "$as_me:$LINENO: result: $ac_cv_header_glib_object_h" >&5
18852
 
echo "${ECHO_T}$ac_cv_header_glib_object_h" >&6; }
18853
 
else
18854
 
  # Is the header compilable?
18855
 
{ echo "$as_me:$LINENO: checking glib-object.h usability" >&5
18856
 
echo $ECHO_N "checking glib-object.h usability... $ECHO_C" >&6; }
18857
 
cat >conftest.$ac_ext <<_ACEOF
18858
 
/* confdefs.h.  */
18859
 
_ACEOF
18860
 
cat confdefs.h >>conftest.$ac_ext
18861
 
cat >>conftest.$ac_ext <<_ACEOF
18862
 
/* end confdefs.h.  */
18863
 
$ac_includes_default
18864
 
@%:@include <glib-object.h>
18865
 
_ACEOF
18866
 
rm -f conftest.$ac_objext
18867
 
if { (ac_try="$ac_compile"
18868
 
case "(($ac_try" in
18869
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18870
 
  *) ac_try_echo=$ac_try;;
18871
 
esac
18872
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18873
 
  (eval "$ac_compile") 2>conftest.er1
18874
 
  ac_status=$?
18875
 
  grep -v '^ *+' conftest.er1 >conftest.err
18876
 
  rm -f conftest.er1
18877
 
  cat conftest.err >&5
18878
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18879
 
  (exit $ac_status); } && {
18880
 
         test -z "$ac_c_werror_flag" ||
18881
 
         test ! -s conftest.err
18882
 
       } && test -s conftest.$ac_objext; then
18883
 
  ac_header_compiler=yes
18884
 
else
18885
 
  echo "$as_me: failed program was:" >&5
18886
 
sed 's/^/| /' conftest.$ac_ext >&5
18887
 
 
18888
 
        ac_header_compiler=no
18889
 
fi
18890
 
 
18891
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18892
 
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18893
 
echo "${ECHO_T}$ac_header_compiler" >&6; }
18894
 
 
18895
 
# Is the header present?
18896
 
{ echo "$as_me:$LINENO: checking glib-object.h presence" >&5
18897
 
echo $ECHO_N "checking glib-object.h presence... $ECHO_C" >&6; }
18898
 
cat >conftest.$ac_ext <<_ACEOF
18899
 
/* confdefs.h.  */
18900
 
_ACEOF
18901
 
cat confdefs.h >>conftest.$ac_ext
18902
 
cat >>conftest.$ac_ext <<_ACEOF
18903
 
/* end confdefs.h.  */
18904
 
@%:@include <glib-object.h>
18905
 
_ACEOF
18906
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
18907
 
case "(($ac_try" in
18908
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18909
 
  *) ac_try_echo=$ac_try;;
18910
 
esac
18911
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18912
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
18913
 
  ac_status=$?
18914
 
  grep -v '^ *+' conftest.er1 >conftest.err
18915
 
  rm -f conftest.er1
18916
 
  cat conftest.err >&5
18917
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18918
 
  (exit $ac_status); } >/dev/null && {
18919
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
18920
 
         test ! -s conftest.err
18921
 
       }; then
18922
 
  ac_header_preproc=yes
18923
 
else
18924
 
  echo "$as_me: failed program was:" >&5
18925
 
sed 's/^/| /' conftest.$ac_ext >&5
18926
 
 
18927
 
  ac_header_preproc=no
18928
 
fi
18929
 
 
18930
 
rm -f conftest.err conftest.$ac_ext
18931
 
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18932
 
echo "${ECHO_T}$ac_header_preproc" >&6; }
18933
 
 
18934
 
# So?  What about this header?
18935
 
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
18936
 
  yes:no: )
18937
 
    { echo "$as_me:$LINENO: WARNING: glib-object.h: accepted by the compiler, rejected by the preprocessor!" >&5
18938
 
echo "$as_me: WARNING: glib-object.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
18939
 
    { echo "$as_me:$LINENO: WARNING: glib-object.h: proceeding with the compiler's result" >&5
18940
 
echo "$as_me: WARNING: glib-object.h: proceeding with the compiler's result" >&2;}
18941
 
    ac_header_preproc=yes
18942
 
    ;;
18943
 
  no:yes:* )
18944
 
    { echo "$as_me:$LINENO: WARNING: glib-object.h: present but cannot be compiled" >&5
18945
 
echo "$as_me: WARNING: glib-object.h: present but cannot be compiled" >&2;}
18946
 
    { echo "$as_me:$LINENO: WARNING: glib-object.h:     check for missing prerequisite headers?" >&5
18947
 
echo "$as_me: WARNING: glib-object.h:     check for missing prerequisite headers?" >&2;}
18948
 
    { echo "$as_me:$LINENO: WARNING: glib-object.h: see the Autoconf documentation" >&5
18949
 
echo "$as_me: WARNING: glib-object.h: see the Autoconf documentation" >&2;}
18950
 
    { echo "$as_me:$LINENO: WARNING: glib-object.h:     section \"Present But Cannot Be Compiled\"" >&5
18951
 
echo "$as_me: WARNING: glib-object.h:     section \"Present But Cannot Be Compiled\"" >&2;}
18952
 
    { echo "$as_me:$LINENO: WARNING: glib-object.h: proceeding with the preprocessor's result" >&5
18953
 
echo "$as_me: WARNING: glib-object.h: proceeding with the preprocessor's result" >&2;}
18954
 
    { echo "$as_me:$LINENO: WARNING: glib-object.h: in the future, the compiler will take precedence" >&5
18955
 
echo "$as_me: WARNING: glib-object.h: in the future, the compiler will take precedence" >&2;}
18956
 
    ( cat <<\_ASBOX
18957
 
@%:@@%:@ -------------------------------------------------------- @%:@@%:@
18958
 
@%:@@%:@ Report this to open-vm-tools-devel@lists.sourceforge.net @%:@@%:@
18959
 
@%:@@%:@ -------------------------------------------------------- @%:@@%:@
18960
 
_ASBOX
18961
 
     ) | sed "s/^/$as_me: WARNING:     /" >&2
18962
 
    ;;
18963
 
esac
18964
 
{ echo "$as_me:$LINENO: checking for glib-object.h" >&5
18965
 
echo $ECHO_N "checking for glib-object.h... $ECHO_C" >&6; }
18966
 
if test "${ac_cv_header_glib_object_h+set}" = set; then
18967
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
18968
 
else
18969
 
  ac_cv_header_glib_object_h=$ac_header_preproc
18970
 
fi
18971
 
{ echo "$as_me:$LINENO: result: $ac_cv_header_glib_object_h" >&5
18972
 
echo "${ECHO_T}$ac_cv_header_glib_object_h" >&6; }
18973
 
 
18974
 
fi
18975
 
if test $ac_cv_header_glib_object_h = yes; then
 
16946
         ac_fn_c_check_header_mongrel "$LINENO" "glib-object.h" "ac_cv_header_glib_object_h" "$ac_includes_default"
 
16947
if test "x$ac_cv_header_glib_object_h" = x""yes; then :
18976
16948
  ac_vmw_have_lib_header=1
18977
16949
fi
18978
16950
 
18992
16964
         else
18993
16965
            ac_vmw_function=strlen
18994
16966
         fi
18995
 
         as_ac_Lib=`echo "ac_cv_lib_gobject-2.0_$ac_vmw_function" | $as_tr_sh`
18996
 
{ echo "$as_me:$LINENO: checking for $ac_vmw_function in -lgobject-2.0" >&5
18997
 
echo $ECHO_N "checking for $ac_vmw_function in -lgobject-2.0... $ECHO_C" >&6; }
18998
 
if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
18999
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
16967
         as_ac_Lib=`$as_echo "ac_cv_lib_gobject-2.0_$ac_vmw_function" | $as_tr_sh`
 
16968
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_vmw_function in -lgobject-2.0" >&5
 
16969
$as_echo_n "checking for $ac_vmw_function in -lgobject-2.0... " >&6; }
 
16970
if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then :
 
16971
  $as_echo_n "(cached) " >&6
19000
16972
else
19001
16973
  ac_check_lib_save_LIBS=$LIBS
19002
16974
LIBS="-lgobject-2.0 $ac_vmw_custom_libs $LIBS"
19003
 
cat >conftest.$ac_ext <<_ACEOF
19004
 
/* confdefs.h.  */
19005
 
_ACEOF
19006
 
cat confdefs.h >>conftest.$ac_ext
19007
 
cat >>conftest.$ac_ext <<_ACEOF
 
16975
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19008
16976
/* end confdefs.h.  */
19009
16977
 
19010
16978
/* Override any GCC internal prototype to avoid an error.
19022
16990
  return 0;
19023
16991
}
19024
16992
_ACEOF
19025
 
rm -f conftest.$ac_objext conftest$ac_exeext
19026
 
if { (ac_try="$ac_link"
19027
 
case "(($ac_try" in
19028
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19029
 
  *) ac_try_echo=$ac_try;;
19030
 
esac
19031
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19032
 
  (eval "$ac_link") 2>conftest.er1
19033
 
  ac_status=$?
19034
 
  grep -v '^ *+' conftest.er1 >conftest.err
19035
 
  rm -f conftest.er1
19036
 
  cat conftest.err >&5
19037
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19038
 
  (exit $ac_status); } && {
19039
 
         test -z "$ac_c_werror_flag" ||
19040
 
         test ! -s conftest.err
19041
 
       } && test -s conftest$ac_exeext &&
19042
 
       $as_test_x conftest$ac_exeext; then
 
16993
if ac_fn_c_try_link "$LINENO"; then :
19043
16994
  eval "$as_ac_Lib=yes"
19044
16995
else
19045
 
  echo "$as_me: failed program was:" >&5
19046
 
sed 's/^/| /' conftest.$ac_ext >&5
19047
 
 
19048
 
        eval "$as_ac_Lib=no"
 
16996
  eval "$as_ac_Lib=no"
19049
16997
fi
19050
 
 
19051
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19052
 
      conftest$ac_exeext conftest.$ac_ext
 
16998
rm -f core conftest.err conftest.$ac_objext \
 
16999
    conftest$ac_exeext conftest.$ac_ext
19053
17000
LIBS=$ac_check_lib_save_LIBS
19054
17001
fi
19055
 
ac_res=`eval echo '${'$as_ac_Lib'}'`
19056
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
19057
 
echo "${ECHO_T}$ac_res" >&6; }
19058
 
if test `eval echo '${'$as_ac_Lib'}'` = yes; then
 
17002
eval ac_res=\$$as_ac_Lib
 
17003
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
17004
$as_echo "$ac_res" >&6; }
 
17005
eval as_val=\$$as_ac_Lib
 
17006
   if test "x$as_val" = x""yes; then :
19059
17007
  ac_vmw_have_lib_func=1
19060
17008
fi
19061
17009
 
19071
17019
   # If that didn't work, try with pkg-config.
19072
17020
   if test $ac_vmw_have_lib -eq 0 && test "$HAVE_PKG_CONFIG" = "yes" && test -n "gobject-2.0"; then
19073
17021
      if test -n "2.6.0"; then
19074
 
         { echo "$as_me:$LINENO: checking for gobject-2.0 >= 2.6.0 (via pkg-config)" >&5
19075
 
echo $ECHO_N "checking for gobject-2.0 >= 2.6.0 (via pkg-config)... $ECHO_C" >&6; }
 
17022
         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gobject-2.0 >= 2.6.0 (via pkg-config)" >&5
 
17023
$as_echo_n "checking for gobject-2.0 >= 2.6.0 (via pkg-config)... " >&6; }
19076
17024
         if pkg-config --exists 'gobject-2.0 >= 2.6.0'; then
19077
17025
            ac_vmw_have_lib=1
19078
17026
         fi
19079
17027
      else
19080
 
         { echo "$as_me:$LINENO: checking for gobject-2.0 (via pkg-config)" >&5
19081
 
echo $ECHO_N "checking for gobject-2.0 (via pkg-config)... $ECHO_C" >&6; }
 
17028
         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gobject-2.0 (via pkg-config)" >&5
 
17029
$as_echo_n "checking for gobject-2.0 (via pkg-config)... " >&6; }
19082
17030
         if pkg-config --exists 'gobject-2.0'; then
19083
17031
            ac_vmw_have_lib=1
19084
17032
         fi
19092
17040
         ac_vmw_libs="`pkg-config --libs gobject-2.0`"
19093
17041
         ac_vmw_ret2=$?
19094
17042
         if test $ac_vmw_ret1 -eq 0 && test $ac_vmw_ret2 -eq 0; then
19095
 
            { echo "$as_me:$LINENO: result: yes" >&5
19096
 
echo "${ECHO_T}yes" >&6; }
 
17043
            { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
17044
$as_echo "yes" >&6; }
19097
17045
            GOBJECT_CPPFLAGS="$ac_vmw_cppflags"
19098
17046
            GOBJECT_LIBS="$ac_vmw_libs"
19099
17047
         else
19100
 
            { echo "$as_me:$LINENO: result: no" >&5
19101
 
echo "${ECHO_T}no" >&6; }
 
17048
            { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
17049
$as_echo "no" >&6; }
19102
17050
         fi
19103
17051
      else
19104
 
         { echo "$as_me:$LINENO: result: no" >&5
19105
 
echo "${ECHO_T}no" >&6; }
 
17052
         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
17053
$as_echo "no" >&6; }
19106
17054
      fi
19107
17055
   fi
19108
17056
 
19113
17061
   if test $ac_vmw_have_lib -eq 0 && test -n ""; then
19114
17062
      # Extract the first word of "", so it can be a program name with args.
19115
17063
set dummy ; ac_word=$2
19116
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
19117
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19118
 
if test "${ac_cv_path_ac_vmw_lib_cfg+set}" = set; then
19119
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
17064
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
17065
$as_echo_n "checking for $ac_word... " >&6; }
 
17066
if test "${ac_cv_path_ac_vmw_lib_cfg+set}" = set; then :
 
17067
  $as_echo_n "(cached) " >&6
19120
17068
else
19121
17069
  case $ac_vmw_lib_cfg in
19122
17070
  [\\/]* | ?:[\\/]*)
19128
17076
do
19129
17077
  IFS=$as_save_IFS
19130
17078
  test -z "$as_dir" && as_dir=.
19131
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
17079
    for ac_exec_ext in '' $ac_executable_extensions; do
19132
17080
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19133
17081
    ac_cv_path_ac_vmw_lib_cfg="$as_dir/$ac_word$ac_exec_ext"
19134
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
17082
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19135
17083
    break 2
19136
17084
  fi
19137
17085
done
19138
 
done
 
17086
  done
19139
17087
IFS=$as_save_IFS
19140
17088
 
19141
17089
  test -z "$ac_cv_path_ac_vmw_lib_cfg" && ac_cv_path_ac_vmw_lib_cfg="no"
19144
17092
fi
19145
17093
ac_vmw_lib_cfg=$ac_cv_path_ac_vmw_lib_cfg
19146
17094
if test -n "$ac_vmw_lib_cfg"; then
19147
 
  { echo "$as_me:$LINENO: result: $ac_vmw_lib_cfg" >&5
19148
 
echo "${ECHO_T}$ac_vmw_lib_cfg" >&6; }
 
17095
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_vmw_lib_cfg" >&5
 
17096
$as_echo "$ac_vmw_lib_cfg" >&6; }
19149
17097
else
19150
 
  { echo "$as_me:$LINENO: result: no" >&5
19151
 
echo "${ECHO_T}no" >&6; }
 
17098
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
17099
$as_echo "no" >&6; }
19152
17100
fi
19153
17101
 
19154
17102
 
19176
17124
      
19177
17125
   else
19178
17126
      true
19179
 
      { { echo "$as_me:$LINENO: error: gobject >= 2.6.0 is required." >&5
19180
 
echo "$as_me: error: gobject >= 2.6.0 is required." >&2;}
19181
 
   { (exit 1); exit 1; }; }
 
17127
      as_fn_error "gobject >= 2.6.0 is required." "$LINENO" 5
19182
17128
   fi
19183
17129
 
19184
17130
 
19185
17131
        
19186
17132
   if test -z "gthread-2.0"; then
19187
 
      { { echo "$as_me:$LINENO: error: 'library' parameter is required.'" >&5
19188
 
echo "$as_me: error: 'library' parameter is required.'" >&2;}
19189
 
   { (exit 1); exit 1; }; }
 
17133
      as_fn_error "'library' parameter is required.'" "$LINENO" 5
19190
17134
   fi
19191
17135
   if test -z "GTHREAD"; then
19192
 
      { { echo "$as_me:$LINENO: error: 'lvar' parameter is required.'" >&5
19193
 
echo "$as_me: error: 'lvar' parameter is required.'" >&2;}
19194
 
   { (exit 1); exit 1; }; }
 
17136
      as_fn_error "'lvar' parameter is required.'" "$LINENO" 5
19195
17137
   fi
19196
17138
 
19197
17139
   ac_vmw_have_lib=0
19208
17150
         ORIGINAL_CPPFLAGS="$CPPFLAGS"
19209
17151
         CPPFLAGS="${CUSTOM_GTHREAD_CPPFLAGS} $CPPFLAGS"
19210
17152
 
19211
 
         if test "${ac_cv_header_+set}" = set; then
19212
 
  { echo "$as_me:$LINENO: checking for " >&5
19213
 
echo $ECHO_N "checking for ... $ECHO_C" >&6; }
19214
 
if test "${ac_cv_header_+set}" = set; then
19215
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
19216
 
fi
19217
 
{ echo "$as_me:$LINENO: result: $ac_cv_header_" >&5
19218
 
echo "${ECHO_T}$ac_cv_header_" >&6; }
19219
 
else
19220
 
  # Is the header compilable?
19221
 
{ echo "$as_me:$LINENO: checking  usability" >&5
19222
 
echo $ECHO_N "checking  usability... $ECHO_C" >&6; }
19223
 
cat >conftest.$ac_ext <<_ACEOF
19224
 
/* confdefs.h.  */
19225
 
_ACEOF
19226
 
cat confdefs.h >>conftest.$ac_ext
19227
 
cat >>conftest.$ac_ext <<_ACEOF
19228
 
/* end confdefs.h.  */
19229
 
$ac_includes_default
19230
 
@%:@include <>
19231
 
_ACEOF
19232
 
rm -f conftest.$ac_objext
19233
 
if { (ac_try="$ac_compile"
19234
 
case "(($ac_try" in
19235
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19236
 
  *) ac_try_echo=$ac_try;;
19237
 
esac
19238
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19239
 
  (eval "$ac_compile") 2>conftest.er1
19240
 
  ac_status=$?
19241
 
  grep -v '^ *+' conftest.er1 >conftest.err
19242
 
  rm -f conftest.er1
19243
 
  cat conftest.err >&5
19244
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19245
 
  (exit $ac_status); } && {
19246
 
         test -z "$ac_c_werror_flag" ||
19247
 
         test ! -s conftest.err
19248
 
       } && test -s conftest.$ac_objext; then
19249
 
  ac_header_compiler=yes
19250
 
else
19251
 
  echo "$as_me: failed program was:" >&5
19252
 
sed 's/^/| /' conftest.$ac_ext >&5
19253
 
 
19254
 
        ac_header_compiler=no
19255
 
fi
19256
 
 
19257
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19258
 
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19259
 
echo "${ECHO_T}$ac_header_compiler" >&6; }
19260
 
 
19261
 
# Is the header present?
19262
 
{ echo "$as_me:$LINENO: checking  presence" >&5
19263
 
echo $ECHO_N "checking  presence... $ECHO_C" >&6; }
19264
 
cat >conftest.$ac_ext <<_ACEOF
19265
 
/* confdefs.h.  */
19266
 
_ACEOF
19267
 
cat confdefs.h >>conftest.$ac_ext
19268
 
cat >>conftest.$ac_ext <<_ACEOF
19269
 
/* end confdefs.h.  */
19270
 
@%:@include <>
19271
 
_ACEOF
19272
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
19273
 
case "(($ac_try" in
19274
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19275
 
  *) ac_try_echo=$ac_try;;
19276
 
esac
19277
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19278
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
19279
 
  ac_status=$?
19280
 
  grep -v '^ *+' conftest.er1 >conftest.err
19281
 
  rm -f conftest.er1
19282
 
  cat conftest.err >&5
19283
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19284
 
  (exit $ac_status); } >/dev/null && {
19285
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
19286
 
         test ! -s conftest.err
19287
 
       }; then
19288
 
  ac_header_preproc=yes
19289
 
else
19290
 
  echo "$as_me: failed program was:" >&5
19291
 
sed 's/^/| /' conftest.$ac_ext >&5
19292
 
 
19293
 
  ac_header_preproc=no
19294
 
fi
19295
 
 
19296
 
rm -f conftest.err conftest.$ac_ext
19297
 
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19298
 
echo "${ECHO_T}$ac_header_preproc" >&6; }
19299
 
 
19300
 
# So?  What about this header?
19301
 
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
19302
 
  yes:no: )
19303
 
    { echo "$as_me:$LINENO: WARNING: : accepted by the compiler, rejected by the preprocessor!" >&5
19304
 
echo "$as_me: WARNING: : accepted by the compiler, rejected by the preprocessor!" >&2;}
19305
 
    { echo "$as_me:$LINENO: WARNING: : proceeding with the compiler's result" >&5
19306
 
echo "$as_me: WARNING: : proceeding with the compiler's result" >&2;}
19307
 
    ac_header_preproc=yes
19308
 
    ;;
19309
 
  no:yes:* )
19310
 
    { echo "$as_me:$LINENO: WARNING: : present but cannot be compiled" >&5
19311
 
echo "$as_me: WARNING: : present but cannot be compiled" >&2;}
19312
 
    { echo "$as_me:$LINENO: WARNING: :     check for missing prerequisite headers?" >&5
19313
 
echo "$as_me: WARNING: :     check for missing prerequisite headers?" >&2;}
19314
 
    { echo "$as_me:$LINENO: WARNING: : see the Autoconf documentation" >&5
19315
 
echo "$as_me: WARNING: : see the Autoconf documentation" >&2;}
19316
 
    { echo "$as_me:$LINENO: WARNING: :     section \"Present But Cannot Be Compiled\"" >&5
19317
 
echo "$as_me: WARNING: :     section \"Present But Cannot Be Compiled\"" >&2;}
19318
 
    { echo "$as_me:$LINENO: WARNING: : proceeding with the preprocessor's result" >&5
19319
 
echo "$as_me: WARNING: : proceeding with the preprocessor's result" >&2;}
19320
 
    { echo "$as_me:$LINENO: WARNING: : in the future, the compiler will take precedence" >&5
19321
 
echo "$as_me: WARNING: : in the future, the compiler will take precedence" >&2;}
19322
 
    ( cat <<\_ASBOX
19323
 
@%:@@%:@ -------------------------------------------------------- @%:@@%:@
19324
 
@%:@@%:@ Report this to open-vm-tools-devel@lists.sourceforge.net @%:@@%:@
19325
 
@%:@@%:@ -------------------------------------------------------- @%:@@%:@
19326
 
_ASBOX
19327
 
     ) | sed "s/^/$as_me: WARNING:     /" >&2
19328
 
    ;;
19329
 
esac
19330
 
{ echo "$as_me:$LINENO: checking for " >&5
19331
 
echo $ECHO_N "checking for ... $ECHO_C" >&6; }
19332
 
if test "${ac_cv_header_+set}" = set; then
19333
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
19334
 
else
19335
 
  ac_cv_header_=$ac_header_preproc
19336
 
fi
19337
 
{ echo "$as_me:$LINENO: result: $ac_cv_header_" >&5
19338
 
echo "${ECHO_T}$ac_cv_header_" >&6; }
19339
 
 
19340
 
fi
19341
 
if test $ac_cv_header_ = yes; then
 
17153
         ac_fn_c_check_header_mongrel "$LINENO" "" "ac_cv_header_" "$ac_includes_default"
 
17154
if test "x$ac_cv_header_" = x""yes; then :
19342
17155
  ac_vmw_have_lib_header=1
19343
17156
fi
19344
17157
 
19358
17171
         else
19359
17172
            ac_vmw_function=strlen
19360
17173
         fi
19361
 
         as_ac_Lib=`echo "ac_cv_lib_gthread-2.0_$ac_vmw_function" | $as_tr_sh`
19362
 
{ echo "$as_me:$LINENO: checking for $ac_vmw_function in -lgthread-2.0" >&5
19363
 
echo $ECHO_N "checking for $ac_vmw_function in -lgthread-2.0... $ECHO_C" >&6; }
19364
 
if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
19365
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
17174
         as_ac_Lib=`$as_echo "ac_cv_lib_gthread-2.0_$ac_vmw_function" | $as_tr_sh`
 
17175
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_vmw_function in -lgthread-2.0" >&5
 
17176
$as_echo_n "checking for $ac_vmw_function in -lgthread-2.0... " >&6; }
 
17177
if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then :
 
17178
  $as_echo_n "(cached) " >&6
19366
17179
else
19367
17180
  ac_check_lib_save_LIBS=$LIBS
19368
17181
LIBS="-lgthread-2.0 $ac_vmw_custom_libs $LIBS"
19369
 
cat >conftest.$ac_ext <<_ACEOF
19370
 
/* confdefs.h.  */
19371
 
_ACEOF
19372
 
cat confdefs.h >>conftest.$ac_ext
19373
 
cat >>conftest.$ac_ext <<_ACEOF
 
17182
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19374
17183
/* end confdefs.h.  */
19375
17184
 
19376
17185
/* Override any GCC internal prototype to avoid an error.
19388
17197
  return 0;
19389
17198
}
19390
17199
_ACEOF
19391
 
rm -f conftest.$ac_objext conftest$ac_exeext
19392
 
if { (ac_try="$ac_link"
19393
 
case "(($ac_try" in
19394
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19395
 
  *) ac_try_echo=$ac_try;;
19396
 
esac
19397
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19398
 
  (eval "$ac_link") 2>conftest.er1
19399
 
  ac_status=$?
19400
 
  grep -v '^ *+' conftest.er1 >conftest.err
19401
 
  rm -f conftest.er1
19402
 
  cat conftest.err >&5
19403
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19404
 
  (exit $ac_status); } && {
19405
 
         test -z "$ac_c_werror_flag" ||
19406
 
         test ! -s conftest.err
19407
 
       } && test -s conftest$ac_exeext &&
19408
 
       $as_test_x conftest$ac_exeext; then
 
17200
if ac_fn_c_try_link "$LINENO"; then :
19409
17201
  eval "$as_ac_Lib=yes"
19410
17202
else
19411
 
  echo "$as_me: failed program was:" >&5
19412
 
sed 's/^/| /' conftest.$ac_ext >&5
19413
 
 
19414
 
        eval "$as_ac_Lib=no"
 
17203
  eval "$as_ac_Lib=no"
19415
17204
fi
19416
 
 
19417
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19418
 
      conftest$ac_exeext conftest.$ac_ext
 
17205
rm -f core conftest.err conftest.$ac_objext \
 
17206
    conftest$ac_exeext conftest.$ac_ext
19419
17207
LIBS=$ac_check_lib_save_LIBS
19420
17208
fi
19421
 
ac_res=`eval echo '${'$as_ac_Lib'}'`
19422
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
19423
 
echo "${ECHO_T}$ac_res" >&6; }
19424
 
if test `eval echo '${'$as_ac_Lib'}'` = yes; then
 
17209
eval ac_res=\$$as_ac_Lib
 
17210
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
17211
$as_echo "$ac_res" >&6; }
 
17212
eval as_val=\$$as_ac_Lib
 
17213
   if test "x$as_val" = x""yes; then :
19425
17214
  ac_vmw_have_lib_func=1
19426
17215
fi
19427
17216
 
19437
17226
   # If that didn't work, try with pkg-config.
19438
17227
   if test $ac_vmw_have_lib -eq 0 && test "$HAVE_PKG_CONFIG" = "yes" && test -n "gthread-2.0"; then
19439
17228
      if test -n "2.6.0"; then
19440
 
         { echo "$as_me:$LINENO: checking for gthread-2.0 >= 2.6.0 (via pkg-config)" >&5
19441
 
echo $ECHO_N "checking for gthread-2.0 >= 2.6.0 (via pkg-config)... $ECHO_C" >&6; }
 
17229
         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gthread-2.0 >= 2.6.0 (via pkg-config)" >&5
 
17230
$as_echo_n "checking for gthread-2.0 >= 2.6.0 (via pkg-config)... " >&6; }
19442
17231
         if pkg-config --exists 'gthread-2.0 >= 2.6.0'; then
19443
17232
            ac_vmw_have_lib=1
19444
17233
         fi
19445
17234
      else
19446
 
         { echo "$as_me:$LINENO: checking for gthread-2.0 (via pkg-config)" >&5
19447
 
echo $ECHO_N "checking for gthread-2.0 (via pkg-config)... $ECHO_C" >&6; }
 
17235
         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gthread-2.0 (via pkg-config)" >&5
 
17236
$as_echo_n "checking for gthread-2.0 (via pkg-config)... " >&6; }
19448
17237
         if pkg-config --exists 'gthread-2.0'; then
19449
17238
            ac_vmw_have_lib=1
19450
17239
         fi
19458
17247
         ac_vmw_libs="`pkg-config --libs gthread-2.0`"
19459
17248
         ac_vmw_ret2=$?
19460
17249
         if test $ac_vmw_ret1 -eq 0 && test $ac_vmw_ret2 -eq 0; then
19461
 
            { echo "$as_me:$LINENO: result: yes" >&5
19462
 
echo "${ECHO_T}yes" >&6; }
 
17250
            { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
17251
$as_echo "yes" >&6; }
19463
17252
            GTHREAD_CPPFLAGS="$ac_vmw_cppflags"
19464
17253
            GTHREAD_LIBS="$ac_vmw_libs"
19465
17254
         else
19466
 
            { echo "$as_me:$LINENO: result: no" >&5
19467
 
echo "${ECHO_T}no" >&6; }
 
17255
            { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
17256
$as_echo "no" >&6; }
19468
17257
         fi
19469
17258
      else
19470
 
         { echo "$as_me:$LINENO: result: no" >&5
19471
 
echo "${ECHO_T}no" >&6; }
 
17259
         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
17260
$as_echo "no" >&6; }
19472
17261
      fi
19473
17262
   fi
19474
17263
 
19479
17268
   if test $ac_vmw_have_lib -eq 0 && test -n ""; then
19480
17269
      # Extract the first word of "", so it can be a program name with args.
19481
17270
set dummy ; ac_word=$2
19482
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
19483
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19484
 
if test "${ac_cv_path_ac_vmw_lib_cfg+set}" = set; then
19485
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
17271
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
17272
$as_echo_n "checking for $ac_word... " >&6; }
 
17273
if test "${ac_cv_path_ac_vmw_lib_cfg+set}" = set; then :
 
17274
  $as_echo_n "(cached) " >&6
19486
17275
else
19487
17276
  case $ac_vmw_lib_cfg in
19488
17277
  [\\/]* | ?:[\\/]*)
19494
17283
do
19495
17284
  IFS=$as_save_IFS
19496
17285
  test -z "$as_dir" && as_dir=.
19497
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
17286
    for ac_exec_ext in '' $ac_executable_extensions; do
19498
17287
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19499
17288
    ac_cv_path_ac_vmw_lib_cfg="$as_dir/$ac_word$ac_exec_ext"
19500
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
17289
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19501
17290
    break 2
19502
17291
  fi
19503
17292
done
19504
 
done
 
17293
  done
19505
17294
IFS=$as_save_IFS
19506
17295
 
19507
17296
  test -z "$ac_cv_path_ac_vmw_lib_cfg" && ac_cv_path_ac_vmw_lib_cfg="no"
19510
17299
fi
19511
17300
ac_vmw_lib_cfg=$ac_cv_path_ac_vmw_lib_cfg
19512
17301
if test -n "$ac_vmw_lib_cfg"; then
19513
 
  { echo "$as_me:$LINENO: result: $ac_vmw_lib_cfg" >&5
19514
 
echo "${ECHO_T}$ac_vmw_lib_cfg" >&6; }
 
17302
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_vmw_lib_cfg" >&5
 
17303
$as_echo "$ac_vmw_lib_cfg" >&6; }
19515
17304
else
19516
 
  { echo "$as_me:$LINENO: result: no" >&5
19517
 
echo "${ECHO_T}no" >&6; }
 
17305
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
17306
$as_echo "no" >&6; }
19518
17307
fi
19519
17308
 
19520
17309
 
19542
17331
      
19543
17332
   else
19544
17333
      true
19545
 
      { { echo "$as_me:$LINENO: error: glib >= 2.6.0 is required." >&5
19546
 
echo "$as_me: error: glib >= 2.6.0 is required." >&2;}
19547
 
   { (exit 1); exit 1; }; }
 
17334
      as_fn_error "glib >= 2.6.0 is required." "$LINENO" 5
19548
17335
   fi
19549
17336
 
19550
17337
# Extract the first word of "glib-genmarshal", so it can be a program name with args.
19551
17338
set dummy glib-genmarshal; ac_word=$2
19552
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
19553
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19554
 
if test "${ac_cv_prog_have_genmarshal+set}" = set; then
19555
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
17339
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
17340
$as_echo_n "checking for $ac_word... " >&6; }
 
17341
if test "${ac_cv_prog_have_genmarshal+set}" = set; then :
 
17342
  $as_echo_n "(cached) " >&6
19556
17343
else
19557
17344
  if test -n "$have_genmarshal"; then
19558
17345
  ac_cv_prog_have_genmarshal="$have_genmarshal" # Let the user override the test.
19562
17349
do
19563
17350
  IFS=$as_save_IFS
19564
17351
  test -z "$as_dir" && as_dir=.
19565
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
17352
    for ac_exec_ext in '' $ac_executable_extensions; do
19566
17353
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19567
17354
    ac_cv_prog_have_genmarshal="yes"
19568
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
17355
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19569
17356
    break 2
19570
17357
  fi
19571
17358
done
19572
 
done
 
17359
  done
19573
17360
IFS=$as_save_IFS
19574
17361
 
19575
17362
  test -z "$ac_cv_prog_have_genmarshal" && ac_cv_prog_have_genmarshal="no"
19577
17364
fi
19578
17365
have_genmarshal=$ac_cv_prog_have_genmarshal
19579
17366
if test -n "$have_genmarshal"; then
19580
 
  { echo "$as_me:$LINENO: result: $have_genmarshal" >&5
19581
 
echo "${ECHO_T}$have_genmarshal" >&6; }
 
17367
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_genmarshal" >&5
 
17368
$as_echo "$have_genmarshal" >&6; }
19582
17369
else
19583
 
  { echo "$as_me:$LINENO: result: no" >&5
19584
 
echo "${ECHO_T}no" >&6; }
 
17370
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
17371
$as_echo "no" >&6; }
19585
17372
fi
19586
17373
 
19587
17374
 
19588
17375
 
19589
17376
if test "$have_genmarshal" != "yes"; then
19590
 
   { { echo "$as_me:$LINENO: error: glib-genmarshal is required; make sure it's available in your path." >&5
19591
 
echo "$as_me: error: glib-genmarshal is required; make sure it's available in your path." >&2;}
19592
 
   { (exit 1); exit 1; }; }
 
17377
   as_fn_error "glib-genmarshal is required; make sure it's available in your path." "$LINENO" 5
19593
17378
fi
19594
17379
 
19595
17380
#
19599
17384
   
19600
17385
        
19601
17386
   if test -z "glib-2.0"; then
19602
 
      { { echo "$as_me:$LINENO: error: 'library' parameter is required.'" >&5
19603
 
echo "$as_me: error: 'library' parameter is required.'" >&2;}
19604
 
   { (exit 1); exit 1; }; }
 
17387
      as_fn_error "'library' parameter is required.'" "$LINENO" 5
19605
17388
   fi
19606
17389
   if test -z "GLIB2"; then
19607
 
      { { echo "$as_me:$LINENO: error: 'lvar' parameter is required.'" >&5
19608
 
echo "$as_me: error: 'lvar' parameter is required.'" >&2;}
19609
 
   { (exit 1); exit 1; }; }
 
17390
      as_fn_error "'lvar' parameter is required.'" "$LINENO" 5
19610
17391
   fi
19611
17392
 
19612
17393
   ac_vmw_have_lib=0
19623
17404
         ORIGINAL_CPPFLAGS="$CPPFLAGS"
19624
17405
         CPPFLAGS="${CUSTOM_GLIB2_CPPFLAGS} $CPPFLAGS"
19625
17406
 
19626
 
         if test "${ac_cv_header_glib_h+set}" = set; then
19627
 
  { echo "$as_me:$LINENO: checking for glib.h" >&5
19628
 
echo $ECHO_N "checking for glib.h... $ECHO_C" >&6; }
19629
 
if test "${ac_cv_header_glib_h+set}" = set; then
19630
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
19631
 
fi
19632
 
{ echo "$as_me:$LINENO: result: $ac_cv_header_glib_h" >&5
19633
 
echo "${ECHO_T}$ac_cv_header_glib_h" >&6; }
19634
 
else
19635
 
  # Is the header compilable?
19636
 
{ echo "$as_me:$LINENO: checking glib.h usability" >&5
19637
 
echo $ECHO_N "checking glib.h usability... $ECHO_C" >&6; }
19638
 
cat >conftest.$ac_ext <<_ACEOF
19639
 
/* confdefs.h.  */
19640
 
_ACEOF
19641
 
cat confdefs.h >>conftest.$ac_ext
19642
 
cat >>conftest.$ac_ext <<_ACEOF
19643
 
/* end confdefs.h.  */
19644
 
$ac_includes_default
19645
 
@%:@include <glib.h>
19646
 
_ACEOF
19647
 
rm -f conftest.$ac_objext
19648
 
if { (ac_try="$ac_compile"
19649
 
case "(($ac_try" in
19650
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19651
 
  *) ac_try_echo=$ac_try;;
19652
 
esac
19653
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19654
 
  (eval "$ac_compile") 2>conftest.er1
19655
 
  ac_status=$?
19656
 
  grep -v '^ *+' conftest.er1 >conftest.err
19657
 
  rm -f conftest.er1
19658
 
  cat conftest.err >&5
19659
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19660
 
  (exit $ac_status); } && {
19661
 
         test -z "$ac_c_werror_flag" ||
19662
 
         test ! -s conftest.err
19663
 
       } && test -s conftest.$ac_objext; then
19664
 
  ac_header_compiler=yes
19665
 
else
19666
 
  echo "$as_me: failed program was:" >&5
19667
 
sed 's/^/| /' conftest.$ac_ext >&5
19668
 
 
19669
 
        ac_header_compiler=no
19670
 
fi
19671
 
 
19672
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19673
 
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19674
 
echo "${ECHO_T}$ac_header_compiler" >&6; }
19675
 
 
19676
 
# Is the header present?
19677
 
{ echo "$as_me:$LINENO: checking glib.h presence" >&5
19678
 
echo $ECHO_N "checking glib.h presence... $ECHO_C" >&6; }
19679
 
cat >conftest.$ac_ext <<_ACEOF
19680
 
/* confdefs.h.  */
19681
 
_ACEOF
19682
 
cat confdefs.h >>conftest.$ac_ext
19683
 
cat >>conftest.$ac_ext <<_ACEOF
19684
 
/* end confdefs.h.  */
19685
 
@%:@include <glib.h>
19686
 
_ACEOF
19687
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
19688
 
case "(($ac_try" in
19689
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19690
 
  *) ac_try_echo=$ac_try;;
19691
 
esac
19692
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19693
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
19694
 
  ac_status=$?
19695
 
  grep -v '^ *+' conftest.er1 >conftest.err
19696
 
  rm -f conftest.er1
19697
 
  cat conftest.err >&5
19698
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19699
 
  (exit $ac_status); } >/dev/null && {
19700
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
19701
 
         test ! -s conftest.err
19702
 
       }; then
19703
 
  ac_header_preproc=yes
19704
 
else
19705
 
  echo "$as_me: failed program was:" >&5
19706
 
sed 's/^/| /' conftest.$ac_ext >&5
19707
 
 
19708
 
  ac_header_preproc=no
19709
 
fi
19710
 
 
19711
 
rm -f conftest.err conftest.$ac_ext
19712
 
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19713
 
echo "${ECHO_T}$ac_header_preproc" >&6; }
19714
 
 
19715
 
# So?  What about this header?
19716
 
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
19717
 
  yes:no: )
19718
 
    { echo "$as_me:$LINENO: WARNING: glib.h: accepted by the compiler, rejected by the preprocessor!" >&5
19719
 
echo "$as_me: WARNING: glib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
19720
 
    { echo "$as_me:$LINENO: WARNING: glib.h: proceeding with the compiler's result" >&5
19721
 
echo "$as_me: WARNING: glib.h: proceeding with the compiler's result" >&2;}
19722
 
    ac_header_preproc=yes
19723
 
    ;;
19724
 
  no:yes:* )
19725
 
    { echo "$as_me:$LINENO: WARNING: glib.h: present but cannot be compiled" >&5
19726
 
echo "$as_me: WARNING: glib.h: present but cannot be compiled" >&2;}
19727
 
    { echo "$as_me:$LINENO: WARNING: glib.h:     check for missing prerequisite headers?" >&5
19728
 
echo "$as_me: WARNING: glib.h:     check for missing prerequisite headers?" >&2;}
19729
 
    { echo "$as_me:$LINENO: WARNING: glib.h: see the Autoconf documentation" >&5
19730
 
echo "$as_me: WARNING: glib.h: see the Autoconf documentation" >&2;}
19731
 
    { echo "$as_me:$LINENO: WARNING: glib.h:     section \"Present But Cannot Be Compiled\"" >&5
19732
 
echo "$as_me: WARNING: glib.h:     section \"Present But Cannot Be Compiled\"" >&2;}
19733
 
    { echo "$as_me:$LINENO: WARNING: glib.h: proceeding with the preprocessor's result" >&5
19734
 
echo "$as_me: WARNING: glib.h: proceeding with the preprocessor's result" >&2;}
19735
 
    { echo "$as_me:$LINENO: WARNING: glib.h: in the future, the compiler will take precedence" >&5
19736
 
echo "$as_me: WARNING: glib.h: in the future, the compiler will take precedence" >&2;}
19737
 
    ( cat <<\_ASBOX
19738
 
@%:@@%:@ -------------------------------------------------------- @%:@@%:@
19739
 
@%:@@%:@ Report this to open-vm-tools-devel@lists.sourceforge.net @%:@@%:@
19740
 
@%:@@%:@ -------------------------------------------------------- @%:@@%:@
19741
 
_ASBOX
19742
 
     ) | sed "s/^/$as_me: WARNING:     /" >&2
19743
 
    ;;
19744
 
esac
19745
 
{ echo "$as_me:$LINENO: checking for glib.h" >&5
19746
 
echo $ECHO_N "checking for glib.h... $ECHO_C" >&6; }
19747
 
if test "${ac_cv_header_glib_h+set}" = set; then
19748
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
19749
 
else
19750
 
  ac_cv_header_glib_h=$ac_header_preproc
19751
 
fi
19752
 
{ echo "$as_me:$LINENO: result: $ac_cv_header_glib_h" >&5
19753
 
echo "${ECHO_T}$ac_cv_header_glib_h" >&6; }
19754
 
 
19755
 
fi
19756
 
if test $ac_cv_header_glib_h = yes; then
 
17407
         ac_fn_c_check_header_mongrel "$LINENO" "glib.h" "ac_cv_header_glib_h" "$ac_includes_default"
 
17408
if test "x$ac_cv_header_glib_h" = x""yes; then :
19757
17409
  ac_vmw_have_lib_header=1
19758
17410
fi
19759
17411
 
19773
17425
         else
19774
17426
            ac_vmw_function=strlen
19775
17427
         fi
19776
 
         as_ac_Lib=`echo "ac_cv_lib_glib-2.0_$ac_vmw_function" | $as_tr_sh`
19777
 
{ echo "$as_me:$LINENO: checking for $ac_vmw_function in -lglib-2.0" >&5
19778
 
echo $ECHO_N "checking for $ac_vmw_function in -lglib-2.0... $ECHO_C" >&6; }
19779
 
if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
19780
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
17428
         as_ac_Lib=`$as_echo "ac_cv_lib_glib-2.0_$ac_vmw_function" | $as_tr_sh`
 
17429
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_vmw_function in -lglib-2.0" >&5
 
17430
$as_echo_n "checking for $ac_vmw_function in -lglib-2.0... " >&6; }
 
17431
if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then :
 
17432
  $as_echo_n "(cached) " >&6
19781
17433
else
19782
17434
  ac_check_lib_save_LIBS=$LIBS
19783
17435
LIBS="-lglib-2.0 $ac_vmw_custom_libs $LIBS"
19784
 
cat >conftest.$ac_ext <<_ACEOF
19785
 
/* confdefs.h.  */
19786
 
_ACEOF
19787
 
cat confdefs.h >>conftest.$ac_ext
19788
 
cat >>conftest.$ac_ext <<_ACEOF
 
17436
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19789
17437
/* end confdefs.h.  */
19790
17438
 
19791
17439
/* Override any GCC internal prototype to avoid an error.
19803
17451
  return 0;
19804
17452
}
19805
17453
_ACEOF
19806
 
rm -f conftest.$ac_objext conftest$ac_exeext
19807
 
if { (ac_try="$ac_link"
19808
 
case "(($ac_try" in
19809
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19810
 
  *) ac_try_echo=$ac_try;;
19811
 
esac
19812
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19813
 
  (eval "$ac_link") 2>conftest.er1
19814
 
  ac_status=$?
19815
 
  grep -v '^ *+' conftest.er1 >conftest.err
19816
 
  rm -f conftest.er1
19817
 
  cat conftest.err >&5
19818
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19819
 
  (exit $ac_status); } && {
19820
 
         test -z "$ac_c_werror_flag" ||
19821
 
         test ! -s conftest.err
19822
 
       } && test -s conftest$ac_exeext &&
19823
 
       $as_test_x conftest$ac_exeext; then
 
17454
if ac_fn_c_try_link "$LINENO"; then :
19824
17455
  eval "$as_ac_Lib=yes"
19825
17456
else
19826
 
  echo "$as_me: failed program was:" >&5
19827
 
sed 's/^/| /' conftest.$ac_ext >&5
19828
 
 
19829
 
        eval "$as_ac_Lib=no"
 
17457
  eval "$as_ac_Lib=no"
19830
17458
fi
19831
 
 
19832
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19833
 
      conftest$ac_exeext conftest.$ac_ext
 
17459
rm -f core conftest.err conftest.$ac_objext \
 
17460
    conftest$ac_exeext conftest.$ac_ext
19834
17461
LIBS=$ac_check_lib_save_LIBS
19835
17462
fi
19836
 
ac_res=`eval echo '${'$as_ac_Lib'}'`
19837
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
19838
 
echo "${ECHO_T}$ac_res" >&6; }
19839
 
if test `eval echo '${'$as_ac_Lib'}'` = yes; then
 
17463
eval ac_res=\$$as_ac_Lib
 
17464
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
17465
$as_echo "$ac_res" >&6; }
 
17466
eval as_val=\$$as_ac_Lib
 
17467
   if test "x$as_val" = x""yes; then :
19840
17468
  ac_vmw_have_lib_func=1
19841
17469
fi
19842
17470
 
19852
17480
   # If that didn't work, try with pkg-config.
19853
17481
   if test $ac_vmw_have_lib -eq 0 && test "$HAVE_PKG_CONFIG" = "yes" && test -n "glib-2.0"; then
19854
17482
      if test -n "2.14.0"; then
19855
 
         { echo "$as_me:$LINENO: checking for glib-2.0 >= 2.14.0 (via pkg-config)" >&5
19856
 
echo $ECHO_N "checking for glib-2.0 >= 2.14.0 (via pkg-config)... $ECHO_C" >&6; }
 
17483
         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glib-2.0 >= 2.14.0 (via pkg-config)" >&5
 
17484
$as_echo_n "checking for glib-2.0 >= 2.14.0 (via pkg-config)... " >&6; }
19857
17485
         if pkg-config --exists 'glib-2.0 >= 2.14.0'; then
19858
17486
            ac_vmw_have_lib=1
19859
17487
         fi
19860
17488
      else
19861
 
         { echo "$as_me:$LINENO: checking for glib-2.0 (via pkg-config)" >&5
19862
 
echo $ECHO_N "checking for glib-2.0 (via pkg-config)... $ECHO_C" >&6; }
 
17489
         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glib-2.0 (via pkg-config)" >&5
 
17490
$as_echo_n "checking for glib-2.0 (via pkg-config)... " >&6; }
19863
17491
         if pkg-config --exists 'glib-2.0'; then
19864
17492
            ac_vmw_have_lib=1
19865
17493
         fi
19873
17501
         ac_vmw_libs="`pkg-config --libs glib-2.0`"
19874
17502
         ac_vmw_ret2=$?
19875
17503
         if test $ac_vmw_ret1 -eq 0 && test $ac_vmw_ret2 -eq 0; then
19876
 
            { echo "$as_me:$LINENO: result: yes" >&5
19877
 
echo "${ECHO_T}yes" >&6; }
 
17504
            { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
17505
$as_echo "yes" >&6; }
19878
17506
            GLIB2_CPPFLAGS="$ac_vmw_cppflags"
19879
17507
            GLIB2_LIBS="$ac_vmw_libs"
19880
17508
         else
19881
 
            { echo "$as_me:$LINENO: result: no" >&5
19882
 
echo "${ECHO_T}no" >&6; }
 
17509
            { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
17510
$as_echo "no" >&6; }
19883
17511
         fi
19884
17512
      else
19885
 
         { echo "$as_me:$LINENO: result: no" >&5
19886
 
echo "${ECHO_T}no" >&6; }
 
17513
         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
17514
$as_echo "no" >&6; }
19887
17515
      fi
19888
17516
   fi
19889
17517
 
19894
17522
   if test $ac_vmw_have_lib -eq 0 && test -n ""; then
19895
17523
      # Extract the first word of "", so it can be a program name with args.
19896
17524
set dummy ; ac_word=$2
19897
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
19898
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19899
 
if test "${ac_cv_path_ac_vmw_lib_cfg+set}" = set; then
19900
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
17525
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
17526
$as_echo_n "checking for $ac_word... " >&6; }
 
17527
if test "${ac_cv_path_ac_vmw_lib_cfg+set}" = set; then :
 
17528
  $as_echo_n "(cached) " >&6
19901
17529
else
19902
17530
  case $ac_vmw_lib_cfg in
19903
17531
  [\\/]* | ?:[\\/]*)
19909
17537
do
19910
17538
  IFS=$as_save_IFS
19911
17539
  test -z "$as_dir" && as_dir=.
19912
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
17540
    for ac_exec_ext in '' $ac_executable_extensions; do
19913
17541
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19914
17542
    ac_cv_path_ac_vmw_lib_cfg="$as_dir/$ac_word$ac_exec_ext"
19915
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
17543
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19916
17544
    break 2
19917
17545
  fi
19918
17546
done
19919
 
done
 
17547
  done
19920
17548
IFS=$as_save_IFS
19921
17549
 
19922
17550
  test -z "$ac_cv_path_ac_vmw_lib_cfg" && ac_cv_path_ac_vmw_lib_cfg="no"
19925
17553
fi
19926
17554
ac_vmw_lib_cfg=$ac_cv_path_ac_vmw_lib_cfg
19927
17555
if test -n "$ac_vmw_lib_cfg"; then
19928
 
  { echo "$as_me:$LINENO: result: $ac_vmw_lib_cfg" >&5
19929
 
echo "${ECHO_T}$ac_vmw_lib_cfg" >&6; }
 
17556
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_vmw_lib_cfg" >&5
 
17557
$as_echo "$ac_vmw_lib_cfg" >&6; }
19930
17558
else
19931
 
  { echo "$as_me:$LINENO: result: no" >&5
19932
 
echo "${ECHO_T}no" >&6; }
 
17559
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
17560
$as_echo "no" >&6; }
19933
17561
fi
19934
17562
 
19935
17563
 
19957
17585
      have_glib_2_14=yes
19958
17586
   else
19959
17587
      true
19960
 
      { echo "$as_me:$LINENO: WARNING: glib is not recent enough, some features will be disabled." >&5
19961
 
echo "$as_me: WARNING: glib is not recent enough, some features will be disabled." >&2;}
 
17588
      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: glib is not recent enough, some features will be disabled." >&5
 
17589
$as_echo "$as_me: WARNING: glib is not recent enough, some features will be disabled." >&2;}
19962
17590
   fi
19963
17591
 
19964
17592
fi
19969
17597
 
19970
17598
        
19971
17599
   if test -z "fuse"; then
19972
 
      { { echo "$as_me:$LINENO: error: 'library' parameter is required.'" >&5
19973
 
echo "$as_me: error: 'library' parameter is required.'" >&2;}
19974
 
   { (exit 1); exit 1; }; }
 
17600
      as_fn_error "'library' parameter is required.'" "$LINENO" 5
19975
17601
   fi
19976
17602
   if test -z "FUSE"; then
19977
 
      { { echo "$as_me:$LINENO: error: 'lvar' parameter is required.'" >&5
19978
 
echo "$as_me: error: 'lvar' parameter is required.'" >&2;}
19979
 
   { (exit 1); exit 1; }; }
 
17603
      as_fn_error "'lvar' parameter is required.'" "$LINENO" 5
19980
17604
   fi
19981
17605
 
19982
17606
   ac_vmw_have_lib=0
19993
17617
         ORIGINAL_CPPFLAGS="$CPPFLAGS"
19994
17618
         CPPFLAGS="${CUSTOM_FUSE_CPPFLAGS} $CPPFLAGS"
19995
17619
 
19996
 
         if test "${ac_cv_header_fuse_h+set}" = set; then
19997
 
  { echo "$as_me:$LINENO: checking for fuse.h" >&5
19998
 
echo $ECHO_N "checking for fuse.h... $ECHO_C" >&6; }
19999
 
if test "${ac_cv_header_fuse_h+set}" = set; then
20000
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
20001
 
fi
20002
 
{ echo "$as_me:$LINENO: result: $ac_cv_header_fuse_h" >&5
20003
 
echo "${ECHO_T}$ac_cv_header_fuse_h" >&6; }
20004
 
else
20005
 
  # Is the header compilable?
20006
 
{ echo "$as_me:$LINENO: checking fuse.h usability" >&5
20007
 
echo $ECHO_N "checking fuse.h usability... $ECHO_C" >&6; }
20008
 
cat >conftest.$ac_ext <<_ACEOF
20009
 
/* confdefs.h.  */
20010
 
_ACEOF
20011
 
cat confdefs.h >>conftest.$ac_ext
20012
 
cat >>conftest.$ac_ext <<_ACEOF
20013
 
/* end confdefs.h.  */
20014
 
$ac_includes_default
20015
 
@%:@include <fuse.h>
20016
 
_ACEOF
20017
 
rm -f conftest.$ac_objext
20018
 
if { (ac_try="$ac_compile"
20019
 
case "(($ac_try" in
20020
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20021
 
  *) ac_try_echo=$ac_try;;
20022
 
esac
20023
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20024
 
  (eval "$ac_compile") 2>conftest.er1
20025
 
  ac_status=$?
20026
 
  grep -v '^ *+' conftest.er1 >conftest.err
20027
 
  rm -f conftest.er1
20028
 
  cat conftest.err >&5
20029
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20030
 
  (exit $ac_status); } && {
20031
 
         test -z "$ac_c_werror_flag" ||
20032
 
         test ! -s conftest.err
20033
 
       } && test -s conftest.$ac_objext; then
20034
 
  ac_header_compiler=yes
20035
 
else
20036
 
  echo "$as_me: failed program was:" >&5
20037
 
sed 's/^/| /' conftest.$ac_ext >&5
20038
 
 
20039
 
        ac_header_compiler=no
20040
 
fi
20041
 
 
20042
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20043
 
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20044
 
echo "${ECHO_T}$ac_header_compiler" >&6; }
20045
 
 
20046
 
# Is the header present?
20047
 
{ echo "$as_me:$LINENO: checking fuse.h presence" >&5
20048
 
echo $ECHO_N "checking fuse.h presence... $ECHO_C" >&6; }
20049
 
cat >conftest.$ac_ext <<_ACEOF
20050
 
/* confdefs.h.  */
20051
 
_ACEOF
20052
 
cat confdefs.h >>conftest.$ac_ext
20053
 
cat >>conftest.$ac_ext <<_ACEOF
20054
 
/* end confdefs.h.  */
20055
 
@%:@include <fuse.h>
20056
 
_ACEOF
20057
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
20058
 
case "(($ac_try" in
20059
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20060
 
  *) ac_try_echo=$ac_try;;
20061
 
esac
20062
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20063
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
20064
 
  ac_status=$?
20065
 
  grep -v '^ *+' conftest.er1 >conftest.err
20066
 
  rm -f conftest.er1
20067
 
  cat conftest.err >&5
20068
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20069
 
  (exit $ac_status); } >/dev/null && {
20070
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
20071
 
         test ! -s conftest.err
20072
 
       }; then
20073
 
  ac_header_preproc=yes
20074
 
else
20075
 
  echo "$as_me: failed program was:" >&5
20076
 
sed 's/^/| /' conftest.$ac_ext >&5
20077
 
 
20078
 
  ac_header_preproc=no
20079
 
fi
20080
 
 
20081
 
rm -f conftest.err conftest.$ac_ext
20082
 
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20083
 
echo "${ECHO_T}$ac_header_preproc" >&6; }
20084
 
 
20085
 
# So?  What about this header?
20086
 
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20087
 
  yes:no: )
20088
 
    { echo "$as_me:$LINENO: WARNING: fuse.h: accepted by the compiler, rejected by the preprocessor!" >&5
20089
 
echo "$as_me: WARNING: fuse.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
20090
 
    { echo "$as_me:$LINENO: WARNING: fuse.h: proceeding with the compiler's result" >&5
20091
 
echo "$as_me: WARNING: fuse.h: proceeding with the compiler's result" >&2;}
20092
 
    ac_header_preproc=yes
20093
 
    ;;
20094
 
  no:yes:* )
20095
 
    { echo "$as_me:$LINENO: WARNING: fuse.h: present but cannot be compiled" >&5
20096
 
echo "$as_me: WARNING: fuse.h: present but cannot be compiled" >&2;}
20097
 
    { echo "$as_me:$LINENO: WARNING: fuse.h:     check for missing prerequisite headers?" >&5
20098
 
echo "$as_me: WARNING: fuse.h:     check for missing prerequisite headers?" >&2;}
20099
 
    { echo "$as_me:$LINENO: WARNING: fuse.h: see the Autoconf documentation" >&5
20100
 
echo "$as_me: WARNING: fuse.h: see the Autoconf documentation" >&2;}
20101
 
    { echo "$as_me:$LINENO: WARNING: fuse.h:     section \"Present But Cannot Be Compiled\"" >&5
20102
 
echo "$as_me: WARNING: fuse.h:     section \"Present But Cannot Be Compiled\"" >&2;}
20103
 
    { echo "$as_me:$LINENO: WARNING: fuse.h: proceeding with the preprocessor's result" >&5
20104
 
echo "$as_me: WARNING: fuse.h: proceeding with the preprocessor's result" >&2;}
20105
 
    { echo "$as_me:$LINENO: WARNING: fuse.h: in the future, the compiler will take precedence" >&5
20106
 
echo "$as_me: WARNING: fuse.h: in the future, the compiler will take precedence" >&2;}
20107
 
    ( cat <<\_ASBOX
20108
 
@%:@@%:@ -------------------------------------------------------- @%:@@%:@
20109
 
@%:@@%:@ Report this to open-vm-tools-devel@lists.sourceforge.net @%:@@%:@
20110
 
@%:@@%:@ -------------------------------------------------------- @%:@@%:@
20111
 
_ASBOX
20112
 
     ) | sed "s/^/$as_me: WARNING:     /" >&2
20113
 
    ;;
20114
 
esac
20115
 
{ echo "$as_me:$LINENO: checking for fuse.h" >&5
20116
 
echo $ECHO_N "checking for fuse.h... $ECHO_C" >&6; }
20117
 
if test "${ac_cv_header_fuse_h+set}" = set; then
20118
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
20119
 
else
20120
 
  ac_cv_header_fuse_h=$ac_header_preproc
20121
 
fi
20122
 
{ echo "$as_me:$LINENO: result: $ac_cv_header_fuse_h" >&5
20123
 
echo "${ECHO_T}$ac_cv_header_fuse_h" >&6; }
20124
 
 
20125
 
fi
20126
 
if test $ac_cv_header_fuse_h = yes; then
 
17620
         ac_fn_c_check_header_mongrel "$LINENO" "fuse.h" "ac_cv_header_fuse_h" "$ac_includes_default"
 
17621
if test "x$ac_cv_header_fuse_h" = x""yes; then :
20127
17622
  ac_vmw_have_lib_header=1
20128
17623
fi
20129
17624
 
20143
17638
         else
20144
17639
            ac_vmw_function=strlen
20145
17640
         fi
20146
 
         as_ac_Lib=`echo "ac_cv_lib_fuse_$ac_vmw_function" | $as_tr_sh`
20147
 
{ echo "$as_me:$LINENO: checking for $ac_vmw_function in -lfuse" >&5
20148
 
echo $ECHO_N "checking for $ac_vmw_function in -lfuse... $ECHO_C" >&6; }
20149
 
if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
20150
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
17641
         as_ac_Lib=`$as_echo "ac_cv_lib_fuse_$ac_vmw_function" | $as_tr_sh`
 
17642
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_vmw_function in -lfuse" >&5
 
17643
$as_echo_n "checking for $ac_vmw_function in -lfuse... " >&6; }
 
17644
if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then :
 
17645
  $as_echo_n "(cached) " >&6
20151
17646
else
20152
17647
  ac_check_lib_save_LIBS=$LIBS
20153
17648
LIBS="-lfuse $ac_vmw_custom_libs $LIBS"
20154
 
cat >conftest.$ac_ext <<_ACEOF
20155
 
/* confdefs.h.  */
20156
 
_ACEOF
20157
 
cat confdefs.h >>conftest.$ac_ext
20158
 
cat >>conftest.$ac_ext <<_ACEOF
 
17649
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20159
17650
/* end confdefs.h.  */
20160
17651
 
20161
17652
/* Override any GCC internal prototype to avoid an error.
20173
17664
  return 0;
20174
17665
}
20175
17666
_ACEOF
20176
 
rm -f conftest.$ac_objext conftest$ac_exeext
20177
 
if { (ac_try="$ac_link"
20178
 
case "(($ac_try" in
20179
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20180
 
  *) ac_try_echo=$ac_try;;
20181
 
esac
20182
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20183
 
  (eval "$ac_link") 2>conftest.er1
20184
 
  ac_status=$?
20185
 
  grep -v '^ *+' conftest.er1 >conftest.err
20186
 
  rm -f conftest.er1
20187
 
  cat conftest.err >&5
20188
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20189
 
  (exit $ac_status); } && {
20190
 
         test -z "$ac_c_werror_flag" ||
20191
 
         test ! -s conftest.err
20192
 
       } && test -s conftest$ac_exeext &&
20193
 
       $as_test_x conftest$ac_exeext; then
 
17667
if ac_fn_c_try_link "$LINENO"; then :
20194
17668
  eval "$as_ac_Lib=yes"
20195
17669
else
20196
 
  echo "$as_me: failed program was:" >&5
20197
 
sed 's/^/| /' conftest.$ac_ext >&5
20198
 
 
20199
 
        eval "$as_ac_Lib=no"
 
17670
  eval "$as_ac_Lib=no"
20200
17671
fi
20201
 
 
20202
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20203
 
      conftest$ac_exeext conftest.$ac_ext
 
17672
rm -f core conftest.err conftest.$ac_objext \
 
17673
    conftest$ac_exeext conftest.$ac_ext
20204
17674
LIBS=$ac_check_lib_save_LIBS
20205
17675
fi
20206
 
ac_res=`eval echo '${'$as_ac_Lib'}'`
20207
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
20208
 
echo "${ECHO_T}$ac_res" >&6; }
20209
 
if test `eval echo '${'$as_ac_Lib'}'` = yes; then
 
17676
eval ac_res=\$$as_ac_Lib
 
17677
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
17678
$as_echo "$ac_res" >&6; }
 
17679
eval as_val=\$$as_ac_Lib
 
17680
   if test "x$as_val" = x""yes; then :
20210
17681
  ac_vmw_have_lib_func=1
20211
17682
fi
20212
17683
 
20222
17693
   # If that didn't work, try with pkg-config.
20223
17694
   if test $ac_vmw_have_lib -eq 0 && test "$HAVE_PKG_CONFIG" = "yes" && test -n "fuse"; then
20224
17695
      if test -n ""; then
20225
 
         { echo "$as_me:$LINENO: checking for fuse >=  (via pkg-config)" >&5
20226
 
echo $ECHO_N "checking for fuse >=  (via pkg-config)... $ECHO_C" >&6; }
 
17696
         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fuse >=  (via pkg-config)" >&5
 
17697
$as_echo_n "checking for fuse >=  (via pkg-config)... " >&6; }
20227
17698
         if pkg-config --exists 'fuse >= '; then
20228
17699
            ac_vmw_have_lib=1
20229
17700
         fi
20230
17701
      else
20231
 
         { echo "$as_me:$LINENO: checking for fuse (via pkg-config)" >&5
20232
 
echo $ECHO_N "checking for fuse (via pkg-config)... $ECHO_C" >&6; }
 
17702
         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fuse (via pkg-config)" >&5
 
17703
$as_echo_n "checking for fuse (via pkg-config)... " >&6; }
20233
17704
         if pkg-config --exists 'fuse'; then
20234
17705
            ac_vmw_have_lib=1
20235
17706
         fi
20243
17714
         ac_vmw_libs="`pkg-config --libs fuse`"
20244
17715
         ac_vmw_ret2=$?
20245
17716
         if test $ac_vmw_ret1 -eq 0 && test $ac_vmw_ret2 -eq 0; then
20246
 
            { echo "$as_me:$LINENO: result: yes" >&5
20247
 
echo "${ECHO_T}yes" >&6; }
 
17717
            { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
17718
$as_echo "yes" >&6; }
20248
17719
            FUSE_CPPFLAGS="$ac_vmw_cppflags"
20249
17720
            FUSE_LIBS="$ac_vmw_libs"
20250
17721
         else
20251
 
            { echo "$as_me:$LINENO: result: no" >&5
20252
 
echo "${ECHO_T}no" >&6; }
 
17722
            { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
17723
$as_echo "no" >&6; }
20253
17724
         fi
20254
17725
      else
20255
 
         { echo "$as_me:$LINENO: result: no" >&5
20256
 
echo "${ECHO_T}no" >&6; }
 
17726
         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
17727
$as_echo "no" >&6; }
20257
17728
      fi
20258
17729
   fi
20259
17730
 
20264
17735
   if test $ac_vmw_have_lib -eq 0 && test -n ""; then
20265
17736
      # Extract the first word of "", so it can be a program name with args.
20266
17737
set dummy ; ac_word=$2
20267
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
20268
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
20269
 
if test "${ac_cv_path_ac_vmw_lib_cfg+set}" = set; then
20270
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
17738
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
17739
$as_echo_n "checking for $ac_word... " >&6; }
 
17740
if test "${ac_cv_path_ac_vmw_lib_cfg+set}" = set; then :
 
17741
  $as_echo_n "(cached) " >&6
20271
17742
else
20272
17743
  case $ac_vmw_lib_cfg in
20273
17744
  [\\/]* | ?:[\\/]*)
20279
17750
do
20280
17751
  IFS=$as_save_IFS
20281
17752
  test -z "$as_dir" && as_dir=.
20282
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
17753
    for ac_exec_ext in '' $ac_executable_extensions; do
20283
17754
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20284
17755
    ac_cv_path_ac_vmw_lib_cfg="$as_dir/$ac_word$ac_exec_ext"
20285
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
17756
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20286
17757
    break 2
20287
17758
  fi
20288
17759
done
20289
 
done
 
17760
  done
20290
17761
IFS=$as_save_IFS
20291
17762
 
20292
17763
  test -z "$ac_cv_path_ac_vmw_lib_cfg" && ac_cv_path_ac_vmw_lib_cfg="no"
20295
17766
fi
20296
17767
ac_vmw_lib_cfg=$ac_cv_path_ac_vmw_lib_cfg
20297
17768
if test -n "$ac_vmw_lib_cfg"; then
20298
 
  { echo "$as_me:$LINENO: result: $ac_vmw_lib_cfg" >&5
20299
 
echo "${ECHO_T}$ac_vmw_lib_cfg" >&6; }
 
17769
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_vmw_lib_cfg" >&5
 
17770
$as_echo "$ac_vmw_lib_cfg" >&6; }
20300
17771
else
20301
 
  { echo "$as_me:$LINENO: result: no" >&5
20302
 
echo "${ECHO_T}no" >&6; }
 
17772
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
17773
$as_echo "no" >&6; }
20303
17774
fi
20304
17775
 
20305
17776
 
20328
17799
   else
20329
17800
      true
20330
17801
      have_fuse=no;
20331
 
                  { echo "$as_me:$LINENO: WARNING: Fuse is missing, vmblock-fuse will be disabled." >&5
20332
 
echo "$as_me: WARNING: Fuse is missing, vmblock-fuse will be disabled." >&2;}
 
17802
                  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Fuse is missing, vmblock-fuse will be disabled." >&5
 
17803
$as_echo "$as_me: WARNING: Fuse is missing, vmblock-fuse will be disabled." >&2;}
20333
17804
   fi
20334
17805
 
20335
17806
 
20338
17809
#
20339
17810
if test "$os" = "linux"; then
20340
17811
   
20341
 
# Check whether --with-pam was given.
20342
 
if test "${with_pam+set}" = set; then
 
17812
@%:@ Check whether --with-pam was given.
 
17813
if test "${with_pam+set}" = set; then :
20343
17814
  withval=$with_pam; 
20344
17815
else
20345
17816
  with_pam=yes
20362
17833
      
20363
17834
        
20364
17835
   if test -z "pam"; then
20365
 
      { { echo "$as_me:$LINENO: error: 'library' parameter is required.'" >&5
20366
 
echo "$as_me: error: 'library' parameter is required.'" >&2;}
20367
 
   { (exit 1); exit 1; }; }
 
17836
      as_fn_error "'library' parameter is required.'" "$LINENO" 5
20368
17837
   fi
20369
17838
   if test -z "PAM"; then
20370
 
      { { echo "$as_me:$LINENO: error: 'lvar' parameter is required.'" >&5
20371
 
echo "$as_me: error: 'lvar' parameter is required.'" >&2;}
20372
 
   { (exit 1); exit 1; }; }
 
17839
      as_fn_error "'lvar' parameter is required.'" "$LINENO" 5
20373
17840
   fi
20374
17841
 
20375
17842
   ac_vmw_have_lib=0
20386
17853
         ORIGINAL_CPPFLAGS="$CPPFLAGS"
20387
17854
         CPPFLAGS="${CUSTOM_PAM_CPPFLAGS} $CPPFLAGS"
20388
17855
 
20389
 
         if test "${ac_cv_header_security_pam_appl_h+set}" = set; then
20390
 
  { echo "$as_me:$LINENO: checking for security/pam_appl.h" >&5
20391
 
echo $ECHO_N "checking for security/pam_appl.h... $ECHO_C" >&6; }
20392
 
if test "${ac_cv_header_security_pam_appl_h+set}" = set; then
20393
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
20394
 
fi
20395
 
{ echo "$as_me:$LINENO: result: $ac_cv_header_security_pam_appl_h" >&5
20396
 
echo "${ECHO_T}$ac_cv_header_security_pam_appl_h" >&6; }
20397
 
else
20398
 
  # Is the header compilable?
20399
 
{ echo "$as_me:$LINENO: checking security/pam_appl.h usability" >&5
20400
 
echo $ECHO_N "checking security/pam_appl.h usability... $ECHO_C" >&6; }
20401
 
cat >conftest.$ac_ext <<_ACEOF
20402
 
/* confdefs.h.  */
20403
 
_ACEOF
20404
 
cat confdefs.h >>conftest.$ac_ext
20405
 
cat >>conftest.$ac_ext <<_ACEOF
20406
 
/* end confdefs.h.  */
20407
 
$ac_includes_default
20408
 
@%:@include <security/pam_appl.h>
20409
 
_ACEOF
20410
 
rm -f conftest.$ac_objext
20411
 
if { (ac_try="$ac_compile"
20412
 
case "(($ac_try" in
20413
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20414
 
  *) ac_try_echo=$ac_try;;
20415
 
esac
20416
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20417
 
  (eval "$ac_compile") 2>conftest.er1
20418
 
  ac_status=$?
20419
 
  grep -v '^ *+' conftest.er1 >conftest.err
20420
 
  rm -f conftest.er1
20421
 
  cat conftest.err >&5
20422
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20423
 
  (exit $ac_status); } && {
20424
 
         test -z "$ac_c_werror_flag" ||
20425
 
         test ! -s conftest.err
20426
 
       } && test -s conftest.$ac_objext; then
20427
 
  ac_header_compiler=yes
20428
 
else
20429
 
  echo "$as_me: failed program was:" >&5
20430
 
sed 's/^/| /' conftest.$ac_ext >&5
20431
 
 
20432
 
        ac_header_compiler=no
20433
 
fi
20434
 
 
20435
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20436
 
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20437
 
echo "${ECHO_T}$ac_header_compiler" >&6; }
20438
 
 
20439
 
# Is the header present?
20440
 
{ echo "$as_me:$LINENO: checking security/pam_appl.h presence" >&5
20441
 
echo $ECHO_N "checking security/pam_appl.h presence... $ECHO_C" >&6; }
20442
 
cat >conftest.$ac_ext <<_ACEOF
20443
 
/* confdefs.h.  */
20444
 
_ACEOF
20445
 
cat confdefs.h >>conftest.$ac_ext
20446
 
cat >>conftest.$ac_ext <<_ACEOF
20447
 
/* end confdefs.h.  */
20448
 
@%:@include <security/pam_appl.h>
20449
 
_ACEOF
20450
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
20451
 
case "(($ac_try" in
20452
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20453
 
  *) ac_try_echo=$ac_try;;
20454
 
esac
20455
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20456
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
20457
 
  ac_status=$?
20458
 
  grep -v '^ *+' conftest.er1 >conftest.err
20459
 
  rm -f conftest.er1
20460
 
  cat conftest.err >&5
20461
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20462
 
  (exit $ac_status); } >/dev/null && {
20463
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
20464
 
         test ! -s conftest.err
20465
 
       }; then
20466
 
  ac_header_preproc=yes
20467
 
else
20468
 
  echo "$as_me: failed program was:" >&5
20469
 
sed 's/^/| /' conftest.$ac_ext >&5
20470
 
 
20471
 
  ac_header_preproc=no
20472
 
fi
20473
 
 
20474
 
rm -f conftest.err conftest.$ac_ext
20475
 
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20476
 
echo "${ECHO_T}$ac_header_preproc" >&6; }
20477
 
 
20478
 
# So?  What about this header?
20479
 
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20480
 
  yes:no: )
20481
 
    { echo "$as_me:$LINENO: WARNING: security/pam_appl.h: accepted by the compiler, rejected by the preprocessor!" >&5
20482
 
echo "$as_me: WARNING: security/pam_appl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
20483
 
    { echo "$as_me:$LINENO: WARNING: security/pam_appl.h: proceeding with the compiler's result" >&5
20484
 
echo "$as_me: WARNING: security/pam_appl.h: proceeding with the compiler's result" >&2;}
20485
 
    ac_header_preproc=yes
20486
 
    ;;
20487
 
  no:yes:* )
20488
 
    { echo "$as_me:$LINENO: WARNING: security/pam_appl.h: present but cannot be compiled" >&5
20489
 
echo "$as_me: WARNING: security/pam_appl.h: present but cannot be compiled" >&2;}
20490
 
    { echo "$as_me:$LINENO: WARNING: security/pam_appl.h:     check for missing prerequisite headers?" >&5
20491
 
echo "$as_me: WARNING: security/pam_appl.h:     check for missing prerequisite headers?" >&2;}
20492
 
    { echo "$as_me:$LINENO: WARNING: security/pam_appl.h: see the Autoconf documentation" >&5
20493
 
echo "$as_me: WARNING: security/pam_appl.h: see the Autoconf documentation" >&2;}
20494
 
    { echo "$as_me:$LINENO: WARNING: security/pam_appl.h:     section \"Present But Cannot Be Compiled\"" >&5
20495
 
echo "$as_me: WARNING: security/pam_appl.h:     section \"Present But Cannot Be Compiled\"" >&2;}
20496
 
    { echo "$as_me:$LINENO: WARNING: security/pam_appl.h: proceeding with the preprocessor's result" >&5
20497
 
echo "$as_me: WARNING: security/pam_appl.h: proceeding with the preprocessor's result" >&2;}
20498
 
    { echo "$as_me:$LINENO: WARNING: security/pam_appl.h: in the future, the compiler will take precedence" >&5
20499
 
echo "$as_me: WARNING: security/pam_appl.h: in the future, the compiler will take precedence" >&2;}
20500
 
    ( cat <<\_ASBOX
20501
 
@%:@@%:@ -------------------------------------------------------- @%:@@%:@
20502
 
@%:@@%:@ Report this to open-vm-tools-devel@lists.sourceforge.net @%:@@%:@
20503
 
@%:@@%:@ -------------------------------------------------------- @%:@@%:@
20504
 
_ASBOX
20505
 
     ) | sed "s/^/$as_me: WARNING:     /" >&2
20506
 
    ;;
20507
 
esac
20508
 
{ echo "$as_me:$LINENO: checking for security/pam_appl.h" >&5
20509
 
echo $ECHO_N "checking for security/pam_appl.h... $ECHO_C" >&6; }
20510
 
if test "${ac_cv_header_security_pam_appl_h+set}" = set; then
20511
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
20512
 
else
20513
 
  ac_cv_header_security_pam_appl_h=$ac_header_preproc
20514
 
fi
20515
 
{ echo "$as_me:$LINENO: result: $ac_cv_header_security_pam_appl_h" >&5
20516
 
echo "${ECHO_T}$ac_cv_header_security_pam_appl_h" >&6; }
20517
 
 
20518
 
fi
20519
 
if test $ac_cv_header_security_pam_appl_h = yes; then
 
17856
         ac_fn_c_check_header_mongrel "$LINENO" "security/pam_appl.h" "ac_cv_header_security_pam_appl_h" "$ac_includes_default"
 
17857
if test "x$ac_cv_header_security_pam_appl_h" = x""yes; then :
20520
17858
  ac_vmw_have_lib_header=1
20521
17859
fi
20522
17860
 
20536
17874
         else
20537
17875
            ac_vmw_function=strlen
20538
17876
         fi
20539
 
         as_ac_Lib=`echo "ac_cv_lib_pam_$ac_vmw_function" | $as_tr_sh`
20540
 
{ echo "$as_me:$LINENO: checking for $ac_vmw_function in -lpam" >&5
20541
 
echo $ECHO_N "checking for $ac_vmw_function in -lpam... $ECHO_C" >&6; }
20542
 
if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
20543
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
17877
         as_ac_Lib=`$as_echo "ac_cv_lib_pam_$ac_vmw_function" | $as_tr_sh`
 
17878
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_vmw_function in -lpam" >&5
 
17879
$as_echo_n "checking for $ac_vmw_function in -lpam... " >&6; }
 
17880
if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then :
 
17881
  $as_echo_n "(cached) " >&6
20544
17882
else
20545
17883
  ac_check_lib_save_LIBS=$LIBS
20546
17884
LIBS="-lpam $ac_vmw_custom_libs $LIBS"
20547
 
cat >conftest.$ac_ext <<_ACEOF
20548
 
/* confdefs.h.  */
20549
 
_ACEOF
20550
 
cat confdefs.h >>conftest.$ac_ext
20551
 
cat >>conftest.$ac_ext <<_ACEOF
 
17885
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20552
17886
/* end confdefs.h.  */
20553
17887
 
20554
17888
/* Override any GCC internal prototype to avoid an error.
20566
17900
  return 0;
20567
17901
}
20568
17902
_ACEOF
20569
 
rm -f conftest.$ac_objext conftest$ac_exeext
20570
 
if { (ac_try="$ac_link"
20571
 
case "(($ac_try" in
20572
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20573
 
  *) ac_try_echo=$ac_try;;
20574
 
esac
20575
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20576
 
  (eval "$ac_link") 2>conftest.er1
20577
 
  ac_status=$?
20578
 
  grep -v '^ *+' conftest.er1 >conftest.err
20579
 
  rm -f conftest.er1
20580
 
  cat conftest.err >&5
20581
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20582
 
  (exit $ac_status); } && {
20583
 
         test -z "$ac_c_werror_flag" ||
20584
 
         test ! -s conftest.err
20585
 
       } && test -s conftest$ac_exeext &&
20586
 
       $as_test_x conftest$ac_exeext; then
 
17903
if ac_fn_c_try_link "$LINENO"; then :
20587
17904
  eval "$as_ac_Lib=yes"
20588
17905
else
20589
 
  echo "$as_me: failed program was:" >&5
20590
 
sed 's/^/| /' conftest.$ac_ext >&5
20591
 
 
20592
 
        eval "$as_ac_Lib=no"
 
17906
  eval "$as_ac_Lib=no"
20593
17907
fi
20594
 
 
20595
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20596
 
      conftest$ac_exeext conftest.$ac_ext
 
17908
rm -f core conftest.err conftest.$ac_objext \
 
17909
    conftest$ac_exeext conftest.$ac_ext
20597
17910
LIBS=$ac_check_lib_save_LIBS
20598
17911
fi
20599
 
ac_res=`eval echo '${'$as_ac_Lib'}'`
20600
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
20601
 
echo "${ECHO_T}$ac_res" >&6; }
20602
 
if test `eval echo '${'$as_ac_Lib'}'` = yes; then
 
17912
eval ac_res=\$$as_ac_Lib
 
17913
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
17914
$as_echo "$ac_res" >&6; }
 
17915
eval as_val=\$$as_ac_Lib
 
17916
   if test "x$as_val" = x""yes; then :
20603
17917
  ac_vmw_have_lib_func=1
20604
17918
fi
20605
17919
 
20615
17929
   # If that didn't work, try with pkg-config.
20616
17930
   if test $ac_vmw_have_lib -eq 0 && test "$HAVE_PKG_CONFIG" = "yes" && test -n ""; then
20617
17931
      if test -n ""; then
20618
 
         { echo "$as_me:$LINENO: checking for  >=  (via pkg-config)" >&5
20619
 
echo $ECHO_N "checking for  >=  (via pkg-config)... $ECHO_C" >&6; }
 
17932
         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for  >=  (via pkg-config)" >&5
 
17933
$as_echo_n "checking for  >=  (via pkg-config)... " >&6; }
20620
17934
         if pkg-config --exists ' >= '; then
20621
17935
            ac_vmw_have_lib=1
20622
17936
         fi
20623
17937
      else
20624
 
         { echo "$as_me:$LINENO: checking for  (via pkg-config)" >&5
20625
 
echo $ECHO_N "checking for  (via pkg-config)... $ECHO_C" >&6; }
 
17938
         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for  (via pkg-config)" >&5
 
17939
$as_echo_n "checking for  (via pkg-config)... " >&6; }
20626
17940
         if pkg-config --exists ''; then
20627
17941
            ac_vmw_have_lib=1
20628
17942
         fi
20636
17950
         ac_vmw_libs="`pkg-config --libs `"
20637
17951
         ac_vmw_ret2=$?
20638
17952
         if test $ac_vmw_ret1 -eq 0 && test $ac_vmw_ret2 -eq 0; then
20639
 
            { echo "$as_me:$LINENO: result: yes" >&5
20640
 
echo "${ECHO_T}yes" >&6; }
 
17953
            { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
17954
$as_echo "yes" >&6; }
20641
17955
            PAM_CPPFLAGS="$ac_vmw_cppflags"
20642
17956
            PAM_LIBS="$ac_vmw_libs"
20643
17957
         else
20644
 
            { echo "$as_me:$LINENO: result: no" >&5
20645
 
echo "${ECHO_T}no" >&6; }
 
17958
            { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
17959
$as_echo "no" >&6; }
20646
17960
         fi
20647
17961
      else
20648
 
         { echo "$as_me:$LINENO: result: no" >&5
20649
 
echo "${ECHO_T}no" >&6; }
 
17962
         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
17963
$as_echo "no" >&6; }
20650
17964
      fi
20651
17965
   fi
20652
17966
 
20657
17971
   if test $ac_vmw_have_lib -eq 0 && test -n ""; then
20658
17972
      # Extract the first word of "", so it can be a program name with args.
20659
17973
set dummy ; ac_word=$2
20660
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
20661
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
20662
 
if test "${ac_cv_path_ac_vmw_lib_cfg+set}" = set; then
20663
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
17974
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
17975
$as_echo_n "checking for $ac_word... " >&6; }
 
17976
if test "${ac_cv_path_ac_vmw_lib_cfg+set}" = set; then :
 
17977
  $as_echo_n "(cached) " >&6
20664
17978
else
20665
17979
  case $ac_vmw_lib_cfg in
20666
17980
  [\\/]* | ?:[\\/]*)
20672
17986
do
20673
17987
  IFS=$as_save_IFS
20674
17988
  test -z "$as_dir" && as_dir=.
20675
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
17989
    for ac_exec_ext in '' $ac_executable_extensions; do
20676
17990
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20677
17991
    ac_cv_path_ac_vmw_lib_cfg="$as_dir/$ac_word$ac_exec_ext"
20678
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
17992
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20679
17993
    break 2
20680
17994
  fi
20681
17995
done
20682
 
done
 
17996
  done
20683
17997
IFS=$as_save_IFS
20684
17998
 
20685
17999
  test -z "$ac_cv_path_ac_vmw_lib_cfg" && ac_cv_path_ac_vmw_lib_cfg="no"
20688
18002
fi
20689
18003
ac_vmw_lib_cfg=$ac_cv_path_ac_vmw_lib_cfg
20690
18004
if test -n "$ac_vmw_lib_cfg"; then
20691
 
  { echo "$as_me:$LINENO: result: $ac_vmw_lib_cfg" >&5
20692
 
echo "${ECHO_T}$ac_vmw_lib_cfg" >&6; }
 
18005
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_vmw_lib_cfg" >&5
 
18006
$as_echo "$ac_vmw_lib_cfg" >&6; }
20693
18007
else
20694
 
  { echo "$as_me:$LINENO: result: no" >&5
20695
 
echo "${ECHO_T}no" >&6; }
 
18008
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
18009
$as_echo "no" >&6; }
20696
18010
fi
20697
18011
 
20698
18012
 
20725
18039
   if test -z "$feature"; then
20726
18040
      feature="PAM"
20727
18041
   fi
20728
 
   { { echo "$as_me:$LINENO: error: Cannot find PAM library. Please configure without $feature (using --without-pam), or install the PAM libraries and devel package(s)." >&5
20729
 
echo "$as_me: error: Cannot find PAM library. Please configure without $feature (using --without-pam), or install the PAM libraries and devel package(s)." >&2;}
20730
 
   { (exit 1); exit 1; }; }
 
18042
   as_fn_error "Cannot find PAM library. Please configure without $feature (using --without-pam), or install the PAM libraries and devel package(s)." "$LINENO" 5
20731
18043
 
20732
18044
   fi
20733
18045
 
20753
18065
   
20754
18066
        
20755
18067
   if test -z "cunit"; then
20756
 
      { { echo "$as_me:$LINENO: error: 'library' parameter is required.'" >&5
20757
 
echo "$as_me: error: 'library' parameter is required.'" >&2;}
20758
 
   { (exit 1); exit 1; }; }
 
18068
      as_fn_error "'library' parameter is required.'" "$LINENO" 5
20759
18069
   fi
20760
18070
   if test -z "CUNIT"; then
20761
 
      { { echo "$as_me:$LINENO: error: 'lvar' parameter is required.'" >&5
20762
 
echo "$as_me: error: 'lvar' parameter is required.'" >&2;}
20763
 
   { (exit 1); exit 1; }; }
 
18071
      as_fn_error "'lvar' parameter is required.'" "$LINENO" 5
20764
18072
   fi
20765
18073
 
20766
18074
   ac_vmw_have_lib=0
20777
18085
         ORIGINAL_CPPFLAGS="$CPPFLAGS"
20778
18086
         CPPFLAGS="${CUSTOM_CUNIT_CPPFLAGS} $CPPFLAGS"
20779
18087
 
20780
 
         if test "${ac_cv_header_CUnit_CUnit_h+set}" = set; then
20781
 
  { echo "$as_me:$LINENO: checking for CUnit/CUnit.h" >&5
20782
 
echo $ECHO_N "checking for CUnit/CUnit.h... $ECHO_C" >&6; }
20783
 
if test "${ac_cv_header_CUnit_CUnit_h+set}" = set; then
20784
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
20785
 
fi
20786
 
{ echo "$as_me:$LINENO: result: $ac_cv_header_CUnit_CUnit_h" >&5
20787
 
echo "${ECHO_T}$ac_cv_header_CUnit_CUnit_h" >&6; }
20788
 
else
20789
 
  # Is the header compilable?
20790
 
{ echo "$as_me:$LINENO: checking CUnit/CUnit.h usability" >&5
20791
 
echo $ECHO_N "checking CUnit/CUnit.h usability... $ECHO_C" >&6; }
20792
 
cat >conftest.$ac_ext <<_ACEOF
20793
 
/* confdefs.h.  */
20794
 
_ACEOF
20795
 
cat confdefs.h >>conftest.$ac_ext
20796
 
cat >>conftest.$ac_ext <<_ACEOF
20797
 
/* end confdefs.h.  */
20798
 
$ac_includes_default
20799
 
@%:@include <CUnit/CUnit.h>
20800
 
_ACEOF
20801
 
rm -f conftest.$ac_objext
20802
 
if { (ac_try="$ac_compile"
20803
 
case "(($ac_try" in
20804
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20805
 
  *) ac_try_echo=$ac_try;;
20806
 
esac
20807
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20808
 
  (eval "$ac_compile") 2>conftest.er1
20809
 
  ac_status=$?
20810
 
  grep -v '^ *+' conftest.er1 >conftest.err
20811
 
  rm -f conftest.er1
20812
 
  cat conftest.err >&5
20813
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20814
 
  (exit $ac_status); } && {
20815
 
         test -z "$ac_c_werror_flag" ||
20816
 
         test ! -s conftest.err
20817
 
       } && test -s conftest.$ac_objext; then
20818
 
  ac_header_compiler=yes
20819
 
else
20820
 
  echo "$as_me: failed program was:" >&5
20821
 
sed 's/^/| /' conftest.$ac_ext >&5
20822
 
 
20823
 
        ac_header_compiler=no
20824
 
fi
20825
 
 
20826
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20827
 
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20828
 
echo "${ECHO_T}$ac_header_compiler" >&6; }
20829
 
 
20830
 
# Is the header present?
20831
 
{ echo "$as_me:$LINENO: checking CUnit/CUnit.h presence" >&5
20832
 
echo $ECHO_N "checking CUnit/CUnit.h presence... $ECHO_C" >&6; }
20833
 
cat >conftest.$ac_ext <<_ACEOF
20834
 
/* confdefs.h.  */
20835
 
_ACEOF
20836
 
cat confdefs.h >>conftest.$ac_ext
20837
 
cat >>conftest.$ac_ext <<_ACEOF
20838
 
/* end confdefs.h.  */
20839
 
@%:@include <CUnit/CUnit.h>
20840
 
_ACEOF
20841
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
20842
 
case "(($ac_try" in
20843
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20844
 
  *) ac_try_echo=$ac_try;;
20845
 
esac
20846
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20847
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
20848
 
  ac_status=$?
20849
 
  grep -v '^ *+' conftest.er1 >conftest.err
20850
 
  rm -f conftest.er1
20851
 
  cat conftest.err >&5
20852
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20853
 
  (exit $ac_status); } >/dev/null && {
20854
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
20855
 
         test ! -s conftest.err
20856
 
       }; then
20857
 
  ac_header_preproc=yes
20858
 
else
20859
 
  echo "$as_me: failed program was:" >&5
20860
 
sed 's/^/| /' conftest.$ac_ext >&5
20861
 
 
20862
 
  ac_header_preproc=no
20863
 
fi
20864
 
 
20865
 
rm -f conftest.err conftest.$ac_ext
20866
 
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20867
 
echo "${ECHO_T}$ac_header_preproc" >&6; }
20868
 
 
20869
 
# So?  What about this header?
20870
 
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20871
 
  yes:no: )
20872
 
    { echo "$as_me:$LINENO: WARNING: CUnit/CUnit.h: accepted by the compiler, rejected by the preprocessor!" >&5
20873
 
echo "$as_me: WARNING: CUnit/CUnit.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
20874
 
    { echo "$as_me:$LINENO: WARNING: CUnit/CUnit.h: proceeding with the compiler's result" >&5
20875
 
echo "$as_me: WARNING: CUnit/CUnit.h: proceeding with the compiler's result" >&2;}
20876
 
    ac_header_preproc=yes
20877
 
    ;;
20878
 
  no:yes:* )
20879
 
    { echo "$as_me:$LINENO: WARNING: CUnit/CUnit.h: present but cannot be compiled" >&5
20880
 
echo "$as_me: WARNING: CUnit/CUnit.h: present but cannot be compiled" >&2;}
20881
 
    { echo "$as_me:$LINENO: WARNING: CUnit/CUnit.h:     check for missing prerequisite headers?" >&5
20882
 
echo "$as_me: WARNING: CUnit/CUnit.h:     check for missing prerequisite headers?" >&2;}
20883
 
    { echo "$as_me:$LINENO: WARNING: CUnit/CUnit.h: see the Autoconf documentation" >&5
20884
 
echo "$as_me: WARNING: CUnit/CUnit.h: see the Autoconf documentation" >&2;}
20885
 
    { echo "$as_me:$LINENO: WARNING: CUnit/CUnit.h:     section \"Present But Cannot Be Compiled\"" >&5
20886
 
echo "$as_me: WARNING: CUnit/CUnit.h:     section \"Present But Cannot Be Compiled\"" >&2;}
20887
 
    { echo "$as_me:$LINENO: WARNING: CUnit/CUnit.h: proceeding with the preprocessor's result" >&5
20888
 
echo "$as_me: WARNING: CUnit/CUnit.h: proceeding with the preprocessor's result" >&2;}
20889
 
    { echo "$as_me:$LINENO: WARNING: CUnit/CUnit.h: in the future, the compiler will take precedence" >&5
20890
 
echo "$as_me: WARNING: CUnit/CUnit.h: in the future, the compiler will take precedence" >&2;}
20891
 
    ( cat <<\_ASBOX
20892
 
@%:@@%:@ -------------------------------------------------------- @%:@@%:@
20893
 
@%:@@%:@ Report this to open-vm-tools-devel@lists.sourceforge.net @%:@@%:@
20894
 
@%:@@%:@ -------------------------------------------------------- @%:@@%:@
20895
 
_ASBOX
20896
 
     ) | sed "s/^/$as_me: WARNING:     /" >&2
20897
 
    ;;
20898
 
esac
20899
 
{ echo "$as_me:$LINENO: checking for CUnit/CUnit.h" >&5
20900
 
echo $ECHO_N "checking for CUnit/CUnit.h... $ECHO_C" >&6; }
20901
 
if test "${ac_cv_header_CUnit_CUnit_h+set}" = set; then
20902
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
20903
 
else
20904
 
  ac_cv_header_CUnit_CUnit_h=$ac_header_preproc
20905
 
fi
20906
 
{ echo "$as_me:$LINENO: result: $ac_cv_header_CUnit_CUnit_h" >&5
20907
 
echo "${ECHO_T}$ac_cv_header_CUnit_CUnit_h" >&6; }
20908
 
 
20909
 
fi
20910
 
if test $ac_cv_header_CUnit_CUnit_h = yes; then
 
18088
         ac_fn_c_check_header_mongrel "$LINENO" "CUnit/CUnit.h" "ac_cv_header_CUnit_CUnit_h" "$ac_includes_default"
 
18089
if test "x$ac_cv_header_CUnit_CUnit_h" = x""yes; then :
20911
18090
  ac_vmw_have_lib_header=1
20912
18091
fi
20913
18092
 
20927
18106
         else
20928
18107
            ac_vmw_function=strlen
20929
18108
         fi
20930
 
         as_ac_Lib=`echo "ac_cv_lib_cunit_$ac_vmw_function" | $as_tr_sh`
20931
 
{ echo "$as_me:$LINENO: checking for $ac_vmw_function in -lcunit" >&5
20932
 
echo $ECHO_N "checking for $ac_vmw_function in -lcunit... $ECHO_C" >&6; }
20933
 
if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
20934
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
18109
         as_ac_Lib=`$as_echo "ac_cv_lib_cunit_$ac_vmw_function" | $as_tr_sh`
 
18110
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_vmw_function in -lcunit" >&5
 
18111
$as_echo_n "checking for $ac_vmw_function in -lcunit... " >&6; }
 
18112
if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then :
 
18113
  $as_echo_n "(cached) " >&6
20935
18114
else
20936
18115
  ac_check_lib_save_LIBS=$LIBS
20937
18116
LIBS="-lcunit $ac_vmw_custom_libs $LIBS"
20938
 
cat >conftest.$ac_ext <<_ACEOF
20939
 
/* confdefs.h.  */
20940
 
_ACEOF
20941
 
cat confdefs.h >>conftest.$ac_ext
20942
 
cat >>conftest.$ac_ext <<_ACEOF
 
18117
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20943
18118
/* end confdefs.h.  */
20944
18119
 
20945
18120
/* Override any GCC internal prototype to avoid an error.
20957
18132
  return 0;
20958
18133
}
20959
18134
_ACEOF
20960
 
rm -f conftest.$ac_objext conftest$ac_exeext
20961
 
if { (ac_try="$ac_link"
20962
 
case "(($ac_try" in
20963
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20964
 
  *) ac_try_echo=$ac_try;;
20965
 
esac
20966
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20967
 
  (eval "$ac_link") 2>conftest.er1
20968
 
  ac_status=$?
20969
 
  grep -v '^ *+' conftest.er1 >conftest.err
20970
 
  rm -f conftest.er1
20971
 
  cat conftest.err >&5
20972
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20973
 
  (exit $ac_status); } && {
20974
 
         test -z "$ac_c_werror_flag" ||
20975
 
         test ! -s conftest.err
20976
 
       } && test -s conftest$ac_exeext &&
20977
 
       $as_test_x conftest$ac_exeext; then
 
18135
if ac_fn_c_try_link "$LINENO"; then :
20978
18136
  eval "$as_ac_Lib=yes"
20979
18137
else
20980
 
  echo "$as_me: failed program was:" >&5
20981
 
sed 's/^/| /' conftest.$ac_ext >&5
20982
 
 
20983
 
        eval "$as_ac_Lib=no"
 
18138
  eval "$as_ac_Lib=no"
20984
18139
fi
20985
 
 
20986
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20987
 
      conftest$ac_exeext conftest.$ac_ext
 
18140
rm -f core conftest.err conftest.$ac_objext \
 
18141
    conftest$ac_exeext conftest.$ac_ext
20988
18142
LIBS=$ac_check_lib_save_LIBS
20989
18143
fi
20990
 
ac_res=`eval echo '${'$as_ac_Lib'}'`
20991
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
20992
 
echo "${ECHO_T}$ac_res" >&6; }
20993
 
if test `eval echo '${'$as_ac_Lib'}'` = yes; then
 
18144
eval ac_res=\$$as_ac_Lib
 
18145
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
18146
$as_echo "$ac_res" >&6; }
 
18147
eval as_val=\$$as_ac_Lib
 
18148
   if test "x$as_val" = x""yes; then :
20994
18149
  ac_vmw_have_lib_func=1
20995
18150
fi
20996
18151
 
21006
18161
   # If that didn't work, try with pkg-config.
21007
18162
   if test $ac_vmw_have_lib -eq 0 && test "$HAVE_PKG_CONFIG" = "yes" && test -n ""; then
21008
18163
      if test -n ""; then
21009
 
         { echo "$as_me:$LINENO: checking for  >=  (via pkg-config)" >&5
21010
 
echo $ECHO_N "checking for  >=  (via pkg-config)... $ECHO_C" >&6; }
 
18164
         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for  >=  (via pkg-config)" >&5
 
18165
$as_echo_n "checking for  >=  (via pkg-config)... " >&6; }
21011
18166
         if pkg-config --exists ' >= '; then
21012
18167
            ac_vmw_have_lib=1
21013
18168
         fi
21014
18169
      else
21015
 
         { echo "$as_me:$LINENO: checking for  (via pkg-config)" >&5
21016
 
echo $ECHO_N "checking for  (via pkg-config)... $ECHO_C" >&6; }
 
18170
         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for  (via pkg-config)" >&5
 
18171
$as_echo_n "checking for  (via pkg-config)... " >&6; }
21017
18172
         if pkg-config --exists ''; then
21018
18173
            ac_vmw_have_lib=1
21019
18174
         fi
21027
18182
         ac_vmw_libs="`pkg-config --libs `"
21028
18183
         ac_vmw_ret2=$?
21029
18184
         if test $ac_vmw_ret1 -eq 0 && test $ac_vmw_ret2 -eq 0; then
21030
 
            { echo "$as_me:$LINENO: result: yes" >&5
21031
 
echo "${ECHO_T}yes" >&6; }
 
18185
            { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
18186
$as_echo "yes" >&6; }
21032
18187
            CUNIT_CPPFLAGS="$ac_vmw_cppflags"
21033
18188
            CUNIT_LIBS="$ac_vmw_libs"
21034
18189
         else
21035
 
            { echo "$as_me:$LINENO: result: no" >&5
21036
 
echo "${ECHO_T}no" >&6; }
 
18190
            { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
18191
$as_echo "no" >&6; }
21037
18192
         fi
21038
18193
      else
21039
 
         { echo "$as_me:$LINENO: result: no" >&5
21040
 
echo "${ECHO_T}no" >&6; }
 
18194
         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
18195
$as_echo "no" >&6; }
21041
18196
      fi
21042
18197
   fi
21043
18198
 
21048
18203
   if test $ac_vmw_have_lib -eq 0 && test -n ""; then
21049
18204
      # Extract the first word of "", so it can be a program name with args.
21050
18205
set dummy ; ac_word=$2
21051
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
21052
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
21053
 
if test "${ac_cv_path_ac_vmw_lib_cfg+set}" = set; then
21054
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
18206
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
18207
$as_echo_n "checking for $ac_word... " >&6; }
 
18208
if test "${ac_cv_path_ac_vmw_lib_cfg+set}" = set; then :
 
18209
  $as_echo_n "(cached) " >&6
21055
18210
else
21056
18211
  case $ac_vmw_lib_cfg in
21057
18212
  [\\/]* | ?:[\\/]*)
21063
18218
do
21064
18219
  IFS=$as_save_IFS
21065
18220
  test -z "$as_dir" && as_dir=.
21066
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
18221
    for ac_exec_ext in '' $ac_executable_extensions; do
21067
18222
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
21068
18223
    ac_cv_path_ac_vmw_lib_cfg="$as_dir/$ac_word$ac_exec_ext"
21069
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
18224
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
21070
18225
    break 2
21071
18226
  fi
21072
18227
done
21073
 
done
 
18228
  done
21074
18229
IFS=$as_save_IFS
21075
18230
 
21076
18231
  test -z "$ac_cv_path_ac_vmw_lib_cfg" && ac_cv_path_ac_vmw_lib_cfg="no"
21079
18234
fi
21080
18235
ac_vmw_lib_cfg=$ac_cv_path_ac_vmw_lib_cfg
21081
18236
if test -n "$ac_vmw_lib_cfg"; then
21082
 
  { echo "$as_me:$LINENO: result: $ac_vmw_lib_cfg" >&5
21083
 
echo "${ECHO_T}$ac_vmw_lib_cfg" >&6; }
 
18237
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_vmw_lib_cfg" >&5
 
18238
$as_echo "$ac_vmw_lib_cfg" >&6; }
21084
18239
else
21085
 
  { echo "$as_me:$LINENO: result: no" >&5
21086
 
echo "${ECHO_T}no" >&6; }
 
18240
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
18241
$as_echo "no" >&6; }
21087
18242
fi
21088
18243
 
21089
18244
 
21121
18276
   if test -z "$feature"; then
21122
18277
      feature="CUNIT"
21123
18278
   fi
21124
 
   { { echo "$as_me:$LINENO: error: Cannot find CUNIT library. Please configure without $feature (using --without-cunit), or install the CUNIT libraries and devel package(s)." >&5
21125
 
echo "$as_me: error: Cannot find CUNIT library. Please configure without $feature (using --without-cunit), or install the CUNIT libraries and devel package(s)." >&2;}
21126
 
   { (exit 1); exit 1; }; }
 
18279
   as_fn_error "Cannot find CUNIT library. Please configure without $feature (using --without-cunit), or install the CUNIT libraries and devel package(s)." "$LINENO" 5
21127
18280
 
21128
18281
      else
21129
 
         { echo "$as_me:$LINENO: WARNING: CUnit not found, tests won't be compiled." >&5
21130
 
echo "$as_me: WARNING: CUnit not found, tests won't be compiled." >&2;}
 
18282
         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: CUnit not found, tests won't be compiled." >&5
 
18283
$as_echo "$as_me: WARNING: CUnit not found, tests won't be compiled." >&2;}
21131
18284
      fi
21132
18285
   fi
21133
18286
fi
21137
18290
   enable_multimon="no"
21138
18291
   enable_unity="no"
21139
18292
elif test "$have_x" != "yes"; then
21140
 
   { { echo "$as_me:$LINENO: error: The X11 libraries were not found. Please configure without X11 (using --without-x), or install the libX11 devel package(s)." >&5
21141
 
echo "$as_me: error: The X11 libraries were not found. Please configure without X11 (using --without-x), or install the libX11 devel package(s)." >&2;}
21142
 
   { (exit 1); exit 1; }; }
 
18293
   as_fn_error "The X11 libraries were not found. Please configure without X11 (using --without-x), or install the libX11 devel package(s)." "$LINENO" 5
21143
18294
else
21144
18295
   CPPFLAGS="$CPPFLAGS $X_CFLAGS"
21145
18296
   COMMON_XLIBS="$X_PRE_LIBS $X_LIBS -lX11 $X_EXTRA_LIBS"
21146
18297
 
21147
 
   { echo "$as_me:$LINENO: checking for XeviQueryVersion in -lXext" >&5
21148
 
echo $ECHO_N "checking for XeviQueryVersion in -lXext... $ECHO_C" >&6; }
21149
 
if test "${ac_cv_lib_Xext_XeviQueryVersion+set}" = set; then
21150
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
18298
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XeviQueryVersion in -lXext" >&5
 
18299
$as_echo_n "checking for XeviQueryVersion in -lXext... " >&6; }
 
18300
if test "${ac_cv_lib_Xext_XeviQueryVersion+set}" = set; then :
 
18301
  $as_echo_n "(cached) " >&6
21151
18302
else
21152
18303
  ac_check_lib_save_LIBS=$LIBS
21153
18304
LIBS="-lXext $COMMON_XLIBS $LIBS"
21154
 
cat >conftest.$ac_ext <<_ACEOF
21155
 
/* confdefs.h.  */
21156
 
_ACEOF
21157
 
cat confdefs.h >>conftest.$ac_ext
21158
 
cat >>conftest.$ac_ext <<_ACEOF
 
18305
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21159
18306
/* end confdefs.h.  */
21160
18307
 
21161
18308
/* Override any GCC internal prototype to avoid an error.
21173
18320
  return 0;
21174
18321
}
21175
18322
_ACEOF
21176
 
rm -f conftest.$ac_objext conftest$ac_exeext
21177
 
if { (ac_try="$ac_link"
21178
 
case "(($ac_try" in
21179
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21180
 
  *) ac_try_echo=$ac_try;;
21181
 
esac
21182
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21183
 
  (eval "$ac_link") 2>conftest.er1
21184
 
  ac_status=$?
21185
 
  grep -v '^ *+' conftest.er1 >conftest.err
21186
 
  rm -f conftest.er1
21187
 
  cat conftest.err >&5
21188
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21189
 
  (exit $ac_status); } && {
21190
 
         test -z "$ac_c_werror_flag" ||
21191
 
         test ! -s conftest.err
21192
 
       } && test -s conftest$ac_exeext &&
21193
 
       $as_test_x conftest$ac_exeext; then
 
18323
if ac_fn_c_try_link "$LINENO"; then :
21194
18324
  ac_cv_lib_Xext_XeviQueryVersion=yes
21195
18325
else
21196
 
  echo "$as_me: failed program was:" >&5
21197
 
sed 's/^/| /' conftest.$ac_ext >&5
21198
 
 
21199
 
        ac_cv_lib_Xext_XeviQueryVersion=no
 
18326
  ac_cv_lib_Xext_XeviQueryVersion=no
21200
18327
fi
21201
 
 
21202
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21203
 
      conftest$ac_exeext conftest.$ac_ext
 
18328
rm -f core conftest.err conftest.$ac_objext \
 
18329
    conftest$ac_exeext conftest.$ac_ext
21204
18330
LIBS=$ac_check_lib_save_LIBS
21205
18331
fi
21206
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XeviQueryVersion" >&5
21207
 
echo "${ECHO_T}$ac_cv_lib_Xext_XeviQueryVersion" >&6; }
21208
 
if test $ac_cv_lib_Xext_XeviQueryVersion = yes; then
 
18332
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XeviQueryVersion" >&5
 
18333
$as_echo "$ac_cv_lib_Xext_XeviQueryVersion" >&6; }
 
18334
if test "x$ac_cv_lib_Xext_XeviQueryVersion" = x""yes; then :
21209
18335
  COMMON_XLIBS="-lXext $COMMON_XLIBS"
21210
18336
else
21211
 
  { { echo "$as_me:$LINENO: error: libXext not found. Please configure without X11 (using --without-x), or install the libXext devel package(s)." >&5
21212
 
echo "$as_me: error: libXext not found. Please configure without X11 (using --without-x), or install the libXext devel package(s)." >&2;}
21213
 
   { (exit 1); exit 1; }; }
 
18337
  as_fn_error "libXext not found. Please configure without X11 (using --without-x), or install the libXext devel package(s)." "$LINENO" 5
21214
18338
fi
21215
18339
 
21216
18340
 
21217
 
   { echo "$as_me:$LINENO: checking for X11/extensions/extutil.h" >&5
21218
 
echo $ECHO_N "checking for X11/extensions/extutil.h... $ECHO_C" >&6; }
21219
 
if test "${ac_cv_header_X11_extensions_extutil_h+set}" = set; then
21220
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
21221
 
else
21222
 
  cat >conftest.$ac_ext <<_ACEOF
21223
 
/* confdefs.h.  */
21224
 
_ACEOF
21225
 
cat confdefs.h >>conftest.$ac_ext
21226
 
cat >>conftest.$ac_ext <<_ACEOF
21227
 
/* end confdefs.h.  */
21228
 
#include <X11/Xlib.h>
 
18341
   ac_fn_c_check_header_compile "$LINENO" "X11/extensions/extutil.h" "ac_cv_header_X11_extensions_extutil_h" "#include <X11/Xlib.h>
21229
18342
       #include <X11/Xproto.h>
21230
 
 
21231
 
@%:@include <X11/extensions/extutil.h>
21232
 
_ACEOF
21233
 
rm -f conftest.$ac_objext
21234
 
if { (ac_try="$ac_compile"
21235
 
case "(($ac_try" in
21236
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21237
 
  *) ac_try_echo=$ac_try;;
21238
 
esac
21239
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21240
 
  (eval "$ac_compile") 2>conftest.er1
21241
 
  ac_status=$?
21242
 
  grep -v '^ *+' conftest.er1 >conftest.err
21243
 
  rm -f conftest.er1
21244
 
  cat conftest.err >&5
21245
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21246
 
  (exit $ac_status); } && {
21247
 
         test -z "$ac_c_werror_flag" ||
21248
 
         test ! -s conftest.err
21249
 
       } && test -s conftest.$ac_objext; then
21250
 
  ac_cv_header_X11_extensions_extutil_h=yes
21251
 
else
21252
 
  echo "$as_me: failed program was:" >&5
21253
 
sed 's/^/| /' conftest.$ac_ext >&5
21254
 
 
21255
 
        ac_cv_header_X11_extensions_extutil_h=no
21256
 
fi
21257
 
 
21258
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21259
 
fi
21260
 
{ echo "$as_me:$LINENO: result: $ac_cv_header_X11_extensions_extutil_h" >&5
21261
 
echo "${ECHO_T}$ac_cv_header_X11_extensions_extutil_h" >&6; }
21262
 
if test $ac_cv_header_X11_extensions_extutil_h = yes; then
21263
 
  :
21264
 
else
21265
 
  { { echo "$as_me:$LINENO: error: X11/extensions/extutil.h header not found - you're probably on Solaris 10 or older. Please copy that header file onto your system manually, or configure without X11 (using --without-x)." >&5
21266
 
echo "$as_me: error: X11/extensions/extutil.h header not found - you're probably on Solaris 10 or older. Please copy that header file onto your system manually, or configure without X11 (using --without-x)." >&2;}
21267
 
   { (exit 1); exit 1; }; }
 
18343
"
 
18344
if test "x$ac_cv_header_X11_extensions_extutil_h" = x""yes; then :
 
18345
  
 
18346
else
 
18347
  as_fn_error "X11/extensions/extutil.h header not found - you're probably on Solaris 10 or older. Please copy that header file onto your system manually, or configure without X11 (using --without-x)." "$LINENO" 5
21268
18348
fi
21269
18349
 
21270
18350
 
21271
18351
 
21272
18352
   if test "$enable_multimon" != "no"; then
21273
 
      { echo "$as_me:$LINENO: checking for XineramaQueryVersion in -lXinerama" >&5
21274
 
echo $ECHO_N "checking for XineramaQueryVersion in -lXinerama... $ECHO_C" >&6; }
21275
 
if test "${ac_cv_lib_Xinerama_XineramaQueryVersion+set}" = set; then
21276
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
18353
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XineramaQueryVersion in -lXinerama" >&5
 
18354
$as_echo_n "checking for XineramaQueryVersion in -lXinerama... " >&6; }
 
18355
if test "${ac_cv_lib_Xinerama_XineramaQueryVersion+set}" = set; then :
 
18356
  $as_echo_n "(cached) " >&6
21277
18357
else
21278
18358
  ac_check_lib_save_LIBS=$LIBS
21279
18359
LIBS="-lXinerama $COMMON_XLIBS $LIBS"
21280
 
cat >conftest.$ac_ext <<_ACEOF
21281
 
/* confdefs.h.  */
21282
 
_ACEOF
21283
 
cat confdefs.h >>conftest.$ac_ext
21284
 
cat >>conftest.$ac_ext <<_ACEOF
 
18360
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21285
18361
/* end confdefs.h.  */
21286
18362
 
21287
18363
/* Override any GCC internal prototype to avoid an error.
21299
18375
  return 0;
21300
18376
}
21301
18377
_ACEOF
21302
 
rm -f conftest.$ac_objext conftest$ac_exeext
21303
 
if { (ac_try="$ac_link"
21304
 
case "(($ac_try" in
21305
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21306
 
  *) ac_try_echo=$ac_try;;
21307
 
esac
21308
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21309
 
  (eval "$ac_link") 2>conftest.er1
21310
 
  ac_status=$?
21311
 
  grep -v '^ *+' conftest.er1 >conftest.err
21312
 
  rm -f conftest.er1
21313
 
  cat conftest.err >&5
21314
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21315
 
  (exit $ac_status); } && {
21316
 
         test -z "$ac_c_werror_flag" ||
21317
 
         test ! -s conftest.err
21318
 
       } && test -s conftest$ac_exeext &&
21319
 
       $as_test_x conftest$ac_exeext; then
 
18378
if ac_fn_c_try_link "$LINENO"; then :
21320
18379
  ac_cv_lib_Xinerama_XineramaQueryVersion=yes
21321
18380
else
21322
 
  echo "$as_me: failed program was:" >&5
21323
 
sed 's/^/| /' conftest.$ac_ext >&5
21324
 
 
21325
 
        ac_cv_lib_Xinerama_XineramaQueryVersion=no
 
18381
  ac_cv_lib_Xinerama_XineramaQueryVersion=no
21326
18382
fi
21327
 
 
21328
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21329
 
      conftest$ac_exeext conftest.$ac_ext
 
18383
rm -f core conftest.err conftest.$ac_objext \
 
18384
    conftest$ac_exeext conftest.$ac_ext
21330
18385
LIBS=$ac_check_lib_save_LIBS
21331
18386
fi
21332
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_Xinerama_XineramaQueryVersion" >&5
21333
 
echo "${ECHO_T}$ac_cv_lib_Xinerama_XineramaQueryVersion" >&6; }
21334
 
if test $ac_cv_lib_Xinerama_XineramaQueryVersion = yes; then
 
18387
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xinerama_XineramaQueryVersion" >&5
 
18388
$as_echo "$ac_cv_lib_Xinerama_XineramaQueryVersion" >&6; }
 
18389
if test "x$ac_cv_lib_Xinerama_XineramaQueryVersion" = x""yes; then :
21335
18390
  COMMON_XLIBS="-lXinerama $COMMON_XLIBS"
21336
18391
else
21337
 
  { { echo "$as_me:$LINENO: error: libXinerama not found. Please configure without multimon (using --disable-multimon), configure without X11 (using --without-x), or install the libXinerama devel package(s)." >&5
21338
 
echo "$as_me: error: libXinerama not found. Please configure without multimon (using --disable-multimon), configure without X11 (using --without-x), or install the libXinerama devel package(s)." >&2;}
21339
 
   { (exit 1); exit 1; }; }
 
18392
  as_fn_error "libXinerama not found. Please configure without multimon (using --disable-multimon), configure without X11 (using --without-x), or install the libXinerama devel package(s)." "$LINENO" 5
21340
18393
fi
21341
18394
 
21342
18395
   else
21343
18396
      if test "$enable_unity" != "no"; then
21344
 
         { echo "$as_me:$LINENO: WARNING: Disabling Unity due to --disable-multimon." >&5
21345
 
echo "$as_me: WARNING: Disabling Unity due to --disable-multimon." >&2;}
 
18397
         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Disabling Unity due to --disable-multimon." >&5
 
18398
$as_echo "$as_me: WARNING: Disabling Unity due to --disable-multimon." >&2;}
21346
18399
         enable_unity="no"
21347
18400
      fi
21348
18401
   fi
21349
18402
 
21350
 
   { echo "$as_me:$LINENO: checking for XRenderQueryVersion in -lXrender" >&5
21351
 
echo $ECHO_N "checking for XRenderQueryVersion in -lXrender... $ECHO_C" >&6; }
21352
 
if test "${ac_cv_lib_Xrender_XRenderQueryVersion+set}" = set; then
21353
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
18403
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XOpenDevice in -lXi" >&5
 
18404
$as_echo_n "checking for XOpenDevice in -lXi... " >&6; }
 
18405
if test "${ac_cv_lib_Xi_XOpenDevice+set}" = set; then :
 
18406
  $as_echo_n "(cached) " >&6
 
18407
else
 
18408
  ac_check_lib_save_LIBS=$LIBS
 
18409
LIBS="-lXi $COMMON_XLIBS $LIBS"
 
18410
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
18411
/* end confdefs.h.  */
 
18412
 
 
18413
/* Override any GCC internal prototype to avoid an error.
 
18414
   Use char because int might match the return type of a GCC
 
18415
   builtin and then its argument prototype would still apply.  */
 
18416
#ifdef __cplusplus
 
18417
extern "C"
 
18418
#endif
 
18419
char XOpenDevice ();
 
18420
int
 
18421
main ()
 
18422
{
 
18423
return XOpenDevice ();
 
18424
  ;
 
18425
  return 0;
 
18426
}
 
18427
_ACEOF
 
18428
if ac_fn_c_try_link "$LINENO"; then :
 
18429
  ac_cv_lib_Xi_XOpenDevice=yes
 
18430
else
 
18431
  ac_cv_lib_Xi_XOpenDevice=no
 
18432
fi
 
18433
rm -f core conftest.err conftest.$ac_objext \
 
18434
    conftest$ac_exeext conftest.$ac_ext
 
18435
LIBS=$ac_check_lib_save_LIBS
 
18436
fi
 
18437
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xi_XOpenDevice" >&5
 
18438
$as_echo "$ac_cv_lib_Xi_XOpenDevice" >&6; }
 
18439
if test "x$ac_cv_lib_Xi_XOpenDevice" = x""yes; then :
 
18440
  COMMON_XLIBS="-lXi $COMMON_XLIBS"
 
18441
else
 
18442
  as_fn_error "libXi not found. Please configure without X11 (using --without-x), or install the libXi devel package(s)." "$LINENO" 5
 
18443
fi
 
18444
 
 
18445
 
 
18446
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderQueryVersion in -lXrender" >&5
 
18447
$as_echo_n "checking for XRenderQueryVersion in -lXrender... " >&6; }
 
18448
if test "${ac_cv_lib_Xrender_XRenderQueryVersion+set}" = set; then :
 
18449
  $as_echo_n "(cached) " >&6
21354
18450
else
21355
18451
  ac_check_lib_save_LIBS=$LIBS
21356
18452
LIBS="-lXrender $COMMON_XLIBS $LIBS"
21357
 
cat >conftest.$ac_ext <<_ACEOF
21358
 
/* confdefs.h.  */
21359
 
_ACEOF
21360
 
cat confdefs.h >>conftest.$ac_ext
21361
 
cat >>conftest.$ac_ext <<_ACEOF
 
18453
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21362
18454
/* end confdefs.h.  */
21363
18455
 
21364
18456
/* Override any GCC internal prototype to avoid an error.
21376
18468
  return 0;
21377
18469
}
21378
18470
_ACEOF
21379
 
rm -f conftest.$ac_objext conftest$ac_exeext
21380
 
if { (ac_try="$ac_link"
21381
 
case "(($ac_try" in
21382
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21383
 
  *) ac_try_echo=$ac_try;;
21384
 
esac
21385
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21386
 
  (eval "$ac_link") 2>conftest.er1
21387
 
  ac_status=$?
21388
 
  grep -v '^ *+' conftest.er1 >conftest.err
21389
 
  rm -f conftest.er1
21390
 
  cat conftest.err >&5
21391
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21392
 
  (exit $ac_status); } && {
21393
 
         test -z "$ac_c_werror_flag" ||
21394
 
         test ! -s conftest.err
21395
 
       } && test -s conftest$ac_exeext &&
21396
 
       $as_test_x conftest$ac_exeext; then
 
18471
if ac_fn_c_try_link "$LINENO"; then :
21397
18472
  ac_cv_lib_Xrender_XRenderQueryVersion=yes
21398
18473
else
21399
 
  echo "$as_me: failed program was:" >&5
21400
 
sed 's/^/| /' conftest.$ac_ext >&5
21401
 
 
21402
 
        ac_cv_lib_Xrender_XRenderQueryVersion=no
 
18474
  ac_cv_lib_Xrender_XRenderQueryVersion=no
21403
18475
fi
21404
 
 
21405
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21406
 
      conftest$ac_exeext conftest.$ac_ext
 
18476
rm -f core conftest.err conftest.$ac_objext \
 
18477
    conftest$ac_exeext conftest.$ac_ext
21407
18478
LIBS=$ac_check_lib_save_LIBS
21408
18479
fi
21409
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_Xrender_XRenderQueryVersion" >&5
21410
 
echo "${ECHO_T}$ac_cv_lib_Xrender_XRenderQueryVersion" >&6; }
21411
 
if test $ac_cv_lib_Xrender_XRenderQueryVersion = yes; then
 
18480
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderQueryVersion" >&5
 
18481
$as_echo "$ac_cv_lib_Xrender_XRenderQueryVersion" >&6; }
 
18482
if test "x$ac_cv_lib_Xrender_XRenderQueryVersion" = x""yes; then :
21412
18483
  COMMON_XLIBS="-lXrender $COMMON_XLIBS"
21413
18484
else
21414
 
  { { echo "$as_me:$LINENO: error: libXrender not found. Please configure without X11 (using --without-x), or install the libXrender devel package(s)." >&5
21415
 
echo "$as_me: error: libXrender not found. Please configure without X11 (using --without-x), or install the libXrender devel package(s)." >&2;}
21416
 
   { (exit 1); exit 1; }; }
 
18485
  as_fn_error "libXrender not found. Please configure without X11 (using --without-x), or install the libXrender devel package(s)." "$LINENO" 5
21417
18486
fi
21418
18487
 
21419
18488
 
21420
 
   { echo "$as_me:$LINENO: checking for XRRQueryVersion in -lXrandr" >&5
21421
 
echo $ECHO_N "checking for XRRQueryVersion in -lXrandr... $ECHO_C" >&6; }
21422
 
if test "${ac_cv_lib_Xrandr_XRRQueryVersion+set}" = set; then
21423
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
18489
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRRQueryVersion in -lXrandr" >&5
 
18490
$as_echo_n "checking for XRRQueryVersion in -lXrandr... " >&6; }
 
18491
if test "${ac_cv_lib_Xrandr_XRRQueryVersion+set}" = set; then :
 
18492
  $as_echo_n "(cached) " >&6
21424
18493
else
21425
18494
  ac_check_lib_save_LIBS=$LIBS
21426
18495
LIBS="-lXrandr $COMMON_XLIBS $LIBS"
21427
 
cat >conftest.$ac_ext <<_ACEOF
21428
 
/* confdefs.h.  */
21429
 
_ACEOF
21430
 
cat confdefs.h >>conftest.$ac_ext
21431
 
cat >>conftest.$ac_ext <<_ACEOF
 
18496
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21432
18497
/* end confdefs.h.  */
21433
18498
 
21434
18499
/* Override any GCC internal prototype to avoid an error.
21446
18511
  return 0;
21447
18512
}
21448
18513
_ACEOF
21449
 
rm -f conftest.$ac_objext conftest$ac_exeext
21450
 
if { (ac_try="$ac_link"
21451
 
case "(($ac_try" in
21452
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21453
 
  *) ac_try_echo=$ac_try;;
21454
 
esac
21455
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21456
 
  (eval "$ac_link") 2>conftest.er1
21457
 
  ac_status=$?
21458
 
  grep -v '^ *+' conftest.er1 >conftest.err
21459
 
  rm -f conftest.er1
21460
 
  cat conftest.err >&5
21461
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21462
 
  (exit $ac_status); } && {
21463
 
         test -z "$ac_c_werror_flag" ||
21464
 
         test ! -s conftest.err
21465
 
       } && test -s conftest$ac_exeext &&
21466
 
       $as_test_x conftest$ac_exeext; then
 
18514
if ac_fn_c_try_link "$LINENO"; then :
21467
18515
  ac_cv_lib_Xrandr_XRRQueryVersion=yes
21468
18516
else
21469
 
  echo "$as_me: failed program was:" >&5
21470
 
sed 's/^/| /' conftest.$ac_ext >&5
21471
 
 
21472
 
        ac_cv_lib_Xrandr_XRRQueryVersion=no
 
18517
  ac_cv_lib_Xrandr_XRRQueryVersion=no
21473
18518
fi
21474
 
 
21475
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21476
 
      conftest$ac_exeext conftest.$ac_ext
 
18519
rm -f core conftest.err conftest.$ac_objext \
 
18520
    conftest$ac_exeext conftest.$ac_ext
21477
18521
LIBS=$ac_check_lib_save_LIBS
21478
18522
fi
21479
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_Xrandr_XRRQueryVersion" >&5
21480
 
echo "${ECHO_T}$ac_cv_lib_Xrandr_XRRQueryVersion" >&6; }
21481
 
if test $ac_cv_lib_Xrandr_XRRQueryVersion = yes; then
 
18523
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrandr_XRRQueryVersion" >&5
 
18524
$as_echo "$ac_cv_lib_Xrandr_XRRQueryVersion" >&6; }
 
18525
if test "x$ac_cv_lib_Xrandr_XRRQueryVersion" = x""yes; then :
21482
18526
  COMMON_XLIBS="-lXrandr $COMMON_XLIBS"
21483
18527
else
21484
 
  { { echo "$as_me:$LINENO: error: libXrandr not found. Please configure without X11 (using --without-x) or install the libXrandr devel package(s)." >&5
21485
 
echo "$as_me: error: libXrandr not found. Please configure without X11 (using --without-x) or install the libXrandr devel package(s)." >&2;}
21486
 
   { (exit 1); exit 1; }; }
 
18528
  as_fn_error "libXrandr not found. Please configure without X11 (using --without-x) or install the libXrandr devel package(s)." "$LINENO" 5
21487
18529
fi
21488
18530
 
21489
18531
 
21490
 
   { echo "$as_me:$LINENO: checking for XTestQueryExtension in -lXtst" >&5
21491
 
echo $ECHO_N "checking for XTestQueryExtension in -lXtst... $ECHO_C" >&6; }
21492
 
if test "${ac_cv_lib_Xtst_XTestQueryExtension+set}" = set; then
21493
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
18532
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XTestQueryExtension in -lXtst" >&5
 
18533
$as_echo_n "checking for XTestQueryExtension in -lXtst... " >&6; }
 
18534
if test "${ac_cv_lib_Xtst_XTestQueryExtension+set}" = set; then :
 
18535
  $as_echo_n "(cached) " >&6
21494
18536
else
21495
18537
  ac_check_lib_save_LIBS=$LIBS
21496
18538
LIBS="-lXtst $COMMON_XLIBS $LIBS"
21497
 
cat >conftest.$ac_ext <<_ACEOF
21498
 
/* confdefs.h.  */
21499
 
_ACEOF
21500
 
cat confdefs.h >>conftest.$ac_ext
21501
 
cat >>conftest.$ac_ext <<_ACEOF
 
18539
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21502
18540
/* end confdefs.h.  */
21503
18541
 
21504
18542
/* Override any GCC internal prototype to avoid an error.
21516
18554
  return 0;
21517
18555
}
21518
18556
_ACEOF
21519
 
rm -f conftest.$ac_objext conftest$ac_exeext
21520
 
if { (ac_try="$ac_link"
21521
 
case "(($ac_try" in
21522
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21523
 
  *) ac_try_echo=$ac_try;;
21524
 
esac
21525
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21526
 
  (eval "$ac_link") 2>conftest.er1
21527
 
  ac_status=$?
21528
 
  grep -v '^ *+' conftest.er1 >conftest.err
21529
 
  rm -f conftest.er1
21530
 
  cat conftest.err >&5
21531
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21532
 
  (exit $ac_status); } && {
21533
 
         test -z "$ac_c_werror_flag" ||
21534
 
         test ! -s conftest.err
21535
 
       } && test -s conftest$ac_exeext &&
21536
 
       $as_test_x conftest$ac_exeext; then
 
18557
if ac_fn_c_try_link "$LINENO"; then :
21537
18558
  ac_cv_lib_Xtst_XTestQueryExtension=yes
21538
18559
else
21539
 
  echo "$as_me: failed program was:" >&5
21540
 
sed 's/^/| /' conftest.$ac_ext >&5
21541
 
 
21542
 
        ac_cv_lib_Xtst_XTestQueryExtension=no
 
18560
  ac_cv_lib_Xtst_XTestQueryExtension=no
21543
18561
fi
21544
 
 
21545
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21546
 
      conftest$ac_exeext conftest.$ac_ext
 
18562
rm -f core conftest.err conftest.$ac_objext \
 
18563
    conftest$ac_exeext conftest.$ac_ext
21547
18564
LIBS=$ac_check_lib_save_LIBS
21548
18565
fi
21549
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_Xtst_XTestQueryExtension" >&5
21550
 
echo "${ECHO_T}$ac_cv_lib_Xtst_XTestQueryExtension" >&6; }
21551
 
if test $ac_cv_lib_Xtst_XTestQueryExtension = yes; then
 
18566
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xtst_XTestQueryExtension" >&5
 
18567
$as_echo "$ac_cv_lib_Xtst_XTestQueryExtension" >&6; }
 
18568
if test "x$ac_cv_lib_Xtst_XTestQueryExtension" = x""yes; then :
21552
18569
  COMMON_XLIBS="-lXtst $COMMON_XLIBS"
21553
18570
else
21554
 
  { { echo "$as_me:$LINENO: error: libXtst not found. Please configure without X11 (using --without-x) or install the libXtst devel package(s)." >&5
21555
 
echo "$as_me: error: libXtst not found. Please configure without X11 (using --without-x) or install the libXtst devel package(s)." >&2;}
21556
 
   { (exit 1); exit 1; }; }
 
18571
  as_fn_error "libXtst not found. Please configure without X11 (using --without-x) or install the libXtst devel package(s)." "$LINENO" 5
21557
18572
fi
21558
18573
 
21559
18574
 
21567
18582
           
21568
18583
   have_header=1
21569
18584
   if test -n "X11/extensions/scrnsaver.h"; then
21570
 
      if test "${ac_cv_header_X11_extensions_scrnsaver_h+set}" = set; then
21571
 
  { echo "$as_me:$LINENO: checking for X11/extensions/scrnsaver.h" >&5
21572
 
echo $ECHO_N "checking for X11/extensions/scrnsaver.h... $ECHO_C" >&6; }
21573
 
if test "${ac_cv_header_X11_extensions_scrnsaver_h+set}" = set; then
21574
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
21575
 
fi
21576
 
{ echo "$as_me:$LINENO: result: $ac_cv_header_X11_extensions_scrnsaver_h" >&5
21577
 
echo "${ECHO_T}$ac_cv_header_X11_extensions_scrnsaver_h" >&6; }
21578
 
else
21579
 
  # Is the header compilable?
21580
 
{ echo "$as_me:$LINENO: checking X11/extensions/scrnsaver.h usability" >&5
21581
 
echo $ECHO_N "checking X11/extensions/scrnsaver.h usability... $ECHO_C" >&6; }
21582
 
cat >conftest.$ac_ext <<_ACEOF
21583
 
/* confdefs.h.  */
21584
 
_ACEOF
21585
 
cat confdefs.h >>conftest.$ac_ext
21586
 
cat >>conftest.$ac_ext <<_ACEOF
21587
 
/* end confdefs.h.  */
21588
 
$ac_includes_default
21589
 
@%:@include <X11/extensions/scrnsaver.h>
21590
 
_ACEOF
21591
 
rm -f conftest.$ac_objext
21592
 
if { (ac_try="$ac_compile"
21593
 
case "(($ac_try" in
21594
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21595
 
  *) ac_try_echo=$ac_try;;
21596
 
esac
21597
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21598
 
  (eval "$ac_compile") 2>conftest.er1
21599
 
  ac_status=$?
21600
 
  grep -v '^ *+' conftest.er1 >conftest.err
21601
 
  rm -f conftest.er1
21602
 
  cat conftest.err >&5
21603
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21604
 
  (exit $ac_status); } && {
21605
 
         test -z "$ac_c_werror_flag" ||
21606
 
         test ! -s conftest.err
21607
 
       } && test -s conftest.$ac_objext; then
21608
 
  ac_header_compiler=yes
21609
 
else
21610
 
  echo "$as_me: failed program was:" >&5
21611
 
sed 's/^/| /' conftest.$ac_ext >&5
21612
 
 
21613
 
        ac_header_compiler=no
21614
 
fi
21615
 
 
21616
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21617
 
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21618
 
echo "${ECHO_T}$ac_header_compiler" >&6; }
21619
 
 
21620
 
# Is the header present?
21621
 
{ echo "$as_me:$LINENO: checking X11/extensions/scrnsaver.h presence" >&5
21622
 
echo $ECHO_N "checking X11/extensions/scrnsaver.h presence... $ECHO_C" >&6; }
21623
 
cat >conftest.$ac_ext <<_ACEOF
21624
 
/* confdefs.h.  */
21625
 
_ACEOF
21626
 
cat confdefs.h >>conftest.$ac_ext
21627
 
cat >>conftest.$ac_ext <<_ACEOF
21628
 
/* end confdefs.h.  */
21629
 
@%:@include <X11/extensions/scrnsaver.h>
21630
 
_ACEOF
21631
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
21632
 
case "(($ac_try" in
21633
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21634
 
  *) ac_try_echo=$ac_try;;
21635
 
esac
21636
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21637
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
21638
 
  ac_status=$?
21639
 
  grep -v '^ *+' conftest.er1 >conftest.err
21640
 
  rm -f conftest.er1
21641
 
  cat conftest.err >&5
21642
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21643
 
  (exit $ac_status); } >/dev/null && {
21644
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
21645
 
         test ! -s conftest.err
21646
 
       }; then
21647
 
  ac_header_preproc=yes
21648
 
else
21649
 
  echo "$as_me: failed program was:" >&5
21650
 
sed 's/^/| /' conftest.$ac_ext >&5
21651
 
 
21652
 
  ac_header_preproc=no
21653
 
fi
21654
 
 
21655
 
rm -f conftest.err conftest.$ac_ext
21656
 
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21657
 
echo "${ECHO_T}$ac_header_preproc" >&6; }
21658
 
 
21659
 
# So?  What about this header?
21660
 
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21661
 
  yes:no: )
21662
 
    { echo "$as_me:$LINENO: WARNING: X11/extensions/scrnsaver.h: accepted by the compiler, rejected by the preprocessor!" >&5
21663
 
echo "$as_me: WARNING: X11/extensions/scrnsaver.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
21664
 
    { echo "$as_me:$LINENO: WARNING: X11/extensions/scrnsaver.h: proceeding with the compiler's result" >&5
21665
 
echo "$as_me: WARNING: X11/extensions/scrnsaver.h: proceeding with the compiler's result" >&2;}
21666
 
    ac_header_preproc=yes
21667
 
    ;;
21668
 
  no:yes:* )
21669
 
    { echo "$as_me:$LINENO: WARNING: X11/extensions/scrnsaver.h: present but cannot be compiled" >&5
21670
 
echo "$as_me: WARNING: X11/extensions/scrnsaver.h: present but cannot be compiled" >&2;}
21671
 
    { echo "$as_me:$LINENO: WARNING: X11/extensions/scrnsaver.h:     check for missing prerequisite headers?" >&5
21672
 
echo "$as_me: WARNING: X11/extensions/scrnsaver.h:     check for missing prerequisite headers?" >&2;}
21673
 
    { echo "$as_me:$LINENO: WARNING: X11/extensions/scrnsaver.h: see the Autoconf documentation" >&5
21674
 
echo "$as_me: WARNING: X11/extensions/scrnsaver.h: see the Autoconf documentation" >&2;}
21675
 
    { echo "$as_me:$LINENO: WARNING: X11/extensions/scrnsaver.h:     section \"Present But Cannot Be Compiled\"" >&5
21676
 
echo "$as_me: WARNING: X11/extensions/scrnsaver.h:     section \"Present But Cannot Be Compiled\"" >&2;}
21677
 
    { echo "$as_me:$LINENO: WARNING: X11/extensions/scrnsaver.h: proceeding with the preprocessor's result" >&5
21678
 
echo "$as_me: WARNING: X11/extensions/scrnsaver.h: proceeding with the preprocessor's result" >&2;}
21679
 
    { echo "$as_me:$LINENO: WARNING: X11/extensions/scrnsaver.h: in the future, the compiler will take precedence" >&5
21680
 
echo "$as_me: WARNING: X11/extensions/scrnsaver.h: in the future, the compiler will take precedence" >&2;}
21681
 
    ( cat <<\_ASBOX
21682
 
@%:@@%:@ -------------------------------------------------------- @%:@@%:@
21683
 
@%:@@%:@ Report this to open-vm-tools-devel@lists.sourceforge.net @%:@@%:@
21684
 
@%:@@%:@ -------------------------------------------------------- @%:@@%:@
21685
 
_ASBOX
21686
 
     ) | sed "s/^/$as_me: WARNING:     /" >&2
21687
 
    ;;
21688
 
esac
21689
 
{ echo "$as_me:$LINENO: checking for X11/extensions/scrnsaver.h" >&5
21690
 
echo $ECHO_N "checking for X11/extensions/scrnsaver.h... $ECHO_C" >&6; }
21691
 
if test "${ac_cv_header_X11_extensions_scrnsaver_h+set}" = set; then
21692
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
21693
 
else
21694
 
  ac_cv_header_X11_extensions_scrnsaver_h=$ac_header_preproc
21695
 
fi
21696
 
{ echo "$as_me:$LINENO: result: $ac_cv_header_X11_extensions_scrnsaver_h" >&5
21697
 
echo "${ECHO_T}$ac_cv_header_X11_extensions_scrnsaver_h" >&6; }
21698
 
 
21699
 
fi
21700
 
if test $ac_cv_header_X11_extensions_scrnsaver_h = yes; then
21701
 
  :
 
18585
      ac_fn_c_check_header_mongrel "$LINENO" "X11/extensions/scrnsaver.h" "ac_cv_header_X11_extensions_scrnsaver_h" "$ac_includes_default"
 
18586
if test "x$ac_cv_header_X11_extensions_scrnsaver_h" = x""yes; then :
 
18587
  
21702
18588
else
21703
18589
  
21704
18590
          have_header=0;
21705
 
          { { echo "$as_me:$LINENO: error: libXss or headers not found. Please configure without Unity (using --disable-unity) or install the libXss devel package." >&5
21706
 
echo "$as_me: error: libXss or headers not found. Please configure without Unity (using --disable-unity) or install the libXss devel package." >&2;}
21707
 
   { (exit 1); exit 1; }; }
 
18591
          as_fn_error "libXss or headers not found. Please configure without Unity (using --disable-unity) or install the libXss devel package." "$LINENO" 5
21708
18592
         
21709
18593
fi
21710
18594
 
21712
18596
   fi
21713
18597
 
21714
18598
   if test $have_header = 1; then
21715
 
      { echo "$as_me:$LINENO: checking for XScreenSaverQueryExtension in -lXss" >&5
21716
 
echo $ECHO_N "checking for XScreenSaverQueryExtension in -lXss... $ECHO_C" >&6; }
21717
 
if test "${ac_cv_lib_Xss_XScreenSaverQueryExtension+set}" = set; then
21718
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
18599
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XScreenSaverQueryExtension in -lXss" >&5
 
18600
$as_echo_n "checking for XScreenSaverQueryExtension in -lXss... " >&6; }
 
18601
if test "${ac_cv_lib_Xss_XScreenSaverQueryExtension+set}" = set; then :
 
18602
  $as_echo_n "(cached) " >&6
21719
18603
else
21720
18604
  ac_check_lib_save_LIBS=$LIBS
21721
18605
LIBS="-lXss $COMMON_XLIBS $LIBS"
21722
 
cat >conftest.$ac_ext <<_ACEOF
21723
 
/* confdefs.h.  */
21724
 
_ACEOF
21725
 
cat confdefs.h >>conftest.$ac_ext
21726
 
cat >>conftest.$ac_ext <<_ACEOF
 
18606
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21727
18607
/* end confdefs.h.  */
21728
18608
 
21729
18609
/* Override any GCC internal prototype to avoid an error.
21741
18621
  return 0;
21742
18622
}
21743
18623
_ACEOF
21744
 
rm -f conftest.$ac_objext conftest$ac_exeext
21745
 
if { (ac_try="$ac_link"
21746
 
case "(($ac_try" in
21747
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21748
 
  *) ac_try_echo=$ac_try;;
21749
 
esac
21750
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21751
 
  (eval "$ac_link") 2>conftest.er1
21752
 
  ac_status=$?
21753
 
  grep -v '^ *+' conftest.er1 >conftest.err
21754
 
  rm -f conftest.er1
21755
 
  cat conftest.err >&5
21756
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21757
 
  (exit $ac_status); } && {
21758
 
         test -z "$ac_c_werror_flag" ||
21759
 
         test ! -s conftest.err
21760
 
       } && test -s conftest$ac_exeext &&
21761
 
       $as_test_x conftest$ac_exeext; then
 
18624
if ac_fn_c_try_link "$LINENO"; then :
21762
18625
  ac_cv_lib_Xss_XScreenSaverQueryExtension=yes
21763
18626
else
21764
 
  echo "$as_me: failed program was:" >&5
21765
 
sed 's/^/| /' conftest.$ac_ext >&5
21766
 
 
21767
 
        ac_cv_lib_Xss_XScreenSaverQueryExtension=no
 
18627
  ac_cv_lib_Xss_XScreenSaverQueryExtension=no
21768
18628
fi
21769
 
 
21770
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21771
 
      conftest$ac_exeext conftest.$ac_ext
 
18629
rm -f core conftest.err conftest.$ac_objext \
 
18630
    conftest$ac_exeext conftest.$ac_ext
21772
18631
LIBS=$ac_check_lib_save_LIBS
21773
18632
fi
21774
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_Xss_XScreenSaverQueryExtension" >&5
21775
 
echo "${ECHO_T}$ac_cv_lib_Xss_XScreenSaverQueryExtension" >&6; }
21776
 
if test $ac_cv_lib_Xss_XScreenSaverQueryExtension = yes; then
 
18633
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xss_XScreenSaverQueryExtension" >&5
 
18634
$as_echo "$ac_cv_lib_Xss_XScreenSaverQueryExtension" >&6; }
 
18635
if test "x$ac_cv_lib_Xss_XScreenSaverQueryExtension" = x""yes; then :
21777
18636
  COMMON_XLIBS="-lXss $COMMON_XLIBS"
21778
18637
else
21779
 
  { { echo "$as_me:$LINENO: error: libXss or headers not found. Please configure without Unity (using --disable-unity) or install the libXss devel package." >&5
21780
 
echo "$as_me: error: libXss or headers not found. Please configure without Unity (using --disable-unity) or install the libXss devel package." >&2;}
21781
 
   { (exit 1); exit 1; }; }
 
18638
  as_fn_error "libXss or headers not found. Please configure without Unity (using --disable-unity) or install the libXss devel package." "$LINENO" 5
21782
18639
fi
21783
18640
 
21784
18641
   fi
21807
18664
           
21808
18665
        
21809
18666
   if test -z "uriparser"; then
21810
 
      { { echo "$as_me:$LINENO: error: 'library' parameter is required.'" >&5
21811
 
echo "$as_me: error: 'library' parameter is required.'" >&2;}
21812
 
   { (exit 1); exit 1; }; }
 
18667
      as_fn_error "'library' parameter is required.'" "$LINENO" 5
21813
18668
   fi
21814
18669
   if test -z "URIPARSER"; then
21815
 
      { { echo "$as_me:$LINENO: error: 'lvar' parameter is required.'" >&5
21816
 
echo "$as_me: error: 'lvar' parameter is required.'" >&2;}
21817
 
   { (exit 1); exit 1; }; }
 
18670
      as_fn_error "'lvar' parameter is required.'" "$LINENO" 5
21818
18671
   fi
21819
18672
 
21820
18673
   ac_vmw_have_lib=0
21831
18684
         ORIGINAL_CPPFLAGS="$CPPFLAGS"
21832
18685
         CPPFLAGS="${CUSTOM_URIPARSER_CPPFLAGS} $CPPFLAGS"
21833
18686
 
21834
 
         if test "${ac_cv_header_Uri_h+set}" = set; then
21835
 
  { echo "$as_me:$LINENO: checking for Uri.h" >&5
21836
 
echo $ECHO_N "checking for Uri.h... $ECHO_C" >&6; }
21837
 
if test "${ac_cv_header_Uri_h+set}" = set; then
21838
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
21839
 
fi
21840
 
{ echo "$as_me:$LINENO: result: $ac_cv_header_Uri_h" >&5
21841
 
echo "${ECHO_T}$ac_cv_header_Uri_h" >&6; }
21842
 
else
21843
 
  # Is the header compilable?
21844
 
{ echo "$as_me:$LINENO: checking Uri.h usability" >&5
21845
 
echo $ECHO_N "checking Uri.h usability... $ECHO_C" >&6; }
21846
 
cat >conftest.$ac_ext <<_ACEOF
21847
 
/* confdefs.h.  */
21848
 
_ACEOF
21849
 
cat confdefs.h >>conftest.$ac_ext
21850
 
cat >>conftest.$ac_ext <<_ACEOF
21851
 
/* end confdefs.h.  */
21852
 
$ac_includes_default
21853
 
@%:@include <Uri.h>
21854
 
_ACEOF
21855
 
rm -f conftest.$ac_objext
21856
 
if { (ac_try="$ac_compile"
21857
 
case "(($ac_try" in
21858
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21859
 
  *) ac_try_echo=$ac_try;;
21860
 
esac
21861
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21862
 
  (eval "$ac_compile") 2>conftest.er1
21863
 
  ac_status=$?
21864
 
  grep -v '^ *+' conftest.er1 >conftest.err
21865
 
  rm -f conftest.er1
21866
 
  cat conftest.err >&5
21867
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21868
 
  (exit $ac_status); } && {
21869
 
         test -z "$ac_c_werror_flag" ||
21870
 
         test ! -s conftest.err
21871
 
       } && test -s conftest.$ac_objext; then
21872
 
  ac_header_compiler=yes
21873
 
else
21874
 
  echo "$as_me: failed program was:" >&5
21875
 
sed 's/^/| /' conftest.$ac_ext >&5
21876
 
 
21877
 
        ac_header_compiler=no
21878
 
fi
21879
 
 
21880
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21881
 
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21882
 
echo "${ECHO_T}$ac_header_compiler" >&6; }
21883
 
 
21884
 
# Is the header present?
21885
 
{ echo "$as_me:$LINENO: checking Uri.h presence" >&5
21886
 
echo $ECHO_N "checking Uri.h presence... $ECHO_C" >&6; }
21887
 
cat >conftest.$ac_ext <<_ACEOF
21888
 
/* confdefs.h.  */
21889
 
_ACEOF
21890
 
cat confdefs.h >>conftest.$ac_ext
21891
 
cat >>conftest.$ac_ext <<_ACEOF
21892
 
/* end confdefs.h.  */
21893
 
@%:@include <Uri.h>
21894
 
_ACEOF
21895
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
21896
 
case "(($ac_try" in
21897
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21898
 
  *) ac_try_echo=$ac_try;;
21899
 
esac
21900
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21901
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
21902
 
  ac_status=$?
21903
 
  grep -v '^ *+' conftest.er1 >conftest.err
21904
 
  rm -f conftest.er1
21905
 
  cat conftest.err >&5
21906
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21907
 
  (exit $ac_status); } >/dev/null && {
21908
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
21909
 
         test ! -s conftest.err
21910
 
       }; then
21911
 
  ac_header_preproc=yes
21912
 
else
21913
 
  echo "$as_me: failed program was:" >&5
21914
 
sed 's/^/| /' conftest.$ac_ext >&5
21915
 
 
21916
 
  ac_header_preproc=no
21917
 
fi
21918
 
 
21919
 
rm -f conftest.err conftest.$ac_ext
21920
 
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21921
 
echo "${ECHO_T}$ac_header_preproc" >&6; }
21922
 
 
21923
 
# So?  What about this header?
21924
 
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21925
 
  yes:no: )
21926
 
    { echo "$as_me:$LINENO: WARNING: Uri.h: accepted by the compiler, rejected by the preprocessor!" >&5
21927
 
echo "$as_me: WARNING: Uri.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
21928
 
    { echo "$as_me:$LINENO: WARNING: Uri.h: proceeding with the compiler's result" >&5
21929
 
echo "$as_me: WARNING: Uri.h: proceeding with the compiler's result" >&2;}
21930
 
    ac_header_preproc=yes
21931
 
    ;;
21932
 
  no:yes:* )
21933
 
    { echo "$as_me:$LINENO: WARNING: Uri.h: present but cannot be compiled" >&5
21934
 
echo "$as_me: WARNING: Uri.h: present but cannot be compiled" >&2;}
21935
 
    { echo "$as_me:$LINENO: WARNING: Uri.h:     check for missing prerequisite headers?" >&5
21936
 
echo "$as_me: WARNING: Uri.h:     check for missing prerequisite headers?" >&2;}
21937
 
    { echo "$as_me:$LINENO: WARNING: Uri.h: see the Autoconf documentation" >&5
21938
 
echo "$as_me: WARNING: Uri.h: see the Autoconf documentation" >&2;}
21939
 
    { echo "$as_me:$LINENO: WARNING: Uri.h:     section \"Present But Cannot Be Compiled\"" >&5
21940
 
echo "$as_me: WARNING: Uri.h:     section \"Present But Cannot Be Compiled\"" >&2;}
21941
 
    { echo "$as_me:$LINENO: WARNING: Uri.h: proceeding with the preprocessor's result" >&5
21942
 
echo "$as_me: WARNING: Uri.h: proceeding with the preprocessor's result" >&2;}
21943
 
    { echo "$as_me:$LINENO: WARNING: Uri.h: in the future, the compiler will take precedence" >&5
21944
 
echo "$as_me: WARNING: Uri.h: in the future, the compiler will take precedence" >&2;}
21945
 
    ( cat <<\_ASBOX
21946
 
@%:@@%:@ -------------------------------------------------------- @%:@@%:@
21947
 
@%:@@%:@ Report this to open-vm-tools-devel@lists.sourceforge.net @%:@@%:@
21948
 
@%:@@%:@ -------------------------------------------------------- @%:@@%:@
21949
 
_ASBOX
21950
 
     ) | sed "s/^/$as_me: WARNING:     /" >&2
21951
 
    ;;
21952
 
esac
21953
 
{ echo "$as_me:$LINENO: checking for Uri.h" >&5
21954
 
echo $ECHO_N "checking for Uri.h... $ECHO_C" >&6; }
21955
 
if test "${ac_cv_header_Uri_h+set}" = set; then
21956
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
21957
 
else
21958
 
  ac_cv_header_Uri_h=$ac_header_preproc
21959
 
fi
21960
 
{ echo "$as_me:$LINENO: result: $ac_cv_header_Uri_h" >&5
21961
 
echo "${ECHO_T}$ac_cv_header_Uri_h" >&6; }
21962
 
 
21963
 
fi
21964
 
if test $ac_cv_header_Uri_h = yes; then
 
18687
         ac_fn_c_check_header_mongrel "$LINENO" "Uri.h" "ac_cv_header_Uri_h" "$ac_includes_default"
 
18688
if test "x$ac_cv_header_Uri_h" = x""yes; then :
21965
18689
  ac_vmw_have_lib_header=1
21966
18690
fi
21967
18691
 
21981
18705
         else
21982
18706
            ac_vmw_function=strlen
21983
18707
         fi
21984
 
         as_ac_Lib=`echo "ac_cv_lib_uriparser_$ac_vmw_function" | $as_tr_sh`
21985
 
{ echo "$as_me:$LINENO: checking for $ac_vmw_function in -luriparser" >&5
21986
 
echo $ECHO_N "checking for $ac_vmw_function in -luriparser... $ECHO_C" >&6; }
21987
 
if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
21988
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
18708
         as_ac_Lib=`$as_echo "ac_cv_lib_uriparser_$ac_vmw_function" | $as_tr_sh`
 
18709
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_vmw_function in -luriparser" >&5
 
18710
$as_echo_n "checking for $ac_vmw_function in -luriparser... " >&6; }
 
18711
if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then :
 
18712
  $as_echo_n "(cached) " >&6
21989
18713
else
21990
18714
  ac_check_lib_save_LIBS=$LIBS
21991
18715
LIBS="-luriparser $ac_vmw_custom_libs $LIBS"
21992
 
cat >conftest.$ac_ext <<_ACEOF
21993
 
/* confdefs.h.  */
21994
 
_ACEOF
21995
 
cat confdefs.h >>conftest.$ac_ext
21996
 
cat >>conftest.$ac_ext <<_ACEOF
 
18716
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21997
18717
/* end confdefs.h.  */
21998
18718
 
21999
18719
/* Override any GCC internal prototype to avoid an error.
22011
18731
  return 0;
22012
18732
}
22013
18733
_ACEOF
22014
 
rm -f conftest.$ac_objext conftest$ac_exeext
22015
 
if { (ac_try="$ac_link"
22016
 
case "(($ac_try" in
22017
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22018
 
  *) ac_try_echo=$ac_try;;
22019
 
esac
22020
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22021
 
  (eval "$ac_link") 2>conftest.er1
22022
 
  ac_status=$?
22023
 
  grep -v '^ *+' conftest.er1 >conftest.err
22024
 
  rm -f conftest.er1
22025
 
  cat conftest.err >&5
22026
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22027
 
  (exit $ac_status); } && {
22028
 
         test -z "$ac_c_werror_flag" ||
22029
 
         test ! -s conftest.err
22030
 
       } && test -s conftest$ac_exeext &&
22031
 
       $as_test_x conftest$ac_exeext; then
 
18734
if ac_fn_c_try_link "$LINENO"; then :
22032
18735
  eval "$as_ac_Lib=yes"
22033
18736
else
22034
 
  echo "$as_me: failed program was:" >&5
22035
 
sed 's/^/| /' conftest.$ac_ext >&5
22036
 
 
22037
 
        eval "$as_ac_Lib=no"
 
18737
  eval "$as_ac_Lib=no"
22038
18738
fi
22039
 
 
22040
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22041
 
      conftest$ac_exeext conftest.$ac_ext
 
18739
rm -f core conftest.err conftest.$ac_objext \
 
18740
    conftest$ac_exeext conftest.$ac_ext
22042
18741
LIBS=$ac_check_lib_save_LIBS
22043
18742
fi
22044
 
ac_res=`eval echo '${'$as_ac_Lib'}'`
22045
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
22046
 
echo "${ECHO_T}$ac_res" >&6; }
22047
 
if test `eval echo '${'$as_ac_Lib'}'` = yes; then
 
18743
eval ac_res=\$$as_ac_Lib
 
18744
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
18745
$as_echo "$ac_res" >&6; }
 
18746
eval as_val=\$$as_ac_Lib
 
18747
   if test "x$as_val" = x""yes; then :
22048
18748
  ac_vmw_have_lib_func=1
22049
18749
fi
22050
18750
 
22060
18760
   # If that didn't work, try with pkg-config.
22061
18761
   if test $ac_vmw_have_lib -eq 0 && test "$HAVE_PKG_CONFIG" = "yes" && test -n ""; then
22062
18762
      if test -n ""; then
22063
 
         { echo "$as_me:$LINENO: checking for  >=  (via pkg-config)" >&5
22064
 
echo $ECHO_N "checking for  >=  (via pkg-config)... $ECHO_C" >&6; }
 
18763
         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for  >=  (via pkg-config)" >&5
 
18764
$as_echo_n "checking for  >=  (via pkg-config)... " >&6; }
22065
18765
         if pkg-config --exists ' >= '; then
22066
18766
            ac_vmw_have_lib=1
22067
18767
         fi
22068
18768
      else
22069
 
         { echo "$as_me:$LINENO: checking for  (via pkg-config)" >&5
22070
 
echo $ECHO_N "checking for  (via pkg-config)... $ECHO_C" >&6; }
 
18769
         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for  (via pkg-config)" >&5
 
18770
$as_echo_n "checking for  (via pkg-config)... " >&6; }
22071
18771
         if pkg-config --exists ''; then
22072
18772
            ac_vmw_have_lib=1
22073
18773
         fi
22081
18781
         ac_vmw_libs="`pkg-config --libs `"
22082
18782
         ac_vmw_ret2=$?
22083
18783
         if test $ac_vmw_ret1 -eq 0 && test $ac_vmw_ret2 -eq 0; then
22084
 
            { echo "$as_me:$LINENO: result: yes" >&5
22085
 
echo "${ECHO_T}yes" >&6; }
 
18784
            { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
18785
$as_echo "yes" >&6; }
22086
18786
            URIPARSER_CPPFLAGS="$ac_vmw_cppflags"
22087
18787
            URIPARSER_LIBS="$ac_vmw_libs"
22088
18788
         else
22089
 
            { echo "$as_me:$LINENO: result: no" >&5
22090
 
echo "${ECHO_T}no" >&6; }
 
18789
            { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
18790
$as_echo "no" >&6; }
22091
18791
         fi
22092
18792
      else
22093
 
         { echo "$as_me:$LINENO: result: no" >&5
22094
 
echo "${ECHO_T}no" >&6; }
 
18793
         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
18794
$as_echo "no" >&6; }
22095
18795
      fi
22096
18796
   fi
22097
18797
 
22102
18802
   if test $ac_vmw_have_lib -eq 0 && test -n ""; then
22103
18803
      # Extract the first word of "", so it can be a program name with args.
22104
18804
set dummy ; ac_word=$2
22105
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
22106
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
22107
 
if test "${ac_cv_path_ac_vmw_lib_cfg+set}" = set; then
22108
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
18805
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
18806
$as_echo_n "checking for $ac_word... " >&6; }
 
18807
if test "${ac_cv_path_ac_vmw_lib_cfg+set}" = set; then :
 
18808
  $as_echo_n "(cached) " >&6
22109
18809
else
22110
18810
  case $ac_vmw_lib_cfg in
22111
18811
  [\\/]* | ?:[\\/]*)
22117
18817
do
22118
18818
  IFS=$as_save_IFS
22119
18819
  test -z "$as_dir" && as_dir=.
22120
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
18820
    for ac_exec_ext in '' $ac_executable_extensions; do
22121
18821
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
22122
18822
    ac_cv_path_ac_vmw_lib_cfg="$as_dir/$ac_word$ac_exec_ext"
22123
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
18823
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
22124
18824
    break 2
22125
18825
  fi
22126
18826
done
22127
 
done
 
18827
  done
22128
18828
IFS=$as_save_IFS
22129
18829
 
22130
18830
  test -z "$ac_cv_path_ac_vmw_lib_cfg" && ac_cv_path_ac_vmw_lib_cfg="no"
22133
18833
fi
22134
18834
ac_vmw_lib_cfg=$ac_cv_path_ac_vmw_lib_cfg
22135
18835
if test -n "$ac_vmw_lib_cfg"; then
22136
 
  { echo "$as_me:$LINENO: result: $ac_vmw_lib_cfg" >&5
22137
 
echo "${ECHO_T}$ac_vmw_lib_cfg" >&6; }
 
18836
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_vmw_lib_cfg" >&5
 
18837
$as_echo "$ac_vmw_lib_cfg" >&6; }
22138
18838
else
22139
 
  { echo "$as_me:$LINENO: result: no" >&5
22140
 
echo "${ECHO_T}no" >&6; }
 
18839
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
18840
$as_echo "no" >&6; }
22141
18841
fi
22142
18842
 
22143
18843
 
22165
18865
      
22166
18866
   else
22167
18867
      true
22168
 
      { { echo "$as_me:$LINENO: error: uriparser library not found or is too old. Please configure without Unity (using --disable-unity) or install the liburiparser devel package." >&5
22169
 
echo "$as_me: error: uriparser library not found or is too old. Please configure without Unity (using --disable-unity) or install the liburiparser devel package." >&2;}
22170
 
   { (exit 1); exit 1; }; }
 
18868
      as_fn_error "uriparser library not found or is too old. Please configure without Unity (using --disable-unity) or install the liburiparser devel package." "$LINENO" 5
22171
18869
   fi
22172
18870
 
22173
18871
 
22175
18873
           
22176
18874
        
22177
18875
   if test -z "png12"; then
22178
 
      { { echo "$as_me:$LINENO: error: 'library' parameter is required.'" >&5
22179
 
echo "$as_me: error: 'library' parameter is required.'" >&2;}
22180
 
   { (exit 1); exit 1; }; }
 
18876
      as_fn_error "'library' parameter is required.'" "$LINENO" 5
22181
18877
   fi
22182
18878
   if test -z "LIBPNG"; then
22183
 
      { { echo "$as_me:$LINENO: error: 'lvar' parameter is required.'" >&5
22184
 
echo "$as_me: error: 'lvar' parameter is required.'" >&2;}
22185
 
   { (exit 1); exit 1; }; }
 
18879
      as_fn_error "'lvar' parameter is required.'" "$LINENO" 5
22186
18880
   fi
22187
18881
 
22188
18882
   ac_vmw_have_lib=0
22199
18893
         ORIGINAL_CPPFLAGS="$CPPFLAGS"
22200
18894
         CPPFLAGS="${CUSTOM_LIBPNG_CPPFLAGS} $CPPFLAGS"
22201
18895
 
22202
 
         if test "${ac_cv_header_png_h+set}" = set; then
22203
 
  { echo "$as_me:$LINENO: checking for png.h" >&5
22204
 
echo $ECHO_N "checking for png.h... $ECHO_C" >&6; }
22205
 
if test "${ac_cv_header_png_h+set}" = set; then
22206
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
22207
 
fi
22208
 
{ echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
22209
 
echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
22210
 
else
22211
 
  # Is the header compilable?
22212
 
{ echo "$as_me:$LINENO: checking png.h usability" >&5
22213
 
echo $ECHO_N "checking png.h usability... $ECHO_C" >&6; }
22214
 
cat >conftest.$ac_ext <<_ACEOF
22215
 
/* confdefs.h.  */
22216
 
_ACEOF
22217
 
cat confdefs.h >>conftest.$ac_ext
22218
 
cat >>conftest.$ac_ext <<_ACEOF
22219
 
/* end confdefs.h.  */
22220
 
$ac_includes_default
22221
 
@%:@include <png.h>
22222
 
_ACEOF
22223
 
rm -f conftest.$ac_objext
22224
 
if { (ac_try="$ac_compile"
22225
 
case "(($ac_try" in
22226
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22227
 
  *) ac_try_echo=$ac_try;;
22228
 
esac
22229
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22230
 
  (eval "$ac_compile") 2>conftest.er1
22231
 
  ac_status=$?
22232
 
  grep -v '^ *+' conftest.er1 >conftest.err
22233
 
  rm -f conftest.er1
22234
 
  cat conftest.err >&5
22235
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22236
 
  (exit $ac_status); } && {
22237
 
         test -z "$ac_c_werror_flag" ||
22238
 
         test ! -s conftest.err
22239
 
       } && test -s conftest.$ac_objext; then
22240
 
  ac_header_compiler=yes
22241
 
else
22242
 
  echo "$as_me: failed program was:" >&5
22243
 
sed 's/^/| /' conftest.$ac_ext >&5
22244
 
 
22245
 
        ac_header_compiler=no
22246
 
fi
22247
 
 
22248
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22249
 
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22250
 
echo "${ECHO_T}$ac_header_compiler" >&6; }
22251
 
 
22252
 
# Is the header present?
22253
 
{ echo "$as_me:$LINENO: checking png.h presence" >&5
22254
 
echo $ECHO_N "checking png.h presence... $ECHO_C" >&6; }
22255
 
cat >conftest.$ac_ext <<_ACEOF
22256
 
/* confdefs.h.  */
22257
 
_ACEOF
22258
 
cat confdefs.h >>conftest.$ac_ext
22259
 
cat >>conftest.$ac_ext <<_ACEOF
22260
 
/* end confdefs.h.  */
22261
 
@%:@include <png.h>
22262
 
_ACEOF
22263
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
22264
 
case "(($ac_try" in
22265
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22266
 
  *) ac_try_echo=$ac_try;;
22267
 
esac
22268
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22269
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
22270
 
  ac_status=$?
22271
 
  grep -v '^ *+' conftest.er1 >conftest.err
22272
 
  rm -f conftest.er1
22273
 
  cat conftest.err >&5
22274
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22275
 
  (exit $ac_status); } >/dev/null && {
22276
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
22277
 
         test ! -s conftest.err
22278
 
       }; then
22279
 
  ac_header_preproc=yes
22280
 
else
22281
 
  echo "$as_me: failed program was:" >&5
22282
 
sed 's/^/| /' conftest.$ac_ext >&5
22283
 
 
22284
 
  ac_header_preproc=no
22285
 
fi
22286
 
 
22287
 
rm -f conftest.err conftest.$ac_ext
22288
 
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22289
 
echo "${ECHO_T}$ac_header_preproc" >&6; }
22290
 
 
22291
 
# So?  What about this header?
22292
 
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22293
 
  yes:no: )
22294
 
    { echo "$as_me:$LINENO: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&5
22295
 
echo "$as_me: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
22296
 
    { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the compiler's result" >&5
22297
 
echo "$as_me: WARNING: png.h: proceeding with the compiler's result" >&2;}
22298
 
    ac_header_preproc=yes
22299
 
    ;;
22300
 
  no:yes:* )
22301
 
    { echo "$as_me:$LINENO: WARNING: png.h: present but cannot be compiled" >&5
22302
 
echo "$as_me: WARNING: png.h: present but cannot be compiled" >&2;}
22303
 
    { echo "$as_me:$LINENO: WARNING: png.h:     check for missing prerequisite headers?" >&5
22304
 
echo "$as_me: WARNING: png.h:     check for missing prerequisite headers?" >&2;}
22305
 
    { echo "$as_me:$LINENO: WARNING: png.h: see the Autoconf documentation" >&5
22306
 
echo "$as_me: WARNING: png.h: see the Autoconf documentation" >&2;}
22307
 
    { echo "$as_me:$LINENO: WARNING: png.h:     section \"Present But Cannot Be Compiled\"" >&5
22308
 
echo "$as_me: WARNING: png.h:     section \"Present But Cannot Be Compiled\"" >&2;}
22309
 
    { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
22310
 
echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
22311
 
    { echo "$as_me:$LINENO: WARNING: png.h: in the future, the compiler will take precedence" >&5
22312
 
echo "$as_me: WARNING: png.h: in the future, the compiler will take precedence" >&2;}
22313
 
    ( cat <<\_ASBOX
22314
 
@%:@@%:@ -------------------------------------------------------- @%:@@%:@
22315
 
@%:@@%:@ Report this to open-vm-tools-devel@lists.sourceforge.net @%:@@%:@
22316
 
@%:@@%:@ -------------------------------------------------------- @%:@@%:@
22317
 
_ASBOX
22318
 
     ) | sed "s/^/$as_me: WARNING:     /" >&2
22319
 
    ;;
22320
 
esac
22321
 
{ echo "$as_me:$LINENO: checking for png.h" >&5
22322
 
echo $ECHO_N "checking for png.h... $ECHO_C" >&6; }
22323
 
if test "${ac_cv_header_png_h+set}" = set; then
22324
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
22325
 
else
22326
 
  ac_cv_header_png_h=$ac_header_preproc
22327
 
fi
22328
 
{ echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
22329
 
echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
22330
 
 
22331
 
fi
22332
 
if test $ac_cv_header_png_h = yes; then
 
18896
         ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
 
18897
if test "x$ac_cv_header_png_h" = x""yes; then :
22333
18898
  ac_vmw_have_lib_header=1
22334
18899
fi
22335
18900
 
22349
18914
         else
22350
18915
            ac_vmw_function=strlen
22351
18916
         fi
22352
 
         as_ac_Lib=`echo "ac_cv_lib_png12_$ac_vmw_function" | $as_tr_sh`
22353
 
{ echo "$as_me:$LINENO: checking for $ac_vmw_function in -lpng12" >&5
22354
 
echo $ECHO_N "checking for $ac_vmw_function in -lpng12... $ECHO_C" >&6; }
22355
 
if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
22356
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
18917
         as_ac_Lib=`$as_echo "ac_cv_lib_png12_$ac_vmw_function" | $as_tr_sh`
 
18918
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_vmw_function in -lpng12" >&5
 
18919
$as_echo_n "checking for $ac_vmw_function in -lpng12... " >&6; }
 
18920
if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then :
 
18921
  $as_echo_n "(cached) " >&6
22357
18922
else
22358
18923
  ac_check_lib_save_LIBS=$LIBS
22359
18924
LIBS="-lpng12 $ac_vmw_custom_libs $LIBS"
22360
 
cat >conftest.$ac_ext <<_ACEOF
22361
 
/* confdefs.h.  */
22362
 
_ACEOF
22363
 
cat confdefs.h >>conftest.$ac_ext
22364
 
cat >>conftest.$ac_ext <<_ACEOF
 
18925
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22365
18926
/* end confdefs.h.  */
22366
18927
 
22367
18928
/* Override any GCC internal prototype to avoid an error.
22379
18940
  return 0;
22380
18941
}
22381
18942
_ACEOF
22382
 
rm -f conftest.$ac_objext conftest$ac_exeext
22383
 
if { (ac_try="$ac_link"
22384
 
case "(($ac_try" in
22385
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22386
 
  *) ac_try_echo=$ac_try;;
22387
 
esac
22388
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22389
 
  (eval "$ac_link") 2>conftest.er1
22390
 
  ac_status=$?
22391
 
  grep -v '^ *+' conftest.er1 >conftest.err
22392
 
  rm -f conftest.er1
22393
 
  cat conftest.err >&5
22394
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22395
 
  (exit $ac_status); } && {
22396
 
         test -z "$ac_c_werror_flag" ||
22397
 
         test ! -s conftest.err
22398
 
       } && test -s conftest$ac_exeext &&
22399
 
       $as_test_x conftest$ac_exeext; then
 
18943
if ac_fn_c_try_link "$LINENO"; then :
22400
18944
  eval "$as_ac_Lib=yes"
22401
18945
else
22402
 
  echo "$as_me: failed program was:" >&5
22403
 
sed 's/^/| /' conftest.$ac_ext >&5
22404
 
 
22405
 
        eval "$as_ac_Lib=no"
 
18946
  eval "$as_ac_Lib=no"
22406
18947
fi
22407
 
 
22408
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22409
 
      conftest$ac_exeext conftest.$ac_ext
 
18948
rm -f core conftest.err conftest.$ac_objext \
 
18949
    conftest$ac_exeext conftest.$ac_ext
22410
18950
LIBS=$ac_check_lib_save_LIBS
22411
18951
fi
22412
 
ac_res=`eval echo '${'$as_ac_Lib'}'`
22413
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
22414
 
echo "${ECHO_T}$ac_res" >&6; }
22415
 
if test `eval echo '${'$as_ac_Lib'}'` = yes; then
 
18952
eval ac_res=\$$as_ac_Lib
 
18953
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
18954
$as_echo "$ac_res" >&6; }
 
18955
eval as_val=\$$as_ac_Lib
 
18956
   if test "x$as_val" = x""yes; then :
22416
18957
  ac_vmw_have_lib_func=1
22417
18958
fi
22418
18959
 
22428
18969
   # If that didn't work, try with pkg-config.
22429
18970
   if test $ac_vmw_have_lib -eq 0 && test "$HAVE_PKG_CONFIG" = "yes" && test -n "libpng12"; then
22430
18971
      if test -n ""; then
22431
 
         { echo "$as_me:$LINENO: checking for libpng12 >=  (via pkg-config)" >&5
22432
 
echo $ECHO_N "checking for libpng12 >=  (via pkg-config)... $ECHO_C" >&6; }
 
18972
         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libpng12 >=  (via pkg-config)" >&5
 
18973
$as_echo_n "checking for libpng12 >=  (via pkg-config)... " >&6; }
22433
18974
         if pkg-config --exists 'libpng12 >= '; then
22434
18975
            ac_vmw_have_lib=1
22435
18976
         fi
22436
18977
      else
22437
 
         { echo "$as_me:$LINENO: checking for libpng12 (via pkg-config)" >&5
22438
 
echo $ECHO_N "checking for libpng12 (via pkg-config)... $ECHO_C" >&6; }
 
18978
         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libpng12 (via pkg-config)" >&5
 
18979
$as_echo_n "checking for libpng12 (via pkg-config)... " >&6; }
22439
18980
         if pkg-config --exists 'libpng12'; then
22440
18981
            ac_vmw_have_lib=1
22441
18982
         fi
22449
18990
         ac_vmw_libs="`pkg-config --libs libpng12`"
22450
18991
         ac_vmw_ret2=$?
22451
18992
         if test $ac_vmw_ret1 -eq 0 && test $ac_vmw_ret2 -eq 0; then
22452
 
            { echo "$as_me:$LINENO: result: yes" >&5
22453
 
echo "${ECHO_T}yes" >&6; }
 
18993
            { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
18994
$as_echo "yes" >&6; }
22454
18995
            LIBPNG_CPPFLAGS="$ac_vmw_cppflags"
22455
18996
            LIBPNG_LIBS="$ac_vmw_libs"
22456
18997
         else
22457
 
            { echo "$as_me:$LINENO: result: no" >&5
22458
 
echo "${ECHO_T}no" >&6; }
 
18998
            { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
18999
$as_echo "no" >&6; }
22459
19000
         fi
22460
19001
      else
22461
 
         { echo "$as_me:$LINENO: result: no" >&5
22462
 
echo "${ECHO_T}no" >&6; }
 
19002
         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
19003
$as_echo "no" >&6; }
22463
19004
      fi
22464
19005
   fi
22465
19006
 
22470
19011
   if test $ac_vmw_have_lib -eq 0 && test -n "libpng-config"; then
22471
19012
      # Extract the first word of "libpng-config", so it can be a program name with args.
22472
19013
set dummy libpng-config; ac_word=$2
22473
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
22474
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
22475
 
if test "${ac_cv_path_ac_vmw_lib_cfg+set}" = set; then
22476
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
19014
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
19015
$as_echo_n "checking for $ac_word... " >&6; }
 
19016
if test "${ac_cv_path_ac_vmw_lib_cfg+set}" = set; then :
 
19017
  $as_echo_n "(cached) " >&6
22477
19018
else
22478
19019
  case $ac_vmw_lib_cfg in
22479
19020
  [\\/]* | ?:[\\/]*)
22485
19026
do
22486
19027
  IFS=$as_save_IFS
22487
19028
  test -z "$as_dir" && as_dir=.
22488
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
19029
    for ac_exec_ext in '' $ac_executable_extensions; do
22489
19030
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
22490
19031
    ac_cv_path_ac_vmw_lib_cfg="$as_dir/$ac_word$ac_exec_ext"
22491
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
19032
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
22492
19033
    break 2
22493
19034
  fi
22494
19035
done
22495
 
done
 
19036
  done
22496
19037
IFS=$as_save_IFS
22497
19038
 
22498
19039
  test -z "$ac_cv_path_ac_vmw_lib_cfg" && ac_cv_path_ac_vmw_lib_cfg="no"
22501
19042
fi
22502
19043
ac_vmw_lib_cfg=$ac_cv_path_ac_vmw_lib_cfg
22503
19044
if test -n "$ac_vmw_lib_cfg"; then
22504
 
  { echo "$as_me:$LINENO: result: $ac_vmw_lib_cfg" >&5
22505
 
echo "${ECHO_T}$ac_vmw_lib_cfg" >&6; }
 
19045
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_vmw_lib_cfg" >&5
 
19046
$as_echo "$ac_vmw_lib_cfg" >&6; }
22506
19047
else
22507
 
  { echo "$as_me:$LINENO: result: no" >&5
22508
 
echo "${ECHO_T}no" >&6; }
 
19048
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
19049
$as_echo "no" >&6; }
22509
19050
fi
22510
19051
 
22511
19052
 
22533
19074
      
22534
19075
   else
22535
19076
      true
22536
 
      { { echo "$as_me:$LINENO: error: libpng not found. Please configure without Unity (using --disable-unity) or install the libpng devel package" >&5
22537
 
echo "$as_me: error: libpng not found. Please configure without Unity (using --disable-unity) or install the libpng devel package" >&2;}
22538
 
   { (exit 1); exit 1; }; }
 
19077
      as_fn_error "libpng not found. Please configure without Unity (using --disable-unity) or install the libpng devel package" "$LINENO" 5
22539
19078
   fi
22540
19079
 
22541
19080
 
22556
19095
           
22557
19096
        
22558
19097
   if test -z "z"; then
22559
 
      { { echo "$as_me:$LINENO: error: 'library' parameter is required.'" >&5
22560
 
echo "$as_me: error: 'library' parameter is required.'" >&2;}
22561
 
   { (exit 1); exit 1; }; }
 
19098
      as_fn_error "'library' parameter is required.'" "$LINENO" 5
22562
19099
   fi
22563
19100
   if test -z "ZLIB"; then
22564
 
      { { echo "$as_me:$LINENO: error: 'lvar' parameter is required.'" >&5
22565
 
echo "$as_me: error: 'lvar' parameter is required.'" >&2;}
22566
 
   { (exit 1); exit 1; }; }
 
19101
      as_fn_error "'lvar' parameter is required.'" "$LINENO" 5
22567
19102
   fi
22568
19103
 
22569
19104
   ac_vmw_have_lib=0
22580
19115
         ORIGINAL_CPPFLAGS="$CPPFLAGS"
22581
19116
         CPPFLAGS="${CUSTOM_ZLIB_CPPFLAGS} $CPPFLAGS"
22582
19117
 
22583
 
         if test "${ac_cv_header_zlib_h+set}" = set; then
22584
 
  { echo "$as_me:$LINENO: checking for zlib.h" >&5
22585
 
echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6; }
22586
 
if test "${ac_cv_header_zlib_h+set}" = set; then
22587
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
22588
 
fi
22589
 
{ echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
22590
 
echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
22591
 
else
22592
 
  # Is the header compilable?
22593
 
{ echo "$as_me:$LINENO: checking zlib.h usability" >&5
22594
 
echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6; }
22595
 
cat >conftest.$ac_ext <<_ACEOF
22596
 
/* confdefs.h.  */
22597
 
_ACEOF
22598
 
cat confdefs.h >>conftest.$ac_ext
22599
 
cat >>conftest.$ac_ext <<_ACEOF
22600
 
/* end confdefs.h.  */
22601
 
$ac_includes_default
22602
 
@%:@include <zlib.h>
22603
 
_ACEOF
22604
 
rm -f conftest.$ac_objext
22605
 
if { (ac_try="$ac_compile"
22606
 
case "(($ac_try" in
22607
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22608
 
  *) ac_try_echo=$ac_try;;
22609
 
esac
22610
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22611
 
  (eval "$ac_compile") 2>conftest.er1
22612
 
  ac_status=$?
22613
 
  grep -v '^ *+' conftest.er1 >conftest.err
22614
 
  rm -f conftest.er1
22615
 
  cat conftest.err >&5
22616
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22617
 
  (exit $ac_status); } && {
22618
 
         test -z "$ac_c_werror_flag" ||
22619
 
         test ! -s conftest.err
22620
 
       } && test -s conftest.$ac_objext; then
22621
 
  ac_header_compiler=yes
22622
 
else
22623
 
  echo "$as_me: failed program was:" >&5
22624
 
sed 's/^/| /' conftest.$ac_ext >&5
22625
 
 
22626
 
        ac_header_compiler=no
22627
 
fi
22628
 
 
22629
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22630
 
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22631
 
echo "${ECHO_T}$ac_header_compiler" >&6; }
22632
 
 
22633
 
# Is the header present?
22634
 
{ echo "$as_me:$LINENO: checking zlib.h presence" >&5
22635
 
echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6; }
22636
 
cat >conftest.$ac_ext <<_ACEOF
22637
 
/* confdefs.h.  */
22638
 
_ACEOF
22639
 
cat confdefs.h >>conftest.$ac_ext
22640
 
cat >>conftest.$ac_ext <<_ACEOF
22641
 
/* end confdefs.h.  */
22642
 
@%:@include <zlib.h>
22643
 
_ACEOF
22644
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
22645
 
case "(($ac_try" in
22646
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22647
 
  *) ac_try_echo=$ac_try;;
22648
 
esac
22649
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22650
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
22651
 
  ac_status=$?
22652
 
  grep -v '^ *+' conftest.er1 >conftest.err
22653
 
  rm -f conftest.er1
22654
 
  cat conftest.err >&5
22655
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22656
 
  (exit $ac_status); } >/dev/null && {
22657
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
22658
 
         test ! -s conftest.err
22659
 
       }; then
22660
 
  ac_header_preproc=yes
22661
 
else
22662
 
  echo "$as_me: failed program was:" >&5
22663
 
sed 's/^/| /' conftest.$ac_ext >&5
22664
 
 
22665
 
  ac_header_preproc=no
22666
 
fi
22667
 
 
22668
 
rm -f conftest.err conftest.$ac_ext
22669
 
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22670
 
echo "${ECHO_T}$ac_header_preproc" >&6; }
22671
 
 
22672
 
# So?  What about this header?
22673
 
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22674
 
  yes:no: )
22675
 
    { echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
22676
 
echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
22677
 
    { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the compiler's result" >&5
22678
 
echo "$as_me: WARNING: zlib.h: proceeding with the compiler's result" >&2;}
22679
 
    ac_header_preproc=yes
22680
 
    ;;
22681
 
  no:yes:* )
22682
 
    { echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5
22683
 
echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;}
22684
 
    { echo "$as_me:$LINENO: WARNING: zlib.h:     check for missing prerequisite headers?" >&5
22685
 
echo "$as_me: WARNING: zlib.h:     check for missing prerequisite headers?" >&2;}
22686
 
    { echo "$as_me:$LINENO: WARNING: zlib.h: see the Autoconf documentation" >&5
22687
 
echo "$as_me: WARNING: zlib.h: see the Autoconf documentation" >&2;}
22688
 
    { echo "$as_me:$LINENO: WARNING: zlib.h:     section \"Present But Cannot Be Compiled\"" >&5
22689
 
echo "$as_me: WARNING: zlib.h:     section \"Present But Cannot Be Compiled\"" >&2;}
22690
 
    { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
22691
 
echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
22692
 
    { echo "$as_me:$LINENO: WARNING: zlib.h: in the future, the compiler will take precedence" >&5
22693
 
echo "$as_me: WARNING: zlib.h: in the future, the compiler will take precedence" >&2;}
22694
 
    ( cat <<\_ASBOX
22695
 
@%:@@%:@ -------------------------------------------------------- @%:@@%:@
22696
 
@%:@@%:@ Report this to open-vm-tools-devel@lists.sourceforge.net @%:@@%:@
22697
 
@%:@@%:@ -------------------------------------------------------- @%:@@%:@
22698
 
_ASBOX
22699
 
     ) | sed "s/^/$as_me: WARNING:     /" >&2
22700
 
    ;;
22701
 
esac
22702
 
{ echo "$as_me:$LINENO: checking for zlib.h" >&5
22703
 
echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6; }
22704
 
if test "${ac_cv_header_zlib_h+set}" = set; then
22705
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
22706
 
else
22707
 
  ac_cv_header_zlib_h=$ac_header_preproc
22708
 
fi
22709
 
{ echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
22710
 
echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
22711
 
 
22712
 
fi
22713
 
if test $ac_cv_header_zlib_h = yes; then
 
19118
         ac_fn_c_check_header_mongrel "$LINENO" "zlib.h" "ac_cv_header_zlib_h" "$ac_includes_default"
 
19119
if test "x$ac_cv_header_zlib_h" = x""yes; then :
22714
19120
  ac_vmw_have_lib_header=1
22715
19121
fi
22716
19122
 
22730
19136
         else
22731
19137
            ac_vmw_function=strlen
22732
19138
         fi
22733
 
         as_ac_Lib=`echo "ac_cv_lib_z_$ac_vmw_function" | $as_tr_sh`
22734
 
{ echo "$as_me:$LINENO: checking for $ac_vmw_function in -lz" >&5
22735
 
echo $ECHO_N "checking for $ac_vmw_function in -lz... $ECHO_C" >&6; }
22736
 
if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
22737
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
19139
         as_ac_Lib=`$as_echo "ac_cv_lib_z_$ac_vmw_function" | $as_tr_sh`
 
19140
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_vmw_function in -lz" >&5
 
19141
$as_echo_n "checking for $ac_vmw_function in -lz... " >&6; }
 
19142
if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then :
 
19143
  $as_echo_n "(cached) " >&6
22738
19144
else
22739
19145
  ac_check_lib_save_LIBS=$LIBS
22740
19146
LIBS="-lz $ac_vmw_custom_libs $LIBS"
22741
 
cat >conftest.$ac_ext <<_ACEOF
22742
 
/* confdefs.h.  */
22743
 
_ACEOF
22744
 
cat confdefs.h >>conftest.$ac_ext
22745
 
cat >>conftest.$ac_ext <<_ACEOF
 
19147
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22746
19148
/* end confdefs.h.  */
22747
19149
 
22748
19150
/* Override any GCC internal prototype to avoid an error.
22760
19162
  return 0;
22761
19163
}
22762
19164
_ACEOF
22763
 
rm -f conftest.$ac_objext conftest$ac_exeext
22764
 
if { (ac_try="$ac_link"
22765
 
case "(($ac_try" in
22766
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22767
 
  *) ac_try_echo=$ac_try;;
22768
 
esac
22769
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22770
 
  (eval "$ac_link") 2>conftest.er1
22771
 
  ac_status=$?
22772
 
  grep -v '^ *+' conftest.er1 >conftest.err
22773
 
  rm -f conftest.er1
22774
 
  cat conftest.err >&5
22775
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22776
 
  (exit $ac_status); } && {
22777
 
         test -z "$ac_c_werror_flag" ||
22778
 
         test ! -s conftest.err
22779
 
       } && test -s conftest$ac_exeext &&
22780
 
       $as_test_x conftest$ac_exeext; then
 
19165
if ac_fn_c_try_link "$LINENO"; then :
22781
19166
  eval "$as_ac_Lib=yes"
22782
19167
else
22783
 
  echo "$as_me: failed program was:" >&5
22784
 
sed 's/^/| /' conftest.$ac_ext >&5
22785
 
 
22786
 
        eval "$as_ac_Lib=no"
 
19168
  eval "$as_ac_Lib=no"
22787
19169
fi
22788
 
 
22789
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22790
 
      conftest$ac_exeext conftest.$ac_ext
 
19170
rm -f core conftest.err conftest.$ac_objext \
 
19171
    conftest$ac_exeext conftest.$ac_ext
22791
19172
LIBS=$ac_check_lib_save_LIBS
22792
19173
fi
22793
 
ac_res=`eval echo '${'$as_ac_Lib'}'`
22794
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
22795
 
echo "${ECHO_T}$ac_res" >&6; }
22796
 
if test `eval echo '${'$as_ac_Lib'}'` = yes; then
 
19174
eval ac_res=\$$as_ac_Lib
 
19175
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
19176
$as_echo "$ac_res" >&6; }
 
19177
eval as_val=\$$as_ac_Lib
 
19178
   if test "x$as_val" = x""yes; then :
22797
19179
  ac_vmw_have_lib_func=1
22798
19180
fi
22799
19181
 
22809
19191
   # If that didn't work, try with pkg-config.
22810
19192
   if test $ac_vmw_have_lib -eq 0 && test "$HAVE_PKG_CONFIG" = "yes" && test -n ""; then
22811
19193
      if test -n ""; then
22812
 
         { echo "$as_me:$LINENO: checking for  >=  (via pkg-config)" >&5
22813
 
echo $ECHO_N "checking for  >=  (via pkg-config)... $ECHO_C" >&6; }
 
19194
         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for  >=  (via pkg-config)" >&5
 
19195
$as_echo_n "checking for  >=  (via pkg-config)... " >&6; }
22814
19196
         if pkg-config --exists ' >= '; then
22815
19197
            ac_vmw_have_lib=1
22816
19198
         fi
22817
19199
      else
22818
 
         { echo "$as_me:$LINENO: checking for  (via pkg-config)" >&5
22819
 
echo $ECHO_N "checking for  (via pkg-config)... $ECHO_C" >&6; }
 
19200
         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for  (via pkg-config)" >&5
 
19201
$as_echo_n "checking for  (via pkg-config)... " >&6; }
22820
19202
         if pkg-config --exists ''; then
22821
19203
            ac_vmw_have_lib=1
22822
19204
         fi
22830
19212
         ac_vmw_libs="`pkg-config --libs `"
22831
19213
         ac_vmw_ret2=$?
22832
19214
         if test $ac_vmw_ret1 -eq 0 && test $ac_vmw_ret2 -eq 0; then
22833
 
            { echo "$as_me:$LINENO: result: yes" >&5
22834
 
echo "${ECHO_T}yes" >&6; }
 
19215
            { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
19216
$as_echo "yes" >&6; }
22835
19217
            ZLIB_CPPFLAGS="$ac_vmw_cppflags"
22836
19218
            ZLIB_LIBS="$ac_vmw_libs"
22837
19219
         else
22838
 
            { echo "$as_me:$LINENO: result: no" >&5
22839
 
echo "${ECHO_T}no" >&6; }
 
19220
            { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
19221
$as_echo "no" >&6; }
22840
19222
         fi
22841
19223
      else
22842
 
         { echo "$as_me:$LINENO: result: no" >&5
22843
 
echo "${ECHO_T}no" >&6; }
 
19224
         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
19225
$as_echo "no" >&6; }
22844
19226
      fi
22845
19227
   fi
22846
19228
 
22851
19233
   if test $ac_vmw_have_lib -eq 0 && test -n ""; then
22852
19234
      # Extract the first word of "", so it can be a program name with args.
22853
19235
set dummy ; ac_word=$2
22854
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
22855
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
22856
 
if test "${ac_cv_path_ac_vmw_lib_cfg+set}" = set; then
22857
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
19236
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
19237
$as_echo_n "checking for $ac_word... " >&6; }
 
19238
if test "${ac_cv_path_ac_vmw_lib_cfg+set}" = set; then :
 
19239
  $as_echo_n "(cached) " >&6
22858
19240
else
22859
19241
  case $ac_vmw_lib_cfg in
22860
19242
  [\\/]* | ?:[\\/]*)
22866
19248
do
22867
19249
  IFS=$as_save_IFS
22868
19250
  test -z "$as_dir" && as_dir=.
22869
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
19251
    for ac_exec_ext in '' $ac_executable_extensions; do
22870
19252
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
22871
19253
    ac_cv_path_ac_vmw_lib_cfg="$as_dir/$ac_word$ac_exec_ext"
22872
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
19254
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
22873
19255
    break 2
22874
19256
  fi
22875
19257
done
22876
 
done
 
19258
  done
22877
19259
IFS=$as_save_IFS
22878
19260
 
22879
19261
  test -z "$ac_cv_path_ac_vmw_lib_cfg" && ac_cv_path_ac_vmw_lib_cfg="no"
22882
19264
fi
22883
19265
ac_vmw_lib_cfg=$ac_cv_path_ac_vmw_lib_cfg
22884
19266
if test -n "$ac_vmw_lib_cfg"; then
22885
 
  { echo "$as_me:$LINENO: result: $ac_vmw_lib_cfg" >&5
22886
 
echo "${ECHO_T}$ac_vmw_lib_cfg" >&6; }
 
19267
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_vmw_lib_cfg" >&5
 
19268
$as_echo "$ac_vmw_lib_cfg" >&6; }
22887
19269
else
22888
 
  { echo "$as_me:$LINENO: result: no" >&5
22889
 
echo "${ECHO_T}no" >&6; }
 
19270
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
19271
$as_echo "no" >&6; }
22890
19272
fi
22891
19273
 
22892
19274
 
22914
19296
      
22915
19297
   else
22916
19298
      true
22917
 
      { { echo "$as_me:$LINENO: error: zlib library not found. Please configure without Unity (using --disable-unity) or install the zlib devel package." >&5
22918
 
echo "$as_me: error: zlib library not found. Please configure without Unity (using --disable-unity) or install the zlib devel package." >&2;}
22919
 
   { (exit 1); exit 1; }; }
 
19299
      as_fn_error "zlib library not found. Please configure without Unity (using --disable-unity) or install the zlib devel package." "$LINENO" 5
22920
19300
   fi
22921
19301
 
22922
19302
   fi # End of library checks for Unity.
22928
19308
      
22929
19309
        
22930
19310
   if test -z "gtk-x11-2.0"; then
22931
 
      { { echo "$as_me:$LINENO: error: 'library' parameter is required.'" >&5
22932
 
echo "$as_me: error: 'library' parameter is required.'" >&2;}
22933
 
   { (exit 1); exit 1; }; }
 
19311
      as_fn_error "'library' parameter is required.'" "$LINENO" 5
22934
19312
   fi
22935
19313
   if test -z "GTK"; then
22936
 
      { { echo "$as_me:$LINENO: error: 'lvar' parameter is required.'" >&5
22937
 
echo "$as_me: error: 'lvar' parameter is required.'" >&2;}
22938
 
   { (exit 1); exit 1; }; }
 
19314
      as_fn_error "'lvar' parameter is required.'" "$LINENO" 5
22939
19315
   fi
22940
19316
 
22941
19317
   ac_vmw_have_lib=0
22952
19328
         ORIGINAL_CPPFLAGS="$CPPFLAGS"
22953
19329
         CPPFLAGS="${CUSTOM_GTK_CPPFLAGS} $CPPFLAGS"
22954
19330
 
22955
 
         if test "${ac_cv_header_gtk_gtk_h+set}" = set; then
22956
 
  { echo "$as_me:$LINENO: checking for gtk/gtk.h" >&5
22957
 
echo $ECHO_N "checking for gtk/gtk.h... $ECHO_C" >&6; }
22958
 
if test "${ac_cv_header_gtk_gtk_h+set}" = set; then
22959
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
22960
 
fi
22961
 
{ echo "$as_me:$LINENO: result: $ac_cv_header_gtk_gtk_h" >&5
22962
 
echo "${ECHO_T}$ac_cv_header_gtk_gtk_h" >&6; }
22963
 
else
22964
 
  # Is the header compilable?
22965
 
{ echo "$as_me:$LINENO: checking gtk/gtk.h usability" >&5
22966
 
echo $ECHO_N "checking gtk/gtk.h usability... $ECHO_C" >&6; }
22967
 
cat >conftest.$ac_ext <<_ACEOF
22968
 
/* confdefs.h.  */
22969
 
_ACEOF
22970
 
cat confdefs.h >>conftest.$ac_ext
22971
 
cat >>conftest.$ac_ext <<_ACEOF
22972
 
/* end confdefs.h.  */
22973
 
$ac_includes_default
22974
 
@%:@include <gtk/gtk.h>
22975
 
_ACEOF
22976
 
rm -f conftest.$ac_objext
22977
 
if { (ac_try="$ac_compile"
22978
 
case "(($ac_try" in
22979
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22980
 
  *) ac_try_echo=$ac_try;;
22981
 
esac
22982
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22983
 
  (eval "$ac_compile") 2>conftest.er1
22984
 
  ac_status=$?
22985
 
  grep -v '^ *+' conftest.er1 >conftest.err
22986
 
  rm -f conftest.er1
22987
 
  cat conftest.err >&5
22988
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22989
 
  (exit $ac_status); } && {
22990
 
         test -z "$ac_c_werror_flag" ||
22991
 
         test ! -s conftest.err
22992
 
       } && test -s conftest.$ac_objext; then
22993
 
  ac_header_compiler=yes
22994
 
else
22995
 
  echo "$as_me: failed program was:" >&5
22996
 
sed 's/^/| /' conftest.$ac_ext >&5
22997
 
 
22998
 
        ac_header_compiler=no
22999
 
fi
23000
 
 
23001
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23002
 
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23003
 
echo "${ECHO_T}$ac_header_compiler" >&6; }
23004
 
 
23005
 
# Is the header present?
23006
 
{ echo "$as_me:$LINENO: checking gtk/gtk.h presence" >&5
23007
 
echo $ECHO_N "checking gtk/gtk.h presence... $ECHO_C" >&6; }
23008
 
cat >conftest.$ac_ext <<_ACEOF
23009
 
/* confdefs.h.  */
23010
 
_ACEOF
23011
 
cat confdefs.h >>conftest.$ac_ext
23012
 
cat >>conftest.$ac_ext <<_ACEOF
23013
 
/* end confdefs.h.  */
23014
 
@%:@include <gtk/gtk.h>
23015
 
_ACEOF
23016
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
23017
 
case "(($ac_try" in
23018
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23019
 
  *) ac_try_echo=$ac_try;;
23020
 
esac
23021
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23022
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
23023
 
  ac_status=$?
23024
 
  grep -v '^ *+' conftest.er1 >conftest.err
23025
 
  rm -f conftest.er1
23026
 
  cat conftest.err >&5
23027
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23028
 
  (exit $ac_status); } >/dev/null && {
23029
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
23030
 
         test ! -s conftest.err
23031
 
       }; then
23032
 
  ac_header_preproc=yes
23033
 
else
23034
 
  echo "$as_me: failed program was:" >&5
23035
 
sed 's/^/| /' conftest.$ac_ext >&5
23036
 
 
23037
 
  ac_header_preproc=no
23038
 
fi
23039
 
 
23040
 
rm -f conftest.err conftest.$ac_ext
23041
 
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23042
 
echo "${ECHO_T}$ac_header_preproc" >&6; }
23043
 
 
23044
 
# So?  What about this header?
23045
 
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
23046
 
  yes:no: )
23047
 
    { echo "$as_me:$LINENO: WARNING: gtk/gtk.h: accepted by the compiler, rejected by the preprocessor!" >&5
23048
 
echo "$as_me: WARNING: gtk/gtk.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
23049
 
    { echo "$as_me:$LINENO: WARNING: gtk/gtk.h: proceeding with the compiler's result" >&5
23050
 
echo "$as_me: WARNING: gtk/gtk.h: proceeding with the compiler's result" >&2;}
23051
 
    ac_header_preproc=yes
23052
 
    ;;
23053
 
  no:yes:* )
23054
 
    { echo "$as_me:$LINENO: WARNING: gtk/gtk.h: present but cannot be compiled" >&5
23055
 
echo "$as_me: WARNING: gtk/gtk.h: present but cannot be compiled" >&2;}
23056
 
    { echo "$as_me:$LINENO: WARNING: gtk/gtk.h:     check for missing prerequisite headers?" >&5
23057
 
echo "$as_me: WARNING: gtk/gtk.h:     check for missing prerequisite headers?" >&2;}
23058
 
    { echo "$as_me:$LINENO: WARNING: gtk/gtk.h: see the Autoconf documentation" >&5
23059
 
echo "$as_me: WARNING: gtk/gtk.h: see the Autoconf documentation" >&2;}
23060
 
    { echo "$as_me:$LINENO: WARNING: gtk/gtk.h:     section \"Present But Cannot Be Compiled\"" >&5
23061
 
echo "$as_me: WARNING: gtk/gtk.h:     section \"Present But Cannot Be Compiled\"" >&2;}
23062
 
    { echo "$as_me:$LINENO: WARNING: gtk/gtk.h: proceeding with the preprocessor's result" >&5
23063
 
echo "$as_me: WARNING: gtk/gtk.h: proceeding with the preprocessor's result" >&2;}
23064
 
    { echo "$as_me:$LINENO: WARNING: gtk/gtk.h: in the future, the compiler will take precedence" >&5
23065
 
echo "$as_me: WARNING: gtk/gtk.h: in the future, the compiler will take precedence" >&2;}
23066
 
    ( cat <<\_ASBOX
23067
 
@%:@@%:@ -------------------------------------------------------- @%:@@%:@
23068
 
@%:@@%:@ Report this to open-vm-tools-devel@lists.sourceforge.net @%:@@%:@
23069
 
@%:@@%:@ -------------------------------------------------------- @%:@@%:@
23070
 
_ASBOX
23071
 
     ) | sed "s/^/$as_me: WARNING:     /" >&2
23072
 
    ;;
23073
 
esac
23074
 
{ echo "$as_me:$LINENO: checking for gtk/gtk.h" >&5
23075
 
echo $ECHO_N "checking for gtk/gtk.h... $ECHO_C" >&6; }
23076
 
if test "${ac_cv_header_gtk_gtk_h+set}" = set; then
23077
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
23078
 
else
23079
 
  ac_cv_header_gtk_gtk_h=$ac_header_preproc
23080
 
fi
23081
 
{ echo "$as_me:$LINENO: result: $ac_cv_header_gtk_gtk_h" >&5
23082
 
echo "${ECHO_T}$ac_cv_header_gtk_gtk_h" >&6; }
23083
 
 
23084
 
fi
23085
 
if test $ac_cv_header_gtk_gtk_h = yes; then
 
19331
         ac_fn_c_check_header_mongrel "$LINENO" "gtk/gtk.h" "ac_cv_header_gtk_gtk_h" "$ac_includes_default"
 
19332
if test "x$ac_cv_header_gtk_gtk_h" = x""yes; then :
23086
19333
  ac_vmw_have_lib_header=1
23087
19334
fi
23088
19335
 
23102
19349
         else
23103
19350
            ac_vmw_function=strlen
23104
19351
         fi
23105
 
         as_ac_Lib=`echo "ac_cv_lib_gtk-x11-2.0_$ac_vmw_function" | $as_tr_sh`
23106
 
{ echo "$as_me:$LINENO: checking for $ac_vmw_function in -lgtk-x11-2.0" >&5
23107
 
echo $ECHO_N "checking for $ac_vmw_function in -lgtk-x11-2.0... $ECHO_C" >&6; }
23108
 
if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
23109
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
19352
         as_ac_Lib=`$as_echo "ac_cv_lib_gtk-x11-2.0_$ac_vmw_function" | $as_tr_sh`
 
19353
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_vmw_function in -lgtk-x11-2.0" >&5
 
19354
$as_echo_n "checking for $ac_vmw_function in -lgtk-x11-2.0... " >&6; }
 
19355
if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then :
 
19356
  $as_echo_n "(cached) " >&6
23110
19357
else
23111
19358
  ac_check_lib_save_LIBS=$LIBS
23112
19359
LIBS="-lgtk-x11-2.0 $ac_vmw_custom_libs $LIBS"
23113
 
cat >conftest.$ac_ext <<_ACEOF
23114
 
/* confdefs.h.  */
23115
 
_ACEOF
23116
 
cat confdefs.h >>conftest.$ac_ext
23117
 
cat >>conftest.$ac_ext <<_ACEOF
 
19360
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23118
19361
/* end confdefs.h.  */
23119
19362
 
23120
19363
/* Override any GCC internal prototype to avoid an error.
23132
19375
  return 0;
23133
19376
}
23134
19377
_ACEOF
23135
 
rm -f conftest.$ac_objext conftest$ac_exeext
23136
 
if { (ac_try="$ac_link"
23137
 
case "(($ac_try" in
23138
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23139
 
  *) ac_try_echo=$ac_try;;
23140
 
esac
23141
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23142
 
  (eval "$ac_link") 2>conftest.er1
23143
 
  ac_status=$?
23144
 
  grep -v '^ *+' conftest.er1 >conftest.err
23145
 
  rm -f conftest.er1
23146
 
  cat conftest.err >&5
23147
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23148
 
  (exit $ac_status); } && {
23149
 
         test -z "$ac_c_werror_flag" ||
23150
 
         test ! -s conftest.err
23151
 
       } && test -s conftest$ac_exeext &&
23152
 
       $as_test_x conftest$ac_exeext; then
 
19378
if ac_fn_c_try_link "$LINENO"; then :
23153
19379
  eval "$as_ac_Lib=yes"
23154
19380
else
23155
 
  echo "$as_me: failed program was:" >&5
23156
 
sed 's/^/| /' conftest.$ac_ext >&5
23157
 
 
23158
 
        eval "$as_ac_Lib=no"
 
19381
  eval "$as_ac_Lib=no"
23159
19382
fi
23160
 
 
23161
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23162
 
      conftest$ac_exeext conftest.$ac_ext
 
19383
rm -f core conftest.err conftest.$ac_objext \
 
19384
    conftest$ac_exeext conftest.$ac_ext
23163
19385
LIBS=$ac_check_lib_save_LIBS
23164
19386
fi
23165
 
ac_res=`eval echo '${'$as_ac_Lib'}'`
23166
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
23167
 
echo "${ECHO_T}$ac_res" >&6; }
23168
 
if test `eval echo '${'$as_ac_Lib'}'` = yes; then
 
19387
eval ac_res=\$$as_ac_Lib
 
19388
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
19389
$as_echo "$ac_res" >&6; }
 
19390
eval as_val=\$$as_ac_Lib
 
19391
   if test "x$as_val" = x""yes; then :
23169
19392
  ac_vmw_have_lib_func=1
23170
19393
fi
23171
19394
 
23181
19404
   # If that didn't work, try with pkg-config.
23182
19405
   if test $ac_vmw_have_lib -eq 0 && test "$HAVE_PKG_CONFIG" = "yes" && test -n "gtk+-2.0"; then
23183
19406
      if test -n "2.4.0"; then
23184
 
         { echo "$as_me:$LINENO: checking for gtk+-2.0 >= 2.4.0 (via pkg-config)" >&5
23185
 
echo $ECHO_N "checking for gtk+-2.0 >= 2.4.0 (via pkg-config)... $ECHO_C" >&6; }
 
19407
         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gtk+-2.0 >= 2.4.0 (via pkg-config)" >&5
 
19408
$as_echo_n "checking for gtk+-2.0 >= 2.4.0 (via pkg-config)... " >&6; }
23186
19409
         if pkg-config --exists 'gtk+-2.0 >= 2.4.0'; then
23187
19410
            ac_vmw_have_lib=1
23188
19411
         fi
23189
19412
      else
23190
 
         { echo "$as_me:$LINENO: checking for gtk+-2.0 (via pkg-config)" >&5
23191
 
echo $ECHO_N "checking for gtk+-2.0 (via pkg-config)... $ECHO_C" >&6; }
 
19413
         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gtk+-2.0 (via pkg-config)" >&5
 
19414
$as_echo_n "checking for gtk+-2.0 (via pkg-config)... " >&6; }
23192
19415
         if pkg-config --exists 'gtk+-2.0'; then
23193
19416
            ac_vmw_have_lib=1
23194
19417
         fi
23202
19425
         ac_vmw_libs="`pkg-config --libs gtk+-2.0`"
23203
19426
         ac_vmw_ret2=$?
23204
19427
         if test $ac_vmw_ret1 -eq 0 && test $ac_vmw_ret2 -eq 0; then
23205
 
            { echo "$as_me:$LINENO: result: yes" >&5
23206
 
echo "${ECHO_T}yes" >&6; }
 
19428
            { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
19429
$as_echo "yes" >&6; }
23207
19430
            GTK_CPPFLAGS="$ac_vmw_cppflags"
23208
19431
            GTK_LIBS="$ac_vmw_libs"
23209
19432
         else
23210
 
            { echo "$as_me:$LINENO: result: no" >&5
23211
 
echo "${ECHO_T}no" >&6; }
 
19433
            { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
19434
$as_echo "no" >&6; }
23212
19435
         fi
23213
19436
      else
23214
 
         { echo "$as_me:$LINENO: result: no" >&5
23215
 
echo "${ECHO_T}no" >&6; }
 
19437
         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
19438
$as_echo "no" >&6; }
23216
19439
      fi
23217
19440
   fi
23218
19441
 
23223
19446
   if test $ac_vmw_have_lib -eq 0 && test -n ""; then
23224
19447
      # Extract the first word of "", so it can be a program name with args.
23225
19448
set dummy ; ac_word=$2
23226
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
23227
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
23228
 
if test "${ac_cv_path_ac_vmw_lib_cfg+set}" = set; then
23229
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
19449
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
19450
$as_echo_n "checking for $ac_word... " >&6; }
 
19451
if test "${ac_cv_path_ac_vmw_lib_cfg+set}" = set; then :
 
19452
  $as_echo_n "(cached) " >&6
23230
19453
else
23231
19454
  case $ac_vmw_lib_cfg in
23232
19455
  [\\/]* | ?:[\\/]*)
23238
19461
do
23239
19462
  IFS=$as_save_IFS
23240
19463
  test -z "$as_dir" && as_dir=.
23241
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
19464
    for ac_exec_ext in '' $ac_executable_extensions; do
23242
19465
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
23243
19466
    ac_cv_path_ac_vmw_lib_cfg="$as_dir/$ac_word$ac_exec_ext"
23244
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
19467
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
23245
19468
    break 2
23246
19469
  fi
23247
19470
done
23248
 
done
 
19471
  done
23249
19472
IFS=$as_save_IFS
23250
19473
 
23251
19474
  test -z "$ac_cv_path_ac_vmw_lib_cfg" && ac_cv_path_ac_vmw_lib_cfg="no"
23254
19477
fi
23255
19478
ac_vmw_lib_cfg=$ac_cv_path_ac_vmw_lib_cfg
23256
19479
if test -n "$ac_vmw_lib_cfg"; then
23257
 
  { echo "$as_me:$LINENO: result: $ac_vmw_lib_cfg" >&5
23258
 
echo "${ECHO_T}$ac_vmw_lib_cfg" >&6; }
 
19480
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_vmw_lib_cfg" >&5
 
19481
$as_echo "$ac_vmw_lib_cfg" >&6; }
23259
19482
else
23260
 
  { echo "$as_me:$LINENO: result: no" >&5
23261
 
echo "${ECHO_T}no" >&6; }
 
19483
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
19484
$as_echo "no" >&6; }
23262
19485
fi
23263
19486
 
23264
19487
 
23286
19509
      GTK_CPPFLAGS="$GTK_CPPFLAGS -DGTK2"
23287
19510
   else
23288
19511
      true
23289
 
      { { echo "$as_me:$LINENO: error: Gtk+ 2.0 library not found or too old. Please configure without Gtk+ support (using --without-gtk2) or install the Gtk+ 2.0 devel package." >&5
23290
 
echo "$as_me: error: Gtk+ 2.0 library not found or too old. Please configure without Gtk+ support (using --without-gtk2) or install the Gtk+ 2.0 devel package." >&2;}
23291
 
   { (exit 1); exit 1; }; }
 
19512
      as_fn_error "Gtk+ 2.0 library not found or too old. Please configure without Gtk+ support (using --without-gtk2) or install the Gtk+ 2.0 devel package." "$LINENO" 5
23292
19513
   fi
23293
19514
 
23294
19515
 
23295
19516
      # Unity requires libgdk_pixbuf_xlib, which most systems don't seem to
23296
19517
      # provide via "pkg-config --libs gtk+-2.0".
23297
19518
      if test "$enable_unity" != "no"; then
23298
 
         { echo "$as_me:$LINENO: checking for gdk_pixbuf_xlib_init in -lgdk_pixbuf_xlib-2.0" >&5
23299
 
echo $ECHO_N "checking for gdk_pixbuf_xlib_init in -lgdk_pixbuf_xlib-2.0... $ECHO_C" >&6; }
23300
 
if test "${ac_cv_lib_gdk_pixbuf_xlib_2_0_gdk_pixbuf_xlib_init+set}" = set; then
23301
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
19519
         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gdk_pixbuf_xlib_init in -lgdk_pixbuf_xlib-2.0" >&5
 
19520
$as_echo_n "checking for gdk_pixbuf_xlib_init in -lgdk_pixbuf_xlib-2.0... " >&6; }
 
19521
if test "${ac_cv_lib_gdk_pixbuf_xlib_2_0_gdk_pixbuf_xlib_init+set}" = set; then :
 
19522
  $as_echo_n "(cached) " >&6
23302
19523
else
23303
19524
  ac_check_lib_save_LIBS=$LIBS
23304
19525
LIBS="-lgdk_pixbuf_xlib-2.0 $GTK_LIBS $LIBS"
23305
 
cat >conftest.$ac_ext <<_ACEOF
23306
 
/* confdefs.h.  */
23307
 
_ACEOF
23308
 
cat confdefs.h >>conftest.$ac_ext
23309
 
cat >>conftest.$ac_ext <<_ACEOF
 
19526
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23310
19527
/* end confdefs.h.  */
23311
19528
 
23312
19529
/* Override any GCC internal prototype to avoid an error.
23324
19541
  return 0;
23325
19542
}
23326
19543
_ACEOF
23327
 
rm -f conftest.$ac_objext conftest$ac_exeext
23328
 
if { (ac_try="$ac_link"
23329
 
case "(($ac_try" in
23330
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23331
 
  *) ac_try_echo=$ac_try;;
23332
 
esac
23333
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23334
 
  (eval "$ac_link") 2>conftest.er1
23335
 
  ac_status=$?
23336
 
  grep -v '^ *+' conftest.er1 >conftest.err
23337
 
  rm -f conftest.er1
23338
 
  cat conftest.err >&5
23339
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23340
 
  (exit $ac_status); } && {
23341
 
         test -z "$ac_c_werror_flag" ||
23342
 
         test ! -s conftest.err
23343
 
       } && test -s conftest$ac_exeext &&
23344
 
       $as_test_x conftest$ac_exeext; then
 
19544
if ac_fn_c_try_link "$LINENO"; then :
23345
19545
  ac_cv_lib_gdk_pixbuf_xlib_2_0_gdk_pixbuf_xlib_init=yes
23346
19546
else
23347
 
  echo "$as_me: failed program was:" >&5
23348
 
sed 's/^/| /' conftest.$ac_ext >&5
23349
 
 
23350
 
        ac_cv_lib_gdk_pixbuf_xlib_2_0_gdk_pixbuf_xlib_init=no
 
19547
  ac_cv_lib_gdk_pixbuf_xlib_2_0_gdk_pixbuf_xlib_init=no
23351
19548
fi
23352
 
 
23353
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23354
 
      conftest$ac_exeext conftest.$ac_ext
 
19549
rm -f core conftest.err conftest.$ac_objext \
 
19550
    conftest$ac_exeext conftest.$ac_ext
23355
19551
LIBS=$ac_check_lib_save_LIBS
23356
19552
fi
23357
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_pixbuf_xlib_2_0_gdk_pixbuf_xlib_init" >&5
23358
 
echo "${ECHO_T}$ac_cv_lib_gdk_pixbuf_xlib_2_0_gdk_pixbuf_xlib_init" >&6; }
23359
 
if test $ac_cv_lib_gdk_pixbuf_xlib_2_0_gdk_pixbuf_xlib_init = yes; then
 
19553
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gdk_pixbuf_xlib_2_0_gdk_pixbuf_xlib_init" >&5
 
19554
$as_echo "$ac_cv_lib_gdk_pixbuf_xlib_2_0_gdk_pixbuf_xlib_init" >&6; }
 
19555
if test "x$ac_cv_lib_gdk_pixbuf_xlib_2_0_gdk_pixbuf_xlib_init" = x""yes; then :
23360
19556
  GTK_LIBS="$GTK_LIBS -lgdk_pixbuf_xlib-2.0"
23361
19557
else
23362
 
  { { echo "$as_me:$LINENO: error: gdk_pixbuf_xlib-2.0 not found. Make sure your Gtk 2.0 installation is sane, or configure without Unity (using --disable-unity)." >&5
23363
 
echo "$as_me: error: gdk_pixbuf_xlib-2.0 not found. Make sure your Gtk 2.0 installation is sane, or configure without Unity (using --disable-unity)." >&2;}
23364
 
   { (exit 1); exit 1; }; }
 
19558
  as_fn_error "gdk_pixbuf_xlib-2.0 not found. Make sure your Gtk 2.0 installation is sane, or configure without Unity (using --disable-unity)." "$LINENO" 5
23365
19559
fi
23366
19560
 
23367
19561
      fi
23385
19579
   
23386
19580
        
23387
19581
   if test -z "gtkmm-2.4"; then
23388
 
      { { echo "$as_me:$LINENO: error: 'library' parameter is required.'" >&5
23389
 
echo "$as_me: error: 'library' parameter is required.'" >&2;}
23390
 
   { (exit 1); exit 1; }; }
 
19582
      as_fn_error "'library' parameter is required.'" "$LINENO" 5
23391
19583
   fi
23392
19584
   if test -z "GTKMM"; then
23393
 
      { { echo "$as_me:$LINENO: error: 'lvar' parameter is required.'" >&5
23394
 
echo "$as_me: error: 'lvar' parameter is required.'" >&2;}
23395
 
   { (exit 1); exit 1; }; }
 
19585
      as_fn_error "'lvar' parameter is required.'" "$LINENO" 5
23396
19586
   fi
23397
19587
 
23398
19588
   ac_vmw_have_lib=0
23409
19599
         ORIGINAL_CPPFLAGS="$CPPFLAGS"
23410
19600
         CPPFLAGS="${CUSTOM_GTKMM_CPPFLAGS} $CPPFLAGS"
23411
19601
 
23412
 
         if test "${ac_cv_header_gtkmm_h+set}" = set; then
23413
 
  { echo "$as_me:$LINENO: checking for gtkmm.h" >&5
23414
 
echo $ECHO_N "checking for gtkmm.h... $ECHO_C" >&6; }
23415
 
if test "${ac_cv_header_gtkmm_h+set}" = set; then
23416
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
23417
 
fi
23418
 
{ echo "$as_me:$LINENO: result: $ac_cv_header_gtkmm_h" >&5
23419
 
echo "${ECHO_T}$ac_cv_header_gtkmm_h" >&6; }
23420
 
else
23421
 
  # Is the header compilable?
23422
 
{ echo "$as_me:$LINENO: checking gtkmm.h usability" >&5
23423
 
echo $ECHO_N "checking gtkmm.h usability... $ECHO_C" >&6; }
23424
 
cat >conftest.$ac_ext <<_ACEOF
23425
 
/* confdefs.h.  */
23426
 
_ACEOF
23427
 
cat confdefs.h >>conftest.$ac_ext
23428
 
cat >>conftest.$ac_ext <<_ACEOF
23429
 
/* end confdefs.h.  */
23430
 
$ac_includes_default
23431
 
@%:@include <gtkmm.h>
23432
 
_ACEOF
23433
 
rm -f conftest.$ac_objext
23434
 
if { (ac_try="$ac_compile"
23435
 
case "(($ac_try" in
23436
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23437
 
  *) ac_try_echo=$ac_try;;
23438
 
esac
23439
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23440
 
  (eval "$ac_compile") 2>conftest.er1
23441
 
  ac_status=$?
23442
 
  grep -v '^ *+' conftest.er1 >conftest.err
23443
 
  rm -f conftest.er1
23444
 
  cat conftest.err >&5
23445
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23446
 
  (exit $ac_status); } && {
23447
 
         test -z "$ac_cxx_werror_flag" ||
23448
 
         test ! -s conftest.err
23449
 
       } && test -s conftest.$ac_objext; then
23450
 
  ac_header_compiler=yes
23451
 
else
23452
 
  echo "$as_me: failed program was:" >&5
23453
 
sed 's/^/| /' conftest.$ac_ext >&5
23454
 
 
23455
 
        ac_header_compiler=no
23456
 
fi
23457
 
 
23458
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23459
 
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23460
 
echo "${ECHO_T}$ac_header_compiler" >&6; }
23461
 
 
23462
 
# Is the header present?
23463
 
{ echo "$as_me:$LINENO: checking gtkmm.h presence" >&5
23464
 
echo $ECHO_N "checking gtkmm.h presence... $ECHO_C" >&6; }
23465
 
cat >conftest.$ac_ext <<_ACEOF
23466
 
/* confdefs.h.  */
23467
 
_ACEOF
23468
 
cat confdefs.h >>conftest.$ac_ext
23469
 
cat >>conftest.$ac_ext <<_ACEOF
23470
 
/* end confdefs.h.  */
23471
 
@%:@include <gtkmm.h>
23472
 
_ACEOF
23473
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
23474
 
case "(($ac_try" in
23475
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23476
 
  *) ac_try_echo=$ac_try;;
23477
 
esac
23478
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23479
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
23480
 
  ac_status=$?
23481
 
  grep -v '^ *+' conftest.er1 >conftest.err
23482
 
  rm -f conftest.er1
23483
 
  cat conftest.err >&5
23484
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23485
 
  (exit $ac_status); } >/dev/null && {
23486
 
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
23487
 
         test ! -s conftest.err
23488
 
       }; then
23489
 
  ac_header_preproc=yes
23490
 
else
23491
 
  echo "$as_me: failed program was:" >&5
23492
 
sed 's/^/| /' conftest.$ac_ext >&5
23493
 
 
23494
 
  ac_header_preproc=no
23495
 
fi
23496
 
 
23497
 
rm -f conftest.err conftest.$ac_ext
23498
 
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23499
 
echo "${ECHO_T}$ac_header_preproc" >&6; }
23500
 
 
23501
 
# So?  What about this header?
23502
 
case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
23503
 
  yes:no: )
23504
 
    { echo "$as_me:$LINENO: WARNING: gtkmm.h: accepted by the compiler, rejected by the preprocessor!" >&5
23505
 
echo "$as_me: WARNING: gtkmm.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
23506
 
    { echo "$as_me:$LINENO: WARNING: gtkmm.h: proceeding with the compiler's result" >&5
23507
 
echo "$as_me: WARNING: gtkmm.h: proceeding with the compiler's result" >&2;}
23508
 
    ac_header_preproc=yes
23509
 
    ;;
23510
 
  no:yes:* )
23511
 
    { echo "$as_me:$LINENO: WARNING: gtkmm.h: present but cannot be compiled" >&5
23512
 
echo "$as_me: WARNING: gtkmm.h: present but cannot be compiled" >&2;}
23513
 
    { echo "$as_me:$LINENO: WARNING: gtkmm.h:     check for missing prerequisite headers?" >&5
23514
 
echo "$as_me: WARNING: gtkmm.h:     check for missing prerequisite headers?" >&2;}
23515
 
    { echo "$as_me:$LINENO: WARNING: gtkmm.h: see the Autoconf documentation" >&5
23516
 
echo "$as_me: WARNING: gtkmm.h: see the Autoconf documentation" >&2;}
23517
 
    { echo "$as_me:$LINENO: WARNING: gtkmm.h:     section \"Present But Cannot Be Compiled\"" >&5
23518
 
echo "$as_me: WARNING: gtkmm.h:     section \"Present But Cannot Be Compiled\"" >&2;}
23519
 
    { echo "$as_me:$LINENO: WARNING: gtkmm.h: proceeding with the preprocessor's result" >&5
23520
 
echo "$as_me: WARNING: gtkmm.h: proceeding with the preprocessor's result" >&2;}
23521
 
    { echo "$as_me:$LINENO: WARNING: gtkmm.h: in the future, the compiler will take precedence" >&5
23522
 
echo "$as_me: WARNING: gtkmm.h: in the future, the compiler will take precedence" >&2;}
23523
 
    ( cat <<\_ASBOX
23524
 
@%:@@%:@ -------------------------------------------------------- @%:@@%:@
23525
 
@%:@@%:@ Report this to open-vm-tools-devel@lists.sourceforge.net @%:@@%:@
23526
 
@%:@@%:@ -------------------------------------------------------- @%:@@%:@
23527
 
_ASBOX
23528
 
     ) | sed "s/^/$as_me: WARNING:     /" >&2
23529
 
    ;;
23530
 
esac
23531
 
{ echo "$as_me:$LINENO: checking for gtkmm.h" >&5
23532
 
echo $ECHO_N "checking for gtkmm.h... $ECHO_C" >&6; }
23533
 
if test "${ac_cv_header_gtkmm_h+set}" = set; then
23534
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
23535
 
else
23536
 
  ac_cv_header_gtkmm_h=$ac_header_preproc
23537
 
fi
23538
 
{ echo "$as_me:$LINENO: result: $ac_cv_header_gtkmm_h" >&5
23539
 
echo "${ECHO_T}$ac_cv_header_gtkmm_h" >&6; }
23540
 
 
23541
 
fi
23542
 
if test $ac_cv_header_gtkmm_h = yes; then
 
19602
         ac_fn_cxx_check_header_mongrel "$LINENO" "gtkmm.h" "ac_cv_header_gtkmm_h" "$ac_includes_default"
 
19603
if test "x$ac_cv_header_gtkmm_h" = x""yes; then :
23543
19604
  ac_vmw_have_lib_header=1
23544
19605
fi
23545
19606
 
23559
19620
         else
23560
19621
            ac_vmw_function=strlen
23561
19622
         fi
23562
 
         as_ac_Lib=`echo "ac_cv_lib_gtkmm-2.4_$ac_vmw_function" | $as_tr_sh`
23563
 
{ echo "$as_me:$LINENO: checking for $ac_vmw_function in -lgtkmm-2.4" >&5
23564
 
echo $ECHO_N "checking for $ac_vmw_function in -lgtkmm-2.4... $ECHO_C" >&6; }
23565
 
if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
23566
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
19623
         as_ac_Lib=`$as_echo "ac_cv_lib_gtkmm-2.4_$ac_vmw_function" | $as_tr_sh`
 
19624
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_vmw_function in -lgtkmm-2.4" >&5
 
19625
$as_echo_n "checking for $ac_vmw_function in -lgtkmm-2.4... " >&6; }
 
19626
if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then :
 
19627
  $as_echo_n "(cached) " >&6
23567
19628
else
23568
19629
  ac_check_lib_save_LIBS=$LIBS
23569
19630
LIBS="-lgtkmm-2.4 $ac_vmw_custom_libs $LIBS"
23570
 
cat >conftest.$ac_ext <<_ACEOF
23571
 
/* confdefs.h.  */
23572
 
_ACEOF
23573
 
cat confdefs.h >>conftest.$ac_ext
23574
 
cat >>conftest.$ac_ext <<_ACEOF
 
19631
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23575
19632
/* end confdefs.h.  */
23576
19633
 
23577
19634
/* Override any GCC internal prototype to avoid an error.
23589
19646
  return 0;
23590
19647
}
23591
19648
_ACEOF
23592
 
rm -f conftest.$ac_objext conftest$ac_exeext
23593
 
if { (ac_try="$ac_link"
23594
 
case "(($ac_try" in
23595
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23596
 
  *) ac_try_echo=$ac_try;;
23597
 
esac
23598
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23599
 
  (eval "$ac_link") 2>conftest.er1
23600
 
  ac_status=$?
23601
 
  grep -v '^ *+' conftest.er1 >conftest.err
23602
 
  rm -f conftest.er1
23603
 
  cat conftest.err >&5
23604
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23605
 
  (exit $ac_status); } && {
23606
 
         test -z "$ac_cxx_werror_flag" ||
23607
 
         test ! -s conftest.err
23608
 
       } && test -s conftest$ac_exeext &&
23609
 
       $as_test_x conftest$ac_exeext; then
 
19649
if ac_fn_cxx_try_link "$LINENO"; then :
23610
19650
  eval "$as_ac_Lib=yes"
23611
19651
else
23612
 
  echo "$as_me: failed program was:" >&5
23613
 
sed 's/^/| /' conftest.$ac_ext >&5
23614
 
 
23615
 
        eval "$as_ac_Lib=no"
 
19652
  eval "$as_ac_Lib=no"
23616
19653
fi
23617
 
 
23618
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23619
 
      conftest$ac_exeext conftest.$ac_ext
 
19654
rm -f core conftest.err conftest.$ac_objext \
 
19655
    conftest$ac_exeext conftest.$ac_ext
23620
19656
LIBS=$ac_check_lib_save_LIBS
23621
19657
fi
23622
 
ac_res=`eval echo '${'$as_ac_Lib'}'`
23623
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
23624
 
echo "${ECHO_T}$ac_res" >&6; }
23625
 
if test `eval echo '${'$as_ac_Lib'}'` = yes; then
 
19658
eval ac_res=\$$as_ac_Lib
 
19659
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
19660
$as_echo "$ac_res" >&6; }
 
19661
eval as_val=\$$as_ac_Lib
 
19662
   if test "x$as_val" = x""yes; then :
23626
19663
  ac_vmw_have_lib_func=1
23627
19664
fi
23628
19665
 
23638
19675
   # If that didn't work, try with pkg-config.
23639
19676
   if test $ac_vmw_have_lib -eq 0 && test "$HAVE_PKG_CONFIG" = "yes" && test -n "gtkmm-2.4"; then
23640
19677
      if test -n "2.4.0"; then
23641
 
         { echo "$as_me:$LINENO: checking for gtkmm-2.4 >= 2.4.0 (via pkg-config)" >&5
23642
 
echo $ECHO_N "checking for gtkmm-2.4 >= 2.4.0 (via pkg-config)... $ECHO_C" >&6; }
 
19678
         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gtkmm-2.4 >= 2.4.0 (via pkg-config)" >&5
 
19679
$as_echo_n "checking for gtkmm-2.4 >= 2.4.0 (via pkg-config)... " >&6; }
23643
19680
         if pkg-config --exists 'gtkmm-2.4 >= 2.4.0'; then
23644
19681
            ac_vmw_have_lib=1
23645
19682
         fi
23646
19683
      else
23647
 
         { echo "$as_me:$LINENO: checking for gtkmm-2.4 (via pkg-config)" >&5
23648
 
echo $ECHO_N "checking for gtkmm-2.4 (via pkg-config)... $ECHO_C" >&6; }
 
19684
         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gtkmm-2.4 (via pkg-config)" >&5
 
19685
$as_echo_n "checking for gtkmm-2.4 (via pkg-config)... " >&6; }
23649
19686
         if pkg-config --exists 'gtkmm-2.4'; then
23650
19687
            ac_vmw_have_lib=1
23651
19688
         fi
23659
19696
         ac_vmw_libs="`pkg-config --libs gtkmm-2.4`"
23660
19697
         ac_vmw_ret2=$?
23661
19698
         if test $ac_vmw_ret1 -eq 0 && test $ac_vmw_ret2 -eq 0; then
23662
 
            { echo "$as_me:$LINENO: result: yes" >&5
23663
 
echo "${ECHO_T}yes" >&6; }
 
19699
            { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
19700
$as_echo "yes" >&6; }
23664
19701
            GTKMM_CPPFLAGS="$ac_vmw_cppflags"
23665
19702
            GTKMM_LIBS="$ac_vmw_libs"
23666
19703
         else
23667
 
            { echo "$as_me:$LINENO: result: no" >&5
23668
 
echo "${ECHO_T}no" >&6; }
 
19704
            { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
19705
$as_echo "no" >&6; }
23669
19706
         fi
23670
19707
      else
23671
 
         { echo "$as_me:$LINENO: result: no" >&5
23672
 
echo "${ECHO_T}no" >&6; }
 
19708
         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
19709
$as_echo "no" >&6; }
23673
19710
      fi
23674
19711
   fi
23675
19712
 
23680
19717
   if test $ac_vmw_have_lib -eq 0 && test -n ""; then
23681
19718
      # Extract the first word of "", so it can be a program name with args.
23682
19719
set dummy ; ac_word=$2
23683
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
23684
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
23685
 
if test "${ac_cv_path_ac_vmw_lib_cfg+set}" = set; then
23686
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
19720
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
19721
$as_echo_n "checking for $ac_word... " >&6; }
 
19722
if test "${ac_cv_path_ac_vmw_lib_cfg+set}" = set; then :
 
19723
  $as_echo_n "(cached) " >&6
23687
19724
else
23688
19725
  case $ac_vmw_lib_cfg in
23689
19726
  [\\/]* | ?:[\\/]*)
23695
19732
do
23696
19733
  IFS=$as_save_IFS
23697
19734
  test -z "$as_dir" && as_dir=.
23698
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
19735
    for ac_exec_ext in '' $ac_executable_extensions; do
23699
19736
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
23700
19737
    ac_cv_path_ac_vmw_lib_cfg="$as_dir/$ac_word$ac_exec_ext"
23701
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
19738
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
23702
19739
    break 2
23703
19740
  fi
23704
19741
done
23705
 
done
 
19742
  done
23706
19743
IFS=$as_save_IFS
23707
19744
 
23708
19745
  test -z "$ac_cv_path_ac_vmw_lib_cfg" && ac_cv_path_ac_vmw_lib_cfg="no"
23711
19748
fi
23712
19749
ac_vmw_lib_cfg=$ac_cv_path_ac_vmw_lib_cfg
23713
19750
if test -n "$ac_vmw_lib_cfg"; then
23714
 
  { echo "$as_me:$LINENO: result: $ac_vmw_lib_cfg" >&5
23715
 
echo "${ECHO_T}$ac_vmw_lib_cfg" >&6; }
 
19751
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_vmw_lib_cfg" >&5
 
19752
$as_echo "$ac_vmw_lib_cfg" >&6; }
23716
19753
else
23717
 
  { echo "$as_me:$LINENO: result: no" >&5
23718
 
echo "${ECHO_T}no" >&6; }
 
19754
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
19755
$as_echo "no" >&6; }
23719
19756
fi
23720
19757
 
23721
19758
 
23743
19780
      GTKMM_CPPFLAGS="$GTKMM_CPPFLAGS -DHAVE_GTKMM"
23744
19781
   else
23745
19782
      true
23746
 
      { { echo "$as_me:$LINENO: error: gtkmm library not found. Please install the libgtkmm devel package(s), or re-configure using --without-gtkmm." >&5
23747
 
echo "$as_me: error: gtkmm library not found. Please install the libgtkmm devel package(s), or re-configure using --without-gtkmm." >&2;}
23748
 
   { (exit 1); exit 1; }; }
 
19783
      as_fn_error "gtkmm library not found. Please install the libgtkmm devel package(s), or re-configure using --without-gtkmm." "$LINENO" 5
23749
19784
   fi
23750
19785
 
23751
19786
   ac_ext=c
23758
19793
   fi
23759
19794
fi # End of checks for X libraries
23760
19795
 
23761
 
{ echo "$as_me:$LINENO: checking for crypt in -lcrypt" >&5
23762
 
echo $ECHO_N "checking for crypt in -lcrypt... $ECHO_C" >&6; }
23763
 
if test "${ac_cv_lib_crypt_crypt+set}" = set; then
23764
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
19796
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for crypt in -lcrypt" >&5
 
19797
$as_echo_n "checking for crypt in -lcrypt... " >&6; }
 
19798
if test "${ac_cv_lib_crypt_crypt+set}" = set; then :
 
19799
  $as_echo_n "(cached) " >&6
23765
19800
else
23766
19801
  ac_check_lib_save_LIBS=$LIBS
23767
19802
LIBS="-lcrypt  $LIBS"
23768
 
cat >conftest.$ac_ext <<_ACEOF
23769
 
/* confdefs.h.  */
23770
 
_ACEOF
23771
 
cat confdefs.h >>conftest.$ac_ext
23772
 
cat >>conftest.$ac_ext <<_ACEOF
 
19803
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23773
19804
/* end confdefs.h.  */
23774
19805
 
23775
19806
/* Override any GCC internal prototype to avoid an error.
23787
19818
  return 0;
23788
19819
}
23789
19820
_ACEOF
23790
 
rm -f conftest.$ac_objext conftest$ac_exeext
23791
 
if { (ac_try="$ac_link"
23792
 
case "(($ac_try" in
23793
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23794
 
  *) ac_try_echo=$ac_try;;
23795
 
esac
23796
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23797
 
  (eval "$ac_link") 2>conftest.er1
23798
 
  ac_status=$?
23799
 
  grep -v '^ *+' conftest.er1 >conftest.err
23800
 
  rm -f conftest.er1
23801
 
  cat conftest.err >&5
23802
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23803
 
  (exit $ac_status); } && {
23804
 
         test -z "$ac_c_werror_flag" ||
23805
 
         test ! -s conftest.err
23806
 
       } && test -s conftest$ac_exeext &&
23807
 
       $as_test_x conftest$ac_exeext; then
 
19821
if ac_fn_c_try_link "$LINENO"; then :
23808
19822
  ac_cv_lib_crypt_crypt=yes
23809
19823
else
23810
 
  echo "$as_me: failed program was:" >&5
23811
 
sed 's/^/| /' conftest.$ac_ext >&5
23812
 
 
23813
 
        ac_cv_lib_crypt_crypt=no
 
19824
  ac_cv_lib_crypt_crypt=no
23814
19825
fi
23815
 
 
23816
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23817
 
      conftest$ac_exeext conftest.$ac_ext
 
19826
rm -f core conftest.err conftest.$ac_objext \
 
19827
    conftest$ac_exeext conftest.$ac_ext
23818
19828
LIBS=$ac_check_lib_save_LIBS
23819
19829
fi
23820
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_crypt_crypt" >&5
23821
 
echo "${ECHO_T}$ac_cv_lib_crypt_crypt" >&6; }
23822
 
if test $ac_cv_lib_crypt_crypt = yes; then
 
19830
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypt_crypt" >&5
 
19831
$as_echo "$ac_cv_lib_crypt_crypt" >&6; }
 
19832
if test "x$ac_cv_lib_crypt_crypt" = x""yes; then :
23823
19833
  HAVE_CRYPT="yes"
23824
19834
else
23825
 
  { { echo "$as_me:$LINENO: error: libcrypt not found. Please install the libc/libcrypt devel package(s)." >&5
23826
 
echo "$as_me: error: libcrypt not found. Please install the libc/libcrypt devel package(s)." >&2;}
23827
 
   { (exit 1); exit 1; }; }
 
19835
  as_fn_error "libcrypt not found. Please install the libc/libcrypt devel package(s)." "$LINENO" 5
23828
19836
fi
23829
19837
 
23830
19838
 
23831
 
 
23832
19839
for ac_func in dlopen
23833
 
do
23834
 
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23835
 
{ echo "$as_me:$LINENO: checking for $ac_func" >&5
23836
 
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
23837
 
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
23838
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
23839
 
else
23840
 
  cat >conftest.$ac_ext <<_ACEOF
23841
 
/* confdefs.h.  */
23842
 
_ACEOF
23843
 
cat confdefs.h >>conftest.$ac_ext
23844
 
cat >>conftest.$ac_ext <<_ACEOF
23845
 
/* end confdefs.h.  */
23846
 
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23847
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
23848
 
#define $ac_func innocuous_$ac_func
23849
 
 
23850
 
/* System header to define __stub macros and hopefully few prototypes,
23851
 
    which can conflict with char $ac_func (); below.
23852
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23853
 
    <limits.h> exists even on freestanding compilers.  */
23854
 
 
23855
 
#ifdef __STDC__
23856
 
# include <limits.h>
23857
 
#else
23858
 
# include <assert.h>
23859
 
#endif
23860
 
 
23861
 
#undef $ac_func
23862
 
 
23863
 
/* Override any GCC internal prototype to avoid an error.
23864
 
   Use char because int might match the return type of a GCC
23865
 
   builtin and then its argument prototype would still apply.  */
23866
 
#ifdef __cplusplus
23867
 
extern "C"
23868
 
#endif
23869
 
char $ac_func ();
23870
 
/* The GNU C library defines this for functions which it implements
23871
 
    to always fail with ENOSYS.  Some functions are actually named
23872
 
    something starting with __ and the normal name is an alias.  */
23873
 
#if defined __stub_$ac_func || defined __stub___$ac_func
23874
 
choke me
23875
 
#endif
23876
 
 
23877
 
int
23878
 
main ()
23879
 
{
23880
 
return $ac_func ();
23881
 
  ;
23882
 
  return 0;
23883
 
}
23884
 
_ACEOF
23885
 
rm -f conftest.$ac_objext conftest$ac_exeext
23886
 
if { (ac_try="$ac_link"
23887
 
case "(($ac_try" in
23888
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23889
 
  *) ac_try_echo=$ac_try;;
23890
 
esac
23891
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23892
 
  (eval "$ac_link") 2>conftest.er1
23893
 
  ac_status=$?
23894
 
  grep -v '^ *+' conftest.er1 >conftest.err
23895
 
  rm -f conftest.er1
23896
 
  cat conftest.err >&5
23897
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23898
 
  (exit $ac_status); } && {
23899
 
         test -z "$ac_c_werror_flag" ||
23900
 
         test ! -s conftest.err
23901
 
       } && test -s conftest$ac_exeext &&
23902
 
       $as_test_x conftest$ac_exeext; then
23903
 
  eval "$as_ac_var=yes"
23904
 
else
23905
 
  echo "$as_me: failed program was:" >&5
23906
 
sed 's/^/| /' conftest.$ac_ext >&5
23907
 
 
23908
 
        eval "$as_ac_var=no"
23909
 
fi
23910
 
 
23911
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23912
 
      conftest$ac_exeext conftest.$ac_ext
23913
 
fi
23914
 
ac_res=`eval echo '${'$as_ac_var'}'`
23915
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
23916
 
echo "${ECHO_T}$ac_res" >&6; }
23917
 
if test `eval echo '${'$as_ac_var'}'` = yes; then
 
19840
do :
 
19841
  ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
 
19842
if test "x$ac_cv_func_dlopen" = x""yes; then :
23918
19843
  cat >>confdefs.h <<_ACEOF
23919
 
@%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
 
19844
@%:@define HAVE_DLOPEN 1
23920
19845
_ACEOF
23921
19846
 
23922
19847
else
23923
 
  { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
23924
 
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
23925
 
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
23926
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
19848
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
 
19849
$as_echo_n "checking for dlopen in -ldl... " >&6; }
 
19850
if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
 
19851
  $as_echo_n "(cached) " >&6
23927
19852
else
23928
19853
  ac_check_lib_save_LIBS=$LIBS
23929
19854
LIBS="-ldl  $LIBS"
23930
 
cat >conftest.$ac_ext <<_ACEOF
23931
 
/* confdefs.h.  */
23932
 
_ACEOF
23933
 
cat confdefs.h >>conftest.$ac_ext
23934
 
cat >>conftest.$ac_ext <<_ACEOF
 
19855
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23935
19856
/* end confdefs.h.  */
23936
19857
 
23937
19858
/* Override any GCC internal prototype to avoid an error.
23949
19870
  return 0;
23950
19871
}
23951
19872
_ACEOF
23952
 
rm -f conftest.$ac_objext conftest$ac_exeext
23953
 
if { (ac_try="$ac_link"
23954
 
case "(($ac_try" in
23955
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23956
 
  *) ac_try_echo=$ac_try;;
23957
 
esac
23958
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23959
 
  (eval "$ac_link") 2>conftest.er1
23960
 
  ac_status=$?
23961
 
  grep -v '^ *+' conftest.er1 >conftest.err
23962
 
  rm -f conftest.er1
23963
 
  cat conftest.err >&5
23964
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23965
 
  (exit $ac_status); } && {
23966
 
         test -z "$ac_c_werror_flag" ||
23967
 
         test ! -s conftest.err
23968
 
       } && test -s conftest$ac_exeext &&
23969
 
       $as_test_x conftest$ac_exeext; then
 
19873
if ac_fn_c_try_link "$LINENO"; then :
23970
19874
  ac_cv_lib_dl_dlopen=yes
23971
19875
else
23972
 
  echo "$as_me: failed program was:" >&5
23973
 
sed 's/^/| /' conftest.$ac_ext >&5
23974
 
 
23975
 
        ac_cv_lib_dl_dlopen=no
 
19876
  ac_cv_lib_dl_dlopen=no
23976
19877
fi
23977
 
 
23978
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23979
 
      conftest$ac_exeext conftest.$ac_ext
 
19878
rm -f core conftest.err conftest.$ac_objext \
 
19879
    conftest$ac_exeext conftest.$ac_ext
23980
19880
LIBS=$ac_check_lib_save_LIBS
23981
19881
fi
23982
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
23983
 
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
23984
 
if test $ac_cv_lib_dl_dlopen = yes; then
 
19882
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
 
19883
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
 
19884
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
23985
19885
  VIX_LIBADD="$VIX_LIBADD -ldl"
23986
19886
       LIBVMTOOLS_LIBADD="$LIBVMTOOLS_LIBADD -ldl"
23987
19887
else
23988
 
  { { echo "$as_me:$LINENO: error: dlopen was not found, but is required for open-vm-tools to function properly. Please contact your OS vendor." >&5
23989
 
echo "$as_me: error: dlopen was not found, but is required for open-vm-tools to function properly. Please contact your OS vendor." >&2;}
23990
 
   { (exit 1); exit 1; }; }
 
19888
  as_fn_error "dlopen was not found, but is required for open-vm-tools to function properly. Please contact your OS vendor." "$LINENO" 5
23991
19889
fi
23992
19890
 
23993
19891
fi
23994
19892
done
23995
19893
 
23996
19894
 
23997
 
 
23998
19895
for ac_func in ecvt
23999
 
do
24000
 
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24001
 
{ echo "$as_me:$LINENO: checking for $ac_func" >&5
24002
 
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
24003
 
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
24004
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
24005
 
else
24006
 
  cat >conftest.$ac_ext <<_ACEOF
24007
 
/* confdefs.h.  */
24008
 
_ACEOF
24009
 
cat confdefs.h >>conftest.$ac_ext
24010
 
cat >>conftest.$ac_ext <<_ACEOF
24011
 
/* end confdefs.h.  */
24012
 
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24013
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
24014
 
#define $ac_func innocuous_$ac_func
24015
 
 
24016
 
/* System header to define __stub macros and hopefully few prototypes,
24017
 
    which can conflict with char $ac_func (); below.
24018
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24019
 
    <limits.h> exists even on freestanding compilers.  */
24020
 
 
24021
 
#ifdef __STDC__
24022
 
# include <limits.h>
24023
 
#else
24024
 
# include <assert.h>
24025
 
#endif
24026
 
 
24027
 
#undef $ac_func
24028
 
 
24029
 
/* Override any GCC internal prototype to avoid an error.
24030
 
   Use char because int might match the return type of a GCC
24031
 
   builtin and then its argument prototype would still apply.  */
24032
 
#ifdef __cplusplus
24033
 
extern "C"
24034
 
#endif
24035
 
char $ac_func ();
24036
 
/* The GNU C library defines this for functions which it implements
24037
 
    to always fail with ENOSYS.  Some functions are actually named
24038
 
    something starting with __ and the normal name is an alias.  */
24039
 
#if defined __stub_$ac_func || defined __stub___$ac_func
24040
 
choke me
24041
 
#endif
24042
 
 
24043
 
int
24044
 
main ()
24045
 
{
24046
 
return $ac_func ();
24047
 
  ;
24048
 
  return 0;
24049
 
}
24050
 
_ACEOF
24051
 
rm -f conftest.$ac_objext conftest$ac_exeext
24052
 
if { (ac_try="$ac_link"
24053
 
case "(($ac_try" in
24054
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24055
 
  *) ac_try_echo=$ac_try;;
24056
 
esac
24057
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24058
 
  (eval "$ac_link") 2>conftest.er1
24059
 
  ac_status=$?
24060
 
  grep -v '^ *+' conftest.er1 >conftest.err
24061
 
  rm -f conftest.er1
24062
 
  cat conftest.err >&5
24063
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24064
 
  (exit $ac_status); } && {
24065
 
         test -z "$ac_c_werror_flag" ||
24066
 
         test ! -s conftest.err
24067
 
       } && test -s conftest$ac_exeext &&
24068
 
       $as_test_x conftest$ac_exeext; then
24069
 
  eval "$as_ac_var=yes"
24070
 
else
24071
 
  echo "$as_me: failed program was:" >&5
24072
 
sed 's/^/| /' conftest.$ac_ext >&5
24073
 
 
24074
 
        eval "$as_ac_var=no"
24075
 
fi
24076
 
 
24077
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24078
 
      conftest$ac_exeext conftest.$ac_ext
24079
 
fi
24080
 
ac_res=`eval echo '${'$as_ac_var'}'`
24081
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
24082
 
echo "${ECHO_T}$ac_res" >&6; }
24083
 
if test `eval echo '${'$as_ac_var'}'` = yes; then
 
19896
do :
 
19897
  ac_fn_c_check_func "$LINENO" "ecvt" "ac_cv_func_ecvt"
 
19898
if test "x$ac_cv_func_ecvt" = x""yes; then :
24084
19899
  cat >>confdefs.h <<_ACEOF
24085
 
@%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
 
19900
@%:@define HAVE_ECVT 1
24086
19901
_ACEOF
24087
19902
 
24088
19903
fi
24089
19904
done
24090
19905
 
24091
 
 
24092
19906
for ac_func in fcvt
24093
 
do
24094
 
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24095
 
{ echo "$as_me:$LINENO: checking for $ac_func" >&5
24096
 
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
24097
 
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
24098
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
24099
 
else
24100
 
  cat >conftest.$ac_ext <<_ACEOF
24101
 
/* confdefs.h.  */
24102
 
_ACEOF
24103
 
cat confdefs.h >>conftest.$ac_ext
24104
 
cat >>conftest.$ac_ext <<_ACEOF
24105
 
/* end confdefs.h.  */
24106
 
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24107
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
24108
 
#define $ac_func innocuous_$ac_func
24109
 
 
24110
 
/* System header to define __stub macros and hopefully few prototypes,
24111
 
    which can conflict with char $ac_func (); below.
24112
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24113
 
    <limits.h> exists even on freestanding compilers.  */
24114
 
 
24115
 
#ifdef __STDC__
24116
 
# include <limits.h>
24117
 
#else
24118
 
# include <assert.h>
24119
 
#endif
24120
 
 
24121
 
#undef $ac_func
24122
 
 
24123
 
/* Override any GCC internal prototype to avoid an error.
24124
 
   Use char because int might match the return type of a GCC
24125
 
   builtin and then its argument prototype would still apply.  */
24126
 
#ifdef __cplusplus
24127
 
extern "C"
24128
 
#endif
24129
 
char $ac_func ();
24130
 
/* The GNU C library defines this for functions which it implements
24131
 
    to always fail with ENOSYS.  Some functions are actually named
24132
 
    something starting with __ and the normal name is an alias.  */
24133
 
#if defined __stub_$ac_func || defined __stub___$ac_func
24134
 
choke me
24135
 
#endif
24136
 
 
24137
 
int
24138
 
main ()
24139
 
{
24140
 
return $ac_func ();
24141
 
  ;
24142
 
  return 0;
24143
 
}
24144
 
_ACEOF
24145
 
rm -f conftest.$ac_objext conftest$ac_exeext
24146
 
if { (ac_try="$ac_link"
24147
 
case "(($ac_try" in
24148
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24149
 
  *) ac_try_echo=$ac_try;;
24150
 
esac
24151
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24152
 
  (eval "$ac_link") 2>conftest.er1
24153
 
  ac_status=$?
24154
 
  grep -v '^ *+' conftest.er1 >conftest.err
24155
 
  rm -f conftest.er1
24156
 
  cat conftest.err >&5
24157
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24158
 
  (exit $ac_status); } && {
24159
 
         test -z "$ac_c_werror_flag" ||
24160
 
         test ! -s conftest.err
24161
 
       } && test -s conftest$ac_exeext &&
24162
 
       $as_test_x conftest$ac_exeext; then
24163
 
  eval "$as_ac_var=yes"
24164
 
else
24165
 
  echo "$as_me: failed program was:" >&5
24166
 
sed 's/^/| /' conftest.$ac_ext >&5
24167
 
 
24168
 
        eval "$as_ac_var=no"
24169
 
fi
24170
 
 
24171
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24172
 
      conftest$ac_exeext conftest.$ac_ext
24173
 
fi
24174
 
ac_res=`eval echo '${'$as_ac_var'}'`
24175
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
24176
 
echo "${ECHO_T}$ac_res" >&6; }
24177
 
if test `eval echo '${'$as_ac_var'}'` = yes; then
 
19907
do :
 
19908
  ac_fn_c_check_func "$LINENO" "fcvt" "ac_cv_func_fcvt"
 
19909
if test "x$ac_cv_func_fcvt" = x""yes; then :
24178
19910
  cat >>confdefs.h <<_ACEOF
24179
 
@%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
 
19911
@%:@define HAVE_FCVT 1
24180
19912
_ACEOF
24181
19913
 
24182
19914
fi
24184
19916
 
24185
19917
 
24186
19918
if test "$os" = "freebsd" -a "$osVersion" -ge 600000; then
24187
 
   { echo "$as_me:$LINENO: checking for pthread_mutex_init in -lthr" >&5
24188
 
echo $ECHO_N "checking for pthread_mutex_init in -lthr... $ECHO_C" >&6; }
24189
 
if test "${ac_cv_lib_thr_pthread_mutex_init+set}" = set; then
24190
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
19919
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_mutex_init in -lthr" >&5
 
19920
$as_echo_n "checking for pthread_mutex_init in -lthr... " >&6; }
 
19921
if test "${ac_cv_lib_thr_pthread_mutex_init+set}" = set; then :
 
19922
  $as_echo_n "(cached) " >&6
24191
19923
else
24192
19924
  ac_check_lib_save_LIBS=$LIBS
24193
19925
LIBS="-lthr  $LIBS"
24194
 
cat >conftest.$ac_ext <<_ACEOF
24195
 
/* confdefs.h.  */
24196
 
_ACEOF
24197
 
cat confdefs.h >>conftest.$ac_ext
24198
 
cat >>conftest.$ac_ext <<_ACEOF
 
19926
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24199
19927
/* end confdefs.h.  */
24200
19928
 
24201
19929
/* Override any GCC internal prototype to avoid an error.
24213
19941
  return 0;
24214
19942
}
24215
19943
_ACEOF
24216
 
rm -f conftest.$ac_objext conftest$ac_exeext
24217
 
if { (ac_try="$ac_link"
24218
 
case "(($ac_try" in
24219
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24220
 
  *) ac_try_echo=$ac_try;;
24221
 
esac
24222
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24223
 
  (eval "$ac_link") 2>conftest.er1
24224
 
  ac_status=$?
24225
 
  grep -v '^ *+' conftest.er1 >conftest.err
24226
 
  rm -f conftest.er1
24227
 
  cat conftest.err >&5
24228
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24229
 
  (exit $ac_status); } && {
24230
 
         test -z "$ac_c_werror_flag" ||
24231
 
         test ! -s conftest.err
24232
 
       } && test -s conftest$ac_exeext &&
24233
 
       $as_test_x conftest$ac_exeext; then
 
19944
if ac_fn_c_try_link "$LINENO"; then :
24234
19945
  ac_cv_lib_thr_pthread_mutex_init=yes
24235
19946
else
24236
 
  echo "$as_me: failed program was:" >&5
24237
 
sed 's/^/| /' conftest.$ac_ext >&5
24238
 
 
24239
 
        ac_cv_lib_thr_pthread_mutex_init=no
 
19947
  ac_cv_lib_thr_pthread_mutex_init=no
24240
19948
fi
24241
 
 
24242
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24243
 
      conftest$ac_exeext conftest.$ac_ext
 
19949
rm -f core conftest.err conftest.$ac_objext \
 
19950
    conftest$ac_exeext conftest.$ac_ext
24244
19951
LIBS=$ac_check_lib_save_LIBS
24245
19952
fi
24246
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_thr_pthread_mutex_init" >&5
24247
 
echo "${ECHO_T}$ac_cv_lib_thr_pthread_mutex_init" >&6; }
24248
 
if test $ac_cv_lib_thr_pthread_mutex_init = yes; then
 
19953
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_thr_pthread_mutex_init" >&5
 
19954
$as_echo "$ac_cv_lib_thr_pthread_mutex_init" >&6; }
 
19955
if test "x$ac_cv_lib_thr_pthread_mutex_init" = x""yes; then :
24249
19956
  THREAD_LIB=-lthr
24250
19957
else
24251
 
  { { echo "$as_me:$LINENO: error: Unable to locate required threading library libthr." >&5
24252
 
echo "$as_me: error: Unable to locate required threading library libthr." >&2;}
24253
 
   { (exit 1); exit 1; }; }
 
19958
  as_fn_error "Unable to locate required threading library libthr." "$LINENO" 5
24254
19959
fi
24255
19960
 
24256
19961
else
24257
 
   { echo "$as_me:$LINENO: checking for pthread_mutex_init in -lpthread" >&5
24258
 
echo $ECHO_N "checking for pthread_mutex_init in -lpthread... $ECHO_C" >&6; }
24259
 
if test "${ac_cv_lib_pthread_pthread_mutex_init+set}" = set; then
24260
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
19962
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_mutex_init in -lpthread" >&5
 
19963
$as_echo_n "checking for pthread_mutex_init in -lpthread... " >&6; }
 
19964
if test "${ac_cv_lib_pthread_pthread_mutex_init+set}" = set; then :
 
19965
  $as_echo_n "(cached) " >&6
24261
19966
else
24262
19967
  ac_check_lib_save_LIBS=$LIBS
24263
19968
LIBS="-lpthread  $LIBS"
24264
 
cat >conftest.$ac_ext <<_ACEOF
24265
 
/* confdefs.h.  */
24266
 
_ACEOF
24267
 
cat confdefs.h >>conftest.$ac_ext
24268
 
cat >>conftest.$ac_ext <<_ACEOF
 
19969
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24269
19970
/* end confdefs.h.  */
24270
19971
 
24271
19972
/* Override any GCC internal prototype to avoid an error.
24283
19984
  return 0;
24284
19985
}
24285
19986
_ACEOF
24286
 
rm -f conftest.$ac_objext conftest$ac_exeext
24287
 
if { (ac_try="$ac_link"
24288
 
case "(($ac_try" in
24289
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24290
 
  *) ac_try_echo=$ac_try;;
24291
 
esac
24292
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24293
 
  (eval "$ac_link") 2>conftest.er1
24294
 
  ac_status=$?
24295
 
  grep -v '^ *+' conftest.er1 >conftest.err
24296
 
  rm -f conftest.er1
24297
 
  cat conftest.err >&5
24298
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24299
 
  (exit $ac_status); } && {
24300
 
         test -z "$ac_c_werror_flag" ||
24301
 
         test ! -s conftest.err
24302
 
       } && test -s conftest$ac_exeext &&
24303
 
       $as_test_x conftest$ac_exeext; then
 
19987
if ac_fn_c_try_link "$LINENO"; then :
24304
19988
  ac_cv_lib_pthread_pthread_mutex_init=yes
24305
19989
else
24306
 
  echo "$as_me: failed program was:" >&5
24307
 
sed 's/^/| /' conftest.$ac_ext >&5
24308
 
 
24309
 
        ac_cv_lib_pthread_pthread_mutex_init=no
 
19990
  ac_cv_lib_pthread_pthread_mutex_init=no
24310
19991
fi
24311
 
 
24312
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24313
 
      conftest$ac_exeext conftest.$ac_ext
 
19992
rm -f core conftest.err conftest.$ac_objext \
 
19993
    conftest$ac_exeext conftest.$ac_ext
24314
19994
LIBS=$ac_check_lib_save_LIBS
24315
19995
fi
24316
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_mutex_init" >&5
24317
 
echo "${ECHO_T}$ac_cv_lib_pthread_pthread_mutex_init" >&6; }
24318
 
if test $ac_cv_lib_pthread_pthread_mutex_init = yes; then
 
19996
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_mutex_init" >&5
 
19997
$as_echo "$ac_cv_lib_pthread_pthread_mutex_init" >&6; }
 
19998
if test "x$ac_cv_lib_pthread_pthread_mutex_init" = x""yes; then :
24319
19999
  THREAD_LIB=-lpthread
24320
20000
else
24321
 
  { { echo "$as_me:$LINENO: error: libpthread not found. Please install the libc/libpthread devel package(s)." >&5
24322
 
echo "$as_me: error: libpthread not found. Please install the libc/libpthread devel package(s)." >&2;}
24323
 
   { (exit 1); exit 1; }; }
 
20001
  as_fn_error "libpthread not found. Please install the libc/libpthread devel package(s)." "$LINENO" 5
24324
20002
fi
24325
20003
 
24326
20004
fi
24327
20005
 
24328
20006
# PAM prefix
24329
20007
 
24330
 
# Check whether --with-pam-prefix was given.
24331
 
if test "${with_pam_prefix+set}" = set; then
 
20008
@%:@ Check whether --with-pam-prefix was given.
 
20009
if test "${with_pam_prefix+set}" = set; then :
24332
20010
  withval=$with_pam_prefix; PAM_PREFIX="$withval"
24333
20011
else
24334
20012
  PAM_PREFIX='$(sysconfdir)'
24337
20015
 
24338
20016
if test "$os" = "linux"; then
24339
20017
        
24340
 
# Check whether --with-procps was given.
24341
 
if test "${with_procps+set}" = set; then
 
20018
@%:@ Check whether --with-procps was given.
 
20019
if test "${with_procps+set}" = set; then :
24342
20020
  withval=$with_procps; 
24343
20021
else
24344
20022
  with_procps=yes
24361
20039
 
24362
20040
   # Some distros provide libproc-${version}.so only, others provide the
24363
20041
   # libproc.so symlink. Try both to see what sticks (but only try the 3.2.7
24364
 
   # version - adding every possible version here would be a mess).
 
20042
   # and 3.2.8 versions - adding every possible version here would be a mess).
24365
20043
   #
24366
20044
   # Users can help by providing CUSTOM_PROCPS_NAME / CUSTOM_PROCPS_LIBS if
24367
20045
   # necessary.
24370
20048
   
24371
20049
        
24372
20050
   if test -z "$CUSTOM_PROCPS_NAME"; then
24373
 
      { { echo "$as_me:$LINENO: error: 'library' parameter is required.'" >&5
24374
 
echo "$as_me: error: 'library' parameter is required.'" >&2;}
24375
 
   { (exit 1); exit 1; }; }
 
20051
      as_fn_error "'library' parameter is required.'" "$LINENO" 5
24376
20052
   fi
24377
20053
   if test -z "PROCPS"; then
24378
 
      { { echo "$as_me:$LINENO: error: 'lvar' parameter is required.'" >&5
24379
 
echo "$as_me: error: 'lvar' parameter is required.'" >&2;}
24380
 
   { (exit 1); exit 1; }; }
 
20054
      as_fn_error "'lvar' parameter is required.'" "$LINENO" 5
24381
20055
   fi
24382
20056
 
24383
20057
   ac_vmw_have_lib=0
24394
20068
         ORIGINAL_CPPFLAGS="$CPPFLAGS"
24395
20069
         CPPFLAGS="${CUSTOM_PROCPS_CPPFLAGS} $CPPFLAGS"
24396
20070
 
24397
 
         if test "${ac_cv_header_+set}" = set; then
24398
 
  { echo "$as_me:$LINENO: checking for " >&5
24399
 
echo $ECHO_N "checking for ... $ECHO_C" >&6; }
24400
 
if test "${ac_cv_header_+set}" = set; then
24401
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
24402
 
fi
24403
 
{ echo "$as_me:$LINENO: result: $ac_cv_header_" >&5
24404
 
echo "${ECHO_T}$ac_cv_header_" >&6; }
24405
 
else
24406
 
  # Is the header compilable?
24407
 
{ echo "$as_me:$LINENO: checking  usability" >&5
24408
 
echo $ECHO_N "checking  usability... $ECHO_C" >&6; }
24409
 
cat >conftest.$ac_ext <<_ACEOF
24410
 
/* confdefs.h.  */
24411
 
_ACEOF
24412
 
cat confdefs.h >>conftest.$ac_ext
24413
 
cat >>conftest.$ac_ext <<_ACEOF
24414
 
/* end confdefs.h.  */
24415
 
$ac_includes_default
24416
 
@%:@include <>
24417
 
_ACEOF
24418
 
rm -f conftest.$ac_objext
24419
 
if { (ac_try="$ac_compile"
24420
 
case "(($ac_try" in
24421
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24422
 
  *) ac_try_echo=$ac_try;;
24423
 
esac
24424
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24425
 
  (eval "$ac_compile") 2>conftest.er1
24426
 
  ac_status=$?
24427
 
  grep -v '^ *+' conftest.er1 >conftest.err
24428
 
  rm -f conftest.er1
24429
 
  cat conftest.err >&5
24430
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24431
 
  (exit $ac_status); } && {
24432
 
         test -z "$ac_c_werror_flag" ||
24433
 
         test ! -s conftest.err
24434
 
       } && test -s conftest.$ac_objext; then
24435
 
  ac_header_compiler=yes
24436
 
else
24437
 
  echo "$as_me: failed program was:" >&5
24438
 
sed 's/^/| /' conftest.$ac_ext >&5
24439
 
 
24440
 
        ac_header_compiler=no
24441
 
fi
24442
 
 
24443
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24444
 
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24445
 
echo "${ECHO_T}$ac_header_compiler" >&6; }
24446
 
 
24447
 
# Is the header present?
24448
 
{ echo "$as_me:$LINENO: checking  presence" >&5
24449
 
echo $ECHO_N "checking  presence... $ECHO_C" >&6; }
24450
 
cat >conftest.$ac_ext <<_ACEOF
24451
 
/* confdefs.h.  */
24452
 
_ACEOF
24453
 
cat confdefs.h >>conftest.$ac_ext
24454
 
cat >>conftest.$ac_ext <<_ACEOF
24455
 
/* end confdefs.h.  */
24456
 
@%:@include <>
24457
 
_ACEOF
24458
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
24459
 
case "(($ac_try" in
24460
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24461
 
  *) ac_try_echo=$ac_try;;
24462
 
esac
24463
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24464
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
24465
 
  ac_status=$?
24466
 
  grep -v '^ *+' conftest.er1 >conftest.err
24467
 
  rm -f conftest.er1
24468
 
  cat conftest.err >&5
24469
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24470
 
  (exit $ac_status); } >/dev/null && {
24471
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
24472
 
         test ! -s conftest.err
24473
 
       }; then
24474
 
  ac_header_preproc=yes
24475
 
else
24476
 
  echo "$as_me: failed program was:" >&5
24477
 
sed 's/^/| /' conftest.$ac_ext >&5
24478
 
 
24479
 
  ac_header_preproc=no
24480
 
fi
24481
 
 
24482
 
rm -f conftest.err conftest.$ac_ext
24483
 
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24484
 
echo "${ECHO_T}$ac_header_preproc" >&6; }
24485
 
 
24486
 
# So?  What about this header?
24487
 
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
24488
 
  yes:no: )
24489
 
    { echo "$as_me:$LINENO: WARNING: : accepted by the compiler, rejected by the preprocessor!" >&5
24490
 
echo "$as_me: WARNING: : accepted by the compiler, rejected by the preprocessor!" >&2;}
24491
 
    { echo "$as_me:$LINENO: WARNING: : proceeding with the compiler's result" >&5
24492
 
echo "$as_me: WARNING: : proceeding with the compiler's result" >&2;}
24493
 
    ac_header_preproc=yes
24494
 
    ;;
24495
 
  no:yes:* )
24496
 
    { echo "$as_me:$LINENO: WARNING: : present but cannot be compiled" >&5
24497
 
echo "$as_me: WARNING: : present but cannot be compiled" >&2;}
24498
 
    { echo "$as_me:$LINENO: WARNING: :     check for missing prerequisite headers?" >&5
24499
 
echo "$as_me: WARNING: :     check for missing prerequisite headers?" >&2;}
24500
 
    { echo "$as_me:$LINENO: WARNING: : see the Autoconf documentation" >&5
24501
 
echo "$as_me: WARNING: : see the Autoconf documentation" >&2;}
24502
 
    { echo "$as_me:$LINENO: WARNING: :     section \"Present But Cannot Be Compiled\"" >&5
24503
 
echo "$as_me: WARNING: :     section \"Present But Cannot Be Compiled\"" >&2;}
24504
 
    { echo "$as_me:$LINENO: WARNING: : proceeding with the preprocessor's result" >&5
24505
 
echo "$as_me: WARNING: : proceeding with the preprocessor's result" >&2;}
24506
 
    { echo "$as_me:$LINENO: WARNING: : in the future, the compiler will take precedence" >&5
24507
 
echo "$as_me: WARNING: : in the future, the compiler will take precedence" >&2;}
24508
 
    ( cat <<\_ASBOX
24509
 
@%:@@%:@ -------------------------------------------------------- @%:@@%:@
24510
 
@%:@@%:@ Report this to open-vm-tools-devel@lists.sourceforge.net @%:@@%:@
24511
 
@%:@@%:@ -------------------------------------------------------- @%:@@%:@
24512
 
_ASBOX
24513
 
     ) | sed "s/^/$as_me: WARNING:     /" >&2
24514
 
    ;;
24515
 
esac
24516
 
{ echo "$as_me:$LINENO: checking for " >&5
24517
 
echo $ECHO_N "checking for ... $ECHO_C" >&6; }
24518
 
if test "${ac_cv_header_+set}" = set; then
24519
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
24520
 
else
24521
 
  ac_cv_header_=$ac_header_preproc
24522
 
fi
24523
 
{ echo "$as_me:$LINENO: result: $ac_cv_header_" >&5
24524
 
echo "${ECHO_T}$ac_cv_header_" >&6; }
24525
 
 
24526
 
fi
24527
 
if test $ac_cv_header_ = yes; then
 
20071
         ac_fn_c_check_header_mongrel "$LINENO" "" "ac_cv_header_" "$ac_includes_default"
 
20072
if test "x$ac_cv_header_" = x""yes; then :
24528
20073
  ac_vmw_have_lib_header=1
24529
20074
fi
24530
20075
 
24544
20089
         else
24545
20090
            ac_vmw_function=strlen
24546
20091
         fi
24547
 
         as_ac_Lib=`echo "ac_cv_lib_$CUSTOM_PROCPS_NAME''_$ac_vmw_function" | $as_tr_sh`
24548
 
{ echo "$as_me:$LINENO: checking for $ac_vmw_function in -l$CUSTOM_PROCPS_NAME" >&5
24549
 
echo $ECHO_N "checking for $ac_vmw_function in -l$CUSTOM_PROCPS_NAME... $ECHO_C" >&6; }
24550
 
if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
24551
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
20092
         as_ac_Lib=`$as_echo "ac_cv_lib_$CUSTOM_PROCPS_NAME''_$ac_vmw_function" | $as_tr_sh`
 
20093
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_vmw_function in -l$CUSTOM_PROCPS_NAME" >&5
 
20094
$as_echo_n "checking for $ac_vmw_function in -l$CUSTOM_PROCPS_NAME... " >&6; }
 
20095
if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then :
 
20096
  $as_echo_n "(cached) " >&6
24552
20097
else
24553
20098
  ac_check_lib_save_LIBS=$LIBS
24554
20099
LIBS="-l$CUSTOM_PROCPS_NAME $ac_vmw_custom_libs $LIBS"
24555
 
cat >conftest.$ac_ext <<_ACEOF
24556
 
/* confdefs.h.  */
24557
 
_ACEOF
24558
 
cat confdefs.h >>conftest.$ac_ext
24559
 
cat >>conftest.$ac_ext <<_ACEOF
 
20100
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24560
20101
/* end confdefs.h.  */
24561
20102
 
24562
20103
/* Override any GCC internal prototype to avoid an error.
24574
20115
  return 0;
24575
20116
}
24576
20117
_ACEOF
24577
 
rm -f conftest.$ac_objext conftest$ac_exeext
24578
 
if { (ac_try="$ac_link"
24579
 
case "(($ac_try" in
24580
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24581
 
  *) ac_try_echo=$ac_try;;
24582
 
esac
24583
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24584
 
  (eval "$ac_link") 2>conftest.er1
24585
 
  ac_status=$?
24586
 
  grep -v '^ *+' conftest.er1 >conftest.err
24587
 
  rm -f conftest.er1
24588
 
  cat conftest.err >&5
24589
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24590
 
  (exit $ac_status); } && {
24591
 
         test -z "$ac_c_werror_flag" ||
24592
 
         test ! -s conftest.err
24593
 
       } && test -s conftest$ac_exeext &&
24594
 
       $as_test_x conftest$ac_exeext; then
 
20118
if ac_fn_c_try_link "$LINENO"; then :
24595
20119
  eval "$as_ac_Lib=yes"
24596
20120
else
24597
 
  echo "$as_me: failed program was:" >&5
24598
 
sed 's/^/| /' conftest.$ac_ext >&5
24599
 
 
24600
 
        eval "$as_ac_Lib=no"
 
20121
  eval "$as_ac_Lib=no"
24601
20122
fi
24602
 
 
24603
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24604
 
      conftest$ac_exeext conftest.$ac_ext
 
20123
rm -f core conftest.err conftest.$ac_objext \
 
20124
    conftest$ac_exeext conftest.$ac_ext
24605
20125
LIBS=$ac_check_lib_save_LIBS
24606
20126
fi
24607
 
ac_res=`eval echo '${'$as_ac_Lib'}'`
24608
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
24609
 
echo "${ECHO_T}$ac_res" >&6; }
24610
 
if test `eval echo '${'$as_ac_Lib'}'` = yes; then
 
20127
eval ac_res=\$$as_ac_Lib
 
20128
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
20129
$as_echo "$ac_res" >&6; }
 
20130
eval as_val=\$$as_ac_Lib
 
20131
   if test "x$as_val" = x""yes; then :
24611
20132
  ac_vmw_have_lib_func=1
24612
20133
fi
24613
20134
 
24623
20144
   # If that didn't work, try with pkg-config.
24624
20145
   if test $ac_vmw_have_lib -eq 0 && test "$HAVE_PKG_CONFIG" = "yes" && test -n ""; then
24625
20146
      if test -n ""; then
24626
 
         { echo "$as_me:$LINENO: checking for  >=  (via pkg-config)" >&5
24627
 
echo $ECHO_N "checking for  >=  (via pkg-config)... $ECHO_C" >&6; }
 
20147
         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for  >=  (via pkg-config)" >&5
 
20148
$as_echo_n "checking for  >=  (via pkg-config)... " >&6; }
24628
20149
         if pkg-config --exists ' >= '; then
24629
20150
            ac_vmw_have_lib=1
24630
20151
         fi
24631
20152
      else
24632
 
         { echo "$as_me:$LINENO: checking for  (via pkg-config)" >&5
24633
 
echo $ECHO_N "checking for  (via pkg-config)... $ECHO_C" >&6; }
 
20153
         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for  (via pkg-config)" >&5
 
20154
$as_echo_n "checking for  (via pkg-config)... " >&6; }
24634
20155
         if pkg-config --exists ''; then
24635
20156
            ac_vmw_have_lib=1
24636
20157
         fi
24644
20165
         ac_vmw_libs="`pkg-config --libs `"
24645
20166
         ac_vmw_ret2=$?
24646
20167
         if test $ac_vmw_ret1 -eq 0 && test $ac_vmw_ret2 -eq 0; then
24647
 
            { echo "$as_me:$LINENO: result: yes" >&5
24648
 
echo "${ECHO_T}yes" >&6; }
 
20168
            { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
20169
$as_echo "yes" >&6; }
24649
20170
            PROCPS_CPPFLAGS="$ac_vmw_cppflags"
24650
20171
            PROCPS_LIBS="$ac_vmw_libs"
24651
20172
         else
24652
 
            { echo "$as_me:$LINENO: result: no" >&5
24653
 
echo "${ECHO_T}no" >&6; }
 
20173
            { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
20174
$as_echo "no" >&6; }
24654
20175
         fi
24655
20176
      else
24656
 
         { echo "$as_me:$LINENO: result: no" >&5
24657
 
echo "${ECHO_T}no" >&6; }
 
20177
         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
20178
$as_echo "no" >&6; }
24658
20179
      fi
24659
20180
   fi
24660
20181
 
24665
20186
   if test $ac_vmw_have_lib -eq 0 && test -n ""; then
24666
20187
      # Extract the first word of "", so it can be a program name with args.
24667
20188
set dummy ; ac_word=$2
24668
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
24669
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
24670
 
if test "${ac_cv_path_ac_vmw_lib_cfg+set}" = set; then
24671
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
20189
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
20190
$as_echo_n "checking for $ac_word... " >&6; }
 
20191
if test "${ac_cv_path_ac_vmw_lib_cfg+set}" = set; then :
 
20192
  $as_echo_n "(cached) " >&6
24672
20193
else
24673
20194
  case $ac_vmw_lib_cfg in
24674
20195
  [\\/]* | ?:[\\/]*)
24680
20201
do
24681
20202
  IFS=$as_save_IFS
24682
20203
  test -z "$as_dir" && as_dir=.
24683
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
20204
    for ac_exec_ext in '' $ac_executable_extensions; do
24684
20205
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
24685
20206
    ac_cv_path_ac_vmw_lib_cfg="$as_dir/$ac_word$ac_exec_ext"
24686
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
20207
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
24687
20208
    break 2
24688
20209
  fi
24689
20210
done
24690
 
done
 
20211
  done
24691
20212
IFS=$as_save_IFS
24692
20213
 
24693
20214
  test -z "$ac_cv_path_ac_vmw_lib_cfg" && ac_cv_path_ac_vmw_lib_cfg="no"
24696
20217
fi
24697
20218
ac_vmw_lib_cfg=$ac_cv_path_ac_vmw_lib_cfg
24698
20219
if test -n "$ac_vmw_lib_cfg"; then
24699
 
  { echo "$as_me:$LINENO: result: $ac_vmw_lib_cfg" >&5
24700
 
echo "${ECHO_T}$ac_vmw_lib_cfg" >&6; }
 
20220
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_vmw_lib_cfg" >&5
 
20221
$as_echo "$ac_vmw_lib_cfg" >&6; }
24701
20222
else
24702
 
  { echo "$as_me:$LINENO: result: no" >&5
24703
 
echo "${ECHO_T}no" >&6; }
 
20223
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
20224
$as_echo "no" >&6; }
24704
20225
fi
24705
20226
 
24706
20227
 
24738
20259
   if test "$have_procps" = "no"; then
24739
20260
      
24740
20261
        
 
20262
   if test -z "proc-3.2.8"; then
 
20263
      as_fn_error "'library' parameter is required.'" "$LINENO" 5
 
20264
   fi
 
20265
   if test -z "PROCPS"; then
 
20266
      as_fn_error "'lvar' parameter is required.'" "$LINENO" 5
 
20267
   fi
 
20268
 
 
20269
   ac_vmw_have_lib=0
 
20270
   ac_vmw_have_lib_func=0
 
20271
   ac_vmw_have_lib_header=0
 
20272
   ac_vmw_custom_libs=
 
20273
 
 
20274
   #
 
20275
   # First, try any user-defined CUSTOM_* flags.
 
20276
   #
 
20277
   if test -n "${CUSTOM_PROCPS_CPPFLAGS}" || test -n "${CUSTOM_PROCPS_LIBS}"; then
 
20278
      ac_vmw_custom_libs="${CUSTOM_PROCPS_LIBS} -lproc-3.2.8"
 
20279
      if test -n ""; then
 
20280
         ORIGINAL_CPPFLAGS="$CPPFLAGS"
 
20281
         CPPFLAGS="${CUSTOM_PROCPS_CPPFLAGS} $CPPFLAGS"
 
20282
 
 
20283
         ac_fn_c_check_header_mongrel "$LINENO" "" "ac_cv_header_" "$ac_includes_default"
 
20284
if test "x$ac_cv_header_" = x""yes; then :
 
20285
  ac_vmw_have_lib_header=1
 
20286
fi
 
20287
 
 
20288
 
 
20289
 
 
20290
         CPPFLAGS="$ORIGINAL_CPPFLAGS"
 
20291
      else
 
20292
         ac_vmw_have_lib_header=1
 
20293
      fi
 
20294
 
 
20295
      # Check a specific function in the library if requested.
 
20296
      # If it hasn't, just pick a random function from libc, just to make
 
20297
      # sure the linker can find the library being tested.
 
20298
      if test $ac_vmw_have_lib_header -eq 1; then
 
20299
         if test -n "getstat"; then
 
20300
            ac_vmw_function=getstat
 
20301
         else
 
20302
            ac_vmw_function=strlen
 
20303
         fi
 
20304
         as_ac_Lib=`$as_echo "ac_cv_lib_proc-3.2.8_$ac_vmw_function" | $as_tr_sh`
 
20305
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_vmw_function in -lproc-3.2.8" >&5
 
20306
$as_echo_n "checking for $ac_vmw_function in -lproc-3.2.8... " >&6; }
 
20307
if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then :
 
20308
  $as_echo_n "(cached) " >&6
 
20309
else
 
20310
  ac_check_lib_save_LIBS=$LIBS
 
20311
LIBS="-lproc-3.2.8 $ac_vmw_custom_libs $LIBS"
 
20312
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
20313
/* end confdefs.h.  */
 
20314
 
 
20315
/* Override any GCC internal prototype to avoid an error.
 
20316
   Use char because int might match the return type of a GCC
 
20317
   builtin and then its argument prototype would still apply.  */
 
20318
#ifdef __cplusplus
 
20319
extern "C"
 
20320
#endif
 
20321
char $ac_vmw_function ();
 
20322
int
 
20323
main ()
 
20324
{
 
20325
return $ac_vmw_function ();
 
20326
  ;
 
20327
  return 0;
 
20328
}
 
20329
_ACEOF
 
20330
if ac_fn_c_try_link "$LINENO"; then :
 
20331
  eval "$as_ac_Lib=yes"
 
20332
else
 
20333
  eval "$as_ac_Lib=no"
 
20334
fi
 
20335
rm -f core conftest.err conftest.$ac_objext \
 
20336
    conftest$ac_exeext conftest.$ac_ext
 
20337
LIBS=$ac_check_lib_save_LIBS
 
20338
fi
 
20339
eval ac_res=\$$as_ac_Lib
 
20340
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
20341
$as_echo "$ac_res" >&6; }
 
20342
eval as_val=\$$as_ac_Lib
 
20343
   if test "x$as_val" = x""yes; then :
 
20344
  ac_vmw_have_lib_func=1
 
20345
fi
 
20346
 
 
20347
      fi
 
20348
 
 
20349
      if test $ac_vmw_have_lib_func -eq 1 && test $ac_vmw_have_lib_header -eq 1; then
 
20350
         PROCPS_CPPFLAGS="${CUSTOM_PROCPS_CPPFLAGS}"
 
20351
         PROCPS_LIBS="$ac_vmw_custom_libs"
 
20352
         ac_vmw_have_lib=1
 
20353
      fi
 
20354
   fi
 
20355
 
 
20356
   # If that didn't work, try with pkg-config.
 
20357
   if test $ac_vmw_have_lib -eq 0 && test "$HAVE_PKG_CONFIG" = "yes" && test -n ""; then
 
20358
      if test -n ""; then
 
20359
         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for  >=  (via pkg-config)" >&5
 
20360
$as_echo_n "checking for  >=  (via pkg-config)... " >&6; }
 
20361
         if pkg-config --exists ' >= '; then
 
20362
            ac_vmw_have_lib=1
 
20363
         fi
 
20364
      else
 
20365
         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for  (via pkg-config)" >&5
 
20366
$as_echo_n "checking for  (via pkg-config)... " >&6; }
 
20367
         if pkg-config --exists ''; then
 
20368
            ac_vmw_have_lib=1
 
20369
         fi
 
20370
      fi
 
20371
 
 
20372
      if test $ac_vmw_have_lib -eq 1; then
 
20373
         # Sometimes pkg-config might fail; for example, "pkg-config gtk+-2.0 --cflags"
 
20374
         # fails on OpenSolaris B71. So be pessimistic.
 
20375
         ac_vmw_cppflags="`pkg-config --cflags `"
 
20376
         ac_vmw_ret1=$?
 
20377
         ac_vmw_libs="`pkg-config --libs `"
 
20378
         ac_vmw_ret2=$?
 
20379
         if test $ac_vmw_ret1 -eq 0 && test $ac_vmw_ret2 -eq 0; then
 
20380
            { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
20381
$as_echo "yes" >&6; }
 
20382
            PROCPS_CPPFLAGS="$ac_vmw_cppflags"
 
20383
            PROCPS_LIBS="$ac_vmw_libs"
 
20384
         else
 
20385
            { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
20386
$as_echo "no" >&6; }
 
20387
         fi
 
20388
      else
 
20389
         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
20390
$as_echo "no" >&6; }
 
20391
      fi
 
20392
   fi
 
20393
 
 
20394
   # If we still haven't found the lib, try with the library's custom "config" script.
 
20395
   # Before checking, flush the AC_PATH_PROG cached variable.
 
20396
   unset ac_cv_path_ac_vmw_lib_cfg
 
20397
   unset ac_vmw_lib_cfg
 
20398
   if test $ac_vmw_have_lib -eq 0 && test -n ""; then
 
20399
      # Extract the first word of "", so it can be a program name with args.
 
20400
set dummy ; ac_word=$2
 
20401
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
20402
$as_echo_n "checking for $ac_word... " >&6; }
 
20403
if test "${ac_cv_path_ac_vmw_lib_cfg+set}" = set; then :
 
20404
  $as_echo_n "(cached) " >&6
 
20405
else
 
20406
  case $ac_vmw_lib_cfg in
 
20407
  [\\/]* | ?:[\\/]*)
 
20408
  ac_cv_path_ac_vmw_lib_cfg="$ac_vmw_lib_cfg" # Let the user override the test with a path.
 
20409
  ;;
 
20410
  *)
 
20411
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
20412
for as_dir in $PATH
 
20413
do
 
20414
  IFS=$as_save_IFS
 
20415
  test -z "$as_dir" && as_dir=.
 
20416
    for ac_exec_ext in '' $ac_executable_extensions; do
 
20417
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
20418
    ac_cv_path_ac_vmw_lib_cfg="$as_dir/$ac_word$ac_exec_ext"
 
20419
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
20420
    break 2
 
20421
  fi
 
20422
done
 
20423
  done
 
20424
IFS=$as_save_IFS
 
20425
 
 
20426
  test -z "$ac_cv_path_ac_vmw_lib_cfg" && ac_cv_path_ac_vmw_lib_cfg="no"
 
20427
  ;;
 
20428
esac
 
20429
fi
 
20430
ac_vmw_lib_cfg=$ac_cv_path_ac_vmw_lib_cfg
 
20431
if test -n "$ac_vmw_lib_cfg"; then
 
20432
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_vmw_lib_cfg" >&5
 
20433
$as_echo "$ac_vmw_lib_cfg" >&6; }
 
20434
else
 
20435
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
20436
$as_echo "no" >&6; }
 
20437
fi
 
20438
 
 
20439
 
 
20440
      if test "$ac_vmw_lib_cfg" != "no"; then
 
20441
         # XXX: icu-config does not follow the "--cflags" and "--libs" convention,
 
20442
         # so single it out here to avoid having to replicate all the rest of the
 
20443
         # logic elsewhere.
 
20444
         if test `basename "$ac_vmw_lib_cfg"` = "icu-config"; then
 
20445
            PROCPS_CPPFLAGS="`$ac_vmw_lib_cfg --cppflags`"
 
20446
            PROCPS_LIBS="`$ac_vmw_lib_cfg --ldflags`"
 
20447
         else
 
20448
            PROCPS_CPPFLAGS="`$ac_vmw_lib_cfg --cflags`"
 
20449
            PROCPS_LIBS="`$ac_vmw_lib_cfg --libs`"
 
20450
         fi
 
20451
         ac_vmw_have_lib=1
 
20452
      fi
 
20453
   fi
 
20454
 
 
20455
   # Finish by executing the user provided action. The call to "true" is needed
 
20456
   # because the actions are optional, and we need something inside the block.
 
20457
   if test $ac_vmw_have_lib -eq 1; then
 
20458
      
 
20459
      
 
20460
      true
 
20461
      
 
20462
                        have_procps=yes;
 
20463
                        VMWARE_USER_LDADD="$VMWARE_USER_LDADD $PROCPS_LIBS"
 
20464
                       
 
20465
   else
 
20466
      true
 
20467
      
 
20468
   fi
 
20469
 
 
20470
   fi
 
20471
 
 
20472
   if test "$have_procps" = "no"; then
 
20473
      
 
20474
        
24741
20475
   if test -z "proc-3.2.7"; then
24742
 
      { { echo "$as_me:$LINENO: error: 'library' parameter is required.'" >&5
24743
 
echo "$as_me: error: 'library' parameter is required.'" >&2;}
24744
 
   { (exit 1); exit 1; }; }
 
20476
      as_fn_error "'library' parameter is required.'" "$LINENO" 5
24745
20477
   fi
24746
20478
   if test -z "PROCPS"; then
24747
 
      { { echo "$as_me:$LINENO: error: 'lvar' parameter is required.'" >&5
24748
 
echo "$as_me: error: 'lvar' parameter is required.'" >&2;}
24749
 
   { (exit 1); exit 1; }; }
 
20479
      as_fn_error "'lvar' parameter is required.'" "$LINENO" 5
24750
20480
   fi
24751
20481
 
24752
20482
   ac_vmw_have_lib=0
24763
20493
         ORIGINAL_CPPFLAGS="$CPPFLAGS"
24764
20494
         CPPFLAGS="${CUSTOM_PROCPS_CPPFLAGS} $CPPFLAGS"
24765
20495
 
24766
 
         if test "${ac_cv_header_+set}" = set; then
24767
 
  { echo "$as_me:$LINENO: checking for " >&5
24768
 
echo $ECHO_N "checking for ... $ECHO_C" >&6; }
24769
 
if test "${ac_cv_header_+set}" = set; then
24770
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
24771
 
fi
24772
 
{ echo "$as_me:$LINENO: result: $ac_cv_header_" >&5
24773
 
echo "${ECHO_T}$ac_cv_header_" >&6; }
24774
 
else
24775
 
  # Is the header compilable?
24776
 
{ echo "$as_me:$LINENO: checking  usability" >&5
24777
 
echo $ECHO_N "checking  usability... $ECHO_C" >&6; }
24778
 
cat >conftest.$ac_ext <<_ACEOF
24779
 
/* confdefs.h.  */
24780
 
_ACEOF
24781
 
cat confdefs.h >>conftest.$ac_ext
24782
 
cat >>conftest.$ac_ext <<_ACEOF
24783
 
/* end confdefs.h.  */
24784
 
$ac_includes_default
24785
 
@%:@include <>
24786
 
_ACEOF
24787
 
rm -f conftest.$ac_objext
24788
 
if { (ac_try="$ac_compile"
24789
 
case "(($ac_try" in
24790
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24791
 
  *) ac_try_echo=$ac_try;;
24792
 
esac
24793
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24794
 
  (eval "$ac_compile") 2>conftest.er1
24795
 
  ac_status=$?
24796
 
  grep -v '^ *+' conftest.er1 >conftest.err
24797
 
  rm -f conftest.er1
24798
 
  cat conftest.err >&5
24799
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24800
 
  (exit $ac_status); } && {
24801
 
         test -z "$ac_c_werror_flag" ||
24802
 
         test ! -s conftest.err
24803
 
       } && test -s conftest.$ac_objext; then
24804
 
  ac_header_compiler=yes
24805
 
else
24806
 
  echo "$as_me: failed program was:" >&5
24807
 
sed 's/^/| /' conftest.$ac_ext >&5
24808
 
 
24809
 
        ac_header_compiler=no
24810
 
fi
24811
 
 
24812
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24813
 
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24814
 
echo "${ECHO_T}$ac_header_compiler" >&6; }
24815
 
 
24816
 
# Is the header present?
24817
 
{ echo "$as_me:$LINENO: checking  presence" >&5
24818
 
echo $ECHO_N "checking  presence... $ECHO_C" >&6; }
24819
 
cat >conftest.$ac_ext <<_ACEOF
24820
 
/* confdefs.h.  */
24821
 
_ACEOF
24822
 
cat confdefs.h >>conftest.$ac_ext
24823
 
cat >>conftest.$ac_ext <<_ACEOF
24824
 
/* end confdefs.h.  */
24825
 
@%:@include <>
24826
 
_ACEOF
24827
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
24828
 
case "(($ac_try" in
24829
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24830
 
  *) ac_try_echo=$ac_try;;
24831
 
esac
24832
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24833
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
24834
 
  ac_status=$?
24835
 
  grep -v '^ *+' conftest.er1 >conftest.err
24836
 
  rm -f conftest.er1
24837
 
  cat conftest.err >&5
24838
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24839
 
  (exit $ac_status); } >/dev/null && {
24840
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
24841
 
         test ! -s conftest.err
24842
 
       }; then
24843
 
  ac_header_preproc=yes
24844
 
else
24845
 
  echo "$as_me: failed program was:" >&5
24846
 
sed 's/^/| /' conftest.$ac_ext >&5
24847
 
 
24848
 
  ac_header_preproc=no
24849
 
fi
24850
 
 
24851
 
rm -f conftest.err conftest.$ac_ext
24852
 
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24853
 
echo "${ECHO_T}$ac_header_preproc" >&6; }
24854
 
 
24855
 
# So?  What about this header?
24856
 
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
24857
 
  yes:no: )
24858
 
    { echo "$as_me:$LINENO: WARNING: : accepted by the compiler, rejected by the preprocessor!" >&5
24859
 
echo "$as_me: WARNING: : accepted by the compiler, rejected by the preprocessor!" >&2;}
24860
 
    { echo "$as_me:$LINENO: WARNING: : proceeding with the compiler's result" >&5
24861
 
echo "$as_me: WARNING: : proceeding with the compiler's result" >&2;}
24862
 
    ac_header_preproc=yes
24863
 
    ;;
24864
 
  no:yes:* )
24865
 
    { echo "$as_me:$LINENO: WARNING: : present but cannot be compiled" >&5
24866
 
echo "$as_me: WARNING: : present but cannot be compiled" >&2;}
24867
 
    { echo "$as_me:$LINENO: WARNING: :     check for missing prerequisite headers?" >&5
24868
 
echo "$as_me: WARNING: :     check for missing prerequisite headers?" >&2;}
24869
 
    { echo "$as_me:$LINENO: WARNING: : see the Autoconf documentation" >&5
24870
 
echo "$as_me: WARNING: : see the Autoconf documentation" >&2;}
24871
 
    { echo "$as_me:$LINENO: WARNING: :     section \"Present But Cannot Be Compiled\"" >&5
24872
 
echo "$as_me: WARNING: :     section \"Present But Cannot Be Compiled\"" >&2;}
24873
 
    { echo "$as_me:$LINENO: WARNING: : proceeding with the preprocessor's result" >&5
24874
 
echo "$as_me: WARNING: : proceeding with the preprocessor's result" >&2;}
24875
 
    { echo "$as_me:$LINENO: WARNING: : in the future, the compiler will take precedence" >&5
24876
 
echo "$as_me: WARNING: : in the future, the compiler will take precedence" >&2;}
24877
 
    ( cat <<\_ASBOX
24878
 
@%:@@%:@ -------------------------------------------------------- @%:@@%:@
24879
 
@%:@@%:@ Report this to open-vm-tools-devel@lists.sourceforge.net @%:@@%:@
24880
 
@%:@@%:@ -------------------------------------------------------- @%:@@%:@
24881
 
_ASBOX
24882
 
     ) | sed "s/^/$as_me: WARNING:     /" >&2
24883
 
    ;;
24884
 
esac
24885
 
{ echo "$as_me:$LINENO: checking for " >&5
24886
 
echo $ECHO_N "checking for ... $ECHO_C" >&6; }
24887
 
if test "${ac_cv_header_+set}" = set; then
24888
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
24889
 
else
24890
 
  ac_cv_header_=$ac_header_preproc
24891
 
fi
24892
 
{ echo "$as_me:$LINENO: result: $ac_cv_header_" >&5
24893
 
echo "${ECHO_T}$ac_cv_header_" >&6; }
24894
 
 
24895
 
fi
24896
 
if test $ac_cv_header_ = yes; then
 
20496
         ac_fn_c_check_header_mongrel "$LINENO" "" "ac_cv_header_" "$ac_includes_default"
 
20497
if test "x$ac_cv_header_" = x""yes; then :
24897
20498
  ac_vmw_have_lib_header=1
24898
20499
fi
24899
20500
 
24913
20514
         else
24914
20515
            ac_vmw_function=strlen
24915
20516
         fi
24916
 
         as_ac_Lib=`echo "ac_cv_lib_proc-3.2.7_$ac_vmw_function" | $as_tr_sh`
24917
 
{ echo "$as_me:$LINENO: checking for $ac_vmw_function in -lproc-3.2.7" >&5
24918
 
echo $ECHO_N "checking for $ac_vmw_function in -lproc-3.2.7... $ECHO_C" >&6; }
24919
 
if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
24920
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
20517
         as_ac_Lib=`$as_echo "ac_cv_lib_proc-3.2.7_$ac_vmw_function" | $as_tr_sh`
 
20518
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_vmw_function in -lproc-3.2.7" >&5
 
20519
$as_echo_n "checking for $ac_vmw_function in -lproc-3.2.7... " >&6; }
 
20520
if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then :
 
20521
  $as_echo_n "(cached) " >&6
24921
20522
else
24922
20523
  ac_check_lib_save_LIBS=$LIBS
24923
20524
LIBS="-lproc-3.2.7 $ac_vmw_custom_libs $LIBS"
24924
 
cat >conftest.$ac_ext <<_ACEOF
24925
 
/* confdefs.h.  */
24926
 
_ACEOF
24927
 
cat confdefs.h >>conftest.$ac_ext
24928
 
cat >>conftest.$ac_ext <<_ACEOF
 
20525
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24929
20526
/* end confdefs.h.  */
24930
20527
 
24931
20528
/* Override any GCC internal prototype to avoid an error.
24943
20540
  return 0;
24944
20541
}
24945
20542
_ACEOF
24946
 
rm -f conftest.$ac_objext conftest$ac_exeext
24947
 
if { (ac_try="$ac_link"
24948
 
case "(($ac_try" in
24949
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24950
 
  *) ac_try_echo=$ac_try;;
24951
 
esac
24952
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24953
 
  (eval "$ac_link") 2>conftest.er1
24954
 
  ac_status=$?
24955
 
  grep -v '^ *+' conftest.er1 >conftest.err
24956
 
  rm -f conftest.er1
24957
 
  cat conftest.err >&5
24958
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24959
 
  (exit $ac_status); } && {
24960
 
         test -z "$ac_c_werror_flag" ||
24961
 
         test ! -s conftest.err
24962
 
       } && test -s conftest$ac_exeext &&
24963
 
       $as_test_x conftest$ac_exeext; then
 
20543
if ac_fn_c_try_link "$LINENO"; then :
24964
20544
  eval "$as_ac_Lib=yes"
24965
20545
else
24966
 
  echo "$as_me: failed program was:" >&5
24967
 
sed 's/^/| /' conftest.$ac_ext >&5
24968
 
 
24969
 
        eval "$as_ac_Lib=no"
 
20546
  eval "$as_ac_Lib=no"
24970
20547
fi
24971
 
 
24972
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24973
 
      conftest$ac_exeext conftest.$ac_ext
 
20548
rm -f core conftest.err conftest.$ac_objext \
 
20549
    conftest$ac_exeext conftest.$ac_ext
24974
20550
LIBS=$ac_check_lib_save_LIBS
24975
20551
fi
24976
 
ac_res=`eval echo '${'$as_ac_Lib'}'`
24977
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
24978
 
echo "${ECHO_T}$ac_res" >&6; }
24979
 
if test `eval echo '${'$as_ac_Lib'}'` = yes; then
 
20552
eval ac_res=\$$as_ac_Lib
 
20553
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
20554
$as_echo "$ac_res" >&6; }
 
20555
eval as_val=\$$as_ac_Lib
 
20556
   if test "x$as_val" = x""yes; then :
24980
20557
  ac_vmw_have_lib_func=1
24981
20558
fi
24982
20559
 
24992
20569
   # If that didn't work, try with pkg-config.
24993
20570
   if test $ac_vmw_have_lib -eq 0 && test "$HAVE_PKG_CONFIG" = "yes" && test -n ""; then
24994
20571
      if test -n ""; then
24995
 
         { echo "$as_me:$LINENO: checking for  >=  (via pkg-config)" >&5
24996
 
echo $ECHO_N "checking for  >=  (via pkg-config)... $ECHO_C" >&6; }
 
20572
         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for  >=  (via pkg-config)" >&5
 
20573
$as_echo_n "checking for  >=  (via pkg-config)... " >&6; }
24997
20574
         if pkg-config --exists ' >= '; then
24998
20575
            ac_vmw_have_lib=1
24999
20576
         fi
25000
20577
      else
25001
 
         { echo "$as_me:$LINENO: checking for  (via pkg-config)" >&5
25002
 
echo $ECHO_N "checking for  (via pkg-config)... $ECHO_C" >&6; }
 
20578
         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for  (via pkg-config)" >&5
 
20579
$as_echo_n "checking for  (via pkg-config)... " >&6; }
25003
20580
         if pkg-config --exists ''; then
25004
20581
            ac_vmw_have_lib=1
25005
20582
         fi
25013
20590
         ac_vmw_libs="`pkg-config --libs `"
25014
20591
         ac_vmw_ret2=$?
25015
20592
         if test $ac_vmw_ret1 -eq 0 && test $ac_vmw_ret2 -eq 0; then
25016
 
            { echo "$as_me:$LINENO: result: yes" >&5
25017
 
echo "${ECHO_T}yes" >&6; }
 
20593
            { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
20594
$as_echo "yes" >&6; }
25018
20595
            PROCPS_CPPFLAGS="$ac_vmw_cppflags"
25019
20596
            PROCPS_LIBS="$ac_vmw_libs"
25020
20597
         else
25021
 
            { echo "$as_me:$LINENO: result: no" >&5
25022
 
echo "${ECHO_T}no" >&6; }
 
20598
            { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
20599
$as_echo "no" >&6; }
25023
20600
         fi
25024
20601
      else
25025
 
         { echo "$as_me:$LINENO: result: no" >&5
25026
 
echo "${ECHO_T}no" >&6; }
 
20602
         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
20603
$as_echo "no" >&6; }
25027
20604
      fi
25028
20605
   fi
25029
20606
 
25034
20611
   if test $ac_vmw_have_lib -eq 0 && test -n ""; then
25035
20612
      # Extract the first word of "", so it can be a program name with args.
25036
20613
set dummy ; ac_word=$2
25037
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
25038
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
25039
 
if test "${ac_cv_path_ac_vmw_lib_cfg+set}" = set; then
25040
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
20614
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
20615
$as_echo_n "checking for $ac_word... " >&6; }
 
20616
if test "${ac_cv_path_ac_vmw_lib_cfg+set}" = set; then :
 
20617
  $as_echo_n "(cached) " >&6
25041
20618
else
25042
20619
  case $ac_vmw_lib_cfg in
25043
20620
  [\\/]* | ?:[\\/]*)
25049
20626
do
25050
20627
  IFS=$as_save_IFS
25051
20628
  test -z "$as_dir" && as_dir=.
25052
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
20629
    for ac_exec_ext in '' $ac_executable_extensions; do
25053
20630
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
25054
20631
    ac_cv_path_ac_vmw_lib_cfg="$as_dir/$ac_word$ac_exec_ext"
25055
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
20632
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
25056
20633
    break 2
25057
20634
  fi
25058
20635
done
25059
 
done
 
20636
  done
25060
20637
IFS=$as_save_IFS
25061
20638
 
25062
20639
  test -z "$ac_cv_path_ac_vmw_lib_cfg" && ac_cv_path_ac_vmw_lib_cfg="no"
25065
20642
fi
25066
20643
ac_vmw_lib_cfg=$ac_cv_path_ac_vmw_lib_cfg
25067
20644
if test -n "$ac_vmw_lib_cfg"; then
25068
 
  { echo "$as_me:$LINENO: result: $ac_vmw_lib_cfg" >&5
25069
 
echo "${ECHO_T}$ac_vmw_lib_cfg" >&6; }
 
20645
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_vmw_lib_cfg" >&5
 
20646
$as_echo "$ac_vmw_lib_cfg" >&6; }
25070
20647
else
25071
 
  { echo "$as_me:$LINENO: result: no" >&5
25072
 
echo "${ECHO_T}no" >&6; }
 
20648
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
20649
$as_echo "no" >&6; }
25073
20650
fi
25074
20651
 
25075
20652
 
25097
20674
      VMWARE_USER_LDADD="$VMWARE_USER_LDADD $PROCPS_LIBS"
25098
20675
   else
25099
20676
      true
25100
 
      { { echo "$as_me:$LINENO: error: libproc not found. Please configure without procps (using --without-procps) or install procps - http://procps.sourceforge.net" >&5
25101
 
echo "$as_me: error: libproc not found. Please configure without procps (using --without-procps) or install procps - http://procps.sourceforge.net" >&2;}
25102
 
   { (exit 1); exit 1; }; }
 
20677
      as_fn_error "libproc not found. Please configure without procps (using --without-procps) or install procps - http://procps.sourceforge.net" "$LINENO" 5
25103
20678
   fi
25104
20679
 
25105
20680
   fi
25107
20682
 
25108
20683
if test "$with_procps" != "yes"; then
25109
20684
 
25110
 
cat >>confdefs.h <<\_ACEOF
25111
 
@%:@define NO_PROCPS 1
25112
 
_ACEOF
 
20685
$as_echo "@%:@define NO_PROCPS 1" >>confdefs.h
25113
20686
 
25114
20687
fi
25115
20688
 
25116
20689
 
25117
 
# Check whether --with-dnet was given.
25118
 
if test "${with_dnet+set}" = set; then
 
20690
@%:@ Check whether --with-dnet was given.
 
20691
if test "${with_dnet+set}" = set; then :
25119
20692
  withval=$with_dnet; 
25120
20693
else
25121
20694
  with_dnet=yes
25131
20704
   
25132
20705
        
25133
20706
   if test -z "dumbnet"; then
25134
 
      { { echo "$as_me:$LINENO: error: 'library' parameter is required.'" >&5
25135
 
echo "$as_me: error: 'library' parameter is required.'" >&2;}
25136
 
   { (exit 1); exit 1; }; }
 
20707
      as_fn_error "'library' parameter is required.'" "$LINENO" 5
25137
20708
   fi
25138
20709
   if test -z "DNET"; then
25139
 
      { { echo "$as_me:$LINENO: error: 'lvar' parameter is required.'" >&5
25140
 
echo "$as_me: error: 'lvar' parameter is required.'" >&2;}
25141
 
   { (exit 1); exit 1; }; }
 
20710
      as_fn_error "'lvar' parameter is required.'" "$LINENO" 5
25142
20711
   fi
25143
20712
 
25144
20713
   ac_vmw_have_lib=0
25155
20724
         ORIGINAL_CPPFLAGS="$CPPFLAGS"
25156
20725
         CPPFLAGS="${CUSTOM_DNET_CPPFLAGS} $CPPFLAGS"
25157
20726
 
25158
 
         if test "${ac_cv_header_dumbnet_h+set}" = set; then
25159
 
  { echo "$as_me:$LINENO: checking for dumbnet.h" >&5
25160
 
echo $ECHO_N "checking for dumbnet.h... $ECHO_C" >&6; }
25161
 
if test "${ac_cv_header_dumbnet_h+set}" = set; then
25162
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
25163
 
fi
25164
 
{ echo "$as_me:$LINENO: result: $ac_cv_header_dumbnet_h" >&5
25165
 
echo "${ECHO_T}$ac_cv_header_dumbnet_h" >&6; }
25166
 
else
25167
 
  # Is the header compilable?
25168
 
{ echo "$as_me:$LINENO: checking dumbnet.h usability" >&5
25169
 
echo $ECHO_N "checking dumbnet.h usability... $ECHO_C" >&6; }
25170
 
cat >conftest.$ac_ext <<_ACEOF
25171
 
/* confdefs.h.  */
25172
 
_ACEOF
25173
 
cat confdefs.h >>conftest.$ac_ext
25174
 
cat >>conftest.$ac_ext <<_ACEOF
25175
 
/* end confdefs.h.  */
25176
 
$ac_includes_default
25177
 
@%:@include <dumbnet.h>
25178
 
_ACEOF
25179
 
rm -f conftest.$ac_objext
25180
 
if { (ac_try="$ac_compile"
25181
 
case "(($ac_try" in
25182
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25183
 
  *) ac_try_echo=$ac_try;;
25184
 
esac
25185
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25186
 
  (eval "$ac_compile") 2>conftest.er1
25187
 
  ac_status=$?
25188
 
  grep -v '^ *+' conftest.er1 >conftest.err
25189
 
  rm -f conftest.er1
25190
 
  cat conftest.err >&5
25191
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25192
 
  (exit $ac_status); } && {
25193
 
         test -z "$ac_c_werror_flag" ||
25194
 
         test ! -s conftest.err
25195
 
       } && test -s conftest.$ac_objext; then
25196
 
  ac_header_compiler=yes
25197
 
else
25198
 
  echo "$as_me: failed program was:" >&5
25199
 
sed 's/^/| /' conftest.$ac_ext >&5
25200
 
 
25201
 
        ac_header_compiler=no
25202
 
fi
25203
 
 
25204
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25205
 
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25206
 
echo "${ECHO_T}$ac_header_compiler" >&6; }
25207
 
 
25208
 
# Is the header present?
25209
 
{ echo "$as_me:$LINENO: checking dumbnet.h presence" >&5
25210
 
echo $ECHO_N "checking dumbnet.h presence... $ECHO_C" >&6; }
25211
 
cat >conftest.$ac_ext <<_ACEOF
25212
 
/* confdefs.h.  */
25213
 
_ACEOF
25214
 
cat confdefs.h >>conftest.$ac_ext
25215
 
cat >>conftest.$ac_ext <<_ACEOF
25216
 
/* end confdefs.h.  */
25217
 
@%:@include <dumbnet.h>
25218
 
_ACEOF
25219
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
25220
 
case "(($ac_try" in
25221
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25222
 
  *) ac_try_echo=$ac_try;;
25223
 
esac
25224
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25225
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
25226
 
  ac_status=$?
25227
 
  grep -v '^ *+' conftest.er1 >conftest.err
25228
 
  rm -f conftest.er1
25229
 
  cat conftest.err >&5
25230
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25231
 
  (exit $ac_status); } >/dev/null && {
25232
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
25233
 
         test ! -s conftest.err
25234
 
       }; then
25235
 
  ac_header_preproc=yes
25236
 
else
25237
 
  echo "$as_me: failed program was:" >&5
25238
 
sed 's/^/| /' conftest.$ac_ext >&5
25239
 
 
25240
 
  ac_header_preproc=no
25241
 
fi
25242
 
 
25243
 
rm -f conftest.err conftest.$ac_ext
25244
 
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25245
 
echo "${ECHO_T}$ac_header_preproc" >&6; }
25246
 
 
25247
 
# So?  What about this header?
25248
 
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
25249
 
  yes:no: )
25250
 
    { echo "$as_me:$LINENO: WARNING: dumbnet.h: accepted by the compiler, rejected by the preprocessor!" >&5
25251
 
echo "$as_me: WARNING: dumbnet.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
25252
 
    { echo "$as_me:$LINENO: WARNING: dumbnet.h: proceeding with the compiler's result" >&5
25253
 
echo "$as_me: WARNING: dumbnet.h: proceeding with the compiler's result" >&2;}
25254
 
    ac_header_preproc=yes
25255
 
    ;;
25256
 
  no:yes:* )
25257
 
    { echo "$as_me:$LINENO: WARNING: dumbnet.h: present but cannot be compiled" >&5
25258
 
echo "$as_me: WARNING: dumbnet.h: present but cannot be compiled" >&2;}
25259
 
    { echo "$as_me:$LINENO: WARNING: dumbnet.h:     check for missing prerequisite headers?" >&5
25260
 
echo "$as_me: WARNING: dumbnet.h:     check for missing prerequisite headers?" >&2;}
25261
 
    { echo "$as_me:$LINENO: WARNING: dumbnet.h: see the Autoconf documentation" >&5
25262
 
echo "$as_me: WARNING: dumbnet.h: see the Autoconf documentation" >&2;}
25263
 
    { echo "$as_me:$LINENO: WARNING: dumbnet.h:     section \"Present But Cannot Be Compiled\"" >&5
25264
 
echo "$as_me: WARNING: dumbnet.h:     section \"Present But Cannot Be Compiled\"" >&2;}
25265
 
    { echo "$as_me:$LINENO: WARNING: dumbnet.h: proceeding with the preprocessor's result" >&5
25266
 
echo "$as_me: WARNING: dumbnet.h: proceeding with the preprocessor's result" >&2;}
25267
 
    { echo "$as_me:$LINENO: WARNING: dumbnet.h: in the future, the compiler will take precedence" >&5
25268
 
echo "$as_me: WARNING: dumbnet.h: in the future, the compiler will take precedence" >&2;}
25269
 
    ( cat <<\_ASBOX
25270
 
@%:@@%:@ -------------------------------------------------------- @%:@@%:@
25271
 
@%:@@%:@ Report this to open-vm-tools-devel@lists.sourceforge.net @%:@@%:@
25272
 
@%:@@%:@ -------------------------------------------------------- @%:@@%:@
25273
 
_ASBOX
25274
 
     ) | sed "s/^/$as_me: WARNING:     /" >&2
25275
 
    ;;
25276
 
esac
25277
 
{ echo "$as_me:$LINENO: checking for dumbnet.h" >&5
25278
 
echo $ECHO_N "checking for dumbnet.h... $ECHO_C" >&6; }
25279
 
if test "${ac_cv_header_dumbnet_h+set}" = set; then
25280
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
25281
 
else
25282
 
  ac_cv_header_dumbnet_h=$ac_header_preproc
25283
 
fi
25284
 
{ echo "$as_me:$LINENO: result: $ac_cv_header_dumbnet_h" >&5
25285
 
echo "${ECHO_T}$ac_cv_header_dumbnet_h" >&6; }
25286
 
 
25287
 
fi
25288
 
if test $ac_cv_header_dumbnet_h = yes; then
 
20727
         ac_fn_c_check_header_mongrel "$LINENO" "dumbnet.h" "ac_cv_header_dumbnet_h" "$ac_includes_default"
 
20728
if test "x$ac_cv_header_dumbnet_h" = x""yes; then :
25289
20729
  ac_vmw_have_lib_header=1
25290
20730
fi
25291
20731
 
25305
20745
         else
25306
20746
            ac_vmw_function=strlen
25307
20747
         fi
25308
 
         as_ac_Lib=`echo "ac_cv_lib_dumbnet_$ac_vmw_function" | $as_tr_sh`
25309
 
{ echo "$as_me:$LINENO: checking for $ac_vmw_function in -ldumbnet" >&5
25310
 
echo $ECHO_N "checking for $ac_vmw_function in -ldumbnet... $ECHO_C" >&6; }
25311
 
if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
25312
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
20748
         as_ac_Lib=`$as_echo "ac_cv_lib_dumbnet_$ac_vmw_function" | $as_tr_sh`
 
20749
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_vmw_function in -ldumbnet" >&5
 
20750
$as_echo_n "checking for $ac_vmw_function in -ldumbnet... " >&6; }
 
20751
if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then :
 
20752
  $as_echo_n "(cached) " >&6
25313
20753
else
25314
20754
  ac_check_lib_save_LIBS=$LIBS
25315
20755
LIBS="-ldumbnet $ac_vmw_custom_libs $LIBS"
25316
 
cat >conftest.$ac_ext <<_ACEOF
25317
 
/* confdefs.h.  */
25318
 
_ACEOF
25319
 
cat confdefs.h >>conftest.$ac_ext
25320
 
cat >>conftest.$ac_ext <<_ACEOF
 
20756
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25321
20757
/* end confdefs.h.  */
25322
20758
 
25323
20759
/* Override any GCC internal prototype to avoid an error.
25335
20771
  return 0;
25336
20772
}
25337
20773
_ACEOF
25338
 
rm -f conftest.$ac_objext conftest$ac_exeext
25339
 
if { (ac_try="$ac_link"
25340
 
case "(($ac_try" in
25341
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25342
 
  *) ac_try_echo=$ac_try;;
25343
 
esac
25344
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25345
 
  (eval "$ac_link") 2>conftest.er1
25346
 
  ac_status=$?
25347
 
  grep -v '^ *+' conftest.er1 >conftest.err
25348
 
  rm -f conftest.er1
25349
 
  cat conftest.err >&5
25350
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25351
 
  (exit $ac_status); } && {
25352
 
         test -z "$ac_c_werror_flag" ||
25353
 
         test ! -s conftest.err
25354
 
       } && test -s conftest$ac_exeext &&
25355
 
       $as_test_x conftest$ac_exeext; then
 
20774
if ac_fn_c_try_link "$LINENO"; then :
25356
20775
  eval "$as_ac_Lib=yes"
25357
20776
else
25358
 
  echo "$as_me: failed program was:" >&5
25359
 
sed 's/^/| /' conftest.$ac_ext >&5
25360
 
 
25361
 
        eval "$as_ac_Lib=no"
 
20777
  eval "$as_ac_Lib=no"
25362
20778
fi
25363
 
 
25364
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25365
 
      conftest$ac_exeext conftest.$ac_ext
 
20779
rm -f core conftest.err conftest.$ac_objext \
 
20780
    conftest$ac_exeext conftest.$ac_ext
25366
20781
LIBS=$ac_check_lib_save_LIBS
25367
20782
fi
25368
 
ac_res=`eval echo '${'$as_ac_Lib'}'`
25369
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
25370
 
echo "${ECHO_T}$ac_res" >&6; }
25371
 
if test `eval echo '${'$as_ac_Lib'}'` = yes; then
 
20783
eval ac_res=\$$as_ac_Lib
 
20784
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
20785
$as_echo "$ac_res" >&6; }
 
20786
eval as_val=\$$as_ac_Lib
 
20787
   if test "x$as_val" = x""yes; then :
25372
20788
  ac_vmw_have_lib_func=1
25373
20789
fi
25374
20790
 
25384
20800
   # If that didn't work, try with pkg-config.
25385
20801
   if test $ac_vmw_have_lib -eq 0 && test "$HAVE_PKG_CONFIG" = "yes" && test -n ""; then
25386
20802
      if test -n ""; then
25387
 
         { echo "$as_me:$LINENO: checking for  >=  (via pkg-config)" >&5
25388
 
echo $ECHO_N "checking for  >=  (via pkg-config)... $ECHO_C" >&6; }
 
20803
         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for  >=  (via pkg-config)" >&5
 
20804
$as_echo_n "checking for  >=  (via pkg-config)... " >&6; }
25389
20805
         if pkg-config --exists ' >= '; then
25390
20806
            ac_vmw_have_lib=1
25391
20807
         fi
25392
20808
      else
25393
 
         { echo "$as_me:$LINENO: checking for  (via pkg-config)" >&5
25394
 
echo $ECHO_N "checking for  (via pkg-config)... $ECHO_C" >&6; }
 
20809
         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for  (via pkg-config)" >&5
 
20810
$as_echo_n "checking for  (via pkg-config)... " >&6; }
25395
20811
         if pkg-config --exists ''; then
25396
20812
            ac_vmw_have_lib=1
25397
20813
         fi
25405
20821
         ac_vmw_libs="`pkg-config --libs `"
25406
20822
         ac_vmw_ret2=$?
25407
20823
         if test $ac_vmw_ret1 -eq 0 && test $ac_vmw_ret2 -eq 0; then
25408
 
            { echo "$as_me:$LINENO: result: yes" >&5
25409
 
echo "${ECHO_T}yes" >&6; }
 
20824
            { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
20825
$as_echo "yes" >&6; }
25410
20826
            DNET_CPPFLAGS="$ac_vmw_cppflags"
25411
20827
            DNET_LIBS="$ac_vmw_libs"
25412
20828
         else
25413
 
            { echo "$as_me:$LINENO: result: no" >&5
25414
 
echo "${ECHO_T}no" >&6; }
 
20829
            { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
20830
$as_echo "no" >&6; }
25415
20831
         fi
25416
20832
      else
25417
 
         { echo "$as_me:$LINENO: result: no" >&5
25418
 
echo "${ECHO_T}no" >&6; }
 
20833
         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
20834
$as_echo "no" >&6; }
25419
20835
      fi
25420
20836
   fi
25421
20837
 
25426
20842
   if test $ac_vmw_have_lib -eq 0 && test -n "dumbnet-config"; then
25427
20843
      # Extract the first word of "dumbnet-config", so it can be a program name with args.
25428
20844
set dummy dumbnet-config; ac_word=$2
25429
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
25430
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
25431
 
if test "${ac_cv_path_ac_vmw_lib_cfg+set}" = set; then
25432
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
20845
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
20846
$as_echo_n "checking for $ac_word... " >&6; }
 
20847
if test "${ac_cv_path_ac_vmw_lib_cfg+set}" = set; then :
 
20848
  $as_echo_n "(cached) " >&6
25433
20849
else
25434
20850
  case $ac_vmw_lib_cfg in
25435
20851
  [\\/]* | ?:[\\/]*)
25441
20857
do
25442
20858
  IFS=$as_save_IFS
25443
20859
  test -z "$as_dir" && as_dir=.
25444
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
20860
    for ac_exec_ext in '' $ac_executable_extensions; do
25445
20861
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
25446
20862
    ac_cv_path_ac_vmw_lib_cfg="$as_dir/$ac_word$ac_exec_ext"
25447
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
20863
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
25448
20864
    break 2
25449
20865
  fi
25450
20866
done
25451
 
done
 
20867
  done
25452
20868
IFS=$as_save_IFS
25453
20869
 
25454
20870
  test -z "$ac_cv_path_ac_vmw_lib_cfg" && ac_cv_path_ac_vmw_lib_cfg="no"
25457
20873
fi
25458
20874
ac_vmw_lib_cfg=$ac_cv_path_ac_vmw_lib_cfg
25459
20875
if test -n "$ac_vmw_lib_cfg"; then
25460
 
  { echo "$as_me:$LINENO: result: $ac_vmw_lib_cfg" >&5
25461
 
echo "${ECHO_T}$ac_vmw_lib_cfg" >&6; }
 
20876
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_vmw_lib_cfg" >&5
 
20877
$as_echo "$ac_vmw_lib_cfg" >&6; }
25462
20878
else
25463
 
  { echo "$as_me:$LINENO: result: no" >&5
25464
 
echo "${ECHO_T}no" >&6; }
 
20879
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
20880
$as_echo "no" >&6; }
25465
20881
fi
25466
20882
 
25467
20883
 
25488
20904
      true
25489
20905
      have_dnet=1;
25490
20906
                     
25491
 
cat >>confdefs.h <<\_ACEOF
25492
 
@%:@define DNET_IS_DUMBNET 1
25493
 
_ACEOF
 
20907
$as_echo "@%:@define DNET_IS_DUMBNET 1" >>confdefs.h
25494
20908
 
25495
20909
   else
25496
20910
      true
25502
20916
      
25503
20917
        
25504
20918
   if test -z "dnet"; then
25505
 
      { { echo "$as_me:$LINENO: error: 'library' parameter is required.'" >&5
25506
 
echo "$as_me: error: 'library' parameter is required.'" >&2;}
25507
 
   { (exit 1); exit 1; }; }
 
20919
      as_fn_error "'library' parameter is required.'" "$LINENO" 5
25508
20920
   fi
25509
20921
   if test -z "DNET"; then
25510
 
      { { echo "$as_me:$LINENO: error: 'lvar' parameter is required.'" >&5
25511
 
echo "$as_me: error: 'lvar' parameter is required.'" >&2;}
25512
 
   { (exit 1); exit 1; }; }
 
20922
      as_fn_error "'lvar' parameter is required.'" "$LINENO" 5
25513
20923
   fi
25514
20924
 
25515
20925
   ac_vmw_have_lib=0
25526
20936
         ORIGINAL_CPPFLAGS="$CPPFLAGS"
25527
20937
         CPPFLAGS="${CUSTOM_DNET_CPPFLAGS} $CPPFLAGS"
25528
20938
 
25529
 
         if test "${ac_cv_header_dnet_h+set}" = set; then
25530
 
  { echo "$as_me:$LINENO: checking for dnet.h" >&5
25531
 
echo $ECHO_N "checking for dnet.h... $ECHO_C" >&6; }
25532
 
if test "${ac_cv_header_dnet_h+set}" = set; then
25533
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
25534
 
fi
25535
 
{ echo "$as_me:$LINENO: result: $ac_cv_header_dnet_h" >&5
25536
 
echo "${ECHO_T}$ac_cv_header_dnet_h" >&6; }
25537
 
else
25538
 
  # Is the header compilable?
25539
 
{ echo "$as_me:$LINENO: checking dnet.h usability" >&5
25540
 
echo $ECHO_N "checking dnet.h usability... $ECHO_C" >&6; }
25541
 
cat >conftest.$ac_ext <<_ACEOF
25542
 
/* confdefs.h.  */
25543
 
_ACEOF
25544
 
cat confdefs.h >>conftest.$ac_ext
25545
 
cat >>conftest.$ac_ext <<_ACEOF
25546
 
/* end confdefs.h.  */
25547
 
$ac_includes_default
25548
 
@%:@include <dnet.h>
25549
 
_ACEOF
25550
 
rm -f conftest.$ac_objext
25551
 
if { (ac_try="$ac_compile"
25552
 
case "(($ac_try" in
25553
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25554
 
  *) ac_try_echo=$ac_try;;
25555
 
esac
25556
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25557
 
  (eval "$ac_compile") 2>conftest.er1
25558
 
  ac_status=$?
25559
 
  grep -v '^ *+' conftest.er1 >conftest.err
25560
 
  rm -f conftest.er1
25561
 
  cat conftest.err >&5
25562
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25563
 
  (exit $ac_status); } && {
25564
 
         test -z "$ac_c_werror_flag" ||
25565
 
         test ! -s conftest.err
25566
 
       } && test -s conftest.$ac_objext; then
25567
 
  ac_header_compiler=yes
25568
 
else
25569
 
  echo "$as_me: failed program was:" >&5
25570
 
sed 's/^/| /' conftest.$ac_ext >&5
25571
 
 
25572
 
        ac_header_compiler=no
25573
 
fi
25574
 
 
25575
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25576
 
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25577
 
echo "${ECHO_T}$ac_header_compiler" >&6; }
25578
 
 
25579
 
# Is the header present?
25580
 
{ echo "$as_me:$LINENO: checking dnet.h presence" >&5
25581
 
echo $ECHO_N "checking dnet.h presence... $ECHO_C" >&6; }
25582
 
cat >conftest.$ac_ext <<_ACEOF
25583
 
/* confdefs.h.  */
25584
 
_ACEOF
25585
 
cat confdefs.h >>conftest.$ac_ext
25586
 
cat >>conftest.$ac_ext <<_ACEOF
25587
 
/* end confdefs.h.  */
25588
 
@%:@include <dnet.h>
25589
 
_ACEOF
25590
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
25591
 
case "(($ac_try" in
25592
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25593
 
  *) ac_try_echo=$ac_try;;
25594
 
esac
25595
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25596
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
25597
 
  ac_status=$?
25598
 
  grep -v '^ *+' conftest.er1 >conftest.err
25599
 
  rm -f conftest.er1
25600
 
  cat conftest.err >&5
25601
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25602
 
  (exit $ac_status); } >/dev/null && {
25603
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
25604
 
         test ! -s conftest.err
25605
 
       }; then
25606
 
  ac_header_preproc=yes
25607
 
else
25608
 
  echo "$as_me: failed program was:" >&5
25609
 
sed 's/^/| /' conftest.$ac_ext >&5
25610
 
 
25611
 
  ac_header_preproc=no
25612
 
fi
25613
 
 
25614
 
rm -f conftest.err conftest.$ac_ext
25615
 
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25616
 
echo "${ECHO_T}$ac_header_preproc" >&6; }
25617
 
 
25618
 
# So?  What about this header?
25619
 
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
25620
 
  yes:no: )
25621
 
    { echo "$as_me:$LINENO: WARNING: dnet.h: accepted by the compiler, rejected by the preprocessor!" >&5
25622
 
echo "$as_me: WARNING: dnet.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
25623
 
    { echo "$as_me:$LINENO: WARNING: dnet.h: proceeding with the compiler's result" >&5
25624
 
echo "$as_me: WARNING: dnet.h: proceeding with the compiler's result" >&2;}
25625
 
    ac_header_preproc=yes
25626
 
    ;;
25627
 
  no:yes:* )
25628
 
    { echo "$as_me:$LINENO: WARNING: dnet.h: present but cannot be compiled" >&5
25629
 
echo "$as_me: WARNING: dnet.h: present but cannot be compiled" >&2;}
25630
 
    { echo "$as_me:$LINENO: WARNING: dnet.h:     check for missing prerequisite headers?" >&5
25631
 
echo "$as_me: WARNING: dnet.h:     check for missing prerequisite headers?" >&2;}
25632
 
    { echo "$as_me:$LINENO: WARNING: dnet.h: see the Autoconf documentation" >&5
25633
 
echo "$as_me: WARNING: dnet.h: see the Autoconf documentation" >&2;}
25634
 
    { echo "$as_me:$LINENO: WARNING: dnet.h:     section \"Present But Cannot Be Compiled\"" >&5
25635
 
echo "$as_me: WARNING: dnet.h:     section \"Present But Cannot Be Compiled\"" >&2;}
25636
 
    { echo "$as_me:$LINENO: WARNING: dnet.h: proceeding with the preprocessor's result" >&5
25637
 
echo "$as_me: WARNING: dnet.h: proceeding with the preprocessor's result" >&2;}
25638
 
    { echo "$as_me:$LINENO: WARNING: dnet.h: in the future, the compiler will take precedence" >&5
25639
 
echo "$as_me: WARNING: dnet.h: in the future, the compiler will take precedence" >&2;}
25640
 
    ( cat <<\_ASBOX
25641
 
@%:@@%:@ -------------------------------------------------------- @%:@@%:@
25642
 
@%:@@%:@ Report this to open-vm-tools-devel@lists.sourceforge.net @%:@@%:@
25643
 
@%:@@%:@ -------------------------------------------------------- @%:@@%:@
25644
 
_ASBOX
25645
 
     ) | sed "s/^/$as_me: WARNING:     /" >&2
25646
 
    ;;
25647
 
esac
25648
 
{ echo "$as_me:$LINENO: checking for dnet.h" >&5
25649
 
echo $ECHO_N "checking for dnet.h... $ECHO_C" >&6; }
25650
 
if test "${ac_cv_header_dnet_h+set}" = set; then
25651
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
25652
 
else
25653
 
  ac_cv_header_dnet_h=$ac_header_preproc
25654
 
fi
25655
 
{ echo "$as_me:$LINENO: result: $ac_cv_header_dnet_h" >&5
25656
 
echo "${ECHO_T}$ac_cv_header_dnet_h" >&6; }
25657
 
 
25658
 
fi
25659
 
if test $ac_cv_header_dnet_h = yes; then
 
20939
         ac_fn_c_check_header_mongrel "$LINENO" "dnet.h" "ac_cv_header_dnet_h" "$ac_includes_default"
 
20940
if test "x$ac_cv_header_dnet_h" = x""yes; then :
25660
20941
  ac_vmw_have_lib_header=1
25661
20942
fi
25662
20943
 
25676
20957
         else
25677
20958
            ac_vmw_function=strlen
25678
20959
         fi
25679
 
         as_ac_Lib=`echo "ac_cv_lib_dnet_$ac_vmw_function" | $as_tr_sh`
25680
 
{ echo "$as_me:$LINENO: checking for $ac_vmw_function in -ldnet" >&5
25681
 
echo $ECHO_N "checking for $ac_vmw_function in -ldnet... $ECHO_C" >&6; }
25682
 
if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
25683
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
20960
         as_ac_Lib=`$as_echo "ac_cv_lib_dnet_$ac_vmw_function" | $as_tr_sh`
 
20961
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_vmw_function in -ldnet" >&5
 
20962
$as_echo_n "checking for $ac_vmw_function in -ldnet... " >&6; }
 
20963
if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then :
 
20964
  $as_echo_n "(cached) " >&6
25684
20965
else
25685
20966
  ac_check_lib_save_LIBS=$LIBS
25686
20967
LIBS="-ldnet $ac_vmw_custom_libs $LIBS"
25687
 
cat >conftest.$ac_ext <<_ACEOF
25688
 
/* confdefs.h.  */
25689
 
_ACEOF
25690
 
cat confdefs.h >>conftest.$ac_ext
25691
 
cat >>conftest.$ac_ext <<_ACEOF
 
20968
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25692
20969
/* end confdefs.h.  */
25693
20970
 
25694
20971
/* Override any GCC internal prototype to avoid an error.
25706
20983
  return 0;
25707
20984
}
25708
20985
_ACEOF
25709
 
rm -f conftest.$ac_objext conftest$ac_exeext
25710
 
if { (ac_try="$ac_link"
25711
 
case "(($ac_try" in
25712
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25713
 
  *) ac_try_echo=$ac_try;;
25714
 
esac
25715
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25716
 
  (eval "$ac_link") 2>conftest.er1
25717
 
  ac_status=$?
25718
 
  grep -v '^ *+' conftest.er1 >conftest.err
25719
 
  rm -f conftest.er1
25720
 
  cat conftest.err >&5
25721
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25722
 
  (exit $ac_status); } && {
25723
 
         test -z "$ac_c_werror_flag" ||
25724
 
         test ! -s conftest.err
25725
 
       } && test -s conftest$ac_exeext &&
25726
 
       $as_test_x conftest$ac_exeext; then
 
20986
if ac_fn_c_try_link "$LINENO"; then :
25727
20987
  eval "$as_ac_Lib=yes"
25728
20988
else
25729
 
  echo "$as_me: failed program was:" >&5
25730
 
sed 's/^/| /' conftest.$ac_ext >&5
25731
 
 
25732
 
        eval "$as_ac_Lib=no"
 
20989
  eval "$as_ac_Lib=no"
25733
20990
fi
25734
 
 
25735
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25736
 
      conftest$ac_exeext conftest.$ac_ext
 
20991
rm -f core conftest.err conftest.$ac_objext \
 
20992
    conftest$ac_exeext conftest.$ac_ext
25737
20993
LIBS=$ac_check_lib_save_LIBS
25738
20994
fi
25739
 
ac_res=`eval echo '${'$as_ac_Lib'}'`
25740
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
25741
 
echo "${ECHO_T}$ac_res" >&6; }
25742
 
if test `eval echo '${'$as_ac_Lib'}'` = yes; then
 
20995
eval ac_res=\$$as_ac_Lib
 
20996
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
20997
$as_echo "$ac_res" >&6; }
 
20998
eval as_val=\$$as_ac_Lib
 
20999
   if test "x$as_val" = x""yes; then :
25743
21000
  ac_vmw_have_lib_func=1
25744
21001
fi
25745
21002
 
25755
21012
   # If that didn't work, try with pkg-config.
25756
21013
   if test $ac_vmw_have_lib -eq 0 && test "$HAVE_PKG_CONFIG" = "yes" && test -n ""; then
25757
21014
      if test -n ""; then
25758
 
         { echo "$as_me:$LINENO: checking for  >=  (via pkg-config)" >&5
25759
 
echo $ECHO_N "checking for  >=  (via pkg-config)... $ECHO_C" >&6; }
 
21015
         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for  >=  (via pkg-config)" >&5
 
21016
$as_echo_n "checking for  >=  (via pkg-config)... " >&6; }
25760
21017
         if pkg-config --exists ' >= '; then
25761
21018
            ac_vmw_have_lib=1
25762
21019
         fi
25763
21020
      else
25764
 
         { echo "$as_me:$LINENO: checking for  (via pkg-config)" >&5
25765
 
echo $ECHO_N "checking for  (via pkg-config)... $ECHO_C" >&6; }
 
21021
         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for  (via pkg-config)" >&5
 
21022
$as_echo_n "checking for  (via pkg-config)... " >&6; }
25766
21023
         if pkg-config --exists ''; then
25767
21024
            ac_vmw_have_lib=1
25768
21025
         fi
25776
21033
         ac_vmw_libs="`pkg-config --libs `"
25777
21034
         ac_vmw_ret2=$?
25778
21035
         if test $ac_vmw_ret1 -eq 0 && test $ac_vmw_ret2 -eq 0; then
25779
 
            { echo "$as_me:$LINENO: result: yes" >&5
25780
 
echo "${ECHO_T}yes" >&6; }
 
21036
            { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
21037
$as_echo "yes" >&6; }
25781
21038
            DNET_CPPFLAGS="$ac_vmw_cppflags"
25782
21039
            DNET_LIBS="$ac_vmw_libs"
25783
21040
         else
25784
 
            { echo "$as_me:$LINENO: result: no" >&5
25785
 
echo "${ECHO_T}no" >&6; }
 
21041
            { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
21042
$as_echo "no" >&6; }
25786
21043
         fi
25787
21044
      else
25788
 
         { echo "$as_me:$LINENO: result: no" >&5
25789
 
echo "${ECHO_T}no" >&6; }
 
21045
         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
21046
$as_echo "no" >&6; }
25790
21047
      fi
25791
21048
   fi
25792
21049
 
25797
21054
   if test $ac_vmw_have_lib -eq 0 && test -n "dnet-config"; then
25798
21055
      # Extract the first word of "dnet-config", so it can be a program name with args.
25799
21056
set dummy dnet-config; ac_word=$2
25800
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
25801
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
25802
 
if test "${ac_cv_path_ac_vmw_lib_cfg+set}" = set; then
25803
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
21057
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
21058
$as_echo_n "checking for $ac_word... " >&6; }
 
21059
if test "${ac_cv_path_ac_vmw_lib_cfg+set}" = set; then :
 
21060
  $as_echo_n "(cached) " >&6
25804
21061
else
25805
21062
  case $ac_vmw_lib_cfg in
25806
21063
  [\\/]* | ?:[\\/]*)
25812
21069
do
25813
21070
  IFS=$as_save_IFS
25814
21071
  test -z "$as_dir" && as_dir=.
25815
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
21072
    for ac_exec_ext in '' $ac_executable_extensions; do
25816
21073
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
25817
21074
    ac_cv_path_ac_vmw_lib_cfg="$as_dir/$ac_word$ac_exec_ext"
25818
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
21075
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
25819
21076
    break 2
25820
21077
  fi
25821
21078
done
25822
 
done
 
21079
  done
25823
21080
IFS=$as_save_IFS
25824
21081
 
25825
21082
  test -z "$ac_cv_path_ac_vmw_lib_cfg" && ac_cv_path_ac_vmw_lib_cfg="no"
25828
21085
fi
25829
21086
ac_vmw_lib_cfg=$ac_cv_path_ac_vmw_lib_cfg
25830
21087
if test -n "$ac_vmw_lib_cfg"; then
25831
 
  { echo "$as_me:$LINENO: result: $ac_vmw_lib_cfg" >&5
25832
 
echo "${ECHO_T}$ac_vmw_lib_cfg" >&6; }
 
21088
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_vmw_lib_cfg" >&5
 
21089
$as_echo "$ac_vmw_lib_cfg" >&6; }
25833
21090
else
25834
 
  { echo "$as_me:$LINENO: result: no" >&5
25835
 
echo "${ECHO_T}no" >&6; }
 
21091
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
21092
$as_echo "no" >&6; }
25836
21093
fi
25837
21094
 
25838
21095
 
25869
21126
      LIBVMTOOLS_LIBADD="$LIBVMTOOLS_LIBADD $DNET_LIBS"
25870
21127
      VMWARE_USER_LDADD="$VMWARE_USER_LDADD $DNET_LIBS"
25871
21128
   else
25872
 
                { { echo "$as_me:$LINENO: error: dnet-config was not found on your PATH. Please configure without dnet (using --without-dnet) or install dnet - http://libdnet.sourceforge.net" >&5
25873
 
echo "$as_me: error: dnet-config was not found on your PATH. Please configure without dnet (using --without-dnet) or install dnet - http://libdnet.sourceforge.net" >&2;}
25874
 
   { (exit 1); exit 1; }; }
 
21129
                as_fn_error "dnet-config was not found on your PATH. Please configure without dnet (using --without-dnet) or install dnet - http://libdnet.sourceforge.net" "$LINENO" 5
25875
21130
        fi
25876
21131
fi
25877
21132
 
25878
21133
if test "$with_dnet" != "yes"; then
25879
21134
 
25880
 
cat >>confdefs.h <<\_ACEOF
25881
 
@%:@define NO_DNET 1
25882
 
_ACEOF
 
21135
$as_echo "@%:@define NO_DNET 1" >>confdefs.h
25883
21136
 
25884
21137
fi
25885
21138
 
25886
21139
 
25887
 
# Check whether --with-icu was given.
25888
 
if test "${with_icu+set}" = set; then
 
21140
@%:@ Check whether --with-icu was given.
 
21141
if test "${with_icu+set}" = set; then :
25889
21142
  withval=$with_icu; 
25890
21143
else
25891
21144
  with_icu=yes
25896
21149
   if test -n "$ac_tool_prefix"; then
25897
21150
  # Extract the first word of "${ac_tool_prefix}$CXX", so it can be a program name with args.
25898
21151
set dummy ${ac_tool_prefix}$CXX; ac_word=$2
25899
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
25900
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
25901
 
if test "${ac_cv_prog_have_cxx+set}" = set; then
25902
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
21152
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
21153
$as_echo_n "checking for $ac_word... " >&6; }
 
21154
if test "${ac_cv_prog_have_cxx+set}" = set; then :
 
21155
  $as_echo_n "(cached) " >&6
25903
21156
else
25904
21157
  if test -n "$have_cxx"; then
25905
21158
  ac_cv_prog_have_cxx="$have_cxx" # Let the user override the test.
25909
21162
do
25910
21163
  IFS=$as_save_IFS
25911
21164
  test -z "$as_dir" && as_dir=.
25912
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
21165
    for ac_exec_ext in '' $ac_executable_extensions; do
25913
21166
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
25914
21167
    ac_cv_prog_have_cxx="${ac_tool_prefix}$CXX"
25915
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
21168
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
25916
21169
    break 2
25917
21170
  fi
25918
21171
done
25919
 
done
 
21172
  done
25920
21173
IFS=$as_save_IFS
25921
21174
 
25922
21175
fi
25923
21176
fi
25924
21177
have_cxx=$ac_cv_prog_have_cxx
25925
21178
if test -n "$have_cxx"; then
25926
 
  { echo "$as_me:$LINENO: result: $have_cxx" >&5
25927
 
echo "${ECHO_T}$have_cxx" >&6; }
 
21179
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_cxx" >&5
 
21180
$as_echo "$have_cxx" >&6; }
25928
21181
else
25929
 
  { echo "$as_me:$LINENO: result: no" >&5
25930
 
echo "${ECHO_T}no" >&6; }
 
21182
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
21183
$as_echo "no" >&6; }
25931
21184
fi
25932
21185
 
25933
21186
 
25936
21189
  ac_ct_have_cxx=$have_cxx
25937
21190
  # Extract the first word of "$CXX", so it can be a program name with args.
25938
21191
set dummy $CXX; ac_word=$2
25939
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
25940
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
25941
 
if test "${ac_cv_prog_ac_ct_have_cxx+set}" = set; then
25942
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
21192
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
21193
$as_echo_n "checking for $ac_word... " >&6; }
 
21194
if test "${ac_cv_prog_ac_ct_have_cxx+set}" = set; then :
 
21195
  $as_echo_n "(cached) " >&6
25943
21196
else
25944
21197
  if test -n "$ac_ct_have_cxx"; then
25945
21198
  ac_cv_prog_ac_ct_have_cxx="$ac_ct_have_cxx" # Let the user override the test.
25949
21202
do
25950
21203
  IFS=$as_save_IFS
25951
21204
  test -z "$as_dir" && as_dir=.
25952
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
21205
    for ac_exec_ext in '' $ac_executable_extensions; do
25953
21206
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
25954
21207
    ac_cv_prog_ac_ct_have_cxx="$CXX"
25955
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
21208
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
25956
21209
    break 2
25957
21210
  fi
25958
21211
done
25959
 
done
 
21212
  done
25960
21213
IFS=$as_save_IFS
25961
21214
 
25962
21215
fi
25963
21216
fi
25964
21217
ac_ct_have_cxx=$ac_cv_prog_ac_ct_have_cxx
25965
21218
if test -n "$ac_ct_have_cxx"; then
25966
 
  { echo "$as_me:$LINENO: result: $ac_ct_have_cxx" >&5
25967
 
echo "${ECHO_T}$ac_ct_have_cxx" >&6; }
 
21219
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_have_cxx" >&5
 
21220
$as_echo "$ac_ct_have_cxx" >&6; }
25968
21221
else
25969
 
  { echo "$as_me:$LINENO: result: no" >&5
25970
 
echo "${ECHO_T}no" >&6; }
 
21222
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
21223
$as_echo "no" >&6; }
25971
21224
fi
25972
21225
 
25973
21226
  if test "x$ac_ct_have_cxx" = x; then
25975
21228
  else
25976
21229
    case $cross_compiling:$ac_tool_warned in
25977
21230
yes:)
25978
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
25979
 
whose name does not start with the host triplet.  If you think this
25980
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
25981
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
25982
 
whose name does not start with the host triplet.  If you think this
25983
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
21231
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
21232
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
25984
21233
ac_tool_warned=yes ;;
25985
21234
esac
25986
21235
    have_cxx=$ac_ct_have_cxx
25990
21239
fi
25991
21240
 
25992
21241
   if test "$have_cxx" = "no"; then
25993
 
      { { echo "$as_me:$LINENO: error: C++ compiler not found. Make sure you have a C++ compiler installed or configure without X11 (using --without-x) and without ICU (using --without-icu)." >&5
25994
 
echo "$as_me: error: C++ compiler not found. Make sure you have a C++ compiler installed or configure without X11 (using --without-x) and without ICU (using --without-icu)." >&2;}
25995
 
   { (exit 1); exit 1; }; }
 
21242
      as_fn_error "C++ compiler not found. Make sure you have a C++ compiler installed or configure without X11 (using --without-x) and without ICU (using --without-icu)." "$LINENO" 5
25996
21243
   fi
25997
21244
fi
25998
21245
 
26008
21255
   
26009
21256
        
26010
21257
   if test -z "icuuc"; then
26011
 
      { { echo "$as_me:$LINENO: error: 'library' parameter is required.'" >&5
26012
 
echo "$as_me: error: 'library' parameter is required.'" >&2;}
26013
 
   { (exit 1); exit 1; }; }
 
21258
      as_fn_error "'library' parameter is required.'" "$LINENO" 5
26014
21259
   fi
26015
21260
   if test -z "ICU"; then
26016
 
      { { echo "$as_me:$LINENO: error: 'lvar' parameter is required.'" >&5
26017
 
echo "$as_me: error: 'lvar' parameter is required.'" >&2;}
26018
 
   { (exit 1); exit 1; }; }
 
21261
      as_fn_error "'lvar' parameter is required.'" "$LINENO" 5
26019
21262
   fi
26020
21263
 
26021
21264
   ac_vmw_have_lib=0
26032
21275
         ORIGINAL_CPPFLAGS="$CPPFLAGS"
26033
21276
         CPPFLAGS="${CUSTOM_ICU_CPPFLAGS} $CPPFLAGS"
26034
21277
 
26035
 
         if test "${ac_cv_header_unicode_utf_h+set}" = set; then
26036
 
  { echo "$as_me:$LINENO: checking for unicode/utf.h" >&5
26037
 
echo $ECHO_N "checking for unicode/utf.h... $ECHO_C" >&6; }
26038
 
if test "${ac_cv_header_unicode_utf_h+set}" = set; then
26039
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
26040
 
fi
26041
 
{ echo "$as_me:$LINENO: result: $ac_cv_header_unicode_utf_h" >&5
26042
 
echo "${ECHO_T}$ac_cv_header_unicode_utf_h" >&6; }
26043
 
else
26044
 
  # Is the header compilable?
26045
 
{ echo "$as_me:$LINENO: checking unicode/utf.h usability" >&5
26046
 
echo $ECHO_N "checking unicode/utf.h usability... $ECHO_C" >&6; }
26047
 
cat >conftest.$ac_ext <<_ACEOF
26048
 
/* confdefs.h.  */
26049
 
_ACEOF
26050
 
cat confdefs.h >>conftest.$ac_ext
26051
 
cat >>conftest.$ac_ext <<_ACEOF
26052
 
/* end confdefs.h.  */
26053
 
$ac_includes_default
26054
 
@%:@include <unicode/utf.h>
26055
 
_ACEOF
26056
 
rm -f conftest.$ac_objext
26057
 
if { (ac_try="$ac_compile"
26058
 
case "(($ac_try" in
26059
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26060
 
  *) ac_try_echo=$ac_try;;
26061
 
esac
26062
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26063
 
  (eval "$ac_compile") 2>conftest.er1
26064
 
  ac_status=$?
26065
 
  grep -v '^ *+' conftest.er1 >conftest.err
26066
 
  rm -f conftest.er1
26067
 
  cat conftest.err >&5
26068
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26069
 
  (exit $ac_status); } && {
26070
 
         test -z "$ac_cxx_werror_flag" ||
26071
 
         test ! -s conftest.err
26072
 
       } && test -s conftest.$ac_objext; then
26073
 
  ac_header_compiler=yes
26074
 
else
26075
 
  echo "$as_me: failed program was:" >&5
26076
 
sed 's/^/| /' conftest.$ac_ext >&5
26077
 
 
26078
 
        ac_header_compiler=no
26079
 
fi
26080
 
 
26081
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26082
 
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26083
 
echo "${ECHO_T}$ac_header_compiler" >&6; }
26084
 
 
26085
 
# Is the header present?
26086
 
{ echo "$as_me:$LINENO: checking unicode/utf.h presence" >&5
26087
 
echo $ECHO_N "checking unicode/utf.h presence... $ECHO_C" >&6; }
26088
 
cat >conftest.$ac_ext <<_ACEOF
26089
 
/* confdefs.h.  */
26090
 
_ACEOF
26091
 
cat confdefs.h >>conftest.$ac_ext
26092
 
cat >>conftest.$ac_ext <<_ACEOF
26093
 
/* end confdefs.h.  */
26094
 
@%:@include <unicode/utf.h>
26095
 
_ACEOF
26096
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
26097
 
case "(($ac_try" in
26098
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26099
 
  *) ac_try_echo=$ac_try;;
26100
 
esac
26101
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26102
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
26103
 
  ac_status=$?
26104
 
  grep -v '^ *+' conftest.er1 >conftest.err
26105
 
  rm -f conftest.er1
26106
 
  cat conftest.err >&5
26107
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26108
 
  (exit $ac_status); } >/dev/null && {
26109
 
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
26110
 
         test ! -s conftest.err
26111
 
       }; then
26112
 
  ac_header_preproc=yes
26113
 
else
26114
 
  echo "$as_me: failed program was:" >&5
26115
 
sed 's/^/| /' conftest.$ac_ext >&5
26116
 
 
26117
 
  ac_header_preproc=no
26118
 
fi
26119
 
 
26120
 
rm -f conftest.err conftest.$ac_ext
26121
 
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26122
 
echo "${ECHO_T}$ac_header_preproc" >&6; }
26123
 
 
26124
 
# So?  What about this header?
26125
 
case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
26126
 
  yes:no: )
26127
 
    { echo "$as_me:$LINENO: WARNING: unicode/utf.h: accepted by the compiler, rejected by the preprocessor!" >&5
26128
 
echo "$as_me: WARNING: unicode/utf.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26129
 
    { echo "$as_me:$LINENO: WARNING: unicode/utf.h: proceeding with the compiler's result" >&5
26130
 
echo "$as_me: WARNING: unicode/utf.h: proceeding with the compiler's result" >&2;}
26131
 
    ac_header_preproc=yes
26132
 
    ;;
26133
 
  no:yes:* )
26134
 
    { echo "$as_me:$LINENO: WARNING: unicode/utf.h: present but cannot be compiled" >&5
26135
 
echo "$as_me: WARNING: unicode/utf.h: present but cannot be compiled" >&2;}
26136
 
    { echo "$as_me:$LINENO: WARNING: unicode/utf.h:     check for missing prerequisite headers?" >&5
26137
 
echo "$as_me: WARNING: unicode/utf.h:     check for missing prerequisite headers?" >&2;}
26138
 
    { echo "$as_me:$LINENO: WARNING: unicode/utf.h: see the Autoconf documentation" >&5
26139
 
echo "$as_me: WARNING: unicode/utf.h: see the Autoconf documentation" >&2;}
26140
 
    { echo "$as_me:$LINENO: WARNING: unicode/utf.h:     section \"Present But Cannot Be Compiled\"" >&5
26141
 
echo "$as_me: WARNING: unicode/utf.h:     section \"Present But Cannot Be Compiled\"" >&2;}
26142
 
    { echo "$as_me:$LINENO: WARNING: unicode/utf.h: proceeding with the preprocessor's result" >&5
26143
 
echo "$as_me: WARNING: unicode/utf.h: proceeding with the preprocessor's result" >&2;}
26144
 
    { echo "$as_me:$LINENO: WARNING: unicode/utf.h: in the future, the compiler will take precedence" >&5
26145
 
echo "$as_me: WARNING: unicode/utf.h: in the future, the compiler will take precedence" >&2;}
26146
 
    ( cat <<\_ASBOX
26147
 
@%:@@%:@ -------------------------------------------------------- @%:@@%:@
26148
 
@%:@@%:@ Report this to open-vm-tools-devel@lists.sourceforge.net @%:@@%:@
26149
 
@%:@@%:@ -------------------------------------------------------- @%:@@%:@
26150
 
_ASBOX
26151
 
     ) | sed "s/^/$as_me: WARNING:     /" >&2
26152
 
    ;;
26153
 
esac
26154
 
{ echo "$as_me:$LINENO: checking for unicode/utf.h" >&5
26155
 
echo $ECHO_N "checking for unicode/utf.h... $ECHO_C" >&6; }
26156
 
if test "${ac_cv_header_unicode_utf_h+set}" = set; then
26157
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
26158
 
else
26159
 
  ac_cv_header_unicode_utf_h=$ac_header_preproc
26160
 
fi
26161
 
{ echo "$as_me:$LINENO: result: $ac_cv_header_unicode_utf_h" >&5
26162
 
echo "${ECHO_T}$ac_cv_header_unicode_utf_h" >&6; }
26163
 
 
26164
 
fi
26165
 
if test $ac_cv_header_unicode_utf_h = yes; then
 
21278
         ac_fn_cxx_check_header_mongrel "$LINENO" "unicode/utf.h" "ac_cv_header_unicode_utf_h" "$ac_includes_default"
 
21279
if test "x$ac_cv_header_unicode_utf_h" = x""yes; then :
26166
21280
  ac_vmw_have_lib_header=1
26167
21281
fi
26168
21282
 
26182
21296
         else
26183
21297
            ac_vmw_function=strlen
26184
21298
         fi
26185
 
         as_ac_Lib=`echo "ac_cv_lib_icuuc_$ac_vmw_function" | $as_tr_sh`
26186
 
{ echo "$as_me:$LINENO: checking for $ac_vmw_function in -licuuc" >&5
26187
 
echo $ECHO_N "checking for $ac_vmw_function in -licuuc... $ECHO_C" >&6; }
26188
 
if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
26189
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
21299
         as_ac_Lib=`$as_echo "ac_cv_lib_icuuc_$ac_vmw_function" | $as_tr_sh`
 
21300
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_vmw_function in -licuuc" >&5
 
21301
$as_echo_n "checking for $ac_vmw_function in -licuuc... " >&6; }
 
21302
if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then :
 
21303
  $as_echo_n "(cached) " >&6
26190
21304
else
26191
21305
  ac_check_lib_save_LIBS=$LIBS
26192
21306
LIBS="-licuuc $ac_vmw_custom_libs $LIBS"
26193
 
cat >conftest.$ac_ext <<_ACEOF
26194
 
/* confdefs.h.  */
26195
 
_ACEOF
26196
 
cat confdefs.h >>conftest.$ac_ext
26197
 
cat >>conftest.$ac_ext <<_ACEOF
 
21307
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26198
21308
/* end confdefs.h.  */
26199
21309
 
26200
21310
/* Override any GCC internal prototype to avoid an error.
26212
21322
  return 0;
26213
21323
}
26214
21324
_ACEOF
26215
 
rm -f conftest.$ac_objext conftest$ac_exeext
26216
 
if { (ac_try="$ac_link"
26217
 
case "(($ac_try" in
26218
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26219
 
  *) ac_try_echo=$ac_try;;
26220
 
esac
26221
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26222
 
  (eval "$ac_link") 2>conftest.er1
26223
 
  ac_status=$?
26224
 
  grep -v '^ *+' conftest.er1 >conftest.err
26225
 
  rm -f conftest.er1
26226
 
  cat conftest.err >&5
26227
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26228
 
  (exit $ac_status); } && {
26229
 
         test -z "$ac_cxx_werror_flag" ||
26230
 
         test ! -s conftest.err
26231
 
       } && test -s conftest$ac_exeext &&
26232
 
       $as_test_x conftest$ac_exeext; then
 
21325
if ac_fn_cxx_try_link "$LINENO"; then :
26233
21326
  eval "$as_ac_Lib=yes"
26234
21327
else
26235
 
  echo "$as_me: failed program was:" >&5
26236
 
sed 's/^/| /' conftest.$ac_ext >&5
26237
 
 
26238
 
        eval "$as_ac_Lib=no"
 
21328
  eval "$as_ac_Lib=no"
26239
21329
fi
26240
 
 
26241
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26242
 
      conftest$ac_exeext conftest.$ac_ext
 
21330
rm -f core conftest.err conftest.$ac_objext \
 
21331
    conftest$ac_exeext conftest.$ac_ext
26243
21332
LIBS=$ac_check_lib_save_LIBS
26244
21333
fi
26245
 
ac_res=`eval echo '${'$as_ac_Lib'}'`
26246
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
26247
 
echo "${ECHO_T}$ac_res" >&6; }
26248
 
if test `eval echo '${'$as_ac_Lib'}'` = yes; then
 
21334
eval ac_res=\$$as_ac_Lib
 
21335
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
21336
$as_echo "$ac_res" >&6; }
 
21337
eval as_val=\$$as_ac_Lib
 
21338
   if test "x$as_val" = x""yes; then :
26249
21339
  ac_vmw_have_lib_func=1
26250
21340
fi
26251
21341
 
26261
21351
   # If that didn't work, try with pkg-config.
26262
21352
   if test $ac_vmw_have_lib -eq 0 && test "$HAVE_PKG_CONFIG" = "yes" && test -n ""; then
26263
21353
      if test -n ""; then
26264
 
         { echo "$as_me:$LINENO: checking for  >=  (via pkg-config)" >&5
26265
 
echo $ECHO_N "checking for  >=  (via pkg-config)... $ECHO_C" >&6; }
 
21354
         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for  >=  (via pkg-config)" >&5
 
21355
$as_echo_n "checking for  >=  (via pkg-config)... " >&6; }
26266
21356
         if pkg-config --exists ' >= '; then
26267
21357
            ac_vmw_have_lib=1
26268
21358
         fi
26269
21359
      else
26270
 
         { echo "$as_me:$LINENO: checking for  (via pkg-config)" >&5
26271
 
echo $ECHO_N "checking for  (via pkg-config)... $ECHO_C" >&6; }
 
21360
         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for  (via pkg-config)" >&5
 
21361
$as_echo_n "checking for  (via pkg-config)... " >&6; }
26272
21362
         if pkg-config --exists ''; then
26273
21363
            ac_vmw_have_lib=1
26274
21364
         fi
26282
21372
         ac_vmw_libs="`pkg-config --libs `"
26283
21373
         ac_vmw_ret2=$?
26284
21374
         if test $ac_vmw_ret1 -eq 0 && test $ac_vmw_ret2 -eq 0; then
26285
 
            { echo "$as_me:$LINENO: result: yes" >&5
26286
 
echo "${ECHO_T}yes" >&6; }
 
21375
            { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
21376
$as_echo "yes" >&6; }
26287
21377
            ICU_CPPFLAGS="$ac_vmw_cppflags"
26288
21378
            ICU_LIBS="$ac_vmw_libs"
26289
21379
         else
26290
 
            { echo "$as_me:$LINENO: result: no" >&5
26291
 
echo "${ECHO_T}no" >&6; }
 
21380
            { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
21381
$as_echo "no" >&6; }
26292
21382
         fi
26293
21383
      else
26294
 
         { echo "$as_me:$LINENO: result: no" >&5
26295
 
echo "${ECHO_T}no" >&6; }
 
21384
         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
21385
$as_echo "no" >&6; }
26296
21386
      fi
26297
21387
   fi
26298
21388
 
26303
21393
   if test $ac_vmw_have_lib -eq 0 && test -n "icu-config"; then
26304
21394
      # Extract the first word of "icu-config", so it can be a program name with args.
26305
21395
set dummy icu-config; ac_word=$2
26306
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
26307
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
26308
 
if test "${ac_cv_path_ac_vmw_lib_cfg+set}" = set; then
26309
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
21396
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
21397
$as_echo_n "checking for $ac_word... " >&6; }
 
21398
if test "${ac_cv_path_ac_vmw_lib_cfg+set}" = set; then :
 
21399
  $as_echo_n "(cached) " >&6
26310
21400
else
26311
21401
  case $ac_vmw_lib_cfg in
26312
21402
  [\\/]* | ?:[\\/]*)
26318
21408
do
26319
21409
  IFS=$as_save_IFS
26320
21410
  test -z "$as_dir" && as_dir=.
26321
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
21411
    for ac_exec_ext in '' $ac_executable_extensions; do
26322
21412
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
26323
21413
    ac_cv_path_ac_vmw_lib_cfg="$as_dir/$ac_word$ac_exec_ext"
26324
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
21414
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
26325
21415
    break 2
26326
21416
  fi
26327
21417
done
26328
 
done
 
21418
  done
26329
21419
IFS=$as_save_IFS
26330
21420
 
26331
21421
  test -z "$ac_cv_path_ac_vmw_lib_cfg" && ac_cv_path_ac_vmw_lib_cfg="no"
26334
21424
fi
26335
21425
ac_vmw_lib_cfg=$ac_cv_path_ac_vmw_lib_cfg
26336
21426
if test -n "$ac_vmw_lib_cfg"; then
26337
 
  { echo "$as_me:$LINENO: result: $ac_vmw_lib_cfg" >&5
26338
 
echo "${ECHO_T}$ac_vmw_lib_cfg" >&6; }
 
21427
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_vmw_lib_cfg" >&5
 
21428
$as_echo "$ac_vmw_lib_cfg" >&6; }
26339
21429
else
26340
 
  { echo "$as_me:$LINENO: result: no" >&5
26341
 
echo "${ECHO_T}no" >&6; }
 
21430
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
21431
$as_echo "no" >&6; }
26342
21432
fi
26343
21433
 
26344
21434
 
26366
21456
      ICU_CPPFLAGS="$ICU_CPPFLAGS -DUSE_ICU"
26367
21457
   else
26368
21458
      true
26369
 
      { { echo "$as_me:$LINENO: error: ICU library not found. Please configure without ICU (using --without-icu) or install ICU - http://www.icu-project.org" >&5
26370
 
echo "$as_me: error: ICU library not found. Please configure without ICU (using --without-icu) or install ICU - http://www.icu-project.org" >&2;}
26371
 
   { (exit 1); exit 1; }; }
 
21459
      as_fn_error "ICU library not found. Please configure without ICU (using --without-icu) or install ICU - http://www.icu-project.org" "$LINENO" 5
26372
21460
   fi
26373
21461
 
26374
21462
   ac_ext=c
26385
21473
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26386
21474
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26387
21475
 
26388
 
   { echo "$as_me:$LINENO: checking for ucasemap_utf8ToTitle_3_8 in -licuuc" >&5
26389
 
echo $ECHO_N "checking for ucasemap_utf8ToTitle_3_8 in -licuuc... $ECHO_C" >&6; }
26390
 
if test "${ac_cv_lib_icuuc_ucasemap_utf8ToTitle_3_8+set}" = set; then
26391
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
21476
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ucasemap_utf8ToTitle_3_8 in -licuuc" >&5
 
21477
$as_echo_n "checking for ucasemap_utf8ToTitle_3_8 in -licuuc... " >&6; }
 
21478
if test "${ac_cv_lib_icuuc_ucasemap_utf8ToTitle_3_8+set}" = set; then :
 
21479
  $as_echo_n "(cached) " >&6
26392
21480
else
26393
21481
  ac_check_lib_save_LIBS=$LIBS
26394
21482
LIBS="-licuuc $ICU_LIBS $LIBS"
26395
 
cat >conftest.$ac_ext <<_ACEOF
26396
 
/* confdefs.h.  */
26397
 
_ACEOF
26398
 
cat confdefs.h >>conftest.$ac_ext
26399
 
cat >>conftest.$ac_ext <<_ACEOF
 
21483
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26400
21484
/* end confdefs.h.  */
26401
21485
 
26402
21486
/* Override any GCC internal prototype to avoid an error.
26414
21498
  return 0;
26415
21499
}
26416
21500
_ACEOF
26417
 
rm -f conftest.$ac_objext conftest$ac_exeext
26418
 
if { (ac_try="$ac_link"
26419
 
case "(($ac_try" in
26420
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26421
 
  *) ac_try_echo=$ac_try;;
26422
 
esac
26423
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26424
 
  (eval "$ac_link") 2>conftest.er1
26425
 
  ac_status=$?
26426
 
  grep -v '^ *+' conftest.er1 >conftest.err
26427
 
  rm -f conftest.er1
26428
 
  cat conftest.err >&5
26429
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26430
 
  (exit $ac_status); } && {
26431
 
         test -z "$ac_cxx_werror_flag" ||
26432
 
         test ! -s conftest.err
26433
 
       } && test -s conftest$ac_exeext &&
26434
 
       $as_test_x conftest$ac_exeext; then
 
21501
if ac_fn_cxx_try_link "$LINENO"; then :
26435
21502
  ac_cv_lib_icuuc_ucasemap_utf8ToTitle_3_8=yes
26436
21503
else
26437
 
  echo "$as_me: failed program was:" >&5
26438
 
sed 's/^/| /' conftest.$ac_ext >&5
26439
 
 
26440
 
        ac_cv_lib_icuuc_ucasemap_utf8ToTitle_3_8=no
 
21504
  ac_cv_lib_icuuc_ucasemap_utf8ToTitle_3_8=no
26441
21505
fi
26442
 
 
26443
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26444
 
      conftest$ac_exeext conftest.$ac_ext
 
21506
rm -f core conftest.err conftest.$ac_objext \
 
21507
    conftest$ac_exeext conftest.$ac_ext
26445
21508
LIBS=$ac_check_lib_save_LIBS
26446
21509
fi
26447
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_icuuc_ucasemap_utf8ToTitle_3_8" >&5
26448
 
echo "${ECHO_T}$ac_cv_lib_icuuc_ucasemap_utf8ToTitle_3_8" >&6; }
26449
 
if test $ac_cv_lib_icuuc_ucasemap_utf8ToTitle_3_8 = yes; then
 
21510
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_icuuc_ucasemap_utf8ToTitle_3_8" >&5
 
21511
$as_echo "$ac_cv_lib_icuuc_ucasemap_utf8ToTitle_3_8" >&6; }
 
21512
if test "x$ac_cv_lib_icuuc_ucasemap_utf8ToTitle_3_8" = x""yes; then :
26450
21513
  ICU_CPPFLAGS="$ICU_CPPFLAGS -DHAVE_ICU_38"
26451
21514
fi
26452
21515
 
26463
21526
 
26464
21527
# Extract the first word of "rpcgen", so it can be a program name with args.
26465
21528
set dummy rpcgen; ac_word=$2
26466
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
26467
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
26468
 
if test "${ac_cv_path_RPCGEN+set}" = set; then
26469
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
21529
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
21530
$as_echo_n "checking for $ac_word... " >&6; }
 
21531
if test "${ac_cv_path_RPCGEN+set}" = set; then :
 
21532
  $as_echo_n "(cached) " >&6
26470
21533
else
26471
21534
  case $RPCGEN in
26472
21535
  [\\/]* | ?:[\\/]*)
26478
21541
do
26479
21542
  IFS=$as_save_IFS
26480
21543
  test -z "$as_dir" && as_dir=.
26481
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
21544
    for ac_exec_ext in '' $ac_executable_extensions; do
26482
21545
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
26483
21546
    ac_cv_path_RPCGEN="$as_dir/$ac_word$ac_exec_ext"
26484
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
21547
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
26485
21548
    break 2
26486
21549
  fi
26487
21550
done
26488
 
done
 
21551
  done
26489
21552
IFS=$as_save_IFS
26490
21553
 
26491
 
  test -z "$ac_cv_path_RPCGEN" && ac_cv_path_RPCGEN=" { { echo "$as_me:$LINENO: error: rpcgen not found. Please install the libc devel package." >&5
26492
 
echo "$as_me: error: rpcgen not found. Please install the libc devel package." >&2;}
26493
 
   { (exit 1); exit 1; }; } "
 
21554
  test -z "$ac_cv_path_RPCGEN" && ac_cv_path_RPCGEN=" as_fn_error "rpcgen not found. Please install the libc devel package." "$LINENO" 5 "
26494
21555
  ;;
26495
21556
esac
26496
21557
fi
26497
21558
RPCGEN=$ac_cv_path_RPCGEN
26498
21559
if test -n "$RPCGEN"; then
26499
 
  { echo "$as_me:$LINENO: result: $RPCGEN" >&5
26500
 
echo "${ECHO_T}$RPCGEN" >&6; }
 
21560
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RPCGEN" >&5
 
21561
$as_echo "$RPCGEN" >&6; }
26501
21562
else
26502
 
  { echo "$as_me:$LINENO: result: no" >&5
26503
 
echo "${ECHO_T}no" >&6; }
 
21563
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
21564
$as_echo "no" >&6; }
26504
21565
fi
26505
21566
 
26506
21567
 
26509
21570
### Headers
26510
21571
###
26511
21572
 
26512
 
 
26513
21573
for ac_header in crypt.h
26514
 
do
26515
 
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
26516
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
26517
 
  { echo "$as_me:$LINENO: checking for $ac_header" >&5
26518
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
26519
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
26520
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
26521
 
fi
26522
 
ac_res=`eval echo '${'$as_ac_Header'}'`
26523
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
26524
 
echo "${ECHO_T}$ac_res" >&6; }
26525
 
else
26526
 
  # Is the header compilable?
26527
 
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
26528
 
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
26529
 
cat >conftest.$ac_ext <<_ACEOF
26530
 
/* confdefs.h.  */
26531
 
_ACEOF
26532
 
cat confdefs.h >>conftest.$ac_ext
26533
 
cat >>conftest.$ac_ext <<_ACEOF
26534
 
/* end confdefs.h.  */
26535
 
$ac_includes_default
26536
 
@%:@include <$ac_header>
26537
 
_ACEOF
26538
 
rm -f conftest.$ac_objext
26539
 
if { (ac_try="$ac_compile"
26540
 
case "(($ac_try" in
26541
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26542
 
  *) ac_try_echo=$ac_try;;
26543
 
esac
26544
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26545
 
  (eval "$ac_compile") 2>conftest.er1
26546
 
  ac_status=$?
26547
 
  grep -v '^ *+' conftest.er1 >conftest.err
26548
 
  rm -f conftest.er1
26549
 
  cat conftest.err >&5
26550
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26551
 
  (exit $ac_status); } && {
26552
 
         test -z "$ac_c_werror_flag" ||
26553
 
         test ! -s conftest.err
26554
 
       } && test -s conftest.$ac_objext; then
26555
 
  ac_header_compiler=yes
26556
 
else
26557
 
  echo "$as_me: failed program was:" >&5
26558
 
sed 's/^/| /' conftest.$ac_ext >&5
26559
 
 
26560
 
        ac_header_compiler=no
26561
 
fi
26562
 
 
26563
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26564
 
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26565
 
echo "${ECHO_T}$ac_header_compiler" >&6; }
26566
 
 
26567
 
# Is the header present?
26568
 
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
26569
 
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
26570
 
cat >conftest.$ac_ext <<_ACEOF
26571
 
/* confdefs.h.  */
26572
 
_ACEOF
26573
 
cat confdefs.h >>conftest.$ac_ext
26574
 
cat >>conftest.$ac_ext <<_ACEOF
26575
 
/* end confdefs.h.  */
26576
 
@%:@include <$ac_header>
26577
 
_ACEOF
26578
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
26579
 
case "(($ac_try" in
26580
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26581
 
  *) ac_try_echo=$ac_try;;
26582
 
esac
26583
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26584
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
26585
 
  ac_status=$?
26586
 
  grep -v '^ *+' conftest.er1 >conftest.err
26587
 
  rm -f conftest.er1
26588
 
  cat conftest.err >&5
26589
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26590
 
  (exit $ac_status); } >/dev/null && {
26591
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
26592
 
         test ! -s conftest.err
26593
 
       }; then
26594
 
  ac_header_preproc=yes
26595
 
else
26596
 
  echo "$as_me: failed program was:" >&5
26597
 
sed 's/^/| /' conftest.$ac_ext >&5
26598
 
 
26599
 
  ac_header_preproc=no
26600
 
fi
26601
 
 
26602
 
rm -f conftest.err conftest.$ac_ext
26603
 
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26604
 
echo "${ECHO_T}$ac_header_preproc" >&6; }
26605
 
 
26606
 
# So?  What about this header?
26607
 
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
26608
 
  yes:no: )
26609
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
26610
 
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
26611
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
26612
 
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
26613
 
    ac_header_preproc=yes
26614
 
    ;;
26615
 
  no:yes:* )
26616
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
26617
 
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
26618
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
26619
 
echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
26620
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
26621
 
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
26622
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
26623
 
echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
26624
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
26625
 
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
26626
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
26627
 
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
26628
 
    ( cat <<\_ASBOX
26629
 
@%:@@%:@ -------------------------------------------------------- @%:@@%:@
26630
 
@%:@@%:@ Report this to open-vm-tools-devel@lists.sourceforge.net @%:@@%:@
26631
 
@%:@@%:@ -------------------------------------------------------- @%:@@%:@
26632
 
_ASBOX
26633
 
     ) | sed "s/^/$as_me: WARNING:     /" >&2
26634
 
    ;;
26635
 
esac
26636
 
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
26637
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
26638
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
26639
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
26640
 
else
26641
 
  eval "$as_ac_Header=\$ac_header_preproc"
26642
 
fi
26643
 
ac_res=`eval echo '${'$as_ac_Header'}'`
26644
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
26645
 
echo "${ECHO_T}$ac_res" >&6; }
26646
 
 
26647
 
fi
26648
 
if test `eval echo '${'$as_ac_Header'}'` = yes; then
 
21574
do :
 
21575
  ac_fn_c_check_header_mongrel "$LINENO" "crypt.h" "ac_cv_header_crypt_h" "$ac_includes_default"
 
21576
if test "x$ac_cv_header_crypt_h" = x""yes; then :
26649
21577
  cat >>confdefs.h <<_ACEOF
26650
 
@%:@define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
21578
@%:@define HAVE_CRYPT_H 1
26651
21579
_ACEOF
26652
21580
 
26653
21581
fi
26654
21582
 
26655
21583
done
26656
21584
 
26657
 
 
26658
21585
for ac_header in inttypes.h
26659
 
do
26660
 
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
26661
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
26662
 
  { echo "$as_me:$LINENO: checking for $ac_header" >&5
26663
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
26664
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
26665
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
26666
 
fi
26667
 
ac_res=`eval echo '${'$as_ac_Header'}'`
26668
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
26669
 
echo "${ECHO_T}$ac_res" >&6; }
26670
 
else
26671
 
  # Is the header compilable?
26672
 
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
26673
 
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
26674
 
cat >conftest.$ac_ext <<_ACEOF
26675
 
/* confdefs.h.  */
26676
 
_ACEOF
26677
 
cat confdefs.h >>conftest.$ac_ext
26678
 
cat >>conftest.$ac_ext <<_ACEOF
26679
 
/* end confdefs.h.  */
26680
 
$ac_includes_default
26681
 
@%:@include <$ac_header>
26682
 
_ACEOF
26683
 
rm -f conftest.$ac_objext
26684
 
if { (ac_try="$ac_compile"
26685
 
case "(($ac_try" in
26686
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26687
 
  *) ac_try_echo=$ac_try;;
26688
 
esac
26689
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26690
 
  (eval "$ac_compile") 2>conftest.er1
26691
 
  ac_status=$?
26692
 
  grep -v '^ *+' conftest.er1 >conftest.err
26693
 
  rm -f conftest.er1
26694
 
  cat conftest.err >&5
26695
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26696
 
  (exit $ac_status); } && {
26697
 
         test -z "$ac_c_werror_flag" ||
26698
 
         test ! -s conftest.err
26699
 
       } && test -s conftest.$ac_objext; then
26700
 
  ac_header_compiler=yes
26701
 
else
26702
 
  echo "$as_me: failed program was:" >&5
26703
 
sed 's/^/| /' conftest.$ac_ext >&5
26704
 
 
26705
 
        ac_header_compiler=no
26706
 
fi
26707
 
 
26708
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26709
 
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26710
 
echo "${ECHO_T}$ac_header_compiler" >&6; }
26711
 
 
26712
 
# Is the header present?
26713
 
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
26714
 
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
26715
 
cat >conftest.$ac_ext <<_ACEOF
26716
 
/* confdefs.h.  */
26717
 
_ACEOF
26718
 
cat confdefs.h >>conftest.$ac_ext
26719
 
cat >>conftest.$ac_ext <<_ACEOF
26720
 
/* end confdefs.h.  */
26721
 
@%:@include <$ac_header>
26722
 
_ACEOF
26723
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
26724
 
case "(($ac_try" in
26725
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26726
 
  *) ac_try_echo=$ac_try;;
26727
 
esac
26728
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26729
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
26730
 
  ac_status=$?
26731
 
  grep -v '^ *+' conftest.er1 >conftest.err
26732
 
  rm -f conftest.er1
26733
 
  cat conftest.err >&5
26734
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26735
 
  (exit $ac_status); } >/dev/null && {
26736
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
26737
 
         test ! -s conftest.err
26738
 
       }; then
26739
 
  ac_header_preproc=yes
26740
 
else
26741
 
  echo "$as_me: failed program was:" >&5
26742
 
sed 's/^/| /' conftest.$ac_ext >&5
26743
 
 
26744
 
  ac_header_preproc=no
26745
 
fi
26746
 
 
26747
 
rm -f conftest.err conftest.$ac_ext
26748
 
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26749
 
echo "${ECHO_T}$ac_header_preproc" >&6; }
26750
 
 
26751
 
# So?  What about this header?
26752
 
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
26753
 
  yes:no: )
26754
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
26755
 
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
26756
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
26757
 
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
26758
 
    ac_header_preproc=yes
26759
 
    ;;
26760
 
  no:yes:* )
26761
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
26762
 
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
26763
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
26764
 
echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
26765
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
26766
 
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
26767
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
26768
 
echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
26769
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
26770
 
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
26771
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
26772
 
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
26773
 
    ( cat <<\_ASBOX
26774
 
@%:@@%:@ -------------------------------------------------------- @%:@@%:@
26775
 
@%:@@%:@ Report this to open-vm-tools-devel@lists.sourceforge.net @%:@@%:@
26776
 
@%:@@%:@ -------------------------------------------------------- @%:@@%:@
26777
 
_ASBOX
26778
 
     ) | sed "s/^/$as_me: WARNING:     /" >&2
26779
 
    ;;
26780
 
esac
26781
 
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
26782
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
26783
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
26784
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
26785
 
else
26786
 
  eval "$as_ac_Header=\$ac_header_preproc"
26787
 
fi
26788
 
ac_res=`eval echo '${'$as_ac_Header'}'`
26789
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
26790
 
echo "${ECHO_T}$ac_res" >&6; }
26791
 
 
26792
 
fi
26793
 
if test `eval echo '${'$as_ac_Header'}'` = yes; then
 
21586
do :
 
21587
  ac_fn_c_check_header_mongrel "$LINENO" "inttypes.h" "ac_cv_header_inttypes_h" "$ac_includes_default"
 
21588
if test "x$ac_cv_header_inttypes_h" = x""yes; then :
26794
21589
  cat >>confdefs.h <<_ACEOF
26795
 
@%:@define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
21590
@%:@define HAVE_INTTYPES_H 1
26796
21591
_ACEOF
26797
21592
 
26798
21593
fi
26799
21594
 
26800
21595
done
26801
21596
 
26802
 
 
26803
21597
for ac_header in stdint.h
26804
 
do
26805
 
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
26806
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
26807
 
  { echo "$as_me:$LINENO: checking for $ac_header" >&5
26808
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
26809
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
26810
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
26811
 
fi
26812
 
ac_res=`eval echo '${'$as_ac_Header'}'`
26813
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
26814
 
echo "${ECHO_T}$ac_res" >&6; }
26815
 
else
26816
 
  # Is the header compilable?
26817
 
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
26818
 
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
26819
 
cat >conftest.$ac_ext <<_ACEOF
26820
 
/* confdefs.h.  */
26821
 
_ACEOF
26822
 
cat confdefs.h >>conftest.$ac_ext
26823
 
cat >>conftest.$ac_ext <<_ACEOF
26824
 
/* end confdefs.h.  */
26825
 
$ac_includes_default
26826
 
@%:@include <$ac_header>
26827
 
_ACEOF
26828
 
rm -f conftest.$ac_objext
26829
 
if { (ac_try="$ac_compile"
26830
 
case "(($ac_try" in
26831
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26832
 
  *) ac_try_echo=$ac_try;;
26833
 
esac
26834
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26835
 
  (eval "$ac_compile") 2>conftest.er1
26836
 
  ac_status=$?
26837
 
  grep -v '^ *+' conftest.er1 >conftest.err
26838
 
  rm -f conftest.er1
26839
 
  cat conftest.err >&5
26840
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26841
 
  (exit $ac_status); } && {
26842
 
         test -z "$ac_c_werror_flag" ||
26843
 
         test ! -s conftest.err
26844
 
       } && test -s conftest.$ac_objext; then
26845
 
  ac_header_compiler=yes
26846
 
else
26847
 
  echo "$as_me: failed program was:" >&5
26848
 
sed 's/^/| /' conftest.$ac_ext >&5
26849
 
 
26850
 
        ac_header_compiler=no
26851
 
fi
26852
 
 
26853
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26854
 
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26855
 
echo "${ECHO_T}$ac_header_compiler" >&6; }
26856
 
 
26857
 
# Is the header present?
26858
 
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
26859
 
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
26860
 
cat >conftest.$ac_ext <<_ACEOF
26861
 
/* confdefs.h.  */
26862
 
_ACEOF
26863
 
cat confdefs.h >>conftest.$ac_ext
26864
 
cat >>conftest.$ac_ext <<_ACEOF
26865
 
/* end confdefs.h.  */
26866
 
@%:@include <$ac_header>
26867
 
_ACEOF
26868
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
26869
 
case "(($ac_try" in
26870
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26871
 
  *) ac_try_echo=$ac_try;;
26872
 
esac
26873
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26874
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
26875
 
  ac_status=$?
26876
 
  grep -v '^ *+' conftest.er1 >conftest.err
26877
 
  rm -f conftest.er1
26878
 
  cat conftest.err >&5
26879
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26880
 
  (exit $ac_status); } >/dev/null && {
26881
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
26882
 
         test ! -s conftest.err
26883
 
       }; then
26884
 
  ac_header_preproc=yes
26885
 
else
26886
 
  echo "$as_me: failed program was:" >&5
26887
 
sed 's/^/| /' conftest.$ac_ext >&5
26888
 
 
26889
 
  ac_header_preproc=no
26890
 
fi
26891
 
 
26892
 
rm -f conftest.err conftest.$ac_ext
26893
 
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26894
 
echo "${ECHO_T}$ac_header_preproc" >&6; }
26895
 
 
26896
 
# So?  What about this header?
26897
 
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
26898
 
  yes:no: )
26899
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
26900
 
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
26901
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
26902
 
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
26903
 
    ac_header_preproc=yes
26904
 
    ;;
26905
 
  no:yes:* )
26906
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
26907
 
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
26908
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
26909
 
echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
26910
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
26911
 
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
26912
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
26913
 
echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
26914
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
26915
 
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
26916
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
26917
 
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
26918
 
    ( cat <<\_ASBOX
26919
 
@%:@@%:@ -------------------------------------------------------- @%:@@%:@
26920
 
@%:@@%:@ Report this to open-vm-tools-devel@lists.sourceforge.net @%:@@%:@
26921
 
@%:@@%:@ -------------------------------------------------------- @%:@@%:@
26922
 
_ASBOX
26923
 
     ) | sed "s/^/$as_me: WARNING:     /" >&2
26924
 
    ;;
26925
 
esac
26926
 
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
26927
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
26928
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
26929
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
26930
 
else
26931
 
  eval "$as_ac_Header=\$ac_header_preproc"
26932
 
fi
26933
 
ac_res=`eval echo '${'$as_ac_Header'}'`
26934
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
26935
 
echo "${ECHO_T}$ac_res" >&6; }
26936
 
 
26937
 
fi
26938
 
if test `eval echo '${'$as_ac_Header'}'` = yes; then
 
21598
do :
 
21599
  ac_fn_c_check_header_mongrel "$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default"
 
21600
if test "x$ac_cv_header_stdint_h" = x""yes; then :
26939
21601
  cat >>confdefs.h <<_ACEOF
26940
 
@%:@define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
21602
@%:@define HAVE_STDINT_H 1
26941
21603
_ACEOF
26942
21604
 
26943
21605
fi
26944
21606
 
26945
21607
done
26946
21608
 
26947
 
 
26948
21609
for ac_header in stdlib.h
26949
 
do
26950
 
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
26951
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
26952
 
  { echo "$as_me:$LINENO: checking for $ac_header" >&5
26953
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
26954
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
26955
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
26956
 
fi
26957
 
ac_res=`eval echo '${'$as_ac_Header'}'`
26958
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
26959
 
echo "${ECHO_T}$ac_res" >&6; }
26960
 
else
26961
 
  # Is the header compilable?
26962
 
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
26963
 
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
26964
 
cat >conftest.$ac_ext <<_ACEOF
26965
 
/* confdefs.h.  */
26966
 
_ACEOF
26967
 
cat confdefs.h >>conftest.$ac_ext
26968
 
cat >>conftest.$ac_ext <<_ACEOF
26969
 
/* end confdefs.h.  */
26970
 
$ac_includes_default
26971
 
@%:@include <$ac_header>
26972
 
_ACEOF
26973
 
rm -f conftest.$ac_objext
26974
 
if { (ac_try="$ac_compile"
26975
 
case "(($ac_try" in
26976
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26977
 
  *) ac_try_echo=$ac_try;;
26978
 
esac
26979
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26980
 
  (eval "$ac_compile") 2>conftest.er1
26981
 
  ac_status=$?
26982
 
  grep -v '^ *+' conftest.er1 >conftest.err
26983
 
  rm -f conftest.er1
26984
 
  cat conftest.err >&5
26985
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26986
 
  (exit $ac_status); } && {
26987
 
         test -z "$ac_c_werror_flag" ||
26988
 
         test ! -s conftest.err
26989
 
       } && test -s conftest.$ac_objext; then
26990
 
  ac_header_compiler=yes
26991
 
else
26992
 
  echo "$as_me: failed program was:" >&5
26993
 
sed 's/^/| /' conftest.$ac_ext >&5
26994
 
 
26995
 
        ac_header_compiler=no
26996
 
fi
26997
 
 
26998
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26999
 
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27000
 
echo "${ECHO_T}$ac_header_compiler" >&6; }
27001
 
 
27002
 
# Is the header present?
27003
 
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
27004
 
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
27005
 
cat >conftest.$ac_ext <<_ACEOF
27006
 
/* confdefs.h.  */
27007
 
_ACEOF
27008
 
cat confdefs.h >>conftest.$ac_ext
27009
 
cat >>conftest.$ac_ext <<_ACEOF
27010
 
/* end confdefs.h.  */
27011
 
@%:@include <$ac_header>
27012
 
_ACEOF
27013
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
27014
 
case "(($ac_try" in
27015
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27016
 
  *) ac_try_echo=$ac_try;;
27017
 
esac
27018
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27019
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
27020
 
  ac_status=$?
27021
 
  grep -v '^ *+' conftest.er1 >conftest.err
27022
 
  rm -f conftest.er1
27023
 
  cat conftest.err >&5
27024
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27025
 
  (exit $ac_status); } >/dev/null && {
27026
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
27027
 
         test ! -s conftest.err
27028
 
       }; then
27029
 
  ac_header_preproc=yes
27030
 
else
27031
 
  echo "$as_me: failed program was:" >&5
27032
 
sed 's/^/| /' conftest.$ac_ext >&5
27033
 
 
27034
 
  ac_header_preproc=no
27035
 
fi
27036
 
 
27037
 
rm -f conftest.err conftest.$ac_ext
27038
 
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27039
 
echo "${ECHO_T}$ac_header_preproc" >&6; }
27040
 
 
27041
 
# So?  What about this header?
27042
 
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
27043
 
  yes:no: )
27044
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
27045
 
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
27046
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
27047
 
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
27048
 
    ac_header_preproc=yes
27049
 
    ;;
27050
 
  no:yes:* )
27051
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
27052
 
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
27053
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
27054
 
echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
27055
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
27056
 
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
27057
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
27058
 
echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
27059
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
27060
 
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
27061
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
27062
 
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
27063
 
    ( cat <<\_ASBOX
27064
 
@%:@@%:@ -------------------------------------------------------- @%:@@%:@
27065
 
@%:@@%:@ Report this to open-vm-tools-devel@lists.sourceforge.net @%:@@%:@
27066
 
@%:@@%:@ -------------------------------------------------------- @%:@@%:@
27067
 
_ASBOX
27068
 
     ) | sed "s/^/$as_me: WARNING:     /" >&2
27069
 
    ;;
27070
 
esac
27071
 
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
27072
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
27073
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
27074
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
27075
 
else
27076
 
  eval "$as_ac_Header=\$ac_header_preproc"
27077
 
fi
27078
 
ac_res=`eval echo '${'$as_ac_Header'}'`
27079
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
27080
 
echo "${ECHO_T}$ac_res" >&6; }
27081
 
 
27082
 
fi
27083
 
if test `eval echo '${'$as_ac_Header'}'` = yes; then
 
21610
do :
 
21611
  ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
 
21612
if test "x$ac_cv_header_stdlib_h" = x""yes; then :
27084
21613
  cat >>confdefs.h <<_ACEOF
27085
 
@%:@define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
21614
@%:@define HAVE_STDLIB_H 1
27086
21615
_ACEOF
27087
21616
 
27088
21617
fi
27089
21618
 
27090
21619
done
27091
21620
 
27092
 
 
27093
21621
for ac_header in wchar.h
27094
 
do
27095
 
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
27096
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
27097
 
  { echo "$as_me:$LINENO: checking for $ac_header" >&5
27098
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
27099
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
27100
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
27101
 
fi
27102
 
ac_res=`eval echo '${'$as_ac_Header'}'`
27103
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
27104
 
echo "${ECHO_T}$ac_res" >&6; }
27105
 
else
27106
 
  # Is the header compilable?
27107
 
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
27108
 
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
27109
 
cat >conftest.$ac_ext <<_ACEOF
27110
 
/* confdefs.h.  */
27111
 
_ACEOF
27112
 
cat confdefs.h >>conftest.$ac_ext
27113
 
cat >>conftest.$ac_ext <<_ACEOF
27114
 
/* end confdefs.h.  */
27115
 
$ac_includes_default
27116
 
@%:@include <$ac_header>
27117
 
_ACEOF
27118
 
rm -f conftest.$ac_objext
27119
 
if { (ac_try="$ac_compile"
27120
 
case "(($ac_try" in
27121
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27122
 
  *) ac_try_echo=$ac_try;;
27123
 
esac
27124
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27125
 
  (eval "$ac_compile") 2>conftest.er1
27126
 
  ac_status=$?
27127
 
  grep -v '^ *+' conftest.er1 >conftest.err
27128
 
  rm -f conftest.er1
27129
 
  cat conftest.err >&5
27130
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27131
 
  (exit $ac_status); } && {
27132
 
         test -z "$ac_c_werror_flag" ||
27133
 
         test ! -s conftest.err
27134
 
       } && test -s conftest.$ac_objext; then
27135
 
  ac_header_compiler=yes
27136
 
else
27137
 
  echo "$as_me: failed program was:" >&5
27138
 
sed 's/^/| /' conftest.$ac_ext >&5
27139
 
 
27140
 
        ac_header_compiler=no
27141
 
fi
27142
 
 
27143
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27144
 
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27145
 
echo "${ECHO_T}$ac_header_compiler" >&6; }
27146
 
 
27147
 
# Is the header present?
27148
 
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
27149
 
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
27150
 
cat >conftest.$ac_ext <<_ACEOF
27151
 
/* confdefs.h.  */
27152
 
_ACEOF
27153
 
cat confdefs.h >>conftest.$ac_ext
27154
 
cat >>conftest.$ac_ext <<_ACEOF
27155
 
/* end confdefs.h.  */
27156
 
@%:@include <$ac_header>
27157
 
_ACEOF
27158
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
27159
 
case "(($ac_try" in
27160
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27161
 
  *) ac_try_echo=$ac_try;;
27162
 
esac
27163
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27164
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
27165
 
  ac_status=$?
27166
 
  grep -v '^ *+' conftest.er1 >conftest.err
27167
 
  rm -f conftest.er1
27168
 
  cat conftest.err >&5
27169
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27170
 
  (exit $ac_status); } >/dev/null && {
27171
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
27172
 
         test ! -s conftest.err
27173
 
       }; then
27174
 
  ac_header_preproc=yes
27175
 
else
27176
 
  echo "$as_me: failed program was:" >&5
27177
 
sed 's/^/| /' conftest.$ac_ext >&5
27178
 
 
27179
 
  ac_header_preproc=no
27180
 
fi
27181
 
 
27182
 
rm -f conftest.err conftest.$ac_ext
27183
 
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27184
 
echo "${ECHO_T}$ac_header_preproc" >&6; }
27185
 
 
27186
 
# So?  What about this header?
27187
 
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
27188
 
  yes:no: )
27189
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
27190
 
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
27191
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
27192
 
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
27193
 
    ac_header_preproc=yes
27194
 
    ;;
27195
 
  no:yes:* )
27196
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
27197
 
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
27198
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
27199
 
echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
27200
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
27201
 
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
27202
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
27203
 
echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
27204
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
27205
 
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
27206
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
27207
 
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
27208
 
    ( cat <<\_ASBOX
27209
 
@%:@@%:@ -------------------------------------------------------- @%:@@%:@
27210
 
@%:@@%:@ Report this to open-vm-tools-devel@lists.sourceforge.net @%:@@%:@
27211
 
@%:@@%:@ -------------------------------------------------------- @%:@@%:@
27212
 
_ASBOX
27213
 
     ) | sed "s/^/$as_me: WARNING:     /" >&2
27214
 
    ;;
27215
 
esac
27216
 
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
27217
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
27218
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
27219
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
27220
 
else
27221
 
  eval "$as_ac_Header=\$ac_header_preproc"
27222
 
fi
27223
 
ac_res=`eval echo '${'$as_ac_Header'}'`
27224
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
27225
 
echo "${ECHO_T}$ac_res" >&6; }
27226
 
 
27227
 
fi
27228
 
if test `eval echo '${'$as_ac_Header'}'` = yes; then
 
21622
do :
 
21623
  ac_fn_c_check_header_mongrel "$LINENO" "wchar.h" "ac_cv_header_wchar_h" "$ac_includes_default"
 
21624
if test "x$ac_cv_header_wchar_h" = x""yes; then :
27229
21625
  cat >>confdefs.h <<_ACEOF
27230
 
@%:@define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
21626
@%:@define HAVE_WCHAR_H 1
27231
21627
_ACEOF
27232
21628
 
27233
21629
fi
27234
21630
 
27235
21631
done
27236
21632
 
27237
 
 
27238
21633
for ac_header in sys/inttypes.h
27239
 
do
27240
 
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
27241
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
27242
 
  { echo "$as_me:$LINENO: checking for $ac_header" >&5
27243
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
27244
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
27245
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
27246
 
fi
27247
 
ac_res=`eval echo '${'$as_ac_Header'}'`
27248
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
27249
 
echo "${ECHO_T}$ac_res" >&6; }
27250
 
else
27251
 
  # Is the header compilable?
27252
 
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
27253
 
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
27254
 
cat >conftest.$ac_ext <<_ACEOF
27255
 
/* confdefs.h.  */
27256
 
_ACEOF
27257
 
cat confdefs.h >>conftest.$ac_ext
27258
 
cat >>conftest.$ac_ext <<_ACEOF
27259
 
/* end confdefs.h.  */
27260
 
$ac_includes_default
27261
 
@%:@include <$ac_header>
27262
 
_ACEOF
27263
 
rm -f conftest.$ac_objext
27264
 
if { (ac_try="$ac_compile"
27265
 
case "(($ac_try" in
27266
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27267
 
  *) ac_try_echo=$ac_try;;
27268
 
esac
27269
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27270
 
  (eval "$ac_compile") 2>conftest.er1
27271
 
  ac_status=$?
27272
 
  grep -v '^ *+' conftest.er1 >conftest.err
27273
 
  rm -f conftest.er1
27274
 
  cat conftest.err >&5
27275
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27276
 
  (exit $ac_status); } && {
27277
 
         test -z "$ac_c_werror_flag" ||
27278
 
         test ! -s conftest.err
27279
 
       } && test -s conftest.$ac_objext; then
27280
 
  ac_header_compiler=yes
27281
 
else
27282
 
  echo "$as_me: failed program was:" >&5
27283
 
sed 's/^/| /' conftest.$ac_ext >&5
27284
 
 
27285
 
        ac_header_compiler=no
27286
 
fi
27287
 
 
27288
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27289
 
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27290
 
echo "${ECHO_T}$ac_header_compiler" >&6; }
27291
 
 
27292
 
# Is the header present?
27293
 
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
27294
 
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
27295
 
cat >conftest.$ac_ext <<_ACEOF
27296
 
/* confdefs.h.  */
27297
 
_ACEOF
27298
 
cat confdefs.h >>conftest.$ac_ext
27299
 
cat >>conftest.$ac_ext <<_ACEOF
27300
 
/* end confdefs.h.  */
27301
 
@%:@include <$ac_header>
27302
 
_ACEOF
27303
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
27304
 
case "(($ac_try" in
27305
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27306
 
  *) ac_try_echo=$ac_try;;
27307
 
esac
27308
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27309
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
27310
 
  ac_status=$?
27311
 
  grep -v '^ *+' conftest.er1 >conftest.err
27312
 
  rm -f conftest.er1
27313
 
  cat conftest.err >&5
27314
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27315
 
  (exit $ac_status); } >/dev/null && {
27316
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
27317
 
         test ! -s conftest.err
27318
 
       }; then
27319
 
  ac_header_preproc=yes
27320
 
else
27321
 
  echo "$as_me: failed program was:" >&5
27322
 
sed 's/^/| /' conftest.$ac_ext >&5
27323
 
 
27324
 
  ac_header_preproc=no
27325
 
fi
27326
 
 
27327
 
rm -f conftest.err conftest.$ac_ext
27328
 
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27329
 
echo "${ECHO_T}$ac_header_preproc" >&6; }
27330
 
 
27331
 
# So?  What about this header?
27332
 
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
27333
 
  yes:no: )
27334
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
27335
 
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
27336
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
27337
 
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
27338
 
    ac_header_preproc=yes
27339
 
    ;;
27340
 
  no:yes:* )
27341
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
27342
 
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
27343
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
27344
 
echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
27345
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
27346
 
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
27347
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
27348
 
echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
27349
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
27350
 
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
27351
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
27352
 
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
27353
 
    ( cat <<\_ASBOX
27354
 
@%:@@%:@ -------------------------------------------------------- @%:@@%:@
27355
 
@%:@@%:@ Report this to open-vm-tools-devel@lists.sourceforge.net @%:@@%:@
27356
 
@%:@@%:@ -------------------------------------------------------- @%:@@%:@
27357
 
_ASBOX
27358
 
     ) | sed "s/^/$as_me: WARNING:     /" >&2
27359
 
    ;;
27360
 
esac
27361
 
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
27362
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
27363
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
27364
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
27365
 
else
27366
 
  eval "$as_ac_Header=\$ac_header_preproc"
27367
 
fi
27368
 
ac_res=`eval echo '${'$as_ac_Header'}'`
27369
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
27370
 
echo "${ECHO_T}$ac_res" >&6; }
27371
 
 
27372
 
fi
27373
 
if test `eval echo '${'$as_ac_Header'}'` = yes; then
 
21634
do :
 
21635
  ac_fn_c_check_header_mongrel "$LINENO" "sys/inttypes.h" "ac_cv_header_sys_inttypes_h" "$ac_includes_default"
 
21636
if test "x$ac_cv_header_sys_inttypes_h" = x""yes; then :
27374
21637
  cat >>confdefs.h <<_ACEOF
27375
 
@%:@define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
21638
@%:@define HAVE_SYS_INTTYPES_H 1
27376
21639
_ACEOF
27377
21640
 
27378
21641
fi
27379
21642
 
27380
21643
done
27381
21644
 
27382
 
 
27383
21645
for ac_header in sys/io.h
27384
 
do
27385
 
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
27386
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
27387
 
  { echo "$as_me:$LINENO: checking for $ac_header" >&5
27388
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
27389
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
27390
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
27391
 
fi
27392
 
ac_res=`eval echo '${'$as_ac_Header'}'`
27393
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
27394
 
echo "${ECHO_T}$ac_res" >&6; }
27395
 
else
27396
 
  # Is the header compilable?
27397
 
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
27398
 
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
27399
 
cat >conftest.$ac_ext <<_ACEOF
27400
 
/* confdefs.h.  */
27401
 
_ACEOF
27402
 
cat confdefs.h >>conftest.$ac_ext
27403
 
cat >>conftest.$ac_ext <<_ACEOF
27404
 
/* end confdefs.h.  */
27405
 
$ac_includes_default
27406
 
@%:@include <$ac_header>
27407
 
_ACEOF
27408
 
rm -f conftest.$ac_objext
27409
 
if { (ac_try="$ac_compile"
27410
 
case "(($ac_try" in
27411
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27412
 
  *) ac_try_echo=$ac_try;;
27413
 
esac
27414
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27415
 
  (eval "$ac_compile") 2>conftest.er1
27416
 
  ac_status=$?
27417
 
  grep -v '^ *+' conftest.er1 >conftest.err
27418
 
  rm -f conftest.er1
27419
 
  cat conftest.err >&5
27420
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27421
 
  (exit $ac_status); } && {
27422
 
         test -z "$ac_c_werror_flag" ||
27423
 
         test ! -s conftest.err
27424
 
       } && test -s conftest.$ac_objext; then
27425
 
  ac_header_compiler=yes
27426
 
else
27427
 
  echo "$as_me: failed program was:" >&5
27428
 
sed 's/^/| /' conftest.$ac_ext >&5
27429
 
 
27430
 
        ac_header_compiler=no
27431
 
fi
27432
 
 
27433
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27434
 
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27435
 
echo "${ECHO_T}$ac_header_compiler" >&6; }
27436
 
 
27437
 
# Is the header present?
27438
 
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
27439
 
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
27440
 
cat >conftest.$ac_ext <<_ACEOF
27441
 
/* confdefs.h.  */
27442
 
_ACEOF
27443
 
cat confdefs.h >>conftest.$ac_ext
27444
 
cat >>conftest.$ac_ext <<_ACEOF
27445
 
/* end confdefs.h.  */
27446
 
@%:@include <$ac_header>
27447
 
_ACEOF
27448
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
27449
 
case "(($ac_try" in
27450
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27451
 
  *) ac_try_echo=$ac_try;;
27452
 
esac
27453
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27454
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
27455
 
  ac_status=$?
27456
 
  grep -v '^ *+' conftest.er1 >conftest.err
27457
 
  rm -f conftest.er1
27458
 
  cat conftest.err >&5
27459
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27460
 
  (exit $ac_status); } >/dev/null && {
27461
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
27462
 
         test ! -s conftest.err
27463
 
       }; then
27464
 
  ac_header_preproc=yes
27465
 
else
27466
 
  echo "$as_me: failed program was:" >&5
27467
 
sed 's/^/| /' conftest.$ac_ext >&5
27468
 
 
27469
 
  ac_header_preproc=no
27470
 
fi
27471
 
 
27472
 
rm -f conftest.err conftest.$ac_ext
27473
 
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27474
 
echo "${ECHO_T}$ac_header_preproc" >&6; }
27475
 
 
27476
 
# So?  What about this header?
27477
 
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
27478
 
  yes:no: )
27479
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
27480
 
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
27481
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
27482
 
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
27483
 
    ac_header_preproc=yes
27484
 
    ;;
27485
 
  no:yes:* )
27486
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
27487
 
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
27488
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
27489
 
echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
27490
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
27491
 
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
27492
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
27493
 
echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
27494
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
27495
 
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
27496
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
27497
 
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
27498
 
    ( cat <<\_ASBOX
27499
 
@%:@@%:@ -------------------------------------------------------- @%:@@%:@
27500
 
@%:@@%:@ Report this to open-vm-tools-devel@lists.sourceforge.net @%:@@%:@
27501
 
@%:@@%:@ -------------------------------------------------------- @%:@@%:@
27502
 
_ASBOX
27503
 
     ) | sed "s/^/$as_me: WARNING:     /" >&2
27504
 
    ;;
27505
 
esac
27506
 
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
27507
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
27508
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
27509
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
27510
 
else
27511
 
  eval "$as_ac_Header=\$ac_header_preproc"
27512
 
fi
27513
 
ac_res=`eval echo '${'$as_ac_Header'}'`
27514
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
27515
 
echo "${ECHO_T}$ac_res" >&6; }
27516
 
 
27517
 
fi
27518
 
if test `eval echo '${'$as_ac_Header'}'` = yes; then
 
21646
do :
 
21647
  ac_fn_c_check_header_mongrel "$LINENO" "sys/io.h" "ac_cv_header_sys_io_h" "$ac_includes_default"
 
21648
if test "x$ac_cv_header_sys_io_h" = x""yes; then :
27519
21649
  cat >>confdefs.h <<_ACEOF
27520
 
@%:@define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
21650
@%:@define HAVE_SYS_IO_H 1
27521
21651
_ACEOF
27522
21652
 
27523
21653
fi
27524
21654
 
27525
21655
done
27526
21656
 
27527
 
 
27528
21657
for ac_header in sys/param.h
27529
 
do
27530
 
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
27531
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
27532
 
  { echo "$as_me:$LINENO: checking for $ac_header" >&5
27533
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
27534
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
27535
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
27536
 
fi
27537
 
ac_res=`eval echo '${'$as_ac_Header'}'`
27538
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
27539
 
echo "${ECHO_T}$ac_res" >&6; }
27540
 
else
27541
 
  # Is the header compilable?
27542
 
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
27543
 
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
27544
 
cat >conftest.$ac_ext <<_ACEOF
27545
 
/* confdefs.h.  */
27546
 
_ACEOF
27547
 
cat confdefs.h >>conftest.$ac_ext
27548
 
cat >>conftest.$ac_ext <<_ACEOF
27549
 
/* end confdefs.h.  */
27550
 
$ac_includes_default
27551
 
@%:@include <$ac_header>
27552
 
_ACEOF
27553
 
rm -f conftest.$ac_objext
27554
 
if { (ac_try="$ac_compile"
27555
 
case "(($ac_try" in
27556
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27557
 
  *) ac_try_echo=$ac_try;;
27558
 
esac
27559
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27560
 
  (eval "$ac_compile") 2>conftest.er1
27561
 
  ac_status=$?
27562
 
  grep -v '^ *+' conftest.er1 >conftest.err
27563
 
  rm -f conftest.er1
27564
 
  cat conftest.err >&5
27565
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27566
 
  (exit $ac_status); } && {
27567
 
         test -z "$ac_c_werror_flag" ||
27568
 
         test ! -s conftest.err
27569
 
       } && test -s conftest.$ac_objext; then
27570
 
  ac_header_compiler=yes
27571
 
else
27572
 
  echo "$as_me: failed program was:" >&5
27573
 
sed 's/^/| /' conftest.$ac_ext >&5
27574
 
 
27575
 
        ac_header_compiler=no
27576
 
fi
27577
 
 
27578
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27579
 
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27580
 
echo "${ECHO_T}$ac_header_compiler" >&6; }
27581
 
 
27582
 
# Is the header present?
27583
 
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
27584
 
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
27585
 
cat >conftest.$ac_ext <<_ACEOF
27586
 
/* confdefs.h.  */
27587
 
_ACEOF
27588
 
cat confdefs.h >>conftest.$ac_ext
27589
 
cat >>conftest.$ac_ext <<_ACEOF
27590
 
/* end confdefs.h.  */
27591
 
@%:@include <$ac_header>
27592
 
_ACEOF
27593
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
27594
 
case "(($ac_try" in
27595
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27596
 
  *) ac_try_echo=$ac_try;;
27597
 
esac
27598
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27599
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
27600
 
  ac_status=$?
27601
 
  grep -v '^ *+' conftest.er1 >conftest.err
27602
 
  rm -f conftest.er1
27603
 
  cat conftest.err >&5
27604
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27605
 
  (exit $ac_status); } >/dev/null && {
27606
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
27607
 
         test ! -s conftest.err
27608
 
       }; then
27609
 
  ac_header_preproc=yes
27610
 
else
27611
 
  echo "$as_me: failed program was:" >&5
27612
 
sed 's/^/| /' conftest.$ac_ext >&5
27613
 
 
27614
 
  ac_header_preproc=no
27615
 
fi
27616
 
 
27617
 
rm -f conftest.err conftest.$ac_ext
27618
 
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27619
 
echo "${ECHO_T}$ac_header_preproc" >&6; }
27620
 
 
27621
 
# So?  What about this header?
27622
 
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
27623
 
  yes:no: )
27624
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
27625
 
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
27626
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
27627
 
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
27628
 
    ac_header_preproc=yes
27629
 
    ;;
27630
 
  no:yes:* )
27631
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
27632
 
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
27633
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
27634
 
echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
27635
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
27636
 
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
27637
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
27638
 
echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
27639
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
27640
 
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
27641
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
27642
 
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
27643
 
    ( cat <<\_ASBOX
27644
 
@%:@@%:@ -------------------------------------------------------- @%:@@%:@
27645
 
@%:@@%:@ Report this to open-vm-tools-devel@lists.sourceforge.net @%:@@%:@
27646
 
@%:@@%:@ -------------------------------------------------------- @%:@@%:@
27647
 
_ASBOX
27648
 
     ) | sed "s/^/$as_me: WARNING:     /" >&2
27649
 
    ;;
27650
 
esac
27651
 
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
27652
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
27653
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
27654
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
27655
 
else
27656
 
  eval "$as_ac_Header=\$ac_header_preproc"
27657
 
fi
27658
 
ac_res=`eval echo '${'$as_ac_Header'}'`
27659
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
27660
 
echo "${ECHO_T}$ac_res" >&6; }
27661
 
 
27662
 
fi
27663
 
if test `eval echo '${'$as_ac_Header'}'` = yes; then
 
21658
do :
 
21659
  ac_fn_c_check_header_mongrel "$LINENO" "sys/param.h" "ac_cv_header_sys_param_h" "$ac_includes_default"
 
21660
if test "x$ac_cv_header_sys_param_h" = x""yes; then :
27664
21661
  cat >>confdefs.h <<_ACEOF
27665
 
@%:@define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
21662
@%:@define HAVE_SYS_PARAM_H 1
27666
21663
_ACEOF
27667
21664
 
27668
21665
fi
27669
21666
 
27670
21667
done
27671
21668
 # Required to make the sys/user.h check work correctly on FreeBSD
27672
 
 
27673
21669
for ac_header in sys/sysinfo.h
27674
 
do
27675
 
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
27676
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
27677
 
  { echo "$as_me:$LINENO: checking for $ac_header" >&5
27678
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
27679
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
27680
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
27681
 
fi
27682
 
ac_res=`eval echo '${'$as_ac_Header'}'`
27683
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
27684
 
echo "${ECHO_T}$ac_res" >&6; }
27685
 
else
27686
 
  # Is the header compilable?
27687
 
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
27688
 
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
27689
 
cat >conftest.$ac_ext <<_ACEOF
27690
 
/* confdefs.h.  */
27691
 
_ACEOF
27692
 
cat confdefs.h >>conftest.$ac_ext
27693
 
cat >>conftest.$ac_ext <<_ACEOF
27694
 
/* end confdefs.h.  */
27695
 
$ac_includes_default
27696
 
@%:@include <$ac_header>
27697
 
_ACEOF
27698
 
rm -f conftest.$ac_objext
27699
 
if { (ac_try="$ac_compile"
27700
 
case "(($ac_try" in
27701
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27702
 
  *) ac_try_echo=$ac_try;;
27703
 
esac
27704
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27705
 
  (eval "$ac_compile") 2>conftest.er1
27706
 
  ac_status=$?
27707
 
  grep -v '^ *+' conftest.er1 >conftest.err
27708
 
  rm -f conftest.er1
27709
 
  cat conftest.err >&5
27710
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27711
 
  (exit $ac_status); } && {
27712
 
         test -z "$ac_c_werror_flag" ||
27713
 
         test ! -s conftest.err
27714
 
       } && test -s conftest.$ac_objext; then
27715
 
  ac_header_compiler=yes
27716
 
else
27717
 
  echo "$as_me: failed program was:" >&5
27718
 
sed 's/^/| /' conftest.$ac_ext >&5
27719
 
 
27720
 
        ac_header_compiler=no
27721
 
fi
27722
 
 
27723
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27724
 
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27725
 
echo "${ECHO_T}$ac_header_compiler" >&6; }
27726
 
 
27727
 
# Is the header present?
27728
 
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
27729
 
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
27730
 
cat >conftest.$ac_ext <<_ACEOF
27731
 
/* confdefs.h.  */
27732
 
_ACEOF
27733
 
cat confdefs.h >>conftest.$ac_ext
27734
 
cat >>conftest.$ac_ext <<_ACEOF
27735
 
/* end confdefs.h.  */
27736
 
@%:@include <$ac_header>
27737
 
_ACEOF
27738
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
27739
 
case "(($ac_try" in
27740
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27741
 
  *) ac_try_echo=$ac_try;;
27742
 
esac
27743
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27744
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
27745
 
  ac_status=$?
27746
 
  grep -v '^ *+' conftest.er1 >conftest.err
27747
 
  rm -f conftest.er1
27748
 
  cat conftest.err >&5
27749
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27750
 
  (exit $ac_status); } >/dev/null && {
27751
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
27752
 
         test ! -s conftest.err
27753
 
       }; then
27754
 
  ac_header_preproc=yes
27755
 
else
27756
 
  echo "$as_me: failed program was:" >&5
27757
 
sed 's/^/| /' conftest.$ac_ext >&5
27758
 
 
27759
 
  ac_header_preproc=no
27760
 
fi
27761
 
 
27762
 
rm -f conftest.err conftest.$ac_ext
27763
 
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27764
 
echo "${ECHO_T}$ac_header_preproc" >&6; }
27765
 
 
27766
 
# So?  What about this header?
27767
 
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
27768
 
  yes:no: )
27769
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
27770
 
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
27771
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
27772
 
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
27773
 
    ac_header_preproc=yes
27774
 
    ;;
27775
 
  no:yes:* )
27776
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
27777
 
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
27778
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
27779
 
echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
27780
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
27781
 
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
27782
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
27783
 
echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
27784
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
27785
 
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
27786
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
27787
 
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
27788
 
    ( cat <<\_ASBOX
27789
 
@%:@@%:@ -------------------------------------------------------- @%:@@%:@
27790
 
@%:@@%:@ Report this to open-vm-tools-devel@lists.sourceforge.net @%:@@%:@
27791
 
@%:@@%:@ -------------------------------------------------------- @%:@@%:@
27792
 
_ASBOX
27793
 
     ) | sed "s/^/$as_me: WARNING:     /" >&2
27794
 
    ;;
27795
 
esac
27796
 
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
27797
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
27798
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
27799
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
27800
 
else
27801
 
  eval "$as_ac_Header=\$ac_header_preproc"
27802
 
fi
27803
 
ac_res=`eval echo '${'$as_ac_Header'}'`
27804
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
27805
 
echo "${ECHO_T}$ac_res" >&6; }
27806
 
 
27807
 
fi
27808
 
if test `eval echo '${'$as_ac_Header'}'` = yes; then
 
21670
do :
 
21671
  ac_fn_c_check_header_mongrel "$LINENO" "sys/sysinfo.h" "ac_cv_header_sys_sysinfo_h" "$ac_includes_default"
 
21672
if test "x$ac_cv_header_sys_sysinfo_h" = x""yes; then :
27809
21673
  cat >>confdefs.h <<_ACEOF
27810
 
@%:@define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
21674
@%:@define HAVE_SYS_SYSINFO_H 1
27811
21675
_ACEOF
27812
21676
 
27813
21677
fi
27814
21678
 
27815
21679
done
27816
21680
 
27817
 
 
27818
21681
for ac_header in sys/types.h
27819
 
do
27820
 
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
27821
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
27822
 
  { echo "$as_me:$LINENO: checking for $ac_header" >&5
27823
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
27824
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
27825
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
27826
 
fi
27827
 
ac_res=`eval echo '${'$as_ac_Header'}'`
27828
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
27829
 
echo "${ECHO_T}$ac_res" >&6; }
27830
 
else
27831
 
  # Is the header compilable?
27832
 
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
27833
 
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
27834
 
cat >conftest.$ac_ext <<_ACEOF
27835
 
/* confdefs.h.  */
27836
 
_ACEOF
27837
 
cat confdefs.h >>conftest.$ac_ext
27838
 
cat >>conftest.$ac_ext <<_ACEOF
27839
 
/* end confdefs.h.  */
27840
 
$ac_includes_default
27841
 
@%:@include <$ac_header>
27842
 
_ACEOF
27843
 
rm -f conftest.$ac_objext
27844
 
if { (ac_try="$ac_compile"
27845
 
case "(($ac_try" in
27846
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27847
 
  *) ac_try_echo=$ac_try;;
27848
 
esac
27849
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27850
 
  (eval "$ac_compile") 2>conftest.er1
27851
 
  ac_status=$?
27852
 
  grep -v '^ *+' conftest.er1 >conftest.err
27853
 
  rm -f conftest.er1
27854
 
  cat conftest.err >&5
27855
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27856
 
  (exit $ac_status); } && {
27857
 
         test -z "$ac_c_werror_flag" ||
27858
 
         test ! -s conftest.err
27859
 
       } && test -s conftest.$ac_objext; then
27860
 
  ac_header_compiler=yes
27861
 
else
27862
 
  echo "$as_me: failed program was:" >&5
27863
 
sed 's/^/| /' conftest.$ac_ext >&5
27864
 
 
27865
 
        ac_header_compiler=no
27866
 
fi
27867
 
 
27868
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27869
 
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27870
 
echo "${ECHO_T}$ac_header_compiler" >&6; }
27871
 
 
27872
 
# Is the header present?
27873
 
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
27874
 
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
27875
 
cat >conftest.$ac_ext <<_ACEOF
27876
 
/* confdefs.h.  */
27877
 
_ACEOF
27878
 
cat confdefs.h >>conftest.$ac_ext
27879
 
cat >>conftest.$ac_ext <<_ACEOF
27880
 
/* end confdefs.h.  */
27881
 
@%:@include <$ac_header>
27882
 
_ACEOF
27883
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
27884
 
case "(($ac_try" in
27885
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27886
 
  *) ac_try_echo=$ac_try;;
27887
 
esac
27888
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27889
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
27890
 
  ac_status=$?
27891
 
  grep -v '^ *+' conftest.er1 >conftest.err
27892
 
  rm -f conftest.er1
27893
 
  cat conftest.err >&5
27894
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27895
 
  (exit $ac_status); } >/dev/null && {
27896
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
27897
 
         test ! -s conftest.err
27898
 
       }; then
27899
 
  ac_header_preproc=yes
27900
 
else
27901
 
  echo "$as_me: failed program was:" >&5
27902
 
sed 's/^/| /' conftest.$ac_ext >&5
27903
 
 
27904
 
  ac_header_preproc=no
27905
 
fi
27906
 
 
27907
 
rm -f conftest.err conftest.$ac_ext
27908
 
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27909
 
echo "${ECHO_T}$ac_header_preproc" >&6; }
27910
 
 
27911
 
# So?  What about this header?
27912
 
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
27913
 
  yes:no: )
27914
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
27915
 
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
27916
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
27917
 
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
27918
 
    ac_header_preproc=yes
27919
 
    ;;
27920
 
  no:yes:* )
27921
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
27922
 
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
27923
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
27924
 
echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
27925
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
27926
 
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
27927
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
27928
 
echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
27929
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
27930
 
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
27931
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
27932
 
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
27933
 
    ( cat <<\_ASBOX
27934
 
@%:@@%:@ -------------------------------------------------------- @%:@@%:@
27935
 
@%:@@%:@ Report this to open-vm-tools-devel@lists.sourceforge.net @%:@@%:@
27936
 
@%:@@%:@ -------------------------------------------------------- @%:@@%:@
27937
 
_ASBOX
27938
 
     ) | sed "s/^/$as_me: WARNING:     /" >&2
27939
 
    ;;
27940
 
esac
27941
 
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
27942
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
27943
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
27944
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
27945
 
else
27946
 
  eval "$as_ac_Header=\$ac_header_preproc"
27947
 
fi
27948
 
ac_res=`eval echo '${'$as_ac_Header'}'`
27949
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
27950
 
echo "${ECHO_T}$ac_res" >&6; }
27951
 
 
27952
 
fi
27953
 
if test `eval echo '${'$as_ac_Header'}'` = yes; then
 
21682
do :
 
21683
  ac_fn_c_check_header_mongrel "$LINENO" "sys/types.h" "ac_cv_header_sys_types_h" "$ac_includes_default"
 
21684
if test "x$ac_cv_header_sys_types_h" = x""yes; then :
27954
21685
  cat >>confdefs.h <<_ACEOF
27955
 
@%:@define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
21686
@%:@define HAVE_SYS_TYPES_H 1
27956
21687
_ACEOF
27957
21688
 
27958
21689
fi
27959
21690
 
27960
21691
done
27961
21692
 
27962
 
 
27963
21693
for ac_header in sys/user.h
27964
 
do
27965
 
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
27966
 
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
27967
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
27968
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
27969
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
27970
 
else
27971
 
  cat >conftest.$ac_ext <<_ACEOF
27972
 
/* confdefs.h.  */
27973
 
_ACEOF
27974
 
cat confdefs.h >>conftest.$ac_ext
27975
 
cat >>conftest.$ac_ext <<_ACEOF
27976
 
/* end confdefs.h.  */
27977
 
 
 
21694
do :
 
21695
  ac_fn_c_check_header_compile "$LINENO" "sys/user.h" "ac_cv_header_sys_user_h" "
27978
21696
#ifdef HAVE_SYS_PARAM_H
27979
21697
#   include <sys/param.h>
27980
21698
#endif
27981
21699
   
27982
 
 
27983
 
@%:@include <$ac_header>
27984
 
_ACEOF
27985
 
rm -f conftest.$ac_objext
27986
 
if { (ac_try="$ac_compile"
27987
 
case "(($ac_try" in
27988
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27989
 
  *) ac_try_echo=$ac_try;;
27990
 
esac
27991
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27992
 
  (eval "$ac_compile") 2>conftest.er1
27993
 
  ac_status=$?
27994
 
  grep -v '^ *+' conftest.er1 >conftest.err
27995
 
  rm -f conftest.er1
27996
 
  cat conftest.err >&5
27997
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27998
 
  (exit $ac_status); } && {
27999
 
         test -z "$ac_c_werror_flag" ||
28000
 
         test ! -s conftest.err
28001
 
       } && test -s conftest.$ac_objext; then
28002
 
  eval "$as_ac_Header=yes"
28003
 
else
28004
 
  echo "$as_me: failed program was:" >&5
28005
 
sed 's/^/| /' conftest.$ac_ext >&5
28006
 
 
28007
 
        eval "$as_ac_Header=no"
28008
 
fi
28009
 
 
28010
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28011
 
fi
28012
 
ac_res=`eval echo '${'$as_ac_Header'}'`
28013
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
28014
 
echo "${ECHO_T}$ac_res" >&6; }
28015
 
if test `eval echo '${'$as_ac_Header'}'` = yes; then
 
21700
"
 
21701
if test "x$ac_cv_header_sys_user_h" = x""yes; then :
28016
21702
  cat >>confdefs.h <<_ACEOF
28017
 
@%:@define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
21703
@%:@define HAVE_SYS_USER_H 1
28018
21704
_ACEOF
28019
21705
 
28020
21706
fi
28021
21707
 
28022
21708
done
28023
21709
 
28024
 
 
28025
21710
for ac_header in sys/vfs.h
28026
 
do
28027
 
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
28028
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
28029
 
  { echo "$as_me:$LINENO: checking for $ac_header" >&5
28030
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
28031
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
28032
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
28033
 
fi
28034
 
ac_res=`eval echo '${'$as_ac_Header'}'`
28035
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
28036
 
echo "${ECHO_T}$ac_res" >&6; }
28037
 
else
28038
 
  # Is the header compilable?
28039
 
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
28040
 
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
28041
 
cat >conftest.$ac_ext <<_ACEOF
28042
 
/* confdefs.h.  */
28043
 
_ACEOF
28044
 
cat confdefs.h >>conftest.$ac_ext
28045
 
cat >>conftest.$ac_ext <<_ACEOF
28046
 
/* end confdefs.h.  */
28047
 
$ac_includes_default
28048
 
@%:@include <$ac_header>
28049
 
_ACEOF
28050
 
rm -f conftest.$ac_objext
28051
 
if { (ac_try="$ac_compile"
28052
 
case "(($ac_try" in
28053
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28054
 
  *) ac_try_echo=$ac_try;;
28055
 
esac
28056
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28057
 
  (eval "$ac_compile") 2>conftest.er1
28058
 
  ac_status=$?
28059
 
  grep -v '^ *+' conftest.er1 >conftest.err
28060
 
  rm -f conftest.er1
28061
 
  cat conftest.err >&5
28062
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
28063
 
  (exit $ac_status); } && {
28064
 
         test -z "$ac_c_werror_flag" ||
28065
 
         test ! -s conftest.err
28066
 
       } && test -s conftest.$ac_objext; then
28067
 
  ac_header_compiler=yes
28068
 
else
28069
 
  echo "$as_me: failed program was:" >&5
28070
 
sed 's/^/| /' conftest.$ac_ext >&5
28071
 
 
28072
 
        ac_header_compiler=no
28073
 
fi
28074
 
 
28075
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28076
 
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28077
 
echo "${ECHO_T}$ac_header_compiler" >&6; }
28078
 
 
28079
 
# Is the header present?
28080
 
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
28081
 
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
28082
 
cat >conftest.$ac_ext <<_ACEOF
28083
 
/* confdefs.h.  */
28084
 
_ACEOF
28085
 
cat confdefs.h >>conftest.$ac_ext
28086
 
cat >>conftest.$ac_ext <<_ACEOF
28087
 
/* end confdefs.h.  */
28088
 
@%:@include <$ac_header>
28089
 
_ACEOF
28090
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
28091
 
case "(($ac_try" in
28092
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28093
 
  *) ac_try_echo=$ac_try;;
28094
 
esac
28095
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28096
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
28097
 
  ac_status=$?
28098
 
  grep -v '^ *+' conftest.er1 >conftest.err
28099
 
  rm -f conftest.er1
28100
 
  cat conftest.err >&5
28101
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
28102
 
  (exit $ac_status); } >/dev/null && {
28103
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
28104
 
         test ! -s conftest.err
28105
 
       }; then
28106
 
  ac_header_preproc=yes
28107
 
else
28108
 
  echo "$as_me: failed program was:" >&5
28109
 
sed 's/^/| /' conftest.$ac_ext >&5
28110
 
 
28111
 
  ac_header_preproc=no
28112
 
fi
28113
 
 
28114
 
rm -f conftest.err conftest.$ac_ext
28115
 
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28116
 
echo "${ECHO_T}$ac_header_preproc" >&6; }
28117
 
 
28118
 
# So?  What about this header?
28119
 
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
28120
 
  yes:no: )
28121
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
28122
 
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
28123
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
28124
 
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
28125
 
    ac_header_preproc=yes
28126
 
    ;;
28127
 
  no:yes:* )
28128
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
28129
 
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
28130
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
28131
 
echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
28132
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
28133
 
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
28134
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
28135
 
echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
28136
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
28137
 
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
28138
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
28139
 
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
28140
 
    ( cat <<\_ASBOX
28141
 
@%:@@%:@ -------------------------------------------------------- @%:@@%:@
28142
 
@%:@@%:@ Report this to open-vm-tools-devel@lists.sourceforge.net @%:@@%:@
28143
 
@%:@@%:@ -------------------------------------------------------- @%:@@%:@
28144
 
_ASBOX
28145
 
     ) | sed "s/^/$as_me: WARNING:     /" >&2
28146
 
    ;;
28147
 
esac
28148
 
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
28149
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
28150
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
28151
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
28152
 
else
28153
 
  eval "$as_ac_Header=\$ac_header_preproc"
28154
 
fi
28155
 
ac_res=`eval echo '${'$as_ac_Header'}'`
28156
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
28157
 
echo "${ECHO_T}$ac_res" >&6; }
28158
 
 
28159
 
fi
28160
 
if test `eval echo '${'$as_ac_Header'}'` = yes; then
 
21711
do :
 
21712
  ac_fn_c_check_header_mongrel "$LINENO" "sys/vfs.h" "ac_cv_header_sys_vfs_h" "$ac_includes_default"
 
21713
if test "x$ac_cv_header_sys_vfs_h" = x""yes; then :
28161
21714
  cat >>confdefs.h <<_ACEOF
28162
 
@%:@define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
21715
@%:@define HAVE_SYS_VFS_H 1
28163
21716
_ACEOF
28164
21717
 
28165
21718
fi
28166
21719
 
28167
21720
done
28168
21721
 
28169
 
 
28170
21722
for ac_header in syslimits.h
28171
 
do
28172
 
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
28173
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
28174
 
  { echo "$as_me:$LINENO: checking for $ac_header" >&5
28175
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
28176
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
28177
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
28178
 
fi
28179
 
ac_res=`eval echo '${'$as_ac_Header'}'`
28180
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
28181
 
echo "${ECHO_T}$ac_res" >&6; }
28182
 
else
28183
 
  # Is the header compilable?
28184
 
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
28185
 
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
28186
 
cat >conftest.$ac_ext <<_ACEOF
28187
 
/* confdefs.h.  */
28188
 
_ACEOF
28189
 
cat confdefs.h >>conftest.$ac_ext
28190
 
cat >>conftest.$ac_ext <<_ACEOF
28191
 
/* end confdefs.h.  */
28192
 
$ac_includes_default
28193
 
@%:@include <$ac_header>
28194
 
_ACEOF
28195
 
rm -f conftest.$ac_objext
28196
 
if { (ac_try="$ac_compile"
28197
 
case "(($ac_try" in
28198
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28199
 
  *) ac_try_echo=$ac_try;;
28200
 
esac
28201
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28202
 
  (eval "$ac_compile") 2>conftest.er1
28203
 
  ac_status=$?
28204
 
  grep -v '^ *+' conftest.er1 >conftest.err
28205
 
  rm -f conftest.er1
28206
 
  cat conftest.err >&5
28207
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
28208
 
  (exit $ac_status); } && {
28209
 
         test -z "$ac_c_werror_flag" ||
28210
 
         test ! -s conftest.err
28211
 
       } && test -s conftest.$ac_objext; then
28212
 
  ac_header_compiler=yes
28213
 
else
28214
 
  echo "$as_me: failed program was:" >&5
28215
 
sed 's/^/| /' conftest.$ac_ext >&5
28216
 
 
28217
 
        ac_header_compiler=no
28218
 
fi
28219
 
 
28220
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28221
 
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28222
 
echo "${ECHO_T}$ac_header_compiler" >&6; }
28223
 
 
28224
 
# Is the header present?
28225
 
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
28226
 
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
28227
 
cat >conftest.$ac_ext <<_ACEOF
28228
 
/* confdefs.h.  */
28229
 
_ACEOF
28230
 
cat confdefs.h >>conftest.$ac_ext
28231
 
cat >>conftest.$ac_ext <<_ACEOF
28232
 
/* end confdefs.h.  */
28233
 
@%:@include <$ac_header>
28234
 
_ACEOF
28235
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
28236
 
case "(($ac_try" in
28237
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28238
 
  *) ac_try_echo=$ac_try;;
28239
 
esac
28240
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28241
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
28242
 
  ac_status=$?
28243
 
  grep -v '^ *+' conftest.er1 >conftest.err
28244
 
  rm -f conftest.er1
28245
 
  cat conftest.err >&5
28246
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
28247
 
  (exit $ac_status); } >/dev/null && {
28248
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
28249
 
         test ! -s conftest.err
28250
 
       }; then
28251
 
  ac_header_preproc=yes
28252
 
else
28253
 
  echo "$as_me: failed program was:" >&5
28254
 
sed 's/^/| /' conftest.$ac_ext >&5
28255
 
 
28256
 
  ac_header_preproc=no
28257
 
fi
28258
 
 
28259
 
rm -f conftest.err conftest.$ac_ext
28260
 
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28261
 
echo "${ECHO_T}$ac_header_preproc" >&6; }
28262
 
 
28263
 
# So?  What about this header?
28264
 
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
28265
 
  yes:no: )
28266
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
28267
 
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
28268
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
28269
 
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
28270
 
    ac_header_preproc=yes
28271
 
    ;;
28272
 
  no:yes:* )
28273
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
28274
 
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
28275
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
28276
 
echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
28277
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
28278
 
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
28279
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
28280
 
echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
28281
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
28282
 
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
28283
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
28284
 
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
28285
 
    ( cat <<\_ASBOX
28286
 
@%:@@%:@ -------------------------------------------------------- @%:@@%:@
28287
 
@%:@@%:@ Report this to open-vm-tools-devel@lists.sourceforge.net @%:@@%:@
28288
 
@%:@@%:@ -------------------------------------------------------- @%:@@%:@
28289
 
_ASBOX
28290
 
     ) | sed "s/^/$as_me: WARNING:     /" >&2
28291
 
    ;;
28292
 
esac
28293
 
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
28294
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
28295
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
28296
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
28297
 
else
28298
 
  eval "$as_ac_Header=\$ac_header_preproc"
28299
 
fi
28300
 
ac_res=`eval echo '${'$as_ac_Header'}'`
28301
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
28302
 
echo "${ECHO_T}$ac_res" >&6; }
28303
 
 
28304
 
fi
28305
 
if test `eval echo '${'$as_ac_Header'}'` = yes; then
 
21723
do :
 
21724
  ac_fn_c_check_header_mongrel "$LINENO" "syslimits.h" "ac_cv_header_syslimits_h" "$ac_includes_default"
 
21725
if test "x$ac_cv_header_syslimits_h" = x""yes; then :
28306
21726
  cat >>confdefs.h <<_ACEOF
28307
 
@%:@define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
21727
@%:@define HAVE_SYSLIMITS_H 1
28308
21728
_ACEOF
28309
21729
 
28310
21730
fi
28311
21731
 
28312
21732
done
28313
21733
 
28314
 
 
28315
21734
for ac_header in unwind.h
28316
 
do
28317
 
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
28318
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
28319
 
  { echo "$as_me:$LINENO: checking for $ac_header" >&5
28320
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
28321
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
28322
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
28323
 
fi
28324
 
ac_res=`eval echo '${'$as_ac_Header'}'`
28325
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
28326
 
echo "${ECHO_T}$ac_res" >&6; }
28327
 
else
28328
 
  # Is the header compilable?
28329
 
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
28330
 
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
28331
 
cat >conftest.$ac_ext <<_ACEOF
28332
 
/* confdefs.h.  */
28333
 
_ACEOF
28334
 
cat confdefs.h >>conftest.$ac_ext
28335
 
cat >>conftest.$ac_ext <<_ACEOF
28336
 
/* end confdefs.h.  */
28337
 
$ac_includes_default
28338
 
@%:@include <$ac_header>
28339
 
_ACEOF
28340
 
rm -f conftest.$ac_objext
28341
 
if { (ac_try="$ac_compile"
28342
 
case "(($ac_try" in
28343
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28344
 
  *) ac_try_echo=$ac_try;;
28345
 
esac
28346
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28347
 
  (eval "$ac_compile") 2>conftest.er1
28348
 
  ac_status=$?
28349
 
  grep -v '^ *+' conftest.er1 >conftest.err
28350
 
  rm -f conftest.er1
28351
 
  cat conftest.err >&5
28352
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
28353
 
  (exit $ac_status); } && {
28354
 
         test -z "$ac_c_werror_flag" ||
28355
 
         test ! -s conftest.err
28356
 
       } && test -s conftest.$ac_objext; then
28357
 
  ac_header_compiler=yes
28358
 
else
28359
 
  echo "$as_me: failed program was:" >&5
28360
 
sed 's/^/| /' conftest.$ac_ext >&5
28361
 
 
28362
 
        ac_header_compiler=no
28363
 
fi
28364
 
 
28365
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28366
 
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28367
 
echo "${ECHO_T}$ac_header_compiler" >&6; }
28368
 
 
28369
 
# Is the header present?
28370
 
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
28371
 
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
28372
 
cat >conftest.$ac_ext <<_ACEOF
28373
 
/* confdefs.h.  */
28374
 
_ACEOF
28375
 
cat confdefs.h >>conftest.$ac_ext
28376
 
cat >>conftest.$ac_ext <<_ACEOF
28377
 
/* end confdefs.h.  */
28378
 
@%:@include <$ac_header>
28379
 
_ACEOF
28380
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
28381
 
case "(($ac_try" in
28382
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28383
 
  *) ac_try_echo=$ac_try;;
28384
 
esac
28385
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28386
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
28387
 
  ac_status=$?
28388
 
  grep -v '^ *+' conftest.er1 >conftest.err
28389
 
  rm -f conftest.er1
28390
 
  cat conftest.err >&5
28391
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
28392
 
  (exit $ac_status); } >/dev/null && {
28393
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
28394
 
         test ! -s conftest.err
28395
 
       }; then
28396
 
  ac_header_preproc=yes
28397
 
else
28398
 
  echo "$as_me: failed program was:" >&5
28399
 
sed 's/^/| /' conftest.$ac_ext >&5
28400
 
 
28401
 
  ac_header_preproc=no
28402
 
fi
28403
 
 
28404
 
rm -f conftest.err conftest.$ac_ext
28405
 
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28406
 
echo "${ECHO_T}$ac_header_preproc" >&6; }
28407
 
 
28408
 
# So?  What about this header?
28409
 
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
28410
 
  yes:no: )
28411
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
28412
 
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
28413
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
28414
 
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
28415
 
    ac_header_preproc=yes
28416
 
    ;;
28417
 
  no:yes:* )
28418
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
28419
 
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
28420
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
28421
 
echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
28422
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
28423
 
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
28424
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
28425
 
echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
28426
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
28427
 
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
28428
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
28429
 
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
28430
 
    ( cat <<\_ASBOX
28431
 
@%:@@%:@ -------------------------------------------------------- @%:@@%:@
28432
 
@%:@@%:@ Report this to open-vm-tools-devel@lists.sourceforge.net @%:@@%:@
28433
 
@%:@@%:@ -------------------------------------------------------- @%:@@%:@
28434
 
_ASBOX
28435
 
     ) | sed "s/^/$as_me: WARNING:     /" >&2
28436
 
    ;;
28437
 
esac
28438
 
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
28439
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
28440
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
28441
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
28442
 
else
28443
 
  eval "$as_ac_Header=\$ac_header_preproc"
28444
 
fi
28445
 
ac_res=`eval echo '${'$as_ac_Header'}'`
28446
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
28447
 
echo "${ECHO_T}$ac_res" >&6; }
28448
 
 
28449
 
fi
28450
 
if test `eval echo '${'$as_ac_Header'}'` = yes; then
 
21735
do :
 
21736
  ac_fn_c_check_header_mongrel "$LINENO" "unwind.h" "ac_cv_header_unwind_h" "$ac_includes_default"
 
21737
if test "x$ac_cv_header_unwind_h" = x""yes; then :
28451
21738
  cat >>confdefs.h <<_ACEOF
28452
 
@%:@define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
21739
@%:@define HAVE_UNWIND_H 1
28453
21740
_ACEOF
28454
21741
 
28455
21742
fi
28457
21744
done
28458
21745
 
28459
21746
 
28460
 
if test "${ac_cv_header_wchar_h+set}" = set; then
28461
 
  { echo "$as_me:$LINENO: checking for wchar.h" >&5
28462
 
echo $ECHO_N "checking for wchar.h... $ECHO_C" >&6; }
28463
 
if test "${ac_cv_header_wchar_h+set}" = set; then
28464
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
28465
 
fi
28466
 
{ echo "$as_me:$LINENO: result: $ac_cv_header_wchar_h" >&5
28467
 
echo "${ECHO_T}$ac_cv_header_wchar_h" >&6; }
28468
 
else
28469
 
  # Is the header compilable?
28470
 
{ echo "$as_me:$LINENO: checking wchar.h usability" >&5
28471
 
echo $ECHO_N "checking wchar.h usability... $ECHO_C" >&6; }
28472
 
cat >conftest.$ac_ext <<_ACEOF
28473
 
/* confdefs.h.  */
28474
 
_ACEOF
28475
 
cat confdefs.h >>conftest.$ac_ext
28476
 
cat >>conftest.$ac_ext <<_ACEOF
28477
 
/* end confdefs.h.  */
28478
 
$ac_includes_default
28479
 
@%:@include <wchar.h>
28480
 
_ACEOF
28481
 
rm -f conftest.$ac_objext
28482
 
if { (ac_try="$ac_compile"
28483
 
case "(($ac_try" in
28484
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28485
 
  *) ac_try_echo=$ac_try;;
28486
 
esac
28487
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28488
 
  (eval "$ac_compile") 2>conftest.er1
28489
 
  ac_status=$?
28490
 
  grep -v '^ *+' conftest.er1 >conftest.err
28491
 
  rm -f conftest.er1
28492
 
  cat conftest.err >&5
28493
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
28494
 
  (exit $ac_status); } && {
28495
 
         test -z "$ac_c_werror_flag" ||
28496
 
         test ! -s conftest.err
28497
 
       } && test -s conftest.$ac_objext; then
28498
 
  ac_header_compiler=yes
28499
 
else
28500
 
  echo "$as_me: failed program was:" >&5
28501
 
sed 's/^/| /' conftest.$ac_ext >&5
28502
 
 
28503
 
        ac_header_compiler=no
28504
 
fi
28505
 
 
28506
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28507
 
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28508
 
echo "${ECHO_T}$ac_header_compiler" >&6; }
28509
 
 
28510
 
# Is the header present?
28511
 
{ echo "$as_me:$LINENO: checking wchar.h presence" >&5
28512
 
echo $ECHO_N "checking wchar.h presence... $ECHO_C" >&6; }
28513
 
cat >conftest.$ac_ext <<_ACEOF
28514
 
/* confdefs.h.  */
28515
 
_ACEOF
28516
 
cat confdefs.h >>conftest.$ac_ext
28517
 
cat >>conftest.$ac_ext <<_ACEOF
28518
 
/* end confdefs.h.  */
28519
 
@%:@include <wchar.h>
28520
 
_ACEOF
28521
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
28522
 
case "(($ac_try" in
28523
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28524
 
  *) ac_try_echo=$ac_try;;
28525
 
esac
28526
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28527
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
28528
 
  ac_status=$?
28529
 
  grep -v '^ *+' conftest.er1 >conftest.err
28530
 
  rm -f conftest.er1
28531
 
  cat conftest.err >&5
28532
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
28533
 
  (exit $ac_status); } >/dev/null && {
28534
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
28535
 
         test ! -s conftest.err
28536
 
       }; then
28537
 
  ac_header_preproc=yes
28538
 
else
28539
 
  echo "$as_me: failed program was:" >&5
28540
 
sed 's/^/| /' conftest.$ac_ext >&5
28541
 
 
28542
 
  ac_header_preproc=no
28543
 
fi
28544
 
 
28545
 
rm -f conftest.err conftest.$ac_ext
28546
 
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28547
 
echo "${ECHO_T}$ac_header_preproc" >&6; }
28548
 
 
28549
 
# So?  What about this header?
28550
 
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
28551
 
  yes:no: )
28552
 
    { echo "$as_me:$LINENO: WARNING: wchar.h: accepted by the compiler, rejected by the preprocessor!" >&5
28553
 
echo "$as_me: WARNING: wchar.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
28554
 
    { echo "$as_me:$LINENO: WARNING: wchar.h: proceeding with the compiler's result" >&5
28555
 
echo "$as_me: WARNING: wchar.h: proceeding with the compiler's result" >&2;}
28556
 
    ac_header_preproc=yes
28557
 
    ;;
28558
 
  no:yes:* )
28559
 
    { echo "$as_me:$LINENO: WARNING: wchar.h: present but cannot be compiled" >&5
28560
 
echo "$as_me: WARNING: wchar.h: present but cannot be compiled" >&2;}
28561
 
    { echo "$as_me:$LINENO: WARNING: wchar.h:     check for missing prerequisite headers?" >&5
28562
 
echo "$as_me: WARNING: wchar.h:     check for missing prerequisite headers?" >&2;}
28563
 
    { echo "$as_me:$LINENO: WARNING: wchar.h: see the Autoconf documentation" >&5
28564
 
echo "$as_me: WARNING: wchar.h: see the Autoconf documentation" >&2;}
28565
 
    { echo "$as_me:$LINENO: WARNING: wchar.h:     section \"Present But Cannot Be Compiled\"" >&5
28566
 
echo "$as_me: WARNING: wchar.h:     section \"Present But Cannot Be Compiled\"" >&2;}
28567
 
    { echo "$as_me:$LINENO: WARNING: wchar.h: proceeding with the preprocessor's result" >&5
28568
 
echo "$as_me: WARNING: wchar.h: proceeding with the preprocessor's result" >&2;}
28569
 
    { echo "$as_me:$LINENO: WARNING: wchar.h: in the future, the compiler will take precedence" >&5
28570
 
echo "$as_me: WARNING: wchar.h: in the future, the compiler will take precedence" >&2;}
28571
 
    ( cat <<\_ASBOX
28572
 
@%:@@%:@ -------------------------------------------------------- @%:@@%:@
28573
 
@%:@@%:@ Report this to open-vm-tools-devel@lists.sourceforge.net @%:@@%:@
28574
 
@%:@@%:@ -------------------------------------------------------- @%:@@%:@
28575
 
_ASBOX
28576
 
     ) | sed "s/^/$as_me: WARNING:     /" >&2
28577
 
    ;;
28578
 
esac
28579
 
{ echo "$as_me:$LINENO: checking for wchar.h" >&5
28580
 
echo $ECHO_N "checking for wchar.h... $ECHO_C" >&6; }
28581
 
if test "${ac_cv_header_wchar_h+set}" = set; then
28582
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
28583
 
else
28584
 
  ac_cv_header_wchar_h=$ac_header_preproc
28585
 
fi
28586
 
{ echo "$as_me:$LINENO: result: $ac_cv_header_wchar_h" >&5
28587
 
echo "${ECHO_T}$ac_cv_header_wchar_h" >&6; }
28588
 
 
28589
 
fi
28590
 
if test $ac_cv_header_wchar_h = yes; then
 
21747
ac_fn_c_check_header_mongrel "$LINENO" "wchar.h" "ac_cv_header_wchar_h" "$ac_includes_default"
 
21748
if test "x$ac_cv_header_wchar_h" = x""yes; then :
28591
21749
  HAVE_WCHAR_H="yes"
28592
21750
else
28593
21751
  HAVE_WCHAR_H="no"
28597
21755
 
28598
21756
if test "$os" = "linux"; then
28599
21757
   # Make sure kernel-headers package is installed.
28600
 
   if test "${ac_cv_header_linux_unistd_h+set}" = set; then
28601
 
  { echo "$as_me:$LINENO: checking for linux/unistd.h" >&5
28602
 
echo $ECHO_N "checking for linux/unistd.h... $ECHO_C" >&6; }
28603
 
if test "${ac_cv_header_linux_unistd_h+set}" = set; then
28604
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
28605
 
fi
28606
 
{ echo "$as_me:$LINENO: result: $ac_cv_header_linux_unistd_h" >&5
28607
 
echo "${ECHO_T}$ac_cv_header_linux_unistd_h" >&6; }
28608
 
else
28609
 
  # Is the header compilable?
28610
 
{ echo "$as_me:$LINENO: checking linux/unistd.h usability" >&5
28611
 
echo $ECHO_N "checking linux/unistd.h usability... $ECHO_C" >&6; }
28612
 
cat >conftest.$ac_ext <<_ACEOF
28613
 
/* confdefs.h.  */
28614
 
_ACEOF
28615
 
cat confdefs.h >>conftest.$ac_ext
28616
 
cat >>conftest.$ac_ext <<_ACEOF
28617
 
/* end confdefs.h.  */
28618
 
$ac_includes_default
28619
 
@%:@include <linux/unistd.h>
28620
 
_ACEOF
28621
 
rm -f conftest.$ac_objext
28622
 
if { (ac_try="$ac_compile"
28623
 
case "(($ac_try" in
28624
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28625
 
  *) ac_try_echo=$ac_try;;
28626
 
esac
28627
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28628
 
  (eval "$ac_compile") 2>conftest.er1
28629
 
  ac_status=$?
28630
 
  grep -v '^ *+' conftest.er1 >conftest.err
28631
 
  rm -f conftest.er1
28632
 
  cat conftest.err >&5
28633
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
28634
 
  (exit $ac_status); } && {
28635
 
         test -z "$ac_c_werror_flag" ||
28636
 
         test ! -s conftest.err
28637
 
       } && test -s conftest.$ac_objext; then
28638
 
  ac_header_compiler=yes
28639
 
else
28640
 
  echo "$as_me: failed program was:" >&5
28641
 
sed 's/^/| /' conftest.$ac_ext >&5
28642
 
 
28643
 
        ac_header_compiler=no
28644
 
fi
28645
 
 
28646
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28647
 
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28648
 
echo "${ECHO_T}$ac_header_compiler" >&6; }
28649
 
 
28650
 
# Is the header present?
28651
 
{ echo "$as_me:$LINENO: checking linux/unistd.h presence" >&5
28652
 
echo $ECHO_N "checking linux/unistd.h presence... $ECHO_C" >&6; }
28653
 
cat >conftest.$ac_ext <<_ACEOF
28654
 
/* confdefs.h.  */
28655
 
_ACEOF
28656
 
cat confdefs.h >>conftest.$ac_ext
28657
 
cat >>conftest.$ac_ext <<_ACEOF
28658
 
/* end confdefs.h.  */
28659
 
@%:@include <linux/unistd.h>
28660
 
_ACEOF
28661
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
28662
 
case "(($ac_try" in
28663
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28664
 
  *) ac_try_echo=$ac_try;;
28665
 
esac
28666
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28667
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
28668
 
  ac_status=$?
28669
 
  grep -v '^ *+' conftest.er1 >conftest.err
28670
 
  rm -f conftest.er1
28671
 
  cat conftest.err >&5
28672
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
28673
 
  (exit $ac_status); } >/dev/null && {
28674
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
28675
 
         test ! -s conftest.err
28676
 
       }; then
28677
 
  ac_header_preproc=yes
28678
 
else
28679
 
  echo "$as_me: failed program was:" >&5
28680
 
sed 's/^/| /' conftest.$ac_ext >&5
28681
 
 
28682
 
  ac_header_preproc=no
28683
 
fi
28684
 
 
28685
 
rm -f conftest.err conftest.$ac_ext
28686
 
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28687
 
echo "${ECHO_T}$ac_header_preproc" >&6; }
28688
 
 
28689
 
# So?  What about this header?
28690
 
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
28691
 
  yes:no: )
28692
 
    { echo "$as_me:$LINENO: WARNING: linux/unistd.h: accepted by the compiler, rejected by the preprocessor!" >&5
28693
 
echo "$as_me: WARNING: linux/unistd.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
28694
 
    { echo "$as_me:$LINENO: WARNING: linux/unistd.h: proceeding with the compiler's result" >&5
28695
 
echo "$as_me: WARNING: linux/unistd.h: proceeding with the compiler's result" >&2;}
28696
 
    ac_header_preproc=yes
28697
 
    ;;
28698
 
  no:yes:* )
28699
 
    { echo "$as_me:$LINENO: WARNING: linux/unistd.h: present but cannot be compiled" >&5
28700
 
echo "$as_me: WARNING: linux/unistd.h: present but cannot be compiled" >&2;}
28701
 
    { echo "$as_me:$LINENO: WARNING: linux/unistd.h:     check for missing prerequisite headers?" >&5
28702
 
echo "$as_me: WARNING: linux/unistd.h:     check for missing prerequisite headers?" >&2;}
28703
 
    { echo "$as_me:$LINENO: WARNING: linux/unistd.h: see the Autoconf documentation" >&5
28704
 
echo "$as_me: WARNING: linux/unistd.h: see the Autoconf documentation" >&2;}
28705
 
    { echo "$as_me:$LINENO: WARNING: linux/unistd.h:     section \"Present But Cannot Be Compiled\"" >&5
28706
 
echo "$as_me: WARNING: linux/unistd.h:     section \"Present But Cannot Be Compiled\"" >&2;}
28707
 
    { echo "$as_me:$LINENO: WARNING: linux/unistd.h: proceeding with the preprocessor's result" >&5
28708
 
echo "$as_me: WARNING: linux/unistd.h: proceeding with the preprocessor's result" >&2;}
28709
 
    { echo "$as_me:$LINENO: WARNING: linux/unistd.h: in the future, the compiler will take precedence" >&5
28710
 
echo "$as_me: WARNING: linux/unistd.h: in the future, the compiler will take precedence" >&2;}
28711
 
    ( cat <<\_ASBOX
28712
 
@%:@@%:@ -------------------------------------------------------- @%:@@%:@
28713
 
@%:@@%:@ Report this to open-vm-tools-devel@lists.sourceforge.net @%:@@%:@
28714
 
@%:@@%:@ -------------------------------------------------------- @%:@@%:@
28715
 
_ASBOX
28716
 
     ) | sed "s/^/$as_me: WARNING:     /" >&2
28717
 
    ;;
28718
 
esac
28719
 
{ echo "$as_me:$LINENO: checking for linux/unistd.h" >&5
28720
 
echo $ECHO_N "checking for linux/unistd.h... $ECHO_C" >&6; }
28721
 
if test "${ac_cv_header_linux_unistd_h+set}" = set; then
28722
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
28723
 
else
28724
 
  ac_cv_header_linux_unistd_h=$ac_header_preproc
28725
 
fi
28726
 
{ echo "$as_me:$LINENO: result: $ac_cv_header_linux_unistd_h" >&5
28727
 
echo "${ECHO_T}$ac_cv_header_linux_unistd_h" >&6; }
28728
 
 
28729
 
fi
28730
 
if test $ac_cv_header_linux_unistd_h = yes; then
28731
 
  :
28732
 
else
28733
 
  { { echo "$as_me:$LINENO: error: linux/unistd.h is not found. Please install kernel-headers/linux-userspace-headers/linux-libc-dev package." >&5
28734
 
echo "$as_me: error: linux/unistd.h is not found. Please install kernel-headers/linux-userspace-headers/linux-libc-dev package." >&2;}
28735
 
   { (exit 1); exit 1; }; }
 
21758
   ac_fn_c_check_header_mongrel "$LINENO" "linux/unistd.h" "ac_cv_header_linux_unistd_h" "$ac_includes_default"
 
21759
if test "x$ac_cv_header_linux_unistd_h" = x""yes; then :
 
21760
  
 
21761
else
 
21762
  as_fn_error "linux/unistd.h is not found. Please install kernel-headers/linux-userspace-headers/linux-libc-dev package." "$LINENO" 5
28736
21763
fi
28737
21764
 
28738
21765
 
28739
21766
fi
28740
21767
 
28741
21768
if test "$enable_multimon" != "no"; then
28742
 
   { echo "$as_me:$LINENO: checking for X11/extensions/panoramiXproto.h" >&5
28743
 
echo $ECHO_N "checking for X11/extensions/panoramiXproto.h... $ECHO_C" >&6; }
28744
 
if test "${ac_cv_header_X11_extensions_panoramiXproto_h+set}" = set; then
28745
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
28746
 
else
28747
 
  cat >conftest.$ac_ext <<_ACEOF
28748
 
/* confdefs.h.  */
28749
 
_ACEOF
28750
 
cat confdefs.h >>conftest.$ac_ext
28751
 
cat >>conftest.$ac_ext <<_ACEOF
28752
 
/* end confdefs.h.  */
28753
 
#include <X11/X.h>
 
21769
   ac_fn_c_check_header_compile "$LINENO" "X11/extensions/panoramiXproto.h" "ac_cv_header_X11_extensions_panoramiXproto_h" "#include <X11/X.h>
28754
21770
       #include <X11/Xmd.h>
28755
 
 
28756
 
@%:@include <X11/extensions/panoramiXproto.h>
28757
 
_ACEOF
28758
 
rm -f conftest.$ac_objext
28759
 
if { (ac_try="$ac_compile"
28760
 
case "(($ac_try" in
28761
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28762
 
  *) ac_try_echo=$ac_try;;
28763
 
esac
28764
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28765
 
  (eval "$ac_compile") 2>conftest.er1
28766
 
  ac_status=$?
28767
 
  grep -v '^ *+' conftest.er1 >conftest.err
28768
 
  rm -f conftest.er1
28769
 
  cat conftest.err >&5
28770
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
28771
 
  (exit $ac_status); } && {
28772
 
         test -z "$ac_c_werror_flag" ||
28773
 
         test ! -s conftest.err
28774
 
       } && test -s conftest.$ac_objext; then
28775
 
  ac_cv_header_X11_extensions_panoramiXproto_h=yes
28776
 
else
28777
 
  echo "$as_me: failed program was:" >&5
28778
 
sed 's/^/| /' conftest.$ac_ext >&5
28779
 
 
28780
 
        ac_cv_header_X11_extensions_panoramiXproto_h=no
28781
 
fi
28782
 
 
28783
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28784
 
fi
28785
 
{ echo "$as_me:$LINENO: result: $ac_cv_header_X11_extensions_panoramiXproto_h" >&5
28786
 
echo "${ECHO_T}$ac_cv_header_X11_extensions_panoramiXproto_h" >&6; }
28787
 
if test $ac_cv_header_X11_extensions_panoramiXproto_h = yes; then
28788
 
  :
28789
 
else
28790
 
  { { echo "$as_me:$LINENO: error: panoramiXproto.h not found. Please configure without multimon (using --disable-multimon) or install the libXinerama devel package(s)." >&5
28791
 
echo "$as_me: error: panoramiXproto.h not found. Please configure without multimon (using --disable-multimon) or install the libXinerama devel package(s)." >&2;}
28792
 
   { (exit 1); exit 1; }; }
 
21771
"
 
21772
if test "x$ac_cv_header_X11_extensions_panoramiXproto_h" = x""yes; then :
 
21773
  
 
21774
else
 
21775
  as_fn_error "panoramiXproto.h not found. Please configure without multimon (using --disable-multimon) or install the libXinerama devel package(s)." "$LINENO" 5
28793
21776
fi
28794
21777
 
28795
21778
 
28798
21781
###
28799
21782
### Typdefs, structs, and compiler quarks.
28800
21783
###
28801
 
{ echo "$as_me:$LINENO: checking for stdbool.h that conforms to C99" >&5
28802
 
echo $ECHO_N "checking for stdbool.h that conforms to C99... $ECHO_C" >&6; }
28803
 
if test "${ac_cv_header_stdbool_h+set}" = set; then
28804
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
21784
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdbool.h that conforms to C99" >&5
 
21785
$as_echo_n "checking for stdbool.h that conforms to C99... " >&6; }
 
21786
if test "${ac_cv_header_stdbool_h+set}" = set; then :
 
21787
  $as_echo_n "(cached) " >&6
28805
21788
else
28806
 
  cat >conftest.$ac_ext <<_ACEOF
28807
 
/* confdefs.h.  */
28808
 
_ACEOF
28809
 
cat confdefs.h >>conftest.$ac_ext
28810
 
cat >>conftest.$ac_ext <<_ACEOF
 
21789
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28811
21790
/* end confdefs.h.  */
28812
21791
 
28813
21792
#include <stdbool.h>
28842
21821
        char h[sizeof (_Bool)];
28843
21822
        char i[sizeof s.t];
28844
21823
        enum { j = false, k = true, l = false * true, m = true * 256 };
 
21824
        /* The following fails for
 
21825
           HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003]. */
28845
21826
        _Bool n[m];
28846
21827
        char o[sizeof n == m * sizeof n[0] ? 1 : -1];
28847
21828
        char p[-1 - (_Bool) 0 < 0 && -1 - (bool) 0 < 0 ? 1 : -1];
28885
21866
  return 0;
28886
21867
}
28887
21868
_ACEOF
28888
 
rm -f conftest.$ac_objext
28889
 
if { (ac_try="$ac_compile"
28890
 
case "(($ac_try" in
28891
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28892
 
  *) ac_try_echo=$ac_try;;
28893
 
esac
28894
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28895
 
  (eval "$ac_compile") 2>conftest.er1
28896
 
  ac_status=$?
28897
 
  grep -v '^ *+' conftest.er1 >conftest.err
28898
 
  rm -f conftest.er1
28899
 
  cat conftest.err >&5
28900
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
28901
 
  (exit $ac_status); } && {
28902
 
         test -z "$ac_c_werror_flag" ||
28903
 
         test ! -s conftest.err
28904
 
       } && test -s conftest.$ac_objext; then
 
21869
if ac_fn_c_try_compile "$LINENO"; then :
28905
21870
  ac_cv_header_stdbool_h=yes
28906
21871
else
28907
 
  echo "$as_me: failed program was:" >&5
28908
 
sed 's/^/| /' conftest.$ac_ext >&5
28909
 
 
28910
 
        ac_cv_header_stdbool_h=no
28911
 
fi
28912
 
 
28913
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28914
 
fi
28915
 
{ echo "$as_me:$LINENO: result: $ac_cv_header_stdbool_h" >&5
28916
 
echo "${ECHO_T}$ac_cv_header_stdbool_h" >&6; }
28917
 
{ echo "$as_me:$LINENO: checking for _Bool" >&5
28918
 
echo $ECHO_N "checking for _Bool... $ECHO_C" >&6; }
28919
 
if test "${ac_cv_type__Bool+set}" = set; then
28920
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
28921
 
else
28922
 
  cat >conftest.$ac_ext <<_ACEOF
28923
 
/* confdefs.h.  */
28924
 
_ACEOF
28925
 
cat confdefs.h >>conftest.$ac_ext
28926
 
cat >>conftest.$ac_ext <<_ACEOF
28927
 
/* end confdefs.h.  */
28928
 
$ac_includes_default
28929
 
typedef _Bool ac__type_new_;
28930
 
int
28931
 
main ()
28932
 
{
28933
 
if ((ac__type_new_ *) 0)
28934
 
  return 0;
28935
 
if (sizeof (ac__type_new_))
28936
 
  return 0;
28937
 
  ;
28938
 
  return 0;
28939
 
}
28940
 
_ACEOF
28941
 
rm -f conftest.$ac_objext
28942
 
if { (ac_try="$ac_compile"
28943
 
case "(($ac_try" in
28944
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28945
 
  *) ac_try_echo=$ac_try;;
28946
 
esac
28947
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28948
 
  (eval "$ac_compile") 2>conftest.er1
28949
 
  ac_status=$?
28950
 
  grep -v '^ *+' conftest.er1 >conftest.err
28951
 
  rm -f conftest.er1
28952
 
  cat conftest.err >&5
28953
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
28954
 
  (exit $ac_status); } && {
28955
 
         test -z "$ac_c_werror_flag" ||
28956
 
         test ! -s conftest.err
28957
 
       } && test -s conftest.$ac_objext; then
28958
 
  ac_cv_type__Bool=yes
28959
 
else
28960
 
  echo "$as_me: failed program was:" >&5
28961
 
sed 's/^/| /' conftest.$ac_ext >&5
28962
 
 
28963
 
        ac_cv_type__Bool=no
28964
 
fi
28965
 
 
28966
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28967
 
fi
28968
 
{ echo "$as_me:$LINENO: result: $ac_cv_type__Bool" >&5
28969
 
echo "${ECHO_T}$ac_cv_type__Bool" >&6; }
28970
 
if test $ac_cv_type__Bool = yes; then
 
21872
  ac_cv_header_stdbool_h=no
 
21873
fi
 
21874
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
21875
fi
 
21876
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdbool_h" >&5
 
21877
$as_echo "$ac_cv_header_stdbool_h" >&6; }
 
21878
ac_fn_c_check_type "$LINENO" "_Bool" "ac_cv_type__Bool" "$ac_includes_default"
 
21879
if test "x$ac_cv_type__Bool" = x""yes; then :
28971
21880
  
28972
21881
cat >>confdefs.h <<_ACEOF
28973
21882
@%:@define HAVE__BOOL 1
28978
21887
 
28979
21888
if test $ac_cv_header_stdbool_h = yes; then
28980
21889
  
28981
 
cat >>confdefs.h <<\_ACEOF
28982
 
@%:@define HAVE_STDBOOL_H 1
28983
 
_ACEOF
 
21890
$as_echo "@%:@define HAVE_STDBOOL_H 1" >>confdefs.h
28984
21891
 
28985
21892
fi
28986
21893
 
28987
 
{ echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
28988
 
echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
28989
 
if test "${ac_cv_c_const+set}" = set; then
28990
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
21894
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
 
21895
$as_echo_n "checking for an ANSI C-conforming const... " >&6; }
 
21896
if test "${ac_cv_c_const+set}" = set; then :
 
21897
  $as_echo_n "(cached) " >&6
28991
21898
else
28992
 
  cat >conftest.$ac_ext <<_ACEOF
28993
 
/* confdefs.h.  */
28994
 
_ACEOF
28995
 
cat confdefs.h >>conftest.$ac_ext
28996
 
cat >>conftest.$ac_ext <<_ACEOF
 
21899
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28997
21900
/* end confdefs.h.  */
28998
21901
 
28999
21902
int
29053
21956
  return 0;
29054
21957
}
29055
21958
_ACEOF
29056
 
rm -f conftest.$ac_objext
29057
 
if { (ac_try="$ac_compile"
29058
 
case "(($ac_try" in
29059
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29060
 
  *) ac_try_echo=$ac_try;;
29061
 
esac
29062
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29063
 
  (eval "$ac_compile") 2>conftest.er1
29064
 
  ac_status=$?
29065
 
  grep -v '^ *+' conftest.er1 >conftest.err
29066
 
  rm -f conftest.er1
29067
 
  cat conftest.err >&5
29068
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
29069
 
  (exit $ac_status); } && {
29070
 
         test -z "$ac_c_werror_flag" ||
29071
 
         test ! -s conftest.err
29072
 
       } && test -s conftest.$ac_objext; then
 
21959
if ac_fn_c_try_compile "$LINENO"; then :
29073
21960
  ac_cv_c_const=yes
29074
21961
else
29075
 
  echo "$as_me: failed program was:" >&5
29076
 
sed 's/^/| /' conftest.$ac_ext >&5
29077
 
 
29078
 
        ac_cv_c_const=no
 
21962
  ac_cv_c_const=no
29079
21963
fi
29080
 
 
29081
21964
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29082
21965
fi
29083
 
{ echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
29084
 
echo "${ECHO_T}$ac_cv_c_const" >&6; }
 
21966
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
 
21967
$as_echo "$ac_cv_c_const" >&6; }
29085
21968
if test $ac_cv_c_const = no; then
29086
21969
  
29087
 
cat >>confdefs.h <<\_ACEOF
29088
 
@%:@define const 
29089
 
_ACEOF
 
21970
$as_echo "@%:@define const /**/" >>confdefs.h
29090
21971
 
29091
21972
fi
29092
21973
 
29093
 
{ echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
29094
 
echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6; }
29095
 
if test "${ac_cv_type_uid_t+set}" = set; then
29096
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
21974
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for uid_t in sys/types.h" >&5
 
21975
$as_echo_n "checking for uid_t in sys/types.h... " >&6; }
 
21976
if test "${ac_cv_type_uid_t+set}" = set; then :
 
21977
  $as_echo_n "(cached) " >&6
29097
21978
else
29098
 
  cat >conftest.$ac_ext <<_ACEOF
29099
 
/* confdefs.h.  */
29100
 
_ACEOF
29101
 
cat confdefs.h >>conftest.$ac_ext
29102
 
cat >>conftest.$ac_ext <<_ACEOF
 
21979
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29103
21980
/* end confdefs.h.  */
29104
21981
#include <sys/types.h>
29105
21982
 
29106
21983
_ACEOF
29107
21984
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
29108
 
  $EGREP "uid_t" >/dev/null 2>&1; then
 
21985
  $EGREP "uid_t" >/dev/null 2>&1; then :
29109
21986
  ac_cv_type_uid_t=yes
29110
21987
else
29111
21988
  ac_cv_type_uid_t=no
29113
21990
rm -f conftest*
29114
21991
 
29115
21992
fi
29116
 
{ echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
29117
 
echo "${ECHO_T}$ac_cv_type_uid_t" >&6; }
 
21993
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_uid_t" >&5
 
21994
$as_echo "$ac_cv_type_uid_t" >&6; }
29118
21995
if test $ac_cv_type_uid_t = no; then
29119
21996
  
29120
 
cat >>confdefs.h <<\_ACEOF
29121
 
@%:@define uid_t int
29122
 
_ACEOF
 
21997
$as_echo "@%:@define uid_t int" >>confdefs.h
29123
21998
 
29124
21999
  
29125
 
cat >>confdefs.h <<\_ACEOF
29126
 
@%:@define gid_t int
29127
 
_ACEOF
 
22000
$as_echo "@%:@define gid_t int" >>confdefs.h
29128
22001
 
29129
22002
fi
29130
22003
 
29131
 
{ echo "$as_me:$LINENO: checking for inline" >&5
29132
 
echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
29133
 
if test "${ac_cv_c_inline+set}" = set; then
29134
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
22004
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
 
22005
$as_echo_n "checking for inline... " >&6; }
 
22006
if test "${ac_cv_c_inline+set}" = set; then :
 
22007
  $as_echo_n "(cached) " >&6
29135
22008
else
29136
22009
  ac_cv_c_inline=no
29137
22010
for ac_kw in inline __inline__ __inline; do
29138
 
  cat >conftest.$ac_ext <<_ACEOF
29139
 
/* confdefs.h.  */
29140
 
_ACEOF
29141
 
cat confdefs.h >>conftest.$ac_ext
29142
 
cat >>conftest.$ac_ext <<_ACEOF
 
22011
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29143
22012
/* end confdefs.h.  */
29144
22013
#ifndef __cplusplus
29145
22014
typedef int foo_t;
29148
22017
#endif
29149
22018
 
29150
22019
_ACEOF
29151
 
rm -f conftest.$ac_objext
29152
 
if { (ac_try="$ac_compile"
29153
 
case "(($ac_try" in
29154
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29155
 
  *) ac_try_echo=$ac_try;;
29156
 
esac
29157
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29158
 
  (eval "$ac_compile") 2>conftest.er1
29159
 
  ac_status=$?
29160
 
  grep -v '^ *+' conftest.er1 >conftest.err
29161
 
  rm -f conftest.er1
29162
 
  cat conftest.err >&5
29163
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
29164
 
  (exit $ac_status); } && {
29165
 
         test -z "$ac_c_werror_flag" ||
29166
 
         test ! -s conftest.err
29167
 
       } && test -s conftest.$ac_objext; then
 
22020
if ac_fn_c_try_compile "$LINENO"; then :
29168
22021
  ac_cv_c_inline=$ac_kw
29169
 
else
29170
 
  echo "$as_me: failed program was:" >&5
29171
 
sed 's/^/| /' conftest.$ac_ext >&5
29172
 
 
29173
 
        
29174
22022
fi
29175
 
 
29176
22023
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29177
22024
  test "$ac_cv_c_inline" != no && break
29178
22025
done
29179
22026
 
29180
22027
fi
29181
 
{ echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
29182
 
echo "${ECHO_T}$ac_cv_c_inline" >&6; }
29183
 
 
 
22028
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
 
22029
$as_echo "$ac_cv_c_inline" >&6; }
29184
22030
 
29185
22031
case $ac_cv_c_inline in
29186
22032
  inline | yes) ;;
29197
22043
    ;;
29198
22044
esac
29199
22045
 
29200
 
{ echo "$as_me:$LINENO: checking for mode_t" >&5
29201
 
echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
29202
 
if test "${ac_cv_type_mode_t+set}" = set; then
29203
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
29204
 
else
29205
 
  cat >conftest.$ac_ext <<_ACEOF
29206
 
/* confdefs.h.  */
29207
 
_ACEOF
29208
 
cat confdefs.h >>conftest.$ac_ext
29209
 
cat >>conftest.$ac_ext <<_ACEOF
29210
 
/* end confdefs.h.  */
29211
 
$ac_includes_default
29212
 
typedef mode_t ac__type_new_;
29213
 
int
29214
 
main ()
29215
 
{
29216
 
if ((ac__type_new_ *) 0)
29217
 
  return 0;
29218
 
if (sizeof (ac__type_new_))
29219
 
  return 0;
29220
 
  ;
29221
 
  return 0;
29222
 
}
29223
 
_ACEOF
29224
 
rm -f conftest.$ac_objext
29225
 
if { (ac_try="$ac_compile"
29226
 
case "(($ac_try" in
29227
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29228
 
  *) ac_try_echo=$ac_try;;
29229
 
esac
29230
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29231
 
  (eval "$ac_compile") 2>conftest.er1
29232
 
  ac_status=$?
29233
 
  grep -v '^ *+' conftest.er1 >conftest.err
29234
 
  rm -f conftest.er1
29235
 
  cat conftest.err >&5
29236
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
29237
 
  (exit $ac_status); } && {
29238
 
         test -z "$ac_c_werror_flag" ||
29239
 
         test ! -s conftest.err
29240
 
       } && test -s conftest.$ac_objext; then
29241
 
  ac_cv_type_mode_t=yes
29242
 
else
29243
 
  echo "$as_me: failed program was:" >&5
29244
 
sed 's/^/| /' conftest.$ac_ext >&5
29245
 
 
29246
 
        ac_cv_type_mode_t=no
29247
 
fi
29248
 
 
29249
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29250
 
fi
29251
 
{ echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
29252
 
echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
29253
 
if test $ac_cv_type_mode_t = yes; then
29254
 
  :
 
22046
ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
 
22047
if test "x$ac_cv_type_mode_t" = x""yes; then :
 
22048
  
29255
22049
else
29256
22050
  
29257
22051
cat >>confdefs.h <<_ACEOF
29260
22054
 
29261
22055
fi
29262
22056
 
29263
 
{ echo "$as_me:$LINENO: checking for off_t" >&5
29264
 
echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
29265
 
if test "${ac_cv_type_off_t+set}" = set; then
29266
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
29267
 
else
29268
 
  cat >conftest.$ac_ext <<_ACEOF
29269
 
/* confdefs.h.  */
29270
 
_ACEOF
29271
 
cat confdefs.h >>conftest.$ac_ext
29272
 
cat >>conftest.$ac_ext <<_ACEOF
29273
 
/* end confdefs.h.  */
29274
 
$ac_includes_default
29275
 
typedef off_t ac__type_new_;
29276
 
int
29277
 
main ()
29278
 
{
29279
 
if ((ac__type_new_ *) 0)
29280
 
  return 0;
29281
 
if (sizeof (ac__type_new_))
29282
 
  return 0;
29283
 
  ;
29284
 
  return 0;
29285
 
}
29286
 
_ACEOF
29287
 
rm -f conftest.$ac_objext
29288
 
if { (ac_try="$ac_compile"
29289
 
case "(($ac_try" in
29290
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29291
 
  *) ac_try_echo=$ac_try;;
29292
 
esac
29293
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29294
 
  (eval "$ac_compile") 2>conftest.er1
29295
 
  ac_status=$?
29296
 
  grep -v '^ *+' conftest.er1 >conftest.err
29297
 
  rm -f conftest.er1
29298
 
  cat conftest.err >&5
29299
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
29300
 
  (exit $ac_status); } && {
29301
 
         test -z "$ac_c_werror_flag" ||
29302
 
         test ! -s conftest.err
29303
 
       } && test -s conftest.$ac_objext; then
29304
 
  ac_cv_type_off_t=yes
29305
 
else
29306
 
  echo "$as_me: failed program was:" >&5
29307
 
sed 's/^/| /' conftest.$ac_ext >&5
29308
 
 
29309
 
        ac_cv_type_off_t=no
29310
 
fi
29311
 
 
29312
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29313
 
fi
29314
 
{ echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
29315
 
echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
29316
 
if test $ac_cv_type_off_t = yes; then
29317
 
  :
 
22057
ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
 
22058
if test "x$ac_cv_type_off_t" = x""yes; then :
 
22059
  
29318
22060
else
29319
22061
  
29320
22062
cat >>confdefs.h <<_ACEOF
29323
22065
 
29324
22066
fi
29325
22067
 
29326
 
{ echo "$as_me:$LINENO: checking for pid_t" >&5
29327
 
echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
29328
 
if test "${ac_cv_type_pid_t+set}" = set; then
29329
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
29330
 
else
29331
 
  cat >conftest.$ac_ext <<_ACEOF
29332
 
/* confdefs.h.  */
29333
 
_ACEOF
29334
 
cat confdefs.h >>conftest.$ac_ext
29335
 
cat >>conftest.$ac_ext <<_ACEOF
29336
 
/* end confdefs.h.  */
29337
 
$ac_includes_default
29338
 
typedef pid_t ac__type_new_;
29339
 
int
29340
 
main ()
29341
 
{
29342
 
if ((ac__type_new_ *) 0)
29343
 
  return 0;
29344
 
if (sizeof (ac__type_new_))
29345
 
  return 0;
29346
 
  ;
29347
 
  return 0;
29348
 
}
29349
 
_ACEOF
29350
 
rm -f conftest.$ac_objext
29351
 
if { (ac_try="$ac_compile"
29352
 
case "(($ac_try" in
29353
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29354
 
  *) ac_try_echo=$ac_try;;
29355
 
esac
29356
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29357
 
  (eval "$ac_compile") 2>conftest.er1
29358
 
  ac_status=$?
29359
 
  grep -v '^ *+' conftest.er1 >conftest.err
29360
 
  rm -f conftest.er1
29361
 
  cat conftest.err >&5
29362
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
29363
 
  (exit $ac_status); } && {
29364
 
         test -z "$ac_c_werror_flag" ||
29365
 
         test ! -s conftest.err
29366
 
       } && test -s conftest.$ac_objext; then
29367
 
  ac_cv_type_pid_t=yes
29368
 
else
29369
 
  echo "$as_me: failed program was:" >&5
29370
 
sed 's/^/| /' conftest.$ac_ext >&5
29371
 
 
29372
 
        ac_cv_type_pid_t=no
29373
 
fi
29374
 
 
29375
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29376
 
fi
29377
 
{ echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
29378
 
echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
29379
 
if test $ac_cv_type_pid_t = yes; then
29380
 
  :
 
22068
ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
 
22069
if test "x$ac_cv_type_pid_t" = x""yes; then :
 
22070
  
29381
22071
else
29382
22072
  
29383
22073
cat >>confdefs.h <<_ACEOF
29386
22076
 
29387
22077
fi
29388
22078
 
29389
 
{ echo "$as_me:$LINENO: checking for size_t" >&5
29390
 
echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
29391
 
if test "${ac_cv_type_size_t+set}" = set; then
29392
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
29393
 
else
29394
 
  cat >conftest.$ac_ext <<_ACEOF
29395
 
/* confdefs.h.  */
29396
 
_ACEOF
29397
 
cat confdefs.h >>conftest.$ac_ext
29398
 
cat >>conftest.$ac_ext <<_ACEOF
29399
 
/* end confdefs.h.  */
29400
 
$ac_includes_default
29401
 
typedef size_t ac__type_new_;
29402
 
int
29403
 
main ()
29404
 
{
29405
 
if ((ac__type_new_ *) 0)
29406
 
  return 0;
29407
 
if (sizeof (ac__type_new_))
29408
 
  return 0;
29409
 
  ;
29410
 
  return 0;
29411
 
}
29412
 
_ACEOF
29413
 
rm -f conftest.$ac_objext
29414
 
if { (ac_try="$ac_compile"
29415
 
case "(($ac_try" in
29416
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29417
 
  *) ac_try_echo=$ac_try;;
29418
 
esac
29419
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29420
 
  (eval "$ac_compile") 2>conftest.er1
29421
 
  ac_status=$?
29422
 
  grep -v '^ *+' conftest.er1 >conftest.err
29423
 
  rm -f conftest.er1
29424
 
  cat conftest.err >&5
29425
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
29426
 
  (exit $ac_status); } && {
29427
 
         test -z "$ac_c_werror_flag" ||
29428
 
         test ! -s conftest.err
29429
 
       } && test -s conftest.$ac_objext; then
29430
 
  ac_cv_type_size_t=yes
29431
 
else
29432
 
  echo "$as_me: failed program was:" >&5
29433
 
sed 's/^/| /' conftest.$ac_ext >&5
29434
 
 
29435
 
        ac_cv_type_size_t=no
29436
 
fi
29437
 
 
29438
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29439
 
fi
29440
 
{ echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
29441
 
echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
29442
 
if test $ac_cv_type_size_t = yes; then
29443
 
  :
 
22079
ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
 
22080
if test "x$ac_cv_type_size_t" = x""yes; then :
 
22081
  
29444
22082
else
29445
22083
  
29446
22084
cat >>confdefs.h <<_ACEOF
29449
22087
 
29450
22088
fi
29451
22089
 
29452
 
{ echo "$as_me:$LINENO: checking for struct stat.st_rdev" >&5
29453
 
echo $ECHO_N "checking for struct stat.st_rdev... $ECHO_C" >&6; }
29454
 
if test "${ac_cv_member_struct_stat_st_rdev+set}" = set; then
29455
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
29456
 
else
29457
 
  cat >conftest.$ac_ext <<_ACEOF
29458
 
/* confdefs.h.  */
29459
 
_ACEOF
29460
 
cat confdefs.h >>conftest.$ac_ext
29461
 
cat >>conftest.$ac_ext <<_ACEOF
29462
 
/* end confdefs.h.  */
29463
 
$ac_includes_default
29464
 
int
29465
 
main ()
29466
 
{
29467
 
static struct stat ac_aggr;
29468
 
if (ac_aggr.st_rdev)
29469
 
return 0;
29470
 
  ;
29471
 
  return 0;
29472
 
}
29473
 
_ACEOF
29474
 
rm -f conftest.$ac_objext
29475
 
if { (ac_try="$ac_compile"
29476
 
case "(($ac_try" in
29477
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29478
 
  *) ac_try_echo=$ac_try;;
29479
 
esac
29480
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29481
 
  (eval "$ac_compile") 2>conftest.er1
29482
 
  ac_status=$?
29483
 
  grep -v '^ *+' conftest.er1 >conftest.err
29484
 
  rm -f conftest.er1
29485
 
  cat conftest.err >&5
29486
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
29487
 
  (exit $ac_status); } && {
29488
 
         test -z "$ac_c_werror_flag" ||
29489
 
         test ! -s conftest.err
29490
 
       } && test -s conftest.$ac_objext; then
29491
 
  ac_cv_member_struct_stat_st_rdev=yes
29492
 
else
29493
 
  echo "$as_me: failed program was:" >&5
29494
 
sed 's/^/| /' conftest.$ac_ext >&5
29495
 
 
29496
 
        cat >conftest.$ac_ext <<_ACEOF
29497
 
/* confdefs.h.  */
29498
 
_ACEOF
29499
 
cat confdefs.h >>conftest.$ac_ext
29500
 
cat >>conftest.$ac_ext <<_ACEOF
29501
 
/* end confdefs.h.  */
29502
 
$ac_includes_default
29503
 
int
29504
 
main ()
29505
 
{
29506
 
static struct stat ac_aggr;
29507
 
if (sizeof ac_aggr.st_rdev)
29508
 
return 0;
29509
 
  ;
29510
 
  return 0;
29511
 
}
29512
 
_ACEOF
29513
 
rm -f conftest.$ac_objext
29514
 
if { (ac_try="$ac_compile"
29515
 
case "(($ac_try" in
29516
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29517
 
  *) ac_try_echo=$ac_try;;
29518
 
esac
29519
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29520
 
  (eval "$ac_compile") 2>conftest.er1
29521
 
  ac_status=$?
29522
 
  grep -v '^ *+' conftest.er1 >conftest.err
29523
 
  rm -f conftest.er1
29524
 
  cat conftest.err >&5
29525
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
29526
 
  (exit $ac_status); } && {
29527
 
         test -z "$ac_c_werror_flag" ||
29528
 
         test ! -s conftest.err
29529
 
       } && test -s conftest.$ac_objext; then
29530
 
  ac_cv_member_struct_stat_st_rdev=yes
29531
 
else
29532
 
  echo "$as_me: failed program was:" >&5
29533
 
sed 's/^/| /' conftest.$ac_ext >&5
29534
 
 
29535
 
        ac_cv_member_struct_stat_st_rdev=no
29536
 
fi
29537
 
 
29538
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29539
 
fi
29540
 
 
29541
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29542
 
fi
29543
 
{ echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_rdev" >&5
29544
 
echo "${ECHO_T}$ac_cv_member_struct_stat_st_rdev" >&6; }
29545
 
if test $ac_cv_member_struct_stat_st_rdev = yes; then
 
22090
ac_fn_c_check_member "$LINENO" "struct stat" "st_rdev" "ac_cv_member_struct_stat_st_rdev" "$ac_includes_default"
 
22091
if test "x$ac_cv_member_struct_stat_st_rdev" = x""yes; then :
29546
22092
  
29547
22093
cat >>confdefs.h <<_ACEOF
29548
22094
@%:@define HAVE_STRUCT_STAT_ST_RDEV 1
29551
22097
 
29552
22098
fi
29553
22099
 
29554
 
{ echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
29555
 
echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6; }
29556
 
if test "${ac_cv_header_time+set}" = set; then
29557
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
22100
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
 
22101
$as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
 
22102
if test "${ac_cv_header_time+set}" = set; then :
 
22103
  $as_echo_n "(cached) " >&6
29558
22104
else
29559
 
  cat >conftest.$ac_ext <<_ACEOF
29560
 
/* confdefs.h.  */
29561
 
_ACEOF
29562
 
cat confdefs.h >>conftest.$ac_ext
29563
 
cat >>conftest.$ac_ext <<_ACEOF
 
22105
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29564
22106
/* end confdefs.h.  */
29565
22107
#include <sys/types.h>
29566
22108
#include <sys/time.h>
29575
22117
  return 0;
29576
22118
}
29577
22119
_ACEOF
29578
 
rm -f conftest.$ac_objext
29579
 
if { (ac_try="$ac_compile"
29580
 
case "(($ac_try" in
29581
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29582
 
  *) ac_try_echo=$ac_try;;
29583
 
esac
29584
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29585
 
  (eval "$ac_compile") 2>conftest.er1
29586
 
  ac_status=$?
29587
 
  grep -v '^ *+' conftest.er1 >conftest.err
29588
 
  rm -f conftest.er1
29589
 
  cat conftest.err >&5
29590
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
29591
 
  (exit $ac_status); } && {
29592
 
         test -z "$ac_c_werror_flag" ||
29593
 
         test ! -s conftest.err
29594
 
       } && test -s conftest.$ac_objext; then
 
22120
if ac_fn_c_try_compile "$LINENO"; then :
29595
22121
  ac_cv_header_time=yes
29596
22122
else
29597
 
  echo "$as_me: failed program was:" >&5
29598
 
sed 's/^/| /' conftest.$ac_ext >&5
29599
 
 
29600
 
        ac_cv_header_time=no
 
22123
  ac_cv_header_time=no
29601
22124
fi
29602
 
 
29603
22125
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29604
22126
fi
29605
 
{ echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
29606
 
echo "${ECHO_T}$ac_cv_header_time" >&6; }
 
22127
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
 
22128
$as_echo "$ac_cv_header_time" >&6; }
29607
22129
if test $ac_cv_header_time = yes; then
29608
22130
  
29609
 
cat >>confdefs.h <<\_ACEOF
29610
 
@%:@define TIME_WITH_SYS_TIME 1
29611
 
_ACEOF
 
22131
$as_echo "@%:@define TIME_WITH_SYS_TIME 1" >>confdefs.h
29612
22132
 
29613
22133
fi
29614
22134
 
29615
 
{ echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
29616
 
echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6; }
29617
 
if test "${ac_cv_struct_tm+set}" = set; then
29618
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
22135
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5
 
22136
$as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; }
 
22137
if test "${ac_cv_struct_tm+set}" = set; then :
 
22138
  $as_echo_n "(cached) " >&6
29619
22139
else
29620
 
  cat >conftest.$ac_ext <<_ACEOF
29621
 
/* confdefs.h.  */
29622
 
_ACEOF
29623
 
cat confdefs.h >>conftest.$ac_ext
29624
 
cat >>conftest.$ac_ext <<_ACEOF
 
22140
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29625
22141
/* end confdefs.h.  */
29626
22142
#include <sys/types.h>
29627
22143
#include <time.h>
29631
22147
{
29632
22148
struct tm tm;
29633
22149
                                     int *p = &tm.tm_sec;
29634
 
                                     return !p;
 
22150
                                     return !p;
29635
22151
  ;
29636
22152
  return 0;
29637
22153
}
29638
22154
_ACEOF
29639
 
rm -f conftest.$ac_objext
29640
 
if { (ac_try="$ac_compile"
29641
 
case "(($ac_try" in
29642
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29643
 
  *) ac_try_echo=$ac_try;;
29644
 
esac
29645
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29646
 
  (eval "$ac_compile") 2>conftest.er1
29647
 
  ac_status=$?
29648
 
  grep -v '^ *+' conftest.er1 >conftest.err
29649
 
  rm -f conftest.er1
29650
 
  cat conftest.err >&5
29651
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
29652
 
  (exit $ac_status); } && {
29653
 
         test -z "$ac_c_werror_flag" ||
29654
 
         test ! -s conftest.err
29655
 
       } && test -s conftest.$ac_objext; then
 
22155
if ac_fn_c_try_compile "$LINENO"; then :
29656
22156
  ac_cv_struct_tm=time.h
29657
22157
else
29658
 
  echo "$as_me: failed program was:" >&5
29659
 
sed 's/^/| /' conftest.$ac_ext >&5
29660
 
 
29661
 
        ac_cv_struct_tm=sys/time.h
 
22158
  ac_cv_struct_tm=sys/time.h
29662
22159
fi
29663
 
 
29664
22160
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29665
22161
fi
29666
 
{ echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
29667
 
echo "${ECHO_T}$ac_cv_struct_tm" >&6; }
 
22162
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5
 
22163
$as_echo "$ac_cv_struct_tm" >&6; }
29668
22164
if test $ac_cv_struct_tm = sys/time.h; then
29669
22165
  
29670
 
cat >>confdefs.h <<\_ACEOF
29671
 
@%:@define TM_IN_SYS_TIME 1
29672
 
_ACEOF
 
22166
$as_echo "@%:@define TM_IN_SYS_TIME 1" >>confdefs.h
29673
22167
 
29674
22168
fi
29675
22169
 
29676
 
{ echo "$as_me:$LINENO: checking for working volatile" >&5
29677
 
echo $ECHO_N "checking for working volatile... $ECHO_C" >&6; }
29678
 
if test "${ac_cv_c_volatile+set}" = set; then
29679
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
22170
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working volatile" >&5
 
22171
$as_echo_n "checking for working volatile... " >&6; }
 
22172
if test "${ac_cv_c_volatile+set}" = set; then :
 
22173
  $as_echo_n "(cached) " >&6
29680
22174
else
29681
 
  cat >conftest.$ac_ext <<_ACEOF
29682
 
/* confdefs.h.  */
29683
 
_ACEOF
29684
 
cat confdefs.h >>conftest.$ac_ext
29685
 
cat >>conftest.$ac_ext <<_ACEOF
 
22175
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29686
22176
/* end confdefs.h.  */
29687
22177
 
29688
22178
int
29696
22186
  return 0;
29697
22187
}
29698
22188
_ACEOF
29699
 
rm -f conftest.$ac_objext
29700
 
if { (ac_try="$ac_compile"
29701
 
case "(($ac_try" in
29702
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29703
 
  *) ac_try_echo=$ac_try;;
29704
 
esac
29705
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29706
 
  (eval "$ac_compile") 2>conftest.er1
29707
 
  ac_status=$?
29708
 
  grep -v '^ *+' conftest.er1 >conftest.err
29709
 
  rm -f conftest.er1
29710
 
  cat conftest.err >&5
29711
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
29712
 
  (exit $ac_status); } && {
29713
 
         test -z "$ac_c_werror_flag" ||
29714
 
         test ! -s conftest.err
29715
 
       } && test -s conftest.$ac_objext; then
 
22189
if ac_fn_c_try_compile "$LINENO"; then :
29716
22190
  ac_cv_c_volatile=yes
29717
22191
else
29718
 
  echo "$as_me: failed program was:" >&5
29719
 
sed 's/^/| /' conftest.$ac_ext >&5
29720
 
 
29721
 
        ac_cv_c_volatile=no
 
22192
  ac_cv_c_volatile=no
29722
22193
fi
29723
 
 
29724
22194
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29725
22195
fi
29726
 
{ echo "$as_me:$LINENO: result: $ac_cv_c_volatile" >&5
29727
 
echo "${ECHO_T}$ac_cv_c_volatile" >&6; }
 
22196
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_volatile" >&5
 
22197
$as_echo "$ac_cv_c_volatile" >&6; }
29728
22198
if test $ac_cv_c_volatile = no; then
29729
22199
  
29730
 
cat >>confdefs.h <<\_ACEOF
29731
 
@%:@define volatile 
29732
 
_ACEOF
 
22200
$as_echo "@%:@define volatile /**/" >>confdefs.h
29733
22201
 
29734
22202
fi
29735
22203
 
29742
22210
# argument. Here, we test for the older form and expect a compiler warning/error
29743
22211
# if the newer form is defined (because, in that case, we would be attempting to
29744
22212
# remove const'ness without an explicit cast).
29745
 
{ echo "$as_me:$LINENO: checking for the new format of iconv" >&5
29746
 
echo $ECHO_N "checking for the new format of iconv... $ECHO_C" >&6; }
 
22213
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for the new format of iconv" >&5
 
22214
$as_echo_n "checking for the new format of iconv... " >&6; }
29747
22215
ORIGINAL_CFLAGS="$CFLAGS"
29748
22216
CFLAGS="$CFLAGS -Werror"
29749
 
cat >conftest.$ac_ext <<_ACEOF
29750
 
/* confdefs.h.  */
29751
 
_ACEOF
29752
 
cat confdefs.h >>conftest.$ac_ext
29753
 
cat >>conftest.$ac_ext <<_ACEOF
 
22217
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29754
22218
/* end confdefs.h.  */
29755
22219
#include <iconv.h>
29756
22220
int
29769
22233
  return 0;
29770
22234
}
29771
22235
_ACEOF
29772
 
rm -f conftest.$ac_objext
29773
 
if { (ac_try="$ac_compile"
29774
 
case "(($ac_try" in
29775
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29776
 
  *) ac_try_echo=$ac_try;;
29777
 
esac
29778
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29779
 
  (eval "$ac_compile") 2>conftest.er1
29780
 
  ac_status=$?
29781
 
  grep -v '^ *+' conftest.er1 >conftest.err
29782
 
  rm -f conftest.er1
29783
 
  cat conftest.err >&5
29784
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
29785
 
  (exit $ac_status); } && {
29786
 
         test -z "$ac_c_werror_flag" ||
29787
 
         test ! -s conftest.err
29788
 
       } && test -s conftest.$ac_objext; then
 
22236
if ac_fn_c_try_compile "$LINENO"; then :
29789
22237
  HAVE_NEW_ICONV="no"
29790
22238
else
29791
 
  echo "$as_me: failed program was:" >&5
29792
 
sed 's/^/| /' conftest.$ac_ext >&5
29793
 
 
29794
 
        HAVE_NEW_ICONV="yes"
 
22239
  HAVE_NEW_ICONV="yes"
29795
22240
fi
29796
 
 
29797
22241
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29798
22242
CFLAGS="$ORIGINAL_CFLAGS"
29799
 
{ echo "$as_me:$LINENO: result: $HAVE_NEW_ICONV" >&5
29800
 
echo "${ECHO_T}$HAVE_NEW_ICONV" >&6; }
 
22243
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_NEW_ICONV" >&5
 
22244
$as_echo "$HAVE_NEW_ICONV" >&6; }
29801
22245
 
29802
22246
if test "$os" = "linux"; then
29803
 
   
29804
 
for ac_func in lseek
29805
 
do
29806
 
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29807
 
{ echo "$as_me:$LINENO: checking for $ac_func" >&5
29808
 
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
29809
 
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
29810
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
29811
 
else
29812
 
  cat >conftest.$ac_ext <<_ACEOF
29813
 
/* confdefs.h.  */
29814
 
_ACEOF
29815
 
cat confdefs.h >>conftest.$ac_ext
29816
 
cat >>conftest.$ac_ext <<_ACEOF
29817
 
/* end confdefs.h.  */
29818
 
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29819
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
29820
 
#define $ac_func innocuous_$ac_func
29821
 
 
29822
 
/* System header to define __stub macros and hopefully few prototypes,
29823
 
    which can conflict with char $ac_func (); below.
29824
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29825
 
    <limits.h> exists even on freestanding compilers.  */
29826
 
 
29827
 
#ifdef __STDC__
29828
 
# include <limits.h>
29829
 
#else
29830
 
# include <assert.h>
29831
 
#endif
29832
 
 
29833
 
#undef $ac_func
29834
 
 
29835
 
/* Override any GCC internal prototype to avoid an error.
29836
 
   Use char because int might match the return type of a GCC
29837
 
   builtin and then its argument prototype would still apply.  */
29838
 
#ifdef __cplusplus
29839
 
extern "C"
29840
 
#endif
29841
 
char $ac_func ();
29842
 
/* The GNU C library defines this for functions which it implements
29843
 
    to always fail with ENOSYS.  Some functions are actually named
29844
 
    something starting with __ and the normal name is an alias.  */
29845
 
#if defined __stub_$ac_func || defined __stub___$ac_func
29846
 
choke me
29847
 
#endif
29848
 
 
29849
 
int
29850
 
main ()
29851
 
{
29852
 
return $ac_func ();
29853
 
  ;
29854
 
  return 0;
29855
 
}
29856
 
_ACEOF
29857
 
rm -f conftest.$ac_objext conftest$ac_exeext
29858
 
if { (ac_try="$ac_link"
29859
 
case "(($ac_try" in
29860
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29861
 
  *) ac_try_echo=$ac_try;;
29862
 
esac
29863
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29864
 
  (eval "$ac_link") 2>conftest.er1
29865
 
  ac_status=$?
29866
 
  grep -v '^ *+' conftest.er1 >conftest.err
29867
 
  rm -f conftest.er1
29868
 
  cat conftest.err >&5
29869
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
29870
 
  (exit $ac_status); } && {
29871
 
         test -z "$ac_c_werror_flag" ||
29872
 
         test ! -s conftest.err
29873
 
       } && test -s conftest$ac_exeext &&
29874
 
       $as_test_x conftest$ac_exeext; then
29875
 
  eval "$as_ac_var=yes"
29876
 
else
29877
 
  echo "$as_me: failed program was:" >&5
29878
 
sed 's/^/| /' conftest.$ac_ext >&5
29879
 
 
29880
 
        eval "$as_ac_var=no"
29881
 
fi
29882
 
 
29883
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29884
 
      conftest$ac_exeext conftest.$ac_ext
29885
 
fi
29886
 
ac_res=`eval echo '${'$as_ac_var'}'`
29887
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
29888
 
echo "${ECHO_T}$ac_res" >&6; }
29889
 
if test `eval echo '${'$as_ac_var'}'` = yes; then
 
22247
   for ac_func in lseek
 
22248
do :
 
22249
  ac_fn_c_check_func "$LINENO" "lseek" "ac_cv_func_lseek"
 
22250
if test "x$ac_cv_func_lseek" = x""yes; then :
29890
22251
  cat >>confdefs.h <<_ACEOF
29891
 
@%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
 
22252
@%:@define HAVE_LSEEK 1
29892
22253
_ACEOF
29893
22254
 HAVE_LSEEK="yes"
29894
22255
else
29898
22259
 
29899
22260
 
29900
22261
   # setresuid() was wrapped beginning in glibc 2.3.2.
29901
 
   { echo "$as_me:$LINENO: checking for setresuid" >&5
29902
 
echo $ECHO_N "checking for setresuid... $ECHO_C" >&6; }
 
22262
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for setresuid" >&5
 
22263
$as_echo_n "checking for setresuid... " >&6; }
29903
22264
   # Ensure an error is thrown if setresuid is unknown.
29904
22265
   ORIGINAL_CFLAGS="$CFLAGS"
29905
22266
   CFLAGS="$CFLAGS -Werror-implicit-function-declaration -Werror"
29906
 
   cat >conftest.$ac_ext <<_ACEOF
29907
 
/* confdefs.h.  */
29908
 
_ACEOF
29909
 
cat confdefs.h >>conftest.$ac_ext
29910
 
cat >>conftest.$ac_ext <<_ACEOF
 
22267
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29911
22268
/* end confdefs.h.  */
29912
22269
#define _GNU_SOURCE
29913
22270
       #include <unistd.h>
29921
22278
  return 0;
29922
22279
}
29923
22280
_ACEOF
29924
 
rm -f conftest.$ac_objext
29925
 
if { (ac_try="$ac_compile"
29926
 
case "(($ac_try" in
29927
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29928
 
  *) ac_try_echo=$ac_try;;
29929
 
esac
29930
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29931
 
  (eval "$ac_compile") 2>conftest.er1
29932
 
  ac_status=$?
29933
 
  grep -v '^ *+' conftest.er1 >conftest.err
29934
 
  rm -f conftest.er1
29935
 
  cat conftest.err >&5
29936
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
29937
 
  (exit $ac_status); } && {
29938
 
         test -z "$ac_c_werror_flag" ||
29939
 
         test ! -s conftest.err
29940
 
       } && test -s conftest.$ac_objext; then
 
22281
if ac_fn_c_try_compile "$LINENO"; then :
29941
22282
  HAVE_SETRESUID="yes"
29942
22283
else
29943
 
  echo "$as_me: failed program was:" >&5
29944
 
sed 's/^/| /' conftest.$ac_ext >&5
29945
 
 
29946
 
        HAVE_SETRESUID="no"
 
22284
  HAVE_SETRESUID="no"
29947
22285
fi
29948
 
 
29949
22286
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29950
22287
   CFLAGS="$ORIGINAL_CFLAGS"
29951
 
   { echo "$as_me:$LINENO: result: $HAVE_SETRESUID" >&5
29952
 
echo "${ECHO_T}$HAVE_SETRESUID" >&6; }
 
22288
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_SETRESUID" >&5
 
22289
$as_echo "$HAVE_SETRESUID" >&6; }
29953
22290
fi
29954
22291
 
29955
22292
### General flags / actions
29959
22296
# -Wno-unknown-pragmas is due to gcc not understanding '#pragma ident' in Xlib.h on OpenSolaris.
29960
22297
for TEST_CFLAG in -Wno-pointer-sign -Wno-unused-value -fno-strict-aliasing \
29961
22298
    -Wno-unknown-pragmas -Wno-uninitialized; do
29962
 
    { echo "$as_me:$LINENO: checking for GCC flag $TEST_CFLAG" >&5
29963
 
echo $ECHO_N "checking for GCC flag $TEST_CFLAG... $ECHO_C" >&6; }
 
22299
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GCC flag $TEST_CFLAG" >&5
 
22300
$as_echo_n "checking for GCC flag $TEST_CFLAG... " >&6; }
29964
22301
    ORIGINAL_CFLAGS="$CFLAGS"
29965
22302
    CFLAGS="$CFLAGS $TEST_CFLAG"
29966
22303
    NEW_CFLAG=""
29967
 
    cat >conftest.$ac_ext <<_ACEOF
29968
 
/* confdefs.h.  */
29969
 
_ACEOF
29970
 
cat confdefs.h >>conftest.$ac_ext
29971
 
cat >>conftest.$ac_ext <<_ACEOF
 
22304
    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29972
22305
/* end confdefs.h.  */
29973
22306
 
29974
22307
int
29981
22314
  return 0;
29982
22315
}
29983
22316
_ACEOF
29984
 
rm -f conftest.$ac_objext
29985
 
if { (ac_try="$ac_compile"
29986
 
case "(($ac_try" in
29987
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29988
 
  *) ac_try_echo=$ac_try;;
29989
 
esac
29990
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29991
 
  (eval "$ac_compile") 2>conftest.er1
29992
 
  ac_status=$?
29993
 
  grep -v '^ *+' conftest.er1 >conftest.err
29994
 
  rm -f conftest.er1
29995
 
  cat conftest.err >&5
29996
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
29997
 
  (exit $ac_status); } && {
29998
 
         test -z "$ac_c_werror_flag" ||
29999
 
         test ! -s conftest.err
30000
 
       } && test -s conftest.$ac_objext; then
 
22317
if ac_fn_c_try_compile "$LINENO"; then :
30001
22318
  NEW_CFLAG=" $TEST_CFLAG"
30002
 
    { echo "$as_me:$LINENO: result: yes" >&5
30003
 
echo "${ECHO_T}yes" >&6; }
 
22319
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
22320
$as_echo "yes" >&6; }
30004
22321
else
30005
 
  echo "$as_me: failed program was:" >&5
30006
 
sed 's/^/| /' conftest.$ac_ext >&5
30007
 
 
30008
 
        { echo "$as_me:$LINENO: result: no" >&5
30009
 
echo "${ECHO_T}no" >&6; }
 
22322
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
22323
$as_echo "no" >&6; }
30010
22324
fi
30011
 
 
30012
22325
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30013
22326
   CFLAGS="$ORIGINAL_CFLAGS$NEW_CFLAG"
30014
22327
done
30018
22331
# -fvisibility is used by "core service" plugins, but not required.
30019
22332
ORIGINAL_CFLAGS="$CFLAGS"
30020
22333
CFLAGS="$CFLAGS -fvisibility=hidden"
30021
 
{ echo "$as_me:$LINENO: checking for GCC flag -fvisibility" >&5
30022
 
echo $ECHO_N "checking for GCC flag -fvisibility... $ECHO_C" >&6; }
30023
 
cat >conftest.$ac_ext <<_ACEOF
30024
 
/* confdefs.h.  */
30025
 
_ACEOF
30026
 
cat confdefs.h >>conftest.$ac_ext
30027
 
cat >>conftest.$ac_ext <<_ACEOF
 
22334
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GCC flag -fvisibility" >&5
 
22335
$as_echo_n "checking for GCC flag -fvisibility... " >&6; }
 
22336
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30028
22337
/* end confdefs.h.  */
30029
22338
 
30030
22339
int
30035
22344
  return 0;
30036
22345
}
30037
22346
_ACEOF
30038
 
rm -f conftest.$ac_objext
30039
 
if { (ac_try="$ac_compile"
30040
 
case "(($ac_try" in
30041
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30042
 
  *) ac_try_echo=$ac_try;;
30043
 
esac
30044
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30045
 
  (eval "$ac_compile") 2>conftest.er1
30046
 
  ac_status=$?
30047
 
  grep -v '^ *+' conftest.er1 >conftest.err
30048
 
  rm -f conftest.er1
30049
 
  cat conftest.err >&5
30050
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
30051
 
  (exit $ac_status); } && {
30052
 
         test -z "$ac_c_werror_flag" ||
30053
 
         test ! -s conftest.err
30054
 
       } && test -s conftest.$ac_objext; then
 
22347
if ac_fn_c_try_compile "$LINENO"; then :
30055
22348
  PLUGIN_CPPFLAGS="-fvisibility=hidden -DGCC_EXPLICIT_EXPORT";
30056
 
                { echo "$as_me:$LINENO: result: yes" >&5
30057
 
echo "${ECHO_T}yes" >&6; }
 
22349
                { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
22350
$as_echo "yes" >&6; }
30058
22351
else
30059
 
  echo "$as_me: failed program was:" >&5
30060
 
sed 's/^/| /' conftest.$ac_ext >&5
30061
 
 
30062
 
        { echo "$as_me:$LINENO: result: no" >&5
30063
 
echo "${ECHO_T}no" >&6; }
 
22352
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
22353
$as_echo "no" >&6; }
30064
22354
fi
30065
 
 
30066
22355
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30067
22356
CFLAGS="$ORIGINAL_CFLAGS"
30068
22357
 
30079
22368
if test "$enable_docs" = "yes"; then
30080
22369
   # Extract the first word of "doxygen", so it can be a program name with args.
30081
22370
set dummy doxygen; ac_word=$2
30082
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
30083
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30084
 
if test "${ac_cv_prog_have_doxygen+set}" = set; then
30085
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
22371
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
22372
$as_echo_n "checking for $ac_word... " >&6; }
 
22373
if test "${ac_cv_prog_have_doxygen+set}" = set; then :
 
22374
  $as_echo_n "(cached) " >&6
30086
22375
else
30087
22376
  if test -n "$have_doxygen"; then
30088
22377
  ac_cv_prog_have_doxygen="$have_doxygen" # Let the user override the test.
30092
22381
do
30093
22382
  IFS=$as_save_IFS
30094
22383
  test -z "$as_dir" && as_dir=.
30095
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
22384
    for ac_exec_ext in '' $ac_executable_extensions; do
30096
22385
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30097
22386
    ac_cv_prog_have_doxygen="yes"
30098
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
22387
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
30099
22388
    break 2
30100
22389
  fi
30101
22390
done
30102
 
done
 
22391
  done
30103
22392
IFS=$as_save_IFS
30104
22393
 
30105
22394
  test -z "$ac_cv_prog_have_doxygen" && ac_cv_prog_have_doxygen="no"
30107
22396
fi
30108
22397
have_doxygen=$ac_cv_prog_have_doxygen
30109
22398
if test -n "$have_doxygen"; then
30110
 
  { echo "$as_me:$LINENO: result: $have_doxygen" >&5
30111
 
echo "${ECHO_T}$have_doxygen" >&6; }
 
22399
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_doxygen" >&5
 
22400
$as_echo "$have_doxygen" >&6; }
30112
22401
else
30113
 
  { echo "$as_me:$LINENO: result: no" >&5
30114
 
echo "${ECHO_T}no" >&6; }
 
22402
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
22403
$as_echo "no" >&6; }
30115
22404
fi
30116
22405
 
30117
22406
 
30118
22407
   if test "$have_doxygen" = "no"; then
30119
 
      { echo "$as_me:$LINENO: WARNING: doxygen not found; API documentation will not be generated." >&5
30120
 
echo "$as_me: WARNING: doxygen not found; API documentation will not be generated." >&2;}
 
22408
      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: doxygen not found; API documentation will not be generated." >&5
 
22409
$as_echo "$as_me: WARNING: doxygen not found; API documentation will not be generated." >&2;}
30121
22410
   else
30122
22411
      # Extract the first word of "dot", so it can be a program name with args.
30123
22412
set dummy dot; ac_word=$2
30124
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
30125
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30126
 
if test "${ac_cv_path_DOT+set}" = set; then
30127
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
22413
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
22414
$as_echo_n "checking for $ac_word... " >&6; }
 
22415
if test "${ac_cv_path_DOT+set}" = set; then :
 
22416
  $as_echo_n "(cached) " >&6
30128
22417
else
30129
22418
  case $DOT in
30130
22419
  [\\/]* | ?:[\\/]*)
30136
22425
do
30137
22426
  IFS=$as_save_IFS
30138
22427
  test -z "$as_dir" && as_dir=.
30139
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
22428
    for ac_exec_ext in '' $ac_executable_extensions; do
30140
22429
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30141
22430
    ac_cv_path_DOT="$as_dir/$ac_word$ac_exec_ext"
30142
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
22431
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
30143
22432
    break 2
30144
22433
  fi
30145
22434
done
30146
 
done
 
22435
  done
30147
22436
IFS=$as_save_IFS
30148
22437
 
30149
22438
  ;;
30151
22440
fi
30152
22441
DOT=$ac_cv_path_DOT
30153
22442
if test -n "$DOT"; then
30154
 
  { echo "$as_me:$LINENO: result: $DOT" >&5
30155
 
echo "${ECHO_T}$DOT" >&6; }
 
22443
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOT" >&5
 
22444
$as_echo "$DOT" >&6; }
30156
22445
else
30157
 
  { echo "$as_me:$LINENO: result: no" >&5
30158
 
echo "${ECHO_T}no" >&6; }
 
22446
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
22447
$as_echo "no" >&6; }
30159
22448
fi
30160
22449
 
30161
22450
 
30170
22459
 
30171
22460
      # Extract the first word of "mscgen", so it can be a program name with args.
30172
22461
set dummy mscgen; ac_word=$2
30173
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
30174
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30175
 
if test "${ac_cv_path_MSCGEN+set}" = set; then
30176
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
22462
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
22463
$as_echo_n "checking for $ac_word... " >&6; }
 
22464
if test "${ac_cv_path_MSCGEN+set}" = set; then :
 
22465
  $as_echo_n "(cached) " >&6
30177
22466
else
30178
22467
  case $MSCGEN in
30179
22468
  [\\/]* | ?:[\\/]*)
30185
22474
do
30186
22475
  IFS=$as_save_IFS
30187
22476
  test -z "$as_dir" && as_dir=.
30188
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
22477
    for ac_exec_ext in '' $ac_executable_extensions; do
30189
22478
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30190
22479
    ac_cv_path_MSCGEN="$as_dir/$ac_word$ac_exec_ext"
30191
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
22480
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
30192
22481
    break 2
30193
22482
  fi
30194
22483
done
30195
 
done
 
22484
  done
30196
22485
IFS=$as_save_IFS
30197
22486
 
30198
22487
  test -z "$ac_cv_path_MSCGEN" && ac_cv_path_MSCGEN="no"
30201
22490
fi
30202
22491
MSCGEN=$ac_cv_path_MSCGEN
30203
22492
if test -n "$MSCGEN"; then
30204
 
  { echo "$as_me:$LINENO: result: $MSCGEN" >&5
30205
 
echo "${ECHO_T}$MSCGEN" >&6; }
 
22493
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSCGEN" >&5
 
22494
$as_echo "$MSCGEN" >&6; }
30206
22495
else
30207
 
  { echo "$as_me:$LINENO: result: no" >&5
30208
 
echo "${ECHO_T}no" >&6; }
 
22496
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
22497
$as_echo "no" >&6; }
30209
22498
fi
30210
22499
 
30211
22500
 
30237
22526
   CPPFLAGS="$CPPFLAGS -D_BSD_SOURCE"
30238
22527
   CPPFLAGS="$CPPFLAGS -D_SVID_SOURCE"
30239
22528
 
30240
 
   MODULES="$MODULES vmmemctl vmsync vmci vsock"
 
22529
   MODULES="$MODULES vmsync vmci vsock"
30241
22530
   MODULES="$MODULES vmxnet vmblock vmhgfs"
30242
22531
   buildHgfsmounter=yes
30243
22532
fi
30300
22589
 
30301
22590
   # vmxnet3 is built on Solaris 10 / 11 only if GLDv3 is installed.
30302
22591
   if test "$osVersion" -gt 510000; then
30303
 
      if test "${ac_cv_header_sys_mac_h+set}" = set; then
30304
 
  { echo "$as_me:$LINENO: checking for sys/mac.h" >&5
30305
 
echo $ECHO_N "checking for sys/mac.h... $ECHO_C" >&6; }
30306
 
if test "${ac_cv_header_sys_mac_h+set}" = set; then
30307
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
30308
 
fi
30309
 
{ echo "$as_me:$LINENO: result: $ac_cv_header_sys_mac_h" >&5
30310
 
echo "${ECHO_T}$ac_cv_header_sys_mac_h" >&6; }
30311
 
else
30312
 
  # Is the header compilable?
30313
 
{ echo "$as_me:$LINENO: checking sys/mac.h usability" >&5
30314
 
echo $ECHO_N "checking sys/mac.h usability... $ECHO_C" >&6; }
30315
 
cat >conftest.$ac_ext <<_ACEOF
30316
 
/* confdefs.h.  */
30317
 
_ACEOF
30318
 
cat confdefs.h >>conftest.$ac_ext
30319
 
cat >>conftest.$ac_ext <<_ACEOF
30320
 
/* end confdefs.h.  */
30321
 
$ac_includes_default
30322
 
@%:@include <sys/mac.h>
30323
 
_ACEOF
30324
 
rm -f conftest.$ac_objext
30325
 
if { (ac_try="$ac_compile"
30326
 
case "(($ac_try" in
30327
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30328
 
  *) ac_try_echo=$ac_try;;
30329
 
esac
30330
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30331
 
  (eval "$ac_compile") 2>conftest.er1
30332
 
  ac_status=$?
30333
 
  grep -v '^ *+' conftest.er1 >conftest.err
30334
 
  rm -f conftest.er1
30335
 
  cat conftest.err >&5
30336
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
30337
 
  (exit $ac_status); } && {
30338
 
         test -z "$ac_c_werror_flag" ||
30339
 
         test ! -s conftest.err
30340
 
       } && test -s conftest.$ac_objext; then
30341
 
  ac_header_compiler=yes
30342
 
else
30343
 
  echo "$as_me: failed program was:" >&5
30344
 
sed 's/^/| /' conftest.$ac_ext >&5
30345
 
 
30346
 
        ac_header_compiler=no
30347
 
fi
30348
 
 
30349
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30350
 
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
30351
 
echo "${ECHO_T}$ac_header_compiler" >&6; }
30352
 
 
30353
 
# Is the header present?
30354
 
{ echo "$as_me:$LINENO: checking sys/mac.h presence" >&5
30355
 
echo $ECHO_N "checking sys/mac.h presence... $ECHO_C" >&6; }
30356
 
cat >conftest.$ac_ext <<_ACEOF
30357
 
/* confdefs.h.  */
30358
 
_ACEOF
30359
 
cat confdefs.h >>conftest.$ac_ext
30360
 
cat >>conftest.$ac_ext <<_ACEOF
30361
 
/* end confdefs.h.  */
30362
 
@%:@include <sys/mac.h>
30363
 
_ACEOF
30364
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
30365
 
case "(($ac_try" in
30366
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30367
 
  *) ac_try_echo=$ac_try;;
30368
 
esac
30369
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30370
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
30371
 
  ac_status=$?
30372
 
  grep -v '^ *+' conftest.er1 >conftest.err
30373
 
  rm -f conftest.er1
30374
 
  cat conftest.err >&5
30375
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
30376
 
  (exit $ac_status); } >/dev/null && {
30377
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
30378
 
         test ! -s conftest.err
30379
 
       }; then
30380
 
  ac_header_preproc=yes
30381
 
else
30382
 
  echo "$as_me: failed program was:" >&5
30383
 
sed 's/^/| /' conftest.$ac_ext >&5
30384
 
 
30385
 
  ac_header_preproc=no
30386
 
fi
30387
 
 
30388
 
rm -f conftest.err conftest.$ac_ext
30389
 
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
30390
 
echo "${ECHO_T}$ac_header_preproc" >&6; }
30391
 
 
30392
 
# So?  What about this header?
30393
 
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
30394
 
  yes:no: )
30395
 
    { echo "$as_me:$LINENO: WARNING: sys/mac.h: accepted by the compiler, rejected by the preprocessor!" >&5
30396
 
echo "$as_me: WARNING: sys/mac.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
30397
 
    { echo "$as_me:$LINENO: WARNING: sys/mac.h: proceeding with the compiler's result" >&5
30398
 
echo "$as_me: WARNING: sys/mac.h: proceeding with the compiler's result" >&2;}
30399
 
    ac_header_preproc=yes
30400
 
    ;;
30401
 
  no:yes:* )
30402
 
    { echo "$as_me:$LINENO: WARNING: sys/mac.h: present but cannot be compiled" >&5
30403
 
echo "$as_me: WARNING: sys/mac.h: present but cannot be compiled" >&2;}
30404
 
    { echo "$as_me:$LINENO: WARNING: sys/mac.h:     check for missing prerequisite headers?" >&5
30405
 
echo "$as_me: WARNING: sys/mac.h:     check for missing prerequisite headers?" >&2;}
30406
 
    { echo "$as_me:$LINENO: WARNING: sys/mac.h: see the Autoconf documentation" >&5
30407
 
echo "$as_me: WARNING: sys/mac.h: see the Autoconf documentation" >&2;}
30408
 
    { echo "$as_me:$LINENO: WARNING: sys/mac.h:     section \"Present But Cannot Be Compiled\"" >&5
30409
 
echo "$as_me: WARNING: sys/mac.h:     section \"Present But Cannot Be Compiled\"" >&2;}
30410
 
    { echo "$as_me:$LINENO: WARNING: sys/mac.h: proceeding with the preprocessor's result" >&5
30411
 
echo "$as_me: WARNING: sys/mac.h: proceeding with the preprocessor's result" >&2;}
30412
 
    { echo "$as_me:$LINENO: WARNING: sys/mac.h: in the future, the compiler will take precedence" >&5
30413
 
echo "$as_me: WARNING: sys/mac.h: in the future, the compiler will take precedence" >&2;}
30414
 
    ( cat <<\_ASBOX
30415
 
@%:@@%:@ -------------------------------------------------------- @%:@@%:@
30416
 
@%:@@%:@ Report this to open-vm-tools-devel@lists.sourceforge.net @%:@@%:@
30417
 
@%:@@%:@ -------------------------------------------------------- @%:@@%:@
30418
 
_ASBOX
30419
 
     ) | sed "s/^/$as_me: WARNING:     /" >&2
30420
 
    ;;
30421
 
esac
30422
 
{ echo "$as_me:$LINENO: checking for sys/mac.h" >&5
30423
 
echo $ECHO_N "checking for sys/mac.h... $ECHO_C" >&6; }
30424
 
if test "${ac_cv_header_sys_mac_h+set}" = set; then
30425
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
30426
 
else
30427
 
  ac_cv_header_sys_mac_h=$ac_header_preproc
30428
 
fi
30429
 
{ echo "$as_me:$LINENO: result: $ac_cv_header_sys_mac_h" >&5
30430
 
echo "${ECHO_T}$ac_cv_header_sys_mac_h" >&6; }
30431
 
 
30432
 
fi
30433
 
if test $ac_cv_header_sys_mac_h = yes; then
 
22592
      ac_fn_c_check_header_mongrel "$LINENO" "sys/mac.h" "ac_cv_header_sys_mac_h" "$ac_includes_default"
 
22593
if test "x$ac_cv_header_sys_mac_h" = x""yes; then :
30434
22594
  MODULES="$MODULES vmxnet3"
30435
22595
else
30436
 
  { echo "$as_me:$LINENO: WARNING: GLDv3 (sys/mac.h) is not installed, vmxnet3 will not be compiled." >&5
30437
 
echo "$as_me: WARNING: GLDv3 (sys/mac.h) is not installed, vmxnet3 will not be compiled." >&2;}
 
22596
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GLDv3 (sys/mac.h) is not installed, vmxnet3 will not be compiled." >&5
 
22597
$as_echo "$as_me: WARNING: GLDv3 (sys/mac.h) is not installed, vmxnet3 will not be compiled." >&2;}
30438
22598
fi
30439
22599
 
30440
22600
 
30603
22763
   # XXX: For consistency, change this to ENABLE_MULTIMON. This will require
30604
22764
   # some additional code cleanup.
30605
22765
   
30606
 
cat >>confdefs.h <<\_ACEOF
30607
 
@%:@define NO_MULTIMON 1
30608
 
_ACEOF
 
22766
$as_echo "@%:@define NO_MULTIMON 1" >>confdefs.h
30609
22767
 
30610
22768
fi
30611
22769
 
30698
22856
###
30699
22857
### Create the Makefiles
30700
22858
###
30701
 
ac_config_files="$ac_config_files Makefile lib/Makefile lib/appUtil/Makefile lib/auth/Makefile lib/backdoor/Makefile lib/conf/Makefile lib/dict/Makefile lib/dnd/Makefile lib/dndGuest/Makefile lib/dynxdr/Makefile lib/err/Makefile lib/eventManager/Makefile lib/file/Makefile lib/foundryMsg/Makefile lib/ghIntegration/Makefile lib/ghIntegrationStub/Makefile lib/guestApp/Makefile lib/guestInfo/Makefile lib/guestRpc/Makefile lib/hgfs/Makefile lib/hgfsBd/Makefile lib/hgfsHelper/Makefile lib/hgfsServer/Makefile lib/hgfsServerManagerGuest/Makefile lib/hgfsServerPolicyGuest/Makefile lib/image/Makefile lib/impersonate/Makefile lib/message/Makefile lib/misc/Makefile lib/netUtil/Makefile lib/panic/Makefile lib/panicDefault/Makefile lib/printer/Makefile lib/procMgr/Makefile lib/raster/Makefile lib/region/Makefile lib/resolution/Makefile lib/rpcChannel/Makefile lib/rpcIn/Makefile lib/rpcOut/Makefile lib/rpcVmx/Makefile lib/SLPv2Parser/Makefile lib/slashProc/Makefile lib/string/Makefile lib/stubs/Makefile lib/syncDriver/Makefile lib/system/Makefile lib/unicode/Makefile lib/unity/Makefile lib/unityStub/Makefile lib/unityWindowTracker/Makefile lib/user/Makefile lib/vixTools/Makefile lib/vmCheck/Makefile lib/vmSignal/Makefile lib/wiper/Makefile services/Makefile services/vmtoolsd/Makefile services/plugins/Makefile services/plugins/guestInfo/Makefile services/plugins/hgfsServer/Makefile services/plugins/powerOps/Makefile services/plugins/resolutionSet/Makefile services/plugins/timeSync/Makefile services/plugins/vix/Makefile services/plugins/vixUser/Makefile services/plugins/vmbackup/Makefile vmware-user/Makefile vmware-user-suid-wrapper/Makefile toolbox/Makefile hgfsclient/Makefile hgfsmounter/Makefile checkvm/Makefile rpctool/Makefile libguestlib/Makefile libguestlib/vmguestlib.pc libvmtools/Makefile xferlogs/Makefile modules/Makefile vmblock-fuse/Makefile tests/Makefile tests/vmrpcdbg/Makefile tests/testDebug/Makefile tests/testPlugin/Makefile tests/testVmblock/Makefile docs/Makefile docs/api/Makefile scripts/Makefile"
 
22859
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/lock/Makefile lib/message/Makefile lib/misc/Makefile lib/netUtil/Makefile lib/panic/Makefile lib/panicDefault/Makefile lib/printer/Makefile lib/procMgr/Makefile lib/raster/Makefile lib/region/Makefile lib/resolution/Makefile lib/rpcChannel/Makefile lib/rpcIn/Makefile lib/rpcOut/Makefile lib/rpcVmx/Makefile lib/SLPv2Parser/Makefile lib/slashProc/Makefile lib/string/Makefile lib/stubs/Makefile lib/syncDriver/Makefile lib/system/Makefile lib/unicode/Makefile lib/unity/Makefile lib/unityStub/Makefile lib/unityWindowTracker/Makefile lib/user/Makefile lib/vixTools/Makefile lib/vmCheck/Makefile lib/vmSignal/Makefile lib/wiper/Makefile services/Makefile services/vmtoolsd/Makefile services/plugins/Makefile services/plugins/guestInfo/Makefile services/plugins/hgfsServer/Makefile services/plugins/powerOps/Makefile services/plugins/resolutionSet/Makefile services/plugins/timeSync/Makefile services/plugins/vix/Makefile services/plugins/vixUser/Makefile services/plugins/vmbackup/Makefile vmware-user/Makefile vmware-user-suid-wrapper/Makefile toolbox/Makefile hgfsclient/Makefile hgfsmounter/Makefile checkvm/Makefile rpctool/Makefile libguestlib/Makefile libguestlib/vmguestlib.pc libvmtools/Makefile xferlogs/Makefile modules/Makefile vmblock-fuse/Makefile tests/Makefile tests/vmrpcdbg/Makefile tests/testDebug/Makefile tests/testPlugin/Makefile tests/testVmblock/Makefile docs/Makefile docs/api/Makefile scripts/Makefile"
30702
22860
 
30703
22861
 
30704
22862
###
30731
22889
    case $ac_val in #(
30732
22890
    *${as_nl}*)
30733
22891
      case $ac_var in #(
30734
 
      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
30735
 
echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
 
22892
      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
 
22893
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
30736
22894
      esac
30737
22895
      case $ac_var in #(
30738
22896
      _ | IFS | as_nl) ;; #(
30739
 
      *) $as_unset $ac_var ;;
 
22897
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
 
22898
      *) { eval $ac_var=; unset $ac_var;} ;;
30740
22899
      esac ;;
30741
22900
    esac
30742
22901
  done
30744
22903
  (set) 2>&1 |
30745
22904
    case $as_nl`(ac_space=' '; set) 2>&1` in #(
30746
22905
    *${as_nl}ac_space=\ *)
30747
 
      # `set' does not quote correctly, so add quotes (double-quote
30748
 
      # substitution turns \\\\ into \\, and sed turns \\ into \).
 
22906
      # `set' does not quote correctly, so add quotes: double-quote
 
22907
      # substitution turns \\\\ into \\, and sed turns \\ into \.
30749
22908
      sed -n \
30750
22909
        "s/'/'\\\\''/g;
30751
22910
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
30768
22927
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
30769
22928
  if test -w "$cache_file"; then
30770
22929
    test "x$cache_file" != "x/dev/null" &&
30771
 
      { echo "$as_me:$LINENO: updating cache $cache_file" >&5
30772
 
echo "$as_me: updating cache $cache_file" >&6;}
 
22930
      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
 
22931
$as_echo "$as_me: updating cache $cache_file" >&6;}
30773
22932
    cat confcache >$cache_file
30774
22933
  else
30775
 
    { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
30776
 
echo "$as_me: not updating unwritable cache $cache_file" >&6;}
 
22934
    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
 
22935
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
30777
22936
  fi
30778
22937
fi
30779
22938
rm -f confcache
30790
22949
# take arguments), then branch to the quote section.  Otherwise,
30791
22950
# look for a macro that doesn't take arguments.
30792
22951
ac_script='
 
22952
:mline
 
22953
/\\$/{
 
22954
 N
 
22955
 s,\\\n,,
 
22956
 b mline
 
22957
}
30793
22958
t clear
30794
22959
:clear
30795
22960
s/^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*([^)]*)\)[   ]*\(.*\)/-D\1=\2/g
30819
22984
for ac_i in : $LIB@&t@OBJS; do test "x$ac_i" = x: && continue
30820
22985
  # 1. Remove the extension, and $U if already installed.
30821
22986
  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
30822
 
  ac_i=`echo "$ac_i" | sed "$ac_script"`
 
22987
  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
30823
22988
  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
30824
22989
  #    will be set to the directory where LIBOBJS objects are built.
30825
 
  ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
30826
 
  ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
 
22990
  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
 
22991
  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
30827
22992
done
30828
22993
LIB@&t@OBJS=$ac_libobjs
30829
22994
 
30830
22995
LTLIBOBJS=$ac_ltlibobjs
30831
22996
 
30832
22997
 
 
22998
 if test -n "$EXEEXT"; then
 
22999
  am__EXEEXT_TRUE=
 
23000
  am__EXEEXT_FALSE='#'
 
23001
else
 
23002
  am__EXEEXT_TRUE='#'
 
23003
  am__EXEEXT_FALSE=
 
23004
fi
 
23005
 
30833
23006
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
30834
 
  { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
30835
 
Usually this means the macro was only invoked conditionally." >&5
30836
 
echo "$as_me: error: conditional \"AMDEP\" was never defined.
30837
 
Usually this means the macro was only invoked conditionally." >&2;}
30838
 
   { (exit 1); exit 1; }; }
30839
 
fi
30840
 
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
30841
 
  { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
30842
 
Usually this means the macro was only invoked conditionally." >&5
30843
 
echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
30844
 
Usually this means the macro was only invoked conditionally." >&2;}
30845
 
   { (exit 1); exit 1; }; }
30846
 
fi
30847
 
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
30848
 
  { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
30849
 
Usually this means the macro was only invoked conditionally." >&5
30850
 
echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
30851
 
Usually this means the macro was only invoked conditionally." >&2;}
30852
 
   { (exit 1); exit 1; }; }
30853
 
fi
30854
 
if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
30855
 
  { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
30856
 
Usually this means the macro was only invoked conditionally." >&5
30857
 
echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
30858
 
Usually this means the macro was only invoked conditionally." >&2;}
30859
 
   { (exit 1); exit 1; }; }
30860
 
fi
30861
 
if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
30862
 
  { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
30863
 
Usually this means the macro was only invoked conditionally." >&5
30864
 
echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
30865
 
Usually this means the macro was only invoked conditionally." >&2;}
30866
 
   { (exit 1); exit 1; }; }
 
23007
  as_fn_error "conditional \"AMDEP\" was never defined.
 
23008
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
23009
fi
 
23010
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
 
23011
  as_fn_error "conditional \"am__fastdepCC\" was never defined.
 
23012
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
23013
fi
 
23014
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
 
23015
  as_fn_error "conditional \"am__fastdepCC\" was never defined.
 
23016
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
23017
fi
 
23018
if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
 
23019
  as_fn_error "conditional \"am__fastdepCXX\" was never defined.
 
23020
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
23021
fi
 
23022
if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
 
23023
  as_fn_error "conditional \"am__fastdepCXX\" was never defined.
 
23024
Usually this means the macro was only invoked conditionally." "$LINENO" 5
30867
23025
fi
30868
23026
if test -z "${BUILD_HGFSMOUNTER_TRUE}" && test -z "${BUILD_HGFSMOUNTER_FALSE}"; then
30869
 
  { { echo "$as_me:$LINENO: error: conditional \"BUILD_HGFSMOUNTER\" was never defined.
30870
 
Usually this means the macro was only invoked conditionally." >&5
30871
 
echo "$as_me: error: conditional \"BUILD_HGFSMOUNTER\" was never defined.
30872
 
Usually this means the macro was only invoked conditionally." >&2;}
30873
 
   { (exit 1); exit 1; }; }
 
23027
  as_fn_error "conditional \"BUILD_HGFSMOUNTER\" was never defined.
 
23028
Usually this means the macro was only invoked conditionally." "$LINENO" 5
30874
23029
fi
30875
23030
if test -z "${LINUX_TRUE}" && test -z "${LINUX_FALSE}"; then
30876
 
  { { echo "$as_me:$LINENO: error: conditional \"LINUX\" was never defined.
30877
 
Usually this means the macro was only invoked conditionally." >&5
30878
 
echo "$as_me: error: conditional \"LINUX\" was never defined.
30879
 
Usually this means the macro was only invoked conditionally." >&2;}
30880
 
   { (exit 1); exit 1; }; }
 
23031
  as_fn_error "conditional \"LINUX\" was never defined.
 
23032
Usually this means the macro was only invoked conditionally." "$LINENO" 5
30881
23033
fi
30882
23034
if test -z "${SOLARIS_TRUE}" && test -z "${SOLARIS_FALSE}"; then
30883
 
  { { echo "$as_me:$LINENO: error: conditional \"SOLARIS\" was never defined.
30884
 
Usually this means the macro was only invoked conditionally." >&5
30885
 
echo "$as_me: error: conditional \"SOLARIS\" was never defined.
30886
 
Usually this means the macro was only invoked conditionally." >&2;}
30887
 
   { (exit 1); exit 1; }; }
 
23035
  as_fn_error "conditional \"SOLARIS\" was never defined.
 
23036
Usually this means the macro was only invoked conditionally." "$LINENO" 5
30888
23037
fi
30889
23038
if test -z "${FREEBSD_TRUE}" && test -z "${FREEBSD_FALSE}"; then
30890
 
  { { echo "$as_me:$LINENO: error: conditional \"FREEBSD\" was never defined.
30891
 
Usually this means the macro was only invoked conditionally." >&5
30892
 
echo "$as_me: error: conditional \"FREEBSD\" was never defined.
30893
 
Usually this means the macro was only invoked conditionally." >&2;}
30894
 
   { (exit 1); exit 1; }; }
 
23039
  as_fn_error "conditional \"FREEBSD\" was never defined.
 
23040
Usually this means the macro was only invoked conditionally." "$LINENO" 5
30895
23041
fi
30896
23042
if test -z "${FREEBSD_CUSTOM_SYSDIR_TRUE}" && test -z "${FREEBSD_CUSTOM_SYSDIR_FALSE}"; then
30897
 
  { { echo "$as_me:$LINENO: error: conditional \"FREEBSD_CUSTOM_SYSDIR\" was never defined.
30898
 
Usually this means the macro was only invoked conditionally." >&5
30899
 
echo "$as_me: error: conditional \"FREEBSD_CUSTOM_SYSDIR\" was never defined.
30900
 
Usually this means the macro was only invoked conditionally." >&2;}
30901
 
   { (exit 1); exit 1; }; }
 
23043
  as_fn_error "conditional \"FREEBSD_CUSTOM_SYSDIR\" was never defined.
 
23044
Usually this means the macro was only invoked conditionally." "$LINENO" 5
30902
23045
fi
30903
23046
if test -z "${THIRTY_TWO_BIT_USERSPACE_TRUE}" && test -z "${THIRTY_TWO_BIT_USERSPACE_FALSE}"; then
30904
 
  { { echo "$as_me:$LINENO: error: conditional \"THIRTY_TWO_BIT_USERSPACE\" was never defined.
30905
 
Usually this means the macro was only invoked conditionally." >&5
30906
 
echo "$as_me: error: conditional \"THIRTY_TWO_BIT_USERSPACE\" was never defined.
30907
 
Usually this means the macro was only invoked conditionally." >&2;}
30908
 
   { (exit 1); exit 1; }; }
 
23047
  as_fn_error "conditional \"THIRTY_TWO_BIT_USERSPACE\" was never defined.
 
23048
Usually this means the macro was only invoked conditionally." "$LINENO" 5
30909
23049
fi
30910
23050
if test -z "${HAVE_X11_TRUE}" && test -z "${HAVE_X11_FALSE}"; then
30911
 
  { { echo "$as_me:$LINENO: error: conditional \"HAVE_X11\" was never defined.
30912
 
Usually this means the macro was only invoked conditionally." >&5
30913
 
echo "$as_me: error: conditional \"HAVE_X11\" was never defined.
30914
 
Usually this means the macro was only invoked conditionally." >&2;}
30915
 
   { (exit 1); exit 1; }; }
 
23051
  as_fn_error "conditional \"HAVE_X11\" was never defined.
 
23052
Usually this means the macro was only invoked conditionally." "$LINENO" 5
30916
23053
fi
30917
23054
if test -z "${HAVE_ICU_TRUE}" && test -z "${HAVE_ICU_FALSE}"; then
30918
 
  { { echo "$as_me:$LINENO: error: conditional \"HAVE_ICU\" was never defined.
30919
 
Usually this means the macro was only invoked conditionally." >&5
30920
 
echo "$as_me: error: conditional \"HAVE_ICU\" was never defined.
30921
 
Usually this means the macro was only invoked conditionally." >&2;}
30922
 
   { (exit 1); exit 1; }; }
 
23055
  as_fn_error "conditional \"HAVE_ICU\" was never defined.
 
23056
Usually this means the macro was only invoked conditionally." "$LINENO" 5
30923
23057
fi
30924
23058
if test -z "${WITH_KERNEL_MODULES_TRUE}" && test -z "${WITH_KERNEL_MODULES_FALSE}"; then
30925
 
  { { echo "$as_me:$LINENO: error: conditional \"WITH_KERNEL_MODULES\" was never defined.
30926
 
Usually this means the macro was only invoked conditionally." >&5
30927
 
echo "$as_me: error: conditional \"WITH_KERNEL_MODULES\" was never defined.
30928
 
Usually this means the macro was only invoked conditionally." >&2;}
30929
 
   { (exit 1); exit 1; }; }
 
23059
  as_fn_error "conditional \"WITH_KERNEL_MODULES\" was never defined.
 
23060
Usually this means the macro was only invoked conditionally." "$LINENO" 5
30930
23061
fi
30931
23062
if test -z "${ENABLE_UNITY_TRUE}" && test -z "${ENABLE_UNITY_FALSE}"; then
30932
 
  { { echo "$as_me:$LINENO: error: conditional \"ENABLE_UNITY\" was never defined.
30933
 
Usually this means the macro was only invoked conditionally." >&5
30934
 
echo "$as_me: error: conditional \"ENABLE_UNITY\" was never defined.
30935
 
Usually this means the macro was only invoked conditionally." >&2;}
30936
 
   { (exit 1); exit 1; }; }
 
23063
  as_fn_error "conditional \"ENABLE_UNITY\" was never defined.
 
23064
Usually this means the macro was only invoked conditionally." "$LINENO" 5
30937
23065
fi
30938
23066
if test -z "${ENABLE_TESTS_TRUE}" && test -z "${ENABLE_TESTS_FALSE}"; then
30939
 
  { { echo "$as_me:$LINENO: error: conditional \"ENABLE_TESTS\" was never defined.
30940
 
Usually this means the macro was only invoked conditionally." >&5
30941
 
echo "$as_me: error: conditional \"ENABLE_TESTS\" was never defined.
30942
 
Usually this means the macro was only invoked conditionally." >&2;}
30943
 
   { (exit 1); exit 1; }; }
 
23067
  as_fn_error "conditional \"ENABLE_TESTS\" was never defined.
 
23068
Usually this means the macro was only invoked conditionally." "$LINENO" 5
30944
23069
fi
30945
23070
if test -z "${WITH_ROOT_PRIVILEGES_TRUE}" && test -z "${WITH_ROOT_PRIVILEGES_FALSE}"; then
30946
 
  { { echo "$as_me:$LINENO: error: conditional \"WITH_ROOT_PRIVILEGES\" was never defined.
30947
 
Usually this means the macro was only invoked conditionally." >&5
30948
 
echo "$as_me: error: conditional \"WITH_ROOT_PRIVILEGES\" was never defined.
30949
 
Usually this means the macro was only invoked conditionally." >&2;}
30950
 
   { (exit 1); exit 1; }; }
 
23071
  as_fn_error "conditional \"WITH_ROOT_PRIVILEGES\" was never defined.
 
23072
Usually this means the macro was only invoked conditionally." "$LINENO" 5
30951
23073
fi
30952
23074
if test -z "${HAVE_DOXYGEN_TRUE}" && test -z "${HAVE_DOXYGEN_FALSE}"; then
30953
 
  { { echo "$as_me:$LINENO: error: conditional \"HAVE_DOXYGEN\" was never defined.
30954
 
Usually this means the macro was only invoked conditionally." >&5
30955
 
echo "$as_me: error: conditional \"HAVE_DOXYGEN\" was never defined.
30956
 
Usually this means the macro was only invoked conditionally." >&2;}
30957
 
   { (exit 1); exit 1; }; }
 
23075
  as_fn_error "conditional \"HAVE_DOXYGEN\" was never defined.
 
23076
Usually this means the macro was only invoked conditionally." "$LINENO" 5
30958
23077
fi
30959
23078
if test -z "${HAVE_FUSE_TRUE}" && test -z "${HAVE_FUSE_FALSE}"; then
30960
 
  { { echo "$as_me:$LINENO: error: conditional \"HAVE_FUSE\" was never defined.
30961
 
Usually this means the macro was only invoked conditionally." >&5
30962
 
echo "$as_me: error: conditional \"HAVE_FUSE\" was never defined.
30963
 
Usually this means the macro was only invoked conditionally." >&2;}
30964
 
   { (exit 1); exit 1; }; }
 
23079
  as_fn_error "conditional \"HAVE_FUSE\" was never defined.
 
23080
Usually this means the macro was only invoked conditionally." "$LINENO" 5
30965
23081
fi
30966
23082
if test -z "${HAVE_GNU_LD_TRUE}" && test -z "${HAVE_GNU_LD_FALSE}"; then
30967
 
  { { echo "$as_me:$LINENO: error: conditional \"HAVE_GNU_LD\" was never defined.
30968
 
Usually this means the macro was only invoked conditionally." >&5
30969
 
echo "$as_me: error: conditional \"HAVE_GNU_LD\" was never defined.
30970
 
Usually this means the macro was only invoked conditionally." >&2;}
30971
 
   { (exit 1); exit 1; }; }
 
23083
  as_fn_error "conditional \"HAVE_GNU_LD\" was never defined.
 
23084
Usually this means the macro was only invoked conditionally." "$LINENO" 5
30972
23085
fi
30973
23086
if test -z "${HAVE_GTKMM_TRUE}" && test -z "${HAVE_GTKMM_FALSE}"; then
30974
 
  { { echo "$as_me:$LINENO: error: conditional \"HAVE_GTKMM\" was never defined.
30975
 
Usually this means the macro was only invoked conditionally." >&5
30976
 
echo "$as_me: error: conditional \"HAVE_GTKMM\" was never defined.
30977
 
Usually this means the macro was only invoked conditionally." >&2;}
30978
 
   { (exit 1); exit 1; }; }
 
23087
  as_fn_error "conditional \"HAVE_GTKMM\" was never defined.
 
23088
Usually this means the macro was only invoked conditionally." "$LINENO" 5
30979
23089
fi
30980
23090
if test -z "${HAVE_PAM_TRUE}" && test -z "${HAVE_PAM_FALSE}"; then
30981
 
  { { echo "$as_me:$LINENO: error: conditional \"HAVE_PAM\" was never defined.
30982
 
Usually this means the macro was only invoked conditionally." >&5
30983
 
echo "$as_me: error: conditional \"HAVE_PAM\" was never defined.
30984
 
Usually this means the macro was only invoked conditionally." >&2;}
30985
 
   { (exit 1); exit 1; }; }
 
23091
  as_fn_error "conditional \"HAVE_PAM\" was never defined.
 
23092
Usually this means the macro was only invoked conditionally." "$LINENO" 5
30986
23093
fi
30987
23094
if test -z "${USE_SLASH_PROC_TRUE}" && test -z "${USE_SLASH_PROC_FALSE}"; then
30988
 
  { { echo "$as_me:$LINENO: error: conditional \"USE_SLASH_PROC\" was never defined.
30989
 
Usually this means the macro was only invoked conditionally." >&5
30990
 
echo "$as_me: error: conditional \"USE_SLASH_PROC\" was never defined.
30991
 
Usually this means the macro was only invoked conditionally." >&2;}
30992
 
   { (exit 1); exit 1; }; }
 
23095
  as_fn_error "conditional \"USE_SLASH_PROC\" was never defined.
 
23096
Usually this means the macro was only invoked conditionally." "$LINENO" 5
30993
23097
fi
30994
23098
 
30995
23099
: ${CONFIG_STATUS=./config.status}
 
23100
ac_write_fail=0
30996
23101
ac_clean_files_save=$ac_clean_files
30997
23102
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
30998
 
{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
30999
 
echo "$as_me: creating $CONFIG_STATUS" >&6;}
31000
 
cat >$CONFIG_STATUS <<_ACEOF
 
23103
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
 
23104
$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
 
23105
as_write_fail=0
 
23106
cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
31001
23107
#! $SHELL
31002
23108
# Generated by $as_me.
31003
23109
# Run this file to recreate the current configuration.
31007
23113
debug=false
31008
23114
ac_cs_recheck=false
31009
23115
ac_cs_silent=false
 
23116
 
31010
23117
SHELL=\${CONFIG_SHELL-$SHELL}
31011
 
_ACEOF
31012
 
 
31013
 
cat >>$CONFIG_STATUS <<\_ACEOF
31014
 
## --------------------- ##
31015
 
## M4sh Initialization.  ##
31016
 
## --------------------- ##
 
23118
export SHELL
 
23119
_ASEOF
 
23120
cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
 
23121
## -------------------- ##
 
23122
## M4sh Initialization. ##
 
23123
## -------------------- ##
31017
23124
 
31018
23125
# Be more Bourne compatible
31019
23126
DUALCASE=1; export DUALCASE # for MKS sh
31020
 
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
 
23127
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
31021
23128
  emulate sh
31022
23129
  NULLCMD=:
31023
 
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
 
23130
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
31024
23131
  # is contrary to our usage.  Disable this feature.
31025
23132
  alias -g '${1+"$@"}'='"$@"'
31026
23133
  setopt NO_GLOB_SUBST
31027
23134
else
31028
 
  case `(set -o) 2>/dev/null` in
31029
 
  *posix*) set -o posix ;;
 
23135
  case `(set -o) 2>/dev/null` in @%:@(
 
23136
  *posix*) :
 
23137
    set -o posix ;; @%:@(
 
23138
  *) :
 
23139
     ;;
31030
23140
esac
31031
 
 
31032
 
fi
31033
 
 
31034
 
 
31035
 
 
31036
 
 
31037
 
# PATH needs CR
31038
 
# Avoid depending upon Character Ranges.
31039
 
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
31040
 
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
31041
 
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
31042
 
as_cr_digits='0123456789'
31043
 
as_cr_alnum=$as_cr_Letters$as_cr_digits
 
23141
fi
 
23142
 
 
23143
 
 
23144
as_nl='
 
23145
'
 
23146
export as_nl
 
23147
# Printing a long string crashes Solaris 7 /usr/bin/printf.
 
23148
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
 
23149
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
 
23150
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
 
23151
# Prefer a ksh shell builtin over an external printf program on Solaris,
 
23152
# but without wasting forks for bash or zsh.
 
23153
if test -z "$BASH_VERSION$ZSH_VERSION" \
 
23154
    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
 
23155
  as_echo='print -r --'
 
23156
  as_echo_n='print -rn --'
 
23157
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
 
23158
  as_echo='printf %s\n'
 
23159
  as_echo_n='printf %s'
 
23160
else
 
23161
  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
 
23162
    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
 
23163
    as_echo_n='/usr/ucb/echo -n'
 
23164
  else
 
23165
    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
 
23166
    as_echo_n_body='eval
 
23167
      arg=$1;
 
23168
      case $arg in @%:@(
 
23169
      *"$as_nl"*)
 
23170
        expr "X$arg" : "X\\(.*\\)$as_nl";
 
23171
        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
 
23172
      esac;
 
23173
      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
 
23174
    '
 
23175
    export as_echo_n_body
 
23176
    as_echo_n='sh -c $as_echo_n_body as_echo'
 
23177
  fi
 
23178
  export as_echo_body
 
23179
  as_echo='sh -c $as_echo_body as_echo'
 
23180
fi
31044
23181
 
31045
23182
# The user is always right.
31046
23183
if test "${PATH_SEPARATOR+set}" != set; then
31047
 
  echo "#! /bin/sh" >conf$$.sh
31048
 
  echo  "exit 0"   >>conf$$.sh
31049
 
  chmod +x conf$$.sh
31050
 
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
31051
 
    PATH_SEPARATOR=';'
31052
 
  else
31053
 
    PATH_SEPARATOR=:
31054
 
  fi
31055
 
  rm -f conf$$.sh
31056
 
fi
31057
 
 
31058
 
# Support unset when possible.
31059
 
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
31060
 
  as_unset=unset
31061
 
else
31062
 
  as_unset=false
 
23184
  PATH_SEPARATOR=:
 
23185
  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
 
23186
    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
 
23187
      PATH_SEPARATOR=';'
 
23188
  }
31063
23189
fi
31064
23190
 
31065
23191
 
31068
23194
# there to prevent editors from complaining about space-tab.
31069
23195
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
31070
23196
# splitting by setting IFS to empty value.)
31071
 
as_nl='
31072
 
'
31073
23197
IFS=" ""        $as_nl"
31074
23198
 
31075
23199
# Find who we are.  Look in the path if we contain no directory separator.
31076
 
case $0 in
 
23200
case $0 in @%:@((
31077
23201
  *[\\/]* ) as_myself=$0 ;;
31078
23202
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31079
23203
for as_dir in $PATH
31080
23204
do
31081
23205
  IFS=$as_save_IFS
31082
23206
  test -z "$as_dir" && as_dir=.
31083
 
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
31084
 
done
 
23207
    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
 
23208
  done
31085
23209
IFS=$as_save_IFS
31086
23210
 
31087
23211
     ;;
31092
23216
  as_myself=$0
31093
23217
fi
31094
23218
if test ! -f "$as_myself"; then
31095
 
  echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
31096
 
  { (exit 1); exit 1; }
 
23219
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
 
23220
  exit 1
31097
23221
fi
31098
23222
 
31099
 
# Work around bugs in pre-3.0 UWIN ksh.
31100
 
for as_var in ENV MAIL MAILPATH
31101
 
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
 
23223
# Unset variables that we do not need and which cause bugs (e.g. in
 
23224
# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
 
23225
# suppresses any "Segmentation fault" message there.  '((' could
 
23226
# trigger a bug in pdksh 5.2.14.
 
23227
for as_var in BASH_ENV ENV MAIL MAILPATH
 
23228
do eval test x\${$as_var+set} = xset \
 
23229
  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
31102
23230
done
31103
23231
PS1='$ '
31104
23232
PS2='> '
31105
23233
PS4='+ '
31106
23234
 
31107
23235
# NLS nuisances.
31108
 
for as_var in \
31109
 
  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
31110
 
  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
31111
 
  LC_TELEPHONE LC_TIME
31112
 
do
31113
 
  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
31114
 
    eval $as_var=C; export $as_var
31115
 
  else
31116
 
    ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
 
23236
LC_ALL=C
 
23237
export LC_ALL
 
23238
LANGUAGE=C
 
23239
export LANGUAGE
 
23240
 
 
23241
# CDPATH.
 
23242
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
 
23243
 
 
23244
 
 
23245
@%:@ as_fn_error ERROR [LINENO LOG_FD]
 
23246
@%:@ ---------------------------------
 
23247
@%:@ Output "`basename @S|@0`: error: ERROR" to stderr. If LINENO and LOG_FD are
 
23248
@%:@ provided, also output the error to LOG_FD, referencing LINENO. Then exit the
 
23249
@%:@ script with status @S|@?, using 1 if that was 0.
 
23250
as_fn_error ()
 
23251
{
 
23252
  as_status=$?; test $as_status -eq 0 && as_status=1
 
23253
  if test "$3"; then
 
23254
    as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
23255
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
31117
23256
  fi
31118
 
done
31119
 
 
31120
 
# Required to use basename.
 
23257
  $as_echo "$as_me: error: $1" >&2
 
23258
  as_fn_exit $as_status
 
23259
} @%:@ as_fn_error
 
23260
 
 
23261
 
 
23262
@%:@ as_fn_set_status STATUS
 
23263
@%:@ -----------------------
 
23264
@%:@ Set @S|@? to STATUS, without forking.
 
23265
as_fn_set_status ()
 
23266
{
 
23267
  return $1
 
23268
} @%:@ as_fn_set_status
 
23269
 
 
23270
@%:@ as_fn_exit STATUS
 
23271
@%:@ -----------------
 
23272
@%:@ Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
 
23273
as_fn_exit ()
 
23274
{
 
23275
  set +e
 
23276
  as_fn_set_status $1
 
23277
  exit $1
 
23278
} @%:@ as_fn_exit
 
23279
 
 
23280
@%:@ as_fn_unset VAR
 
23281
@%:@ ---------------
 
23282
@%:@ Portably unset VAR.
 
23283
as_fn_unset ()
 
23284
{
 
23285
  { eval $1=; unset $1;}
 
23286
}
 
23287
as_unset=as_fn_unset
 
23288
@%:@ as_fn_append VAR VALUE
 
23289
@%:@ ----------------------
 
23290
@%:@ Append the text in VALUE to the end of the definition contained in VAR. Take
 
23291
@%:@ advantage of any shell optimizations that allow amortized linear growth over
 
23292
@%:@ repeated appends, instead of the typical quadratic growth present in naive
 
23293
@%:@ implementations.
 
23294
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
 
23295
  eval 'as_fn_append ()
 
23296
  {
 
23297
    eval $1+=\$2
 
23298
  }'
 
23299
else
 
23300
  as_fn_append ()
 
23301
  {
 
23302
    eval $1=\$$1\$2
 
23303
  }
 
23304
fi # as_fn_append
 
23305
 
 
23306
@%:@ as_fn_arith ARG...
 
23307
@%:@ ------------------
 
23308
@%:@ Perform arithmetic evaluation on the ARGs, and store the result in the
 
23309
@%:@ global @S|@as_val. Take advantage of shells that can avoid forks. The arguments
 
23310
@%:@ must be portable across @S|@(()) and expr.
 
23311
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
 
23312
  eval 'as_fn_arith ()
 
23313
  {
 
23314
    as_val=$(( $* ))
 
23315
  }'
 
23316
else
 
23317
  as_fn_arith ()
 
23318
  {
 
23319
    as_val=`expr "$@" || test $? -eq 1`
 
23320
  }
 
23321
fi # as_fn_arith
 
23322
 
 
23323
 
31121
23324
if expr a : '\(a\)' >/dev/null 2>&1 &&
31122
23325
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
31123
23326
  as_expr=expr
31131
23334
  as_basename=false
31132
23335
fi
31133
23336
 
 
23337
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
 
23338
  as_dirname=dirname
 
23339
else
 
23340
  as_dirname=false
 
23341
fi
31134
23342
 
31135
 
# Name of the executable.
31136
23343
as_me=`$as_basename -- "$0" ||
31137
23344
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
31138
23345
         X"$0" : 'X\(//\)$' \| \
31139
23346
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
31140
 
echo X/"$0" |
 
23347
$as_echo X/"$0" |
31141
23348
    sed '/^.*\/\([^/][^/]*\)\/*$/{
31142
23349
            s//\1/
31143
23350
            q
31152
23359
          }
31153
23360
          s/.*/./; q'`
31154
23361
 
31155
 
# CDPATH.
31156
 
$as_unset CDPATH
31157
 
 
31158
 
 
31159
 
 
31160
 
  as_lineno_1=$LINENO
31161
 
  as_lineno_2=$LINENO
31162
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
31163
 
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
31164
 
 
31165
 
  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
31166
 
  # uniformly replaced by the line number.  The first 'sed' inserts a
31167
 
  # line-number line after each line using $LINENO; the second 'sed'
31168
 
  # does the real work.  The second script uses 'N' to pair each
31169
 
  # line-number line with the line containing $LINENO, and appends
31170
 
  # trailing '-' during substitution so that $LINENO is not a special
31171
 
  # case at line end.
31172
 
  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
31173
 
  # scripts with optimization help from Paolo Bonzini.  Blame Lee
31174
 
  # E. McMahon (1931-1989) for sed's syntax.  :-)
31175
 
  sed -n '
31176
 
    p
31177
 
    /[$]LINENO/=
31178
 
  ' <$as_myself |
31179
 
    sed '
31180
 
      s/[$]LINENO.*/&-/
31181
 
      t lineno
31182
 
      b
31183
 
      :lineno
31184
 
      N
31185
 
      :loop
31186
 
      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
31187
 
      t loop
31188
 
      s/-\n.*//
31189
 
    ' >$as_me.lineno &&
31190
 
  chmod +x "$as_me.lineno" ||
31191
 
    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
31192
 
   { (exit 1); exit 1; }; }
31193
 
 
31194
 
  # Don't try to exec as it changes $[0], causing all sort of problems
31195
 
  # (the dirname of $[0] is not the place where we might find the
31196
 
  # original and so on.  Autoconf is especially sensitive to this).
31197
 
  . "./$as_me.lineno"
31198
 
  # Exit status is that of the last command.
31199
 
  exit
31200
 
}
31201
 
 
31202
 
 
31203
 
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
31204
 
  as_dirname=dirname
31205
 
else
31206
 
  as_dirname=false
31207
 
fi
 
23362
# Avoid depending upon Character Ranges.
 
23363
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
 
23364
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
 
23365
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
 
23366
as_cr_digits='0123456789'
 
23367
as_cr_alnum=$as_cr_Letters$as_cr_digits
31208
23368
 
31209
23369
ECHO_C= ECHO_N= ECHO_T=
31210
 
case `echo -n x` in
 
23370
case `echo -n x` in @%:@(((((
31211
23371
-n*)
31212
 
  case `echo 'x\c'` in
 
23372
  case `echo 'xy\c'` in
31213
23373
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
31214
 
  *)   ECHO_C='\c';;
 
23374
  xy)  ECHO_C='\c';;
 
23375
  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
 
23376
       ECHO_T=' ';;
31215
23377
  esac;;
31216
23378
*)
31217
23379
  ECHO_N='-n';;
31218
23380
esac
31219
23381
 
31220
 
if expr a : '\(a\)' >/dev/null 2>&1 &&
31221
 
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
31222
 
  as_expr=expr
31223
 
else
31224
 
  as_expr=false
31225
 
fi
31226
 
 
31227
23382
rm -f conf$$ conf$$.exe conf$$.file
31228
23383
if test -d conf$$.dir; then
31229
23384
  rm -f conf$$.dir/conf$$.file
31230
23385
else
31231
23386
  rm -f conf$$.dir
31232
 
  mkdir conf$$.dir
 
23387
  mkdir conf$$.dir 2>/dev/null
31233
23388
fi
31234
 
echo >conf$$.file
31235
 
if ln -s conf$$.file conf$$ 2>/dev/null; then
31236
 
  as_ln_s='ln -s'
31237
 
  # ... but there are two gotchas:
31238
 
  # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
31239
 
  # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
31240
 
  # In both cases, we have to default to `cp -p'.
31241
 
  ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
 
23389
if (echo >conf$$.file) 2>/dev/null; then
 
23390
  if ln -s conf$$.file conf$$ 2>/dev/null; then
 
23391
    as_ln_s='ln -s'
 
23392
    # ... but there are two gotchas:
 
23393
    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
 
23394
    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
 
23395
    # In both cases, we have to default to `cp -p'.
 
23396
    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
 
23397
      as_ln_s='cp -p'
 
23398
  elif ln conf$$.file conf$$ 2>/dev/null; then
 
23399
    as_ln_s=ln
 
23400
  else
31242
23401
    as_ln_s='cp -p'
31243
 
elif ln conf$$.file conf$$ 2>/dev/null; then
31244
 
  as_ln_s=ln
 
23402
  fi
31245
23403
else
31246
23404
  as_ln_s='cp -p'
31247
23405
fi
31248
23406
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
31249
23407
rmdir conf$$.dir 2>/dev/null
31250
23408
 
 
23409
 
 
23410
@%:@ as_fn_mkdir_p
 
23411
@%:@ -------------
 
23412
@%:@ Create "@S|@as_dir" as a directory, including parents if necessary.
 
23413
as_fn_mkdir_p ()
 
23414
{
 
23415
 
 
23416
  case $as_dir in #(
 
23417
  -*) as_dir=./$as_dir;;
 
23418
  esac
 
23419
  test -d "$as_dir" || eval $as_mkdir_p || {
 
23420
    as_dirs=
 
23421
    while :; do
 
23422
      case $as_dir in #(
 
23423
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
 
23424
      *) as_qdir=$as_dir;;
 
23425
      esac
 
23426
      as_dirs="'$as_qdir' $as_dirs"
 
23427
      as_dir=`$as_dirname -- "$as_dir" ||
 
23428
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
23429
         X"$as_dir" : 'X\(//\)[^/]' \| \
 
23430
         X"$as_dir" : 'X\(//\)$' \| \
 
23431
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
 
23432
$as_echo X"$as_dir" |
 
23433
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
23434
            s//\1/
 
23435
            q
 
23436
          }
 
23437
          /^X\(\/\/\)[^/].*/{
 
23438
            s//\1/
 
23439
            q
 
23440
          }
 
23441
          /^X\(\/\/\)$/{
 
23442
            s//\1/
 
23443
            q
 
23444
          }
 
23445
          /^X\(\/\).*/{
 
23446
            s//\1/
 
23447
            q
 
23448
          }
 
23449
          s/.*/./; q'`
 
23450
      test -d "$as_dir" && break
 
23451
    done
 
23452
    test -z "$as_dirs" || eval "mkdir $as_dirs"
 
23453
  } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
 
23454
 
 
23455
 
 
23456
} @%:@ as_fn_mkdir_p
31251
23457
if mkdir -p . 2>/dev/null; then
31252
 
  as_mkdir_p=:
 
23458
  as_mkdir_p='mkdir -p "$as_dir"'
31253
23459
else
31254
23460
  test -d ./-p && rmdir ./-p
31255
23461
  as_mkdir_p=false
31266
23472
  as_test_x='
31267
23473
    eval sh -c '\''
31268
23474
      if test -d "$1"; then
31269
 
        test -d "$1/.";
 
23475
        test -d "$1/.";
31270
23476
      else
31271
 
        case $1 in
31272
 
        -*)set "./$1";;
 
23477
        case $1 in @%:@(
 
23478
        -*)set "./$1";;
31273
23479
        esac;
31274
 
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
 
23480
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in @%:@((
31275
23481
        ???[sx]*):;;*)false;;esac;fi
31276
23482
    '\'' sh
31277
23483
  '
31286
23492
 
31287
23493
 
31288
23494
exec 6>&1
 
23495
## ----------------------------------- ##
 
23496
## Main body of $CONFIG_STATUS script. ##
 
23497
## ----------------------------------- ##
 
23498
_ASEOF
 
23499
test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
31289
23500
 
31290
 
# Save the log message, to keep $[0] and so on meaningful, and to
 
23501
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
23502
# Save the log message, to keep $0 and so on meaningful, and to
31291
23503
# report actual input values of CONFIG_FILES etc. instead of their
31292
23504
# values after options handling.
31293
23505
ac_log="
31294
 
This file was extended by open-vm-tools $as_me 2010.04.25, which was
31295
 
generated by GNU Autoconf 2.61.  Invocation command line was
 
23506
This file was extended by open-vm-tools $as_me 2010.06.16, which was
 
23507
generated by GNU Autoconf 2.65.  Invocation command line was
31296
23508
 
31297
23509
  CONFIG_FILES    = $CONFIG_FILES
31298
23510
  CONFIG_HEADERS  = $CONFIG_HEADERS
31305
23517
 
31306
23518
_ACEOF
31307
23519
 
31308
 
cat >>$CONFIG_STATUS <<_ACEOF
 
23520
case $ac_config_files in *"
 
23521
"*) set x $ac_config_files; shift; ac_config_files=$*;;
 
23522
esac
 
23523
 
 
23524
 
 
23525
 
 
23526
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
31309
23527
# Files that config.status was made for.
31310
23528
config_files="$ac_config_files"
31311
23529
config_commands="$ac_config_commands"
31312
23530
 
31313
23531
_ACEOF
31314
23532
 
31315
 
cat >>$CONFIG_STATUS <<\_ACEOF
 
23533
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
31316
23534
ac_cs_usage="\
31317
 
\`$as_me' instantiates files from templates according to the
31318
 
current configuration.
 
23535
\`$as_me' instantiates files and other configuration actions
 
23536
from templates according to the current configuration.  Unless the files
 
23537
and actions are specified as TAGs, all are instantiated by default.
31319
23538
 
31320
 
Usage: $0 [OPTIONS] [FILE]...
 
23539
Usage: $0 [OPTION]... [TAG]...
31321
23540
 
31322
23541
  -h, --help       print this help, then exit
31323
23542
  -V, --version    print version number and configuration settings, then exit
31324
 
  -q, --quiet      do not print progress messages
 
23543
      --config     print configuration, then exit
 
23544
  -q, --quiet, --silent
 
23545
                   do not print progress messages
31325
23546
  -d, --debug      don't remove temporary files
31326
23547
      --recheck    update $as_me by reconfiguring in the same conditions
31327
 
  --file=FILE[:TEMPLATE]
31328
 
                   instantiate the configuration file FILE
 
23548
      --file=FILE[:TEMPLATE] 
 
23549
                   instantiate the configuration file FILE
31329
23550
 
31330
23551
Configuration files:
31331
23552
$config_files
31333
23554
Configuration commands:
31334
23555
$config_commands
31335
23556
 
31336
 
Report bugs to <bug-autoconf@gnu.org>."
 
23557
Report bugs to <open-vm-tools-devel@lists.sourceforge.net>."
31337
23558
 
31338
23559
_ACEOF
31339
 
cat >>$CONFIG_STATUS <<_ACEOF
 
23560
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
23561
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
31340
23562
ac_cs_version="\\
31341
 
open-vm-tools config.status 2010.04.25
31342
 
configured by $0, generated by GNU Autoconf 2.61,
31343
 
  with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
 
23563
open-vm-tools config.status 2010.06.16
 
23564
configured by $0, generated by GNU Autoconf 2.65,
 
23565
  with options \\"\$ac_cs_config\\"
31344
23566
 
31345
 
Copyright (C) 2006 Free Software Foundation, Inc.
 
23567
Copyright (C) 2009 Free Software Foundation, Inc.
31346
23568
This config.status script is free software; the Free Software Foundation
31347
23569
gives unlimited permission to copy, distribute and modify it."
31348
23570
 
31350
23572
srcdir='$srcdir'
31351
23573
INSTALL='$INSTALL'
31352
23574
MKDIR_P='$MKDIR_P'
 
23575
AWK='$AWK'
 
23576
test -n "\$AWK" || AWK=awk
31353
23577
_ACEOF
31354
23578
 
31355
 
cat >>$CONFIG_STATUS <<\_ACEOF
31356
 
# If no file are specified by the user, then we need to provide default
31357
 
# value.  By we need to know if files were specified by the user.
 
23579
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
23580
# The default lists apply if the user does not specify any file.
31358
23581
ac_need_defaults=:
31359
23582
while test $# != 0
31360
23583
do
31376
23599
  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
31377
23600
    ac_cs_recheck=: ;;
31378
23601
  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
31379
 
    echo "$ac_cs_version"; exit ;;
 
23602
    $as_echo "$ac_cs_version"; exit ;;
 
23603
  --config | --confi | --conf | --con | --co | --c )
 
23604
    $as_echo "$ac_cs_config"; exit ;;
31380
23605
  --debug | --debu | --deb | --de | --d | -d )
31381
23606
    debug=: ;;
31382
23607
  --file | --fil | --fi | --f )
31383
23608
    $ac_shift
31384
 
    CONFIG_FILES="$CONFIG_FILES $ac_optarg"
 
23609
    case $ac_optarg in
 
23610
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
 
23611
    esac
 
23612
    as_fn_append CONFIG_FILES " '$ac_optarg'"
31385
23613
    ac_need_defaults=false;;
31386
23614
  --he | --h |  --help | --hel | -h )
31387
 
    echo "$ac_cs_usage"; exit ;;
 
23615
    $as_echo "$ac_cs_usage"; exit ;;
31388
23616
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
31389
23617
  | -silent | --silent | --silen | --sile | --sil | --si | --s)
31390
23618
    ac_cs_silent=: ;;
31391
23619
 
31392
23620
  # This is an error.
31393
 
  -*) { echo "$as_me: error: unrecognized option: $1
31394
 
Try \`$0 --help' for more information." >&2
31395
 
   { (exit 1); exit 1; }; } ;;
 
23621
  -*) as_fn_error "unrecognized option: \`$1'
 
23622
Try \`$0 --help' for more information." ;;
31396
23623
 
31397
 
  *) ac_config_targets="$ac_config_targets $1"
 
23624
  *) as_fn_append ac_config_targets " $1"
31398
23625
     ac_need_defaults=false ;;
31399
23626
 
31400
23627
  esac
31409
23636
fi
31410
23637
 
31411
23638
_ACEOF
31412
 
cat >>$CONFIG_STATUS <<_ACEOF
 
23639
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
31413
23640
if \$ac_cs_recheck; then
31414
 
  echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
31415
 
  CONFIG_SHELL=$SHELL
 
23641
  set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
 
23642
  shift
 
23643
  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
 
23644
  CONFIG_SHELL='$SHELL'
31416
23645
  export CONFIG_SHELL
31417
 
  exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
 
23646
  exec "\$@"
31418
23647
fi
31419
23648
 
31420
23649
_ACEOF
31421
 
cat >>$CONFIG_STATUS <<\_ACEOF
 
23650
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
31422
23651
exec 5>>config.log
31423
23652
{
31424
23653
  echo
31425
23654
  sed 'h;s/./-/g;s/^.../@%:@@%:@ /;s/...$/ @%:@@%:@/;p;x;p;x' <<_ASBOX
31426
23655
@%:@@%:@ Running $as_me. @%:@@%:@
31427
23656
_ASBOX
31428
 
  echo "$ac_log"
 
23657
  $as_echo "$ac_log"
31429
23658
} >&5
31430
23659
 
31431
23660
_ACEOF
31432
 
cat >>$CONFIG_STATUS <<_ACEOF
 
23661
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
31433
23662
#
31434
23663
# INIT-COMMANDS
31435
23664
#
31471
23700
lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
31472
23701
reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
31473
23702
reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
23703
OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
31474
23704
deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
31475
23705
file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
31476
23706
AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
31629
23859
lt_SP2NL \
31630
23860
lt_NL2SP \
31631
23861
reload_flag \
 
23862
OBJDUMP \
31632
23863
deplibs_check_method \
31633
23864
file_magic_cmd \
31634
23865
AR \
31786
24017
 
31787
24018
_ACEOF
31788
24019
 
31789
 
cat >>$CONFIG_STATUS <<\_ACEOF
 
24020
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
31790
24021
 
31791
24022
# Handling of arguments.
31792
24023
for ac_config_target in $ac_config_targets
31821
24052
    "lib/hgfsServerPolicyGuest/Makefile") CONFIG_FILES="$CONFIG_FILES lib/hgfsServerPolicyGuest/Makefile" ;;
31822
24053
    "lib/image/Makefile") CONFIG_FILES="$CONFIG_FILES lib/image/Makefile" ;;
31823
24054
    "lib/impersonate/Makefile") CONFIG_FILES="$CONFIG_FILES lib/impersonate/Makefile" ;;
 
24055
    "lib/lock/Makefile") CONFIG_FILES="$CONFIG_FILES lib/lock/Makefile" ;;
31824
24056
    "lib/message/Makefile") CONFIG_FILES="$CONFIG_FILES lib/message/Makefile" ;;
31825
24057
    "lib/misc/Makefile") CONFIG_FILES="$CONFIG_FILES lib/misc/Makefile" ;;
31826
24058
    "lib/netUtil/Makefile") CONFIG_FILES="$CONFIG_FILES lib/netUtil/Makefile" ;;
31883
24115
    "docs/api/Makefile") CONFIG_FILES="$CONFIG_FILES docs/api/Makefile" ;;
31884
24116
    "scripts/Makefile") CONFIG_FILES="$CONFIG_FILES scripts/Makefile" ;;
31885
24117
 
31886
 
  *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
31887
 
echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
31888
 
   { (exit 1); exit 1; }; };;
 
24118
  *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
31889
24119
  esac
31890
24120
done
31891
24121
 
31911
24141
  trap 'exit_status=$?
31912
24142
  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
31913
24143
' 0
31914
 
  trap '{ (exit 1); exit 1; }' 1 2 13 15
 
24144
  trap 'as_fn_exit 1' 1 2 13 15
31915
24145
}
31916
24146
# Create a (secure) tmp directory for tmp files.
31917
24147
 
31922
24152
{
31923
24153
  tmp=./conf$$-$RANDOM
31924
24154
  (umask 077 && mkdir "$tmp")
31925
 
} ||
31926
 
{
31927
 
   echo "$me: cannot create a temporary directory in ." >&2
31928
 
   { (exit 1); exit 1; }
31929
 
}
31930
 
 
31931
 
#
31932
 
# Set up the sed scripts for CONFIG_FILES section.
31933
 
#
31934
 
 
31935
 
# No need to generate the scripts if there are no CONFIG_FILES.
31936
 
# This happens for instance when ./config.status config.h
 
24155
} || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
 
24156
 
 
24157
# Set up the scripts for CONFIG_FILES section.
 
24158
# No need to generate them if there are no CONFIG_FILES.
 
24159
# This happens for instance with `./config.status config.h'.
31937
24160
if test -n "$CONFIG_FILES"; then
31938
24161
 
31939
 
_ACEOF
31940
 
 
31941
 
 
31942
 
 
31943
 
ac_delim='%!_!# '
31944
 
for ac_last_try in false false false false false :; do
31945
 
  cat >conf$$subs.sed <<_ACEOF
31946
 
SHELL!$SHELL$ac_delim
31947
 
PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
31948
 
PACKAGE_NAME!$PACKAGE_NAME$ac_delim
31949
 
PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
31950
 
PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
31951
 
PACKAGE_STRING!$PACKAGE_STRING$ac_delim
31952
 
PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
31953
 
exec_prefix!$exec_prefix$ac_delim
31954
 
prefix!$prefix$ac_delim
31955
 
program_transform_name!$program_transform_name$ac_delim
31956
 
bindir!$bindir$ac_delim
31957
 
sbindir!$sbindir$ac_delim
31958
 
libexecdir!$libexecdir$ac_delim
31959
 
datarootdir!$datarootdir$ac_delim
31960
 
datadir!$datadir$ac_delim
31961
 
sysconfdir!$sysconfdir$ac_delim
31962
 
sharedstatedir!$sharedstatedir$ac_delim
31963
 
localstatedir!$localstatedir$ac_delim
31964
 
includedir!$includedir$ac_delim
31965
 
oldincludedir!$oldincludedir$ac_delim
31966
 
docdir!$docdir$ac_delim
31967
 
infodir!$infodir$ac_delim
31968
 
htmldir!$htmldir$ac_delim
31969
 
dvidir!$dvidir$ac_delim
31970
 
pdfdir!$pdfdir$ac_delim
31971
 
psdir!$psdir$ac_delim
31972
 
libdir!$libdir$ac_delim
31973
 
localedir!$localedir$ac_delim
31974
 
mandir!$mandir$ac_delim
31975
 
DEFS!$DEFS$ac_delim
31976
 
ECHO_C!$ECHO_C$ac_delim
31977
 
ECHO_N!$ECHO_N$ac_delim
31978
 
ECHO_T!$ECHO_T$ac_delim
31979
 
LIBS!$LIBS$ac_delim
31980
 
build_alias!$build_alias$ac_delim
31981
 
host_alias!$host_alias$ac_delim
31982
 
target_alias!$target_alias$ac_delim
31983
 
build!$build$ac_delim
31984
 
build_cpu!$build_cpu$ac_delim
31985
 
build_vendor!$build_vendor$ac_delim
31986
 
build_os!$build_os$ac_delim
31987
 
host!$host$ac_delim
31988
 
host_cpu!$host_cpu$ac_delim
31989
 
host_vendor!$host_vendor$ac_delim
31990
 
host_os!$host_os$ac_delim
31991
 
INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
31992
 
INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
31993
 
INSTALL_DATA!$INSTALL_DATA$ac_delim
31994
 
am__isrc!$am__isrc$ac_delim
31995
 
CYGPATH_W!$CYGPATH_W$ac_delim
31996
 
PACKAGE!$PACKAGE$ac_delim
31997
 
VERSION!$VERSION$ac_delim
31998
 
ACLOCAL!$ACLOCAL$ac_delim
31999
 
AUTOCONF!$AUTOCONF$ac_delim
32000
 
AUTOMAKE!$AUTOMAKE$ac_delim
32001
 
AUTOHEADER!$AUTOHEADER$ac_delim
32002
 
MAKEINFO!$MAKEINFO$ac_delim
32003
 
install_sh!$install_sh$ac_delim
32004
 
STRIP!$STRIP$ac_delim
32005
 
INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
32006
 
mkdir_p!$mkdir_p$ac_delim
32007
 
AWK!$AWK$ac_delim
32008
 
SET_MAKE!$SET_MAKE$ac_delim
32009
 
am__leading_dot!$am__leading_dot$ac_delim
32010
 
AMTAR!$AMTAR$ac_delim
32011
 
am__tar!$am__tar$ac_delim
32012
 
am__untar!$am__untar$ac_delim
32013
 
CC!$CC$ac_delim
32014
 
CFLAGS!$CFLAGS$ac_delim
32015
 
LDFLAGS!$LDFLAGS$ac_delim
32016
 
CPPFLAGS!$CPPFLAGS$ac_delim
32017
 
ac_ct_CC!$ac_ct_CC$ac_delim
32018
 
EXEEXT!$EXEEXT$ac_delim
32019
 
OBJEXT!$OBJEXT$ac_delim
32020
 
DEPDIR!$DEPDIR$ac_delim
32021
 
am__include!$am__include$ac_delim
32022
 
am__quote!$am__quote$ac_delim
32023
 
AMDEP_TRUE!$AMDEP_TRUE$ac_delim
32024
 
AMDEP_FALSE!$AMDEP_FALSE$ac_delim
32025
 
AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
32026
 
CCDEPMODE!$CCDEPMODE$ac_delim
32027
 
am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
32028
 
am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
32029
 
CPP!$CPP$ac_delim
32030
 
CXX!$CXX$ac_delim
32031
 
CXXFLAGS!$CXXFLAGS$ac_delim
32032
 
ac_ct_CXX!$ac_ct_CXX$ac_delim
32033
 
CXXDEPMODE!$CXXDEPMODE$ac_delim
32034
 
am__fastdepCXX_TRUE!$am__fastdepCXX_TRUE$ac_delim
32035
 
am__fastdepCXX_FALSE!$am__fastdepCXX_FALSE$ac_delim
32036
 
SED!$SED$ac_delim
32037
 
LN_S!$LN_S$ac_delim
32038
 
LIBTOOL!$LIBTOOL$ac_delim
32039
 
GREP!$GREP$ac_delim
32040
 
EGREP!$EGREP$ac_delim
32041
 
FGREP!$FGREP$ac_delim
32042
 
LD!$LD$ac_delim
32043
 
_ACEOF
32044
 
 
32045
 
  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
32046
 
    break
32047
 
  elif $ac_last_try; then
32048
 
    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
32049
 
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
32050
 
   { (exit 1); exit 1; }; }
32051
 
  else
32052
 
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
32053
 
  fi
32054
 
done
32055
 
 
32056
 
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
32057
 
if test -n "$ac_eof"; then
32058
 
  ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
32059
 
  ac_eof=`expr $ac_eof + 1`
32060
 
fi
32061
 
 
32062
 
cat >>$CONFIG_STATUS <<_ACEOF
32063
 
cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
32064
 
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
32065
 
_ACEOF
32066
 
sed '
32067
 
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
32068
 
s/^/s,@/; s/!/@,|#_!!_#|/
32069
 
:n
32070
 
t n
32071
 
s/'"$ac_delim"'$/,g/; t
32072
 
s/$/\\/; p
32073
 
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
32074
 
' >>$CONFIG_STATUS <conf$$subs.sed
32075
 
rm -f conf$$subs.sed
32076
 
cat >>$CONFIG_STATUS <<_ACEOF
32077
 
CEOF$ac_eof
32078
 
_ACEOF
32079
 
 
32080
 
 
32081
 
ac_delim='%!_!# '
32082
 
for ac_last_try in false false false false false :; do
32083
 
  cat >conf$$subs.sed <<_ACEOF
32084
 
DUMPBIN!$DUMPBIN$ac_delim
32085
 
ac_ct_DUMPBIN!$ac_ct_DUMPBIN$ac_delim
32086
 
NM!$NM$ac_delim
32087
 
AR!$AR$ac_delim
32088
 
RANLIB!$RANLIB$ac_delim
32089
 
lt_ECHO!$lt_ECHO$ac_delim
32090
 
DSYMUTIL!$DSYMUTIL$ac_delim
32091
 
NMEDIT!$NMEDIT$ac_delim
32092
 
LIPO!$LIPO$ac_delim
32093
 
OTOOL!$OTOOL$ac_delim
32094
 
OTOOL64!$OTOOL64$ac_delim
32095
 
CXXCPP!$CXXCPP$ac_delim
32096
 
HAVE_PKG_CONFIG!$HAVE_PKG_CONFIG$ac_delim
32097
 
XMKMF!$XMKMF$ac_delim
32098
 
X_CFLAGS!$X_CFLAGS$ac_delim
32099
 
X_PRE_LIBS!$X_PRE_LIBS$ac_delim
32100
 
X_LIBS!$X_LIBS$ac_delim
32101
 
X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
32102
 
ac_vmw_lib_cfg!$ac_vmw_lib_cfg$ac_delim
32103
 
GLIB2_CPPFLAGS!$GLIB2_CPPFLAGS$ac_delim
32104
 
GLIB2_LIBS!$GLIB2_LIBS$ac_delim
32105
 
GMODULE_CPPFLAGS!$GMODULE_CPPFLAGS$ac_delim
32106
 
GMODULE_LIBS!$GMODULE_LIBS$ac_delim
32107
 
GOBJECT_CPPFLAGS!$GOBJECT_CPPFLAGS$ac_delim
32108
 
GOBJECT_LIBS!$GOBJECT_LIBS$ac_delim
32109
 
GTHREAD_CPPFLAGS!$GTHREAD_CPPFLAGS$ac_delim
32110
 
GTHREAD_LIBS!$GTHREAD_LIBS$ac_delim
32111
 
have_genmarshal!$have_genmarshal$ac_delim
32112
 
FUSE_CPPFLAGS!$FUSE_CPPFLAGS$ac_delim
32113
 
FUSE_LIBS!$FUSE_LIBS$ac_delim
32114
 
PAM_CPPFLAGS!$PAM_CPPFLAGS$ac_delim
32115
 
PAM_LIBS!$PAM_LIBS$ac_delim
32116
 
CUNIT_CPPFLAGS!$CUNIT_CPPFLAGS$ac_delim
32117
 
CUNIT_LIBS!$CUNIT_LIBS$ac_delim
32118
 
URIPARSER_CPPFLAGS!$URIPARSER_CPPFLAGS$ac_delim
32119
 
URIPARSER_LIBS!$URIPARSER_LIBS$ac_delim
32120
 
LIBPNG_CPPFLAGS!$LIBPNG_CPPFLAGS$ac_delim
32121
 
LIBPNG_LIBS!$LIBPNG_LIBS$ac_delim
32122
 
ZLIB_CPPFLAGS!$ZLIB_CPPFLAGS$ac_delim
32123
 
ZLIB_LIBS!$ZLIB_LIBS$ac_delim
32124
 
GTK_CPPFLAGS!$GTK_CPPFLAGS$ac_delim
32125
 
GTK_LIBS!$GTK_LIBS$ac_delim
32126
 
GTKMM_CPPFLAGS!$GTKMM_CPPFLAGS$ac_delim
32127
 
GTKMM_LIBS!$GTKMM_LIBS$ac_delim
32128
 
PROCPS_CPPFLAGS!$PROCPS_CPPFLAGS$ac_delim
32129
 
PROCPS_LIBS!$PROCPS_LIBS$ac_delim
32130
 
DNET_CPPFLAGS!$DNET_CPPFLAGS$ac_delim
32131
 
DNET_LIBS!$DNET_LIBS$ac_delim
32132
 
have_cxx!$have_cxx$ac_delim
32133
 
ICU_CPPFLAGS!$ICU_CPPFLAGS$ac_delim
32134
 
ICU_LIBS!$ICU_LIBS$ac_delim
32135
 
RPCGEN!$RPCGEN$ac_delim
32136
 
have_doxygen!$have_doxygen$ac_delim
32137
 
DOT!$DOT$ac_delim
32138
 
HAVE_DOT!$HAVE_DOT$ac_delim
32139
 
MSCGEN!$MSCGEN$ac_delim
32140
 
MSCGEN_DIR!$MSCGEN_DIR$ac_delim
32141
 
BUILD_HGFSMOUNTER_TRUE!$BUILD_HGFSMOUNTER_TRUE$ac_delim
32142
 
BUILD_HGFSMOUNTER_FALSE!$BUILD_HGFSMOUNTER_FALSE$ac_delim
32143
 
LINUX_TRUE!$LINUX_TRUE$ac_delim
32144
 
LINUX_FALSE!$LINUX_FALSE$ac_delim
32145
 
SOLARIS_TRUE!$SOLARIS_TRUE$ac_delim
32146
 
SOLARIS_FALSE!$SOLARIS_FALSE$ac_delim
32147
 
FREEBSD_TRUE!$FREEBSD_TRUE$ac_delim
32148
 
FREEBSD_FALSE!$FREEBSD_FALSE$ac_delim
32149
 
FREEBSD_CUSTOM_SYSDIR_TRUE!$FREEBSD_CUSTOM_SYSDIR_TRUE$ac_delim
32150
 
FREEBSD_CUSTOM_SYSDIR_FALSE!$FREEBSD_CUSTOM_SYSDIR_FALSE$ac_delim
32151
 
THIRTY_TWO_BIT_USERSPACE_TRUE!$THIRTY_TWO_BIT_USERSPACE_TRUE$ac_delim
32152
 
THIRTY_TWO_BIT_USERSPACE_FALSE!$THIRTY_TWO_BIT_USERSPACE_FALSE$ac_delim
32153
 
HAVE_X11_TRUE!$HAVE_X11_TRUE$ac_delim
32154
 
HAVE_X11_FALSE!$HAVE_X11_FALSE$ac_delim
32155
 
HAVE_ICU_TRUE!$HAVE_ICU_TRUE$ac_delim
32156
 
HAVE_ICU_FALSE!$HAVE_ICU_FALSE$ac_delim
32157
 
WITH_KERNEL_MODULES_TRUE!$WITH_KERNEL_MODULES_TRUE$ac_delim
32158
 
WITH_KERNEL_MODULES_FALSE!$WITH_KERNEL_MODULES_FALSE$ac_delim
32159
 
ENABLE_UNITY_TRUE!$ENABLE_UNITY_TRUE$ac_delim
32160
 
ENABLE_UNITY_FALSE!$ENABLE_UNITY_FALSE$ac_delim
32161
 
ENABLE_TESTS_TRUE!$ENABLE_TESTS_TRUE$ac_delim
32162
 
ENABLE_TESTS_FALSE!$ENABLE_TESTS_FALSE$ac_delim
32163
 
WITH_ROOT_PRIVILEGES_TRUE!$WITH_ROOT_PRIVILEGES_TRUE$ac_delim
32164
 
WITH_ROOT_PRIVILEGES_FALSE!$WITH_ROOT_PRIVILEGES_FALSE$ac_delim
32165
 
HAVE_DOXYGEN_TRUE!$HAVE_DOXYGEN_TRUE$ac_delim
32166
 
HAVE_DOXYGEN_FALSE!$HAVE_DOXYGEN_FALSE$ac_delim
32167
 
HAVE_FUSE_TRUE!$HAVE_FUSE_TRUE$ac_delim
32168
 
HAVE_FUSE_FALSE!$HAVE_FUSE_FALSE$ac_delim
32169
 
HAVE_GNU_LD_TRUE!$HAVE_GNU_LD_TRUE$ac_delim
32170
 
HAVE_GNU_LD_FALSE!$HAVE_GNU_LD_FALSE$ac_delim
32171
 
HAVE_GTKMM_TRUE!$HAVE_GTKMM_TRUE$ac_delim
32172
 
HAVE_GTKMM_FALSE!$HAVE_GTKMM_FALSE$ac_delim
32173
 
HAVE_PAM_TRUE!$HAVE_PAM_TRUE$ac_delim
32174
 
HAVE_PAM_FALSE!$HAVE_PAM_FALSE$ac_delim
32175
 
USE_SLASH_PROC_TRUE!$USE_SLASH_PROC_TRUE$ac_delim
32176
 
USE_SLASH_PROC_FALSE!$USE_SLASH_PROC_FALSE$ac_delim
32177
 
TOOLS_VERSION!$TOOLS_VERSION$ac_delim
32178
 
TARGET_OS!$TARGET_OS$ac_delim
32179
 
KERNEL_RELEASE!$KERNEL_RELEASE$ac_delim
32180
 
MODULES_OS!$MODULES_OS$ac_delim
32181
 
_ACEOF
32182
 
 
32183
 
  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
32184
 
    break
32185
 
  elif $ac_last_try; then
32186
 
    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
32187
 
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
32188
 
   { (exit 1); exit 1; }; }
32189
 
  else
32190
 
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
32191
 
  fi
32192
 
done
32193
 
 
32194
 
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
32195
 
if test -n "$ac_eof"; then
32196
 
  ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
32197
 
  ac_eof=`expr $ac_eof + 1`
32198
 
fi
32199
 
 
32200
 
cat >>$CONFIG_STATUS <<_ACEOF
32201
 
cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
32202
 
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
32203
 
_ACEOF
32204
 
sed '
32205
 
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
32206
 
s/^/s,@/; s/!/@,|#_!!_#|/
32207
 
:n
32208
 
t n
32209
 
s/'"$ac_delim"'$/,g/; t
32210
 
s/$/\\/; p
32211
 
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
32212
 
' >>$CONFIG_STATUS <conf$$subs.sed
32213
 
rm -f conf$$subs.sed
32214
 
cat >>$CONFIG_STATUS <<_ACEOF
32215
 
CEOF$ac_eof
32216
 
_ACEOF
32217
 
 
32218
 
 
32219
 
ac_delim='%!_!# '
32220
 
for ac_last_try in false false false false false :; do
32221
 
  cat >conf$$subs.sed <<_ACEOF
32222
 
MODULES_DIR!$MODULES_DIR$ac_delim
32223
 
MODULES!$MODULES$ac_delim
32224
 
COMMON_XLIBS!$COMMON_XLIBS$ac_delim
32225
 
PAM_PREFIX!$PAM_PREFIX$ac_delim
32226
 
PLUGIN_CPPFLAGS!$PLUGIN_CPPFLAGS$ac_delim
32227
 
PLUGIN_LDFLAGS!$PLUGIN_LDFLAGS$ac_delim
32228
 
VMTOOLS_CPPFLAGS!$VMTOOLS_CPPFLAGS$ac_delim
32229
 
VMTOOLS_LIBS!$VMTOOLS_LIBS$ac_delim
32230
 
RPCGENFLAGS!$RPCGENFLAGS$ac_delim
32231
 
XDR_LIBS!$XDR_LIBS$ac_delim
32232
 
TEST_PLUGIN_INSTALLDIR!$TEST_PLUGIN_INSTALLDIR$ac_delim
32233
 
COMMON_PLUGIN_INSTALLDIR!$COMMON_PLUGIN_INSTALLDIR$ac_delim
32234
 
VMSVC_PLUGIN_INSTALLDIR!$VMSVC_PLUGIN_INSTALLDIR$ac_delim
32235
 
VMUSR_PLUGIN_INSTALLDIR!$VMUSR_PLUGIN_INSTALLDIR$ac_delim
32236
 
SYSDIR!$SYSDIR$ac_delim
32237
 
LIB_AUTH_CPPFLAGS!$LIB_AUTH_CPPFLAGS$ac_delim
32238
 
LIB_IMPERSONATE_CPPFLAGS!$LIB_IMPERSONATE_CPPFLAGS$ac_delim
32239
 
LIB_USER_CPPFLAGS!$LIB_USER_CPPFLAGS$ac_delim
32240
 
LIBVMTOOLS_LIBADD!$LIBVMTOOLS_LIBADD$ac_delim
32241
 
VIX_LIBADD!$VIX_LIBADD$ac_delim
32242
 
VMWARE_USER_CPPFLAGS!$VMWARE_USER_CPPFLAGS$ac_delim
32243
 
VMWARE_USER_LDADD!$VMWARE_USER_LDADD$ac_delim
32244
 
LIB@&t@OBJS!$LIB@&t@OBJS$ac_delim
32245
 
LTLIBOBJS!$LTLIBOBJS$ac_delim
32246
 
_ACEOF
32247
 
 
32248
 
  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 24; then
32249
 
    break
32250
 
  elif $ac_last_try; then
32251
 
    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
32252
 
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
32253
 
   { (exit 1); exit 1; }; }
32254
 
  else
32255
 
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
32256
 
  fi
32257
 
done
32258
 
 
32259
 
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
32260
 
if test -n "$ac_eof"; then
32261
 
  ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
32262
 
  ac_eof=`expr $ac_eof + 1`
32263
 
fi
32264
 
 
32265
 
cat >>$CONFIG_STATUS <<_ACEOF
32266
 
cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof
32267
 
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
32268
 
_ACEOF
32269
 
sed '
32270
 
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
32271
 
s/^/s,@/; s/!/@,|#_!!_#|/
32272
 
:n
32273
 
t n
32274
 
s/'"$ac_delim"'$/,g/; t
32275
 
s/$/\\/; p
32276
 
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
32277
 
' >>$CONFIG_STATUS <conf$$subs.sed
32278
 
rm -f conf$$subs.sed
32279
 
cat >>$CONFIG_STATUS <<_ACEOF
32280
 
:end
32281
 
s/|#_!!_#|//g
32282
 
CEOF$ac_eof
32283
 
_ACEOF
32284
 
 
 
24162
 
 
24163
ac_cr=`echo X | tr X '\015'`
 
24164
# On cygwin, bash can eat \r inside `` if the user requested igncr.
 
24165
# But we know of no other shell where ac_cr would be empty at this
 
24166
# point, so we can use a bashism as a fallback.
 
24167
if test "x$ac_cr" = x; then
 
24168
  eval ac_cr=\$\'\\r\'
 
24169
fi
 
24170
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
 
24171
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
 
24172
  ac_cs_awk_cr='\r'
 
24173
else
 
24174
  ac_cs_awk_cr=$ac_cr
 
24175
fi
 
24176
 
 
24177
echo 'BEGIN {' >"$tmp/subs1.awk" &&
 
24178
_ACEOF
 
24179
 
 
24180
 
 
24181
{
 
24182
  echo "cat >conf$$subs.awk <<_ACEOF" &&
 
24183
  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
 
24184
  echo "_ACEOF"
 
24185
} >conf$$subs.sh ||
 
24186
  as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
 
24187
ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
 
24188
ac_delim='%!_!# '
 
24189
for ac_last_try in false false false false false :; do
 
24190
  . ./conf$$subs.sh ||
 
24191
    as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
 
24192
 
 
24193
  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
 
24194
  if test $ac_delim_n = $ac_delim_num; then
 
24195
    break
 
24196
  elif $ac_last_try; then
 
24197
    as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
 
24198
  else
 
24199
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
 
24200
  fi
 
24201
done
 
24202
rm -f conf$$subs.sh
 
24203
 
 
24204
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
24205
cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
 
24206
_ACEOF
 
24207
sed -n '
 
24208
h
 
24209
s/^/S["/; s/!.*/"]=/
 
24210
p
 
24211
g
 
24212
s/^[^!]*!//
 
24213
:repl
 
24214
t repl
 
24215
s/'"$ac_delim"'$//
 
24216
t delim
 
24217
:nl
 
24218
h
 
24219
s/\(.\{148\}\)..*/\1/
 
24220
t more1
 
24221
s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
 
24222
p
 
24223
n
 
24224
b repl
 
24225
:more1
 
24226
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
 
24227
p
 
24228
g
 
24229
s/.\{148\}//
 
24230
t nl
 
24231
:delim
 
24232
h
 
24233
s/\(.\{148\}\)..*/\1/
 
24234
t more2
 
24235
s/["\\]/\\&/g; s/^/"/; s/$/"/
 
24236
p
 
24237
b
 
24238
:more2
 
24239
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
 
24240
p
 
24241
g
 
24242
s/.\{148\}//
 
24243
t delim
 
24244
' <conf$$subs.awk | sed '
 
24245
/^[^""]/{
 
24246
  N
 
24247
  s/\n//
 
24248
}
 
24249
' >>$CONFIG_STATUS || ac_write_fail=1
 
24250
rm -f conf$$subs.awk
 
24251
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
24252
_ACAWK
 
24253
cat >>"\$tmp/subs1.awk" <<_ACAWK &&
 
24254
  for (key in S) S_is_set[key] = 1
 
24255
  FS = ""
 
24256
 
 
24257
}
 
24258
{
 
24259
  line = $ 0
 
24260
  nfields = split(line, field, "@")
 
24261
  substed = 0
 
24262
  len = length(field[1])
 
24263
  for (i = 2; i < nfields; i++) {
 
24264
    key = field[i]
 
24265
    keylen = length(key)
 
24266
    if (S_is_set[key]) {
 
24267
      value = S[key]
 
24268
      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
 
24269
      len += length(value) + length(field[++i])
 
24270
      substed = 1
 
24271
    } else
 
24272
      len += 1 + keylen
 
24273
  }
 
24274
 
 
24275
  print line
 
24276
}
 
24277
 
 
24278
_ACAWK
 
24279
_ACEOF
 
24280
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
24281
if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
 
24282
  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
 
24283
else
 
24284
  cat
 
24285
fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
 
24286
  || as_fn_error "could not setup config files machinery" "$LINENO" 5
 
24287
_ACEOF
32285
24288
 
32286
24289
# VPATH may cause trouble with some makes, so we remove $(srcdir),
32287
24290
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
32298
24301
}'
32299
24302
fi
32300
24303
 
32301
 
cat >>$CONFIG_STATUS <<\_ACEOF
 
24304
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
32302
24305
fi # test -n "$CONFIG_FILES"
32303
24306
 
32304
24307
 
32305
 
for ac_tag in  :F $CONFIG_FILES      :C $CONFIG_COMMANDS
 
24308
eval set X "  :F $CONFIG_FILES      :C $CONFIG_COMMANDS"
 
24309
shift
 
24310
for ac_tag
32306
24311
do
32307
24312
  case $ac_tag in
32308
24313
  :[FHLC]) ac_mode=$ac_tag; continue;;
32309
24314
  esac
32310
24315
  case $ac_mode$ac_tag in
32311
24316
  :[FHL]*:*);;
32312
 
  :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
32313
 
echo "$as_me: error: Invalid tag $ac_tag." >&2;}
32314
 
   { (exit 1); exit 1; }; };;
 
24317
  :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
32315
24318
  :[FH]-) ac_tag=-:-;;
32316
24319
  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
32317
24320
  esac
32339
24342
           [\\/$]*) false;;
32340
24343
           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
32341
24344
           esac ||
32342
 
           { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
32343
 
echo "$as_me: error: cannot find input file: $ac_f" >&2;}
32344
 
   { (exit 1); exit 1; }; };;
 
24345
           as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
32345
24346
      esac
32346
 
      ac_file_inputs="$ac_file_inputs $ac_f"
 
24347
      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
 
24348
      as_fn_append ac_file_inputs " '$ac_f'"
32347
24349
    done
32348
24350
 
32349
24351
    # Let's still pretend it is `configure' which instantiates (i.e., don't
32350
24352
    # use $as_me), people would be surprised to read:
32351
24353
    #    /* config.h.  Generated by config.status.  */
32352
 
    configure_input="Generated from "`IFS=:
32353
 
          echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
 
24354
    configure_input='Generated from '`
 
24355
          $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
 
24356
        `' by configure.'
32354
24357
    if test x"$ac_file" != x-; then
32355
24358
      configure_input="$ac_file.  $configure_input"
32356
 
      { echo "$as_me:$LINENO: creating $ac_file" >&5
32357
 
echo "$as_me: creating $ac_file" >&6;}
 
24359
      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
 
24360
$as_echo "$as_me: creating $ac_file" >&6;}
32358
24361
    fi
 
24362
    # Neutralize special characters interpreted by sed in replacement strings.
 
24363
    case $configure_input in #(
 
24364
    *\&* | *\|* | *\\* )
 
24365
       ac_sed_conf_input=`$as_echo "$configure_input" |
 
24366
       sed 's/[\\\\&|]/\\\\&/g'`;; #(
 
24367
    *) ac_sed_conf_input=$configure_input;;
 
24368
    esac
32359
24369
 
32360
24370
    case $ac_tag in
32361
 
    *:-:* | *:-) cat >"$tmp/stdin";;
 
24371
    *:-:* | *:-) cat >"$tmp/stdin" \
 
24372
      || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
32362
24373
    esac
32363
24374
    ;;
32364
24375
  esac
32368
24379
         X"$ac_file" : 'X\(//\)[^/]' \| \
32369
24380
         X"$ac_file" : 'X\(//\)$' \| \
32370
24381
         X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
32371
 
echo X"$ac_file" |
32372
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
32373
 
            s//\1/
32374
 
            q
32375
 
          }
32376
 
          /^X\(\/\/\)[^/].*/{
32377
 
            s//\1/
32378
 
            q
32379
 
          }
32380
 
          /^X\(\/\/\)$/{
32381
 
            s//\1/
32382
 
            q
32383
 
          }
32384
 
          /^X\(\/\).*/{
32385
 
            s//\1/
32386
 
            q
32387
 
          }
32388
 
          s/.*/./; q'`
32389
 
  { as_dir="$ac_dir"
32390
 
  case $as_dir in #(
32391
 
  -*) as_dir=./$as_dir;;
32392
 
  esac
32393
 
  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
32394
 
    as_dirs=
32395
 
    while :; do
32396
 
      case $as_dir in #(
32397
 
      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
32398
 
      *) as_qdir=$as_dir;;
32399
 
      esac
32400
 
      as_dirs="'$as_qdir' $as_dirs"
32401
 
      as_dir=`$as_dirname -- "$as_dir" ||
32402
 
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
32403
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
32404
 
         X"$as_dir" : 'X\(//\)$' \| \
32405
 
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
32406
 
echo X"$as_dir" |
32407
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
32408
 
            s//\1/
32409
 
            q
32410
 
          }
32411
 
          /^X\(\/\/\)[^/].*/{
32412
 
            s//\1/
32413
 
            q
32414
 
          }
32415
 
          /^X\(\/\/\)$/{
32416
 
            s//\1/
32417
 
            q
32418
 
          }
32419
 
          /^X\(\/\).*/{
32420
 
            s//\1/
32421
 
            q
32422
 
          }
32423
 
          s/.*/./; q'`
32424
 
      test -d "$as_dir" && break
32425
 
    done
32426
 
    test -z "$as_dirs" || eval "mkdir $as_dirs"
32427
 
  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
32428
 
echo "$as_me: error: cannot create directory $as_dir" >&2;}
32429
 
   { (exit 1); exit 1; }; }; }
 
24382
$as_echo X"$ac_file" |
 
24383
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
24384
            s//\1/
 
24385
            q
 
24386
          }
 
24387
          /^X\(\/\/\)[^/].*/{
 
24388
            s//\1/
 
24389
            q
 
24390
          }
 
24391
          /^X\(\/\/\)$/{
 
24392
            s//\1/
 
24393
            q
 
24394
          }
 
24395
          /^X\(\/\).*/{
 
24396
            s//\1/
 
24397
            q
 
24398
          }
 
24399
          s/.*/./; q'`
 
24400
  as_dir="$ac_dir"; as_fn_mkdir_p
32430
24401
  ac_builddir=.
32431
24402
 
32432
24403
case "$ac_dir" in
32433
24404
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
32434
24405
*)
32435
 
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
 
24406
  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
32436
24407
  # A ".." for each directory in $ac_dir_suffix.
32437
 
  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
 
24408
  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
32438
24409
  case $ac_top_builddir_sub in
32439
24410
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
32440
24411
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
32479
24450
  esac
32480
24451
_ACEOF
32481
24452
 
32482
 
cat >>$CONFIG_STATUS <<\_ACEOF
 
24453
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
32483
24454
# If the template does not know about datarootdir, expand it.
32484
24455
# FIXME: This hack should be removed a few years after 2.60.
32485
24456
ac_datarootdir_hack=; ac_datarootdir_seen=
32486
 
 
32487
 
case `sed -n '/datarootdir/ {
 
24457
ac_sed_dataroot='
 
24458
/datarootdir/ {
32488
24459
  p
32489
24460
  q
32490
24461
}
32492
24463
/@docdir@/p
32493
24464
/@infodir@/p
32494
24465
/@localedir@/p
32495
 
/@mandir@/p
32496
 
' $ac_file_inputs` in
 
24466
/@mandir@/p'
 
24467
case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
32497
24468
*datarootdir*) ac_datarootdir_seen=yes;;
32498
24469
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
32499
 
  { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
32500
 
echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
 
24470
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
 
24471
$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
32501
24472
_ACEOF
32502
 
cat >>$CONFIG_STATUS <<_ACEOF
 
24473
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
32503
24474
  ac_datarootdir_hack='
32504
24475
  s&@datadir@&$datadir&g
32505
24476
  s&@docdir@&$docdir&g
32506
24477
  s&@infodir@&$infodir&g
32507
24478
  s&@localedir@&$localedir&g
32508
24479
  s&@mandir@&$mandir&g
32509
 
    s&\\\${datarootdir}&$datarootdir&g' ;;
 
24480
  s&\\\${datarootdir}&$datarootdir&g' ;;
32510
24481
esac
32511
24482
_ACEOF
32512
24483
 
32513
24484
# Neutralize VPATH when `$srcdir' = `.'.
32514
24485
# Shell code in configure.ac might set extrasub.
32515
24486
# FIXME: do we really want to maintain this feature?
32516
 
cat >>$CONFIG_STATUS <<_ACEOF
32517
 
  sed "$ac_vpsub
 
24487
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
24488
ac_sed_extra="$ac_vpsub
32518
24489
$extrasub
32519
24490
_ACEOF
32520
 
cat >>$CONFIG_STATUS <<\_ACEOF
 
24491
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
32521
24492
:t
32522
24493
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
32523
 
s&@configure_input@&$configure_input&;t t
 
24494
s|@configure_input@|$ac_sed_conf_input|;t t
32524
24495
s&@top_builddir@&$ac_top_builddir_sub&;t t
 
24496
s&@top_build_prefix@&$ac_top_build_prefix&;t t
32525
24497
s&@srcdir@&$ac_srcdir&;t t
32526
24498
s&@abs_srcdir@&$ac_abs_srcdir&;t t
32527
24499
s&@top_srcdir@&$ac_top_srcdir&;t t
32532
24504
s&@INSTALL@&$ac_INSTALL&;t t
32533
24505
s&@MKDIR_P@&$ac_MKDIR_P&;t t
32534
24506
$ac_datarootdir_hack
32535
 
" $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" | sed -f "$tmp/subs-3.sed" >$tmp/out
 
24507
"
 
24508
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
 
24509
  || as_fn_error "could not create $ac_file" "$LINENO" 5
32536
24510
 
32537
24511
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
32538
24512
  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
32539
24513
  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
32540
 
  { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 
24514
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
32541
24515
which seems to be undefined.  Please make sure it is defined." >&5
32542
 
echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 
24516
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
32543
24517
which seems to be undefined.  Please make sure it is defined." >&2;}
32544
24518
 
32545
24519
  rm -f "$tmp/stdin"
32546
24520
  case $ac_file in
32547
 
  -) cat "$tmp/out"; rm -f "$tmp/out";;
32548
 
  *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
32549
 
  esac
 
24521
  -) cat "$tmp/out" && rm -f "$tmp/out";;
 
24522
  *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
 
24523
  esac \
 
24524
  || as_fn_error "could not create $ac_file" "$LINENO" 5
32550
24525
 ;;
32551
24526
  
32552
24527
  
32553
 
  :C)  { echo "$as_me:$LINENO: executing $ac_file commands" >&5
32554
 
echo "$as_me: executing $ac_file commands" >&6;}
 
24528
  :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
 
24529
$as_echo "$as_me: executing $ac_file commands" >&6;}
32555
24530
 ;;
32556
24531
  esac
32557
24532
 
32558
24533
 
32559
24534
  case $ac_file$ac_mode in
32560
 
    "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
32561
 
  # Strip MF so we end up with the name of the file.
32562
 
  mf=`echo "$mf" | sed -e 's/:.*$//'`
32563
 
  # Check whether this is an Automake generated Makefile or not.
32564
 
  # We used to match only the files named `Makefile.in', but
32565
 
  # some people rename them; so instead we look at the file content.
32566
 
  # Grep'ing the first line is not enough: some people post-process
32567
 
  # each Makefile.in and add a new line on top of each file to say so.
32568
 
  # Grep'ing the whole file is not good either: AIX grep has a line
32569
 
  # limit of 2048, but all sed's we know have understand at least 4000.
32570
 
  if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
32571
 
    dirpart=`$as_dirname -- "$mf" ||
 
24535
    "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
 
24536
  # Autoconf 2.62 quotes --file arguments for eval, but not when files
 
24537
  # are listed without --file.  Let's play safe and only enable the eval
 
24538
  # if we detect the quoting.
 
24539
  case $CONFIG_FILES in
 
24540
  *\'*) eval set x "$CONFIG_FILES" ;;
 
24541
  *)   set x $CONFIG_FILES ;;
 
24542
  esac
 
24543
  shift
 
24544
  for mf
 
24545
  do
 
24546
    # Strip MF so we end up with the name of the file.
 
24547
    mf=`echo "$mf" | sed -e 's/:.*$//'`
 
24548
    # Check whether this is an Automake generated Makefile or not.
 
24549
    # We used to match only the files named `Makefile.in', but
 
24550
    # some people rename them; so instead we look at the file content.
 
24551
    # Grep'ing the first line is not enough: some people post-process
 
24552
    # each Makefile.in and add a new line on top of each file to say so.
 
24553
    # Grep'ing the whole file is not good either: AIX grep has a line
 
24554
    # limit of 2048, but all sed's we know have understand at least 4000.
 
24555
    if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
 
24556
      dirpart=`$as_dirname -- "$mf" ||
32572
24557
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
32573
24558
         X"$mf" : 'X\(//\)[^/]' \| \
32574
24559
         X"$mf" : 'X\(//\)$' \| \
32575
24560
         X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
32576
 
echo X"$mf" |
 
24561
$as_echo X"$mf" |
32577
24562
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
32578
24563
            s//\1/
32579
24564
            q
32591
24576
            q
32592
24577
          }
32593
24578
          s/.*/./; q'`
32594
 
  else
32595
 
    continue
32596
 
  fi
32597
 
  # Extract the definition of DEPDIR, am__include, and am__quote
32598
 
  # from the Makefile without running `make'.
32599
 
  DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
32600
 
  test -z "$DEPDIR" && continue
32601
 
  am__include=`sed -n 's/^am__include = //p' < "$mf"`
32602
 
  test -z "am__include" && continue
32603
 
  am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
32604
 
  # When using ansi2knr, U may be empty or an underscore; expand it
32605
 
  U=`sed -n 's/^U = //p' < "$mf"`
32606
 
  # Find all dependency output files, they are included files with
32607
 
  # $(DEPDIR) in their names.  We invoke sed twice because it is the
32608
 
  # simplest approach to changing $(DEPDIR) to its actual value in the
32609
 
  # expansion.
32610
 
  for file in `sed -n "
32611
 
    s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
32612
 
       sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
32613
 
    # Make sure the directory exists.
32614
 
    test -f "$dirpart/$file" && continue
32615
 
    fdir=`$as_dirname -- "$file" ||
 
24579
    else
 
24580
      continue
 
24581
    fi
 
24582
    # Extract the definition of DEPDIR, am__include, and am__quote
 
24583
    # from the Makefile without running `make'.
 
24584
    DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
 
24585
    test -z "$DEPDIR" && continue
 
24586
    am__include=`sed -n 's/^am__include = //p' < "$mf"`
 
24587
    test -z "am__include" && continue
 
24588
    am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
 
24589
    # When using ansi2knr, U may be empty or an underscore; expand it
 
24590
    U=`sed -n 's/^U = //p' < "$mf"`
 
24591
    # Find all dependency output files, they are included files with
 
24592
    # $(DEPDIR) in their names.  We invoke sed twice because it is the
 
24593
    # simplest approach to changing $(DEPDIR) to its actual value in the
 
24594
    # expansion.
 
24595
    for file in `sed -n "
 
24596
      s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
 
24597
         sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
 
24598
      # Make sure the directory exists.
 
24599
      test -f "$dirpart/$file" && continue
 
24600
      fdir=`$as_dirname -- "$file" ||
32616
24601
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
32617
24602
         X"$file" : 'X\(//\)[^/]' \| \
32618
24603
         X"$file" : 'X\(//\)$' \| \
32619
24604
         X"$file" : 'X\(/\)' \| . 2>/dev/null ||
32620
 
echo X"$file" |
32621
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
32622
 
            s//\1/
32623
 
            q
32624
 
          }
32625
 
          /^X\(\/\/\)[^/].*/{
32626
 
            s//\1/
32627
 
            q
32628
 
          }
32629
 
          /^X\(\/\/\)$/{
32630
 
            s//\1/
32631
 
            q
32632
 
          }
32633
 
          /^X\(\/\).*/{
32634
 
            s//\1/
32635
 
            q
32636
 
          }
32637
 
          s/.*/./; q'`
32638
 
    { as_dir=$dirpart/$fdir
32639
 
  case $as_dir in #(
32640
 
  -*) as_dir=./$as_dir;;
32641
 
  esac
32642
 
  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
32643
 
    as_dirs=
32644
 
    while :; do
32645
 
      case $as_dir in #(
32646
 
      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
32647
 
      *) as_qdir=$as_dir;;
32648
 
      esac
32649
 
      as_dirs="'$as_qdir' $as_dirs"
32650
 
      as_dir=`$as_dirname -- "$as_dir" ||
32651
 
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
32652
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
32653
 
         X"$as_dir" : 'X\(//\)$' \| \
32654
 
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
32655
 
echo X"$as_dir" |
32656
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
32657
 
            s//\1/
32658
 
            q
32659
 
          }
32660
 
          /^X\(\/\/\)[^/].*/{
32661
 
            s//\1/
32662
 
            q
32663
 
          }
32664
 
          /^X\(\/\/\)$/{
32665
 
            s//\1/
32666
 
            q
32667
 
          }
32668
 
          /^X\(\/\).*/{
32669
 
            s//\1/
32670
 
            q
32671
 
          }
32672
 
          s/.*/./; q'`
32673
 
      test -d "$as_dir" && break
 
24605
$as_echo X"$file" |
 
24606
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
24607
            s//\1/
 
24608
            q
 
24609
          }
 
24610
          /^X\(\/\/\)[^/].*/{
 
24611
            s//\1/
 
24612
            q
 
24613
          }
 
24614
          /^X\(\/\/\)$/{
 
24615
            s//\1/
 
24616
            q
 
24617
          }
 
24618
          /^X\(\/\).*/{
 
24619
            s//\1/
 
24620
            q
 
24621
          }
 
24622
          s/.*/./; q'`
 
24623
      as_dir=$dirpart/$fdir; as_fn_mkdir_p
 
24624
      # echo "creating $dirpart/$file"
 
24625
      echo '# dummy' > "$dirpart/$file"
32674
24626
    done
32675
 
    test -z "$as_dirs" || eval "mkdir $as_dirs"
32676
 
  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
32677
 
echo "$as_me: error: cannot create directory $as_dir" >&2;}
32678
 
   { (exit 1); exit 1; }; }; }
32679
 
    # echo "creating $dirpart/$file"
32680
 
    echo '# dummy' > "$dirpart/$file"
32681
24627
  done
32682
 
done
 
24628
}
32683
24629
 ;;
32684
24630
    "libtool":C) 
32685
24631
    
32803
24749
reload_flag=$lt_reload_flag
32804
24750
reload_cmds=$lt_reload_cmds
32805
24751
 
 
24752
# An object symbol dumper.
 
24753
OBJDUMP=$lt_OBJDUMP
 
24754
 
32806
24755
# Method to check whether dependent libraries are shared objects.
32807
24756
deplibs_check_method=$lt_deplibs_check_method
32808
24757
 
33485
25434
done # for ac_tag
33486
25435
 
33487
25436
 
33488
 
{ (exit 0); exit 0; }
 
25437
as_fn_exit 0
33489
25438
_ACEOF
33490
 
chmod +x $CONFIG_STATUS
33491
25439
ac_clean_files=$ac_clean_files_save
33492
25440
 
 
25441
test $ac_write_fail = 0 ||
 
25442
  as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
 
25443
 
33493
25444
 
33494
25445
# configure is writing to config.log, and then calls config.status.
33495
25446
# config.status does its own redirection, appending to config.log.
33509
25460
  exec 5>>config.log
33510
25461
  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
33511
25462
  # would make configure fail if this is the last instruction.
33512
 
  $ac_cs_success || { (exit 1); exit 1; }
 
25463
  $ac_cs_success || as_fn_exit $?
 
25464
fi
 
25465
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
 
25466
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
 
25467
$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
33513
25468
fi
33514
25469