~elementary-os/elementaryos/os-patch-at-spi2-core-xenial

« back to all changes in this revision

Viewing changes to configure

  • Committer: RabbitBot
  • Date: 2016-11-16 09:38:52 UTC
  • Revision ID: rabbitbot@elementary.io-20161116093852-xn6hcgpg5y25xooo
Initial import, version 2.18.3-4ubuntu1

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#! /bin/sh
 
2
# Guess values for system-dependent variables and create Makefiles.
 
3
# Generated by GNU Autoconf 2.69 for at-spi2-core 2.18.3.
 
4
#
 
5
# Report bugs to <accessibility-atspi@lists.linux-foundation.org>.
 
6
#
 
7
#
 
8
# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
 
9
#
 
10
#
 
11
# This configure script is free software; the Free Software Foundation
 
12
# gives unlimited permission to copy, distribute and modify it.
 
13
## -------------------- ##
 
14
## M4sh Initialization. ##
 
15
## -------------------- ##
 
16
 
 
17
# Be more Bourne compatible
 
18
DUALCASE=1; export DUALCASE # for MKS sh
 
19
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
 
20
  emulate sh
 
21
  NULLCMD=:
 
22
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
 
23
  # is contrary to our usage.  Disable this feature.
 
24
  alias -g '${1+"$@"}'='"$@"'
 
25
  setopt NO_GLOB_SUBST
 
26
else
 
27
  case `(set -o) 2>/dev/null` in #(
 
28
  *posix*) :
 
29
    set -o posix ;; #(
 
30
  *) :
 
31
     ;;
 
32
esac
 
33
fi
 
34
 
 
35
 
 
36
as_nl='
 
37
'
 
38
export as_nl
 
39
# Printing a long string crashes Solaris 7 /usr/bin/printf.
 
40
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
 
41
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
 
42
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
 
43
# Prefer a ksh shell builtin over an external printf program on Solaris,
 
44
# but without wasting forks for bash or zsh.
 
45
if test -z "$BASH_VERSION$ZSH_VERSION" \
 
46
    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
 
47
  as_echo='print -r --'
 
48
  as_echo_n='print -rn --'
 
49
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
 
50
  as_echo='printf %s\n'
 
51
  as_echo_n='printf %s'
 
52
else
 
53
  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
 
54
    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
 
55
    as_echo_n='/usr/ucb/echo -n'
 
56
  else
 
57
    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
 
58
    as_echo_n_body='eval
 
59
      arg=$1;
 
60
      case $arg in #(
 
61
      *"$as_nl"*)
 
62
        expr "X$arg" : "X\\(.*\\)$as_nl";
 
63
        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
 
64
      esac;
 
65
      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
 
66
    '
 
67
    export as_echo_n_body
 
68
    as_echo_n='sh -c $as_echo_n_body as_echo'
 
69
  fi
 
70
  export as_echo_body
 
71
  as_echo='sh -c $as_echo_body as_echo'
 
72
fi
 
73
 
 
74
# The user is always right.
 
75
if test "${PATH_SEPARATOR+set}" != set; then
 
76
  PATH_SEPARATOR=:
 
77
  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
 
78
    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
 
79
      PATH_SEPARATOR=';'
 
80
  }
 
81
fi
 
82
 
 
83
 
 
84
# IFS
 
85
# We need space, tab and new line, in precisely that order.  Quoting is
 
86
# there to prevent editors from complaining about space-tab.
 
87
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
 
88
# splitting by setting IFS to empty value.)
 
89
IFS=" ""        $as_nl"
 
90
 
 
91
# Find who we are.  Look in the path if we contain no directory separator.
 
92
as_myself=
 
93
case $0 in #((
 
94
  *[\\/]* ) as_myself=$0 ;;
 
95
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
96
for as_dir in $PATH
 
97
do
 
98
  IFS=$as_save_IFS
 
99
  test -z "$as_dir" && as_dir=.
 
100
    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
 
101
  done
 
102
IFS=$as_save_IFS
 
103
 
 
104
     ;;
 
105
esac
 
106
# We did not find ourselves, most probably we were run as `sh COMMAND'
 
107
# in which case we are not to be found in the path.
 
108
if test "x$as_myself" = x; then
 
109
  as_myself=$0
 
110
fi
 
111
if test ! -f "$as_myself"; then
 
112
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
 
113
  exit 1
 
114
fi
 
115
 
 
116
# Unset variables that we do not need and which cause bugs (e.g. in
 
117
# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
 
118
# suppresses any "Segmentation fault" message there.  '((' could
 
119
# trigger a bug in pdksh 5.2.14.
 
120
for as_var in BASH_ENV ENV MAIL MAILPATH
 
121
do eval test x\${$as_var+set} = xset \
 
122
  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
 
123
done
 
124
PS1='$ '
 
125
PS2='> '
 
126
PS4='+ '
 
127
 
 
128
# NLS nuisances.
 
129
LC_ALL=C
 
130
export LC_ALL
 
131
LANGUAGE=C
 
132
export LANGUAGE
 
133
 
 
134
# CDPATH.
 
135
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
 
136
 
 
137
# Use a proper internal environment variable to ensure we don't fall
 
138
  # into an infinite loop, continuously re-executing ourselves.
 
139
  if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
 
140
    _as_can_reexec=no; export _as_can_reexec;
 
141
    # We cannot yet assume a decent shell, so we have to provide a
 
142
# neutralization value for shells without unset; and this also
 
143
# works around shells that cannot unset nonexistent variables.
 
144
# Preserve -v and -x to the replacement shell.
 
145
BASH_ENV=/dev/null
 
146
ENV=/dev/null
 
147
(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
 
148
case $- in # ((((
 
149
  *v*x* | *x*v* ) as_opts=-vx ;;
 
150
  *v* ) as_opts=-v ;;
 
151
  *x* ) as_opts=-x ;;
 
152
  * ) as_opts= ;;
 
153
esac
 
154
exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
 
155
# Admittedly, this is quite paranoid, since all the known shells bail
 
156
# out after a failed `exec'.
 
157
$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
 
158
as_fn_exit 255
 
159
  fi
 
160
  # We don't want this to propagate to other subprocesses.
 
161
          { _as_can_reexec=; unset _as_can_reexec;}
 
162
if test "x$CONFIG_SHELL" = x; then
 
163
  as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
 
164
  emulate sh
 
165
  NULLCMD=:
 
166
  # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
 
167
  # is contrary to our usage.  Disable this feature.
 
168
  alias -g '\${1+\"\$@\"}'='\"\$@\"'
 
169
  setopt NO_GLOB_SUBST
 
170
else
 
171
  case \`(set -o) 2>/dev/null\` in #(
 
172
  *posix*) :
 
173
    set -o posix ;; #(
 
174
  *) :
 
175
     ;;
 
176
esac
 
177
fi
 
178
"
 
179
  as_required="as_fn_return () { (exit \$1); }
 
180
as_fn_success () { as_fn_return 0; }
 
181
as_fn_failure () { as_fn_return 1; }
 
182
as_fn_ret_success () { return 0; }
 
183
as_fn_ret_failure () { return 1; }
 
184
 
 
185
exitcode=0
 
186
as_fn_success || { exitcode=1; echo as_fn_success failed.; }
 
187
as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
 
188
as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
 
189
as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
 
190
if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
 
191
 
 
192
else
 
193
  exitcode=1; echo positional parameters were not saved.
 
194
fi
 
195
test x\$exitcode = x0 || exit 1
 
196
test -x / || exit 1"
 
197
  as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
 
198
  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
 
199
  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
 
200
  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
 
201
 
 
202
  test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
 
203
    ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
 
204
    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
 
205
    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
 
206
    PATH=/empty FPATH=/empty; export PATH FPATH
 
207
    test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
 
208
      || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
 
209
test \$(( 1 + 1 )) = 2 || exit 1"
 
210
  if (eval "$as_required") 2>/dev/null; then :
 
211
  as_have_required=yes
 
212
else
 
213
  as_have_required=no
 
214
fi
 
215
  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
 
216
 
 
217
else
 
218
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
219
as_found=false
 
220
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
 
221
do
 
222
  IFS=$as_save_IFS
 
223
  test -z "$as_dir" && as_dir=.
 
224
  as_found=:
 
225
  case $as_dir in #(
 
226
         /*)
 
227
           for as_base in sh bash ksh sh5; do
 
228
             # Try only shells that exist, to save several forks.
 
229
             as_shell=$as_dir/$as_base
 
230
             if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
 
231
                    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
 
232
  CONFIG_SHELL=$as_shell as_have_required=yes
 
233
                   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
 
234
  break 2
 
235
fi
 
236
fi
 
237
           done;;
 
238
       esac
 
239
  as_found=false
 
240
done
 
241
$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
 
242
              { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
 
243
  CONFIG_SHELL=$SHELL as_have_required=yes
 
244
fi; }
 
245
IFS=$as_save_IFS
 
246
 
 
247
 
 
248
      if test "x$CONFIG_SHELL" != x; then :
 
249
  export CONFIG_SHELL
 
250
             # We cannot yet assume a decent shell, so we have to provide a
 
251
# neutralization value for shells without unset; and this also
 
252
# works around shells that cannot unset nonexistent variables.
 
253
# Preserve -v and -x to the replacement shell.
 
254
BASH_ENV=/dev/null
 
255
ENV=/dev/null
 
256
(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
 
257
case $- in # ((((
 
258
  *v*x* | *x*v* ) as_opts=-vx ;;
 
259
  *v* ) as_opts=-v ;;
 
260
  *x* ) as_opts=-x ;;
 
261
  * ) as_opts= ;;
 
262
esac
 
263
exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
 
264
# Admittedly, this is quite paranoid, since all the known shells bail
 
265
# out after a failed `exec'.
 
266
$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
 
267
exit 255
 
268
fi
 
269
 
 
270
    if test x$as_have_required = xno; then :
 
271
  $as_echo "$0: This script requires a shell more modern than all"
 
272
  $as_echo "$0: the shells that I found on your system."
 
273
  if test x${ZSH_VERSION+set} = xset ; then
 
274
    $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
 
275
    $as_echo "$0: be upgraded to zsh 4.3.4 or later."
 
276
  else
 
277
    $as_echo "$0: Please tell bug-autoconf@gnu.org and
 
278
$0: accessibility-atspi@lists.linux-foundation.org about
 
279
$0: your system, including any error possibly output before
 
280
$0: this message. Then install a modern shell, or manually
 
281
$0: run the script under such a shell if you do have one."
 
282
  fi
 
283
  exit 1
 
284
fi
 
285
fi
 
286
fi
 
287
SHELL=${CONFIG_SHELL-/bin/sh}
 
288
export SHELL
 
289
# Unset more variables known to interfere with behavior of common tools.
 
290
CLICOLOR_FORCE= GREP_OPTIONS=
 
291
unset CLICOLOR_FORCE GREP_OPTIONS
 
292
 
 
293
## --------------------- ##
 
294
## M4sh Shell Functions. ##
 
295
## --------------------- ##
 
296
# as_fn_unset VAR
 
297
# ---------------
 
298
# Portably unset VAR.
 
299
as_fn_unset ()
 
300
{
 
301
  { eval $1=; unset $1;}
 
302
}
 
303
as_unset=as_fn_unset
 
304
 
 
305
# as_fn_set_status STATUS
 
306
# -----------------------
 
307
# Set $? to STATUS, without forking.
 
308
as_fn_set_status ()
 
309
{
 
310
  return $1
 
311
} # as_fn_set_status
 
312
 
 
313
# as_fn_exit STATUS
 
314
# -----------------
 
315
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
 
316
as_fn_exit ()
 
317
{
 
318
  set +e
 
319
  as_fn_set_status $1
 
320
  exit $1
 
321
} # as_fn_exit
 
322
 
 
323
# as_fn_mkdir_p
 
324
# -------------
 
325
# Create "$as_dir" as a directory, including parents if necessary.
 
326
as_fn_mkdir_p ()
 
327
{
 
328
 
 
329
  case $as_dir in #(
 
330
  -*) as_dir=./$as_dir;;
 
331
  esac
 
332
  test -d "$as_dir" || eval $as_mkdir_p || {
 
333
    as_dirs=
 
334
    while :; do
 
335
      case $as_dir in #(
 
336
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
 
337
      *) as_qdir=$as_dir;;
 
338
      esac
 
339
      as_dirs="'$as_qdir' $as_dirs"
 
340
      as_dir=`$as_dirname -- "$as_dir" ||
 
341
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
342
         X"$as_dir" : 'X\(//\)[^/]' \| \
 
343
         X"$as_dir" : 'X\(//\)$' \| \
 
344
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
 
345
$as_echo X"$as_dir" |
 
346
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
347
            s//\1/
 
348
            q
 
349
          }
 
350
          /^X\(\/\/\)[^/].*/{
 
351
            s//\1/
 
352
            q
 
353
          }
 
354
          /^X\(\/\/\)$/{
 
355
            s//\1/
 
356
            q
 
357
          }
 
358
          /^X\(\/\).*/{
 
359
            s//\1/
 
360
            q
 
361
          }
 
362
          s/.*/./; q'`
 
363
      test -d "$as_dir" && break
 
364
    done
 
365
    test -z "$as_dirs" || eval "mkdir $as_dirs"
 
366
  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
 
367
 
 
368
 
 
369
} # as_fn_mkdir_p
 
370
 
 
371
# as_fn_executable_p FILE
 
372
# -----------------------
 
373
# Test if FILE is an executable regular file.
 
374
as_fn_executable_p ()
 
375
{
 
376
  test -f "$1" && test -x "$1"
 
377
} # as_fn_executable_p
 
378
# as_fn_append VAR VALUE
 
379
# ----------------------
 
380
# Append the text in VALUE to the end of the definition contained in VAR. Take
 
381
# advantage of any shell optimizations that allow amortized linear growth over
 
382
# repeated appends, instead of the typical quadratic growth present in naive
 
383
# implementations.
 
384
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
 
385
  eval 'as_fn_append ()
 
386
  {
 
387
    eval $1+=\$2
 
388
  }'
 
389
else
 
390
  as_fn_append ()
 
391
  {
 
392
    eval $1=\$$1\$2
 
393
  }
 
394
fi # as_fn_append
 
395
 
 
396
# as_fn_arith ARG...
 
397
# ------------------
 
398
# Perform arithmetic evaluation on the ARGs, and store the result in the
 
399
# global $as_val. Take advantage of shells that can avoid forks. The arguments
 
400
# must be portable across $(()) and expr.
 
401
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
 
402
  eval 'as_fn_arith ()
 
403
  {
 
404
    as_val=$(( $* ))
 
405
  }'
 
406
else
 
407
  as_fn_arith ()
 
408
  {
 
409
    as_val=`expr "$@" || test $? -eq 1`
 
410
  }
 
411
fi # as_fn_arith
 
412
 
 
413
 
 
414
# as_fn_error STATUS ERROR [LINENO LOG_FD]
 
415
# ----------------------------------------
 
416
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
 
417
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
 
418
# script with STATUS, using 1 if that was 0.
 
419
as_fn_error ()
 
420
{
 
421
  as_status=$1; test $as_status -eq 0 && as_status=1
 
422
  if test "$4"; then
 
423
    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
424
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
 
425
  fi
 
426
  $as_echo "$as_me: error: $2" >&2
 
427
  as_fn_exit $as_status
 
428
} # as_fn_error
 
429
 
 
430
if expr a : '\(a\)' >/dev/null 2>&1 &&
 
431
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
 
432
  as_expr=expr
 
433
else
 
434
  as_expr=false
 
435
fi
 
436
 
 
437
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
 
438
  as_basename=basename
 
439
else
 
440
  as_basename=false
 
441
fi
 
442
 
 
443
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
 
444
  as_dirname=dirname
 
445
else
 
446
  as_dirname=false
 
447
fi
 
448
 
 
449
as_me=`$as_basename -- "$0" ||
 
450
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
 
451
         X"$0" : 'X\(//\)$' \| \
 
452
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
 
453
$as_echo X/"$0" |
 
454
    sed '/^.*\/\([^/][^/]*\)\/*$/{
 
455
            s//\1/
 
456
            q
 
457
          }
 
458
          /^X\/\(\/\/\)$/{
 
459
            s//\1/
 
460
            q
 
461
          }
 
462
          /^X\/\(\/\).*/{
 
463
            s//\1/
 
464
            q
 
465
          }
 
466
          s/.*/./; q'`
 
467
 
 
468
# Avoid depending upon Character Ranges.
 
469
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
 
470
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
 
471
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
 
472
as_cr_digits='0123456789'
 
473
as_cr_alnum=$as_cr_Letters$as_cr_digits
 
474
 
 
475
 
 
476
  as_lineno_1=$LINENO as_lineno_1a=$LINENO
 
477
  as_lineno_2=$LINENO as_lineno_2a=$LINENO
 
478
  eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
 
479
  test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
 
480
  # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
 
481
  sed -n '
 
482
    p
 
483
    /[$]LINENO/=
 
484
  ' <$as_myself |
 
485
    sed '
 
486
      s/[$]LINENO.*/&-/
 
487
      t lineno
 
488
      b
 
489
      :lineno
 
490
      N
 
491
      :loop
 
492
      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
 
493
      t loop
 
494
      s/-\n.*//
 
495
    ' >$as_me.lineno &&
 
496
  chmod +x "$as_me.lineno" ||
 
497
    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
 
498
 
 
499
  # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
 
500
  # already done that, so ensure we don't try to do so again and fall
 
501
  # in an infinite loop.  This has already happened in practice.
 
502
  _as_can_reexec=no; export _as_can_reexec
 
503
  # Don't try to exec as it changes $[0], causing all sort of problems
 
504
  # (the dirname of $[0] is not the place where we might find the
 
505
  # original and so on.  Autoconf is especially sensitive to this).
 
506
  . "./$as_me.lineno"
 
507
  # Exit status is that of the last command.
 
508
  exit
 
509
}
 
510
 
 
511
ECHO_C= ECHO_N= ECHO_T=
 
512
case `echo -n x` in #(((((
 
513
-n*)
 
514
  case `echo 'xy\c'` in
 
515
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
 
516
  xy)  ECHO_C='\c';;
 
517
  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
 
518
       ECHO_T=' ';;
 
519
  esac;;
 
520
*)
 
521
  ECHO_N='-n';;
 
522
esac
 
523
 
 
524
rm -f conf$$ conf$$.exe conf$$.file
 
525
if test -d conf$$.dir; then
 
526
  rm -f conf$$.dir/conf$$.file
 
527
else
 
528
  rm -f conf$$.dir
 
529
  mkdir conf$$.dir 2>/dev/null
 
530
fi
 
531
if (echo >conf$$.file) 2>/dev/null; then
 
532
  if ln -s conf$$.file conf$$ 2>/dev/null; then
 
533
    as_ln_s='ln -s'
 
534
    # ... but there are two gotchas:
 
535
    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
 
536
    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
 
537
    # In both cases, we have to default to `cp -pR'.
 
538
    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
 
539
      as_ln_s='cp -pR'
 
540
  elif ln conf$$.file conf$$ 2>/dev/null; then
 
541
    as_ln_s=ln
 
542
  else
 
543
    as_ln_s='cp -pR'
 
544
  fi
 
545
else
 
546
  as_ln_s='cp -pR'
 
547
fi
 
548
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
 
549
rmdir conf$$.dir 2>/dev/null
 
550
 
 
551
if mkdir -p . 2>/dev/null; then
 
552
  as_mkdir_p='mkdir -p "$as_dir"'
 
553
else
 
554
  test -d ./-p && rmdir ./-p
 
555
  as_mkdir_p=false
 
556
fi
 
557
 
 
558
as_test_x='test -x'
 
559
as_executable_p=as_fn_executable_p
 
560
 
 
561
# Sed expression to map a string onto a valid CPP name.
 
562
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
 
563
 
 
564
# Sed expression to map a string onto a valid variable name.
 
565
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
 
566
 
 
567
SHELL=${CONFIG_SHELL-/bin/sh}
 
568
 
 
569
 
 
570
test -n "$DJDIR" || exec 7<&0 </dev/null
 
571
exec 6>&1
 
572
 
 
573
# Name of the host.
 
574
# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
 
575
# so uname gets run too.
 
576
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
 
577
 
 
578
#
 
579
# Initializations.
 
580
#
 
581
ac_default_prefix=/usr/local
 
582
ac_clean_files=
 
583
ac_config_libobj_dir=.
 
584
LIBOBJS=
 
585
cross_compiling=no
 
586
subdirs=
 
587
MFLAGS=
 
588
MAKEFLAGS=
 
589
 
 
590
# Identity of this package.
 
591
PACKAGE_NAME='at-spi2-core'
 
592
PACKAGE_TARNAME='at-spi2-core'
 
593
PACKAGE_VERSION='2.18.3'
 
594
PACKAGE_STRING='at-spi2-core 2.18.3'
 
595
PACKAGE_BUGREPORT='accessibility-atspi@lists.linux-foundation.org'
 
596
PACKAGE_URL=''
 
597
 
 
598
# Factoring default headers for most tests.
 
599
ac_includes_default="\
 
600
#include <stdio.h>
 
601
#ifdef HAVE_SYS_TYPES_H
 
602
# include <sys/types.h>
 
603
#endif
 
604
#ifdef HAVE_SYS_STAT_H
 
605
# include <sys/stat.h>
 
606
#endif
 
607
#ifdef STDC_HEADERS
 
608
# include <stdlib.h>
 
609
# include <stddef.h>
 
610
#else
 
611
# ifdef HAVE_STDLIB_H
 
612
#  include <stdlib.h>
 
613
# endif
 
614
#endif
 
615
#ifdef HAVE_STRING_H
 
616
# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
 
617
#  include <memory.h>
 
618
# endif
 
619
# include <string.h>
 
620
#endif
 
621
#ifdef HAVE_STRINGS_H
 
622
# include <strings.h>
 
623
#endif
 
624
#ifdef HAVE_INTTYPES_H
 
625
# include <inttypes.h>
 
626
#endif
 
627
#ifdef HAVE_STDINT_H
 
628
# include <stdint.h>
 
629
#endif
 
630
#ifdef HAVE_UNISTD_H
 
631
# include <unistd.h>
 
632
#endif"
 
633
 
 
634
ac_subst_vars='am__EXEEXT_FALSE
 
635
am__EXEEXT_TRUE
 
636
LTLIBOBJS
 
637
LIBOBJS
 
638
GTK_DOC_USE_REBASE_FALSE
 
639
GTK_DOC_USE_REBASE_TRUE
 
640
GTK_DOC_USE_LIBTOOL_FALSE
 
641
GTK_DOC_USE_LIBTOOL_TRUE
 
642
GTK_DOC_BUILD_PDF_FALSE
 
643
GTK_DOC_BUILD_PDF_TRUE
 
644
GTK_DOC_BUILD_HTML_FALSE
 
645
GTK_DOC_BUILD_HTML_TRUE
 
646
ENABLE_GTK_DOC_FALSE
 
647
ENABLE_GTK_DOC_TRUE
 
648
HAVE_GTK_DOC_FALSE
 
649
HAVE_GTK_DOC_TRUE
 
650
GTKDOC_DEPS_LIBS
 
651
GTKDOC_DEPS_CFLAGS
 
652
HTML_DIR
 
653
GTKDOC_MKPDF
 
654
GTKDOC_REBASE
 
655
GTKDOC_CHECK_PATH
 
656
GTKDOC_CHECK
 
657
DBIND_ALIGNOF_DBIND_STRUCT
 
658
DBIND_ALIGNOF_DBIND_POINTER
 
659
DBIND_ALIGNOF_DOUBLE
 
660
DBIND_ALIGNOF_DBUS_INT64_T
 
661
DBIND_ALIGNOF_DBUS_INT32_T
 
662
DBIND_ALIGNOF_DBUS_INT16_T
 
663
DBIND_ALIGNOF_DBUS_BOOL_T
 
664
DBIND_ALIGNOF_CHAR
 
665
LIBTOOL_EXPORT_OPTIONS
 
666
HAVE_INTROSPECTION_FALSE
 
667
HAVE_INTROSPECTION_TRUE
 
668
INTROSPECTION_MAKEFILE
 
669
INTROSPECTION_LIBS
 
670
INTROSPECTION_CFLAGS
 
671
INTROSPECTION_TYPELIBDIR
 
672
INTROSPECTION_GIRDIR
 
673
INTROSPECTION_GENERATE
 
674
INTROSPECTION_COMPILER
 
675
INTROSPECTION_SCANNER
 
676
GLIB_MKENUMS
 
677
DBUS_SERVICES_DIR
 
678
DBUS_DAEMON
 
679
XEVIE_LIBS
 
680
XINPUT_LIBS
 
681
XTST_LIBS
 
682
HAVE_X11
 
683
USE_X11_FALSE
 
684
USE_X11_TRUE
 
685
X_EXTRA_LIBS
 
686
X_LIBS
 
687
X_PRE_LIBS
 
688
X_CFLAGS
 
689
XMKMF
 
690
DL_LIBS
 
691
GIO_LIBS
 
692
GIO_CFLAGS
 
693
GOBJ_LIBS
 
694
GOBJ_CFLAGS
 
695
GLIB_LIBS
 
696
GLIB_CFLAGS
 
697
DBUS_LIBS
 
698
DBUS_CFLAGS
 
699
GETTEXT_PACKAGE
 
700
DATADIRNAME
 
701
ALL_LINGUAS
 
702
INTLTOOL_PERL
 
703
GMSGFMT
 
704
MSGFMT
 
705
MSGMERGE
 
706
XGETTEXT
 
707
INTLTOOL_POLICY_RULE
 
708
INTLTOOL_SERVICE_RULE
 
709
INTLTOOL_THEME_RULE
 
710
INTLTOOL_SCHEMAS_RULE
 
711
INTLTOOL_CAVES_RULE
 
712
INTLTOOL_XML_NOMERGE_RULE
 
713
INTLTOOL_XML_RULE
 
714
INTLTOOL_KBD_RULE
 
715
INTLTOOL_XAM_RULE
 
716
INTLTOOL_UI_RULE
 
717
INTLTOOL_SOUNDLIST_RULE
 
718
INTLTOOL_SHEET_RULE
 
719
INTLTOOL_SERVER_RULE
 
720
INTLTOOL_PONG_RULE
 
721
INTLTOOL_OAF_RULE
 
722
INTLTOOL_PROP_RULE
 
723
INTLTOOL_KEYS_RULE
 
724
INTLTOOL_DIRECTORY_RULE
 
725
INTLTOOL_DESKTOP_RULE
 
726
intltool__v_merge_options_0
 
727
intltool__v_merge_options_
 
728
INTLTOOL_V_MERGE_OPTIONS
 
729
INTLTOOL__v_MERGE_0
 
730
INTLTOOL__v_MERGE_
 
731
INTLTOOL_V_MERGE
 
732
INTLTOOL_EXTRACT
 
733
INTLTOOL_MERGE
 
734
INTLTOOL_UPDATE
 
735
USE_NLS
 
736
PKG_CONFIG_LIBDIR
 
737
PKG_CONFIG_PATH
 
738
PKG_CONFIG
 
739
CPP
 
740
OTOOL64
 
741
OTOOL
 
742
LIPO
 
743
NMEDIT
 
744
DSYMUTIL
 
745
MANIFEST_TOOL
 
746
RANLIB
 
747
ac_ct_AR
 
748
AR
 
749
DLLTOOL
 
750
OBJDUMP
 
751
LN_S
 
752
NM
 
753
ac_ct_DUMPBIN
 
754
DUMPBIN
 
755
LD
 
756
FGREP
 
757
EGREP
 
758
GREP
 
759
SED
 
760
host_os
 
761
host_vendor
 
762
host_cpu
 
763
host
 
764
build_os
 
765
build_vendor
 
766
build_cpu
 
767
build
 
768
LIBTOOL
 
769
am__fastdepCC_FALSE
 
770
am__fastdepCC_TRUE
 
771
CCDEPMODE
 
772
am__nodep
 
773
AMDEPBACKSLASH
 
774
AMDEP_FALSE
 
775
AMDEP_TRUE
 
776
am__quote
 
777
am__include
 
778
DEPDIR
 
779
OBJEXT
 
780
EXEEXT
 
781
ac_ct_CC
 
782
CPPFLAGS
 
783
LDFLAGS
 
784
CFLAGS
 
785
CC
 
786
AM_BACKSLASH
 
787
AM_DEFAULT_VERBOSITY
 
788
AM_DEFAULT_V
 
789
AM_V
 
790
am__untar
 
791
am__tar
 
792
AMTAR
 
793
am__leading_dot
 
794
SET_MAKE
 
795
AWK
 
796
mkdir_p
 
797
MKDIR_P
 
798
INSTALL_STRIP_PROGRAM
 
799
STRIP
 
800
install_sh
 
801
MAKEINFO
 
802
AUTOHEADER
 
803
AUTOMAKE
 
804
AUTOCONF
 
805
ACLOCAL
 
806
VERSION
 
807
PACKAGE
 
808
CYGPATH_W
 
809
am__isrc
 
810
INSTALL_DATA
 
811
INSTALL_SCRIPT
 
812
INSTALL_PROGRAM
 
813
LT_AGE
 
814
LT_REVISION
 
815
LT_CURRENT
 
816
LT_RELEASE
 
817
LT_VERSION_INFO
 
818
AT_SPI_CORE_VERSION
 
819
target_alias
 
820
host_alias
 
821
build_alias
 
822
LIBS
 
823
ECHO_T
 
824
ECHO_N
 
825
ECHO_C
 
826
DEFS
 
827
mandir
 
828
localedir
 
829
libdir
 
830
psdir
 
831
pdfdir
 
832
dvidir
 
833
htmldir
 
834
infodir
 
835
docdir
 
836
oldincludedir
 
837
includedir
 
838
localstatedir
 
839
sharedstatedir
 
840
sysconfdir
 
841
datadir
 
842
datarootdir
 
843
libexecdir
 
844
sbindir
 
845
bindir
 
846
program_transform_name
 
847
prefix
 
848
exec_prefix
 
849
PACKAGE_URL
 
850
PACKAGE_BUGREPORT
 
851
PACKAGE_STRING
 
852
PACKAGE_VERSION
 
853
PACKAGE_TARNAME
 
854
PACKAGE_NAME
 
855
PATH_SEPARATOR
 
856
SHELL'
 
857
ac_subst_files=''
 
858
ac_user_opts='
 
859
enable_option_checking
 
860
enable_silent_rules
 
861
enable_dependency_tracking
 
862
enable_static
 
863
enable_shared
 
864
with_pic
 
865
enable_fast_install
 
866
with_gnu_ld
 
867
with_sysroot
 
868
enable_libtool_lock
 
869
enable_nls
 
870
with_x
 
871
enable_x11
 
872
enable_xevie
 
873
with_dbus_daemondir
 
874
with_dbus_services
 
875
enable_introspection
 
876
with_html_dir
 
877
enable_gtk_doc
 
878
enable_gtk_doc_html
 
879
enable_gtk_doc_pdf
 
880
'
 
881
      ac_precious_vars='build_alias
 
882
host_alias
 
883
target_alias
 
884
CC
 
885
CFLAGS
 
886
LDFLAGS
 
887
LIBS
 
888
CPPFLAGS
 
889
CPP
 
890
PKG_CONFIG
 
891
PKG_CONFIG_PATH
 
892
PKG_CONFIG_LIBDIR
 
893
DBUS_CFLAGS
 
894
DBUS_LIBS
 
895
GLIB_CFLAGS
 
896
GLIB_LIBS
 
897
GOBJ_CFLAGS
 
898
GOBJ_LIBS
 
899
GIO_CFLAGS
 
900
GIO_LIBS
 
901
XMKMF
 
902
GTKDOC_DEPS_CFLAGS
 
903
GTKDOC_DEPS_LIBS'
 
904
 
 
905
 
 
906
# Initialize some variables set by options.
 
907
ac_init_help=
 
908
ac_init_version=false
 
909
ac_unrecognized_opts=
 
910
ac_unrecognized_sep=
 
911
# The variables have the same names as the options, with
 
912
# dashes changed to underlines.
 
913
cache_file=/dev/null
 
914
exec_prefix=NONE
 
915
no_create=
 
916
no_recursion=
 
917
prefix=NONE
 
918
program_prefix=NONE
 
919
program_suffix=NONE
 
920
program_transform_name=s,x,x,
 
921
silent=
 
922
site=
 
923
srcdir=
 
924
verbose=
 
925
x_includes=NONE
 
926
x_libraries=NONE
 
927
 
 
928
# Installation directory options.
 
929
# These are left unexpanded so users can "make install exec_prefix=/foo"
 
930
# and all the variables that are supposed to be based on exec_prefix
 
931
# by default will actually change.
 
932
# Use braces instead of parens because sh, perl, etc. also accept them.
 
933
# (The list follows the same order as the GNU Coding Standards.)
 
934
bindir='${exec_prefix}/bin'
 
935
sbindir='${exec_prefix}/sbin'
 
936
libexecdir='${exec_prefix}/libexec'
 
937
datarootdir='${prefix}/share'
 
938
datadir='${datarootdir}'
 
939
sysconfdir='${prefix}/etc'
 
940
sharedstatedir='${prefix}/com'
 
941
localstatedir='${prefix}/var'
 
942
includedir='${prefix}/include'
 
943
oldincludedir='/usr/include'
 
944
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
 
945
infodir='${datarootdir}/info'
 
946
htmldir='${docdir}'
 
947
dvidir='${docdir}'
 
948
pdfdir='${docdir}'
 
949
psdir='${docdir}'
 
950
libdir='${exec_prefix}/lib'
 
951
localedir='${datarootdir}/locale'
 
952
mandir='${datarootdir}/man'
 
953
 
 
954
ac_prev=
 
955
ac_dashdash=
 
956
for ac_option
 
957
do
 
958
  # If the previous option needs an argument, assign it.
 
959
  if test -n "$ac_prev"; then
 
960
    eval $ac_prev=\$ac_option
 
961
    ac_prev=
 
962
    continue
 
963
  fi
 
964
 
 
965
  case $ac_option in
 
966
  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
 
967
  *=)   ac_optarg= ;;
 
968
  *)    ac_optarg=yes ;;
 
969
  esac
 
970
 
 
971
  # Accept the important Cygnus configure options, so we can diagnose typos.
 
972
 
 
973
  case $ac_dashdash$ac_option in
 
974
  --)
 
975
    ac_dashdash=yes ;;
 
976
 
 
977
  -bindir | --bindir | --bindi | --bind | --bin | --bi)
 
978
    ac_prev=bindir ;;
 
979
  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
 
980
    bindir=$ac_optarg ;;
 
981
 
 
982
  -build | --build | --buil | --bui | --bu)
 
983
    ac_prev=build_alias ;;
 
984
  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
 
985
    build_alias=$ac_optarg ;;
 
986
 
 
987
  -cache-file | --cache-file | --cache-fil | --cache-fi \
 
988
  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
 
989
    ac_prev=cache_file ;;
 
990
  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
 
991
  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
 
992
    cache_file=$ac_optarg ;;
 
993
 
 
994
  --config-cache | -C)
 
995
    cache_file=config.cache ;;
 
996
 
 
997
  -datadir | --datadir | --datadi | --datad)
 
998
    ac_prev=datadir ;;
 
999
  -datadir=* | --datadir=* | --datadi=* | --datad=*)
 
1000
    datadir=$ac_optarg ;;
 
1001
 
 
1002
  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
 
1003
  | --dataroo | --dataro | --datar)
 
1004
    ac_prev=datarootdir ;;
 
1005
  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
 
1006
  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
 
1007
    datarootdir=$ac_optarg ;;
 
1008
 
 
1009
  -disable-* | --disable-*)
 
1010
    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
 
1011
    # Reject names that are not valid shell variable names.
 
1012
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 
1013
      as_fn_error $? "invalid feature name: $ac_useropt"
 
1014
    ac_useropt_orig=$ac_useropt
 
1015
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 
1016
    case $ac_user_opts in
 
1017
      *"
 
1018
"enable_$ac_useropt"
 
1019
"*) ;;
 
1020
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
 
1021
         ac_unrecognized_sep=', ';;
 
1022
    esac
 
1023
    eval enable_$ac_useropt=no ;;
 
1024
 
 
1025
  -docdir | --docdir | --docdi | --doc | --do)
 
1026
    ac_prev=docdir ;;
 
1027
  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
 
1028
    docdir=$ac_optarg ;;
 
1029
 
 
1030
  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
 
1031
    ac_prev=dvidir ;;
 
1032
  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
 
1033
    dvidir=$ac_optarg ;;
 
1034
 
 
1035
  -enable-* | --enable-*)
 
1036
    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
 
1037
    # Reject names that are not valid shell variable names.
 
1038
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 
1039
      as_fn_error $? "invalid feature name: $ac_useropt"
 
1040
    ac_useropt_orig=$ac_useropt
 
1041
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 
1042
    case $ac_user_opts in
 
1043
      *"
 
1044
"enable_$ac_useropt"
 
1045
"*) ;;
 
1046
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
 
1047
         ac_unrecognized_sep=', ';;
 
1048
    esac
 
1049
    eval enable_$ac_useropt=\$ac_optarg ;;
 
1050
 
 
1051
  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
 
1052
  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
 
1053
  | --exec | --exe | --ex)
 
1054
    ac_prev=exec_prefix ;;
 
1055
  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
 
1056
  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
 
1057
  | --exec=* | --exe=* | --ex=*)
 
1058
    exec_prefix=$ac_optarg ;;
 
1059
 
 
1060
  -gas | --gas | --ga | --g)
 
1061
    # Obsolete; use --with-gas.
 
1062
    with_gas=yes ;;
 
1063
 
 
1064
  -help | --help | --hel | --he | -h)
 
1065
    ac_init_help=long ;;
 
1066
  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
 
1067
    ac_init_help=recursive ;;
 
1068
  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
 
1069
    ac_init_help=short ;;
 
1070
 
 
1071
  -host | --host | --hos | --ho)
 
1072
    ac_prev=host_alias ;;
 
1073
  -host=* | --host=* | --hos=* | --ho=*)
 
1074
    host_alias=$ac_optarg ;;
 
1075
 
 
1076
  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
 
1077
    ac_prev=htmldir ;;
 
1078
  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
 
1079
  | --ht=*)
 
1080
    htmldir=$ac_optarg ;;
 
1081
 
 
1082
  -includedir | --includedir | --includedi | --included | --include \
 
1083
  | --includ | --inclu | --incl | --inc)
 
1084
    ac_prev=includedir ;;
 
1085
  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
 
1086
  | --includ=* | --inclu=* | --incl=* | --inc=*)
 
1087
    includedir=$ac_optarg ;;
 
1088
 
 
1089
  -infodir | --infodir | --infodi | --infod | --info | --inf)
 
1090
    ac_prev=infodir ;;
 
1091
  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
 
1092
    infodir=$ac_optarg ;;
 
1093
 
 
1094
  -libdir | --libdir | --libdi | --libd)
 
1095
    ac_prev=libdir ;;
 
1096
  -libdir=* | --libdir=* | --libdi=* | --libd=*)
 
1097
    libdir=$ac_optarg ;;
 
1098
 
 
1099
  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
 
1100
  | --libexe | --libex | --libe)
 
1101
    ac_prev=libexecdir ;;
 
1102
  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
 
1103
  | --libexe=* | --libex=* | --libe=*)
 
1104
    libexecdir=$ac_optarg ;;
 
1105
 
 
1106
  -localedir | --localedir | --localedi | --localed | --locale)
 
1107
    ac_prev=localedir ;;
 
1108
  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
 
1109
    localedir=$ac_optarg ;;
 
1110
 
 
1111
  -localstatedir | --localstatedir | --localstatedi | --localstated \
 
1112
  | --localstate | --localstat | --localsta | --localst | --locals)
 
1113
    ac_prev=localstatedir ;;
 
1114
  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
 
1115
  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
 
1116
    localstatedir=$ac_optarg ;;
 
1117
 
 
1118
  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
 
1119
    ac_prev=mandir ;;
 
1120
  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
 
1121
    mandir=$ac_optarg ;;
 
1122
 
 
1123
  -nfp | --nfp | --nf)
 
1124
    # Obsolete; use --without-fp.
 
1125
    with_fp=no ;;
 
1126
 
 
1127
  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
 
1128
  | --no-cr | --no-c | -n)
 
1129
    no_create=yes ;;
 
1130
 
 
1131
  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
 
1132
  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
 
1133
    no_recursion=yes ;;
 
1134
 
 
1135
  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
 
1136
  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
 
1137
  | --oldin | --oldi | --old | --ol | --o)
 
1138
    ac_prev=oldincludedir ;;
 
1139
  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
 
1140
  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
 
1141
  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
 
1142
    oldincludedir=$ac_optarg ;;
 
1143
 
 
1144
  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
 
1145
    ac_prev=prefix ;;
 
1146
  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
 
1147
    prefix=$ac_optarg ;;
 
1148
 
 
1149
  -program-prefix | --program-prefix | --program-prefi | --program-pref \
 
1150
  | --program-pre | --program-pr | --program-p)
 
1151
    ac_prev=program_prefix ;;
 
1152
  -program-prefix=* | --program-prefix=* | --program-prefi=* \
 
1153
  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
 
1154
    program_prefix=$ac_optarg ;;
 
1155
 
 
1156
  -program-suffix | --program-suffix | --program-suffi | --program-suff \
 
1157
  | --program-suf | --program-su | --program-s)
 
1158
    ac_prev=program_suffix ;;
 
1159
  -program-suffix=* | --program-suffix=* | --program-suffi=* \
 
1160
  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
 
1161
    program_suffix=$ac_optarg ;;
 
1162
 
 
1163
  -program-transform-name | --program-transform-name \
 
1164
  | --program-transform-nam | --program-transform-na \
 
1165
  | --program-transform-n | --program-transform- \
 
1166
  | --program-transform | --program-transfor \
 
1167
  | --program-transfo | --program-transf \
 
1168
  | --program-trans | --program-tran \
 
1169
  | --progr-tra | --program-tr | --program-t)
 
1170
    ac_prev=program_transform_name ;;
 
1171
  -program-transform-name=* | --program-transform-name=* \
 
1172
  | --program-transform-nam=* | --program-transform-na=* \
 
1173
  | --program-transform-n=* | --program-transform-=* \
 
1174
  | --program-transform=* | --program-transfor=* \
 
1175
  | --program-transfo=* | --program-transf=* \
 
1176
  | --program-trans=* | --program-tran=* \
 
1177
  | --progr-tra=* | --program-tr=* | --program-t=*)
 
1178
    program_transform_name=$ac_optarg ;;
 
1179
 
 
1180
  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
 
1181
    ac_prev=pdfdir ;;
 
1182
  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
 
1183
    pdfdir=$ac_optarg ;;
 
1184
 
 
1185
  -psdir | --psdir | --psdi | --psd | --ps)
 
1186
    ac_prev=psdir ;;
 
1187
  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
 
1188
    psdir=$ac_optarg ;;
 
1189
 
 
1190
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
 
1191
  | -silent | --silent | --silen | --sile | --sil)
 
1192
    silent=yes ;;
 
1193
 
 
1194
  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
 
1195
    ac_prev=sbindir ;;
 
1196
  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
 
1197
  | --sbi=* | --sb=*)
 
1198
    sbindir=$ac_optarg ;;
 
1199
 
 
1200
  -sharedstatedir | --sharedstatedir | --sharedstatedi \
 
1201
  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
 
1202
  | --sharedst | --shareds | --shared | --share | --shar \
 
1203
  | --sha | --sh)
 
1204
    ac_prev=sharedstatedir ;;
 
1205
  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
 
1206
  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
 
1207
  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
 
1208
  | --sha=* | --sh=*)
 
1209
    sharedstatedir=$ac_optarg ;;
 
1210
 
 
1211
  -site | --site | --sit)
 
1212
    ac_prev=site ;;
 
1213
  -site=* | --site=* | --sit=*)
 
1214
    site=$ac_optarg ;;
 
1215
 
 
1216
  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
 
1217
    ac_prev=srcdir ;;
 
1218
  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
 
1219
    srcdir=$ac_optarg ;;
 
1220
 
 
1221
  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
 
1222
  | --syscon | --sysco | --sysc | --sys | --sy)
 
1223
    ac_prev=sysconfdir ;;
 
1224
  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
 
1225
  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
 
1226
    sysconfdir=$ac_optarg ;;
 
1227
 
 
1228
  -target | --target | --targe | --targ | --tar | --ta | --t)
 
1229
    ac_prev=target_alias ;;
 
1230
  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
 
1231
    target_alias=$ac_optarg ;;
 
1232
 
 
1233
  -v | -verbose | --verbose | --verbos | --verbo | --verb)
 
1234
    verbose=yes ;;
 
1235
 
 
1236
  -version | --version | --versio | --versi | --vers | -V)
 
1237
    ac_init_version=: ;;
 
1238
 
 
1239
  -with-* | --with-*)
 
1240
    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
 
1241
    # Reject names that are not valid shell variable names.
 
1242
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 
1243
      as_fn_error $? "invalid package name: $ac_useropt"
 
1244
    ac_useropt_orig=$ac_useropt
 
1245
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 
1246
    case $ac_user_opts in
 
1247
      *"
 
1248
"with_$ac_useropt"
 
1249
"*) ;;
 
1250
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
 
1251
         ac_unrecognized_sep=', ';;
 
1252
    esac
 
1253
    eval with_$ac_useropt=\$ac_optarg ;;
 
1254
 
 
1255
  -without-* | --without-*)
 
1256
    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
 
1257
    # Reject names that are not valid shell variable names.
 
1258
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 
1259
      as_fn_error $? "invalid package name: $ac_useropt"
 
1260
    ac_useropt_orig=$ac_useropt
 
1261
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 
1262
    case $ac_user_opts in
 
1263
      *"
 
1264
"with_$ac_useropt"
 
1265
"*) ;;
 
1266
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
 
1267
         ac_unrecognized_sep=', ';;
 
1268
    esac
 
1269
    eval with_$ac_useropt=no ;;
 
1270
 
 
1271
  --x)
 
1272
    # Obsolete; use --with-x.
 
1273
    with_x=yes ;;
 
1274
 
 
1275
  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
 
1276
  | --x-incl | --x-inc | --x-in | --x-i)
 
1277
    ac_prev=x_includes ;;
 
1278
  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
 
1279
  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
 
1280
    x_includes=$ac_optarg ;;
 
1281
 
 
1282
  -x-libraries | --x-libraries | --x-librarie | --x-librari \
 
1283
  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
 
1284
    ac_prev=x_libraries ;;
 
1285
  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
 
1286
  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
 
1287
    x_libraries=$ac_optarg ;;
 
1288
 
 
1289
  -*) as_fn_error $? "unrecognized option: \`$ac_option'
 
1290
Try \`$0 --help' for more information"
 
1291
    ;;
 
1292
 
 
1293
  *=*)
 
1294
    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
 
1295
    # Reject names that are not valid shell variable names.
 
1296
    case $ac_envvar in #(
 
1297
      '' | [0-9]* | *[!_$as_cr_alnum]* )
 
1298
      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
 
1299
    esac
 
1300
    eval $ac_envvar=\$ac_optarg
 
1301
    export $ac_envvar ;;
 
1302
 
 
1303
  *)
 
1304
    # FIXME: should be removed in autoconf 3.0.
 
1305
    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
 
1306
    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
 
1307
      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
 
1308
    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
 
1309
    ;;
 
1310
 
 
1311
  esac
 
1312
done
 
1313
 
 
1314
if test -n "$ac_prev"; then
 
1315
  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
 
1316
  as_fn_error $? "missing argument to $ac_option"
 
1317
fi
 
1318
 
 
1319
if test -n "$ac_unrecognized_opts"; then
 
1320
  case $enable_option_checking in
 
1321
    no) ;;
 
1322
    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
 
1323
    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
 
1324
  esac
 
1325
fi
 
1326
 
 
1327
# Check all directory arguments for consistency.
 
1328
for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
 
1329
                datadir sysconfdir sharedstatedir localstatedir includedir \
 
1330
                oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
 
1331
                libdir localedir mandir
 
1332
do
 
1333
  eval ac_val=\$$ac_var
 
1334
  # Remove trailing slashes.
 
1335
  case $ac_val in
 
1336
    */ )
 
1337
      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
 
1338
      eval $ac_var=\$ac_val;;
 
1339
  esac
 
1340
  # Be sure to have absolute directory names.
 
1341
  case $ac_val in
 
1342
    [\\/$]* | ?:[\\/]* )  continue;;
 
1343
    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
 
1344
  esac
 
1345
  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
 
1346
done
 
1347
 
 
1348
# There might be people who depend on the old broken behavior: `$host'
 
1349
# used to hold the argument of --host etc.
 
1350
# FIXME: To remove some day.
 
1351
build=$build_alias
 
1352
host=$host_alias
 
1353
target=$target_alias
 
1354
 
 
1355
# FIXME: To remove some day.
 
1356
if test "x$host_alias" != x; then
 
1357
  if test "x$build_alias" = x; then
 
1358
    cross_compiling=maybe
 
1359
  elif test "x$build_alias" != "x$host_alias"; then
 
1360
    cross_compiling=yes
 
1361
  fi
 
1362
fi
 
1363
 
 
1364
ac_tool_prefix=
 
1365
test -n "$host_alias" && ac_tool_prefix=$host_alias-
 
1366
 
 
1367
test "$silent" = yes && exec 6>/dev/null
 
1368
 
 
1369
 
 
1370
ac_pwd=`pwd` && test -n "$ac_pwd" &&
 
1371
ac_ls_di=`ls -di .` &&
 
1372
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
 
1373
  as_fn_error $? "working directory cannot be determined"
 
1374
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
 
1375
  as_fn_error $? "pwd does not report name of working directory"
 
1376
 
 
1377
 
 
1378
# Find the source files, if location was not specified.
 
1379
if test -z "$srcdir"; then
 
1380
  ac_srcdir_defaulted=yes
 
1381
  # Try the directory containing this script, then the parent directory.
 
1382
  ac_confdir=`$as_dirname -- "$as_myself" ||
 
1383
$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
1384
         X"$as_myself" : 'X\(//\)[^/]' \| \
 
1385
         X"$as_myself" : 'X\(//\)$' \| \
 
1386
         X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
 
1387
$as_echo X"$as_myself" |
 
1388
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
1389
            s//\1/
 
1390
            q
 
1391
          }
 
1392
          /^X\(\/\/\)[^/].*/{
 
1393
            s//\1/
 
1394
            q
 
1395
          }
 
1396
          /^X\(\/\/\)$/{
 
1397
            s//\1/
 
1398
            q
 
1399
          }
 
1400
          /^X\(\/\).*/{
 
1401
            s//\1/
 
1402
            q
 
1403
          }
 
1404
          s/.*/./; q'`
 
1405
  srcdir=$ac_confdir
 
1406
  if test ! -r "$srcdir/$ac_unique_file"; then
 
1407
    srcdir=..
 
1408
  fi
 
1409
else
 
1410
  ac_srcdir_defaulted=no
 
1411
fi
 
1412
if test ! -r "$srcdir/$ac_unique_file"; then
 
1413
  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
 
1414
  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
 
1415
fi
 
1416
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
 
1417
ac_abs_confdir=`(
 
1418
        cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
 
1419
        pwd)`
 
1420
# When building in place, set srcdir=.
 
1421
if test "$ac_abs_confdir" = "$ac_pwd"; then
 
1422
  srcdir=.
 
1423
fi
 
1424
# Remove unnecessary trailing slashes from srcdir.
 
1425
# Double slashes in file names in object file debugging info
 
1426
# mess up M-x gdb in Emacs.
 
1427
case $srcdir in
 
1428
*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
 
1429
esac
 
1430
for ac_var in $ac_precious_vars; do
 
1431
  eval ac_env_${ac_var}_set=\${${ac_var}+set}
 
1432
  eval ac_env_${ac_var}_value=\$${ac_var}
 
1433
  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
 
1434
  eval ac_cv_env_${ac_var}_value=\$${ac_var}
 
1435
done
 
1436
 
 
1437
#
 
1438
# Report the --help message.
 
1439
#
 
1440
if test "$ac_init_help" = "long"; then
 
1441
  # Omit some internal or obsolete options to make the list less imposing.
 
1442
  # This message is too long to be a string in the A/UX 3.1 sh.
 
1443
  cat <<_ACEOF
 
1444
\`configure' configures at-spi2-core 2.18.3 to adapt to many kinds of systems.
 
1445
 
 
1446
Usage: $0 [OPTION]... [VAR=VALUE]...
 
1447
 
 
1448
To assign environment variables (e.g., CC, CFLAGS...), specify them as
 
1449
VAR=VALUE.  See below for descriptions of some of the useful variables.
 
1450
 
 
1451
Defaults for the options are specified in brackets.
 
1452
 
 
1453
Configuration:
 
1454
  -h, --help              display this help and exit
 
1455
      --help=short        display options specific to this package
 
1456
      --help=recursive    display the short help of all the included packages
 
1457
  -V, --version           display version information and exit
 
1458
  -q, --quiet, --silent   do not print \`checking ...' messages
 
1459
      --cache-file=FILE   cache test results in FILE [disabled]
 
1460
  -C, --config-cache      alias for \`--cache-file=config.cache'
 
1461
  -n, --no-create         do not create output files
 
1462
      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
 
1463
 
 
1464
Installation directories:
 
1465
  --prefix=PREFIX         install architecture-independent files in PREFIX
 
1466
                          [$ac_default_prefix]
 
1467
  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
 
1468
                          [PREFIX]
 
1469
 
 
1470
By default, \`make install' will install all the files in
 
1471
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
 
1472
an installation prefix other than \`$ac_default_prefix' using \`--prefix',
 
1473
for instance \`--prefix=\$HOME'.
 
1474
 
 
1475
For better control, use the options below.
 
1476
 
 
1477
Fine tuning of the installation directories:
 
1478
  --bindir=DIR            user executables [EPREFIX/bin]
 
1479
  --sbindir=DIR           system admin executables [EPREFIX/sbin]
 
1480
  --libexecdir=DIR        program executables [EPREFIX/libexec]
 
1481
  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
 
1482
  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
 
1483
  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
 
1484
  --libdir=DIR            object code libraries [EPREFIX/lib]
 
1485
  --includedir=DIR        C header files [PREFIX/include]
 
1486
  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
 
1487
  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
 
1488
  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
 
1489
  --infodir=DIR           info documentation [DATAROOTDIR/info]
 
1490
  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
 
1491
  --mandir=DIR            man documentation [DATAROOTDIR/man]
 
1492
  --docdir=DIR            documentation root [DATAROOTDIR/doc/at-spi2-core]
 
1493
  --htmldir=DIR           html documentation [DOCDIR]
 
1494
  --dvidir=DIR            dvi documentation [DOCDIR]
 
1495
  --pdfdir=DIR            pdf documentation [DOCDIR]
 
1496
  --psdir=DIR             ps documentation [DOCDIR]
 
1497
_ACEOF
 
1498
 
 
1499
  cat <<\_ACEOF
 
1500
 
 
1501
Program names:
 
1502
  --program-prefix=PREFIX            prepend PREFIX to installed program names
 
1503
  --program-suffix=SUFFIX            append SUFFIX to installed program names
 
1504
  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
 
1505
 
 
1506
X features:
 
1507
  --x-includes=DIR    X include files are in DIR
 
1508
  --x-libraries=DIR   X library files are in DIR
 
1509
 
 
1510
System types:
 
1511
  --build=BUILD     configure for building on BUILD [guessed]
 
1512
  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
 
1513
_ACEOF
 
1514
fi
 
1515
 
 
1516
if test -n "$ac_init_help"; then
 
1517
  case $ac_init_help in
 
1518
     short | recursive ) echo "Configuration of at-spi2-core 2.18.3:";;
 
1519
   esac
 
1520
  cat <<\_ACEOF
 
1521
 
 
1522
Optional Features:
 
1523
  --disable-option-checking  ignore unrecognized --enable/--with options
 
1524
  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
 
1525
  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
 
1526
  --enable-silent-rules   less verbose build output (undo: "make V=1")
 
1527
  --disable-silent-rules  verbose build output (undo: "make V=0")
 
1528
  --enable-dependency-tracking
 
1529
                          do not reject slow dependency extractors
 
1530
  --disable-dependency-tracking
 
1531
                          speeds up one-time build
 
1532
  --enable-static[=PKGS]  build static libraries [default=no]
 
1533
  --enable-shared[=PKGS]  build shared libraries [default=yes]
 
1534
  --enable-fast-install[=PKGS]
 
1535
                          optimize for fast installation [default=yes]
 
1536
  --disable-libtool-lock  avoid locking (might break parallel builds)
 
1537
  --disable-nls           do not use Native Language Support
 
1538
  --disable-x11           disable the X11 backend
 
1539
  --enable-xevie          Build with XEViE support [default=yes]
 
1540
  --enable-introspection=[no/auto/yes]
 
1541
                          Enable introspection for this build
 
1542
  --enable-gtk-doc        use gtk-doc to build documentation [[default=no]]
 
1543
  --enable-gtk-doc-html   build documentation in html format [[default=yes]]
 
1544
  --enable-gtk-doc-pdf    build documentation in pdf format [[default=no]]
 
1545
 
 
1546
Optional Packages:
 
1547
  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
 
1548
  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
 
1549
  --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
 
1550
                          both]
 
1551
  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
 
1552
  --with-sysroot=DIR Search for dependent libraries within DIR
 
1553
                        (or the compiler's sysroot if not specified).
 
1554
  --with-x                use the X Window System
 
1555
  --with-dbus-daemondir=<directory>
 
1556
                          Directory where the DBUS daemon is installed
 
1557
  --with-dbus-services=<directory>
 
1558
                          where D-BUS services directory is
 
1559
  --with-html-dir=PATH    path to installed docs
 
1560
 
 
1561
Some influential environment variables:
 
1562
  CC          C compiler command
 
1563
  CFLAGS      C compiler flags
 
1564
  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
 
1565
              nonstandard directory <lib dir>
 
1566
  LIBS        libraries to pass to the linker, e.g. -l<library>
 
1567
  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
 
1568
              you have headers in a nonstandard directory <include dir>
 
1569
  CPP         C preprocessor
 
1570
  PKG_CONFIG  path to pkg-config utility
 
1571
  PKG_CONFIG_PATH
 
1572
              directories to add to pkg-config's search path
 
1573
  PKG_CONFIG_LIBDIR
 
1574
              path overriding pkg-config's built-in search path
 
1575
  DBUS_CFLAGS C compiler flags for DBUS, overriding pkg-config
 
1576
  DBUS_LIBS   linker flags for DBUS, overriding pkg-config
 
1577
  GLIB_CFLAGS C compiler flags for GLIB, overriding pkg-config
 
1578
  GLIB_LIBS   linker flags for GLIB, overriding pkg-config
 
1579
  GOBJ_CFLAGS C compiler flags for GOBJ, overriding pkg-config
 
1580
  GOBJ_LIBS   linker flags for GOBJ, overriding pkg-config
 
1581
  GIO_CFLAGS  C compiler flags for GIO, overriding pkg-config
 
1582
  GIO_LIBS    linker flags for GIO, overriding pkg-config
 
1583
  XMKMF       Path to xmkmf, Makefile generator for X Window System
 
1584
  GTKDOC_DEPS_CFLAGS
 
1585
              C compiler flags for GTKDOC_DEPS, overriding pkg-config
 
1586
  GTKDOC_DEPS_LIBS
 
1587
              linker flags for GTKDOC_DEPS, overriding pkg-config
 
1588
 
 
1589
Use these variables to override the choices made by `configure' or to help
 
1590
it to find libraries and programs with nonstandard names/locations.
 
1591
 
 
1592
Report bugs to <accessibility-atspi@lists.linux-foundation.org>.
 
1593
_ACEOF
 
1594
ac_status=$?
 
1595
fi
 
1596
 
 
1597
if test "$ac_init_help" = "recursive"; then
 
1598
  # If there are subdirs, report their specific --help.
 
1599
  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
 
1600
    test -d "$ac_dir" ||
 
1601
      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
 
1602
      continue
 
1603
    ac_builddir=.
 
1604
 
 
1605
case "$ac_dir" in
 
1606
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
1607
*)
 
1608
  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
 
1609
  # A ".." for each directory in $ac_dir_suffix.
 
1610
  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
 
1611
  case $ac_top_builddir_sub in
 
1612
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
1613
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
 
1614
  esac ;;
 
1615
esac
 
1616
ac_abs_top_builddir=$ac_pwd
 
1617
ac_abs_builddir=$ac_pwd$ac_dir_suffix
 
1618
# for backward compatibility:
 
1619
ac_top_builddir=$ac_top_build_prefix
 
1620
 
 
1621
case $srcdir in
 
1622
  .)  # We are building in place.
 
1623
    ac_srcdir=.
 
1624
    ac_top_srcdir=$ac_top_builddir_sub
 
1625
    ac_abs_top_srcdir=$ac_pwd ;;
 
1626
  [\\/]* | ?:[\\/]* )  # Absolute name.
 
1627
    ac_srcdir=$srcdir$ac_dir_suffix;
 
1628
    ac_top_srcdir=$srcdir
 
1629
    ac_abs_top_srcdir=$srcdir ;;
 
1630
  *) # Relative name.
 
1631
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
 
1632
    ac_top_srcdir=$ac_top_build_prefix$srcdir
 
1633
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
 
1634
esac
 
1635
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
 
1636
 
 
1637
    cd "$ac_dir" || { ac_status=$?; continue; }
 
1638
    # Check for guested configure.
 
1639
    if test -f "$ac_srcdir/configure.gnu"; then
 
1640
      echo &&
 
1641
      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
 
1642
    elif test -f "$ac_srcdir/configure"; then
 
1643
      echo &&
 
1644
      $SHELL "$ac_srcdir/configure" --help=recursive
 
1645
    else
 
1646
      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
 
1647
    fi || ac_status=$?
 
1648
    cd "$ac_pwd" || { ac_status=$?; break; }
 
1649
  done
 
1650
fi
 
1651
 
 
1652
test -n "$ac_init_help" && exit $ac_status
 
1653
if $ac_init_version; then
 
1654
  cat <<\_ACEOF
 
1655
at-spi2-core configure 2.18.3
 
1656
generated by GNU Autoconf 2.69
 
1657
 
 
1658
Copyright (C) 2012 Free Software Foundation, Inc.
 
1659
This configure script is free software; the Free Software Foundation
 
1660
gives unlimited permission to copy, distribute and modify it.
 
1661
_ACEOF
 
1662
  exit
 
1663
fi
 
1664
 
 
1665
## ------------------------ ##
 
1666
## Autoconf initialization. ##
 
1667
## ------------------------ ##
 
1668
 
 
1669
# ac_fn_c_try_compile LINENO
 
1670
# --------------------------
 
1671
# Try to compile conftest.$ac_ext, and return whether this succeeded.
 
1672
ac_fn_c_try_compile ()
 
1673
{
 
1674
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1675
  rm -f conftest.$ac_objext
 
1676
  if { { ac_try="$ac_compile"
 
1677
case "(($ac_try" in
 
1678
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1679
  *) ac_try_echo=$ac_try;;
 
1680
esac
 
1681
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1682
$as_echo "$ac_try_echo"; } >&5
 
1683
  (eval "$ac_compile") 2>conftest.err
 
1684
  ac_status=$?
 
1685
  if test -s conftest.err; then
 
1686
    grep -v '^ *+' conftest.err >conftest.er1
 
1687
    cat conftest.er1 >&5
 
1688
    mv -f conftest.er1 conftest.err
 
1689
  fi
 
1690
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1691
  test $ac_status = 0; } && {
 
1692
         test -z "$ac_c_werror_flag" ||
 
1693
         test ! -s conftest.err
 
1694
       } && test -s conftest.$ac_objext; then :
 
1695
  ac_retval=0
 
1696
else
 
1697
  $as_echo "$as_me: failed program was:" >&5
 
1698
sed 's/^/| /' conftest.$ac_ext >&5
 
1699
 
 
1700
        ac_retval=1
 
1701
fi
 
1702
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 
1703
  as_fn_set_status $ac_retval
 
1704
 
 
1705
} # ac_fn_c_try_compile
 
1706
 
 
1707
# ac_fn_c_try_link LINENO
 
1708
# -----------------------
 
1709
# Try to link conftest.$ac_ext, and return whether this succeeded.
 
1710
ac_fn_c_try_link ()
 
1711
{
 
1712
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1713
  rm -f conftest.$ac_objext conftest$ac_exeext
 
1714
  if { { ac_try="$ac_link"
 
1715
case "(($ac_try" in
 
1716
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1717
  *) ac_try_echo=$ac_try;;
 
1718
esac
 
1719
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1720
$as_echo "$ac_try_echo"; } >&5
 
1721
  (eval "$ac_link") 2>conftest.err
 
1722
  ac_status=$?
 
1723
  if test -s conftest.err; then
 
1724
    grep -v '^ *+' conftest.err >conftest.er1
 
1725
    cat conftest.er1 >&5
 
1726
    mv -f conftest.er1 conftest.err
 
1727
  fi
 
1728
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1729
  test $ac_status = 0; } && {
 
1730
         test -z "$ac_c_werror_flag" ||
 
1731
         test ! -s conftest.err
 
1732
       } && test -s conftest$ac_exeext && {
 
1733
         test "$cross_compiling" = yes ||
 
1734
         test -x conftest$ac_exeext
 
1735
       }; then :
 
1736
  ac_retval=0
 
1737
else
 
1738
  $as_echo "$as_me: failed program was:" >&5
 
1739
sed 's/^/| /' conftest.$ac_ext >&5
 
1740
 
 
1741
        ac_retval=1
 
1742
fi
 
1743
  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
 
1744
  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
 
1745
  # interfere with the next link command; also delete a directory that is
 
1746
  # left behind by Apple's compiler.  We do this before executing the actions.
 
1747
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
 
1748
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 
1749
  as_fn_set_status $ac_retval
 
1750
 
 
1751
} # ac_fn_c_try_link
 
1752
 
 
1753
# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
 
1754
# -------------------------------------------------------
 
1755
# Tests whether HEADER exists and can be compiled using the include files in
 
1756
# INCLUDES, setting the cache variable VAR accordingly.
 
1757
ac_fn_c_check_header_compile ()
 
1758
{
 
1759
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1760
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 
1761
$as_echo_n "checking for $2... " >&6; }
 
1762
if eval \${$3+:} false; then :
 
1763
  $as_echo_n "(cached) " >&6
 
1764
else
 
1765
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
1766
/* end confdefs.h.  */
 
1767
$4
 
1768
#include <$2>
 
1769
_ACEOF
 
1770
if ac_fn_c_try_compile "$LINENO"; then :
 
1771
  eval "$3=yes"
 
1772
else
 
1773
  eval "$3=no"
 
1774
fi
 
1775
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
1776
fi
 
1777
eval ac_res=\$$3
 
1778
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
1779
$as_echo "$ac_res" >&6; }
 
1780
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 
1781
 
 
1782
} # ac_fn_c_check_header_compile
 
1783
 
 
1784
# ac_fn_c_try_cpp LINENO
 
1785
# ----------------------
 
1786
# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
 
1787
ac_fn_c_try_cpp ()
 
1788
{
 
1789
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1790
  if { { ac_try="$ac_cpp conftest.$ac_ext"
 
1791
case "(($ac_try" in
 
1792
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1793
  *) ac_try_echo=$ac_try;;
 
1794
esac
 
1795
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1796
$as_echo "$ac_try_echo"; } >&5
 
1797
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
 
1798
  ac_status=$?
 
1799
  if test -s conftest.err; then
 
1800
    grep -v '^ *+' conftest.err >conftest.er1
 
1801
    cat conftest.er1 >&5
 
1802
    mv -f conftest.er1 conftest.err
 
1803
  fi
 
1804
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1805
  test $ac_status = 0; } > conftest.i && {
 
1806
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
1807
         test ! -s conftest.err
 
1808
       }; then :
 
1809
  ac_retval=0
 
1810
else
 
1811
  $as_echo "$as_me: failed program was:" >&5
 
1812
sed 's/^/| /' conftest.$ac_ext >&5
 
1813
 
 
1814
    ac_retval=1
 
1815
fi
 
1816
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 
1817
  as_fn_set_status $ac_retval
 
1818
 
 
1819
} # ac_fn_c_try_cpp
 
1820
 
 
1821
# ac_fn_c_try_run LINENO
 
1822
# ----------------------
 
1823
# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
 
1824
# that executables *can* be run.
 
1825
ac_fn_c_try_run ()
 
1826
{
 
1827
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1828
  if { { ac_try="$ac_link"
 
1829
case "(($ac_try" in
 
1830
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1831
  *) ac_try_echo=$ac_try;;
 
1832
esac
 
1833
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1834
$as_echo "$ac_try_echo"; } >&5
 
1835
  (eval "$ac_link") 2>&5
 
1836
  ac_status=$?
 
1837
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1838
  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
 
1839
  { { case "(($ac_try" in
 
1840
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1841
  *) ac_try_echo=$ac_try;;
 
1842
esac
 
1843
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1844
$as_echo "$ac_try_echo"; } >&5
 
1845
  (eval "$ac_try") 2>&5
 
1846
  ac_status=$?
 
1847
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1848
  test $ac_status = 0; }; }; then :
 
1849
  ac_retval=0
 
1850
else
 
1851
  $as_echo "$as_me: program exited with status $ac_status" >&5
 
1852
       $as_echo "$as_me: failed program was:" >&5
 
1853
sed 's/^/| /' conftest.$ac_ext >&5
 
1854
 
 
1855
       ac_retval=$ac_status
 
1856
fi
 
1857
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
 
1858
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 
1859
  as_fn_set_status $ac_retval
 
1860
 
 
1861
} # ac_fn_c_try_run
 
1862
 
 
1863
# ac_fn_c_check_func LINENO FUNC VAR
 
1864
# ----------------------------------
 
1865
# Tests whether FUNC exists, setting the cache variable VAR accordingly
 
1866
ac_fn_c_check_func ()
 
1867
{
 
1868
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1869
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 
1870
$as_echo_n "checking for $2... " >&6; }
 
1871
if eval \${$3+:} false; then :
 
1872
  $as_echo_n "(cached) " >&6
 
1873
else
 
1874
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
1875
/* end confdefs.h.  */
 
1876
/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
 
1877
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 
1878
#define $2 innocuous_$2
 
1879
 
 
1880
/* System header to define __stub macros and hopefully few prototypes,
 
1881
    which can conflict with char $2 (); below.
 
1882
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
1883
    <limits.h> exists even on freestanding compilers.  */
 
1884
 
 
1885
#ifdef __STDC__
 
1886
# include <limits.h>
 
1887
#else
 
1888
# include <assert.h>
 
1889
#endif
 
1890
 
 
1891
#undef $2
 
1892
 
 
1893
/* Override any GCC internal prototype to avoid an error.
 
1894
   Use char because int might match the return type of a GCC
 
1895
   builtin and then its argument prototype would still apply.  */
 
1896
#ifdef __cplusplus
 
1897
extern "C"
 
1898
#endif
 
1899
char $2 ();
 
1900
/* The GNU C library defines this for functions which it implements
 
1901
    to always fail with ENOSYS.  Some functions are actually named
 
1902
    something starting with __ and the normal name is an alias.  */
 
1903
#if defined __stub_$2 || defined __stub___$2
 
1904
choke me
 
1905
#endif
 
1906
 
 
1907
int
 
1908
main ()
 
1909
{
 
1910
return $2 ();
 
1911
  ;
 
1912
  return 0;
 
1913
}
 
1914
_ACEOF
 
1915
if ac_fn_c_try_link "$LINENO"; then :
 
1916
  eval "$3=yes"
 
1917
else
 
1918
  eval "$3=no"
 
1919
fi
 
1920
rm -f core conftest.err conftest.$ac_objext \
 
1921
    conftest$ac_exeext conftest.$ac_ext
 
1922
fi
 
1923
eval ac_res=\$$3
 
1924
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
1925
$as_echo "$ac_res" >&6; }
 
1926
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 
1927
 
 
1928
} # ac_fn_c_check_func
 
1929
 
 
1930
# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
 
1931
# -------------------------------------------------------
 
1932
# Tests whether HEADER exists, giving a warning if it cannot be compiled using
 
1933
# the include files in INCLUDES and setting the cache variable VAR
 
1934
# accordingly.
 
1935
ac_fn_c_check_header_mongrel ()
 
1936
{
 
1937
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1938
  if eval \${$3+:} false; then :
 
1939
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 
1940
$as_echo_n "checking for $2... " >&6; }
 
1941
if eval \${$3+:} false; then :
 
1942
  $as_echo_n "(cached) " >&6
 
1943
fi
 
1944
eval ac_res=\$$3
 
1945
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
1946
$as_echo "$ac_res" >&6; }
 
1947
else
 
1948
  # Is the header compilable?
 
1949
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
 
1950
$as_echo_n "checking $2 usability... " >&6; }
 
1951
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
1952
/* end confdefs.h.  */
 
1953
$4
 
1954
#include <$2>
 
1955
_ACEOF
 
1956
if ac_fn_c_try_compile "$LINENO"; then :
 
1957
  ac_header_compiler=yes
 
1958
else
 
1959
  ac_header_compiler=no
 
1960
fi
 
1961
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
1962
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
 
1963
$as_echo "$ac_header_compiler" >&6; }
 
1964
 
 
1965
# Is the header present?
 
1966
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
 
1967
$as_echo_n "checking $2 presence... " >&6; }
 
1968
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
1969
/* end confdefs.h.  */
 
1970
#include <$2>
 
1971
_ACEOF
 
1972
if ac_fn_c_try_cpp "$LINENO"; then :
 
1973
  ac_header_preproc=yes
 
1974
else
 
1975
  ac_header_preproc=no
 
1976
fi
 
1977
rm -f conftest.err conftest.i conftest.$ac_ext
 
1978
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
 
1979
$as_echo "$ac_header_preproc" >&6; }
 
1980
 
 
1981
# So?  What about this header?
 
1982
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
 
1983
  yes:no: )
 
1984
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
 
1985
$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
 
1986
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
 
1987
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
 
1988
    ;;
 
1989
  no:yes:* )
 
1990
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
 
1991
$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
 
1992
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
 
1993
$as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
 
1994
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
 
1995
$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
 
1996
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
 
1997
$as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
 
1998
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
 
1999
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
 
2000
( $as_echo "## ------------------------------------------------------------- ##
 
2001
## Report this to accessibility-atspi@lists.linux-foundation.org ##
 
2002
## ------------------------------------------------------------- ##"
 
2003
     ) | sed "s/^/$as_me: WARNING:     /" >&2
 
2004
    ;;
 
2005
esac
 
2006
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 
2007
$as_echo_n "checking for $2... " >&6; }
 
2008
if eval \${$3+:} false; then :
 
2009
  $as_echo_n "(cached) " >&6
 
2010
else
 
2011
  eval "$3=\$ac_header_compiler"
 
2012
fi
 
2013
eval ac_res=\$$3
 
2014
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
2015
$as_echo "$ac_res" >&6; }
 
2016
fi
 
2017
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 
2018
 
 
2019
} # ac_fn_c_check_header_mongrel
 
2020
 
 
2021
# ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
 
2022
# --------------------------------------------
 
2023
# Tries to find the compile-time value of EXPR in a program that includes
 
2024
# INCLUDES, setting VAR accordingly. Returns whether the value could be
 
2025
# computed
 
2026
ac_fn_c_compute_int ()
 
2027
{
 
2028
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
2029
  if test "$cross_compiling" = yes; then
 
2030
    # Depending upon the size, compute the lo and hi bounds.
 
2031
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
2032
/* end confdefs.h.  */
 
2033
$4
 
2034
int
 
2035
main ()
 
2036
{
 
2037
static int test_array [1 - 2 * !(($2) >= 0)];
 
2038
test_array [0] = 0;
 
2039
return test_array [0];
 
2040
 
 
2041
  ;
 
2042
  return 0;
 
2043
}
 
2044
_ACEOF
 
2045
if ac_fn_c_try_compile "$LINENO"; then :
 
2046
  ac_lo=0 ac_mid=0
 
2047
  while :; do
 
2048
    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
2049
/* end confdefs.h.  */
 
2050
$4
 
2051
int
 
2052
main ()
 
2053
{
 
2054
static int test_array [1 - 2 * !(($2) <= $ac_mid)];
 
2055
test_array [0] = 0;
 
2056
return test_array [0];
 
2057
 
 
2058
  ;
 
2059
  return 0;
 
2060
}
 
2061
_ACEOF
 
2062
if ac_fn_c_try_compile "$LINENO"; then :
 
2063
  ac_hi=$ac_mid; break
 
2064
else
 
2065
  as_fn_arith $ac_mid + 1 && ac_lo=$as_val
 
2066
                        if test $ac_lo -le $ac_mid; then
 
2067
                          ac_lo= ac_hi=
 
2068
                          break
 
2069
                        fi
 
2070
                        as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
 
2071
fi
 
2072
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
2073
  done
 
2074
else
 
2075
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
2076
/* end confdefs.h.  */
 
2077
$4
 
2078
int
 
2079
main ()
 
2080
{
 
2081
static int test_array [1 - 2 * !(($2) < 0)];
 
2082
test_array [0] = 0;
 
2083
return test_array [0];
 
2084
 
 
2085
  ;
 
2086
  return 0;
 
2087
}
 
2088
_ACEOF
 
2089
if ac_fn_c_try_compile "$LINENO"; then :
 
2090
  ac_hi=-1 ac_mid=-1
 
2091
  while :; do
 
2092
    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
2093
/* end confdefs.h.  */
 
2094
$4
 
2095
int
 
2096
main ()
 
2097
{
 
2098
static int test_array [1 - 2 * !(($2) >= $ac_mid)];
 
2099
test_array [0] = 0;
 
2100
return test_array [0];
 
2101
 
 
2102
  ;
 
2103
  return 0;
 
2104
}
 
2105
_ACEOF
 
2106
if ac_fn_c_try_compile "$LINENO"; then :
 
2107
  ac_lo=$ac_mid; break
 
2108
else
 
2109
  as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
 
2110
                        if test $ac_mid -le $ac_hi; then
 
2111
                          ac_lo= ac_hi=
 
2112
                          break
 
2113
                        fi
 
2114
                        as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
 
2115
fi
 
2116
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
2117
  done
 
2118
else
 
2119
  ac_lo= ac_hi=
 
2120
fi
 
2121
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
2122
fi
 
2123
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
2124
# Binary search between lo and hi bounds.
 
2125
while test "x$ac_lo" != "x$ac_hi"; do
 
2126
  as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
 
2127
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
2128
/* end confdefs.h.  */
 
2129
$4
 
2130
int
 
2131
main ()
 
2132
{
 
2133
static int test_array [1 - 2 * !(($2) <= $ac_mid)];
 
2134
test_array [0] = 0;
 
2135
return test_array [0];
 
2136
 
 
2137
  ;
 
2138
  return 0;
 
2139
}
 
2140
_ACEOF
 
2141
if ac_fn_c_try_compile "$LINENO"; then :
 
2142
  ac_hi=$ac_mid
 
2143
else
 
2144
  as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
 
2145
fi
 
2146
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
2147
done
 
2148
case $ac_lo in #((
 
2149
?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
 
2150
'') ac_retval=1 ;;
 
2151
esac
 
2152
  else
 
2153
    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
2154
/* end confdefs.h.  */
 
2155
$4
 
2156
static long int longval () { return $2; }
 
2157
static unsigned long int ulongval () { return $2; }
 
2158
#include <stdio.h>
 
2159
#include <stdlib.h>
 
2160
int
 
2161
main ()
 
2162
{
 
2163
 
 
2164
  FILE *f = fopen ("conftest.val", "w");
 
2165
  if (! f)
 
2166
    return 1;
 
2167
  if (($2) < 0)
 
2168
    {
 
2169
      long int i = longval ();
 
2170
      if (i != ($2))
 
2171
        return 1;
 
2172
      fprintf (f, "%ld", i);
 
2173
    }
 
2174
  else
 
2175
    {
 
2176
      unsigned long int i = ulongval ();
 
2177
      if (i != ($2))
 
2178
        return 1;
 
2179
      fprintf (f, "%lu", i);
 
2180
    }
 
2181
  /* Do not output a trailing newline, as this causes \r\n confusion
 
2182
     on some platforms.  */
 
2183
  return ferror (f) || fclose (f) != 0;
 
2184
 
 
2185
  ;
 
2186
  return 0;
 
2187
}
 
2188
_ACEOF
 
2189
if ac_fn_c_try_run "$LINENO"; then :
 
2190
  echo >>conftest.val; read $3 <conftest.val; ac_retval=0
 
2191
else
 
2192
  ac_retval=1
 
2193
fi
 
2194
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
 
2195
  conftest.$ac_objext conftest.beam conftest.$ac_ext
 
2196
rm -f conftest.val
 
2197
 
 
2198
  fi
 
2199
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 
2200
  as_fn_set_status $ac_retval
 
2201
 
 
2202
} # ac_fn_c_compute_int
 
2203
cat >config.log <<_ACEOF
 
2204
This file contains any messages produced by compilers while
 
2205
running configure, to aid debugging if configure makes a mistake.
 
2206
 
 
2207
It was created by at-spi2-core $as_me 2.18.3, which was
 
2208
generated by GNU Autoconf 2.69.  Invocation command line was
 
2209
 
 
2210
  $ $0 $@
 
2211
 
 
2212
_ACEOF
 
2213
exec 5>>config.log
 
2214
{
 
2215
cat <<_ASUNAME
 
2216
## --------- ##
 
2217
## Platform. ##
 
2218
## --------- ##
 
2219
 
 
2220
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
 
2221
uname -m = `(uname -m) 2>/dev/null || echo unknown`
 
2222
uname -r = `(uname -r) 2>/dev/null || echo unknown`
 
2223
uname -s = `(uname -s) 2>/dev/null || echo unknown`
 
2224
uname -v = `(uname -v) 2>/dev/null || echo unknown`
 
2225
 
 
2226
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
 
2227
/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
 
2228
 
 
2229
/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
 
2230
/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
 
2231
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
 
2232
/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
 
2233
/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
 
2234
/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
 
2235
/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
 
2236
 
 
2237
_ASUNAME
 
2238
 
 
2239
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2240
for as_dir in $PATH
 
2241
do
 
2242
  IFS=$as_save_IFS
 
2243
  test -z "$as_dir" && as_dir=.
 
2244
    $as_echo "PATH: $as_dir"
 
2245
  done
 
2246
IFS=$as_save_IFS
 
2247
 
 
2248
} >&5
 
2249
 
 
2250
cat >&5 <<_ACEOF
 
2251
 
 
2252
 
 
2253
## ----------- ##
 
2254
## Core tests. ##
 
2255
## ----------- ##
 
2256
 
 
2257
_ACEOF
 
2258
 
 
2259
 
 
2260
# Keep a trace of the command line.
 
2261
# Strip out --no-create and --no-recursion so they do not pile up.
 
2262
# Strip out --silent because we don't want to record it for future runs.
 
2263
# Also quote any args containing shell meta-characters.
 
2264
# Make two passes to allow for proper duplicate-argument suppression.
 
2265
ac_configure_args=
 
2266
ac_configure_args0=
 
2267
ac_configure_args1=
 
2268
ac_must_keep_next=false
 
2269
for ac_pass in 1 2
 
2270
do
 
2271
  for ac_arg
 
2272
  do
 
2273
    case $ac_arg in
 
2274
    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
 
2275
    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
 
2276
    | -silent | --silent | --silen | --sile | --sil)
 
2277
      continue ;;
 
2278
    *\'*)
 
2279
      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
 
2280
    esac
 
2281
    case $ac_pass in
 
2282
    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
 
2283
    2)
 
2284
      as_fn_append ac_configure_args1 " '$ac_arg'"
 
2285
      if test $ac_must_keep_next = true; then
 
2286
        ac_must_keep_next=false # Got value, back to normal.
 
2287
      else
 
2288
        case $ac_arg in
 
2289
          *=* | --config-cache | -C | -disable-* | --disable-* \
 
2290
          | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
 
2291
          | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
 
2292
          | -with-* | --with-* | -without-* | --without-* | --x)
 
2293
            case "$ac_configure_args0 " in
 
2294
              "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
 
2295
            esac
 
2296
            ;;
 
2297
          -* ) ac_must_keep_next=true ;;
 
2298
        esac
 
2299
      fi
 
2300
      as_fn_append ac_configure_args " '$ac_arg'"
 
2301
      ;;
 
2302
    esac
 
2303
  done
 
2304
done
 
2305
{ ac_configure_args0=; unset ac_configure_args0;}
 
2306
{ ac_configure_args1=; unset ac_configure_args1;}
 
2307
 
 
2308
# When interrupted or exit'd, cleanup temporary files, and complete
 
2309
# config.log.  We remove comments because anyway the quotes in there
 
2310
# would cause problems or look ugly.
 
2311
# WARNING: Use '\'' to represent an apostrophe within the trap.
 
2312
# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
 
2313
trap 'exit_status=$?
 
2314
  # Save into config.log some information that might help in debugging.
 
2315
  {
 
2316
    echo
 
2317
 
 
2318
    $as_echo "## ---------------- ##
 
2319
## Cache variables. ##
 
2320
## ---------------- ##"
 
2321
    echo
 
2322
    # The following way of writing the cache mishandles newlines in values,
 
2323
(
 
2324
  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
 
2325
    eval ac_val=\$$ac_var
 
2326
    case $ac_val in #(
 
2327
    *${as_nl}*)
 
2328
      case $ac_var in #(
 
2329
      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
 
2330
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
 
2331
      esac
 
2332
      case $ac_var in #(
 
2333
      _ | IFS | as_nl) ;; #(
 
2334
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
 
2335
      *) { eval $ac_var=; unset $ac_var;} ;;
 
2336
      esac ;;
 
2337
    esac
 
2338
  done
 
2339
  (set) 2>&1 |
 
2340
    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
 
2341
    *${as_nl}ac_space=\ *)
 
2342
      sed -n \
 
2343
        "s/'\''/'\''\\\\'\'''\''/g;
 
2344
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
 
2345
      ;; #(
 
2346
    *)
 
2347
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
 
2348
      ;;
 
2349
    esac |
 
2350
    sort
 
2351
)
 
2352
    echo
 
2353
 
 
2354
    $as_echo "## ----------------- ##
 
2355
## Output variables. ##
 
2356
## ----------------- ##"
 
2357
    echo
 
2358
    for ac_var in $ac_subst_vars
 
2359
    do
 
2360
      eval ac_val=\$$ac_var
 
2361
      case $ac_val in
 
2362
      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
 
2363
      esac
 
2364
      $as_echo "$ac_var='\''$ac_val'\''"
 
2365
    done | sort
 
2366
    echo
 
2367
 
 
2368
    if test -n "$ac_subst_files"; then
 
2369
      $as_echo "## ------------------- ##
 
2370
## File substitutions. ##
 
2371
## ------------------- ##"
 
2372
      echo
 
2373
      for ac_var in $ac_subst_files
 
2374
      do
 
2375
        eval ac_val=\$$ac_var
 
2376
        case $ac_val in
 
2377
        *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
 
2378
        esac
 
2379
        $as_echo "$ac_var='\''$ac_val'\''"
 
2380
      done | sort
 
2381
      echo
 
2382
    fi
 
2383
 
 
2384
    if test -s confdefs.h; then
 
2385
      $as_echo "## ----------- ##
 
2386
## confdefs.h. ##
 
2387
## ----------- ##"
 
2388
      echo
 
2389
      cat confdefs.h
 
2390
      echo
 
2391
    fi
 
2392
    test "$ac_signal" != 0 &&
 
2393
      $as_echo "$as_me: caught signal $ac_signal"
 
2394
    $as_echo "$as_me: exit $exit_status"
 
2395
  } >&5
 
2396
  rm -f core *.core core.conftest.* &&
 
2397
    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
 
2398
    exit $exit_status
 
2399
' 0
 
2400
for ac_signal in 1 2 13 15; do
 
2401
  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
 
2402
done
 
2403
ac_signal=0
 
2404
 
 
2405
# confdefs.h avoids OS command line length limits that DEFS can exceed.
 
2406
rm -f -r conftest* confdefs.h
 
2407
 
 
2408
$as_echo "/* confdefs.h */" > confdefs.h
 
2409
 
 
2410
# Predefined preprocessor variables.
 
2411
 
 
2412
cat >>confdefs.h <<_ACEOF
 
2413
#define PACKAGE_NAME "$PACKAGE_NAME"
 
2414
_ACEOF
 
2415
 
 
2416
cat >>confdefs.h <<_ACEOF
 
2417
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
 
2418
_ACEOF
 
2419
 
 
2420
cat >>confdefs.h <<_ACEOF
 
2421
#define PACKAGE_VERSION "$PACKAGE_VERSION"
 
2422
_ACEOF
 
2423
 
 
2424
cat >>confdefs.h <<_ACEOF
 
2425
#define PACKAGE_STRING "$PACKAGE_STRING"
 
2426
_ACEOF
 
2427
 
 
2428
cat >>confdefs.h <<_ACEOF
 
2429
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
 
2430
_ACEOF
 
2431
 
 
2432
cat >>confdefs.h <<_ACEOF
 
2433
#define PACKAGE_URL "$PACKAGE_URL"
 
2434
_ACEOF
 
2435
 
 
2436
 
 
2437
# Let the site file select an alternate cache file if it wants to.
 
2438
# Prefer an explicitly selected file to automatically selected ones.
 
2439
ac_site_file1=NONE
 
2440
ac_site_file2=NONE
 
2441
if test -n "$CONFIG_SITE"; then
 
2442
  # We do not want a PATH search for config.site.
 
2443
  case $CONFIG_SITE in #((
 
2444
    -*)  ac_site_file1=./$CONFIG_SITE;;
 
2445
    */*) ac_site_file1=$CONFIG_SITE;;
 
2446
    *)   ac_site_file1=./$CONFIG_SITE;;
 
2447
  esac
 
2448
elif test "x$prefix" != xNONE; then
 
2449
  ac_site_file1=$prefix/share/config.site
 
2450
  ac_site_file2=$prefix/etc/config.site
 
2451
else
 
2452
  ac_site_file1=$ac_default_prefix/share/config.site
 
2453
  ac_site_file2=$ac_default_prefix/etc/config.site
 
2454
fi
 
2455
for ac_site_file in "$ac_site_file1" "$ac_site_file2"
 
2456
do
 
2457
  test "x$ac_site_file" = xNONE && continue
 
2458
  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
 
2459
    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
 
2460
$as_echo "$as_me: loading site script $ac_site_file" >&6;}
 
2461
    sed 's/^/| /' "$ac_site_file" >&5
 
2462
    . "$ac_site_file" \
 
2463
      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
2464
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
2465
as_fn_error $? "failed to load site script $ac_site_file
 
2466
See \`config.log' for more details" "$LINENO" 5; }
 
2467
  fi
 
2468
done
 
2469
 
 
2470
if test -r "$cache_file"; then
 
2471
  # Some versions of bash will fail to source /dev/null (special files
 
2472
  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
 
2473
  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
 
2474
    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
 
2475
$as_echo "$as_me: loading cache $cache_file" >&6;}
 
2476
    case $cache_file in
 
2477
      [\\/]* | ?:[\\/]* ) . "$cache_file";;
 
2478
      *)                      . "./$cache_file";;
 
2479
    esac
 
2480
  fi
 
2481
else
 
2482
  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
 
2483
$as_echo "$as_me: creating cache $cache_file" >&6;}
 
2484
  >$cache_file
 
2485
fi
 
2486
 
 
2487
# Check that the precious variables saved in the cache have kept the same
 
2488
# value.
 
2489
ac_cache_corrupted=false
 
2490
for ac_var in $ac_precious_vars; do
 
2491
  eval ac_old_set=\$ac_cv_env_${ac_var}_set
 
2492
  eval ac_new_set=\$ac_env_${ac_var}_set
 
2493
  eval ac_old_val=\$ac_cv_env_${ac_var}_value
 
2494
  eval ac_new_val=\$ac_env_${ac_var}_value
 
2495
  case $ac_old_set,$ac_new_set in
 
2496
    set,)
 
2497
      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
 
2498
$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
 
2499
      ac_cache_corrupted=: ;;
 
2500
    ,set)
 
2501
      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
 
2502
$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
 
2503
      ac_cache_corrupted=: ;;
 
2504
    ,);;
 
2505
    *)
 
2506
      if test "x$ac_old_val" != "x$ac_new_val"; then
 
2507
        # differences in whitespace do not lead to failure.
 
2508
        ac_old_val_w=`echo x $ac_old_val`
 
2509
        ac_new_val_w=`echo x $ac_new_val`
 
2510
        if test "$ac_old_val_w" != "$ac_new_val_w"; then
 
2511
          { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
 
2512
$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
 
2513
          ac_cache_corrupted=:
 
2514
        else
 
2515
          { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
 
2516
$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
 
2517
          eval $ac_var=\$ac_old_val
 
2518
        fi
 
2519
        { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
 
2520
$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
 
2521
        { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
 
2522
$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
 
2523
      fi;;
 
2524
  esac
 
2525
  # Pass precious variables to config.status.
 
2526
  if test "$ac_new_set" = set; then
 
2527
    case $ac_new_val in
 
2528
    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
 
2529
    *) ac_arg=$ac_var=$ac_new_val ;;
 
2530
    esac
 
2531
    case " $ac_configure_args " in
 
2532
      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
 
2533
      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
 
2534
    esac
 
2535
  fi
 
2536
done
 
2537
if $ac_cache_corrupted; then
 
2538
  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
2539
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
2540
  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
 
2541
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
 
2542
  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
 
2543
fi
 
2544
## -------------------- ##
 
2545
## Main body of script. ##
 
2546
## -------------------- ##
 
2547
 
 
2548
ac_ext=c
 
2549
ac_cpp='$CPP $CPPFLAGS'
 
2550
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
2551
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
2552
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
2553
 
 
2554
 
 
2555
 
 
2556
ac_aux_dir=
 
2557
for ac_dir in config "$srcdir"/config; do
 
2558
  if test -f "$ac_dir/install-sh"; then
 
2559
    ac_aux_dir=$ac_dir
 
2560
    ac_install_sh="$ac_aux_dir/install-sh -c"
 
2561
    break
 
2562
  elif test -f "$ac_dir/install.sh"; then
 
2563
    ac_aux_dir=$ac_dir
 
2564
    ac_install_sh="$ac_aux_dir/install.sh -c"
 
2565
    break
 
2566
  elif test -f "$ac_dir/shtool"; then
 
2567
    ac_aux_dir=$ac_dir
 
2568
    ac_install_sh="$ac_aux_dir/shtool install -c"
 
2569
    break
 
2570
  fi
 
2571
done
 
2572
if test -z "$ac_aux_dir"; then
 
2573
  as_fn_error $? "cannot find install-sh, install.sh, or shtool in config \"$srcdir\"/config" "$LINENO" 5
 
2574
fi
 
2575
 
 
2576
# These three variables are undocumented and unsupported,
 
2577
# and are intended to be withdrawn in a future Autoconf release.
 
2578
# They can cause serious problems if a builder's source tree is in a directory
 
2579
# whose full name contains unusual characters.
 
2580
ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
 
2581
ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
 
2582
ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
 
2583
 
 
2584
 
 
2585
 
 
2586
 
 
2587
AT_SPI_CORE_MAJOR_VERSION=0
 
2588
AT_SPI_CORE_MINOR_VERSION=1
 
2589
AT_SPI_CORE_MICRO_VERSION=3
 
2590
AT_SPI_CORE_VERSION="$AT_SPI_CORE_MAJOR_VERSION.$AT_SPI_CORE_MINOR_VERSION"
 
2591
 
 
2592
 
 
2593
LT_RELEASE=$AT_SPI_CORE_VERSION
 
2594
LT_CURRENT=0
 
2595
LT_REVISION=1
 
2596
LT_AGE=0
 
2597
LT_VERSION_INFO='-version-info ${LT_CURRENT}:${LT_REVISION}:${LT_AGE}'
 
2598
 
 
2599
 
 
2600
 
 
2601
 
 
2602
 
 
2603
 
 
2604
am__api_version='1.15'
 
2605
 
 
2606
# Find a good install program.  We prefer a C program (faster),
 
2607
# so one script is as good as another.  But avoid the broken or
 
2608
# incompatible versions:
 
2609
# SysV /etc/install, /usr/sbin/install
 
2610
# SunOS /usr/etc/install
 
2611
# IRIX /sbin/install
 
2612
# AIX /bin/install
 
2613
# AmigaOS /C/install, which installs bootblocks on floppy discs
 
2614
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
 
2615
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
 
2616
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
 
2617
# OS/2's system install, which has a completely different semantic
 
2618
# ./install, which can be erroneously created by make from ./install.sh.
 
2619
# Reject install programs that cannot install multiple files.
 
2620
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
 
2621
$as_echo_n "checking for a BSD-compatible install... " >&6; }
 
2622
if test -z "$INSTALL"; then
 
2623
if ${ac_cv_path_install+:} false; then :
 
2624
  $as_echo_n "(cached) " >&6
 
2625
else
 
2626
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2627
for as_dir in $PATH
 
2628
do
 
2629
  IFS=$as_save_IFS
 
2630
  test -z "$as_dir" && as_dir=.
 
2631
    # Account for people who put trailing slashes in PATH elements.
 
2632
case $as_dir/ in #((
 
2633
  ./ | .// | /[cC]/* | \
 
2634
  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
 
2635
  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
 
2636
  /usr/ucb/* ) ;;
 
2637
  *)
 
2638
    # OSF1 and SCO ODT 3.0 have their own names for install.
 
2639
    # Don't use installbsd from OSF since it installs stuff as root
 
2640
    # by default.
 
2641
    for ac_prog in ginstall scoinst install; do
 
2642
      for ac_exec_ext in '' $ac_executable_extensions; do
 
2643
        if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
 
2644
          if test $ac_prog = install &&
 
2645
            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
 
2646
            # AIX install.  It has an incompatible calling convention.
 
2647
            :
 
2648
          elif test $ac_prog = install &&
 
2649
            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
 
2650
            # program-specific install script used by HP pwplus--don't use.
 
2651
            :
 
2652
          else
 
2653
            rm -rf conftest.one conftest.two conftest.dir
 
2654
            echo one > conftest.one
 
2655
            echo two > conftest.two
 
2656
            mkdir conftest.dir
 
2657
            if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
 
2658
              test -s conftest.one && test -s conftest.two &&
 
2659
              test -s conftest.dir/conftest.one &&
 
2660
              test -s conftest.dir/conftest.two
 
2661
            then
 
2662
              ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
 
2663
              break 3
 
2664
            fi
 
2665
          fi
 
2666
        fi
 
2667
      done
 
2668
    done
 
2669
    ;;
 
2670
esac
 
2671
 
 
2672
  done
 
2673
IFS=$as_save_IFS
 
2674
 
 
2675
rm -rf conftest.one conftest.two conftest.dir
 
2676
 
 
2677
fi
 
2678
  if test "${ac_cv_path_install+set}" = set; then
 
2679
    INSTALL=$ac_cv_path_install
 
2680
  else
 
2681
    # As a last resort, use the slow shell script.  Don't cache a
 
2682
    # value for INSTALL within a source directory, because that will
 
2683
    # break other packages using the cache if that directory is
 
2684
    # removed, or if the value is a relative name.
 
2685
    INSTALL=$ac_install_sh
 
2686
  fi
 
2687
fi
 
2688
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
 
2689
$as_echo "$INSTALL" >&6; }
 
2690
 
 
2691
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
 
2692
# It thinks the first close brace ends the variable substitution.
 
2693
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
 
2694
 
 
2695
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
 
2696
 
 
2697
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
 
2698
 
 
2699
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
 
2700
$as_echo_n "checking whether build environment is sane... " >&6; }
 
2701
# Reject unsafe characters in $srcdir or the absolute working directory
 
2702
# name.  Accept space and tab only in the latter.
 
2703
am_lf='
 
2704
'
 
2705
case `pwd` in
 
2706
  *[\\\"\#\$\&\'\`$am_lf]*)
 
2707
    as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
 
2708
esac
 
2709
case $srcdir in
 
2710
  *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
 
2711
    as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
 
2712
esac
 
2713
 
 
2714
# Do 'set' in a subshell so we don't clobber the current shell's
 
2715
# arguments.  Must try -L first in case configure is actually a
 
2716
# symlink; some systems play weird games with the mod time of symlinks
 
2717
# (eg FreeBSD returns the mod time of the symlink's containing
 
2718
# directory).
 
2719
if (
 
2720
   am_has_slept=no
 
2721
   for am_try in 1 2; do
 
2722
     echo "timestamp, slept: $am_has_slept" > conftest.file
 
2723
     set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
 
2724
     if test "$*" = "X"; then
 
2725
        # -L didn't work.
 
2726
        set X `ls -t "$srcdir/configure" conftest.file`
 
2727
     fi
 
2728
     if test "$*" != "X $srcdir/configure conftest.file" \
 
2729
        && test "$*" != "X conftest.file $srcdir/configure"; then
 
2730
 
 
2731
        # If neither matched, then we have a broken ls.  This can happen
 
2732
        # if, for instance, CONFIG_SHELL is bash and it inherits a
 
2733
        # broken ls alias from the environment.  This has actually
 
2734
        # happened.  Such a system could not be considered "sane".
 
2735
        as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
 
2736
  alias in your environment" "$LINENO" 5
 
2737
     fi
 
2738
     if test "$2" = conftest.file || test $am_try -eq 2; then
 
2739
       break
 
2740
     fi
 
2741
     # Just in case.
 
2742
     sleep 1
 
2743
     am_has_slept=yes
 
2744
   done
 
2745
   test "$2" = conftest.file
 
2746
   )
 
2747
then
 
2748
   # Ok.
 
2749
   :
 
2750
else
 
2751
   as_fn_error $? "newly created file is older than distributed files!
 
2752
Check your system clock" "$LINENO" 5
 
2753
fi
 
2754
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
2755
$as_echo "yes" >&6; }
 
2756
# If we didn't sleep, we still need to ensure time stamps of config.status and
 
2757
# generated files are strictly newer.
 
2758
am_sleep_pid=
 
2759
if grep 'slept: no' conftest.file >/dev/null 2>&1; then
 
2760
  ( sleep 1 ) &
 
2761
  am_sleep_pid=$!
 
2762
fi
 
2763
 
 
2764
rm -f conftest.file
 
2765
 
 
2766
test "$program_prefix" != NONE &&
 
2767
  program_transform_name="s&^&$program_prefix&;$program_transform_name"
 
2768
# Use a double $ so make ignores it.
 
2769
test "$program_suffix" != NONE &&
 
2770
  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
 
2771
# Double any \ or $.
 
2772
# By default was `s,x,x', remove it if useless.
 
2773
ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
 
2774
program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
 
2775
 
 
2776
# Expand $ac_aux_dir to an absolute path.
 
2777
am_aux_dir=`cd "$ac_aux_dir" && pwd`
 
2778
 
 
2779
if test x"${MISSING+set}" != xset; then
 
2780
  case $am_aux_dir in
 
2781
  *\ * | *\     *)
 
2782
    MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
 
2783
  *)
 
2784
    MISSING="\${SHELL} $am_aux_dir/missing" ;;
 
2785
  esac
 
2786
fi
 
2787
# Use eval to expand $SHELL
 
2788
if eval "$MISSING --is-lightweight"; then
 
2789
  am_missing_run="$MISSING "
 
2790
else
 
2791
  am_missing_run=
 
2792
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
 
2793
$as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
 
2794
fi
 
2795
 
 
2796
if test x"${install_sh+set}" != xset; then
 
2797
  case $am_aux_dir in
 
2798
  *\ * | *\     *)
 
2799
    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
 
2800
  *)
 
2801
    install_sh="\${SHELL} $am_aux_dir/install-sh"
 
2802
  esac
 
2803
fi
 
2804
 
 
2805
# Installed binaries are usually stripped using 'strip' when the user
 
2806
# run "make install-strip".  However 'strip' might not be the right
 
2807
# tool to use in cross-compilation environments, therefore Automake
 
2808
# will honor the 'STRIP' environment variable to overrule this program.
 
2809
if test "$cross_compiling" != no; then
 
2810
  if test -n "$ac_tool_prefix"; then
 
2811
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
 
2812
set dummy ${ac_tool_prefix}strip; ac_word=$2
 
2813
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
2814
$as_echo_n "checking for $ac_word... " >&6; }
 
2815
if ${ac_cv_prog_STRIP+:} false; then :
 
2816
  $as_echo_n "(cached) " >&6
 
2817
else
 
2818
  if test -n "$STRIP"; then
 
2819
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
 
2820
else
 
2821
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2822
for as_dir in $PATH
 
2823
do
 
2824
  IFS=$as_save_IFS
 
2825
  test -z "$as_dir" && as_dir=.
 
2826
    for ac_exec_ext in '' $ac_executable_extensions; do
 
2827
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2828
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
 
2829
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2830
    break 2
 
2831
  fi
 
2832
done
 
2833
  done
 
2834
IFS=$as_save_IFS
 
2835
 
 
2836
fi
 
2837
fi
 
2838
STRIP=$ac_cv_prog_STRIP
 
2839
if test -n "$STRIP"; then
 
2840
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
 
2841
$as_echo "$STRIP" >&6; }
 
2842
else
 
2843
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
2844
$as_echo "no" >&6; }
 
2845
fi
 
2846
 
 
2847
 
 
2848
fi
 
2849
if test -z "$ac_cv_prog_STRIP"; then
 
2850
  ac_ct_STRIP=$STRIP
 
2851
  # Extract the first word of "strip", so it can be a program name with args.
 
2852
set dummy strip; ac_word=$2
 
2853
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
2854
$as_echo_n "checking for $ac_word... " >&6; }
 
2855
if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
 
2856
  $as_echo_n "(cached) " >&6
 
2857
else
 
2858
  if test -n "$ac_ct_STRIP"; then
 
2859
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
 
2860
else
 
2861
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2862
for as_dir in $PATH
 
2863
do
 
2864
  IFS=$as_save_IFS
 
2865
  test -z "$as_dir" && as_dir=.
 
2866
    for ac_exec_ext in '' $ac_executable_extensions; do
 
2867
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2868
    ac_cv_prog_ac_ct_STRIP="strip"
 
2869
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2870
    break 2
 
2871
  fi
 
2872
done
 
2873
  done
 
2874
IFS=$as_save_IFS
 
2875
 
 
2876
fi
 
2877
fi
 
2878
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
 
2879
if test -n "$ac_ct_STRIP"; then
 
2880
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
 
2881
$as_echo "$ac_ct_STRIP" >&6; }
 
2882
else
 
2883
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
2884
$as_echo "no" >&6; }
 
2885
fi
 
2886
 
 
2887
  if test "x$ac_ct_STRIP" = x; then
 
2888
    STRIP=":"
 
2889
  else
 
2890
    case $cross_compiling:$ac_tool_warned in
 
2891
yes:)
 
2892
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
2893
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
2894
ac_tool_warned=yes ;;
 
2895
esac
 
2896
    STRIP=$ac_ct_STRIP
 
2897
  fi
 
2898
else
 
2899
  STRIP="$ac_cv_prog_STRIP"
 
2900
fi
 
2901
 
 
2902
fi
 
2903
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
 
2904
 
 
2905
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
 
2906
$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
 
2907
if test -z "$MKDIR_P"; then
 
2908
  if ${ac_cv_path_mkdir+:} false; then :
 
2909
  $as_echo_n "(cached) " >&6
 
2910
else
 
2911
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2912
for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
 
2913
do
 
2914
  IFS=$as_save_IFS
 
2915
  test -z "$as_dir" && as_dir=.
 
2916
    for ac_prog in mkdir gmkdir; do
 
2917
         for ac_exec_ext in '' $ac_executable_extensions; do
 
2918
           as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
 
2919
           case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
 
2920
             'mkdir (GNU coreutils) '* | \
 
2921
             'mkdir (coreutils) '* | \
 
2922
             'mkdir (fileutils) '4.1*)
 
2923
               ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
 
2924
               break 3;;
 
2925
           esac
 
2926
         done
 
2927
       done
 
2928
  done
 
2929
IFS=$as_save_IFS
 
2930
 
 
2931
fi
 
2932
 
 
2933
  test -d ./--version && rmdir ./--version
 
2934
  if test "${ac_cv_path_mkdir+set}" = set; then
 
2935
    MKDIR_P="$ac_cv_path_mkdir -p"
 
2936
  else
 
2937
    # As a last resort, use the slow shell script.  Don't cache a
 
2938
    # value for MKDIR_P within a source directory, because that will
 
2939
    # break other packages using the cache if that directory is
 
2940
    # removed, or if the value is a relative name.
 
2941
    MKDIR_P="$ac_install_sh -d"
 
2942
  fi
 
2943
fi
 
2944
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
 
2945
$as_echo "$MKDIR_P" >&6; }
 
2946
 
 
2947
for ac_prog in gawk mawk nawk awk
 
2948
do
 
2949
  # Extract the first word of "$ac_prog", so it can be a program name with args.
 
2950
set dummy $ac_prog; ac_word=$2
 
2951
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
2952
$as_echo_n "checking for $ac_word... " >&6; }
 
2953
if ${ac_cv_prog_AWK+:} false; then :
 
2954
  $as_echo_n "(cached) " >&6
 
2955
else
 
2956
  if test -n "$AWK"; then
 
2957
  ac_cv_prog_AWK="$AWK" # Let the user override the test.
 
2958
else
 
2959
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2960
for as_dir in $PATH
 
2961
do
 
2962
  IFS=$as_save_IFS
 
2963
  test -z "$as_dir" && as_dir=.
 
2964
    for ac_exec_ext in '' $ac_executable_extensions; do
 
2965
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2966
    ac_cv_prog_AWK="$ac_prog"
 
2967
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2968
    break 2
 
2969
  fi
 
2970
done
 
2971
  done
 
2972
IFS=$as_save_IFS
 
2973
 
 
2974
fi
 
2975
fi
 
2976
AWK=$ac_cv_prog_AWK
 
2977
if test -n "$AWK"; then
 
2978
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
 
2979
$as_echo "$AWK" >&6; }
 
2980
else
 
2981
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
2982
$as_echo "no" >&6; }
 
2983
fi
 
2984
 
 
2985
 
 
2986
  test -n "$AWK" && break
 
2987
done
 
2988
 
 
2989
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
 
2990
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
 
2991
set x ${MAKE-make}
 
2992
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
 
2993
if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
 
2994
  $as_echo_n "(cached) " >&6
 
2995
else
 
2996
  cat >conftest.make <<\_ACEOF
 
2997
SHELL = /bin/sh
 
2998
all:
 
2999
        @echo '@@@%%%=$(MAKE)=@@@%%%'
 
3000
_ACEOF
 
3001
# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
 
3002
case `${MAKE-make} -f conftest.make 2>/dev/null` in
 
3003
  *@@@%%%=?*=@@@%%%*)
 
3004
    eval ac_cv_prog_make_${ac_make}_set=yes;;
 
3005
  *)
 
3006
    eval ac_cv_prog_make_${ac_make}_set=no;;
 
3007
esac
 
3008
rm -f conftest.make
 
3009
fi
 
3010
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
 
3011
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
3012
$as_echo "yes" >&6; }
 
3013
  SET_MAKE=
 
3014
else
 
3015
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
3016
$as_echo "no" >&6; }
 
3017
  SET_MAKE="MAKE=${MAKE-make}"
 
3018
fi
 
3019
 
 
3020
rm -rf .tst 2>/dev/null
 
3021
mkdir .tst 2>/dev/null
 
3022
if test -d .tst; then
 
3023
  am__leading_dot=.
 
3024
else
 
3025
  am__leading_dot=_
 
3026
fi
 
3027
rmdir .tst 2>/dev/null
 
3028
 
 
3029
# Check whether --enable-silent-rules was given.
 
3030
if test "${enable_silent_rules+set}" = set; then :
 
3031
  enableval=$enable_silent_rules;
 
3032
fi
 
3033
 
 
3034
case $enable_silent_rules in # (((
 
3035
  yes) AM_DEFAULT_VERBOSITY=0;;
 
3036
   no) AM_DEFAULT_VERBOSITY=1;;
 
3037
    *) AM_DEFAULT_VERBOSITY=1;;
 
3038
esac
 
3039
am_make=${MAKE-make}
 
3040
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
 
3041
$as_echo_n "checking whether $am_make supports nested variables... " >&6; }
 
3042
if ${am_cv_make_support_nested_variables+:} false; then :
 
3043
  $as_echo_n "(cached) " >&6
 
3044
else
 
3045
  if $as_echo 'TRUE=$(BAR$(V))
 
3046
BAR0=false
 
3047
BAR1=true
 
3048
V=1
 
3049
am__doit:
 
3050
        @$(TRUE)
 
3051
.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
 
3052
  am_cv_make_support_nested_variables=yes
 
3053
else
 
3054
  am_cv_make_support_nested_variables=no
 
3055
fi
 
3056
fi
 
3057
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
 
3058
$as_echo "$am_cv_make_support_nested_variables" >&6; }
 
3059
if test $am_cv_make_support_nested_variables = yes; then
 
3060
    AM_V='$(V)'
 
3061
  AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
 
3062
else
 
3063
  AM_V=$AM_DEFAULT_VERBOSITY
 
3064
  AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
 
3065
fi
 
3066
AM_BACKSLASH='\'
 
3067
 
 
3068
if test "`cd $srcdir && pwd`" != "`pwd`"; then
 
3069
  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
 
3070
  # is not polluted with repeated "-I."
 
3071
  am__isrc=' -I$(srcdir)'
 
3072
  # test to see if srcdir already configured
 
3073
  if test -f $srcdir/config.status; then
 
3074
    as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
 
3075
  fi
 
3076
fi
 
3077
 
 
3078
# test whether we have cygpath
 
3079
if test -z "$CYGPATH_W"; then
 
3080
  if (cygpath --version) >/dev/null 2>/dev/null; then
 
3081
    CYGPATH_W='cygpath -w'
 
3082
  else
 
3083
    CYGPATH_W=echo
 
3084
  fi
 
3085
fi
 
3086
 
 
3087
 
 
3088
# Define the identity of the package.
 
3089
 PACKAGE='at-spi2-core'
 
3090
 VERSION='2.18.3'
 
3091
 
 
3092
 
 
3093
cat >>confdefs.h <<_ACEOF
 
3094
#define PACKAGE "$PACKAGE"
 
3095
_ACEOF
 
3096
 
 
3097
 
 
3098
cat >>confdefs.h <<_ACEOF
 
3099
#define VERSION "$VERSION"
 
3100
_ACEOF
 
3101
 
 
3102
# Some tools Automake needs.
 
3103
 
 
3104
ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
 
3105
 
 
3106
 
 
3107
AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
 
3108
 
 
3109
 
 
3110
AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
 
3111
 
 
3112
 
 
3113
AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
 
3114
 
 
3115
 
 
3116
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
 
3117
 
 
3118
# For better backward compatibility.  To be removed once Automake 1.9.x
 
3119
# dies out for good.  For more background, see:
 
3120
# <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
 
3121
# <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
 
3122
mkdir_p='$(MKDIR_P)'
 
3123
 
 
3124
# We need awk for the "check" target (and possibly the TAP driver).  The
 
3125
# system "awk" is bad on some platforms.
 
3126
# Always define AMTAR for backward compatibility.  Yes, it's still used
 
3127
# in the wild :-(  We should find a proper way to deprecate it ...
 
3128
AMTAR='$${TAR-tar}'
 
3129
 
 
3130
 
 
3131
# We'll loop over all known methods to create a tar archive until one works.
 
3132
_am_tools='gnutar  pax cpio none'
 
3133
 
 
3134
am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
 
3135
 
 
3136
 
 
3137
 
 
3138
 
 
3139
 
 
3140
 
 
3141
# POSIX will say in a future version that running "rm -f" with no argument
 
3142
# is OK; and we want to be able to make that assumption in our Makefile
 
3143
# recipes.  So use an aggressive probe to check that the usage we want is
 
3144
# actually supported "in the wild" to an acceptable degree.
 
3145
# See automake bug#10828.
 
3146
# To make any issue more visible, cause the running configure to be aborted
 
3147
# by default if the 'rm' program in use doesn't match our expectations; the
 
3148
# user can still override this though.
 
3149
if rm -f && rm -fr && rm -rf; then : OK; else
 
3150
  cat >&2 <<'END'
 
3151
Oops!
 
3152
 
 
3153
Your 'rm' program seems unable to run without file operands specified
 
3154
on the command line, even when the '-f' option is present.  This is contrary
 
3155
to the behaviour of most rm programs out there, and not conforming with
 
3156
the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
 
3157
 
 
3158
Please tell bug-automake@gnu.org about your system, including the value
 
3159
of your $PATH and any error possibly output before this message.  This
 
3160
can help us improve future automake versions.
 
3161
 
 
3162
END
 
3163
  if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
 
3164
    echo 'Configuration will proceed anyway, since you have set the' >&2
 
3165
    echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
 
3166
    echo >&2
 
3167
  else
 
3168
    cat >&2 <<'END'
 
3169
Aborting the configuration process, to ensure you take notice of the issue.
 
3170
 
 
3171
You can download and install GNU coreutils to get an 'rm' implementation
 
3172
that behaves properly: <http://www.gnu.org/software/coreutils/>.
 
3173
 
 
3174
If you want to complete the configuration process using your problematic
 
3175
'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
 
3176
to "yes", and re-run configure.
 
3177
 
 
3178
END
 
3179
    as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
 
3180
  fi
 
3181
fi
 
3182
 
 
3183
 
 
3184
# Support silent build rules. Disable
 
3185
# by either passing --disable-silent-rules to configure or passing V=1
 
3186
# to make
 
3187
# Check whether --enable-silent-rules was given.
 
3188
if test "${enable_silent_rules+set}" = set; then :
 
3189
  enableval=$enable_silent_rules;
 
3190
fi
 
3191
 
 
3192
case $enable_silent_rules in # (((
 
3193
  yes) AM_DEFAULT_VERBOSITY=0;;
 
3194
   no) AM_DEFAULT_VERBOSITY=1;;
 
3195
    *) AM_DEFAULT_VERBOSITY=0;;
 
3196
esac
 
3197
am_make=${MAKE-make}
 
3198
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
 
3199
$as_echo_n "checking whether $am_make supports nested variables... " >&6; }
 
3200
if ${am_cv_make_support_nested_variables+:} false; then :
 
3201
  $as_echo_n "(cached) " >&6
 
3202
else
 
3203
  if $as_echo 'TRUE=$(BAR$(V))
 
3204
BAR0=false
 
3205
BAR1=true
 
3206
V=1
 
3207
am__doit:
 
3208
        @$(TRUE)
 
3209
.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
 
3210
  am_cv_make_support_nested_variables=yes
 
3211
else
 
3212
  am_cv_make_support_nested_variables=no
 
3213
fi
 
3214
fi
 
3215
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
 
3216
$as_echo "$am_cv_make_support_nested_variables" >&6; }
 
3217
if test $am_cv_make_support_nested_variables = yes; then
 
3218
    AM_V='$(V)'
 
3219
  AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
 
3220
else
 
3221
  AM_V=$AM_DEFAULT_VERBOSITY
 
3222
  AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
 
3223
fi
 
3224
AM_BACKSLASH='\'
 
3225
 
 
3226
 
 
3227
ac_ext=c
 
3228
ac_cpp='$CPP $CPPFLAGS'
 
3229
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
3230
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
3231
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
3232
if test -n "$ac_tool_prefix"; then
 
3233
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
 
3234
set dummy ${ac_tool_prefix}gcc; ac_word=$2
 
3235
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
3236
$as_echo_n "checking for $ac_word... " >&6; }
 
3237
if ${ac_cv_prog_CC+:} false; then :
 
3238
  $as_echo_n "(cached) " >&6
 
3239
else
 
3240
  if test -n "$CC"; then
 
3241
  ac_cv_prog_CC="$CC" # Let the user override the test.
 
3242
else
 
3243
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
3244
for as_dir in $PATH
 
3245
do
 
3246
  IFS=$as_save_IFS
 
3247
  test -z "$as_dir" && as_dir=.
 
3248
    for ac_exec_ext in '' $ac_executable_extensions; do
 
3249
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
3250
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
 
3251
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3252
    break 2
 
3253
  fi
 
3254
done
 
3255
  done
 
3256
IFS=$as_save_IFS
 
3257
 
 
3258
fi
 
3259
fi
 
3260
CC=$ac_cv_prog_CC
 
3261
if test -n "$CC"; then
 
3262
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 
3263
$as_echo "$CC" >&6; }
 
3264
else
 
3265
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
3266
$as_echo "no" >&6; }
 
3267
fi
 
3268
 
 
3269
 
 
3270
fi
 
3271
if test -z "$ac_cv_prog_CC"; then
 
3272
  ac_ct_CC=$CC
 
3273
  # Extract the first word of "gcc", so it can be a program name with args.
 
3274
set dummy gcc; ac_word=$2
 
3275
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
3276
$as_echo_n "checking for $ac_word... " >&6; }
 
3277
if ${ac_cv_prog_ac_ct_CC+:} false; then :
 
3278
  $as_echo_n "(cached) " >&6
 
3279
else
 
3280
  if test -n "$ac_ct_CC"; then
 
3281
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
 
3282
else
 
3283
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
3284
for as_dir in $PATH
 
3285
do
 
3286
  IFS=$as_save_IFS
 
3287
  test -z "$as_dir" && as_dir=.
 
3288
    for ac_exec_ext in '' $ac_executable_extensions; do
 
3289
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
3290
    ac_cv_prog_ac_ct_CC="gcc"
 
3291
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3292
    break 2
 
3293
  fi
 
3294
done
 
3295
  done
 
3296
IFS=$as_save_IFS
 
3297
 
 
3298
fi
 
3299
fi
 
3300
ac_ct_CC=$ac_cv_prog_ac_ct_CC
 
3301
if test -n "$ac_ct_CC"; then
 
3302
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
 
3303
$as_echo "$ac_ct_CC" >&6; }
 
3304
else
 
3305
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
3306
$as_echo "no" >&6; }
 
3307
fi
 
3308
 
 
3309
  if test "x$ac_ct_CC" = x; then
 
3310
    CC=""
 
3311
  else
 
3312
    case $cross_compiling:$ac_tool_warned in
 
3313
yes:)
 
3314
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
3315
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
3316
ac_tool_warned=yes ;;
 
3317
esac
 
3318
    CC=$ac_ct_CC
 
3319
  fi
 
3320
else
 
3321
  CC="$ac_cv_prog_CC"
 
3322
fi
 
3323
 
 
3324
if test -z "$CC"; then
 
3325
          if test -n "$ac_tool_prefix"; then
 
3326
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
 
3327
set dummy ${ac_tool_prefix}cc; ac_word=$2
 
3328
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
3329
$as_echo_n "checking for $ac_word... " >&6; }
 
3330
if ${ac_cv_prog_CC+:} false; then :
 
3331
  $as_echo_n "(cached) " >&6
 
3332
else
 
3333
  if test -n "$CC"; then
 
3334
  ac_cv_prog_CC="$CC" # Let the user override the test.
 
3335
else
 
3336
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
3337
for as_dir in $PATH
 
3338
do
 
3339
  IFS=$as_save_IFS
 
3340
  test -z "$as_dir" && as_dir=.
 
3341
    for ac_exec_ext in '' $ac_executable_extensions; do
 
3342
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
3343
    ac_cv_prog_CC="${ac_tool_prefix}cc"
 
3344
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3345
    break 2
 
3346
  fi
 
3347
done
 
3348
  done
 
3349
IFS=$as_save_IFS
 
3350
 
 
3351
fi
 
3352
fi
 
3353
CC=$ac_cv_prog_CC
 
3354
if test -n "$CC"; then
 
3355
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 
3356
$as_echo "$CC" >&6; }
 
3357
else
 
3358
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
3359
$as_echo "no" >&6; }
 
3360
fi
 
3361
 
 
3362
 
 
3363
  fi
 
3364
fi
 
3365
if test -z "$CC"; then
 
3366
  # Extract the first word of "cc", so it can be a program name with args.
 
3367
set dummy cc; ac_word=$2
 
3368
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
3369
$as_echo_n "checking for $ac_word... " >&6; }
 
3370
if ${ac_cv_prog_CC+:} false; then :
 
3371
  $as_echo_n "(cached) " >&6
 
3372
else
 
3373
  if test -n "$CC"; then
 
3374
  ac_cv_prog_CC="$CC" # Let the user override the test.
 
3375
else
 
3376
  ac_prog_rejected=no
 
3377
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
3378
for as_dir in $PATH
 
3379
do
 
3380
  IFS=$as_save_IFS
 
3381
  test -z "$as_dir" && as_dir=.
 
3382
    for ac_exec_ext in '' $ac_executable_extensions; do
 
3383
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
3384
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
 
3385
       ac_prog_rejected=yes
 
3386
       continue
 
3387
     fi
 
3388
    ac_cv_prog_CC="cc"
 
3389
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3390
    break 2
 
3391
  fi
 
3392
done
 
3393
  done
 
3394
IFS=$as_save_IFS
 
3395
 
 
3396
if test $ac_prog_rejected = yes; then
 
3397
  # We found a bogon in the path, so make sure we never use it.
 
3398
  set dummy $ac_cv_prog_CC
 
3399
  shift
 
3400
  if test $# != 0; then
 
3401
    # We chose a different compiler from the bogus one.
 
3402
    # However, it has the same basename, so the bogon will be chosen
 
3403
    # first if we set CC to just the basename; use the full file name.
 
3404
    shift
 
3405
    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
 
3406
  fi
 
3407
fi
 
3408
fi
 
3409
fi
 
3410
CC=$ac_cv_prog_CC
 
3411
if test -n "$CC"; then
 
3412
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 
3413
$as_echo "$CC" >&6; }
 
3414
else
 
3415
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
3416
$as_echo "no" >&6; }
 
3417
fi
 
3418
 
 
3419
 
 
3420
fi
 
3421
if test -z "$CC"; then
 
3422
  if test -n "$ac_tool_prefix"; then
 
3423
  for ac_prog in cl.exe
 
3424
  do
 
3425
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 
3426
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 
3427
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
3428
$as_echo_n "checking for $ac_word... " >&6; }
 
3429
if ${ac_cv_prog_CC+:} false; then :
 
3430
  $as_echo_n "(cached) " >&6
 
3431
else
 
3432
  if test -n "$CC"; then
 
3433
  ac_cv_prog_CC="$CC" # Let the user override the test.
 
3434
else
 
3435
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
3436
for as_dir in $PATH
 
3437
do
 
3438
  IFS=$as_save_IFS
 
3439
  test -z "$as_dir" && as_dir=.
 
3440
    for ac_exec_ext in '' $ac_executable_extensions; do
 
3441
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
3442
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
 
3443
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3444
    break 2
 
3445
  fi
 
3446
done
 
3447
  done
 
3448
IFS=$as_save_IFS
 
3449
 
 
3450
fi
 
3451
fi
 
3452
CC=$ac_cv_prog_CC
 
3453
if test -n "$CC"; then
 
3454
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 
3455
$as_echo "$CC" >&6; }
 
3456
else
 
3457
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
3458
$as_echo "no" >&6; }
 
3459
fi
 
3460
 
 
3461
 
 
3462
    test -n "$CC" && break
 
3463
  done
 
3464
fi
 
3465
if test -z "$CC"; then
 
3466
  ac_ct_CC=$CC
 
3467
  for ac_prog in cl.exe
 
3468
do
 
3469
  # Extract the first word of "$ac_prog", so it can be a program name with args.
 
3470
set dummy $ac_prog; ac_word=$2
 
3471
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
3472
$as_echo_n "checking for $ac_word... " >&6; }
 
3473
if ${ac_cv_prog_ac_ct_CC+:} false; then :
 
3474
  $as_echo_n "(cached) " >&6
 
3475
else
 
3476
  if test -n "$ac_ct_CC"; then
 
3477
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
 
3478
else
 
3479
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
3480
for as_dir in $PATH
 
3481
do
 
3482
  IFS=$as_save_IFS
 
3483
  test -z "$as_dir" && as_dir=.
 
3484
    for ac_exec_ext in '' $ac_executable_extensions; do
 
3485
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
3486
    ac_cv_prog_ac_ct_CC="$ac_prog"
 
3487
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3488
    break 2
 
3489
  fi
 
3490
done
 
3491
  done
 
3492
IFS=$as_save_IFS
 
3493
 
 
3494
fi
 
3495
fi
 
3496
ac_ct_CC=$ac_cv_prog_ac_ct_CC
 
3497
if test -n "$ac_ct_CC"; then
 
3498
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
 
3499
$as_echo "$ac_ct_CC" >&6; }
 
3500
else
 
3501
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
3502
$as_echo "no" >&6; }
 
3503
fi
 
3504
 
 
3505
 
 
3506
  test -n "$ac_ct_CC" && break
 
3507
done
 
3508
 
 
3509
  if test "x$ac_ct_CC" = x; then
 
3510
    CC=""
 
3511
  else
 
3512
    case $cross_compiling:$ac_tool_warned in
 
3513
yes:)
 
3514
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
3515
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
3516
ac_tool_warned=yes ;;
 
3517
esac
 
3518
    CC=$ac_ct_CC
 
3519
  fi
 
3520
fi
 
3521
 
 
3522
fi
 
3523
 
 
3524
 
 
3525
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
3526
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
3527
as_fn_error $? "no acceptable C compiler found in \$PATH
 
3528
See \`config.log' for more details" "$LINENO" 5; }
 
3529
 
 
3530
# Provide some information about the compiler.
 
3531
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
 
3532
set X $ac_compile
 
3533
ac_compiler=$2
 
3534
for ac_option in --version -v -V -qversion; do
 
3535
  { { ac_try="$ac_compiler $ac_option >&5"
 
3536
case "(($ac_try" in
 
3537
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3538
  *) ac_try_echo=$ac_try;;
 
3539
esac
 
3540
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3541
$as_echo "$ac_try_echo"; } >&5
 
3542
  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
 
3543
  ac_status=$?
 
3544
  if test -s conftest.err; then
 
3545
    sed '10a\
 
3546
... rest of stderr output deleted ...
 
3547
         10q' conftest.err >conftest.er1
 
3548
    cat conftest.er1 >&5
 
3549
  fi
 
3550
  rm -f conftest.er1 conftest.err
 
3551
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3552
  test $ac_status = 0; }
 
3553
done
 
3554
 
 
3555
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
3556
/* end confdefs.h.  */
 
3557
 
 
3558
int
 
3559
main ()
 
3560
{
 
3561
 
 
3562
  ;
 
3563
  return 0;
 
3564
}
 
3565
_ACEOF
 
3566
ac_clean_files_save=$ac_clean_files
 
3567
ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
 
3568
# Try to create an executable without -o first, disregard a.out.
 
3569
# It will help us diagnose broken compilers, and finding out an intuition
 
3570
# of exeext.
 
3571
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
 
3572
$as_echo_n "checking whether the C compiler works... " >&6; }
 
3573
ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
 
3574
 
 
3575
# The possible output files:
 
3576
ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
 
3577
 
 
3578
ac_rmfiles=
 
3579
for ac_file in $ac_files
 
3580
do
 
3581
  case $ac_file in
 
3582
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
 
3583
    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
 
3584
  esac
 
3585
done
 
3586
rm -f $ac_rmfiles
 
3587
 
 
3588
if { { ac_try="$ac_link_default"
 
3589
case "(($ac_try" in
 
3590
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3591
  *) ac_try_echo=$ac_try;;
 
3592
esac
 
3593
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3594
$as_echo "$ac_try_echo"; } >&5
 
3595
  (eval "$ac_link_default") 2>&5
 
3596
  ac_status=$?
 
3597
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3598
  test $ac_status = 0; }; then :
 
3599
  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
 
3600
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
 
3601
# in a Makefile.  We should not override ac_cv_exeext if it was cached,
 
3602
# so that the user can short-circuit this test for compilers unknown to
 
3603
# Autoconf.
 
3604
for ac_file in $ac_files ''
 
3605
do
 
3606
  test -f "$ac_file" || continue
 
3607
  case $ac_file in
 
3608
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
 
3609
        ;;
 
3610
    [ab].out )
 
3611
        # We found the default executable, but exeext='' is most
 
3612
        # certainly right.
 
3613
        break;;
 
3614
    *.* )
 
3615
        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
 
3616
        then :; else
 
3617
           ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
 
3618
        fi
 
3619
        # We set ac_cv_exeext here because the later test for it is not
 
3620
        # safe: cross compilers may not add the suffix if given an `-o'
 
3621
        # argument, so we may need to know it at that point already.
 
3622
        # Even if this section looks crufty: it has the advantage of
 
3623
        # actually working.
 
3624
        break;;
 
3625
    * )
 
3626
        break;;
 
3627
  esac
 
3628
done
 
3629
test "$ac_cv_exeext" = no && ac_cv_exeext=
 
3630
 
 
3631
else
 
3632
  ac_file=''
 
3633
fi
 
3634
if test -z "$ac_file"; then :
 
3635
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
3636
$as_echo "no" >&6; }
 
3637
$as_echo "$as_me: failed program was:" >&5
 
3638
sed 's/^/| /' conftest.$ac_ext >&5
 
3639
 
 
3640
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
3641
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
3642
as_fn_error 77 "C compiler cannot create executables
 
3643
See \`config.log' for more details" "$LINENO" 5; }
 
3644
else
 
3645
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
3646
$as_echo "yes" >&6; }
 
3647
fi
 
3648
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
 
3649
$as_echo_n "checking for C compiler default output file name... " >&6; }
 
3650
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
 
3651
$as_echo "$ac_file" >&6; }
 
3652
ac_exeext=$ac_cv_exeext
 
3653
 
 
3654
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
 
3655
ac_clean_files=$ac_clean_files_save
 
3656
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
 
3657
$as_echo_n "checking for suffix of executables... " >&6; }
 
3658
if { { ac_try="$ac_link"
 
3659
case "(($ac_try" in
 
3660
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3661
  *) ac_try_echo=$ac_try;;
 
3662
esac
 
3663
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3664
$as_echo "$ac_try_echo"; } >&5
 
3665
  (eval "$ac_link") 2>&5
 
3666
  ac_status=$?
 
3667
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3668
  test $ac_status = 0; }; then :
 
3669
  # If both `conftest.exe' and `conftest' are `present' (well, observable)
 
3670
# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
 
3671
# work properly (i.e., refer to `conftest.exe'), while it won't with
 
3672
# `rm'.
 
3673
for ac_file in conftest.exe conftest conftest.*; do
 
3674
  test -f "$ac_file" || continue
 
3675
  case $ac_file in
 
3676
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
 
3677
    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
 
3678
          break;;
 
3679
    * ) break;;
 
3680
  esac
 
3681
done
 
3682
else
 
3683
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
3684
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
3685
as_fn_error $? "cannot compute suffix of executables: cannot compile and link
 
3686
See \`config.log' for more details" "$LINENO" 5; }
 
3687
fi
 
3688
rm -f conftest conftest$ac_cv_exeext
 
3689
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
 
3690
$as_echo "$ac_cv_exeext" >&6; }
 
3691
 
 
3692
rm -f conftest.$ac_ext
 
3693
EXEEXT=$ac_cv_exeext
 
3694
ac_exeext=$EXEEXT
 
3695
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
3696
/* end confdefs.h.  */
 
3697
#include <stdio.h>
 
3698
int
 
3699
main ()
 
3700
{
 
3701
FILE *f = fopen ("conftest.out", "w");
 
3702
 return ferror (f) || fclose (f) != 0;
 
3703
 
 
3704
  ;
 
3705
  return 0;
 
3706
}
 
3707
_ACEOF
 
3708
ac_clean_files="$ac_clean_files conftest.out"
 
3709
# Check that the compiler produces executables we can run.  If not, either
 
3710
# the compiler is broken, or we cross compile.
 
3711
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
 
3712
$as_echo_n "checking whether we are cross compiling... " >&6; }
 
3713
if test "$cross_compiling" != yes; then
 
3714
  { { ac_try="$ac_link"
 
3715
case "(($ac_try" in
 
3716
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3717
  *) ac_try_echo=$ac_try;;
 
3718
esac
 
3719
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3720
$as_echo "$ac_try_echo"; } >&5
 
3721
  (eval "$ac_link") 2>&5
 
3722
  ac_status=$?
 
3723
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3724
  test $ac_status = 0; }
 
3725
  if { ac_try='./conftest$ac_cv_exeext'
 
3726
  { { case "(($ac_try" in
 
3727
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3728
  *) ac_try_echo=$ac_try;;
 
3729
esac
 
3730
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3731
$as_echo "$ac_try_echo"; } >&5
 
3732
  (eval "$ac_try") 2>&5
 
3733
  ac_status=$?
 
3734
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3735
  test $ac_status = 0; }; }; then
 
3736
    cross_compiling=no
 
3737
  else
 
3738
    if test "$cross_compiling" = maybe; then
 
3739
        cross_compiling=yes
 
3740
    else
 
3741
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
3742
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
3743
as_fn_error $? "cannot run C compiled programs.
 
3744
If you meant to cross compile, use \`--host'.
 
3745
See \`config.log' for more details" "$LINENO" 5; }
 
3746
    fi
 
3747
  fi
 
3748
fi
 
3749
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
 
3750
$as_echo "$cross_compiling" >&6; }
 
3751
 
 
3752
rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
 
3753
ac_clean_files=$ac_clean_files_save
 
3754
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
 
3755
$as_echo_n "checking for suffix of object files... " >&6; }
 
3756
if ${ac_cv_objext+:} false; then :
 
3757
  $as_echo_n "(cached) " >&6
 
3758
else
 
3759
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
3760
/* end confdefs.h.  */
 
3761
 
 
3762
int
 
3763
main ()
 
3764
{
 
3765
 
 
3766
  ;
 
3767
  return 0;
 
3768
}
 
3769
_ACEOF
 
3770
rm -f conftest.o conftest.obj
 
3771
if { { ac_try="$ac_compile"
 
3772
case "(($ac_try" in
 
3773
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3774
  *) ac_try_echo=$ac_try;;
 
3775
esac
 
3776
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3777
$as_echo "$ac_try_echo"; } >&5
 
3778
  (eval "$ac_compile") 2>&5
 
3779
  ac_status=$?
 
3780
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3781
  test $ac_status = 0; }; then :
 
3782
  for ac_file in conftest.o conftest.obj conftest.*; do
 
3783
  test -f "$ac_file" || continue;
 
3784
  case $ac_file in
 
3785
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
 
3786
    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
 
3787
       break;;
 
3788
  esac
 
3789
done
 
3790
else
 
3791
  $as_echo "$as_me: failed program was:" >&5
 
3792
sed 's/^/| /' conftest.$ac_ext >&5
 
3793
 
 
3794
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
3795
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
3796
as_fn_error $? "cannot compute suffix of object files: cannot compile
 
3797
See \`config.log' for more details" "$LINENO" 5; }
 
3798
fi
 
3799
rm -f conftest.$ac_cv_objext conftest.$ac_ext
 
3800
fi
 
3801
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
 
3802
$as_echo "$ac_cv_objext" >&6; }
 
3803
OBJEXT=$ac_cv_objext
 
3804
ac_objext=$OBJEXT
 
3805
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
 
3806
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
 
3807
if ${ac_cv_c_compiler_gnu+:} false; then :
 
3808
  $as_echo_n "(cached) " >&6
 
3809
else
 
3810
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
3811
/* end confdefs.h.  */
 
3812
 
 
3813
int
 
3814
main ()
 
3815
{
 
3816
#ifndef __GNUC__
 
3817
       choke me
 
3818
#endif
 
3819
 
 
3820
  ;
 
3821
  return 0;
 
3822
}
 
3823
_ACEOF
 
3824
if ac_fn_c_try_compile "$LINENO"; then :
 
3825
  ac_compiler_gnu=yes
 
3826
else
 
3827
  ac_compiler_gnu=no
 
3828
fi
 
3829
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
3830
ac_cv_c_compiler_gnu=$ac_compiler_gnu
 
3831
 
 
3832
fi
 
3833
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
 
3834
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
 
3835
if test $ac_compiler_gnu = yes; then
 
3836
  GCC=yes
 
3837
else
 
3838
  GCC=
 
3839
fi
 
3840
ac_test_CFLAGS=${CFLAGS+set}
 
3841
ac_save_CFLAGS=$CFLAGS
 
3842
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
 
3843
$as_echo_n "checking whether $CC accepts -g... " >&6; }
 
3844
if ${ac_cv_prog_cc_g+:} false; then :
 
3845
  $as_echo_n "(cached) " >&6
 
3846
else
 
3847
  ac_save_c_werror_flag=$ac_c_werror_flag
 
3848
   ac_c_werror_flag=yes
 
3849
   ac_cv_prog_cc_g=no
 
3850
   CFLAGS="-g"
 
3851
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
3852
/* end confdefs.h.  */
 
3853
 
 
3854
int
 
3855
main ()
 
3856
{
 
3857
 
 
3858
  ;
 
3859
  return 0;
 
3860
}
 
3861
_ACEOF
 
3862
if ac_fn_c_try_compile "$LINENO"; then :
 
3863
  ac_cv_prog_cc_g=yes
 
3864
else
 
3865
  CFLAGS=""
 
3866
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
3867
/* end confdefs.h.  */
 
3868
 
 
3869
int
 
3870
main ()
 
3871
{
 
3872
 
 
3873
  ;
 
3874
  return 0;
 
3875
}
 
3876
_ACEOF
 
3877
if ac_fn_c_try_compile "$LINENO"; then :
 
3878
 
 
3879
else
 
3880
  ac_c_werror_flag=$ac_save_c_werror_flag
 
3881
         CFLAGS="-g"
 
3882
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
3883
/* end confdefs.h.  */
 
3884
 
 
3885
int
 
3886
main ()
 
3887
{
 
3888
 
 
3889
  ;
 
3890
  return 0;
 
3891
}
 
3892
_ACEOF
 
3893
if ac_fn_c_try_compile "$LINENO"; then :
 
3894
  ac_cv_prog_cc_g=yes
 
3895
fi
 
3896
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
3897
fi
 
3898
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
3899
fi
 
3900
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
3901
   ac_c_werror_flag=$ac_save_c_werror_flag
 
3902
fi
 
3903
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
 
3904
$as_echo "$ac_cv_prog_cc_g" >&6; }
 
3905
if test "$ac_test_CFLAGS" = set; then
 
3906
  CFLAGS=$ac_save_CFLAGS
 
3907
elif test $ac_cv_prog_cc_g = yes; then
 
3908
  if test "$GCC" = yes; then
 
3909
    CFLAGS="-g -O2"
 
3910
  else
 
3911
    CFLAGS="-g"
 
3912
  fi
 
3913
else
 
3914
  if test "$GCC" = yes; then
 
3915
    CFLAGS="-O2"
 
3916
  else
 
3917
    CFLAGS=
 
3918
  fi
 
3919
fi
 
3920
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
 
3921
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
 
3922
if ${ac_cv_prog_cc_c89+:} false; then :
 
3923
  $as_echo_n "(cached) " >&6
 
3924
else
 
3925
  ac_cv_prog_cc_c89=no
 
3926
ac_save_CC=$CC
 
3927
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
3928
/* end confdefs.h.  */
 
3929
#include <stdarg.h>
 
3930
#include <stdio.h>
 
3931
struct stat;
 
3932
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
 
3933
struct buf { int x; };
 
3934
FILE * (*rcsopen) (struct buf *, struct stat *, int);
 
3935
static char *e (p, i)
 
3936
     char **p;
 
3937
     int i;
 
3938
{
 
3939
  return p[i];
 
3940
}
 
3941
static char *f (char * (*g) (char **, int), char **p, ...)
 
3942
{
 
3943
  char *s;
 
3944
  va_list v;
 
3945
  va_start (v,p);
 
3946
  s = g (p, va_arg (v,int));
 
3947
  va_end (v);
 
3948
  return s;
 
3949
}
 
3950
 
 
3951
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
 
3952
   function prototypes and stuff, but not '\xHH' hex character constants.
 
3953
   These don't provoke an error unfortunately, instead are silently treated
 
3954
   as 'x'.  The following induces an error, until -std is added to get
 
3955
   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
 
3956
   array size at least.  It's necessary to write '\x00'==0 to get something
 
3957
   that's true only with -std.  */
 
3958
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
 
3959
 
 
3960
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
 
3961
   inside strings and character constants.  */
 
3962
#define FOO(x) 'x'
 
3963
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
 
3964
 
 
3965
int test (int i, double x);
 
3966
struct s1 {int (*f) (int a);};
 
3967
struct s2 {int (*f) (double a);};
 
3968
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
 
3969
int argc;
 
3970
char **argv;
 
3971
int
 
3972
main ()
 
3973
{
 
3974
return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
 
3975
  ;
 
3976
  return 0;
 
3977
}
 
3978
_ACEOF
 
3979
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
 
3980
        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
 
3981
do
 
3982
  CC="$ac_save_CC $ac_arg"
 
3983
  if ac_fn_c_try_compile "$LINENO"; then :
 
3984
  ac_cv_prog_cc_c89=$ac_arg
 
3985
fi
 
3986
rm -f core conftest.err conftest.$ac_objext
 
3987
  test "x$ac_cv_prog_cc_c89" != "xno" && break
 
3988
done
 
3989
rm -f conftest.$ac_ext
 
3990
CC=$ac_save_CC
 
3991
 
 
3992
fi
 
3993
# AC_CACHE_VAL
 
3994
case "x$ac_cv_prog_cc_c89" in
 
3995
  x)
 
3996
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
 
3997
$as_echo "none needed" >&6; } ;;
 
3998
  xno)
 
3999
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
 
4000
$as_echo "unsupported" >&6; } ;;
 
4001
  *)
 
4002
    CC="$CC $ac_cv_prog_cc_c89"
 
4003
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
 
4004
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
 
4005
esac
 
4006
if test "x$ac_cv_prog_cc_c89" != xno; then :
 
4007
 
 
4008
fi
 
4009
 
 
4010
ac_ext=c
 
4011
ac_cpp='$CPP $CPPFLAGS'
 
4012
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
4013
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
4014
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
4015
 
 
4016
ac_ext=c
 
4017
ac_cpp='$CPP $CPPFLAGS'
 
4018
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
4019
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
4020
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
4021
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
 
4022
$as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
 
4023
if ${am_cv_prog_cc_c_o+:} false; then :
 
4024
  $as_echo_n "(cached) " >&6
 
4025
else
 
4026
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
4027
/* end confdefs.h.  */
 
4028
 
 
4029
int
 
4030
main ()
 
4031
{
 
4032
 
 
4033
  ;
 
4034
  return 0;
 
4035
}
 
4036
_ACEOF
 
4037
  # Make sure it works both with $CC and with simple cc.
 
4038
  # Following AC_PROG_CC_C_O, we do the test twice because some
 
4039
  # compilers refuse to overwrite an existing .o file with -o,
 
4040
  # though they will create one.
 
4041
  am_cv_prog_cc_c_o=yes
 
4042
  for am_i in 1 2; do
 
4043
    if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
 
4044
   ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
 
4045
   ac_status=$?
 
4046
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4047
   (exit $ac_status); } \
 
4048
         && test -f conftest2.$ac_objext; then
 
4049
      : OK
 
4050
    else
 
4051
      am_cv_prog_cc_c_o=no
 
4052
      break
 
4053
    fi
 
4054
  done
 
4055
  rm -f core conftest*
 
4056
  unset am_i
 
4057
fi
 
4058
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
 
4059
$as_echo "$am_cv_prog_cc_c_o" >&6; }
 
4060
if test "$am_cv_prog_cc_c_o" != yes; then
 
4061
   # Losing compiler, so override with the script.
 
4062
   # FIXME: It is wrong to rewrite CC.
 
4063
   # But if we don't then we get into trouble of one sort or another.
 
4064
   # A longer-term fix would be to have automake use am__CC in this case,
 
4065
   # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
 
4066
   CC="$am_aux_dir/compile $CC"
 
4067
fi
 
4068
ac_ext=c
 
4069
ac_cpp='$CPP $CPPFLAGS'
 
4070
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
4071
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
4072
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
4073
 
 
4074
DEPDIR="${am__leading_dot}deps"
 
4075
 
 
4076
ac_config_commands="$ac_config_commands depfiles"
 
4077
 
 
4078
 
 
4079
am_make=${MAKE-make}
 
4080
cat > confinc << 'END'
 
4081
am__doit:
 
4082
        @echo this is the am__doit target
 
4083
.PHONY: am__doit
 
4084
END
 
4085
# If we don't find an include directive, just comment out the code.
 
4086
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
 
4087
$as_echo_n "checking for style of include used by $am_make... " >&6; }
 
4088
am__include="#"
 
4089
am__quote=
 
4090
_am_result=none
 
4091
# First try GNU make style include.
 
4092
echo "include confinc" > confmf
 
4093
# Ignore all kinds of additional output from 'make'.
 
4094
case `$am_make -s -f confmf 2> /dev/null` in #(
 
4095
*the\ am__doit\ target*)
 
4096
  am__include=include
 
4097
  am__quote=
 
4098
  _am_result=GNU
 
4099
  ;;
 
4100
esac
 
4101
# Now try BSD make style include.
 
4102
if test "$am__include" = "#"; then
 
4103
   echo '.include "confinc"' > confmf
 
4104
   case `$am_make -s -f confmf 2> /dev/null` in #(
 
4105
   *the\ am__doit\ target*)
 
4106
     am__include=.include
 
4107
     am__quote="\""
 
4108
     _am_result=BSD
 
4109
     ;;
 
4110
   esac
 
4111
fi
 
4112
 
 
4113
 
 
4114
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
 
4115
$as_echo "$_am_result" >&6; }
 
4116
rm -f confinc confmf
 
4117
 
 
4118
# Check whether --enable-dependency-tracking was given.
 
4119
if test "${enable_dependency_tracking+set}" = set; then :
 
4120
  enableval=$enable_dependency_tracking;
 
4121
fi
 
4122
 
 
4123
if test "x$enable_dependency_tracking" != xno; then
 
4124
  am_depcomp="$ac_aux_dir/depcomp"
 
4125
  AMDEPBACKSLASH='\'
 
4126
  am__nodep='_no'
 
4127
fi
 
4128
 if test "x$enable_dependency_tracking" != xno; then
 
4129
  AMDEP_TRUE=
 
4130
  AMDEP_FALSE='#'
 
4131
else
 
4132
  AMDEP_TRUE='#'
 
4133
  AMDEP_FALSE=
 
4134
fi
 
4135
 
 
4136
 
 
4137
 
 
4138
depcc="$CC"   am_compiler_list=
 
4139
 
 
4140
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
 
4141
$as_echo_n "checking dependency style of $depcc... " >&6; }
 
4142
if ${am_cv_CC_dependencies_compiler_type+:} false; then :
 
4143
  $as_echo_n "(cached) " >&6
 
4144
else
 
4145
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
 
4146
  # We make a subdir and do the tests there.  Otherwise we can end up
 
4147
  # making bogus files that we don't know about and never remove.  For
 
4148
  # instance it was reported that on HP-UX the gcc test will end up
 
4149
  # making a dummy file named 'D' -- because '-MD' means "put the output
 
4150
  # in D".
 
4151
  rm -rf conftest.dir
 
4152
  mkdir conftest.dir
 
4153
  # Copy depcomp to subdir because otherwise we won't find it if we're
 
4154
  # using a relative directory.
 
4155
  cp "$am_depcomp" conftest.dir
 
4156
  cd conftest.dir
 
4157
  # We will build objects and dependencies in a subdirectory because
 
4158
  # it helps to detect inapplicable dependency modes.  For instance
 
4159
  # both Tru64's cc and ICC support -MD to output dependencies as a
 
4160
  # side effect of compilation, but ICC will put the dependencies in
 
4161
  # the current directory while Tru64 will put them in the object
 
4162
  # directory.
 
4163
  mkdir sub
 
4164
 
 
4165
  am_cv_CC_dependencies_compiler_type=none
 
4166
  if test "$am_compiler_list" = ""; then
 
4167
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
 
4168
  fi
 
4169
  am__universal=false
 
4170
  case " $depcc " in #(
 
4171
     *\ -arch\ *\ -arch\ *) am__universal=true ;;
 
4172
     esac
 
4173
 
 
4174
  for depmode in $am_compiler_list; do
 
4175
    # Setup a source with many dependencies, because some compilers
 
4176
    # like to wrap large dependency lists on column 80 (with \), and
 
4177
    # we should not choose a depcomp mode which is confused by this.
 
4178
    #
 
4179
    # We need to recreate these files for each test, as the compiler may
 
4180
    # overwrite some of them when testing with obscure command lines.
 
4181
    # This happens at least with the AIX C compiler.
 
4182
    : > sub/conftest.c
 
4183
    for i in 1 2 3 4 5 6; do
 
4184
      echo '#include "conftst'$i'.h"' >> sub/conftest.c
 
4185
      # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
 
4186
      # Solaris 10 /bin/sh.
 
4187
      echo '/* dummy */' > sub/conftst$i.h
 
4188
    done
 
4189
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
 
4190
 
 
4191
    # We check with '-c' and '-o' for the sake of the "dashmstdout"
 
4192
    # mode.  It turns out that the SunPro C++ compiler does not properly
 
4193
    # handle '-M -o', and we need to detect this.  Also, some Intel
 
4194
    # versions had trouble with output in subdirs.
 
4195
    am__obj=sub/conftest.${OBJEXT-o}
 
4196
    am__minus_obj="-o $am__obj"
 
4197
    case $depmode in
 
4198
    gcc)
 
4199
      # This depmode causes a compiler race in universal mode.
 
4200
      test "$am__universal" = false || continue
 
4201
      ;;
 
4202
    nosideeffect)
 
4203
      # After this tag, mechanisms are not by side-effect, so they'll
 
4204
      # only be used when explicitly requested.
 
4205
      if test "x$enable_dependency_tracking" = xyes; then
 
4206
        continue
 
4207
      else
 
4208
        break
 
4209
      fi
 
4210
      ;;
 
4211
    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
 
4212
      # This compiler won't grok '-c -o', but also, the minuso test has
 
4213
      # not run yet.  These depmodes are late enough in the game, and
 
4214
      # so weak that their functioning should not be impacted.
 
4215
      am__obj=conftest.${OBJEXT-o}
 
4216
      am__minus_obj=
 
4217
      ;;
 
4218
    none) break ;;
 
4219
    esac
 
4220
    if depmode=$depmode \
 
4221
       source=sub/conftest.c object=$am__obj \
 
4222
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
 
4223
       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
 
4224
         >/dev/null 2>conftest.err &&
 
4225
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
 
4226
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
 
4227
       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
 
4228
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
 
4229
      # icc doesn't choke on unknown options, it will just issue warnings
 
4230
      # or remarks (even with -Werror).  So we grep stderr for any message
 
4231
      # that says an option was ignored or not supported.
 
4232
      # When given -MP, icc 7.0 and 7.1 complain thusly:
 
4233
      #   icc: Command line warning: ignoring option '-M'; no argument required
 
4234
      # The diagnosis changed in icc 8.0:
 
4235
      #   icc: Command line remark: option '-MP' not supported
 
4236
      if (grep 'ignoring option' conftest.err ||
 
4237
          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
 
4238
        am_cv_CC_dependencies_compiler_type=$depmode
 
4239
        break
 
4240
      fi
 
4241
    fi
 
4242
  done
 
4243
 
 
4244
  cd ..
 
4245
  rm -rf conftest.dir
 
4246
else
 
4247
  am_cv_CC_dependencies_compiler_type=none
 
4248
fi
 
4249
 
 
4250
fi
 
4251
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
 
4252
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
 
4253
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
 
4254
 
 
4255
 if
 
4256
  test "x$enable_dependency_tracking" != xno \
 
4257
  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
 
4258
  am__fastdepCC_TRUE=
 
4259
  am__fastdepCC_FALSE='#'
 
4260
else
 
4261
  am__fastdepCC_TRUE='#'
 
4262
  am__fastdepCC_FALSE=
 
4263
fi
 
4264
 
 
4265
 
 
4266
case `pwd` in
 
4267
  *\ * | *\     *)
 
4268
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
 
4269
$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
 
4270
esac
 
4271
 
 
4272
 
 
4273
 
 
4274
macro_version='2.4.2'
 
4275
macro_revision='1.3337'
 
4276
 
 
4277
 
 
4278
 
 
4279
 
 
4280
 
 
4281
 
 
4282
 
 
4283
 
 
4284
 
 
4285
 
 
4286
 
 
4287
 
 
4288
 
 
4289
ltmain="$ac_aux_dir/ltmain.sh"
 
4290
 
 
4291
# Make sure we can run config.sub.
 
4292
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
 
4293
  as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
 
4294
 
 
4295
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
 
4296
$as_echo_n "checking build system type... " >&6; }
 
4297
if ${ac_cv_build+:} false; then :
 
4298
  $as_echo_n "(cached) " >&6
 
4299
else
 
4300
  ac_build_alias=$build_alias
 
4301
test "x$ac_build_alias" = x &&
 
4302
  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
 
4303
test "x$ac_build_alias" = x &&
 
4304
  as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
 
4305
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
 
4306
  as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
 
4307
 
 
4308
fi
 
4309
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
 
4310
$as_echo "$ac_cv_build" >&6; }
 
4311
case $ac_cv_build in
 
4312
*-*-*) ;;
 
4313
*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
 
4314
esac
 
4315
build=$ac_cv_build
 
4316
ac_save_IFS=$IFS; IFS='-'
 
4317
set x $ac_cv_build
 
4318
shift
 
4319
build_cpu=$1
 
4320
build_vendor=$2
 
4321
shift; shift
 
4322
# Remember, the first character of IFS is used to create $*,
 
4323
# except with old shells:
 
4324
build_os=$*
 
4325
IFS=$ac_save_IFS
 
4326
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
 
4327
 
 
4328
 
 
4329
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
 
4330
$as_echo_n "checking host system type... " >&6; }
 
4331
if ${ac_cv_host+:} false; then :
 
4332
  $as_echo_n "(cached) " >&6
 
4333
else
 
4334
  if test "x$host_alias" = x; then
 
4335
  ac_cv_host=$ac_cv_build
 
4336
else
 
4337
  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
 
4338
    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
 
4339
fi
 
4340
 
 
4341
fi
 
4342
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
 
4343
$as_echo "$ac_cv_host" >&6; }
 
4344
case $ac_cv_host in
 
4345
*-*-*) ;;
 
4346
*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
 
4347
esac
 
4348
host=$ac_cv_host
 
4349
ac_save_IFS=$IFS; IFS='-'
 
4350
set x $ac_cv_host
 
4351
shift
 
4352
host_cpu=$1
 
4353
host_vendor=$2
 
4354
shift; shift
 
4355
# Remember, the first character of IFS is used to create $*,
 
4356
# except with old shells:
 
4357
host_os=$*
 
4358
IFS=$ac_save_IFS
 
4359
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
 
4360
 
 
4361
 
 
4362
# Backslashify metacharacters that are still active within
 
4363
# double-quoted strings.
 
4364
sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
 
4365
 
 
4366
# Same as above, but do not quote variable references.
 
4367
double_quote_subst='s/\(["`\\]\)/\\\1/g'
 
4368
 
 
4369
# Sed substitution to delay expansion of an escaped shell variable in a
 
4370
# double_quote_subst'ed string.
 
4371
delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
 
4372
 
 
4373
# Sed substitution to delay expansion of an escaped single quote.
 
4374
delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
 
4375
 
 
4376
# Sed substitution to avoid accidental globbing in evaled expressions
 
4377
no_glob_subst='s/\*/\\\*/g'
 
4378
 
 
4379
ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
 
4380
ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
 
4381
ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
 
4382
 
 
4383
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
 
4384
$as_echo_n "checking how to print strings... " >&6; }
 
4385
# Test print first, because it will be a builtin if present.
 
4386
if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
 
4387
   test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
 
4388
  ECHO='print -r --'
 
4389
elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
 
4390
  ECHO='printf %s\n'
 
4391
else
 
4392
  # Use this function as a fallback that always works.
 
4393
  func_fallback_echo ()
 
4394
  {
 
4395
    eval 'cat <<_LTECHO_EOF
 
4396
$1
 
4397
_LTECHO_EOF'
 
4398
  }
 
4399
  ECHO='func_fallback_echo'
 
4400
fi
 
4401
 
 
4402
# func_echo_all arg...
 
4403
# Invoke $ECHO with all args, space-separated.
 
4404
func_echo_all ()
 
4405
{
 
4406
    $ECHO ""
 
4407
}
 
4408
 
 
4409
case "$ECHO" in
 
4410
  printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
 
4411
$as_echo "printf" >&6; } ;;
 
4412
  print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
 
4413
$as_echo "print -r" >&6; } ;;
 
4414
  *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
 
4415
$as_echo "cat" >&6; } ;;
 
4416
esac
 
4417
 
 
4418
 
 
4419
 
 
4420
 
 
4421
 
 
4422
 
 
4423
 
 
4424
 
 
4425
 
 
4426
 
 
4427
 
 
4428
 
 
4429
 
 
4430
 
 
4431
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
 
4432
$as_echo_n "checking for a sed that does not truncate output... " >&6; }
 
4433
if ${ac_cv_path_SED+:} false; then :
 
4434
  $as_echo_n "(cached) " >&6
 
4435
else
 
4436
            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
 
4437
     for ac_i in 1 2 3 4 5 6 7; do
 
4438
       ac_script="$ac_script$as_nl$ac_script"
 
4439
     done
 
4440
     echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
 
4441
     { ac_script=; unset ac_script;}
 
4442
     if test -z "$SED"; then
 
4443
  ac_path_SED_found=false
 
4444
  # Loop through the user's path and test for each of PROGNAME-LIST
 
4445
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4446
for as_dir in $PATH
 
4447
do
 
4448
  IFS=$as_save_IFS
 
4449
  test -z "$as_dir" && as_dir=.
 
4450
    for ac_prog in sed gsed; do
 
4451
    for ac_exec_ext in '' $ac_executable_extensions; do
 
4452
      ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
 
4453
      as_fn_executable_p "$ac_path_SED" || continue
 
4454
# Check for GNU ac_path_SED and select it if it is found.
 
4455
  # Check for GNU $ac_path_SED
 
4456
case `"$ac_path_SED" --version 2>&1` in
 
4457
*GNU*)
 
4458
  ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
 
4459
*)
 
4460
  ac_count=0
 
4461
  $as_echo_n 0123456789 >"conftest.in"
 
4462
  while :
 
4463
  do
 
4464
    cat "conftest.in" "conftest.in" >"conftest.tmp"
 
4465
    mv "conftest.tmp" "conftest.in"
 
4466
    cp "conftest.in" "conftest.nl"
 
4467
    $as_echo '' >> "conftest.nl"
 
4468
    "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
 
4469
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 
4470
    as_fn_arith $ac_count + 1 && ac_count=$as_val
 
4471
    if test $ac_count -gt ${ac_path_SED_max-0}; then
 
4472
      # Best one so far, save it but keep looking for a better one
 
4473
      ac_cv_path_SED="$ac_path_SED"
 
4474
      ac_path_SED_max=$ac_count
 
4475
    fi
 
4476
    # 10*(2^10) chars as input seems more than enough
 
4477
    test $ac_count -gt 10 && break
 
4478
  done
 
4479
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 
4480
esac
 
4481
 
 
4482
      $ac_path_SED_found && break 3
 
4483
    done
 
4484
  done
 
4485
  done
 
4486
IFS=$as_save_IFS
 
4487
  if test -z "$ac_cv_path_SED"; then
 
4488
    as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
 
4489
  fi
 
4490
else
 
4491
  ac_cv_path_SED=$SED
 
4492
fi
 
4493
 
 
4494
fi
 
4495
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
 
4496
$as_echo "$ac_cv_path_SED" >&6; }
 
4497
 SED="$ac_cv_path_SED"
 
4498
  rm -f conftest.sed
 
4499
 
 
4500
test -z "$SED" && SED=sed
 
4501
Xsed="$SED -e 1s/^X//"
 
4502
 
 
4503
 
 
4504
 
 
4505
 
 
4506
 
 
4507
 
 
4508
 
 
4509
 
 
4510
 
 
4511
 
 
4512
 
 
4513
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
 
4514
$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
 
4515
if ${ac_cv_path_GREP+:} false; then :
 
4516
  $as_echo_n "(cached) " >&6
 
4517
else
 
4518
  if test -z "$GREP"; then
 
4519
  ac_path_GREP_found=false
 
4520
  # Loop through the user's path and test for each of PROGNAME-LIST
 
4521
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4522
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
 
4523
do
 
4524
  IFS=$as_save_IFS
 
4525
  test -z "$as_dir" && as_dir=.
 
4526
    for ac_prog in grep ggrep; do
 
4527
    for ac_exec_ext in '' $ac_executable_extensions; do
 
4528
      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
 
4529
      as_fn_executable_p "$ac_path_GREP" || continue
 
4530
# Check for GNU ac_path_GREP and select it if it is found.
 
4531
  # Check for GNU $ac_path_GREP
 
4532
case `"$ac_path_GREP" --version 2>&1` in
 
4533
*GNU*)
 
4534
  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
 
4535
*)
 
4536
  ac_count=0
 
4537
  $as_echo_n 0123456789 >"conftest.in"
 
4538
  while :
 
4539
  do
 
4540
    cat "conftest.in" "conftest.in" >"conftest.tmp"
 
4541
    mv "conftest.tmp" "conftest.in"
 
4542
    cp "conftest.in" "conftest.nl"
 
4543
    $as_echo 'GREP' >> "conftest.nl"
 
4544
    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
 
4545
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 
4546
    as_fn_arith $ac_count + 1 && ac_count=$as_val
 
4547
    if test $ac_count -gt ${ac_path_GREP_max-0}; then
 
4548
      # Best one so far, save it but keep looking for a better one
 
4549
      ac_cv_path_GREP="$ac_path_GREP"
 
4550
      ac_path_GREP_max=$ac_count
 
4551
    fi
 
4552
    # 10*(2^10) chars as input seems more than enough
 
4553
    test $ac_count -gt 10 && break
 
4554
  done
 
4555
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 
4556
esac
 
4557
 
 
4558
      $ac_path_GREP_found && break 3
 
4559
    done
 
4560
  done
 
4561
  done
 
4562
IFS=$as_save_IFS
 
4563
  if test -z "$ac_cv_path_GREP"; then
 
4564
    as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
 
4565
  fi
 
4566
else
 
4567
  ac_cv_path_GREP=$GREP
 
4568
fi
 
4569
 
 
4570
fi
 
4571
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
 
4572
$as_echo "$ac_cv_path_GREP" >&6; }
 
4573
 GREP="$ac_cv_path_GREP"
 
4574
 
 
4575
 
 
4576
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
 
4577
$as_echo_n "checking for egrep... " >&6; }
 
4578
if ${ac_cv_path_EGREP+:} false; then :
 
4579
  $as_echo_n "(cached) " >&6
 
4580
else
 
4581
  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
 
4582
   then ac_cv_path_EGREP="$GREP -E"
 
4583
   else
 
4584
     if test -z "$EGREP"; then
 
4585
  ac_path_EGREP_found=false
 
4586
  # Loop through the user's path and test for each of PROGNAME-LIST
 
4587
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4588
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
 
4589
do
 
4590
  IFS=$as_save_IFS
 
4591
  test -z "$as_dir" && as_dir=.
 
4592
    for ac_prog in egrep; do
 
4593
    for ac_exec_ext in '' $ac_executable_extensions; do
 
4594
      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
 
4595
      as_fn_executable_p "$ac_path_EGREP" || continue
 
4596
# Check for GNU ac_path_EGREP and select it if it is found.
 
4597
  # Check for GNU $ac_path_EGREP
 
4598
case `"$ac_path_EGREP" --version 2>&1` in
 
4599
*GNU*)
 
4600
  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
 
4601
*)
 
4602
  ac_count=0
 
4603
  $as_echo_n 0123456789 >"conftest.in"
 
4604
  while :
 
4605
  do
 
4606
    cat "conftest.in" "conftest.in" >"conftest.tmp"
 
4607
    mv "conftest.tmp" "conftest.in"
 
4608
    cp "conftest.in" "conftest.nl"
 
4609
    $as_echo 'EGREP' >> "conftest.nl"
 
4610
    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
 
4611
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 
4612
    as_fn_arith $ac_count + 1 && ac_count=$as_val
 
4613
    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
 
4614
      # Best one so far, save it but keep looking for a better one
 
4615
      ac_cv_path_EGREP="$ac_path_EGREP"
 
4616
      ac_path_EGREP_max=$ac_count
 
4617
    fi
 
4618
    # 10*(2^10) chars as input seems more than enough
 
4619
    test $ac_count -gt 10 && break
 
4620
  done
 
4621
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 
4622
esac
 
4623
 
 
4624
      $ac_path_EGREP_found && break 3
 
4625
    done
 
4626
  done
 
4627
  done
 
4628
IFS=$as_save_IFS
 
4629
  if test -z "$ac_cv_path_EGREP"; then
 
4630
    as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
 
4631
  fi
 
4632
else
 
4633
  ac_cv_path_EGREP=$EGREP
 
4634
fi
 
4635
 
 
4636
   fi
 
4637
fi
 
4638
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
 
4639
$as_echo "$ac_cv_path_EGREP" >&6; }
 
4640
 EGREP="$ac_cv_path_EGREP"
 
4641
 
 
4642
 
 
4643
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
 
4644
$as_echo_n "checking for fgrep... " >&6; }
 
4645
if ${ac_cv_path_FGREP+:} false; then :
 
4646
  $as_echo_n "(cached) " >&6
 
4647
else
 
4648
  if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
 
4649
   then ac_cv_path_FGREP="$GREP -F"
 
4650
   else
 
4651
     if test -z "$FGREP"; then
 
4652
  ac_path_FGREP_found=false
 
4653
  # Loop through the user's path and test for each of PROGNAME-LIST
 
4654
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4655
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
 
4656
do
 
4657
  IFS=$as_save_IFS
 
4658
  test -z "$as_dir" && as_dir=.
 
4659
    for ac_prog in fgrep; do
 
4660
    for ac_exec_ext in '' $ac_executable_extensions; do
 
4661
      ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
 
4662
      as_fn_executable_p "$ac_path_FGREP" || continue
 
4663
# Check for GNU ac_path_FGREP and select it if it is found.
 
4664
  # Check for GNU $ac_path_FGREP
 
4665
case `"$ac_path_FGREP" --version 2>&1` in
 
4666
*GNU*)
 
4667
  ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
 
4668
*)
 
4669
  ac_count=0
 
4670
  $as_echo_n 0123456789 >"conftest.in"
 
4671
  while :
 
4672
  do
 
4673
    cat "conftest.in" "conftest.in" >"conftest.tmp"
 
4674
    mv "conftest.tmp" "conftest.in"
 
4675
    cp "conftest.in" "conftest.nl"
 
4676
    $as_echo 'FGREP' >> "conftest.nl"
 
4677
    "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
 
4678
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 
4679
    as_fn_arith $ac_count + 1 && ac_count=$as_val
 
4680
    if test $ac_count -gt ${ac_path_FGREP_max-0}; then
 
4681
      # Best one so far, save it but keep looking for a better one
 
4682
      ac_cv_path_FGREP="$ac_path_FGREP"
 
4683
      ac_path_FGREP_max=$ac_count
 
4684
    fi
 
4685
    # 10*(2^10) chars as input seems more than enough
 
4686
    test $ac_count -gt 10 && break
 
4687
  done
 
4688
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 
4689
esac
 
4690
 
 
4691
      $ac_path_FGREP_found && break 3
 
4692
    done
 
4693
  done
 
4694
  done
 
4695
IFS=$as_save_IFS
 
4696
  if test -z "$ac_cv_path_FGREP"; then
 
4697
    as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
 
4698
  fi
 
4699
else
 
4700
  ac_cv_path_FGREP=$FGREP
 
4701
fi
 
4702
 
 
4703
   fi
 
4704
fi
 
4705
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
 
4706
$as_echo "$ac_cv_path_FGREP" >&6; }
 
4707
 FGREP="$ac_cv_path_FGREP"
 
4708
 
 
4709
 
 
4710
test -z "$GREP" && GREP=grep
 
4711
 
 
4712
 
 
4713
 
 
4714
 
 
4715
 
 
4716
 
 
4717
 
 
4718
 
 
4719
 
 
4720
 
 
4721
 
 
4722
 
 
4723
 
 
4724
 
 
4725
 
 
4726
 
 
4727
 
 
4728
 
 
4729
 
 
4730
# Check whether --with-gnu-ld was given.
 
4731
if test "${with_gnu_ld+set}" = set; then :
 
4732
  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
 
4733
else
 
4734
  with_gnu_ld=no
 
4735
fi
 
4736
 
 
4737
ac_prog=ld
 
4738
if test "$GCC" = yes; then
 
4739
  # Check if gcc -print-prog-name=ld gives a path.
 
4740
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
 
4741
$as_echo_n "checking for ld used by $CC... " >&6; }
 
4742
  case $host in
 
4743
  *-*-mingw*)
 
4744
    # gcc leaves a trailing carriage return which upsets mingw
 
4745
    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
 
4746
  *)
 
4747
    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
 
4748
  esac
 
4749
  case $ac_prog in
 
4750
    # Accept absolute paths.
 
4751
    [\\/]* | ?:[\\/]*)
 
4752
      re_direlt='/[^/][^/]*/\.\./'
 
4753
      # Canonicalize the pathname of ld
 
4754
      ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
 
4755
      while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
 
4756
        ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
 
4757
      done
 
4758
      test -z "$LD" && LD="$ac_prog"
 
4759
      ;;
 
4760
  "")
 
4761
    # If it fails, then pretend we aren't using GCC.
 
4762
    ac_prog=ld
 
4763
    ;;
 
4764
  *)
 
4765
    # If it is relative, then search for the first ld in PATH.
 
4766
    with_gnu_ld=unknown
 
4767
    ;;
 
4768
  esac
 
4769
elif test "$with_gnu_ld" = yes; then
 
4770
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
 
4771
$as_echo_n "checking for GNU ld... " >&6; }
 
4772
else
 
4773
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
 
4774
$as_echo_n "checking for non-GNU ld... " >&6; }
 
4775
fi
 
4776
if ${lt_cv_path_LD+:} false; then :
 
4777
  $as_echo_n "(cached) " >&6
 
4778
else
 
4779
  if test -z "$LD"; then
 
4780
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
 
4781
  for ac_dir in $PATH; do
 
4782
    IFS="$lt_save_ifs"
 
4783
    test -z "$ac_dir" && ac_dir=.
 
4784
    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
 
4785
      lt_cv_path_LD="$ac_dir/$ac_prog"
 
4786
      # Check to see if the program is GNU ld.  I'd rather use --version,
 
4787
      # but apparently some variants of GNU ld only accept -v.
 
4788
      # Break only if it was the GNU/non-GNU ld that we prefer.
 
4789
      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
 
4790
      *GNU* | *'with BFD'*)
 
4791
        test "$with_gnu_ld" != no && break
 
4792
        ;;
 
4793
      *)
 
4794
        test "$with_gnu_ld" != yes && break
 
4795
        ;;
 
4796
      esac
 
4797
    fi
 
4798
  done
 
4799
  IFS="$lt_save_ifs"
 
4800
else
 
4801
  lt_cv_path_LD="$LD" # Let the user override the test with a path.
 
4802
fi
 
4803
fi
 
4804
 
 
4805
LD="$lt_cv_path_LD"
 
4806
if test -n "$LD"; then
 
4807
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
 
4808
$as_echo "$LD" >&6; }
 
4809
else
 
4810
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
4811
$as_echo "no" >&6; }
 
4812
fi
 
4813
test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
 
4814
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
 
4815
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
 
4816
if ${lt_cv_prog_gnu_ld+:} false; then :
 
4817
  $as_echo_n "(cached) " >&6
 
4818
else
 
4819
  # I'd rather use --version here, but apparently some GNU lds only accept -v.
 
4820
case `$LD -v 2>&1 </dev/null` in
 
4821
*GNU* | *'with BFD'*)
 
4822
  lt_cv_prog_gnu_ld=yes
 
4823
  ;;
 
4824
*)
 
4825
  lt_cv_prog_gnu_ld=no
 
4826
  ;;
 
4827
esac
 
4828
fi
 
4829
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
 
4830
$as_echo "$lt_cv_prog_gnu_ld" >&6; }
 
4831
with_gnu_ld=$lt_cv_prog_gnu_ld
 
4832
 
 
4833
 
 
4834
 
 
4835
 
 
4836
 
 
4837
 
 
4838
 
 
4839
 
 
4840
 
 
4841
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
 
4842
$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
 
4843
if ${lt_cv_path_NM+:} false; then :
 
4844
  $as_echo_n "(cached) " >&6
 
4845
else
 
4846
  if test -n "$NM"; then
 
4847
  # Let the user override the test.
 
4848
  lt_cv_path_NM="$NM"
 
4849
else
 
4850
  lt_nm_to_check="${ac_tool_prefix}nm"
 
4851
  if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
 
4852
    lt_nm_to_check="$lt_nm_to_check nm"
 
4853
  fi
 
4854
  for lt_tmp_nm in $lt_nm_to_check; do
 
4855
    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
 
4856
    for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
 
4857
      IFS="$lt_save_ifs"
 
4858
      test -z "$ac_dir" && ac_dir=.
 
4859
      tmp_nm="$ac_dir/$lt_tmp_nm"
 
4860
      if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
 
4861
        # Check to see if the nm accepts a BSD-compat flag.
 
4862
        # Adding the `sed 1q' prevents false positives on HP-UX, which says:
 
4863
        #   nm: unknown option "B" ignored
 
4864
        # Tru64's nm complains that /dev/null is an invalid object file
 
4865
        case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
 
4866
        */dev/null* | *'Invalid file or object type'*)
 
4867
          lt_cv_path_NM="$tmp_nm -B"
 
4868
          break
 
4869
          ;;
 
4870
        *)
 
4871
          case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
 
4872
          */dev/null*)
 
4873
            lt_cv_path_NM="$tmp_nm -p"
 
4874
            break
 
4875
            ;;
 
4876
          *)
 
4877
            lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
 
4878
            continue # so that we can try to find one that supports BSD flags
 
4879
            ;;
 
4880
          esac
 
4881
          ;;
 
4882
        esac
 
4883
      fi
 
4884
    done
 
4885
    IFS="$lt_save_ifs"
 
4886
  done
 
4887
  : ${lt_cv_path_NM=no}
 
4888
fi
 
4889
fi
 
4890
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
 
4891
$as_echo "$lt_cv_path_NM" >&6; }
 
4892
if test "$lt_cv_path_NM" != "no"; then
 
4893
  NM="$lt_cv_path_NM"
 
4894
else
 
4895
  # Didn't find any BSD compatible name lister, look for dumpbin.
 
4896
  if test -n "$DUMPBIN"; then :
 
4897
    # Let the user override the test.
 
4898
  else
 
4899
    if test -n "$ac_tool_prefix"; then
 
4900
  for ac_prog in dumpbin "link -dump"
 
4901
  do
 
4902
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 
4903
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 
4904
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
4905
$as_echo_n "checking for $ac_word... " >&6; }
 
4906
if ${ac_cv_prog_DUMPBIN+:} false; then :
 
4907
  $as_echo_n "(cached) " >&6
 
4908
else
 
4909
  if test -n "$DUMPBIN"; then
 
4910
  ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
 
4911
else
 
4912
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4913
for as_dir in $PATH
 
4914
do
 
4915
  IFS=$as_save_IFS
 
4916
  test -z "$as_dir" && as_dir=.
 
4917
    for ac_exec_ext in '' $ac_executable_extensions; do
 
4918
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
4919
    ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
 
4920
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4921
    break 2
 
4922
  fi
 
4923
done
 
4924
  done
 
4925
IFS=$as_save_IFS
 
4926
 
 
4927
fi
 
4928
fi
 
4929
DUMPBIN=$ac_cv_prog_DUMPBIN
 
4930
if test -n "$DUMPBIN"; then
 
4931
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
 
4932
$as_echo "$DUMPBIN" >&6; }
 
4933
else
 
4934
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
4935
$as_echo "no" >&6; }
 
4936
fi
 
4937
 
 
4938
 
 
4939
    test -n "$DUMPBIN" && break
 
4940
  done
 
4941
fi
 
4942
if test -z "$DUMPBIN"; then
 
4943
  ac_ct_DUMPBIN=$DUMPBIN
 
4944
  for ac_prog in dumpbin "link -dump"
 
4945
do
 
4946
  # Extract the first word of "$ac_prog", so it can be a program name with args.
 
4947
set dummy $ac_prog; ac_word=$2
 
4948
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
4949
$as_echo_n "checking for $ac_word... " >&6; }
 
4950
if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
 
4951
  $as_echo_n "(cached) " >&6
 
4952
else
 
4953
  if test -n "$ac_ct_DUMPBIN"; then
 
4954
  ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
 
4955
else
 
4956
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4957
for as_dir in $PATH
 
4958
do
 
4959
  IFS=$as_save_IFS
 
4960
  test -z "$as_dir" && as_dir=.
 
4961
    for ac_exec_ext in '' $ac_executable_extensions; do
 
4962
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
4963
    ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
 
4964
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4965
    break 2
 
4966
  fi
 
4967
done
 
4968
  done
 
4969
IFS=$as_save_IFS
 
4970
 
 
4971
fi
 
4972
fi
 
4973
ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
 
4974
if test -n "$ac_ct_DUMPBIN"; then
 
4975
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
 
4976
$as_echo "$ac_ct_DUMPBIN" >&6; }
 
4977
else
 
4978
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
4979
$as_echo "no" >&6; }
 
4980
fi
 
4981
 
 
4982
 
 
4983
  test -n "$ac_ct_DUMPBIN" && break
 
4984
done
 
4985
 
 
4986
  if test "x$ac_ct_DUMPBIN" = x; then
 
4987
    DUMPBIN=":"
 
4988
  else
 
4989
    case $cross_compiling:$ac_tool_warned in
 
4990
yes:)
 
4991
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
4992
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
4993
ac_tool_warned=yes ;;
 
4994
esac
 
4995
    DUMPBIN=$ac_ct_DUMPBIN
 
4996
  fi
 
4997
fi
 
4998
 
 
4999
    case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
 
5000
    *COFF*)
 
5001
      DUMPBIN="$DUMPBIN -symbols"
 
5002
      ;;
 
5003
    *)
 
5004
      DUMPBIN=:
 
5005
      ;;
 
5006
    esac
 
5007
  fi
 
5008
 
 
5009
  if test "$DUMPBIN" != ":"; then
 
5010
    NM="$DUMPBIN"
 
5011
  fi
 
5012
fi
 
5013
test -z "$NM" && NM=nm
 
5014
 
 
5015
 
 
5016
 
 
5017
 
 
5018
 
 
5019
 
 
5020
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
 
5021
$as_echo_n "checking the name lister ($NM) interface... " >&6; }
 
5022
if ${lt_cv_nm_interface+:} false; then :
 
5023
  $as_echo_n "(cached) " >&6
 
5024
else
 
5025
  lt_cv_nm_interface="BSD nm"
 
5026
  echo "int some_variable = 0;" > conftest.$ac_ext
 
5027
  (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
 
5028
  (eval "$ac_compile" 2>conftest.err)
 
5029
  cat conftest.err >&5
 
5030
  (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
 
5031
  (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
 
5032
  cat conftest.err >&5
 
5033
  (eval echo "\"\$as_me:$LINENO: output\"" >&5)
 
5034
  cat conftest.out >&5
 
5035
  if $GREP 'External.*some_variable' conftest.out > /dev/null; then
 
5036
    lt_cv_nm_interface="MS dumpbin"
 
5037
  fi
 
5038
  rm -f conftest*
 
5039
fi
 
5040
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
 
5041
$as_echo "$lt_cv_nm_interface" >&6; }
 
5042
 
 
5043
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
 
5044
$as_echo_n "checking whether ln -s works... " >&6; }
 
5045
LN_S=$as_ln_s
 
5046
if test "$LN_S" = "ln -s"; then
 
5047
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
5048
$as_echo "yes" >&6; }
 
5049
else
 
5050
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
 
5051
$as_echo "no, using $LN_S" >&6; }
 
5052
fi
 
5053
 
 
5054
# find the maximum length of command line arguments
 
5055
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
 
5056
$as_echo_n "checking the maximum length of command line arguments... " >&6; }
 
5057
if ${lt_cv_sys_max_cmd_len+:} false; then :
 
5058
  $as_echo_n "(cached) " >&6
 
5059
else
 
5060
    i=0
 
5061
  teststring="ABCD"
 
5062
 
 
5063
  case $build_os in
 
5064
  msdosdjgpp*)
 
5065
    # On DJGPP, this test can blow up pretty badly due to problems in libc
 
5066
    # (any single argument exceeding 2000 bytes causes a buffer overrun
 
5067
    # during glob expansion).  Even if it were fixed, the result of this
 
5068
    # check would be larger than it should be.
 
5069
    lt_cv_sys_max_cmd_len=12288;    # 12K is about right
 
5070
    ;;
 
5071
 
 
5072
  gnu*)
 
5073
    # Under GNU Hurd, this test is not required because there is
 
5074
    # no limit to the length of command line arguments.
 
5075
    # Libtool will interpret -1 as no limit whatsoever
 
5076
    lt_cv_sys_max_cmd_len=-1;
 
5077
    ;;
 
5078
 
 
5079
  cygwin* | mingw* | cegcc*)
 
5080
    # On Win9x/ME, this test blows up -- it succeeds, but takes
 
5081
    # about 5 minutes as the teststring grows exponentially.
 
5082
    # Worse, since 9x/ME are not pre-emptively multitasking,
 
5083
    # you end up with a "frozen" computer, even though with patience
 
5084
    # the test eventually succeeds (with a max line length of 256k).
 
5085
    # Instead, let's just punt: use the minimum linelength reported by
 
5086
    # all of the supported platforms: 8192 (on NT/2K/XP).
 
5087
    lt_cv_sys_max_cmd_len=8192;
 
5088
    ;;
 
5089
 
 
5090
  mint*)
 
5091
    # On MiNT this can take a long time and run out of memory.
 
5092
    lt_cv_sys_max_cmd_len=8192;
 
5093
    ;;
 
5094
 
 
5095
  amigaos*)
 
5096
    # On AmigaOS with pdksh, this test takes hours, literally.
 
5097
    # So we just punt and use a minimum line length of 8192.
 
5098
    lt_cv_sys_max_cmd_len=8192;
 
5099
    ;;
 
5100
 
 
5101
  netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
 
5102
    # This has been around since 386BSD, at least.  Likely further.
 
5103
    if test -x /sbin/sysctl; then
 
5104
      lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
 
5105
    elif test -x /usr/sbin/sysctl; then
 
5106
      lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
 
5107
    else
 
5108
      lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
 
5109
    fi
 
5110
    # And add a safety zone
 
5111
    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
 
5112
    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
 
5113
    ;;
 
5114
 
 
5115
  interix*)
 
5116
    # We know the value 262144 and hardcode it with a safety zone (like BSD)
 
5117
    lt_cv_sys_max_cmd_len=196608
 
5118
    ;;
 
5119
 
 
5120
  os2*)
 
5121
    # The test takes a long time on OS/2.
 
5122
    lt_cv_sys_max_cmd_len=8192
 
5123
    ;;
 
5124
 
 
5125
  osf*)
 
5126
    # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
 
5127
    # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
 
5128
    # nice to cause kernel panics so lets avoid the loop below.
 
5129
    # First set a reasonable default.
 
5130
    lt_cv_sys_max_cmd_len=16384
 
5131
    #
 
5132
    if test -x /sbin/sysconfig; then
 
5133
      case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
 
5134
        *1*) lt_cv_sys_max_cmd_len=-1 ;;
 
5135
      esac
 
5136
    fi
 
5137
    ;;
 
5138
  sco3.2v5*)
 
5139
    lt_cv_sys_max_cmd_len=102400
 
5140
    ;;
 
5141
  sysv5* | sco5v6* | sysv4.2uw2*)
 
5142
    kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
 
5143
    if test -n "$kargmax"; then
 
5144
      lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[  ]//'`
 
5145
    else
 
5146
      lt_cv_sys_max_cmd_len=32768
 
5147
    fi
 
5148
    ;;
 
5149
  *)
 
5150
    lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
 
5151
    if test -n "$lt_cv_sys_max_cmd_len"; then
 
5152
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
 
5153
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
 
5154
    else
 
5155
      # Make teststring a little bigger before we do anything with it.
 
5156
      # a 1K string should be a reasonable start.
 
5157
      for i in 1 2 3 4 5 6 7 8 ; do
 
5158
        teststring=$teststring$teststring
 
5159
      done
 
5160
      SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
 
5161
      # If test is not a shell built-in, we'll probably end up computing a
 
5162
      # maximum length that is only half of the actual maximum length, but
 
5163
      # we can't tell.
 
5164
      while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
 
5165
                 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
 
5166
              test $i != 17 # 1/2 MB should be enough
 
5167
      do
 
5168
        i=`expr $i + 1`
 
5169
        teststring=$teststring$teststring
 
5170
      done
 
5171
      # Only check the string length outside the loop.
 
5172
      lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
 
5173
      teststring=
 
5174
      # Add a significant safety factor because C++ compilers can tack on
 
5175
      # massive amounts of additional arguments before passing them to the
 
5176
      # linker.  It appears as though 1/2 is a usable value.
 
5177
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
 
5178
    fi
 
5179
    ;;
 
5180
  esac
 
5181
 
 
5182
fi
 
5183
 
 
5184
if test -n $lt_cv_sys_max_cmd_len ; then
 
5185
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
 
5186
$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
 
5187
else
 
5188
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
 
5189
$as_echo "none" >&6; }
 
5190
fi
 
5191
max_cmd_len=$lt_cv_sys_max_cmd_len
 
5192
 
 
5193
 
 
5194
 
 
5195
 
 
5196
 
 
5197
 
 
5198
: ${CP="cp -f"}
 
5199
: ${MV="mv -f"}
 
5200
: ${RM="rm -f"}
 
5201
 
 
5202
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
 
5203
$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
 
5204
# Try some XSI features
 
5205
xsi_shell=no
 
5206
( _lt_dummy="a/b/c"
 
5207
  test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
 
5208
      = c,a/b,b/c, \
 
5209
    && eval 'test $(( 1 + 1 )) -eq 2 \
 
5210
    && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
 
5211
  && xsi_shell=yes
 
5212
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
 
5213
$as_echo "$xsi_shell" >&6; }
 
5214
 
 
5215
 
 
5216
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
 
5217
$as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
 
5218
lt_shell_append=no
 
5219
( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
 
5220
    >/dev/null 2>&1 \
 
5221
  && lt_shell_append=yes
 
5222
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
 
5223
$as_echo "$lt_shell_append" >&6; }
 
5224
 
 
5225
 
 
5226
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
 
5227
  lt_unset=unset
 
5228
else
 
5229
  lt_unset=false
 
5230
fi
 
5231
 
 
5232
 
 
5233
 
 
5234
 
 
5235
 
 
5236
# test EBCDIC or ASCII
 
5237
case `echo X|tr X '\101'` in
 
5238
 A) # ASCII based system
 
5239
    # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
 
5240
  lt_SP2NL='tr \040 \012'
 
5241
  lt_NL2SP='tr \015\012 \040\040'
 
5242
  ;;
 
5243
 *) # EBCDIC based system
 
5244
  lt_SP2NL='tr \100 \n'
 
5245
  lt_NL2SP='tr \r\n \100\100'
 
5246
  ;;
 
5247
esac
 
5248
 
 
5249
 
 
5250
 
 
5251
 
 
5252
 
 
5253
 
 
5254
 
 
5255
 
 
5256
 
 
5257
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
 
5258
$as_echo_n "checking how to convert $build file names to $host format... " >&6; }
 
5259
if ${lt_cv_to_host_file_cmd+:} false; then :
 
5260
  $as_echo_n "(cached) " >&6
 
5261
else
 
5262
  case $host in
 
5263
  *-*-mingw* )
 
5264
    case $build in
 
5265
      *-*-mingw* ) # actually msys
 
5266
        lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
 
5267
        ;;
 
5268
      *-*-cygwin* )
 
5269
        lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
 
5270
        ;;
 
5271
      * ) # otherwise, assume *nix
 
5272
        lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
 
5273
        ;;
 
5274
    esac
 
5275
    ;;
 
5276
  *-*-cygwin* )
 
5277
    case $build in
 
5278
      *-*-mingw* ) # actually msys
 
5279
        lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
 
5280
        ;;
 
5281
      *-*-cygwin* )
 
5282
        lt_cv_to_host_file_cmd=func_convert_file_noop
 
5283
        ;;
 
5284
      * ) # otherwise, assume *nix
 
5285
        lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
 
5286
        ;;
 
5287
    esac
 
5288
    ;;
 
5289
  * ) # unhandled hosts (and "normal" native builds)
 
5290
    lt_cv_to_host_file_cmd=func_convert_file_noop
 
5291
    ;;
 
5292
esac
 
5293
 
 
5294
fi
 
5295
 
 
5296
to_host_file_cmd=$lt_cv_to_host_file_cmd
 
5297
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
 
5298
$as_echo "$lt_cv_to_host_file_cmd" >&6; }
 
5299
 
 
5300
 
 
5301
 
 
5302
 
 
5303
 
 
5304
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
 
5305
$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
 
5306
if ${lt_cv_to_tool_file_cmd+:} false; then :
 
5307
  $as_echo_n "(cached) " >&6
 
5308
else
 
5309
  #assume ordinary cross tools, or native build.
 
5310
lt_cv_to_tool_file_cmd=func_convert_file_noop
 
5311
case $host in
 
5312
  *-*-mingw* )
 
5313
    case $build in
 
5314
      *-*-mingw* ) # actually msys
 
5315
        lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
 
5316
        ;;
 
5317
    esac
 
5318
    ;;
 
5319
esac
 
5320
 
 
5321
fi
 
5322
 
 
5323
to_tool_file_cmd=$lt_cv_to_tool_file_cmd
 
5324
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
 
5325
$as_echo "$lt_cv_to_tool_file_cmd" >&6; }
 
5326
 
 
5327
 
 
5328
 
 
5329
 
 
5330
 
 
5331
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
 
5332
$as_echo_n "checking for $LD option to reload object files... " >&6; }
 
5333
if ${lt_cv_ld_reload_flag+:} false; then :
 
5334
  $as_echo_n "(cached) " >&6
 
5335
else
 
5336
  lt_cv_ld_reload_flag='-r'
 
5337
fi
 
5338
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
 
5339
$as_echo "$lt_cv_ld_reload_flag" >&6; }
 
5340
reload_flag=$lt_cv_ld_reload_flag
 
5341
case $reload_flag in
 
5342
"" | " "*) ;;
 
5343
*) reload_flag=" $reload_flag" ;;
 
5344
esac
 
5345
reload_cmds='$LD$reload_flag -o $output$reload_objs'
 
5346
case $host_os in
 
5347
  cygwin* | mingw* | pw32* | cegcc*)
 
5348
    if test "$GCC" != yes; then
 
5349
      reload_cmds=false
 
5350
    fi
 
5351
    ;;
 
5352
  darwin*)
 
5353
    if test "$GCC" = yes; then
 
5354
      reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
 
5355
    else
 
5356
      reload_cmds='$LD$reload_flag -o $output$reload_objs'
 
5357
    fi
 
5358
    ;;
 
5359
esac
 
5360
 
 
5361
 
 
5362
 
 
5363
 
 
5364
 
 
5365
 
 
5366
 
 
5367
 
 
5368
 
 
5369
if test -n "$ac_tool_prefix"; then
 
5370
  # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
 
5371
set dummy ${ac_tool_prefix}objdump; ac_word=$2
 
5372
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
5373
$as_echo_n "checking for $ac_word... " >&6; }
 
5374
if ${ac_cv_prog_OBJDUMP+:} false; then :
 
5375
  $as_echo_n "(cached) " >&6
 
5376
else
 
5377
  if test -n "$OBJDUMP"; then
 
5378
  ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
 
5379
else
 
5380
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5381
for as_dir in $PATH
 
5382
do
 
5383
  IFS=$as_save_IFS
 
5384
  test -z "$as_dir" && as_dir=.
 
5385
    for ac_exec_ext in '' $ac_executable_extensions; do
 
5386
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
5387
    ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
 
5388
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5389
    break 2
 
5390
  fi
 
5391
done
 
5392
  done
 
5393
IFS=$as_save_IFS
 
5394
 
 
5395
fi
 
5396
fi
 
5397
OBJDUMP=$ac_cv_prog_OBJDUMP
 
5398
if test -n "$OBJDUMP"; then
 
5399
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
 
5400
$as_echo "$OBJDUMP" >&6; }
 
5401
else
 
5402
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
5403
$as_echo "no" >&6; }
 
5404
fi
 
5405
 
 
5406
 
 
5407
fi
 
5408
if test -z "$ac_cv_prog_OBJDUMP"; then
 
5409
  ac_ct_OBJDUMP=$OBJDUMP
 
5410
  # Extract the first word of "objdump", so it can be a program name with args.
 
5411
set dummy objdump; ac_word=$2
 
5412
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
5413
$as_echo_n "checking for $ac_word... " >&6; }
 
5414
if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
 
5415
  $as_echo_n "(cached) " >&6
 
5416
else
 
5417
  if test -n "$ac_ct_OBJDUMP"; then
 
5418
  ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
 
5419
else
 
5420
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5421
for as_dir in $PATH
 
5422
do
 
5423
  IFS=$as_save_IFS
 
5424
  test -z "$as_dir" && as_dir=.
 
5425
    for ac_exec_ext in '' $ac_executable_extensions; do
 
5426
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
5427
    ac_cv_prog_ac_ct_OBJDUMP="objdump"
 
5428
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5429
    break 2
 
5430
  fi
 
5431
done
 
5432
  done
 
5433
IFS=$as_save_IFS
 
5434
 
 
5435
fi
 
5436
fi
 
5437
ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
 
5438
if test -n "$ac_ct_OBJDUMP"; then
 
5439
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
 
5440
$as_echo "$ac_ct_OBJDUMP" >&6; }
 
5441
else
 
5442
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
5443
$as_echo "no" >&6; }
 
5444
fi
 
5445
 
 
5446
  if test "x$ac_ct_OBJDUMP" = x; then
 
5447
    OBJDUMP="false"
 
5448
  else
 
5449
    case $cross_compiling:$ac_tool_warned in
 
5450
yes:)
 
5451
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
5452
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
5453
ac_tool_warned=yes ;;
 
5454
esac
 
5455
    OBJDUMP=$ac_ct_OBJDUMP
 
5456
  fi
 
5457
else
 
5458
  OBJDUMP="$ac_cv_prog_OBJDUMP"
 
5459
fi
 
5460
 
 
5461
test -z "$OBJDUMP" && OBJDUMP=objdump
 
5462
 
 
5463
 
 
5464
 
 
5465
 
 
5466
 
 
5467
 
 
5468
 
 
5469
 
 
5470
 
 
5471
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
 
5472
$as_echo_n "checking how to recognize dependent libraries... " >&6; }
 
5473
if ${lt_cv_deplibs_check_method+:} false; then :
 
5474
  $as_echo_n "(cached) " >&6
 
5475
else
 
5476
  lt_cv_file_magic_cmd='$MAGIC_CMD'
 
5477
lt_cv_file_magic_test_file=
 
5478
lt_cv_deplibs_check_method='unknown'
 
5479
# Need to set the preceding variable on all platforms that support
 
5480
# interlibrary dependencies.
 
5481
# 'none' -- dependencies not supported.
 
5482
# `unknown' -- same as none, but documents that we really don't know.
 
5483
# 'pass_all' -- all dependencies passed with no checks.
 
5484
# 'test_compile' -- check by making test program.
 
5485
# 'file_magic [[regex]]' -- check by looking for files in library path
 
5486
# which responds to the $file_magic_cmd with a given extended regex.
 
5487
# If you have `file' or equivalent on your system and you're not sure
 
5488
# whether `pass_all' will *always* work, you probably want this one.
 
5489
 
 
5490
case $host_os in
 
5491
aix[4-9]*)
 
5492
  lt_cv_deplibs_check_method=pass_all
 
5493
  ;;
 
5494
 
 
5495
beos*)
 
5496
  lt_cv_deplibs_check_method=pass_all
 
5497
  ;;
 
5498
 
 
5499
bsdi[45]*)
 
5500
  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
 
5501
  lt_cv_file_magic_cmd='/usr/bin/file -L'
 
5502
  lt_cv_file_magic_test_file=/shlib/libc.so
 
5503
  ;;
 
5504
 
 
5505
cygwin*)
 
5506
  # func_win32_libid is a shell function defined in ltmain.sh
 
5507
  lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
 
5508
  lt_cv_file_magic_cmd='func_win32_libid'
 
5509
  ;;
 
5510
 
 
5511
mingw* | pw32*)
 
5512
  # Base MSYS/MinGW do not provide the 'file' command needed by
 
5513
  # func_win32_libid shell function, so use a weaker test based on 'objdump',
 
5514
  # unless we find 'file', for example because we are cross-compiling.
 
5515
  # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
 
5516
  if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
 
5517
    lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
 
5518
    lt_cv_file_magic_cmd='func_win32_libid'
 
5519
  else
 
5520
    # Keep this pattern in sync with the one in func_win32_libid.
 
5521
    lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
 
5522
    lt_cv_file_magic_cmd='$OBJDUMP -f'
 
5523
  fi
 
5524
  ;;
 
5525
 
 
5526
cegcc*)
 
5527
  # use the weaker test based on 'objdump'. See mingw*.
 
5528
  lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
 
5529
  lt_cv_file_magic_cmd='$OBJDUMP -f'
 
5530
  ;;
 
5531
 
 
5532
darwin* | rhapsody*)
 
5533
  lt_cv_deplibs_check_method=pass_all
 
5534
  ;;
 
5535
 
 
5536
freebsd* | dragonfly*)
 
5537
  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
 
5538
    case $host_cpu in
 
5539
    i*86 )
 
5540
      # Not sure whether the presence of OpenBSD here was a mistake.
 
5541
      # Let's accept both of them until this is cleared up.
 
5542
      lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
 
5543
      lt_cv_file_magic_cmd=/usr/bin/file
 
5544
      lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
 
5545
      ;;
 
5546
    esac
 
5547
  else
 
5548
    lt_cv_deplibs_check_method=pass_all
 
5549
  fi
 
5550
  ;;
 
5551
 
 
5552
gnu*)
 
5553
  lt_cv_deplibs_check_method=pass_all
 
5554
  ;;
 
5555
 
 
5556
haiku*)
 
5557
  lt_cv_deplibs_check_method=pass_all
 
5558
  ;;
 
5559
 
 
5560
hpux10.20* | hpux11*)
 
5561
  lt_cv_file_magic_cmd=/usr/bin/file
 
5562
  case $host_cpu in
 
5563
  ia64*)
 
5564
    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
 
5565
    lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
 
5566
    ;;
 
5567
  hppa*64*)
 
5568
    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)?[, -]* PA-RISC [0-9]\.[0-9]'
 
5569
    lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
 
5570
    ;;
 
5571
  *)
 
5572
    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
 
5573
    lt_cv_file_magic_test_file=/usr/lib/libc.sl
 
5574
    ;;
 
5575
  esac
 
5576
  ;;
 
5577
 
 
5578
interix[3-9]*)
 
5579
  # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
 
5580
  lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
 
5581
  ;;
 
5582
 
 
5583
irix5* | irix6* | nonstopux*)
 
5584
  case $LD in
 
5585
  *-32|*"-32 ") libmagic=32-bit;;
 
5586
  *-n32|*"-n32 ") libmagic=N32;;
 
5587
  *-64|*"-64 ") libmagic=64-bit;;
 
5588
  *) libmagic=never-match;;
 
5589
  esac
 
5590
  lt_cv_deplibs_check_method=pass_all
 
5591
  ;;
 
5592
 
 
5593
# This must be glibc/ELF.
 
5594
linux* | k*bsd*-gnu | kopensolaris*-gnu)
 
5595
  lt_cv_deplibs_check_method=pass_all
 
5596
  ;;
 
5597
 
 
5598
netbsd*)
 
5599
  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
 
5600
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
 
5601
  else
 
5602
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
 
5603
  fi
 
5604
  ;;
 
5605
 
 
5606
newos6*)
 
5607
  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
 
5608
  lt_cv_file_magic_cmd=/usr/bin/file
 
5609
  lt_cv_file_magic_test_file=/usr/lib/libnls.so
 
5610
  ;;
 
5611
 
 
5612
*nto* | *qnx*)
 
5613
  lt_cv_deplibs_check_method=pass_all
 
5614
  ;;
 
5615
 
 
5616
openbsd*)
 
5617
  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
5618
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
 
5619
  else
 
5620
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
 
5621
  fi
 
5622
  ;;
 
5623
 
 
5624
osf3* | osf4* | osf5*)
 
5625
  lt_cv_deplibs_check_method=pass_all
 
5626
  ;;
 
5627
 
 
5628
rdos*)
 
5629
  lt_cv_deplibs_check_method=pass_all
 
5630
  ;;
 
5631
 
 
5632
solaris*)
 
5633
  lt_cv_deplibs_check_method=pass_all
 
5634
  ;;
 
5635
 
 
5636
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
 
5637
  lt_cv_deplibs_check_method=pass_all
 
5638
  ;;
 
5639
 
 
5640
sysv4 | sysv4.3*)
 
5641
  case $host_vendor in
 
5642
  motorola)
 
5643
    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]'
 
5644
    lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
 
5645
    ;;
 
5646
  ncr)
 
5647
    lt_cv_deplibs_check_method=pass_all
 
5648
    ;;
 
5649
  sequent)
 
5650
    lt_cv_file_magic_cmd='/bin/file'
 
5651
    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
 
5652
    ;;
 
5653
  sni)
 
5654
    lt_cv_file_magic_cmd='/bin/file'
 
5655
    lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
 
5656
    lt_cv_file_magic_test_file=/lib/libc.so
 
5657
    ;;
 
5658
  siemens)
 
5659
    lt_cv_deplibs_check_method=pass_all
 
5660
    ;;
 
5661
  pc)
 
5662
    lt_cv_deplibs_check_method=pass_all
 
5663
    ;;
 
5664
  esac
 
5665
  ;;
 
5666
 
 
5667
tpf*)
 
5668
  lt_cv_deplibs_check_method=pass_all
 
5669
  ;;
 
5670
esac
 
5671
 
 
5672
fi
 
5673
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
 
5674
$as_echo "$lt_cv_deplibs_check_method" >&6; }
 
5675
 
 
5676
file_magic_glob=
 
5677
want_nocaseglob=no
 
5678
if test "$build" = "$host"; then
 
5679
  case $host_os in
 
5680
  mingw* | pw32*)
 
5681
    if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
 
5682
      want_nocaseglob=yes
 
5683
    else
 
5684
      file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
 
5685
    fi
 
5686
    ;;
 
5687
  esac
 
5688
fi
 
5689
 
 
5690
file_magic_cmd=$lt_cv_file_magic_cmd
 
5691
deplibs_check_method=$lt_cv_deplibs_check_method
 
5692
test -z "$deplibs_check_method" && deplibs_check_method=unknown
 
5693
 
 
5694
 
 
5695
 
 
5696
 
 
5697
 
 
5698
 
 
5699
 
 
5700
 
 
5701
 
 
5702
 
 
5703
 
 
5704
 
 
5705
 
 
5706
 
 
5707
 
 
5708
 
 
5709
 
 
5710
 
 
5711
 
 
5712
 
 
5713
 
 
5714
 
 
5715
if test -n "$ac_tool_prefix"; then
 
5716
  # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
 
5717
set dummy ${ac_tool_prefix}dlltool; ac_word=$2
 
5718
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
5719
$as_echo_n "checking for $ac_word... " >&6; }
 
5720
if ${ac_cv_prog_DLLTOOL+:} false; then :
 
5721
  $as_echo_n "(cached) " >&6
 
5722
else
 
5723
  if test -n "$DLLTOOL"; then
 
5724
  ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
 
5725
else
 
5726
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5727
for as_dir in $PATH
 
5728
do
 
5729
  IFS=$as_save_IFS
 
5730
  test -z "$as_dir" && as_dir=.
 
5731
    for ac_exec_ext in '' $ac_executable_extensions; do
 
5732
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
5733
    ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
 
5734
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5735
    break 2
 
5736
  fi
 
5737
done
 
5738
  done
 
5739
IFS=$as_save_IFS
 
5740
 
 
5741
fi
 
5742
fi
 
5743
DLLTOOL=$ac_cv_prog_DLLTOOL
 
5744
if test -n "$DLLTOOL"; then
 
5745
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
 
5746
$as_echo "$DLLTOOL" >&6; }
 
5747
else
 
5748
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
5749
$as_echo "no" >&6; }
 
5750
fi
 
5751
 
 
5752
 
 
5753
fi
 
5754
if test -z "$ac_cv_prog_DLLTOOL"; then
 
5755
  ac_ct_DLLTOOL=$DLLTOOL
 
5756
  # Extract the first word of "dlltool", so it can be a program name with args.
 
5757
set dummy dlltool; ac_word=$2
 
5758
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
5759
$as_echo_n "checking for $ac_word... " >&6; }
 
5760
if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
 
5761
  $as_echo_n "(cached) " >&6
 
5762
else
 
5763
  if test -n "$ac_ct_DLLTOOL"; then
 
5764
  ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
 
5765
else
 
5766
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5767
for as_dir in $PATH
 
5768
do
 
5769
  IFS=$as_save_IFS
 
5770
  test -z "$as_dir" && as_dir=.
 
5771
    for ac_exec_ext in '' $ac_executable_extensions; do
 
5772
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
5773
    ac_cv_prog_ac_ct_DLLTOOL="dlltool"
 
5774
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5775
    break 2
 
5776
  fi
 
5777
done
 
5778
  done
 
5779
IFS=$as_save_IFS
 
5780
 
 
5781
fi
 
5782
fi
 
5783
ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
 
5784
if test -n "$ac_ct_DLLTOOL"; then
 
5785
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
 
5786
$as_echo "$ac_ct_DLLTOOL" >&6; }
 
5787
else
 
5788
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
5789
$as_echo "no" >&6; }
 
5790
fi
 
5791
 
 
5792
  if test "x$ac_ct_DLLTOOL" = x; then
 
5793
    DLLTOOL="false"
 
5794
  else
 
5795
    case $cross_compiling:$ac_tool_warned in
 
5796
yes:)
 
5797
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
5798
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
5799
ac_tool_warned=yes ;;
 
5800
esac
 
5801
    DLLTOOL=$ac_ct_DLLTOOL
 
5802
  fi
 
5803
else
 
5804
  DLLTOOL="$ac_cv_prog_DLLTOOL"
 
5805
fi
 
5806
 
 
5807
test -z "$DLLTOOL" && DLLTOOL=dlltool
 
5808
 
 
5809
 
 
5810
 
 
5811
 
 
5812
 
 
5813
 
 
5814
 
 
5815
 
 
5816
 
 
5817
 
 
5818
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
 
5819
$as_echo_n "checking how to associate runtime and link libraries... " >&6; }
 
5820
if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
 
5821
  $as_echo_n "(cached) " >&6
 
5822
else
 
5823
  lt_cv_sharedlib_from_linklib_cmd='unknown'
 
5824
 
 
5825
case $host_os in
 
5826
cygwin* | mingw* | pw32* | cegcc*)
 
5827
  # two different shell functions defined in ltmain.sh
 
5828
  # decide which to use based on capabilities of $DLLTOOL
 
5829
  case `$DLLTOOL --help 2>&1` in
 
5830
  *--identify-strict*)
 
5831
    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
 
5832
    ;;
 
5833
  *)
 
5834
    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
 
5835
    ;;
 
5836
  esac
 
5837
  ;;
 
5838
*)
 
5839
  # fallback: assume linklib IS sharedlib
 
5840
  lt_cv_sharedlib_from_linklib_cmd="$ECHO"
 
5841
  ;;
 
5842
esac
 
5843
 
 
5844
fi
 
5845
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
 
5846
$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
 
5847
sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
 
5848
test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
 
5849
 
 
5850
 
 
5851
 
 
5852
 
 
5853
 
 
5854
 
 
5855
 
 
5856
 
 
5857
if test -n "$ac_tool_prefix"; then
 
5858
  for ac_prog in ar
 
5859
  do
 
5860
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 
5861
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 
5862
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
5863
$as_echo_n "checking for $ac_word... " >&6; }
 
5864
if ${ac_cv_prog_AR+:} false; then :
 
5865
  $as_echo_n "(cached) " >&6
 
5866
else
 
5867
  if test -n "$AR"; then
 
5868
  ac_cv_prog_AR="$AR" # Let the user override the test.
 
5869
else
 
5870
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5871
for as_dir in $PATH
 
5872
do
 
5873
  IFS=$as_save_IFS
 
5874
  test -z "$as_dir" && as_dir=.
 
5875
    for ac_exec_ext in '' $ac_executable_extensions; do
 
5876
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
5877
    ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
 
5878
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5879
    break 2
 
5880
  fi
 
5881
done
 
5882
  done
 
5883
IFS=$as_save_IFS
 
5884
 
 
5885
fi
 
5886
fi
 
5887
AR=$ac_cv_prog_AR
 
5888
if test -n "$AR"; then
 
5889
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
 
5890
$as_echo "$AR" >&6; }
 
5891
else
 
5892
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
5893
$as_echo "no" >&6; }
 
5894
fi
 
5895
 
 
5896
 
 
5897
    test -n "$AR" && break
 
5898
  done
 
5899
fi
 
5900
if test -z "$AR"; then
 
5901
  ac_ct_AR=$AR
 
5902
  for ac_prog in ar
 
5903
do
 
5904
  # Extract the first word of "$ac_prog", so it can be a program name with args.
 
5905
set dummy $ac_prog; ac_word=$2
 
5906
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
5907
$as_echo_n "checking for $ac_word... " >&6; }
 
5908
if ${ac_cv_prog_ac_ct_AR+:} false; then :
 
5909
  $as_echo_n "(cached) " >&6
 
5910
else
 
5911
  if test -n "$ac_ct_AR"; then
 
5912
  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
 
5913
else
 
5914
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5915
for as_dir in $PATH
 
5916
do
 
5917
  IFS=$as_save_IFS
 
5918
  test -z "$as_dir" && as_dir=.
 
5919
    for ac_exec_ext in '' $ac_executable_extensions; do
 
5920
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
5921
    ac_cv_prog_ac_ct_AR="$ac_prog"
 
5922
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5923
    break 2
 
5924
  fi
 
5925
done
 
5926
  done
 
5927
IFS=$as_save_IFS
 
5928
 
 
5929
fi
 
5930
fi
 
5931
ac_ct_AR=$ac_cv_prog_ac_ct_AR
 
5932
if test -n "$ac_ct_AR"; then
 
5933
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
 
5934
$as_echo "$ac_ct_AR" >&6; }
 
5935
else
 
5936
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
5937
$as_echo "no" >&6; }
 
5938
fi
 
5939
 
 
5940
 
 
5941
  test -n "$ac_ct_AR" && break
 
5942
done
 
5943
 
 
5944
  if test "x$ac_ct_AR" = x; then
 
5945
    AR="false"
 
5946
  else
 
5947
    case $cross_compiling:$ac_tool_warned in
 
5948
yes:)
 
5949
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
5950
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
5951
ac_tool_warned=yes ;;
 
5952
esac
 
5953
    AR=$ac_ct_AR
 
5954
  fi
 
5955
fi
 
5956
 
 
5957
: ${AR=ar}
 
5958
: ${AR_FLAGS=cru}
 
5959
 
 
5960
 
 
5961
 
 
5962
 
 
5963
 
 
5964
 
 
5965
 
 
5966
 
 
5967
 
 
5968
 
 
5969
 
 
5970
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
 
5971
$as_echo_n "checking for archiver @FILE support... " >&6; }
 
5972
if ${lt_cv_ar_at_file+:} false; then :
 
5973
  $as_echo_n "(cached) " >&6
 
5974
else
 
5975
  lt_cv_ar_at_file=no
 
5976
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
5977
/* end confdefs.h.  */
 
5978
 
 
5979
int
 
5980
main ()
 
5981
{
 
5982
 
 
5983
  ;
 
5984
  return 0;
 
5985
}
 
5986
_ACEOF
 
5987
if ac_fn_c_try_compile "$LINENO"; then :
 
5988
  echo conftest.$ac_objext > conftest.lst
 
5989
      lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
 
5990
      { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
 
5991
  (eval $lt_ar_try) 2>&5
 
5992
  ac_status=$?
 
5993
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
5994
  test $ac_status = 0; }
 
5995
      if test "$ac_status" -eq 0; then
 
5996
        # Ensure the archiver fails upon bogus file names.
 
5997
        rm -f conftest.$ac_objext libconftest.a
 
5998
        { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
 
5999
  (eval $lt_ar_try) 2>&5
 
6000
  ac_status=$?
 
6001
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
6002
  test $ac_status = 0; }
 
6003
        if test "$ac_status" -ne 0; then
 
6004
          lt_cv_ar_at_file=@
 
6005
        fi
 
6006
      fi
 
6007
      rm -f conftest.* libconftest.a
 
6008
 
 
6009
fi
 
6010
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
6011
 
 
6012
fi
 
6013
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
 
6014
$as_echo "$lt_cv_ar_at_file" >&6; }
 
6015
 
 
6016
if test "x$lt_cv_ar_at_file" = xno; then
 
6017
  archiver_list_spec=
 
6018
else
 
6019
  archiver_list_spec=$lt_cv_ar_at_file
 
6020
fi
 
6021
 
 
6022
 
 
6023
 
 
6024
 
 
6025
 
 
6026
 
 
6027
 
 
6028
if test -n "$ac_tool_prefix"; then
 
6029
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
 
6030
set dummy ${ac_tool_prefix}strip; ac_word=$2
 
6031
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
6032
$as_echo_n "checking for $ac_word... " >&6; }
 
6033
if ${ac_cv_prog_STRIP+:} false; then :
 
6034
  $as_echo_n "(cached) " >&6
 
6035
else
 
6036
  if test -n "$STRIP"; then
 
6037
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
 
6038
else
 
6039
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6040
for as_dir in $PATH
 
6041
do
 
6042
  IFS=$as_save_IFS
 
6043
  test -z "$as_dir" && as_dir=.
 
6044
    for ac_exec_ext in '' $ac_executable_extensions; do
 
6045
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
6046
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
 
6047
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6048
    break 2
 
6049
  fi
 
6050
done
 
6051
  done
 
6052
IFS=$as_save_IFS
 
6053
 
 
6054
fi
 
6055
fi
 
6056
STRIP=$ac_cv_prog_STRIP
 
6057
if test -n "$STRIP"; then
 
6058
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
 
6059
$as_echo "$STRIP" >&6; }
 
6060
else
 
6061
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
6062
$as_echo "no" >&6; }
 
6063
fi
 
6064
 
 
6065
 
 
6066
fi
 
6067
if test -z "$ac_cv_prog_STRIP"; then
 
6068
  ac_ct_STRIP=$STRIP
 
6069
  # Extract the first word of "strip", so it can be a program name with args.
 
6070
set dummy strip; ac_word=$2
 
6071
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
6072
$as_echo_n "checking for $ac_word... " >&6; }
 
6073
if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
 
6074
  $as_echo_n "(cached) " >&6
 
6075
else
 
6076
  if test -n "$ac_ct_STRIP"; then
 
6077
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
 
6078
else
 
6079
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6080
for as_dir in $PATH
 
6081
do
 
6082
  IFS=$as_save_IFS
 
6083
  test -z "$as_dir" && as_dir=.
 
6084
    for ac_exec_ext in '' $ac_executable_extensions; do
 
6085
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
6086
    ac_cv_prog_ac_ct_STRIP="strip"
 
6087
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6088
    break 2
 
6089
  fi
 
6090
done
 
6091
  done
 
6092
IFS=$as_save_IFS
 
6093
 
 
6094
fi
 
6095
fi
 
6096
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
 
6097
if test -n "$ac_ct_STRIP"; then
 
6098
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
 
6099
$as_echo "$ac_ct_STRIP" >&6; }
 
6100
else
 
6101
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
6102
$as_echo "no" >&6; }
 
6103
fi
 
6104
 
 
6105
  if test "x$ac_ct_STRIP" = x; then
 
6106
    STRIP=":"
 
6107
  else
 
6108
    case $cross_compiling:$ac_tool_warned in
 
6109
yes:)
 
6110
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
6111
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
6112
ac_tool_warned=yes ;;
 
6113
esac
 
6114
    STRIP=$ac_ct_STRIP
 
6115
  fi
 
6116
else
 
6117
  STRIP="$ac_cv_prog_STRIP"
 
6118
fi
 
6119
 
 
6120
test -z "$STRIP" && STRIP=:
 
6121
 
 
6122
 
 
6123
 
 
6124
 
 
6125
 
 
6126
 
 
6127
if test -n "$ac_tool_prefix"; then
 
6128
  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
 
6129
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
 
6130
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
6131
$as_echo_n "checking for $ac_word... " >&6; }
 
6132
if ${ac_cv_prog_RANLIB+:} false; then :
 
6133
  $as_echo_n "(cached) " >&6
 
6134
else
 
6135
  if test -n "$RANLIB"; then
 
6136
  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
 
6137
else
 
6138
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6139
for as_dir in $PATH
 
6140
do
 
6141
  IFS=$as_save_IFS
 
6142
  test -z "$as_dir" && as_dir=.
 
6143
    for ac_exec_ext in '' $ac_executable_extensions; do
 
6144
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
6145
    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
 
6146
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6147
    break 2
 
6148
  fi
 
6149
done
 
6150
  done
 
6151
IFS=$as_save_IFS
 
6152
 
 
6153
fi
 
6154
fi
 
6155
RANLIB=$ac_cv_prog_RANLIB
 
6156
if test -n "$RANLIB"; then
 
6157
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
 
6158
$as_echo "$RANLIB" >&6; }
 
6159
else
 
6160
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
6161
$as_echo "no" >&6; }
 
6162
fi
 
6163
 
 
6164
 
 
6165
fi
 
6166
if test -z "$ac_cv_prog_RANLIB"; then
 
6167
  ac_ct_RANLIB=$RANLIB
 
6168
  # Extract the first word of "ranlib", so it can be a program name with args.
 
6169
set dummy ranlib; ac_word=$2
 
6170
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
6171
$as_echo_n "checking for $ac_word... " >&6; }
 
6172
if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
 
6173
  $as_echo_n "(cached) " >&6
 
6174
else
 
6175
  if test -n "$ac_ct_RANLIB"; then
 
6176
  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
 
6177
else
 
6178
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6179
for as_dir in $PATH
 
6180
do
 
6181
  IFS=$as_save_IFS
 
6182
  test -z "$as_dir" && as_dir=.
 
6183
    for ac_exec_ext in '' $ac_executable_extensions; do
 
6184
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
6185
    ac_cv_prog_ac_ct_RANLIB="ranlib"
 
6186
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6187
    break 2
 
6188
  fi
 
6189
done
 
6190
  done
 
6191
IFS=$as_save_IFS
 
6192
 
 
6193
fi
 
6194
fi
 
6195
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
 
6196
if test -n "$ac_ct_RANLIB"; then
 
6197
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
 
6198
$as_echo "$ac_ct_RANLIB" >&6; }
 
6199
else
 
6200
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
6201
$as_echo "no" >&6; }
 
6202
fi
 
6203
 
 
6204
  if test "x$ac_ct_RANLIB" = x; then
 
6205
    RANLIB=":"
 
6206
  else
 
6207
    case $cross_compiling:$ac_tool_warned in
 
6208
yes:)
 
6209
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
6210
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
6211
ac_tool_warned=yes ;;
 
6212
esac
 
6213
    RANLIB=$ac_ct_RANLIB
 
6214
  fi
 
6215
else
 
6216
  RANLIB="$ac_cv_prog_RANLIB"
 
6217
fi
 
6218
 
 
6219
test -z "$RANLIB" && RANLIB=:
 
6220
 
 
6221
 
 
6222
 
 
6223
 
 
6224
 
 
6225
 
 
6226
# Determine commands to create old-style static archives.
 
6227
old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
 
6228
old_postinstall_cmds='chmod 644 $oldlib'
 
6229
old_postuninstall_cmds=
 
6230
 
 
6231
if test -n "$RANLIB"; then
 
6232
  case $host_os in
 
6233
  openbsd*)
 
6234
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
 
6235
    ;;
 
6236
  *)
 
6237
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
 
6238
    ;;
 
6239
  esac
 
6240
  old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
 
6241
fi
 
6242
 
 
6243
case $host_os in
 
6244
  darwin*)
 
6245
    lock_old_archive_extraction=yes ;;
 
6246
  *)
 
6247
    lock_old_archive_extraction=no ;;
 
6248
esac
 
6249
 
 
6250
 
 
6251
 
 
6252
 
 
6253
 
 
6254
 
 
6255
 
 
6256
 
 
6257
 
 
6258
 
 
6259
 
 
6260
 
 
6261
 
 
6262
 
 
6263
 
 
6264
 
 
6265
 
 
6266
 
 
6267
 
 
6268
 
 
6269
 
 
6270
 
 
6271
 
 
6272
 
 
6273
 
 
6274
 
 
6275
 
 
6276
 
 
6277
 
 
6278
 
 
6279
 
 
6280
 
 
6281
 
 
6282
 
 
6283
 
 
6284
 
 
6285
 
 
6286
 
 
6287
 
 
6288
# If no C compiler was specified, use CC.
 
6289
LTCC=${LTCC-"$CC"}
 
6290
 
 
6291
# If no C compiler flags were specified, use CFLAGS.
 
6292
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
 
6293
 
 
6294
# Allow CC to be a program name with arguments.
 
6295
compiler=$CC
 
6296
 
 
6297
 
 
6298
# Check for command to grab the raw symbol name followed by C symbol from nm.
 
6299
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
 
6300
$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
 
6301
if ${lt_cv_sys_global_symbol_pipe+:} false; then :
 
6302
  $as_echo_n "(cached) " >&6
 
6303
else
 
6304
 
 
6305
# These are sane defaults that work on at least a few old systems.
 
6306
# [They come from Ultrix.  What could be older than Ultrix?!! ;)]
 
6307
 
 
6308
# Character class describing NM global symbol codes.
 
6309
symcode='[BCDEGRST]'
 
6310
 
 
6311
# Regexp to match symbols that can be accessed directly from C.
 
6312
sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
 
6313
 
 
6314
# Define system-specific variables.
 
6315
case $host_os in
 
6316
aix*)
 
6317
  symcode='[BCDT]'
 
6318
  ;;
 
6319
cygwin* | mingw* | pw32* | cegcc*)
 
6320
  symcode='[ABCDGISTW]'
 
6321
  ;;
 
6322
hpux*)
 
6323
  if test "$host_cpu" = ia64; then
 
6324
    symcode='[ABCDEGRST]'
 
6325
  fi
 
6326
  ;;
 
6327
irix* | nonstopux*)
 
6328
  symcode='[BCDEGRST]'
 
6329
  ;;
 
6330
osf*)
 
6331
  symcode='[BCDEGQRST]'
 
6332
  ;;
 
6333
solaris*)
 
6334
  symcode='[BDRT]'
 
6335
  ;;
 
6336
sco3.2v5*)
 
6337
  symcode='[DT]'
 
6338
  ;;
 
6339
sysv4.2uw2*)
 
6340
  symcode='[DT]'
 
6341
  ;;
 
6342
sysv5* | sco5v6* | unixware* | OpenUNIX*)
 
6343
  symcode='[ABDT]'
 
6344
  ;;
 
6345
sysv4)
 
6346
  symcode='[DFNSTU]'
 
6347
  ;;
 
6348
esac
 
6349
 
 
6350
# If we're using GNU nm, then use its standard symbol codes.
 
6351
case `$NM -V 2>&1` in
 
6352
*GNU* | *'with BFD'*)
 
6353
  symcode='[ABCDGIRSTW]' ;;
 
6354
esac
 
6355
 
 
6356
# Transform an extracted symbol line into a proper C declaration.
 
6357
# Some systems (esp. on ia64) link data and code symbols differently,
 
6358
# so use this general approach.
 
6359
lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
 
6360
 
 
6361
# Transform an extracted symbol line into symbol name and symbol address
 
6362
lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
 
6363
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/  {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"lib\2\", (void *) \&\2},/p'"
 
6364
 
 
6365
# Handle CRLF in mingw tool chain
 
6366
opt_cr=
 
6367
case $build_os in
 
6368
mingw*)
 
6369
  opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
 
6370
  ;;
 
6371
esac
 
6372
 
 
6373
# Try without a prefix underscore, then with it.
 
6374
for ac_symprfx in "" "_"; do
 
6375
 
 
6376
  # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
 
6377
  symxfrm="\\1 $ac_symprfx\\2 \\2"
 
6378
 
 
6379
  # Write the raw and C identifiers.
 
6380
  if test "$lt_cv_nm_interface" = "MS dumpbin"; then
 
6381
    # Fake it for dumpbin and say T for any non-static function
 
6382
    # and D for any global variable.
 
6383
    # Also find C++ and __fastcall symbols from MSVC++,
 
6384
    # which start with @ or ?.
 
6385
    lt_cv_sys_global_symbol_pipe="$AWK '"\
 
6386
"     {last_section=section; section=\$ 3};"\
 
6387
"     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
 
6388
"     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
 
6389
"     \$ 0!~/External *\|/{next};"\
 
6390
"     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
 
6391
"     {if(hide[section]) next};"\
 
6392
"     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
 
6393
"     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
 
6394
"     s[1]~/^[@?]/{print s[1], s[1]; next};"\
 
6395
"     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
 
6396
"     ' prfx=^$ac_symprfx"
 
6397
  else
 
6398
    lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
 
6399
  fi
 
6400
  lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
 
6401
 
 
6402
  # Check to see that the pipe works correctly.
 
6403
  pipe_works=no
 
6404
 
 
6405
  rm -f conftest*
 
6406
  cat > conftest.$ac_ext <<_LT_EOF
 
6407
#ifdef __cplusplus
 
6408
extern "C" {
 
6409
#endif
 
6410
char nm_test_var;
 
6411
void nm_test_func(void);
 
6412
void nm_test_func(void){}
 
6413
#ifdef __cplusplus
 
6414
}
 
6415
#endif
 
6416
int main(){nm_test_var='a';nm_test_func();return(0);}
 
6417
_LT_EOF
 
6418
 
 
6419
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
 
6420
  (eval $ac_compile) 2>&5
 
6421
  ac_status=$?
 
6422
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
6423
  test $ac_status = 0; }; then
 
6424
    # Now try to grab the symbols.
 
6425
    nlist=conftest.nm
 
6426
    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
 
6427
  (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
 
6428
  ac_status=$?
 
6429
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
6430
  test $ac_status = 0; } && test -s "$nlist"; then
 
6431
      # Try sorting and uniquifying the output.
 
6432
      if sort "$nlist" | uniq > "$nlist"T; then
 
6433
        mv -f "$nlist"T "$nlist"
 
6434
      else
 
6435
        rm -f "$nlist"T
 
6436
      fi
 
6437
 
 
6438
      # Make sure that we snagged all the symbols we need.
 
6439
      if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
 
6440
        if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
 
6441
          cat <<_LT_EOF > conftest.$ac_ext
 
6442
/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
 
6443
#if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
 
6444
/* DATA imports from DLLs on WIN32 con't be const, because runtime
 
6445
   relocations are performed -- see ld's documentation on pseudo-relocs.  */
 
6446
# define LT_DLSYM_CONST
 
6447
#elif defined(__osf__)
 
6448
/* This system does not cope well with relocations in const data.  */
 
6449
# define LT_DLSYM_CONST
 
6450
#else
 
6451
# define LT_DLSYM_CONST const
 
6452
#endif
 
6453
 
 
6454
#ifdef __cplusplus
 
6455
extern "C" {
 
6456
#endif
 
6457
 
 
6458
_LT_EOF
 
6459
          # Now generate the symbol file.
 
6460
          eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
 
6461
 
 
6462
          cat <<_LT_EOF >> conftest.$ac_ext
 
6463
 
 
6464
/* The mapping between symbol names and symbols.  */
 
6465
LT_DLSYM_CONST struct {
 
6466
  const char *name;
 
6467
  void       *address;
 
6468
}
 
6469
lt__PROGRAM__LTX_preloaded_symbols[] =
 
6470
{
 
6471
  { "@PROGRAM@", (void *) 0 },
 
6472
_LT_EOF
 
6473
          $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
 
6474
          cat <<\_LT_EOF >> conftest.$ac_ext
 
6475
  {0, (void *) 0}
 
6476
};
 
6477
 
 
6478
/* This works around a problem in FreeBSD linker */
 
6479
#ifdef FREEBSD_WORKAROUND
 
6480
static const void *lt_preloaded_setup() {
 
6481
  return lt__PROGRAM__LTX_preloaded_symbols;
 
6482
}
 
6483
#endif
 
6484
 
 
6485
#ifdef __cplusplus
 
6486
}
 
6487
#endif
 
6488
_LT_EOF
 
6489
          # Now try linking the two files.
 
6490
          mv conftest.$ac_objext conftstm.$ac_objext
 
6491
          lt_globsym_save_LIBS=$LIBS
 
6492
          lt_globsym_save_CFLAGS=$CFLAGS
 
6493
          LIBS="conftstm.$ac_objext"
 
6494
          CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
 
6495
          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
 
6496
  (eval $ac_link) 2>&5
 
6497
  ac_status=$?
 
6498
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
6499
  test $ac_status = 0; } && test -s conftest${ac_exeext}; then
 
6500
            pipe_works=yes
 
6501
          fi
 
6502
          LIBS=$lt_globsym_save_LIBS
 
6503
          CFLAGS=$lt_globsym_save_CFLAGS
 
6504
        else
 
6505
          echo "cannot find nm_test_func in $nlist" >&5
 
6506
        fi
 
6507
      else
 
6508
        echo "cannot find nm_test_var in $nlist" >&5
 
6509
      fi
 
6510
    else
 
6511
      echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
 
6512
    fi
 
6513
  else
 
6514
    echo "$progname: failed program was:" >&5
 
6515
    cat conftest.$ac_ext >&5
 
6516
  fi
 
6517
  rm -rf conftest* conftst*
 
6518
 
 
6519
  # Do not use the global_symbol_pipe unless it works.
 
6520
  if test "$pipe_works" = yes; then
 
6521
    break
 
6522
  else
 
6523
    lt_cv_sys_global_symbol_pipe=
 
6524
  fi
 
6525
done
 
6526
 
 
6527
fi
 
6528
 
 
6529
if test -z "$lt_cv_sys_global_symbol_pipe"; then
 
6530
  lt_cv_sys_global_symbol_to_cdecl=
 
6531
fi
 
6532
if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
 
6533
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
 
6534
$as_echo "failed" >&6; }
 
6535
else
 
6536
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
 
6537
$as_echo "ok" >&6; }
 
6538
fi
 
6539
 
 
6540
# Response file support.
 
6541
if test "$lt_cv_nm_interface" = "MS dumpbin"; then
 
6542
  nm_file_list_spec='@'
 
6543
elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
 
6544
  nm_file_list_spec='@'
 
6545
fi
 
6546
 
 
6547
 
 
6548
 
 
6549
 
 
6550
 
 
6551
 
 
6552
 
 
6553
 
 
6554
 
 
6555
 
 
6556
 
 
6557
 
 
6558
 
 
6559
 
 
6560
 
 
6561
 
 
6562
 
 
6563
 
 
6564
 
 
6565
 
 
6566
 
 
6567
 
 
6568
 
 
6569
 
 
6570
 
 
6571
 
 
6572
 
 
6573
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
 
6574
$as_echo_n "checking for sysroot... " >&6; }
 
6575
 
 
6576
# Check whether --with-sysroot was given.
 
6577
if test "${with_sysroot+set}" = set; then :
 
6578
  withval=$with_sysroot;
 
6579
else
 
6580
  with_sysroot=no
 
6581
fi
 
6582
 
 
6583
 
 
6584
lt_sysroot=
 
6585
case ${with_sysroot} in #(
 
6586
 yes)
 
6587
   if test "$GCC" = yes; then
 
6588
     lt_sysroot=`$CC --print-sysroot 2>/dev/null`
 
6589
   fi
 
6590
   ;; #(
 
6591
 /*)
 
6592
   lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
 
6593
   ;; #(
 
6594
 no|'')
 
6595
   ;; #(
 
6596
 *)
 
6597
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
 
6598
$as_echo "${with_sysroot}" >&6; }
 
6599
   as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
 
6600
   ;;
 
6601
esac
 
6602
 
 
6603
 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
 
6604
$as_echo "${lt_sysroot:-no}" >&6; }
 
6605
 
 
6606
 
 
6607
 
 
6608
 
 
6609
 
 
6610
# Check whether --enable-libtool-lock was given.
 
6611
if test "${enable_libtool_lock+set}" = set; then :
 
6612
  enableval=$enable_libtool_lock;
 
6613
fi
 
6614
 
 
6615
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
 
6616
 
 
6617
# Some flags need to be propagated to the compiler or linker for good
 
6618
# libtool support.
 
6619
case $host in
 
6620
ia64-*-hpux*)
 
6621
  # Find out which ABI we are using.
 
6622
  echo 'int i;' > conftest.$ac_ext
 
6623
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
 
6624
  (eval $ac_compile) 2>&5
 
6625
  ac_status=$?
 
6626
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
6627
  test $ac_status = 0; }; then
 
6628
    case `/usr/bin/file conftest.$ac_objext` in
 
6629
      *ELF-32*)
 
6630
        HPUX_IA64_MODE="32"
 
6631
        ;;
 
6632
      *ELF-64*)
 
6633
        HPUX_IA64_MODE="64"
 
6634
        ;;
 
6635
    esac
 
6636
  fi
 
6637
  rm -rf conftest*
 
6638
  ;;
 
6639
*-*-irix6*)
 
6640
  # Find out which ABI we are using.
 
6641
  echo '#line '$LINENO' "configure"' > conftest.$ac_ext
 
6642
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
 
6643
  (eval $ac_compile) 2>&5
 
6644
  ac_status=$?
 
6645
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
6646
  test $ac_status = 0; }; then
 
6647
    if test "$lt_cv_prog_gnu_ld" = yes; then
 
6648
      case `/usr/bin/file conftest.$ac_objext` in
 
6649
        *32-bit*)
 
6650
          LD="${LD-ld} -melf32bsmip"
 
6651
          ;;
 
6652
        *N32*)
 
6653
          LD="${LD-ld} -melf32bmipn32"
 
6654
          ;;
 
6655
        *64-bit*)
 
6656
          LD="${LD-ld} -melf64bmip"
 
6657
        ;;
 
6658
      esac
 
6659
    else
 
6660
      case `/usr/bin/file conftest.$ac_objext` in
 
6661
        *32-bit*)
 
6662
          LD="${LD-ld} -32"
 
6663
          ;;
 
6664
        *N32*)
 
6665
          LD="${LD-ld} -n32"
 
6666
          ;;
 
6667
        *64-bit*)
 
6668
          LD="${LD-ld} -64"
 
6669
          ;;
 
6670
      esac
 
6671
    fi
 
6672
  fi
 
6673
  rm -rf conftest*
 
6674
  ;;
 
6675
 
 
6676
x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
 
6677
s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
 
6678
  # Find out which ABI we are using.
 
6679
  echo 'int i;' > conftest.$ac_ext
 
6680
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
 
6681
  (eval $ac_compile) 2>&5
 
6682
  ac_status=$?
 
6683
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
6684
  test $ac_status = 0; }; then
 
6685
    case `/usr/bin/file conftest.o` in
 
6686
      *32-bit*)
 
6687
        case $host in
 
6688
          x86_64-*kfreebsd*-gnu)
 
6689
            LD="${LD-ld} -m elf_i386_fbsd"
 
6690
            ;;
 
6691
          x86_64-*linux*)
 
6692
            LD="${LD-ld} -m elf_i386"
 
6693
            ;;
 
6694
          powerpc64le-*linux*)
 
6695
            LD="${LD-ld} -m elf32lppclinux"
 
6696
            ;;
 
6697
          powerpc64-*linux*)
 
6698
            LD="${LD-ld} -m elf32ppclinux"
 
6699
            ;;
 
6700
          s390x-*linux*)
 
6701
            LD="${LD-ld} -m elf_s390"
 
6702
            ;;
 
6703
          sparc64-*linux*)
 
6704
            LD="${LD-ld} -m elf32_sparc"
 
6705
            ;;
 
6706
        esac
 
6707
        ;;
 
6708
      *64-bit*)
 
6709
        case $host in
 
6710
          x86_64-*kfreebsd*-gnu)
 
6711
            LD="${LD-ld} -m elf_x86_64_fbsd"
 
6712
            ;;
 
6713
          x86_64-*linux*)
 
6714
            LD="${LD-ld} -m elf_x86_64"
 
6715
            ;;
 
6716
          powerpcle-*linux*)
 
6717
            LD="${LD-ld} -m elf64lppc"
 
6718
            ;;
 
6719
          powerpc-*linux*)
 
6720
            LD="${LD-ld} -m elf64ppc"
 
6721
            ;;
 
6722
          s390*-*linux*|s390*-*tpf*)
 
6723
            LD="${LD-ld} -m elf64_s390"
 
6724
            ;;
 
6725
          sparc*-*linux*)
 
6726
            LD="${LD-ld} -m elf64_sparc"
 
6727
            ;;
 
6728
        esac
 
6729
        ;;
 
6730
    esac
 
6731
  fi
 
6732
  rm -rf conftest*
 
6733
  ;;
 
6734
 
 
6735
*-*-sco3.2v5*)
 
6736
  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
 
6737
  SAVE_CFLAGS="$CFLAGS"
 
6738
  CFLAGS="$CFLAGS -belf"
 
6739
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
 
6740
$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
 
6741
if ${lt_cv_cc_needs_belf+:} false; then :
 
6742
  $as_echo_n "(cached) " >&6
 
6743
else
 
6744
  ac_ext=c
 
6745
ac_cpp='$CPP $CPPFLAGS'
 
6746
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
6747
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
6748
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
6749
 
 
6750
     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
6751
/* end confdefs.h.  */
 
6752
 
 
6753
int
 
6754
main ()
 
6755
{
 
6756
 
 
6757
  ;
 
6758
  return 0;
 
6759
}
 
6760
_ACEOF
 
6761
if ac_fn_c_try_link "$LINENO"; then :
 
6762
  lt_cv_cc_needs_belf=yes
 
6763
else
 
6764
  lt_cv_cc_needs_belf=no
 
6765
fi
 
6766
rm -f core conftest.err conftest.$ac_objext \
 
6767
    conftest$ac_exeext conftest.$ac_ext
 
6768
     ac_ext=c
 
6769
ac_cpp='$CPP $CPPFLAGS'
 
6770
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
6771
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
6772
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
6773
 
 
6774
fi
 
6775
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
 
6776
$as_echo "$lt_cv_cc_needs_belf" >&6; }
 
6777
  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
 
6778
    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
 
6779
    CFLAGS="$SAVE_CFLAGS"
 
6780
  fi
 
6781
  ;;
 
6782
*-*solaris*)
 
6783
  # Find out which ABI we are using.
 
6784
  echo 'int i;' > conftest.$ac_ext
 
6785
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
 
6786
  (eval $ac_compile) 2>&5
 
6787
  ac_status=$?
 
6788
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
6789
  test $ac_status = 0; }; then
 
6790
    case `/usr/bin/file conftest.o` in
 
6791
    *64-bit*)
 
6792
      case $lt_cv_prog_gnu_ld in
 
6793
      yes*)
 
6794
        case $host in
 
6795
        i?86-*-solaris*)
 
6796
          LD="${LD-ld} -m elf_x86_64"
 
6797
          ;;
 
6798
        sparc*-*-solaris*)
 
6799
          LD="${LD-ld} -m elf64_sparc"
 
6800
          ;;
 
6801
        esac
 
6802
        # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
 
6803
        if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
 
6804
          LD="${LD-ld}_sol2"
 
6805
        fi
 
6806
        ;;
 
6807
      *)
 
6808
        if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
 
6809
          LD="${LD-ld} -64"
 
6810
        fi
 
6811
        ;;
 
6812
      esac
 
6813
      ;;
 
6814
    esac
 
6815
  fi
 
6816
  rm -rf conftest*
 
6817
  ;;
 
6818
esac
 
6819
 
 
6820
need_locks="$enable_libtool_lock"
 
6821
 
 
6822
if test -n "$ac_tool_prefix"; then
 
6823
  # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
 
6824
set dummy ${ac_tool_prefix}mt; ac_word=$2
 
6825
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
6826
$as_echo_n "checking for $ac_word... " >&6; }
 
6827
if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
 
6828
  $as_echo_n "(cached) " >&6
 
6829
else
 
6830
  if test -n "$MANIFEST_TOOL"; then
 
6831
  ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
 
6832
else
 
6833
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6834
for as_dir in $PATH
 
6835
do
 
6836
  IFS=$as_save_IFS
 
6837
  test -z "$as_dir" && as_dir=.
 
6838
    for ac_exec_ext in '' $ac_executable_extensions; do
 
6839
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
6840
    ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
 
6841
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6842
    break 2
 
6843
  fi
 
6844
done
 
6845
  done
 
6846
IFS=$as_save_IFS
 
6847
 
 
6848
fi
 
6849
fi
 
6850
MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
 
6851
if test -n "$MANIFEST_TOOL"; then
 
6852
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
 
6853
$as_echo "$MANIFEST_TOOL" >&6; }
 
6854
else
 
6855
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
6856
$as_echo "no" >&6; }
 
6857
fi
 
6858
 
 
6859
 
 
6860
fi
 
6861
if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
 
6862
  ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
 
6863
  # Extract the first word of "mt", so it can be a program name with args.
 
6864
set dummy mt; ac_word=$2
 
6865
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
6866
$as_echo_n "checking for $ac_word... " >&6; }
 
6867
if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
 
6868
  $as_echo_n "(cached) " >&6
 
6869
else
 
6870
  if test -n "$ac_ct_MANIFEST_TOOL"; then
 
6871
  ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
 
6872
else
 
6873
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6874
for as_dir in $PATH
 
6875
do
 
6876
  IFS=$as_save_IFS
 
6877
  test -z "$as_dir" && as_dir=.
 
6878
    for ac_exec_ext in '' $ac_executable_extensions; do
 
6879
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
6880
    ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
 
6881
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6882
    break 2
 
6883
  fi
 
6884
done
 
6885
  done
 
6886
IFS=$as_save_IFS
 
6887
 
 
6888
fi
 
6889
fi
 
6890
ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
 
6891
if test -n "$ac_ct_MANIFEST_TOOL"; then
 
6892
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
 
6893
$as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
 
6894
else
 
6895
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
6896
$as_echo "no" >&6; }
 
6897
fi
 
6898
 
 
6899
  if test "x$ac_ct_MANIFEST_TOOL" = x; then
 
6900
    MANIFEST_TOOL=":"
 
6901
  else
 
6902
    case $cross_compiling:$ac_tool_warned in
 
6903
yes:)
 
6904
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
6905
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
6906
ac_tool_warned=yes ;;
 
6907
esac
 
6908
    MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
 
6909
  fi
 
6910
else
 
6911
  MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
 
6912
fi
 
6913
 
 
6914
test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
 
6915
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
 
6916
$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
 
6917
if ${lt_cv_path_mainfest_tool+:} false; then :
 
6918
  $as_echo_n "(cached) " >&6
 
6919
else
 
6920
  lt_cv_path_mainfest_tool=no
 
6921
  echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
 
6922
  $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
 
6923
  cat conftest.err >&5
 
6924
  if $GREP 'Manifest Tool' conftest.out > /dev/null; then
 
6925
    lt_cv_path_mainfest_tool=yes
 
6926
  fi
 
6927
  rm -f conftest*
 
6928
fi
 
6929
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
 
6930
$as_echo "$lt_cv_path_mainfest_tool" >&6; }
 
6931
if test "x$lt_cv_path_mainfest_tool" != xyes; then
 
6932
  MANIFEST_TOOL=:
 
6933
fi
 
6934
 
 
6935
 
 
6936
 
 
6937
 
 
6938
 
 
6939
 
 
6940
  case $host_os in
 
6941
    rhapsody* | darwin*)
 
6942
    if test -n "$ac_tool_prefix"; then
 
6943
  # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
 
6944
set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
 
6945
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
6946
$as_echo_n "checking for $ac_word... " >&6; }
 
6947
if ${ac_cv_prog_DSYMUTIL+:} false; then :
 
6948
  $as_echo_n "(cached) " >&6
 
6949
else
 
6950
  if test -n "$DSYMUTIL"; then
 
6951
  ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
 
6952
else
 
6953
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6954
for as_dir in $PATH
 
6955
do
 
6956
  IFS=$as_save_IFS
 
6957
  test -z "$as_dir" && as_dir=.
 
6958
    for ac_exec_ext in '' $ac_executable_extensions; do
 
6959
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
6960
    ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
 
6961
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6962
    break 2
 
6963
  fi
 
6964
done
 
6965
  done
 
6966
IFS=$as_save_IFS
 
6967
 
 
6968
fi
 
6969
fi
 
6970
DSYMUTIL=$ac_cv_prog_DSYMUTIL
 
6971
if test -n "$DSYMUTIL"; then
 
6972
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
 
6973
$as_echo "$DSYMUTIL" >&6; }
 
6974
else
 
6975
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
6976
$as_echo "no" >&6; }
 
6977
fi
 
6978
 
 
6979
 
 
6980
fi
 
6981
if test -z "$ac_cv_prog_DSYMUTIL"; then
 
6982
  ac_ct_DSYMUTIL=$DSYMUTIL
 
6983
  # Extract the first word of "dsymutil", so it can be a program name with args.
 
6984
set dummy dsymutil; ac_word=$2
 
6985
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
6986
$as_echo_n "checking for $ac_word... " >&6; }
 
6987
if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
 
6988
  $as_echo_n "(cached) " >&6
 
6989
else
 
6990
  if test -n "$ac_ct_DSYMUTIL"; then
 
6991
  ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
 
6992
else
 
6993
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6994
for as_dir in $PATH
 
6995
do
 
6996
  IFS=$as_save_IFS
 
6997
  test -z "$as_dir" && as_dir=.
 
6998
    for ac_exec_ext in '' $ac_executable_extensions; do
 
6999
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
7000
    ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
 
7001
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7002
    break 2
 
7003
  fi
 
7004
done
 
7005
  done
 
7006
IFS=$as_save_IFS
 
7007
 
 
7008
fi
 
7009
fi
 
7010
ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
 
7011
if test -n "$ac_ct_DSYMUTIL"; then
 
7012
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
 
7013
$as_echo "$ac_ct_DSYMUTIL" >&6; }
 
7014
else
 
7015
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
7016
$as_echo "no" >&6; }
 
7017
fi
 
7018
 
 
7019
  if test "x$ac_ct_DSYMUTIL" = x; then
 
7020
    DSYMUTIL=":"
 
7021
  else
 
7022
    case $cross_compiling:$ac_tool_warned in
 
7023
yes:)
 
7024
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
7025
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
7026
ac_tool_warned=yes ;;
 
7027
esac
 
7028
    DSYMUTIL=$ac_ct_DSYMUTIL
 
7029
  fi
 
7030
else
 
7031
  DSYMUTIL="$ac_cv_prog_DSYMUTIL"
 
7032
fi
 
7033
 
 
7034
    if test -n "$ac_tool_prefix"; then
 
7035
  # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
 
7036
set dummy ${ac_tool_prefix}nmedit; ac_word=$2
 
7037
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
7038
$as_echo_n "checking for $ac_word... " >&6; }
 
7039
if ${ac_cv_prog_NMEDIT+:} false; then :
 
7040
  $as_echo_n "(cached) " >&6
 
7041
else
 
7042
  if test -n "$NMEDIT"; then
 
7043
  ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
 
7044
else
 
7045
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
7046
for as_dir in $PATH
 
7047
do
 
7048
  IFS=$as_save_IFS
 
7049
  test -z "$as_dir" && as_dir=.
 
7050
    for ac_exec_ext in '' $ac_executable_extensions; do
 
7051
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
7052
    ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
 
7053
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7054
    break 2
 
7055
  fi
 
7056
done
 
7057
  done
 
7058
IFS=$as_save_IFS
 
7059
 
 
7060
fi
 
7061
fi
 
7062
NMEDIT=$ac_cv_prog_NMEDIT
 
7063
if test -n "$NMEDIT"; then
 
7064
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
 
7065
$as_echo "$NMEDIT" >&6; }
 
7066
else
 
7067
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
7068
$as_echo "no" >&6; }
 
7069
fi
 
7070
 
 
7071
 
 
7072
fi
 
7073
if test -z "$ac_cv_prog_NMEDIT"; then
 
7074
  ac_ct_NMEDIT=$NMEDIT
 
7075
  # Extract the first word of "nmedit", so it can be a program name with args.
 
7076
set dummy nmedit; ac_word=$2
 
7077
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
7078
$as_echo_n "checking for $ac_word... " >&6; }
 
7079
if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
 
7080
  $as_echo_n "(cached) " >&6
 
7081
else
 
7082
  if test -n "$ac_ct_NMEDIT"; then
 
7083
  ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
 
7084
else
 
7085
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
7086
for as_dir in $PATH
 
7087
do
 
7088
  IFS=$as_save_IFS
 
7089
  test -z "$as_dir" && as_dir=.
 
7090
    for ac_exec_ext in '' $ac_executable_extensions; do
 
7091
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
7092
    ac_cv_prog_ac_ct_NMEDIT="nmedit"
 
7093
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7094
    break 2
 
7095
  fi
 
7096
done
 
7097
  done
 
7098
IFS=$as_save_IFS
 
7099
 
 
7100
fi
 
7101
fi
 
7102
ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
 
7103
if test -n "$ac_ct_NMEDIT"; then
 
7104
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
 
7105
$as_echo "$ac_ct_NMEDIT" >&6; }
 
7106
else
 
7107
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
7108
$as_echo "no" >&6; }
 
7109
fi
 
7110
 
 
7111
  if test "x$ac_ct_NMEDIT" = x; then
 
7112
    NMEDIT=":"
 
7113
  else
 
7114
    case $cross_compiling:$ac_tool_warned in
 
7115
yes:)
 
7116
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
7117
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
7118
ac_tool_warned=yes ;;
 
7119
esac
 
7120
    NMEDIT=$ac_ct_NMEDIT
 
7121
  fi
 
7122
else
 
7123
  NMEDIT="$ac_cv_prog_NMEDIT"
 
7124
fi
 
7125
 
 
7126
    if test -n "$ac_tool_prefix"; then
 
7127
  # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
 
7128
set dummy ${ac_tool_prefix}lipo; ac_word=$2
 
7129
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
7130
$as_echo_n "checking for $ac_word... " >&6; }
 
7131
if ${ac_cv_prog_LIPO+:} false; then :
 
7132
  $as_echo_n "(cached) " >&6
 
7133
else
 
7134
  if test -n "$LIPO"; then
 
7135
  ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
 
7136
else
 
7137
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
7138
for as_dir in $PATH
 
7139
do
 
7140
  IFS=$as_save_IFS
 
7141
  test -z "$as_dir" && as_dir=.
 
7142
    for ac_exec_ext in '' $ac_executable_extensions; do
 
7143
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
7144
    ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
 
7145
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7146
    break 2
 
7147
  fi
 
7148
done
 
7149
  done
 
7150
IFS=$as_save_IFS
 
7151
 
 
7152
fi
 
7153
fi
 
7154
LIPO=$ac_cv_prog_LIPO
 
7155
if test -n "$LIPO"; then
 
7156
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
 
7157
$as_echo "$LIPO" >&6; }
 
7158
else
 
7159
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
7160
$as_echo "no" >&6; }
 
7161
fi
 
7162
 
 
7163
 
 
7164
fi
 
7165
if test -z "$ac_cv_prog_LIPO"; then
 
7166
  ac_ct_LIPO=$LIPO
 
7167
  # Extract the first word of "lipo", so it can be a program name with args.
 
7168
set dummy lipo; ac_word=$2
 
7169
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
7170
$as_echo_n "checking for $ac_word... " >&6; }
 
7171
if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
 
7172
  $as_echo_n "(cached) " >&6
 
7173
else
 
7174
  if test -n "$ac_ct_LIPO"; then
 
7175
  ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
 
7176
else
 
7177
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
7178
for as_dir in $PATH
 
7179
do
 
7180
  IFS=$as_save_IFS
 
7181
  test -z "$as_dir" && as_dir=.
 
7182
    for ac_exec_ext in '' $ac_executable_extensions; do
 
7183
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
7184
    ac_cv_prog_ac_ct_LIPO="lipo"
 
7185
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7186
    break 2
 
7187
  fi
 
7188
done
 
7189
  done
 
7190
IFS=$as_save_IFS
 
7191
 
 
7192
fi
 
7193
fi
 
7194
ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
 
7195
if test -n "$ac_ct_LIPO"; then
 
7196
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
 
7197
$as_echo "$ac_ct_LIPO" >&6; }
 
7198
else
 
7199
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
7200
$as_echo "no" >&6; }
 
7201
fi
 
7202
 
 
7203
  if test "x$ac_ct_LIPO" = x; then
 
7204
    LIPO=":"
 
7205
  else
 
7206
    case $cross_compiling:$ac_tool_warned in
 
7207
yes:)
 
7208
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
7209
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
7210
ac_tool_warned=yes ;;
 
7211
esac
 
7212
    LIPO=$ac_ct_LIPO
 
7213
  fi
 
7214
else
 
7215
  LIPO="$ac_cv_prog_LIPO"
 
7216
fi
 
7217
 
 
7218
    if test -n "$ac_tool_prefix"; then
 
7219
  # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
 
7220
set dummy ${ac_tool_prefix}otool; ac_word=$2
 
7221
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
7222
$as_echo_n "checking for $ac_word... " >&6; }
 
7223
if ${ac_cv_prog_OTOOL+:} false; then :
 
7224
  $as_echo_n "(cached) " >&6
 
7225
else
 
7226
  if test -n "$OTOOL"; then
 
7227
  ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
 
7228
else
 
7229
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
7230
for as_dir in $PATH
 
7231
do
 
7232
  IFS=$as_save_IFS
 
7233
  test -z "$as_dir" && as_dir=.
 
7234
    for ac_exec_ext in '' $ac_executable_extensions; do
 
7235
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
7236
    ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
 
7237
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7238
    break 2
 
7239
  fi
 
7240
done
 
7241
  done
 
7242
IFS=$as_save_IFS
 
7243
 
 
7244
fi
 
7245
fi
 
7246
OTOOL=$ac_cv_prog_OTOOL
 
7247
if test -n "$OTOOL"; then
 
7248
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
 
7249
$as_echo "$OTOOL" >&6; }
 
7250
else
 
7251
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
7252
$as_echo "no" >&6; }
 
7253
fi
 
7254
 
 
7255
 
 
7256
fi
 
7257
if test -z "$ac_cv_prog_OTOOL"; then
 
7258
  ac_ct_OTOOL=$OTOOL
 
7259
  # Extract the first word of "otool", so it can be a program name with args.
 
7260
set dummy otool; ac_word=$2
 
7261
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
7262
$as_echo_n "checking for $ac_word... " >&6; }
 
7263
if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
 
7264
  $as_echo_n "(cached) " >&6
 
7265
else
 
7266
  if test -n "$ac_ct_OTOOL"; then
 
7267
  ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
 
7268
else
 
7269
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
7270
for as_dir in $PATH
 
7271
do
 
7272
  IFS=$as_save_IFS
 
7273
  test -z "$as_dir" && as_dir=.
 
7274
    for ac_exec_ext in '' $ac_executable_extensions; do
 
7275
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
7276
    ac_cv_prog_ac_ct_OTOOL="otool"
 
7277
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7278
    break 2
 
7279
  fi
 
7280
done
 
7281
  done
 
7282
IFS=$as_save_IFS
 
7283
 
 
7284
fi
 
7285
fi
 
7286
ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
 
7287
if test -n "$ac_ct_OTOOL"; then
 
7288
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
 
7289
$as_echo "$ac_ct_OTOOL" >&6; }
 
7290
else
 
7291
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
7292
$as_echo "no" >&6; }
 
7293
fi
 
7294
 
 
7295
  if test "x$ac_ct_OTOOL" = x; then
 
7296
    OTOOL=":"
 
7297
  else
 
7298
    case $cross_compiling:$ac_tool_warned in
 
7299
yes:)
 
7300
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
7301
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
7302
ac_tool_warned=yes ;;
 
7303
esac
 
7304
    OTOOL=$ac_ct_OTOOL
 
7305
  fi
 
7306
else
 
7307
  OTOOL="$ac_cv_prog_OTOOL"
 
7308
fi
 
7309
 
 
7310
    if test -n "$ac_tool_prefix"; then
 
7311
  # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
 
7312
set dummy ${ac_tool_prefix}otool64; ac_word=$2
 
7313
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
7314
$as_echo_n "checking for $ac_word... " >&6; }
 
7315
if ${ac_cv_prog_OTOOL64+:} false; then :
 
7316
  $as_echo_n "(cached) " >&6
 
7317
else
 
7318
  if test -n "$OTOOL64"; then
 
7319
  ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
 
7320
else
 
7321
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
7322
for as_dir in $PATH
 
7323
do
 
7324
  IFS=$as_save_IFS
 
7325
  test -z "$as_dir" && as_dir=.
 
7326
    for ac_exec_ext in '' $ac_executable_extensions; do
 
7327
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
7328
    ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
 
7329
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7330
    break 2
 
7331
  fi
 
7332
done
 
7333
  done
 
7334
IFS=$as_save_IFS
 
7335
 
 
7336
fi
 
7337
fi
 
7338
OTOOL64=$ac_cv_prog_OTOOL64
 
7339
if test -n "$OTOOL64"; then
 
7340
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
 
7341
$as_echo "$OTOOL64" >&6; }
 
7342
else
 
7343
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
7344
$as_echo "no" >&6; }
 
7345
fi
 
7346
 
 
7347
 
 
7348
fi
 
7349
if test -z "$ac_cv_prog_OTOOL64"; then
 
7350
  ac_ct_OTOOL64=$OTOOL64
 
7351
  # Extract the first word of "otool64", so it can be a program name with args.
 
7352
set dummy otool64; ac_word=$2
 
7353
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
7354
$as_echo_n "checking for $ac_word... " >&6; }
 
7355
if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
 
7356
  $as_echo_n "(cached) " >&6
 
7357
else
 
7358
  if test -n "$ac_ct_OTOOL64"; then
 
7359
  ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
 
7360
else
 
7361
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
7362
for as_dir in $PATH
 
7363
do
 
7364
  IFS=$as_save_IFS
 
7365
  test -z "$as_dir" && as_dir=.
 
7366
    for ac_exec_ext in '' $ac_executable_extensions; do
 
7367
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
7368
    ac_cv_prog_ac_ct_OTOOL64="otool64"
 
7369
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7370
    break 2
 
7371
  fi
 
7372
done
 
7373
  done
 
7374
IFS=$as_save_IFS
 
7375
 
 
7376
fi
 
7377
fi
 
7378
ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
 
7379
if test -n "$ac_ct_OTOOL64"; then
 
7380
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
 
7381
$as_echo "$ac_ct_OTOOL64" >&6; }
 
7382
else
 
7383
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
7384
$as_echo "no" >&6; }
 
7385
fi
 
7386
 
 
7387
  if test "x$ac_ct_OTOOL64" = x; then
 
7388
    OTOOL64=":"
 
7389
  else
 
7390
    case $cross_compiling:$ac_tool_warned in
 
7391
yes:)
 
7392
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
7393
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
7394
ac_tool_warned=yes ;;
 
7395
esac
 
7396
    OTOOL64=$ac_ct_OTOOL64
 
7397
  fi
 
7398
else
 
7399
  OTOOL64="$ac_cv_prog_OTOOL64"
 
7400
fi
 
7401
 
 
7402
 
 
7403
 
 
7404
 
 
7405
 
 
7406
 
 
7407
 
 
7408
 
 
7409
 
 
7410
 
 
7411
 
 
7412
 
 
7413
 
 
7414
 
 
7415
 
 
7416
 
 
7417
 
 
7418
 
 
7419
 
 
7420
 
 
7421
 
 
7422
 
 
7423
 
 
7424
 
 
7425
 
 
7426
 
 
7427
 
 
7428
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
 
7429
$as_echo_n "checking for -single_module linker flag... " >&6; }
 
7430
if ${lt_cv_apple_cc_single_mod+:} false; then :
 
7431
  $as_echo_n "(cached) " >&6
 
7432
else
 
7433
  lt_cv_apple_cc_single_mod=no
 
7434
      if test -z "${LT_MULTI_MODULE}"; then
 
7435
        # By default we will add the -single_module flag. You can override
 
7436
        # by either setting the environment variable LT_MULTI_MODULE
 
7437
        # non-empty at configure time, or by adding -multi_module to the
 
7438
        # link flags.
 
7439
        rm -rf libconftest.dylib*
 
7440
        echo "int foo(void){return 1;}" > conftest.c
 
7441
        echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
 
7442
-dynamiclib -Wl,-single_module conftest.c" >&5
 
7443
        $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
 
7444
          -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
 
7445
        _lt_result=$?
 
7446
        # If there is a non-empty error log, and "single_module"
 
7447
        # appears in it, assume the flag caused a linker warning
 
7448
        if test -s conftest.err && $GREP single_module conftest.err; then
 
7449
          cat conftest.err >&5
 
7450
        # Otherwise, if the output was created with a 0 exit code from
 
7451
        # the compiler, it worked.
 
7452
        elif test -f libconftest.dylib && test $_lt_result -eq 0; then
 
7453
          lt_cv_apple_cc_single_mod=yes
 
7454
        else
 
7455
          cat conftest.err >&5
 
7456
        fi
 
7457
        rm -rf libconftest.dylib*
 
7458
        rm -f conftest.*
 
7459
      fi
 
7460
fi
 
7461
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
 
7462
$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
 
7463
 
 
7464
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
 
7465
$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
 
7466
if ${lt_cv_ld_exported_symbols_list+:} false; then :
 
7467
  $as_echo_n "(cached) " >&6
 
7468
else
 
7469
  lt_cv_ld_exported_symbols_list=no
 
7470
      save_LDFLAGS=$LDFLAGS
 
7471
      echo "_main" > conftest.sym
 
7472
      LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
 
7473
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
7474
/* end confdefs.h.  */
 
7475
 
 
7476
int
 
7477
main ()
 
7478
{
 
7479
 
 
7480
  ;
 
7481
  return 0;
 
7482
}
 
7483
_ACEOF
 
7484
if ac_fn_c_try_link "$LINENO"; then :
 
7485
  lt_cv_ld_exported_symbols_list=yes
 
7486
else
 
7487
  lt_cv_ld_exported_symbols_list=no
 
7488
fi
 
7489
rm -f core conftest.err conftest.$ac_objext \
 
7490
    conftest$ac_exeext conftest.$ac_ext
 
7491
        LDFLAGS="$save_LDFLAGS"
 
7492
 
 
7493
fi
 
7494
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
 
7495
$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
 
7496
 
 
7497
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
 
7498
$as_echo_n "checking for -force_load linker flag... " >&6; }
 
7499
if ${lt_cv_ld_force_load+:} false; then :
 
7500
  $as_echo_n "(cached) " >&6
 
7501
else
 
7502
  lt_cv_ld_force_load=no
 
7503
      cat > conftest.c << _LT_EOF
 
7504
int forced_loaded() { return 2;}
 
7505
_LT_EOF
 
7506
      echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
 
7507
      $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
 
7508
      echo "$AR cru libconftest.a conftest.o" >&5
 
7509
      $AR cru libconftest.a conftest.o 2>&5
 
7510
      echo "$RANLIB libconftest.a" >&5
 
7511
      $RANLIB libconftest.a 2>&5
 
7512
      cat > conftest.c << _LT_EOF
 
7513
int main() { return 0;}
 
7514
_LT_EOF
 
7515
      echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
 
7516
      $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
 
7517
      _lt_result=$?
 
7518
      if test -s conftest.err && $GREP force_load conftest.err; then
 
7519
        cat conftest.err >&5
 
7520
      elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
 
7521
        lt_cv_ld_force_load=yes
 
7522
      else
 
7523
        cat conftest.err >&5
 
7524
      fi
 
7525
        rm -f conftest.err libconftest.a conftest conftest.c
 
7526
        rm -rf conftest.dSYM
 
7527
 
 
7528
fi
 
7529
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
 
7530
$as_echo "$lt_cv_ld_force_load" >&6; }
 
7531
    case $host_os in
 
7532
    rhapsody* | darwin1.[012])
 
7533
      _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
 
7534
    darwin1.*)
 
7535
      _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
 
7536
    darwin*) # darwin 5.x on
 
7537
      # if running on 10.5 or later, the deployment target defaults
 
7538
      # to the OS version, if on x86, and 10.4, the deployment
 
7539
      # target defaults to 10.4. Don't you love it?
 
7540
      case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
 
7541
        10.0,*86*-darwin8*|10.0,*-darwin[91]*)
 
7542
          _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
 
7543
        10.[012]*)
 
7544
          _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
 
7545
        10.*)
 
7546
          _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
 
7547
      esac
 
7548
    ;;
 
7549
  esac
 
7550
    if test "$lt_cv_apple_cc_single_mod" = "yes"; then
 
7551
      _lt_dar_single_mod='$single_module'
 
7552
    fi
 
7553
    if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
 
7554
      _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
 
7555
    else
 
7556
      _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
 
7557
    fi
 
7558
    if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
 
7559
      _lt_dsymutil='~$DSYMUTIL $lib || :'
 
7560
    else
 
7561
      _lt_dsymutil=
 
7562
    fi
 
7563
    ;;
 
7564
  esac
 
7565
 
 
7566
ac_ext=c
 
7567
ac_cpp='$CPP $CPPFLAGS'
 
7568
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
7569
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
7570
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
7571
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
 
7572
$as_echo_n "checking how to run the C preprocessor... " >&6; }
 
7573
# On Suns, sometimes $CPP names a directory.
 
7574
if test -n "$CPP" && test -d "$CPP"; then
 
7575
  CPP=
 
7576
fi
 
7577
if test -z "$CPP"; then
 
7578
  if ${ac_cv_prog_CPP+:} false; then :
 
7579
  $as_echo_n "(cached) " >&6
 
7580
else
 
7581
      # Double quotes because CPP needs to be expanded
 
7582
    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
 
7583
    do
 
7584
      ac_preproc_ok=false
 
7585
for ac_c_preproc_warn_flag in '' yes
 
7586
do
 
7587
  # Use a header file that comes with gcc, so configuring glibc
 
7588
  # with a fresh cross-compiler works.
 
7589
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
7590
  # <limits.h> exists even on freestanding compilers.
 
7591
  # On the NeXT, cc -E runs the code through the compiler's parser,
 
7592
  # not just through cpp. "Syntax error" is here to catch this case.
 
7593
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
7594
/* end confdefs.h.  */
 
7595
#ifdef __STDC__
 
7596
# include <limits.h>
 
7597
#else
 
7598
# include <assert.h>
 
7599
#endif
 
7600
                     Syntax error
 
7601
_ACEOF
 
7602
if ac_fn_c_try_cpp "$LINENO"; then :
 
7603
 
 
7604
else
 
7605
  # Broken: fails on valid input.
 
7606
continue
 
7607
fi
 
7608
rm -f conftest.err conftest.i conftest.$ac_ext
 
7609
 
 
7610
  # OK, works on sane cases.  Now check whether nonexistent headers
 
7611
  # can be detected and how.
 
7612
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
7613
/* end confdefs.h.  */
 
7614
#include <ac_nonexistent.h>
 
7615
_ACEOF
 
7616
if ac_fn_c_try_cpp "$LINENO"; then :
 
7617
  # Broken: success on invalid input.
 
7618
continue
 
7619
else
 
7620
  # Passes both tests.
 
7621
ac_preproc_ok=:
 
7622
break
 
7623
fi
 
7624
rm -f conftest.err conftest.i conftest.$ac_ext
 
7625
 
 
7626
done
 
7627
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
 
7628
rm -f conftest.i conftest.err conftest.$ac_ext
 
7629
if $ac_preproc_ok; then :
 
7630
  break
 
7631
fi
 
7632
 
 
7633
    done
 
7634
    ac_cv_prog_CPP=$CPP
 
7635
 
 
7636
fi
 
7637
  CPP=$ac_cv_prog_CPP
 
7638
else
 
7639
  ac_cv_prog_CPP=$CPP
 
7640
fi
 
7641
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
 
7642
$as_echo "$CPP" >&6; }
 
7643
ac_preproc_ok=false
 
7644
for ac_c_preproc_warn_flag in '' yes
 
7645
do
 
7646
  # Use a header file that comes with gcc, so configuring glibc
 
7647
  # with a fresh cross-compiler works.
 
7648
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
7649
  # <limits.h> exists even on freestanding compilers.
 
7650
  # On the NeXT, cc -E runs the code through the compiler's parser,
 
7651
  # not just through cpp. "Syntax error" is here to catch this case.
 
7652
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
7653
/* end confdefs.h.  */
 
7654
#ifdef __STDC__
 
7655
# include <limits.h>
 
7656
#else
 
7657
# include <assert.h>
 
7658
#endif
 
7659
                     Syntax error
 
7660
_ACEOF
 
7661
if ac_fn_c_try_cpp "$LINENO"; then :
 
7662
 
 
7663
else
 
7664
  # Broken: fails on valid input.
 
7665
continue
 
7666
fi
 
7667
rm -f conftest.err conftest.i conftest.$ac_ext
 
7668
 
 
7669
  # OK, works on sane cases.  Now check whether nonexistent headers
 
7670
  # can be detected and how.
 
7671
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
7672
/* end confdefs.h.  */
 
7673
#include <ac_nonexistent.h>
 
7674
_ACEOF
 
7675
if ac_fn_c_try_cpp "$LINENO"; then :
 
7676
  # Broken: success on invalid input.
 
7677
continue
 
7678
else
 
7679
  # Passes both tests.
 
7680
ac_preproc_ok=:
 
7681
break
 
7682
fi
 
7683
rm -f conftest.err conftest.i conftest.$ac_ext
 
7684
 
 
7685
done
 
7686
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
 
7687
rm -f conftest.i conftest.err conftest.$ac_ext
 
7688
if $ac_preproc_ok; then :
 
7689
 
 
7690
else
 
7691
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
7692
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
7693
as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
 
7694
See \`config.log' for more details" "$LINENO" 5; }
 
7695
fi
 
7696
 
 
7697
ac_ext=c
 
7698
ac_cpp='$CPP $CPPFLAGS'
 
7699
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
7700
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
7701
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
7702
 
 
7703
 
 
7704
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
 
7705
$as_echo_n "checking for ANSI C header files... " >&6; }
 
7706
if ${ac_cv_header_stdc+:} false; then :
 
7707
  $as_echo_n "(cached) " >&6
 
7708
else
 
7709
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
7710
/* end confdefs.h.  */
 
7711
#include <stdlib.h>
 
7712
#include <stdarg.h>
 
7713
#include <string.h>
 
7714
#include <float.h>
 
7715
 
 
7716
int
 
7717
main ()
 
7718
{
 
7719
 
 
7720
  ;
 
7721
  return 0;
 
7722
}
 
7723
_ACEOF
 
7724
if ac_fn_c_try_compile "$LINENO"; then :
 
7725
  ac_cv_header_stdc=yes
 
7726
else
 
7727
  ac_cv_header_stdc=no
 
7728
fi
 
7729
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
7730
 
 
7731
if test $ac_cv_header_stdc = yes; then
 
7732
  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
 
7733
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
7734
/* end confdefs.h.  */
 
7735
#include <string.h>
 
7736
 
 
7737
_ACEOF
 
7738
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 
7739
  $EGREP "memchr" >/dev/null 2>&1; then :
 
7740
 
 
7741
else
 
7742
  ac_cv_header_stdc=no
 
7743
fi
 
7744
rm -f conftest*
 
7745
 
 
7746
fi
 
7747
 
 
7748
if test $ac_cv_header_stdc = yes; then
 
7749
  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
 
7750
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
7751
/* end confdefs.h.  */
 
7752
#include <stdlib.h>
 
7753
 
 
7754
_ACEOF
 
7755
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 
7756
  $EGREP "free" >/dev/null 2>&1; then :
 
7757
 
 
7758
else
 
7759
  ac_cv_header_stdc=no
 
7760
fi
 
7761
rm -f conftest*
 
7762
 
 
7763
fi
 
7764
 
 
7765
if test $ac_cv_header_stdc = yes; then
 
7766
  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
 
7767
  if test "$cross_compiling" = yes; then :
 
7768
  :
 
7769
else
 
7770
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
7771
/* end confdefs.h.  */
 
7772
#include <ctype.h>
 
7773
#include <stdlib.h>
 
7774
#if ((' ' & 0x0FF) == 0x020)
 
7775
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
 
7776
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
 
7777
#else
 
7778
# define ISLOWER(c) \
 
7779
                   (('a' <= (c) && (c) <= 'i') \
 
7780
                     || ('j' <= (c) && (c) <= 'r') \
 
7781
                     || ('s' <= (c) && (c) <= 'z'))
 
7782
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
 
7783
#endif
 
7784
 
 
7785
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
 
7786
int
 
7787
main ()
 
7788
{
 
7789
  int i;
 
7790
  for (i = 0; i < 256; i++)
 
7791
    if (XOR (islower (i), ISLOWER (i))
 
7792
        || toupper (i) != TOUPPER (i))
 
7793
      return 2;
 
7794
  return 0;
 
7795
}
 
7796
_ACEOF
 
7797
if ac_fn_c_try_run "$LINENO"; then :
 
7798
 
 
7799
else
 
7800
  ac_cv_header_stdc=no
 
7801
fi
 
7802
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
 
7803
  conftest.$ac_objext conftest.beam conftest.$ac_ext
 
7804
fi
 
7805
 
 
7806
fi
 
7807
fi
 
7808
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
 
7809
$as_echo "$ac_cv_header_stdc" >&6; }
 
7810
if test $ac_cv_header_stdc = yes; then
 
7811
 
 
7812
$as_echo "#define STDC_HEADERS 1" >>confdefs.h
 
7813
 
 
7814
fi
 
7815
 
 
7816
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
 
7817
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
 
7818
                  inttypes.h stdint.h unistd.h
 
7819
do :
 
7820
  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
7821
ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
 
7822
"
 
7823
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
 
7824
  cat >>confdefs.h <<_ACEOF
 
7825
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
7826
_ACEOF
 
7827
 
 
7828
fi
 
7829
 
 
7830
done
 
7831
 
 
7832
 
 
7833
for ac_header in dlfcn.h
 
7834
do :
 
7835
  ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
 
7836
"
 
7837
if test "x$ac_cv_header_dlfcn_h" = xyes; then :
 
7838
  cat >>confdefs.h <<_ACEOF
 
7839
#define HAVE_DLFCN_H 1
 
7840
_ACEOF
 
7841
 
 
7842
fi
 
7843
 
 
7844
done
 
7845
 
 
7846
 
 
7847
 
 
7848
 
 
7849
 
 
7850
# Set options
 
7851
# Check whether --enable-static was given.
 
7852
if test "${enable_static+set}" = set; then :
 
7853
  enableval=$enable_static; p=${PACKAGE-default}
 
7854
    case $enableval in
 
7855
    yes) enable_static=yes ;;
 
7856
    no) enable_static=no ;;
 
7857
    *)
 
7858
     enable_static=no
 
7859
      # Look at the argument we got.  We use all the common list separators.
 
7860
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
 
7861
      for pkg in $enableval; do
 
7862
        IFS="$lt_save_ifs"
 
7863
        if test "X$pkg" = "X$p"; then
 
7864
          enable_static=yes
 
7865
        fi
 
7866
      done
 
7867
      IFS="$lt_save_ifs"
 
7868
      ;;
 
7869
    esac
 
7870
else
 
7871
  enable_static=no
 
7872
fi
 
7873
 
 
7874
 
 
7875
 
 
7876
 
 
7877
 
 
7878
 
 
7879
 
 
7880
 
 
7881
 
 
7882
 
 
7883
        enable_dlopen=no
 
7884
 
 
7885
 
 
7886
  enable_win32_dll=no
 
7887
 
 
7888
 
 
7889
            # Check whether --enable-shared was given.
 
7890
if test "${enable_shared+set}" = set; then :
 
7891
  enableval=$enable_shared; p=${PACKAGE-default}
 
7892
    case $enableval in
 
7893
    yes) enable_shared=yes ;;
 
7894
    no) enable_shared=no ;;
 
7895
    *)
 
7896
      enable_shared=no
 
7897
      # Look at the argument we got.  We use all the common list separators.
 
7898
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
 
7899
      for pkg in $enableval; do
 
7900
        IFS="$lt_save_ifs"
 
7901
        if test "X$pkg" = "X$p"; then
 
7902
          enable_shared=yes
 
7903
        fi
 
7904
      done
 
7905
      IFS="$lt_save_ifs"
 
7906
      ;;
 
7907
    esac
 
7908
else
 
7909
  enable_shared=yes
 
7910
fi
 
7911
 
 
7912
 
 
7913
 
 
7914
 
 
7915
 
 
7916
 
 
7917
 
 
7918
 
 
7919
 
 
7920
 
 
7921
 
 
7922
# Check whether --with-pic was given.
 
7923
if test "${with_pic+set}" = set; then :
 
7924
  withval=$with_pic; lt_p=${PACKAGE-default}
 
7925
    case $withval in
 
7926
    yes|no) pic_mode=$withval ;;
 
7927
    *)
 
7928
      pic_mode=default
 
7929
      # Look at the argument we got.  We use all the common list separators.
 
7930
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
 
7931
      for lt_pkg in $withval; do
 
7932
        IFS="$lt_save_ifs"
 
7933
        if test "X$lt_pkg" = "X$lt_p"; then
 
7934
          pic_mode=yes
 
7935
        fi
 
7936
      done
 
7937
      IFS="$lt_save_ifs"
 
7938
      ;;
 
7939
    esac
 
7940
else
 
7941
  pic_mode=default
 
7942
fi
 
7943
 
 
7944
 
 
7945
test -z "$pic_mode" && pic_mode=default
 
7946
 
 
7947
 
 
7948
 
 
7949
 
 
7950
 
 
7951
 
 
7952
 
 
7953
  # Check whether --enable-fast-install was given.
 
7954
if test "${enable_fast_install+set}" = set; then :
 
7955
  enableval=$enable_fast_install; p=${PACKAGE-default}
 
7956
    case $enableval in
 
7957
    yes) enable_fast_install=yes ;;
 
7958
    no) enable_fast_install=no ;;
 
7959
    *)
 
7960
      enable_fast_install=no
 
7961
      # Look at the argument we got.  We use all the common list separators.
 
7962
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
 
7963
      for pkg in $enableval; do
 
7964
        IFS="$lt_save_ifs"
 
7965
        if test "X$pkg" = "X$p"; then
 
7966
          enable_fast_install=yes
 
7967
        fi
 
7968
      done
 
7969
      IFS="$lt_save_ifs"
 
7970
      ;;
 
7971
    esac
 
7972
else
 
7973
  enable_fast_install=yes
 
7974
fi
 
7975
 
 
7976
 
 
7977
 
 
7978
 
 
7979
 
 
7980
 
 
7981
 
 
7982
 
 
7983
 
 
7984
 
 
7985
 
 
7986
# This can be used to rebuild libtool when needed
 
7987
LIBTOOL_DEPS="$ltmain"
 
7988
 
 
7989
# Always use our own libtool.
 
7990
LIBTOOL='$(SHELL) $(top_builddir)/libtool'
 
7991
 
 
7992
 
 
7993
 
 
7994
 
 
7995
 
 
7996
 
 
7997
 
 
7998
 
 
7999
 
 
8000
 
 
8001
 
 
8002
 
 
8003
 
 
8004
 
 
8005
 
 
8006
 
 
8007
 
 
8008
 
 
8009
 
 
8010
 
 
8011
 
 
8012
 
 
8013
 
 
8014
 
 
8015
 
 
8016
 
 
8017
 
 
8018
 
 
8019
 
 
8020
 
 
8021
test -z "$LN_S" && LN_S="ln -s"
 
8022
 
 
8023
 
 
8024
 
 
8025
 
 
8026
 
 
8027
 
 
8028
 
 
8029
 
 
8030
 
 
8031
 
 
8032
 
 
8033
 
 
8034
 
 
8035
 
 
8036
if test -n "${ZSH_VERSION+set}" ; then
 
8037
   setopt NO_GLOB_SUBST
 
8038
fi
 
8039
 
 
8040
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
 
8041
$as_echo_n "checking for objdir... " >&6; }
 
8042
if ${lt_cv_objdir+:} false; then :
 
8043
  $as_echo_n "(cached) " >&6
 
8044
else
 
8045
  rm -f .libs 2>/dev/null
 
8046
mkdir .libs 2>/dev/null
 
8047
if test -d .libs; then
 
8048
  lt_cv_objdir=.libs
 
8049
else
 
8050
  # MS-DOS does not allow filenames that begin with a dot.
 
8051
  lt_cv_objdir=_libs
 
8052
fi
 
8053
rmdir .libs 2>/dev/null
 
8054
fi
 
8055
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
 
8056
$as_echo "$lt_cv_objdir" >&6; }
 
8057
objdir=$lt_cv_objdir
 
8058
 
 
8059
 
 
8060
 
 
8061
 
 
8062
 
 
8063
cat >>confdefs.h <<_ACEOF
 
8064
#define LT_OBJDIR "$lt_cv_objdir/"
 
8065
_ACEOF
 
8066
 
 
8067
 
 
8068
 
 
8069
 
 
8070
case $host_os in
 
8071
aix3*)
 
8072
  # AIX sometimes has problems with the GCC collect2 program.  For some
 
8073
  # reason, if we set the COLLECT_NAMES environment variable, the problems
 
8074
  # vanish in a puff of smoke.
 
8075
  if test "X${COLLECT_NAMES+set}" != Xset; then
 
8076
    COLLECT_NAMES=
 
8077
    export COLLECT_NAMES
 
8078
  fi
 
8079
  ;;
 
8080
esac
 
8081
 
 
8082
# Global variables:
 
8083
ofile=libtool
 
8084
can_build_shared=yes
 
8085
 
 
8086
# All known linkers require a `.a' archive for static linking (except MSVC,
 
8087
# which needs '.lib').
 
8088
libext=a
 
8089
 
 
8090
with_gnu_ld="$lt_cv_prog_gnu_ld"
 
8091
 
 
8092
old_CC="$CC"
 
8093
old_CFLAGS="$CFLAGS"
 
8094
 
 
8095
# Set sane defaults for various variables
 
8096
test -z "$CC" && CC=cc
 
8097
test -z "$LTCC" && LTCC=$CC
 
8098
test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
 
8099
test -z "$LD" && LD=ld
 
8100
test -z "$ac_objext" && ac_objext=o
 
8101
 
 
8102
for cc_temp in $compiler""; do
 
8103
  case $cc_temp in
 
8104
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
 
8105
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
 
8106
    \-*) ;;
 
8107
    *) break;;
 
8108
  esac
 
8109
done
 
8110
cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
 
8111
 
 
8112
 
 
8113
# Only perform the check for file, if the check method requires it
 
8114
test -z "$MAGIC_CMD" && MAGIC_CMD=file
 
8115
case $deplibs_check_method in
 
8116
file_magic*)
 
8117
  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
 
8118
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
 
8119
$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
 
8120
if ${lt_cv_path_MAGIC_CMD+:} false; then :
 
8121
  $as_echo_n "(cached) " >&6
 
8122
else
 
8123
  case $MAGIC_CMD in
 
8124
[\\/*] |  ?:[\\/]*)
 
8125
  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
 
8126
  ;;
 
8127
*)
 
8128
  lt_save_MAGIC_CMD="$MAGIC_CMD"
 
8129
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
 
8130
  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
 
8131
  for ac_dir in $ac_dummy; do
 
8132
    IFS="$lt_save_ifs"
 
8133
    test -z "$ac_dir" && ac_dir=.
 
8134
    if test -f $ac_dir/${ac_tool_prefix}file; then
 
8135
      lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
 
8136
      if test -n "$file_magic_test_file"; then
 
8137
        case $deplibs_check_method in
 
8138
        "file_magic "*)
 
8139
          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
 
8140
          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
 
8141
          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
 
8142
            $EGREP "$file_magic_regex" > /dev/null; then
 
8143
            :
 
8144
          else
 
8145
            cat <<_LT_EOF 1>&2
 
8146
 
 
8147
*** Warning: the command libtool uses to detect shared libraries,
 
8148
*** $file_magic_cmd, produces output that libtool cannot recognize.
 
8149
*** The result is that libtool may fail to recognize shared libraries
 
8150
*** as such.  This will affect the creation of libtool libraries that
 
8151
*** depend on shared libraries, but programs linked with such libtool
 
8152
*** libraries will work regardless of this problem.  Nevertheless, you
 
8153
*** may want to report the problem to your system manager and/or to
 
8154
*** bug-libtool@gnu.org
 
8155
 
 
8156
_LT_EOF
 
8157
          fi ;;
 
8158
        esac
 
8159
      fi
 
8160
      break
 
8161
    fi
 
8162
  done
 
8163
  IFS="$lt_save_ifs"
 
8164
  MAGIC_CMD="$lt_save_MAGIC_CMD"
 
8165
  ;;
 
8166
esac
 
8167
fi
 
8168
 
 
8169
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
 
8170
if test -n "$MAGIC_CMD"; then
 
8171
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
 
8172
$as_echo "$MAGIC_CMD" >&6; }
 
8173
else
 
8174
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
8175
$as_echo "no" >&6; }
 
8176
fi
 
8177
 
 
8178
 
 
8179
 
 
8180
 
 
8181
 
 
8182
if test -z "$lt_cv_path_MAGIC_CMD"; then
 
8183
  if test -n "$ac_tool_prefix"; then
 
8184
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
 
8185
$as_echo_n "checking for file... " >&6; }
 
8186
if ${lt_cv_path_MAGIC_CMD+:} false; then :
 
8187
  $as_echo_n "(cached) " >&6
 
8188
else
 
8189
  case $MAGIC_CMD in
 
8190
[\\/*] |  ?:[\\/]*)
 
8191
  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
 
8192
  ;;
 
8193
*)
 
8194
  lt_save_MAGIC_CMD="$MAGIC_CMD"
 
8195
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
 
8196
  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
 
8197
  for ac_dir in $ac_dummy; do
 
8198
    IFS="$lt_save_ifs"
 
8199
    test -z "$ac_dir" && ac_dir=.
 
8200
    if test -f $ac_dir/file; then
 
8201
      lt_cv_path_MAGIC_CMD="$ac_dir/file"
 
8202
      if test -n "$file_magic_test_file"; then
 
8203
        case $deplibs_check_method in
 
8204
        "file_magic "*)
 
8205
          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
 
8206
          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
 
8207
          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
 
8208
            $EGREP "$file_magic_regex" > /dev/null; then
 
8209
            :
 
8210
          else
 
8211
            cat <<_LT_EOF 1>&2
 
8212
 
 
8213
*** Warning: the command libtool uses to detect shared libraries,
 
8214
*** $file_magic_cmd, produces output that libtool cannot recognize.
 
8215
*** The result is that libtool may fail to recognize shared libraries
 
8216
*** as such.  This will affect the creation of libtool libraries that
 
8217
*** depend on shared libraries, but programs linked with such libtool
 
8218
*** libraries will work regardless of this problem.  Nevertheless, you
 
8219
*** may want to report the problem to your system manager and/or to
 
8220
*** bug-libtool@gnu.org
 
8221
 
 
8222
_LT_EOF
 
8223
          fi ;;
 
8224
        esac
 
8225
      fi
 
8226
      break
 
8227
    fi
 
8228
  done
 
8229
  IFS="$lt_save_ifs"
 
8230
  MAGIC_CMD="$lt_save_MAGIC_CMD"
 
8231
  ;;
 
8232
esac
 
8233
fi
 
8234
 
 
8235
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
 
8236
if test -n "$MAGIC_CMD"; then
 
8237
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
 
8238
$as_echo "$MAGIC_CMD" >&6; }
 
8239
else
 
8240
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
8241
$as_echo "no" >&6; }
 
8242
fi
 
8243
 
 
8244
 
 
8245
  else
 
8246
    MAGIC_CMD=:
 
8247
  fi
 
8248
fi
 
8249
 
 
8250
  fi
 
8251
  ;;
 
8252
esac
 
8253
 
 
8254
# Use C for the default configuration in the libtool script
 
8255
 
 
8256
lt_save_CC="$CC"
 
8257
ac_ext=c
 
8258
ac_cpp='$CPP $CPPFLAGS'
 
8259
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
8260
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
8261
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
8262
 
 
8263
 
 
8264
# Source file extension for C test sources.
 
8265
ac_ext=c
 
8266
 
 
8267
# Object file extension for compiled C test sources.
 
8268
objext=o
 
8269
objext=$objext
 
8270
 
 
8271
# Code to be used in simple compile tests
 
8272
lt_simple_compile_test_code="int some_variable = 0;"
 
8273
 
 
8274
# Code to be used in simple link tests
 
8275
lt_simple_link_test_code='int main(){return(0);}'
 
8276
 
 
8277
 
 
8278
 
 
8279
 
 
8280
 
 
8281
 
 
8282
 
 
8283
# If no C compiler was specified, use CC.
 
8284
LTCC=${LTCC-"$CC"}
 
8285
 
 
8286
# If no C compiler flags were specified, use CFLAGS.
 
8287
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
 
8288
 
 
8289
# Allow CC to be a program name with arguments.
 
8290
compiler=$CC
 
8291
 
 
8292
# Save the default compiler, since it gets overwritten when the other
 
8293
# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
 
8294
compiler_DEFAULT=$CC
 
8295
 
 
8296
# save warnings/boilerplate of simple test code
 
8297
ac_outfile=conftest.$ac_objext
 
8298
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
 
8299
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
 
8300
_lt_compiler_boilerplate=`cat conftest.err`
 
8301
$RM conftest*
 
8302
 
 
8303
ac_outfile=conftest.$ac_objext
 
8304
echo "$lt_simple_link_test_code" >conftest.$ac_ext
 
8305
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
 
8306
_lt_linker_boilerplate=`cat conftest.err`
 
8307
$RM -r conftest*
 
8308
 
 
8309
 
 
8310
## CAVEAT EMPTOR:
 
8311
## There is no encapsulation within the following macros, do not change
 
8312
## the running order or otherwise move them around unless you know exactly
 
8313
## what you are doing...
 
8314
if test -n "$compiler"; then
 
8315
 
 
8316
lt_prog_compiler_no_builtin_flag=
 
8317
 
 
8318
if test "$GCC" = yes; then
 
8319
  case $cc_basename in
 
8320
  nvcc*)
 
8321
    lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
 
8322
  *)
 
8323
    lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
 
8324
  esac
 
8325
 
 
8326
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
 
8327
$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
 
8328
if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
 
8329
  $as_echo_n "(cached) " >&6
 
8330
else
 
8331
  lt_cv_prog_compiler_rtti_exceptions=no
 
8332
   ac_outfile=conftest.$ac_objext
 
8333
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
8334
   lt_compiler_flag="-fno-rtti -fno-exceptions"
 
8335
   # Insert the option either (1) after the last *FLAGS variable, or
 
8336
   # (2) before a word containing "conftest.", or (3) at the end.
 
8337
   # Note that $ac_compile itself does not contain backslashes and begins
 
8338
   # with a dollar sign (not a hyphen), so the echo should work correctly.
 
8339
   # The option is referenced via a variable to avoid confusing sed.
 
8340
   lt_compile=`echo "$ac_compile" | $SED \
 
8341
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 
8342
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 
8343
   -e 's:$: $lt_compiler_flag:'`
 
8344
   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
 
8345
   (eval "$lt_compile" 2>conftest.err)
 
8346
   ac_status=$?
 
8347
   cat conftest.err >&5
 
8348
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
8349
   if (exit $ac_status) && test -s "$ac_outfile"; then
 
8350
     # The compiler can only warn and ignore the option if not recognized
 
8351
     # So say no if there are warnings other than the usual output.
 
8352
     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
 
8353
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 
8354
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
 
8355
       lt_cv_prog_compiler_rtti_exceptions=yes
 
8356
     fi
 
8357
   fi
 
8358
   $RM conftest*
 
8359
 
 
8360
fi
 
8361
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
 
8362
$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
 
8363
 
 
8364
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
 
8365
    lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
 
8366
else
 
8367
    :
 
8368
fi
 
8369
 
 
8370
fi
 
8371
 
 
8372
 
 
8373
 
 
8374
 
 
8375
 
 
8376
 
 
8377
  lt_prog_compiler_wl=
 
8378
lt_prog_compiler_pic=
 
8379
lt_prog_compiler_static=
 
8380
 
 
8381
 
 
8382
  if test "$GCC" = yes; then
 
8383
    lt_prog_compiler_wl='-Wl,'
 
8384
    lt_prog_compiler_static='-static'
 
8385
 
 
8386
    case $host_os in
 
8387
      aix*)
 
8388
      # All AIX code is PIC.
 
8389
      if test "$host_cpu" = ia64; then
 
8390
        # AIX 5 now supports IA64 processor
 
8391
        lt_prog_compiler_static='-Bstatic'
 
8392
      fi
 
8393
      ;;
 
8394
 
 
8395
    amigaos*)
 
8396
      case $host_cpu in
 
8397
      powerpc)
 
8398
            # see comment about AmigaOS4 .so support
 
8399
            lt_prog_compiler_pic='-fPIC'
 
8400
        ;;
 
8401
      m68k)
 
8402
            # FIXME: we need at least 68020 code to build shared libraries, but
 
8403
            # adding the `-m68020' flag to GCC prevents building anything better,
 
8404
            # like `-m68040'.
 
8405
            lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
 
8406
        ;;
 
8407
      esac
 
8408
      ;;
 
8409
 
 
8410
    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
 
8411
      # PIC is the default for these OSes.
 
8412
      ;;
 
8413
 
 
8414
    mingw* | cygwin* | pw32* | os2* | cegcc*)
 
8415
      # This hack is so that the source file can tell whether it is being
 
8416
      # built for inclusion in a dll (and should export symbols for example).
 
8417
      # Although the cygwin gcc ignores -fPIC, still need this for old-style
 
8418
      # (--disable-auto-import) libraries
 
8419
      lt_prog_compiler_pic='-DDLL_EXPORT'
 
8420
      ;;
 
8421
 
 
8422
    darwin* | rhapsody*)
 
8423
      # PIC is the default on this platform
 
8424
      # Common symbols not allowed in MH_DYLIB files
 
8425
      lt_prog_compiler_pic='-fno-common'
 
8426
      ;;
 
8427
 
 
8428
    haiku*)
 
8429
      # PIC is the default for Haiku.
 
8430
      # The "-static" flag exists, but is broken.
 
8431
      lt_prog_compiler_static=
 
8432
      ;;
 
8433
 
 
8434
    hpux*)
 
8435
      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
 
8436
      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
 
8437
      # sets the default TLS model and affects inlining.
 
8438
      case $host_cpu in
 
8439
      hppa*64*)
 
8440
        # +Z the default
 
8441
        ;;
 
8442
      *)
 
8443
        lt_prog_compiler_pic='-fPIC'
 
8444
        ;;
 
8445
      esac
 
8446
      ;;
 
8447
 
 
8448
    interix[3-9]*)
 
8449
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
 
8450
      # Instead, we relocate shared libraries at runtime.
 
8451
      ;;
 
8452
 
 
8453
    msdosdjgpp*)
 
8454
      # Just because we use GCC doesn't mean we suddenly get shared libraries
 
8455
      # on systems that don't support them.
 
8456
      lt_prog_compiler_can_build_shared=no
 
8457
      enable_shared=no
 
8458
      ;;
 
8459
 
 
8460
    *nto* | *qnx*)
 
8461
      # QNX uses GNU C++, but need to define -shared option too, otherwise
 
8462
      # it will coredump.
 
8463
      lt_prog_compiler_pic='-fPIC -shared'
 
8464
      ;;
 
8465
 
 
8466
    sysv4*MP*)
 
8467
      if test -d /usr/nec; then
 
8468
        lt_prog_compiler_pic=-Kconform_pic
 
8469
      fi
 
8470
      ;;
 
8471
 
 
8472
    *)
 
8473
      lt_prog_compiler_pic='-fPIC'
 
8474
      ;;
 
8475
    esac
 
8476
 
 
8477
    case $cc_basename in
 
8478
    nvcc*) # Cuda Compiler Driver 2.2
 
8479
      lt_prog_compiler_wl='-Xlinker '
 
8480
      if test -n "$lt_prog_compiler_pic"; then
 
8481
        lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
 
8482
      fi
 
8483
      ;;
 
8484
    esac
 
8485
  else
 
8486
    # PORTME Check for flag to pass linker flags through the system compiler.
 
8487
    case $host_os in
 
8488
    aix*)
 
8489
      lt_prog_compiler_wl='-Wl,'
 
8490
      if test "$host_cpu" = ia64; then
 
8491
        # AIX 5 now supports IA64 processor
 
8492
        lt_prog_compiler_static='-Bstatic'
 
8493
      else
 
8494
        lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
 
8495
      fi
 
8496
      ;;
 
8497
 
 
8498
    mingw* | cygwin* | pw32* | os2* | cegcc*)
 
8499
      # This hack is so that the source file can tell whether it is being
 
8500
      # built for inclusion in a dll (and should export symbols for example).
 
8501
      lt_prog_compiler_pic='-DDLL_EXPORT'
 
8502
      ;;
 
8503
 
 
8504
    hpux9* | hpux10* | hpux11*)
 
8505
      lt_prog_compiler_wl='-Wl,'
 
8506
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
 
8507
      # not for PA HP-UX.
 
8508
      case $host_cpu in
 
8509
      hppa*64*|ia64*)
 
8510
        # +Z the default
 
8511
        ;;
 
8512
      *)
 
8513
        lt_prog_compiler_pic='+Z'
 
8514
        ;;
 
8515
      esac
 
8516
      # Is there a better lt_prog_compiler_static that works with the bundled CC?
 
8517
      lt_prog_compiler_static='${wl}-a ${wl}archive'
 
8518
      ;;
 
8519
 
 
8520
    irix5* | irix6* | nonstopux*)
 
8521
      lt_prog_compiler_wl='-Wl,'
 
8522
      # PIC (with -KPIC) is the default.
 
8523
      lt_prog_compiler_static='-non_shared'
 
8524
      ;;
 
8525
 
 
8526
    linux* | k*bsd*-gnu | kopensolaris*-gnu)
 
8527
      case $cc_basename in
 
8528
      # old Intel for x86_64 which still supported -KPIC.
 
8529
      ecc*)
 
8530
        lt_prog_compiler_wl='-Wl,'
 
8531
        lt_prog_compiler_pic='-KPIC'
 
8532
        lt_prog_compiler_static='-static'
 
8533
        ;;
 
8534
      # icc used to be incompatible with GCC.
 
8535
      # ICC 10 doesn't accept -KPIC any more.
 
8536
      icc* | ifort*)
 
8537
        lt_prog_compiler_wl='-Wl,'
 
8538
        lt_prog_compiler_pic='-fPIC'
 
8539
        lt_prog_compiler_static='-static'
 
8540
        ;;
 
8541
      # Lahey Fortran 8.1.
 
8542
      lf95*)
 
8543
        lt_prog_compiler_wl='-Wl,'
 
8544
        lt_prog_compiler_pic='--shared'
 
8545
        lt_prog_compiler_static='--static'
 
8546
        ;;
 
8547
      nagfor*)
 
8548
        # NAG Fortran compiler
 
8549
        lt_prog_compiler_wl='-Wl,-Wl,,'
 
8550
        lt_prog_compiler_pic='-PIC'
 
8551
        lt_prog_compiler_static='-Bstatic'
 
8552
        ;;
 
8553
      pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
 
8554
        # Portland Group compilers (*not* the Pentium gcc compiler,
 
8555
        # which looks to be a dead project)
 
8556
        lt_prog_compiler_wl='-Wl,'
 
8557
        lt_prog_compiler_pic='-fpic'
 
8558
        lt_prog_compiler_static='-Bstatic'
 
8559
        ;;
 
8560
      ccc*)
 
8561
        lt_prog_compiler_wl='-Wl,'
 
8562
        # All Alpha code is PIC.
 
8563
        lt_prog_compiler_static='-non_shared'
 
8564
        ;;
 
8565
      xl* | bgxl* | bgf* | mpixl*)
 
8566
        # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
 
8567
        lt_prog_compiler_wl='-Wl,'
 
8568
        lt_prog_compiler_pic='-qpic'
 
8569
        lt_prog_compiler_static='-qstaticlink'
 
8570
        ;;
 
8571
      *)
 
8572
        case `$CC -V 2>&1 | sed 5q` in
 
8573
        *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
 
8574
          # Sun Fortran 8.3 passes all unrecognized flags to the linker
 
8575
          lt_prog_compiler_pic='-KPIC'
 
8576
          lt_prog_compiler_static='-Bstatic'
 
8577
          lt_prog_compiler_wl=''
 
8578
          ;;
 
8579
        *Sun\ F* | *Sun*Fortran*)
 
8580
          lt_prog_compiler_pic='-KPIC'
 
8581
          lt_prog_compiler_static='-Bstatic'
 
8582
          lt_prog_compiler_wl='-Qoption ld '
 
8583
          ;;
 
8584
        *Sun\ C*)
 
8585
          # Sun C 5.9
 
8586
          lt_prog_compiler_pic='-KPIC'
 
8587
          lt_prog_compiler_static='-Bstatic'
 
8588
          lt_prog_compiler_wl='-Wl,'
 
8589
          ;;
 
8590
        *Intel*\ [CF]*Compiler*)
 
8591
          lt_prog_compiler_wl='-Wl,'
 
8592
          lt_prog_compiler_pic='-fPIC'
 
8593
          lt_prog_compiler_static='-static'
 
8594
          ;;
 
8595
        *Portland\ Group*)
 
8596
          lt_prog_compiler_wl='-Wl,'
 
8597
          lt_prog_compiler_pic='-fpic'
 
8598
          lt_prog_compiler_static='-Bstatic'
 
8599
          ;;
 
8600
        esac
 
8601
        ;;
 
8602
      esac
 
8603
      ;;
 
8604
 
 
8605
    newsos6)
 
8606
      lt_prog_compiler_pic='-KPIC'
 
8607
      lt_prog_compiler_static='-Bstatic'
 
8608
      ;;
 
8609
 
 
8610
    *nto* | *qnx*)
 
8611
      # QNX uses GNU C++, but need to define -shared option too, otherwise
 
8612
      # it will coredump.
 
8613
      lt_prog_compiler_pic='-fPIC -shared'
 
8614
      ;;
 
8615
 
 
8616
    osf3* | osf4* | osf5*)
 
8617
      lt_prog_compiler_wl='-Wl,'
 
8618
      # All OSF/1 code is PIC.
 
8619
      lt_prog_compiler_static='-non_shared'
 
8620
      ;;
 
8621
 
 
8622
    rdos*)
 
8623
      lt_prog_compiler_static='-non_shared'
 
8624
      ;;
 
8625
 
 
8626
    solaris*)
 
8627
      lt_prog_compiler_pic='-KPIC'
 
8628
      lt_prog_compiler_static='-Bstatic'
 
8629
      case $cc_basename in
 
8630
      f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
 
8631
        lt_prog_compiler_wl='-Qoption ld ';;
 
8632
      *)
 
8633
        lt_prog_compiler_wl='-Wl,';;
 
8634
      esac
 
8635
      ;;
 
8636
 
 
8637
    sunos4*)
 
8638
      lt_prog_compiler_wl='-Qoption ld '
 
8639
      lt_prog_compiler_pic='-PIC'
 
8640
      lt_prog_compiler_static='-Bstatic'
 
8641
      ;;
 
8642
 
 
8643
    sysv4 | sysv4.2uw2* | sysv4.3*)
 
8644
      lt_prog_compiler_wl='-Wl,'
 
8645
      lt_prog_compiler_pic='-KPIC'
 
8646
      lt_prog_compiler_static='-Bstatic'
 
8647
      ;;
 
8648
 
 
8649
    sysv4*MP*)
 
8650
      if test -d /usr/nec ;then
 
8651
        lt_prog_compiler_pic='-Kconform_pic'
 
8652
        lt_prog_compiler_static='-Bstatic'
 
8653
      fi
 
8654
      ;;
 
8655
 
 
8656
    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
 
8657
      lt_prog_compiler_wl='-Wl,'
 
8658
      lt_prog_compiler_pic='-KPIC'
 
8659
      lt_prog_compiler_static='-Bstatic'
 
8660
      ;;
 
8661
 
 
8662
    unicos*)
 
8663
      lt_prog_compiler_wl='-Wl,'
 
8664
      lt_prog_compiler_can_build_shared=no
 
8665
      ;;
 
8666
 
 
8667
    uts4*)
 
8668
      lt_prog_compiler_pic='-pic'
 
8669
      lt_prog_compiler_static='-Bstatic'
 
8670
      ;;
 
8671
 
 
8672
    *)
 
8673
      lt_prog_compiler_can_build_shared=no
 
8674
      ;;
 
8675
    esac
 
8676
  fi
 
8677
 
 
8678
case $host_os in
 
8679
  # For platforms which do not support PIC, -DPIC is meaningless:
 
8680
  *djgpp*)
 
8681
    lt_prog_compiler_pic=
 
8682
    ;;
 
8683
  *)
 
8684
    lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
 
8685
    ;;
 
8686
esac
 
8687
 
 
8688
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
 
8689
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
 
8690
if ${lt_cv_prog_compiler_pic+:} false; then :
 
8691
  $as_echo_n "(cached) " >&6
 
8692
else
 
8693
  lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
 
8694
fi
 
8695
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
 
8696
$as_echo "$lt_cv_prog_compiler_pic" >&6; }
 
8697
lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
 
8698
 
 
8699
#
 
8700
# Check to make sure the PIC flag actually works.
 
8701
#
 
8702
if test -n "$lt_prog_compiler_pic"; then
 
8703
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
 
8704
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
 
8705
if ${lt_cv_prog_compiler_pic_works+:} false; then :
 
8706
  $as_echo_n "(cached) " >&6
 
8707
else
 
8708
  lt_cv_prog_compiler_pic_works=no
 
8709
   ac_outfile=conftest.$ac_objext
 
8710
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
8711
   lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
 
8712
   # Insert the option either (1) after the last *FLAGS variable, or
 
8713
   # (2) before a word containing "conftest.", or (3) at the end.
 
8714
   # Note that $ac_compile itself does not contain backslashes and begins
 
8715
   # with a dollar sign (not a hyphen), so the echo should work correctly.
 
8716
   # The option is referenced via a variable to avoid confusing sed.
 
8717
   lt_compile=`echo "$ac_compile" | $SED \
 
8718
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 
8719
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 
8720
   -e 's:$: $lt_compiler_flag:'`
 
8721
   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
 
8722
   (eval "$lt_compile" 2>conftest.err)
 
8723
   ac_status=$?
 
8724
   cat conftest.err >&5
 
8725
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
8726
   if (exit $ac_status) && test -s "$ac_outfile"; then
 
8727
     # The compiler can only warn and ignore the option if not recognized
 
8728
     # So say no if there are warnings other than the usual output.
 
8729
     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
 
8730
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 
8731
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
 
8732
       lt_cv_prog_compiler_pic_works=yes
 
8733
     fi
 
8734
   fi
 
8735
   $RM conftest*
 
8736
 
 
8737
fi
 
8738
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
 
8739
$as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
 
8740
 
 
8741
if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
 
8742
    case $lt_prog_compiler_pic in
 
8743
     "" | " "*) ;;
 
8744
     *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
 
8745
     esac
 
8746
else
 
8747
    lt_prog_compiler_pic=
 
8748
     lt_prog_compiler_can_build_shared=no
 
8749
fi
 
8750
 
 
8751
fi
 
8752
 
 
8753
 
 
8754
 
 
8755
 
 
8756
 
 
8757
 
 
8758
 
 
8759
 
 
8760
 
 
8761
 
 
8762
 
 
8763
#
 
8764
# Check to make sure the static flag actually works.
 
8765
#
 
8766
wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
 
8767
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
 
8768
$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
 
8769
if ${lt_cv_prog_compiler_static_works+:} false; then :
 
8770
  $as_echo_n "(cached) " >&6
 
8771
else
 
8772
  lt_cv_prog_compiler_static_works=no
 
8773
   save_LDFLAGS="$LDFLAGS"
 
8774
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
 
8775
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
 
8776
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
 
8777
     # The linker can only warn and ignore the option if not recognized
 
8778
     # So say no if there are warnings
 
8779
     if test -s conftest.err; then
 
8780
       # Append any errors to the config.log.
 
8781
       cat conftest.err 1>&5
 
8782
       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
 
8783
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 
8784
       if diff conftest.exp conftest.er2 >/dev/null; then
 
8785
         lt_cv_prog_compiler_static_works=yes
 
8786
       fi
 
8787
     else
 
8788
       lt_cv_prog_compiler_static_works=yes
 
8789
     fi
 
8790
   fi
 
8791
   $RM -r conftest*
 
8792
   LDFLAGS="$save_LDFLAGS"
 
8793
 
 
8794
fi
 
8795
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
 
8796
$as_echo "$lt_cv_prog_compiler_static_works" >&6; }
 
8797
 
 
8798
if test x"$lt_cv_prog_compiler_static_works" = xyes; then
 
8799
    :
 
8800
else
 
8801
    lt_prog_compiler_static=
 
8802
fi
 
8803
 
 
8804
 
 
8805
 
 
8806
 
 
8807
 
 
8808
 
 
8809
 
 
8810
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
 
8811
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
 
8812
if ${lt_cv_prog_compiler_c_o+:} false; then :
 
8813
  $as_echo_n "(cached) " >&6
 
8814
else
 
8815
  lt_cv_prog_compiler_c_o=no
 
8816
   $RM -r conftest 2>/dev/null
 
8817
   mkdir conftest
 
8818
   cd conftest
 
8819
   mkdir out
 
8820
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
8821
 
 
8822
   lt_compiler_flag="-o out/conftest2.$ac_objext"
 
8823
   # Insert the option either (1) after the last *FLAGS variable, or
 
8824
   # (2) before a word containing "conftest.", or (3) at the end.
 
8825
   # Note that $ac_compile itself does not contain backslashes and begins
 
8826
   # with a dollar sign (not a hyphen), so the echo should work correctly.
 
8827
   lt_compile=`echo "$ac_compile" | $SED \
 
8828
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 
8829
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 
8830
   -e 's:$: $lt_compiler_flag:'`
 
8831
   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
 
8832
   (eval "$lt_compile" 2>out/conftest.err)
 
8833
   ac_status=$?
 
8834
   cat out/conftest.err >&5
 
8835
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
8836
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
 
8837
   then
 
8838
     # The compiler can only warn and ignore the option if not recognized
 
8839
     # So say no if there are warnings
 
8840
     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
 
8841
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
 
8842
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
 
8843
       lt_cv_prog_compiler_c_o=yes
 
8844
     fi
 
8845
   fi
 
8846
   chmod u+w . 2>&5
 
8847
   $RM conftest*
 
8848
   # SGI C++ compiler will create directory out/ii_files/ for
 
8849
   # template instantiation
 
8850
   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
 
8851
   $RM out/* && rmdir out
 
8852
   cd ..
 
8853
   $RM -r conftest
 
8854
   $RM conftest*
 
8855
 
 
8856
fi
 
8857
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
 
8858
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
 
8859
 
 
8860
 
 
8861
 
 
8862
 
 
8863
 
 
8864
 
 
8865
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
 
8866
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
 
8867
if ${lt_cv_prog_compiler_c_o+:} false; then :
 
8868
  $as_echo_n "(cached) " >&6
 
8869
else
 
8870
  lt_cv_prog_compiler_c_o=no
 
8871
   $RM -r conftest 2>/dev/null
 
8872
   mkdir conftest
 
8873
   cd conftest
 
8874
   mkdir out
 
8875
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
8876
 
 
8877
   lt_compiler_flag="-o out/conftest2.$ac_objext"
 
8878
   # Insert the option either (1) after the last *FLAGS variable, or
 
8879
   # (2) before a word containing "conftest.", or (3) at the end.
 
8880
   # Note that $ac_compile itself does not contain backslashes and begins
 
8881
   # with a dollar sign (not a hyphen), so the echo should work correctly.
 
8882
   lt_compile=`echo "$ac_compile" | $SED \
 
8883
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 
8884
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 
8885
   -e 's:$: $lt_compiler_flag:'`
 
8886
   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
 
8887
   (eval "$lt_compile" 2>out/conftest.err)
 
8888
   ac_status=$?
 
8889
   cat out/conftest.err >&5
 
8890
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
8891
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
 
8892
   then
 
8893
     # The compiler can only warn and ignore the option if not recognized
 
8894
     # So say no if there are warnings
 
8895
     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
 
8896
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
 
8897
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
 
8898
       lt_cv_prog_compiler_c_o=yes
 
8899
     fi
 
8900
   fi
 
8901
   chmod u+w . 2>&5
 
8902
   $RM conftest*
 
8903
   # SGI C++ compiler will create directory out/ii_files/ for
 
8904
   # template instantiation
 
8905
   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
 
8906
   $RM out/* && rmdir out
 
8907
   cd ..
 
8908
   $RM -r conftest
 
8909
   $RM conftest*
 
8910
 
 
8911
fi
 
8912
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
 
8913
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
 
8914
 
 
8915
 
 
8916
 
 
8917
 
 
8918
hard_links="nottested"
 
8919
if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
 
8920
  # do not overwrite the value of need_locks provided by the user
 
8921
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
 
8922
$as_echo_n "checking if we can lock with hard links... " >&6; }
 
8923
  hard_links=yes
 
8924
  $RM conftest*
 
8925
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
 
8926
  touch conftest.a
 
8927
  ln conftest.a conftest.b 2>&5 || hard_links=no
 
8928
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
 
8929
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
 
8930
$as_echo "$hard_links" >&6; }
 
8931
  if test "$hard_links" = no; then
 
8932
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
 
8933
$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
 
8934
    need_locks=warn
 
8935
  fi
 
8936
else
 
8937
  need_locks=no
 
8938
fi
 
8939
 
 
8940
 
 
8941
 
 
8942
 
 
8943
 
 
8944
 
 
8945
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 
8946
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
 
8947
 
 
8948
  runpath_var=
 
8949
  allow_undefined_flag=
 
8950
  always_export_symbols=no
 
8951
  archive_cmds=
 
8952
  archive_expsym_cmds=
 
8953
  compiler_needs_object=no
 
8954
  enable_shared_with_static_runtimes=no
 
8955
  export_dynamic_flag_spec=
 
8956
  export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
 
8957
  hardcode_automatic=no
 
8958
  hardcode_direct=no
 
8959
  hardcode_direct_absolute=no
 
8960
  hardcode_libdir_flag_spec=
 
8961
  hardcode_libdir_separator=
 
8962
  hardcode_minus_L=no
 
8963
  hardcode_shlibpath_var=unsupported
 
8964
  inherit_rpath=no
 
8965
  link_all_deplibs=unknown
 
8966
  module_cmds=
 
8967
  module_expsym_cmds=
 
8968
  old_archive_from_new_cmds=
 
8969
  old_archive_from_expsyms_cmds=
 
8970
  thread_safe_flag_spec=
 
8971
  whole_archive_flag_spec=
 
8972
  # include_expsyms should be a list of space-separated symbols to be *always*
 
8973
  # included in the symbol list
 
8974
  include_expsyms=
 
8975
  # exclude_expsyms can be an extended regexp of symbols to exclude
 
8976
  # it will be wrapped by ` (' and `)$', so one must not match beginning or
 
8977
  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
 
8978
  # as well as any symbol that contains `d'.
 
8979
  exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
 
8980
  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
 
8981
  # platforms (ab)use it in PIC code, but their linkers get confused if
 
8982
  # the symbol is explicitly referenced.  Since portable code cannot
 
8983
  # rely on this symbol name, it's probably fine to never include it in
 
8984
  # preloaded symbol tables.
 
8985
  # Exclude shared library initialization/finalization symbols.
 
8986
  extract_expsyms_cmds=
 
8987
 
 
8988
  case $host_os in
 
8989
  cygwin* | mingw* | pw32* | cegcc*)
 
8990
    # FIXME: the MSVC++ port hasn't been tested in a loooong time
 
8991
    # When not using gcc, we currently assume that we are using
 
8992
    # Microsoft Visual C++.
 
8993
    if test "$GCC" != yes; then
 
8994
      with_gnu_ld=no
 
8995
    fi
 
8996
    ;;
 
8997
  interix*)
 
8998
    # we just hope/assume this is gcc and not c89 (= MSVC++)
 
8999
    with_gnu_ld=yes
 
9000
    ;;
 
9001
  openbsd*)
 
9002
    with_gnu_ld=no
 
9003
    ;;
 
9004
  esac
 
9005
 
 
9006
  ld_shlibs=yes
 
9007
 
 
9008
  # On some targets, GNU ld is compatible enough with the native linker
 
9009
  # that we're better off using the native interface for both.
 
9010
  lt_use_gnu_ld_interface=no
 
9011
  if test "$with_gnu_ld" = yes; then
 
9012
    case $host_os in
 
9013
      aix*)
 
9014
        # The AIX port of GNU ld has always aspired to compatibility
 
9015
        # with the native linker.  However, as the warning in the GNU ld
 
9016
        # block says, versions before 2.19.5* couldn't really create working
 
9017
        # shared libraries, regardless of the interface used.
 
9018
        case `$LD -v 2>&1` in
 
9019
          *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
 
9020
          *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
 
9021
          *\ \(GNU\ Binutils\)\ [3-9]*) ;;
 
9022
          *)
 
9023
            lt_use_gnu_ld_interface=yes
 
9024
            ;;
 
9025
        esac
 
9026
        ;;
 
9027
      *)
 
9028
        lt_use_gnu_ld_interface=yes
 
9029
        ;;
 
9030
    esac
 
9031
  fi
 
9032
 
 
9033
  if test "$lt_use_gnu_ld_interface" = yes; then
 
9034
    # If archive_cmds runs LD, not CC, wlarc should be empty
 
9035
    wlarc='${wl}'
 
9036
 
 
9037
    # Set some defaults for GNU ld with shared library support. These
 
9038
    # are reset later if shared libraries are not supported. Putting them
 
9039
    # here allows them to be overridden if necessary.
 
9040
    runpath_var=LD_RUN_PATH
 
9041
    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
 
9042
    export_dynamic_flag_spec='${wl}--export-dynamic'
 
9043
    # ancient GNU ld didn't support --whole-archive et. al.
 
9044
    if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
 
9045
      whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
 
9046
    else
 
9047
      whole_archive_flag_spec=
 
9048
    fi
 
9049
    supports_anon_versioning=no
 
9050
    case `$LD -v 2>&1` in
 
9051
      *GNU\ gold*) supports_anon_versioning=yes ;;
 
9052
      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
 
9053
      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
 
9054
      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
 
9055
      *\ 2.11.*) ;; # other 2.11 versions
 
9056
      *) supports_anon_versioning=yes ;;
 
9057
    esac
 
9058
 
 
9059
    # See if GNU ld supports shared libraries.
 
9060
    case $host_os in
 
9061
    aix[3-9]*)
 
9062
      # On AIX/PPC, the GNU linker is very broken
 
9063
      if test "$host_cpu" != ia64; then
 
9064
        ld_shlibs=no
 
9065
        cat <<_LT_EOF 1>&2
 
9066
 
 
9067
*** Warning: the GNU linker, at least up to release 2.19, is reported
 
9068
*** to be unable to reliably create shared libraries on AIX.
 
9069
*** Therefore, libtool is disabling shared libraries support.  If you
 
9070
*** really care for shared libraries, you may want to install binutils
 
9071
*** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
 
9072
*** You will then need to restart the configuration process.
 
9073
 
 
9074
_LT_EOF
 
9075
      fi
 
9076
      ;;
 
9077
 
 
9078
    amigaos*)
 
9079
      case $host_cpu in
 
9080
      powerpc)
 
9081
            # see comment about AmigaOS4 .so support
 
9082
            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
9083
            archive_expsym_cmds=''
 
9084
        ;;
 
9085
      m68k)
 
9086
            archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
 
9087
            hardcode_libdir_flag_spec='-L$libdir'
 
9088
            hardcode_minus_L=yes
 
9089
        ;;
 
9090
      esac
 
9091
      ;;
 
9092
 
 
9093
    beos*)
 
9094
      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
 
9095
        allow_undefined_flag=unsupported
 
9096
        # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
 
9097
        # support --undefined.  This deserves some investigation.  FIXME
 
9098
        archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
9099
      else
 
9100
        ld_shlibs=no
 
9101
      fi
 
9102
      ;;
 
9103
 
 
9104
    cygwin* | mingw* | pw32* | cegcc*)
 
9105
      # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
 
9106
      # as there is no search path for DLLs.
 
9107
      hardcode_libdir_flag_spec='-L$libdir'
 
9108
      export_dynamic_flag_spec='${wl}--export-all-symbols'
 
9109
      allow_undefined_flag=unsupported
 
9110
      always_export_symbols=no
 
9111
      enable_shared_with_static_runtimes=yes
 
9112
      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
 
9113
      exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
 
9114
 
 
9115
      if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
 
9116
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
 
9117
        # If the export-symbols file already is a .def file (1st line
 
9118
        # is EXPORTS), use it as is; otherwise, prepend...
 
9119
        archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
 
9120
          cp $export_symbols $output_objdir/$soname.def;
 
9121
        else
 
9122
          echo EXPORTS > $output_objdir/$soname.def;
 
9123
          cat $export_symbols >> $output_objdir/$soname.def;
 
9124
        fi~
 
9125
        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
 
9126
      else
 
9127
        ld_shlibs=no
 
9128
      fi
 
9129
      ;;
 
9130
 
 
9131
    haiku*)
 
9132
      archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
9133
      link_all_deplibs=yes
 
9134
      ;;
 
9135
 
 
9136
    interix[3-9]*)
 
9137
      hardcode_direct=no
 
9138
      hardcode_shlibpath_var=no
 
9139
      hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
 
9140
      export_dynamic_flag_spec='${wl}-E'
 
9141
      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
 
9142
      # Instead, shared libraries are loaded at an image base (0x10000000 by
 
9143
      # default) and relocated if they conflict, which is a slow very memory
 
9144
      # consuming and fragmenting process.  To avoid this, we pick a random,
 
9145
      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
 
9146
      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
 
9147
      archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
 
9148
      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'
 
9149
      ;;
 
9150
 
 
9151
    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
 
9152
      tmp_diet=no
 
9153
      if test "$host_os" = linux-dietlibc; then
 
9154
        case $cc_basename in
 
9155
          diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
 
9156
        esac
 
9157
      fi
 
9158
      if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
 
9159
         && test "$tmp_diet" = no
 
9160
      then
 
9161
        tmp_addflag=' $pic_flag'
 
9162
        tmp_sharedflag='-shared'
 
9163
        case $cc_basename,$host_cpu in
 
9164
        pgcc*)                          # Portland Group C compiler
 
9165
          whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
 
9166
          tmp_addflag=' $pic_flag'
 
9167
          ;;
 
9168
        pgf77* | pgf90* | pgf95* | pgfortran*)
 
9169
                                        # Portland Group f77 and f90 compilers
 
9170
          whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
 
9171
          tmp_addflag=' $pic_flag -Mnomain' ;;
 
9172
        ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
 
9173
          tmp_addflag=' -i_dynamic' ;;
 
9174
        efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
 
9175
          tmp_addflag=' -i_dynamic -nofor_main' ;;
 
9176
        ifc* | ifort*)                  # Intel Fortran compiler
 
9177
          tmp_addflag=' -nofor_main' ;;
 
9178
        lf95*)                          # Lahey Fortran 8.1
 
9179
          whole_archive_flag_spec=
 
9180
          tmp_sharedflag='--shared' ;;
 
9181
        xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
 
9182
          tmp_sharedflag='-qmkshrobj'
 
9183
          tmp_addflag= ;;
 
9184
        nvcc*)  # Cuda Compiler Driver 2.2
 
9185
          whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
 
9186
          compiler_needs_object=yes
 
9187
          ;;
 
9188
        esac
 
9189
        case `$CC -V 2>&1 | sed 5q` in
 
9190
        *Sun\ C*)                       # Sun C 5.9
 
9191
          whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
 
9192
          compiler_needs_object=yes
 
9193
          tmp_sharedflag='-G' ;;
 
9194
        *Sun\ F*)                       # Sun Fortran 8.3
 
9195
          tmp_sharedflag='-G' ;;
 
9196
        esac
 
9197
        archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
9198
 
 
9199
        if test "x$supports_anon_versioning" = xyes; then
 
9200
          archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
 
9201
            cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
 
9202
            echo "local: *; };" >> $output_objdir/$libname.ver~
 
9203
            $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
 
9204
        fi
 
9205
 
 
9206
        case $cc_basename in
 
9207
        xlf* | bgf* | bgxlf* | mpixlf*)
 
9208
          # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
 
9209
          whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
 
9210
          hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
 
9211
          archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
 
9212
          if test "x$supports_anon_versioning" = xyes; then
 
9213
            archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
 
9214
              cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
 
9215
              echo "local: *; };" >> $output_objdir/$libname.ver~
 
9216
              $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
 
9217
          fi
 
9218
          ;;
 
9219
        esac
 
9220
      else
 
9221
        ld_shlibs=no
 
9222
      fi
 
9223
      ;;
 
9224
 
 
9225
    netbsd*)
 
9226
      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
 
9227
        archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
 
9228
        wlarc=
 
9229
      else
 
9230
        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
9231
        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 
9232
      fi
 
9233
      ;;
 
9234
 
 
9235
    solaris*)
 
9236
      if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
 
9237
        ld_shlibs=no
 
9238
        cat <<_LT_EOF 1>&2
 
9239
 
 
9240
*** Warning: The releases 2.8.* of the GNU linker cannot reliably
 
9241
*** create shared libraries on Solaris systems.  Therefore, libtool
 
9242
*** is disabling shared libraries support.  We urge you to upgrade GNU
 
9243
*** binutils to release 2.9.1 or newer.  Another option is to modify
 
9244
*** your PATH or compiler configuration so that the native linker is
 
9245
*** used, and then restart.
 
9246
 
 
9247
_LT_EOF
 
9248
      elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
 
9249
        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
9250
        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 
9251
      else
 
9252
        ld_shlibs=no
 
9253
      fi
 
9254
      ;;
 
9255
 
 
9256
    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
 
9257
      case `$LD -v 2>&1` in
 
9258
        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
 
9259
        ld_shlibs=no
 
9260
        cat <<_LT_EOF 1>&2
 
9261
 
 
9262
*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
 
9263
*** reliably create shared libraries on SCO systems.  Therefore, libtool
 
9264
*** is disabling shared libraries support.  We urge you to upgrade GNU
 
9265
*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
 
9266
*** your PATH or compiler configuration so that the native linker is
 
9267
*** used, and then restart.
 
9268
 
 
9269
_LT_EOF
 
9270
        ;;
 
9271
        *)
 
9272
          # For security reasons, it is highly recommended that you always
 
9273
          # use absolute paths for naming shared libraries, and exclude the
 
9274
          # DT_RUNPATH tag from executables and libraries.  But doing so
 
9275
          # requires that you compile everything twice, which is a pain.
 
9276
          if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
 
9277
            hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
 
9278
            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
9279
            archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 
9280
          else
 
9281
            ld_shlibs=no
 
9282
          fi
 
9283
        ;;
 
9284
      esac
 
9285
      ;;
 
9286
 
 
9287
    sunos4*)
 
9288
      archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
 
9289
      wlarc=
 
9290
      hardcode_direct=yes
 
9291
      hardcode_shlibpath_var=no
 
9292
      ;;
 
9293
 
 
9294
    *)
 
9295
      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
 
9296
        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
9297
        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 
9298
      else
 
9299
        ld_shlibs=no
 
9300
      fi
 
9301
      ;;
 
9302
    esac
 
9303
 
 
9304
    if test "$ld_shlibs" = no; then
 
9305
      runpath_var=
 
9306
      hardcode_libdir_flag_spec=
 
9307
      export_dynamic_flag_spec=
 
9308
      whole_archive_flag_spec=
 
9309
    fi
 
9310
  else
 
9311
    # PORTME fill in a description of your system's linker (not GNU ld)
 
9312
    case $host_os in
 
9313
    aix3*)
 
9314
      allow_undefined_flag=unsupported
 
9315
      always_export_symbols=yes
 
9316
      archive_expsym_cmds='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
 
9317
      # Note: this linker hardcodes the directories in LIBPATH if there
 
9318
      # are no directories specified by -L.
 
9319
      hardcode_minus_L=yes
 
9320
      if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
 
9321
        # Neither direct hardcoding nor static linking is supported with a
 
9322
        # broken collect2.
 
9323
        hardcode_direct=unsupported
 
9324
      fi
 
9325
      ;;
 
9326
 
 
9327
    aix[4-9]*)
 
9328
      if test "$host_cpu" = ia64; then
 
9329
        # On IA64, the linker does run time linking by default, so we don't
 
9330
        # have to do anything special.
 
9331
        aix_use_runtimelinking=no
 
9332
        exp_sym_flag='-Bexport'
 
9333
        no_entry_flag=""
 
9334
      else
 
9335
        # If we're using GNU nm, then we don't want the "-C" option.
 
9336
        # -C means demangle to AIX nm, but means don't demangle with GNU nm
 
9337
        # Also, AIX nm treats weak defined symbols like other global
 
9338
        # defined symbols, whereas GNU nm marks them as "W".
 
9339
        if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
 
9340
          export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
 
9341
        else
 
9342
          export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
 
9343
        fi
 
9344
        aix_use_runtimelinking=no
 
9345
 
 
9346
        # Test if we are trying to use run time linking or normal
 
9347
        # AIX style linking. If -brtl is somewhere in LDFLAGS, we
 
9348
        # need to do runtime linking.
 
9349
        case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
 
9350
          for ld_flag in $LDFLAGS; do
 
9351
          if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
 
9352
            aix_use_runtimelinking=yes
 
9353
            break
 
9354
          fi
 
9355
          done
 
9356
          ;;
 
9357
        esac
 
9358
 
 
9359
        exp_sym_flag='-bexport'
 
9360
        no_entry_flag='-bnoentry'
 
9361
      fi
 
9362
 
 
9363
      # When large executables or shared objects are built, AIX ld can
 
9364
      # have problems creating the table of contents.  If linking a library
 
9365
      # or program results in "error TOC overflow" add -mminimal-toc to
 
9366
      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
 
9367
      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
 
9368
 
 
9369
      archive_cmds=''
 
9370
      hardcode_direct=yes
 
9371
      hardcode_direct_absolute=yes
 
9372
      hardcode_libdir_separator=':'
 
9373
      link_all_deplibs=yes
 
9374
      file_list_spec='${wl}-f,'
 
9375
 
 
9376
      if test "$GCC" = yes; then
 
9377
        case $host_os in aix4.[012]|aix4.[012].*)
 
9378
        # We only want to do this on AIX 4.2 and lower, the check
 
9379
        # below for broken collect2 doesn't work under 4.3+
 
9380
          collect2name=`${CC} -print-prog-name=collect2`
 
9381
          if test -f "$collect2name" &&
 
9382
           strings "$collect2name" | $GREP resolve_lib_name >/dev/null
 
9383
          then
 
9384
          # We have reworked collect2
 
9385
          :
 
9386
          else
 
9387
          # We have old collect2
 
9388
          hardcode_direct=unsupported
 
9389
          # It fails to find uninstalled libraries when the uninstalled
 
9390
          # path is not listed in the libpath.  Setting hardcode_minus_L
 
9391
          # to unsupported forces relinking
 
9392
          hardcode_minus_L=yes
 
9393
          hardcode_libdir_flag_spec='-L$libdir'
 
9394
          hardcode_libdir_separator=
 
9395
          fi
 
9396
          ;;
 
9397
        esac
 
9398
        shared_flag='-shared'
 
9399
        if test "$aix_use_runtimelinking" = yes; then
 
9400
          shared_flag="$shared_flag "'${wl}-G'
 
9401
        fi
 
9402
      else
 
9403
        # not using gcc
 
9404
        if test "$host_cpu" = ia64; then
 
9405
        # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
 
9406
        # chokes on -Wl,-G. The following line is correct:
 
9407
          shared_flag='-G'
 
9408
        else
 
9409
          if test "$aix_use_runtimelinking" = yes; then
 
9410
            shared_flag='${wl}-G'
 
9411
          else
 
9412
            shared_flag='${wl}-bM:SRE'
 
9413
          fi
 
9414
        fi
 
9415
      fi
 
9416
 
 
9417
      export_dynamic_flag_spec='${wl}-bexpall'
 
9418
      # It seems that -bexpall does not export symbols beginning with
 
9419
      # underscore (_), so it is better to generate a list of symbols to export.
 
9420
      always_export_symbols=yes
 
9421
      if test "$aix_use_runtimelinking" = yes; then
 
9422
        # Warning - without using the other runtime loading flags (-brtl),
 
9423
        # -berok will link without error, but may produce a broken library.
 
9424
        allow_undefined_flag='-berok'
 
9425
        # Determine the default libpath from the value encoded in an
 
9426
        # empty executable.
 
9427
        if test "${lt_cv_aix_libpath+set}" = set; then
 
9428
  aix_libpath=$lt_cv_aix_libpath
 
9429
else
 
9430
  if ${lt_cv_aix_libpath_+:} false; then :
 
9431
  $as_echo_n "(cached) " >&6
 
9432
else
 
9433
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
9434
/* end confdefs.h.  */
 
9435
 
 
9436
int
 
9437
main ()
 
9438
{
 
9439
 
 
9440
  ;
 
9441
  return 0;
 
9442
}
 
9443
_ACEOF
 
9444
if ac_fn_c_try_link "$LINENO"; then :
 
9445
 
 
9446
  lt_aix_libpath_sed='
 
9447
      /Import File Strings/,/^$/ {
 
9448
          /^0/ {
 
9449
              s/^0  *\([^ ]*\) *$/\1/
 
9450
              p
 
9451
          }
 
9452
      }'
 
9453
  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
9454
  # Check for a 64-bit object if we didn't find anything.
 
9455
  if test -z "$lt_cv_aix_libpath_"; then
 
9456
    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
9457
  fi
 
9458
fi
 
9459
rm -f core conftest.err conftest.$ac_objext \
 
9460
    conftest$ac_exeext conftest.$ac_ext
 
9461
  if test -z "$lt_cv_aix_libpath_"; then
 
9462
    lt_cv_aix_libpath_="/usr/lib:/lib"
 
9463
  fi
 
9464
 
 
9465
fi
 
9466
 
 
9467
  aix_libpath=$lt_cv_aix_libpath_
 
9468
fi
 
9469
 
 
9470
        hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
 
9471
        archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
 
9472
      else
 
9473
        if test "$host_cpu" = ia64; then
 
9474
          hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
 
9475
          allow_undefined_flag="-z nodefs"
 
9476
          archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
 
9477
        else
 
9478
         # Determine the default libpath from the value encoded in an
 
9479
         # empty executable.
 
9480
         if test "${lt_cv_aix_libpath+set}" = set; then
 
9481
  aix_libpath=$lt_cv_aix_libpath
 
9482
else
 
9483
  if ${lt_cv_aix_libpath_+:} false; then :
 
9484
  $as_echo_n "(cached) " >&6
 
9485
else
 
9486
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
9487
/* end confdefs.h.  */
 
9488
 
 
9489
int
 
9490
main ()
 
9491
{
 
9492
 
 
9493
  ;
 
9494
  return 0;
 
9495
}
 
9496
_ACEOF
 
9497
if ac_fn_c_try_link "$LINENO"; then :
 
9498
 
 
9499
  lt_aix_libpath_sed='
 
9500
      /Import File Strings/,/^$/ {
 
9501
          /^0/ {
 
9502
              s/^0  *\([^ ]*\) *$/\1/
 
9503
              p
 
9504
          }
 
9505
      }'
 
9506
  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
9507
  # Check for a 64-bit object if we didn't find anything.
 
9508
  if test -z "$lt_cv_aix_libpath_"; then
 
9509
    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
9510
  fi
 
9511
fi
 
9512
rm -f core conftest.err conftest.$ac_objext \
 
9513
    conftest$ac_exeext conftest.$ac_ext
 
9514
  if test -z "$lt_cv_aix_libpath_"; then
 
9515
    lt_cv_aix_libpath_="/usr/lib:/lib"
 
9516
  fi
 
9517
 
 
9518
fi
 
9519
 
 
9520
  aix_libpath=$lt_cv_aix_libpath_
 
9521
fi
 
9522
 
 
9523
         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
 
9524
          # Warning - without using the other run time loading flags,
 
9525
          # -berok will link without error, but may produce a broken library.
 
9526
          no_undefined_flag=' ${wl}-bernotok'
 
9527
          allow_undefined_flag=' ${wl}-berok'
 
9528
          if test "$with_gnu_ld" = yes; then
 
9529
            # We only use this code for GNU lds that support --whole-archive.
 
9530
            whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
 
9531
          else
 
9532
            # Exported symbols can be pulled into shared objects from archives
 
9533
            whole_archive_flag_spec='$convenience'
 
9534
          fi
 
9535
          archive_cmds_need_lc=yes
 
9536
          # This is similar to how AIX traditionally builds its shared libraries.
 
9537
          archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
 
9538
        fi
 
9539
      fi
 
9540
      ;;
 
9541
 
 
9542
    amigaos*)
 
9543
      case $host_cpu in
 
9544
      powerpc)
 
9545
            # see comment about AmigaOS4 .so support
 
9546
            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
9547
            archive_expsym_cmds=''
 
9548
        ;;
 
9549
      m68k)
 
9550
            archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
 
9551
            hardcode_libdir_flag_spec='-L$libdir'
 
9552
            hardcode_minus_L=yes
 
9553
        ;;
 
9554
      esac
 
9555
      ;;
 
9556
 
 
9557
    bsdi[45]*)
 
9558
      export_dynamic_flag_spec=-rdynamic
 
9559
      ;;
 
9560
 
 
9561
    cygwin* | mingw* | pw32* | cegcc*)
 
9562
      # When not using gcc, we currently assume that we are using
 
9563
      # Microsoft Visual C++.
 
9564
      # hardcode_libdir_flag_spec is actually meaningless, as there is
 
9565
      # no search path for DLLs.
 
9566
      case $cc_basename in
 
9567
      cl*)
 
9568
        # Native MSVC
 
9569
        hardcode_libdir_flag_spec=' '
 
9570
        allow_undefined_flag=unsupported
 
9571
        always_export_symbols=yes
 
9572
        file_list_spec='@'
 
9573
        # Tell ltmain to make .lib files, not .a files.
 
9574
        libext=lib
 
9575
        # Tell ltmain to make .dll files, not .so files.
 
9576
        shrext_cmds=".dll"
 
9577
        # FIXME: Setting linknames here is a bad hack.
 
9578
        archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
 
9579
        archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
 
9580
            sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
 
9581
          else
 
9582
            sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
 
9583
          fi~
 
9584
          $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
 
9585
          linknames='
 
9586
        # The linker will not automatically build a static lib if we build a DLL.
 
9587
        # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
 
9588
        enable_shared_with_static_runtimes=yes
 
9589
        exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
 
9590
        export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
 
9591
        # Don't use ranlib
 
9592
        old_postinstall_cmds='chmod 644 $oldlib'
 
9593
        postlink_cmds='lt_outputfile="@OUTPUT@"~
 
9594
          lt_tool_outputfile="@TOOL_OUTPUT@"~
 
9595
          case $lt_outputfile in
 
9596
            *.exe|*.EXE) ;;
 
9597
            *)
 
9598
              lt_outputfile="$lt_outputfile.exe"
 
9599
              lt_tool_outputfile="$lt_tool_outputfile.exe"
 
9600
              ;;
 
9601
          esac~
 
9602
          if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
 
9603
            $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
 
9604
            $RM "$lt_outputfile.manifest";
 
9605
          fi'
 
9606
        ;;
 
9607
      *)
 
9608
        # Assume MSVC wrapper
 
9609
        hardcode_libdir_flag_spec=' '
 
9610
        allow_undefined_flag=unsupported
 
9611
        # Tell ltmain to make .lib files, not .a files.
 
9612
        libext=lib
 
9613
        # Tell ltmain to make .dll files, not .so files.
 
9614
        shrext_cmds=".dll"
 
9615
        # FIXME: Setting linknames here is a bad hack.
 
9616
        archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
 
9617
        # The linker will automatically build a .lib file if we build a DLL.
 
9618
        old_archive_from_new_cmds='true'
 
9619
        # FIXME: Should let the user specify the lib program.
 
9620
        old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
 
9621
        enable_shared_with_static_runtimes=yes
 
9622
        ;;
 
9623
      esac
 
9624
      ;;
 
9625
 
 
9626
    darwin* | rhapsody*)
 
9627
 
 
9628
 
 
9629
  archive_cmds_need_lc=no
 
9630
  hardcode_direct=no
 
9631
  hardcode_automatic=yes
 
9632
  hardcode_shlibpath_var=unsupported
 
9633
  if test "$lt_cv_ld_force_load" = "yes"; then
 
9634
    whole_archive_flag_spec='`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
 
9635
 
 
9636
  else
 
9637
    whole_archive_flag_spec=''
 
9638
  fi
 
9639
  link_all_deplibs=yes
 
9640
  allow_undefined_flag="$_lt_dar_allow_undefined"
 
9641
  case $cc_basename in
 
9642
     ifort*) _lt_dar_can_shared=yes ;;
 
9643
     *) _lt_dar_can_shared=$GCC ;;
 
9644
  esac
 
9645
  if test "$_lt_dar_can_shared" = "yes"; then
 
9646
    output_verbose_link_cmd=func_echo_all
 
9647
    archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
 
9648
    module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
 
9649
    archive_expsym_cmds="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
 
9650
    module_expsym_cmds="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
 
9651
 
 
9652
  else
 
9653
  ld_shlibs=no
 
9654
  fi
 
9655
 
 
9656
      ;;
 
9657
 
 
9658
    dgux*)
 
9659
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
9660
      hardcode_libdir_flag_spec='-L$libdir'
 
9661
      hardcode_shlibpath_var=no
 
9662
      ;;
 
9663
 
 
9664
    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
 
9665
    # support.  Future versions do this automatically, but an explicit c++rt0.o
 
9666
    # does not break anything, and helps significantly (at the cost of a little
 
9667
    # extra space).
 
9668
    freebsd2.2*)
 
9669
      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
 
9670
      hardcode_libdir_flag_spec='-R$libdir'
 
9671
      hardcode_direct=yes
 
9672
      hardcode_shlibpath_var=no
 
9673
      ;;
 
9674
 
 
9675
    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
 
9676
    freebsd2.*)
 
9677
      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
 
9678
      hardcode_direct=yes
 
9679
      hardcode_minus_L=yes
 
9680
      hardcode_shlibpath_var=no
 
9681
      ;;
 
9682
 
 
9683
    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
 
9684
    freebsd* | dragonfly*)
 
9685
      archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
 
9686
      hardcode_libdir_flag_spec='-R$libdir'
 
9687
      hardcode_direct=yes
 
9688
      hardcode_shlibpath_var=no
 
9689
      ;;
 
9690
 
 
9691
    hpux9*)
 
9692
      if test "$GCC" = yes; then
 
9693
        archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
 
9694
      else
 
9695
        archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
 
9696
      fi
 
9697
      hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
 
9698
      hardcode_libdir_separator=:
 
9699
      hardcode_direct=yes
 
9700
 
 
9701
      # hardcode_minus_L: Not really in the search PATH,
 
9702
      # but as the default location of the library.
 
9703
      hardcode_minus_L=yes
 
9704
      export_dynamic_flag_spec='${wl}-E'
 
9705
      ;;
 
9706
 
 
9707
    hpux10*)
 
9708
      if test "$GCC" = yes && test "$with_gnu_ld" = no; then
 
9709
        archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 
9710
      else
 
9711
        archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
 
9712
      fi
 
9713
      if test "$with_gnu_ld" = no; then
 
9714
        hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
 
9715
        hardcode_libdir_separator=:
 
9716
        hardcode_direct=yes
 
9717
        hardcode_direct_absolute=yes
 
9718
        export_dynamic_flag_spec='${wl}-E'
 
9719
        # hardcode_minus_L: Not really in the search PATH,
 
9720
        # but as the default location of the library.
 
9721
        hardcode_minus_L=yes
 
9722
      fi
 
9723
      ;;
 
9724
 
 
9725
    hpux11*)
 
9726
      if test "$GCC" = yes && test "$with_gnu_ld" = no; then
 
9727
        case $host_cpu in
 
9728
        hppa*64*)
 
9729
          archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
9730
          ;;
 
9731
        ia64*)
 
9732
          archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
 
9733
          ;;
 
9734
        *)
 
9735
          archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 
9736
          ;;
 
9737
        esac
 
9738
      else
 
9739
        case $host_cpu in
 
9740
        hppa*64*)
 
9741
          archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
9742
          ;;
 
9743
        ia64*)
 
9744
          archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
 
9745
          ;;
 
9746
        *)
 
9747
 
 
9748
          # Older versions of the 11.00 compiler do not understand -b yet
 
9749
          # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
 
9750
          { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
 
9751
$as_echo_n "checking if $CC understands -b... " >&6; }
 
9752
if ${lt_cv_prog_compiler__b+:} false; then :
 
9753
  $as_echo_n "(cached) " >&6
 
9754
else
 
9755
  lt_cv_prog_compiler__b=no
 
9756
   save_LDFLAGS="$LDFLAGS"
 
9757
   LDFLAGS="$LDFLAGS -b"
 
9758
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
 
9759
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
 
9760
     # The linker can only warn and ignore the option if not recognized
 
9761
     # So say no if there are warnings
 
9762
     if test -s conftest.err; then
 
9763
       # Append any errors to the config.log.
 
9764
       cat conftest.err 1>&5
 
9765
       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
 
9766
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 
9767
       if diff conftest.exp conftest.er2 >/dev/null; then
 
9768
         lt_cv_prog_compiler__b=yes
 
9769
       fi
 
9770
     else
 
9771
       lt_cv_prog_compiler__b=yes
 
9772
     fi
 
9773
   fi
 
9774
   $RM -r conftest*
 
9775
   LDFLAGS="$save_LDFLAGS"
 
9776
 
 
9777
fi
 
9778
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
 
9779
$as_echo "$lt_cv_prog_compiler__b" >&6; }
 
9780
 
 
9781
if test x"$lt_cv_prog_compiler__b" = xyes; then
 
9782
    archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 
9783
else
 
9784
    archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
 
9785
fi
 
9786
 
 
9787
          ;;
 
9788
        esac
 
9789
      fi
 
9790
      if test "$with_gnu_ld" = no; then
 
9791
        hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
 
9792
        hardcode_libdir_separator=:
 
9793
 
 
9794
        case $host_cpu in
 
9795
        hppa*64*|ia64*)
 
9796
          hardcode_direct=no
 
9797
          hardcode_shlibpath_var=no
 
9798
          ;;
 
9799
        *)
 
9800
          hardcode_direct=yes
 
9801
          hardcode_direct_absolute=yes
 
9802
          export_dynamic_flag_spec='${wl}-E'
 
9803
 
 
9804
          # hardcode_minus_L: Not really in the search PATH,
 
9805
          # but as the default location of the library.
 
9806
          hardcode_minus_L=yes
 
9807
          ;;
 
9808
        esac
 
9809
      fi
 
9810
      ;;
 
9811
 
 
9812
    irix5* | irix6* | nonstopux*)
 
9813
      if test "$GCC" = yes; then
 
9814
        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
 
9815
        # Try to use the -exported_symbol ld option, if it does not
 
9816
        # work, assume that -exports_file does not work either and
 
9817
        # implicitly export all symbols.
 
9818
        # This should be the same for all languages, so no per-tag cache variable.
 
9819
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
 
9820
$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
 
9821
if ${lt_cv_irix_exported_symbol+:} false; then :
 
9822
  $as_echo_n "(cached) " >&6
 
9823
else
 
9824
  save_LDFLAGS="$LDFLAGS"
 
9825
           LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
 
9826
           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
9827
/* end confdefs.h.  */
 
9828
int foo (void) { return 0; }
 
9829
_ACEOF
 
9830
if ac_fn_c_try_link "$LINENO"; then :
 
9831
  lt_cv_irix_exported_symbol=yes
 
9832
else
 
9833
  lt_cv_irix_exported_symbol=no
 
9834
fi
 
9835
rm -f core conftest.err conftest.$ac_objext \
 
9836
    conftest$ac_exeext conftest.$ac_ext
 
9837
           LDFLAGS="$save_LDFLAGS"
 
9838
fi
 
9839
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
 
9840
$as_echo "$lt_cv_irix_exported_symbol" >&6; }
 
9841
        if test "$lt_cv_irix_exported_symbol" = yes; then
 
9842
          archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
 
9843
        fi
 
9844
      else
 
9845
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
 
9846
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
 
9847
      fi
 
9848
      archive_cmds_need_lc='no'
 
9849
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
 
9850
      hardcode_libdir_separator=:
 
9851
      inherit_rpath=yes
 
9852
      link_all_deplibs=yes
 
9853
      ;;
 
9854
 
 
9855
    netbsd*)
 
9856
      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
 
9857
        archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
 
9858
      else
 
9859
        archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
 
9860
      fi
 
9861
      hardcode_libdir_flag_spec='-R$libdir'
 
9862
      hardcode_direct=yes
 
9863
      hardcode_shlibpath_var=no
 
9864
      ;;
 
9865
 
 
9866
    newsos6)
 
9867
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
9868
      hardcode_direct=yes
 
9869
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
 
9870
      hardcode_libdir_separator=:
 
9871
      hardcode_shlibpath_var=no
 
9872
      ;;
 
9873
 
 
9874
    *nto* | *qnx*)
 
9875
      ;;
 
9876
 
 
9877
    openbsd*)
 
9878
      if test -f /usr/libexec/ld.so; then
 
9879
        hardcode_direct=yes
 
9880
        hardcode_shlibpath_var=no
 
9881
        hardcode_direct_absolute=yes
 
9882
        if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
9883
          archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
 
9884
          archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
 
9885
          hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
 
9886
          export_dynamic_flag_spec='${wl}-E'
 
9887
        else
 
9888
          case $host_os in
 
9889
           openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
 
9890
             archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
 
9891
             hardcode_libdir_flag_spec='-R$libdir'
 
9892
             ;;
 
9893
           *)
 
9894
             archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
 
9895
             hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
 
9896
             ;;
 
9897
          esac
 
9898
        fi
 
9899
      else
 
9900
        ld_shlibs=no
 
9901
      fi
 
9902
      ;;
 
9903
 
 
9904
    os2*)
 
9905
      hardcode_libdir_flag_spec='-L$libdir'
 
9906
      hardcode_minus_L=yes
 
9907
      allow_undefined_flag=unsupported
 
9908
      archive_cmds='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~echo DATA >> $output_objdir/$libname.def~echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
 
9909
      old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
 
9910
      ;;
 
9911
 
 
9912
    osf3*)
 
9913
      if test "$GCC" = yes; then
 
9914
        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
 
9915
        archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
 
9916
      else
 
9917
        allow_undefined_flag=' -expect_unresolved \*'
 
9918
        archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
 
9919
      fi
 
9920
      archive_cmds_need_lc='no'
 
9921
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
 
9922
      hardcode_libdir_separator=:
 
9923
      ;;
 
9924
 
 
9925
    osf4* | osf5*)      # as osf3* with the addition of -msym flag
 
9926
      if test "$GCC" = yes; then
 
9927
        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
 
9928
        archive_cmds='$CC -shared${allow_undefined_flag} $pic_flag $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
 
9929
        hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
 
9930
      else
 
9931
        allow_undefined_flag=' -expect_unresolved \*'
 
9932
        archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
 
9933
        archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~
 
9934
        $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
 
9935
 
 
9936
        # Both c and cxx compiler support -rpath directly
 
9937
        hardcode_libdir_flag_spec='-rpath $libdir'
 
9938
      fi
 
9939
      archive_cmds_need_lc='no'
 
9940
      hardcode_libdir_separator=:
 
9941
      ;;
 
9942
 
 
9943
    solaris*)
 
9944
      no_undefined_flag=' -z defs'
 
9945
      if test "$GCC" = yes; then
 
9946
        wlarc='${wl}'
 
9947
        archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
9948
        archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
 
9949
          $CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
 
9950
      else
 
9951
        case `$CC -V 2>&1` in
 
9952
        *"Compilers 5.0"*)
 
9953
          wlarc=''
 
9954
          archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
9955
          archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
 
9956
          $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
 
9957
          ;;
 
9958
        *)
 
9959
          wlarc='${wl}'
 
9960
          archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
 
9961
          archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
 
9962
          $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
 
9963
          ;;
 
9964
        esac
 
9965
      fi
 
9966
      hardcode_libdir_flag_spec='-R$libdir'
 
9967
      hardcode_shlibpath_var=no
 
9968
      case $host_os in
 
9969
      solaris2.[0-5] | solaris2.[0-5].*) ;;
 
9970
      *)
 
9971
        # The compiler driver will combine and reorder linker options,
 
9972
        # but understands `-z linker_flag'.  GCC discards it without `$wl',
 
9973
        # but is careful enough not to reorder.
 
9974
        # Supported since Solaris 2.6 (maybe 2.5.1?)
 
9975
        if test "$GCC" = yes; then
 
9976
          whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
 
9977
        else
 
9978
          whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
 
9979
        fi
 
9980
        ;;
 
9981
      esac
 
9982
      link_all_deplibs=yes
 
9983
      ;;
 
9984
 
 
9985
    sunos4*)
 
9986
      if test "x$host_vendor" = xsequent; then
 
9987
        # Use $CC to link under sequent, because it throws in some extra .o
 
9988
        # files that make .init and .fini sections work.
 
9989
        archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
 
9990
      else
 
9991
        archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
 
9992
      fi
 
9993
      hardcode_libdir_flag_spec='-L$libdir'
 
9994
      hardcode_direct=yes
 
9995
      hardcode_minus_L=yes
 
9996
      hardcode_shlibpath_var=no
 
9997
      ;;
 
9998
 
 
9999
    sysv4)
 
10000
      case $host_vendor in
 
10001
        sni)
 
10002
          archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
10003
          hardcode_direct=yes # is this really true???
 
10004
        ;;
 
10005
        siemens)
 
10006
          ## LD is ld it makes a PLAMLIB
 
10007
          ## CC just makes a GrossModule.
 
10008
          archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
 
10009
          reload_cmds='$CC -r -o $output$reload_objs'
 
10010
          hardcode_direct=no
 
10011
        ;;
 
10012
        motorola)
 
10013
          archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
10014
          hardcode_direct=no #Motorola manual says yes, but my tests say they lie
 
10015
        ;;
 
10016
      esac
 
10017
      runpath_var='LD_RUN_PATH'
 
10018
      hardcode_shlibpath_var=no
 
10019
      ;;
 
10020
 
 
10021
    sysv4.3*)
 
10022
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
10023
      hardcode_shlibpath_var=no
 
10024
      export_dynamic_flag_spec='-Bexport'
 
10025
      ;;
 
10026
 
 
10027
    sysv4*MP*)
 
10028
      if test -d /usr/nec; then
 
10029
        archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
10030
        hardcode_shlibpath_var=no
 
10031
        runpath_var=LD_RUN_PATH
 
10032
        hardcode_runpath_var=yes
 
10033
        ld_shlibs=yes
 
10034
      fi
 
10035
      ;;
 
10036
 
 
10037
    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
 
10038
      no_undefined_flag='${wl}-z,text'
 
10039
      archive_cmds_need_lc=no
 
10040
      hardcode_shlibpath_var=no
 
10041
      runpath_var='LD_RUN_PATH'
 
10042
 
 
10043
      if test "$GCC" = yes; then
 
10044
        archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
10045
        archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
10046
      else
 
10047
        archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
10048
        archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
10049
      fi
 
10050
      ;;
 
10051
 
 
10052
    sysv5* | sco3.2v5* | sco5v6*)
 
10053
      # Note: We can NOT use -z defs as we might desire, because we do not
 
10054
      # link with -lc, and that would cause any symbols used from libc to
 
10055
      # always be unresolved, which means just about no library would
 
10056
      # ever link correctly.  If we're not using GNU ld we use -z text
 
10057
      # though, which does catch some bad symbols but isn't as heavy-handed
 
10058
      # as -z defs.
 
10059
      no_undefined_flag='${wl}-z,text'
 
10060
      allow_undefined_flag='${wl}-z,nodefs'
 
10061
      archive_cmds_need_lc=no
 
10062
      hardcode_shlibpath_var=no
 
10063
      hardcode_libdir_flag_spec='${wl}-R,$libdir'
 
10064
      hardcode_libdir_separator=':'
 
10065
      link_all_deplibs=yes
 
10066
      export_dynamic_flag_spec='${wl}-Bexport'
 
10067
      runpath_var='LD_RUN_PATH'
 
10068
 
 
10069
      if test "$GCC" = yes; then
 
10070
        archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
10071
        archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
10072
      else
 
10073
        archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
10074
        archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
10075
      fi
 
10076
      ;;
 
10077
 
 
10078
    uts4*)
 
10079
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
10080
      hardcode_libdir_flag_spec='-L$libdir'
 
10081
      hardcode_shlibpath_var=no
 
10082
      ;;
 
10083
 
 
10084
    *)
 
10085
      ld_shlibs=no
 
10086
      ;;
 
10087
    esac
 
10088
 
 
10089
    if test x$host_vendor = xsni; then
 
10090
      case $host in
 
10091
      sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
 
10092
        export_dynamic_flag_spec='${wl}-Blargedynsym'
 
10093
        ;;
 
10094
      esac
 
10095
    fi
 
10096
  fi
 
10097
 
 
10098
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
 
10099
$as_echo "$ld_shlibs" >&6; }
 
10100
test "$ld_shlibs" = no && can_build_shared=no
 
10101
 
 
10102
with_gnu_ld=$with_gnu_ld
 
10103
 
 
10104
 
 
10105
 
 
10106
 
 
10107
 
 
10108
 
 
10109
 
 
10110
 
 
10111
 
 
10112
 
 
10113
 
 
10114
 
 
10115
 
 
10116
 
 
10117
 
 
10118
#
 
10119
# Do we need to explicitly link libc?
 
10120
#
 
10121
case "x$archive_cmds_need_lc" in
 
10122
x|xyes)
 
10123
  # Assume -lc should be added
 
10124
  archive_cmds_need_lc=yes
 
10125
 
 
10126
  if test "$enable_shared" = yes && test "$GCC" = yes; then
 
10127
    case $archive_cmds in
 
10128
    *'~'*)
 
10129
      # FIXME: we may have to deal with multi-command sequences.
 
10130
      ;;
 
10131
    '$CC '*)
 
10132
      # Test whether the compiler implicitly links with -lc since on some
 
10133
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
 
10134
      # to ld, don't add -lc before -lgcc.
 
10135
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
 
10136
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
 
10137
if ${lt_cv_archive_cmds_need_lc+:} false; then :
 
10138
  $as_echo_n "(cached) " >&6
 
10139
else
 
10140
  $RM conftest*
 
10141
        echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
10142
 
 
10143
        if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
 
10144
  (eval $ac_compile) 2>&5
 
10145
  ac_status=$?
 
10146
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
10147
  test $ac_status = 0; } 2>conftest.err; then
 
10148
          soname=conftest
 
10149
          lib=conftest
 
10150
          libobjs=conftest.$ac_objext
 
10151
          deplibs=
 
10152
          wl=$lt_prog_compiler_wl
 
10153
          pic_flag=$lt_prog_compiler_pic
 
10154
          compiler_flags=-v
 
10155
          linker_flags=-v
 
10156
          verstring=
 
10157
          output_objdir=.
 
10158
          libname=conftest
 
10159
          lt_save_allow_undefined_flag=$allow_undefined_flag
 
10160
          allow_undefined_flag=
 
10161
          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
 
10162
  (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
 
10163
  ac_status=$?
 
10164
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
10165
  test $ac_status = 0; }
 
10166
          then
 
10167
            lt_cv_archive_cmds_need_lc=no
 
10168
          else
 
10169
            lt_cv_archive_cmds_need_lc=yes
 
10170
          fi
 
10171
          allow_undefined_flag=$lt_save_allow_undefined_flag
 
10172
        else
 
10173
          cat conftest.err 1>&5
 
10174
        fi
 
10175
        $RM conftest*
 
10176
 
 
10177
fi
 
10178
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
 
10179
$as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
 
10180
      archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
 
10181
      ;;
 
10182
    esac
 
10183
  fi
 
10184
  ;;
 
10185
esac
 
10186
 
 
10187
 
 
10188
 
 
10189
 
 
10190
 
 
10191
 
 
10192
 
 
10193
 
 
10194
 
 
10195
 
 
10196
 
 
10197
 
 
10198
 
 
10199
 
 
10200
 
 
10201
 
 
10202
 
 
10203
 
 
10204
 
 
10205
 
 
10206
 
 
10207
 
 
10208
 
 
10209
 
 
10210
 
 
10211
 
 
10212
 
 
10213
 
 
10214
 
 
10215
 
 
10216
 
 
10217
 
 
10218
 
 
10219
 
 
10220
 
 
10221
 
 
10222
 
 
10223
 
 
10224
 
 
10225
 
 
10226
 
 
10227
 
 
10228
 
 
10229
 
 
10230
 
 
10231
 
 
10232
 
 
10233
 
 
10234
 
 
10235
 
 
10236
 
 
10237
 
 
10238
 
 
10239
 
 
10240
 
 
10241
 
 
10242
 
 
10243
 
 
10244
 
 
10245
 
 
10246
 
 
10247
 
 
10248
 
 
10249
 
 
10250
 
 
10251
 
 
10252
 
 
10253
 
 
10254
 
 
10255
 
 
10256
 
 
10257
 
 
10258
 
 
10259
 
 
10260
 
 
10261
 
 
10262
 
 
10263
 
 
10264
 
 
10265
 
 
10266
 
 
10267
 
 
10268
 
 
10269
 
 
10270
 
 
10271
 
 
10272
 
 
10273
 
 
10274
 
 
10275
 
 
10276
 
 
10277
 
 
10278
 
 
10279
 
 
10280
 
 
10281
 
 
10282
 
 
10283
 
 
10284
 
 
10285
 
 
10286
 
 
10287
 
 
10288
 
 
10289
 
 
10290
 
 
10291
 
 
10292
 
 
10293
 
 
10294
 
 
10295
 
 
10296
 
 
10297
 
 
10298
 
 
10299
 
 
10300
 
 
10301
 
 
10302
 
 
10303
 
 
10304
 
 
10305
 
 
10306
 
 
10307
 
 
10308
 
 
10309
 
 
10310
 
 
10311
 
 
10312
 
 
10313
 
 
10314
 
 
10315
 
 
10316
 
 
10317
 
 
10318
 
 
10319
 
 
10320
 
 
10321
 
 
10322
 
 
10323
 
 
10324
 
 
10325
 
 
10326
 
 
10327
 
 
10328
 
 
10329
 
 
10330
 
 
10331
 
 
10332
 
 
10333
 
 
10334
 
 
10335
 
 
10336
 
 
10337
 
 
10338
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
 
10339
$as_echo_n "checking dynamic linker characteristics... " >&6; }
 
10340
 
 
10341
if test "$GCC" = yes; then
 
10342
  case $host_os in
 
10343
    darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
 
10344
    *) lt_awk_arg="/^libraries:/" ;;
 
10345
  esac
 
10346
  case $host_os in
 
10347
    mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
 
10348
    *) lt_sed_strip_eq="s,=/,/,g" ;;
 
10349
  esac
 
10350
  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
 
10351
  case $lt_search_path_spec in
 
10352
  *\;*)
 
10353
    # if the path contains ";" then we assume it to be the separator
 
10354
    # otherwise default to the standard path separator (i.e. ":") - it is
 
10355
    # assumed that no part of a normal pathname contains ";" but that should
 
10356
    # okay in the real world where ";" in dirpaths is itself problematic.
 
10357
    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
 
10358
    ;;
 
10359
  *)
 
10360
    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
 
10361
    ;;
 
10362
  esac
 
10363
  # Ok, now we have the path, separated by spaces, we can step through it
 
10364
  # and add multilib dir if necessary.
 
10365
  lt_tmp_lt_search_path_spec=
 
10366
  lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
 
10367
  for lt_sys_path in $lt_search_path_spec; do
 
10368
    if test -d "$lt_sys_path/$lt_multi_os_dir"; then
 
10369
      lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
 
10370
    else
 
10371
      test -d "$lt_sys_path" && \
 
10372
        lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
 
10373
    fi
 
10374
  done
 
10375
  lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
 
10376
BEGIN {RS=" "; FS="/|\n";} {
 
10377
  lt_foo="";
 
10378
  lt_count=0;
 
10379
  for (lt_i = NF; lt_i > 0; lt_i--) {
 
10380
    if ($lt_i != "" && $lt_i != ".") {
 
10381
      if ($lt_i == "..") {
 
10382
        lt_count++;
 
10383
      } else {
 
10384
        if (lt_count == 0) {
 
10385
          lt_foo="/" $lt_i lt_foo;
 
10386
        } else {
 
10387
          lt_count--;
 
10388
        }
 
10389
      }
 
10390
    }
 
10391
  }
 
10392
  if (lt_foo != "") { lt_freq[lt_foo]++; }
 
10393
  if (lt_freq[lt_foo] == 1) { print lt_foo; }
 
10394
}'`
 
10395
  # AWK program above erroneously prepends '/' to C:/dos/paths
 
10396
  # for these hosts.
 
10397
  case $host_os in
 
10398
    mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
 
10399
      $SED 's,/\([A-Za-z]:\),\1,g'` ;;
 
10400
  esac
 
10401
  sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
 
10402
else
 
10403
  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
 
10404
fi
 
10405
library_names_spec=
 
10406
libname_spec='lib$name'
 
10407
soname_spec=
 
10408
shrext_cmds=".so"
 
10409
postinstall_cmds=
 
10410
postuninstall_cmds=
 
10411
finish_cmds=
 
10412
finish_eval=
 
10413
shlibpath_var=
 
10414
shlibpath_overrides_runpath=unknown
 
10415
version_type=none
 
10416
dynamic_linker="$host_os ld.so"
 
10417
sys_lib_dlsearch_path_spec="/lib /usr/lib"
 
10418
need_lib_prefix=unknown
 
10419
hardcode_into_libs=no
 
10420
 
 
10421
# when you set need_version to no, make sure it does not cause -set_version
 
10422
# flags to be left without arguments
 
10423
need_version=unknown
 
10424
 
 
10425
case $host_os in
 
10426
aix3*)
 
10427
  version_type=linux # correct to gnu/linux during the next big refactor
 
10428
  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
 
10429
  shlibpath_var=LIBPATH
 
10430
 
 
10431
  # AIX 3 has no versioning support, so we append a major version to the name.
 
10432
  soname_spec='${libname}${release}${shared_ext}$major'
 
10433
  ;;
 
10434
 
 
10435
aix[4-9]*)
 
10436
  version_type=linux # correct to gnu/linux during the next big refactor
 
10437
  need_lib_prefix=no
 
10438
  need_version=no
 
10439
  hardcode_into_libs=yes
 
10440
  if test "$host_cpu" = ia64; then
 
10441
    # AIX 5 supports IA64
 
10442
    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
 
10443
    shlibpath_var=LD_LIBRARY_PATH
 
10444
  else
 
10445
    # With GCC up to 2.95.x, collect2 would create an import file
 
10446
    # for dependence libraries.  The import file would start with
 
10447
    # the line `#! .'.  This would cause the generated library to
 
10448
    # depend on `.', always an invalid library.  This was fixed in
 
10449
    # development snapshots of GCC prior to 3.0.
 
10450
    case $host_os in
 
10451
      aix4 | aix4.[01] | aix4.[01].*)
 
10452
      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
 
10453
           echo ' yes '
 
10454
           echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
 
10455
        :
 
10456
      else
 
10457
        can_build_shared=no
 
10458
      fi
 
10459
      ;;
 
10460
    esac
 
10461
    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
 
10462
    # soname into executable. Probably we can add versioning support to
 
10463
    # collect2, so additional links can be useful in future.
 
10464
    if test "$aix_use_runtimelinking" = yes; then
 
10465
      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
 
10466
      # instead of lib<name>.a to let people know that these are not
 
10467
      # typical AIX shared libraries.
 
10468
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
10469
    else
 
10470
      # We preserve .a as extension for shared libraries through AIX4.2
 
10471
      # and later when we are not doing run time linking.
 
10472
      library_names_spec='${libname}${release}.a $libname.a'
 
10473
      soname_spec='${libname}${release}${shared_ext}$major'
 
10474
    fi
 
10475
    shlibpath_var=LIBPATH
 
10476
  fi
 
10477
  ;;
 
10478
 
 
10479
amigaos*)
 
10480
  case $host_cpu in
 
10481
  powerpc)
 
10482
    # Since July 2007 AmigaOS4 officially supports .so libraries.
 
10483
    # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
 
10484
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
10485
    ;;
 
10486
  m68k)
 
10487
    library_names_spec='$libname.ixlibrary $libname.a'
 
10488
    # Create ${libname}_ixlibrary.a entries in /sys/libs.
 
10489
    finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
 
10490
    ;;
 
10491
  esac
 
10492
  ;;
 
10493
 
 
10494
beos*)
 
10495
  library_names_spec='${libname}${shared_ext}'
 
10496
  dynamic_linker="$host_os ld.so"
 
10497
  shlibpath_var=LIBRARY_PATH
 
10498
  ;;
 
10499
 
 
10500
bsdi[45]*)
 
10501
  version_type=linux # correct to gnu/linux during the next big refactor
 
10502
  need_version=no
 
10503
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
10504
  soname_spec='${libname}${release}${shared_ext}$major'
 
10505
  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
 
10506
  shlibpath_var=LD_LIBRARY_PATH
 
10507
  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
 
10508
  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
 
10509
  # the default ld.so.conf also contains /usr/contrib/lib and
 
10510
  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
 
10511
  # libtool to hard-code these into programs
 
10512
  ;;
 
10513
 
 
10514
cygwin* | mingw* | pw32* | cegcc*)
 
10515
  version_type=windows
 
10516
  shrext_cmds=".dll"
 
10517
  need_version=no
 
10518
  need_lib_prefix=no
 
10519
 
 
10520
  case $GCC,$cc_basename in
 
10521
  yes,*)
 
10522
    # gcc
 
10523
    library_names_spec='$libname.dll.a'
 
10524
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
 
10525
    postinstall_cmds='base_file=`basename \${file}`~
 
10526
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
 
10527
      dldir=$destdir/`dirname \$dlpath`~
 
10528
      test -d \$dldir || mkdir -p \$dldir~
 
10529
      $install_prog $dir/$dlname \$dldir/$dlname~
 
10530
      chmod a+x \$dldir/$dlname~
 
10531
      if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
 
10532
        eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
 
10533
      fi'
 
10534
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
 
10535
      dlpath=$dir/\$dldll~
 
10536
       $RM \$dlpath'
 
10537
    shlibpath_overrides_runpath=yes
 
10538
 
 
10539
    case $host_os in
 
10540
    cygwin*)
 
10541
      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
 
10542
      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
 
10543
 
 
10544
      sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
 
10545
      ;;
 
10546
    mingw* | cegcc*)
 
10547
      # MinGW DLLs use traditional 'lib' prefix
 
10548
      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
 
10549
      ;;
 
10550
    pw32*)
 
10551
      # pw32 DLLs use 'pw' prefix rather than 'lib'
 
10552
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
 
10553
      ;;
 
10554
    esac
 
10555
    dynamic_linker='Win32 ld.exe'
 
10556
    ;;
 
10557
 
 
10558
  *,cl*)
 
10559
    # Native MSVC
 
10560
    libname_spec='$name'
 
10561
    soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
 
10562
    library_names_spec='${libname}.dll.lib'
 
10563
 
 
10564
    case $build_os in
 
10565
    mingw*)
 
10566
      sys_lib_search_path_spec=
 
10567
      lt_save_ifs=$IFS
 
10568
      IFS=';'
 
10569
      for lt_path in $LIB
 
10570
      do
 
10571
        IFS=$lt_save_ifs
 
10572
        # Let DOS variable expansion print the short 8.3 style file name.
 
10573
        lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
 
10574
        sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
 
10575
      done
 
10576
      IFS=$lt_save_ifs
 
10577
      # Convert to MSYS style.
 
10578
      sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
 
10579
      ;;
 
10580
    cygwin*)
 
10581
      # Convert to unix form, then to dos form, then back to unix form
 
10582
      # but this time dos style (no spaces!) so that the unix form looks
 
10583
      # like /cygdrive/c/PROGRA~1:/cygdr...
 
10584
      sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
 
10585
      sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
 
10586
      sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
 
10587
      ;;
 
10588
    *)
 
10589
      sys_lib_search_path_spec="$LIB"
 
10590
      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
 
10591
        # It is most probably a Windows format PATH.
 
10592
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
 
10593
      else
 
10594
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
 
10595
      fi
 
10596
      # FIXME: find the short name or the path components, as spaces are
 
10597
      # common. (e.g. "Program Files" -> "PROGRA~1")
 
10598
      ;;
 
10599
    esac
 
10600
 
 
10601
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
 
10602
    postinstall_cmds='base_file=`basename \${file}`~
 
10603
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
 
10604
      dldir=$destdir/`dirname \$dlpath`~
 
10605
      test -d \$dldir || mkdir -p \$dldir~
 
10606
      $install_prog $dir/$dlname \$dldir/$dlname'
 
10607
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
 
10608
      dlpath=$dir/\$dldll~
 
10609
       $RM \$dlpath'
 
10610
    shlibpath_overrides_runpath=yes
 
10611
    dynamic_linker='Win32 link.exe'
 
10612
    ;;
 
10613
 
 
10614
  *)
 
10615
    # Assume MSVC wrapper
 
10616
    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
 
10617
    dynamic_linker='Win32 ld.exe'
 
10618
    ;;
 
10619
  esac
 
10620
  # FIXME: first we should search . and the directory the executable is in
 
10621
  shlibpath_var=PATH
 
10622
  ;;
 
10623
 
 
10624
darwin* | rhapsody*)
 
10625
  dynamic_linker="$host_os dyld"
 
10626
  version_type=darwin
 
10627
  need_lib_prefix=no
 
10628
  need_version=no
 
10629
  library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
 
10630
  soname_spec='${libname}${release}${major}$shared_ext'
 
10631
  shlibpath_overrides_runpath=yes
 
10632
  shlibpath_var=DYLD_LIBRARY_PATH
 
10633
  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
 
10634
 
 
10635
  sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
 
10636
  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
 
10637
  ;;
 
10638
 
 
10639
dgux*)
 
10640
  version_type=linux # correct to gnu/linux during the next big refactor
 
10641
  need_lib_prefix=no
 
10642
  need_version=no
 
10643
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
 
10644
  soname_spec='${libname}${release}${shared_ext}$major'
 
10645
  shlibpath_var=LD_LIBRARY_PATH
 
10646
  ;;
 
10647
 
 
10648
freebsd* | dragonfly*)
 
10649
  # DragonFly does not have aout.  When/if they implement a new
 
10650
  # versioning mechanism, adjust this.
 
10651
  if test -x /usr/bin/objformat; then
 
10652
    objformat=`/usr/bin/objformat`
 
10653
  else
 
10654
    case $host_os in
 
10655
    freebsd[23].*) objformat=aout ;;
 
10656
    *) objformat=elf ;;
 
10657
    esac
 
10658
  fi
 
10659
  version_type=freebsd-$objformat
 
10660
  case $version_type in
 
10661
    freebsd-elf*)
 
10662
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
 
10663
      need_version=no
 
10664
      need_lib_prefix=no
 
10665
      ;;
 
10666
    freebsd-*)
 
10667
      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
 
10668
      need_version=yes
 
10669
      ;;
 
10670
  esac
 
10671
  shlibpath_var=LD_LIBRARY_PATH
 
10672
  case $host_os in
 
10673
  freebsd2.*)
 
10674
    shlibpath_overrides_runpath=yes
 
10675
    ;;
 
10676
  freebsd3.[01]* | freebsdelf3.[01]*)
 
10677
    shlibpath_overrides_runpath=yes
 
10678
    hardcode_into_libs=yes
 
10679
    ;;
 
10680
  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
 
10681
  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
 
10682
    shlibpath_overrides_runpath=no
 
10683
    hardcode_into_libs=yes
 
10684
    ;;
 
10685
  *) # from 4.6 on, and DragonFly
 
10686
    shlibpath_overrides_runpath=yes
 
10687
    hardcode_into_libs=yes
 
10688
    ;;
 
10689
  esac
 
10690
  ;;
 
10691
 
 
10692
gnu*)
 
10693
  version_type=linux # correct to gnu/linux during the next big refactor
 
10694
  need_lib_prefix=no
 
10695
  need_version=no
 
10696
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
 
10697
  soname_spec='${libname}${release}${shared_ext}$major'
 
10698
  shlibpath_var=LD_LIBRARY_PATH
 
10699
  shlibpath_overrides_runpath=no
 
10700
  hardcode_into_libs=yes
 
10701
  ;;
 
10702
 
 
10703
haiku*)
 
10704
  version_type=linux # correct to gnu/linux during the next big refactor
 
10705
  need_lib_prefix=no
 
10706
  need_version=no
 
10707
  dynamic_linker="$host_os runtime_loader"
 
10708
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
 
10709
  soname_spec='${libname}${release}${shared_ext}$major'
 
10710
  shlibpath_var=LIBRARY_PATH
 
10711
  shlibpath_overrides_runpath=yes
 
10712
  sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
 
10713
  hardcode_into_libs=yes
 
10714
  ;;
 
10715
 
 
10716
hpux9* | hpux10* | hpux11*)
 
10717
  # Give a soname corresponding to the major version so that dld.sl refuses to
 
10718
  # link against other versions.
 
10719
  version_type=sunos
 
10720
  need_lib_prefix=no
 
10721
  need_version=no
 
10722
  case $host_cpu in
 
10723
  ia64*)
 
10724
    shrext_cmds='.so'
 
10725
    hardcode_into_libs=yes
 
10726
    dynamic_linker="$host_os dld.so"
 
10727
    shlibpath_var=LD_LIBRARY_PATH
 
10728
    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
 
10729
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
10730
    soname_spec='${libname}${release}${shared_ext}$major'
 
10731
    if test "X$HPUX_IA64_MODE" = X32; then
 
10732
      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
 
10733
    else
 
10734
      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
 
10735
    fi
 
10736
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
 
10737
    ;;
 
10738
  hppa*64*)
 
10739
    shrext_cmds='.sl'
 
10740
    hardcode_into_libs=yes
 
10741
    dynamic_linker="$host_os dld.sl"
 
10742
    shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
 
10743
    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
 
10744
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
10745
    soname_spec='${libname}${release}${shared_ext}$major'
 
10746
    sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
 
10747
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
 
10748
    ;;
 
10749
  *)
 
10750
    shrext_cmds='.sl'
 
10751
    dynamic_linker="$host_os dld.sl"
 
10752
    shlibpath_var=SHLIB_PATH
 
10753
    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
 
10754
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
10755
    soname_spec='${libname}${release}${shared_ext}$major'
 
10756
    ;;
 
10757
  esac
 
10758
  # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
 
10759
  postinstall_cmds='chmod 555 $lib'
 
10760
  # or fails outright, so override atomically:
 
10761
  install_override_mode=555
 
10762
  ;;
 
10763
 
 
10764
interix[3-9]*)
 
10765
  version_type=linux # correct to gnu/linux during the next big refactor
 
10766
  need_lib_prefix=no
 
10767
  need_version=no
 
10768
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
 
10769
  soname_spec='${libname}${release}${shared_ext}$major'
 
10770
  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
 
10771
  shlibpath_var=LD_LIBRARY_PATH
 
10772
  shlibpath_overrides_runpath=no
 
10773
  hardcode_into_libs=yes
 
10774
  ;;
 
10775
 
 
10776
irix5* | irix6* | nonstopux*)
 
10777
  case $host_os in
 
10778
    nonstopux*) version_type=nonstopux ;;
 
10779
    *)
 
10780
        if test "$lt_cv_prog_gnu_ld" = yes; then
 
10781
                version_type=linux # correct to gnu/linux during the next big refactor
 
10782
        else
 
10783
                version_type=irix
 
10784
        fi ;;
 
10785
  esac
 
10786
  need_lib_prefix=no
 
10787
  need_version=no
 
10788
  soname_spec='${libname}${release}${shared_ext}$major'
 
10789
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
 
10790
  case $host_os in
 
10791
  irix5* | nonstopux*)
 
10792
    libsuff= shlibsuff=
 
10793
    ;;
 
10794
  *)
 
10795
    case $LD in # libtool.m4 will add one of these switches to LD
 
10796
    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
 
10797
      libsuff= shlibsuff= libmagic=32-bit;;
 
10798
    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
 
10799
      libsuff=32 shlibsuff=N32 libmagic=N32;;
 
10800
    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
 
10801
      libsuff=64 shlibsuff=64 libmagic=64-bit;;
 
10802
    *) libsuff= shlibsuff= libmagic=never-match;;
 
10803
    esac
 
10804
    ;;
 
10805
  esac
 
10806
  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
 
10807
  shlibpath_overrides_runpath=no
 
10808
  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
 
10809
  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
 
10810
  hardcode_into_libs=yes
 
10811
  ;;
 
10812
 
 
10813
# No shared lib support for Linux oldld, aout, or coff.
 
10814
linux*oldld* | linux*aout* | linux*coff*)
 
10815
  dynamic_linker=no
 
10816
  ;;
 
10817
 
 
10818
# This must be glibc/ELF.
 
10819
linux* | k*bsd*-gnu | kopensolaris*-gnu)
 
10820
  version_type=linux # correct to gnu/linux during the next big refactor
 
10821
  need_lib_prefix=no
 
10822
  need_version=no
 
10823
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
10824
  soname_spec='${libname}${release}${shared_ext}$major'
 
10825
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
 
10826
  shlibpath_var=LD_LIBRARY_PATH
 
10827
  shlibpath_overrides_runpath=no
 
10828
 
 
10829
  # Some binutils ld are patched to set DT_RUNPATH
 
10830
  if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
 
10831
  $as_echo_n "(cached) " >&6
 
10832
else
 
10833
  lt_cv_shlibpath_overrides_runpath=no
 
10834
    save_LDFLAGS=$LDFLAGS
 
10835
    save_libdir=$libdir
 
10836
    eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
 
10837
         LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
 
10838
    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
10839
/* end confdefs.h.  */
 
10840
 
 
10841
int
 
10842
main ()
 
10843
{
 
10844
 
 
10845
  ;
 
10846
  return 0;
 
10847
}
 
10848
_ACEOF
 
10849
if ac_fn_c_try_link "$LINENO"; then :
 
10850
  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
 
10851
  lt_cv_shlibpath_overrides_runpath=yes
 
10852
fi
 
10853
fi
 
10854
rm -f core conftest.err conftest.$ac_objext \
 
10855
    conftest$ac_exeext conftest.$ac_ext
 
10856
    LDFLAGS=$save_LDFLAGS
 
10857
    libdir=$save_libdir
 
10858
 
 
10859
fi
 
10860
 
 
10861
  shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
 
10862
 
 
10863
  # This implies no fast_install, which is unacceptable.
 
10864
  # Some rework will be needed to allow for fast_install
 
10865
  # before this can be enabled.
 
10866
  hardcode_into_libs=yes
 
10867
 
 
10868
  # Append ld.so.conf contents to the search path
 
10869
  if test -f /etc/ld.so.conf; then
 
10870
    lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[       ]*hwcap[        ]/d;s/[:,      ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
 
10871
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
 
10872
  fi
 
10873
 
 
10874
  # We used to test for /lib/ld.so.1 and disable shared libraries on
 
10875
  # powerpc, because MkLinux only supported shared libraries with the
 
10876
  # GNU dynamic linker.  Since this was broken with cross compilers,
 
10877
  # most powerpc-linux boxes support dynamic linking these days and
 
10878
  # people can always --disable-shared, the test was removed, and we
 
10879
  # assume the GNU/Linux dynamic linker is in use.
 
10880
  dynamic_linker='GNU/Linux ld.so'
 
10881
  ;;
 
10882
 
 
10883
netbsd*)
 
10884
  version_type=sunos
 
10885
  need_lib_prefix=no
 
10886
  need_version=no
 
10887
  if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
 
10888
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
 
10889
    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
 
10890
    dynamic_linker='NetBSD (a.out) ld.so'
 
10891
  else
 
10892
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
 
10893
    soname_spec='${libname}${release}${shared_ext}$major'
 
10894
    dynamic_linker='NetBSD ld.elf_so'
 
10895
  fi
 
10896
  shlibpath_var=LD_LIBRARY_PATH
 
10897
  shlibpath_overrides_runpath=yes
 
10898
  hardcode_into_libs=yes
 
10899
  ;;
 
10900
 
 
10901
newsos6)
 
10902
  version_type=linux # correct to gnu/linux during the next big refactor
 
10903
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
10904
  shlibpath_var=LD_LIBRARY_PATH
 
10905
  shlibpath_overrides_runpath=yes
 
10906
  ;;
 
10907
 
 
10908
*nto* | *qnx*)
 
10909
  version_type=qnx
 
10910
  need_lib_prefix=no
 
10911
  need_version=no
 
10912
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
10913
  soname_spec='${libname}${release}${shared_ext}$major'
 
10914
  shlibpath_var=LD_LIBRARY_PATH
 
10915
  shlibpath_overrides_runpath=no
 
10916
  hardcode_into_libs=yes
 
10917
  dynamic_linker='ldqnx.so'
 
10918
  ;;
 
10919
 
 
10920
openbsd*)
 
10921
  version_type=sunos
 
10922
  sys_lib_dlsearch_path_spec="/usr/lib"
 
10923
  need_lib_prefix=no
 
10924
  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
 
10925
  case $host_os in
 
10926
    openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
 
10927
    *)                          need_version=no  ;;
 
10928
  esac
 
10929
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
 
10930
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
 
10931
  shlibpath_var=LD_LIBRARY_PATH
 
10932
  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
10933
    case $host_os in
 
10934
      openbsd2.[89] | openbsd2.[89].*)
 
10935
        shlibpath_overrides_runpath=no
 
10936
        ;;
 
10937
      *)
 
10938
        shlibpath_overrides_runpath=yes
 
10939
        ;;
 
10940
      esac
 
10941
  else
 
10942
    shlibpath_overrides_runpath=yes
 
10943
  fi
 
10944
  ;;
 
10945
 
 
10946
os2*)
 
10947
  libname_spec='$name'
 
10948
  shrext_cmds=".dll"
 
10949
  need_lib_prefix=no
 
10950
  library_names_spec='$libname${shared_ext} $libname.a'
 
10951
  dynamic_linker='OS/2 ld.exe'
 
10952
  shlibpath_var=LIBPATH
 
10953
  ;;
 
10954
 
 
10955
osf3* | osf4* | osf5*)
 
10956
  version_type=osf
 
10957
  need_lib_prefix=no
 
10958
  need_version=no
 
10959
  soname_spec='${libname}${release}${shared_ext}$major'
 
10960
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
10961
  shlibpath_var=LD_LIBRARY_PATH
 
10962
  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
 
10963
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
 
10964
  ;;
 
10965
 
 
10966
rdos*)
 
10967
  dynamic_linker=no
 
10968
  ;;
 
10969
 
 
10970
solaris*)
 
10971
  version_type=linux # correct to gnu/linux during the next big refactor
 
10972
  need_lib_prefix=no
 
10973
  need_version=no
 
10974
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
10975
  soname_spec='${libname}${release}${shared_ext}$major'
 
10976
  shlibpath_var=LD_LIBRARY_PATH
 
10977
  shlibpath_overrides_runpath=yes
 
10978
  hardcode_into_libs=yes
 
10979
  # ldd complains unless libraries are executable
 
10980
  postinstall_cmds='chmod +x $lib'
 
10981
  ;;
 
10982
 
 
10983
sunos4*)
 
10984
  version_type=sunos
 
10985
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
 
10986
  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
 
10987
  shlibpath_var=LD_LIBRARY_PATH
 
10988
  shlibpath_overrides_runpath=yes
 
10989
  if test "$with_gnu_ld" = yes; then
 
10990
    need_lib_prefix=no
 
10991
  fi
 
10992
  need_version=yes
 
10993
  ;;
 
10994
 
 
10995
sysv4 | sysv4.3*)
 
10996
  version_type=linux # correct to gnu/linux during the next big refactor
 
10997
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
10998
  soname_spec='${libname}${release}${shared_ext}$major'
 
10999
  shlibpath_var=LD_LIBRARY_PATH
 
11000
  case $host_vendor in
 
11001
    sni)
 
11002
      shlibpath_overrides_runpath=no
 
11003
      need_lib_prefix=no
 
11004
      runpath_var=LD_RUN_PATH
 
11005
      ;;
 
11006
    siemens)
 
11007
      need_lib_prefix=no
 
11008
      ;;
 
11009
    motorola)
 
11010
      need_lib_prefix=no
 
11011
      need_version=no
 
11012
      shlibpath_overrides_runpath=no
 
11013
      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
 
11014
      ;;
 
11015
  esac
 
11016
  ;;
 
11017
 
 
11018
sysv4*MP*)
 
11019
  if test -d /usr/nec ;then
 
11020
    version_type=linux # correct to gnu/linux during the next big refactor
 
11021
    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
 
11022
    soname_spec='$libname${shared_ext}.$major'
 
11023
    shlibpath_var=LD_LIBRARY_PATH
 
11024
  fi
 
11025
  ;;
 
11026
 
 
11027
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
 
11028
  version_type=freebsd-elf
 
11029
  need_lib_prefix=no
 
11030
  need_version=no
 
11031
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
 
11032
  soname_spec='${libname}${release}${shared_ext}$major'
 
11033
  shlibpath_var=LD_LIBRARY_PATH
 
11034
  shlibpath_overrides_runpath=yes
 
11035
  hardcode_into_libs=yes
 
11036
  if test "$with_gnu_ld" = yes; then
 
11037
    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
 
11038
  else
 
11039
    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
 
11040
    case $host_os in
 
11041
      sco3.2v5*)
 
11042
        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
 
11043
        ;;
 
11044
    esac
 
11045
  fi
 
11046
  sys_lib_dlsearch_path_spec='/usr/lib'
 
11047
  ;;
 
11048
 
 
11049
tpf*)
 
11050
  # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
 
11051
  version_type=linux # correct to gnu/linux during the next big refactor
 
11052
  need_lib_prefix=no
 
11053
  need_version=no
 
11054
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
11055
  shlibpath_var=LD_LIBRARY_PATH
 
11056
  shlibpath_overrides_runpath=no
 
11057
  hardcode_into_libs=yes
 
11058
  ;;
 
11059
 
 
11060
uts4*)
 
11061
  version_type=linux # correct to gnu/linux during the next big refactor
 
11062
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
11063
  soname_spec='${libname}${release}${shared_ext}$major'
 
11064
  shlibpath_var=LD_LIBRARY_PATH
 
11065
  ;;
 
11066
 
 
11067
*)
 
11068
  dynamic_linker=no
 
11069
  ;;
 
11070
esac
 
11071
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
 
11072
$as_echo "$dynamic_linker" >&6; }
 
11073
test "$dynamic_linker" = no && can_build_shared=no
 
11074
 
 
11075
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
 
11076
if test "$GCC" = yes; then
 
11077
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
 
11078
fi
 
11079
 
 
11080
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
 
11081
  sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
 
11082
fi
 
11083
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
 
11084
  sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
 
11085
fi
 
11086
 
 
11087
 
 
11088
 
 
11089
 
 
11090
 
 
11091
 
 
11092
 
 
11093
 
 
11094
 
 
11095
 
 
11096
 
 
11097
 
 
11098
 
 
11099
 
 
11100
 
 
11101
 
 
11102
 
 
11103
 
 
11104
 
 
11105
 
 
11106
 
 
11107
 
 
11108
 
 
11109
 
 
11110
 
 
11111
 
 
11112
 
 
11113
 
 
11114
 
 
11115
 
 
11116
 
 
11117
 
 
11118
 
 
11119
 
 
11120
 
 
11121
 
 
11122
 
 
11123
 
 
11124
 
 
11125
 
 
11126
 
 
11127
 
 
11128
 
 
11129
 
 
11130
 
 
11131
 
 
11132
 
 
11133
 
 
11134
 
 
11135
 
 
11136
 
 
11137
 
 
11138
 
 
11139
 
 
11140
 
 
11141
 
 
11142
 
 
11143
 
 
11144
 
 
11145
 
 
11146
 
 
11147
 
 
11148
 
 
11149
 
 
11150
 
 
11151
 
 
11152
 
 
11153
 
 
11154
 
 
11155
 
 
11156
 
 
11157
 
 
11158
 
 
11159
 
 
11160
 
 
11161
 
 
11162
 
 
11163
 
 
11164
 
 
11165
 
 
11166
 
 
11167
 
 
11168
 
 
11169
 
 
11170
 
 
11171
 
 
11172
 
 
11173
 
 
11174
 
 
11175
 
 
11176
 
 
11177
 
 
11178
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
 
11179
$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
 
11180
hardcode_action=
 
11181
if test -n "$hardcode_libdir_flag_spec" ||
 
11182
   test -n "$runpath_var" ||
 
11183
   test "X$hardcode_automatic" = "Xyes" ; then
 
11184
 
 
11185
  # We can hardcode non-existent directories.
 
11186
  if test "$hardcode_direct" != no &&
 
11187
     # If the only mechanism to avoid hardcoding is shlibpath_var, we
 
11188
     # have to relink, otherwise we might link with an installed library
 
11189
     # when we should be linking with a yet-to-be-installed one
 
11190
     ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
 
11191
     test "$hardcode_minus_L" != no; then
 
11192
    # Linking always hardcodes the temporary library directory.
 
11193
    hardcode_action=relink
 
11194
  else
 
11195
    # We can link without hardcoding, and we can hardcode nonexisting dirs.
 
11196
    hardcode_action=immediate
 
11197
  fi
 
11198
else
 
11199
  # We cannot hardcode anything, or else we can only hardcode existing
 
11200
  # directories.
 
11201
  hardcode_action=unsupported
 
11202
fi
 
11203
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
 
11204
$as_echo "$hardcode_action" >&6; }
 
11205
 
 
11206
if test "$hardcode_action" = relink ||
 
11207
   test "$inherit_rpath" = yes; then
 
11208
  # Fast installation is not supported
 
11209
  enable_fast_install=no
 
11210
elif test "$shlibpath_overrides_runpath" = yes ||
 
11211
     test "$enable_shared" = no; then
 
11212
  # Fast installation is not necessary
 
11213
  enable_fast_install=needless
 
11214
fi
 
11215
 
 
11216
 
 
11217
 
 
11218
 
 
11219
 
 
11220
 
 
11221
  if test "x$enable_dlopen" != xyes; then
 
11222
  enable_dlopen=unknown
 
11223
  enable_dlopen_self=unknown
 
11224
  enable_dlopen_self_static=unknown
 
11225
else
 
11226
  lt_cv_dlopen=no
 
11227
  lt_cv_dlopen_libs=
 
11228
 
 
11229
  case $host_os in
 
11230
  beos*)
 
11231
    lt_cv_dlopen="load_add_on"
 
11232
    lt_cv_dlopen_libs=
 
11233
    lt_cv_dlopen_self=yes
 
11234
    ;;
 
11235
 
 
11236
  mingw* | pw32* | cegcc*)
 
11237
    lt_cv_dlopen="LoadLibrary"
 
11238
    lt_cv_dlopen_libs=
 
11239
    ;;
 
11240
 
 
11241
  cygwin*)
 
11242
    lt_cv_dlopen="dlopen"
 
11243
    lt_cv_dlopen_libs=
 
11244
    ;;
 
11245
 
 
11246
  darwin*)
 
11247
  # if libdl is installed we need to link against it
 
11248
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
 
11249
$as_echo_n "checking for dlopen in -ldl... " >&6; }
 
11250
if ${ac_cv_lib_dl_dlopen+:} false; then :
 
11251
  $as_echo_n "(cached) " >&6
 
11252
else
 
11253
  ac_check_lib_save_LIBS=$LIBS
 
11254
LIBS="-ldl  $LIBS"
 
11255
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
11256
/* end confdefs.h.  */
 
11257
 
 
11258
/* Override any GCC internal prototype to avoid an error.
 
11259
   Use char because int might match the return type of a GCC
 
11260
   builtin and then its argument prototype would still apply.  */
 
11261
#ifdef __cplusplus
 
11262
extern "C"
 
11263
#endif
 
11264
char dlopen ();
 
11265
int
 
11266
main ()
 
11267
{
 
11268
return dlopen ();
 
11269
  ;
 
11270
  return 0;
 
11271
}
 
11272
_ACEOF
 
11273
if ac_fn_c_try_link "$LINENO"; then :
 
11274
  ac_cv_lib_dl_dlopen=yes
 
11275
else
 
11276
  ac_cv_lib_dl_dlopen=no
 
11277
fi
 
11278
rm -f core conftest.err conftest.$ac_objext \
 
11279
    conftest$ac_exeext conftest.$ac_ext
 
11280
LIBS=$ac_check_lib_save_LIBS
 
11281
fi
 
11282
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
 
11283
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
 
11284
if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
 
11285
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
 
11286
else
 
11287
 
 
11288
    lt_cv_dlopen="dyld"
 
11289
    lt_cv_dlopen_libs=
 
11290
    lt_cv_dlopen_self=yes
 
11291
 
 
11292
fi
 
11293
 
 
11294
    ;;
 
11295
 
 
11296
  *)
 
11297
    ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
 
11298
if test "x$ac_cv_func_shl_load" = xyes; then :
 
11299
  lt_cv_dlopen="shl_load"
 
11300
else
 
11301
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
 
11302
$as_echo_n "checking for shl_load in -ldld... " >&6; }
 
11303
if ${ac_cv_lib_dld_shl_load+:} false; then :
 
11304
  $as_echo_n "(cached) " >&6
 
11305
else
 
11306
  ac_check_lib_save_LIBS=$LIBS
 
11307
LIBS="-ldld  $LIBS"
 
11308
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
11309
/* end confdefs.h.  */
 
11310
 
 
11311
/* Override any GCC internal prototype to avoid an error.
 
11312
   Use char because int might match the return type of a GCC
 
11313
   builtin and then its argument prototype would still apply.  */
 
11314
#ifdef __cplusplus
 
11315
extern "C"
 
11316
#endif
 
11317
char shl_load ();
 
11318
int
 
11319
main ()
 
11320
{
 
11321
return shl_load ();
 
11322
  ;
 
11323
  return 0;
 
11324
}
 
11325
_ACEOF
 
11326
if ac_fn_c_try_link "$LINENO"; then :
 
11327
  ac_cv_lib_dld_shl_load=yes
 
11328
else
 
11329
  ac_cv_lib_dld_shl_load=no
 
11330
fi
 
11331
rm -f core conftest.err conftest.$ac_objext \
 
11332
    conftest$ac_exeext conftest.$ac_ext
 
11333
LIBS=$ac_check_lib_save_LIBS
 
11334
fi
 
11335
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
 
11336
$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
 
11337
if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
 
11338
  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
 
11339
else
 
11340
  ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
 
11341
if test "x$ac_cv_func_dlopen" = xyes; then :
 
11342
  lt_cv_dlopen="dlopen"
 
11343
else
 
11344
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
 
11345
$as_echo_n "checking for dlopen in -ldl... " >&6; }
 
11346
if ${ac_cv_lib_dl_dlopen+:} false; then :
 
11347
  $as_echo_n "(cached) " >&6
 
11348
else
 
11349
  ac_check_lib_save_LIBS=$LIBS
 
11350
LIBS="-ldl  $LIBS"
 
11351
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
11352
/* end confdefs.h.  */
 
11353
 
 
11354
/* Override any GCC internal prototype to avoid an error.
 
11355
   Use char because int might match the return type of a GCC
 
11356
   builtin and then its argument prototype would still apply.  */
 
11357
#ifdef __cplusplus
 
11358
extern "C"
 
11359
#endif
 
11360
char dlopen ();
 
11361
int
 
11362
main ()
 
11363
{
 
11364
return dlopen ();
 
11365
  ;
 
11366
  return 0;
 
11367
}
 
11368
_ACEOF
 
11369
if ac_fn_c_try_link "$LINENO"; then :
 
11370
  ac_cv_lib_dl_dlopen=yes
 
11371
else
 
11372
  ac_cv_lib_dl_dlopen=no
 
11373
fi
 
11374
rm -f core conftest.err conftest.$ac_objext \
 
11375
    conftest$ac_exeext conftest.$ac_ext
 
11376
LIBS=$ac_check_lib_save_LIBS
 
11377
fi
 
11378
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
 
11379
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
 
11380
if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
 
11381
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
 
11382
else
 
11383
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
 
11384
$as_echo_n "checking for dlopen in -lsvld... " >&6; }
 
11385
if ${ac_cv_lib_svld_dlopen+:} false; then :
 
11386
  $as_echo_n "(cached) " >&6
 
11387
else
 
11388
  ac_check_lib_save_LIBS=$LIBS
 
11389
LIBS="-lsvld  $LIBS"
 
11390
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
11391
/* end confdefs.h.  */
 
11392
 
 
11393
/* Override any GCC internal prototype to avoid an error.
 
11394
   Use char because int might match the return type of a GCC
 
11395
   builtin and then its argument prototype would still apply.  */
 
11396
#ifdef __cplusplus
 
11397
extern "C"
 
11398
#endif
 
11399
char dlopen ();
 
11400
int
 
11401
main ()
 
11402
{
 
11403
return dlopen ();
 
11404
  ;
 
11405
  return 0;
 
11406
}
 
11407
_ACEOF
 
11408
if ac_fn_c_try_link "$LINENO"; then :
 
11409
  ac_cv_lib_svld_dlopen=yes
 
11410
else
 
11411
  ac_cv_lib_svld_dlopen=no
 
11412
fi
 
11413
rm -f core conftest.err conftest.$ac_objext \
 
11414
    conftest$ac_exeext conftest.$ac_ext
 
11415
LIBS=$ac_check_lib_save_LIBS
 
11416
fi
 
11417
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
 
11418
$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
 
11419
if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
 
11420
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
 
11421
else
 
11422
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
 
11423
$as_echo_n "checking for dld_link in -ldld... " >&6; }
 
11424
if ${ac_cv_lib_dld_dld_link+:} false; then :
 
11425
  $as_echo_n "(cached) " >&6
 
11426
else
 
11427
  ac_check_lib_save_LIBS=$LIBS
 
11428
LIBS="-ldld  $LIBS"
 
11429
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
11430
/* end confdefs.h.  */
 
11431
 
 
11432
/* Override any GCC internal prototype to avoid an error.
 
11433
   Use char because int might match the return type of a GCC
 
11434
   builtin and then its argument prototype would still apply.  */
 
11435
#ifdef __cplusplus
 
11436
extern "C"
 
11437
#endif
 
11438
char dld_link ();
 
11439
int
 
11440
main ()
 
11441
{
 
11442
return dld_link ();
 
11443
  ;
 
11444
  return 0;
 
11445
}
 
11446
_ACEOF
 
11447
if ac_fn_c_try_link "$LINENO"; then :
 
11448
  ac_cv_lib_dld_dld_link=yes
 
11449
else
 
11450
  ac_cv_lib_dld_dld_link=no
 
11451
fi
 
11452
rm -f core conftest.err conftest.$ac_objext \
 
11453
    conftest$ac_exeext conftest.$ac_ext
 
11454
LIBS=$ac_check_lib_save_LIBS
 
11455
fi
 
11456
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
 
11457
$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
 
11458
if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
 
11459
  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
 
11460
fi
 
11461
 
 
11462
 
 
11463
fi
 
11464
 
 
11465
 
 
11466
fi
 
11467
 
 
11468
 
 
11469
fi
 
11470
 
 
11471
 
 
11472
fi
 
11473
 
 
11474
 
 
11475
fi
 
11476
 
 
11477
    ;;
 
11478
  esac
 
11479
 
 
11480
  if test "x$lt_cv_dlopen" != xno; then
 
11481
    enable_dlopen=yes
 
11482
  else
 
11483
    enable_dlopen=no
 
11484
  fi
 
11485
 
 
11486
  case $lt_cv_dlopen in
 
11487
  dlopen)
 
11488
    save_CPPFLAGS="$CPPFLAGS"
 
11489
    test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
 
11490
 
 
11491
    save_LDFLAGS="$LDFLAGS"
 
11492
    wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
 
11493
 
 
11494
    save_LIBS="$LIBS"
 
11495
    LIBS="$lt_cv_dlopen_libs $LIBS"
 
11496
 
 
11497
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
 
11498
$as_echo_n "checking whether a program can dlopen itself... " >&6; }
 
11499
if ${lt_cv_dlopen_self+:} false; then :
 
11500
  $as_echo_n "(cached) " >&6
 
11501
else
 
11502
          if test "$cross_compiling" = yes; then :
 
11503
  lt_cv_dlopen_self=cross
 
11504
else
 
11505
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
 
11506
  lt_status=$lt_dlunknown
 
11507
  cat > conftest.$ac_ext <<_LT_EOF
 
11508
#line $LINENO "configure"
 
11509
#include "confdefs.h"
 
11510
 
 
11511
#if HAVE_DLFCN_H
 
11512
#include <dlfcn.h>
 
11513
#endif
 
11514
 
 
11515
#include <stdio.h>
 
11516
 
 
11517
#ifdef RTLD_GLOBAL
 
11518
#  define LT_DLGLOBAL           RTLD_GLOBAL
 
11519
#else
 
11520
#  ifdef DL_GLOBAL
 
11521
#    define LT_DLGLOBAL         DL_GLOBAL
 
11522
#  else
 
11523
#    define LT_DLGLOBAL         0
 
11524
#  endif
 
11525
#endif
 
11526
 
 
11527
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
 
11528
   find out it does not work in some platform. */
 
11529
#ifndef LT_DLLAZY_OR_NOW
 
11530
#  ifdef RTLD_LAZY
 
11531
#    define LT_DLLAZY_OR_NOW            RTLD_LAZY
 
11532
#  else
 
11533
#    ifdef DL_LAZY
 
11534
#      define LT_DLLAZY_OR_NOW          DL_LAZY
 
11535
#    else
 
11536
#      ifdef RTLD_NOW
 
11537
#        define LT_DLLAZY_OR_NOW        RTLD_NOW
 
11538
#      else
 
11539
#        ifdef DL_NOW
 
11540
#          define LT_DLLAZY_OR_NOW      DL_NOW
 
11541
#        else
 
11542
#          define LT_DLLAZY_OR_NOW      0
 
11543
#        endif
 
11544
#      endif
 
11545
#    endif
 
11546
#  endif
 
11547
#endif
 
11548
 
 
11549
/* When -fvisbility=hidden is used, assume the code has been annotated
 
11550
   correspondingly for the symbols needed.  */
 
11551
#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
 
11552
int fnord () __attribute__((visibility("default")));
 
11553
#endif
 
11554
 
 
11555
int fnord () { return 42; }
 
11556
int main ()
 
11557
{
 
11558
  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
 
11559
  int status = $lt_dlunknown;
 
11560
 
 
11561
  if (self)
 
11562
    {
 
11563
      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
 
11564
      else
 
11565
        {
 
11566
          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
 
11567
          else puts (dlerror ());
 
11568
        }
 
11569
      /* dlclose (self); */
 
11570
    }
 
11571
  else
 
11572
    puts (dlerror ());
 
11573
 
 
11574
  return status;
 
11575
}
 
11576
_LT_EOF
 
11577
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
 
11578
  (eval $ac_link) 2>&5
 
11579
  ac_status=$?
 
11580
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
11581
  test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
 
11582
    (./conftest; exit; ) >&5 2>/dev/null
 
11583
    lt_status=$?
 
11584
    case x$lt_status in
 
11585
      x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
 
11586
      x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
 
11587
      x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
 
11588
    esac
 
11589
  else :
 
11590
    # compilation failed
 
11591
    lt_cv_dlopen_self=no
 
11592
  fi
 
11593
fi
 
11594
rm -fr conftest*
 
11595
 
 
11596
 
 
11597
fi
 
11598
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
 
11599
$as_echo "$lt_cv_dlopen_self" >&6; }
 
11600
 
 
11601
    if test "x$lt_cv_dlopen_self" = xyes; then
 
11602
      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
 
11603
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
 
11604
$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
 
11605
if ${lt_cv_dlopen_self_static+:} false; then :
 
11606
  $as_echo_n "(cached) " >&6
 
11607
else
 
11608
          if test "$cross_compiling" = yes; then :
 
11609
  lt_cv_dlopen_self_static=cross
 
11610
else
 
11611
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
 
11612
  lt_status=$lt_dlunknown
 
11613
  cat > conftest.$ac_ext <<_LT_EOF
 
11614
#line $LINENO "configure"
 
11615
#include "confdefs.h"
 
11616
 
 
11617
#if HAVE_DLFCN_H
 
11618
#include <dlfcn.h>
 
11619
#endif
 
11620
 
 
11621
#include <stdio.h>
 
11622
 
 
11623
#ifdef RTLD_GLOBAL
 
11624
#  define LT_DLGLOBAL           RTLD_GLOBAL
 
11625
#else
 
11626
#  ifdef DL_GLOBAL
 
11627
#    define LT_DLGLOBAL         DL_GLOBAL
 
11628
#  else
 
11629
#    define LT_DLGLOBAL         0
 
11630
#  endif
 
11631
#endif
 
11632
 
 
11633
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
 
11634
   find out it does not work in some platform. */
 
11635
#ifndef LT_DLLAZY_OR_NOW
 
11636
#  ifdef RTLD_LAZY
 
11637
#    define LT_DLLAZY_OR_NOW            RTLD_LAZY
 
11638
#  else
 
11639
#    ifdef DL_LAZY
 
11640
#      define LT_DLLAZY_OR_NOW          DL_LAZY
 
11641
#    else
 
11642
#      ifdef RTLD_NOW
 
11643
#        define LT_DLLAZY_OR_NOW        RTLD_NOW
 
11644
#      else
 
11645
#        ifdef DL_NOW
 
11646
#          define LT_DLLAZY_OR_NOW      DL_NOW
 
11647
#        else
 
11648
#          define LT_DLLAZY_OR_NOW      0
 
11649
#        endif
 
11650
#      endif
 
11651
#    endif
 
11652
#  endif
 
11653
#endif
 
11654
 
 
11655
/* When -fvisbility=hidden is used, assume the code has been annotated
 
11656
   correspondingly for the symbols needed.  */
 
11657
#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
 
11658
int fnord () __attribute__((visibility("default")));
 
11659
#endif
 
11660
 
 
11661
int fnord () { return 42; }
 
11662
int main ()
 
11663
{
 
11664
  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
 
11665
  int status = $lt_dlunknown;
 
11666
 
 
11667
  if (self)
 
11668
    {
 
11669
      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
 
11670
      else
 
11671
        {
 
11672
          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
 
11673
          else puts (dlerror ());
 
11674
        }
 
11675
      /* dlclose (self); */
 
11676
    }
 
11677
  else
 
11678
    puts (dlerror ());
 
11679
 
 
11680
  return status;
 
11681
}
 
11682
_LT_EOF
 
11683
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
 
11684
  (eval $ac_link) 2>&5
 
11685
  ac_status=$?
 
11686
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
11687
  test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
 
11688
    (./conftest; exit; ) >&5 2>/dev/null
 
11689
    lt_status=$?
 
11690
    case x$lt_status in
 
11691
      x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
 
11692
      x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
 
11693
      x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
 
11694
    esac
 
11695
  else :
 
11696
    # compilation failed
 
11697
    lt_cv_dlopen_self_static=no
 
11698
  fi
 
11699
fi
 
11700
rm -fr conftest*
 
11701
 
 
11702
 
 
11703
fi
 
11704
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
 
11705
$as_echo "$lt_cv_dlopen_self_static" >&6; }
 
11706
    fi
 
11707
 
 
11708
    CPPFLAGS="$save_CPPFLAGS"
 
11709
    LDFLAGS="$save_LDFLAGS"
 
11710
    LIBS="$save_LIBS"
 
11711
    ;;
 
11712
  esac
 
11713
 
 
11714
  case $lt_cv_dlopen_self in
 
11715
  yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
 
11716
  *) enable_dlopen_self=unknown ;;
 
11717
  esac
 
11718
 
 
11719
  case $lt_cv_dlopen_self_static in
 
11720
  yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
 
11721
  *) enable_dlopen_self_static=unknown ;;
 
11722
  esac
 
11723
fi
 
11724
 
 
11725
 
 
11726
 
 
11727
 
 
11728
 
 
11729
 
 
11730
 
 
11731
 
 
11732
 
 
11733
 
 
11734
 
 
11735
 
 
11736
 
 
11737
 
 
11738
 
 
11739
 
 
11740
 
 
11741
striplib=
 
11742
old_striplib=
 
11743
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
 
11744
$as_echo_n "checking whether stripping libraries is possible... " >&6; }
 
11745
if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
 
11746
  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
 
11747
  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
 
11748
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
11749
$as_echo "yes" >&6; }
 
11750
else
 
11751
# FIXME - insert some real tests, host_os isn't really good enough
 
11752
  case $host_os in
 
11753
  darwin*)
 
11754
    if test -n "$STRIP" ; then
 
11755
      striplib="$STRIP -x"
 
11756
      old_striplib="$STRIP -S"
 
11757
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
11758
$as_echo "yes" >&6; }
 
11759
    else
 
11760
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
11761
$as_echo "no" >&6; }
 
11762
    fi
 
11763
    ;;
 
11764
  *)
 
11765
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
11766
$as_echo "no" >&6; }
 
11767
    ;;
 
11768
  esac
 
11769
fi
 
11770
 
 
11771
 
 
11772
 
 
11773
 
 
11774
 
 
11775
 
 
11776
 
 
11777
 
 
11778
 
 
11779
 
 
11780
 
 
11781
 
 
11782
  # Report which library types will actually be built
 
11783
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
 
11784
$as_echo_n "checking if libtool supports shared libraries... " >&6; }
 
11785
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
 
11786
$as_echo "$can_build_shared" >&6; }
 
11787
 
 
11788
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
 
11789
$as_echo_n "checking whether to build shared libraries... " >&6; }
 
11790
  test "$can_build_shared" = "no" && enable_shared=no
 
11791
 
 
11792
  # On AIX, shared libraries and static libraries use the same namespace, and
 
11793
  # are all built from PIC.
 
11794
  case $host_os in
 
11795
  aix3*)
 
11796
    test "$enable_shared" = yes && enable_static=no
 
11797
    if test -n "$RANLIB"; then
 
11798
      archive_cmds="$archive_cmds~\$RANLIB \$lib"
 
11799
      postinstall_cmds='$RANLIB $lib'
 
11800
    fi
 
11801
    ;;
 
11802
 
 
11803
  aix[4-9]*)
 
11804
    if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
 
11805
      test "$enable_shared" = yes && enable_static=no
 
11806
    fi
 
11807
    ;;
 
11808
  esac
 
11809
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
 
11810
$as_echo "$enable_shared" >&6; }
 
11811
 
 
11812
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
 
11813
$as_echo_n "checking whether to build static libraries... " >&6; }
 
11814
  # Make sure either enable_shared or enable_static is yes.
 
11815
  test "$enable_shared" = yes || enable_static=yes
 
11816
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
 
11817
$as_echo "$enable_static" >&6; }
 
11818
 
 
11819
 
 
11820
 
 
11821
 
 
11822
fi
 
11823
ac_ext=c
 
11824
ac_cpp='$CPP $CPPFLAGS'
 
11825
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
11826
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
11827
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
11828
 
 
11829
CC="$lt_save_CC"
 
11830
 
 
11831
 
 
11832
 
 
11833
 
 
11834
 
 
11835
 
 
11836
 
 
11837
 
 
11838
 
 
11839
 
 
11840
 
 
11841
 
 
11842
 
 
11843
 
 
11844
 
 
11845
        ac_config_commands="$ac_config_commands libtool"
 
11846
 
 
11847
 
 
11848
 
 
11849
 
 
11850
# Only expand once:
 
11851
 
 
11852
 
 
11853
 
 
11854
 
 
11855
 
 
11856
 
 
11857
 
 
11858
 
 
11859
 
 
11860
if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
 
11861
        if test -n "$ac_tool_prefix"; then
 
11862
  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
 
11863
set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
 
11864
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
11865
$as_echo_n "checking for $ac_word... " >&6; }
 
11866
if ${ac_cv_path_PKG_CONFIG+:} false; then :
 
11867
  $as_echo_n "(cached) " >&6
 
11868
else
 
11869
  case $PKG_CONFIG in
 
11870
  [\\/]* | ?:[\\/]*)
 
11871
  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
 
11872
  ;;
 
11873
  *)
 
11874
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
11875
for as_dir in $PATH
 
11876
do
 
11877
  IFS=$as_save_IFS
 
11878
  test -z "$as_dir" && as_dir=.
 
11879
    for ac_exec_ext in '' $ac_executable_extensions; do
 
11880
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
11881
    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
 
11882
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
11883
    break 2
 
11884
  fi
 
11885
done
 
11886
  done
 
11887
IFS=$as_save_IFS
 
11888
 
 
11889
  ;;
 
11890
esac
 
11891
fi
 
11892
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
 
11893
if test -n "$PKG_CONFIG"; then
 
11894
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
 
11895
$as_echo "$PKG_CONFIG" >&6; }
 
11896
else
 
11897
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
11898
$as_echo "no" >&6; }
 
11899
fi
 
11900
 
 
11901
 
 
11902
fi
 
11903
if test -z "$ac_cv_path_PKG_CONFIG"; then
 
11904
  ac_pt_PKG_CONFIG=$PKG_CONFIG
 
11905
  # Extract the first word of "pkg-config", so it can be a program name with args.
 
11906
set dummy pkg-config; ac_word=$2
 
11907
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
11908
$as_echo_n "checking for $ac_word... " >&6; }
 
11909
if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
 
11910
  $as_echo_n "(cached) " >&6
 
11911
else
 
11912
  case $ac_pt_PKG_CONFIG in
 
11913
  [\\/]* | ?:[\\/]*)
 
11914
  ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
 
11915
  ;;
 
11916
  *)
 
11917
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
11918
for as_dir in $PATH
 
11919
do
 
11920
  IFS=$as_save_IFS
 
11921
  test -z "$as_dir" && as_dir=.
 
11922
    for ac_exec_ext in '' $ac_executable_extensions; do
 
11923
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
11924
    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
 
11925
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
11926
    break 2
 
11927
  fi
 
11928
done
 
11929
  done
 
11930
IFS=$as_save_IFS
 
11931
 
 
11932
  ;;
 
11933
esac
 
11934
fi
 
11935
ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
 
11936
if test -n "$ac_pt_PKG_CONFIG"; then
 
11937
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
 
11938
$as_echo "$ac_pt_PKG_CONFIG" >&6; }
 
11939
else
 
11940
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
11941
$as_echo "no" >&6; }
 
11942
fi
 
11943
 
 
11944
  if test "x$ac_pt_PKG_CONFIG" = x; then
 
11945
    PKG_CONFIG=""
 
11946
  else
 
11947
    case $cross_compiling:$ac_tool_warned in
 
11948
yes:)
 
11949
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
11950
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
11951
ac_tool_warned=yes ;;
 
11952
esac
 
11953
    PKG_CONFIG=$ac_pt_PKG_CONFIG
 
11954
  fi
 
11955
else
 
11956
  PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
 
11957
fi
 
11958
 
 
11959
fi
 
11960
if test -n "$PKG_CONFIG"; then
 
11961
        _pkg_min_version=0.9.0
 
11962
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
 
11963
$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
 
11964
        if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
 
11965
                { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
11966
$as_echo "yes" >&6; }
 
11967
        else
 
11968
                { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
11969
$as_echo "no" >&6; }
 
11970
                PKG_CONFIG=""
 
11971
        fi
 
11972
fi
 
11973
 
 
11974
ac_config_headers="$ac_config_headers config.h"
 
11975
 
 
11976
 
 
11977
 
 
11978
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
 
11979
$as_echo_n "checking whether NLS is requested... " >&6; }
 
11980
    # Check whether --enable-nls was given.
 
11981
if test "${enable_nls+set}" = set; then :
 
11982
  enableval=$enable_nls; USE_NLS=$enableval
 
11983
else
 
11984
  USE_NLS=yes
 
11985
fi
 
11986
 
 
11987
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
 
11988
$as_echo "$USE_NLS" >&6; }
 
11989
 
 
11990
 
 
11991
 
 
11992
 
 
11993
case "$am__api_version" in
 
11994
    1.01234)
 
11995
        as_fn_error $? "Automake 1.5 or newer is required to use intltool" "$LINENO" 5
 
11996
    ;;
 
11997
    *)
 
11998
    ;;
 
11999
esac
 
12000
 
 
12001
INTLTOOL_REQUIRED_VERSION_AS_INT=`echo 0.40.0 | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
 
12002
INTLTOOL_APPLIED_VERSION=`intltool-update --version | head -1 | cut -d" " -f3`
 
12003
INTLTOOL_APPLIED_VERSION_AS_INT=`echo $INTLTOOL_APPLIED_VERSION | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
 
12004
if test -n "0.40.0"; then
 
12005
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for intltool >= 0.40.0" >&5
 
12006
$as_echo_n "checking for intltool >= 0.40.0... " >&6; }
 
12007
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_APPLIED_VERSION found" >&5
 
12008
$as_echo "$INTLTOOL_APPLIED_VERSION found" >&6; }
 
12009
    test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT" ||
 
12010
        as_fn_error $? "Your intltool is too old.  You need intltool 0.40.0 or later." "$LINENO" 5
 
12011
fi
 
12012
 
 
12013
# Extract the first word of "intltool-update", so it can be a program name with args.
 
12014
set dummy intltool-update; ac_word=$2
 
12015
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
12016
$as_echo_n "checking for $ac_word... " >&6; }
 
12017
if ${ac_cv_path_INTLTOOL_UPDATE+:} false; then :
 
12018
  $as_echo_n "(cached) " >&6
 
12019
else
 
12020
  case $INTLTOOL_UPDATE in
 
12021
  [\\/]* | ?:[\\/]*)
 
12022
  ac_cv_path_INTLTOOL_UPDATE="$INTLTOOL_UPDATE" # Let the user override the test with a path.
 
12023
  ;;
 
12024
  *)
 
12025
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
12026
for as_dir in $PATH
 
12027
do
 
12028
  IFS=$as_save_IFS
 
12029
  test -z "$as_dir" && as_dir=.
 
12030
    for ac_exec_ext in '' $ac_executable_extensions; do
 
12031
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
12032
    ac_cv_path_INTLTOOL_UPDATE="$as_dir/$ac_word$ac_exec_ext"
 
12033
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
12034
    break 2
 
12035
  fi
 
12036
done
 
12037
  done
 
12038
IFS=$as_save_IFS
 
12039
 
 
12040
  ;;
 
12041
esac
 
12042
fi
 
12043
INTLTOOL_UPDATE=$ac_cv_path_INTLTOOL_UPDATE
 
12044
if test -n "$INTLTOOL_UPDATE"; then
 
12045
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_UPDATE" >&5
 
12046
$as_echo "$INTLTOOL_UPDATE" >&6; }
 
12047
else
 
12048
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
12049
$as_echo "no" >&6; }
 
12050
fi
 
12051
 
 
12052
 
 
12053
# Extract the first word of "intltool-merge", so it can be a program name with args.
 
12054
set dummy intltool-merge; ac_word=$2
 
12055
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
12056
$as_echo_n "checking for $ac_word... " >&6; }
 
12057
if ${ac_cv_path_INTLTOOL_MERGE+:} false; then :
 
12058
  $as_echo_n "(cached) " >&6
 
12059
else
 
12060
  case $INTLTOOL_MERGE in
 
12061
  [\\/]* | ?:[\\/]*)
 
12062
  ac_cv_path_INTLTOOL_MERGE="$INTLTOOL_MERGE" # Let the user override the test with a path.
 
12063
  ;;
 
12064
  *)
 
12065
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
12066
for as_dir in $PATH
 
12067
do
 
12068
  IFS=$as_save_IFS
 
12069
  test -z "$as_dir" && as_dir=.
 
12070
    for ac_exec_ext in '' $ac_executable_extensions; do
 
12071
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
12072
    ac_cv_path_INTLTOOL_MERGE="$as_dir/$ac_word$ac_exec_ext"
 
12073
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
12074
    break 2
 
12075
  fi
 
12076
done
 
12077
  done
 
12078
IFS=$as_save_IFS
 
12079
 
 
12080
  ;;
 
12081
esac
 
12082
fi
 
12083
INTLTOOL_MERGE=$ac_cv_path_INTLTOOL_MERGE
 
12084
if test -n "$INTLTOOL_MERGE"; then
 
12085
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_MERGE" >&5
 
12086
$as_echo "$INTLTOOL_MERGE" >&6; }
 
12087
else
 
12088
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
12089
$as_echo "no" >&6; }
 
12090
fi
 
12091
 
 
12092
 
 
12093
# Extract the first word of "intltool-extract", so it can be a program name with args.
 
12094
set dummy intltool-extract; ac_word=$2
 
12095
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
12096
$as_echo_n "checking for $ac_word... " >&6; }
 
12097
if ${ac_cv_path_INTLTOOL_EXTRACT+:} false; then :
 
12098
  $as_echo_n "(cached) " >&6
 
12099
else
 
12100
  case $INTLTOOL_EXTRACT in
 
12101
  [\\/]* | ?:[\\/]*)
 
12102
  ac_cv_path_INTLTOOL_EXTRACT="$INTLTOOL_EXTRACT" # Let the user override the test with a path.
 
12103
  ;;
 
12104
  *)
 
12105
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
12106
for as_dir in $PATH
 
12107
do
 
12108
  IFS=$as_save_IFS
 
12109
  test -z "$as_dir" && as_dir=.
 
12110
    for ac_exec_ext in '' $ac_executable_extensions; do
 
12111
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
12112
    ac_cv_path_INTLTOOL_EXTRACT="$as_dir/$ac_word$ac_exec_ext"
 
12113
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
12114
    break 2
 
12115
  fi
 
12116
done
 
12117
  done
 
12118
IFS=$as_save_IFS
 
12119
 
 
12120
  ;;
 
12121
esac
 
12122
fi
 
12123
INTLTOOL_EXTRACT=$ac_cv_path_INTLTOOL_EXTRACT
 
12124
if test -n "$INTLTOOL_EXTRACT"; then
 
12125
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_EXTRACT" >&5
 
12126
$as_echo "$INTLTOOL_EXTRACT" >&6; }
 
12127
else
 
12128
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
12129
$as_echo "no" >&6; }
 
12130
fi
 
12131
 
 
12132
 
 
12133
if test -z "$INTLTOOL_UPDATE" -o -z "$INTLTOOL_MERGE" -o -z "$INTLTOOL_EXTRACT"; then
 
12134
    as_fn_error $? "The intltool scripts were not found. Please install intltool." "$LINENO" 5
 
12135
fi
 
12136
 
 
12137
if test -z "$AM_DEFAULT_VERBOSITY"; then
 
12138
  AM_DEFAULT_VERBOSITY=1
 
12139
fi
 
12140
 
 
12141
 
 
12142
INTLTOOL_V_MERGE='$(INTLTOOL__v_MERGE_$(V))'
 
12143
INTLTOOL__v_MERGE_='$(INTLTOOL__v_MERGE_$(AM_DEFAULT_VERBOSITY))'
 
12144
INTLTOOL__v_MERGE_0='@echo "  ITMRG " $@;'
 
12145
 
 
12146
 
 
12147
 
 
12148
 
 
12149
INTLTOOL_V_MERGE_OPTIONS='$(intltool__v_merge_options_$(V))'
 
12150
intltool__v_merge_options_='$(intltool__v_merge_options_$(AM_DEFAULT_VERBOSITY))'
 
12151
intltool__v_merge_options_0='-q'
 
12152
 
 
12153
 
 
12154
 
 
12155
 
 
12156
  INTLTOOL_DESKTOP_RULE='%.desktop:   %.desktop.in   $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
 
12157
INTLTOOL_DIRECTORY_RULE='%.directory: %.directory.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
 
12158
     INTLTOOL_KEYS_RULE='%.keys:      %.keys.in      $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -k -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
 
12159
     INTLTOOL_PROP_RULE='%.prop:      %.prop.in      $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
 
12160
      INTLTOOL_OAF_RULE='%.oaf:       %.oaf.in       $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -o -p $(top_srcdir)/po $< $@'
 
12161
     INTLTOOL_PONG_RULE='%.pong:      %.pong.in      $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
 
12162
   INTLTOOL_SERVER_RULE='%.server:    %.server.in    $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -o -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
 
12163
    INTLTOOL_SHEET_RULE='%.sheet:     %.sheet.in     $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
 
12164
INTLTOOL_SOUNDLIST_RULE='%.soundlist: %.soundlist.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
 
12165
       INTLTOOL_UI_RULE='%.ui:        %.ui.in        $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
 
12166
      INTLTOOL_XML_RULE='%.xml:       %.xml.in       $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
 
12167
if test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge 5000; then
 
12168
      INTLTOOL_XML_NOMERGE_RULE='%.xml:       %.xml.in       $(INTLTOOL_MERGE) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u --no-translations $< $@'
 
12169
else
 
12170
      INTLTOOL_XML_NOMERGE_RULE='%.xml:       %.xml.in       $(INTLTOOL_MERGE) ; $(INTLTOOL_V_MERGE)_it_tmp_dir=tmp.intltool.$$RANDOM && mkdir $$_it_tmp_dir && LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u $$_it_tmp_dir $< $@ && rmdir $$_it_tmp_dir'
 
12171
fi
 
12172
      INTLTOOL_XAM_RULE='%.xam:       %.xml.in       $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
 
12173
      INTLTOOL_KBD_RULE='%.kbd:       %.kbd.in       $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -m -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
 
12174
    INTLTOOL_CAVES_RULE='%.caves:     %.caves.in     $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
 
12175
  INTLTOOL_SCHEMAS_RULE='%.schemas:   %.schemas.in   $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -s -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
 
12176
    INTLTOOL_THEME_RULE='%.theme:     %.theme.in     $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
 
12177
    INTLTOOL_SERVICE_RULE='%.service: %.service.in   $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
 
12178
   INTLTOOL_POLICY_RULE='%.policy:    %.policy.in    $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
 
12179
 
 
12180
 
 
12181
 
 
12182
 
 
12183
 
 
12184
 
 
12185
 
 
12186
 
 
12187
 
 
12188
 
 
12189
 
 
12190
 
 
12191
 
 
12192
 
 
12193
 
 
12194
 
 
12195
 
 
12196
 
 
12197
 
 
12198
 
 
12199
 
 
12200
 
 
12201
 
 
12202
 
 
12203
 
 
12204
 
 
12205
 
 
12206
 
 
12207
 
 
12208
 
 
12209
 
 
12210
 
 
12211
 
 
12212
 
 
12213
 
 
12214
 
 
12215
 
 
12216
 
 
12217
 
 
12218
 
 
12219
 
 
12220
 
 
12221
 
 
12222
 
 
12223
 
 
12224
 
 
12225
 
 
12226
 
 
12227
 
 
12228
 
 
12229
 
 
12230
 
 
12231
 
 
12232
 
 
12233
 
 
12234
 
 
12235
 
 
12236
 
 
12237
 
 
12238
 
 
12239
 
 
12240
 
 
12241
 
 
12242
 
 
12243
 
 
12244
 
 
12245
 
 
12246
 
 
12247
 
 
12248
 
 
12249
 
 
12250
 
 
12251
 
 
12252
 
 
12253
 
 
12254
 
 
12255
 
 
12256
 
 
12257
 
 
12258
 
 
12259
 
 
12260
 
 
12261
 
 
12262
 
 
12263
 
 
12264
 
 
12265
 
 
12266
 
 
12267
 
 
12268
 
 
12269
 
 
12270
 
 
12271
 
 
12272
 
 
12273
 
 
12274
 
 
12275
 
 
12276
# Check the gettext tools to make sure they are GNU
 
12277
# Extract the first word of "xgettext", so it can be a program name with args.
 
12278
set dummy xgettext; ac_word=$2
 
12279
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
12280
$as_echo_n "checking for $ac_word... " >&6; }
 
12281
if ${ac_cv_path_XGETTEXT+:} false; then :
 
12282
  $as_echo_n "(cached) " >&6
 
12283
else
 
12284
  case $XGETTEXT in
 
12285
  [\\/]* | ?:[\\/]*)
 
12286
  ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
 
12287
  ;;
 
12288
  *)
 
12289
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
12290
for as_dir in $PATH
 
12291
do
 
12292
  IFS=$as_save_IFS
 
12293
  test -z "$as_dir" && as_dir=.
 
12294
    for ac_exec_ext in '' $ac_executable_extensions; do
 
12295
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
12296
    ac_cv_path_XGETTEXT="$as_dir/$ac_word$ac_exec_ext"
 
12297
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
12298
    break 2
 
12299
  fi
 
12300
done
 
12301
  done
 
12302
IFS=$as_save_IFS
 
12303
 
 
12304
  ;;
 
12305
esac
 
12306
fi
 
12307
XGETTEXT=$ac_cv_path_XGETTEXT
 
12308
if test -n "$XGETTEXT"; then
 
12309
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
 
12310
$as_echo "$XGETTEXT" >&6; }
 
12311
else
 
12312
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
12313
$as_echo "no" >&6; }
 
12314
fi
 
12315
 
 
12316
 
 
12317
# Extract the first word of "msgmerge", so it can be a program name with args.
 
12318
set dummy msgmerge; ac_word=$2
 
12319
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
12320
$as_echo_n "checking for $ac_word... " >&6; }
 
12321
if ${ac_cv_path_MSGMERGE+:} false; then :
 
12322
  $as_echo_n "(cached) " >&6
 
12323
else
 
12324
  case $MSGMERGE in
 
12325
  [\\/]* | ?:[\\/]*)
 
12326
  ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
 
12327
  ;;
 
12328
  *)
 
12329
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
12330
for as_dir in $PATH
 
12331
do
 
12332
  IFS=$as_save_IFS
 
12333
  test -z "$as_dir" && as_dir=.
 
12334
    for ac_exec_ext in '' $ac_executable_extensions; do
 
12335
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
12336
    ac_cv_path_MSGMERGE="$as_dir/$ac_word$ac_exec_ext"
 
12337
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
12338
    break 2
 
12339
  fi
 
12340
done
 
12341
  done
 
12342
IFS=$as_save_IFS
 
12343
 
 
12344
  ;;
 
12345
esac
 
12346
fi
 
12347
MSGMERGE=$ac_cv_path_MSGMERGE
 
12348
if test -n "$MSGMERGE"; then
 
12349
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
 
12350
$as_echo "$MSGMERGE" >&6; }
 
12351
else
 
12352
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
12353
$as_echo "no" >&6; }
 
12354
fi
 
12355
 
 
12356
 
 
12357
# Extract the first word of "msgfmt", so it can be a program name with args.
 
12358
set dummy msgfmt; ac_word=$2
 
12359
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
12360
$as_echo_n "checking for $ac_word... " >&6; }
 
12361
if ${ac_cv_path_MSGFMT+:} false; then :
 
12362
  $as_echo_n "(cached) " >&6
 
12363
else
 
12364
  case $MSGFMT in
 
12365
  [\\/]* | ?:[\\/]*)
 
12366
  ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
 
12367
  ;;
 
12368
  *)
 
12369
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
12370
for as_dir in $PATH
 
12371
do
 
12372
  IFS=$as_save_IFS
 
12373
  test -z "$as_dir" && as_dir=.
 
12374
    for ac_exec_ext in '' $ac_executable_extensions; do
 
12375
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
12376
    ac_cv_path_MSGFMT="$as_dir/$ac_word$ac_exec_ext"
 
12377
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
12378
    break 2
 
12379
  fi
 
12380
done
 
12381
  done
 
12382
IFS=$as_save_IFS
 
12383
 
 
12384
  ;;
 
12385
esac
 
12386
fi
 
12387
MSGFMT=$ac_cv_path_MSGFMT
 
12388
if test -n "$MSGFMT"; then
 
12389
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
 
12390
$as_echo "$MSGFMT" >&6; }
 
12391
else
 
12392
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
12393
$as_echo "no" >&6; }
 
12394
fi
 
12395
 
 
12396
 
 
12397
# Extract the first word of "gmsgfmt", so it can be a program name with args.
 
12398
set dummy gmsgfmt; ac_word=$2
 
12399
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
12400
$as_echo_n "checking for $ac_word... " >&6; }
 
12401
if ${ac_cv_path_GMSGFMT+:} false; then :
 
12402
  $as_echo_n "(cached) " >&6
 
12403
else
 
12404
  case $GMSGFMT in
 
12405
  [\\/]* | ?:[\\/]*)
 
12406
  ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
 
12407
  ;;
 
12408
  *)
 
12409
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
12410
for as_dir in $PATH
 
12411
do
 
12412
  IFS=$as_save_IFS
 
12413
  test -z "$as_dir" && as_dir=.
 
12414
    for ac_exec_ext in '' $ac_executable_extensions; do
 
12415
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
12416
    ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
 
12417
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
12418
    break 2
 
12419
  fi
 
12420
done
 
12421
  done
 
12422
IFS=$as_save_IFS
 
12423
 
 
12424
  test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
 
12425
  ;;
 
12426
esac
 
12427
fi
 
12428
GMSGFMT=$ac_cv_path_GMSGFMT
 
12429
if test -n "$GMSGFMT"; then
 
12430
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
 
12431
$as_echo "$GMSGFMT" >&6; }
 
12432
else
 
12433
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
12434
$as_echo "no" >&6; }
 
12435
fi
 
12436
 
 
12437
 
 
12438
if test -z "$XGETTEXT" -o -z "$MSGMERGE" -o -z "$MSGFMT"; then
 
12439
    as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5
 
12440
fi
 
12441
xgversion="`$XGETTEXT --version|grep '(GNU ' 2> /dev/null`"
 
12442
mmversion="`$MSGMERGE --version|grep '(GNU ' 2> /dev/null`"
 
12443
mfversion="`$MSGFMT --version|grep '(GNU ' 2> /dev/null`"
 
12444
if test -z "$xgversion" -o -z "$mmversion" -o -z "$mfversion"; then
 
12445
    as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5
 
12446
fi
 
12447
 
 
12448
# Extract the first word of "perl", so it can be a program name with args.
 
12449
set dummy perl; ac_word=$2
 
12450
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
12451
$as_echo_n "checking for $ac_word... " >&6; }
 
12452
if ${ac_cv_path_INTLTOOL_PERL+:} false; then :
 
12453
  $as_echo_n "(cached) " >&6
 
12454
else
 
12455
  case $INTLTOOL_PERL in
 
12456
  [\\/]* | ?:[\\/]*)
 
12457
  ac_cv_path_INTLTOOL_PERL="$INTLTOOL_PERL" # Let the user override the test with a path.
 
12458
  ;;
 
12459
  *)
 
12460
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
12461
for as_dir in $PATH
 
12462
do
 
12463
  IFS=$as_save_IFS
 
12464
  test -z "$as_dir" && as_dir=.
 
12465
    for ac_exec_ext in '' $ac_executable_extensions; do
 
12466
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
12467
    ac_cv_path_INTLTOOL_PERL="$as_dir/$ac_word$ac_exec_ext"
 
12468
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
12469
    break 2
 
12470
  fi
 
12471
done
 
12472
  done
 
12473
IFS=$as_save_IFS
 
12474
 
 
12475
  ;;
 
12476
esac
 
12477
fi
 
12478
INTLTOOL_PERL=$ac_cv_path_INTLTOOL_PERL
 
12479
if test -n "$INTLTOOL_PERL"; then
 
12480
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_PERL" >&5
 
12481
$as_echo "$INTLTOOL_PERL" >&6; }
 
12482
else
 
12483
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
12484
$as_echo "no" >&6; }
 
12485
fi
 
12486
 
 
12487
 
 
12488
if test -z "$INTLTOOL_PERL"; then
 
12489
   as_fn_error $? "perl not found" "$LINENO" 5
 
12490
fi
 
12491
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for perl >= 5.8.1" >&5
 
12492
$as_echo_n "checking for perl >= 5.8.1... " >&6; }
 
12493
$INTLTOOL_PERL -e "use 5.8.1;" > /dev/null 2>&1
 
12494
if test $? -ne 0; then
 
12495
   as_fn_error $? "perl 5.8.1 is required for intltool" "$LINENO" 5
 
12496
else
 
12497
   IT_PERL_VERSION=`$INTLTOOL_PERL -e "printf '%vd', $^V"`
 
12498
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $IT_PERL_VERSION" >&5
 
12499
$as_echo "$IT_PERL_VERSION" >&6; }
 
12500
fi
 
12501
if test "x" != "xno-xml"; then
 
12502
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XML::Parser" >&5
 
12503
$as_echo_n "checking for XML::Parser... " >&6; }
 
12504
   if `$INTLTOOL_PERL -e "require XML::Parser" 2>/dev/null`; then
 
12505
       { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
 
12506
$as_echo "ok" >&6; }
 
12507
   else
 
12508
       as_fn_error $? "XML::Parser perl module is required for intltool" "$LINENO" 5
 
12509
   fi
 
12510
fi
 
12511
 
 
12512
# Substitute ALL_LINGUAS so we can use it in po/Makefile
 
12513
 
 
12514
 
 
12515
# Set DATADIRNAME correctly if it is not set yet
 
12516
# (copied from glib-gettext.m4)
 
12517
if test -z "$DATADIRNAME"; then
 
12518
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
12519
/* end confdefs.h.  */
 
12520
 
 
12521
int
 
12522
main ()
 
12523
{
 
12524
extern int _nl_msg_cat_cntr;
 
12525
                       return _nl_msg_cat_cntr
 
12526
  ;
 
12527
  return 0;
 
12528
}
 
12529
_ACEOF
 
12530
if ac_fn_c_try_link "$LINENO"; then :
 
12531
  DATADIRNAME=share
 
12532
else
 
12533
  case $host in
 
12534
    *-*-solaris*)
 
12535
                        ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
 
12536
if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
 
12537
  DATADIRNAME=share
 
12538
else
 
12539
  DATADIRNAME=lib
 
12540
fi
 
12541
 
 
12542
    ;;
 
12543
    *)
 
12544
    DATADIRNAME=lib
 
12545
    ;;
 
12546
    esac
 
12547
fi
 
12548
rm -f core conftest.err conftest.$ac_objext \
 
12549
    conftest$ac_exeext conftest.$ac_ext
 
12550
fi
 
12551
 
 
12552
 
 
12553
 
 
12554
 
 
12555
 
 
12556
 
 
12557
 
 
12558
GETTEXT_PACKAGE="${PACKAGE}"
 
12559
 
 
12560
 
 
12561
 
 
12562
pkg_failed=no
 
12563
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for DBUS" >&5
 
12564
$as_echo_n "checking for DBUS... " >&6; }
 
12565
 
 
12566
if test -n "$DBUS_CFLAGS"; then
 
12567
    pkg_cv_DBUS_CFLAGS="$DBUS_CFLAGS"
 
12568
 elif test -n "$PKG_CONFIG"; then
 
12569
    if test -n "$PKG_CONFIG" && \
 
12570
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"dbus-1 >= 1.0\""; } >&5
 
12571
  ($PKG_CONFIG --exists --print-errors "dbus-1 >= 1.0") 2>&5
 
12572
  ac_status=$?
 
12573
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
12574
  test $ac_status = 0; }; then
 
12575
  pkg_cv_DBUS_CFLAGS=`$PKG_CONFIG --cflags "dbus-1 >= 1.0" 2>/dev/null`
 
12576
                      test "x$?" != "x0" && pkg_failed=yes
 
12577
else
 
12578
  pkg_failed=yes
 
12579
fi
 
12580
 else
 
12581
    pkg_failed=untried
 
12582
fi
 
12583
if test -n "$DBUS_LIBS"; then
 
12584
    pkg_cv_DBUS_LIBS="$DBUS_LIBS"
 
12585
 elif test -n "$PKG_CONFIG"; then
 
12586
    if test -n "$PKG_CONFIG" && \
 
12587
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"dbus-1 >= 1.0\""; } >&5
 
12588
  ($PKG_CONFIG --exists --print-errors "dbus-1 >= 1.0") 2>&5
 
12589
  ac_status=$?
 
12590
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
12591
  test $ac_status = 0; }; then
 
12592
  pkg_cv_DBUS_LIBS=`$PKG_CONFIG --libs "dbus-1 >= 1.0" 2>/dev/null`
 
12593
                      test "x$?" != "x0" && pkg_failed=yes
 
12594
else
 
12595
  pkg_failed=yes
 
12596
fi
 
12597
 else
 
12598
    pkg_failed=untried
 
12599
fi
 
12600
 
 
12601
 
 
12602
 
 
12603
if test $pkg_failed = yes; then
 
12604
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
12605
$as_echo "no" >&6; }
 
12606
 
 
12607
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
 
12608
        _pkg_short_errors_supported=yes
 
12609
else
 
12610
        _pkg_short_errors_supported=no
 
12611
fi
 
12612
        if test $_pkg_short_errors_supported = yes; then
 
12613
                DBUS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "dbus-1 >= 1.0" 2>&1`
 
12614
        else
 
12615
                DBUS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "dbus-1 >= 1.0" 2>&1`
 
12616
        fi
 
12617
        # Put the nasty error message in config.log where it belongs
 
12618
        echo "$DBUS_PKG_ERRORS" >&5
 
12619
 
 
12620
        as_fn_error $? "Package requirements (dbus-1 >= 1.0) were not met:
 
12621
 
 
12622
$DBUS_PKG_ERRORS
 
12623
 
 
12624
Consider adjusting the PKG_CONFIG_PATH environment variable if you
 
12625
installed software in a non-standard prefix.
 
12626
 
 
12627
Alternatively, you may set the environment variables DBUS_CFLAGS
 
12628
and DBUS_LIBS to avoid the need to call pkg-config.
 
12629
See the pkg-config man page for more details." "$LINENO" 5
 
12630
elif test $pkg_failed = untried; then
 
12631
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
12632
$as_echo "no" >&6; }
 
12633
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
12634
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
12635
as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
 
12636
is in your PATH or set the PKG_CONFIG environment variable to the full
 
12637
path to pkg-config.
 
12638
 
 
12639
Alternatively, you may set the environment variables DBUS_CFLAGS
 
12640
and DBUS_LIBS to avoid the need to call pkg-config.
 
12641
See the pkg-config man page for more details.
 
12642
 
 
12643
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
 
12644
See \`config.log' for more details" "$LINENO" 5; }
 
12645
else
 
12646
        DBUS_CFLAGS=$pkg_cv_DBUS_CFLAGS
 
12647
        DBUS_LIBS=$pkg_cv_DBUS_LIBS
 
12648
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
12649
$as_echo "yes" >&6; }
 
12650
 
 
12651
fi
 
12652
 
 
12653
 
 
12654
 
 
12655
 
 
12656
pkg_failed=no
 
12657
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLIB" >&5
 
12658
$as_echo_n "checking for GLIB... " >&6; }
 
12659
 
 
12660
if test -n "$GLIB_CFLAGS"; then
 
12661
    pkg_cv_GLIB_CFLAGS="$GLIB_CFLAGS"
 
12662
 elif test -n "$PKG_CONFIG"; then
 
12663
    if test -n "$PKG_CONFIG" && \
 
12664
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.36.0\""; } >&5
 
12665
  ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.36.0") 2>&5
 
12666
  ac_status=$?
 
12667
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
12668
  test $ac_status = 0; }; then
 
12669
  pkg_cv_GLIB_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= 2.36.0" 2>/dev/null`
 
12670
                      test "x$?" != "x0" && pkg_failed=yes
 
12671
else
 
12672
  pkg_failed=yes
 
12673
fi
 
12674
 else
 
12675
    pkg_failed=untried
 
12676
fi
 
12677
if test -n "$GLIB_LIBS"; then
 
12678
    pkg_cv_GLIB_LIBS="$GLIB_LIBS"
 
12679
 elif test -n "$PKG_CONFIG"; then
 
12680
    if test -n "$PKG_CONFIG" && \
 
12681
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.36.0\""; } >&5
 
12682
  ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.36.0") 2>&5
 
12683
  ac_status=$?
 
12684
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
12685
  test $ac_status = 0; }; then
 
12686
  pkg_cv_GLIB_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= 2.36.0" 2>/dev/null`
 
12687
                      test "x$?" != "x0" && pkg_failed=yes
 
12688
else
 
12689
  pkg_failed=yes
 
12690
fi
 
12691
 else
 
12692
    pkg_failed=untried
 
12693
fi
 
12694
 
 
12695
 
 
12696
 
 
12697
if test $pkg_failed = yes; then
 
12698
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
12699
$as_echo "no" >&6; }
 
12700
 
 
12701
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
 
12702
        _pkg_short_errors_supported=yes
 
12703
else
 
12704
        _pkg_short_errors_supported=no
 
12705
fi
 
12706
        if test $_pkg_short_errors_supported = yes; then
 
12707
                GLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "glib-2.0 >= 2.36.0" 2>&1`
 
12708
        else
 
12709
                GLIB_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "glib-2.0 >= 2.36.0" 2>&1`
 
12710
        fi
 
12711
        # Put the nasty error message in config.log where it belongs
 
12712
        echo "$GLIB_PKG_ERRORS" >&5
 
12713
 
 
12714
        as_fn_error $? "Package requirements (glib-2.0 >= 2.36.0) were not met:
 
12715
 
 
12716
$GLIB_PKG_ERRORS
 
12717
 
 
12718
Consider adjusting the PKG_CONFIG_PATH environment variable if you
 
12719
installed software in a non-standard prefix.
 
12720
 
 
12721
Alternatively, you may set the environment variables GLIB_CFLAGS
 
12722
and GLIB_LIBS to avoid the need to call pkg-config.
 
12723
See the pkg-config man page for more details." "$LINENO" 5
 
12724
elif test $pkg_failed = untried; then
 
12725
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
12726
$as_echo "no" >&6; }
 
12727
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
12728
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
12729
as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
 
12730
is in your PATH or set the PKG_CONFIG environment variable to the full
 
12731
path to pkg-config.
 
12732
 
 
12733
Alternatively, you may set the environment variables GLIB_CFLAGS
 
12734
and GLIB_LIBS to avoid the need to call pkg-config.
 
12735
See the pkg-config man page for more details.
 
12736
 
 
12737
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
 
12738
See \`config.log' for more details" "$LINENO" 5; }
 
12739
else
 
12740
        GLIB_CFLAGS=$pkg_cv_GLIB_CFLAGS
 
12741
        GLIB_LIBS=$pkg_cv_GLIB_LIBS
 
12742
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
12743
$as_echo "yes" >&6; }
 
12744
 
 
12745
fi
 
12746
 
 
12747
 
 
12748
 
 
12749
 
 
12750
pkg_failed=no
 
12751
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GOBJ" >&5
 
12752
$as_echo_n "checking for GOBJ... " >&6; }
 
12753
 
 
12754
if test -n "$GOBJ_CFLAGS"; then
 
12755
    pkg_cv_GOBJ_CFLAGS="$GOBJ_CFLAGS"
 
12756
 elif test -n "$PKG_CONFIG"; then
 
12757
    if test -n "$PKG_CONFIG" && \
 
12758
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-2.0 >= 2.0.0\""; } >&5
 
12759
  ($PKG_CONFIG --exists --print-errors "gobject-2.0 >= 2.0.0") 2>&5
 
12760
  ac_status=$?
 
12761
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
12762
  test $ac_status = 0; }; then
 
12763
  pkg_cv_GOBJ_CFLAGS=`$PKG_CONFIG --cflags "gobject-2.0 >= 2.0.0" 2>/dev/null`
 
12764
                      test "x$?" != "x0" && pkg_failed=yes
 
12765
else
 
12766
  pkg_failed=yes
 
12767
fi
 
12768
 else
 
12769
    pkg_failed=untried
 
12770
fi
 
12771
if test -n "$GOBJ_LIBS"; then
 
12772
    pkg_cv_GOBJ_LIBS="$GOBJ_LIBS"
 
12773
 elif test -n "$PKG_CONFIG"; then
 
12774
    if test -n "$PKG_CONFIG" && \
 
12775
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-2.0 >= 2.0.0\""; } >&5
 
12776
  ($PKG_CONFIG --exists --print-errors "gobject-2.0 >= 2.0.0") 2>&5
 
12777
  ac_status=$?
 
12778
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
12779
  test $ac_status = 0; }; then
 
12780
  pkg_cv_GOBJ_LIBS=`$PKG_CONFIG --libs "gobject-2.0 >= 2.0.0" 2>/dev/null`
 
12781
                      test "x$?" != "x0" && pkg_failed=yes
 
12782
else
 
12783
  pkg_failed=yes
 
12784
fi
 
12785
 else
 
12786
    pkg_failed=untried
 
12787
fi
 
12788
 
 
12789
 
 
12790
 
 
12791
if test $pkg_failed = yes; then
 
12792
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
12793
$as_echo "no" >&6; }
 
12794
 
 
12795
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
 
12796
        _pkg_short_errors_supported=yes
 
12797
else
 
12798
        _pkg_short_errors_supported=no
 
12799
fi
 
12800
        if test $_pkg_short_errors_supported = yes; then
 
12801
                GOBJ_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gobject-2.0 >= 2.0.0" 2>&1`
 
12802
        else
 
12803
                GOBJ_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gobject-2.0 >= 2.0.0" 2>&1`
 
12804
        fi
 
12805
        # Put the nasty error message in config.log where it belongs
 
12806
        echo "$GOBJ_PKG_ERRORS" >&5
 
12807
 
 
12808
        as_fn_error $? "Package requirements (gobject-2.0 >= 2.0.0) were not met:
 
12809
 
 
12810
$GOBJ_PKG_ERRORS
 
12811
 
 
12812
Consider adjusting the PKG_CONFIG_PATH environment variable if you
 
12813
installed software in a non-standard prefix.
 
12814
 
 
12815
Alternatively, you may set the environment variables GOBJ_CFLAGS
 
12816
and GOBJ_LIBS to avoid the need to call pkg-config.
 
12817
See the pkg-config man page for more details." "$LINENO" 5
 
12818
elif test $pkg_failed = untried; then
 
12819
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
12820
$as_echo "no" >&6; }
 
12821
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
12822
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
12823
as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
 
12824
is in your PATH or set the PKG_CONFIG environment variable to the full
 
12825
path to pkg-config.
 
12826
 
 
12827
Alternatively, you may set the environment variables GOBJ_CFLAGS
 
12828
and GOBJ_LIBS to avoid the need to call pkg-config.
 
12829
See the pkg-config man page for more details.
 
12830
 
 
12831
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
 
12832
See \`config.log' for more details" "$LINENO" 5; }
 
12833
else
 
12834
        GOBJ_CFLAGS=$pkg_cv_GOBJ_CFLAGS
 
12835
        GOBJ_LIBS=$pkg_cv_GOBJ_LIBS
 
12836
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
12837
$as_echo "yes" >&6; }
 
12838
 
 
12839
fi
 
12840
 
 
12841
 
 
12842
 
 
12843
 
 
12844
pkg_failed=no
 
12845
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GIO" >&5
 
12846
$as_echo_n "checking for GIO... " >&6; }
 
12847
 
 
12848
if test -n "$GIO_CFLAGS"; then
 
12849
    pkg_cv_GIO_CFLAGS="$GIO_CFLAGS"
 
12850
 elif test -n "$PKG_CONFIG"; then
 
12851
    if test -n "$PKG_CONFIG" && \
 
12852
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gio-2.0 >= 2.28\""; } >&5
 
12853
  ($PKG_CONFIG --exists --print-errors "gio-2.0 >= 2.28") 2>&5
 
12854
  ac_status=$?
 
12855
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
12856
  test $ac_status = 0; }; then
 
12857
  pkg_cv_GIO_CFLAGS=`$PKG_CONFIG --cflags "gio-2.0 >= 2.28" 2>/dev/null`
 
12858
                      test "x$?" != "x0" && pkg_failed=yes
 
12859
else
 
12860
  pkg_failed=yes
 
12861
fi
 
12862
 else
 
12863
    pkg_failed=untried
 
12864
fi
 
12865
if test -n "$GIO_LIBS"; then
 
12866
    pkg_cv_GIO_LIBS="$GIO_LIBS"
 
12867
 elif test -n "$PKG_CONFIG"; then
 
12868
    if test -n "$PKG_CONFIG" && \
 
12869
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gio-2.0 >= 2.28\""; } >&5
 
12870
  ($PKG_CONFIG --exists --print-errors "gio-2.0 >= 2.28") 2>&5
 
12871
  ac_status=$?
 
12872
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
12873
  test $ac_status = 0; }; then
 
12874
  pkg_cv_GIO_LIBS=`$PKG_CONFIG --libs "gio-2.0 >= 2.28" 2>/dev/null`
 
12875
                      test "x$?" != "x0" && pkg_failed=yes
 
12876
else
 
12877
  pkg_failed=yes
 
12878
fi
 
12879
 else
 
12880
    pkg_failed=untried
 
12881
fi
 
12882
 
 
12883
 
 
12884
 
 
12885
if test $pkg_failed = yes; then
 
12886
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
12887
$as_echo "no" >&6; }
 
12888
 
 
12889
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
 
12890
        _pkg_short_errors_supported=yes
 
12891
else
 
12892
        _pkg_short_errors_supported=no
 
12893
fi
 
12894
        if test $_pkg_short_errors_supported = yes; then
 
12895
                GIO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gio-2.0 >= 2.28" 2>&1`
 
12896
        else
 
12897
                GIO_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gio-2.0 >= 2.28" 2>&1`
 
12898
        fi
 
12899
        # Put the nasty error message in config.log where it belongs
 
12900
        echo "$GIO_PKG_ERRORS" >&5
 
12901
 
 
12902
        as_fn_error $? "Package requirements (gio-2.0 >= 2.28) were not met:
 
12903
 
 
12904
$GIO_PKG_ERRORS
 
12905
 
 
12906
Consider adjusting the PKG_CONFIG_PATH environment variable if you
 
12907
installed software in a non-standard prefix.
 
12908
 
 
12909
Alternatively, you may set the environment variables GIO_CFLAGS
 
12910
and GIO_LIBS to avoid the need to call pkg-config.
 
12911
See the pkg-config man page for more details." "$LINENO" 5
 
12912
elif test $pkg_failed = untried; then
 
12913
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
12914
$as_echo "no" >&6; }
 
12915
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
12916
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
12917
as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
 
12918
is in your PATH or set the PKG_CONFIG environment variable to the full
 
12919
path to pkg-config.
 
12920
 
 
12921
Alternatively, you may set the environment variables GIO_CFLAGS
 
12922
and GIO_LIBS to avoid the need to call pkg-config.
 
12923
See the pkg-config man page for more details.
 
12924
 
 
12925
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
 
12926
See \`config.log' for more details" "$LINENO" 5; }
 
12927
else
 
12928
        GIO_CFLAGS=$pkg_cv_GIO_CFLAGS
 
12929
        GIO_LIBS=$pkg_cv_GIO_LIBS
 
12930
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
12931
$as_echo "yes" >&6; }
 
12932
 
 
12933
fi
 
12934
 
 
12935
 
 
12936
 
 
12937
# --------------------------------------------------------------------
 
12938
# Find DL functionality
 
12939
 
 
12940
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lc" >&5
 
12941
$as_echo_n "checking for dlopen in -lc... " >&6; }
 
12942
if ${ac_cv_lib_c_dlopen+:} false; then :
 
12943
  $as_echo_n "(cached) " >&6
 
12944
else
 
12945
  ac_check_lib_save_LIBS=$LIBS
 
12946
LIBS="-lc  $LIBS"
 
12947
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
12948
/* end confdefs.h.  */
 
12949
 
 
12950
/* Override any GCC internal prototype to avoid an error.
 
12951
   Use char because int might match the return type of a GCC
 
12952
   builtin and then its argument prototype would still apply.  */
 
12953
#ifdef __cplusplus
 
12954
extern "C"
 
12955
#endif
 
12956
char dlopen ();
 
12957
int
 
12958
main ()
 
12959
{
 
12960
return dlopen ();
 
12961
  ;
 
12962
  return 0;
 
12963
}
 
12964
_ACEOF
 
12965
if ac_fn_c_try_link "$LINENO"; then :
 
12966
  ac_cv_lib_c_dlopen=yes
 
12967
else
 
12968
  ac_cv_lib_c_dlopen=no
 
12969
fi
 
12970
rm -f core conftest.err conftest.$ac_objext \
 
12971
    conftest$ac_exeext conftest.$ac_ext
 
12972
LIBS=$ac_check_lib_save_LIBS
 
12973
fi
 
12974
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_dlopen" >&5
 
12975
$as_echo "$ac_cv_lib_c_dlopen" >&6; }
 
12976
if test "x$ac_cv_lib_c_dlopen" = xyes; then :
 
12977
  DL_LIBS=""
 
12978
else
 
12979
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
 
12980
$as_echo_n "checking for dlopen in -ldl... " >&6; }
 
12981
if ${ac_cv_lib_dl_dlopen+:} false; then :
 
12982
  $as_echo_n "(cached) " >&6
 
12983
else
 
12984
  ac_check_lib_save_LIBS=$LIBS
 
12985
LIBS="-ldl  $LIBS"
 
12986
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
12987
/* end confdefs.h.  */
 
12988
 
 
12989
/* Override any GCC internal prototype to avoid an error.
 
12990
   Use char because int might match the return type of a GCC
 
12991
   builtin and then its argument prototype would still apply.  */
 
12992
#ifdef __cplusplus
 
12993
extern "C"
 
12994
#endif
 
12995
char dlopen ();
 
12996
int
 
12997
main ()
 
12998
{
 
12999
return dlopen ();
 
13000
  ;
 
13001
  return 0;
 
13002
}
 
13003
_ACEOF
 
13004
if ac_fn_c_try_link "$LINENO"; then :
 
13005
  ac_cv_lib_dl_dlopen=yes
 
13006
else
 
13007
  ac_cv_lib_dl_dlopen=no
 
13008
fi
 
13009
rm -f core conftest.err conftest.$ac_objext \
 
13010
    conftest$ac_exeext conftest.$ac_ext
 
13011
LIBS=$ac_check_lib_save_LIBS
 
13012
fi
 
13013
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
 
13014
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
 
13015
if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
 
13016
  DL_LIBS="-ldl"
 
13017
else
 
13018
  as_fn_error $? "Could not find a library with the dlopen function" "$LINENO" 5
 
13019
 
 
13020
fi
 
13021
 
 
13022
 
 
13023
fi
 
13024
 
 
13025
 
 
13026
 
 
13027
 
 
13028
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
 
13029
$as_echo_n "checking for X... " >&6; }
 
13030
 
 
13031
 
 
13032
# Check whether --with-x was given.
 
13033
if test "${with_x+set}" = set; then :
 
13034
  withval=$with_x;
 
13035
fi
 
13036
 
 
13037
# $have_x is `yes', `no', `disabled', or empty when we do not yet know.
 
13038
if test "x$with_x" = xno; then
 
13039
  # The user explicitly disabled X.
 
13040
  have_x=disabled
 
13041
else
 
13042
  case $x_includes,$x_libraries in #(
 
13043
    *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
 
13044
    *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
 
13045
  $as_echo_n "(cached) " >&6
 
13046
else
 
13047
  # One or both of the vars are not set, and there is no cached value.
 
13048
ac_x_includes=no ac_x_libraries=no
 
13049
rm -f -r conftest.dir
 
13050
if mkdir conftest.dir; then
 
13051
  cd conftest.dir
 
13052
  cat >Imakefile <<'_ACEOF'
 
13053
incroot:
 
13054
        @echo incroot='${INCROOT}'
 
13055
usrlibdir:
 
13056
        @echo usrlibdir='${USRLIBDIR}'
 
13057
libdir:
 
13058
        @echo libdir='${LIBDIR}'
 
13059
_ACEOF
 
13060
  if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
 
13061
    # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
 
13062
    for ac_var in incroot usrlibdir libdir; do
 
13063
      eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
 
13064
    done
 
13065
    # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
 
13066
    for ac_extension in a so sl dylib la dll; do
 
13067
      if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
 
13068
         test -f "$ac_im_libdir/libX11.$ac_extension"; then
 
13069
        ac_im_usrlibdir=$ac_im_libdir; break
 
13070
      fi
 
13071
    done
 
13072
    # Screen out bogus values from the imake configuration.  They are
 
13073
    # bogus both because they are the default anyway, and because
 
13074
    # using them would break gcc on systems where it needs fixed includes.
 
13075
    case $ac_im_incroot in
 
13076
        /usr/include) ac_x_includes= ;;
 
13077
        *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
 
13078
    esac
 
13079
    case $ac_im_usrlibdir in
 
13080
        /usr/lib | /usr/lib64 | /lib | /lib64) ;;
 
13081
        *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
 
13082
    esac
 
13083
  fi
 
13084
  cd ..
 
13085
  rm -f -r conftest.dir
 
13086
fi
 
13087
 
 
13088
# Standard set of common directories for X headers.
 
13089
# Check X11 before X11Rn because it is often a symlink to the current release.
 
13090
ac_x_header_dirs='
 
13091
/usr/X11/include
 
13092
/usr/X11R7/include
 
13093
/usr/X11R6/include
 
13094
/usr/X11R5/include
 
13095
/usr/X11R4/include
 
13096
 
 
13097
/usr/include/X11
 
13098
/usr/include/X11R7
 
13099
/usr/include/X11R6
 
13100
/usr/include/X11R5
 
13101
/usr/include/X11R4
 
13102
 
 
13103
/usr/local/X11/include
 
13104
/usr/local/X11R7/include
 
13105
/usr/local/X11R6/include
 
13106
/usr/local/X11R5/include
 
13107
/usr/local/X11R4/include
 
13108
 
 
13109
/usr/local/include/X11
 
13110
/usr/local/include/X11R7
 
13111
/usr/local/include/X11R6
 
13112
/usr/local/include/X11R5
 
13113
/usr/local/include/X11R4
 
13114
 
 
13115
/usr/X386/include
 
13116
/usr/x386/include
 
13117
/usr/XFree86/include/X11
 
13118
 
 
13119
/usr/include
 
13120
/usr/local/include
 
13121
/usr/unsupported/include
 
13122
/usr/athena/include
 
13123
/usr/local/x11r5/include
 
13124
/usr/lpp/Xamples/include
 
13125
 
 
13126
/usr/openwin/include
 
13127
/usr/openwin/share/include'
 
13128
 
 
13129
if test "$ac_x_includes" = no; then
 
13130
  # Guess where to find include files, by looking for Xlib.h.
 
13131
  # First, try using that file with no special directory specified.
 
13132
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
13133
/* end confdefs.h.  */
 
13134
#include <X11/Xlib.h>
 
13135
_ACEOF
 
13136
if ac_fn_c_try_cpp "$LINENO"; then :
 
13137
  # We can compile using X headers with no special include directory.
 
13138
ac_x_includes=
 
13139
else
 
13140
  for ac_dir in $ac_x_header_dirs; do
 
13141
  if test -r "$ac_dir/X11/Xlib.h"; then
 
13142
    ac_x_includes=$ac_dir
 
13143
    break
 
13144
  fi
 
13145
done
 
13146
fi
 
13147
rm -f conftest.err conftest.i conftest.$ac_ext
 
13148
fi # $ac_x_includes = no
 
13149
 
 
13150
if test "$ac_x_libraries" = no; then
 
13151
  # Check for the libraries.
 
13152
  # See if we find them without any special options.
 
13153
  # Don't add to $LIBS permanently.
 
13154
  ac_save_LIBS=$LIBS
 
13155
  LIBS="-lX11 $LIBS"
 
13156
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
13157
/* end confdefs.h.  */
 
13158
#include <X11/Xlib.h>
 
13159
int
 
13160
main ()
 
13161
{
 
13162
XrmInitialize ()
 
13163
  ;
 
13164
  return 0;
 
13165
}
 
13166
_ACEOF
 
13167
if ac_fn_c_try_link "$LINENO"; then :
 
13168
  LIBS=$ac_save_LIBS
 
13169
# We can link X programs with no special library path.
 
13170
ac_x_libraries=
 
13171
else
 
13172
  LIBS=$ac_save_LIBS
 
13173
for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
 
13174
do
 
13175
  # Don't even attempt the hair of trying to link an X program!
 
13176
  for ac_extension in a so sl dylib la dll; do
 
13177
    if test -r "$ac_dir/libX11.$ac_extension"; then
 
13178
      ac_x_libraries=$ac_dir
 
13179
      break 2
 
13180
    fi
 
13181
  done
 
13182
done
 
13183
fi
 
13184
rm -f core conftest.err conftest.$ac_objext \
 
13185
    conftest$ac_exeext conftest.$ac_ext
 
13186
fi # $ac_x_libraries = no
 
13187
 
 
13188
case $ac_x_includes,$ac_x_libraries in #(
 
13189
  no,* | *,no | *\'*)
 
13190
    # Didn't find X, or a directory has "'" in its name.
 
13191
    ac_cv_have_x="have_x=no";; #(
 
13192
  *)
 
13193
    # Record where we found X for the cache.
 
13194
    ac_cv_have_x="have_x=yes\
 
13195
        ac_x_includes='$ac_x_includes'\
 
13196
        ac_x_libraries='$ac_x_libraries'"
 
13197
esac
 
13198
fi
 
13199
;; #(
 
13200
    *) have_x=yes;;
 
13201
  esac
 
13202
  eval "$ac_cv_have_x"
 
13203
fi # $with_x != no
 
13204
 
 
13205
if test "$have_x" != yes; then
 
13206
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
 
13207
$as_echo "$have_x" >&6; }
 
13208
  no_x=yes
 
13209
else
 
13210
  # If each of the values was on the command line, it overrides each guess.
 
13211
  test "x$x_includes" = xNONE && x_includes=$ac_x_includes
 
13212
  test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
 
13213
  # Update the cache value to reflect the command line values.
 
13214
  ac_cv_have_x="have_x=yes\
 
13215
        ac_x_includes='$x_includes'\
 
13216
        ac_x_libraries='$x_libraries'"
 
13217
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
 
13218
$as_echo "libraries $x_libraries, headers $x_includes" >&6; }
 
13219
fi
 
13220
 
 
13221
if test "$no_x" = yes; then
 
13222
  # Not all programs may use this symbol, but it does not hurt to define it.
 
13223
 
 
13224
$as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
 
13225
 
 
13226
  X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
 
13227
else
 
13228
  if test -n "$x_includes"; then
 
13229
    X_CFLAGS="$X_CFLAGS -I$x_includes"
 
13230
  fi
 
13231
 
 
13232
  # It would also be nice to do this for all -L options, not just this one.
 
13233
  if test -n "$x_libraries"; then
 
13234
    X_LIBS="$X_LIBS -L$x_libraries"
 
13235
    # For Solaris; some versions of Sun CC require a space after -R and
 
13236
    # others require no space.  Words are not sufficient . . . .
 
13237
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
 
13238
$as_echo_n "checking whether -R must be followed by a space... " >&6; }
 
13239
    ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
 
13240
    ac_xsave_c_werror_flag=$ac_c_werror_flag
 
13241
    ac_c_werror_flag=yes
 
13242
    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
13243
/* end confdefs.h.  */
 
13244
 
 
13245
int
 
13246
main ()
 
13247
{
 
13248
 
 
13249
  ;
 
13250
  return 0;
 
13251
}
 
13252
_ACEOF
 
13253
if ac_fn_c_try_link "$LINENO"; then :
 
13254
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
13255
$as_echo "no" >&6; }
 
13256
       X_LIBS="$X_LIBS -R$x_libraries"
 
13257
else
 
13258
  LIBS="$ac_xsave_LIBS -R $x_libraries"
 
13259
       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
13260
/* end confdefs.h.  */
 
13261
 
 
13262
int
 
13263
main ()
 
13264
{
 
13265
 
 
13266
  ;
 
13267
  return 0;
 
13268
}
 
13269
_ACEOF
 
13270
if ac_fn_c_try_link "$LINENO"; then :
 
13271
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
13272
$as_echo "yes" >&6; }
 
13273
          X_LIBS="$X_LIBS -R $x_libraries"
 
13274
else
 
13275
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
 
13276
$as_echo "neither works" >&6; }
 
13277
fi
 
13278
rm -f core conftest.err conftest.$ac_objext \
 
13279
    conftest$ac_exeext conftest.$ac_ext
 
13280
fi
 
13281
rm -f core conftest.err conftest.$ac_objext \
 
13282
    conftest$ac_exeext conftest.$ac_ext
 
13283
    ac_c_werror_flag=$ac_xsave_c_werror_flag
 
13284
    LIBS=$ac_xsave_LIBS
 
13285
  fi
 
13286
 
 
13287
  # Check for system-dependent libraries X programs must link with.
 
13288
  # Do this before checking for the system-independent R6 libraries
 
13289
  # (-lICE), since we may need -lsocket or whatever for X linking.
 
13290
 
 
13291
  if test "$ISC" = yes; then
 
13292
    X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
 
13293
  else
 
13294
    # Martyn Johnson says this is needed for Ultrix, if the X
 
13295
    # libraries were built with DECnet support.  And Karl Berry says
 
13296
    # the Alpha needs dnet_stub (dnet does not exist).
 
13297
    ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
 
13298
    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
13299
/* end confdefs.h.  */
 
13300
 
 
13301
/* Override any GCC internal prototype to avoid an error.
 
13302
   Use char because int might match the return type of a GCC
 
13303
   builtin and then its argument prototype would still apply.  */
 
13304
#ifdef __cplusplus
 
13305
extern "C"
 
13306
#endif
 
13307
char XOpenDisplay ();
 
13308
int
 
13309
main ()
 
13310
{
 
13311
return XOpenDisplay ();
 
13312
  ;
 
13313
  return 0;
 
13314
}
 
13315
_ACEOF
 
13316
if ac_fn_c_try_link "$LINENO"; then :
 
13317
 
 
13318
else
 
13319
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
 
13320
$as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
 
13321
if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
 
13322
  $as_echo_n "(cached) " >&6
 
13323
else
 
13324
  ac_check_lib_save_LIBS=$LIBS
 
13325
LIBS="-ldnet  $LIBS"
 
13326
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
13327
/* end confdefs.h.  */
 
13328
 
 
13329
/* Override any GCC internal prototype to avoid an error.
 
13330
   Use char because int might match the return type of a GCC
 
13331
   builtin and then its argument prototype would still apply.  */
 
13332
#ifdef __cplusplus
 
13333
extern "C"
 
13334
#endif
 
13335
char dnet_ntoa ();
 
13336
int
 
13337
main ()
 
13338
{
 
13339
return dnet_ntoa ();
 
13340
  ;
 
13341
  return 0;
 
13342
}
 
13343
_ACEOF
 
13344
if ac_fn_c_try_link "$LINENO"; then :
 
13345
  ac_cv_lib_dnet_dnet_ntoa=yes
 
13346
else
 
13347
  ac_cv_lib_dnet_dnet_ntoa=no
 
13348
fi
 
13349
rm -f core conftest.err conftest.$ac_objext \
 
13350
    conftest$ac_exeext conftest.$ac_ext
 
13351
LIBS=$ac_check_lib_save_LIBS
 
13352
fi
 
13353
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
 
13354
$as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
 
13355
if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
 
13356
  X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
 
13357
fi
 
13358
 
 
13359
    if test $ac_cv_lib_dnet_dnet_ntoa = no; then
 
13360
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
 
13361
$as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
 
13362
if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
 
13363
  $as_echo_n "(cached) " >&6
 
13364
else
 
13365
  ac_check_lib_save_LIBS=$LIBS
 
13366
LIBS="-ldnet_stub  $LIBS"
 
13367
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
13368
/* end confdefs.h.  */
 
13369
 
 
13370
/* Override any GCC internal prototype to avoid an error.
 
13371
   Use char because int might match the return type of a GCC
 
13372
   builtin and then its argument prototype would still apply.  */
 
13373
#ifdef __cplusplus
 
13374
extern "C"
 
13375
#endif
 
13376
char dnet_ntoa ();
 
13377
int
 
13378
main ()
 
13379
{
 
13380
return dnet_ntoa ();
 
13381
  ;
 
13382
  return 0;
 
13383
}
 
13384
_ACEOF
 
13385
if ac_fn_c_try_link "$LINENO"; then :
 
13386
  ac_cv_lib_dnet_stub_dnet_ntoa=yes
 
13387
else
 
13388
  ac_cv_lib_dnet_stub_dnet_ntoa=no
 
13389
fi
 
13390
rm -f core conftest.err conftest.$ac_objext \
 
13391
    conftest$ac_exeext conftest.$ac_ext
 
13392
LIBS=$ac_check_lib_save_LIBS
 
13393
fi
 
13394
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
 
13395
$as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
 
13396
if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
 
13397
  X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
 
13398
fi
 
13399
 
 
13400
    fi
 
13401
fi
 
13402
rm -f core conftest.err conftest.$ac_objext \
 
13403
    conftest$ac_exeext conftest.$ac_ext
 
13404
    LIBS="$ac_xsave_LIBS"
 
13405
 
 
13406
    # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
 
13407
    # to get the SysV transport functions.
 
13408
    # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
 
13409
    # needs -lnsl.
 
13410
    # The nsl library prevents programs from opening the X display
 
13411
    # on Irix 5.2, according to T.E. Dickey.
 
13412
    # The functions gethostbyname, getservbyname, and inet_addr are
 
13413
    # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
 
13414
    ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
 
13415
if test "x$ac_cv_func_gethostbyname" = xyes; then :
 
13416
 
 
13417
fi
 
13418
 
 
13419
    if test $ac_cv_func_gethostbyname = no; then
 
13420
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
 
13421
$as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
 
13422
if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
 
13423
  $as_echo_n "(cached) " >&6
 
13424
else
 
13425
  ac_check_lib_save_LIBS=$LIBS
 
13426
LIBS="-lnsl  $LIBS"
 
13427
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
13428
/* end confdefs.h.  */
 
13429
 
 
13430
/* Override any GCC internal prototype to avoid an error.
 
13431
   Use char because int might match the return type of a GCC
 
13432
   builtin and then its argument prototype would still apply.  */
 
13433
#ifdef __cplusplus
 
13434
extern "C"
 
13435
#endif
 
13436
char gethostbyname ();
 
13437
int
 
13438
main ()
 
13439
{
 
13440
return gethostbyname ();
 
13441
  ;
 
13442
  return 0;
 
13443
}
 
13444
_ACEOF
 
13445
if ac_fn_c_try_link "$LINENO"; then :
 
13446
  ac_cv_lib_nsl_gethostbyname=yes
 
13447
else
 
13448
  ac_cv_lib_nsl_gethostbyname=no
 
13449
fi
 
13450
rm -f core conftest.err conftest.$ac_objext \
 
13451
    conftest$ac_exeext conftest.$ac_ext
 
13452
LIBS=$ac_check_lib_save_LIBS
 
13453
fi
 
13454
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
 
13455
$as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
 
13456
if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
 
13457
  X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
 
13458
fi
 
13459
 
 
13460
      if test $ac_cv_lib_nsl_gethostbyname = no; then
 
13461
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
 
13462
$as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
 
13463
if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
 
13464
  $as_echo_n "(cached) " >&6
 
13465
else
 
13466
  ac_check_lib_save_LIBS=$LIBS
 
13467
LIBS="-lbsd  $LIBS"
 
13468
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
13469
/* end confdefs.h.  */
 
13470
 
 
13471
/* Override any GCC internal prototype to avoid an error.
 
13472
   Use char because int might match the return type of a GCC
 
13473
   builtin and then its argument prototype would still apply.  */
 
13474
#ifdef __cplusplus
 
13475
extern "C"
 
13476
#endif
 
13477
char gethostbyname ();
 
13478
int
 
13479
main ()
 
13480
{
 
13481
return gethostbyname ();
 
13482
  ;
 
13483
  return 0;
 
13484
}
 
13485
_ACEOF
 
13486
if ac_fn_c_try_link "$LINENO"; then :
 
13487
  ac_cv_lib_bsd_gethostbyname=yes
 
13488
else
 
13489
  ac_cv_lib_bsd_gethostbyname=no
 
13490
fi
 
13491
rm -f core conftest.err conftest.$ac_objext \
 
13492
    conftest$ac_exeext conftest.$ac_ext
 
13493
LIBS=$ac_check_lib_save_LIBS
 
13494
fi
 
13495
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
 
13496
$as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
 
13497
if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
 
13498
  X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
 
13499
fi
 
13500
 
 
13501
      fi
 
13502
    fi
 
13503
 
 
13504
    # lieder@skyler.mavd.honeywell.com says without -lsocket,
 
13505
    # socket/setsockopt and other routines are undefined under SCO ODT
 
13506
    # 2.0.  But -lsocket is broken on IRIX 5.2 (and is not necessary
 
13507
    # on later versions), says Simon Leinen: it contains gethostby*
 
13508
    # variants that don't use the name server (or something).  -lsocket
 
13509
    # must be given before -lnsl if both are needed.  We assume that
 
13510
    # if connect needs -lnsl, so does gethostbyname.
 
13511
    ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
 
13512
if test "x$ac_cv_func_connect" = xyes; then :
 
13513
 
 
13514
fi
 
13515
 
 
13516
    if test $ac_cv_func_connect = no; then
 
13517
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
 
13518
$as_echo_n "checking for connect in -lsocket... " >&6; }
 
13519
if ${ac_cv_lib_socket_connect+:} false; then :
 
13520
  $as_echo_n "(cached) " >&6
 
13521
else
 
13522
  ac_check_lib_save_LIBS=$LIBS
 
13523
LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
 
13524
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
13525
/* end confdefs.h.  */
 
13526
 
 
13527
/* Override any GCC internal prototype to avoid an error.
 
13528
   Use char because int might match the return type of a GCC
 
13529
   builtin and then its argument prototype would still apply.  */
 
13530
#ifdef __cplusplus
 
13531
extern "C"
 
13532
#endif
 
13533
char connect ();
 
13534
int
 
13535
main ()
 
13536
{
 
13537
return connect ();
 
13538
  ;
 
13539
  return 0;
 
13540
}
 
13541
_ACEOF
 
13542
if ac_fn_c_try_link "$LINENO"; then :
 
13543
  ac_cv_lib_socket_connect=yes
 
13544
else
 
13545
  ac_cv_lib_socket_connect=no
 
13546
fi
 
13547
rm -f core conftest.err conftest.$ac_objext \
 
13548
    conftest$ac_exeext conftest.$ac_ext
 
13549
LIBS=$ac_check_lib_save_LIBS
 
13550
fi
 
13551
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
 
13552
$as_echo "$ac_cv_lib_socket_connect" >&6; }
 
13553
if test "x$ac_cv_lib_socket_connect" = xyes; then :
 
13554
  X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
 
13555
fi
 
13556
 
 
13557
    fi
 
13558
 
 
13559
    # Guillermo Gomez says -lposix is necessary on A/UX.
 
13560
    ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
 
13561
if test "x$ac_cv_func_remove" = xyes; then :
 
13562
 
 
13563
fi
 
13564
 
 
13565
    if test $ac_cv_func_remove = no; then
 
13566
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
 
13567
$as_echo_n "checking for remove in -lposix... " >&6; }
 
13568
if ${ac_cv_lib_posix_remove+:} false; then :
 
13569
  $as_echo_n "(cached) " >&6
 
13570
else
 
13571
  ac_check_lib_save_LIBS=$LIBS
 
13572
LIBS="-lposix  $LIBS"
 
13573
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
13574
/* end confdefs.h.  */
 
13575
 
 
13576
/* Override any GCC internal prototype to avoid an error.
 
13577
   Use char because int might match the return type of a GCC
 
13578
   builtin and then its argument prototype would still apply.  */
 
13579
#ifdef __cplusplus
 
13580
extern "C"
 
13581
#endif
 
13582
char remove ();
 
13583
int
 
13584
main ()
 
13585
{
 
13586
return remove ();
 
13587
  ;
 
13588
  return 0;
 
13589
}
 
13590
_ACEOF
 
13591
if ac_fn_c_try_link "$LINENO"; then :
 
13592
  ac_cv_lib_posix_remove=yes
 
13593
else
 
13594
  ac_cv_lib_posix_remove=no
 
13595
fi
 
13596
rm -f core conftest.err conftest.$ac_objext \
 
13597
    conftest$ac_exeext conftest.$ac_ext
 
13598
LIBS=$ac_check_lib_save_LIBS
 
13599
fi
 
13600
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
 
13601
$as_echo "$ac_cv_lib_posix_remove" >&6; }
 
13602
if test "x$ac_cv_lib_posix_remove" = xyes; then :
 
13603
  X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
 
13604
fi
 
13605
 
 
13606
    fi
 
13607
 
 
13608
    # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
 
13609
    ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
 
13610
if test "x$ac_cv_func_shmat" = xyes; then :
 
13611
 
 
13612
fi
 
13613
 
 
13614
    if test $ac_cv_func_shmat = no; then
 
13615
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
 
13616
$as_echo_n "checking for shmat in -lipc... " >&6; }
 
13617
if ${ac_cv_lib_ipc_shmat+:} false; then :
 
13618
  $as_echo_n "(cached) " >&6
 
13619
else
 
13620
  ac_check_lib_save_LIBS=$LIBS
 
13621
LIBS="-lipc  $LIBS"
 
13622
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
13623
/* end confdefs.h.  */
 
13624
 
 
13625
/* Override any GCC internal prototype to avoid an error.
 
13626
   Use char because int might match the return type of a GCC
 
13627
   builtin and then its argument prototype would still apply.  */
 
13628
#ifdef __cplusplus
 
13629
extern "C"
 
13630
#endif
 
13631
char shmat ();
 
13632
int
 
13633
main ()
 
13634
{
 
13635
return shmat ();
 
13636
  ;
 
13637
  return 0;
 
13638
}
 
13639
_ACEOF
 
13640
if ac_fn_c_try_link "$LINENO"; then :
 
13641
  ac_cv_lib_ipc_shmat=yes
 
13642
else
 
13643
  ac_cv_lib_ipc_shmat=no
 
13644
fi
 
13645
rm -f core conftest.err conftest.$ac_objext \
 
13646
    conftest$ac_exeext conftest.$ac_ext
 
13647
LIBS=$ac_check_lib_save_LIBS
 
13648
fi
 
13649
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
 
13650
$as_echo "$ac_cv_lib_ipc_shmat" >&6; }
 
13651
if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
 
13652
  X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
 
13653
fi
 
13654
 
 
13655
    fi
 
13656
  fi
 
13657
 
 
13658
  # Check for libraries that X11R6 Xt/Xaw programs need.
 
13659
  ac_save_LDFLAGS=$LDFLAGS
 
13660
  test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
 
13661
  # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
 
13662
  # check for ICE first), but we must link in the order -lSM -lICE or
 
13663
  # we get undefined symbols.  So assume we have SM if we have ICE.
 
13664
  # These have to be linked with before -lX11, unlike the other
 
13665
  # libraries we check for below, so use a different variable.
 
13666
  # John Interrante, Karl Berry
 
13667
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
 
13668
$as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
 
13669
if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
 
13670
  $as_echo_n "(cached) " >&6
 
13671
else
 
13672
  ac_check_lib_save_LIBS=$LIBS
 
13673
LIBS="-lICE $X_EXTRA_LIBS $LIBS"
 
13674
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
13675
/* end confdefs.h.  */
 
13676
 
 
13677
/* Override any GCC internal prototype to avoid an error.
 
13678
   Use char because int might match the return type of a GCC
 
13679
   builtin and then its argument prototype would still apply.  */
 
13680
#ifdef __cplusplus
 
13681
extern "C"
 
13682
#endif
 
13683
char IceConnectionNumber ();
 
13684
int
 
13685
main ()
 
13686
{
 
13687
return IceConnectionNumber ();
 
13688
  ;
 
13689
  return 0;
 
13690
}
 
13691
_ACEOF
 
13692
if ac_fn_c_try_link "$LINENO"; then :
 
13693
  ac_cv_lib_ICE_IceConnectionNumber=yes
 
13694
else
 
13695
  ac_cv_lib_ICE_IceConnectionNumber=no
 
13696
fi
 
13697
rm -f core conftest.err conftest.$ac_objext \
 
13698
    conftest$ac_exeext conftest.$ac_ext
 
13699
LIBS=$ac_check_lib_save_LIBS
 
13700
fi
 
13701
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
 
13702
$as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
 
13703
if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
 
13704
  X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
 
13705
fi
 
13706
 
 
13707
  LDFLAGS=$ac_save_LDFLAGS
 
13708
 
 
13709
fi
 
13710
 
 
13711
 
 
13712
# Check whether --enable-x11 was given.
 
13713
if test "${enable_x11+set}" = set; then :
 
13714
  enableval=$enable_x11;
 
13715
else
 
13716
  enable_x11=auto
 
13717
fi
 
13718
 
 
13719
 
 
13720
if test x$no_x = xyes ; then
 
13721
        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: X development libraries not found" >&5
 
13722
$as_echo "$as_me: WARNING: X development libraries not found" >&2;}
 
13723
   if false; then
 
13724
  USE_X11_TRUE=
 
13725
  USE_X11_FALSE='#'
 
13726
else
 
13727
  USE_X11_TRUE='#'
 
13728
  USE_X11_FALSE=
 
13729
fi
 
13730
 
 
13731
elif test x$enable_x11 = xauto; then
 
13732
        X_LIBS="$X_LIBS $X_PRE_LIBS -lX11 $X_EXTRA_LIBS"
 
13733
 
 
13734
$as_echo "#define HAVE_X11 1" >>confdefs.h
 
13735
 
 
13736
   if true; then
 
13737
  USE_X11_TRUE=
 
13738
  USE_X11_FALSE='#'
 
13739
else
 
13740
  USE_X11_TRUE='#'
 
13741
  USE_X11_FALSE=
 
13742
fi
 
13743
 
 
13744
else
 
13745
   if false; then
 
13746
  USE_X11_TRUE=
 
13747
  USE_X11_FALSE='#'
 
13748
else
 
13749
  USE_X11_TRUE='#'
 
13750
  USE_X11_FALSE=
 
13751
fi
 
13752
 
 
13753
fi
 
13754
 
 
13755
 
 
13756
 
 
13757
save_LIBS="$LIBS"
 
13758
LIBS=""
 
13759
CPPFLAGS="$CPPFLAGS $X_CFLAGS"
 
13760
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for XTestFakeKeyEvent in -lXtst" >&5
 
13761
$as_echo_n "checking for XTestFakeKeyEvent in -lXtst... " >&6; }
 
13762
if ${ac_cv_lib_Xtst_XTestFakeKeyEvent+:} false; then :
 
13763
  $as_echo_n "(cached) " >&6
 
13764
else
 
13765
  ac_check_lib_save_LIBS=$LIBS
 
13766
LIBS="-lXtst $X_LIBS $LIBS"
 
13767
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
13768
/* end confdefs.h.  */
 
13769
 
 
13770
/* Override any GCC internal prototype to avoid an error.
 
13771
   Use char because int might match the return type of a GCC
 
13772
   builtin and then its argument prototype would still apply.  */
 
13773
#ifdef __cplusplus
 
13774
extern "C"
 
13775
#endif
 
13776
char XTestFakeKeyEvent ();
 
13777
int
 
13778
main ()
 
13779
{
 
13780
return XTestFakeKeyEvent ();
 
13781
  ;
 
13782
  return 0;
 
13783
}
 
13784
_ACEOF
 
13785
if ac_fn_c_try_link "$LINENO"; then :
 
13786
  ac_cv_lib_Xtst_XTestFakeKeyEvent=yes
 
13787
else
 
13788
  ac_cv_lib_Xtst_XTestFakeKeyEvent=no
 
13789
fi
 
13790
rm -f core conftest.err conftest.$ac_objext \
 
13791
    conftest$ac_exeext conftest.$ac_ext
 
13792
LIBS=$ac_check_lib_save_LIBS
 
13793
fi
 
13794
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xtst_XTestFakeKeyEvent" >&5
 
13795
$as_echo "$ac_cv_lib_Xtst_XTestFakeKeyEvent" >&6; }
 
13796
if test "x$ac_cv_lib_Xtst_XTestFakeKeyEvent" = xyes; then :
 
13797
  XTST_LIBS=-lXtst
 
13798
else
 
13799
 
 
13800
        as_fn_error $? "Couldn't find the Xtst library. Check config.log" "$LINENO" 5
 
13801
fi
 
13802
 
 
13803
 
 
13804
LIBS="$LIBS $save_LIBS"
 
13805
 
 
13806
save_LIBS="$LIBS"
 
13807
LIBS=""
 
13808
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
 
13809
$as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
 
13810
if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
 
13811
  $as_echo_n "(cached) " >&6
 
13812
else
 
13813
  ac_check_lib_save_LIBS=$LIBS
 
13814
LIBS="-lX11 $X_LIBS $LIBS"
 
13815
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
13816
/* end confdefs.h.  */
 
13817
 
 
13818
/* Override any GCC internal prototype to avoid an error.
 
13819
   Use char because int might match the return type of a GCC
 
13820
   builtin and then its argument prototype would still apply.  */
 
13821
#ifdef __cplusplus
 
13822
extern "C"
 
13823
#endif
 
13824
char XkbQueryExtension ();
 
13825
int
 
13826
main ()
 
13827
{
 
13828
return XkbQueryExtension ();
 
13829
  ;
 
13830
  return 0;
 
13831
}
 
13832
_ACEOF
 
13833
if ac_fn_c_try_link "$LINENO"; then :
 
13834
  ac_cv_lib_X11_XkbQueryExtension=yes
 
13835
else
 
13836
  ac_cv_lib_X11_XkbQueryExtension=no
 
13837
fi
 
13838
rm -f core conftest.err conftest.$ac_objext \
 
13839
    conftest$ac_exeext conftest.$ac_ext
 
13840
LIBS=$ac_check_lib_save_LIBS
 
13841
fi
 
13842
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
 
13843
$as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
 
13844
if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
 
13845
  have_xkb="maybe"
 
13846
else
 
13847
  have_xkb="no"
 
13848
fi
 
13849
 
 
13850
if test "x$have_xkb" = "xmaybe"; then
 
13851
        ac_fn_c_check_header_mongrel "$LINENO" "X11/XKBlib.h" "ac_cv_header_X11_XKBlib_h" "$ac_includes_default"
 
13852
if test "x$ac_cv_header_X11_XKBlib_h" = xyes; then :
 
13853
  have_xkb=yes
 
13854
fi
 
13855
 
 
13856
 
 
13857
fi
 
13858
if test "x$have_xkb" = "xyes"; then
 
13859
 
 
13860
$as_echo "#define HAVE_XKB /**/" >>confdefs.h
 
13861
 
 
13862
fi
 
13863
LIBS="$LIBS $save_LIBS"
 
13864
 
 
13865
save_LIBS="$LIBS"
 
13866
LIBS=""
 
13867
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for XOpenDevice in -lXi" >&5
 
13868
$as_echo_n "checking for XOpenDevice in -lXi... " >&6; }
 
13869
if ${ac_cv_lib_Xi_XOpenDevice+:} false; then :
 
13870
  $as_echo_n "(cached) " >&6
 
13871
else
 
13872
  ac_check_lib_save_LIBS=$LIBS
 
13873
LIBS="-lXi $X_LIBS $LIBS"
 
13874
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
13875
/* end confdefs.h.  */
 
13876
 
 
13877
/* Override any GCC internal prototype to avoid an error.
 
13878
   Use char because int might match the return type of a GCC
 
13879
   builtin and then its argument prototype would still apply.  */
 
13880
#ifdef __cplusplus
 
13881
extern "C"
 
13882
#endif
 
13883
char XOpenDevice ();
 
13884
int
 
13885
main ()
 
13886
{
 
13887
return XOpenDevice ();
 
13888
  ;
 
13889
  return 0;
 
13890
}
 
13891
_ACEOF
 
13892
if ac_fn_c_try_link "$LINENO"; then :
 
13893
  ac_cv_lib_Xi_XOpenDevice=yes
 
13894
else
 
13895
  ac_cv_lib_Xi_XOpenDevice=no
 
13896
fi
 
13897
rm -f core conftest.err conftest.$ac_objext \
 
13898
    conftest$ac_exeext conftest.$ac_ext
 
13899
LIBS=$ac_check_lib_save_LIBS
 
13900
fi
 
13901
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xi_XOpenDevice" >&5
 
13902
$as_echo "$ac_cv_lib_Xi_XOpenDevice" >&6; }
 
13903
if test "x$ac_cv_lib_Xi_XOpenDevice" = xyes; then :
 
13904
  have_xinput="maybe"
 
13905
else
 
13906
  have_xinput="no"
 
13907
fi
 
13908
 
 
13909
if test "x$have_xinput" = "xmaybe"; then
 
13910
        save_LIBS="$LIBS"
 
13911
        LIBS="$LIBS $X_LIBS"
 
13912
        ac_fn_c_check_header_mongrel "$LINENO" "X11/extensions/XInput.h" "ac_cv_header_X11_extensions_XInput_h" "$ac_includes_default"
 
13913
if test "x$ac_cv_header_X11_extensions_XInput_h" = xyes; then :
 
13914
  have_xinput="yes"
 
13915
fi
 
13916
 
 
13917
 
 
13918
        LIBS="$save_LIBS"
 
13919
fi
 
13920
if test "x$have_xinput" != "xyes"; then
 
13921
        as_fn_error $? "Couldn't find the XInput library. Check config.log for details" "$LINENO" 5
 
13922
fi
 
13923
XINPUT_LIBS="-lXi"
 
13924
 
 
13925
LIBS="$LIBS $save_LIBS"
 
13926
 
 
13927
save_LIBS="$LIBS"
 
13928
LIBS=""
 
13929
# Check whether --enable-xevie was given.
 
13930
if test "${enable_xevie+set}" = set; then :
 
13931
  enableval=$enable_xevie; enable_xevie="$enableval"
 
13932
else
 
13933
  enable_xevie=yes
 
13934
fi
 
13935
 
 
13936
 
 
13937
if test -z "$backend_set"; then
 
13938
  enable_x11_backend=yes
 
13939
fi
 
13940
 
 
13941
if test x$enable_xevie = xyes ; then
 
13942
        have_xevie=
 
13943
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XevieStart in -lXext" >&5
 
13944
$as_echo_n "checking for XevieStart in -lXext... " >&6; }
 
13945
if ${ac_cv_lib_Xext_XevieStart+:} false; then :
 
13946
  $as_echo_n "(cached) " >&6
 
13947
else
 
13948
  ac_check_lib_save_LIBS=$LIBS
 
13949
LIBS="-lXext $X_LIBS $LIBS"
 
13950
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
13951
/* end confdefs.h.  */
 
13952
 
 
13953
/* Override any GCC internal prototype to avoid an error.
 
13954
   Use char because int might match the return type of a GCC
 
13955
   builtin and then its argument prototype would still apply.  */
 
13956
#ifdef __cplusplus
 
13957
extern "C"
 
13958
#endif
 
13959
char XevieStart ();
 
13960
int
 
13961
main ()
 
13962
{
 
13963
return XevieStart ();
 
13964
  ;
 
13965
  return 0;
 
13966
}
 
13967
_ACEOF
 
13968
if ac_fn_c_try_link "$LINENO"; then :
 
13969
  ac_cv_lib_Xext_XevieStart=yes
 
13970
else
 
13971
  ac_cv_lib_Xext_XevieStart=no
 
13972
fi
 
13973
rm -f core conftest.err conftest.$ac_objext \
 
13974
    conftest$ac_exeext conftest.$ac_ext
 
13975
LIBS=$ac_check_lib_save_LIBS
 
13976
fi
 
13977
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XevieStart" >&5
 
13978
$as_echo "$ac_cv_lib_Xext_XevieStart" >&6; }
 
13979
if test "x$ac_cv_lib_Xext_XevieStart" = xyes; then :
 
13980
  have_xevie="yes"
 
13981
else
 
13982
  have_xevie="no"
 
13983
fi
 
13984
 
 
13985
 
 
13986
        if test "x$have_xevie" = "xyes"; then
 
13987
                XEVIE_LIBS="-lXext"
 
13988
 
 
13989
$as_echo "#define HAVE_XEVIE /**/" >>confdefs.h
 
13990
 
 
13991
        else
 
13992
           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XevieQueryVersion in -lXevie" >&5
 
13993
$as_echo_n "checking for XevieQueryVersion in -lXevie... " >&6; }
 
13994
if ${ac_cv_lib_Xevie_XevieQueryVersion+:} false; then :
 
13995
  $as_echo_n "(cached) " >&6
 
13996
else
 
13997
  ac_check_lib_save_LIBS=$LIBS
 
13998
LIBS="-lXevie $X_LIBS $LIBS"
 
13999
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
14000
/* end confdefs.h.  */
 
14001
 
 
14002
/* Override any GCC internal prototype to avoid an error.
 
14003
   Use char because int might match the return type of a GCC
 
14004
   builtin and then its argument prototype would still apply.  */
 
14005
#ifdef __cplusplus
 
14006
extern "C"
 
14007
#endif
 
14008
char XevieQueryVersion ();
 
14009
int
 
14010
main ()
 
14011
{
 
14012
return XevieQueryVersion ();
 
14013
  ;
 
14014
  return 0;
 
14015
}
 
14016
_ACEOF
 
14017
if ac_fn_c_try_link "$LINENO"; then :
 
14018
  ac_cv_lib_Xevie_XevieQueryVersion=yes
 
14019
else
 
14020
  ac_cv_lib_Xevie_XevieQueryVersion=no
 
14021
fi
 
14022
rm -f core conftest.err conftest.$ac_objext \
 
14023
    conftest$ac_exeext conftest.$ac_ext
 
14024
LIBS=$ac_check_lib_save_LIBS
 
14025
fi
 
14026
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xevie_XevieQueryVersion" >&5
 
14027
$as_echo "$ac_cv_lib_Xevie_XevieQueryVersion" >&6; }
 
14028
if test "x$ac_cv_lib_Xevie_XevieQueryVersion" = xyes; then :
 
14029
  have_xevie="maybe"
 
14030
fi
 
14031
 
 
14032
           if test "x$have_xevie" = "xmaybe"; then
 
14033
              ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xevie.h" "ac_cv_header_X11_extensions_Xevie_h" "#include <X11/Xlib.h>
 
14034
 
 
14035
"
 
14036
if test "x$ac_cv_header_X11_extensions_Xevie_h" = xyes; then :
 
14037
  have_xevie=yes
 
14038
fi
 
14039
 
 
14040
 
 
14041
              if test "x$have_xevie" = "xyes"; then
 
14042
                      XEVIE_LIBS="-lXext -lXevie"
 
14043
 
 
14044
$as_echo "#define HAVE_XEVIE /**/" >>confdefs.h
 
14045
 
 
14046
              fi
 
14047
           fi
 
14048
        fi
 
14049
 
 
14050
fi
 
14051
LIBS="$LIBS $save_LIBS"
 
14052
 
 
14053
 
 
14054
# Check whether --with-dbus_daemondir was given.
 
14055
if test "${with_dbus_daemondir+set}" = set; then :
 
14056
  withval=$with_dbus_daemondir; DBUS_DAEMON="$with_dbus_daemondir/dbus-daemon"
 
14057
else
 
14058
  # Extract the first word of "dbus-daemon", so it can be a program name with args.
 
14059
set dummy dbus-daemon; ac_word=$2
 
14060
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
14061
$as_echo_n "checking for $ac_word... " >&6; }
 
14062
if ${ac_cv_path_DBUS_DAEMON+:} false; then :
 
14063
  $as_echo_n "(cached) " >&6
 
14064
else
 
14065
  case $DBUS_DAEMON in
 
14066
  [\\/]* | ?:[\\/]*)
 
14067
  ac_cv_path_DBUS_DAEMON="$DBUS_DAEMON" # Let the user override the test with a path.
 
14068
  ;;
 
14069
  *)
 
14070
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
14071
for as_dir in $PATH$PATH_SEPARATOR/sbin$PATH_SEPARATOR/usr/sbin$PATH_SEPARATOR/libexec$PATH_SEPARATOR/usr/libexec$PATH_SEPARATOR/usr/local/bin$PATH_SEPARATOR/usr/pkg/bin
 
14072
do
 
14073
  IFS=$as_save_IFS
 
14074
  test -z "$as_dir" && as_dir=.
 
14075
    for ac_exec_ext in '' $ac_executable_extensions; do
 
14076
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
14077
    ac_cv_path_DBUS_DAEMON="$as_dir/$ac_word$ac_exec_ext"
 
14078
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
14079
    break 2
 
14080
  fi
 
14081
done
 
14082
  done
 
14083
IFS=$as_save_IFS
 
14084
 
 
14085
  test -z "$ac_cv_path_DBUS_DAEMON" && ac_cv_path_DBUS_DAEMON="XXXDBUSDAEMONNOTFOUND"
 
14086
  ;;
 
14087
esac
 
14088
fi
 
14089
DBUS_DAEMON=$ac_cv_path_DBUS_DAEMON
 
14090
if test -n "$DBUS_DAEMON"; then
 
14091
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DBUS_DAEMON" >&5
 
14092
$as_echo "$DBUS_DAEMON" >&6; }
 
14093
else
 
14094
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
14095
$as_echo "no" >&6; }
 
14096
fi
 
14097
 
 
14098
 
 
14099
 
 
14100
fi
 
14101
 
 
14102
if test "$DBUS_DAEMON" = "XXXDBUSDAEMONNOTFOUND"; then
 
14103
        DBUS_DAEMON = "$bindir/dbus-daemon"
 
14104
        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: at-spi2 relies on dbus, and the dbus-daemon was not found" >&5
 
14105
$as_echo "$as_me: WARNING: at-spi2 relies on dbus, and the dbus-daemon was not found" >&2;}
 
14106
        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: we assume that it will be installed in \"$bindir\"" >&5
 
14107
$as_echo "$as_me: WARNING: we assume that it will be installed in \"$bindir\"" >&2;}
 
14108
fi
 
14109
 
 
14110
 
 
14111
 
 
14112
# Check whether --with-dbus-services was given.
 
14113
if test "${with_dbus_services+set}" = set; then :
 
14114
  withval=$with_dbus_services;
 
14115
fi
 
14116
 
 
14117
if ! test -z "$with_dbus_services" ; then
 
14118
           DBUS_SERVICES_DIR="$with_dbus_services"
 
14119
else
 
14120
           DBUS_SERVICES_DIR="$datadir/dbus-1/services"
 
14121
fi
 
14122
 
 
14123
 
 
14124
# Extract the first word of "glib-mkenums", so it can be a program name with args.
 
14125
set dummy glib-mkenums; ac_word=$2
 
14126
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
14127
$as_echo_n "checking for $ac_word... " >&6; }
 
14128
if ${ac_cv_path_GLIB_MKENUMS+:} false; then :
 
14129
  $as_echo_n "(cached) " >&6
 
14130
else
 
14131
  case $GLIB_MKENUMS in
 
14132
  [\\/]* | ?:[\\/]*)
 
14133
  ac_cv_path_GLIB_MKENUMS="$GLIB_MKENUMS" # Let the user override the test with a path.
 
14134
  ;;
 
14135
  *)
 
14136
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
14137
for as_dir in $PATH
 
14138
do
 
14139
  IFS=$as_save_IFS
 
14140
  test -z "$as_dir" && as_dir=.
 
14141
    for ac_exec_ext in '' $ac_executable_extensions; do
 
14142
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
14143
    ac_cv_path_GLIB_MKENUMS="$as_dir/$ac_word$ac_exec_ext"
 
14144
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
14145
    break 2
 
14146
  fi
 
14147
done
 
14148
  done
 
14149
IFS=$as_save_IFS
 
14150
 
 
14151
  ;;
 
14152
esac
 
14153
fi
 
14154
GLIB_MKENUMS=$ac_cv_path_GLIB_MKENUMS
 
14155
if test -n "$GLIB_MKENUMS"; then
 
14156
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GLIB_MKENUMS" >&5
 
14157
$as_echo "$GLIB_MKENUMS" >&6; }
 
14158
else
 
14159
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
14160
$as_echo "no" >&6; }
 
14161
fi
 
14162
 
 
14163
 
 
14164
 
 
14165
 
 
14166
 
 
14167
 
 
14168
                # Check whether --enable-introspection was given.
 
14169
if test "${enable_introspection+set}" = set; then :
 
14170
  enableval=$enable_introspection;
 
14171
else
 
14172
  enable_introspection=auto
 
14173
fi
 
14174
 
 
14175
 
 
14176
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gobject-introspection" >&5
 
14177
$as_echo_n "checking for gobject-introspection... " >&6; }
 
14178
 
 
14179
        case $enable_introspection in #(
 
14180
  no) :
 
14181
            found_introspection="no (disabled, use --enable-introspection to enable)"
 
14182
     ;; #(
 
14183
      yes) :
 
14184
            if test -n "$PKG_CONFIG" && \
 
14185
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-introspection-1.0\""; } >&5
 
14186
  ($PKG_CONFIG --exists --print-errors "gobject-introspection-1.0") 2>&5
 
14187
  ac_status=$?
 
14188
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
14189
  test $ac_status = 0; }; then
 
14190
  :
 
14191
else
 
14192
  as_fn_error $? "gobject-introspection-1.0 is not installed" "$LINENO" 5
 
14193
fi
 
14194
        if test -n "$PKG_CONFIG" && \
 
14195
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-introspection-1.0 >= 0.9.6\""; } >&5
 
14196
  ($PKG_CONFIG --exists --print-errors "gobject-introspection-1.0 >= 0.9.6") 2>&5
 
14197
  ac_status=$?
 
14198
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
14199
  test $ac_status = 0; }; then
 
14200
  found_introspection=yes
 
14201
else
 
14202
  as_fn_error $? "You need to have gobject-introspection >= 0.9.6 installed to build at-spi2-core" "$LINENO" 5
 
14203
fi
 
14204
     ;; #(
 
14205
      auto) :
 
14206
            if test -n "$PKG_CONFIG" && \
 
14207
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-introspection-1.0 >= 0.9.6\""; } >&5
 
14208
  ($PKG_CONFIG --exists --print-errors "gobject-introspection-1.0 >= 0.9.6") 2>&5
 
14209
  ac_status=$?
 
14210
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
14211
  test $ac_status = 0; }; then
 
14212
  found_introspection=yes
 
14213
else
 
14214
  found_introspection=no
 
14215
fi
 
14216
     ;; #(
 
14217
  *) :
 
14218
                as_fn_error $? "invalid argument passed to --enable-introspection, should be one of [no/auto/yes]" "$LINENO" 5
 
14219
     ;;
 
14220
esac
 
14221
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $found_introspection" >&5
 
14222
$as_echo "$found_introspection" >&6; }
 
14223
 
 
14224
    INTROSPECTION_SCANNER=
 
14225
    INTROSPECTION_COMPILER=
 
14226
    INTROSPECTION_GENERATE=
 
14227
    INTROSPECTION_GIRDIR=
 
14228
    INTROSPECTION_TYPELIBDIR=
 
14229
    if test "x$found_introspection" = "xyes"; then
 
14230
       INTROSPECTION_SCANNER=`$PKG_CONFIG --variable=g_ir_scanner gobject-introspection-1.0`
 
14231
       INTROSPECTION_COMPILER=`$PKG_CONFIG --variable=g_ir_compiler gobject-introspection-1.0`
 
14232
       INTROSPECTION_GENERATE=`$PKG_CONFIG --variable=g_ir_generate gobject-introspection-1.0`
 
14233
       INTROSPECTION_GIRDIR=`$PKG_CONFIG --variable=girdir gobject-introspection-1.0`
 
14234
       INTROSPECTION_TYPELIBDIR="$($PKG_CONFIG --variable=typelibdir gobject-introspection-1.0)"
 
14235
       INTROSPECTION_CFLAGS=`$PKG_CONFIG --cflags gobject-introspection-1.0`
 
14236
       INTROSPECTION_LIBS=`$PKG_CONFIG --libs gobject-introspection-1.0`
 
14237
       INTROSPECTION_MAKEFILE=`$PKG_CONFIG --variable=datadir gobject-introspection-1.0`/gobject-introspection-1.0/Makefile.introspection
 
14238
    fi
 
14239
 
 
14240
 
 
14241
 
 
14242
 
 
14243
 
 
14244
 
 
14245
 
 
14246
 
 
14247
 
 
14248
     if test "x$found_introspection" = "xyes"; then
 
14249
  HAVE_INTROSPECTION_TRUE=
 
14250
  HAVE_INTROSPECTION_FALSE='#'
 
14251
else
 
14252
  HAVE_INTROSPECTION_TRUE='#'
 
14253
  HAVE_INTROSPECTION_FALSE=
 
14254
fi
 
14255
 
 
14256
 
 
14257
 
 
14258
 
 
14259
 
 
14260
 
 
14261
orig_CPPFLAGS=$CPPFLAGS
 
14262
CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
 
14263
 
 
14264
# The cast to long int works around a bug in the HP C Compiler,
 
14265
# see AC_CHECK_SIZEOF for more information.
 
14266
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking alignment of char" >&5
 
14267
$as_echo_n "checking alignment of char... " >&6; }
 
14268
if ${ac_cv_alignof_char+:} false; then :
 
14269
  $as_echo_n "(cached) " >&6
 
14270
else
 
14271
  if ac_fn_c_compute_int "$LINENO" "(long int) offsetof (ac__type_alignof_, y)" "ac_cv_alignof_char"        "
 
14272
#include <stdio.h>
 
14273
#include <stdlib.h>
 
14274
#define DBUS_API_SUBJECT_TO_CHANGE
 
14275
#include <dbus/dbus.h>
 
14276
typedef struct {char s1;} dbind_struct;
 
14277
typedef void *dbind_pointer;
 
14278
 
 
14279
 
 
14280
#ifndef offsetof
 
14281
# define offsetof(type, member) ((char *) &((type *) 0)->member - (char *) 0)
 
14282
#endif
 
14283
typedef struct { char x; char y; } ac__type_alignof_;"; then :
 
14284
 
 
14285
else
 
14286
  if test "$ac_cv_type_char" = yes; then
 
14287
     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
14288
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
14289
as_fn_error 77 "cannot compute alignment of char
 
14290
See \`config.log' for more details" "$LINENO" 5; }
 
14291
   else
 
14292
     ac_cv_alignof_char=0
 
14293
   fi
 
14294
fi
 
14295
 
 
14296
fi
 
14297
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_alignof_char" >&5
 
14298
$as_echo "$ac_cv_alignof_char" >&6; }
 
14299
 
 
14300
 
 
14301
 
 
14302
cat >>confdefs.h <<_ACEOF
 
14303
#define ALIGNOF_CHAR $ac_cv_alignof_char
 
14304
_ACEOF
 
14305
 
 
14306
 
 
14307
 
 
14308
DBIND_ALIGNOF_CHAR=$ac_cv_alignof_char
 
14309
 
 
14310
 
 
14311
 
 
14312
 
 
14313
# The cast to long int works around a bug in the HP C Compiler,
 
14314
# see AC_CHECK_SIZEOF for more information.
 
14315
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking alignment of dbus_bool_t" >&5
 
14316
$as_echo_n "checking alignment of dbus_bool_t... " >&6; }
 
14317
if ${ac_cv_alignof_dbus_bool_t+:} false; then :
 
14318
  $as_echo_n "(cached) " >&6
 
14319
else
 
14320
  if ac_fn_c_compute_int "$LINENO" "(long int) offsetof (ac__type_alignof_, y)" "ac_cv_alignof_dbus_bool_t"        "
 
14321
#include <stdio.h>
 
14322
#include <stdlib.h>
 
14323
#define DBUS_API_SUBJECT_TO_CHANGE
 
14324
#include <dbus/dbus.h>
 
14325
typedef struct {char s1;} dbind_struct;
 
14326
typedef void *dbind_pointer;
 
14327
 
 
14328
 
 
14329
#ifndef offsetof
 
14330
# define offsetof(type, member) ((char *) &((type *) 0)->member - (char *) 0)
 
14331
#endif
 
14332
typedef struct { char x; dbus_bool_t y; } ac__type_alignof_;"; then :
 
14333
 
 
14334
else
 
14335
  if test "$ac_cv_type_dbus_bool_t" = yes; then
 
14336
     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
14337
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
14338
as_fn_error 77 "cannot compute alignment of dbus_bool_t
 
14339
See \`config.log' for more details" "$LINENO" 5; }
 
14340
   else
 
14341
     ac_cv_alignof_dbus_bool_t=0
 
14342
   fi
 
14343
fi
 
14344
 
 
14345
fi
 
14346
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_alignof_dbus_bool_t" >&5
 
14347
$as_echo "$ac_cv_alignof_dbus_bool_t" >&6; }
 
14348
 
 
14349
 
 
14350
 
 
14351
cat >>confdefs.h <<_ACEOF
 
14352
#define ALIGNOF_DBUS_BOOL_T $ac_cv_alignof_dbus_bool_t
 
14353
_ACEOF
 
14354
 
 
14355
 
 
14356
 
 
14357
DBIND_ALIGNOF_DBUS_BOOL_T=$ac_cv_alignof_dbus_bool_t
 
14358
 
 
14359
 
 
14360
 
 
14361
 
 
14362
# The cast to long int works around a bug in the HP C Compiler,
 
14363
# see AC_CHECK_SIZEOF for more information.
 
14364
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking alignment of dbus_int16_t" >&5
 
14365
$as_echo_n "checking alignment of dbus_int16_t... " >&6; }
 
14366
if ${ac_cv_alignof_dbus_int16_t+:} false; then :
 
14367
  $as_echo_n "(cached) " >&6
 
14368
else
 
14369
  if ac_fn_c_compute_int "$LINENO" "(long int) offsetof (ac__type_alignof_, y)" "ac_cv_alignof_dbus_int16_t"        "
 
14370
#include <stdio.h>
 
14371
#include <stdlib.h>
 
14372
#define DBUS_API_SUBJECT_TO_CHANGE
 
14373
#include <dbus/dbus.h>
 
14374
typedef struct {char s1;} dbind_struct;
 
14375
typedef void *dbind_pointer;
 
14376
 
 
14377
 
 
14378
#ifndef offsetof
 
14379
# define offsetof(type, member) ((char *) &((type *) 0)->member - (char *) 0)
 
14380
#endif
 
14381
typedef struct { char x; dbus_int16_t y; } ac__type_alignof_;"; then :
 
14382
 
 
14383
else
 
14384
  if test "$ac_cv_type_dbus_int16_t" = yes; then
 
14385
     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
14386
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
14387
as_fn_error 77 "cannot compute alignment of dbus_int16_t
 
14388
See \`config.log' for more details" "$LINENO" 5; }
 
14389
   else
 
14390
     ac_cv_alignof_dbus_int16_t=0
 
14391
   fi
 
14392
fi
 
14393
 
 
14394
fi
 
14395
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_alignof_dbus_int16_t" >&5
 
14396
$as_echo "$ac_cv_alignof_dbus_int16_t" >&6; }
 
14397
 
 
14398
 
 
14399
 
 
14400
cat >>confdefs.h <<_ACEOF
 
14401
#define ALIGNOF_DBUS_INT16_T $ac_cv_alignof_dbus_int16_t
 
14402
_ACEOF
 
14403
 
 
14404
 
 
14405
 
 
14406
DBIND_ALIGNOF_DBUS_INT16_T=$ac_cv_alignof_dbus_int16_t
 
14407
 
 
14408
 
 
14409
 
 
14410
 
 
14411
# The cast to long int works around a bug in the HP C Compiler,
 
14412
# see AC_CHECK_SIZEOF for more information.
 
14413
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking alignment of dbus_int32_t" >&5
 
14414
$as_echo_n "checking alignment of dbus_int32_t... " >&6; }
 
14415
if ${ac_cv_alignof_dbus_int32_t+:} false; then :
 
14416
  $as_echo_n "(cached) " >&6
 
14417
else
 
14418
  if ac_fn_c_compute_int "$LINENO" "(long int) offsetof (ac__type_alignof_, y)" "ac_cv_alignof_dbus_int32_t"        "
 
14419
#include <stdio.h>
 
14420
#include <stdlib.h>
 
14421
#define DBUS_API_SUBJECT_TO_CHANGE
 
14422
#include <dbus/dbus.h>
 
14423
typedef struct {char s1;} dbind_struct;
 
14424
typedef void *dbind_pointer;
 
14425
 
 
14426
 
 
14427
#ifndef offsetof
 
14428
# define offsetof(type, member) ((char *) &((type *) 0)->member - (char *) 0)
 
14429
#endif
 
14430
typedef struct { char x; dbus_int32_t y; } ac__type_alignof_;"; then :
 
14431
 
 
14432
else
 
14433
  if test "$ac_cv_type_dbus_int32_t" = yes; then
 
14434
     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
14435
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
14436
as_fn_error 77 "cannot compute alignment of dbus_int32_t
 
14437
See \`config.log' for more details" "$LINENO" 5; }
 
14438
   else
 
14439
     ac_cv_alignof_dbus_int32_t=0
 
14440
   fi
 
14441
fi
 
14442
 
 
14443
fi
 
14444
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_alignof_dbus_int32_t" >&5
 
14445
$as_echo "$ac_cv_alignof_dbus_int32_t" >&6; }
 
14446
 
 
14447
 
 
14448
 
 
14449
cat >>confdefs.h <<_ACEOF
 
14450
#define ALIGNOF_DBUS_INT32_T $ac_cv_alignof_dbus_int32_t
 
14451
_ACEOF
 
14452
 
 
14453
 
 
14454
 
 
14455
DBIND_ALIGNOF_DBUS_INT32_T=$ac_cv_alignof_dbus_int32_t
 
14456
 
 
14457
 
 
14458
 
 
14459
 
 
14460
# The cast to long int works around a bug in the HP C Compiler,
 
14461
# see AC_CHECK_SIZEOF for more information.
 
14462
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking alignment of dbus_int64_t" >&5
 
14463
$as_echo_n "checking alignment of dbus_int64_t... " >&6; }
 
14464
if ${ac_cv_alignof_dbus_int64_t+:} false; then :
 
14465
  $as_echo_n "(cached) " >&6
 
14466
else
 
14467
  if ac_fn_c_compute_int "$LINENO" "(long int) offsetof (ac__type_alignof_, y)" "ac_cv_alignof_dbus_int64_t"        "
 
14468
#include <stdio.h>
 
14469
#include <stdlib.h>
 
14470
#define DBUS_API_SUBJECT_TO_CHANGE
 
14471
#include <dbus/dbus.h>
 
14472
typedef struct {char s1;} dbind_struct;
 
14473
typedef void *dbind_pointer;
 
14474
 
 
14475
 
 
14476
#ifndef offsetof
 
14477
# define offsetof(type, member) ((char *) &((type *) 0)->member - (char *) 0)
 
14478
#endif
 
14479
typedef struct { char x; dbus_int64_t y; } ac__type_alignof_;"; then :
 
14480
 
 
14481
else
 
14482
  if test "$ac_cv_type_dbus_int64_t" = yes; then
 
14483
     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
14484
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
14485
as_fn_error 77 "cannot compute alignment of dbus_int64_t
 
14486
See \`config.log' for more details" "$LINENO" 5; }
 
14487
   else
 
14488
     ac_cv_alignof_dbus_int64_t=0
 
14489
   fi
 
14490
fi
 
14491
 
 
14492
fi
 
14493
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_alignof_dbus_int64_t" >&5
 
14494
$as_echo "$ac_cv_alignof_dbus_int64_t" >&6; }
 
14495
 
 
14496
 
 
14497
 
 
14498
cat >>confdefs.h <<_ACEOF
 
14499
#define ALIGNOF_DBUS_INT64_T $ac_cv_alignof_dbus_int64_t
 
14500
_ACEOF
 
14501
 
 
14502
 
 
14503
 
 
14504
DBIND_ALIGNOF_DBUS_INT64_T=$ac_cv_alignof_dbus_int64_t
 
14505
 
 
14506
 
 
14507
 
 
14508
 
 
14509
# The cast to long int works around a bug in the HP C Compiler,
 
14510
# see AC_CHECK_SIZEOF for more information.
 
14511
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking alignment of double" >&5
 
14512
$as_echo_n "checking alignment of double... " >&6; }
 
14513
if ${ac_cv_alignof_double+:} false; then :
 
14514
  $as_echo_n "(cached) " >&6
 
14515
else
 
14516
  if ac_fn_c_compute_int "$LINENO" "(long int) offsetof (ac__type_alignof_, y)" "ac_cv_alignof_double"        "
 
14517
#include <stdio.h>
 
14518
#include <stdlib.h>
 
14519
#define DBUS_API_SUBJECT_TO_CHANGE
 
14520
#include <dbus/dbus.h>
 
14521
typedef struct {char s1;} dbind_struct;
 
14522
typedef void *dbind_pointer;
 
14523
 
 
14524
 
 
14525
#ifndef offsetof
 
14526
# define offsetof(type, member) ((char *) &((type *) 0)->member - (char *) 0)
 
14527
#endif
 
14528
typedef struct { char x; double y; } ac__type_alignof_;"; then :
 
14529
 
 
14530
else
 
14531
  if test "$ac_cv_type_double" = yes; then
 
14532
     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
14533
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
14534
as_fn_error 77 "cannot compute alignment of double
 
14535
See \`config.log' for more details" "$LINENO" 5; }
 
14536
   else
 
14537
     ac_cv_alignof_double=0
 
14538
   fi
 
14539
fi
 
14540
 
 
14541
fi
 
14542
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_alignof_double" >&5
 
14543
$as_echo "$ac_cv_alignof_double" >&6; }
 
14544
 
 
14545
 
 
14546
 
 
14547
cat >>confdefs.h <<_ACEOF
 
14548
#define ALIGNOF_DOUBLE $ac_cv_alignof_double
 
14549
_ACEOF
 
14550
 
 
14551
 
 
14552
 
 
14553
DBIND_ALIGNOF_DOUBLE=$ac_cv_alignof_double
 
14554
 
 
14555
 
 
14556
 
 
14557
 
 
14558
# The cast to long int works around a bug in the HP C Compiler,
 
14559
# see AC_CHECK_SIZEOF for more information.
 
14560
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking alignment of dbind_pointer" >&5
 
14561
$as_echo_n "checking alignment of dbind_pointer... " >&6; }
 
14562
if ${ac_cv_alignof_dbind_pointer+:} false; then :
 
14563
  $as_echo_n "(cached) " >&6
 
14564
else
 
14565
  if ac_fn_c_compute_int "$LINENO" "(long int) offsetof (ac__type_alignof_, y)" "ac_cv_alignof_dbind_pointer"        "
 
14566
#include <stdio.h>
 
14567
#include <stdlib.h>
 
14568
#define DBUS_API_SUBJECT_TO_CHANGE
 
14569
#include <dbus/dbus.h>
 
14570
typedef struct {char s1;} dbind_struct;
 
14571
typedef void *dbind_pointer;
 
14572
 
 
14573
 
 
14574
#ifndef offsetof
 
14575
# define offsetof(type, member) ((char *) &((type *) 0)->member - (char *) 0)
 
14576
#endif
 
14577
typedef struct { char x; dbind_pointer y; } ac__type_alignof_;"; then :
 
14578
 
 
14579
else
 
14580
  if test "$ac_cv_type_dbind_pointer" = yes; then
 
14581
     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
14582
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
14583
as_fn_error 77 "cannot compute alignment of dbind_pointer
 
14584
See \`config.log' for more details" "$LINENO" 5; }
 
14585
   else
 
14586
     ac_cv_alignof_dbind_pointer=0
 
14587
   fi
 
14588
fi
 
14589
 
 
14590
fi
 
14591
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_alignof_dbind_pointer" >&5
 
14592
$as_echo "$ac_cv_alignof_dbind_pointer" >&6; }
 
14593
 
 
14594
 
 
14595
 
 
14596
cat >>confdefs.h <<_ACEOF
 
14597
#define ALIGNOF_DBIND_POINTER $ac_cv_alignof_dbind_pointer
 
14598
_ACEOF
 
14599
 
 
14600
 
 
14601
 
 
14602
DBIND_ALIGNOF_DBIND_POINTER=$ac_cv_alignof_dbind_pointer
 
14603
 
 
14604
 
 
14605
 
 
14606
 
 
14607
# The cast to long int works around a bug in the HP C Compiler,
 
14608
# see AC_CHECK_SIZEOF for more information.
 
14609
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking alignment of dbind_struct" >&5
 
14610
$as_echo_n "checking alignment of dbind_struct... " >&6; }
 
14611
if ${ac_cv_alignof_dbind_struct+:} false; then :
 
14612
  $as_echo_n "(cached) " >&6
 
14613
else
 
14614
  if ac_fn_c_compute_int "$LINENO" "(long int) offsetof (ac__type_alignof_, y)" "ac_cv_alignof_dbind_struct"        "
 
14615
#include <stdio.h>
 
14616
#include <stdlib.h>
 
14617
#define DBUS_API_SUBJECT_TO_CHANGE
 
14618
#include <dbus/dbus.h>
 
14619
typedef struct {char s1;} dbind_struct;
 
14620
typedef void *dbind_pointer;
 
14621
 
 
14622
 
 
14623
#ifndef offsetof
 
14624
# define offsetof(type, member) ((char *) &((type *) 0)->member - (char *) 0)
 
14625
#endif
 
14626
typedef struct { char x; dbind_struct y; } ac__type_alignof_;"; then :
 
14627
 
 
14628
else
 
14629
  if test "$ac_cv_type_dbind_struct" = yes; then
 
14630
     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
14631
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
14632
as_fn_error 77 "cannot compute alignment of dbind_struct
 
14633
See \`config.log' for more details" "$LINENO" 5; }
 
14634
   else
 
14635
     ac_cv_alignof_dbind_struct=0
 
14636
   fi
 
14637
fi
 
14638
 
 
14639
fi
 
14640
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_alignof_dbind_struct" >&5
 
14641
$as_echo "$ac_cv_alignof_dbind_struct" >&6; }
 
14642
 
 
14643
 
 
14644
 
 
14645
cat >>confdefs.h <<_ACEOF
 
14646
#define ALIGNOF_DBIND_STRUCT $ac_cv_alignof_dbind_struct
 
14647
_ACEOF
 
14648
 
 
14649
 
 
14650
 
 
14651
DBIND_ALIGNOF_DBIND_STRUCT=$ac_cv_alignof_dbind_struct
 
14652
 
 
14653
 
 
14654
 
 
14655
 
 
14656
 
 
14657
 
 
14658
 
 
14659
  gtk_doc_requires="gtk-doc >= 1.09"
 
14660
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gtk-doc" >&5
 
14661
$as_echo_n "checking for gtk-doc... " >&6; }
 
14662
  if test -n "$PKG_CONFIG" && \
 
14663
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$gtk_doc_requires\""; } >&5
 
14664
  ($PKG_CONFIG --exists --print-errors "$gtk_doc_requires") 2>&5
 
14665
  ac_status=$?
 
14666
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
14667
  test $ac_status = 0; }; then
 
14668
  have_gtk_doc=yes
 
14669
else
 
14670
  have_gtk_doc=no
 
14671
fi
 
14672
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_gtk_doc" >&5
 
14673
$as_echo "$have_gtk_doc" >&6; }
 
14674
 
 
14675
  if test "$have_gtk_doc" = "no"; then
 
14676
      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:
 
14677
  You will not be able to create source packages with 'make dist'
 
14678
  because $gtk_doc_requires is not found." >&5
 
14679
$as_echo "$as_me: WARNING:
 
14680
  You will not be able to create source packages with 'make dist'
 
14681
  because $gtk_doc_requires is not found." >&2;}
 
14682
  fi
 
14683
 
 
14684
            # Extract the first word of "gtkdoc-check", so it can be a program name with args.
 
14685
set dummy gtkdoc-check; ac_word=$2
 
14686
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
14687
$as_echo_n "checking for $ac_word... " >&6; }
 
14688
if ${ac_cv_prog_GTKDOC_CHECK+:} false; then :
 
14689
  $as_echo_n "(cached) " >&6
 
14690
else
 
14691
  if test -n "$GTKDOC_CHECK"; then
 
14692
  ac_cv_prog_GTKDOC_CHECK="$GTKDOC_CHECK" # Let the user override the test.
 
14693
else
 
14694
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
14695
for as_dir in $PATH
 
14696
do
 
14697
  IFS=$as_save_IFS
 
14698
  test -z "$as_dir" && as_dir=.
 
14699
    for ac_exec_ext in '' $ac_executable_extensions; do
 
14700
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
14701
    ac_cv_prog_GTKDOC_CHECK="gtkdoc-check.test"
 
14702
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
14703
    break 2
 
14704
  fi
 
14705
done
 
14706
  done
 
14707
IFS=$as_save_IFS
 
14708
 
 
14709
fi
 
14710
fi
 
14711
GTKDOC_CHECK=$ac_cv_prog_GTKDOC_CHECK
 
14712
if test -n "$GTKDOC_CHECK"; then
 
14713
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_CHECK" >&5
 
14714
$as_echo "$GTKDOC_CHECK" >&6; }
 
14715
else
 
14716
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
14717
$as_echo "no" >&6; }
 
14718
fi
 
14719
 
 
14720
 
 
14721
  # Extract the first word of "gtkdoc-check", so it can be a program name with args.
 
14722
set dummy gtkdoc-check; ac_word=$2
 
14723
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
14724
$as_echo_n "checking for $ac_word... " >&6; }
 
14725
if ${ac_cv_path_GTKDOC_CHECK_PATH+:} false; then :
 
14726
  $as_echo_n "(cached) " >&6
 
14727
else
 
14728
  case $GTKDOC_CHECK_PATH in
 
14729
  [\\/]* | ?:[\\/]*)
 
14730
  ac_cv_path_GTKDOC_CHECK_PATH="$GTKDOC_CHECK_PATH" # Let the user override the test with a path.
 
14731
  ;;
 
14732
  *)
 
14733
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
14734
for as_dir in $PATH
 
14735
do
 
14736
  IFS=$as_save_IFS
 
14737
  test -z "$as_dir" && as_dir=.
 
14738
    for ac_exec_ext in '' $ac_executable_extensions; do
 
14739
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
14740
    ac_cv_path_GTKDOC_CHECK_PATH="$as_dir/$ac_word$ac_exec_ext"
 
14741
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
14742
    break 2
 
14743
  fi
 
14744
done
 
14745
  done
 
14746
IFS=$as_save_IFS
 
14747
 
 
14748
  ;;
 
14749
esac
 
14750
fi
 
14751
GTKDOC_CHECK_PATH=$ac_cv_path_GTKDOC_CHECK_PATH
 
14752
if test -n "$GTKDOC_CHECK_PATH"; then
 
14753
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_CHECK_PATH" >&5
 
14754
$as_echo "$GTKDOC_CHECK_PATH" >&6; }
 
14755
else
 
14756
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
14757
$as_echo "no" >&6; }
 
14758
fi
 
14759
 
 
14760
 
 
14761
  for ac_prog in gtkdoc-rebase
 
14762
do
 
14763
  # Extract the first word of "$ac_prog", so it can be a program name with args.
 
14764
set dummy $ac_prog; ac_word=$2
 
14765
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
14766
$as_echo_n "checking for $ac_word... " >&6; }
 
14767
if ${ac_cv_path_GTKDOC_REBASE+:} false; then :
 
14768
  $as_echo_n "(cached) " >&6
 
14769
else
 
14770
  case $GTKDOC_REBASE in
 
14771
  [\\/]* | ?:[\\/]*)
 
14772
  ac_cv_path_GTKDOC_REBASE="$GTKDOC_REBASE" # Let the user override the test with a path.
 
14773
  ;;
 
14774
  *)
 
14775
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
14776
for as_dir in $PATH
 
14777
do
 
14778
  IFS=$as_save_IFS
 
14779
  test -z "$as_dir" && as_dir=.
 
14780
    for ac_exec_ext in '' $ac_executable_extensions; do
 
14781
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
14782
    ac_cv_path_GTKDOC_REBASE="$as_dir/$ac_word$ac_exec_ext"
 
14783
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
14784
    break 2
 
14785
  fi
 
14786
done
 
14787
  done
 
14788
IFS=$as_save_IFS
 
14789
 
 
14790
  ;;
 
14791
esac
 
14792
fi
 
14793
GTKDOC_REBASE=$ac_cv_path_GTKDOC_REBASE
 
14794
if test -n "$GTKDOC_REBASE"; then
 
14795
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_REBASE" >&5
 
14796
$as_echo "$GTKDOC_REBASE" >&6; }
 
14797
else
 
14798
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
14799
$as_echo "no" >&6; }
 
14800
fi
 
14801
 
 
14802
 
 
14803
  test -n "$GTKDOC_REBASE" && break
 
14804
done
 
14805
test -n "$GTKDOC_REBASE" || GTKDOC_REBASE="true"
 
14806
 
 
14807
  # Extract the first word of "gtkdoc-mkpdf", so it can be a program name with args.
 
14808
set dummy gtkdoc-mkpdf; ac_word=$2
 
14809
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
14810
$as_echo_n "checking for $ac_word... " >&6; }
 
14811
if ${ac_cv_path_GTKDOC_MKPDF+:} false; then :
 
14812
  $as_echo_n "(cached) " >&6
 
14813
else
 
14814
  case $GTKDOC_MKPDF in
 
14815
  [\\/]* | ?:[\\/]*)
 
14816
  ac_cv_path_GTKDOC_MKPDF="$GTKDOC_MKPDF" # Let the user override the test with a path.
 
14817
  ;;
 
14818
  *)
 
14819
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
14820
for as_dir in $PATH
 
14821
do
 
14822
  IFS=$as_save_IFS
 
14823
  test -z "$as_dir" && as_dir=.
 
14824
    for ac_exec_ext in '' $ac_executable_extensions; do
 
14825
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
14826
    ac_cv_path_GTKDOC_MKPDF="$as_dir/$ac_word$ac_exec_ext"
 
14827
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
14828
    break 2
 
14829
  fi
 
14830
done
 
14831
  done
 
14832
IFS=$as_save_IFS
 
14833
 
 
14834
  ;;
 
14835
esac
 
14836
fi
 
14837
GTKDOC_MKPDF=$ac_cv_path_GTKDOC_MKPDF
 
14838
if test -n "$GTKDOC_MKPDF"; then
 
14839
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_MKPDF" >&5
 
14840
$as_echo "$GTKDOC_MKPDF" >&6; }
 
14841
else
 
14842
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
14843
$as_echo "no" >&6; }
 
14844
fi
 
14845
 
 
14846
 
 
14847
 
 
14848
 
 
14849
# Check whether --with-html-dir was given.
 
14850
if test "${with_html_dir+set}" = set; then :
 
14851
  withval=$with_html_dir;
 
14852
else
 
14853
  with_html_dir='${datadir}/gtk-doc/html'
 
14854
fi
 
14855
 
 
14856
  HTML_DIR="$with_html_dir"
 
14857
 
 
14858
 
 
14859
    # Check whether --enable-gtk-doc was given.
 
14860
if test "${enable_gtk_doc+set}" = set; then :
 
14861
  enableval=$enable_gtk_doc;
 
14862
else
 
14863
  enable_gtk_doc=no
 
14864
fi
 
14865
 
 
14866
 
 
14867
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build gtk-doc documentation" >&5
 
14868
$as_echo_n "checking whether to build gtk-doc documentation... " >&6; }
 
14869
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_gtk_doc" >&5
 
14870
$as_echo "$enable_gtk_doc" >&6; }
 
14871
 
 
14872
  if test "x$enable_gtk_doc" = "xyes" && test "$have_gtk_doc" = "no"; then
 
14873
    as_fn_error $? "
 
14874
  You must have $gtk_doc_requires installed to build documentation for
 
14875
  $PACKAGE_NAME. Please install gtk-doc or disable building the
 
14876
  documentation by adding '--disable-gtk-doc' to '$0'." "$LINENO" 5
 
14877
  fi
 
14878
 
 
14879
    if test "x$PACKAGE_NAME" != "xglib"; then
 
14880
 
 
14881
pkg_failed=no
 
14882
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTKDOC_DEPS" >&5
 
14883
$as_echo_n "checking for GTKDOC_DEPS... " >&6; }
 
14884
 
 
14885
if test -n "$GTKDOC_DEPS_CFLAGS"; then
 
14886
    pkg_cv_GTKDOC_DEPS_CFLAGS="$GTKDOC_DEPS_CFLAGS"
 
14887
 elif test -n "$PKG_CONFIG"; then
 
14888
    if test -n "$PKG_CONFIG" && \
 
14889
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0\""; } >&5
 
14890
  ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0") 2>&5
 
14891
  ac_status=$?
 
14892
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
14893
  test $ac_status = 0; }; then
 
14894
  pkg_cv_GTKDOC_DEPS_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0" 2>/dev/null`
 
14895
                      test "x$?" != "x0" && pkg_failed=yes
 
14896
else
 
14897
  pkg_failed=yes
 
14898
fi
 
14899
 else
 
14900
    pkg_failed=untried
 
14901
fi
 
14902
if test -n "$GTKDOC_DEPS_LIBS"; then
 
14903
    pkg_cv_GTKDOC_DEPS_LIBS="$GTKDOC_DEPS_LIBS"
 
14904
 elif test -n "$PKG_CONFIG"; then
 
14905
    if test -n "$PKG_CONFIG" && \
 
14906
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0\""; } >&5
 
14907
  ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0") 2>&5
 
14908
  ac_status=$?
 
14909
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
14910
  test $ac_status = 0; }; then
 
14911
  pkg_cv_GTKDOC_DEPS_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0" 2>/dev/null`
 
14912
                      test "x$?" != "x0" && pkg_failed=yes
 
14913
else
 
14914
  pkg_failed=yes
 
14915
fi
 
14916
 else
 
14917
    pkg_failed=untried
 
14918
fi
 
14919
 
 
14920
 
 
14921
 
 
14922
if test $pkg_failed = yes; then
 
14923
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
14924
$as_echo "no" >&6; }
 
14925
 
 
14926
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
 
14927
        _pkg_short_errors_supported=yes
 
14928
else
 
14929
        _pkg_short_errors_supported=no
 
14930
fi
 
14931
        if test $_pkg_short_errors_supported = yes; then
 
14932
                GTKDOC_DEPS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0" 2>&1`
 
14933
        else
 
14934
                GTKDOC_DEPS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0" 2>&1`
 
14935
        fi
 
14936
        # Put the nasty error message in config.log where it belongs
 
14937
        echo "$GTKDOC_DEPS_PKG_ERRORS" >&5
 
14938
 
 
14939
        :
 
14940
elif test $pkg_failed = untried; then
 
14941
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
14942
$as_echo "no" >&6; }
 
14943
        :
 
14944
else
 
14945
        GTKDOC_DEPS_CFLAGS=$pkg_cv_GTKDOC_DEPS_CFLAGS
 
14946
        GTKDOC_DEPS_LIBS=$pkg_cv_GTKDOC_DEPS_LIBS
 
14947
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
14948
$as_echo "yes" >&6; }
 
14949
 
 
14950
fi
 
14951
  fi
 
14952
 
 
14953
    # Check whether --enable-gtk-doc-html was given.
 
14954
if test "${enable_gtk_doc_html+set}" = set; then :
 
14955
  enableval=$enable_gtk_doc_html;
 
14956
else
 
14957
  enable_gtk_doc_html=yes
 
14958
fi
 
14959
 
 
14960
    # Check whether --enable-gtk-doc-pdf was given.
 
14961
if test "${enable_gtk_doc_pdf+set}" = set; then :
 
14962
  enableval=$enable_gtk_doc_pdf;
 
14963
else
 
14964
  enable_gtk_doc_pdf=no
 
14965
fi
 
14966
 
 
14967
 
 
14968
  if test -z "$GTKDOC_MKPDF"; then
 
14969
    enable_gtk_doc_pdf=no
 
14970
  fi
 
14971
 
 
14972
  if test -z "$AM_DEFAULT_VERBOSITY"; then
 
14973
    AM_DEFAULT_VERBOSITY=1
 
14974
  fi
 
14975
 
 
14976
 
 
14977
   if test x$have_gtk_doc = xyes; then
 
14978
  HAVE_GTK_DOC_TRUE=
 
14979
  HAVE_GTK_DOC_FALSE='#'
 
14980
else
 
14981
  HAVE_GTK_DOC_TRUE='#'
 
14982
  HAVE_GTK_DOC_FALSE=
 
14983
fi
 
14984
 
 
14985
   if test x$enable_gtk_doc = xyes; then
 
14986
  ENABLE_GTK_DOC_TRUE=
 
14987
  ENABLE_GTK_DOC_FALSE='#'
 
14988
else
 
14989
  ENABLE_GTK_DOC_TRUE='#'
 
14990
  ENABLE_GTK_DOC_FALSE=
 
14991
fi
 
14992
 
 
14993
   if test x$enable_gtk_doc_html = xyes; then
 
14994
  GTK_DOC_BUILD_HTML_TRUE=
 
14995
  GTK_DOC_BUILD_HTML_FALSE='#'
 
14996
else
 
14997
  GTK_DOC_BUILD_HTML_TRUE='#'
 
14998
  GTK_DOC_BUILD_HTML_FALSE=
 
14999
fi
 
15000
 
 
15001
   if test x$enable_gtk_doc_pdf = xyes; then
 
15002
  GTK_DOC_BUILD_PDF_TRUE=
 
15003
  GTK_DOC_BUILD_PDF_FALSE='#'
 
15004
else
 
15005
  GTK_DOC_BUILD_PDF_TRUE='#'
 
15006
  GTK_DOC_BUILD_PDF_FALSE=
 
15007
fi
 
15008
 
 
15009
   if test -n "$LIBTOOL"; then
 
15010
  GTK_DOC_USE_LIBTOOL_TRUE=
 
15011
  GTK_DOC_USE_LIBTOOL_FALSE='#'
 
15012
else
 
15013
  GTK_DOC_USE_LIBTOOL_TRUE='#'
 
15014
  GTK_DOC_USE_LIBTOOL_FALSE=
 
15015
fi
 
15016
 
 
15017
   if test -n "$GTKDOC_REBASE"; then
 
15018
  GTK_DOC_USE_REBASE_TRUE=
 
15019
  GTK_DOC_USE_REBASE_FALSE='#'
 
15020
else
 
15021
  GTK_DOC_USE_REBASE_TRUE='#'
 
15022
  GTK_DOC_USE_REBASE_FALSE=
 
15023
fi
 
15024
 
 
15025
 
 
15026
 
 
15027
if test "x$GCC" = xyes; then
 
15028
        CFLAGS="$CFLAGS -Werror-implicit-function-declaration"
 
15029
fi
 
15030
CPPFLAGS=$orig_CPPFLAGS
 
15031
ac_config_files="$ac_config_files Makefile po/Makefile.in xml/Makefile dbind/Makefile dbind/dbind-config.h atspi/Makefile registryd/Makefile bus/Makefile doc/Makefile doc/libatspi/Makefile doc/libatspi/version.xml test/Makefile atspi-2.pc atspi-2-uninstalled.pc"
 
15032
 
 
15033
 
 
15034
cat >confcache <<\_ACEOF
 
15035
# This file is a shell script that caches the results of configure
 
15036
# tests run on this system so they can be shared between configure
 
15037
# scripts and configure runs, see configure's option --config-cache.
 
15038
# It is not useful on other systems.  If it contains results you don't
 
15039
# want to keep, you may remove or edit it.
 
15040
#
 
15041
# config.status only pays attention to the cache file if you give it
 
15042
# the --recheck option to rerun configure.
 
15043
#
 
15044
# `ac_cv_env_foo' variables (set or unset) will be overridden when
 
15045
# loading this file, other *unset* `ac_cv_foo' will be assigned the
 
15046
# following values.
 
15047
 
 
15048
_ACEOF
 
15049
 
 
15050
# The following way of writing the cache mishandles newlines in values,
 
15051
# but we know of no workaround that is simple, portable, and efficient.
 
15052
# So, we kill variables containing newlines.
 
15053
# Ultrix sh set writes to stderr and can't be redirected directly,
 
15054
# and sets the high bit in the cache file unless we assign to the vars.
 
15055
(
 
15056
  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
 
15057
    eval ac_val=\$$ac_var
 
15058
    case $ac_val in #(
 
15059
    *${as_nl}*)
 
15060
      case $ac_var in #(
 
15061
      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
 
15062
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
 
15063
      esac
 
15064
      case $ac_var in #(
 
15065
      _ | IFS | as_nl) ;; #(
 
15066
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
 
15067
      *) { eval $ac_var=; unset $ac_var;} ;;
 
15068
      esac ;;
 
15069
    esac
 
15070
  done
 
15071
 
 
15072
  (set) 2>&1 |
 
15073
    case $as_nl`(ac_space=' '; set) 2>&1` in #(
 
15074
    *${as_nl}ac_space=\ *)
 
15075
      # `set' does not quote correctly, so add quotes: double-quote
 
15076
      # substitution turns \\\\ into \\, and sed turns \\ into \.
 
15077
      sed -n \
 
15078
        "s/'/'\\\\''/g;
 
15079
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
 
15080
      ;; #(
 
15081
    *)
 
15082
      # `set' quotes correctly as required by POSIX, so do not add quotes.
 
15083
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
 
15084
      ;;
 
15085
    esac |
 
15086
    sort
 
15087
) |
 
15088
  sed '
 
15089
     /^ac_cv_env_/b end
 
15090
     t clear
 
15091
     :clear
 
15092
     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
 
15093
     t end
 
15094
     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
 
15095
     :end' >>confcache
 
15096
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
 
15097
  if test -w "$cache_file"; then
 
15098
    if test "x$cache_file" != "x/dev/null"; then
 
15099
      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
 
15100
$as_echo "$as_me: updating cache $cache_file" >&6;}
 
15101
      if test ! -f "$cache_file" || test -h "$cache_file"; then
 
15102
        cat confcache >"$cache_file"
 
15103
      else
 
15104
        case $cache_file in #(
 
15105
        */* | ?:*)
 
15106
          mv -f confcache "$cache_file"$$ &&
 
15107
          mv -f "$cache_file"$$ "$cache_file" ;; #(
 
15108
        *)
 
15109
          mv -f confcache "$cache_file" ;;
 
15110
        esac
 
15111
      fi
 
15112
    fi
 
15113
  else
 
15114
    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
 
15115
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
 
15116
  fi
 
15117
fi
 
15118
rm -f confcache
 
15119
 
 
15120
test "x$prefix" = xNONE && prefix=$ac_default_prefix
 
15121
# Let make expand exec_prefix.
 
15122
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
 
15123
 
 
15124
DEFS=-DHAVE_CONFIG_H
 
15125
 
 
15126
ac_libobjs=
 
15127
ac_ltlibobjs=
 
15128
U=
 
15129
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
 
15130
  # 1. Remove the extension, and $U if already installed.
 
15131
  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
 
15132
  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
 
15133
  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
 
15134
  #    will be set to the directory where LIBOBJS objects are built.
 
15135
  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
 
15136
  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
 
15137
done
 
15138
LIBOBJS=$ac_libobjs
 
15139
 
 
15140
LTLIBOBJS=$ac_ltlibobjs
 
15141
 
 
15142
 
 
15143
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
 
15144
$as_echo_n "checking that generated files are newer than configure... " >&6; }
 
15145
   if test -n "$am_sleep_pid"; then
 
15146
     # Hide warnings about reused PIDs.
 
15147
     wait $am_sleep_pid 2>/dev/null
 
15148
   fi
 
15149
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
 
15150
$as_echo "done" >&6; }
 
15151
 if test -n "$EXEEXT"; then
 
15152
  am__EXEEXT_TRUE=
 
15153
  am__EXEEXT_FALSE='#'
 
15154
else
 
15155
  am__EXEEXT_TRUE='#'
 
15156
  am__EXEEXT_FALSE=
 
15157
fi
 
15158
 
 
15159
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
 
15160
  as_fn_error $? "conditional \"AMDEP\" was never defined.
 
15161
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
15162
fi
 
15163
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
 
15164
  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
 
15165
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
15166
fi
 
15167
 
 
15168
  ac_config_commands="$ac_config_commands po/stamp-it"
 
15169
 
 
15170
 
 
15171
if test -z "${USE_X11_TRUE}" && test -z "${USE_X11_FALSE}"; then
 
15172
  as_fn_error $? "conditional \"USE_X11\" was never defined.
 
15173
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
15174
fi
 
15175
if test -z "${USE_X11_TRUE}" && test -z "${USE_X11_FALSE}"; then
 
15176
  as_fn_error $? "conditional \"USE_X11\" was never defined.
 
15177
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
15178
fi
 
15179
if test -z "${USE_X11_TRUE}" && test -z "${USE_X11_FALSE}"; then
 
15180
  as_fn_error $? "conditional \"USE_X11\" was never defined.
 
15181
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
15182
fi
 
15183
if test -z "${HAVE_INTROSPECTION_TRUE}" && test -z "${HAVE_INTROSPECTION_FALSE}"; then
 
15184
  as_fn_error $? "conditional \"HAVE_INTROSPECTION\" was never defined.
 
15185
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
15186
fi
 
15187
if test -z "${HAVE_GTK_DOC_TRUE}" && test -z "${HAVE_GTK_DOC_FALSE}"; then
 
15188
  as_fn_error $? "conditional \"HAVE_GTK_DOC\" was never defined.
 
15189
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
15190
fi
 
15191
if test -z "${ENABLE_GTK_DOC_TRUE}" && test -z "${ENABLE_GTK_DOC_FALSE}"; then
 
15192
  as_fn_error $? "conditional \"ENABLE_GTK_DOC\" was never defined.
 
15193
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
15194
fi
 
15195
if test -z "${GTK_DOC_BUILD_HTML_TRUE}" && test -z "${GTK_DOC_BUILD_HTML_FALSE}"; then
 
15196
  as_fn_error $? "conditional \"GTK_DOC_BUILD_HTML\" was never defined.
 
15197
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
15198
fi
 
15199
if test -z "${GTK_DOC_BUILD_PDF_TRUE}" && test -z "${GTK_DOC_BUILD_PDF_FALSE}"; then
 
15200
  as_fn_error $? "conditional \"GTK_DOC_BUILD_PDF\" was never defined.
 
15201
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
15202
fi
 
15203
if test -z "${GTK_DOC_USE_LIBTOOL_TRUE}" && test -z "${GTK_DOC_USE_LIBTOOL_FALSE}"; then
 
15204
  as_fn_error $? "conditional \"GTK_DOC_USE_LIBTOOL\" was never defined.
 
15205
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
15206
fi
 
15207
if test -z "${GTK_DOC_USE_REBASE_TRUE}" && test -z "${GTK_DOC_USE_REBASE_FALSE}"; then
 
15208
  as_fn_error $? "conditional \"GTK_DOC_USE_REBASE\" was never defined.
 
15209
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
15210
fi
 
15211
 
 
15212
: "${CONFIG_STATUS=./config.status}"
 
15213
ac_write_fail=0
 
15214
ac_clean_files_save=$ac_clean_files
 
15215
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
 
15216
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
 
15217
$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
 
15218
as_write_fail=0
 
15219
cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
 
15220
#! $SHELL
 
15221
# Generated by $as_me.
 
15222
# Run this file to recreate the current configuration.
 
15223
# Compiler output produced by configure, useful for debugging
 
15224
# configure, is in config.log if it exists.
 
15225
 
 
15226
debug=false
 
15227
ac_cs_recheck=false
 
15228
ac_cs_silent=false
 
15229
 
 
15230
SHELL=\${CONFIG_SHELL-$SHELL}
 
15231
export SHELL
 
15232
_ASEOF
 
15233
cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
 
15234
## -------------------- ##
 
15235
## M4sh Initialization. ##
 
15236
## -------------------- ##
 
15237
 
 
15238
# Be more Bourne compatible
 
15239
DUALCASE=1; export DUALCASE # for MKS sh
 
15240
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
 
15241
  emulate sh
 
15242
  NULLCMD=:
 
15243
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
 
15244
  # is contrary to our usage.  Disable this feature.
 
15245
  alias -g '${1+"$@"}'='"$@"'
 
15246
  setopt NO_GLOB_SUBST
 
15247
else
 
15248
  case `(set -o) 2>/dev/null` in #(
 
15249
  *posix*) :
 
15250
    set -o posix ;; #(
 
15251
  *) :
 
15252
     ;;
 
15253
esac
 
15254
fi
 
15255
 
 
15256
 
 
15257
as_nl='
 
15258
'
 
15259
export as_nl
 
15260
# Printing a long string crashes Solaris 7 /usr/bin/printf.
 
15261
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
 
15262
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
 
15263
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
 
15264
# Prefer a ksh shell builtin over an external printf program on Solaris,
 
15265
# but without wasting forks for bash or zsh.
 
15266
if test -z "$BASH_VERSION$ZSH_VERSION" \
 
15267
    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
 
15268
  as_echo='print -r --'
 
15269
  as_echo_n='print -rn --'
 
15270
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
 
15271
  as_echo='printf %s\n'
 
15272
  as_echo_n='printf %s'
 
15273
else
 
15274
  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
 
15275
    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
 
15276
    as_echo_n='/usr/ucb/echo -n'
 
15277
  else
 
15278
    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
 
15279
    as_echo_n_body='eval
 
15280
      arg=$1;
 
15281
      case $arg in #(
 
15282
      *"$as_nl"*)
 
15283
        expr "X$arg" : "X\\(.*\\)$as_nl";
 
15284
        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
 
15285
      esac;
 
15286
      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
 
15287
    '
 
15288
    export as_echo_n_body
 
15289
    as_echo_n='sh -c $as_echo_n_body as_echo'
 
15290
  fi
 
15291
  export as_echo_body
 
15292
  as_echo='sh -c $as_echo_body as_echo'
 
15293
fi
 
15294
 
 
15295
# The user is always right.
 
15296
if test "${PATH_SEPARATOR+set}" != set; then
 
15297
  PATH_SEPARATOR=:
 
15298
  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
 
15299
    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
 
15300
      PATH_SEPARATOR=';'
 
15301
  }
 
15302
fi
 
15303
 
 
15304
 
 
15305
# IFS
 
15306
# We need space, tab and new line, in precisely that order.  Quoting is
 
15307
# there to prevent editors from complaining about space-tab.
 
15308
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
 
15309
# splitting by setting IFS to empty value.)
 
15310
IFS=" ""        $as_nl"
 
15311
 
 
15312
# Find who we are.  Look in the path if we contain no directory separator.
 
15313
as_myself=
 
15314
case $0 in #((
 
15315
  *[\\/]* ) as_myself=$0 ;;
 
15316
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
15317
for as_dir in $PATH
 
15318
do
 
15319
  IFS=$as_save_IFS
 
15320
  test -z "$as_dir" && as_dir=.
 
15321
    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
 
15322
  done
 
15323
IFS=$as_save_IFS
 
15324
 
 
15325
     ;;
 
15326
esac
 
15327
# We did not find ourselves, most probably we were run as `sh COMMAND'
 
15328
# in which case we are not to be found in the path.
 
15329
if test "x$as_myself" = x; then
 
15330
  as_myself=$0
 
15331
fi
 
15332
if test ! -f "$as_myself"; then
 
15333
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
 
15334
  exit 1
 
15335
fi
 
15336
 
 
15337
# Unset variables that we do not need and which cause bugs (e.g. in
 
15338
# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
 
15339
# suppresses any "Segmentation fault" message there.  '((' could
 
15340
# trigger a bug in pdksh 5.2.14.
 
15341
for as_var in BASH_ENV ENV MAIL MAILPATH
 
15342
do eval test x\${$as_var+set} = xset \
 
15343
  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
 
15344
done
 
15345
PS1='$ '
 
15346
PS2='> '
 
15347
PS4='+ '
 
15348
 
 
15349
# NLS nuisances.
 
15350
LC_ALL=C
 
15351
export LC_ALL
 
15352
LANGUAGE=C
 
15353
export LANGUAGE
 
15354
 
 
15355
# CDPATH.
 
15356
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
 
15357
 
 
15358
 
 
15359
# as_fn_error STATUS ERROR [LINENO LOG_FD]
 
15360
# ----------------------------------------
 
15361
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
 
15362
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
 
15363
# script with STATUS, using 1 if that was 0.
 
15364
as_fn_error ()
 
15365
{
 
15366
  as_status=$1; test $as_status -eq 0 && as_status=1
 
15367
  if test "$4"; then
 
15368
    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
15369
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
 
15370
  fi
 
15371
  $as_echo "$as_me: error: $2" >&2
 
15372
  as_fn_exit $as_status
 
15373
} # as_fn_error
 
15374
 
 
15375
 
 
15376
# as_fn_set_status STATUS
 
15377
# -----------------------
 
15378
# Set $? to STATUS, without forking.
 
15379
as_fn_set_status ()
 
15380
{
 
15381
  return $1
 
15382
} # as_fn_set_status
 
15383
 
 
15384
# as_fn_exit STATUS
 
15385
# -----------------
 
15386
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
 
15387
as_fn_exit ()
 
15388
{
 
15389
  set +e
 
15390
  as_fn_set_status $1
 
15391
  exit $1
 
15392
} # as_fn_exit
 
15393
 
 
15394
# as_fn_unset VAR
 
15395
# ---------------
 
15396
# Portably unset VAR.
 
15397
as_fn_unset ()
 
15398
{
 
15399
  { eval $1=; unset $1;}
 
15400
}
 
15401
as_unset=as_fn_unset
 
15402
# as_fn_append VAR VALUE
 
15403
# ----------------------
 
15404
# Append the text in VALUE to the end of the definition contained in VAR. Take
 
15405
# advantage of any shell optimizations that allow amortized linear growth over
 
15406
# repeated appends, instead of the typical quadratic growth present in naive
 
15407
# implementations.
 
15408
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
 
15409
  eval 'as_fn_append ()
 
15410
  {
 
15411
    eval $1+=\$2
 
15412
  }'
 
15413
else
 
15414
  as_fn_append ()
 
15415
  {
 
15416
    eval $1=\$$1\$2
 
15417
  }
 
15418
fi # as_fn_append
 
15419
 
 
15420
# as_fn_arith ARG...
 
15421
# ------------------
 
15422
# Perform arithmetic evaluation on the ARGs, and store the result in the
 
15423
# global $as_val. Take advantage of shells that can avoid forks. The arguments
 
15424
# must be portable across $(()) and expr.
 
15425
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
 
15426
  eval 'as_fn_arith ()
 
15427
  {
 
15428
    as_val=$(( $* ))
 
15429
  }'
 
15430
else
 
15431
  as_fn_arith ()
 
15432
  {
 
15433
    as_val=`expr "$@" || test $? -eq 1`
 
15434
  }
 
15435
fi # as_fn_arith
 
15436
 
 
15437
 
 
15438
if expr a : '\(a\)' >/dev/null 2>&1 &&
 
15439
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
 
15440
  as_expr=expr
 
15441
else
 
15442
  as_expr=false
 
15443
fi
 
15444
 
 
15445
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
 
15446
  as_basename=basename
 
15447
else
 
15448
  as_basename=false
 
15449
fi
 
15450
 
 
15451
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
 
15452
  as_dirname=dirname
 
15453
else
 
15454
  as_dirname=false
 
15455
fi
 
15456
 
 
15457
as_me=`$as_basename -- "$0" ||
 
15458
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
 
15459
         X"$0" : 'X\(//\)$' \| \
 
15460
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
 
15461
$as_echo X/"$0" |
 
15462
    sed '/^.*\/\([^/][^/]*\)\/*$/{
 
15463
            s//\1/
 
15464
            q
 
15465
          }
 
15466
          /^X\/\(\/\/\)$/{
 
15467
            s//\1/
 
15468
            q
 
15469
          }
 
15470
          /^X\/\(\/\).*/{
 
15471
            s//\1/
 
15472
            q
 
15473
          }
 
15474
          s/.*/./; q'`
 
15475
 
 
15476
# Avoid depending upon Character Ranges.
 
15477
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
 
15478
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
 
15479
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
 
15480
as_cr_digits='0123456789'
 
15481
as_cr_alnum=$as_cr_Letters$as_cr_digits
 
15482
 
 
15483
ECHO_C= ECHO_N= ECHO_T=
 
15484
case `echo -n x` in #(((((
 
15485
-n*)
 
15486
  case `echo 'xy\c'` in
 
15487
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
 
15488
  xy)  ECHO_C='\c';;
 
15489
  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
 
15490
       ECHO_T=' ';;
 
15491
  esac;;
 
15492
*)
 
15493
  ECHO_N='-n';;
 
15494
esac
 
15495
 
 
15496
rm -f conf$$ conf$$.exe conf$$.file
 
15497
if test -d conf$$.dir; then
 
15498
  rm -f conf$$.dir/conf$$.file
 
15499
else
 
15500
  rm -f conf$$.dir
 
15501
  mkdir conf$$.dir 2>/dev/null
 
15502
fi
 
15503
if (echo >conf$$.file) 2>/dev/null; then
 
15504
  if ln -s conf$$.file conf$$ 2>/dev/null; then
 
15505
    as_ln_s='ln -s'
 
15506
    # ... but there are two gotchas:
 
15507
    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
 
15508
    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
 
15509
    # In both cases, we have to default to `cp -pR'.
 
15510
    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
 
15511
      as_ln_s='cp -pR'
 
15512
  elif ln conf$$.file conf$$ 2>/dev/null; then
 
15513
    as_ln_s=ln
 
15514
  else
 
15515
    as_ln_s='cp -pR'
 
15516
  fi
 
15517
else
 
15518
  as_ln_s='cp -pR'
 
15519
fi
 
15520
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
 
15521
rmdir conf$$.dir 2>/dev/null
 
15522
 
 
15523
 
 
15524
# as_fn_mkdir_p
 
15525
# -------------
 
15526
# Create "$as_dir" as a directory, including parents if necessary.
 
15527
as_fn_mkdir_p ()
 
15528
{
 
15529
 
 
15530
  case $as_dir in #(
 
15531
  -*) as_dir=./$as_dir;;
 
15532
  esac
 
15533
  test -d "$as_dir" || eval $as_mkdir_p || {
 
15534
    as_dirs=
 
15535
    while :; do
 
15536
      case $as_dir in #(
 
15537
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
 
15538
      *) as_qdir=$as_dir;;
 
15539
      esac
 
15540
      as_dirs="'$as_qdir' $as_dirs"
 
15541
      as_dir=`$as_dirname -- "$as_dir" ||
 
15542
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
15543
         X"$as_dir" : 'X\(//\)[^/]' \| \
 
15544
         X"$as_dir" : 'X\(//\)$' \| \
 
15545
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
 
15546
$as_echo X"$as_dir" |
 
15547
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
15548
            s//\1/
 
15549
            q
 
15550
          }
 
15551
          /^X\(\/\/\)[^/].*/{
 
15552
            s//\1/
 
15553
            q
 
15554
          }
 
15555
          /^X\(\/\/\)$/{
 
15556
            s//\1/
 
15557
            q
 
15558
          }
 
15559
          /^X\(\/\).*/{
 
15560
            s//\1/
 
15561
            q
 
15562
          }
 
15563
          s/.*/./; q'`
 
15564
      test -d "$as_dir" && break
 
15565
    done
 
15566
    test -z "$as_dirs" || eval "mkdir $as_dirs"
 
15567
  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
 
15568
 
 
15569
 
 
15570
} # as_fn_mkdir_p
 
15571
if mkdir -p . 2>/dev/null; then
 
15572
  as_mkdir_p='mkdir -p "$as_dir"'
 
15573
else
 
15574
  test -d ./-p && rmdir ./-p
 
15575
  as_mkdir_p=false
 
15576
fi
 
15577
 
 
15578
 
 
15579
# as_fn_executable_p FILE
 
15580
# -----------------------
 
15581
# Test if FILE is an executable regular file.
 
15582
as_fn_executable_p ()
 
15583
{
 
15584
  test -f "$1" && test -x "$1"
 
15585
} # as_fn_executable_p
 
15586
as_test_x='test -x'
 
15587
as_executable_p=as_fn_executable_p
 
15588
 
 
15589
# Sed expression to map a string onto a valid CPP name.
 
15590
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
 
15591
 
 
15592
# Sed expression to map a string onto a valid variable name.
 
15593
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
 
15594
 
 
15595
 
 
15596
exec 6>&1
 
15597
## ----------------------------------- ##
 
15598
## Main body of $CONFIG_STATUS script. ##
 
15599
## ----------------------------------- ##
 
15600
_ASEOF
 
15601
test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
 
15602
 
 
15603
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
15604
# Save the log message, to keep $0 and so on meaningful, and to
 
15605
# report actual input values of CONFIG_FILES etc. instead of their
 
15606
# values after options handling.
 
15607
ac_log="
 
15608
This file was extended by at-spi2-core $as_me 2.18.3, which was
 
15609
generated by GNU Autoconf 2.69.  Invocation command line was
 
15610
 
 
15611
  CONFIG_FILES    = $CONFIG_FILES
 
15612
  CONFIG_HEADERS  = $CONFIG_HEADERS
 
15613
  CONFIG_LINKS    = $CONFIG_LINKS
 
15614
  CONFIG_COMMANDS = $CONFIG_COMMANDS
 
15615
  $ $0 $@
 
15616
 
 
15617
on `(hostname || uname -n) 2>/dev/null | sed 1q`
 
15618
"
 
15619
 
 
15620
_ACEOF
 
15621
 
 
15622
case $ac_config_files in *"
 
15623
"*) set x $ac_config_files; shift; ac_config_files=$*;;
 
15624
esac
 
15625
 
 
15626
case $ac_config_headers in *"
 
15627
"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
 
15628
esac
 
15629
 
 
15630
 
 
15631
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
15632
# Files that config.status was made for.
 
15633
config_files="$ac_config_files"
 
15634
config_headers="$ac_config_headers"
 
15635
config_commands="$ac_config_commands"
 
15636
 
 
15637
_ACEOF
 
15638
 
 
15639
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
15640
ac_cs_usage="\
 
15641
\`$as_me' instantiates files and other configuration actions
 
15642
from templates according to the current configuration.  Unless the files
 
15643
and actions are specified as TAGs, all are instantiated by default.
 
15644
 
 
15645
Usage: $0 [OPTION]... [TAG]...
 
15646
 
 
15647
  -h, --help       print this help, then exit
 
15648
  -V, --version    print version number and configuration settings, then exit
 
15649
      --config     print configuration, then exit
 
15650
  -q, --quiet, --silent
 
15651
                   do not print progress messages
 
15652
  -d, --debug      don't remove temporary files
 
15653
      --recheck    update $as_me by reconfiguring in the same conditions
 
15654
      --file=FILE[:TEMPLATE]
 
15655
                   instantiate the configuration file FILE
 
15656
      --header=FILE[:TEMPLATE]
 
15657
                   instantiate the configuration header FILE
 
15658
 
 
15659
Configuration files:
 
15660
$config_files
 
15661
 
 
15662
Configuration headers:
 
15663
$config_headers
 
15664
 
 
15665
Configuration commands:
 
15666
$config_commands
 
15667
 
 
15668
Report bugs to <accessibility-atspi@lists.linux-foundation.org>."
 
15669
 
 
15670
_ACEOF
 
15671
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
15672
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
 
15673
ac_cs_version="\\
 
15674
at-spi2-core config.status 2.18.3
 
15675
configured by $0, generated by GNU Autoconf 2.69,
 
15676
  with options \\"\$ac_cs_config\\"
 
15677
 
 
15678
Copyright (C) 2012 Free Software Foundation, Inc.
 
15679
This config.status script is free software; the Free Software Foundation
 
15680
gives unlimited permission to copy, distribute and modify it."
 
15681
 
 
15682
ac_pwd='$ac_pwd'
 
15683
srcdir='$srcdir'
 
15684
INSTALL='$INSTALL'
 
15685
MKDIR_P='$MKDIR_P'
 
15686
AWK='$AWK'
 
15687
test -n "\$AWK" || AWK=awk
 
15688
_ACEOF
 
15689
 
 
15690
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
15691
# The default lists apply if the user does not specify any file.
 
15692
ac_need_defaults=:
 
15693
while test $# != 0
 
15694
do
 
15695
  case $1 in
 
15696
  --*=?*)
 
15697
    ac_option=`expr "X$1" : 'X\([^=]*\)='`
 
15698
    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
 
15699
    ac_shift=:
 
15700
    ;;
 
15701
  --*=)
 
15702
    ac_option=`expr "X$1" : 'X\([^=]*\)='`
 
15703
    ac_optarg=
 
15704
    ac_shift=:
 
15705
    ;;
 
15706
  *)
 
15707
    ac_option=$1
 
15708
    ac_optarg=$2
 
15709
    ac_shift=shift
 
15710
    ;;
 
15711
  esac
 
15712
 
 
15713
  case $ac_option in
 
15714
  # Handling of the options.
 
15715
  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
 
15716
    ac_cs_recheck=: ;;
 
15717
  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
 
15718
    $as_echo "$ac_cs_version"; exit ;;
 
15719
  --config | --confi | --conf | --con | --co | --c )
 
15720
    $as_echo "$ac_cs_config"; exit ;;
 
15721
  --debug | --debu | --deb | --de | --d | -d )
 
15722
    debug=: ;;
 
15723
  --file | --fil | --fi | --f )
 
15724
    $ac_shift
 
15725
    case $ac_optarg in
 
15726
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
 
15727
    '') as_fn_error $? "missing file argument" ;;
 
15728
    esac
 
15729
    as_fn_append CONFIG_FILES " '$ac_optarg'"
 
15730
    ac_need_defaults=false;;
 
15731
  --header | --heade | --head | --hea )
 
15732
    $ac_shift
 
15733
    case $ac_optarg in
 
15734
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
 
15735
    esac
 
15736
    as_fn_append CONFIG_HEADERS " '$ac_optarg'"
 
15737
    ac_need_defaults=false;;
 
15738
  --he | --h)
 
15739
    # Conflict between --help and --header
 
15740
    as_fn_error $? "ambiguous option: \`$1'
 
15741
Try \`$0 --help' for more information.";;
 
15742
  --help | --hel | -h )
 
15743
    $as_echo "$ac_cs_usage"; exit ;;
 
15744
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
 
15745
  | -silent | --silent | --silen | --sile | --sil | --si | --s)
 
15746
    ac_cs_silent=: ;;
 
15747
 
 
15748
  # This is an error.
 
15749
  -*) as_fn_error $? "unrecognized option: \`$1'
 
15750
Try \`$0 --help' for more information." ;;
 
15751
 
 
15752
  *) as_fn_append ac_config_targets " $1"
 
15753
     ac_need_defaults=false ;;
 
15754
 
 
15755
  esac
 
15756
  shift
 
15757
done
 
15758
 
 
15759
ac_configure_extra_args=
 
15760
 
 
15761
if $ac_cs_silent; then
 
15762
  exec 6>/dev/null
 
15763
  ac_configure_extra_args="$ac_configure_extra_args --silent"
 
15764
fi
 
15765
 
 
15766
_ACEOF
 
15767
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
15768
if \$ac_cs_recheck; then
 
15769
  set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
 
15770
  shift
 
15771
  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
 
15772
  CONFIG_SHELL='$SHELL'
 
15773
  export CONFIG_SHELL
 
15774
  exec "\$@"
 
15775
fi
 
15776
 
 
15777
_ACEOF
 
15778
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
15779
exec 5>>config.log
 
15780
{
 
15781
  echo
 
15782
  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
 
15783
## Running $as_me. ##
 
15784
_ASBOX
 
15785
  $as_echo "$ac_log"
 
15786
} >&5
 
15787
 
 
15788
_ACEOF
 
15789
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
15790
#
 
15791
# INIT-COMMANDS
 
15792
#
 
15793
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
 
15794
 
 
15795
 
 
15796
# The HP-UX ksh and POSIX shell print the target directory to stdout
 
15797
# if CDPATH is set.
 
15798
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
 
15799
 
 
15800
sed_quote_subst='$sed_quote_subst'
 
15801
double_quote_subst='$double_quote_subst'
 
15802
delay_variable_subst='$delay_variable_subst'
 
15803
macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
 
15804
macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
 
15805
enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
 
15806
enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
 
15807
pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
 
15808
enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
 
15809
SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
 
15810
ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
 
15811
PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
 
15812
host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
 
15813
host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
 
15814
host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
 
15815
build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
 
15816
build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
 
15817
build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
 
15818
SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
 
15819
Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
 
15820
GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
 
15821
EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
 
15822
FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
 
15823
LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
 
15824
NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
 
15825
LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
 
15826
max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
 
15827
ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
 
15828
exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
 
15829
lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
 
15830
lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
 
15831
lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
 
15832
lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
 
15833
lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
 
15834
reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
 
15835
reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
 
15836
OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
 
15837
deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
 
15838
file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
 
15839
file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
 
15840
want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
 
15841
DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
 
15842
sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
 
15843
AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
 
15844
AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
 
15845
archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
 
15846
STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
 
15847
RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
 
15848
old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
 
15849
old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
 
15850
old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
 
15851
lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
 
15852
CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
 
15853
CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
 
15854
compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
 
15855
GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
 
15856
lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
 
15857
lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
 
15858
lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
 
15859
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`'
 
15860
nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
 
15861
lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
 
15862
objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
 
15863
MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
 
15864
lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
 
15865
lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
 
15866
lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
 
15867
lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
 
15868
lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
 
15869
need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
 
15870
MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
 
15871
DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
 
15872
NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
 
15873
LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
 
15874
OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
 
15875
OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
 
15876
libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
 
15877
shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
 
15878
extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
 
15879
archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
 
15880
enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
 
15881
export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
 
15882
whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
 
15883
compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
 
15884
old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
 
15885
old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
 
15886
archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
 
15887
archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
 
15888
module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
 
15889
module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
 
15890
with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
 
15891
allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
 
15892
no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
 
15893
hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
 
15894
hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
 
15895
hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
 
15896
hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
 
15897
hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
 
15898
hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
 
15899
hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
 
15900
inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
 
15901
link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
 
15902
always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
 
15903
export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
 
15904
exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
 
15905
include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
 
15906
prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
 
15907
postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
 
15908
file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
 
15909
variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
 
15910
need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
 
15911
need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
 
15912
version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
 
15913
runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
 
15914
shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
 
15915
shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
 
15916
libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
 
15917
library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
 
15918
soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
 
15919
install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
 
15920
postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
 
15921
postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
 
15922
finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
 
15923
finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
 
15924
hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
 
15925
sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
 
15926
sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
 
15927
hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
 
15928
enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
 
15929
enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
 
15930
enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
 
15931
old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
 
15932
striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
 
15933
 
 
15934
LTCC='$LTCC'
 
15935
LTCFLAGS='$LTCFLAGS'
 
15936
compiler='$compiler_DEFAULT'
 
15937
 
 
15938
# A function that is used when there is no print builtin or printf.
 
15939
func_fallback_echo ()
 
15940
{
 
15941
  eval 'cat <<_LTECHO_EOF
 
15942
\$1
 
15943
_LTECHO_EOF'
 
15944
}
 
15945
 
 
15946
# Quote evaled strings.
 
15947
for var in SHELL \
 
15948
ECHO \
 
15949
PATH_SEPARATOR \
 
15950
SED \
 
15951
GREP \
 
15952
EGREP \
 
15953
FGREP \
 
15954
LD \
 
15955
NM \
 
15956
LN_S \
 
15957
lt_SP2NL \
 
15958
lt_NL2SP \
 
15959
reload_flag \
 
15960
OBJDUMP \
 
15961
deplibs_check_method \
 
15962
file_magic_cmd \
 
15963
file_magic_glob \
 
15964
want_nocaseglob \
 
15965
DLLTOOL \
 
15966
sharedlib_from_linklib_cmd \
 
15967
AR \
 
15968
AR_FLAGS \
 
15969
archiver_list_spec \
 
15970
STRIP \
 
15971
RANLIB \
 
15972
CC \
 
15973
CFLAGS \
 
15974
compiler \
 
15975
lt_cv_sys_global_symbol_pipe \
 
15976
lt_cv_sys_global_symbol_to_cdecl \
 
15977
lt_cv_sys_global_symbol_to_c_name_address \
 
15978
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
 
15979
nm_file_list_spec \
 
15980
lt_prog_compiler_no_builtin_flag \
 
15981
lt_prog_compiler_pic \
 
15982
lt_prog_compiler_wl \
 
15983
lt_prog_compiler_static \
 
15984
lt_cv_prog_compiler_c_o \
 
15985
need_locks \
 
15986
MANIFEST_TOOL \
 
15987
DSYMUTIL \
 
15988
NMEDIT \
 
15989
LIPO \
 
15990
OTOOL \
 
15991
OTOOL64 \
 
15992
shrext_cmds \
 
15993
export_dynamic_flag_spec \
 
15994
whole_archive_flag_spec \
 
15995
compiler_needs_object \
 
15996
with_gnu_ld \
 
15997
allow_undefined_flag \
 
15998
no_undefined_flag \
 
15999
hardcode_libdir_flag_spec \
 
16000
hardcode_libdir_separator \
 
16001
exclude_expsyms \
 
16002
include_expsyms \
 
16003
file_list_spec \
 
16004
variables_saved_for_relink \
 
16005
libname_spec \
 
16006
library_names_spec \
 
16007
soname_spec \
 
16008
install_override_mode \
 
16009
finish_eval \
 
16010
old_striplib \
 
16011
striplib; do
 
16012
    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
 
16013
    *[\\\\\\\`\\"\\\$]*)
 
16014
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
 
16015
      ;;
 
16016
    *)
 
16017
      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
 
16018
      ;;
 
16019
    esac
 
16020
done
 
16021
 
 
16022
# Double-quote double-evaled strings.
 
16023
for var in reload_cmds \
 
16024
old_postinstall_cmds \
 
16025
old_postuninstall_cmds \
 
16026
old_archive_cmds \
 
16027
extract_expsyms_cmds \
 
16028
old_archive_from_new_cmds \
 
16029
old_archive_from_expsyms_cmds \
 
16030
archive_cmds \
 
16031
archive_expsym_cmds \
 
16032
module_cmds \
 
16033
module_expsym_cmds \
 
16034
export_symbols_cmds \
 
16035
prelink_cmds \
 
16036
postlink_cmds \
 
16037
postinstall_cmds \
 
16038
postuninstall_cmds \
 
16039
finish_cmds \
 
16040
sys_lib_search_path_spec \
 
16041
sys_lib_dlsearch_path_spec; do
 
16042
    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
 
16043
    *[\\\\\\\`\\"\\\$]*)
 
16044
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
 
16045
      ;;
 
16046
    *)
 
16047
      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
 
16048
      ;;
 
16049
    esac
 
16050
done
 
16051
 
 
16052
ac_aux_dir='$ac_aux_dir'
 
16053
xsi_shell='$xsi_shell'
 
16054
lt_shell_append='$lt_shell_append'
 
16055
 
 
16056
# See if we are running on zsh, and set the options which allow our
 
16057
# commands through without removal of \ escapes INIT.
 
16058
if test -n "\${ZSH_VERSION+set}" ; then
 
16059
   setopt NO_GLOB_SUBST
 
16060
fi
 
16061
 
 
16062
 
 
16063
    PACKAGE='$PACKAGE'
 
16064
    VERSION='$VERSION'
 
16065
    TIMESTAMP='$TIMESTAMP'
 
16066
    RM='$RM'
 
16067
    ofile='$ofile'
 
16068
 
 
16069
 
 
16070
 
 
16071
 
 
16072
_ACEOF
 
16073
 
 
16074
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
16075
 
 
16076
# Handling of arguments.
 
16077
for ac_config_target in $ac_config_targets
 
16078
do
 
16079
  case $ac_config_target in
 
16080
    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
 
16081
    "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
 
16082
    "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
 
16083
    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
 
16084
    "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
 
16085
    "xml/Makefile") CONFIG_FILES="$CONFIG_FILES xml/Makefile" ;;
 
16086
    "dbind/Makefile") CONFIG_FILES="$CONFIG_FILES dbind/Makefile" ;;
 
16087
    "dbind/dbind-config.h") CONFIG_FILES="$CONFIG_FILES dbind/dbind-config.h" ;;
 
16088
    "atspi/Makefile") CONFIG_FILES="$CONFIG_FILES atspi/Makefile" ;;
 
16089
    "registryd/Makefile") CONFIG_FILES="$CONFIG_FILES registryd/Makefile" ;;
 
16090
    "bus/Makefile") CONFIG_FILES="$CONFIG_FILES bus/Makefile" ;;
 
16091
    "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
 
16092
    "doc/libatspi/Makefile") CONFIG_FILES="$CONFIG_FILES doc/libatspi/Makefile" ;;
 
16093
    "doc/libatspi/version.xml") CONFIG_FILES="$CONFIG_FILES doc/libatspi/version.xml" ;;
 
16094
    "test/Makefile") CONFIG_FILES="$CONFIG_FILES test/Makefile" ;;
 
16095
    "atspi-2.pc") CONFIG_FILES="$CONFIG_FILES atspi-2.pc" ;;
 
16096
    "atspi-2-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES atspi-2-uninstalled.pc" ;;
 
16097
    "po/stamp-it") CONFIG_COMMANDS="$CONFIG_COMMANDS po/stamp-it" ;;
 
16098
 
 
16099
  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
 
16100
  esac
 
16101
done
 
16102
 
 
16103
 
 
16104
# If the user did not use the arguments to specify the items to instantiate,
 
16105
# then the envvar interface is used.  Set only those that are not.
 
16106
# We use the long form for the default assignment because of an extremely
 
16107
# bizarre bug on SunOS 4.1.3.
 
16108
if $ac_need_defaults; then
 
16109
  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
 
16110
  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
 
16111
  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
 
16112
fi
 
16113
 
 
16114
# Have a temporary directory for convenience.  Make it in the build tree
 
16115
# simply because there is no reason against having it here, and in addition,
 
16116
# creating and moving files from /tmp can sometimes cause problems.
 
16117
# Hook for its removal unless debugging.
 
16118
# Note that there is a small window in which the directory will not be cleaned:
 
16119
# after its creation but before its name has been assigned to `$tmp'.
 
16120
$debug ||
 
16121
{
 
16122
  tmp= ac_tmp=
 
16123
  trap 'exit_status=$?
 
16124
  : "${ac_tmp:=$tmp}"
 
16125
  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
 
16126
' 0
 
16127
  trap 'as_fn_exit 1' 1 2 13 15
 
16128
}
 
16129
# Create a (secure) tmp directory for tmp files.
 
16130
 
 
16131
{
 
16132
  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
 
16133
  test -d "$tmp"
 
16134
}  ||
 
16135
{
 
16136
  tmp=./conf$$-$RANDOM
 
16137
  (umask 077 && mkdir "$tmp")
 
16138
} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
 
16139
ac_tmp=$tmp
 
16140
 
 
16141
# Set up the scripts for CONFIG_FILES section.
 
16142
# No need to generate them if there are no CONFIG_FILES.
 
16143
# This happens for instance with `./config.status config.h'.
 
16144
if test -n "$CONFIG_FILES"; then
 
16145
 
 
16146
 
 
16147
ac_cr=`echo X | tr X '\015'`
 
16148
# On cygwin, bash can eat \r inside `` if the user requested igncr.
 
16149
# But we know of no other shell where ac_cr would be empty at this
 
16150
# point, so we can use a bashism as a fallback.
 
16151
if test "x$ac_cr" = x; then
 
16152
  eval ac_cr=\$\'\\r\'
 
16153
fi
 
16154
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
 
16155
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
 
16156
  ac_cs_awk_cr='\\r'
 
16157
else
 
16158
  ac_cs_awk_cr=$ac_cr
 
16159
fi
 
16160
 
 
16161
echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
 
16162
_ACEOF
 
16163
 
 
16164
 
 
16165
{
 
16166
  echo "cat >conf$$subs.awk <<_ACEOF" &&
 
16167
  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
 
16168
  echo "_ACEOF"
 
16169
} >conf$$subs.sh ||
 
16170
  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
 
16171
ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
 
16172
ac_delim='%!_!# '
 
16173
for ac_last_try in false false false false false :; do
 
16174
  . ./conf$$subs.sh ||
 
16175
    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
 
16176
 
 
16177
  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
 
16178
  if test $ac_delim_n = $ac_delim_num; then
 
16179
    break
 
16180
  elif $ac_last_try; then
 
16181
    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
 
16182
  else
 
16183
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
 
16184
  fi
 
16185
done
 
16186
rm -f conf$$subs.sh
 
16187
 
 
16188
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
16189
cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
 
16190
_ACEOF
 
16191
sed -n '
 
16192
h
 
16193
s/^/S["/; s/!.*/"]=/
 
16194
p
 
16195
g
 
16196
s/^[^!]*!//
 
16197
:repl
 
16198
t repl
 
16199
s/'"$ac_delim"'$//
 
16200
t delim
 
16201
:nl
 
16202
h
 
16203
s/\(.\{148\}\)..*/\1/
 
16204
t more1
 
16205
s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
 
16206
p
 
16207
n
 
16208
b repl
 
16209
:more1
 
16210
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
 
16211
p
 
16212
g
 
16213
s/.\{148\}//
 
16214
t nl
 
16215
:delim
 
16216
h
 
16217
s/\(.\{148\}\)..*/\1/
 
16218
t more2
 
16219
s/["\\]/\\&/g; s/^/"/; s/$/"/
 
16220
p
 
16221
b
 
16222
:more2
 
16223
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
 
16224
p
 
16225
g
 
16226
s/.\{148\}//
 
16227
t delim
 
16228
' <conf$$subs.awk | sed '
 
16229
/^[^""]/{
 
16230
  N
 
16231
  s/\n//
 
16232
}
 
16233
' >>$CONFIG_STATUS || ac_write_fail=1
 
16234
rm -f conf$$subs.awk
 
16235
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
16236
_ACAWK
 
16237
cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
 
16238
  for (key in S) S_is_set[key] = 1
 
16239
  FS = ""
 
16240
 
 
16241
}
 
16242
{
 
16243
  line = $ 0
 
16244
  nfields = split(line, field, "@")
 
16245
  substed = 0
 
16246
  len = length(field[1])
 
16247
  for (i = 2; i < nfields; i++) {
 
16248
    key = field[i]
 
16249
    keylen = length(key)
 
16250
    if (S_is_set[key]) {
 
16251
      value = S[key]
 
16252
      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
 
16253
      len += length(value) + length(field[++i])
 
16254
      substed = 1
 
16255
    } else
 
16256
      len += 1 + keylen
 
16257
  }
 
16258
 
 
16259
  print line
 
16260
}
 
16261
 
 
16262
_ACAWK
 
16263
_ACEOF
 
16264
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
16265
if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
 
16266
  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
 
16267
else
 
16268
  cat
 
16269
fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
 
16270
  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
 
16271
_ACEOF
 
16272
 
 
16273
# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
 
16274
# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
 
16275
# trailing colons and then remove the whole line if VPATH becomes empty
 
16276
# (actually we leave an empty line to preserve line numbers).
 
16277
if test "x$srcdir" = x.; then
 
16278
  ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
 
16279
h
 
16280
s///
 
16281
s/^/:/
 
16282
s/[      ]*$/:/
 
16283
s/:\$(srcdir):/:/g
 
16284
s/:\${srcdir}:/:/g
 
16285
s/:@srcdir@:/:/g
 
16286
s/^:*//
 
16287
s/:*$//
 
16288
x
 
16289
s/\(=[   ]*\).*/\1/
 
16290
G
 
16291
s/\n//
 
16292
s/^[^=]*=[       ]*$//
 
16293
}'
 
16294
fi
 
16295
 
 
16296
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
16297
fi # test -n "$CONFIG_FILES"
 
16298
 
 
16299
# Set up the scripts for CONFIG_HEADERS section.
 
16300
# No need to generate them if there are no CONFIG_HEADERS.
 
16301
# This happens for instance with `./config.status Makefile'.
 
16302
if test -n "$CONFIG_HEADERS"; then
 
16303
cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
 
16304
BEGIN {
 
16305
_ACEOF
 
16306
 
 
16307
# Transform confdefs.h into an awk script `defines.awk', embedded as
 
16308
# here-document in config.status, that substitutes the proper values into
 
16309
# config.h.in to produce config.h.
 
16310
 
 
16311
# Create a delimiter string that does not exist in confdefs.h, to ease
 
16312
# handling of long lines.
 
16313
ac_delim='%!_!# '
 
16314
for ac_last_try in false false :; do
 
16315
  ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
 
16316
  if test -z "$ac_tt"; then
 
16317
    break
 
16318
  elif $ac_last_try; then
 
16319
    as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
 
16320
  else
 
16321
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
 
16322
  fi
 
16323
done
 
16324
 
 
16325
# For the awk script, D is an array of macro values keyed by name,
 
16326
# likewise P contains macro parameters if any.  Preserve backslash
 
16327
# newline sequences.
 
16328
 
 
16329
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
 
16330
sed -n '
 
16331
s/.\{148\}/&'"$ac_delim"'/g
 
16332
t rset
 
16333
:rset
 
16334
s/^[     ]*#[    ]*define[       ][      ]*/ /
 
16335
t def
 
16336
d
 
16337
:def
 
16338
s/\\$//
 
16339
t bsnl
 
16340
s/["\\]/\\&/g
 
16341
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
 
16342
D["\1"]=" \3"/p
 
16343
s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
 
16344
d
 
16345
:bsnl
 
16346
s/["\\]/\\&/g
 
16347
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
 
16348
D["\1"]=" \3\\\\\\n"\\/p
 
16349
t cont
 
16350
s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
 
16351
t cont
 
16352
d
 
16353
:cont
 
16354
n
 
16355
s/.\{148\}/&'"$ac_delim"'/g
 
16356
t clear
 
16357
:clear
 
16358
s/\\$//
 
16359
t bsnlc
 
16360
s/["\\]/\\&/g; s/^/"/; s/$/"/p
 
16361
d
 
16362
:bsnlc
 
16363
s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
 
16364
b cont
 
16365
' <confdefs.h | sed '
 
16366
s/'"$ac_delim"'/"\\\
 
16367
"/g' >>$CONFIG_STATUS || ac_write_fail=1
 
16368
 
 
16369
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
16370
  for (key in D) D_is_set[key] = 1
 
16371
  FS = ""
 
16372
}
 
16373
/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
 
16374
  line = \$ 0
 
16375
  split(line, arg, " ")
 
16376
  if (arg[1] == "#") {
 
16377
    defundef = arg[2]
 
16378
    mac1 = arg[3]
 
16379
  } else {
 
16380
    defundef = substr(arg[1], 2)
 
16381
    mac1 = arg[2]
 
16382
  }
 
16383
  split(mac1, mac2, "(") #)
 
16384
  macro = mac2[1]
 
16385
  prefix = substr(line, 1, index(line, defundef) - 1)
 
16386
  if (D_is_set[macro]) {
 
16387
    # Preserve the white space surrounding the "#".
 
16388
    print prefix "define", macro P[macro] D[macro]
 
16389
    next
 
16390
  } else {
 
16391
    # Replace #undef with comments.  This is necessary, for example,
 
16392
    # in the case of _POSIX_SOURCE, which is predefined and required
 
16393
    # on some systems where configure will not decide to define it.
 
16394
    if (defundef == "undef") {
 
16395
      print "/*", prefix defundef, macro, "*/"
 
16396
      next
 
16397
    }
 
16398
  }
 
16399
}
 
16400
{ print }
 
16401
_ACAWK
 
16402
_ACEOF
 
16403
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
16404
  as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
 
16405
fi # test -n "$CONFIG_HEADERS"
 
16406
 
 
16407
 
 
16408
eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
 
16409
shift
 
16410
for ac_tag
 
16411
do
 
16412
  case $ac_tag in
 
16413
  :[FHLC]) ac_mode=$ac_tag; continue;;
 
16414
  esac
 
16415
  case $ac_mode$ac_tag in
 
16416
  :[FHL]*:*);;
 
16417
  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
 
16418
  :[FH]-) ac_tag=-:-;;
 
16419
  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
 
16420
  esac
 
16421
  ac_save_IFS=$IFS
 
16422
  IFS=:
 
16423
  set x $ac_tag
 
16424
  IFS=$ac_save_IFS
 
16425
  shift
 
16426
  ac_file=$1
 
16427
  shift
 
16428
 
 
16429
  case $ac_mode in
 
16430
  :L) ac_source=$1;;
 
16431
  :[FH])
 
16432
    ac_file_inputs=
 
16433
    for ac_f
 
16434
    do
 
16435
      case $ac_f in
 
16436
      -) ac_f="$ac_tmp/stdin";;
 
16437
      *) # Look for the file first in the build tree, then in the source tree
 
16438
         # (if the path is not absolute).  The absolute path cannot be DOS-style,
 
16439
         # because $ac_f cannot contain `:'.
 
16440
         test -f "$ac_f" ||
 
16441
           case $ac_f in
 
16442
           [\\/$]*) false;;
 
16443
           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
 
16444
           esac ||
 
16445
           as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
 
16446
      esac
 
16447
      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
 
16448
      as_fn_append ac_file_inputs " '$ac_f'"
 
16449
    done
 
16450
 
 
16451
    # Let's still pretend it is `configure' which instantiates (i.e., don't
 
16452
    # use $as_me), people would be surprised to read:
 
16453
    #    /* config.h.  Generated by config.status.  */
 
16454
    configure_input='Generated from '`
 
16455
          $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
 
16456
        `' by configure.'
 
16457
    if test x"$ac_file" != x-; then
 
16458
      configure_input="$ac_file.  $configure_input"
 
16459
      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
 
16460
$as_echo "$as_me: creating $ac_file" >&6;}
 
16461
    fi
 
16462
    # Neutralize special characters interpreted by sed in replacement strings.
 
16463
    case $configure_input in #(
 
16464
    *\&* | *\|* | *\\* )
 
16465
       ac_sed_conf_input=`$as_echo "$configure_input" |
 
16466
       sed 's/[\\\\&|]/\\\\&/g'`;; #(
 
16467
    *) ac_sed_conf_input=$configure_input;;
 
16468
    esac
 
16469
 
 
16470
    case $ac_tag in
 
16471
    *:-:* | *:-) cat >"$ac_tmp/stdin" \
 
16472
      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
 
16473
    esac
 
16474
    ;;
 
16475
  esac
 
16476
 
 
16477
  ac_dir=`$as_dirname -- "$ac_file" ||
 
16478
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
16479
         X"$ac_file" : 'X\(//\)[^/]' \| \
 
16480
         X"$ac_file" : 'X\(//\)$' \| \
 
16481
         X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
 
16482
$as_echo X"$ac_file" |
 
16483
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
16484
            s//\1/
 
16485
            q
 
16486
          }
 
16487
          /^X\(\/\/\)[^/].*/{
 
16488
            s//\1/
 
16489
            q
 
16490
          }
 
16491
          /^X\(\/\/\)$/{
 
16492
            s//\1/
 
16493
            q
 
16494
          }
 
16495
          /^X\(\/\).*/{
 
16496
            s//\1/
 
16497
            q
 
16498
          }
 
16499
          s/.*/./; q'`
 
16500
  as_dir="$ac_dir"; as_fn_mkdir_p
 
16501
  ac_builddir=.
 
16502
 
 
16503
case "$ac_dir" in
 
16504
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
16505
*)
 
16506
  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
 
16507
  # A ".." for each directory in $ac_dir_suffix.
 
16508
  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
 
16509
  case $ac_top_builddir_sub in
 
16510
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
16511
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
 
16512
  esac ;;
 
16513
esac
 
16514
ac_abs_top_builddir=$ac_pwd
 
16515
ac_abs_builddir=$ac_pwd$ac_dir_suffix
 
16516
# for backward compatibility:
 
16517
ac_top_builddir=$ac_top_build_prefix
 
16518
 
 
16519
case $srcdir in
 
16520
  .)  # We are building in place.
 
16521
    ac_srcdir=.
 
16522
    ac_top_srcdir=$ac_top_builddir_sub
 
16523
    ac_abs_top_srcdir=$ac_pwd ;;
 
16524
  [\\/]* | ?:[\\/]* )  # Absolute name.
 
16525
    ac_srcdir=$srcdir$ac_dir_suffix;
 
16526
    ac_top_srcdir=$srcdir
 
16527
    ac_abs_top_srcdir=$srcdir ;;
 
16528
  *) # Relative name.
 
16529
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
 
16530
    ac_top_srcdir=$ac_top_build_prefix$srcdir
 
16531
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
 
16532
esac
 
16533
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
 
16534
 
 
16535
 
 
16536
  case $ac_mode in
 
16537
  :F)
 
16538
  #
 
16539
  # CONFIG_FILE
 
16540
  #
 
16541
 
 
16542
  case $INSTALL in
 
16543
  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
 
16544
  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
 
16545
  esac
 
16546
  ac_MKDIR_P=$MKDIR_P
 
16547
  case $MKDIR_P in
 
16548
  [\\/$]* | ?:[\\/]* ) ;;
 
16549
  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
 
16550
  esac
 
16551
_ACEOF
 
16552
 
 
16553
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
16554
# If the template does not know about datarootdir, expand it.
 
16555
# FIXME: This hack should be removed a few years after 2.60.
 
16556
ac_datarootdir_hack=; ac_datarootdir_seen=
 
16557
ac_sed_dataroot='
 
16558
/datarootdir/ {
 
16559
  p
 
16560
  q
 
16561
}
 
16562
/@datadir@/p
 
16563
/@docdir@/p
 
16564
/@infodir@/p
 
16565
/@localedir@/p
 
16566
/@mandir@/p'
 
16567
case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
 
16568
*datarootdir*) ac_datarootdir_seen=yes;;
 
16569
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
 
16570
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
 
16571
$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
 
16572
_ACEOF
 
16573
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
16574
  ac_datarootdir_hack='
 
16575
  s&@datadir@&$datadir&g
 
16576
  s&@docdir@&$docdir&g
 
16577
  s&@infodir@&$infodir&g
 
16578
  s&@localedir@&$localedir&g
 
16579
  s&@mandir@&$mandir&g
 
16580
  s&\\\${datarootdir}&$datarootdir&g' ;;
 
16581
esac
 
16582
_ACEOF
 
16583
 
 
16584
# Neutralize VPATH when `$srcdir' = `.'.
 
16585
# Shell code in configure.ac might set extrasub.
 
16586
# FIXME: do we really want to maintain this feature?
 
16587
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
16588
ac_sed_extra="$ac_vpsub
 
16589
$extrasub
 
16590
_ACEOF
 
16591
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
16592
:t
 
16593
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
 
16594
s|@configure_input@|$ac_sed_conf_input|;t t
 
16595
s&@top_builddir@&$ac_top_builddir_sub&;t t
 
16596
s&@top_build_prefix@&$ac_top_build_prefix&;t t
 
16597
s&@srcdir@&$ac_srcdir&;t t
 
16598
s&@abs_srcdir@&$ac_abs_srcdir&;t t
 
16599
s&@top_srcdir@&$ac_top_srcdir&;t t
 
16600
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
 
16601
s&@builddir@&$ac_builddir&;t t
 
16602
s&@abs_builddir@&$ac_abs_builddir&;t t
 
16603
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
 
16604
s&@INSTALL@&$ac_INSTALL&;t t
 
16605
s&@MKDIR_P@&$ac_MKDIR_P&;t t
 
16606
$ac_datarootdir_hack
 
16607
"
 
16608
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
 
16609
  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
 
16610
 
 
16611
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
 
16612
  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
 
16613
  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
 
16614
      "$ac_tmp/out"`; test -z "$ac_out"; } &&
 
16615
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 
16616
which seems to be undefined.  Please make sure it is defined" >&5
 
16617
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 
16618
which seems to be undefined.  Please make sure it is defined" >&2;}
 
16619
 
 
16620
  rm -f "$ac_tmp/stdin"
 
16621
  case $ac_file in
 
16622
  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
 
16623
  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
 
16624
  esac \
 
16625
  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
 
16626
 ;;
 
16627
  :H)
 
16628
  #
 
16629
  # CONFIG_HEADER
 
16630
  #
 
16631
  if test x"$ac_file" != x-; then
 
16632
    {
 
16633
      $as_echo "/* $configure_input  */" \
 
16634
      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
 
16635
    } >"$ac_tmp/config.h" \
 
16636
      || as_fn_error $? "could not create $ac_file" "$LINENO" 5
 
16637
    if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
 
16638
      { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
 
16639
$as_echo "$as_me: $ac_file is unchanged" >&6;}
 
16640
    else
 
16641
      rm -f "$ac_file"
 
16642
      mv "$ac_tmp/config.h" "$ac_file" \
 
16643
        || as_fn_error $? "could not create $ac_file" "$LINENO" 5
 
16644
    fi
 
16645
  else
 
16646
    $as_echo "/* $configure_input  */" \
 
16647
      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
 
16648
      || as_fn_error $? "could not create -" "$LINENO" 5
 
16649
  fi
 
16650
# Compute "$ac_file"'s index in $config_headers.
 
16651
_am_arg="$ac_file"
 
16652
_am_stamp_count=1
 
16653
for _am_header in $config_headers :; do
 
16654
  case $_am_header in
 
16655
    $_am_arg | $_am_arg:* )
 
16656
      break ;;
 
16657
    * )
 
16658
      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
 
16659
  esac
 
16660
done
 
16661
echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
 
16662
$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
16663
         X"$_am_arg" : 'X\(//\)[^/]' \| \
 
16664
         X"$_am_arg" : 'X\(//\)$' \| \
 
16665
         X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
 
16666
$as_echo X"$_am_arg" |
 
16667
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
16668
            s//\1/
 
16669
            q
 
16670
          }
 
16671
          /^X\(\/\/\)[^/].*/{
 
16672
            s//\1/
 
16673
            q
 
16674
          }
 
16675
          /^X\(\/\/\)$/{
 
16676
            s//\1/
 
16677
            q
 
16678
          }
 
16679
          /^X\(\/\).*/{
 
16680
            s//\1/
 
16681
            q
 
16682
          }
 
16683
          s/.*/./; q'`/stamp-h$_am_stamp_count
 
16684
 ;;
 
16685
 
 
16686
  :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
 
16687
$as_echo "$as_me: executing $ac_file commands" >&6;}
 
16688
 ;;
 
16689
  esac
 
16690
 
 
16691
 
 
16692
  case $ac_file$ac_mode in
 
16693
    "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
 
16694
  # Older Autoconf quotes --file arguments for eval, but not when files
 
16695
  # are listed without --file.  Let's play safe and only enable the eval
 
16696
  # if we detect the quoting.
 
16697
  case $CONFIG_FILES in
 
16698
  *\'*) eval set x "$CONFIG_FILES" ;;
 
16699
  *)   set x $CONFIG_FILES ;;
 
16700
  esac
 
16701
  shift
 
16702
  for mf
 
16703
  do
 
16704
    # Strip MF so we end up with the name of the file.
 
16705
    mf=`echo "$mf" | sed -e 's/:.*$//'`
 
16706
    # Check whether this is an Automake generated Makefile or not.
 
16707
    # We used to match only the files named 'Makefile.in', but
 
16708
    # some people rename them; so instead we look at the file content.
 
16709
    # Grep'ing the first line is not enough: some people post-process
 
16710
    # each Makefile.in and add a new line on top of each file to say so.
 
16711
    # Grep'ing the whole file is not good either: AIX grep has a line
 
16712
    # limit of 2048, but all sed's we know have understand at least 4000.
 
16713
    if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
 
16714
      dirpart=`$as_dirname -- "$mf" ||
 
16715
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
16716
         X"$mf" : 'X\(//\)[^/]' \| \
 
16717
         X"$mf" : 'X\(//\)$' \| \
 
16718
         X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
 
16719
$as_echo X"$mf" |
 
16720
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
16721
            s//\1/
 
16722
            q
 
16723
          }
 
16724
          /^X\(\/\/\)[^/].*/{
 
16725
            s//\1/
 
16726
            q
 
16727
          }
 
16728
          /^X\(\/\/\)$/{
 
16729
            s//\1/
 
16730
            q
 
16731
          }
 
16732
          /^X\(\/\).*/{
 
16733
            s//\1/
 
16734
            q
 
16735
          }
 
16736
          s/.*/./; q'`
 
16737
    else
 
16738
      continue
 
16739
    fi
 
16740
    # Extract the definition of DEPDIR, am__include, and am__quote
 
16741
    # from the Makefile without running 'make'.
 
16742
    DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
 
16743
    test -z "$DEPDIR" && continue
 
16744
    am__include=`sed -n 's/^am__include = //p' < "$mf"`
 
16745
    test -z "$am__include" && continue
 
16746
    am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
 
16747
    # Find all dependency output files, they are included files with
 
16748
    # $(DEPDIR) in their names.  We invoke sed twice because it is the
 
16749
    # simplest approach to changing $(DEPDIR) to its actual value in the
 
16750
    # expansion.
 
16751
    for file in `sed -n "
 
16752
      s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
 
16753
         sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
 
16754
      # Make sure the directory exists.
 
16755
      test -f "$dirpart/$file" && continue
 
16756
      fdir=`$as_dirname -- "$file" ||
 
16757
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
16758
         X"$file" : 'X\(//\)[^/]' \| \
 
16759
         X"$file" : 'X\(//\)$' \| \
 
16760
         X"$file" : 'X\(/\)' \| . 2>/dev/null ||
 
16761
$as_echo X"$file" |
 
16762
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
16763
            s//\1/
 
16764
            q
 
16765
          }
 
16766
          /^X\(\/\/\)[^/].*/{
 
16767
            s//\1/
 
16768
            q
 
16769
          }
 
16770
          /^X\(\/\/\)$/{
 
16771
            s//\1/
 
16772
            q
 
16773
          }
 
16774
          /^X\(\/\).*/{
 
16775
            s//\1/
 
16776
            q
 
16777
          }
 
16778
          s/.*/./; q'`
 
16779
      as_dir=$dirpart/$fdir; as_fn_mkdir_p
 
16780
      # echo "creating $dirpart/$file"
 
16781
      echo '# dummy' > "$dirpart/$file"
 
16782
    done
 
16783
  done
 
16784
}
 
16785
 ;;
 
16786
    "libtool":C)
 
16787
 
 
16788
    # See if we are running on zsh, and set the options which allow our
 
16789
    # commands through without removal of \ escapes.
 
16790
    if test -n "${ZSH_VERSION+set}" ; then
 
16791
      setopt NO_GLOB_SUBST
 
16792
    fi
 
16793
 
 
16794
    cfgfile="${ofile}T"
 
16795
    trap "$RM \"$cfgfile\"; exit 1" 1 2 15
 
16796
    $RM "$cfgfile"
 
16797
 
 
16798
    cat <<_LT_EOF >> "$cfgfile"
 
16799
#! $SHELL
 
16800
 
 
16801
# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
 
16802
# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
 
16803
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
 
16804
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
 
16805
#
 
16806
#   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
 
16807
#                 2006, 2007, 2008, 2009, 2010, 2011 Free Software
 
16808
#                 Foundation, Inc.
 
16809
#   Written by Gordon Matzigkeit, 1996
 
16810
#
 
16811
#   This file is part of GNU Libtool.
 
16812
#
 
16813
# GNU Libtool is free software; you can redistribute it and/or
 
16814
# modify it under the terms of the GNU General Public License as
 
16815
# published by the Free Software Foundation; either version 2 of
 
16816
# the License, or (at your option) any later version.
 
16817
#
 
16818
# As a special exception to the GNU General Public License,
 
16819
# if you distribute this file as part of a program or library that
 
16820
# is built using GNU Libtool, you may include this file under the
 
16821
# same distribution terms that you use for the rest of that program.
 
16822
#
 
16823
# GNU Libtool is distributed in the hope that it will be useful,
 
16824
# but WITHOUT ANY WARRANTY; without even the implied warranty of
 
16825
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
16826
# GNU General Public License for more details.
 
16827
#
 
16828
# You should have received a copy of the GNU General Public License
 
16829
# along with GNU Libtool; see the file COPYING.  If not, a copy
 
16830
# can be downloaded from http://www.gnu.org/licenses/gpl.html, or
 
16831
# obtained by writing to the Free Software Foundation, Inc.,
 
16832
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
 
16833
 
 
16834
 
 
16835
# The names of the tagged configurations supported by this script.
 
16836
available_tags=""
 
16837
 
 
16838
# ### BEGIN LIBTOOL CONFIG
 
16839
 
 
16840
# Which release of libtool.m4 was used?
 
16841
macro_version=$macro_version
 
16842
macro_revision=$macro_revision
 
16843
 
 
16844
# Whether or not to build static libraries.
 
16845
build_old_libs=$enable_static
 
16846
 
 
16847
# Whether or not to build shared libraries.
 
16848
build_libtool_libs=$enable_shared
 
16849
 
 
16850
# What type of objects to build.
 
16851
pic_mode=$pic_mode
 
16852
 
 
16853
# Whether or not to optimize for fast installation.
 
16854
fast_install=$enable_fast_install
 
16855
 
 
16856
# Shell to use when invoking shell scripts.
 
16857
SHELL=$lt_SHELL
 
16858
 
 
16859
# An echo program that protects backslashes.
 
16860
ECHO=$lt_ECHO
 
16861
 
 
16862
# The PATH separator for the build system.
 
16863
PATH_SEPARATOR=$lt_PATH_SEPARATOR
 
16864
 
 
16865
# The host system.
 
16866
host_alias=$host_alias
 
16867
host=$host
 
16868
host_os=$host_os
 
16869
 
 
16870
# The build system.
 
16871
build_alias=$build_alias
 
16872
build=$build
 
16873
build_os=$build_os
 
16874
 
 
16875
# A sed program that does not truncate output.
 
16876
SED=$lt_SED
 
16877
 
 
16878
# Sed that helps us avoid accidentally triggering echo(1) options like -n.
 
16879
Xsed="\$SED -e 1s/^X//"
 
16880
 
 
16881
# A grep program that handles long lines.
 
16882
GREP=$lt_GREP
 
16883
 
 
16884
# An ERE matcher.
 
16885
EGREP=$lt_EGREP
 
16886
 
 
16887
# A literal string matcher.
 
16888
FGREP=$lt_FGREP
 
16889
 
 
16890
# A BSD- or MS-compatible name lister.
 
16891
NM=$lt_NM
 
16892
 
 
16893
# Whether we need soft or hard links.
 
16894
LN_S=$lt_LN_S
 
16895
 
 
16896
# What is the maximum length of a command?
 
16897
max_cmd_len=$max_cmd_len
 
16898
 
 
16899
# Object file suffix (normally "o").
 
16900
objext=$ac_objext
 
16901
 
 
16902
# Executable file suffix (normally "").
 
16903
exeext=$exeext
 
16904
 
 
16905
# whether the shell understands "unset".
 
16906
lt_unset=$lt_unset
 
16907
 
 
16908
# turn spaces into newlines.
 
16909
SP2NL=$lt_lt_SP2NL
 
16910
 
 
16911
# turn newlines into spaces.
 
16912
NL2SP=$lt_lt_NL2SP
 
16913
 
 
16914
# convert \$build file names to \$host format.
 
16915
to_host_file_cmd=$lt_cv_to_host_file_cmd
 
16916
 
 
16917
# convert \$build files to toolchain format.
 
16918
to_tool_file_cmd=$lt_cv_to_tool_file_cmd
 
16919
 
 
16920
# An object symbol dumper.
 
16921
OBJDUMP=$lt_OBJDUMP
 
16922
 
 
16923
# Method to check whether dependent libraries are shared objects.
 
16924
deplibs_check_method=$lt_deplibs_check_method
 
16925
 
 
16926
# Command to use when deplibs_check_method = "file_magic".
 
16927
file_magic_cmd=$lt_file_magic_cmd
 
16928
 
 
16929
# How to find potential files when deplibs_check_method = "file_magic".
 
16930
file_magic_glob=$lt_file_magic_glob
 
16931
 
 
16932
# Find potential files using nocaseglob when deplibs_check_method = "file_magic".
 
16933
want_nocaseglob=$lt_want_nocaseglob
 
16934
 
 
16935
# DLL creation program.
 
16936
DLLTOOL=$lt_DLLTOOL
 
16937
 
 
16938
# Command to associate shared and link libraries.
 
16939
sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
 
16940
 
 
16941
# The archiver.
 
16942
AR=$lt_AR
 
16943
 
 
16944
# Flags to create an archive.
 
16945
AR_FLAGS=$lt_AR_FLAGS
 
16946
 
 
16947
# How to feed a file listing to the archiver.
 
16948
archiver_list_spec=$lt_archiver_list_spec
 
16949
 
 
16950
# A symbol stripping program.
 
16951
STRIP=$lt_STRIP
 
16952
 
 
16953
# Commands used to install an old-style archive.
 
16954
RANLIB=$lt_RANLIB
 
16955
old_postinstall_cmds=$lt_old_postinstall_cmds
 
16956
old_postuninstall_cmds=$lt_old_postuninstall_cmds
 
16957
 
 
16958
# Whether to use a lock for old archive extraction.
 
16959
lock_old_archive_extraction=$lock_old_archive_extraction
 
16960
 
 
16961
# A C compiler.
 
16962
LTCC=$lt_CC
 
16963
 
 
16964
# LTCC compiler flags.
 
16965
LTCFLAGS=$lt_CFLAGS
 
16966
 
 
16967
# Take the output of nm and produce a listing of raw symbols and C names.
 
16968
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
 
16969
 
 
16970
# Transform the output of nm in a proper C declaration.
 
16971
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
 
16972
 
 
16973
# Transform the output of nm in a C name address pair.
 
16974
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
 
16975
 
 
16976
# Transform the output of nm in a C name address pair when lib prefix is needed.
 
16977
global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
 
16978
 
 
16979
# Specify filename containing input files for \$NM.
 
16980
nm_file_list_spec=$lt_nm_file_list_spec
 
16981
 
 
16982
# The root where to search for dependent libraries,and in which our libraries should be installed.
 
16983
lt_sysroot=$lt_sysroot
 
16984
 
 
16985
# The name of the directory that contains temporary libtool files.
 
16986
objdir=$objdir
 
16987
 
 
16988
# Used to examine libraries when file_magic_cmd begins with "file".
 
16989
MAGIC_CMD=$MAGIC_CMD
 
16990
 
 
16991
# Must we lock files when doing compilation?
 
16992
need_locks=$lt_need_locks
 
16993
 
 
16994
# Manifest tool.
 
16995
MANIFEST_TOOL=$lt_MANIFEST_TOOL
 
16996
 
 
16997
# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
 
16998
DSYMUTIL=$lt_DSYMUTIL
 
16999
 
 
17000
# Tool to change global to local symbols on Mac OS X.
 
17001
NMEDIT=$lt_NMEDIT
 
17002
 
 
17003
# Tool to manipulate fat objects and archives on Mac OS X.
 
17004
LIPO=$lt_LIPO
 
17005
 
 
17006
# ldd/readelf like tool for Mach-O binaries on Mac OS X.
 
17007
OTOOL=$lt_OTOOL
 
17008
 
 
17009
# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
 
17010
OTOOL64=$lt_OTOOL64
 
17011
 
 
17012
# Old archive suffix (normally "a").
 
17013
libext=$libext
 
17014
 
 
17015
# Shared library suffix (normally ".so").
 
17016
shrext_cmds=$lt_shrext_cmds
 
17017
 
 
17018
# The commands to extract the exported symbol list from a shared archive.
 
17019
extract_expsyms_cmds=$lt_extract_expsyms_cmds
 
17020
 
 
17021
# Variables whose values should be saved in libtool wrapper scripts and
 
17022
# restored at link time.
 
17023
variables_saved_for_relink=$lt_variables_saved_for_relink
 
17024
 
 
17025
# Do we need the "lib" prefix for modules?
 
17026
need_lib_prefix=$need_lib_prefix
 
17027
 
 
17028
# Do we need a version for libraries?
 
17029
need_version=$need_version
 
17030
 
 
17031
# Library versioning type.
 
17032
version_type=$version_type
 
17033
 
 
17034
# Shared library runtime path variable.
 
17035
runpath_var=$runpath_var
 
17036
 
 
17037
# Shared library path variable.
 
17038
shlibpath_var=$shlibpath_var
 
17039
 
 
17040
# Is shlibpath searched before the hard-coded library search path?
 
17041
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
 
17042
 
 
17043
# Format of library name prefix.
 
17044
libname_spec=$lt_libname_spec
 
17045
 
 
17046
# List of archive names.  First name is the real one, the rest are links.
 
17047
# The last name is the one that the linker finds with -lNAME
 
17048
library_names_spec=$lt_library_names_spec
 
17049
 
 
17050
# The coded name of the library, if different from the real name.
 
17051
soname_spec=$lt_soname_spec
 
17052
 
 
17053
# Permission mode override for installation of shared libraries.
 
17054
install_override_mode=$lt_install_override_mode
 
17055
 
 
17056
# Command to use after installation of a shared archive.
 
17057
postinstall_cmds=$lt_postinstall_cmds
 
17058
 
 
17059
# Command to use after uninstallation of a shared archive.
 
17060
postuninstall_cmds=$lt_postuninstall_cmds
 
17061
 
 
17062
# Commands used to finish a libtool library installation in a directory.
 
17063
finish_cmds=$lt_finish_cmds
 
17064
 
 
17065
# As "finish_cmds", except a single script fragment to be evaled but
 
17066
# not shown.
 
17067
finish_eval=$lt_finish_eval
 
17068
 
 
17069
# Whether we should hardcode library paths into libraries.
 
17070
hardcode_into_libs=$hardcode_into_libs
 
17071
 
 
17072
# Compile-time system search path for libraries.
 
17073
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
 
17074
 
 
17075
# Run-time system search path for libraries.
 
17076
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
 
17077
 
 
17078
# Whether dlopen is supported.
 
17079
dlopen_support=$enable_dlopen
 
17080
 
 
17081
# Whether dlopen of programs is supported.
 
17082
dlopen_self=$enable_dlopen_self
 
17083
 
 
17084
# Whether dlopen of statically linked programs is supported.
 
17085
dlopen_self_static=$enable_dlopen_self_static
 
17086
 
 
17087
# Commands to strip libraries.
 
17088
old_striplib=$lt_old_striplib
 
17089
striplib=$lt_striplib
 
17090
 
 
17091
 
 
17092
# The linker used to build libraries.
 
17093
LD=$lt_LD
 
17094
 
 
17095
# How to create reloadable object files.
 
17096
reload_flag=$lt_reload_flag
 
17097
reload_cmds=$lt_reload_cmds
 
17098
 
 
17099
# Commands used to build an old-style archive.
 
17100
old_archive_cmds=$lt_old_archive_cmds
 
17101
 
 
17102
# A language specific compiler.
 
17103
CC=$lt_compiler
 
17104
 
 
17105
# Is the compiler the GNU compiler?
 
17106
with_gcc=$GCC
 
17107
 
 
17108
# Compiler flag to turn off builtin functions.
 
17109
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
 
17110
 
 
17111
# Additional compiler flags for building library objects.
 
17112
pic_flag=$lt_lt_prog_compiler_pic
 
17113
 
 
17114
# How to pass a linker flag through the compiler.
 
17115
wl=$lt_lt_prog_compiler_wl
 
17116
 
 
17117
# Compiler flag to prevent dynamic linking.
 
17118
link_static_flag=$lt_lt_prog_compiler_static
 
17119
 
 
17120
# Does compiler simultaneously support -c and -o options?
 
17121
compiler_c_o=$lt_lt_cv_prog_compiler_c_o
 
17122
 
 
17123
# Whether or not to add -lc for building shared libraries.
 
17124
build_libtool_need_lc=$archive_cmds_need_lc
 
17125
 
 
17126
# Whether or not to disallow shared libs when runtime libs are static.
 
17127
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
 
17128
 
 
17129
# Compiler flag to allow reflexive dlopens.
 
17130
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
 
17131
 
 
17132
# Compiler flag to generate shared objects directly from archives.
 
17133
whole_archive_flag_spec=$lt_whole_archive_flag_spec
 
17134
 
 
17135
# Whether the compiler copes with passing no objects directly.
 
17136
compiler_needs_object=$lt_compiler_needs_object
 
17137
 
 
17138
# Create an old-style archive from a shared archive.
 
17139
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
 
17140
 
 
17141
# Create a temporary old-style archive to link instead of a shared archive.
 
17142
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
 
17143
 
 
17144
# Commands used to build a shared archive.
 
17145
archive_cmds=$lt_archive_cmds
 
17146
archive_expsym_cmds=$lt_archive_expsym_cmds
 
17147
 
 
17148
# Commands used to build a loadable module if different from building
 
17149
# a shared archive.
 
17150
module_cmds=$lt_module_cmds
 
17151
module_expsym_cmds=$lt_module_expsym_cmds
 
17152
 
 
17153
# Whether we are building with GNU ld or not.
 
17154
with_gnu_ld=$lt_with_gnu_ld
 
17155
 
 
17156
# Flag that allows shared libraries with undefined symbols to be built.
 
17157
allow_undefined_flag=$lt_allow_undefined_flag
 
17158
 
 
17159
# Flag that enforces no undefined symbols.
 
17160
no_undefined_flag=$lt_no_undefined_flag
 
17161
 
 
17162
# Flag to hardcode \$libdir into a binary during linking.
 
17163
# This must work even if \$libdir does not exist
 
17164
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
 
17165
 
 
17166
# Whether we need a single "-rpath" flag with a separated argument.
 
17167
hardcode_libdir_separator=$lt_hardcode_libdir_separator
 
17168
 
 
17169
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
 
17170
# DIR into the resulting binary.
 
17171
hardcode_direct=$hardcode_direct
 
17172
 
 
17173
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
 
17174
# DIR into the resulting binary and the resulting library dependency is
 
17175
# "absolute",i.e impossible to change by setting \${shlibpath_var} if the
 
17176
# library is relocated.
 
17177
hardcode_direct_absolute=$hardcode_direct_absolute
 
17178
 
 
17179
# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
 
17180
# into the resulting binary.
 
17181
hardcode_minus_L=$hardcode_minus_L
 
17182
 
 
17183
# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
 
17184
# into the resulting binary.
 
17185
hardcode_shlibpath_var=$hardcode_shlibpath_var
 
17186
 
 
17187
# Set to "yes" if building a shared library automatically hardcodes DIR
 
17188
# into the library and all subsequent libraries and executables linked
 
17189
# against it.
 
17190
hardcode_automatic=$hardcode_automatic
 
17191
 
 
17192
# Set to yes if linker adds runtime paths of dependent libraries
 
17193
# to runtime path list.
 
17194
inherit_rpath=$inherit_rpath
 
17195
 
 
17196
# Whether libtool must link a program against all its dependency libraries.
 
17197
link_all_deplibs=$link_all_deplibs
 
17198
 
 
17199
# Set to "yes" if exported symbols are required.
 
17200
always_export_symbols=$always_export_symbols
 
17201
 
 
17202
# The commands to list exported symbols.
 
17203
export_symbols_cmds=$lt_export_symbols_cmds
 
17204
 
 
17205
# Symbols that should not be listed in the preloaded symbols.
 
17206
exclude_expsyms=$lt_exclude_expsyms
 
17207
 
 
17208
# Symbols that must always be exported.
 
17209
include_expsyms=$lt_include_expsyms
 
17210
 
 
17211
# Commands necessary for linking programs (against libraries) with templates.
 
17212
prelink_cmds=$lt_prelink_cmds
 
17213
 
 
17214
# Commands necessary for finishing linking programs.
 
17215
postlink_cmds=$lt_postlink_cmds
 
17216
 
 
17217
# Specify filename containing input files.
 
17218
file_list_spec=$lt_file_list_spec
 
17219
 
 
17220
# How to hardcode a shared library path into an executable.
 
17221
hardcode_action=$hardcode_action
 
17222
 
 
17223
# ### END LIBTOOL CONFIG
 
17224
 
 
17225
_LT_EOF
 
17226
 
 
17227
  case $host_os in
 
17228
  aix3*)
 
17229
    cat <<\_LT_EOF >> "$cfgfile"
 
17230
# AIX sometimes has problems with the GCC collect2 program.  For some
 
17231
# reason, if we set the COLLECT_NAMES environment variable, the problems
 
17232
# vanish in a puff of smoke.
 
17233
if test "X${COLLECT_NAMES+set}" != Xset; then
 
17234
  COLLECT_NAMES=
 
17235
  export COLLECT_NAMES
 
17236
fi
 
17237
_LT_EOF
 
17238
    ;;
 
17239
  esac
 
17240
 
 
17241
 
 
17242
ltmain="$ac_aux_dir/ltmain.sh"
 
17243
 
 
17244
 
 
17245
  # We use sed instead of cat because bash on DJGPP gets confused if
 
17246
  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
 
17247
  # text mode, it properly converts lines to CR/LF.  This bash problem
 
17248
  # is reportedly fixed, but why not run on old versions too?
 
17249
  sed '$q' "$ltmain" >> "$cfgfile" \
 
17250
     || (rm -f "$cfgfile"; exit 1)
 
17251
 
 
17252
  if test x"$xsi_shell" = xyes; then
 
17253
  sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
 
17254
func_dirname ()\
 
17255
{\
 
17256
\    case ${1} in\
 
17257
\      */*) func_dirname_result="${1%/*}${2}" ;;\
 
17258
\      *  ) func_dirname_result="${3}" ;;\
 
17259
\    esac\
 
17260
} # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
 
17261
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
17262
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
17263
test 0 -eq $? || _lt_function_replace_fail=:
 
17264
 
 
17265
 
 
17266
  sed -e '/^func_basename ()$/,/^} # func_basename /c\
 
17267
func_basename ()\
 
17268
{\
 
17269
\    func_basename_result="${1##*/}"\
 
17270
} # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
 
17271
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
17272
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
17273
test 0 -eq $? || _lt_function_replace_fail=:
 
17274
 
 
17275
 
 
17276
  sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
 
17277
func_dirname_and_basename ()\
 
17278
{\
 
17279
\    case ${1} in\
 
17280
\      */*) func_dirname_result="${1%/*}${2}" ;;\
 
17281
\      *  ) func_dirname_result="${3}" ;;\
 
17282
\    esac\
 
17283
\    func_basename_result="${1##*/}"\
 
17284
} # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
 
17285
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
17286
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
17287
test 0 -eq $? || _lt_function_replace_fail=:
 
17288
 
 
17289
 
 
17290
  sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
 
17291
func_stripname ()\
 
17292
{\
 
17293
\    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
 
17294
\    # positional parameters, so assign one to ordinary parameter first.\
 
17295
\    func_stripname_result=${3}\
 
17296
\    func_stripname_result=${func_stripname_result#"${1}"}\
 
17297
\    func_stripname_result=${func_stripname_result%"${2}"}\
 
17298
} # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
 
17299
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
17300
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
17301
test 0 -eq $? || _lt_function_replace_fail=:
 
17302
 
 
17303
 
 
17304
  sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
 
17305
func_split_long_opt ()\
 
17306
{\
 
17307
\    func_split_long_opt_name=${1%%=*}\
 
17308
\    func_split_long_opt_arg=${1#*=}\
 
17309
} # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
 
17310
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
17311
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
17312
test 0 -eq $? || _lt_function_replace_fail=:
 
17313
 
 
17314
 
 
17315
  sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
 
17316
func_split_short_opt ()\
 
17317
{\
 
17318
\    func_split_short_opt_arg=${1#??}\
 
17319
\    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
 
17320
} # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
 
17321
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
17322
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
17323
test 0 -eq $? || _lt_function_replace_fail=:
 
17324
 
 
17325
 
 
17326
  sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
 
17327
func_lo2o ()\
 
17328
{\
 
17329
\    case ${1} in\
 
17330
\      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
 
17331
\      *)    func_lo2o_result=${1} ;;\
 
17332
\    esac\
 
17333
} # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
 
17334
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
17335
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
17336
test 0 -eq $? || _lt_function_replace_fail=:
 
17337
 
 
17338
 
 
17339
  sed -e '/^func_xform ()$/,/^} # func_xform /c\
 
17340
func_xform ()\
 
17341
{\
 
17342
    func_xform_result=${1%.*}.lo\
 
17343
} # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
 
17344
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
17345
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
17346
test 0 -eq $? || _lt_function_replace_fail=:
 
17347
 
 
17348
 
 
17349
  sed -e '/^func_arith ()$/,/^} # func_arith /c\
 
17350
func_arith ()\
 
17351
{\
 
17352
    func_arith_result=$(( $* ))\
 
17353
} # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
 
17354
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
17355
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
17356
test 0 -eq $? || _lt_function_replace_fail=:
 
17357
 
 
17358
 
 
17359
  sed -e '/^func_len ()$/,/^} # func_len /c\
 
17360
func_len ()\
 
17361
{\
 
17362
    func_len_result=${#1}\
 
17363
} # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
 
17364
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
17365
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
17366
test 0 -eq $? || _lt_function_replace_fail=:
 
17367
 
 
17368
fi
 
17369
 
 
17370
if test x"$lt_shell_append" = xyes; then
 
17371
  sed -e '/^func_append ()$/,/^} # func_append /c\
 
17372
func_append ()\
 
17373
{\
 
17374
    eval "${1}+=\\${2}"\
 
17375
} # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
 
17376
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
17377
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
17378
test 0 -eq $? || _lt_function_replace_fail=:
 
17379
 
 
17380
 
 
17381
  sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
 
17382
func_append_quoted ()\
 
17383
{\
 
17384
\    func_quote_for_eval "${2}"\
 
17385
\    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
 
17386
} # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
 
17387
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
17388
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
17389
test 0 -eq $? || _lt_function_replace_fail=:
 
17390
 
 
17391
 
 
17392
  # Save a `func_append' function call where possible by direct use of '+='
 
17393
  sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
 
17394
    && mv -f "$cfgfile.tmp" "$cfgfile" \
 
17395
      || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
17396
  test 0 -eq $? || _lt_function_replace_fail=:
 
17397
else
 
17398
  # Save a `func_append' function call even when '+=' is not available
 
17399
  sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
 
17400
    && mv -f "$cfgfile.tmp" "$cfgfile" \
 
17401
      || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
17402
  test 0 -eq $? || _lt_function_replace_fail=:
 
17403
fi
 
17404
 
 
17405
if test x"$_lt_function_replace_fail" = x":"; then
 
17406
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
 
17407
$as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
 
17408
fi
 
17409
 
 
17410
 
 
17411
   mv -f "$cfgfile" "$ofile" ||
 
17412
    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
 
17413
  chmod +x "$ofile"
 
17414
 
 
17415
 ;;
 
17416
    "po/stamp-it":C)
 
17417
    if  ! grep "^# INTLTOOL_MAKEFILE$" "po/Makefile.in" > /dev/null ; then
 
17418
       as_fn_error $? "po/Makefile.in.in was not created by intltoolize." "$LINENO" 5
 
17419
    fi
 
17420
    rm -f "po/stamp-it" "po/stamp-it.tmp" "po/POTFILES" "po/Makefile.tmp"
 
17421
    >"po/stamp-it.tmp"
 
17422
    sed '/^#/d
 
17423
         s/^[[].*] *//
 
17424
         /^[    ]*$/d
 
17425
        '"s|^|  $ac_top_srcdir/|" \
 
17426
      "$srcdir/po/POTFILES.in" | sed '$!s/$/ \\/' >"po/POTFILES"
 
17427
 
 
17428
    sed '/^POTFILES =/,/[^\\]$/ {
 
17429
                /^POTFILES =/!d
 
17430
                r po/POTFILES
 
17431
          }
 
17432
         ' "po/Makefile.in" >"po/Makefile"
 
17433
    rm -f "po/Makefile.tmp"
 
17434
    mv "po/stamp-it.tmp" "po/stamp-it"
 
17435
   ;;
 
17436
 
 
17437
  esac
 
17438
done # for ac_tag
 
17439
 
 
17440
 
 
17441
as_fn_exit 0
 
17442
_ACEOF
 
17443
ac_clean_files=$ac_clean_files_save
 
17444
 
 
17445
test $ac_write_fail = 0 ||
 
17446
  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
 
17447
 
 
17448
 
 
17449
# configure is writing to config.log, and then calls config.status.
 
17450
# config.status does its own redirection, appending to config.log.
 
17451
# Unfortunately, on DOS this fails, as config.log is still kept open
 
17452
# by configure, so config.status won't be able to write to it; its
 
17453
# output is simply discarded.  So we exec the FD to /dev/null,
 
17454
# effectively closing config.log, so it can be properly (re)opened and
 
17455
# appended to by config.status.  When coming back to configure, we
 
17456
# need to make the FD available again.
 
17457
if test "$no_create" != yes; then
 
17458
  ac_cs_success=:
 
17459
  ac_config_status_args=
 
17460
  test "$silent" = yes &&
 
17461
    ac_config_status_args="$ac_config_status_args --quiet"
 
17462
  exec 5>/dev/null
 
17463
  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
 
17464
  exec 5>>config.log
 
17465
  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
 
17466
  # would make configure fail if this is the last instruction.
 
17467
  $ac_cs_success || as_fn_exit 1
 
17468
fi
 
17469
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
 
17470
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
 
17471
$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
 
17472
fi
 
17473