~ubuntu-branches/ubuntu/trusty/libcmis/trusty

« back to all changes in this revision

Viewing changes to .pc/powerpc64le.diff/configure

  • Committer: Package Import Robot
  • Author(s): Sebastien Bacher
  • Date: 2014-02-05 15:52:43 UTC
  • Revision ID: package-import@ubuntu.com-20140205155243-a9tn62tz0cz1ej61
Tags: 0.4.1-3ubuntu3
Use dh-autoreconf rather than a patch

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 libcmis 0.4.1.
4
 
#
5
 
#
6
 
# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
7
 
#
8
 
#
9
 
# This configure script is free software; the Free Software Foundation
10
 
# gives unlimited permission to copy, distribute and modify it.
11
 
## -------------------- ##
12
 
## M4sh Initialization. ##
13
 
## -------------------- ##
14
 
 
15
 
# Be more Bourne compatible
16
 
DUALCASE=1; export DUALCASE # for MKS sh
17
 
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
18
 
  emulate sh
19
 
  NULLCMD=:
20
 
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21
 
  # is contrary to our usage.  Disable this feature.
22
 
  alias -g '${1+"$@"}'='"$@"'
23
 
  setopt NO_GLOB_SUBST
24
 
else
25
 
  case `(set -o) 2>/dev/null` in #(
26
 
  *posix*) :
27
 
    set -o posix ;; #(
28
 
  *) :
29
 
     ;;
30
 
esac
31
 
fi
32
 
 
33
 
 
34
 
as_nl='
35
 
'
36
 
export as_nl
37
 
# Printing a long string crashes Solaris 7 /usr/bin/printf.
38
 
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39
 
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40
 
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41
 
# Prefer a ksh shell builtin over an external printf program on Solaris,
42
 
# but without wasting forks for bash or zsh.
43
 
if test -z "$BASH_VERSION$ZSH_VERSION" \
44
 
    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
45
 
  as_echo='print -r --'
46
 
  as_echo_n='print -rn --'
47
 
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
48
 
  as_echo='printf %s\n'
49
 
  as_echo_n='printf %s'
50
 
else
51
 
  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52
 
    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
53
 
    as_echo_n='/usr/ucb/echo -n'
54
 
  else
55
 
    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
56
 
    as_echo_n_body='eval
57
 
      arg=$1;
58
 
      case $arg in #(
59
 
      *"$as_nl"*)
60
 
        expr "X$arg" : "X\\(.*\\)$as_nl";
61
 
        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
62
 
      esac;
63
 
      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
64
 
    '
65
 
    export as_echo_n_body
66
 
    as_echo_n='sh -c $as_echo_n_body as_echo'
67
 
  fi
68
 
  export as_echo_body
69
 
  as_echo='sh -c $as_echo_body as_echo'
70
 
fi
71
 
 
72
 
# The user is always right.
73
 
if test "${PATH_SEPARATOR+set}" != set; then
74
 
  PATH_SEPARATOR=:
75
 
  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76
 
    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
77
 
      PATH_SEPARATOR=';'
78
 
  }
79
 
fi
80
 
 
81
 
 
82
 
# IFS
83
 
# We need space, tab and new line, in precisely that order.  Quoting is
84
 
# there to prevent editors from complaining about space-tab.
85
 
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
86
 
# splitting by setting IFS to empty value.)
87
 
IFS=" ""        $as_nl"
88
 
 
89
 
# Find who we are.  Look in the path if we contain no directory separator.
90
 
as_myself=
91
 
case $0 in #((
92
 
  *[\\/]* ) as_myself=$0 ;;
93
 
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
94
 
for as_dir in $PATH
95
 
do
96
 
  IFS=$as_save_IFS
97
 
  test -z "$as_dir" && as_dir=.
98
 
    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
99
 
  done
100
 
IFS=$as_save_IFS
101
 
 
102
 
     ;;
103
 
esac
104
 
# We did not find ourselves, most probably we were run as `sh COMMAND'
105
 
# in which case we are not to be found in the path.
106
 
if test "x$as_myself" = x; then
107
 
  as_myself=$0
108
 
fi
109
 
if test ! -f "$as_myself"; then
110
 
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
111
 
  exit 1
112
 
fi
113
 
 
114
 
# Unset variables that we do not need and which cause bugs (e.g. in
115
 
# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
116
 
# suppresses any "Segmentation fault" message there.  '((' could
117
 
# trigger a bug in pdksh 5.2.14.
118
 
for as_var in BASH_ENV ENV MAIL MAILPATH
119
 
do eval test x\${$as_var+set} = xset \
120
 
  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
121
 
done
122
 
PS1='$ '
123
 
PS2='> '
124
 
PS4='+ '
125
 
 
126
 
# NLS nuisances.
127
 
LC_ALL=C
128
 
export LC_ALL
129
 
LANGUAGE=C
130
 
export LANGUAGE
131
 
 
132
 
# CDPATH.
133
 
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
134
 
 
135
 
# Use a proper internal environment variable to ensure we don't fall
136
 
  # into an infinite loop, continuously re-executing ourselves.
137
 
  if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
138
 
    _as_can_reexec=no; export _as_can_reexec;
139
 
    # We cannot yet assume a decent shell, so we have to provide a
140
 
# neutralization value for shells without unset; and this also
141
 
# works around shells that cannot unset nonexistent variables.
142
 
# Preserve -v and -x to the replacement shell.
143
 
BASH_ENV=/dev/null
144
 
ENV=/dev/null
145
 
(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
146
 
case $- in # ((((
147
 
  *v*x* | *x*v* ) as_opts=-vx ;;
148
 
  *v* ) as_opts=-v ;;
149
 
  *x* ) as_opts=-x ;;
150
 
  * ) as_opts= ;;
151
 
esac
152
 
exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
153
 
# Admittedly, this is quite paranoid, since all the known shells bail
154
 
# out after a failed `exec'.
155
 
$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
156
 
as_fn_exit 255
157
 
  fi
158
 
  # We don't want this to propagate to other subprocesses.
159
 
          { _as_can_reexec=; unset _as_can_reexec;}
160
 
if test "x$CONFIG_SHELL" = x; then
161
 
  as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
162
 
  emulate sh
163
 
  NULLCMD=:
164
 
  # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
165
 
  # is contrary to our usage.  Disable this feature.
166
 
  alias -g '\${1+\"\$@\"}'='\"\$@\"'
167
 
  setopt NO_GLOB_SUBST
168
 
else
169
 
  case \`(set -o) 2>/dev/null\` in #(
170
 
  *posix*) :
171
 
    set -o posix ;; #(
172
 
  *) :
173
 
     ;;
174
 
esac
175
 
fi
176
 
"
177
 
  as_required="as_fn_return () { (exit \$1); }
178
 
as_fn_success () { as_fn_return 0; }
179
 
as_fn_failure () { as_fn_return 1; }
180
 
as_fn_ret_success () { return 0; }
181
 
as_fn_ret_failure () { return 1; }
182
 
 
183
 
exitcode=0
184
 
as_fn_success || { exitcode=1; echo as_fn_success failed.; }
185
 
as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
186
 
as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
187
 
as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
188
 
if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
189
 
 
190
 
else
191
 
  exitcode=1; echo positional parameters were not saved.
192
 
fi
193
 
test x\$exitcode = x0 || exit 1
194
 
test -x / || exit 1"
195
 
  as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
196
 
  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
197
 
  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
198
 
  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
199
 
 
200
 
  test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
201
 
    ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
202
 
    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
203
 
    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
204
 
    PATH=/empty FPATH=/empty; export PATH FPATH
205
 
    test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
206
 
      || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
207
 
test \$(( 1 + 1 )) = 2 || exit 1"
208
 
  if (eval "$as_required") 2>/dev/null; then :
209
 
  as_have_required=yes
210
 
else
211
 
  as_have_required=no
212
 
fi
213
 
  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
214
 
 
215
 
else
216
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
217
 
as_found=false
218
 
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
219
 
do
220
 
  IFS=$as_save_IFS
221
 
  test -z "$as_dir" && as_dir=.
222
 
  as_found=:
223
 
  case $as_dir in #(
224
 
         /*)
225
 
           for as_base in sh bash ksh sh5; do
226
 
             # Try only shells that exist, to save several forks.
227
 
             as_shell=$as_dir/$as_base
228
 
             if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
229
 
                    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
230
 
  CONFIG_SHELL=$as_shell as_have_required=yes
231
 
                   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
232
 
  break 2
233
 
fi
234
 
fi
235
 
           done;;
236
 
       esac
237
 
  as_found=false
238
 
done
239
 
$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
240
 
              { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
241
 
  CONFIG_SHELL=$SHELL as_have_required=yes
242
 
fi; }
243
 
IFS=$as_save_IFS
244
 
 
245
 
 
246
 
      if test "x$CONFIG_SHELL" != x; then :
247
 
  export CONFIG_SHELL
248
 
             # We cannot yet assume a decent shell, so we have to provide a
249
 
# neutralization value for shells without unset; and this also
250
 
# works around shells that cannot unset nonexistent variables.
251
 
# Preserve -v and -x to the replacement shell.
252
 
BASH_ENV=/dev/null
253
 
ENV=/dev/null
254
 
(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
255
 
case $- in # ((((
256
 
  *v*x* | *x*v* ) as_opts=-vx ;;
257
 
  *v* ) as_opts=-v ;;
258
 
  *x* ) as_opts=-x ;;
259
 
  * ) as_opts= ;;
260
 
esac
261
 
exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
262
 
# Admittedly, this is quite paranoid, since all the known shells bail
263
 
# out after a failed `exec'.
264
 
$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
265
 
exit 255
266
 
fi
267
 
 
268
 
    if test x$as_have_required = xno; then :
269
 
  $as_echo "$0: This script requires a shell more modern than all"
270
 
  $as_echo "$0: the shells that I found on your system."
271
 
  if test x${ZSH_VERSION+set} = xset ; then
272
 
    $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
273
 
    $as_echo "$0: be upgraded to zsh 4.3.4 or later."
274
 
  else
275
 
    $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
276
 
$0: including any error possibly output before this
277
 
$0: message. Then install a modern shell, or manually run
278
 
$0: the script under such a shell if you do have one."
279
 
  fi
280
 
  exit 1
281
 
fi
282
 
fi
283
 
fi
284
 
SHELL=${CONFIG_SHELL-/bin/sh}
285
 
export SHELL
286
 
# Unset more variables known to interfere with behavior of common tools.
287
 
CLICOLOR_FORCE= GREP_OPTIONS=
288
 
unset CLICOLOR_FORCE GREP_OPTIONS
289
 
 
290
 
## --------------------- ##
291
 
## M4sh Shell Functions. ##
292
 
## --------------------- ##
293
 
# as_fn_unset VAR
294
 
# ---------------
295
 
# Portably unset VAR.
296
 
as_fn_unset ()
297
 
{
298
 
  { eval $1=; unset $1;}
299
 
}
300
 
as_unset=as_fn_unset
301
 
 
302
 
# as_fn_set_status STATUS
303
 
# -----------------------
304
 
# Set $? to STATUS, without forking.
305
 
as_fn_set_status ()
306
 
{
307
 
  return $1
308
 
} # as_fn_set_status
309
 
 
310
 
# as_fn_exit STATUS
311
 
# -----------------
312
 
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
313
 
as_fn_exit ()
314
 
{
315
 
  set +e
316
 
  as_fn_set_status $1
317
 
  exit $1
318
 
} # as_fn_exit
319
 
 
320
 
# as_fn_mkdir_p
321
 
# -------------
322
 
# Create "$as_dir" as a directory, including parents if necessary.
323
 
as_fn_mkdir_p ()
324
 
{
325
 
 
326
 
  case $as_dir in #(
327
 
  -*) as_dir=./$as_dir;;
328
 
  esac
329
 
  test -d "$as_dir" || eval $as_mkdir_p || {
330
 
    as_dirs=
331
 
    while :; do
332
 
      case $as_dir in #(
333
 
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
334
 
      *) as_qdir=$as_dir;;
335
 
      esac
336
 
      as_dirs="'$as_qdir' $as_dirs"
337
 
      as_dir=`$as_dirname -- "$as_dir" ||
338
 
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
339
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
340
 
         X"$as_dir" : 'X\(//\)$' \| \
341
 
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
342
 
$as_echo X"$as_dir" |
343
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
344
 
            s//\1/
345
 
            q
346
 
          }
347
 
          /^X\(\/\/\)[^/].*/{
348
 
            s//\1/
349
 
            q
350
 
          }
351
 
          /^X\(\/\/\)$/{
352
 
            s//\1/
353
 
            q
354
 
          }
355
 
          /^X\(\/\).*/{
356
 
            s//\1/
357
 
            q
358
 
          }
359
 
          s/.*/./; q'`
360
 
      test -d "$as_dir" && break
361
 
    done
362
 
    test -z "$as_dirs" || eval "mkdir $as_dirs"
363
 
  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
364
 
 
365
 
 
366
 
} # as_fn_mkdir_p
367
 
 
368
 
# as_fn_executable_p FILE
369
 
# -----------------------
370
 
# Test if FILE is an executable regular file.
371
 
as_fn_executable_p ()
372
 
{
373
 
  test -f "$1" && test -x "$1"
374
 
} # as_fn_executable_p
375
 
# as_fn_append VAR VALUE
376
 
# ----------------------
377
 
# Append the text in VALUE to the end of the definition contained in VAR. Take
378
 
# advantage of any shell optimizations that allow amortized linear growth over
379
 
# repeated appends, instead of the typical quadratic growth present in naive
380
 
# implementations.
381
 
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
382
 
  eval 'as_fn_append ()
383
 
  {
384
 
    eval $1+=\$2
385
 
  }'
386
 
else
387
 
  as_fn_append ()
388
 
  {
389
 
    eval $1=\$$1\$2
390
 
  }
391
 
fi # as_fn_append
392
 
 
393
 
# as_fn_arith ARG...
394
 
# ------------------
395
 
# Perform arithmetic evaluation on the ARGs, and store the result in the
396
 
# global $as_val. Take advantage of shells that can avoid forks. The arguments
397
 
# must be portable across $(()) and expr.
398
 
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
399
 
  eval 'as_fn_arith ()
400
 
  {
401
 
    as_val=$(( $* ))
402
 
  }'
403
 
else
404
 
  as_fn_arith ()
405
 
  {
406
 
    as_val=`expr "$@" || test $? -eq 1`
407
 
  }
408
 
fi # as_fn_arith
409
 
 
410
 
 
411
 
# as_fn_error STATUS ERROR [LINENO LOG_FD]
412
 
# ----------------------------------------
413
 
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
414
 
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
415
 
# script with STATUS, using 1 if that was 0.
416
 
as_fn_error ()
417
 
{
418
 
  as_status=$1; test $as_status -eq 0 && as_status=1
419
 
  if test "$4"; then
420
 
    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
421
 
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
422
 
  fi
423
 
  $as_echo "$as_me: error: $2" >&2
424
 
  as_fn_exit $as_status
425
 
} # as_fn_error
426
 
 
427
 
if expr a : '\(a\)' >/dev/null 2>&1 &&
428
 
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
429
 
  as_expr=expr
430
 
else
431
 
  as_expr=false
432
 
fi
433
 
 
434
 
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
435
 
  as_basename=basename
436
 
else
437
 
  as_basename=false
438
 
fi
439
 
 
440
 
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
441
 
  as_dirname=dirname
442
 
else
443
 
  as_dirname=false
444
 
fi
445
 
 
446
 
as_me=`$as_basename -- "$0" ||
447
 
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
448
 
         X"$0" : 'X\(//\)$' \| \
449
 
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
450
 
$as_echo X/"$0" |
451
 
    sed '/^.*\/\([^/][^/]*\)\/*$/{
452
 
            s//\1/
453
 
            q
454
 
          }
455
 
          /^X\/\(\/\/\)$/{
456
 
            s//\1/
457
 
            q
458
 
          }
459
 
          /^X\/\(\/\).*/{
460
 
            s//\1/
461
 
            q
462
 
          }
463
 
          s/.*/./; q'`
464
 
 
465
 
# Avoid depending upon Character Ranges.
466
 
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
467
 
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
468
 
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
469
 
as_cr_digits='0123456789'
470
 
as_cr_alnum=$as_cr_Letters$as_cr_digits
471
 
 
472
 
 
473
 
  as_lineno_1=$LINENO as_lineno_1a=$LINENO
474
 
  as_lineno_2=$LINENO as_lineno_2a=$LINENO
475
 
  eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
476
 
  test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
477
 
  # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
478
 
  sed -n '
479
 
    p
480
 
    /[$]LINENO/=
481
 
  ' <$as_myself |
482
 
    sed '
483
 
      s/[$]LINENO.*/&-/
484
 
      t lineno
485
 
      b
486
 
      :lineno
487
 
      N
488
 
      :loop
489
 
      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
490
 
      t loop
491
 
      s/-\n.*//
492
 
    ' >$as_me.lineno &&
493
 
  chmod +x "$as_me.lineno" ||
494
 
    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
495
 
 
496
 
  # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
497
 
  # already done that, so ensure we don't try to do so again and fall
498
 
  # in an infinite loop.  This has already happened in practice.
499
 
  _as_can_reexec=no; export _as_can_reexec
500
 
  # Don't try to exec as it changes $[0], causing all sort of problems
501
 
  # (the dirname of $[0] is not the place where we might find the
502
 
  # original and so on.  Autoconf is especially sensitive to this).
503
 
  . "./$as_me.lineno"
504
 
  # Exit status is that of the last command.
505
 
  exit
506
 
}
507
 
 
508
 
ECHO_C= ECHO_N= ECHO_T=
509
 
case `echo -n x` in #(((((
510
 
-n*)
511
 
  case `echo 'xy\c'` in
512
 
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
513
 
  xy)  ECHO_C='\c';;
514
 
  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
515
 
       ECHO_T=' ';;
516
 
  esac;;
517
 
*)
518
 
  ECHO_N='-n';;
519
 
esac
520
 
 
521
 
rm -f conf$$ conf$$.exe conf$$.file
522
 
if test -d conf$$.dir; then
523
 
  rm -f conf$$.dir/conf$$.file
524
 
else
525
 
  rm -f conf$$.dir
526
 
  mkdir conf$$.dir 2>/dev/null
527
 
fi
528
 
if (echo >conf$$.file) 2>/dev/null; then
529
 
  if ln -s conf$$.file conf$$ 2>/dev/null; then
530
 
    as_ln_s='ln -s'
531
 
    # ... but there are two gotchas:
532
 
    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
533
 
    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
534
 
    # In both cases, we have to default to `cp -pR'.
535
 
    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
536
 
      as_ln_s='cp -pR'
537
 
  elif ln conf$$.file conf$$ 2>/dev/null; then
538
 
    as_ln_s=ln
539
 
  else
540
 
    as_ln_s='cp -pR'
541
 
  fi
542
 
else
543
 
  as_ln_s='cp -pR'
544
 
fi
545
 
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
546
 
rmdir conf$$.dir 2>/dev/null
547
 
 
548
 
if mkdir -p . 2>/dev/null; then
549
 
  as_mkdir_p='mkdir -p "$as_dir"'
550
 
else
551
 
  test -d ./-p && rmdir ./-p
552
 
  as_mkdir_p=false
553
 
fi
554
 
 
555
 
as_test_x='test -x'
556
 
as_executable_p=as_fn_executable_p
557
 
 
558
 
# Sed expression to map a string onto a valid CPP name.
559
 
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
560
 
 
561
 
# Sed expression to map a string onto a valid variable name.
562
 
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
563
 
 
564
 
SHELL=${CONFIG_SHELL-/bin/sh}
565
 
 
566
 
 
567
 
test -n "$DJDIR" || exec 7<&0 </dev/null
568
 
exec 6>&1
569
 
 
570
 
# Name of the host.
571
 
# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
572
 
# so uname gets run too.
573
 
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
574
 
 
575
 
#
576
 
# Initializations.
577
 
#
578
 
ac_default_prefix=/usr/local
579
 
ac_clean_files=
580
 
ac_config_libobj_dir=.
581
 
LIBOBJS=
582
 
cross_compiling=no
583
 
subdirs=
584
 
MFLAGS=
585
 
MAKEFLAGS=
586
 
 
587
 
# Identity of this package.
588
 
PACKAGE_NAME='libcmis'
589
 
PACKAGE_TARNAME='libcmis'
590
 
PACKAGE_VERSION='0.4.1'
591
 
PACKAGE_STRING='libcmis 0.4.1'
592
 
PACKAGE_BUGREPORT=''
593
 
PACKAGE_URL=''
594
 
 
595
 
# Factoring default headers for most tests.
596
 
ac_includes_default="\
597
 
#include <stdio.h>
598
 
#ifdef HAVE_SYS_TYPES_H
599
 
# include <sys/types.h>
600
 
#endif
601
 
#ifdef HAVE_SYS_STAT_H
602
 
# include <sys/stat.h>
603
 
#endif
604
 
#ifdef STDC_HEADERS
605
 
# include <stdlib.h>
606
 
# include <stddef.h>
607
 
#else
608
 
# ifdef HAVE_STDLIB_H
609
 
#  include <stdlib.h>
610
 
# endif
611
 
#endif
612
 
#ifdef HAVE_STRING_H
613
 
# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
614
 
#  include <memory.h>
615
 
# endif
616
 
# include <string.h>
617
 
#endif
618
 
#ifdef HAVE_STRINGS_H
619
 
# include <strings.h>
620
 
#endif
621
 
#ifdef HAVE_INTTYPES_H
622
 
# include <inttypes.h>
623
 
#endif
624
 
#ifdef HAVE_STDINT_H
625
 
# include <stdint.h>
626
 
#endif
627
 
#ifdef HAVE_UNISTD_H
628
 
# include <unistd.h>
629
 
#endif"
630
 
 
631
 
ac_subst_vars='am__EXEEXT_FALSE
632
 
am__EXEEXT_TRUE
633
 
LTLIBOBJS
634
 
LIBOBJS
635
 
BOOST_PROGRAM_OPTIONS_LIBS
636
 
BOOST_PROGRAM_OPTIONS_LDFLAGS
637
 
BOOST_DATE_TIME_LIBS
638
 
BOOST_DATE_TIME_LDFLAGS
639
 
BOOST_CPPFLAGS
640
 
DISTCHECK_CONFIGURE_FLAGS
641
 
BOOST_ROOT
642
 
CPPUNIT_LIBS
643
 
CPPUNIT_CFLAGS
644
 
XML2_LIBS
645
 
XML2_CFLAGS
646
 
CURL_LIBS
647
 
CURL_CFLAGS
648
 
PKG_CONFIG_LIBDIR
649
 
PKG_CONFIG_PATH
650
 
PKG_CONFIG
651
 
ENABLE_CPPCHECK_FALSE
652
 
ENABLE_CPPCHECK_TRUE
653
 
CPPCHECK
654
 
WITH_LIBCMIS_MAN_FALSE
655
 
WITH_LIBCMIS_MAN_TRUE
656
 
DOCBOOK2MAN
657
 
OS_WIN32_FALSE
658
 
OS_WIN32_TRUE
659
 
CXXCPP
660
 
OTOOL64
661
 
OTOOL
662
 
LIPO
663
 
NMEDIT
664
 
DSYMUTIL
665
 
MANIFEST_TOOL
666
 
RANLIB
667
 
ac_ct_AR
668
 
AR
669
 
DLLTOOL
670
 
OBJDUMP
671
 
NM
672
 
ac_ct_DUMPBIN
673
 
DUMPBIN
674
 
LD
675
 
FGREP
676
 
EGREP
677
 
GREP
678
 
SED
679
 
host_os
680
 
host_vendor
681
 
host_cpu
682
 
host
683
 
build_os
684
 
build_vendor
685
 
build_cpu
686
 
build
687
 
LIBTOOL
688
 
LN_S
689
 
am__fastdepCXX_FALSE
690
 
am__fastdepCXX_TRUE
691
 
CXXDEPMODE
692
 
ac_ct_CXX
693
 
CXXFLAGS
694
 
CXX
695
 
CPP
696
 
am__fastdepCC_FALSE
697
 
am__fastdepCC_TRUE
698
 
CCDEPMODE
699
 
am__nodep
700
 
AMDEPBACKSLASH
701
 
AMDEP_FALSE
702
 
AMDEP_TRUE
703
 
am__quote
704
 
am__include
705
 
DEPDIR
706
 
OBJEXT
707
 
EXEEXT
708
 
ac_ct_CC
709
 
CPPFLAGS
710
 
LDFLAGS
711
 
CFLAGS
712
 
CC
713
 
SRCDIR
714
 
LIBCMIS_API_VERSION
715
 
ENABLE_LONG_TESTS_FALSE
716
 
ENABLE_LONG_TESTS_TRUE
717
 
ENABLE_TESTS_FALSE
718
 
ENABLE_TESTS_TRUE
719
 
ENABLE_CLIENT_FALSE
720
 
ENABLE_CLIENT_TRUE
721
 
AM_BACKSLASH
722
 
AM_DEFAULT_VERBOSITY
723
 
AM_DEFAULT_V
724
 
AM_V
725
 
am__untar
726
 
am__tar
727
 
AMTAR
728
 
am__leading_dot
729
 
SET_MAKE
730
 
AWK
731
 
mkdir_p
732
 
MKDIR_P
733
 
INSTALL_STRIP_PROGRAM
734
 
STRIP
735
 
install_sh
736
 
MAKEINFO
737
 
AUTOHEADER
738
 
AUTOMAKE
739
 
AUTOCONF
740
 
ACLOCAL
741
 
VERSION
742
 
PACKAGE
743
 
CYGPATH_W
744
 
am__isrc
745
 
INSTALL_DATA
746
 
INSTALL_SCRIPT
747
 
INSTALL_PROGRAM
748
 
target_alias
749
 
host_alias
750
 
build_alias
751
 
LIBS
752
 
ECHO_T
753
 
ECHO_N
754
 
ECHO_C
755
 
DEFS
756
 
mandir
757
 
localedir
758
 
libdir
759
 
psdir
760
 
pdfdir
761
 
dvidir
762
 
htmldir
763
 
infodir
764
 
docdir
765
 
oldincludedir
766
 
includedir
767
 
localstatedir
768
 
sharedstatedir
769
 
sysconfdir
770
 
datadir
771
 
datarootdir
772
 
libexecdir
773
 
sbindir
774
 
bindir
775
 
program_transform_name
776
 
prefix
777
 
exec_prefix
778
 
PACKAGE_URL
779
 
PACKAGE_BUGREPORT
780
 
PACKAGE_STRING
781
 
PACKAGE_VERSION
782
 
PACKAGE_TARNAME
783
 
PACKAGE_NAME
784
 
PATH_SEPARATOR
785
 
SHELL'
786
 
ac_subst_files=''
787
 
ac_user_opts='
788
 
enable_option_checking
789
 
enable_silent_rules
790
 
enable_client
791
 
enable_tests
792
 
enable_long_tests
793
 
enable_dependency_tracking
794
 
enable_shared
795
 
enable_static
796
 
with_pic
797
 
enable_fast_install
798
 
with_gnu_ld
799
 
with_sysroot
800
 
enable_libtool_lock
801
 
with_man
802
 
enable_werror
803
 
with_boost
804
 
enable_static_boost
805
 
'
806
 
      ac_precious_vars='build_alias
807
 
host_alias
808
 
target_alias
809
 
CC
810
 
CFLAGS
811
 
LDFLAGS
812
 
LIBS
813
 
CPPFLAGS
814
 
CPP
815
 
CXX
816
 
CXXFLAGS
817
 
CCC
818
 
CXXCPP
819
 
PKG_CONFIG
820
 
PKG_CONFIG_PATH
821
 
PKG_CONFIG_LIBDIR
822
 
CURL_CFLAGS
823
 
CURL_LIBS
824
 
XML2_CFLAGS
825
 
XML2_LIBS
826
 
CPPUNIT_CFLAGS
827
 
CPPUNIT_LIBS
828
 
BOOST_ROOT'
829
 
 
830
 
 
831
 
# Initialize some variables set by options.
832
 
ac_init_help=
833
 
ac_init_version=false
834
 
ac_unrecognized_opts=
835
 
ac_unrecognized_sep=
836
 
# The variables have the same names as the options, with
837
 
# dashes changed to underlines.
838
 
cache_file=/dev/null
839
 
exec_prefix=NONE
840
 
no_create=
841
 
no_recursion=
842
 
prefix=NONE
843
 
program_prefix=NONE
844
 
program_suffix=NONE
845
 
program_transform_name=s,x,x,
846
 
silent=
847
 
site=
848
 
srcdir=
849
 
verbose=
850
 
x_includes=NONE
851
 
x_libraries=NONE
852
 
 
853
 
# Installation directory options.
854
 
# These are left unexpanded so users can "make install exec_prefix=/foo"
855
 
# and all the variables that are supposed to be based on exec_prefix
856
 
# by default will actually change.
857
 
# Use braces instead of parens because sh, perl, etc. also accept them.
858
 
# (The list follows the same order as the GNU Coding Standards.)
859
 
bindir='${exec_prefix}/bin'
860
 
sbindir='${exec_prefix}/sbin'
861
 
libexecdir='${exec_prefix}/libexec'
862
 
datarootdir='${prefix}/share'
863
 
datadir='${datarootdir}'
864
 
sysconfdir='${prefix}/etc'
865
 
sharedstatedir='${prefix}/com'
866
 
localstatedir='${prefix}/var'
867
 
includedir='${prefix}/include'
868
 
oldincludedir='/usr/include'
869
 
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
870
 
infodir='${datarootdir}/info'
871
 
htmldir='${docdir}'
872
 
dvidir='${docdir}'
873
 
pdfdir='${docdir}'
874
 
psdir='${docdir}'
875
 
libdir='${exec_prefix}/lib'
876
 
localedir='${datarootdir}/locale'
877
 
mandir='${datarootdir}/man'
878
 
 
879
 
ac_prev=
880
 
ac_dashdash=
881
 
for ac_option
882
 
do
883
 
  # If the previous option needs an argument, assign it.
884
 
  if test -n "$ac_prev"; then
885
 
    eval $ac_prev=\$ac_option
886
 
    ac_prev=
887
 
    continue
888
 
  fi
889
 
 
890
 
  case $ac_option in
891
 
  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
892
 
  *=)   ac_optarg= ;;
893
 
  *)    ac_optarg=yes ;;
894
 
  esac
895
 
 
896
 
  # Accept the important Cygnus configure options, so we can diagnose typos.
897
 
 
898
 
  case $ac_dashdash$ac_option in
899
 
  --)
900
 
    ac_dashdash=yes ;;
901
 
 
902
 
  -bindir | --bindir | --bindi | --bind | --bin | --bi)
903
 
    ac_prev=bindir ;;
904
 
  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
905
 
    bindir=$ac_optarg ;;
906
 
 
907
 
  -build | --build | --buil | --bui | --bu)
908
 
    ac_prev=build_alias ;;
909
 
  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
910
 
    build_alias=$ac_optarg ;;
911
 
 
912
 
  -cache-file | --cache-file | --cache-fil | --cache-fi \
913
 
  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
914
 
    ac_prev=cache_file ;;
915
 
  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
916
 
  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
917
 
    cache_file=$ac_optarg ;;
918
 
 
919
 
  --config-cache | -C)
920
 
    cache_file=config.cache ;;
921
 
 
922
 
  -datadir | --datadir | --datadi | --datad)
923
 
    ac_prev=datadir ;;
924
 
  -datadir=* | --datadir=* | --datadi=* | --datad=*)
925
 
    datadir=$ac_optarg ;;
926
 
 
927
 
  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
928
 
  | --dataroo | --dataro | --datar)
929
 
    ac_prev=datarootdir ;;
930
 
  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
931
 
  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
932
 
    datarootdir=$ac_optarg ;;
933
 
 
934
 
  -disable-* | --disable-*)
935
 
    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
936
 
    # Reject names that are not valid shell variable names.
937
 
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
938
 
      as_fn_error $? "invalid feature name: $ac_useropt"
939
 
    ac_useropt_orig=$ac_useropt
940
 
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
941
 
    case $ac_user_opts in
942
 
      *"
943
 
"enable_$ac_useropt"
944
 
"*) ;;
945
 
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
946
 
         ac_unrecognized_sep=', ';;
947
 
    esac
948
 
    eval enable_$ac_useropt=no ;;
949
 
 
950
 
  -docdir | --docdir | --docdi | --doc | --do)
951
 
    ac_prev=docdir ;;
952
 
  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
953
 
    docdir=$ac_optarg ;;
954
 
 
955
 
  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
956
 
    ac_prev=dvidir ;;
957
 
  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
958
 
    dvidir=$ac_optarg ;;
959
 
 
960
 
  -enable-* | --enable-*)
961
 
    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
962
 
    # Reject names that are not valid shell variable names.
963
 
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
964
 
      as_fn_error $? "invalid feature name: $ac_useropt"
965
 
    ac_useropt_orig=$ac_useropt
966
 
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
967
 
    case $ac_user_opts in
968
 
      *"
969
 
"enable_$ac_useropt"
970
 
"*) ;;
971
 
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
972
 
         ac_unrecognized_sep=', ';;
973
 
    esac
974
 
    eval enable_$ac_useropt=\$ac_optarg ;;
975
 
 
976
 
  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
977
 
  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
978
 
  | --exec | --exe | --ex)
979
 
    ac_prev=exec_prefix ;;
980
 
  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
981
 
  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
982
 
  | --exec=* | --exe=* | --ex=*)
983
 
    exec_prefix=$ac_optarg ;;
984
 
 
985
 
  -gas | --gas | --ga | --g)
986
 
    # Obsolete; use --with-gas.
987
 
    with_gas=yes ;;
988
 
 
989
 
  -help | --help | --hel | --he | -h)
990
 
    ac_init_help=long ;;
991
 
  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
992
 
    ac_init_help=recursive ;;
993
 
  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
994
 
    ac_init_help=short ;;
995
 
 
996
 
  -host | --host | --hos | --ho)
997
 
    ac_prev=host_alias ;;
998
 
  -host=* | --host=* | --hos=* | --ho=*)
999
 
    host_alias=$ac_optarg ;;
1000
 
 
1001
 
  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1002
 
    ac_prev=htmldir ;;
1003
 
  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1004
 
  | --ht=*)
1005
 
    htmldir=$ac_optarg ;;
1006
 
 
1007
 
  -includedir | --includedir | --includedi | --included | --include \
1008
 
  | --includ | --inclu | --incl | --inc)
1009
 
    ac_prev=includedir ;;
1010
 
  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1011
 
  | --includ=* | --inclu=* | --incl=* | --inc=*)
1012
 
    includedir=$ac_optarg ;;
1013
 
 
1014
 
  -infodir | --infodir | --infodi | --infod | --info | --inf)
1015
 
    ac_prev=infodir ;;
1016
 
  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1017
 
    infodir=$ac_optarg ;;
1018
 
 
1019
 
  -libdir | --libdir | --libdi | --libd)
1020
 
    ac_prev=libdir ;;
1021
 
  -libdir=* | --libdir=* | --libdi=* | --libd=*)
1022
 
    libdir=$ac_optarg ;;
1023
 
 
1024
 
  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1025
 
  | --libexe | --libex | --libe)
1026
 
    ac_prev=libexecdir ;;
1027
 
  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1028
 
  | --libexe=* | --libex=* | --libe=*)
1029
 
    libexecdir=$ac_optarg ;;
1030
 
 
1031
 
  -localedir | --localedir | --localedi | --localed | --locale)
1032
 
    ac_prev=localedir ;;
1033
 
  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1034
 
    localedir=$ac_optarg ;;
1035
 
 
1036
 
  -localstatedir | --localstatedir | --localstatedi | --localstated \
1037
 
  | --localstate | --localstat | --localsta | --localst | --locals)
1038
 
    ac_prev=localstatedir ;;
1039
 
  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1040
 
  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1041
 
    localstatedir=$ac_optarg ;;
1042
 
 
1043
 
  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1044
 
    ac_prev=mandir ;;
1045
 
  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1046
 
    mandir=$ac_optarg ;;
1047
 
 
1048
 
  -nfp | --nfp | --nf)
1049
 
    # Obsolete; use --without-fp.
1050
 
    with_fp=no ;;
1051
 
 
1052
 
  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1053
 
  | --no-cr | --no-c | -n)
1054
 
    no_create=yes ;;
1055
 
 
1056
 
  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1057
 
  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1058
 
    no_recursion=yes ;;
1059
 
 
1060
 
  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1061
 
  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1062
 
  | --oldin | --oldi | --old | --ol | --o)
1063
 
    ac_prev=oldincludedir ;;
1064
 
  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1065
 
  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1066
 
  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1067
 
    oldincludedir=$ac_optarg ;;
1068
 
 
1069
 
  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1070
 
    ac_prev=prefix ;;
1071
 
  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1072
 
    prefix=$ac_optarg ;;
1073
 
 
1074
 
  -program-prefix | --program-prefix | --program-prefi | --program-pref \
1075
 
  | --program-pre | --program-pr | --program-p)
1076
 
    ac_prev=program_prefix ;;
1077
 
  -program-prefix=* | --program-prefix=* | --program-prefi=* \
1078
 
  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1079
 
    program_prefix=$ac_optarg ;;
1080
 
 
1081
 
  -program-suffix | --program-suffix | --program-suffi | --program-suff \
1082
 
  | --program-suf | --program-su | --program-s)
1083
 
    ac_prev=program_suffix ;;
1084
 
  -program-suffix=* | --program-suffix=* | --program-suffi=* \
1085
 
  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1086
 
    program_suffix=$ac_optarg ;;
1087
 
 
1088
 
  -program-transform-name | --program-transform-name \
1089
 
  | --program-transform-nam | --program-transform-na \
1090
 
  | --program-transform-n | --program-transform- \
1091
 
  | --program-transform | --program-transfor \
1092
 
  | --program-transfo | --program-transf \
1093
 
  | --program-trans | --program-tran \
1094
 
  | --progr-tra | --program-tr | --program-t)
1095
 
    ac_prev=program_transform_name ;;
1096
 
  -program-transform-name=* | --program-transform-name=* \
1097
 
  | --program-transform-nam=* | --program-transform-na=* \
1098
 
  | --program-transform-n=* | --program-transform-=* \
1099
 
  | --program-transform=* | --program-transfor=* \
1100
 
  | --program-transfo=* | --program-transf=* \
1101
 
  | --program-trans=* | --program-tran=* \
1102
 
  | --progr-tra=* | --program-tr=* | --program-t=*)
1103
 
    program_transform_name=$ac_optarg ;;
1104
 
 
1105
 
  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1106
 
    ac_prev=pdfdir ;;
1107
 
  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1108
 
    pdfdir=$ac_optarg ;;
1109
 
 
1110
 
  -psdir | --psdir | --psdi | --psd | --ps)
1111
 
    ac_prev=psdir ;;
1112
 
  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1113
 
    psdir=$ac_optarg ;;
1114
 
 
1115
 
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1116
 
  | -silent | --silent | --silen | --sile | --sil)
1117
 
    silent=yes ;;
1118
 
 
1119
 
  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1120
 
    ac_prev=sbindir ;;
1121
 
  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1122
 
  | --sbi=* | --sb=*)
1123
 
    sbindir=$ac_optarg ;;
1124
 
 
1125
 
  -sharedstatedir | --sharedstatedir | --sharedstatedi \
1126
 
  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1127
 
  | --sharedst | --shareds | --shared | --share | --shar \
1128
 
  | --sha | --sh)
1129
 
    ac_prev=sharedstatedir ;;
1130
 
  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1131
 
  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1132
 
  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1133
 
  | --sha=* | --sh=*)
1134
 
    sharedstatedir=$ac_optarg ;;
1135
 
 
1136
 
  -site | --site | --sit)
1137
 
    ac_prev=site ;;
1138
 
  -site=* | --site=* | --sit=*)
1139
 
    site=$ac_optarg ;;
1140
 
 
1141
 
  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1142
 
    ac_prev=srcdir ;;
1143
 
  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1144
 
    srcdir=$ac_optarg ;;
1145
 
 
1146
 
  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1147
 
  | --syscon | --sysco | --sysc | --sys | --sy)
1148
 
    ac_prev=sysconfdir ;;
1149
 
  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1150
 
  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1151
 
    sysconfdir=$ac_optarg ;;
1152
 
 
1153
 
  -target | --target | --targe | --targ | --tar | --ta | --t)
1154
 
    ac_prev=target_alias ;;
1155
 
  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1156
 
    target_alias=$ac_optarg ;;
1157
 
 
1158
 
  -v | -verbose | --verbose | --verbos | --verbo | --verb)
1159
 
    verbose=yes ;;
1160
 
 
1161
 
  -version | --version | --versio | --versi | --vers | -V)
1162
 
    ac_init_version=: ;;
1163
 
 
1164
 
  -with-* | --with-*)
1165
 
    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1166
 
    # Reject names that are not valid shell variable names.
1167
 
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1168
 
      as_fn_error $? "invalid package name: $ac_useropt"
1169
 
    ac_useropt_orig=$ac_useropt
1170
 
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1171
 
    case $ac_user_opts in
1172
 
      *"
1173
 
"with_$ac_useropt"
1174
 
"*) ;;
1175
 
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1176
 
         ac_unrecognized_sep=', ';;
1177
 
    esac
1178
 
    eval with_$ac_useropt=\$ac_optarg ;;
1179
 
 
1180
 
  -without-* | --without-*)
1181
 
    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1182
 
    # Reject names that are not valid shell variable names.
1183
 
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1184
 
      as_fn_error $? "invalid package name: $ac_useropt"
1185
 
    ac_useropt_orig=$ac_useropt
1186
 
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1187
 
    case $ac_user_opts in
1188
 
      *"
1189
 
"with_$ac_useropt"
1190
 
"*) ;;
1191
 
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1192
 
         ac_unrecognized_sep=', ';;
1193
 
    esac
1194
 
    eval with_$ac_useropt=no ;;
1195
 
 
1196
 
  --x)
1197
 
    # Obsolete; use --with-x.
1198
 
    with_x=yes ;;
1199
 
 
1200
 
  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1201
 
  | --x-incl | --x-inc | --x-in | --x-i)
1202
 
    ac_prev=x_includes ;;
1203
 
  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1204
 
  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1205
 
    x_includes=$ac_optarg ;;
1206
 
 
1207
 
  -x-libraries | --x-libraries | --x-librarie | --x-librari \
1208
 
  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1209
 
    ac_prev=x_libraries ;;
1210
 
  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1211
 
  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1212
 
    x_libraries=$ac_optarg ;;
1213
 
 
1214
 
  -*) as_fn_error $? "unrecognized option: \`$ac_option'
1215
 
Try \`$0 --help' for more information"
1216
 
    ;;
1217
 
 
1218
 
  *=*)
1219
 
    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1220
 
    # Reject names that are not valid shell variable names.
1221
 
    case $ac_envvar in #(
1222
 
      '' | [0-9]* | *[!_$as_cr_alnum]* )
1223
 
      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1224
 
    esac
1225
 
    eval $ac_envvar=\$ac_optarg
1226
 
    export $ac_envvar ;;
1227
 
 
1228
 
  *)
1229
 
    # FIXME: should be removed in autoconf 3.0.
1230
 
    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1231
 
    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1232
 
      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1233
 
    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1234
 
    ;;
1235
 
 
1236
 
  esac
1237
 
done
1238
 
 
1239
 
if test -n "$ac_prev"; then
1240
 
  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1241
 
  as_fn_error $? "missing argument to $ac_option"
1242
 
fi
1243
 
 
1244
 
if test -n "$ac_unrecognized_opts"; then
1245
 
  case $enable_option_checking in
1246
 
    no) ;;
1247
 
    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1248
 
    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1249
 
  esac
1250
 
fi
1251
 
 
1252
 
# Check all directory arguments for consistency.
1253
 
for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1254
 
                datadir sysconfdir sharedstatedir localstatedir includedir \
1255
 
                oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1256
 
                libdir localedir mandir
1257
 
do
1258
 
  eval ac_val=\$$ac_var
1259
 
  # Remove trailing slashes.
1260
 
  case $ac_val in
1261
 
    */ )
1262
 
      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1263
 
      eval $ac_var=\$ac_val;;
1264
 
  esac
1265
 
  # Be sure to have absolute directory names.
1266
 
  case $ac_val in
1267
 
    [\\/$]* | ?:[\\/]* )  continue;;
1268
 
    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1269
 
  esac
1270
 
  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1271
 
done
1272
 
 
1273
 
# There might be people who depend on the old broken behavior: `$host'
1274
 
# used to hold the argument of --host etc.
1275
 
# FIXME: To remove some day.
1276
 
build=$build_alias
1277
 
host=$host_alias
1278
 
target=$target_alias
1279
 
 
1280
 
# FIXME: To remove some day.
1281
 
if test "x$host_alias" != x; then
1282
 
  if test "x$build_alias" = x; then
1283
 
    cross_compiling=maybe
1284
 
  elif test "x$build_alias" != "x$host_alias"; then
1285
 
    cross_compiling=yes
1286
 
  fi
1287
 
fi
1288
 
 
1289
 
ac_tool_prefix=
1290
 
test -n "$host_alias" && ac_tool_prefix=$host_alias-
1291
 
 
1292
 
test "$silent" = yes && exec 6>/dev/null
1293
 
 
1294
 
 
1295
 
ac_pwd=`pwd` && test -n "$ac_pwd" &&
1296
 
ac_ls_di=`ls -di .` &&
1297
 
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1298
 
  as_fn_error $? "working directory cannot be determined"
1299
 
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1300
 
  as_fn_error $? "pwd does not report name of working directory"
1301
 
 
1302
 
 
1303
 
# Find the source files, if location was not specified.
1304
 
if test -z "$srcdir"; then
1305
 
  ac_srcdir_defaulted=yes
1306
 
  # Try the directory containing this script, then the parent directory.
1307
 
  ac_confdir=`$as_dirname -- "$as_myself" ||
1308
 
$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1309
 
         X"$as_myself" : 'X\(//\)[^/]' \| \
1310
 
         X"$as_myself" : 'X\(//\)$' \| \
1311
 
         X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1312
 
$as_echo X"$as_myself" |
1313
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1314
 
            s//\1/
1315
 
            q
1316
 
          }
1317
 
          /^X\(\/\/\)[^/].*/{
1318
 
            s//\1/
1319
 
            q
1320
 
          }
1321
 
          /^X\(\/\/\)$/{
1322
 
            s//\1/
1323
 
            q
1324
 
          }
1325
 
          /^X\(\/\).*/{
1326
 
            s//\1/
1327
 
            q
1328
 
          }
1329
 
          s/.*/./; q'`
1330
 
  srcdir=$ac_confdir
1331
 
  if test ! -r "$srcdir/$ac_unique_file"; then
1332
 
    srcdir=..
1333
 
  fi
1334
 
else
1335
 
  ac_srcdir_defaulted=no
1336
 
fi
1337
 
if test ! -r "$srcdir/$ac_unique_file"; then
1338
 
  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1339
 
  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1340
 
fi
1341
 
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1342
 
ac_abs_confdir=`(
1343
 
        cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1344
 
        pwd)`
1345
 
# When building in place, set srcdir=.
1346
 
if test "$ac_abs_confdir" = "$ac_pwd"; then
1347
 
  srcdir=.
1348
 
fi
1349
 
# Remove unnecessary trailing slashes from srcdir.
1350
 
# Double slashes in file names in object file debugging info
1351
 
# mess up M-x gdb in Emacs.
1352
 
case $srcdir in
1353
 
*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1354
 
esac
1355
 
for ac_var in $ac_precious_vars; do
1356
 
  eval ac_env_${ac_var}_set=\${${ac_var}+set}
1357
 
  eval ac_env_${ac_var}_value=\$${ac_var}
1358
 
  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1359
 
  eval ac_cv_env_${ac_var}_value=\$${ac_var}
1360
 
done
1361
 
 
1362
 
#
1363
 
# Report the --help message.
1364
 
#
1365
 
if test "$ac_init_help" = "long"; then
1366
 
  # Omit some internal or obsolete options to make the list less imposing.
1367
 
  # This message is too long to be a string in the A/UX 3.1 sh.
1368
 
  cat <<_ACEOF
1369
 
\`configure' configures libcmis 0.4.1 to adapt to many kinds of systems.
1370
 
 
1371
 
Usage: $0 [OPTION]... [VAR=VALUE]...
1372
 
 
1373
 
To assign environment variables (e.g., CC, CFLAGS...), specify them as
1374
 
VAR=VALUE.  See below for descriptions of some of the useful variables.
1375
 
 
1376
 
Defaults for the options are specified in brackets.
1377
 
 
1378
 
Configuration:
1379
 
  -h, --help              display this help and exit
1380
 
      --help=short        display options specific to this package
1381
 
      --help=recursive    display the short help of all the included packages
1382
 
  -V, --version           display version information and exit
1383
 
  -q, --quiet, --silent   do not print \`checking ...' messages
1384
 
      --cache-file=FILE   cache test results in FILE [disabled]
1385
 
  -C, --config-cache      alias for \`--cache-file=config.cache'
1386
 
  -n, --no-create         do not create output files
1387
 
      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1388
 
 
1389
 
Installation directories:
1390
 
  --prefix=PREFIX         install architecture-independent files in PREFIX
1391
 
                          [$ac_default_prefix]
1392
 
  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1393
 
                          [PREFIX]
1394
 
 
1395
 
By default, \`make install' will install all the files in
1396
 
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1397
 
an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1398
 
for instance \`--prefix=\$HOME'.
1399
 
 
1400
 
For better control, use the options below.
1401
 
 
1402
 
Fine tuning of the installation directories:
1403
 
  --bindir=DIR            user executables [EPREFIX/bin]
1404
 
  --sbindir=DIR           system admin executables [EPREFIX/sbin]
1405
 
  --libexecdir=DIR        program executables [EPREFIX/libexec]
1406
 
  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1407
 
  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1408
 
  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1409
 
  --libdir=DIR            object code libraries [EPREFIX/lib]
1410
 
  --includedir=DIR        C header files [PREFIX/include]
1411
 
  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1412
 
  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1413
 
  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1414
 
  --infodir=DIR           info documentation [DATAROOTDIR/info]
1415
 
  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1416
 
  --mandir=DIR            man documentation [DATAROOTDIR/man]
1417
 
  --docdir=DIR            documentation root [DATAROOTDIR/doc/libcmis]
1418
 
  --htmldir=DIR           html documentation [DOCDIR]
1419
 
  --dvidir=DIR            dvi documentation [DOCDIR]
1420
 
  --pdfdir=DIR            pdf documentation [DOCDIR]
1421
 
  --psdir=DIR             ps documentation [DOCDIR]
1422
 
_ACEOF
1423
 
 
1424
 
  cat <<\_ACEOF
1425
 
 
1426
 
Program names:
1427
 
  --program-prefix=PREFIX            prepend PREFIX to installed program names
1428
 
  --program-suffix=SUFFIX            append SUFFIX to installed program names
1429
 
  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1430
 
 
1431
 
System types:
1432
 
  --build=BUILD     configure for building on BUILD [guessed]
1433
 
  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1434
 
_ACEOF
1435
 
fi
1436
 
 
1437
 
if test -n "$ac_init_help"; then
1438
 
  case $ac_init_help in
1439
 
     short | recursive ) echo "Configuration of libcmis 0.4.1:";;
1440
 
   esac
1441
 
  cat <<\_ACEOF
1442
 
 
1443
 
Optional Features:
1444
 
  --disable-option-checking  ignore unrecognized --enable/--with options
1445
 
  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1446
 
  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1447
 
  --enable-silent-rules   less verbose build output (undo: "make V=1")
1448
 
  --disable-silent-rules  verbose build output (undo: "make V=0")
1449
 
  --disable-client        Compile only the library, not the client tool
1450
 
  --disable-tests         Do not build the unit tests
1451
 
  --disable-long-tests    Do not build the unit tests needing to start a
1452
 
                          server
1453
 
  --enable-dependency-tracking
1454
 
                          do not reject slow dependency extractors
1455
 
  --disable-dependency-tracking
1456
 
                          speeds up one-time build
1457
 
  --enable-shared[=PKGS]  build shared libraries [default=yes]
1458
 
  --enable-static[=PKGS]  build static libraries [default=yes]
1459
 
  --enable-fast-install[=PKGS]
1460
 
                          optimize for fast installation [default=yes]
1461
 
  --disable-libtool-lock  avoid locking (might break parallel builds)
1462
 
  --disable-werror        Treat all warnings as errors, usefull for
1463
 
                          development
1464
 
  --enable-static-boost   Prefer the static boost libraries over the shared
1465
 
                          ones [no]
1466
 
 
1467
 
Optional Packages:
1468
 
  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1469
 
  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1470
 
  --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
1471
 
                          both]
1472
 
  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1473
 
  --with-sysroot=DIR Search for dependent libraries within DIR
1474
 
                        (or the compiler's sysroot if not specified).
1475
 
  --without-man           Do not build manpage
1476
 
  --with-boost=DIR        prefix of Boost [guess]
1477
 
 
1478
 
Some influential environment variables:
1479
 
  CC          C compiler command
1480
 
  CFLAGS      C compiler flags
1481
 
  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1482
 
              nonstandard directory <lib dir>
1483
 
  LIBS        libraries to pass to the linker, e.g. -l<library>
1484
 
  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1485
 
              you have headers in a nonstandard directory <include dir>
1486
 
  CPP         C preprocessor
1487
 
  CXX         C++ compiler command
1488
 
  CXXFLAGS    C++ compiler flags
1489
 
  CXXCPP      C++ preprocessor
1490
 
  PKG_CONFIG  path to pkg-config utility
1491
 
  PKG_CONFIG_PATH
1492
 
              directories to add to pkg-config's search path
1493
 
  PKG_CONFIG_LIBDIR
1494
 
              path overriding pkg-config's built-in search path
1495
 
  CURL_CFLAGS C compiler flags for CURL, overriding pkg-config
1496
 
  CURL_LIBS   linker flags for CURL, overriding pkg-config
1497
 
  XML2_CFLAGS C compiler flags for XML2, overriding pkg-config
1498
 
  XML2_LIBS   linker flags for XML2, overriding pkg-config
1499
 
  CPPUNIT_CFLAGS
1500
 
              C compiler flags for CPPUNIT, overriding pkg-config
1501
 
  CPPUNIT_LIBS
1502
 
              linker flags for CPPUNIT, overriding pkg-config
1503
 
  BOOST_ROOT  Location of Boost installation
1504
 
 
1505
 
Use these variables to override the choices made by `configure' or to help
1506
 
it to find libraries and programs with nonstandard names/locations.
1507
 
 
1508
 
Report bugs to the package provider.
1509
 
_ACEOF
1510
 
ac_status=$?
1511
 
fi
1512
 
 
1513
 
if test "$ac_init_help" = "recursive"; then
1514
 
  # If there are subdirs, report their specific --help.
1515
 
  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1516
 
    test -d "$ac_dir" ||
1517
 
      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1518
 
      continue
1519
 
    ac_builddir=.
1520
 
 
1521
 
case "$ac_dir" in
1522
 
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1523
 
*)
1524
 
  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1525
 
  # A ".." for each directory in $ac_dir_suffix.
1526
 
  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1527
 
  case $ac_top_builddir_sub in
1528
 
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1529
 
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1530
 
  esac ;;
1531
 
esac
1532
 
ac_abs_top_builddir=$ac_pwd
1533
 
ac_abs_builddir=$ac_pwd$ac_dir_suffix
1534
 
# for backward compatibility:
1535
 
ac_top_builddir=$ac_top_build_prefix
1536
 
 
1537
 
case $srcdir in
1538
 
  .)  # We are building in place.
1539
 
    ac_srcdir=.
1540
 
    ac_top_srcdir=$ac_top_builddir_sub
1541
 
    ac_abs_top_srcdir=$ac_pwd ;;
1542
 
  [\\/]* | ?:[\\/]* )  # Absolute name.
1543
 
    ac_srcdir=$srcdir$ac_dir_suffix;
1544
 
    ac_top_srcdir=$srcdir
1545
 
    ac_abs_top_srcdir=$srcdir ;;
1546
 
  *) # Relative name.
1547
 
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1548
 
    ac_top_srcdir=$ac_top_build_prefix$srcdir
1549
 
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1550
 
esac
1551
 
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1552
 
 
1553
 
    cd "$ac_dir" || { ac_status=$?; continue; }
1554
 
    # Check for guested configure.
1555
 
    if test -f "$ac_srcdir/configure.gnu"; then
1556
 
      echo &&
1557
 
      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1558
 
    elif test -f "$ac_srcdir/configure"; then
1559
 
      echo &&
1560
 
      $SHELL "$ac_srcdir/configure" --help=recursive
1561
 
    else
1562
 
      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1563
 
    fi || ac_status=$?
1564
 
    cd "$ac_pwd" || { ac_status=$?; break; }
1565
 
  done
1566
 
fi
1567
 
 
1568
 
test -n "$ac_init_help" && exit $ac_status
1569
 
if $ac_init_version; then
1570
 
  cat <<\_ACEOF
1571
 
libcmis configure 0.4.1
1572
 
generated by GNU Autoconf 2.69
1573
 
 
1574
 
Copyright (C) 2012 Free Software Foundation, Inc.
1575
 
This configure script is free software; the Free Software Foundation
1576
 
gives unlimited permission to copy, distribute and modify it.
1577
 
_ACEOF
1578
 
  exit
1579
 
fi
1580
 
 
1581
 
## ------------------------ ##
1582
 
## Autoconf initialization. ##
1583
 
## ------------------------ ##
1584
 
 
1585
 
# ac_fn_c_try_compile LINENO
1586
 
# --------------------------
1587
 
# Try to compile conftest.$ac_ext, and return whether this succeeded.
1588
 
ac_fn_c_try_compile ()
1589
 
{
1590
 
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1591
 
  rm -f conftest.$ac_objext
1592
 
  if { { ac_try="$ac_compile"
1593
 
case "(($ac_try" in
1594
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1595
 
  *) ac_try_echo=$ac_try;;
1596
 
esac
1597
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1598
 
$as_echo "$ac_try_echo"; } >&5
1599
 
  (eval "$ac_compile") 2>conftest.err
1600
 
  ac_status=$?
1601
 
  if test -s conftest.err; then
1602
 
    grep -v '^ *+' conftest.err >conftest.er1
1603
 
    cat conftest.er1 >&5
1604
 
    mv -f conftest.er1 conftest.err
1605
 
  fi
1606
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1607
 
  test $ac_status = 0; } && {
1608
 
         test -z "$ac_c_werror_flag" ||
1609
 
         test ! -s conftest.err
1610
 
       } && test -s conftest.$ac_objext; then :
1611
 
  ac_retval=0
1612
 
else
1613
 
  $as_echo "$as_me: failed program was:" >&5
1614
 
sed 's/^/| /' conftest.$ac_ext >&5
1615
 
 
1616
 
        ac_retval=1
1617
 
fi
1618
 
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1619
 
  as_fn_set_status $ac_retval
1620
 
 
1621
 
} # ac_fn_c_try_compile
1622
 
 
1623
 
# ac_fn_c_try_cpp LINENO
1624
 
# ----------------------
1625
 
# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1626
 
ac_fn_c_try_cpp ()
1627
 
{
1628
 
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1629
 
  if { { ac_try="$ac_cpp conftest.$ac_ext"
1630
 
case "(($ac_try" in
1631
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1632
 
  *) ac_try_echo=$ac_try;;
1633
 
esac
1634
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1635
 
$as_echo "$ac_try_echo"; } >&5
1636
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1637
 
  ac_status=$?
1638
 
  if test -s conftest.err; then
1639
 
    grep -v '^ *+' conftest.err >conftest.er1
1640
 
    cat conftest.er1 >&5
1641
 
    mv -f conftest.er1 conftest.err
1642
 
  fi
1643
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1644
 
  test $ac_status = 0; } > conftest.i && {
1645
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1646
 
         test ! -s conftest.err
1647
 
       }; then :
1648
 
  ac_retval=0
1649
 
else
1650
 
  $as_echo "$as_me: failed program was:" >&5
1651
 
sed 's/^/| /' conftest.$ac_ext >&5
1652
 
 
1653
 
    ac_retval=1
1654
 
fi
1655
 
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1656
 
  as_fn_set_status $ac_retval
1657
 
 
1658
 
} # ac_fn_c_try_cpp
1659
 
 
1660
 
# ac_fn_cxx_try_compile LINENO
1661
 
# ----------------------------
1662
 
# Try to compile conftest.$ac_ext, and return whether this succeeded.
1663
 
ac_fn_cxx_try_compile ()
1664
 
{
1665
 
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1666
 
  rm -f conftest.$ac_objext
1667
 
  if { { ac_try="$ac_compile"
1668
 
case "(($ac_try" in
1669
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1670
 
  *) ac_try_echo=$ac_try;;
1671
 
esac
1672
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1673
 
$as_echo "$ac_try_echo"; } >&5
1674
 
  (eval "$ac_compile") 2>conftest.err
1675
 
  ac_status=$?
1676
 
  if test -s conftest.err; then
1677
 
    grep -v '^ *+' conftest.err >conftest.er1
1678
 
    cat conftest.er1 >&5
1679
 
    mv -f conftest.er1 conftest.err
1680
 
  fi
1681
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1682
 
  test $ac_status = 0; } && {
1683
 
         test -z "$ac_cxx_werror_flag" ||
1684
 
         test ! -s conftest.err
1685
 
       } && test -s conftest.$ac_objext; then :
1686
 
  ac_retval=0
1687
 
else
1688
 
  $as_echo "$as_me: failed program was:" >&5
1689
 
sed 's/^/| /' conftest.$ac_ext >&5
1690
 
 
1691
 
        ac_retval=1
1692
 
fi
1693
 
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1694
 
  as_fn_set_status $ac_retval
1695
 
 
1696
 
} # ac_fn_cxx_try_compile
1697
 
 
1698
 
# ac_fn_c_try_link LINENO
1699
 
# -----------------------
1700
 
# Try to link conftest.$ac_ext, and return whether this succeeded.
1701
 
ac_fn_c_try_link ()
1702
 
{
1703
 
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1704
 
  rm -f conftest.$ac_objext conftest$ac_exeext
1705
 
  if { { ac_try="$ac_link"
1706
 
case "(($ac_try" in
1707
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1708
 
  *) ac_try_echo=$ac_try;;
1709
 
esac
1710
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1711
 
$as_echo "$ac_try_echo"; } >&5
1712
 
  (eval "$ac_link") 2>conftest.err
1713
 
  ac_status=$?
1714
 
  if test -s conftest.err; then
1715
 
    grep -v '^ *+' conftest.err >conftest.er1
1716
 
    cat conftest.er1 >&5
1717
 
    mv -f conftest.er1 conftest.err
1718
 
  fi
1719
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1720
 
  test $ac_status = 0; } && {
1721
 
         test -z "$ac_c_werror_flag" ||
1722
 
         test ! -s conftest.err
1723
 
       } && test -s conftest$ac_exeext && {
1724
 
         test "$cross_compiling" = yes ||
1725
 
         test -x conftest$ac_exeext
1726
 
       }; then :
1727
 
  ac_retval=0
1728
 
else
1729
 
  $as_echo "$as_me: failed program was:" >&5
1730
 
sed 's/^/| /' conftest.$ac_ext >&5
1731
 
 
1732
 
        ac_retval=1
1733
 
fi
1734
 
  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1735
 
  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1736
 
  # interfere with the next link command; also delete a directory that is
1737
 
  # left behind by Apple's compiler.  We do this before executing the actions.
1738
 
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1739
 
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1740
 
  as_fn_set_status $ac_retval
1741
 
 
1742
 
} # ac_fn_c_try_link
1743
 
 
1744
 
# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1745
 
# -------------------------------------------------------
1746
 
# Tests whether HEADER exists and can be compiled using the include files in
1747
 
# INCLUDES, setting the cache variable VAR accordingly.
1748
 
ac_fn_c_check_header_compile ()
1749
 
{
1750
 
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1751
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1752
 
$as_echo_n "checking for $2... " >&6; }
1753
 
if eval \${$3+:} false; then :
1754
 
  $as_echo_n "(cached) " >&6
1755
 
else
1756
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1757
 
/* end confdefs.h.  */
1758
 
$4
1759
 
#include <$2>
1760
 
_ACEOF
1761
 
if ac_fn_c_try_compile "$LINENO"; then :
1762
 
  eval "$3=yes"
1763
 
else
1764
 
  eval "$3=no"
1765
 
fi
1766
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1767
 
fi
1768
 
eval ac_res=\$$3
1769
 
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1770
 
$as_echo "$ac_res" >&6; }
1771
 
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1772
 
 
1773
 
} # ac_fn_c_check_header_compile
1774
 
 
1775
 
# ac_fn_c_try_run LINENO
1776
 
# ----------------------
1777
 
# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1778
 
# that executables *can* be run.
1779
 
ac_fn_c_try_run ()
1780
 
{
1781
 
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1782
 
  if { { ac_try="$ac_link"
1783
 
case "(($ac_try" in
1784
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1785
 
  *) ac_try_echo=$ac_try;;
1786
 
esac
1787
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1788
 
$as_echo "$ac_try_echo"; } >&5
1789
 
  (eval "$ac_link") 2>&5
1790
 
  ac_status=$?
1791
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1792
 
  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1793
 
  { { case "(($ac_try" in
1794
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1795
 
  *) ac_try_echo=$ac_try;;
1796
 
esac
1797
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1798
 
$as_echo "$ac_try_echo"; } >&5
1799
 
  (eval "$ac_try") 2>&5
1800
 
  ac_status=$?
1801
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1802
 
  test $ac_status = 0; }; }; then :
1803
 
  ac_retval=0
1804
 
else
1805
 
  $as_echo "$as_me: program exited with status $ac_status" >&5
1806
 
       $as_echo "$as_me: failed program was:" >&5
1807
 
sed 's/^/| /' conftest.$ac_ext >&5
1808
 
 
1809
 
       ac_retval=$ac_status
1810
 
fi
1811
 
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1812
 
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1813
 
  as_fn_set_status $ac_retval
1814
 
 
1815
 
} # ac_fn_c_try_run
1816
 
 
1817
 
# ac_fn_c_check_func LINENO FUNC VAR
1818
 
# ----------------------------------
1819
 
# Tests whether FUNC exists, setting the cache variable VAR accordingly
1820
 
ac_fn_c_check_func ()
1821
 
{
1822
 
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1823
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1824
 
$as_echo_n "checking for $2... " >&6; }
1825
 
if eval \${$3+:} false; then :
1826
 
  $as_echo_n "(cached) " >&6
1827
 
else
1828
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1829
 
/* end confdefs.h.  */
1830
 
/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1831
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
1832
 
#define $2 innocuous_$2
1833
 
 
1834
 
/* System header to define __stub macros and hopefully few prototypes,
1835
 
    which can conflict with char $2 (); below.
1836
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1837
 
    <limits.h> exists even on freestanding compilers.  */
1838
 
 
1839
 
#ifdef __STDC__
1840
 
# include <limits.h>
1841
 
#else
1842
 
# include <assert.h>
1843
 
#endif
1844
 
 
1845
 
#undef $2
1846
 
 
1847
 
/* Override any GCC internal prototype to avoid an error.
1848
 
   Use char because int might match the return type of a GCC
1849
 
   builtin and then its argument prototype would still apply.  */
1850
 
#ifdef __cplusplus
1851
 
extern "C"
1852
 
#endif
1853
 
char $2 ();
1854
 
/* The GNU C library defines this for functions which it implements
1855
 
    to always fail with ENOSYS.  Some functions are actually named
1856
 
    something starting with __ and the normal name is an alias.  */
1857
 
#if defined __stub_$2 || defined __stub___$2
1858
 
choke me
1859
 
#endif
1860
 
 
1861
 
int
1862
 
main ()
1863
 
{
1864
 
return $2 ();
1865
 
  ;
1866
 
  return 0;
1867
 
}
1868
 
_ACEOF
1869
 
if ac_fn_c_try_link "$LINENO"; then :
1870
 
  eval "$3=yes"
1871
 
else
1872
 
  eval "$3=no"
1873
 
fi
1874
 
rm -f core conftest.err conftest.$ac_objext \
1875
 
    conftest$ac_exeext conftest.$ac_ext
1876
 
fi
1877
 
eval ac_res=\$$3
1878
 
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1879
 
$as_echo "$ac_res" >&6; }
1880
 
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1881
 
 
1882
 
} # ac_fn_c_check_func
1883
 
 
1884
 
# ac_fn_cxx_try_cpp LINENO
1885
 
# ------------------------
1886
 
# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1887
 
ac_fn_cxx_try_cpp ()
1888
 
{
1889
 
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1890
 
  if { { ac_try="$ac_cpp conftest.$ac_ext"
1891
 
case "(($ac_try" in
1892
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1893
 
  *) ac_try_echo=$ac_try;;
1894
 
esac
1895
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1896
 
$as_echo "$ac_try_echo"; } >&5
1897
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1898
 
  ac_status=$?
1899
 
  if test -s conftest.err; then
1900
 
    grep -v '^ *+' conftest.err >conftest.er1
1901
 
    cat conftest.er1 >&5
1902
 
    mv -f conftest.er1 conftest.err
1903
 
  fi
1904
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1905
 
  test $ac_status = 0; } > conftest.i && {
1906
 
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1907
 
         test ! -s conftest.err
1908
 
       }; then :
1909
 
  ac_retval=0
1910
 
else
1911
 
  $as_echo "$as_me: failed program was:" >&5
1912
 
sed 's/^/| /' conftest.$ac_ext >&5
1913
 
 
1914
 
    ac_retval=1
1915
 
fi
1916
 
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1917
 
  as_fn_set_status $ac_retval
1918
 
 
1919
 
} # ac_fn_cxx_try_cpp
1920
 
 
1921
 
# ac_fn_cxx_try_link LINENO
1922
 
# -------------------------
1923
 
# Try to link conftest.$ac_ext, and return whether this succeeded.
1924
 
ac_fn_cxx_try_link ()
1925
 
{
1926
 
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1927
 
  rm -f conftest.$ac_objext conftest$ac_exeext
1928
 
  if { { ac_try="$ac_link"
1929
 
case "(($ac_try" in
1930
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1931
 
  *) ac_try_echo=$ac_try;;
1932
 
esac
1933
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1934
 
$as_echo "$ac_try_echo"; } >&5
1935
 
  (eval "$ac_link") 2>conftest.err
1936
 
  ac_status=$?
1937
 
  if test -s conftest.err; then
1938
 
    grep -v '^ *+' conftest.err >conftest.er1
1939
 
    cat conftest.er1 >&5
1940
 
    mv -f conftest.er1 conftest.err
1941
 
  fi
1942
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1943
 
  test $ac_status = 0; } && {
1944
 
         test -z "$ac_cxx_werror_flag" ||
1945
 
         test ! -s conftest.err
1946
 
       } && test -s conftest$ac_exeext && {
1947
 
         test "$cross_compiling" = yes ||
1948
 
         test -x conftest$ac_exeext
1949
 
       }; then :
1950
 
  ac_retval=0
1951
 
else
1952
 
  $as_echo "$as_me: failed program was:" >&5
1953
 
sed 's/^/| /' conftest.$ac_ext >&5
1954
 
 
1955
 
        ac_retval=1
1956
 
fi
1957
 
  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1958
 
  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1959
 
  # interfere with the next link command; also delete a directory that is
1960
 
  # left behind by Apple's compiler.  We do this before executing the actions.
1961
 
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1962
 
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1963
 
  as_fn_set_status $ac_retval
1964
 
 
1965
 
} # ac_fn_cxx_try_link
1966
 
 
1967
 
# ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
1968
 
# ---------------------------------------------------------
1969
 
# Tests whether HEADER exists, giving a warning if it cannot be compiled using
1970
 
# the include files in INCLUDES and setting the cache variable VAR
1971
 
# accordingly.
1972
 
ac_fn_cxx_check_header_mongrel ()
1973
 
{
1974
 
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1975
 
  if eval \${$3+:} false; then :
1976
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1977
 
$as_echo_n "checking for $2... " >&6; }
1978
 
if eval \${$3+:} false; then :
1979
 
  $as_echo_n "(cached) " >&6
1980
 
fi
1981
 
eval ac_res=\$$3
1982
 
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1983
 
$as_echo "$ac_res" >&6; }
1984
 
else
1985
 
  # Is the header compilable?
1986
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1987
 
$as_echo_n "checking $2 usability... " >&6; }
1988
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1989
 
/* end confdefs.h.  */
1990
 
$4
1991
 
#include <$2>
1992
 
_ACEOF
1993
 
if ac_fn_cxx_try_compile "$LINENO"; then :
1994
 
  ac_header_compiler=yes
1995
 
else
1996
 
  ac_header_compiler=no
1997
 
fi
1998
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1999
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2000
 
$as_echo "$ac_header_compiler" >&6; }
2001
 
 
2002
 
# Is the header present?
2003
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2004
 
$as_echo_n "checking $2 presence... " >&6; }
2005
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2006
 
/* end confdefs.h.  */
2007
 
#include <$2>
2008
 
_ACEOF
2009
 
if ac_fn_cxx_try_cpp "$LINENO"; then :
2010
 
  ac_header_preproc=yes
2011
 
else
2012
 
  ac_header_preproc=no
2013
 
fi
2014
 
rm -f conftest.err conftest.i conftest.$ac_ext
2015
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2016
 
$as_echo "$ac_header_preproc" >&6; }
2017
 
 
2018
 
# So?  What about this header?
2019
 
case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
2020
 
  yes:no: )
2021
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2022
 
$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2023
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2024
 
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2025
 
    ;;
2026
 
  no:yes:* )
2027
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2028
 
$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2029
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
2030
 
$as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
2031
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2032
 
$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2033
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
2034
 
$as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
2035
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2036
 
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2037
 
    ;;
2038
 
esac
2039
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2040
 
$as_echo_n "checking for $2... " >&6; }
2041
 
if eval \${$3+:} false; then :
2042
 
  $as_echo_n "(cached) " >&6
2043
 
else
2044
 
  eval "$3=\$ac_header_compiler"
2045
 
fi
2046
 
eval ac_res=\$$3
2047
 
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2048
 
$as_echo "$ac_res" >&6; }
2049
 
fi
2050
 
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2051
 
 
2052
 
} # ac_fn_cxx_check_header_mongrel
2053
 
 
2054
 
# ac_fn_cxx_check_type LINENO TYPE VAR INCLUDES
2055
 
# ---------------------------------------------
2056
 
# Tests whether TYPE exists after having included INCLUDES, setting cache
2057
 
# variable VAR accordingly.
2058
 
ac_fn_cxx_check_type ()
2059
 
{
2060
 
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2061
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2062
 
$as_echo_n "checking for $2... " >&6; }
2063
 
if eval \${$3+:} false; then :
2064
 
  $as_echo_n "(cached) " >&6
2065
 
else
2066
 
  eval "$3=no"
2067
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2068
 
/* end confdefs.h.  */
2069
 
$4
2070
 
int
2071
 
main ()
2072
 
{
2073
 
if (sizeof ($2))
2074
 
         return 0;
2075
 
  ;
2076
 
  return 0;
2077
 
}
2078
 
_ACEOF
2079
 
if ac_fn_cxx_try_compile "$LINENO"; then :
2080
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2081
 
/* end confdefs.h.  */
2082
 
$4
2083
 
int
2084
 
main ()
2085
 
{
2086
 
if (sizeof (($2)))
2087
 
            return 0;
2088
 
  ;
2089
 
  return 0;
2090
 
}
2091
 
_ACEOF
2092
 
if ac_fn_cxx_try_compile "$LINENO"; then :
2093
 
 
2094
 
else
2095
 
  eval "$3=yes"
2096
 
fi
2097
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2098
 
fi
2099
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2100
 
fi
2101
 
eval ac_res=\$$3
2102
 
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2103
 
$as_echo "$ac_res" >&6; }
2104
 
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2105
 
 
2106
 
} # ac_fn_cxx_check_type
2107
 
cat >config.log <<_ACEOF
2108
 
This file contains any messages produced by compilers while
2109
 
running configure, to aid debugging if configure makes a mistake.
2110
 
 
2111
 
It was created by libcmis $as_me 0.4.1, which was
2112
 
generated by GNU Autoconf 2.69.  Invocation command line was
2113
 
 
2114
 
  $ $0 $@
2115
 
 
2116
 
_ACEOF
2117
 
exec 5>>config.log
2118
 
{
2119
 
cat <<_ASUNAME
2120
 
## --------- ##
2121
 
## Platform. ##
2122
 
## --------- ##
2123
 
 
2124
 
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2125
 
uname -m = `(uname -m) 2>/dev/null || echo unknown`
2126
 
uname -r = `(uname -r) 2>/dev/null || echo unknown`
2127
 
uname -s = `(uname -s) 2>/dev/null || echo unknown`
2128
 
uname -v = `(uname -v) 2>/dev/null || echo unknown`
2129
 
 
2130
 
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2131
 
/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
2132
 
 
2133
 
/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
2134
 
/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
2135
 
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2136
 
/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
2137
 
/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
2138
 
/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
2139
 
/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
2140
 
 
2141
 
_ASUNAME
2142
 
 
2143
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2144
 
for as_dir in $PATH
2145
 
do
2146
 
  IFS=$as_save_IFS
2147
 
  test -z "$as_dir" && as_dir=.
2148
 
    $as_echo "PATH: $as_dir"
2149
 
  done
2150
 
IFS=$as_save_IFS
2151
 
 
2152
 
} >&5
2153
 
 
2154
 
cat >&5 <<_ACEOF
2155
 
 
2156
 
 
2157
 
## ----------- ##
2158
 
## Core tests. ##
2159
 
## ----------- ##
2160
 
 
2161
 
_ACEOF
2162
 
 
2163
 
 
2164
 
# Keep a trace of the command line.
2165
 
# Strip out --no-create and --no-recursion so they do not pile up.
2166
 
# Strip out --silent because we don't want to record it for future runs.
2167
 
# Also quote any args containing shell meta-characters.
2168
 
# Make two passes to allow for proper duplicate-argument suppression.
2169
 
ac_configure_args=
2170
 
ac_configure_args0=
2171
 
ac_configure_args1=
2172
 
ac_must_keep_next=false
2173
 
for ac_pass in 1 2
2174
 
do
2175
 
  for ac_arg
2176
 
  do
2177
 
    case $ac_arg in
2178
 
    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2179
 
    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2180
 
    | -silent | --silent | --silen | --sile | --sil)
2181
 
      continue ;;
2182
 
    *\'*)
2183
 
      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2184
 
    esac
2185
 
    case $ac_pass in
2186
 
    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2187
 
    2)
2188
 
      as_fn_append ac_configure_args1 " '$ac_arg'"
2189
 
      if test $ac_must_keep_next = true; then
2190
 
        ac_must_keep_next=false # Got value, back to normal.
2191
 
      else
2192
 
        case $ac_arg in
2193
 
          *=* | --config-cache | -C | -disable-* | --disable-* \
2194
 
          | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2195
 
          | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2196
 
          | -with-* | --with-* | -without-* | --without-* | --x)
2197
 
            case "$ac_configure_args0 " in
2198
 
              "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2199
 
            esac
2200
 
            ;;
2201
 
          -* ) ac_must_keep_next=true ;;
2202
 
        esac
2203
 
      fi
2204
 
      as_fn_append ac_configure_args " '$ac_arg'"
2205
 
      ;;
2206
 
    esac
2207
 
  done
2208
 
done
2209
 
{ ac_configure_args0=; unset ac_configure_args0;}
2210
 
{ ac_configure_args1=; unset ac_configure_args1;}
2211
 
 
2212
 
# When interrupted or exit'd, cleanup temporary files, and complete
2213
 
# config.log.  We remove comments because anyway the quotes in there
2214
 
# would cause problems or look ugly.
2215
 
# WARNING: Use '\'' to represent an apostrophe within the trap.
2216
 
# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2217
 
trap 'exit_status=$?
2218
 
  # Save into config.log some information that might help in debugging.
2219
 
  {
2220
 
    echo
2221
 
 
2222
 
    $as_echo "## ---------------- ##
2223
 
## Cache variables. ##
2224
 
## ---------------- ##"
2225
 
    echo
2226
 
    # The following way of writing the cache mishandles newlines in values,
2227
 
(
2228
 
  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2229
 
    eval ac_val=\$$ac_var
2230
 
    case $ac_val in #(
2231
 
    *${as_nl}*)
2232
 
      case $ac_var in #(
2233
 
      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2234
 
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2235
 
      esac
2236
 
      case $ac_var in #(
2237
 
      _ | IFS | as_nl) ;; #(
2238
 
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2239
 
      *) { eval $ac_var=; unset $ac_var;} ;;
2240
 
      esac ;;
2241
 
    esac
2242
 
  done
2243
 
  (set) 2>&1 |
2244
 
    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2245
 
    *${as_nl}ac_space=\ *)
2246
 
      sed -n \
2247
 
        "s/'\''/'\''\\\\'\'''\''/g;
2248
 
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2249
 
      ;; #(
2250
 
    *)
2251
 
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2252
 
      ;;
2253
 
    esac |
2254
 
    sort
2255
 
)
2256
 
    echo
2257
 
 
2258
 
    $as_echo "## ----------------- ##
2259
 
## Output variables. ##
2260
 
## ----------------- ##"
2261
 
    echo
2262
 
    for ac_var in $ac_subst_vars
2263
 
    do
2264
 
      eval ac_val=\$$ac_var
2265
 
      case $ac_val in
2266
 
      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2267
 
      esac
2268
 
      $as_echo "$ac_var='\''$ac_val'\''"
2269
 
    done | sort
2270
 
    echo
2271
 
 
2272
 
    if test -n "$ac_subst_files"; then
2273
 
      $as_echo "## ------------------- ##
2274
 
## File substitutions. ##
2275
 
## ------------------- ##"
2276
 
      echo
2277
 
      for ac_var in $ac_subst_files
2278
 
      do
2279
 
        eval ac_val=\$$ac_var
2280
 
        case $ac_val in
2281
 
        *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2282
 
        esac
2283
 
        $as_echo "$ac_var='\''$ac_val'\''"
2284
 
      done | sort
2285
 
      echo
2286
 
    fi
2287
 
 
2288
 
    if test -s confdefs.h; then
2289
 
      $as_echo "## ----------- ##
2290
 
## confdefs.h. ##
2291
 
## ----------- ##"
2292
 
      echo
2293
 
      cat confdefs.h
2294
 
      echo
2295
 
    fi
2296
 
    test "$ac_signal" != 0 &&
2297
 
      $as_echo "$as_me: caught signal $ac_signal"
2298
 
    $as_echo "$as_me: exit $exit_status"
2299
 
  } >&5
2300
 
  rm -f core *.core core.conftest.* &&
2301
 
    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2302
 
    exit $exit_status
2303
 
' 0
2304
 
for ac_signal in 1 2 13 15; do
2305
 
  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2306
 
done
2307
 
ac_signal=0
2308
 
 
2309
 
# confdefs.h avoids OS command line length limits that DEFS can exceed.
2310
 
rm -f -r conftest* confdefs.h
2311
 
 
2312
 
$as_echo "/* confdefs.h */" > confdefs.h
2313
 
 
2314
 
# Predefined preprocessor variables.
2315
 
 
2316
 
cat >>confdefs.h <<_ACEOF
2317
 
#define PACKAGE_NAME "$PACKAGE_NAME"
2318
 
_ACEOF
2319
 
 
2320
 
cat >>confdefs.h <<_ACEOF
2321
 
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2322
 
_ACEOF
2323
 
 
2324
 
cat >>confdefs.h <<_ACEOF
2325
 
#define PACKAGE_VERSION "$PACKAGE_VERSION"
2326
 
_ACEOF
2327
 
 
2328
 
cat >>confdefs.h <<_ACEOF
2329
 
#define PACKAGE_STRING "$PACKAGE_STRING"
2330
 
_ACEOF
2331
 
 
2332
 
cat >>confdefs.h <<_ACEOF
2333
 
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2334
 
_ACEOF
2335
 
 
2336
 
cat >>confdefs.h <<_ACEOF
2337
 
#define PACKAGE_URL "$PACKAGE_URL"
2338
 
_ACEOF
2339
 
 
2340
 
 
2341
 
# Let the site file select an alternate cache file if it wants to.
2342
 
# Prefer an explicitly selected file to automatically selected ones.
2343
 
ac_site_file1=NONE
2344
 
ac_site_file2=NONE
2345
 
if test -n "$CONFIG_SITE"; then
2346
 
  # We do not want a PATH search for config.site.
2347
 
  case $CONFIG_SITE in #((
2348
 
    -*)  ac_site_file1=./$CONFIG_SITE;;
2349
 
    */*) ac_site_file1=$CONFIG_SITE;;
2350
 
    *)   ac_site_file1=./$CONFIG_SITE;;
2351
 
  esac
2352
 
elif test "x$prefix" != xNONE; then
2353
 
  ac_site_file1=$prefix/share/config.site
2354
 
  ac_site_file2=$prefix/etc/config.site
2355
 
else
2356
 
  ac_site_file1=$ac_default_prefix/share/config.site
2357
 
  ac_site_file2=$ac_default_prefix/etc/config.site
2358
 
fi
2359
 
for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2360
 
do
2361
 
  test "x$ac_site_file" = xNONE && continue
2362
 
  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2363
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2364
 
$as_echo "$as_me: loading site script $ac_site_file" >&6;}
2365
 
    sed 's/^/| /' "$ac_site_file" >&5
2366
 
    . "$ac_site_file" \
2367
 
      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2368
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2369
 
as_fn_error $? "failed to load site script $ac_site_file
2370
 
See \`config.log' for more details" "$LINENO" 5; }
2371
 
  fi
2372
 
done
2373
 
 
2374
 
if test -r "$cache_file"; then
2375
 
  # Some versions of bash will fail to source /dev/null (special files
2376
 
  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2377
 
  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2378
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2379
 
$as_echo "$as_me: loading cache $cache_file" >&6;}
2380
 
    case $cache_file in
2381
 
      [\\/]* | ?:[\\/]* ) . "$cache_file";;
2382
 
      *)                      . "./$cache_file";;
2383
 
    esac
2384
 
  fi
2385
 
else
2386
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2387
 
$as_echo "$as_me: creating cache $cache_file" >&6;}
2388
 
  >$cache_file
2389
 
fi
2390
 
 
2391
 
# Check that the precious variables saved in the cache have kept the same
2392
 
# value.
2393
 
ac_cache_corrupted=false
2394
 
for ac_var in $ac_precious_vars; do
2395
 
  eval ac_old_set=\$ac_cv_env_${ac_var}_set
2396
 
  eval ac_new_set=\$ac_env_${ac_var}_set
2397
 
  eval ac_old_val=\$ac_cv_env_${ac_var}_value
2398
 
  eval ac_new_val=\$ac_env_${ac_var}_value
2399
 
  case $ac_old_set,$ac_new_set in
2400
 
    set,)
2401
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2402
 
$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2403
 
      ac_cache_corrupted=: ;;
2404
 
    ,set)
2405
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2406
 
$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2407
 
      ac_cache_corrupted=: ;;
2408
 
    ,);;
2409
 
    *)
2410
 
      if test "x$ac_old_val" != "x$ac_new_val"; then
2411
 
        # differences in whitespace do not lead to failure.
2412
 
        ac_old_val_w=`echo x $ac_old_val`
2413
 
        ac_new_val_w=`echo x $ac_new_val`
2414
 
        if test "$ac_old_val_w" != "$ac_new_val_w"; then
2415
 
          { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2416
 
$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2417
 
          ac_cache_corrupted=:
2418
 
        else
2419
 
          { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2420
 
$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2421
 
          eval $ac_var=\$ac_old_val
2422
 
        fi
2423
 
        { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2424
 
$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2425
 
        { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2426
 
$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2427
 
      fi;;
2428
 
  esac
2429
 
  # Pass precious variables to config.status.
2430
 
  if test "$ac_new_set" = set; then
2431
 
    case $ac_new_val in
2432
 
    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2433
 
    *) ac_arg=$ac_var=$ac_new_val ;;
2434
 
    esac
2435
 
    case " $ac_configure_args " in
2436
 
      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2437
 
      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2438
 
    esac
2439
 
  fi
2440
 
done
2441
 
if $ac_cache_corrupted; then
2442
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2443
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2444
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2445
 
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2446
 
  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2447
 
fi
2448
 
## -------------------- ##
2449
 
## Main body of script. ##
2450
 
## -------------------- ##
2451
 
 
2452
 
ac_ext=c
2453
 
ac_cpp='$CPP $CPPFLAGS'
2454
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2455
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2456
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2457
 
 
2458
 
 
2459
 
am__api_version='1.13'
2460
 
 
2461
 
ac_aux_dir=
2462
 
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2463
 
  if test -f "$ac_dir/install-sh"; then
2464
 
    ac_aux_dir=$ac_dir
2465
 
    ac_install_sh="$ac_aux_dir/install-sh -c"
2466
 
    break
2467
 
  elif test -f "$ac_dir/install.sh"; then
2468
 
    ac_aux_dir=$ac_dir
2469
 
    ac_install_sh="$ac_aux_dir/install.sh -c"
2470
 
    break
2471
 
  elif test -f "$ac_dir/shtool"; then
2472
 
    ac_aux_dir=$ac_dir
2473
 
    ac_install_sh="$ac_aux_dir/shtool install -c"
2474
 
    break
2475
 
  fi
2476
 
done
2477
 
if test -z "$ac_aux_dir"; then
2478
 
  as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2479
 
fi
2480
 
 
2481
 
# These three variables are undocumented and unsupported,
2482
 
# and are intended to be withdrawn in a future Autoconf release.
2483
 
# They can cause serious problems if a builder's source tree is in a directory
2484
 
# whose full name contains unusual characters.
2485
 
ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2486
 
ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2487
 
ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2488
 
 
2489
 
 
2490
 
# Find a good install program.  We prefer a C program (faster),
2491
 
# so one script is as good as another.  But avoid the broken or
2492
 
# incompatible versions:
2493
 
# SysV /etc/install, /usr/sbin/install
2494
 
# SunOS /usr/etc/install
2495
 
# IRIX /sbin/install
2496
 
# AIX /bin/install
2497
 
# AmigaOS /C/install, which installs bootblocks on floppy discs
2498
 
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2499
 
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
2500
 
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2501
 
# OS/2's system install, which has a completely different semantic
2502
 
# ./install, which can be erroneously created by make from ./install.sh.
2503
 
# Reject install programs that cannot install multiple files.
2504
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2505
 
$as_echo_n "checking for a BSD-compatible install... " >&6; }
2506
 
if test -z "$INSTALL"; then
2507
 
if ${ac_cv_path_install+:} false; then :
2508
 
  $as_echo_n "(cached) " >&6
2509
 
else
2510
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2511
 
for as_dir in $PATH
2512
 
do
2513
 
  IFS=$as_save_IFS
2514
 
  test -z "$as_dir" && as_dir=.
2515
 
    # Account for people who put trailing slashes in PATH elements.
2516
 
case $as_dir/ in #((
2517
 
  ./ | .// | /[cC]/* | \
2518
 
  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2519
 
  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2520
 
  /usr/ucb/* ) ;;
2521
 
  *)
2522
 
    # OSF1 and SCO ODT 3.0 have their own names for install.
2523
 
    # Don't use installbsd from OSF since it installs stuff as root
2524
 
    # by default.
2525
 
    for ac_prog in ginstall scoinst install; do
2526
 
      for ac_exec_ext in '' $ac_executable_extensions; do
2527
 
        if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2528
 
          if test $ac_prog = install &&
2529
 
            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2530
 
            # AIX install.  It has an incompatible calling convention.
2531
 
            :
2532
 
          elif test $ac_prog = install &&
2533
 
            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2534
 
            # program-specific install script used by HP pwplus--don't use.
2535
 
            :
2536
 
          else
2537
 
            rm -rf conftest.one conftest.two conftest.dir
2538
 
            echo one > conftest.one
2539
 
            echo two > conftest.two
2540
 
            mkdir conftest.dir
2541
 
            if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2542
 
              test -s conftest.one && test -s conftest.two &&
2543
 
              test -s conftest.dir/conftest.one &&
2544
 
              test -s conftest.dir/conftest.two
2545
 
            then
2546
 
              ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2547
 
              break 3
2548
 
            fi
2549
 
          fi
2550
 
        fi
2551
 
      done
2552
 
    done
2553
 
    ;;
2554
 
esac
2555
 
 
2556
 
  done
2557
 
IFS=$as_save_IFS
2558
 
 
2559
 
rm -rf conftest.one conftest.two conftest.dir
2560
 
 
2561
 
fi
2562
 
  if test "${ac_cv_path_install+set}" = set; then
2563
 
    INSTALL=$ac_cv_path_install
2564
 
  else
2565
 
    # As a last resort, use the slow shell script.  Don't cache a
2566
 
    # value for INSTALL within a source directory, because that will
2567
 
    # break other packages using the cache if that directory is
2568
 
    # removed, or if the value is a relative name.
2569
 
    INSTALL=$ac_install_sh
2570
 
  fi
2571
 
fi
2572
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2573
 
$as_echo "$INSTALL" >&6; }
2574
 
 
2575
 
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2576
 
# It thinks the first close brace ends the variable substitution.
2577
 
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2578
 
 
2579
 
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2580
 
 
2581
 
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2582
 
 
2583
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2584
 
$as_echo_n "checking whether build environment is sane... " >&6; }
2585
 
# Reject unsafe characters in $srcdir or the absolute working directory
2586
 
# name.  Accept space and tab only in the latter.
2587
 
am_lf='
2588
 
'
2589
 
case `pwd` in
2590
 
  *[\\\"\#\$\&\'\`$am_lf]*)
2591
 
    as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2592
 
esac
2593
 
case $srcdir in
2594
 
  *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
2595
 
    as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2596
 
esac
2597
 
 
2598
 
# Do 'set' in a subshell so we don't clobber the current shell's
2599
 
# arguments.  Must try -L first in case configure is actually a
2600
 
# symlink; some systems play weird games with the mod time of symlinks
2601
 
# (eg FreeBSD returns the mod time of the symlink's containing
2602
 
# directory).
2603
 
if (
2604
 
   am_has_slept=no
2605
 
   for am_try in 1 2; do
2606
 
     echo "timestamp, slept: $am_has_slept" > conftest.file
2607
 
     set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2608
 
     if test "$*" = "X"; then
2609
 
        # -L didn't work.
2610
 
        set X `ls -t "$srcdir/configure" conftest.file`
2611
 
     fi
2612
 
     if test "$*" != "X $srcdir/configure conftest.file" \
2613
 
        && test "$*" != "X conftest.file $srcdir/configure"; then
2614
 
 
2615
 
        # If neither matched, then we have a broken ls.  This can happen
2616
 
        # if, for instance, CONFIG_SHELL is bash and it inherits a
2617
 
        # broken ls alias from the environment.  This has actually
2618
 
        # happened.  Such a system could not be considered "sane".
2619
 
        as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
2620
 
  alias in your environment" "$LINENO" 5
2621
 
     fi
2622
 
     if test "$2" = conftest.file || test $am_try -eq 2; then
2623
 
       break
2624
 
     fi
2625
 
     # Just in case.
2626
 
     sleep 1
2627
 
     am_has_slept=yes
2628
 
   done
2629
 
   test "$2" = conftest.file
2630
 
   )
2631
 
then
2632
 
   # Ok.
2633
 
   :
2634
 
else
2635
 
   as_fn_error $? "newly created file is older than distributed files!
2636
 
Check your system clock" "$LINENO" 5
2637
 
fi
2638
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2639
 
$as_echo "yes" >&6; }
2640
 
# If we didn't sleep, we still need to ensure time stamps of config.status and
2641
 
# generated files are strictly newer.
2642
 
am_sleep_pid=
2643
 
if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2644
 
  ( sleep 1 ) &
2645
 
  am_sleep_pid=$!
2646
 
fi
2647
 
 
2648
 
rm -f conftest.file
2649
 
 
2650
 
test "$program_prefix" != NONE &&
2651
 
  program_transform_name="s&^&$program_prefix&;$program_transform_name"
2652
 
# Use a double $ so make ignores it.
2653
 
test "$program_suffix" != NONE &&
2654
 
  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2655
 
# Double any \ or $.
2656
 
# By default was `s,x,x', remove it if useless.
2657
 
ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2658
 
program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2659
 
 
2660
 
# expand $ac_aux_dir to an absolute path
2661
 
am_aux_dir=`cd $ac_aux_dir && pwd`
2662
 
 
2663
 
if test x"${MISSING+set}" != xset; then
2664
 
  case $am_aux_dir in
2665
 
  *\ * | *\     *)
2666
 
    MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2667
 
  *)
2668
 
    MISSING="\${SHELL} $am_aux_dir/missing" ;;
2669
 
  esac
2670
 
fi
2671
 
# Use eval to expand $SHELL
2672
 
if eval "$MISSING --is-lightweight"; then
2673
 
  am_missing_run="$MISSING "
2674
 
else
2675
 
  am_missing_run=
2676
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2677
 
$as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2678
 
fi
2679
 
 
2680
 
if test x"${install_sh}" != xset; then
2681
 
  case $am_aux_dir in
2682
 
  *\ * | *\     *)
2683
 
    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2684
 
  *)
2685
 
    install_sh="\${SHELL} $am_aux_dir/install-sh"
2686
 
  esac
2687
 
fi
2688
 
 
2689
 
# Installed binaries are usually stripped using 'strip' when the user
2690
 
# run "make install-strip".  However 'strip' might not be the right
2691
 
# tool to use in cross-compilation environments, therefore Automake
2692
 
# will honor the 'STRIP' environment variable to overrule this program.
2693
 
if test "$cross_compiling" != no; then
2694
 
  if test -n "$ac_tool_prefix"; then
2695
 
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2696
 
set dummy ${ac_tool_prefix}strip; ac_word=$2
2697
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2698
 
$as_echo_n "checking for $ac_word... " >&6; }
2699
 
if ${ac_cv_prog_STRIP+:} false; then :
2700
 
  $as_echo_n "(cached) " >&6
2701
 
else
2702
 
  if test -n "$STRIP"; then
2703
 
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2704
 
else
2705
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2706
 
for as_dir in $PATH
2707
 
do
2708
 
  IFS=$as_save_IFS
2709
 
  test -z "$as_dir" && as_dir=.
2710
 
    for ac_exec_ext in '' $ac_executable_extensions; do
2711
 
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2712
 
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2713
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2714
 
    break 2
2715
 
  fi
2716
 
done
2717
 
  done
2718
 
IFS=$as_save_IFS
2719
 
 
2720
 
fi
2721
 
fi
2722
 
STRIP=$ac_cv_prog_STRIP
2723
 
if test -n "$STRIP"; then
2724
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2725
 
$as_echo "$STRIP" >&6; }
2726
 
else
2727
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2728
 
$as_echo "no" >&6; }
2729
 
fi
2730
 
 
2731
 
 
2732
 
fi
2733
 
if test -z "$ac_cv_prog_STRIP"; then
2734
 
  ac_ct_STRIP=$STRIP
2735
 
  # Extract the first word of "strip", so it can be a program name with args.
2736
 
set dummy strip; ac_word=$2
2737
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2738
 
$as_echo_n "checking for $ac_word... " >&6; }
2739
 
if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2740
 
  $as_echo_n "(cached) " >&6
2741
 
else
2742
 
  if test -n "$ac_ct_STRIP"; then
2743
 
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2744
 
else
2745
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2746
 
for as_dir in $PATH
2747
 
do
2748
 
  IFS=$as_save_IFS
2749
 
  test -z "$as_dir" && as_dir=.
2750
 
    for ac_exec_ext in '' $ac_executable_extensions; do
2751
 
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2752
 
    ac_cv_prog_ac_ct_STRIP="strip"
2753
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2754
 
    break 2
2755
 
  fi
2756
 
done
2757
 
  done
2758
 
IFS=$as_save_IFS
2759
 
 
2760
 
fi
2761
 
fi
2762
 
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2763
 
if test -n "$ac_ct_STRIP"; then
2764
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2765
 
$as_echo "$ac_ct_STRIP" >&6; }
2766
 
else
2767
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2768
 
$as_echo "no" >&6; }
2769
 
fi
2770
 
 
2771
 
  if test "x$ac_ct_STRIP" = x; then
2772
 
    STRIP=":"
2773
 
  else
2774
 
    case $cross_compiling:$ac_tool_warned in
2775
 
yes:)
2776
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2777
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2778
 
ac_tool_warned=yes ;;
2779
 
esac
2780
 
    STRIP=$ac_ct_STRIP
2781
 
  fi
2782
 
else
2783
 
  STRIP="$ac_cv_prog_STRIP"
2784
 
fi
2785
 
 
2786
 
fi
2787
 
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2788
 
 
2789
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2790
 
$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2791
 
if test -z "$MKDIR_P"; then
2792
 
  if ${ac_cv_path_mkdir+:} false; then :
2793
 
  $as_echo_n "(cached) " >&6
2794
 
else
2795
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2796
 
for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2797
 
do
2798
 
  IFS=$as_save_IFS
2799
 
  test -z "$as_dir" && as_dir=.
2800
 
    for ac_prog in mkdir gmkdir; do
2801
 
         for ac_exec_ext in '' $ac_executable_extensions; do
2802
 
           as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2803
 
           case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2804
 
             'mkdir (GNU coreutils) '* | \
2805
 
             'mkdir (coreutils) '* | \
2806
 
             'mkdir (fileutils) '4.1*)
2807
 
               ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2808
 
               break 3;;
2809
 
           esac
2810
 
         done
2811
 
       done
2812
 
  done
2813
 
IFS=$as_save_IFS
2814
 
 
2815
 
fi
2816
 
 
2817
 
  test -d ./--version && rmdir ./--version
2818
 
  if test "${ac_cv_path_mkdir+set}" = set; then
2819
 
    MKDIR_P="$ac_cv_path_mkdir -p"
2820
 
  else
2821
 
    # As a last resort, use the slow shell script.  Don't cache a
2822
 
    # value for MKDIR_P within a source directory, because that will
2823
 
    # break other packages using the cache if that directory is
2824
 
    # removed, or if the value is a relative name.
2825
 
    MKDIR_P="$ac_install_sh -d"
2826
 
  fi
2827
 
fi
2828
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2829
 
$as_echo "$MKDIR_P" >&6; }
2830
 
 
2831
 
for ac_prog in gawk mawk nawk awk
2832
 
do
2833
 
  # Extract the first word of "$ac_prog", so it can be a program name with args.
2834
 
set dummy $ac_prog; ac_word=$2
2835
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2836
 
$as_echo_n "checking for $ac_word... " >&6; }
2837
 
if ${ac_cv_prog_AWK+:} false; then :
2838
 
  $as_echo_n "(cached) " >&6
2839
 
else
2840
 
  if test -n "$AWK"; then
2841
 
  ac_cv_prog_AWK="$AWK" # Let the user override the test.
2842
 
else
2843
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2844
 
for as_dir in $PATH
2845
 
do
2846
 
  IFS=$as_save_IFS
2847
 
  test -z "$as_dir" && as_dir=.
2848
 
    for ac_exec_ext in '' $ac_executable_extensions; do
2849
 
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2850
 
    ac_cv_prog_AWK="$ac_prog"
2851
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2852
 
    break 2
2853
 
  fi
2854
 
done
2855
 
  done
2856
 
IFS=$as_save_IFS
2857
 
 
2858
 
fi
2859
 
fi
2860
 
AWK=$ac_cv_prog_AWK
2861
 
if test -n "$AWK"; then
2862
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2863
 
$as_echo "$AWK" >&6; }
2864
 
else
2865
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2866
 
$as_echo "no" >&6; }
2867
 
fi
2868
 
 
2869
 
 
2870
 
  test -n "$AWK" && break
2871
 
done
2872
 
 
2873
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2874
 
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2875
 
set x ${MAKE-make}
2876
 
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2877
 
if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2878
 
  $as_echo_n "(cached) " >&6
2879
 
else
2880
 
  cat >conftest.make <<\_ACEOF
2881
 
SHELL = /bin/sh
2882
 
all:
2883
 
        @echo '@@@%%%=$(MAKE)=@@@%%%'
2884
 
_ACEOF
2885
 
# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2886
 
case `${MAKE-make} -f conftest.make 2>/dev/null` in
2887
 
  *@@@%%%=?*=@@@%%%*)
2888
 
    eval ac_cv_prog_make_${ac_make}_set=yes;;
2889
 
  *)
2890
 
    eval ac_cv_prog_make_${ac_make}_set=no;;
2891
 
esac
2892
 
rm -f conftest.make
2893
 
fi
2894
 
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2895
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2896
 
$as_echo "yes" >&6; }
2897
 
  SET_MAKE=
2898
 
else
2899
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2900
 
$as_echo "no" >&6; }
2901
 
  SET_MAKE="MAKE=${MAKE-make}"
2902
 
fi
2903
 
 
2904
 
rm -rf .tst 2>/dev/null
2905
 
mkdir .tst 2>/dev/null
2906
 
if test -d .tst; then
2907
 
  am__leading_dot=.
2908
 
else
2909
 
  am__leading_dot=_
2910
 
fi
2911
 
rmdir .tst 2>/dev/null
2912
 
 
2913
 
# Check whether --enable-silent-rules was given.
2914
 
if test "${enable_silent_rules+set}" = set; then :
2915
 
  enableval=$enable_silent_rules;
2916
 
fi
2917
 
 
2918
 
case $enable_silent_rules in # (((
2919
 
  yes) AM_DEFAULT_VERBOSITY=0;;
2920
 
   no) AM_DEFAULT_VERBOSITY=1;;
2921
 
    *) AM_DEFAULT_VERBOSITY=1;;
2922
 
esac
2923
 
am_make=${MAKE-make}
2924
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2925
 
$as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2926
 
if ${am_cv_make_support_nested_variables+:} false; then :
2927
 
  $as_echo_n "(cached) " >&6
2928
 
else
2929
 
  if $as_echo 'TRUE=$(BAR$(V))
2930
 
BAR0=false
2931
 
BAR1=true
2932
 
V=1
2933
 
am__doit:
2934
 
        @$(TRUE)
2935
 
.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2936
 
  am_cv_make_support_nested_variables=yes
2937
 
else
2938
 
  am_cv_make_support_nested_variables=no
2939
 
fi
2940
 
fi
2941
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2942
 
$as_echo "$am_cv_make_support_nested_variables" >&6; }
2943
 
if test $am_cv_make_support_nested_variables = yes; then
2944
 
    AM_V='$(V)'
2945
 
  AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2946
 
else
2947
 
  AM_V=$AM_DEFAULT_VERBOSITY
2948
 
  AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2949
 
fi
2950
 
AM_BACKSLASH='\'
2951
 
 
2952
 
if test "`cd $srcdir && pwd`" != "`pwd`"; then
2953
 
  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2954
 
  # is not polluted with repeated "-I."
2955
 
  am__isrc=' -I$(srcdir)'
2956
 
  # test to see if srcdir already configured
2957
 
  if test -f $srcdir/config.status; then
2958
 
    as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2959
 
  fi
2960
 
fi
2961
 
 
2962
 
# test whether we have cygpath
2963
 
if test -z "$CYGPATH_W"; then
2964
 
  if (cygpath --version) >/dev/null 2>/dev/null; then
2965
 
    CYGPATH_W='cygpath -w'
2966
 
  else
2967
 
    CYGPATH_W=echo
2968
 
  fi
2969
 
fi
2970
 
 
2971
 
 
2972
 
# Define the identity of the package.
2973
 
 PACKAGE='libcmis'
2974
 
 VERSION='0.4.1'
2975
 
 
2976
 
 
2977
 
cat >>confdefs.h <<_ACEOF
2978
 
#define PACKAGE "$PACKAGE"
2979
 
_ACEOF
2980
 
 
2981
 
 
2982
 
cat >>confdefs.h <<_ACEOF
2983
 
#define VERSION "$VERSION"
2984
 
_ACEOF
2985
 
 
2986
 
# Some tools Automake needs.
2987
 
 
2988
 
ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2989
 
 
2990
 
 
2991
 
AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2992
 
 
2993
 
 
2994
 
AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2995
 
 
2996
 
 
2997
 
AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2998
 
 
2999
 
 
3000
 
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3001
 
 
3002
 
# For better backward compatibility.  To be removed once Automake 1.9.x
3003
 
# dies out for good.  For more background, see:
3004
 
# <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
3005
 
# <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
3006
 
mkdir_p='$(MKDIR_P)'
3007
 
 
3008
 
# We need awk for the "check" target.  The system "awk" is bad on
3009
 
# some platforms.
3010
 
# Always define AMTAR for backward compatibility.  Yes, it's still used
3011
 
# in the wild :-(  We should find a proper way to deprecate it ...
3012
 
AMTAR='$${TAR-tar}'
3013
 
 
3014
 
 
3015
 
# We'll loop over all known methods to create a tar archive until one works.
3016
 
_am_tools='gnutar  pax cpio none'
3017
 
 
3018
 
am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
3019
 
 
3020
 
 
3021
 
 
3022
 
 
3023
 
 
3024
 
 
3025
 
# Check whether --enable-silent-rules was given.
3026
 
if test "${enable_silent_rules+set}" = set; then :
3027
 
  enableval=$enable_silent_rules;
3028
 
fi
3029
 
 
3030
 
case $enable_silent_rules in # (((
3031
 
  yes) AM_DEFAULT_VERBOSITY=0;;
3032
 
   no) AM_DEFAULT_VERBOSITY=1;;
3033
 
    *) AM_DEFAULT_VERBOSITY=0;;
3034
 
esac
3035
 
am_make=${MAKE-make}
3036
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3037
 
$as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3038
 
if ${am_cv_make_support_nested_variables+:} false; then :
3039
 
  $as_echo_n "(cached) " >&6
3040
 
else
3041
 
  if $as_echo 'TRUE=$(BAR$(V))
3042
 
BAR0=false
3043
 
BAR1=true
3044
 
V=1
3045
 
am__doit:
3046
 
        @$(TRUE)
3047
 
.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
3048
 
  am_cv_make_support_nested_variables=yes
3049
 
else
3050
 
  am_cv_make_support_nested_variables=no
3051
 
fi
3052
 
fi
3053
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3054
 
$as_echo "$am_cv_make_support_nested_variables" >&6; }
3055
 
if test $am_cv_make_support_nested_variables = yes; then
3056
 
    AM_V='$(V)'
3057
 
  AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
3058
 
else
3059
 
  AM_V=$AM_DEFAULT_VERBOSITY
3060
 
  AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
3061
 
fi
3062
 
AM_BACKSLASH='\'
3063
 
 
3064
 
 
3065
 
# Check whether --enable-client was given.
3066
 
if test "${enable_client+set}" = set; then :
3067
 
  enableval=$enable_client; enable_client=$enableval
3068
 
else
3069
 
  enable_client=yes
3070
 
fi
3071
 
 
3072
 
 if test "x$enable_client" != "xno"; then
3073
 
  ENABLE_CLIENT_TRUE=
3074
 
  ENABLE_CLIENT_FALSE='#'
3075
 
else
3076
 
  ENABLE_CLIENT_TRUE='#'
3077
 
  ENABLE_CLIENT_FALSE=
3078
 
fi
3079
 
 
3080
 
 
3081
 
# Check whether --enable-tests was given.
3082
 
if test "${enable_tests+set}" = set; then :
3083
 
  enableval=$enable_tests; enable_tests="$enableval"
3084
 
else
3085
 
  enable_tests=yes
3086
 
 
3087
 
fi
3088
 
 
3089
 
 if test "x$enable_tests" != "xno"; then
3090
 
  ENABLE_TESTS_TRUE=
3091
 
  ENABLE_TESTS_FALSE='#'
3092
 
else
3093
 
  ENABLE_TESTS_TRUE='#'
3094
 
  ENABLE_TESTS_FALSE=
3095
 
fi
3096
 
 
3097
 
 
3098
 
if test "x$enable_tests" != "xno"; then :
3099
 
 
3100
 
        # Check whether --enable-long-tests was given.
3101
 
if test "${enable_long_tests+set}" = set; then :
3102
 
  enableval=$enable_long_tests; enable_long_tests="$enableval"
3103
 
else
3104
 
  enable_long_tests=yes
3105
 
 
3106
 
fi
3107
 
 
3108
 
 
3109
 
else
3110
 
  enable_long_tests=no
3111
 
fi
3112
 
 if test "x$enable_long_tests" != "xno"; then
3113
 
  ENABLE_LONG_TESTS_TRUE=
3114
 
  ENABLE_LONG_TESTS_FALSE='#'
3115
 
else
3116
 
  ENABLE_LONG_TESTS_TRUE='#'
3117
 
  ENABLE_LONG_TESTS_FALSE=
3118
 
fi
3119
 
 
3120
 
 
3121
 
 
3122
 
LIBCMIS_API_VERSION=0.4
3123
 
 
3124
 
 
3125
 
 
3126
 
 
3127
 
for top_builddir in . .. ../.. $ac_auxdir $ac_auxdir/..; do
3128
 
        test -f $top_builddir/configure && break
3129
 
done
3130
 
 
3131
 
SRCDIR=$srcdir
3132
 
 
3133
 
 
3134
 
ac_ext=cpp
3135
 
ac_cpp='$CXXCPP $CPPFLAGS'
3136
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3137
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3138
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3139
 
 
3140
 
 
3141
 
# Checks for programs.
3142
 
ac_ext=c
3143
 
ac_cpp='$CPP $CPPFLAGS'
3144
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3145
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3146
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3147
 
if test -n "$ac_tool_prefix"; then
3148
 
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3149
 
set dummy ${ac_tool_prefix}gcc; ac_word=$2
3150
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3151
 
$as_echo_n "checking for $ac_word... " >&6; }
3152
 
if ${ac_cv_prog_CC+:} false; then :
3153
 
  $as_echo_n "(cached) " >&6
3154
 
else
3155
 
  if test -n "$CC"; then
3156
 
  ac_cv_prog_CC="$CC" # Let the user override the test.
3157
 
else
3158
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3159
 
for as_dir in $PATH
3160
 
do
3161
 
  IFS=$as_save_IFS
3162
 
  test -z "$as_dir" && as_dir=.
3163
 
    for ac_exec_ext in '' $ac_executable_extensions; do
3164
 
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3165
 
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
3166
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3167
 
    break 2
3168
 
  fi
3169
 
done
3170
 
  done
3171
 
IFS=$as_save_IFS
3172
 
 
3173
 
fi
3174
 
fi
3175
 
CC=$ac_cv_prog_CC
3176
 
if test -n "$CC"; then
3177
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3178
 
$as_echo "$CC" >&6; }
3179
 
else
3180
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3181
 
$as_echo "no" >&6; }
3182
 
fi
3183
 
 
3184
 
 
3185
 
fi
3186
 
if test -z "$ac_cv_prog_CC"; then
3187
 
  ac_ct_CC=$CC
3188
 
  # Extract the first word of "gcc", so it can be a program name with args.
3189
 
set dummy gcc; ac_word=$2
3190
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3191
 
$as_echo_n "checking for $ac_word... " >&6; }
3192
 
if ${ac_cv_prog_ac_ct_CC+:} false; then :
3193
 
  $as_echo_n "(cached) " >&6
3194
 
else
3195
 
  if test -n "$ac_ct_CC"; then
3196
 
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3197
 
else
3198
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3199
 
for as_dir in $PATH
3200
 
do
3201
 
  IFS=$as_save_IFS
3202
 
  test -z "$as_dir" && as_dir=.
3203
 
    for ac_exec_ext in '' $ac_executable_extensions; do
3204
 
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3205
 
    ac_cv_prog_ac_ct_CC="gcc"
3206
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3207
 
    break 2
3208
 
  fi
3209
 
done
3210
 
  done
3211
 
IFS=$as_save_IFS
3212
 
 
3213
 
fi
3214
 
fi
3215
 
ac_ct_CC=$ac_cv_prog_ac_ct_CC
3216
 
if test -n "$ac_ct_CC"; then
3217
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3218
 
$as_echo "$ac_ct_CC" >&6; }
3219
 
else
3220
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3221
 
$as_echo "no" >&6; }
3222
 
fi
3223
 
 
3224
 
  if test "x$ac_ct_CC" = x; then
3225
 
    CC=""
3226
 
  else
3227
 
    case $cross_compiling:$ac_tool_warned in
3228
 
yes:)
3229
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3230
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3231
 
ac_tool_warned=yes ;;
3232
 
esac
3233
 
    CC=$ac_ct_CC
3234
 
  fi
3235
 
else
3236
 
  CC="$ac_cv_prog_CC"
3237
 
fi
3238
 
 
3239
 
if test -z "$CC"; then
3240
 
          if test -n "$ac_tool_prefix"; then
3241
 
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3242
 
set dummy ${ac_tool_prefix}cc; ac_word=$2
3243
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3244
 
$as_echo_n "checking for $ac_word... " >&6; }
3245
 
if ${ac_cv_prog_CC+:} false; then :
3246
 
  $as_echo_n "(cached) " >&6
3247
 
else
3248
 
  if test -n "$CC"; then
3249
 
  ac_cv_prog_CC="$CC" # Let the user override the test.
3250
 
else
3251
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3252
 
for as_dir in $PATH
3253
 
do
3254
 
  IFS=$as_save_IFS
3255
 
  test -z "$as_dir" && as_dir=.
3256
 
    for ac_exec_ext in '' $ac_executable_extensions; do
3257
 
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3258
 
    ac_cv_prog_CC="${ac_tool_prefix}cc"
3259
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3260
 
    break 2
3261
 
  fi
3262
 
done
3263
 
  done
3264
 
IFS=$as_save_IFS
3265
 
 
3266
 
fi
3267
 
fi
3268
 
CC=$ac_cv_prog_CC
3269
 
if test -n "$CC"; then
3270
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3271
 
$as_echo "$CC" >&6; }
3272
 
else
3273
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3274
 
$as_echo "no" >&6; }
3275
 
fi
3276
 
 
3277
 
 
3278
 
  fi
3279
 
fi
3280
 
if test -z "$CC"; then
3281
 
  # Extract the first word of "cc", so it can be a program name with args.
3282
 
set dummy cc; ac_word=$2
3283
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3284
 
$as_echo_n "checking for $ac_word... " >&6; }
3285
 
if ${ac_cv_prog_CC+:} false; then :
3286
 
  $as_echo_n "(cached) " >&6
3287
 
else
3288
 
  if test -n "$CC"; then
3289
 
  ac_cv_prog_CC="$CC" # Let the user override the test.
3290
 
else
3291
 
  ac_prog_rejected=no
3292
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3293
 
for as_dir in $PATH
3294
 
do
3295
 
  IFS=$as_save_IFS
3296
 
  test -z "$as_dir" && as_dir=.
3297
 
    for ac_exec_ext in '' $ac_executable_extensions; do
3298
 
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3299
 
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3300
 
       ac_prog_rejected=yes
3301
 
       continue
3302
 
     fi
3303
 
    ac_cv_prog_CC="cc"
3304
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3305
 
    break 2
3306
 
  fi
3307
 
done
3308
 
  done
3309
 
IFS=$as_save_IFS
3310
 
 
3311
 
if test $ac_prog_rejected = yes; then
3312
 
  # We found a bogon in the path, so make sure we never use it.
3313
 
  set dummy $ac_cv_prog_CC
3314
 
  shift
3315
 
  if test $# != 0; then
3316
 
    # We chose a different compiler from the bogus one.
3317
 
    # However, it has the same basename, so the bogon will be chosen
3318
 
    # first if we set CC to just the basename; use the full file name.
3319
 
    shift
3320
 
    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3321
 
  fi
3322
 
fi
3323
 
fi
3324
 
fi
3325
 
CC=$ac_cv_prog_CC
3326
 
if test -n "$CC"; then
3327
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3328
 
$as_echo "$CC" >&6; }
3329
 
else
3330
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3331
 
$as_echo "no" >&6; }
3332
 
fi
3333
 
 
3334
 
 
3335
 
fi
3336
 
if test -z "$CC"; then
3337
 
  if test -n "$ac_tool_prefix"; then
3338
 
  for ac_prog in cl.exe
3339
 
  do
3340
 
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3341
 
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3342
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3343
 
$as_echo_n "checking for $ac_word... " >&6; }
3344
 
if ${ac_cv_prog_CC+:} false; then :
3345
 
  $as_echo_n "(cached) " >&6
3346
 
else
3347
 
  if test -n "$CC"; then
3348
 
  ac_cv_prog_CC="$CC" # Let the user override the test.
3349
 
else
3350
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3351
 
for as_dir in $PATH
3352
 
do
3353
 
  IFS=$as_save_IFS
3354
 
  test -z "$as_dir" && as_dir=.
3355
 
    for ac_exec_ext in '' $ac_executable_extensions; do
3356
 
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3357
 
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3358
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3359
 
    break 2
3360
 
  fi
3361
 
done
3362
 
  done
3363
 
IFS=$as_save_IFS
3364
 
 
3365
 
fi
3366
 
fi
3367
 
CC=$ac_cv_prog_CC
3368
 
if test -n "$CC"; then
3369
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3370
 
$as_echo "$CC" >&6; }
3371
 
else
3372
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3373
 
$as_echo "no" >&6; }
3374
 
fi
3375
 
 
3376
 
 
3377
 
    test -n "$CC" && break
3378
 
  done
3379
 
fi
3380
 
if test -z "$CC"; then
3381
 
  ac_ct_CC=$CC
3382
 
  for ac_prog in cl.exe
3383
 
do
3384
 
  # Extract the first word of "$ac_prog", so it can be a program name with args.
3385
 
set dummy $ac_prog; ac_word=$2
3386
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3387
 
$as_echo_n "checking for $ac_word... " >&6; }
3388
 
if ${ac_cv_prog_ac_ct_CC+:} false; then :
3389
 
  $as_echo_n "(cached) " >&6
3390
 
else
3391
 
  if test -n "$ac_ct_CC"; then
3392
 
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3393
 
else
3394
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3395
 
for as_dir in $PATH
3396
 
do
3397
 
  IFS=$as_save_IFS
3398
 
  test -z "$as_dir" && as_dir=.
3399
 
    for ac_exec_ext in '' $ac_executable_extensions; do
3400
 
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3401
 
    ac_cv_prog_ac_ct_CC="$ac_prog"
3402
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3403
 
    break 2
3404
 
  fi
3405
 
done
3406
 
  done
3407
 
IFS=$as_save_IFS
3408
 
 
3409
 
fi
3410
 
fi
3411
 
ac_ct_CC=$ac_cv_prog_ac_ct_CC
3412
 
if test -n "$ac_ct_CC"; then
3413
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3414
 
$as_echo "$ac_ct_CC" >&6; }
3415
 
else
3416
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3417
 
$as_echo "no" >&6; }
3418
 
fi
3419
 
 
3420
 
 
3421
 
  test -n "$ac_ct_CC" && break
3422
 
done
3423
 
 
3424
 
  if test "x$ac_ct_CC" = x; then
3425
 
    CC=""
3426
 
  else
3427
 
    case $cross_compiling:$ac_tool_warned in
3428
 
yes:)
3429
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3430
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3431
 
ac_tool_warned=yes ;;
3432
 
esac
3433
 
    CC=$ac_ct_CC
3434
 
  fi
3435
 
fi
3436
 
 
3437
 
fi
3438
 
 
3439
 
 
3440
 
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3441
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3442
 
as_fn_error $? "no acceptable C compiler found in \$PATH
3443
 
See \`config.log' for more details" "$LINENO" 5; }
3444
 
 
3445
 
# Provide some information about the compiler.
3446
 
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3447
 
set X $ac_compile
3448
 
ac_compiler=$2
3449
 
for ac_option in --version -v -V -qversion; do
3450
 
  { { ac_try="$ac_compiler $ac_option >&5"
3451
 
case "(($ac_try" in
3452
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3453
 
  *) ac_try_echo=$ac_try;;
3454
 
esac
3455
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3456
 
$as_echo "$ac_try_echo"; } >&5
3457
 
  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3458
 
  ac_status=$?
3459
 
  if test -s conftest.err; then
3460
 
    sed '10a\
3461
 
... rest of stderr output deleted ...
3462
 
         10q' conftest.err >conftest.er1
3463
 
    cat conftest.er1 >&5
3464
 
  fi
3465
 
  rm -f conftest.er1 conftest.err
3466
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3467
 
  test $ac_status = 0; }
3468
 
done
3469
 
 
3470
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3471
 
/* end confdefs.h.  */
3472
 
 
3473
 
int
3474
 
main ()
3475
 
{
3476
 
 
3477
 
  ;
3478
 
  return 0;
3479
 
}
3480
 
_ACEOF
3481
 
ac_clean_files_save=$ac_clean_files
3482
 
ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3483
 
# Try to create an executable without -o first, disregard a.out.
3484
 
# It will help us diagnose broken compilers, and finding out an intuition
3485
 
# of exeext.
3486
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3487
 
$as_echo_n "checking whether the C compiler works... " >&6; }
3488
 
ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3489
 
 
3490
 
# The possible output files:
3491
 
ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3492
 
 
3493
 
ac_rmfiles=
3494
 
for ac_file in $ac_files
3495
 
do
3496
 
  case $ac_file in
3497
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3498
 
    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3499
 
  esac
3500
 
done
3501
 
rm -f $ac_rmfiles
3502
 
 
3503
 
if { { ac_try="$ac_link_default"
3504
 
case "(($ac_try" in
3505
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3506
 
  *) ac_try_echo=$ac_try;;
3507
 
esac
3508
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3509
 
$as_echo "$ac_try_echo"; } >&5
3510
 
  (eval "$ac_link_default") 2>&5
3511
 
  ac_status=$?
3512
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3513
 
  test $ac_status = 0; }; then :
3514
 
  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3515
 
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3516
 
# in a Makefile.  We should not override ac_cv_exeext if it was cached,
3517
 
# so that the user can short-circuit this test for compilers unknown to
3518
 
# Autoconf.
3519
 
for ac_file in $ac_files ''
3520
 
do
3521
 
  test -f "$ac_file" || continue
3522
 
  case $ac_file in
3523
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3524
 
        ;;
3525
 
    [ab].out )
3526
 
        # We found the default executable, but exeext='' is most
3527
 
        # certainly right.
3528
 
        break;;
3529
 
    *.* )
3530
 
        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3531
 
        then :; else
3532
 
           ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3533
 
        fi
3534
 
        # We set ac_cv_exeext here because the later test for it is not
3535
 
        # safe: cross compilers may not add the suffix if given an `-o'
3536
 
        # argument, so we may need to know it at that point already.
3537
 
        # Even if this section looks crufty: it has the advantage of
3538
 
        # actually working.
3539
 
        break;;
3540
 
    * )
3541
 
        break;;
3542
 
  esac
3543
 
done
3544
 
test "$ac_cv_exeext" = no && ac_cv_exeext=
3545
 
 
3546
 
else
3547
 
  ac_file=''
3548
 
fi
3549
 
if test -z "$ac_file"; then :
3550
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3551
 
$as_echo "no" >&6; }
3552
 
$as_echo "$as_me: failed program was:" >&5
3553
 
sed 's/^/| /' conftest.$ac_ext >&5
3554
 
 
3555
 
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3556
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3557
 
as_fn_error 77 "C compiler cannot create executables
3558
 
See \`config.log' for more details" "$LINENO" 5; }
3559
 
else
3560
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3561
 
$as_echo "yes" >&6; }
3562
 
fi
3563
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3564
 
$as_echo_n "checking for C compiler default output file name... " >&6; }
3565
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3566
 
$as_echo "$ac_file" >&6; }
3567
 
ac_exeext=$ac_cv_exeext
3568
 
 
3569
 
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3570
 
ac_clean_files=$ac_clean_files_save
3571
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3572
 
$as_echo_n "checking for suffix of executables... " >&6; }
3573
 
if { { ac_try="$ac_link"
3574
 
case "(($ac_try" in
3575
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3576
 
  *) ac_try_echo=$ac_try;;
3577
 
esac
3578
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3579
 
$as_echo "$ac_try_echo"; } >&5
3580
 
  (eval "$ac_link") 2>&5
3581
 
  ac_status=$?
3582
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3583
 
  test $ac_status = 0; }; then :
3584
 
  # If both `conftest.exe' and `conftest' are `present' (well, observable)
3585
 
# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3586
 
# work properly (i.e., refer to `conftest.exe'), while it won't with
3587
 
# `rm'.
3588
 
for ac_file in conftest.exe conftest conftest.*; do
3589
 
  test -f "$ac_file" || continue
3590
 
  case $ac_file in
3591
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3592
 
    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3593
 
          break;;
3594
 
    * ) break;;
3595
 
  esac
3596
 
done
3597
 
else
3598
 
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3599
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3600
 
as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3601
 
See \`config.log' for more details" "$LINENO" 5; }
3602
 
fi
3603
 
rm -f conftest conftest$ac_cv_exeext
3604
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3605
 
$as_echo "$ac_cv_exeext" >&6; }
3606
 
 
3607
 
rm -f conftest.$ac_ext
3608
 
EXEEXT=$ac_cv_exeext
3609
 
ac_exeext=$EXEEXT
3610
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3611
 
/* end confdefs.h.  */
3612
 
#include <stdio.h>
3613
 
int
3614
 
main ()
3615
 
{
3616
 
FILE *f = fopen ("conftest.out", "w");
3617
 
 return ferror (f) || fclose (f) != 0;
3618
 
 
3619
 
  ;
3620
 
  return 0;
3621
 
}
3622
 
_ACEOF
3623
 
ac_clean_files="$ac_clean_files conftest.out"
3624
 
# Check that the compiler produces executables we can run.  If not, either
3625
 
# the compiler is broken, or we cross compile.
3626
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3627
 
$as_echo_n "checking whether we are cross compiling... " >&6; }
3628
 
if test "$cross_compiling" != yes; then
3629
 
  { { ac_try="$ac_link"
3630
 
case "(($ac_try" in
3631
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3632
 
  *) ac_try_echo=$ac_try;;
3633
 
esac
3634
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3635
 
$as_echo "$ac_try_echo"; } >&5
3636
 
  (eval "$ac_link") 2>&5
3637
 
  ac_status=$?
3638
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3639
 
  test $ac_status = 0; }
3640
 
  if { ac_try='./conftest$ac_cv_exeext'
3641
 
  { { case "(($ac_try" in
3642
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3643
 
  *) ac_try_echo=$ac_try;;
3644
 
esac
3645
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3646
 
$as_echo "$ac_try_echo"; } >&5
3647
 
  (eval "$ac_try") 2>&5
3648
 
  ac_status=$?
3649
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3650
 
  test $ac_status = 0; }; }; then
3651
 
    cross_compiling=no
3652
 
  else
3653
 
    if test "$cross_compiling" = maybe; then
3654
 
        cross_compiling=yes
3655
 
    else
3656
 
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3657
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3658
 
as_fn_error $? "cannot run C compiled programs.
3659
 
If you meant to cross compile, use \`--host'.
3660
 
See \`config.log' for more details" "$LINENO" 5; }
3661
 
    fi
3662
 
  fi
3663
 
fi
3664
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3665
 
$as_echo "$cross_compiling" >&6; }
3666
 
 
3667
 
rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3668
 
ac_clean_files=$ac_clean_files_save
3669
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3670
 
$as_echo_n "checking for suffix of object files... " >&6; }
3671
 
if ${ac_cv_objext+:} false; then :
3672
 
  $as_echo_n "(cached) " >&6
3673
 
else
3674
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3675
 
/* end confdefs.h.  */
3676
 
 
3677
 
int
3678
 
main ()
3679
 
{
3680
 
 
3681
 
  ;
3682
 
  return 0;
3683
 
}
3684
 
_ACEOF
3685
 
rm -f conftest.o conftest.obj
3686
 
if { { ac_try="$ac_compile"
3687
 
case "(($ac_try" in
3688
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3689
 
  *) ac_try_echo=$ac_try;;
3690
 
esac
3691
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3692
 
$as_echo "$ac_try_echo"; } >&5
3693
 
  (eval "$ac_compile") 2>&5
3694
 
  ac_status=$?
3695
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3696
 
  test $ac_status = 0; }; then :
3697
 
  for ac_file in conftest.o conftest.obj conftest.*; do
3698
 
  test -f "$ac_file" || continue;
3699
 
  case $ac_file in
3700
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3701
 
    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3702
 
       break;;
3703
 
  esac
3704
 
done
3705
 
else
3706
 
  $as_echo "$as_me: failed program was:" >&5
3707
 
sed 's/^/| /' conftest.$ac_ext >&5
3708
 
 
3709
 
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3710
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3711
 
as_fn_error $? "cannot compute suffix of object files: cannot compile
3712
 
See \`config.log' for more details" "$LINENO" 5; }
3713
 
fi
3714
 
rm -f conftest.$ac_cv_objext conftest.$ac_ext
3715
 
fi
3716
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3717
 
$as_echo "$ac_cv_objext" >&6; }
3718
 
OBJEXT=$ac_cv_objext
3719
 
ac_objext=$OBJEXT
3720
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3721
 
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3722
 
if ${ac_cv_c_compiler_gnu+:} false; then :
3723
 
  $as_echo_n "(cached) " >&6
3724
 
else
3725
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3726
 
/* end confdefs.h.  */
3727
 
 
3728
 
int
3729
 
main ()
3730
 
{
3731
 
#ifndef __GNUC__
3732
 
       choke me
3733
 
#endif
3734
 
 
3735
 
  ;
3736
 
  return 0;
3737
 
}
3738
 
_ACEOF
3739
 
if ac_fn_c_try_compile "$LINENO"; then :
3740
 
  ac_compiler_gnu=yes
3741
 
else
3742
 
  ac_compiler_gnu=no
3743
 
fi
3744
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3745
 
ac_cv_c_compiler_gnu=$ac_compiler_gnu
3746
 
 
3747
 
fi
3748
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3749
 
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
3750
 
if test $ac_compiler_gnu = yes; then
3751
 
  GCC=yes
3752
 
else
3753
 
  GCC=
3754
 
fi
3755
 
ac_test_CFLAGS=${CFLAGS+set}
3756
 
ac_save_CFLAGS=$CFLAGS
3757
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3758
 
$as_echo_n "checking whether $CC accepts -g... " >&6; }
3759
 
if ${ac_cv_prog_cc_g+:} false; then :
3760
 
  $as_echo_n "(cached) " >&6
3761
 
else
3762
 
  ac_save_c_werror_flag=$ac_c_werror_flag
3763
 
   ac_c_werror_flag=yes
3764
 
   ac_cv_prog_cc_g=no
3765
 
   CFLAGS="-g"
3766
 
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3767
 
/* end confdefs.h.  */
3768
 
 
3769
 
int
3770
 
main ()
3771
 
{
3772
 
 
3773
 
  ;
3774
 
  return 0;
3775
 
}
3776
 
_ACEOF
3777
 
if ac_fn_c_try_compile "$LINENO"; then :
3778
 
  ac_cv_prog_cc_g=yes
3779
 
else
3780
 
  CFLAGS=""
3781
 
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3782
 
/* end confdefs.h.  */
3783
 
 
3784
 
int
3785
 
main ()
3786
 
{
3787
 
 
3788
 
  ;
3789
 
  return 0;
3790
 
}
3791
 
_ACEOF
3792
 
if ac_fn_c_try_compile "$LINENO"; then :
3793
 
 
3794
 
else
3795
 
  ac_c_werror_flag=$ac_save_c_werror_flag
3796
 
         CFLAGS="-g"
3797
 
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3798
 
/* end confdefs.h.  */
3799
 
 
3800
 
int
3801
 
main ()
3802
 
{
3803
 
 
3804
 
  ;
3805
 
  return 0;
3806
 
}
3807
 
_ACEOF
3808
 
if ac_fn_c_try_compile "$LINENO"; then :
3809
 
  ac_cv_prog_cc_g=yes
3810
 
fi
3811
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3812
 
fi
3813
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3814
 
fi
3815
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3816
 
   ac_c_werror_flag=$ac_save_c_werror_flag
3817
 
fi
3818
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3819
 
$as_echo "$ac_cv_prog_cc_g" >&6; }
3820
 
if test "$ac_test_CFLAGS" = set; then
3821
 
  CFLAGS=$ac_save_CFLAGS
3822
 
elif test $ac_cv_prog_cc_g = yes; then
3823
 
  if test "$GCC" = yes; then
3824
 
    CFLAGS="-g -O2"
3825
 
  else
3826
 
    CFLAGS="-g"
3827
 
  fi
3828
 
else
3829
 
  if test "$GCC" = yes; then
3830
 
    CFLAGS="-O2"
3831
 
  else
3832
 
    CFLAGS=
3833
 
  fi
3834
 
fi
3835
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3836
 
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3837
 
if ${ac_cv_prog_cc_c89+:} false; then :
3838
 
  $as_echo_n "(cached) " >&6
3839
 
else
3840
 
  ac_cv_prog_cc_c89=no
3841
 
ac_save_CC=$CC
3842
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3843
 
/* end confdefs.h.  */
3844
 
#include <stdarg.h>
3845
 
#include <stdio.h>
3846
 
struct stat;
3847
 
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3848
 
struct buf { int x; };
3849
 
FILE * (*rcsopen) (struct buf *, struct stat *, int);
3850
 
static char *e (p, i)
3851
 
     char **p;
3852
 
     int i;
3853
 
{
3854
 
  return p[i];
3855
 
}
3856
 
static char *f (char * (*g) (char **, int), char **p, ...)
3857
 
{
3858
 
  char *s;
3859
 
  va_list v;
3860
 
  va_start (v,p);
3861
 
  s = g (p, va_arg (v,int));
3862
 
  va_end (v);
3863
 
  return s;
3864
 
}
3865
 
 
3866
 
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
3867
 
   function prototypes and stuff, but not '\xHH' hex character constants.
3868
 
   These don't provoke an error unfortunately, instead are silently treated
3869
 
   as 'x'.  The following induces an error, until -std is added to get
3870
 
   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
3871
 
   array size at least.  It's necessary to write '\x00'==0 to get something
3872
 
   that's true only with -std.  */
3873
 
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3874
 
 
3875
 
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3876
 
   inside strings and character constants.  */
3877
 
#define FOO(x) 'x'
3878
 
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3879
 
 
3880
 
int test (int i, double x);
3881
 
struct s1 {int (*f) (int a);};
3882
 
struct s2 {int (*f) (double a);};
3883
 
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3884
 
int argc;
3885
 
char **argv;
3886
 
int
3887
 
main ()
3888
 
{
3889
 
return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
3890
 
  ;
3891
 
  return 0;
3892
 
}
3893
 
_ACEOF
3894
 
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3895
 
        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3896
 
do
3897
 
  CC="$ac_save_CC $ac_arg"
3898
 
  if ac_fn_c_try_compile "$LINENO"; then :
3899
 
  ac_cv_prog_cc_c89=$ac_arg
3900
 
fi
3901
 
rm -f core conftest.err conftest.$ac_objext
3902
 
  test "x$ac_cv_prog_cc_c89" != "xno" && break
3903
 
done
3904
 
rm -f conftest.$ac_ext
3905
 
CC=$ac_save_CC
3906
 
 
3907
 
fi
3908
 
# AC_CACHE_VAL
3909
 
case "x$ac_cv_prog_cc_c89" in
3910
 
  x)
3911
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3912
 
$as_echo "none needed" >&6; } ;;
3913
 
  xno)
3914
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3915
 
$as_echo "unsupported" >&6; } ;;
3916
 
  *)
3917
 
    CC="$CC $ac_cv_prog_cc_c89"
3918
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3919
 
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3920
 
esac
3921
 
if test "x$ac_cv_prog_cc_c89" != xno; then :
3922
 
 
3923
 
fi
3924
 
 
3925
 
ac_ext=cpp
3926
 
ac_cpp='$CXXCPP $CPPFLAGS'
3927
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3928
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3929
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3930
 
DEPDIR="${am__leading_dot}deps"
3931
 
 
3932
 
ac_config_commands="$ac_config_commands depfiles"
3933
 
 
3934
 
 
3935
 
am_make=${MAKE-make}
3936
 
cat > confinc << 'END'
3937
 
am__doit:
3938
 
        @echo this is the am__doit target
3939
 
.PHONY: am__doit
3940
 
END
3941
 
# If we don't find an include directive, just comment out the code.
3942
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3943
 
$as_echo_n "checking for style of include used by $am_make... " >&6; }
3944
 
am__include="#"
3945
 
am__quote=
3946
 
_am_result=none
3947
 
# First try GNU make style include.
3948
 
echo "include confinc" > confmf
3949
 
# Ignore all kinds of additional output from 'make'.
3950
 
case `$am_make -s -f confmf 2> /dev/null` in #(
3951
 
*the\ am__doit\ target*)
3952
 
  am__include=include
3953
 
  am__quote=
3954
 
  _am_result=GNU
3955
 
  ;;
3956
 
esac
3957
 
# Now try BSD make style include.
3958
 
if test "$am__include" = "#"; then
3959
 
   echo '.include "confinc"' > confmf
3960
 
   case `$am_make -s -f confmf 2> /dev/null` in #(
3961
 
   *the\ am__doit\ target*)
3962
 
     am__include=.include
3963
 
     am__quote="\""
3964
 
     _am_result=BSD
3965
 
     ;;
3966
 
   esac
3967
 
fi
3968
 
 
3969
 
 
3970
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3971
 
$as_echo "$_am_result" >&6; }
3972
 
rm -f confinc confmf
3973
 
 
3974
 
# Check whether --enable-dependency-tracking was given.
3975
 
if test "${enable_dependency_tracking+set}" = set; then :
3976
 
  enableval=$enable_dependency_tracking;
3977
 
fi
3978
 
 
3979
 
if test "x$enable_dependency_tracking" != xno; then
3980
 
  am_depcomp="$ac_aux_dir/depcomp"
3981
 
  AMDEPBACKSLASH='\'
3982
 
  am__nodep='_no'
3983
 
fi
3984
 
 if test "x$enable_dependency_tracking" != xno; then
3985
 
  AMDEP_TRUE=
3986
 
  AMDEP_FALSE='#'
3987
 
else
3988
 
  AMDEP_TRUE='#'
3989
 
  AMDEP_FALSE=
3990
 
fi
3991
 
 
3992
 
 
3993
 
 
3994
 
depcc="$CC"   am_compiler_list=
3995
 
 
3996
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3997
 
$as_echo_n "checking dependency style of $depcc... " >&6; }
3998
 
if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3999
 
  $as_echo_n "(cached) " >&6
4000
 
else
4001
 
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4002
 
  # We make a subdir and do the tests there.  Otherwise we can end up
4003
 
  # making bogus files that we don't know about and never remove.  For
4004
 
  # instance it was reported that on HP-UX the gcc test will end up
4005
 
  # making a dummy file named 'D' -- because '-MD' means "put the output
4006
 
  # in D".
4007
 
  rm -rf conftest.dir
4008
 
  mkdir conftest.dir
4009
 
  # Copy depcomp to subdir because otherwise we won't find it if we're
4010
 
  # using a relative directory.
4011
 
  cp "$am_depcomp" conftest.dir
4012
 
  cd conftest.dir
4013
 
  # We will build objects and dependencies in a subdirectory because
4014
 
  # it helps to detect inapplicable dependency modes.  For instance
4015
 
  # both Tru64's cc and ICC support -MD to output dependencies as a
4016
 
  # side effect of compilation, but ICC will put the dependencies in
4017
 
  # the current directory while Tru64 will put them in the object
4018
 
  # directory.
4019
 
  mkdir sub
4020
 
 
4021
 
  am_cv_CC_dependencies_compiler_type=none
4022
 
  if test "$am_compiler_list" = ""; then
4023
 
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4024
 
  fi
4025
 
  am__universal=false
4026
 
  case " $depcc " in #(
4027
 
     *\ -arch\ *\ -arch\ *) am__universal=true ;;
4028
 
     esac
4029
 
 
4030
 
  for depmode in $am_compiler_list; do
4031
 
    # Setup a source with many dependencies, because some compilers
4032
 
    # like to wrap large dependency lists on column 80 (with \), and
4033
 
    # we should not choose a depcomp mode which is confused by this.
4034
 
    #
4035
 
    # We need to recreate these files for each test, as the compiler may
4036
 
    # overwrite some of them when testing with obscure command lines.
4037
 
    # This happens at least with the AIX C compiler.
4038
 
    : > sub/conftest.c
4039
 
    for i in 1 2 3 4 5 6; do
4040
 
      echo '#include "conftst'$i'.h"' >> sub/conftest.c
4041
 
      # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4042
 
      # Solaris 10 /bin/sh.
4043
 
      echo '/* dummy */' > sub/conftst$i.h
4044
 
    done
4045
 
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4046
 
 
4047
 
    # We check with '-c' and '-o' for the sake of the "dashmstdout"
4048
 
    # mode.  It turns out that the SunPro C++ compiler does not properly
4049
 
    # handle '-M -o', and we need to detect this.  Also, some Intel
4050
 
    # versions had trouble with output in subdirs.
4051
 
    am__obj=sub/conftest.${OBJEXT-o}
4052
 
    am__minus_obj="-o $am__obj"
4053
 
    case $depmode in
4054
 
    gcc)
4055
 
      # This depmode causes a compiler race in universal mode.
4056
 
      test "$am__universal" = false || continue
4057
 
      ;;
4058
 
    nosideeffect)
4059
 
      # After this tag, mechanisms are not by side-effect, so they'll
4060
 
      # only be used when explicitly requested.
4061
 
      if test "x$enable_dependency_tracking" = xyes; then
4062
 
        continue
4063
 
      else
4064
 
        break
4065
 
      fi
4066
 
      ;;
4067
 
    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4068
 
      # This compiler won't grok '-c -o', but also, the minuso test has
4069
 
      # not run yet.  These depmodes are late enough in the game, and
4070
 
      # so weak that their functioning should not be impacted.
4071
 
      am__obj=conftest.${OBJEXT-o}
4072
 
      am__minus_obj=
4073
 
      ;;
4074
 
    none) break ;;
4075
 
    esac
4076
 
    if depmode=$depmode \
4077
 
       source=sub/conftest.c object=$am__obj \
4078
 
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4079
 
       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4080
 
         >/dev/null 2>conftest.err &&
4081
 
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4082
 
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4083
 
       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4084
 
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4085
 
      # icc doesn't choke on unknown options, it will just issue warnings
4086
 
      # or remarks (even with -Werror).  So we grep stderr for any message
4087
 
      # that says an option was ignored or not supported.
4088
 
      # When given -MP, icc 7.0 and 7.1 complain thusly:
4089
 
      #   icc: Command line warning: ignoring option '-M'; no argument required
4090
 
      # The diagnosis changed in icc 8.0:
4091
 
      #   icc: Command line remark: option '-MP' not supported
4092
 
      if (grep 'ignoring option' conftest.err ||
4093
 
          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4094
 
        am_cv_CC_dependencies_compiler_type=$depmode
4095
 
        break
4096
 
      fi
4097
 
    fi
4098
 
  done
4099
 
 
4100
 
  cd ..
4101
 
  rm -rf conftest.dir
4102
 
else
4103
 
  am_cv_CC_dependencies_compiler_type=none
4104
 
fi
4105
 
 
4106
 
fi
4107
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4108
 
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4109
 
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4110
 
 
4111
 
 if
4112
 
  test "x$enable_dependency_tracking" != xno \
4113
 
  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4114
 
  am__fastdepCC_TRUE=
4115
 
  am__fastdepCC_FALSE='#'
4116
 
else
4117
 
  am__fastdepCC_TRUE='#'
4118
 
  am__fastdepCC_FALSE=
4119
 
fi
4120
 
 
4121
 
 
4122
 
ac_ext=c
4123
 
ac_cpp='$CPP $CPPFLAGS'
4124
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4125
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4126
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4127
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4128
 
$as_echo_n "checking how to run the C preprocessor... " >&6; }
4129
 
# On Suns, sometimes $CPP names a directory.
4130
 
if test -n "$CPP" && test -d "$CPP"; then
4131
 
  CPP=
4132
 
fi
4133
 
if test -z "$CPP"; then
4134
 
  if ${ac_cv_prog_CPP+:} false; then :
4135
 
  $as_echo_n "(cached) " >&6
4136
 
else
4137
 
      # Double quotes because CPP needs to be expanded
4138
 
    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4139
 
    do
4140
 
      ac_preproc_ok=false
4141
 
for ac_c_preproc_warn_flag in '' yes
4142
 
do
4143
 
  # Use a header file that comes with gcc, so configuring glibc
4144
 
  # with a fresh cross-compiler works.
4145
 
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4146
 
  # <limits.h> exists even on freestanding compilers.
4147
 
  # On the NeXT, cc -E runs the code through the compiler's parser,
4148
 
  # not just through cpp. "Syntax error" is here to catch this case.
4149
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4150
 
/* end confdefs.h.  */
4151
 
#ifdef __STDC__
4152
 
# include <limits.h>
4153
 
#else
4154
 
# include <assert.h>
4155
 
#endif
4156
 
                     Syntax error
4157
 
_ACEOF
4158
 
if ac_fn_c_try_cpp "$LINENO"; then :
4159
 
 
4160
 
else
4161
 
  # Broken: fails on valid input.
4162
 
continue
4163
 
fi
4164
 
rm -f conftest.err conftest.i conftest.$ac_ext
4165
 
 
4166
 
  # OK, works on sane cases.  Now check whether nonexistent headers
4167
 
  # can be detected and how.
4168
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4169
 
/* end confdefs.h.  */
4170
 
#include <ac_nonexistent.h>
4171
 
_ACEOF
4172
 
if ac_fn_c_try_cpp "$LINENO"; then :
4173
 
  # Broken: success on invalid input.
4174
 
continue
4175
 
else
4176
 
  # Passes both tests.
4177
 
ac_preproc_ok=:
4178
 
break
4179
 
fi
4180
 
rm -f conftest.err conftest.i conftest.$ac_ext
4181
 
 
4182
 
done
4183
 
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4184
 
rm -f conftest.i conftest.err conftest.$ac_ext
4185
 
if $ac_preproc_ok; then :
4186
 
  break
4187
 
fi
4188
 
 
4189
 
    done
4190
 
    ac_cv_prog_CPP=$CPP
4191
 
 
4192
 
fi
4193
 
  CPP=$ac_cv_prog_CPP
4194
 
else
4195
 
  ac_cv_prog_CPP=$CPP
4196
 
fi
4197
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4198
 
$as_echo "$CPP" >&6; }
4199
 
ac_preproc_ok=false
4200
 
for ac_c_preproc_warn_flag in '' yes
4201
 
do
4202
 
  # Use a header file that comes with gcc, so configuring glibc
4203
 
  # with a fresh cross-compiler works.
4204
 
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4205
 
  # <limits.h> exists even on freestanding compilers.
4206
 
  # On the NeXT, cc -E runs the code through the compiler's parser,
4207
 
  # not just through cpp. "Syntax error" is here to catch this case.
4208
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4209
 
/* end confdefs.h.  */
4210
 
#ifdef __STDC__
4211
 
# include <limits.h>
4212
 
#else
4213
 
# include <assert.h>
4214
 
#endif
4215
 
                     Syntax error
4216
 
_ACEOF
4217
 
if ac_fn_c_try_cpp "$LINENO"; then :
4218
 
 
4219
 
else
4220
 
  # Broken: fails on valid input.
4221
 
continue
4222
 
fi
4223
 
rm -f conftest.err conftest.i conftest.$ac_ext
4224
 
 
4225
 
  # OK, works on sane cases.  Now check whether nonexistent headers
4226
 
  # can be detected and how.
4227
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4228
 
/* end confdefs.h.  */
4229
 
#include <ac_nonexistent.h>
4230
 
_ACEOF
4231
 
if ac_fn_c_try_cpp "$LINENO"; then :
4232
 
  # Broken: success on invalid input.
4233
 
continue
4234
 
else
4235
 
  # Passes both tests.
4236
 
ac_preproc_ok=:
4237
 
break
4238
 
fi
4239
 
rm -f conftest.err conftest.i conftest.$ac_ext
4240
 
 
4241
 
done
4242
 
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4243
 
rm -f conftest.i conftest.err conftest.$ac_ext
4244
 
if $ac_preproc_ok; then :
4245
 
 
4246
 
else
4247
 
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4248
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4249
 
as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
4250
 
See \`config.log' for more details" "$LINENO" 5; }
4251
 
fi
4252
 
 
4253
 
ac_ext=cpp
4254
 
ac_cpp='$CXXCPP $CPPFLAGS'
4255
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4256
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4257
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4258
 
 
4259
 
ac_ext=cpp
4260
 
ac_cpp='$CXXCPP $CPPFLAGS'
4261
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4262
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4263
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4264
 
if test -z "$CXX"; then
4265
 
  if test -n "$CCC"; then
4266
 
    CXX=$CCC
4267
 
  else
4268
 
    if test -n "$ac_tool_prefix"; then
4269
 
  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4270
 
  do
4271
 
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4272
 
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4273
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4274
 
$as_echo_n "checking for $ac_word... " >&6; }
4275
 
if ${ac_cv_prog_CXX+:} false; then :
4276
 
  $as_echo_n "(cached) " >&6
4277
 
else
4278
 
  if test -n "$CXX"; then
4279
 
  ac_cv_prog_CXX="$CXX" # Let the user override the test.
4280
 
else
4281
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4282
 
for as_dir in $PATH
4283
 
do
4284
 
  IFS=$as_save_IFS
4285
 
  test -z "$as_dir" && as_dir=.
4286
 
    for ac_exec_ext in '' $ac_executable_extensions; do
4287
 
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4288
 
    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4289
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4290
 
    break 2
4291
 
  fi
4292
 
done
4293
 
  done
4294
 
IFS=$as_save_IFS
4295
 
 
4296
 
fi
4297
 
fi
4298
 
CXX=$ac_cv_prog_CXX
4299
 
if test -n "$CXX"; then
4300
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4301
 
$as_echo "$CXX" >&6; }
4302
 
else
4303
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4304
 
$as_echo "no" >&6; }
4305
 
fi
4306
 
 
4307
 
 
4308
 
    test -n "$CXX" && break
4309
 
  done
4310
 
fi
4311
 
if test -z "$CXX"; then
4312
 
  ac_ct_CXX=$CXX
4313
 
  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4314
 
do
4315
 
  # Extract the first word of "$ac_prog", so it can be a program name with args.
4316
 
set dummy $ac_prog; ac_word=$2
4317
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4318
 
$as_echo_n "checking for $ac_word... " >&6; }
4319
 
if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4320
 
  $as_echo_n "(cached) " >&6
4321
 
else
4322
 
  if test -n "$ac_ct_CXX"; then
4323
 
  ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4324
 
else
4325
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4326
 
for as_dir in $PATH
4327
 
do
4328
 
  IFS=$as_save_IFS
4329
 
  test -z "$as_dir" && as_dir=.
4330
 
    for ac_exec_ext in '' $ac_executable_extensions; do
4331
 
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4332
 
    ac_cv_prog_ac_ct_CXX="$ac_prog"
4333
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4334
 
    break 2
4335
 
  fi
4336
 
done
4337
 
  done
4338
 
IFS=$as_save_IFS
4339
 
 
4340
 
fi
4341
 
fi
4342
 
ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4343
 
if test -n "$ac_ct_CXX"; then
4344
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4345
 
$as_echo "$ac_ct_CXX" >&6; }
4346
 
else
4347
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4348
 
$as_echo "no" >&6; }
4349
 
fi
4350
 
 
4351
 
 
4352
 
  test -n "$ac_ct_CXX" && break
4353
 
done
4354
 
 
4355
 
  if test "x$ac_ct_CXX" = x; then
4356
 
    CXX="g++"
4357
 
  else
4358
 
    case $cross_compiling:$ac_tool_warned in
4359
 
yes:)
4360
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4361
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4362
 
ac_tool_warned=yes ;;
4363
 
esac
4364
 
    CXX=$ac_ct_CXX
4365
 
  fi
4366
 
fi
4367
 
 
4368
 
  fi
4369
 
fi
4370
 
# Provide some information about the compiler.
4371
 
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4372
 
set X $ac_compile
4373
 
ac_compiler=$2
4374
 
for ac_option in --version -v -V -qversion; do
4375
 
  { { ac_try="$ac_compiler $ac_option >&5"
4376
 
case "(($ac_try" in
4377
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4378
 
  *) ac_try_echo=$ac_try;;
4379
 
esac
4380
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4381
 
$as_echo "$ac_try_echo"; } >&5
4382
 
  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4383
 
  ac_status=$?
4384
 
  if test -s conftest.err; then
4385
 
    sed '10a\
4386
 
... rest of stderr output deleted ...
4387
 
         10q' conftest.err >conftest.er1
4388
 
    cat conftest.er1 >&5
4389
 
  fi
4390
 
  rm -f conftest.er1 conftest.err
4391
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4392
 
  test $ac_status = 0; }
4393
 
done
4394
 
 
4395
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4396
 
$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4397
 
if ${ac_cv_cxx_compiler_gnu+:} false; then :
4398
 
  $as_echo_n "(cached) " >&6
4399
 
else
4400
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4401
 
/* end confdefs.h.  */
4402
 
 
4403
 
int
4404
 
main ()
4405
 
{
4406
 
#ifndef __GNUC__
4407
 
       choke me
4408
 
#endif
4409
 
 
4410
 
  ;
4411
 
  return 0;
4412
 
}
4413
 
_ACEOF
4414
 
if ac_fn_cxx_try_compile "$LINENO"; then :
4415
 
  ac_compiler_gnu=yes
4416
 
else
4417
 
  ac_compiler_gnu=no
4418
 
fi
4419
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4420
 
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4421
 
 
4422
 
fi
4423
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4424
 
$as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4425
 
if test $ac_compiler_gnu = yes; then
4426
 
  GXX=yes
4427
 
else
4428
 
  GXX=
4429
 
fi
4430
 
ac_test_CXXFLAGS=${CXXFLAGS+set}
4431
 
ac_save_CXXFLAGS=$CXXFLAGS
4432
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4433
 
$as_echo_n "checking whether $CXX accepts -g... " >&6; }
4434
 
if ${ac_cv_prog_cxx_g+:} false; then :
4435
 
  $as_echo_n "(cached) " >&6
4436
 
else
4437
 
  ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4438
 
   ac_cxx_werror_flag=yes
4439
 
   ac_cv_prog_cxx_g=no
4440
 
   CXXFLAGS="-g"
4441
 
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4442
 
/* end confdefs.h.  */
4443
 
 
4444
 
int
4445
 
main ()
4446
 
{
4447
 
 
4448
 
  ;
4449
 
  return 0;
4450
 
}
4451
 
_ACEOF
4452
 
if ac_fn_cxx_try_compile "$LINENO"; then :
4453
 
  ac_cv_prog_cxx_g=yes
4454
 
else
4455
 
  CXXFLAGS=""
4456
 
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4457
 
/* end confdefs.h.  */
4458
 
 
4459
 
int
4460
 
main ()
4461
 
{
4462
 
 
4463
 
  ;
4464
 
  return 0;
4465
 
}
4466
 
_ACEOF
4467
 
if ac_fn_cxx_try_compile "$LINENO"; then :
4468
 
 
4469
 
else
4470
 
  ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4471
 
         CXXFLAGS="-g"
4472
 
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4473
 
/* end confdefs.h.  */
4474
 
 
4475
 
int
4476
 
main ()
4477
 
{
4478
 
 
4479
 
  ;
4480
 
  return 0;
4481
 
}
4482
 
_ACEOF
4483
 
if ac_fn_cxx_try_compile "$LINENO"; then :
4484
 
  ac_cv_prog_cxx_g=yes
4485
 
fi
4486
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4487
 
fi
4488
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4489
 
fi
4490
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4491
 
   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4492
 
fi
4493
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4494
 
$as_echo "$ac_cv_prog_cxx_g" >&6; }
4495
 
if test "$ac_test_CXXFLAGS" = set; then
4496
 
  CXXFLAGS=$ac_save_CXXFLAGS
4497
 
elif test $ac_cv_prog_cxx_g = yes; then
4498
 
  if test "$GXX" = yes; then
4499
 
    CXXFLAGS="-g -O2"
4500
 
  else
4501
 
    CXXFLAGS="-g"
4502
 
  fi
4503
 
else
4504
 
  if test "$GXX" = yes; then
4505
 
    CXXFLAGS="-O2"
4506
 
  else
4507
 
    CXXFLAGS=
4508
 
  fi
4509
 
fi
4510
 
ac_ext=cpp
4511
 
ac_cpp='$CXXCPP $CPPFLAGS'
4512
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4513
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4514
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4515
 
 
4516
 
depcc="$CXX"  am_compiler_list=
4517
 
 
4518
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4519
 
$as_echo_n "checking dependency style of $depcc... " >&6; }
4520
 
if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
4521
 
  $as_echo_n "(cached) " >&6
4522
 
else
4523
 
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4524
 
  # We make a subdir and do the tests there.  Otherwise we can end up
4525
 
  # making bogus files that we don't know about and never remove.  For
4526
 
  # instance it was reported that on HP-UX the gcc test will end up
4527
 
  # making a dummy file named 'D' -- because '-MD' means "put the output
4528
 
  # in D".
4529
 
  rm -rf conftest.dir
4530
 
  mkdir conftest.dir
4531
 
  # Copy depcomp to subdir because otherwise we won't find it if we're
4532
 
  # using a relative directory.
4533
 
  cp "$am_depcomp" conftest.dir
4534
 
  cd conftest.dir
4535
 
  # We will build objects and dependencies in a subdirectory because
4536
 
  # it helps to detect inapplicable dependency modes.  For instance
4537
 
  # both Tru64's cc and ICC support -MD to output dependencies as a
4538
 
  # side effect of compilation, but ICC will put the dependencies in
4539
 
  # the current directory while Tru64 will put them in the object
4540
 
  # directory.
4541
 
  mkdir sub
4542
 
 
4543
 
  am_cv_CXX_dependencies_compiler_type=none
4544
 
  if test "$am_compiler_list" = ""; then
4545
 
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4546
 
  fi
4547
 
  am__universal=false
4548
 
  case " $depcc " in #(
4549
 
     *\ -arch\ *\ -arch\ *) am__universal=true ;;
4550
 
     esac
4551
 
 
4552
 
  for depmode in $am_compiler_list; do
4553
 
    # Setup a source with many dependencies, because some compilers
4554
 
    # like to wrap large dependency lists on column 80 (with \), and
4555
 
    # we should not choose a depcomp mode which is confused by this.
4556
 
    #
4557
 
    # We need to recreate these files for each test, as the compiler may
4558
 
    # overwrite some of them when testing with obscure command lines.
4559
 
    # This happens at least with the AIX C compiler.
4560
 
    : > sub/conftest.c
4561
 
    for i in 1 2 3 4 5 6; do
4562
 
      echo '#include "conftst'$i'.h"' >> sub/conftest.c
4563
 
      # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4564
 
      # Solaris 10 /bin/sh.
4565
 
      echo '/* dummy */' > sub/conftst$i.h
4566
 
    done
4567
 
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4568
 
 
4569
 
    # We check with '-c' and '-o' for the sake of the "dashmstdout"
4570
 
    # mode.  It turns out that the SunPro C++ compiler does not properly
4571
 
    # handle '-M -o', and we need to detect this.  Also, some Intel
4572
 
    # versions had trouble with output in subdirs.
4573
 
    am__obj=sub/conftest.${OBJEXT-o}
4574
 
    am__minus_obj="-o $am__obj"
4575
 
    case $depmode in
4576
 
    gcc)
4577
 
      # This depmode causes a compiler race in universal mode.
4578
 
      test "$am__universal" = false || continue
4579
 
      ;;
4580
 
    nosideeffect)
4581
 
      # After this tag, mechanisms are not by side-effect, so they'll
4582
 
      # only be used when explicitly requested.
4583
 
      if test "x$enable_dependency_tracking" = xyes; then
4584
 
        continue
4585
 
      else
4586
 
        break
4587
 
      fi
4588
 
      ;;
4589
 
    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4590
 
      # This compiler won't grok '-c -o', but also, the minuso test has
4591
 
      # not run yet.  These depmodes are late enough in the game, and
4592
 
      # so weak that their functioning should not be impacted.
4593
 
      am__obj=conftest.${OBJEXT-o}
4594
 
      am__minus_obj=
4595
 
      ;;
4596
 
    none) break ;;
4597
 
    esac
4598
 
    if depmode=$depmode \
4599
 
       source=sub/conftest.c object=$am__obj \
4600
 
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4601
 
       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4602
 
         >/dev/null 2>conftest.err &&
4603
 
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4604
 
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4605
 
       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4606
 
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4607
 
      # icc doesn't choke on unknown options, it will just issue warnings
4608
 
      # or remarks (even with -Werror).  So we grep stderr for any message
4609
 
      # that says an option was ignored or not supported.
4610
 
      # When given -MP, icc 7.0 and 7.1 complain thusly:
4611
 
      #   icc: Command line warning: ignoring option '-M'; no argument required
4612
 
      # The diagnosis changed in icc 8.0:
4613
 
      #   icc: Command line remark: option '-MP' not supported
4614
 
      if (grep 'ignoring option' conftest.err ||
4615
 
          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4616
 
        am_cv_CXX_dependencies_compiler_type=$depmode
4617
 
        break
4618
 
      fi
4619
 
    fi
4620
 
  done
4621
 
 
4622
 
  cd ..
4623
 
  rm -rf conftest.dir
4624
 
else
4625
 
  am_cv_CXX_dependencies_compiler_type=none
4626
 
fi
4627
 
 
4628
 
fi
4629
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
4630
 
$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
4631
 
CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
4632
 
 
4633
 
 if
4634
 
  test "x$enable_dependency_tracking" != xno \
4635
 
  && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
4636
 
  am__fastdepCXX_TRUE=
4637
 
  am__fastdepCXX_FALSE='#'
4638
 
else
4639
 
  am__fastdepCXX_TRUE='#'
4640
 
  am__fastdepCXX_FALSE=
4641
 
fi
4642
 
 
4643
 
 
4644
 
 
4645
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4646
 
$as_echo_n "checking whether ln -s works... " >&6; }
4647
 
LN_S=$as_ln_s
4648
 
if test "$LN_S" = "ln -s"; then
4649
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4650
 
$as_echo "yes" >&6; }
4651
 
else
4652
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4653
 
$as_echo "no, using $LN_S" >&6; }
4654
 
fi
4655
 
 
4656
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4657
 
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4658
 
set x ${MAKE-make}
4659
 
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4660
 
if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
4661
 
  $as_echo_n "(cached) " >&6
4662
 
else
4663
 
  cat >conftest.make <<\_ACEOF
4664
 
SHELL = /bin/sh
4665
 
all:
4666
 
        @echo '@@@%%%=$(MAKE)=@@@%%%'
4667
 
_ACEOF
4668
 
# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4669
 
case `${MAKE-make} -f conftest.make 2>/dev/null` in
4670
 
  *@@@%%%=?*=@@@%%%*)
4671
 
    eval ac_cv_prog_make_${ac_make}_set=yes;;
4672
 
  *)
4673
 
    eval ac_cv_prog_make_${ac_make}_set=no;;
4674
 
esac
4675
 
rm -f conftest.make
4676
 
fi
4677
 
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4678
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4679
 
$as_echo "yes" >&6; }
4680
 
  SET_MAKE=
4681
 
else
4682
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4683
 
$as_echo "no" >&6; }
4684
 
  SET_MAKE="MAKE=${MAKE-make}"
4685
 
fi
4686
 
 
4687
 
case `pwd` in
4688
 
  *\ * | *\     *)
4689
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4690
 
$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4691
 
esac
4692
 
 
4693
 
 
4694
 
 
4695
 
macro_version='2.4.2'
4696
 
macro_revision='1.3337'
4697
 
 
4698
 
 
4699
 
 
4700
 
 
4701
 
 
4702
 
 
4703
 
 
4704
 
 
4705
 
 
4706
 
 
4707
 
 
4708
 
 
4709
 
 
4710
 
ltmain="$ac_aux_dir/ltmain.sh"
4711
 
 
4712
 
# Make sure we can run config.sub.
4713
 
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4714
 
  as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4715
 
 
4716
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4717
 
$as_echo_n "checking build system type... " >&6; }
4718
 
if ${ac_cv_build+:} false; then :
4719
 
  $as_echo_n "(cached) " >&6
4720
 
else
4721
 
  ac_build_alias=$build_alias
4722
 
test "x$ac_build_alias" = x &&
4723
 
  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4724
 
test "x$ac_build_alias" = x &&
4725
 
  as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4726
 
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4727
 
  as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4728
 
 
4729
 
fi
4730
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4731
 
$as_echo "$ac_cv_build" >&6; }
4732
 
case $ac_cv_build in
4733
 
*-*-*) ;;
4734
 
*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4735
 
esac
4736
 
build=$ac_cv_build
4737
 
ac_save_IFS=$IFS; IFS='-'
4738
 
set x $ac_cv_build
4739
 
shift
4740
 
build_cpu=$1
4741
 
build_vendor=$2
4742
 
shift; shift
4743
 
# Remember, the first character of IFS is used to create $*,
4744
 
# except with old shells:
4745
 
build_os=$*
4746
 
IFS=$ac_save_IFS
4747
 
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4748
 
 
4749
 
 
4750
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4751
 
$as_echo_n "checking host system type... " >&6; }
4752
 
if ${ac_cv_host+:} false; then :
4753
 
  $as_echo_n "(cached) " >&6
4754
 
else
4755
 
  if test "x$host_alias" = x; then
4756
 
  ac_cv_host=$ac_cv_build
4757
 
else
4758
 
  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4759
 
    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4760
 
fi
4761
 
 
4762
 
fi
4763
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4764
 
$as_echo "$ac_cv_host" >&6; }
4765
 
case $ac_cv_host in
4766
 
*-*-*) ;;
4767
 
*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4768
 
esac
4769
 
host=$ac_cv_host
4770
 
ac_save_IFS=$IFS; IFS='-'
4771
 
set x $ac_cv_host
4772
 
shift
4773
 
host_cpu=$1
4774
 
host_vendor=$2
4775
 
shift; shift
4776
 
# Remember, the first character of IFS is used to create $*,
4777
 
# except with old shells:
4778
 
host_os=$*
4779
 
IFS=$ac_save_IFS
4780
 
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4781
 
 
4782
 
 
4783
 
# Backslashify metacharacters that are still active within
4784
 
# double-quoted strings.
4785
 
sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
4786
 
 
4787
 
# Same as above, but do not quote variable references.
4788
 
double_quote_subst='s/\(["`\\]\)/\\\1/g'
4789
 
 
4790
 
# Sed substitution to delay expansion of an escaped shell variable in a
4791
 
# double_quote_subst'ed string.
4792
 
delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
4793
 
 
4794
 
# Sed substitution to delay expansion of an escaped single quote.
4795
 
delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
4796
 
 
4797
 
# Sed substitution to avoid accidental globbing in evaled expressions
4798
 
no_glob_subst='s/\*/\\\*/g'
4799
 
 
4800
 
ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4801
 
ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4802
 
ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4803
 
 
4804
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4805
 
$as_echo_n "checking how to print strings... " >&6; }
4806
 
# Test print first, because it will be a builtin if present.
4807
 
if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
4808
 
   test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
4809
 
  ECHO='print -r --'
4810
 
elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
4811
 
  ECHO='printf %s\n'
4812
 
else
4813
 
  # Use this function as a fallback that always works.
4814
 
  func_fallback_echo ()
4815
 
  {
4816
 
    eval 'cat <<_LTECHO_EOF
4817
 
$1
4818
 
_LTECHO_EOF'
4819
 
  }
4820
 
  ECHO='func_fallback_echo'
4821
 
fi
4822
 
 
4823
 
# func_echo_all arg...
4824
 
# Invoke $ECHO with all args, space-separated.
4825
 
func_echo_all ()
4826
 
{
4827
 
    $ECHO ""
4828
 
}
4829
 
 
4830
 
case "$ECHO" in
4831
 
  printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
4832
 
$as_echo "printf" >&6; } ;;
4833
 
  print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
4834
 
$as_echo "print -r" >&6; } ;;
4835
 
  *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
4836
 
$as_echo "cat" >&6; } ;;
4837
 
esac
4838
 
 
4839
 
 
4840
 
 
4841
 
 
4842
 
 
4843
 
 
4844
 
 
4845
 
 
4846
 
 
4847
 
 
4848
 
 
4849
 
 
4850
 
 
4851
 
 
4852
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4853
 
$as_echo_n "checking for a sed that does not truncate output... " >&6; }
4854
 
if ${ac_cv_path_SED+:} false; then :
4855
 
  $as_echo_n "(cached) " >&6
4856
 
else
4857
 
            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4858
 
     for ac_i in 1 2 3 4 5 6 7; do
4859
 
       ac_script="$ac_script$as_nl$ac_script"
4860
 
     done
4861
 
     echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4862
 
     { ac_script=; unset ac_script;}
4863
 
     if test -z "$SED"; then
4864
 
  ac_path_SED_found=false
4865
 
  # Loop through the user's path and test for each of PROGNAME-LIST
4866
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4867
 
for as_dir in $PATH
4868
 
do
4869
 
  IFS=$as_save_IFS
4870
 
  test -z "$as_dir" && as_dir=.
4871
 
    for ac_prog in sed gsed; do
4872
 
    for ac_exec_ext in '' $ac_executable_extensions; do
4873
 
      ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4874
 
      as_fn_executable_p "$ac_path_SED" || continue
4875
 
# Check for GNU ac_path_SED and select it if it is found.
4876
 
  # Check for GNU $ac_path_SED
4877
 
case `"$ac_path_SED" --version 2>&1` in
4878
 
*GNU*)
4879
 
  ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4880
 
*)
4881
 
  ac_count=0
4882
 
  $as_echo_n 0123456789 >"conftest.in"
4883
 
  while :
4884
 
  do
4885
 
    cat "conftest.in" "conftest.in" >"conftest.tmp"
4886
 
    mv "conftest.tmp" "conftest.in"
4887
 
    cp "conftest.in" "conftest.nl"
4888
 
    $as_echo '' >> "conftest.nl"
4889
 
    "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4890
 
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4891
 
    as_fn_arith $ac_count + 1 && ac_count=$as_val
4892
 
    if test $ac_count -gt ${ac_path_SED_max-0}; then
4893
 
      # Best one so far, save it but keep looking for a better one
4894
 
      ac_cv_path_SED="$ac_path_SED"
4895
 
      ac_path_SED_max=$ac_count
4896
 
    fi
4897
 
    # 10*(2^10) chars as input seems more than enough
4898
 
    test $ac_count -gt 10 && break
4899
 
  done
4900
 
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4901
 
esac
4902
 
 
4903
 
      $ac_path_SED_found && break 3
4904
 
    done
4905
 
  done
4906
 
  done
4907
 
IFS=$as_save_IFS
4908
 
  if test -z "$ac_cv_path_SED"; then
4909
 
    as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4910
 
  fi
4911
 
else
4912
 
  ac_cv_path_SED=$SED
4913
 
fi
4914
 
 
4915
 
fi
4916
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4917
 
$as_echo "$ac_cv_path_SED" >&6; }
4918
 
 SED="$ac_cv_path_SED"
4919
 
  rm -f conftest.sed
4920
 
 
4921
 
test -z "$SED" && SED=sed
4922
 
Xsed="$SED -e 1s/^X//"
4923
 
 
4924
 
 
4925
 
 
4926
 
 
4927
 
 
4928
 
 
4929
 
 
4930
 
 
4931
 
 
4932
 
 
4933
 
 
4934
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4935
 
$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4936
 
if ${ac_cv_path_GREP+:} false; then :
4937
 
  $as_echo_n "(cached) " >&6
4938
 
else
4939
 
  if test -z "$GREP"; then
4940
 
  ac_path_GREP_found=false
4941
 
  # Loop through the user's path and test for each of PROGNAME-LIST
4942
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4943
 
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4944
 
do
4945
 
  IFS=$as_save_IFS
4946
 
  test -z "$as_dir" && as_dir=.
4947
 
    for ac_prog in grep ggrep; do
4948
 
    for ac_exec_ext in '' $ac_executable_extensions; do
4949
 
      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4950
 
      as_fn_executable_p "$ac_path_GREP" || continue
4951
 
# Check for GNU ac_path_GREP and select it if it is found.
4952
 
  # Check for GNU $ac_path_GREP
4953
 
case `"$ac_path_GREP" --version 2>&1` in
4954
 
*GNU*)
4955
 
  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4956
 
*)
4957
 
  ac_count=0
4958
 
  $as_echo_n 0123456789 >"conftest.in"
4959
 
  while :
4960
 
  do
4961
 
    cat "conftest.in" "conftest.in" >"conftest.tmp"
4962
 
    mv "conftest.tmp" "conftest.in"
4963
 
    cp "conftest.in" "conftest.nl"
4964
 
    $as_echo 'GREP' >> "conftest.nl"
4965
 
    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4966
 
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4967
 
    as_fn_arith $ac_count + 1 && ac_count=$as_val
4968
 
    if test $ac_count -gt ${ac_path_GREP_max-0}; then
4969
 
      # Best one so far, save it but keep looking for a better one
4970
 
      ac_cv_path_GREP="$ac_path_GREP"
4971
 
      ac_path_GREP_max=$ac_count
4972
 
    fi
4973
 
    # 10*(2^10) chars as input seems more than enough
4974
 
    test $ac_count -gt 10 && break
4975
 
  done
4976
 
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4977
 
esac
4978
 
 
4979
 
      $ac_path_GREP_found && break 3
4980
 
    done
4981
 
  done
4982
 
  done
4983
 
IFS=$as_save_IFS
4984
 
  if test -z "$ac_cv_path_GREP"; then
4985
 
    as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4986
 
  fi
4987
 
else
4988
 
  ac_cv_path_GREP=$GREP
4989
 
fi
4990
 
 
4991
 
fi
4992
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4993
 
$as_echo "$ac_cv_path_GREP" >&6; }
4994
 
 GREP="$ac_cv_path_GREP"
4995
 
 
4996
 
 
4997
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4998
 
$as_echo_n "checking for egrep... " >&6; }
4999
 
if ${ac_cv_path_EGREP+:} false; then :
5000
 
  $as_echo_n "(cached) " >&6
5001
 
else
5002
 
  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5003
 
   then ac_cv_path_EGREP="$GREP -E"
5004
 
   else
5005
 
     if test -z "$EGREP"; then
5006
 
  ac_path_EGREP_found=false
5007
 
  # Loop through the user's path and test for each of PROGNAME-LIST
5008
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5009
 
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5010
 
do
5011
 
  IFS=$as_save_IFS
5012
 
  test -z "$as_dir" && as_dir=.
5013
 
    for ac_prog in egrep; do
5014
 
    for ac_exec_ext in '' $ac_executable_extensions; do
5015
 
      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5016
 
      as_fn_executable_p "$ac_path_EGREP" || continue
5017
 
# Check for GNU ac_path_EGREP and select it if it is found.
5018
 
  # Check for GNU $ac_path_EGREP
5019
 
case `"$ac_path_EGREP" --version 2>&1` in
5020
 
*GNU*)
5021
 
  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5022
 
*)
5023
 
  ac_count=0
5024
 
  $as_echo_n 0123456789 >"conftest.in"
5025
 
  while :
5026
 
  do
5027
 
    cat "conftest.in" "conftest.in" >"conftest.tmp"
5028
 
    mv "conftest.tmp" "conftest.in"
5029
 
    cp "conftest.in" "conftest.nl"
5030
 
    $as_echo 'EGREP' >> "conftest.nl"
5031
 
    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5032
 
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5033
 
    as_fn_arith $ac_count + 1 && ac_count=$as_val
5034
 
    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5035
 
      # Best one so far, save it but keep looking for a better one
5036
 
      ac_cv_path_EGREP="$ac_path_EGREP"
5037
 
      ac_path_EGREP_max=$ac_count
5038
 
    fi
5039
 
    # 10*(2^10) chars as input seems more than enough
5040
 
    test $ac_count -gt 10 && break
5041
 
  done
5042
 
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5043
 
esac
5044
 
 
5045
 
      $ac_path_EGREP_found && break 3
5046
 
    done
5047
 
  done
5048
 
  done
5049
 
IFS=$as_save_IFS
5050
 
  if test -z "$ac_cv_path_EGREP"; then
5051
 
    as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5052
 
  fi
5053
 
else
5054
 
  ac_cv_path_EGREP=$EGREP
5055
 
fi
5056
 
 
5057
 
   fi
5058
 
fi
5059
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5060
 
$as_echo "$ac_cv_path_EGREP" >&6; }
5061
 
 EGREP="$ac_cv_path_EGREP"
5062
 
 
5063
 
 
5064
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5065
 
$as_echo_n "checking for fgrep... " >&6; }
5066
 
if ${ac_cv_path_FGREP+:} false; then :
5067
 
  $as_echo_n "(cached) " >&6
5068
 
else
5069
 
  if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5070
 
   then ac_cv_path_FGREP="$GREP -F"
5071
 
   else
5072
 
     if test -z "$FGREP"; then
5073
 
  ac_path_FGREP_found=false
5074
 
  # Loop through the user's path and test for each of PROGNAME-LIST
5075
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5076
 
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5077
 
do
5078
 
  IFS=$as_save_IFS
5079
 
  test -z "$as_dir" && as_dir=.
5080
 
    for ac_prog in fgrep; do
5081
 
    for ac_exec_ext in '' $ac_executable_extensions; do
5082
 
      ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5083
 
      as_fn_executable_p "$ac_path_FGREP" || continue
5084
 
# Check for GNU ac_path_FGREP and select it if it is found.
5085
 
  # Check for GNU $ac_path_FGREP
5086
 
case `"$ac_path_FGREP" --version 2>&1` in
5087
 
*GNU*)
5088
 
  ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5089
 
*)
5090
 
  ac_count=0
5091
 
  $as_echo_n 0123456789 >"conftest.in"
5092
 
  while :
5093
 
  do
5094
 
    cat "conftest.in" "conftest.in" >"conftest.tmp"
5095
 
    mv "conftest.tmp" "conftest.in"
5096
 
    cp "conftest.in" "conftest.nl"
5097
 
    $as_echo 'FGREP' >> "conftest.nl"
5098
 
    "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5099
 
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5100
 
    as_fn_arith $ac_count + 1 && ac_count=$as_val
5101
 
    if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5102
 
      # Best one so far, save it but keep looking for a better one
5103
 
      ac_cv_path_FGREP="$ac_path_FGREP"
5104
 
      ac_path_FGREP_max=$ac_count
5105
 
    fi
5106
 
    # 10*(2^10) chars as input seems more than enough
5107
 
    test $ac_count -gt 10 && break
5108
 
  done
5109
 
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5110
 
esac
5111
 
 
5112
 
      $ac_path_FGREP_found && break 3
5113
 
    done
5114
 
  done
5115
 
  done
5116
 
IFS=$as_save_IFS
5117
 
  if test -z "$ac_cv_path_FGREP"; then
5118
 
    as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5119
 
  fi
5120
 
else
5121
 
  ac_cv_path_FGREP=$FGREP
5122
 
fi
5123
 
 
5124
 
   fi
5125
 
fi
5126
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5127
 
$as_echo "$ac_cv_path_FGREP" >&6; }
5128
 
 FGREP="$ac_cv_path_FGREP"
5129
 
 
5130
 
 
5131
 
test -z "$GREP" && GREP=grep
5132
 
 
5133
 
 
5134
 
 
5135
 
 
5136
 
 
5137
 
 
5138
 
 
5139
 
 
5140
 
 
5141
 
 
5142
 
 
5143
 
 
5144
 
 
5145
 
 
5146
 
 
5147
 
 
5148
 
 
5149
 
 
5150
 
 
5151
 
# Check whether --with-gnu-ld was given.
5152
 
if test "${with_gnu_ld+set}" = set; then :
5153
 
  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5154
 
else
5155
 
  with_gnu_ld=no
5156
 
fi
5157
 
 
5158
 
ac_prog=ld
5159
 
if test "$GCC" = yes; then
5160
 
  # Check if gcc -print-prog-name=ld gives a path.
5161
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5162
 
$as_echo_n "checking for ld used by $CC... " >&6; }
5163
 
  case $host in
5164
 
  *-*-mingw*)
5165
 
    # gcc leaves a trailing carriage return which upsets mingw
5166
 
    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5167
 
  *)
5168
 
    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5169
 
  esac
5170
 
  case $ac_prog in
5171
 
    # Accept absolute paths.
5172
 
    [\\/]* | ?:[\\/]*)
5173
 
      re_direlt='/[^/][^/]*/\.\./'
5174
 
      # Canonicalize the pathname of ld
5175
 
      ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5176
 
      while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5177
 
        ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5178
 
      done
5179
 
      test -z "$LD" && LD="$ac_prog"
5180
 
      ;;
5181
 
  "")
5182
 
    # If it fails, then pretend we aren't using GCC.
5183
 
    ac_prog=ld
5184
 
    ;;
5185
 
  *)
5186
 
    # If it is relative, then search for the first ld in PATH.
5187
 
    with_gnu_ld=unknown
5188
 
    ;;
5189
 
  esac
5190
 
elif test "$with_gnu_ld" = yes; then
5191
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5192
 
$as_echo_n "checking for GNU ld... " >&6; }
5193
 
else
5194
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5195
 
$as_echo_n "checking for non-GNU ld... " >&6; }
5196
 
fi
5197
 
if ${lt_cv_path_LD+:} false; then :
5198
 
  $as_echo_n "(cached) " >&6
5199
 
else
5200
 
  if test -z "$LD"; then
5201
 
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5202
 
  for ac_dir in $PATH; do
5203
 
    IFS="$lt_save_ifs"
5204
 
    test -z "$ac_dir" && ac_dir=.
5205
 
    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5206
 
      lt_cv_path_LD="$ac_dir/$ac_prog"
5207
 
      # Check to see if the program is GNU ld.  I'd rather use --version,
5208
 
      # but apparently some variants of GNU ld only accept -v.
5209
 
      # Break only if it was the GNU/non-GNU ld that we prefer.
5210
 
      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5211
 
      *GNU* | *'with BFD'*)
5212
 
        test "$with_gnu_ld" != no && break
5213
 
        ;;
5214
 
      *)
5215
 
        test "$with_gnu_ld" != yes && break
5216
 
        ;;
5217
 
      esac
5218
 
    fi
5219
 
  done
5220
 
  IFS="$lt_save_ifs"
5221
 
else
5222
 
  lt_cv_path_LD="$LD" # Let the user override the test with a path.
5223
 
fi
5224
 
fi
5225
 
 
5226
 
LD="$lt_cv_path_LD"
5227
 
if test -n "$LD"; then
5228
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5229
 
$as_echo "$LD" >&6; }
5230
 
else
5231
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5232
 
$as_echo "no" >&6; }
5233
 
fi
5234
 
test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
5235
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5236
 
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5237
 
if ${lt_cv_prog_gnu_ld+:} false; then :
5238
 
  $as_echo_n "(cached) " >&6
5239
 
else
5240
 
  # I'd rather use --version here, but apparently some GNU lds only accept -v.
5241
 
case `$LD -v 2>&1 </dev/null` in
5242
 
*GNU* | *'with BFD'*)
5243
 
  lt_cv_prog_gnu_ld=yes
5244
 
  ;;
5245
 
*)
5246
 
  lt_cv_prog_gnu_ld=no
5247
 
  ;;
5248
 
esac
5249
 
fi
5250
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5251
 
$as_echo "$lt_cv_prog_gnu_ld" >&6; }
5252
 
with_gnu_ld=$lt_cv_prog_gnu_ld
5253
 
 
5254
 
 
5255
 
 
5256
 
 
5257
 
 
5258
 
 
5259
 
 
5260
 
 
5261
 
 
5262
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5263
 
$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5264
 
if ${lt_cv_path_NM+:} false; then :
5265
 
  $as_echo_n "(cached) " >&6
5266
 
else
5267
 
  if test -n "$NM"; then
5268
 
  # Let the user override the test.
5269
 
  lt_cv_path_NM="$NM"
5270
 
else
5271
 
  lt_nm_to_check="${ac_tool_prefix}nm"
5272
 
  if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5273
 
    lt_nm_to_check="$lt_nm_to_check nm"
5274
 
  fi
5275
 
  for lt_tmp_nm in $lt_nm_to_check; do
5276
 
    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5277
 
    for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5278
 
      IFS="$lt_save_ifs"
5279
 
      test -z "$ac_dir" && ac_dir=.
5280
 
      tmp_nm="$ac_dir/$lt_tmp_nm"
5281
 
      if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5282
 
        # Check to see if the nm accepts a BSD-compat flag.
5283
 
        # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5284
 
        #   nm: unknown option "B" ignored
5285
 
        # Tru64's nm complains that /dev/null is an invalid object file
5286
 
        case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5287
 
        */dev/null* | *'Invalid file or object type'*)
5288
 
          lt_cv_path_NM="$tmp_nm -B"
5289
 
          break
5290
 
          ;;
5291
 
        *)
5292
 
          case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5293
 
          */dev/null*)
5294
 
            lt_cv_path_NM="$tmp_nm -p"
5295
 
            break
5296
 
            ;;
5297
 
          *)
5298
 
            lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5299
 
            continue # so that we can try to find one that supports BSD flags
5300
 
            ;;
5301
 
          esac
5302
 
          ;;
5303
 
        esac
5304
 
      fi
5305
 
    done
5306
 
    IFS="$lt_save_ifs"
5307
 
  done
5308
 
  : ${lt_cv_path_NM=no}
5309
 
fi
5310
 
fi
5311
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5312
 
$as_echo "$lt_cv_path_NM" >&6; }
5313
 
if test "$lt_cv_path_NM" != "no"; then
5314
 
  NM="$lt_cv_path_NM"
5315
 
else
5316
 
  # Didn't find any BSD compatible name lister, look for dumpbin.
5317
 
  if test -n "$DUMPBIN"; then :
5318
 
    # Let the user override the test.
5319
 
  else
5320
 
    if test -n "$ac_tool_prefix"; then
5321
 
  for ac_prog in dumpbin "link -dump"
5322
 
  do
5323
 
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5324
 
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5325
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5326
 
$as_echo_n "checking for $ac_word... " >&6; }
5327
 
if ${ac_cv_prog_DUMPBIN+:} false; then :
5328
 
  $as_echo_n "(cached) " >&6
5329
 
else
5330
 
  if test -n "$DUMPBIN"; then
5331
 
  ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5332
 
else
5333
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5334
 
for as_dir in $PATH
5335
 
do
5336
 
  IFS=$as_save_IFS
5337
 
  test -z "$as_dir" && as_dir=.
5338
 
    for ac_exec_ext in '' $ac_executable_extensions; do
5339
 
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5340
 
    ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5341
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5342
 
    break 2
5343
 
  fi
5344
 
done
5345
 
  done
5346
 
IFS=$as_save_IFS
5347
 
 
5348
 
fi
5349
 
fi
5350
 
DUMPBIN=$ac_cv_prog_DUMPBIN
5351
 
if test -n "$DUMPBIN"; then
5352
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5353
 
$as_echo "$DUMPBIN" >&6; }
5354
 
else
5355
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5356
 
$as_echo "no" >&6; }
5357
 
fi
5358
 
 
5359
 
 
5360
 
    test -n "$DUMPBIN" && break
5361
 
  done
5362
 
fi
5363
 
if test -z "$DUMPBIN"; then
5364
 
  ac_ct_DUMPBIN=$DUMPBIN
5365
 
  for ac_prog in dumpbin "link -dump"
5366
 
do
5367
 
  # Extract the first word of "$ac_prog", so it can be a program name with args.
5368
 
set dummy $ac_prog; ac_word=$2
5369
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5370
 
$as_echo_n "checking for $ac_word... " >&6; }
5371
 
if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
5372
 
  $as_echo_n "(cached) " >&6
5373
 
else
5374
 
  if test -n "$ac_ct_DUMPBIN"; then
5375
 
  ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5376
 
else
5377
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5378
 
for as_dir in $PATH
5379
 
do
5380
 
  IFS=$as_save_IFS
5381
 
  test -z "$as_dir" && as_dir=.
5382
 
    for ac_exec_ext in '' $ac_executable_extensions; do
5383
 
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5384
 
    ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5385
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5386
 
    break 2
5387
 
  fi
5388
 
done
5389
 
  done
5390
 
IFS=$as_save_IFS
5391
 
 
5392
 
fi
5393
 
fi
5394
 
ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5395
 
if test -n "$ac_ct_DUMPBIN"; then
5396
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5397
 
$as_echo "$ac_ct_DUMPBIN" >&6; }
5398
 
else
5399
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5400
 
$as_echo "no" >&6; }
5401
 
fi
5402
 
 
5403
 
 
5404
 
  test -n "$ac_ct_DUMPBIN" && break
5405
 
done
5406
 
 
5407
 
  if test "x$ac_ct_DUMPBIN" = x; then
5408
 
    DUMPBIN=":"
5409
 
  else
5410
 
    case $cross_compiling:$ac_tool_warned in
5411
 
yes:)
5412
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5413
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5414
 
ac_tool_warned=yes ;;
5415
 
esac
5416
 
    DUMPBIN=$ac_ct_DUMPBIN
5417
 
  fi
5418
 
fi
5419
 
 
5420
 
    case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5421
 
    *COFF*)
5422
 
      DUMPBIN="$DUMPBIN -symbols"
5423
 
      ;;
5424
 
    *)
5425
 
      DUMPBIN=:
5426
 
      ;;
5427
 
    esac
5428
 
  fi
5429
 
 
5430
 
  if test "$DUMPBIN" != ":"; then
5431
 
    NM="$DUMPBIN"
5432
 
  fi
5433
 
fi
5434
 
test -z "$NM" && NM=nm
5435
 
 
5436
 
 
5437
 
 
5438
 
 
5439
 
 
5440
 
 
5441
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5442
 
$as_echo_n "checking the name lister ($NM) interface... " >&6; }
5443
 
if ${lt_cv_nm_interface+:} false; then :
5444
 
  $as_echo_n "(cached) " >&6
5445
 
else
5446
 
  lt_cv_nm_interface="BSD nm"
5447
 
  echo "int some_variable = 0;" > conftest.$ac_ext
5448
 
  (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5449
 
  (eval "$ac_compile" 2>conftest.err)
5450
 
  cat conftest.err >&5
5451
 
  (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5452
 
  (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5453
 
  cat conftest.err >&5
5454
 
  (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5455
 
  cat conftest.out >&5
5456
 
  if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5457
 
    lt_cv_nm_interface="MS dumpbin"
5458
 
  fi
5459
 
  rm -f conftest*
5460
 
fi
5461
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5462
 
$as_echo "$lt_cv_nm_interface" >&6; }
5463
 
 
5464
 
# find the maximum length of command line arguments
5465
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5466
 
$as_echo_n "checking the maximum length of command line arguments... " >&6; }
5467
 
if ${lt_cv_sys_max_cmd_len+:} false; then :
5468
 
  $as_echo_n "(cached) " >&6
5469
 
else
5470
 
    i=0
5471
 
  teststring="ABCD"
5472
 
 
5473
 
  case $build_os in
5474
 
  msdosdjgpp*)
5475
 
    # On DJGPP, this test can blow up pretty badly due to problems in libc
5476
 
    # (any single argument exceeding 2000 bytes causes a buffer overrun
5477
 
    # during glob expansion).  Even if it were fixed, the result of this
5478
 
    # check would be larger than it should be.
5479
 
    lt_cv_sys_max_cmd_len=12288;    # 12K is about right
5480
 
    ;;
5481
 
 
5482
 
  gnu*)
5483
 
    # Under GNU Hurd, this test is not required because there is
5484
 
    # no limit to the length of command line arguments.
5485
 
    # Libtool will interpret -1 as no limit whatsoever
5486
 
    lt_cv_sys_max_cmd_len=-1;
5487
 
    ;;
5488
 
 
5489
 
  cygwin* | mingw* | cegcc*)
5490
 
    # On Win9x/ME, this test blows up -- it succeeds, but takes
5491
 
    # about 5 minutes as the teststring grows exponentially.
5492
 
    # Worse, since 9x/ME are not pre-emptively multitasking,
5493
 
    # you end up with a "frozen" computer, even though with patience
5494
 
    # the test eventually succeeds (with a max line length of 256k).
5495
 
    # Instead, let's just punt: use the minimum linelength reported by
5496
 
    # all of the supported platforms: 8192 (on NT/2K/XP).
5497
 
    lt_cv_sys_max_cmd_len=8192;
5498
 
    ;;
5499
 
 
5500
 
  mint*)
5501
 
    # On MiNT this can take a long time and run out of memory.
5502
 
    lt_cv_sys_max_cmd_len=8192;
5503
 
    ;;
5504
 
 
5505
 
  amigaos*)
5506
 
    # On AmigaOS with pdksh, this test takes hours, literally.
5507
 
    # So we just punt and use a minimum line length of 8192.
5508
 
    lt_cv_sys_max_cmd_len=8192;
5509
 
    ;;
5510
 
 
5511
 
  netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5512
 
    # This has been around since 386BSD, at least.  Likely further.
5513
 
    if test -x /sbin/sysctl; then
5514
 
      lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5515
 
    elif test -x /usr/sbin/sysctl; then
5516
 
      lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5517
 
    else
5518
 
      lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
5519
 
    fi
5520
 
    # And add a safety zone
5521
 
    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5522
 
    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5523
 
    ;;
5524
 
 
5525
 
  interix*)
5526
 
    # We know the value 262144 and hardcode it with a safety zone (like BSD)
5527
 
    lt_cv_sys_max_cmd_len=196608
5528
 
    ;;
5529
 
 
5530
 
  os2*)
5531
 
    # The test takes a long time on OS/2.
5532
 
    lt_cv_sys_max_cmd_len=8192
5533
 
    ;;
5534
 
 
5535
 
  osf*)
5536
 
    # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5537
 
    # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5538
 
    # nice to cause kernel panics so lets avoid the loop below.
5539
 
    # First set a reasonable default.
5540
 
    lt_cv_sys_max_cmd_len=16384
5541
 
    #
5542
 
    if test -x /sbin/sysconfig; then
5543
 
      case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5544
 
        *1*) lt_cv_sys_max_cmd_len=-1 ;;
5545
 
      esac
5546
 
    fi
5547
 
    ;;
5548
 
  sco3.2v5*)
5549
 
    lt_cv_sys_max_cmd_len=102400
5550
 
    ;;
5551
 
  sysv5* | sco5v6* | sysv4.2uw2*)
5552
 
    kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5553
 
    if test -n "$kargmax"; then
5554
 
      lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[  ]//'`
5555
 
    else
5556
 
      lt_cv_sys_max_cmd_len=32768
5557
 
    fi
5558
 
    ;;
5559
 
  *)
5560
 
    lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5561
 
    if test -n "$lt_cv_sys_max_cmd_len"; then
5562
 
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5563
 
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5564
 
    else
5565
 
      # Make teststring a little bigger before we do anything with it.
5566
 
      # a 1K string should be a reasonable start.
5567
 
      for i in 1 2 3 4 5 6 7 8 ; do
5568
 
        teststring=$teststring$teststring
5569
 
      done
5570
 
      SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5571
 
      # If test is not a shell built-in, we'll probably end up computing a
5572
 
      # maximum length that is only half of the actual maximum length, but
5573
 
      # we can't tell.
5574
 
      while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
5575
 
                 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5576
 
              test $i != 17 # 1/2 MB should be enough
5577
 
      do
5578
 
        i=`expr $i + 1`
5579
 
        teststring=$teststring$teststring
5580
 
      done
5581
 
      # Only check the string length outside the loop.
5582
 
      lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5583
 
      teststring=
5584
 
      # Add a significant safety factor because C++ compilers can tack on
5585
 
      # massive amounts of additional arguments before passing them to the
5586
 
      # linker.  It appears as though 1/2 is a usable value.
5587
 
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5588
 
    fi
5589
 
    ;;
5590
 
  esac
5591
 
 
5592
 
fi
5593
 
 
5594
 
if test -n $lt_cv_sys_max_cmd_len ; then
5595
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5596
 
$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5597
 
else
5598
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5599
 
$as_echo "none" >&6; }
5600
 
fi
5601
 
max_cmd_len=$lt_cv_sys_max_cmd_len
5602
 
 
5603
 
 
5604
 
 
5605
 
 
5606
 
 
5607
 
 
5608
 
: ${CP="cp -f"}
5609
 
: ${MV="mv -f"}
5610
 
: ${RM="rm -f"}
5611
 
 
5612
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5613
 
$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5614
 
# Try some XSI features
5615
 
xsi_shell=no
5616
 
( _lt_dummy="a/b/c"
5617
 
  test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
5618
 
      = c,a/b,b/c, \
5619
 
    && eval 'test $(( 1 + 1 )) -eq 2 \
5620
 
    && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5621
 
  && xsi_shell=yes
5622
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5623
 
$as_echo "$xsi_shell" >&6; }
5624
 
 
5625
 
 
5626
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5627
 
$as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5628
 
lt_shell_append=no
5629
 
( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5630
 
    >/dev/null 2>&1 \
5631
 
  && lt_shell_append=yes
5632
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5633
 
$as_echo "$lt_shell_append" >&6; }
5634
 
 
5635
 
 
5636
 
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5637
 
  lt_unset=unset
5638
 
else
5639
 
  lt_unset=false
5640
 
fi
5641
 
 
5642
 
 
5643
 
 
5644
 
 
5645
 
 
5646
 
# test EBCDIC or ASCII
5647
 
case `echo X|tr X '\101'` in
5648
 
 A) # ASCII based system
5649
 
    # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5650
 
  lt_SP2NL='tr \040 \012'
5651
 
  lt_NL2SP='tr \015\012 \040\040'
5652
 
  ;;
5653
 
 *) # EBCDIC based system
5654
 
  lt_SP2NL='tr \100 \n'
5655
 
  lt_NL2SP='tr \r\n \100\100'
5656
 
  ;;
5657
 
esac
5658
 
 
5659
 
 
5660
 
 
5661
 
 
5662
 
 
5663
 
 
5664
 
 
5665
 
 
5666
 
 
5667
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
5668
 
$as_echo_n "checking how to convert $build file names to $host format... " >&6; }
5669
 
if ${lt_cv_to_host_file_cmd+:} false; then :
5670
 
  $as_echo_n "(cached) " >&6
5671
 
else
5672
 
  case $host in
5673
 
  *-*-mingw* )
5674
 
    case $build in
5675
 
      *-*-mingw* ) # actually msys
5676
 
        lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5677
 
        ;;
5678
 
      *-*-cygwin* )
5679
 
        lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5680
 
        ;;
5681
 
      * ) # otherwise, assume *nix
5682
 
        lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5683
 
        ;;
5684
 
    esac
5685
 
    ;;
5686
 
  *-*-cygwin* )
5687
 
    case $build in
5688
 
      *-*-mingw* ) # actually msys
5689
 
        lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5690
 
        ;;
5691
 
      *-*-cygwin* )
5692
 
        lt_cv_to_host_file_cmd=func_convert_file_noop
5693
 
        ;;
5694
 
      * ) # otherwise, assume *nix
5695
 
        lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5696
 
        ;;
5697
 
    esac
5698
 
    ;;
5699
 
  * ) # unhandled hosts (and "normal" native builds)
5700
 
    lt_cv_to_host_file_cmd=func_convert_file_noop
5701
 
    ;;
5702
 
esac
5703
 
 
5704
 
fi
5705
 
 
5706
 
to_host_file_cmd=$lt_cv_to_host_file_cmd
5707
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
5708
 
$as_echo "$lt_cv_to_host_file_cmd" >&6; }
5709
 
 
5710
 
 
5711
 
 
5712
 
 
5713
 
 
5714
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
5715
 
$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
5716
 
if ${lt_cv_to_tool_file_cmd+:} false; then :
5717
 
  $as_echo_n "(cached) " >&6
5718
 
else
5719
 
  #assume ordinary cross tools, or native build.
5720
 
lt_cv_to_tool_file_cmd=func_convert_file_noop
5721
 
case $host in
5722
 
  *-*-mingw* )
5723
 
    case $build in
5724
 
      *-*-mingw* ) # actually msys
5725
 
        lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5726
 
        ;;
5727
 
    esac
5728
 
    ;;
5729
 
esac
5730
 
 
5731
 
fi
5732
 
 
5733
 
to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5734
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
5735
 
$as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5736
 
 
5737
 
 
5738
 
 
5739
 
 
5740
 
 
5741
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5742
 
$as_echo_n "checking for $LD option to reload object files... " >&6; }
5743
 
if ${lt_cv_ld_reload_flag+:} false; then :
5744
 
  $as_echo_n "(cached) " >&6
5745
 
else
5746
 
  lt_cv_ld_reload_flag='-r'
5747
 
fi
5748
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5749
 
$as_echo "$lt_cv_ld_reload_flag" >&6; }
5750
 
reload_flag=$lt_cv_ld_reload_flag
5751
 
case $reload_flag in
5752
 
"" | " "*) ;;
5753
 
*) reload_flag=" $reload_flag" ;;
5754
 
esac
5755
 
reload_cmds='$LD$reload_flag -o $output$reload_objs'
5756
 
case $host_os in
5757
 
  cygwin* | mingw* | pw32* | cegcc*)
5758
 
    if test "$GCC" != yes; then
5759
 
      reload_cmds=false
5760
 
    fi
5761
 
    ;;
5762
 
  darwin*)
5763
 
    if test "$GCC" = yes; then
5764
 
      reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5765
 
    else
5766
 
      reload_cmds='$LD$reload_flag -o $output$reload_objs'
5767
 
    fi
5768
 
    ;;
5769
 
esac
5770
 
 
5771
 
 
5772
 
 
5773
 
 
5774
 
 
5775
 
 
5776
 
 
5777
 
 
5778
 
 
5779
 
if test -n "$ac_tool_prefix"; then
5780
 
  # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5781
 
set dummy ${ac_tool_prefix}objdump; ac_word=$2
5782
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5783
 
$as_echo_n "checking for $ac_word... " >&6; }
5784
 
if ${ac_cv_prog_OBJDUMP+:} false; then :
5785
 
  $as_echo_n "(cached) " >&6
5786
 
else
5787
 
  if test -n "$OBJDUMP"; then
5788
 
  ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5789
 
else
5790
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5791
 
for as_dir in $PATH
5792
 
do
5793
 
  IFS=$as_save_IFS
5794
 
  test -z "$as_dir" && as_dir=.
5795
 
    for ac_exec_ext in '' $ac_executable_extensions; do
5796
 
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5797
 
    ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5798
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5799
 
    break 2
5800
 
  fi
5801
 
done
5802
 
  done
5803
 
IFS=$as_save_IFS
5804
 
 
5805
 
fi
5806
 
fi
5807
 
OBJDUMP=$ac_cv_prog_OBJDUMP
5808
 
if test -n "$OBJDUMP"; then
5809
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5810
 
$as_echo "$OBJDUMP" >&6; }
5811
 
else
5812
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5813
 
$as_echo "no" >&6; }
5814
 
fi
5815
 
 
5816
 
 
5817
 
fi
5818
 
if test -z "$ac_cv_prog_OBJDUMP"; then
5819
 
  ac_ct_OBJDUMP=$OBJDUMP
5820
 
  # Extract the first word of "objdump", so it can be a program name with args.
5821
 
set dummy objdump; ac_word=$2
5822
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5823
 
$as_echo_n "checking for $ac_word... " >&6; }
5824
 
if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5825
 
  $as_echo_n "(cached) " >&6
5826
 
else
5827
 
  if test -n "$ac_ct_OBJDUMP"; then
5828
 
  ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5829
 
else
5830
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5831
 
for as_dir in $PATH
5832
 
do
5833
 
  IFS=$as_save_IFS
5834
 
  test -z "$as_dir" && as_dir=.
5835
 
    for ac_exec_ext in '' $ac_executable_extensions; do
5836
 
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5837
 
    ac_cv_prog_ac_ct_OBJDUMP="objdump"
5838
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5839
 
    break 2
5840
 
  fi
5841
 
done
5842
 
  done
5843
 
IFS=$as_save_IFS
5844
 
 
5845
 
fi
5846
 
fi
5847
 
ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5848
 
if test -n "$ac_ct_OBJDUMP"; then
5849
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5850
 
$as_echo "$ac_ct_OBJDUMP" >&6; }
5851
 
else
5852
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5853
 
$as_echo "no" >&6; }
5854
 
fi
5855
 
 
5856
 
  if test "x$ac_ct_OBJDUMP" = x; then
5857
 
    OBJDUMP="false"
5858
 
  else
5859
 
    case $cross_compiling:$ac_tool_warned in
5860
 
yes:)
5861
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5862
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5863
 
ac_tool_warned=yes ;;
5864
 
esac
5865
 
    OBJDUMP=$ac_ct_OBJDUMP
5866
 
  fi
5867
 
else
5868
 
  OBJDUMP="$ac_cv_prog_OBJDUMP"
5869
 
fi
5870
 
 
5871
 
test -z "$OBJDUMP" && OBJDUMP=objdump
5872
 
 
5873
 
 
5874
 
 
5875
 
 
5876
 
 
5877
 
 
5878
 
 
5879
 
 
5880
 
 
5881
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5882
 
$as_echo_n "checking how to recognize dependent libraries... " >&6; }
5883
 
if ${lt_cv_deplibs_check_method+:} false; then :
5884
 
  $as_echo_n "(cached) " >&6
5885
 
else
5886
 
  lt_cv_file_magic_cmd='$MAGIC_CMD'
5887
 
lt_cv_file_magic_test_file=
5888
 
lt_cv_deplibs_check_method='unknown'
5889
 
# Need to set the preceding variable on all platforms that support
5890
 
# interlibrary dependencies.
5891
 
# 'none' -- dependencies not supported.
5892
 
# `unknown' -- same as none, but documents that we really don't know.
5893
 
# 'pass_all' -- all dependencies passed with no checks.
5894
 
# 'test_compile' -- check by making test program.
5895
 
# 'file_magic [[regex]]' -- check by looking for files in library path
5896
 
# which responds to the $file_magic_cmd with a given extended regex.
5897
 
# If you have `file' or equivalent on your system and you're not sure
5898
 
# whether `pass_all' will *always* work, you probably want this one.
5899
 
 
5900
 
case $host_os in
5901
 
aix[4-9]*)
5902
 
  lt_cv_deplibs_check_method=pass_all
5903
 
  ;;
5904
 
 
5905
 
beos*)
5906
 
  lt_cv_deplibs_check_method=pass_all
5907
 
  ;;
5908
 
 
5909
 
bsdi[45]*)
5910
 
  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5911
 
  lt_cv_file_magic_cmd='/usr/bin/file -L'
5912
 
  lt_cv_file_magic_test_file=/shlib/libc.so
5913
 
  ;;
5914
 
 
5915
 
cygwin*)
5916
 
  # func_win32_libid is a shell function defined in ltmain.sh
5917
 
  lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5918
 
  lt_cv_file_magic_cmd='func_win32_libid'
5919
 
  ;;
5920
 
 
5921
 
mingw* | pw32*)
5922
 
  # Base MSYS/MinGW do not provide the 'file' command needed by
5923
 
  # func_win32_libid shell function, so use a weaker test based on 'objdump',
5924
 
  # unless we find 'file', for example because we are cross-compiling.
5925
 
  # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5926
 
  if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
5927
 
    lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5928
 
    lt_cv_file_magic_cmd='func_win32_libid'
5929
 
  else
5930
 
    # Keep this pattern in sync with the one in func_win32_libid.
5931
 
    lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5932
 
    lt_cv_file_magic_cmd='$OBJDUMP -f'
5933
 
  fi
5934
 
  ;;
5935
 
 
5936
 
cegcc*)
5937
 
  # use the weaker test based on 'objdump'. See mingw*.
5938
 
  lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5939
 
  lt_cv_file_magic_cmd='$OBJDUMP -f'
5940
 
  ;;
5941
 
 
5942
 
darwin* | rhapsody*)
5943
 
  lt_cv_deplibs_check_method=pass_all
5944
 
  ;;
5945
 
 
5946
 
freebsd* | dragonfly*)
5947
 
  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5948
 
    case $host_cpu in
5949
 
    i*86 )
5950
 
      # Not sure whether the presence of OpenBSD here was a mistake.
5951
 
      # Let's accept both of them until this is cleared up.
5952
 
      lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5953
 
      lt_cv_file_magic_cmd=/usr/bin/file
5954
 
      lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5955
 
      ;;
5956
 
    esac
5957
 
  else
5958
 
    lt_cv_deplibs_check_method=pass_all
5959
 
  fi
5960
 
  ;;
5961
 
 
5962
 
gnu*)
5963
 
  lt_cv_deplibs_check_method=pass_all
5964
 
  ;;
5965
 
 
5966
 
haiku*)
5967
 
  lt_cv_deplibs_check_method=pass_all
5968
 
  ;;
5969
 
 
5970
 
hpux10.20* | hpux11*)
5971
 
  lt_cv_file_magic_cmd=/usr/bin/file
5972
 
  case $host_cpu in
5973
 
  ia64*)
5974
 
    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5975
 
    lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5976
 
    ;;
5977
 
  hppa*64*)
5978
 
    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]'
5979
 
    lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5980
 
    ;;
5981
 
  *)
5982
 
    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5983
 
    lt_cv_file_magic_test_file=/usr/lib/libc.sl
5984
 
    ;;
5985
 
  esac
5986
 
  ;;
5987
 
 
5988
 
interix[3-9]*)
5989
 
  # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5990
 
  lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5991
 
  ;;
5992
 
 
5993
 
irix5* | irix6* | nonstopux*)
5994
 
  case $LD in
5995
 
  *-32|*"-32 ") libmagic=32-bit;;
5996
 
  *-n32|*"-n32 ") libmagic=N32;;
5997
 
  *-64|*"-64 ") libmagic=64-bit;;
5998
 
  *) libmagic=never-match;;
5999
 
  esac
6000
 
  lt_cv_deplibs_check_method=pass_all
6001
 
  ;;
6002
 
 
6003
 
# This must be glibc/ELF.
6004
 
linux* | k*bsd*-gnu | kopensolaris*-gnu)
6005
 
  lt_cv_deplibs_check_method=pass_all
6006
 
  ;;
6007
 
 
6008
 
netbsd*)
6009
 
  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6010
 
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6011
 
  else
6012
 
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6013
 
  fi
6014
 
  ;;
6015
 
 
6016
 
newos6*)
6017
 
  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6018
 
  lt_cv_file_magic_cmd=/usr/bin/file
6019
 
  lt_cv_file_magic_test_file=/usr/lib/libnls.so
6020
 
  ;;
6021
 
 
6022
 
*nto* | *qnx*)
6023
 
  lt_cv_deplibs_check_method=pass_all
6024
 
  ;;
6025
 
 
6026
 
openbsd*)
6027
 
  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6028
 
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6029
 
  else
6030
 
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6031
 
  fi
6032
 
  ;;
6033
 
 
6034
 
osf3* | osf4* | osf5*)
6035
 
  lt_cv_deplibs_check_method=pass_all
6036
 
  ;;
6037
 
 
6038
 
rdos*)
6039
 
  lt_cv_deplibs_check_method=pass_all
6040
 
  ;;
6041
 
 
6042
 
solaris*)
6043
 
  lt_cv_deplibs_check_method=pass_all
6044
 
  ;;
6045
 
 
6046
 
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6047
 
  lt_cv_deplibs_check_method=pass_all
6048
 
  ;;
6049
 
 
6050
 
sysv4 | sysv4.3*)
6051
 
  case $host_vendor in
6052
 
  motorola)
6053
 
    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]'
6054
 
    lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6055
 
    ;;
6056
 
  ncr)
6057
 
    lt_cv_deplibs_check_method=pass_all
6058
 
    ;;
6059
 
  sequent)
6060
 
    lt_cv_file_magic_cmd='/bin/file'
6061
 
    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6062
 
    ;;
6063
 
  sni)
6064
 
    lt_cv_file_magic_cmd='/bin/file'
6065
 
    lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6066
 
    lt_cv_file_magic_test_file=/lib/libc.so
6067
 
    ;;
6068
 
  siemens)
6069
 
    lt_cv_deplibs_check_method=pass_all
6070
 
    ;;
6071
 
  pc)
6072
 
    lt_cv_deplibs_check_method=pass_all
6073
 
    ;;
6074
 
  esac
6075
 
  ;;
6076
 
 
6077
 
tpf*)
6078
 
  lt_cv_deplibs_check_method=pass_all
6079
 
  ;;
6080
 
esac
6081
 
 
6082
 
fi
6083
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6084
 
$as_echo "$lt_cv_deplibs_check_method" >&6; }
6085
 
 
6086
 
file_magic_glob=
6087
 
want_nocaseglob=no
6088
 
if test "$build" = "$host"; then
6089
 
  case $host_os in
6090
 
  mingw* | pw32*)
6091
 
    if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
6092
 
      want_nocaseglob=yes
6093
 
    else
6094
 
      file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
6095
 
    fi
6096
 
    ;;
6097
 
  esac
6098
 
fi
6099
 
 
6100
 
file_magic_cmd=$lt_cv_file_magic_cmd
6101
 
deplibs_check_method=$lt_cv_deplibs_check_method
6102
 
test -z "$deplibs_check_method" && deplibs_check_method=unknown
6103
 
 
6104
 
 
6105
 
 
6106
 
 
6107
 
 
6108
 
 
6109
 
 
6110
 
 
6111
 
 
6112
 
 
6113
 
 
6114
 
 
6115
 
 
6116
 
 
6117
 
 
6118
 
 
6119
 
 
6120
 
 
6121
 
 
6122
 
 
6123
 
 
6124
 
 
6125
 
if test -n "$ac_tool_prefix"; then
6126
 
  # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
6127
 
set dummy ${ac_tool_prefix}dlltool; ac_word=$2
6128
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6129
 
$as_echo_n "checking for $ac_word... " >&6; }
6130
 
if ${ac_cv_prog_DLLTOOL+:} false; then :
6131
 
  $as_echo_n "(cached) " >&6
6132
 
else
6133
 
  if test -n "$DLLTOOL"; then
6134
 
  ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
6135
 
else
6136
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6137
 
for as_dir in $PATH
6138
 
do
6139
 
  IFS=$as_save_IFS
6140
 
  test -z "$as_dir" && as_dir=.
6141
 
    for ac_exec_ext in '' $ac_executable_extensions; do
6142
 
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6143
 
    ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
6144
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6145
 
    break 2
6146
 
  fi
6147
 
done
6148
 
  done
6149
 
IFS=$as_save_IFS
6150
 
 
6151
 
fi
6152
 
fi
6153
 
DLLTOOL=$ac_cv_prog_DLLTOOL
6154
 
if test -n "$DLLTOOL"; then
6155
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
6156
 
$as_echo "$DLLTOOL" >&6; }
6157
 
else
6158
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6159
 
$as_echo "no" >&6; }
6160
 
fi
6161
 
 
6162
 
 
6163
 
fi
6164
 
if test -z "$ac_cv_prog_DLLTOOL"; then
6165
 
  ac_ct_DLLTOOL=$DLLTOOL
6166
 
  # Extract the first word of "dlltool", so it can be a program name with args.
6167
 
set dummy dlltool; ac_word=$2
6168
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6169
 
$as_echo_n "checking for $ac_word... " >&6; }
6170
 
if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
6171
 
  $as_echo_n "(cached) " >&6
6172
 
else
6173
 
  if test -n "$ac_ct_DLLTOOL"; then
6174
 
  ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
6175
 
else
6176
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6177
 
for as_dir in $PATH
6178
 
do
6179
 
  IFS=$as_save_IFS
6180
 
  test -z "$as_dir" && as_dir=.
6181
 
    for ac_exec_ext in '' $ac_executable_extensions; do
6182
 
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6183
 
    ac_cv_prog_ac_ct_DLLTOOL="dlltool"
6184
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6185
 
    break 2
6186
 
  fi
6187
 
done
6188
 
  done
6189
 
IFS=$as_save_IFS
6190
 
 
6191
 
fi
6192
 
fi
6193
 
ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
6194
 
if test -n "$ac_ct_DLLTOOL"; then
6195
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
6196
 
$as_echo "$ac_ct_DLLTOOL" >&6; }
6197
 
else
6198
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6199
 
$as_echo "no" >&6; }
6200
 
fi
6201
 
 
6202
 
  if test "x$ac_ct_DLLTOOL" = x; then
6203
 
    DLLTOOL="false"
6204
 
  else
6205
 
    case $cross_compiling:$ac_tool_warned in
6206
 
yes:)
6207
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6208
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6209
 
ac_tool_warned=yes ;;
6210
 
esac
6211
 
    DLLTOOL=$ac_ct_DLLTOOL
6212
 
  fi
6213
 
else
6214
 
  DLLTOOL="$ac_cv_prog_DLLTOOL"
6215
 
fi
6216
 
 
6217
 
test -z "$DLLTOOL" && DLLTOOL=dlltool
6218
 
 
6219
 
 
6220
 
 
6221
 
 
6222
 
 
6223
 
 
6224
 
 
6225
 
 
6226
 
 
6227
 
 
6228
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
6229
 
$as_echo_n "checking how to associate runtime and link libraries... " >&6; }
6230
 
if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
6231
 
  $as_echo_n "(cached) " >&6
6232
 
else
6233
 
  lt_cv_sharedlib_from_linklib_cmd='unknown'
6234
 
 
6235
 
case $host_os in
6236
 
cygwin* | mingw* | pw32* | cegcc*)
6237
 
  # two different shell functions defined in ltmain.sh
6238
 
  # decide which to use based on capabilities of $DLLTOOL
6239
 
  case `$DLLTOOL --help 2>&1` in
6240
 
  *--identify-strict*)
6241
 
    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
6242
 
    ;;
6243
 
  *)
6244
 
    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
6245
 
    ;;
6246
 
  esac
6247
 
  ;;
6248
 
*)
6249
 
  # fallback: assume linklib IS sharedlib
6250
 
  lt_cv_sharedlib_from_linklib_cmd="$ECHO"
6251
 
  ;;
6252
 
esac
6253
 
 
6254
 
fi
6255
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
6256
 
$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
6257
 
sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
6258
 
test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
6259
 
 
6260
 
 
6261
 
 
6262
 
 
6263
 
 
6264
 
 
6265
 
 
6266
 
 
6267
 
if test -n "$ac_tool_prefix"; then
6268
 
  for ac_prog in ar
6269
 
  do
6270
 
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6271
 
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6272
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6273
 
$as_echo_n "checking for $ac_word... " >&6; }
6274
 
if ${ac_cv_prog_AR+:} false; then :
6275
 
  $as_echo_n "(cached) " >&6
6276
 
else
6277
 
  if test -n "$AR"; then
6278
 
  ac_cv_prog_AR="$AR" # Let the user override the test.
6279
 
else
6280
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6281
 
for as_dir in $PATH
6282
 
do
6283
 
  IFS=$as_save_IFS
6284
 
  test -z "$as_dir" && as_dir=.
6285
 
    for ac_exec_ext in '' $ac_executable_extensions; do
6286
 
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6287
 
    ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6288
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6289
 
    break 2
6290
 
  fi
6291
 
done
6292
 
  done
6293
 
IFS=$as_save_IFS
6294
 
 
6295
 
fi
6296
 
fi
6297
 
AR=$ac_cv_prog_AR
6298
 
if test -n "$AR"; then
6299
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6300
 
$as_echo "$AR" >&6; }
6301
 
else
6302
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6303
 
$as_echo "no" >&6; }
6304
 
fi
6305
 
 
6306
 
 
6307
 
    test -n "$AR" && break
6308
 
  done
6309
 
fi
6310
 
if test -z "$AR"; then
6311
 
  ac_ct_AR=$AR
6312
 
  for ac_prog in ar
6313
 
do
6314
 
  # Extract the first word of "$ac_prog", so it can be a program name with args.
6315
 
set dummy $ac_prog; ac_word=$2
6316
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6317
 
$as_echo_n "checking for $ac_word... " >&6; }
6318
 
if ${ac_cv_prog_ac_ct_AR+:} false; then :
6319
 
  $as_echo_n "(cached) " >&6
6320
 
else
6321
 
  if test -n "$ac_ct_AR"; then
6322
 
  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6323
 
else
6324
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6325
 
for as_dir in $PATH
6326
 
do
6327
 
  IFS=$as_save_IFS
6328
 
  test -z "$as_dir" && as_dir=.
6329
 
    for ac_exec_ext in '' $ac_executable_extensions; do
6330
 
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6331
 
    ac_cv_prog_ac_ct_AR="$ac_prog"
6332
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6333
 
    break 2
6334
 
  fi
6335
 
done
6336
 
  done
6337
 
IFS=$as_save_IFS
6338
 
 
6339
 
fi
6340
 
fi
6341
 
ac_ct_AR=$ac_cv_prog_ac_ct_AR
6342
 
if test -n "$ac_ct_AR"; then
6343
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6344
 
$as_echo "$ac_ct_AR" >&6; }
6345
 
else
6346
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6347
 
$as_echo "no" >&6; }
6348
 
fi
6349
 
 
6350
 
 
6351
 
  test -n "$ac_ct_AR" && break
6352
 
done
6353
 
 
6354
 
  if test "x$ac_ct_AR" = x; then
6355
 
    AR="false"
6356
 
  else
6357
 
    case $cross_compiling:$ac_tool_warned in
6358
 
yes:)
6359
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6360
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6361
 
ac_tool_warned=yes ;;
6362
 
esac
6363
 
    AR=$ac_ct_AR
6364
 
  fi
6365
 
fi
6366
 
 
6367
 
: ${AR=ar}
6368
 
: ${AR_FLAGS=cru}
6369
 
 
6370
 
 
6371
 
 
6372
 
 
6373
 
 
6374
 
 
6375
 
 
6376
 
 
6377
 
 
6378
 
 
6379
 
 
6380
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
6381
 
$as_echo_n "checking for archiver @FILE support... " >&6; }
6382
 
if ${lt_cv_ar_at_file+:} false; then :
6383
 
  $as_echo_n "(cached) " >&6
6384
 
else
6385
 
  lt_cv_ar_at_file=no
6386
 
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6387
 
/* end confdefs.h.  */
6388
 
 
6389
 
int
6390
 
main ()
6391
 
{
6392
 
 
6393
 
  ;
6394
 
  return 0;
6395
 
}
6396
 
_ACEOF
6397
 
if ac_fn_cxx_try_compile "$LINENO"; then :
6398
 
  echo conftest.$ac_objext > conftest.lst
6399
 
      lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
6400
 
      { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6401
 
  (eval $lt_ar_try) 2>&5
6402
 
  ac_status=$?
6403
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6404
 
  test $ac_status = 0; }
6405
 
      if test "$ac_status" -eq 0; then
6406
 
        # Ensure the archiver fails upon bogus file names.
6407
 
        rm -f conftest.$ac_objext libconftest.a
6408
 
        { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6409
 
  (eval $lt_ar_try) 2>&5
6410
 
  ac_status=$?
6411
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6412
 
  test $ac_status = 0; }
6413
 
        if test "$ac_status" -ne 0; then
6414
 
          lt_cv_ar_at_file=@
6415
 
        fi
6416
 
      fi
6417
 
      rm -f conftest.* libconftest.a
6418
 
 
6419
 
fi
6420
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6421
 
 
6422
 
fi
6423
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
6424
 
$as_echo "$lt_cv_ar_at_file" >&6; }
6425
 
 
6426
 
if test "x$lt_cv_ar_at_file" = xno; then
6427
 
  archiver_list_spec=
6428
 
else
6429
 
  archiver_list_spec=$lt_cv_ar_at_file
6430
 
fi
6431
 
 
6432
 
 
6433
 
 
6434
 
 
6435
 
 
6436
 
 
6437
 
 
6438
 
if test -n "$ac_tool_prefix"; then
6439
 
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6440
 
set dummy ${ac_tool_prefix}strip; ac_word=$2
6441
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6442
 
$as_echo_n "checking for $ac_word... " >&6; }
6443
 
if ${ac_cv_prog_STRIP+:} false; then :
6444
 
  $as_echo_n "(cached) " >&6
6445
 
else
6446
 
  if test -n "$STRIP"; then
6447
 
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6448
 
else
6449
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6450
 
for as_dir in $PATH
6451
 
do
6452
 
  IFS=$as_save_IFS
6453
 
  test -z "$as_dir" && as_dir=.
6454
 
    for ac_exec_ext in '' $ac_executable_extensions; do
6455
 
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6456
 
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6457
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6458
 
    break 2
6459
 
  fi
6460
 
done
6461
 
  done
6462
 
IFS=$as_save_IFS
6463
 
 
6464
 
fi
6465
 
fi
6466
 
STRIP=$ac_cv_prog_STRIP
6467
 
if test -n "$STRIP"; then
6468
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6469
 
$as_echo "$STRIP" >&6; }
6470
 
else
6471
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6472
 
$as_echo "no" >&6; }
6473
 
fi
6474
 
 
6475
 
 
6476
 
fi
6477
 
if test -z "$ac_cv_prog_STRIP"; then
6478
 
  ac_ct_STRIP=$STRIP
6479
 
  # Extract the first word of "strip", so it can be a program name with args.
6480
 
set dummy strip; ac_word=$2
6481
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6482
 
$as_echo_n "checking for $ac_word... " >&6; }
6483
 
if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6484
 
  $as_echo_n "(cached) " >&6
6485
 
else
6486
 
  if test -n "$ac_ct_STRIP"; then
6487
 
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6488
 
else
6489
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6490
 
for as_dir in $PATH
6491
 
do
6492
 
  IFS=$as_save_IFS
6493
 
  test -z "$as_dir" && as_dir=.
6494
 
    for ac_exec_ext in '' $ac_executable_extensions; do
6495
 
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6496
 
    ac_cv_prog_ac_ct_STRIP="strip"
6497
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6498
 
    break 2
6499
 
  fi
6500
 
done
6501
 
  done
6502
 
IFS=$as_save_IFS
6503
 
 
6504
 
fi
6505
 
fi
6506
 
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6507
 
if test -n "$ac_ct_STRIP"; then
6508
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6509
 
$as_echo "$ac_ct_STRIP" >&6; }
6510
 
else
6511
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6512
 
$as_echo "no" >&6; }
6513
 
fi
6514
 
 
6515
 
  if test "x$ac_ct_STRIP" = x; then
6516
 
    STRIP=":"
6517
 
  else
6518
 
    case $cross_compiling:$ac_tool_warned in
6519
 
yes:)
6520
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6521
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6522
 
ac_tool_warned=yes ;;
6523
 
esac
6524
 
    STRIP=$ac_ct_STRIP
6525
 
  fi
6526
 
else
6527
 
  STRIP="$ac_cv_prog_STRIP"
6528
 
fi
6529
 
 
6530
 
test -z "$STRIP" && STRIP=:
6531
 
 
6532
 
 
6533
 
 
6534
 
 
6535
 
 
6536
 
 
6537
 
if test -n "$ac_tool_prefix"; then
6538
 
  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6539
 
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6540
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6541
 
$as_echo_n "checking for $ac_word... " >&6; }
6542
 
if ${ac_cv_prog_RANLIB+:} false; then :
6543
 
  $as_echo_n "(cached) " >&6
6544
 
else
6545
 
  if test -n "$RANLIB"; then
6546
 
  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6547
 
else
6548
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6549
 
for as_dir in $PATH
6550
 
do
6551
 
  IFS=$as_save_IFS
6552
 
  test -z "$as_dir" && as_dir=.
6553
 
    for ac_exec_ext in '' $ac_executable_extensions; do
6554
 
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6555
 
    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6556
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6557
 
    break 2
6558
 
  fi
6559
 
done
6560
 
  done
6561
 
IFS=$as_save_IFS
6562
 
 
6563
 
fi
6564
 
fi
6565
 
RANLIB=$ac_cv_prog_RANLIB
6566
 
if test -n "$RANLIB"; then
6567
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6568
 
$as_echo "$RANLIB" >&6; }
6569
 
else
6570
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6571
 
$as_echo "no" >&6; }
6572
 
fi
6573
 
 
6574
 
 
6575
 
fi
6576
 
if test -z "$ac_cv_prog_RANLIB"; then
6577
 
  ac_ct_RANLIB=$RANLIB
6578
 
  # Extract the first word of "ranlib", so it can be a program name with args.
6579
 
set dummy ranlib; ac_word=$2
6580
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6581
 
$as_echo_n "checking for $ac_word... " >&6; }
6582
 
if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6583
 
  $as_echo_n "(cached) " >&6
6584
 
else
6585
 
  if test -n "$ac_ct_RANLIB"; then
6586
 
  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6587
 
else
6588
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6589
 
for as_dir in $PATH
6590
 
do
6591
 
  IFS=$as_save_IFS
6592
 
  test -z "$as_dir" && as_dir=.
6593
 
    for ac_exec_ext in '' $ac_executable_extensions; do
6594
 
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6595
 
    ac_cv_prog_ac_ct_RANLIB="ranlib"
6596
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6597
 
    break 2
6598
 
  fi
6599
 
done
6600
 
  done
6601
 
IFS=$as_save_IFS
6602
 
 
6603
 
fi
6604
 
fi
6605
 
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6606
 
if test -n "$ac_ct_RANLIB"; then
6607
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6608
 
$as_echo "$ac_ct_RANLIB" >&6; }
6609
 
else
6610
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6611
 
$as_echo "no" >&6; }
6612
 
fi
6613
 
 
6614
 
  if test "x$ac_ct_RANLIB" = x; then
6615
 
    RANLIB=":"
6616
 
  else
6617
 
    case $cross_compiling:$ac_tool_warned in
6618
 
yes:)
6619
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6620
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6621
 
ac_tool_warned=yes ;;
6622
 
esac
6623
 
    RANLIB=$ac_ct_RANLIB
6624
 
  fi
6625
 
else
6626
 
  RANLIB="$ac_cv_prog_RANLIB"
6627
 
fi
6628
 
 
6629
 
test -z "$RANLIB" && RANLIB=:
6630
 
 
6631
 
 
6632
 
 
6633
 
 
6634
 
 
6635
 
 
6636
 
# Determine commands to create old-style static archives.
6637
 
old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6638
 
old_postinstall_cmds='chmod 644 $oldlib'
6639
 
old_postuninstall_cmds=
6640
 
 
6641
 
if test -n "$RANLIB"; then
6642
 
  case $host_os in
6643
 
  openbsd*)
6644
 
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
6645
 
    ;;
6646
 
  *)
6647
 
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
6648
 
    ;;
6649
 
  esac
6650
 
  old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
6651
 
fi
6652
 
 
6653
 
case $host_os in
6654
 
  darwin*)
6655
 
    lock_old_archive_extraction=yes ;;
6656
 
  *)
6657
 
    lock_old_archive_extraction=no ;;
6658
 
esac
6659
 
 
6660
 
 
6661
 
 
6662
 
 
6663
 
 
6664
 
 
6665
 
 
6666
 
 
6667
 
 
6668
 
 
6669
 
 
6670
 
 
6671
 
 
6672
 
 
6673
 
 
6674
 
 
6675
 
 
6676
 
 
6677
 
 
6678
 
 
6679
 
 
6680
 
 
6681
 
 
6682
 
 
6683
 
 
6684
 
 
6685
 
 
6686
 
 
6687
 
 
6688
 
 
6689
 
 
6690
 
 
6691
 
 
6692
 
 
6693
 
 
6694
 
 
6695
 
 
6696
 
 
6697
 
 
6698
 
# If no C compiler was specified, use CC.
6699
 
LTCC=${LTCC-"$CC"}
6700
 
 
6701
 
# If no C compiler flags were specified, use CFLAGS.
6702
 
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6703
 
 
6704
 
# Allow CC to be a program name with arguments.
6705
 
compiler=$CC
6706
 
 
6707
 
 
6708
 
# Check for command to grab the raw symbol name followed by C symbol from nm.
6709
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6710
 
$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6711
 
if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6712
 
  $as_echo_n "(cached) " >&6
6713
 
else
6714
 
 
6715
 
# These are sane defaults that work on at least a few old systems.
6716
 
# [They come from Ultrix.  What could be older than Ultrix?!! ;)]
6717
 
 
6718
 
# Character class describing NM global symbol codes.
6719
 
symcode='[BCDEGRST]'
6720
 
 
6721
 
# Regexp to match symbols that can be accessed directly from C.
6722
 
sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6723
 
 
6724
 
# Define system-specific variables.
6725
 
case $host_os in
6726
 
aix*)
6727
 
  symcode='[BCDT]'
6728
 
  ;;
6729
 
cygwin* | mingw* | pw32* | cegcc*)
6730
 
  symcode='[ABCDGISTW]'
6731
 
  ;;
6732
 
hpux*)
6733
 
  if test "$host_cpu" = ia64; then
6734
 
    symcode='[ABCDEGRST]'
6735
 
  fi
6736
 
  ;;
6737
 
irix* | nonstopux*)
6738
 
  symcode='[BCDEGRST]'
6739
 
  ;;
6740
 
osf*)
6741
 
  symcode='[BCDEGQRST]'
6742
 
  ;;
6743
 
solaris*)
6744
 
  symcode='[BDRT]'
6745
 
  ;;
6746
 
sco3.2v5*)
6747
 
  symcode='[DT]'
6748
 
  ;;
6749
 
sysv4.2uw2*)
6750
 
  symcode='[DT]'
6751
 
  ;;
6752
 
sysv5* | sco5v6* | unixware* | OpenUNIX*)
6753
 
  symcode='[ABDT]'
6754
 
  ;;
6755
 
sysv4)
6756
 
  symcode='[DFNSTU]'
6757
 
  ;;
6758
 
esac
6759
 
 
6760
 
# If we're using GNU nm, then use its standard symbol codes.
6761
 
case `$NM -V 2>&1` in
6762
 
*GNU* | *'with BFD'*)
6763
 
  symcode='[ABCDGIRSTW]' ;;
6764
 
esac
6765
 
 
6766
 
# Transform an extracted symbol line into a proper C declaration.
6767
 
# Some systems (esp. on ia64) link data and code symbols differently,
6768
 
# so use this general approach.
6769
 
lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6770
 
 
6771
 
# Transform an extracted symbol line into symbol name and symbol address
6772
 
lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
6773
 
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'"
6774
 
 
6775
 
# Handle CRLF in mingw tool chain
6776
 
opt_cr=
6777
 
case $build_os in
6778
 
mingw*)
6779
 
  opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6780
 
  ;;
6781
 
esac
6782
 
 
6783
 
# Try without a prefix underscore, then with it.
6784
 
for ac_symprfx in "" "_"; do
6785
 
 
6786
 
  # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6787
 
  symxfrm="\\1 $ac_symprfx\\2 \\2"
6788
 
 
6789
 
  # Write the raw and C identifiers.
6790
 
  if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6791
 
    # Fake it for dumpbin and say T for any non-static function
6792
 
    # and D for any global variable.
6793
 
    # Also find C++ and __fastcall symbols from MSVC++,
6794
 
    # which start with @ or ?.
6795
 
    lt_cv_sys_global_symbol_pipe="$AWK '"\
6796
 
"     {last_section=section; section=\$ 3};"\
6797
 
"     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
6798
 
"     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6799
 
"     \$ 0!~/External *\|/{next};"\
6800
 
"     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6801
 
"     {if(hide[section]) next};"\
6802
 
"     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6803
 
"     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6804
 
"     s[1]~/^[@?]/{print s[1], s[1]; next};"\
6805
 
"     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6806
 
"     ' prfx=^$ac_symprfx"
6807
 
  else
6808
 
    lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6809
 
  fi
6810
 
  lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6811
 
 
6812
 
  # Check to see that the pipe works correctly.
6813
 
  pipe_works=no
6814
 
 
6815
 
  rm -f conftest*
6816
 
  cat > conftest.$ac_ext <<_LT_EOF
6817
 
#ifdef __cplusplus
6818
 
extern "C" {
6819
 
#endif
6820
 
char nm_test_var;
6821
 
void nm_test_func(void);
6822
 
void nm_test_func(void){}
6823
 
#ifdef __cplusplus
6824
 
}
6825
 
#endif
6826
 
int main(){nm_test_var='a';nm_test_func();return(0);}
6827
 
_LT_EOF
6828
 
 
6829
 
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6830
 
  (eval $ac_compile) 2>&5
6831
 
  ac_status=$?
6832
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6833
 
  test $ac_status = 0; }; then
6834
 
    # Now try to grab the symbols.
6835
 
    nlist=conftest.nm
6836
 
    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6837
 
  (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6838
 
  ac_status=$?
6839
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6840
 
  test $ac_status = 0; } && test -s "$nlist"; then
6841
 
      # Try sorting and uniquifying the output.
6842
 
      if sort "$nlist" | uniq > "$nlist"T; then
6843
 
        mv -f "$nlist"T "$nlist"
6844
 
      else
6845
 
        rm -f "$nlist"T
6846
 
      fi
6847
 
 
6848
 
      # Make sure that we snagged all the symbols we need.
6849
 
      if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6850
 
        if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6851
 
          cat <<_LT_EOF > conftest.$ac_ext
6852
 
/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
6853
 
#if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
6854
 
/* DATA imports from DLLs on WIN32 con't be const, because runtime
6855
 
   relocations are performed -- see ld's documentation on pseudo-relocs.  */
6856
 
# define LT_DLSYM_CONST
6857
 
#elif defined(__osf__)
6858
 
/* This system does not cope well with relocations in const data.  */
6859
 
# define LT_DLSYM_CONST
6860
 
#else
6861
 
# define LT_DLSYM_CONST const
6862
 
#endif
6863
 
 
6864
 
#ifdef __cplusplus
6865
 
extern "C" {
6866
 
#endif
6867
 
 
6868
 
_LT_EOF
6869
 
          # Now generate the symbol file.
6870
 
          eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6871
 
 
6872
 
          cat <<_LT_EOF >> conftest.$ac_ext
6873
 
 
6874
 
/* The mapping between symbol names and symbols.  */
6875
 
LT_DLSYM_CONST struct {
6876
 
  const char *name;
6877
 
  void       *address;
6878
 
}
6879
 
lt__PROGRAM__LTX_preloaded_symbols[] =
6880
 
{
6881
 
  { "@PROGRAM@", (void *) 0 },
6882
 
_LT_EOF
6883
 
          $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6884
 
          cat <<\_LT_EOF >> conftest.$ac_ext
6885
 
  {0, (void *) 0}
6886
 
};
6887
 
 
6888
 
/* This works around a problem in FreeBSD linker */
6889
 
#ifdef FREEBSD_WORKAROUND
6890
 
static const void *lt_preloaded_setup() {
6891
 
  return lt__PROGRAM__LTX_preloaded_symbols;
6892
 
}
6893
 
#endif
6894
 
 
6895
 
#ifdef __cplusplus
6896
 
}
6897
 
#endif
6898
 
_LT_EOF
6899
 
          # Now try linking the two files.
6900
 
          mv conftest.$ac_objext conftstm.$ac_objext
6901
 
          lt_globsym_save_LIBS=$LIBS
6902
 
          lt_globsym_save_CFLAGS=$CFLAGS
6903
 
          LIBS="conftstm.$ac_objext"
6904
 
          CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6905
 
          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6906
 
  (eval $ac_link) 2>&5
6907
 
  ac_status=$?
6908
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6909
 
  test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6910
 
            pipe_works=yes
6911
 
          fi
6912
 
          LIBS=$lt_globsym_save_LIBS
6913
 
          CFLAGS=$lt_globsym_save_CFLAGS
6914
 
        else
6915
 
          echo "cannot find nm_test_func in $nlist" >&5
6916
 
        fi
6917
 
      else
6918
 
        echo "cannot find nm_test_var in $nlist" >&5
6919
 
      fi
6920
 
    else
6921
 
      echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6922
 
    fi
6923
 
  else
6924
 
    echo "$progname: failed program was:" >&5
6925
 
    cat conftest.$ac_ext >&5
6926
 
  fi
6927
 
  rm -rf conftest* conftst*
6928
 
 
6929
 
  # Do not use the global_symbol_pipe unless it works.
6930
 
  if test "$pipe_works" = yes; then
6931
 
    break
6932
 
  else
6933
 
    lt_cv_sys_global_symbol_pipe=
6934
 
  fi
6935
 
done
6936
 
 
6937
 
fi
6938
 
 
6939
 
if test -z "$lt_cv_sys_global_symbol_pipe"; then
6940
 
  lt_cv_sys_global_symbol_to_cdecl=
6941
 
fi
6942
 
if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6943
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6944
 
$as_echo "failed" >&6; }
6945
 
else
6946
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6947
 
$as_echo "ok" >&6; }
6948
 
fi
6949
 
 
6950
 
# Response file support.
6951
 
if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6952
 
  nm_file_list_spec='@'
6953
 
elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6954
 
  nm_file_list_spec='@'
6955
 
fi
6956
 
 
6957
 
 
6958
 
 
6959
 
 
6960
 
 
6961
 
 
6962
 
 
6963
 
 
6964
 
 
6965
 
 
6966
 
 
6967
 
 
6968
 
 
6969
 
 
6970
 
 
6971
 
 
6972
 
 
6973
 
 
6974
 
 
6975
 
 
6976
 
 
6977
 
 
6978
 
 
6979
 
 
6980
 
 
6981
 
 
6982
 
 
6983
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6984
 
$as_echo_n "checking for sysroot... " >&6; }
6985
 
 
6986
 
# Check whether --with-sysroot was given.
6987
 
if test "${with_sysroot+set}" = set; then :
6988
 
  withval=$with_sysroot;
6989
 
else
6990
 
  with_sysroot=no
6991
 
fi
6992
 
 
6993
 
 
6994
 
lt_sysroot=
6995
 
case ${with_sysroot} in #(
6996
 
 yes)
6997
 
   if test "$GCC" = yes; then
6998
 
     lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6999
 
   fi
7000
 
   ;; #(
7001
 
 /*)
7002
 
   lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
7003
 
   ;; #(
7004
 
 no|'')
7005
 
   ;; #(
7006
 
 *)
7007
 
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
7008
 
$as_echo "${with_sysroot}" >&6; }
7009
 
   as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
7010
 
   ;;
7011
 
esac
7012
 
 
7013
 
 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
7014
 
$as_echo "${lt_sysroot:-no}" >&6; }
7015
 
 
7016
 
 
7017
 
 
7018
 
 
7019
 
 
7020
 
 
7021
 
# Check whether --enable-libtool-lock was given.
7022
 
if test "${enable_libtool_lock+set}" = set; then :
7023
 
  enableval=$enable_libtool_lock;
7024
 
fi
7025
 
 
7026
 
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
7027
 
 
7028
 
# Some flags need to be propagated to the compiler or linker for good
7029
 
# libtool support.
7030
 
case $host in
7031
 
ia64-*-hpux*)
7032
 
  # Find out which ABI we are using.
7033
 
  echo 'int i;' > conftest.$ac_ext
7034
 
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7035
 
  (eval $ac_compile) 2>&5
7036
 
  ac_status=$?
7037
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7038
 
  test $ac_status = 0; }; then
7039
 
    case `/usr/bin/file conftest.$ac_objext` in
7040
 
      *ELF-32*)
7041
 
        HPUX_IA64_MODE="32"
7042
 
        ;;
7043
 
      *ELF-64*)
7044
 
        HPUX_IA64_MODE="64"
7045
 
        ;;
7046
 
    esac
7047
 
  fi
7048
 
  rm -rf conftest*
7049
 
  ;;
7050
 
*-*-irix6*)
7051
 
  # Find out which ABI we are using.
7052
 
  echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7053
 
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7054
 
  (eval $ac_compile) 2>&5
7055
 
  ac_status=$?
7056
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7057
 
  test $ac_status = 0; }; then
7058
 
    if test "$lt_cv_prog_gnu_ld" = yes; then
7059
 
      case `/usr/bin/file conftest.$ac_objext` in
7060
 
        *32-bit*)
7061
 
          LD="${LD-ld} -melf32bsmip"
7062
 
          ;;
7063
 
        *N32*)
7064
 
          LD="${LD-ld} -melf32bmipn32"
7065
 
          ;;
7066
 
        *64-bit*)
7067
 
          LD="${LD-ld} -melf64bmip"
7068
 
        ;;
7069
 
      esac
7070
 
    else
7071
 
      case `/usr/bin/file conftest.$ac_objext` in
7072
 
        *32-bit*)
7073
 
          LD="${LD-ld} -32"
7074
 
          ;;
7075
 
        *N32*)
7076
 
          LD="${LD-ld} -n32"
7077
 
          ;;
7078
 
        *64-bit*)
7079
 
          LD="${LD-ld} -64"
7080
 
          ;;
7081
 
      esac
7082
 
    fi
7083
 
  fi
7084
 
  rm -rf conftest*
7085
 
  ;;
7086
 
 
7087
 
x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
7088
 
s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7089
 
  # Find out which ABI we are using.
7090
 
  echo 'int i;' > conftest.$ac_ext
7091
 
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7092
 
  (eval $ac_compile) 2>&5
7093
 
  ac_status=$?
7094
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7095
 
  test $ac_status = 0; }; then
7096
 
    case `/usr/bin/file conftest.o` in
7097
 
      *32-bit*)
7098
 
        case $host in
7099
 
          x86_64-*kfreebsd*-gnu)
7100
 
            LD="${LD-ld} -m elf_i386_fbsd"
7101
 
            ;;
7102
 
          x86_64-*linux*)
7103
 
            LD="${LD-ld} -m elf_i386"
7104
 
            ;;
7105
 
          ppc64-*linux*|powerpc64-*linux*)
7106
 
            LD="${LD-ld} -m elf32ppclinux"
7107
 
            ;;
7108
 
          s390x-*linux*)
7109
 
            LD="${LD-ld} -m elf_s390"
7110
 
            ;;
7111
 
          sparc64-*linux*)
7112
 
            LD="${LD-ld} -m elf32_sparc"
7113
 
            ;;
7114
 
        esac
7115
 
        ;;
7116
 
      *64-bit*)
7117
 
        case $host in
7118
 
          x86_64-*kfreebsd*-gnu)
7119
 
            LD="${LD-ld} -m elf_x86_64_fbsd"
7120
 
            ;;
7121
 
          x86_64-*linux*)
7122
 
            LD="${LD-ld} -m elf_x86_64"
7123
 
            ;;
7124
 
          ppc*-*linux*|powerpc*-*linux*)
7125
 
            LD="${LD-ld} -m elf64ppc"
7126
 
            ;;
7127
 
          s390*-*linux*|s390*-*tpf*)
7128
 
            LD="${LD-ld} -m elf64_s390"
7129
 
            ;;
7130
 
          sparc*-*linux*)
7131
 
            LD="${LD-ld} -m elf64_sparc"
7132
 
            ;;
7133
 
        esac
7134
 
        ;;
7135
 
    esac
7136
 
  fi
7137
 
  rm -rf conftest*
7138
 
  ;;
7139
 
 
7140
 
*-*-sco3.2v5*)
7141
 
  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7142
 
  SAVE_CFLAGS="$CFLAGS"
7143
 
  CFLAGS="$CFLAGS -belf"
7144
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7145
 
$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7146
 
if ${lt_cv_cc_needs_belf+:} false; then :
7147
 
  $as_echo_n "(cached) " >&6
7148
 
else
7149
 
  ac_ext=c
7150
 
ac_cpp='$CPP $CPPFLAGS'
7151
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7152
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7153
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
7154
 
 
7155
 
     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7156
 
/* end confdefs.h.  */
7157
 
 
7158
 
int
7159
 
main ()
7160
 
{
7161
 
 
7162
 
  ;
7163
 
  return 0;
7164
 
}
7165
 
_ACEOF
7166
 
if ac_fn_c_try_link "$LINENO"; then :
7167
 
  lt_cv_cc_needs_belf=yes
7168
 
else
7169
 
  lt_cv_cc_needs_belf=no
7170
 
fi
7171
 
rm -f core conftest.err conftest.$ac_objext \
7172
 
    conftest$ac_exeext conftest.$ac_ext
7173
 
     ac_ext=c
7174
 
ac_cpp='$CPP $CPPFLAGS'
7175
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7176
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7177
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
7178
 
 
7179
 
fi
7180
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7181
 
$as_echo "$lt_cv_cc_needs_belf" >&6; }
7182
 
  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7183
 
    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7184
 
    CFLAGS="$SAVE_CFLAGS"
7185
 
  fi
7186
 
  ;;
7187
 
*-*solaris*)
7188
 
  # Find out which ABI we are using.
7189
 
  echo 'int i;' > conftest.$ac_ext
7190
 
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7191
 
  (eval $ac_compile) 2>&5
7192
 
  ac_status=$?
7193
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7194
 
  test $ac_status = 0; }; then
7195
 
    case `/usr/bin/file conftest.o` in
7196
 
    *64-bit*)
7197
 
      case $lt_cv_prog_gnu_ld in
7198
 
      yes*)
7199
 
        case $host in
7200
 
        i?86-*-solaris*)
7201
 
          LD="${LD-ld} -m elf_x86_64"
7202
 
          ;;
7203
 
        sparc*-*-solaris*)
7204
 
          LD="${LD-ld} -m elf64_sparc"
7205
 
          ;;
7206
 
        esac
7207
 
        # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
7208
 
        if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
7209
 
          LD="${LD-ld}_sol2"
7210
 
        fi
7211
 
        ;;
7212
 
      *)
7213
 
        if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7214
 
          LD="${LD-ld} -64"
7215
 
        fi
7216
 
        ;;
7217
 
      esac
7218
 
      ;;
7219
 
    esac
7220
 
  fi
7221
 
  rm -rf conftest*
7222
 
  ;;
7223
 
esac
7224
 
 
7225
 
need_locks="$enable_libtool_lock"
7226
 
 
7227
 
if test -n "$ac_tool_prefix"; then
7228
 
  # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
7229
 
set dummy ${ac_tool_prefix}mt; ac_word=$2
7230
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7231
 
$as_echo_n "checking for $ac_word... " >&6; }
7232
 
if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
7233
 
  $as_echo_n "(cached) " >&6
7234
 
else
7235
 
  if test -n "$MANIFEST_TOOL"; then
7236
 
  ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
7237
 
else
7238
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7239
 
for as_dir in $PATH
7240
 
do
7241
 
  IFS=$as_save_IFS
7242
 
  test -z "$as_dir" && as_dir=.
7243
 
    for ac_exec_ext in '' $ac_executable_extensions; do
7244
 
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7245
 
    ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
7246
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7247
 
    break 2
7248
 
  fi
7249
 
done
7250
 
  done
7251
 
IFS=$as_save_IFS
7252
 
 
7253
 
fi
7254
 
fi
7255
 
MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
7256
 
if test -n "$MANIFEST_TOOL"; then
7257
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
7258
 
$as_echo "$MANIFEST_TOOL" >&6; }
7259
 
else
7260
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7261
 
$as_echo "no" >&6; }
7262
 
fi
7263
 
 
7264
 
 
7265
 
fi
7266
 
if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
7267
 
  ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
7268
 
  # Extract the first word of "mt", so it can be a program name with args.
7269
 
set dummy mt; ac_word=$2
7270
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7271
 
$as_echo_n "checking for $ac_word... " >&6; }
7272
 
if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
7273
 
  $as_echo_n "(cached) " >&6
7274
 
else
7275
 
  if test -n "$ac_ct_MANIFEST_TOOL"; then
7276
 
  ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
7277
 
else
7278
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7279
 
for as_dir in $PATH
7280
 
do
7281
 
  IFS=$as_save_IFS
7282
 
  test -z "$as_dir" && as_dir=.
7283
 
    for ac_exec_ext in '' $ac_executable_extensions; do
7284
 
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7285
 
    ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
7286
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7287
 
    break 2
7288
 
  fi
7289
 
done
7290
 
  done
7291
 
IFS=$as_save_IFS
7292
 
 
7293
 
fi
7294
 
fi
7295
 
ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
7296
 
if test -n "$ac_ct_MANIFEST_TOOL"; then
7297
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
7298
 
$as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
7299
 
else
7300
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7301
 
$as_echo "no" >&6; }
7302
 
fi
7303
 
 
7304
 
  if test "x$ac_ct_MANIFEST_TOOL" = x; then
7305
 
    MANIFEST_TOOL=":"
7306
 
  else
7307
 
    case $cross_compiling:$ac_tool_warned in
7308
 
yes:)
7309
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7310
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7311
 
ac_tool_warned=yes ;;
7312
 
esac
7313
 
    MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
7314
 
  fi
7315
 
else
7316
 
  MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
7317
 
fi
7318
 
 
7319
 
test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
7320
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
7321
 
$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
7322
 
if ${lt_cv_path_mainfest_tool+:} false; then :
7323
 
  $as_echo_n "(cached) " >&6
7324
 
else
7325
 
  lt_cv_path_mainfest_tool=no
7326
 
  echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
7327
 
  $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
7328
 
  cat conftest.err >&5
7329
 
  if $GREP 'Manifest Tool' conftest.out > /dev/null; then
7330
 
    lt_cv_path_mainfest_tool=yes
7331
 
  fi
7332
 
  rm -f conftest*
7333
 
fi
7334
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
7335
 
$as_echo "$lt_cv_path_mainfest_tool" >&6; }
7336
 
if test "x$lt_cv_path_mainfest_tool" != xyes; then
7337
 
  MANIFEST_TOOL=:
7338
 
fi
7339
 
 
7340
 
 
7341
 
 
7342
 
 
7343
 
 
7344
 
 
7345
 
  case $host_os in
7346
 
    rhapsody* | darwin*)
7347
 
    if test -n "$ac_tool_prefix"; then
7348
 
  # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7349
 
set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7350
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7351
 
$as_echo_n "checking for $ac_word... " >&6; }
7352
 
if ${ac_cv_prog_DSYMUTIL+:} false; then :
7353
 
  $as_echo_n "(cached) " >&6
7354
 
else
7355
 
  if test -n "$DSYMUTIL"; then
7356
 
  ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7357
 
else
7358
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7359
 
for as_dir in $PATH
7360
 
do
7361
 
  IFS=$as_save_IFS
7362
 
  test -z "$as_dir" && as_dir=.
7363
 
    for ac_exec_ext in '' $ac_executable_extensions; do
7364
 
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7365
 
    ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7366
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7367
 
    break 2
7368
 
  fi
7369
 
done
7370
 
  done
7371
 
IFS=$as_save_IFS
7372
 
 
7373
 
fi
7374
 
fi
7375
 
DSYMUTIL=$ac_cv_prog_DSYMUTIL
7376
 
if test -n "$DSYMUTIL"; then
7377
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7378
 
$as_echo "$DSYMUTIL" >&6; }
7379
 
else
7380
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7381
 
$as_echo "no" >&6; }
7382
 
fi
7383
 
 
7384
 
 
7385
 
fi
7386
 
if test -z "$ac_cv_prog_DSYMUTIL"; then
7387
 
  ac_ct_DSYMUTIL=$DSYMUTIL
7388
 
  # Extract the first word of "dsymutil", so it can be a program name with args.
7389
 
set dummy dsymutil; ac_word=$2
7390
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7391
 
$as_echo_n "checking for $ac_word... " >&6; }
7392
 
if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7393
 
  $as_echo_n "(cached) " >&6
7394
 
else
7395
 
  if test -n "$ac_ct_DSYMUTIL"; then
7396
 
  ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7397
 
else
7398
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7399
 
for as_dir in $PATH
7400
 
do
7401
 
  IFS=$as_save_IFS
7402
 
  test -z "$as_dir" && as_dir=.
7403
 
    for ac_exec_ext in '' $ac_executable_extensions; do
7404
 
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7405
 
    ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7406
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7407
 
    break 2
7408
 
  fi
7409
 
done
7410
 
  done
7411
 
IFS=$as_save_IFS
7412
 
 
7413
 
fi
7414
 
fi
7415
 
ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7416
 
if test -n "$ac_ct_DSYMUTIL"; then
7417
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7418
 
$as_echo "$ac_ct_DSYMUTIL" >&6; }
7419
 
else
7420
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7421
 
$as_echo "no" >&6; }
7422
 
fi
7423
 
 
7424
 
  if test "x$ac_ct_DSYMUTIL" = x; then
7425
 
    DSYMUTIL=":"
7426
 
  else
7427
 
    case $cross_compiling:$ac_tool_warned in
7428
 
yes:)
7429
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7430
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7431
 
ac_tool_warned=yes ;;
7432
 
esac
7433
 
    DSYMUTIL=$ac_ct_DSYMUTIL
7434
 
  fi
7435
 
else
7436
 
  DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7437
 
fi
7438
 
 
7439
 
    if test -n "$ac_tool_prefix"; then
7440
 
  # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7441
 
set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7442
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7443
 
$as_echo_n "checking for $ac_word... " >&6; }
7444
 
if ${ac_cv_prog_NMEDIT+:} false; then :
7445
 
  $as_echo_n "(cached) " >&6
7446
 
else
7447
 
  if test -n "$NMEDIT"; then
7448
 
  ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7449
 
else
7450
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7451
 
for as_dir in $PATH
7452
 
do
7453
 
  IFS=$as_save_IFS
7454
 
  test -z "$as_dir" && as_dir=.
7455
 
    for ac_exec_ext in '' $ac_executable_extensions; do
7456
 
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7457
 
    ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7458
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7459
 
    break 2
7460
 
  fi
7461
 
done
7462
 
  done
7463
 
IFS=$as_save_IFS
7464
 
 
7465
 
fi
7466
 
fi
7467
 
NMEDIT=$ac_cv_prog_NMEDIT
7468
 
if test -n "$NMEDIT"; then
7469
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7470
 
$as_echo "$NMEDIT" >&6; }
7471
 
else
7472
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7473
 
$as_echo "no" >&6; }
7474
 
fi
7475
 
 
7476
 
 
7477
 
fi
7478
 
if test -z "$ac_cv_prog_NMEDIT"; then
7479
 
  ac_ct_NMEDIT=$NMEDIT
7480
 
  # Extract the first word of "nmedit", so it can be a program name with args.
7481
 
set dummy nmedit; ac_word=$2
7482
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7483
 
$as_echo_n "checking for $ac_word... " >&6; }
7484
 
if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7485
 
  $as_echo_n "(cached) " >&6
7486
 
else
7487
 
  if test -n "$ac_ct_NMEDIT"; then
7488
 
  ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7489
 
else
7490
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7491
 
for as_dir in $PATH
7492
 
do
7493
 
  IFS=$as_save_IFS
7494
 
  test -z "$as_dir" && as_dir=.
7495
 
    for ac_exec_ext in '' $ac_executable_extensions; do
7496
 
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7497
 
    ac_cv_prog_ac_ct_NMEDIT="nmedit"
7498
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7499
 
    break 2
7500
 
  fi
7501
 
done
7502
 
  done
7503
 
IFS=$as_save_IFS
7504
 
 
7505
 
fi
7506
 
fi
7507
 
ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7508
 
if test -n "$ac_ct_NMEDIT"; then
7509
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7510
 
$as_echo "$ac_ct_NMEDIT" >&6; }
7511
 
else
7512
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7513
 
$as_echo "no" >&6; }
7514
 
fi
7515
 
 
7516
 
  if test "x$ac_ct_NMEDIT" = x; then
7517
 
    NMEDIT=":"
7518
 
  else
7519
 
    case $cross_compiling:$ac_tool_warned in
7520
 
yes:)
7521
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7522
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7523
 
ac_tool_warned=yes ;;
7524
 
esac
7525
 
    NMEDIT=$ac_ct_NMEDIT
7526
 
  fi
7527
 
else
7528
 
  NMEDIT="$ac_cv_prog_NMEDIT"
7529
 
fi
7530
 
 
7531
 
    if test -n "$ac_tool_prefix"; then
7532
 
  # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7533
 
set dummy ${ac_tool_prefix}lipo; ac_word=$2
7534
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7535
 
$as_echo_n "checking for $ac_word... " >&6; }
7536
 
if ${ac_cv_prog_LIPO+:} false; then :
7537
 
  $as_echo_n "(cached) " >&6
7538
 
else
7539
 
  if test -n "$LIPO"; then
7540
 
  ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7541
 
else
7542
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7543
 
for as_dir in $PATH
7544
 
do
7545
 
  IFS=$as_save_IFS
7546
 
  test -z "$as_dir" && as_dir=.
7547
 
    for ac_exec_ext in '' $ac_executable_extensions; do
7548
 
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7549
 
    ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7550
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7551
 
    break 2
7552
 
  fi
7553
 
done
7554
 
  done
7555
 
IFS=$as_save_IFS
7556
 
 
7557
 
fi
7558
 
fi
7559
 
LIPO=$ac_cv_prog_LIPO
7560
 
if test -n "$LIPO"; then
7561
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7562
 
$as_echo "$LIPO" >&6; }
7563
 
else
7564
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7565
 
$as_echo "no" >&6; }
7566
 
fi
7567
 
 
7568
 
 
7569
 
fi
7570
 
if test -z "$ac_cv_prog_LIPO"; then
7571
 
  ac_ct_LIPO=$LIPO
7572
 
  # Extract the first word of "lipo", so it can be a program name with args.
7573
 
set dummy lipo; ac_word=$2
7574
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7575
 
$as_echo_n "checking for $ac_word... " >&6; }
7576
 
if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7577
 
  $as_echo_n "(cached) " >&6
7578
 
else
7579
 
  if test -n "$ac_ct_LIPO"; then
7580
 
  ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7581
 
else
7582
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7583
 
for as_dir in $PATH
7584
 
do
7585
 
  IFS=$as_save_IFS
7586
 
  test -z "$as_dir" && as_dir=.
7587
 
    for ac_exec_ext in '' $ac_executable_extensions; do
7588
 
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7589
 
    ac_cv_prog_ac_ct_LIPO="lipo"
7590
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7591
 
    break 2
7592
 
  fi
7593
 
done
7594
 
  done
7595
 
IFS=$as_save_IFS
7596
 
 
7597
 
fi
7598
 
fi
7599
 
ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7600
 
if test -n "$ac_ct_LIPO"; then
7601
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7602
 
$as_echo "$ac_ct_LIPO" >&6; }
7603
 
else
7604
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7605
 
$as_echo "no" >&6; }
7606
 
fi
7607
 
 
7608
 
  if test "x$ac_ct_LIPO" = x; then
7609
 
    LIPO=":"
7610
 
  else
7611
 
    case $cross_compiling:$ac_tool_warned in
7612
 
yes:)
7613
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7614
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7615
 
ac_tool_warned=yes ;;
7616
 
esac
7617
 
    LIPO=$ac_ct_LIPO
7618
 
  fi
7619
 
else
7620
 
  LIPO="$ac_cv_prog_LIPO"
7621
 
fi
7622
 
 
7623
 
    if test -n "$ac_tool_prefix"; then
7624
 
  # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7625
 
set dummy ${ac_tool_prefix}otool; ac_word=$2
7626
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7627
 
$as_echo_n "checking for $ac_word... " >&6; }
7628
 
if ${ac_cv_prog_OTOOL+:} false; then :
7629
 
  $as_echo_n "(cached) " >&6
7630
 
else
7631
 
  if test -n "$OTOOL"; then
7632
 
  ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7633
 
else
7634
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7635
 
for as_dir in $PATH
7636
 
do
7637
 
  IFS=$as_save_IFS
7638
 
  test -z "$as_dir" && as_dir=.
7639
 
    for ac_exec_ext in '' $ac_executable_extensions; do
7640
 
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7641
 
    ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7642
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7643
 
    break 2
7644
 
  fi
7645
 
done
7646
 
  done
7647
 
IFS=$as_save_IFS
7648
 
 
7649
 
fi
7650
 
fi
7651
 
OTOOL=$ac_cv_prog_OTOOL
7652
 
if test -n "$OTOOL"; then
7653
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7654
 
$as_echo "$OTOOL" >&6; }
7655
 
else
7656
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7657
 
$as_echo "no" >&6; }
7658
 
fi
7659
 
 
7660
 
 
7661
 
fi
7662
 
if test -z "$ac_cv_prog_OTOOL"; then
7663
 
  ac_ct_OTOOL=$OTOOL
7664
 
  # Extract the first word of "otool", so it can be a program name with args.
7665
 
set dummy otool; ac_word=$2
7666
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7667
 
$as_echo_n "checking for $ac_word... " >&6; }
7668
 
if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7669
 
  $as_echo_n "(cached) " >&6
7670
 
else
7671
 
  if test -n "$ac_ct_OTOOL"; then
7672
 
  ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7673
 
else
7674
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7675
 
for as_dir in $PATH
7676
 
do
7677
 
  IFS=$as_save_IFS
7678
 
  test -z "$as_dir" && as_dir=.
7679
 
    for ac_exec_ext in '' $ac_executable_extensions; do
7680
 
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7681
 
    ac_cv_prog_ac_ct_OTOOL="otool"
7682
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7683
 
    break 2
7684
 
  fi
7685
 
done
7686
 
  done
7687
 
IFS=$as_save_IFS
7688
 
 
7689
 
fi
7690
 
fi
7691
 
ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7692
 
if test -n "$ac_ct_OTOOL"; then
7693
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7694
 
$as_echo "$ac_ct_OTOOL" >&6; }
7695
 
else
7696
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7697
 
$as_echo "no" >&6; }
7698
 
fi
7699
 
 
7700
 
  if test "x$ac_ct_OTOOL" = x; then
7701
 
    OTOOL=":"
7702
 
  else
7703
 
    case $cross_compiling:$ac_tool_warned in
7704
 
yes:)
7705
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7706
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7707
 
ac_tool_warned=yes ;;
7708
 
esac
7709
 
    OTOOL=$ac_ct_OTOOL
7710
 
  fi
7711
 
else
7712
 
  OTOOL="$ac_cv_prog_OTOOL"
7713
 
fi
7714
 
 
7715
 
    if test -n "$ac_tool_prefix"; then
7716
 
  # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7717
 
set dummy ${ac_tool_prefix}otool64; ac_word=$2
7718
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7719
 
$as_echo_n "checking for $ac_word... " >&6; }
7720
 
if ${ac_cv_prog_OTOOL64+:} false; then :
7721
 
  $as_echo_n "(cached) " >&6
7722
 
else
7723
 
  if test -n "$OTOOL64"; then
7724
 
  ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7725
 
else
7726
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7727
 
for as_dir in $PATH
7728
 
do
7729
 
  IFS=$as_save_IFS
7730
 
  test -z "$as_dir" && as_dir=.
7731
 
    for ac_exec_ext in '' $ac_executable_extensions; do
7732
 
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7733
 
    ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7734
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7735
 
    break 2
7736
 
  fi
7737
 
done
7738
 
  done
7739
 
IFS=$as_save_IFS
7740
 
 
7741
 
fi
7742
 
fi
7743
 
OTOOL64=$ac_cv_prog_OTOOL64
7744
 
if test -n "$OTOOL64"; then
7745
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7746
 
$as_echo "$OTOOL64" >&6; }
7747
 
else
7748
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7749
 
$as_echo "no" >&6; }
7750
 
fi
7751
 
 
7752
 
 
7753
 
fi
7754
 
if test -z "$ac_cv_prog_OTOOL64"; then
7755
 
  ac_ct_OTOOL64=$OTOOL64
7756
 
  # Extract the first word of "otool64", so it can be a program name with args.
7757
 
set dummy otool64; ac_word=$2
7758
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7759
 
$as_echo_n "checking for $ac_word... " >&6; }
7760
 
if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7761
 
  $as_echo_n "(cached) " >&6
7762
 
else
7763
 
  if test -n "$ac_ct_OTOOL64"; then
7764
 
  ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7765
 
else
7766
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7767
 
for as_dir in $PATH
7768
 
do
7769
 
  IFS=$as_save_IFS
7770
 
  test -z "$as_dir" && as_dir=.
7771
 
    for ac_exec_ext in '' $ac_executable_extensions; do
7772
 
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7773
 
    ac_cv_prog_ac_ct_OTOOL64="otool64"
7774
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7775
 
    break 2
7776
 
  fi
7777
 
done
7778
 
  done
7779
 
IFS=$as_save_IFS
7780
 
 
7781
 
fi
7782
 
fi
7783
 
ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7784
 
if test -n "$ac_ct_OTOOL64"; then
7785
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7786
 
$as_echo "$ac_ct_OTOOL64" >&6; }
7787
 
else
7788
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7789
 
$as_echo "no" >&6; }
7790
 
fi
7791
 
 
7792
 
  if test "x$ac_ct_OTOOL64" = x; then
7793
 
    OTOOL64=":"
7794
 
  else
7795
 
    case $cross_compiling:$ac_tool_warned in
7796
 
yes:)
7797
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7798
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7799
 
ac_tool_warned=yes ;;
7800
 
esac
7801
 
    OTOOL64=$ac_ct_OTOOL64
7802
 
  fi
7803
 
else
7804
 
  OTOOL64="$ac_cv_prog_OTOOL64"
7805
 
fi
7806
 
 
7807
 
 
7808
 
 
7809
 
 
7810
 
 
7811
 
 
7812
 
 
7813
 
 
7814
 
 
7815
 
 
7816
 
 
7817
 
 
7818
 
 
7819
 
 
7820
 
 
7821
 
 
7822
 
 
7823
 
 
7824
 
 
7825
 
 
7826
 
 
7827
 
 
7828
 
 
7829
 
 
7830
 
 
7831
 
 
7832
 
 
7833
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7834
 
$as_echo_n "checking for -single_module linker flag... " >&6; }
7835
 
if ${lt_cv_apple_cc_single_mod+:} false; then :
7836
 
  $as_echo_n "(cached) " >&6
7837
 
else
7838
 
  lt_cv_apple_cc_single_mod=no
7839
 
      if test -z "${LT_MULTI_MODULE}"; then
7840
 
        # By default we will add the -single_module flag. You can override
7841
 
        # by either setting the environment variable LT_MULTI_MODULE
7842
 
        # non-empty at configure time, or by adding -multi_module to the
7843
 
        # link flags.
7844
 
        rm -rf libconftest.dylib*
7845
 
        echo "int foo(void){return 1;}" > conftest.c
7846
 
        echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7847
 
-dynamiclib -Wl,-single_module conftest.c" >&5
7848
 
        $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7849
 
          -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7850
 
        _lt_result=$?
7851
 
        # If there is a non-empty error log, and "single_module"
7852
 
        # appears in it, assume the flag caused a linker warning
7853
 
        if test -s conftest.err && $GREP single_module conftest.err; then
7854
 
          cat conftest.err >&5
7855
 
        # Otherwise, if the output was created with a 0 exit code from
7856
 
        # the compiler, it worked.
7857
 
        elif test -f libconftest.dylib && test $_lt_result -eq 0; then
7858
 
          lt_cv_apple_cc_single_mod=yes
7859
 
        else
7860
 
          cat conftest.err >&5
7861
 
        fi
7862
 
        rm -rf libconftest.dylib*
7863
 
        rm -f conftest.*
7864
 
      fi
7865
 
fi
7866
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7867
 
$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7868
 
 
7869
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7870
 
$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7871
 
if ${lt_cv_ld_exported_symbols_list+:} false; then :
7872
 
  $as_echo_n "(cached) " >&6
7873
 
else
7874
 
  lt_cv_ld_exported_symbols_list=no
7875
 
      save_LDFLAGS=$LDFLAGS
7876
 
      echo "_main" > conftest.sym
7877
 
      LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7878
 
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7879
 
/* end confdefs.h.  */
7880
 
 
7881
 
int
7882
 
main ()
7883
 
{
7884
 
 
7885
 
  ;
7886
 
  return 0;
7887
 
}
7888
 
_ACEOF
7889
 
if ac_fn_c_try_link "$LINENO"; then :
7890
 
  lt_cv_ld_exported_symbols_list=yes
7891
 
else
7892
 
  lt_cv_ld_exported_symbols_list=no
7893
 
fi
7894
 
rm -f core conftest.err conftest.$ac_objext \
7895
 
    conftest$ac_exeext conftest.$ac_ext
7896
 
        LDFLAGS="$save_LDFLAGS"
7897
 
 
7898
 
fi
7899
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7900
 
$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7901
 
 
7902
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7903
 
$as_echo_n "checking for -force_load linker flag... " >&6; }
7904
 
if ${lt_cv_ld_force_load+:} false; then :
7905
 
  $as_echo_n "(cached) " >&6
7906
 
else
7907
 
  lt_cv_ld_force_load=no
7908
 
      cat > conftest.c << _LT_EOF
7909
 
int forced_loaded() { return 2;}
7910
 
_LT_EOF
7911
 
      echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7912
 
      $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7913
 
      echo "$AR cru libconftest.a conftest.o" >&5
7914
 
      $AR cru libconftest.a conftest.o 2>&5
7915
 
      echo "$RANLIB libconftest.a" >&5
7916
 
      $RANLIB libconftest.a 2>&5
7917
 
      cat > conftest.c << _LT_EOF
7918
 
int main() { return 0;}
7919
 
_LT_EOF
7920
 
      echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7921
 
      $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7922
 
      _lt_result=$?
7923
 
      if test -s conftest.err && $GREP force_load conftest.err; then
7924
 
        cat conftest.err >&5
7925
 
      elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
7926
 
        lt_cv_ld_force_load=yes
7927
 
      else
7928
 
        cat conftest.err >&5
7929
 
      fi
7930
 
        rm -f conftest.err libconftest.a conftest conftest.c
7931
 
        rm -rf conftest.dSYM
7932
 
 
7933
 
fi
7934
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7935
 
$as_echo "$lt_cv_ld_force_load" >&6; }
7936
 
    case $host_os in
7937
 
    rhapsody* | darwin1.[012])
7938
 
      _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7939
 
    darwin1.*)
7940
 
      _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7941
 
    darwin*) # darwin 5.x on
7942
 
      # if running on 10.5 or later, the deployment target defaults
7943
 
      # to the OS version, if on x86, and 10.4, the deployment
7944
 
      # target defaults to 10.4. Don't you love it?
7945
 
      case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7946
 
        10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7947
 
          _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7948
 
        10.[012]*)
7949
 
          _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7950
 
        10.*)
7951
 
          _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7952
 
      esac
7953
 
    ;;
7954
 
  esac
7955
 
    if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7956
 
      _lt_dar_single_mod='$single_module'
7957
 
    fi
7958
 
    if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7959
 
      _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7960
 
    else
7961
 
      _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7962
 
    fi
7963
 
    if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7964
 
      _lt_dsymutil='~$DSYMUTIL $lib || :'
7965
 
    else
7966
 
      _lt_dsymutil=
7967
 
    fi
7968
 
    ;;
7969
 
  esac
7970
 
 
7971
 
 
7972
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7973
 
$as_echo_n "checking for ANSI C header files... " >&6; }
7974
 
if ${ac_cv_header_stdc+:} false; then :
7975
 
  $as_echo_n "(cached) " >&6
7976
 
else
7977
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7978
 
/* end confdefs.h.  */
7979
 
#include <stdlib.h>
7980
 
#include <stdarg.h>
7981
 
#include <string.h>
7982
 
#include <float.h>
7983
 
 
7984
 
int
7985
 
main ()
7986
 
{
7987
 
 
7988
 
  ;
7989
 
  return 0;
7990
 
}
7991
 
_ACEOF
7992
 
if ac_fn_c_try_compile "$LINENO"; then :
7993
 
  ac_cv_header_stdc=yes
7994
 
else
7995
 
  ac_cv_header_stdc=no
7996
 
fi
7997
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7998
 
 
7999
 
if test $ac_cv_header_stdc = yes; then
8000
 
  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
8001
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8002
 
/* end confdefs.h.  */
8003
 
#include <string.h>
8004
 
 
8005
 
_ACEOF
8006
 
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8007
 
  $EGREP "memchr" >/dev/null 2>&1; then :
8008
 
 
8009
 
else
8010
 
  ac_cv_header_stdc=no
8011
 
fi
8012
 
rm -f conftest*
8013
 
 
8014
 
fi
8015
 
 
8016
 
if test $ac_cv_header_stdc = yes; then
8017
 
  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
8018
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8019
 
/* end confdefs.h.  */
8020
 
#include <stdlib.h>
8021
 
 
8022
 
_ACEOF
8023
 
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8024
 
  $EGREP "free" >/dev/null 2>&1; then :
8025
 
 
8026
 
else
8027
 
  ac_cv_header_stdc=no
8028
 
fi
8029
 
rm -f conftest*
8030
 
 
8031
 
fi
8032
 
 
8033
 
if test $ac_cv_header_stdc = yes; then
8034
 
  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
8035
 
  if test "$cross_compiling" = yes; then :
8036
 
  :
8037
 
else
8038
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8039
 
/* end confdefs.h.  */
8040
 
#include <ctype.h>
8041
 
#include <stdlib.h>
8042
 
#if ((' ' & 0x0FF) == 0x020)
8043
 
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
8044
 
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8045
 
#else
8046
 
# define ISLOWER(c) \
8047
 
                   (('a' <= (c) && (c) <= 'i') \
8048
 
                     || ('j' <= (c) && (c) <= 'r') \
8049
 
                     || ('s' <= (c) && (c) <= 'z'))
8050
 
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
8051
 
#endif
8052
 
 
8053
 
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
8054
 
int
8055
 
main ()
8056
 
{
8057
 
  int i;
8058
 
  for (i = 0; i < 256; i++)
8059
 
    if (XOR (islower (i), ISLOWER (i))
8060
 
        || toupper (i) != TOUPPER (i))
8061
 
      return 2;
8062
 
  return 0;
8063
 
}
8064
 
_ACEOF
8065
 
if ac_fn_c_try_run "$LINENO"; then :
8066
 
 
8067
 
else
8068
 
  ac_cv_header_stdc=no
8069
 
fi
8070
 
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8071
 
  conftest.$ac_objext conftest.beam conftest.$ac_ext
8072
 
fi
8073
 
 
8074
 
fi
8075
 
fi
8076
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
8077
 
$as_echo "$ac_cv_header_stdc" >&6; }
8078
 
if test $ac_cv_header_stdc = yes; then
8079
 
 
8080
 
$as_echo "#define STDC_HEADERS 1" >>confdefs.h
8081
 
 
8082
 
fi
8083
 
 
8084
 
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
8085
 
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
8086
 
                  inttypes.h stdint.h unistd.h
8087
 
do :
8088
 
  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8089
 
ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
8090
 
"
8091
 
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
8092
 
  cat >>confdefs.h <<_ACEOF
8093
 
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8094
 
_ACEOF
8095
 
 
8096
 
fi
8097
 
 
8098
 
done
8099
 
 
8100
 
 
8101
 
for ac_header in dlfcn.h
8102
 
do :
8103
 
  ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8104
 
"
8105
 
if test "x$ac_cv_header_dlfcn_h" = xyes; then :
8106
 
  cat >>confdefs.h <<_ACEOF
8107
 
#define HAVE_DLFCN_H 1
8108
 
_ACEOF
8109
 
 
8110
 
fi
8111
 
 
8112
 
done
8113
 
 
8114
 
 
8115
 
 
8116
 
func_stripname_cnf ()
8117
 
{
8118
 
  case ${2} in
8119
 
  .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
8120
 
  *)  func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
8121
 
  esac
8122
 
} # func_stripname_cnf
8123
 
 
8124
 
 
8125
 
 
8126
 
 
8127
 
 
8128
 
# Set options
8129
 
 
8130
 
 
8131
 
 
8132
 
        enable_dlopen=no
8133
 
 
8134
 
 
8135
 
  enable_win32_dll=no
8136
 
 
8137
 
 
8138
 
            # Check whether --enable-shared was given.
8139
 
if test "${enable_shared+set}" = set; then :
8140
 
  enableval=$enable_shared; p=${PACKAGE-default}
8141
 
    case $enableval in
8142
 
    yes) enable_shared=yes ;;
8143
 
    no) enable_shared=no ;;
8144
 
    *)
8145
 
      enable_shared=no
8146
 
      # Look at the argument we got.  We use all the common list separators.
8147
 
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8148
 
      for pkg in $enableval; do
8149
 
        IFS="$lt_save_ifs"
8150
 
        if test "X$pkg" = "X$p"; then
8151
 
          enable_shared=yes
8152
 
        fi
8153
 
      done
8154
 
      IFS="$lt_save_ifs"
8155
 
      ;;
8156
 
    esac
8157
 
else
8158
 
  enable_shared=yes
8159
 
fi
8160
 
 
8161
 
 
8162
 
 
8163
 
 
8164
 
 
8165
 
 
8166
 
 
8167
 
 
8168
 
 
8169
 
  # Check whether --enable-static was given.
8170
 
if test "${enable_static+set}" = set; then :
8171
 
  enableval=$enable_static; p=${PACKAGE-default}
8172
 
    case $enableval in
8173
 
    yes) enable_static=yes ;;
8174
 
    no) enable_static=no ;;
8175
 
    *)
8176
 
     enable_static=no
8177
 
      # Look at the argument we got.  We use all the common list separators.
8178
 
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8179
 
      for pkg in $enableval; do
8180
 
        IFS="$lt_save_ifs"
8181
 
        if test "X$pkg" = "X$p"; then
8182
 
          enable_static=yes
8183
 
        fi
8184
 
      done
8185
 
      IFS="$lt_save_ifs"
8186
 
      ;;
8187
 
    esac
8188
 
else
8189
 
  enable_static=yes
8190
 
fi
8191
 
 
8192
 
 
8193
 
 
8194
 
 
8195
 
 
8196
 
 
8197
 
 
8198
 
 
8199
 
 
8200
 
 
8201
 
# Check whether --with-pic was given.
8202
 
if test "${with_pic+set}" = set; then :
8203
 
  withval=$with_pic; lt_p=${PACKAGE-default}
8204
 
    case $withval in
8205
 
    yes|no) pic_mode=$withval ;;
8206
 
    *)
8207
 
      pic_mode=default
8208
 
      # Look at the argument we got.  We use all the common list separators.
8209
 
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8210
 
      for lt_pkg in $withval; do
8211
 
        IFS="$lt_save_ifs"
8212
 
        if test "X$lt_pkg" = "X$lt_p"; then
8213
 
          pic_mode=yes
8214
 
        fi
8215
 
      done
8216
 
      IFS="$lt_save_ifs"
8217
 
      ;;
8218
 
    esac
8219
 
else
8220
 
  pic_mode=default
8221
 
fi
8222
 
 
8223
 
 
8224
 
test -z "$pic_mode" && pic_mode=default
8225
 
 
8226
 
 
8227
 
 
8228
 
 
8229
 
 
8230
 
 
8231
 
 
8232
 
  # Check whether --enable-fast-install was given.
8233
 
if test "${enable_fast_install+set}" = set; then :
8234
 
  enableval=$enable_fast_install; p=${PACKAGE-default}
8235
 
    case $enableval in
8236
 
    yes) enable_fast_install=yes ;;
8237
 
    no) enable_fast_install=no ;;
8238
 
    *)
8239
 
      enable_fast_install=no
8240
 
      # Look at the argument we got.  We use all the common list separators.
8241
 
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8242
 
      for pkg in $enableval; do
8243
 
        IFS="$lt_save_ifs"
8244
 
        if test "X$pkg" = "X$p"; then
8245
 
          enable_fast_install=yes
8246
 
        fi
8247
 
      done
8248
 
      IFS="$lt_save_ifs"
8249
 
      ;;
8250
 
    esac
8251
 
else
8252
 
  enable_fast_install=yes
8253
 
fi
8254
 
 
8255
 
 
8256
 
 
8257
 
 
8258
 
 
8259
 
 
8260
 
 
8261
 
 
8262
 
 
8263
 
 
8264
 
 
8265
 
# This can be used to rebuild libtool when needed
8266
 
LIBTOOL_DEPS="$ltmain"
8267
 
 
8268
 
# Always use our own libtool.
8269
 
LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8270
 
 
8271
 
 
8272
 
 
8273
 
 
8274
 
 
8275
 
 
8276
 
 
8277
 
 
8278
 
 
8279
 
 
8280
 
 
8281
 
 
8282
 
 
8283
 
 
8284
 
 
8285
 
 
8286
 
 
8287
 
 
8288
 
 
8289
 
 
8290
 
 
8291
 
 
8292
 
 
8293
 
 
8294
 
 
8295
 
 
8296
 
 
8297
 
 
8298
 
 
8299
 
 
8300
 
test -z "$LN_S" && LN_S="ln -s"
8301
 
 
8302
 
 
8303
 
 
8304
 
 
8305
 
 
8306
 
 
8307
 
 
8308
 
 
8309
 
 
8310
 
 
8311
 
 
8312
 
 
8313
 
 
8314
 
 
8315
 
if test -n "${ZSH_VERSION+set}" ; then
8316
 
   setopt NO_GLOB_SUBST
8317
 
fi
8318
 
 
8319
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8320
 
$as_echo_n "checking for objdir... " >&6; }
8321
 
if ${lt_cv_objdir+:} false; then :
8322
 
  $as_echo_n "(cached) " >&6
8323
 
else
8324
 
  rm -f .libs 2>/dev/null
8325
 
mkdir .libs 2>/dev/null
8326
 
if test -d .libs; then
8327
 
  lt_cv_objdir=.libs
8328
 
else
8329
 
  # MS-DOS does not allow filenames that begin with a dot.
8330
 
  lt_cv_objdir=_libs
8331
 
fi
8332
 
rmdir .libs 2>/dev/null
8333
 
fi
8334
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8335
 
$as_echo "$lt_cv_objdir" >&6; }
8336
 
objdir=$lt_cv_objdir
8337
 
 
8338
 
 
8339
 
 
8340
 
 
8341
 
 
8342
 
cat >>confdefs.h <<_ACEOF
8343
 
#define LT_OBJDIR "$lt_cv_objdir/"
8344
 
_ACEOF
8345
 
 
8346
 
 
8347
 
 
8348
 
 
8349
 
case $host_os in
8350
 
aix3*)
8351
 
  # AIX sometimes has problems with the GCC collect2 program.  For some
8352
 
  # reason, if we set the COLLECT_NAMES environment variable, the problems
8353
 
  # vanish in a puff of smoke.
8354
 
  if test "X${COLLECT_NAMES+set}" != Xset; then
8355
 
    COLLECT_NAMES=
8356
 
    export COLLECT_NAMES
8357
 
  fi
8358
 
  ;;
8359
 
esac
8360
 
 
8361
 
# Global variables:
8362
 
ofile=libtool
8363
 
can_build_shared=yes
8364
 
 
8365
 
# All known linkers require a `.a' archive for static linking (except MSVC,
8366
 
# which needs '.lib').
8367
 
libext=a
8368
 
 
8369
 
with_gnu_ld="$lt_cv_prog_gnu_ld"
8370
 
 
8371
 
old_CC="$CC"
8372
 
old_CFLAGS="$CFLAGS"
8373
 
 
8374
 
# Set sane defaults for various variables
8375
 
test -z "$CC" && CC=cc
8376
 
test -z "$LTCC" && LTCC=$CC
8377
 
test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8378
 
test -z "$LD" && LD=ld
8379
 
test -z "$ac_objext" && ac_objext=o
8380
 
 
8381
 
for cc_temp in $compiler""; do
8382
 
  case $cc_temp in
8383
 
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8384
 
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8385
 
    \-*) ;;
8386
 
    *) break;;
8387
 
  esac
8388
 
done
8389
 
cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8390
 
 
8391
 
 
8392
 
# Only perform the check for file, if the check method requires it
8393
 
test -z "$MAGIC_CMD" && MAGIC_CMD=file
8394
 
case $deplibs_check_method in
8395
 
file_magic*)
8396
 
  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8397
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8398
 
$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8399
 
if ${lt_cv_path_MAGIC_CMD+:} false; then :
8400
 
  $as_echo_n "(cached) " >&6
8401
 
else
8402
 
  case $MAGIC_CMD in
8403
 
[\\/*] |  ?:[\\/]*)
8404
 
  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8405
 
  ;;
8406
 
*)
8407
 
  lt_save_MAGIC_CMD="$MAGIC_CMD"
8408
 
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8409
 
  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8410
 
  for ac_dir in $ac_dummy; do
8411
 
    IFS="$lt_save_ifs"
8412
 
    test -z "$ac_dir" && ac_dir=.
8413
 
    if test -f $ac_dir/${ac_tool_prefix}file; then
8414
 
      lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8415
 
      if test -n "$file_magic_test_file"; then
8416
 
        case $deplibs_check_method in
8417
 
        "file_magic "*)
8418
 
          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8419
 
          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8420
 
          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8421
 
            $EGREP "$file_magic_regex" > /dev/null; then
8422
 
            :
8423
 
          else
8424
 
            cat <<_LT_EOF 1>&2
8425
 
 
8426
 
*** Warning: the command libtool uses to detect shared libraries,
8427
 
*** $file_magic_cmd, produces output that libtool cannot recognize.
8428
 
*** The result is that libtool may fail to recognize shared libraries
8429
 
*** as such.  This will affect the creation of libtool libraries that
8430
 
*** depend on shared libraries, but programs linked with such libtool
8431
 
*** libraries will work regardless of this problem.  Nevertheless, you
8432
 
*** may want to report the problem to your system manager and/or to
8433
 
*** bug-libtool@gnu.org
8434
 
 
8435
 
_LT_EOF
8436
 
          fi ;;
8437
 
        esac
8438
 
      fi
8439
 
      break
8440
 
    fi
8441
 
  done
8442
 
  IFS="$lt_save_ifs"
8443
 
  MAGIC_CMD="$lt_save_MAGIC_CMD"
8444
 
  ;;
8445
 
esac
8446
 
fi
8447
 
 
8448
 
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8449
 
if test -n "$MAGIC_CMD"; then
8450
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8451
 
$as_echo "$MAGIC_CMD" >&6; }
8452
 
else
8453
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8454
 
$as_echo "no" >&6; }
8455
 
fi
8456
 
 
8457
 
 
8458
 
 
8459
 
 
8460
 
 
8461
 
if test -z "$lt_cv_path_MAGIC_CMD"; then
8462
 
  if test -n "$ac_tool_prefix"; then
8463
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8464
 
$as_echo_n "checking for file... " >&6; }
8465
 
if ${lt_cv_path_MAGIC_CMD+:} false; then :
8466
 
  $as_echo_n "(cached) " >&6
8467
 
else
8468
 
  case $MAGIC_CMD in
8469
 
[\\/*] |  ?:[\\/]*)
8470
 
  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8471
 
  ;;
8472
 
*)
8473
 
  lt_save_MAGIC_CMD="$MAGIC_CMD"
8474
 
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8475
 
  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8476
 
  for ac_dir in $ac_dummy; do
8477
 
    IFS="$lt_save_ifs"
8478
 
    test -z "$ac_dir" && ac_dir=.
8479
 
    if test -f $ac_dir/file; then
8480
 
      lt_cv_path_MAGIC_CMD="$ac_dir/file"
8481
 
      if test -n "$file_magic_test_file"; then
8482
 
        case $deplibs_check_method in
8483
 
        "file_magic "*)
8484
 
          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8485
 
          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8486
 
          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8487
 
            $EGREP "$file_magic_regex" > /dev/null; then
8488
 
            :
8489
 
          else
8490
 
            cat <<_LT_EOF 1>&2
8491
 
 
8492
 
*** Warning: the command libtool uses to detect shared libraries,
8493
 
*** $file_magic_cmd, produces output that libtool cannot recognize.
8494
 
*** The result is that libtool may fail to recognize shared libraries
8495
 
*** as such.  This will affect the creation of libtool libraries that
8496
 
*** depend on shared libraries, but programs linked with such libtool
8497
 
*** libraries will work regardless of this problem.  Nevertheless, you
8498
 
*** may want to report the problem to your system manager and/or to
8499
 
*** bug-libtool@gnu.org
8500
 
 
8501
 
_LT_EOF
8502
 
          fi ;;
8503
 
        esac
8504
 
      fi
8505
 
      break
8506
 
    fi
8507
 
  done
8508
 
  IFS="$lt_save_ifs"
8509
 
  MAGIC_CMD="$lt_save_MAGIC_CMD"
8510
 
  ;;
8511
 
esac
8512
 
fi
8513
 
 
8514
 
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8515
 
if test -n "$MAGIC_CMD"; then
8516
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8517
 
$as_echo "$MAGIC_CMD" >&6; }
8518
 
else
8519
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8520
 
$as_echo "no" >&6; }
8521
 
fi
8522
 
 
8523
 
 
8524
 
  else
8525
 
    MAGIC_CMD=:
8526
 
  fi
8527
 
fi
8528
 
 
8529
 
  fi
8530
 
  ;;
8531
 
esac
8532
 
 
8533
 
# Use C for the default configuration in the libtool script
8534
 
 
8535
 
lt_save_CC="$CC"
8536
 
ac_ext=c
8537
 
ac_cpp='$CPP $CPPFLAGS'
8538
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8539
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8540
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
8541
 
 
8542
 
 
8543
 
# Source file extension for C test sources.
8544
 
ac_ext=c
8545
 
 
8546
 
# Object file extension for compiled C test sources.
8547
 
objext=o
8548
 
objext=$objext
8549
 
 
8550
 
# Code to be used in simple compile tests
8551
 
lt_simple_compile_test_code="int some_variable = 0;"
8552
 
 
8553
 
# Code to be used in simple link tests
8554
 
lt_simple_link_test_code='int main(){return(0);}'
8555
 
 
8556
 
 
8557
 
 
8558
 
 
8559
 
 
8560
 
 
8561
 
 
8562
 
# If no C compiler was specified, use CC.
8563
 
LTCC=${LTCC-"$CC"}
8564
 
 
8565
 
# If no C compiler flags were specified, use CFLAGS.
8566
 
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8567
 
 
8568
 
# Allow CC to be a program name with arguments.
8569
 
compiler=$CC
8570
 
 
8571
 
# Save the default compiler, since it gets overwritten when the other
8572
 
# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8573
 
compiler_DEFAULT=$CC
8574
 
 
8575
 
# save warnings/boilerplate of simple test code
8576
 
ac_outfile=conftest.$ac_objext
8577
 
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8578
 
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8579
 
_lt_compiler_boilerplate=`cat conftest.err`
8580
 
$RM conftest*
8581
 
 
8582
 
ac_outfile=conftest.$ac_objext
8583
 
echo "$lt_simple_link_test_code" >conftest.$ac_ext
8584
 
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8585
 
_lt_linker_boilerplate=`cat conftest.err`
8586
 
$RM -r conftest*
8587
 
 
8588
 
 
8589
 
## CAVEAT EMPTOR:
8590
 
## There is no encapsulation within the following macros, do not change
8591
 
## the running order or otherwise move them around unless you know exactly
8592
 
## what you are doing...
8593
 
if test -n "$compiler"; then
8594
 
 
8595
 
lt_prog_compiler_no_builtin_flag=
8596
 
 
8597
 
if test "$GCC" = yes; then
8598
 
  case $cc_basename in
8599
 
  nvcc*)
8600
 
    lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8601
 
  *)
8602
 
    lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8603
 
  esac
8604
 
 
8605
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8606
 
$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8607
 
if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8608
 
  $as_echo_n "(cached) " >&6
8609
 
else
8610
 
  lt_cv_prog_compiler_rtti_exceptions=no
8611
 
   ac_outfile=conftest.$ac_objext
8612
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8613
 
   lt_compiler_flag="-fno-rtti -fno-exceptions"
8614
 
   # Insert the option either (1) after the last *FLAGS variable, or
8615
 
   # (2) before a word containing "conftest.", or (3) at the end.
8616
 
   # Note that $ac_compile itself does not contain backslashes and begins
8617
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
8618
 
   # The option is referenced via a variable to avoid confusing sed.
8619
 
   lt_compile=`echo "$ac_compile" | $SED \
8620
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8621
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8622
 
   -e 's:$: $lt_compiler_flag:'`
8623
 
   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8624
 
   (eval "$lt_compile" 2>conftest.err)
8625
 
   ac_status=$?
8626
 
   cat conftest.err >&5
8627
 
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8628
 
   if (exit $ac_status) && test -s "$ac_outfile"; then
8629
 
     # The compiler can only warn and ignore the option if not recognized
8630
 
     # So say no if there are warnings other than the usual output.
8631
 
     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8632
 
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8633
 
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8634
 
       lt_cv_prog_compiler_rtti_exceptions=yes
8635
 
     fi
8636
 
   fi
8637
 
   $RM conftest*
8638
 
 
8639
 
fi
8640
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8641
 
$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8642
 
 
8643
 
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8644
 
    lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8645
 
else
8646
 
    :
8647
 
fi
8648
 
 
8649
 
fi
8650
 
 
8651
 
 
8652
 
 
8653
 
 
8654
 
 
8655
 
 
8656
 
  lt_prog_compiler_wl=
8657
 
lt_prog_compiler_pic=
8658
 
lt_prog_compiler_static=
8659
 
 
8660
 
 
8661
 
  if test "$GCC" = yes; then
8662
 
    lt_prog_compiler_wl='-Wl,'
8663
 
    lt_prog_compiler_static='-static'
8664
 
 
8665
 
    case $host_os in
8666
 
      aix*)
8667
 
      # All AIX code is PIC.
8668
 
      if test "$host_cpu" = ia64; then
8669
 
        # AIX 5 now supports IA64 processor
8670
 
        lt_prog_compiler_static='-Bstatic'
8671
 
      fi
8672
 
      ;;
8673
 
 
8674
 
    amigaos*)
8675
 
      case $host_cpu in
8676
 
      powerpc)
8677
 
            # see comment about AmigaOS4 .so support
8678
 
            lt_prog_compiler_pic='-fPIC'
8679
 
        ;;
8680
 
      m68k)
8681
 
            # FIXME: we need at least 68020 code to build shared libraries, but
8682
 
            # adding the `-m68020' flag to GCC prevents building anything better,
8683
 
            # like `-m68040'.
8684
 
            lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8685
 
        ;;
8686
 
      esac
8687
 
      ;;
8688
 
 
8689
 
    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8690
 
      # PIC is the default for these OSes.
8691
 
      ;;
8692
 
 
8693
 
    mingw* | cygwin* | pw32* | os2* | cegcc*)
8694
 
      # This hack is so that the source file can tell whether it is being
8695
 
      # built for inclusion in a dll (and should export symbols for example).
8696
 
      # Although the cygwin gcc ignores -fPIC, still need this for old-style
8697
 
      # (--disable-auto-import) libraries
8698
 
      lt_prog_compiler_pic='-DDLL_EXPORT'
8699
 
      ;;
8700
 
 
8701
 
    darwin* | rhapsody*)
8702
 
      # PIC is the default on this platform
8703
 
      # Common symbols not allowed in MH_DYLIB files
8704
 
      lt_prog_compiler_pic='-fno-common'
8705
 
      ;;
8706
 
 
8707
 
    haiku*)
8708
 
      # PIC is the default for Haiku.
8709
 
      # The "-static" flag exists, but is broken.
8710
 
      lt_prog_compiler_static=
8711
 
      ;;
8712
 
 
8713
 
    hpux*)
8714
 
      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8715
 
      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
8716
 
      # sets the default TLS model and affects inlining.
8717
 
      case $host_cpu in
8718
 
      hppa*64*)
8719
 
        # +Z the default
8720
 
        ;;
8721
 
      *)
8722
 
        lt_prog_compiler_pic='-fPIC'
8723
 
        ;;
8724
 
      esac
8725
 
      ;;
8726
 
 
8727
 
    interix[3-9]*)
8728
 
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8729
 
      # Instead, we relocate shared libraries at runtime.
8730
 
      ;;
8731
 
 
8732
 
    msdosdjgpp*)
8733
 
      # Just because we use GCC doesn't mean we suddenly get shared libraries
8734
 
      # on systems that don't support them.
8735
 
      lt_prog_compiler_can_build_shared=no
8736
 
      enable_shared=no
8737
 
      ;;
8738
 
 
8739
 
    *nto* | *qnx*)
8740
 
      # QNX uses GNU C++, but need to define -shared option too, otherwise
8741
 
      # it will coredump.
8742
 
      lt_prog_compiler_pic='-fPIC -shared'
8743
 
      ;;
8744
 
 
8745
 
    sysv4*MP*)
8746
 
      if test -d /usr/nec; then
8747
 
        lt_prog_compiler_pic=-Kconform_pic
8748
 
      fi
8749
 
      ;;
8750
 
 
8751
 
    *)
8752
 
      lt_prog_compiler_pic='-fPIC'
8753
 
      ;;
8754
 
    esac
8755
 
 
8756
 
    case $cc_basename in
8757
 
    nvcc*) # Cuda Compiler Driver 2.2
8758
 
      lt_prog_compiler_wl='-Xlinker '
8759
 
      if test -n "$lt_prog_compiler_pic"; then
8760
 
        lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
8761
 
      fi
8762
 
      ;;
8763
 
    esac
8764
 
  else
8765
 
    # PORTME Check for flag to pass linker flags through the system compiler.
8766
 
    case $host_os in
8767
 
    aix*)
8768
 
      lt_prog_compiler_wl='-Wl,'
8769
 
      if test "$host_cpu" = ia64; then
8770
 
        # AIX 5 now supports IA64 processor
8771
 
        lt_prog_compiler_static='-Bstatic'
8772
 
      else
8773
 
        lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8774
 
      fi
8775
 
      ;;
8776
 
 
8777
 
    mingw* | cygwin* | pw32* | os2* | cegcc*)
8778
 
      # This hack is so that the source file can tell whether it is being
8779
 
      # built for inclusion in a dll (and should export symbols for example).
8780
 
      lt_prog_compiler_pic='-DDLL_EXPORT'
8781
 
      ;;
8782
 
 
8783
 
    hpux9* | hpux10* | hpux11*)
8784
 
      lt_prog_compiler_wl='-Wl,'
8785
 
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8786
 
      # not for PA HP-UX.
8787
 
      case $host_cpu in
8788
 
      hppa*64*|ia64*)
8789
 
        # +Z the default
8790
 
        ;;
8791
 
      *)
8792
 
        lt_prog_compiler_pic='+Z'
8793
 
        ;;
8794
 
      esac
8795
 
      # Is there a better lt_prog_compiler_static that works with the bundled CC?
8796
 
      lt_prog_compiler_static='${wl}-a ${wl}archive'
8797
 
      ;;
8798
 
 
8799
 
    irix5* | irix6* | nonstopux*)
8800
 
      lt_prog_compiler_wl='-Wl,'
8801
 
      # PIC (with -KPIC) is the default.
8802
 
      lt_prog_compiler_static='-non_shared'
8803
 
      ;;
8804
 
 
8805
 
    linux* | k*bsd*-gnu | kopensolaris*-gnu)
8806
 
      case $cc_basename in
8807
 
      # old Intel for x86_64 which still supported -KPIC.
8808
 
      ecc*)
8809
 
        lt_prog_compiler_wl='-Wl,'
8810
 
        lt_prog_compiler_pic='-KPIC'
8811
 
        lt_prog_compiler_static='-static'
8812
 
        ;;
8813
 
      # icc used to be incompatible with GCC.
8814
 
      # ICC 10 doesn't accept -KPIC any more.
8815
 
      icc* | ifort*)
8816
 
        lt_prog_compiler_wl='-Wl,'
8817
 
        lt_prog_compiler_pic='-fPIC'
8818
 
        lt_prog_compiler_static='-static'
8819
 
        ;;
8820
 
      # Lahey Fortran 8.1.
8821
 
      lf95*)
8822
 
        lt_prog_compiler_wl='-Wl,'
8823
 
        lt_prog_compiler_pic='--shared'
8824
 
        lt_prog_compiler_static='--static'
8825
 
        ;;
8826
 
      nagfor*)
8827
 
        # NAG Fortran compiler
8828
 
        lt_prog_compiler_wl='-Wl,-Wl,,'
8829
 
        lt_prog_compiler_pic='-PIC'
8830
 
        lt_prog_compiler_static='-Bstatic'
8831
 
        ;;
8832
 
      pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8833
 
        # Portland Group compilers (*not* the Pentium gcc compiler,
8834
 
        # which looks to be a dead project)
8835
 
        lt_prog_compiler_wl='-Wl,'
8836
 
        lt_prog_compiler_pic='-fpic'
8837
 
        lt_prog_compiler_static='-Bstatic'
8838
 
        ;;
8839
 
      ccc*)
8840
 
        lt_prog_compiler_wl='-Wl,'
8841
 
        # All Alpha code is PIC.
8842
 
        lt_prog_compiler_static='-non_shared'
8843
 
        ;;
8844
 
      xl* | bgxl* | bgf* | mpixl*)
8845
 
        # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8846
 
        lt_prog_compiler_wl='-Wl,'
8847
 
        lt_prog_compiler_pic='-qpic'
8848
 
        lt_prog_compiler_static='-qstaticlink'
8849
 
        ;;
8850
 
      *)
8851
 
        case `$CC -V 2>&1 | sed 5q` in
8852
 
        *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
8853
 
          # Sun Fortran 8.3 passes all unrecognized flags to the linker
8854
 
          lt_prog_compiler_pic='-KPIC'
8855
 
          lt_prog_compiler_static='-Bstatic'
8856
 
          lt_prog_compiler_wl=''
8857
 
          ;;
8858
 
        *Sun\ F* | *Sun*Fortran*)
8859
 
          lt_prog_compiler_pic='-KPIC'
8860
 
          lt_prog_compiler_static='-Bstatic'
8861
 
          lt_prog_compiler_wl='-Qoption ld '
8862
 
          ;;
8863
 
        *Sun\ C*)
8864
 
          # Sun C 5.9
8865
 
          lt_prog_compiler_pic='-KPIC'
8866
 
          lt_prog_compiler_static='-Bstatic'
8867
 
          lt_prog_compiler_wl='-Wl,'
8868
 
          ;;
8869
 
        *Intel*\ [CF]*Compiler*)
8870
 
          lt_prog_compiler_wl='-Wl,'
8871
 
          lt_prog_compiler_pic='-fPIC'
8872
 
          lt_prog_compiler_static='-static'
8873
 
          ;;
8874
 
        *Portland\ Group*)
8875
 
          lt_prog_compiler_wl='-Wl,'
8876
 
          lt_prog_compiler_pic='-fpic'
8877
 
          lt_prog_compiler_static='-Bstatic'
8878
 
          ;;
8879
 
        esac
8880
 
        ;;
8881
 
      esac
8882
 
      ;;
8883
 
 
8884
 
    newsos6)
8885
 
      lt_prog_compiler_pic='-KPIC'
8886
 
      lt_prog_compiler_static='-Bstatic'
8887
 
      ;;
8888
 
 
8889
 
    *nto* | *qnx*)
8890
 
      # QNX uses GNU C++, but need to define -shared option too, otherwise
8891
 
      # it will coredump.
8892
 
      lt_prog_compiler_pic='-fPIC -shared'
8893
 
      ;;
8894
 
 
8895
 
    osf3* | osf4* | osf5*)
8896
 
      lt_prog_compiler_wl='-Wl,'
8897
 
      # All OSF/1 code is PIC.
8898
 
      lt_prog_compiler_static='-non_shared'
8899
 
      ;;
8900
 
 
8901
 
    rdos*)
8902
 
      lt_prog_compiler_static='-non_shared'
8903
 
      ;;
8904
 
 
8905
 
    solaris*)
8906
 
      lt_prog_compiler_pic='-KPIC'
8907
 
      lt_prog_compiler_static='-Bstatic'
8908
 
      case $cc_basename in
8909
 
      f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
8910
 
        lt_prog_compiler_wl='-Qoption ld ';;
8911
 
      *)
8912
 
        lt_prog_compiler_wl='-Wl,';;
8913
 
      esac
8914
 
      ;;
8915
 
 
8916
 
    sunos4*)
8917
 
      lt_prog_compiler_wl='-Qoption ld '
8918
 
      lt_prog_compiler_pic='-PIC'
8919
 
      lt_prog_compiler_static='-Bstatic'
8920
 
      ;;
8921
 
 
8922
 
    sysv4 | sysv4.2uw2* | sysv4.3*)
8923
 
      lt_prog_compiler_wl='-Wl,'
8924
 
      lt_prog_compiler_pic='-KPIC'
8925
 
      lt_prog_compiler_static='-Bstatic'
8926
 
      ;;
8927
 
 
8928
 
    sysv4*MP*)
8929
 
      if test -d /usr/nec ;then
8930
 
        lt_prog_compiler_pic='-Kconform_pic'
8931
 
        lt_prog_compiler_static='-Bstatic'
8932
 
      fi
8933
 
      ;;
8934
 
 
8935
 
    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8936
 
      lt_prog_compiler_wl='-Wl,'
8937
 
      lt_prog_compiler_pic='-KPIC'
8938
 
      lt_prog_compiler_static='-Bstatic'
8939
 
      ;;
8940
 
 
8941
 
    unicos*)
8942
 
      lt_prog_compiler_wl='-Wl,'
8943
 
      lt_prog_compiler_can_build_shared=no
8944
 
      ;;
8945
 
 
8946
 
    uts4*)
8947
 
      lt_prog_compiler_pic='-pic'
8948
 
      lt_prog_compiler_static='-Bstatic'
8949
 
      ;;
8950
 
 
8951
 
    *)
8952
 
      lt_prog_compiler_can_build_shared=no
8953
 
      ;;
8954
 
    esac
8955
 
  fi
8956
 
 
8957
 
case $host_os in
8958
 
  # For platforms which do not support PIC, -DPIC is meaningless:
8959
 
  *djgpp*)
8960
 
    lt_prog_compiler_pic=
8961
 
    ;;
8962
 
  *)
8963
 
    lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8964
 
    ;;
8965
 
esac
8966
 
 
8967
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8968
 
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8969
 
if ${lt_cv_prog_compiler_pic+:} false; then :
8970
 
  $as_echo_n "(cached) " >&6
8971
 
else
8972
 
  lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
8973
 
fi
8974
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8975
 
$as_echo "$lt_cv_prog_compiler_pic" >&6; }
8976
 
lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
8977
 
 
8978
 
#
8979
 
# Check to make sure the PIC flag actually works.
8980
 
#
8981
 
if test -n "$lt_prog_compiler_pic"; then
8982
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8983
 
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8984
 
if ${lt_cv_prog_compiler_pic_works+:} false; then :
8985
 
  $as_echo_n "(cached) " >&6
8986
 
else
8987
 
  lt_cv_prog_compiler_pic_works=no
8988
 
   ac_outfile=conftest.$ac_objext
8989
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8990
 
   lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8991
 
   # Insert the option either (1) after the last *FLAGS variable, or
8992
 
   # (2) before a word containing "conftest.", or (3) at the end.
8993
 
   # Note that $ac_compile itself does not contain backslashes and begins
8994
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
8995
 
   # The option is referenced via a variable to avoid confusing sed.
8996
 
   lt_compile=`echo "$ac_compile" | $SED \
8997
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8998
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8999
 
   -e 's:$: $lt_compiler_flag:'`
9000
 
   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9001
 
   (eval "$lt_compile" 2>conftest.err)
9002
 
   ac_status=$?
9003
 
   cat conftest.err >&5
9004
 
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9005
 
   if (exit $ac_status) && test -s "$ac_outfile"; then
9006
 
     # The compiler can only warn and ignore the option if not recognized
9007
 
     # So say no if there are warnings other than the usual output.
9008
 
     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9009
 
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9010
 
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9011
 
       lt_cv_prog_compiler_pic_works=yes
9012
 
     fi
9013
 
   fi
9014
 
   $RM conftest*
9015
 
 
9016
 
fi
9017
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9018
 
$as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9019
 
 
9020
 
if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
9021
 
    case $lt_prog_compiler_pic in
9022
 
     "" | " "*) ;;
9023
 
     *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
9024
 
     esac
9025
 
else
9026
 
    lt_prog_compiler_pic=
9027
 
     lt_prog_compiler_can_build_shared=no
9028
 
fi
9029
 
 
9030
 
fi
9031
 
 
9032
 
 
9033
 
 
9034
 
 
9035
 
 
9036
 
 
9037
 
 
9038
 
 
9039
 
 
9040
 
 
9041
 
 
9042
 
#
9043
 
# Check to make sure the static flag actually works.
9044
 
#
9045
 
wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9046
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9047
 
$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9048
 
if ${lt_cv_prog_compiler_static_works+:} false; then :
9049
 
  $as_echo_n "(cached) " >&6
9050
 
else
9051
 
  lt_cv_prog_compiler_static_works=no
9052
 
   save_LDFLAGS="$LDFLAGS"
9053
 
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
9054
 
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
9055
 
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9056
 
     # The linker can only warn and ignore the option if not recognized
9057
 
     # So say no if there are warnings
9058
 
     if test -s conftest.err; then
9059
 
       # Append any errors to the config.log.
9060
 
       cat conftest.err 1>&5
9061
 
       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9062
 
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9063
 
       if diff conftest.exp conftest.er2 >/dev/null; then
9064
 
         lt_cv_prog_compiler_static_works=yes
9065
 
       fi
9066
 
     else
9067
 
       lt_cv_prog_compiler_static_works=yes
9068
 
     fi
9069
 
   fi
9070
 
   $RM -r conftest*
9071
 
   LDFLAGS="$save_LDFLAGS"
9072
 
 
9073
 
fi
9074
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9075
 
$as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9076
 
 
9077
 
if test x"$lt_cv_prog_compiler_static_works" = xyes; then
9078
 
    :
9079
 
else
9080
 
    lt_prog_compiler_static=
9081
 
fi
9082
 
 
9083
 
 
9084
 
 
9085
 
 
9086
 
 
9087
 
 
9088
 
 
9089
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9090
 
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9091
 
if ${lt_cv_prog_compiler_c_o+:} false; then :
9092
 
  $as_echo_n "(cached) " >&6
9093
 
else
9094
 
  lt_cv_prog_compiler_c_o=no
9095
 
   $RM -r conftest 2>/dev/null
9096
 
   mkdir conftest
9097
 
   cd conftest
9098
 
   mkdir out
9099
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9100
 
 
9101
 
   lt_compiler_flag="-o out/conftest2.$ac_objext"
9102
 
   # Insert the option either (1) after the last *FLAGS variable, or
9103
 
   # (2) before a word containing "conftest.", or (3) at the end.
9104
 
   # Note that $ac_compile itself does not contain backslashes and begins
9105
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
9106
 
   lt_compile=`echo "$ac_compile" | $SED \
9107
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9108
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9109
 
   -e 's:$: $lt_compiler_flag:'`
9110
 
   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9111
 
   (eval "$lt_compile" 2>out/conftest.err)
9112
 
   ac_status=$?
9113
 
   cat out/conftest.err >&5
9114
 
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9115
 
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
9116
 
   then
9117
 
     # The compiler can only warn and ignore the option if not recognized
9118
 
     # So say no if there are warnings
9119
 
     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9120
 
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9121
 
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9122
 
       lt_cv_prog_compiler_c_o=yes
9123
 
     fi
9124
 
   fi
9125
 
   chmod u+w . 2>&5
9126
 
   $RM conftest*
9127
 
   # SGI C++ compiler will create directory out/ii_files/ for
9128
 
   # template instantiation
9129
 
   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9130
 
   $RM out/* && rmdir out
9131
 
   cd ..
9132
 
   $RM -r conftest
9133
 
   $RM conftest*
9134
 
 
9135
 
fi
9136
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9137
 
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9138
 
 
9139
 
 
9140
 
 
9141
 
 
9142
 
 
9143
 
 
9144
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9145
 
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9146
 
if ${lt_cv_prog_compiler_c_o+:} false; then :
9147
 
  $as_echo_n "(cached) " >&6
9148
 
else
9149
 
  lt_cv_prog_compiler_c_o=no
9150
 
   $RM -r conftest 2>/dev/null
9151
 
   mkdir conftest
9152
 
   cd conftest
9153
 
   mkdir out
9154
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9155
 
 
9156
 
   lt_compiler_flag="-o out/conftest2.$ac_objext"
9157
 
   # Insert the option either (1) after the last *FLAGS variable, or
9158
 
   # (2) before a word containing "conftest.", or (3) at the end.
9159
 
   # Note that $ac_compile itself does not contain backslashes and begins
9160
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
9161
 
   lt_compile=`echo "$ac_compile" | $SED \
9162
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9163
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9164
 
   -e 's:$: $lt_compiler_flag:'`
9165
 
   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9166
 
   (eval "$lt_compile" 2>out/conftest.err)
9167
 
   ac_status=$?
9168
 
   cat out/conftest.err >&5
9169
 
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9170
 
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
9171
 
   then
9172
 
     # The compiler can only warn and ignore the option if not recognized
9173
 
     # So say no if there are warnings
9174
 
     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9175
 
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9176
 
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9177
 
       lt_cv_prog_compiler_c_o=yes
9178
 
     fi
9179
 
   fi
9180
 
   chmod u+w . 2>&5
9181
 
   $RM conftest*
9182
 
   # SGI C++ compiler will create directory out/ii_files/ for
9183
 
   # template instantiation
9184
 
   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9185
 
   $RM out/* && rmdir out
9186
 
   cd ..
9187
 
   $RM -r conftest
9188
 
   $RM conftest*
9189
 
 
9190
 
fi
9191
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9192
 
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9193
 
 
9194
 
 
9195
 
 
9196
 
 
9197
 
hard_links="nottested"
9198
 
if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9199
 
  # do not overwrite the value of need_locks provided by the user
9200
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9201
 
$as_echo_n "checking if we can lock with hard links... " >&6; }
9202
 
  hard_links=yes
9203
 
  $RM conftest*
9204
 
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
9205
 
  touch conftest.a
9206
 
  ln conftest.a conftest.b 2>&5 || hard_links=no
9207
 
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
9208
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9209
 
$as_echo "$hard_links" >&6; }
9210
 
  if test "$hard_links" = no; then
9211
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9212
 
$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9213
 
    need_locks=warn
9214
 
  fi
9215
 
else
9216
 
  need_locks=no
9217
 
fi
9218
 
 
9219
 
 
9220
 
 
9221
 
 
9222
 
 
9223
 
 
9224
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9225
 
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9226
 
 
9227
 
  runpath_var=
9228
 
  allow_undefined_flag=
9229
 
  always_export_symbols=no
9230
 
  archive_cmds=
9231
 
  archive_expsym_cmds=
9232
 
  compiler_needs_object=no
9233
 
  enable_shared_with_static_runtimes=no
9234
 
  export_dynamic_flag_spec=
9235
 
  export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9236
 
  hardcode_automatic=no
9237
 
  hardcode_direct=no
9238
 
  hardcode_direct_absolute=no
9239
 
  hardcode_libdir_flag_spec=
9240
 
  hardcode_libdir_separator=
9241
 
  hardcode_minus_L=no
9242
 
  hardcode_shlibpath_var=unsupported
9243
 
  inherit_rpath=no
9244
 
  link_all_deplibs=unknown
9245
 
  module_cmds=
9246
 
  module_expsym_cmds=
9247
 
  old_archive_from_new_cmds=
9248
 
  old_archive_from_expsyms_cmds=
9249
 
  thread_safe_flag_spec=
9250
 
  whole_archive_flag_spec=
9251
 
  # include_expsyms should be a list of space-separated symbols to be *always*
9252
 
  # included in the symbol list
9253
 
  include_expsyms=
9254
 
  # exclude_expsyms can be an extended regexp of symbols to exclude
9255
 
  # it will be wrapped by ` (' and `)$', so one must not match beginning or
9256
 
  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9257
 
  # as well as any symbol that contains `d'.
9258
 
  exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9259
 
  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9260
 
  # platforms (ab)use it in PIC code, but their linkers get confused if
9261
 
  # the symbol is explicitly referenced.  Since portable code cannot
9262
 
  # rely on this symbol name, it's probably fine to never include it in
9263
 
  # preloaded symbol tables.
9264
 
  # Exclude shared library initialization/finalization symbols.
9265
 
  extract_expsyms_cmds=
9266
 
 
9267
 
  case $host_os in
9268
 
  cygwin* | mingw* | pw32* | cegcc*)
9269
 
    # FIXME: the MSVC++ port hasn't been tested in a loooong time
9270
 
    # When not using gcc, we currently assume that we are using
9271
 
    # Microsoft Visual C++.
9272
 
    if test "$GCC" != yes; then
9273
 
      with_gnu_ld=no
9274
 
    fi
9275
 
    ;;
9276
 
  interix*)
9277
 
    # we just hope/assume this is gcc and not c89 (= MSVC++)
9278
 
    with_gnu_ld=yes
9279
 
    ;;
9280
 
  openbsd*)
9281
 
    with_gnu_ld=no
9282
 
    ;;
9283
 
  esac
9284
 
 
9285
 
  ld_shlibs=yes
9286
 
 
9287
 
  # On some targets, GNU ld is compatible enough with the native linker
9288
 
  # that we're better off using the native interface for both.
9289
 
  lt_use_gnu_ld_interface=no
9290
 
  if test "$with_gnu_ld" = yes; then
9291
 
    case $host_os in
9292
 
      aix*)
9293
 
        # The AIX port of GNU ld has always aspired to compatibility
9294
 
        # with the native linker.  However, as the warning in the GNU ld
9295
 
        # block says, versions before 2.19.5* couldn't really create working
9296
 
        # shared libraries, regardless of the interface used.
9297
 
        case `$LD -v 2>&1` in
9298
 
          *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9299
 
          *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9300
 
          *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9301
 
          *)
9302
 
            lt_use_gnu_ld_interface=yes
9303
 
            ;;
9304
 
        esac
9305
 
        ;;
9306
 
      *)
9307
 
        lt_use_gnu_ld_interface=yes
9308
 
        ;;
9309
 
    esac
9310
 
  fi
9311
 
 
9312
 
  if test "$lt_use_gnu_ld_interface" = yes; then
9313
 
    # If archive_cmds runs LD, not CC, wlarc should be empty
9314
 
    wlarc='${wl}'
9315
 
 
9316
 
    # Set some defaults for GNU ld with shared library support. These
9317
 
    # are reset later if shared libraries are not supported. Putting them
9318
 
    # here allows them to be overridden if necessary.
9319
 
    runpath_var=LD_RUN_PATH
9320
 
    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9321
 
    export_dynamic_flag_spec='${wl}--export-dynamic'
9322
 
    # ancient GNU ld didn't support --whole-archive et. al.
9323
 
    if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9324
 
      whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9325
 
    else
9326
 
      whole_archive_flag_spec=
9327
 
    fi
9328
 
    supports_anon_versioning=no
9329
 
    case `$LD -v 2>&1` in
9330
 
      *GNU\ gold*) supports_anon_versioning=yes ;;
9331
 
      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9332
 
      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9333
 
      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9334
 
      *\ 2.11.*) ;; # other 2.11 versions
9335
 
      *) supports_anon_versioning=yes ;;
9336
 
    esac
9337
 
 
9338
 
    # See if GNU ld supports shared libraries.
9339
 
    case $host_os in
9340
 
    aix[3-9]*)
9341
 
      # On AIX/PPC, the GNU linker is very broken
9342
 
      if test "$host_cpu" != ia64; then
9343
 
        ld_shlibs=no
9344
 
        cat <<_LT_EOF 1>&2
9345
 
 
9346
 
*** Warning: the GNU linker, at least up to release 2.19, is reported
9347
 
*** to be unable to reliably create shared libraries on AIX.
9348
 
*** Therefore, libtool is disabling shared libraries support.  If you
9349
 
*** really care for shared libraries, you may want to install binutils
9350
 
*** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9351
 
*** You will then need to restart the configuration process.
9352
 
 
9353
 
_LT_EOF
9354
 
      fi
9355
 
      ;;
9356
 
 
9357
 
    amigaos*)
9358
 
      case $host_cpu in
9359
 
      powerpc)
9360
 
            # see comment about AmigaOS4 .so support
9361
 
            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9362
 
            archive_expsym_cmds=''
9363
 
        ;;
9364
 
      m68k)
9365
 
            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)'
9366
 
            hardcode_libdir_flag_spec='-L$libdir'
9367
 
            hardcode_minus_L=yes
9368
 
        ;;
9369
 
      esac
9370
 
      ;;
9371
 
 
9372
 
    beos*)
9373
 
      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9374
 
        allow_undefined_flag=unsupported
9375
 
        # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9376
 
        # support --undefined.  This deserves some investigation.  FIXME
9377
 
        archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9378
 
      else
9379
 
        ld_shlibs=no
9380
 
      fi
9381
 
      ;;
9382
 
 
9383
 
    cygwin* | mingw* | pw32* | cegcc*)
9384
 
      # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9385
 
      # as there is no search path for DLLs.
9386
 
      hardcode_libdir_flag_spec='-L$libdir'
9387
 
      export_dynamic_flag_spec='${wl}--export-all-symbols'
9388
 
      allow_undefined_flag=unsupported
9389
 
      always_export_symbols=no
9390
 
      enable_shared_with_static_runtimes=yes
9391
 
      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'
9392
 
      exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9393
 
 
9394
 
      if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9395
 
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9396
 
        # If the export-symbols file already is a .def file (1st line
9397
 
        # is EXPORTS), use it as is; otherwise, prepend...
9398
 
        archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9399
 
          cp $export_symbols $output_objdir/$soname.def;
9400
 
        else
9401
 
          echo EXPORTS > $output_objdir/$soname.def;
9402
 
          cat $export_symbols >> $output_objdir/$soname.def;
9403
 
        fi~
9404
 
        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9405
 
      else
9406
 
        ld_shlibs=no
9407
 
      fi
9408
 
      ;;
9409
 
 
9410
 
    haiku*)
9411
 
      archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9412
 
      link_all_deplibs=yes
9413
 
      ;;
9414
 
 
9415
 
    interix[3-9]*)
9416
 
      hardcode_direct=no
9417
 
      hardcode_shlibpath_var=no
9418
 
      hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9419
 
      export_dynamic_flag_spec='${wl}-E'
9420
 
      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9421
 
      # Instead, shared libraries are loaded at an image base (0x10000000 by
9422
 
      # default) and relocated if they conflict, which is a slow very memory
9423
 
      # consuming and fragmenting process.  To avoid this, we pick a random,
9424
 
      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9425
 
      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
9426
 
      archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9427
 
      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'
9428
 
      ;;
9429
 
 
9430
 
    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9431
 
      tmp_diet=no
9432
 
      if test "$host_os" = linux-dietlibc; then
9433
 
        case $cc_basename in
9434
 
          diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
9435
 
        esac
9436
 
      fi
9437
 
      if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9438
 
         && test "$tmp_diet" = no
9439
 
      then
9440
 
        tmp_addflag=' $pic_flag'
9441
 
        tmp_sharedflag='-shared'
9442
 
        case $cc_basename,$host_cpu in
9443
 
        pgcc*)                          # Portland Group C compiler
9444
 
          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'
9445
 
          tmp_addflag=' $pic_flag'
9446
 
          ;;
9447
 
        pgf77* | pgf90* | pgf95* | pgfortran*)
9448
 
                                        # Portland Group f77 and f90 compilers
9449
 
          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'
9450
 
          tmp_addflag=' $pic_flag -Mnomain' ;;
9451
 
        ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
9452
 
          tmp_addflag=' -i_dynamic' ;;
9453
 
        efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
9454
 
          tmp_addflag=' -i_dynamic -nofor_main' ;;
9455
 
        ifc* | ifort*)                  # Intel Fortran compiler
9456
 
          tmp_addflag=' -nofor_main' ;;
9457
 
        lf95*)                          # Lahey Fortran 8.1
9458
 
          whole_archive_flag_spec=
9459
 
          tmp_sharedflag='--shared' ;;
9460
 
        xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9461
 
          tmp_sharedflag='-qmkshrobj'
9462
 
          tmp_addflag= ;;
9463
 
        nvcc*)  # Cuda Compiler Driver 2.2
9464
 
          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'
9465
 
          compiler_needs_object=yes
9466
 
          ;;
9467
 
        esac
9468
 
        case `$CC -V 2>&1 | sed 5q` in
9469
 
        *Sun\ C*)                       # Sun C 5.9
9470
 
          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'
9471
 
          compiler_needs_object=yes
9472
 
          tmp_sharedflag='-G' ;;
9473
 
        *Sun\ F*)                       # Sun Fortran 8.3
9474
 
          tmp_sharedflag='-G' ;;
9475
 
        esac
9476
 
        archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9477
 
 
9478
 
        if test "x$supports_anon_versioning" = xyes; then
9479
 
          archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9480
 
            cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9481
 
            echo "local: *; };" >> $output_objdir/$libname.ver~
9482
 
            $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9483
 
        fi
9484
 
 
9485
 
        case $cc_basename in
9486
 
        xlf* | bgf* | bgxlf* | mpixlf*)
9487
 
          # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9488
 
          whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9489
 
          hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9490
 
          archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9491
 
          if test "x$supports_anon_versioning" = xyes; then
9492
 
            archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9493
 
              cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9494
 
              echo "local: *; };" >> $output_objdir/$libname.ver~
9495
 
              $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9496
 
          fi
9497
 
          ;;
9498
 
        esac
9499
 
      else
9500
 
        ld_shlibs=no
9501
 
      fi
9502
 
      ;;
9503
 
 
9504
 
    netbsd*)
9505
 
      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9506
 
        archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9507
 
        wlarc=
9508
 
      else
9509
 
        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9510
 
        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9511
 
      fi
9512
 
      ;;
9513
 
 
9514
 
    solaris*)
9515
 
      if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9516
 
        ld_shlibs=no
9517
 
        cat <<_LT_EOF 1>&2
9518
 
 
9519
 
*** Warning: The releases 2.8.* of the GNU linker cannot reliably
9520
 
*** create shared libraries on Solaris systems.  Therefore, libtool
9521
 
*** is disabling shared libraries support.  We urge you to upgrade GNU
9522
 
*** binutils to release 2.9.1 or newer.  Another option is to modify
9523
 
*** your PATH or compiler configuration so that the native linker is
9524
 
*** used, and then restart.
9525
 
 
9526
 
_LT_EOF
9527
 
      elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9528
 
        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9529
 
        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9530
 
      else
9531
 
        ld_shlibs=no
9532
 
      fi
9533
 
      ;;
9534
 
 
9535
 
    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9536
 
      case `$LD -v 2>&1` in
9537
 
        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9538
 
        ld_shlibs=no
9539
 
        cat <<_LT_EOF 1>&2
9540
 
 
9541
 
*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9542
 
*** reliably create shared libraries on SCO systems.  Therefore, libtool
9543
 
*** is disabling shared libraries support.  We urge you to upgrade GNU
9544
 
*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
9545
 
*** your PATH or compiler configuration so that the native linker is
9546
 
*** used, and then restart.
9547
 
 
9548
 
_LT_EOF
9549
 
        ;;
9550
 
        *)
9551
 
          # For security reasons, it is highly recommended that you always
9552
 
          # use absolute paths for naming shared libraries, and exclude the
9553
 
          # DT_RUNPATH tag from executables and libraries.  But doing so
9554
 
          # requires that you compile everything twice, which is a pain.
9555
 
          if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9556
 
            hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9557
 
            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9558
 
            archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9559
 
          else
9560
 
            ld_shlibs=no
9561
 
          fi
9562
 
        ;;
9563
 
      esac
9564
 
      ;;
9565
 
 
9566
 
    sunos4*)
9567
 
      archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9568
 
      wlarc=
9569
 
      hardcode_direct=yes
9570
 
      hardcode_shlibpath_var=no
9571
 
      ;;
9572
 
 
9573
 
    *)
9574
 
      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9575
 
        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9576
 
        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9577
 
      else
9578
 
        ld_shlibs=no
9579
 
      fi
9580
 
      ;;
9581
 
    esac
9582
 
 
9583
 
    if test "$ld_shlibs" = no; then
9584
 
      runpath_var=
9585
 
      hardcode_libdir_flag_spec=
9586
 
      export_dynamic_flag_spec=
9587
 
      whole_archive_flag_spec=
9588
 
    fi
9589
 
  else
9590
 
    # PORTME fill in a description of your system's linker (not GNU ld)
9591
 
    case $host_os in
9592
 
    aix3*)
9593
 
      allow_undefined_flag=unsupported
9594
 
      always_export_symbols=yes
9595
 
      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'
9596
 
      # Note: this linker hardcodes the directories in LIBPATH if there
9597
 
      # are no directories specified by -L.
9598
 
      hardcode_minus_L=yes
9599
 
      if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9600
 
        # Neither direct hardcoding nor static linking is supported with a
9601
 
        # broken collect2.
9602
 
        hardcode_direct=unsupported
9603
 
      fi
9604
 
      ;;
9605
 
 
9606
 
    aix[4-9]*)
9607
 
      if test "$host_cpu" = ia64; then
9608
 
        # On IA64, the linker does run time linking by default, so we don't
9609
 
        # have to do anything special.
9610
 
        aix_use_runtimelinking=no
9611
 
        exp_sym_flag='-Bexport'
9612
 
        no_entry_flag=""
9613
 
      else
9614
 
        # If we're using GNU nm, then we don't want the "-C" option.
9615
 
        # -C means demangle to AIX nm, but means don't demangle with GNU nm
9616
 
        # Also, AIX nm treats weak defined symbols like other global
9617
 
        # defined symbols, whereas GNU nm marks them as "W".
9618
 
        if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9619
 
          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'
9620
 
        else
9621
 
          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'
9622
 
        fi
9623
 
        aix_use_runtimelinking=no
9624
 
 
9625
 
        # Test if we are trying to use run time linking or normal
9626
 
        # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9627
 
        # need to do runtime linking.
9628
 
        case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9629
 
          for ld_flag in $LDFLAGS; do
9630
 
          if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9631
 
            aix_use_runtimelinking=yes
9632
 
            break
9633
 
          fi
9634
 
          done
9635
 
          ;;
9636
 
        esac
9637
 
 
9638
 
        exp_sym_flag='-bexport'
9639
 
        no_entry_flag='-bnoentry'
9640
 
      fi
9641
 
 
9642
 
      # When large executables or shared objects are built, AIX ld can
9643
 
      # have problems creating the table of contents.  If linking a library
9644
 
      # or program results in "error TOC overflow" add -mminimal-toc to
9645
 
      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
9646
 
      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9647
 
 
9648
 
      archive_cmds=''
9649
 
      hardcode_direct=yes
9650
 
      hardcode_direct_absolute=yes
9651
 
      hardcode_libdir_separator=':'
9652
 
      link_all_deplibs=yes
9653
 
      file_list_spec='${wl}-f,'
9654
 
 
9655
 
      if test "$GCC" = yes; then
9656
 
        case $host_os in aix4.[012]|aix4.[012].*)
9657
 
        # We only want to do this on AIX 4.2 and lower, the check
9658
 
        # below for broken collect2 doesn't work under 4.3+
9659
 
          collect2name=`${CC} -print-prog-name=collect2`
9660
 
          if test -f "$collect2name" &&
9661
 
           strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9662
 
          then
9663
 
          # We have reworked collect2
9664
 
          :
9665
 
          else
9666
 
          # We have old collect2
9667
 
          hardcode_direct=unsupported
9668
 
          # It fails to find uninstalled libraries when the uninstalled
9669
 
          # path is not listed in the libpath.  Setting hardcode_minus_L
9670
 
          # to unsupported forces relinking
9671
 
          hardcode_minus_L=yes
9672
 
          hardcode_libdir_flag_spec='-L$libdir'
9673
 
          hardcode_libdir_separator=
9674
 
          fi
9675
 
          ;;
9676
 
        esac
9677
 
        shared_flag='-shared'
9678
 
        if test "$aix_use_runtimelinking" = yes; then
9679
 
          shared_flag="$shared_flag "'${wl}-G'
9680
 
        fi
9681
 
      else
9682
 
        # not using gcc
9683
 
        if test "$host_cpu" = ia64; then
9684
 
        # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9685
 
        # chokes on -Wl,-G. The following line is correct:
9686
 
          shared_flag='-G'
9687
 
        else
9688
 
          if test "$aix_use_runtimelinking" = yes; then
9689
 
            shared_flag='${wl}-G'
9690
 
          else
9691
 
            shared_flag='${wl}-bM:SRE'
9692
 
          fi
9693
 
        fi
9694
 
      fi
9695
 
 
9696
 
      export_dynamic_flag_spec='${wl}-bexpall'
9697
 
      # It seems that -bexpall does not export symbols beginning with
9698
 
      # underscore (_), so it is better to generate a list of symbols to export.
9699
 
      always_export_symbols=yes
9700
 
      if test "$aix_use_runtimelinking" = yes; then
9701
 
        # Warning - without using the other runtime loading flags (-brtl),
9702
 
        # -berok will link without error, but may produce a broken library.
9703
 
        allow_undefined_flag='-berok'
9704
 
        # Determine the default libpath from the value encoded in an
9705
 
        # empty executable.
9706
 
        if test "${lt_cv_aix_libpath+set}" = set; then
9707
 
  aix_libpath=$lt_cv_aix_libpath
9708
 
else
9709
 
  if ${lt_cv_aix_libpath_+:} false; then :
9710
 
  $as_echo_n "(cached) " >&6
9711
 
else
9712
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9713
 
/* end confdefs.h.  */
9714
 
 
9715
 
int
9716
 
main ()
9717
 
{
9718
 
 
9719
 
  ;
9720
 
  return 0;
9721
 
}
9722
 
_ACEOF
9723
 
if ac_fn_c_try_link "$LINENO"; then :
9724
 
 
9725
 
  lt_aix_libpath_sed='
9726
 
      /Import File Strings/,/^$/ {
9727
 
          /^0/ {
9728
 
              s/^0  *\([^ ]*\) *$/\1/
9729
 
              p
9730
 
          }
9731
 
      }'
9732
 
  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9733
 
  # Check for a 64-bit object if we didn't find anything.
9734
 
  if test -z "$lt_cv_aix_libpath_"; then
9735
 
    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9736
 
  fi
9737
 
fi
9738
 
rm -f core conftest.err conftest.$ac_objext \
9739
 
    conftest$ac_exeext conftest.$ac_ext
9740
 
  if test -z "$lt_cv_aix_libpath_"; then
9741
 
    lt_cv_aix_libpath_="/usr/lib:/lib"
9742
 
  fi
9743
 
 
9744
 
fi
9745
 
 
9746
 
  aix_libpath=$lt_cv_aix_libpath_
9747
 
fi
9748
 
 
9749
 
        hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9750
 
        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"
9751
 
      else
9752
 
        if test "$host_cpu" = ia64; then
9753
 
          hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9754
 
          allow_undefined_flag="-z nodefs"
9755
 
          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"
9756
 
        else
9757
 
         # Determine the default libpath from the value encoded in an
9758
 
         # empty executable.
9759
 
         if test "${lt_cv_aix_libpath+set}" = set; then
9760
 
  aix_libpath=$lt_cv_aix_libpath
9761
 
else
9762
 
  if ${lt_cv_aix_libpath_+:} false; then :
9763
 
  $as_echo_n "(cached) " >&6
9764
 
else
9765
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9766
 
/* end confdefs.h.  */
9767
 
 
9768
 
int
9769
 
main ()
9770
 
{
9771
 
 
9772
 
  ;
9773
 
  return 0;
9774
 
}
9775
 
_ACEOF
9776
 
if ac_fn_c_try_link "$LINENO"; then :
9777
 
 
9778
 
  lt_aix_libpath_sed='
9779
 
      /Import File Strings/,/^$/ {
9780
 
          /^0/ {
9781
 
              s/^0  *\([^ ]*\) *$/\1/
9782
 
              p
9783
 
          }
9784
 
      }'
9785
 
  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9786
 
  # Check for a 64-bit object if we didn't find anything.
9787
 
  if test -z "$lt_cv_aix_libpath_"; then
9788
 
    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9789
 
  fi
9790
 
fi
9791
 
rm -f core conftest.err conftest.$ac_objext \
9792
 
    conftest$ac_exeext conftest.$ac_ext
9793
 
  if test -z "$lt_cv_aix_libpath_"; then
9794
 
    lt_cv_aix_libpath_="/usr/lib:/lib"
9795
 
  fi
9796
 
 
9797
 
fi
9798
 
 
9799
 
  aix_libpath=$lt_cv_aix_libpath_
9800
 
fi
9801
 
 
9802
 
         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9803
 
          # Warning - without using the other run time loading flags,
9804
 
          # -berok will link without error, but may produce a broken library.
9805
 
          no_undefined_flag=' ${wl}-bernotok'
9806
 
          allow_undefined_flag=' ${wl}-berok'
9807
 
          if test "$with_gnu_ld" = yes; then
9808
 
            # We only use this code for GNU lds that support --whole-archive.
9809
 
            whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9810
 
          else
9811
 
            # Exported symbols can be pulled into shared objects from archives
9812
 
            whole_archive_flag_spec='$convenience'
9813
 
          fi
9814
 
          archive_cmds_need_lc=yes
9815
 
          # This is similar to how AIX traditionally builds its shared libraries.
9816
 
          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'
9817
 
        fi
9818
 
      fi
9819
 
      ;;
9820
 
 
9821
 
    amigaos*)
9822
 
      case $host_cpu in
9823
 
      powerpc)
9824
 
            # see comment about AmigaOS4 .so support
9825
 
            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9826
 
            archive_expsym_cmds=''
9827
 
        ;;
9828
 
      m68k)
9829
 
            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)'
9830
 
            hardcode_libdir_flag_spec='-L$libdir'
9831
 
            hardcode_minus_L=yes
9832
 
        ;;
9833
 
      esac
9834
 
      ;;
9835
 
 
9836
 
    bsdi[45]*)
9837
 
      export_dynamic_flag_spec=-rdynamic
9838
 
      ;;
9839
 
 
9840
 
    cygwin* | mingw* | pw32* | cegcc*)
9841
 
      # When not using gcc, we currently assume that we are using
9842
 
      # Microsoft Visual C++.
9843
 
      # hardcode_libdir_flag_spec is actually meaningless, as there is
9844
 
      # no search path for DLLs.
9845
 
      case $cc_basename in
9846
 
      cl*)
9847
 
        # Native MSVC
9848
 
        hardcode_libdir_flag_spec=' '
9849
 
        allow_undefined_flag=unsupported
9850
 
        always_export_symbols=yes
9851
 
        file_list_spec='@'
9852
 
        # Tell ltmain to make .lib files, not .a files.
9853
 
        libext=lib
9854
 
        # Tell ltmain to make .dll files, not .so files.
9855
 
        shrext_cmds=".dll"
9856
 
        # FIXME: Setting linknames here is a bad hack.
9857
 
        archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9858
 
        archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9859
 
            sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
9860
 
          else
9861
 
            sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
9862
 
          fi~
9863
 
          $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9864
 
          linknames='
9865
 
        # The linker will not automatically build a static lib if we build a DLL.
9866
 
        # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9867
 
        enable_shared_with_static_runtimes=yes
9868
 
        exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
9869
 
        export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9870
 
        # Don't use ranlib
9871
 
        old_postinstall_cmds='chmod 644 $oldlib'
9872
 
        postlink_cmds='lt_outputfile="@OUTPUT@"~
9873
 
          lt_tool_outputfile="@TOOL_OUTPUT@"~
9874
 
          case $lt_outputfile in
9875
 
            *.exe|*.EXE) ;;
9876
 
            *)
9877
 
              lt_outputfile="$lt_outputfile.exe"
9878
 
              lt_tool_outputfile="$lt_tool_outputfile.exe"
9879
 
              ;;
9880
 
          esac~
9881
 
          if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
9882
 
            $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9883
 
            $RM "$lt_outputfile.manifest";
9884
 
          fi'
9885
 
        ;;
9886
 
      *)
9887
 
        # Assume MSVC wrapper
9888
 
        hardcode_libdir_flag_spec=' '
9889
 
        allow_undefined_flag=unsupported
9890
 
        # Tell ltmain to make .lib files, not .a files.
9891
 
        libext=lib
9892
 
        # Tell ltmain to make .dll files, not .so files.
9893
 
        shrext_cmds=".dll"
9894
 
        # FIXME: Setting linknames here is a bad hack.
9895
 
        archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9896
 
        # The linker will automatically build a .lib file if we build a DLL.
9897
 
        old_archive_from_new_cmds='true'
9898
 
        # FIXME: Should let the user specify the lib program.
9899
 
        old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9900
 
        enable_shared_with_static_runtimes=yes
9901
 
        ;;
9902
 
      esac
9903
 
      ;;
9904
 
 
9905
 
    darwin* | rhapsody*)
9906
 
 
9907
 
 
9908
 
  archive_cmds_need_lc=no
9909
 
  hardcode_direct=no
9910
 
  hardcode_automatic=yes
9911
 
  hardcode_shlibpath_var=unsupported
9912
 
  if test "$lt_cv_ld_force_load" = "yes"; then
9913
 
    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\"`'
9914
 
 
9915
 
  else
9916
 
    whole_archive_flag_spec=''
9917
 
  fi
9918
 
  link_all_deplibs=yes
9919
 
  allow_undefined_flag="$_lt_dar_allow_undefined"
9920
 
  case $cc_basename in
9921
 
     ifort*) _lt_dar_can_shared=yes ;;
9922
 
     *) _lt_dar_can_shared=$GCC ;;
9923
 
  esac
9924
 
  if test "$_lt_dar_can_shared" = "yes"; then
9925
 
    output_verbose_link_cmd=func_echo_all
9926
 
    archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9927
 
    module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9928
 
    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}"
9929
 
    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}"
9930
 
 
9931
 
  else
9932
 
  ld_shlibs=no
9933
 
  fi
9934
 
 
9935
 
      ;;
9936
 
 
9937
 
    dgux*)
9938
 
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9939
 
      hardcode_libdir_flag_spec='-L$libdir'
9940
 
      hardcode_shlibpath_var=no
9941
 
      ;;
9942
 
 
9943
 
    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9944
 
    # support.  Future versions do this automatically, but an explicit c++rt0.o
9945
 
    # does not break anything, and helps significantly (at the cost of a little
9946
 
    # extra space).
9947
 
    freebsd2.2*)
9948
 
      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9949
 
      hardcode_libdir_flag_spec='-R$libdir'
9950
 
      hardcode_direct=yes
9951
 
      hardcode_shlibpath_var=no
9952
 
      ;;
9953
 
 
9954
 
    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9955
 
    freebsd2.*)
9956
 
      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9957
 
      hardcode_direct=yes
9958
 
      hardcode_minus_L=yes
9959
 
      hardcode_shlibpath_var=no
9960
 
      ;;
9961
 
 
9962
 
    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9963
 
    freebsd* | dragonfly*)
9964
 
      archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9965
 
      hardcode_libdir_flag_spec='-R$libdir'
9966
 
      hardcode_direct=yes
9967
 
      hardcode_shlibpath_var=no
9968
 
      ;;
9969
 
 
9970
 
    hpux9*)
9971
 
      if test "$GCC" = yes; then
9972
 
        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'
9973
 
      else
9974
 
        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'
9975
 
      fi
9976
 
      hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9977
 
      hardcode_libdir_separator=:
9978
 
      hardcode_direct=yes
9979
 
 
9980
 
      # hardcode_minus_L: Not really in the search PATH,
9981
 
      # but as the default location of the library.
9982
 
      hardcode_minus_L=yes
9983
 
      export_dynamic_flag_spec='${wl}-E'
9984
 
      ;;
9985
 
 
9986
 
    hpux10*)
9987
 
      if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9988
 
        archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9989
 
      else
9990
 
        archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9991
 
      fi
9992
 
      if test "$with_gnu_ld" = no; then
9993
 
        hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9994
 
        hardcode_libdir_separator=:
9995
 
        hardcode_direct=yes
9996
 
        hardcode_direct_absolute=yes
9997
 
        export_dynamic_flag_spec='${wl}-E'
9998
 
        # hardcode_minus_L: Not really in the search PATH,
9999
 
        # but as the default location of the library.
10000
 
        hardcode_minus_L=yes
10001
 
      fi
10002
 
      ;;
10003
 
 
10004
 
    hpux11*)
10005
 
      if test "$GCC" = yes && test "$with_gnu_ld" = no; then
10006
 
        case $host_cpu in
10007
 
        hppa*64*)
10008
 
          archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10009
 
          ;;
10010
 
        ia64*)
10011
 
          archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10012
 
          ;;
10013
 
        *)
10014
 
          archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10015
 
          ;;
10016
 
        esac
10017
 
      else
10018
 
        case $host_cpu in
10019
 
        hppa*64*)
10020
 
          archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10021
 
          ;;
10022
 
        ia64*)
10023
 
          archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10024
 
          ;;
10025
 
        *)
10026
 
 
10027
 
          # Older versions of the 11.00 compiler do not understand -b yet
10028
 
          # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10029
 
          { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10030
 
$as_echo_n "checking if $CC understands -b... " >&6; }
10031
 
if ${lt_cv_prog_compiler__b+:} false; then :
10032
 
  $as_echo_n "(cached) " >&6
10033
 
else
10034
 
  lt_cv_prog_compiler__b=no
10035
 
   save_LDFLAGS="$LDFLAGS"
10036
 
   LDFLAGS="$LDFLAGS -b"
10037
 
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
10038
 
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
10039
 
     # The linker can only warn and ignore the option if not recognized
10040
 
     # So say no if there are warnings
10041
 
     if test -s conftest.err; then
10042
 
       # Append any errors to the config.log.
10043
 
       cat conftest.err 1>&5
10044
 
       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10045
 
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10046
 
       if diff conftest.exp conftest.er2 >/dev/null; then
10047
 
         lt_cv_prog_compiler__b=yes
10048
 
       fi
10049
 
     else
10050
 
       lt_cv_prog_compiler__b=yes
10051
 
     fi
10052
 
   fi
10053
 
   $RM -r conftest*
10054
 
   LDFLAGS="$save_LDFLAGS"
10055
 
 
10056
 
fi
10057
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10058
 
$as_echo "$lt_cv_prog_compiler__b" >&6; }
10059
 
 
10060
 
if test x"$lt_cv_prog_compiler__b" = xyes; then
10061
 
    archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10062
 
else
10063
 
    archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10064
 
fi
10065
 
 
10066
 
          ;;
10067
 
        esac
10068
 
      fi
10069
 
      if test "$with_gnu_ld" = no; then
10070
 
        hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10071
 
        hardcode_libdir_separator=:
10072
 
 
10073
 
        case $host_cpu in
10074
 
        hppa*64*|ia64*)
10075
 
          hardcode_direct=no
10076
 
          hardcode_shlibpath_var=no
10077
 
          ;;
10078
 
        *)
10079
 
          hardcode_direct=yes
10080
 
          hardcode_direct_absolute=yes
10081
 
          export_dynamic_flag_spec='${wl}-E'
10082
 
 
10083
 
          # hardcode_minus_L: Not really in the search PATH,
10084
 
          # but as the default location of the library.
10085
 
          hardcode_minus_L=yes
10086
 
          ;;
10087
 
        esac
10088
 
      fi
10089
 
      ;;
10090
 
 
10091
 
    irix5* | irix6* | nonstopux*)
10092
 
      if test "$GCC" = yes; then
10093
 
        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'
10094
 
        # Try to use the -exported_symbol ld option, if it does not
10095
 
        # work, assume that -exports_file does not work either and
10096
 
        # implicitly export all symbols.
10097
 
        # This should be the same for all languages, so no per-tag cache variable.
10098
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
10099
 
$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
10100
 
if ${lt_cv_irix_exported_symbol+:} false; then :
10101
 
  $as_echo_n "(cached) " >&6
10102
 
else
10103
 
  save_LDFLAGS="$LDFLAGS"
10104
 
           LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10105
 
           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10106
 
/* end confdefs.h.  */
10107
 
int foo (void) { return 0; }
10108
 
_ACEOF
10109
 
if ac_fn_c_try_link "$LINENO"; then :
10110
 
  lt_cv_irix_exported_symbol=yes
10111
 
else
10112
 
  lt_cv_irix_exported_symbol=no
10113
 
fi
10114
 
rm -f core conftest.err conftest.$ac_objext \
10115
 
    conftest$ac_exeext conftest.$ac_ext
10116
 
           LDFLAGS="$save_LDFLAGS"
10117
 
fi
10118
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
10119
 
$as_echo "$lt_cv_irix_exported_symbol" >&6; }
10120
 
        if test "$lt_cv_irix_exported_symbol" = yes; then
10121
 
          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'
10122
 
        fi
10123
 
      else
10124
 
        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'
10125
 
        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'
10126
 
      fi
10127
 
      archive_cmds_need_lc='no'
10128
 
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10129
 
      hardcode_libdir_separator=:
10130
 
      inherit_rpath=yes
10131
 
      link_all_deplibs=yes
10132
 
      ;;
10133
 
 
10134
 
    netbsd*)
10135
 
      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10136
 
        archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
10137
 
      else
10138
 
        archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
10139
 
      fi
10140
 
      hardcode_libdir_flag_spec='-R$libdir'
10141
 
      hardcode_direct=yes
10142
 
      hardcode_shlibpath_var=no
10143
 
      ;;
10144
 
 
10145
 
    newsos6)
10146
 
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10147
 
      hardcode_direct=yes
10148
 
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10149
 
      hardcode_libdir_separator=:
10150
 
      hardcode_shlibpath_var=no
10151
 
      ;;
10152
 
 
10153
 
    *nto* | *qnx*)
10154
 
      ;;
10155
 
 
10156
 
    openbsd*)
10157
 
      if test -f /usr/libexec/ld.so; then
10158
 
        hardcode_direct=yes
10159
 
        hardcode_shlibpath_var=no
10160
 
        hardcode_direct_absolute=yes
10161
 
        if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10162
 
          archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10163
 
          archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10164
 
          hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10165
 
          export_dynamic_flag_spec='${wl}-E'
10166
 
        else
10167
 
          case $host_os in
10168
 
           openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
10169
 
             archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10170
 
             hardcode_libdir_flag_spec='-R$libdir'
10171
 
             ;;
10172
 
           *)
10173
 
             archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10174
 
             hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10175
 
             ;;
10176
 
          esac
10177
 
        fi
10178
 
      else
10179
 
        ld_shlibs=no
10180
 
      fi
10181
 
      ;;
10182
 
 
10183
 
    os2*)
10184
 
      hardcode_libdir_flag_spec='-L$libdir'
10185
 
      hardcode_minus_L=yes
10186
 
      allow_undefined_flag=unsupported
10187
 
      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'
10188
 
      old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10189
 
      ;;
10190
 
 
10191
 
    osf3*)
10192
 
      if test "$GCC" = yes; then
10193
 
        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10194
 
        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'
10195
 
      else
10196
 
        allow_undefined_flag=' -expect_unresolved \*'
10197
 
        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'
10198
 
      fi
10199
 
      archive_cmds_need_lc='no'
10200
 
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10201
 
      hardcode_libdir_separator=:
10202
 
      ;;
10203
 
 
10204
 
    osf4* | osf5*)      # as osf3* with the addition of -msym flag
10205
 
      if test "$GCC" = yes; then
10206
 
        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10207
 
        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'
10208
 
        hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10209
 
      else
10210
 
        allow_undefined_flag=' -expect_unresolved \*'
10211
 
        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'
10212
 
        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~
10213
 
        $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'
10214
 
 
10215
 
        # Both c and cxx compiler support -rpath directly
10216
 
        hardcode_libdir_flag_spec='-rpath $libdir'
10217
 
      fi
10218
 
      archive_cmds_need_lc='no'
10219
 
      hardcode_libdir_separator=:
10220
 
      ;;
10221
 
 
10222
 
    solaris*)
10223
 
      no_undefined_flag=' -z defs'
10224
 
      if test "$GCC" = yes; then
10225
 
        wlarc='${wl}'
10226
 
        archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10227
 
        archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10228
 
          $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'
10229
 
      else
10230
 
        case `$CC -V 2>&1` in
10231
 
        *"Compilers 5.0"*)
10232
 
          wlarc=''
10233
 
          archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10234
 
          archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10235
 
          $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10236
 
          ;;
10237
 
        *)
10238
 
          wlarc='${wl}'
10239
 
          archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10240
 
          archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10241
 
          $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10242
 
          ;;
10243
 
        esac
10244
 
      fi
10245
 
      hardcode_libdir_flag_spec='-R$libdir'
10246
 
      hardcode_shlibpath_var=no
10247
 
      case $host_os in
10248
 
      solaris2.[0-5] | solaris2.[0-5].*) ;;
10249
 
      *)
10250
 
        # The compiler driver will combine and reorder linker options,
10251
 
        # but understands `-z linker_flag'.  GCC discards it without `$wl',
10252
 
        # but is careful enough not to reorder.
10253
 
        # Supported since Solaris 2.6 (maybe 2.5.1?)
10254
 
        if test "$GCC" = yes; then
10255
 
          whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10256
 
        else
10257
 
          whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10258
 
        fi
10259
 
        ;;
10260
 
      esac
10261
 
      link_all_deplibs=yes
10262
 
      ;;
10263
 
 
10264
 
    sunos4*)
10265
 
      if test "x$host_vendor" = xsequent; then
10266
 
        # Use $CC to link under sequent, because it throws in some extra .o
10267
 
        # files that make .init and .fini sections work.
10268
 
        archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10269
 
      else
10270
 
        archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10271
 
      fi
10272
 
      hardcode_libdir_flag_spec='-L$libdir'
10273
 
      hardcode_direct=yes
10274
 
      hardcode_minus_L=yes
10275
 
      hardcode_shlibpath_var=no
10276
 
      ;;
10277
 
 
10278
 
    sysv4)
10279
 
      case $host_vendor in
10280
 
        sni)
10281
 
          archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10282
 
          hardcode_direct=yes # is this really true???
10283
 
        ;;
10284
 
        siemens)
10285
 
          ## LD is ld it makes a PLAMLIB
10286
 
          ## CC just makes a GrossModule.
10287
 
          archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10288
 
          reload_cmds='$CC -r -o $output$reload_objs'
10289
 
          hardcode_direct=no
10290
 
        ;;
10291
 
        motorola)
10292
 
          archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10293
 
          hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10294
 
        ;;
10295
 
      esac
10296
 
      runpath_var='LD_RUN_PATH'
10297
 
      hardcode_shlibpath_var=no
10298
 
      ;;
10299
 
 
10300
 
    sysv4.3*)
10301
 
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10302
 
      hardcode_shlibpath_var=no
10303
 
      export_dynamic_flag_spec='-Bexport'
10304
 
      ;;
10305
 
 
10306
 
    sysv4*MP*)
10307
 
      if test -d /usr/nec; then
10308
 
        archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10309
 
        hardcode_shlibpath_var=no
10310
 
        runpath_var=LD_RUN_PATH
10311
 
        hardcode_runpath_var=yes
10312
 
        ld_shlibs=yes
10313
 
      fi
10314
 
      ;;
10315
 
 
10316
 
    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10317
 
      no_undefined_flag='${wl}-z,text'
10318
 
      archive_cmds_need_lc=no
10319
 
      hardcode_shlibpath_var=no
10320
 
      runpath_var='LD_RUN_PATH'
10321
 
 
10322
 
      if test "$GCC" = yes; then
10323
 
        archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10324
 
        archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10325
 
      else
10326
 
        archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10327
 
        archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10328
 
      fi
10329
 
      ;;
10330
 
 
10331
 
    sysv5* | sco3.2v5* | sco5v6*)
10332
 
      # Note: We can NOT use -z defs as we might desire, because we do not
10333
 
      # link with -lc, and that would cause any symbols used from libc to
10334
 
      # always be unresolved, which means just about no library would
10335
 
      # ever link correctly.  If we're not using GNU ld we use -z text
10336
 
      # though, which does catch some bad symbols but isn't as heavy-handed
10337
 
      # as -z defs.
10338
 
      no_undefined_flag='${wl}-z,text'
10339
 
      allow_undefined_flag='${wl}-z,nodefs'
10340
 
      archive_cmds_need_lc=no
10341
 
      hardcode_shlibpath_var=no
10342
 
      hardcode_libdir_flag_spec='${wl}-R,$libdir'
10343
 
      hardcode_libdir_separator=':'
10344
 
      link_all_deplibs=yes
10345
 
      export_dynamic_flag_spec='${wl}-Bexport'
10346
 
      runpath_var='LD_RUN_PATH'
10347
 
 
10348
 
      if test "$GCC" = yes; then
10349
 
        archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10350
 
        archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10351
 
      else
10352
 
        archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10353
 
        archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10354
 
      fi
10355
 
      ;;
10356
 
 
10357
 
    uts4*)
10358
 
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10359
 
      hardcode_libdir_flag_spec='-L$libdir'
10360
 
      hardcode_shlibpath_var=no
10361
 
      ;;
10362
 
 
10363
 
    *)
10364
 
      ld_shlibs=no
10365
 
      ;;
10366
 
    esac
10367
 
 
10368
 
    if test x$host_vendor = xsni; then
10369
 
      case $host in
10370
 
      sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10371
 
        export_dynamic_flag_spec='${wl}-Blargedynsym'
10372
 
        ;;
10373
 
      esac
10374
 
    fi
10375
 
  fi
10376
 
 
10377
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10378
 
$as_echo "$ld_shlibs" >&6; }
10379
 
test "$ld_shlibs" = no && can_build_shared=no
10380
 
 
10381
 
with_gnu_ld=$with_gnu_ld
10382
 
 
10383
 
 
10384
 
 
10385
 
 
10386
 
 
10387
 
 
10388
 
 
10389
 
 
10390
 
 
10391
 
 
10392
 
 
10393
 
 
10394
 
 
10395
 
 
10396
 
 
10397
 
#
10398
 
# Do we need to explicitly link libc?
10399
 
#
10400
 
case "x$archive_cmds_need_lc" in
10401
 
x|xyes)
10402
 
  # Assume -lc should be added
10403
 
  archive_cmds_need_lc=yes
10404
 
 
10405
 
  if test "$enable_shared" = yes && test "$GCC" = yes; then
10406
 
    case $archive_cmds in
10407
 
    *'~'*)
10408
 
      # FIXME: we may have to deal with multi-command sequences.
10409
 
      ;;
10410
 
    '$CC '*)
10411
 
      # Test whether the compiler implicitly links with -lc since on some
10412
 
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
10413
 
      # to ld, don't add -lc before -lgcc.
10414
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10415
 
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10416
 
if ${lt_cv_archive_cmds_need_lc+:} false; then :
10417
 
  $as_echo_n "(cached) " >&6
10418
 
else
10419
 
  $RM conftest*
10420
 
        echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10421
 
 
10422
 
        if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10423
 
  (eval $ac_compile) 2>&5
10424
 
  ac_status=$?
10425
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10426
 
  test $ac_status = 0; } 2>conftest.err; then
10427
 
          soname=conftest
10428
 
          lib=conftest
10429
 
          libobjs=conftest.$ac_objext
10430
 
          deplibs=
10431
 
          wl=$lt_prog_compiler_wl
10432
 
          pic_flag=$lt_prog_compiler_pic
10433
 
          compiler_flags=-v
10434
 
          linker_flags=-v
10435
 
          verstring=
10436
 
          output_objdir=.
10437
 
          libname=conftest
10438
 
          lt_save_allow_undefined_flag=$allow_undefined_flag
10439
 
          allow_undefined_flag=
10440
 
          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10441
 
  (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10442
 
  ac_status=$?
10443
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10444
 
  test $ac_status = 0; }
10445
 
          then
10446
 
            lt_cv_archive_cmds_need_lc=no
10447
 
          else
10448
 
            lt_cv_archive_cmds_need_lc=yes
10449
 
          fi
10450
 
          allow_undefined_flag=$lt_save_allow_undefined_flag
10451
 
        else
10452
 
          cat conftest.err 1>&5
10453
 
        fi
10454
 
        $RM conftest*
10455
 
 
10456
 
fi
10457
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10458
 
$as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10459
 
      archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10460
 
      ;;
10461
 
    esac
10462
 
  fi
10463
 
  ;;
10464
 
esac
10465
 
 
10466
 
 
10467
 
 
10468
 
 
10469
 
 
10470
 
 
10471
 
 
10472
 
 
10473
 
 
10474
 
 
10475
 
 
10476
 
 
10477
 
 
10478
 
 
10479
 
 
10480
 
 
10481
 
 
10482
 
 
10483
 
 
10484
 
 
10485
 
 
10486
 
 
10487
 
 
10488
 
 
10489
 
 
10490
 
 
10491
 
 
10492
 
 
10493
 
 
10494
 
 
10495
 
 
10496
 
 
10497
 
 
10498
 
 
10499
 
 
10500
 
 
10501
 
 
10502
 
 
10503
 
 
10504
 
 
10505
 
 
10506
 
 
10507
 
 
10508
 
 
10509
 
 
10510
 
 
10511
 
 
10512
 
 
10513
 
 
10514
 
 
10515
 
 
10516
 
 
10517
 
 
10518
 
 
10519
 
 
10520
 
 
10521
 
 
10522
 
 
10523
 
 
10524
 
 
10525
 
 
10526
 
 
10527
 
 
10528
 
 
10529
 
 
10530
 
 
10531
 
 
10532
 
 
10533
 
 
10534
 
 
10535
 
 
10536
 
 
10537
 
 
10538
 
 
10539
 
 
10540
 
 
10541
 
 
10542
 
 
10543
 
 
10544
 
 
10545
 
 
10546
 
 
10547
 
 
10548
 
 
10549
 
 
10550
 
 
10551
 
 
10552
 
 
10553
 
 
10554
 
 
10555
 
 
10556
 
 
10557
 
 
10558
 
 
10559
 
 
10560
 
 
10561
 
 
10562
 
 
10563
 
 
10564
 
 
10565
 
 
10566
 
 
10567
 
 
10568
 
 
10569
 
 
10570
 
 
10571
 
 
10572
 
 
10573
 
 
10574
 
 
10575
 
 
10576
 
 
10577
 
 
10578
 
 
10579
 
 
10580
 
 
10581
 
 
10582
 
 
10583
 
 
10584
 
 
10585
 
 
10586
 
 
10587
 
 
10588
 
 
10589
 
 
10590
 
 
10591
 
 
10592
 
 
10593
 
 
10594
 
 
10595
 
 
10596
 
 
10597
 
 
10598
 
 
10599
 
 
10600
 
 
10601
 
 
10602
 
 
10603
 
 
10604
 
 
10605
 
 
10606
 
 
10607
 
 
10608
 
 
10609
 
 
10610
 
 
10611
 
 
10612
 
 
10613
 
 
10614
 
 
10615
 
 
10616
 
 
10617
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10618
 
$as_echo_n "checking dynamic linker characteristics... " >&6; }
10619
 
 
10620
 
if test "$GCC" = yes; then
10621
 
  case $host_os in
10622
 
    darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10623
 
    *) lt_awk_arg="/^libraries:/" ;;
10624
 
  esac
10625
 
  case $host_os in
10626
 
    mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10627
 
    *) lt_sed_strip_eq="s,=/,/,g" ;;
10628
 
  esac
10629
 
  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10630
 
  case $lt_search_path_spec in
10631
 
  *\;*)
10632
 
    # if the path contains ";" then we assume it to be the separator
10633
 
    # otherwise default to the standard path separator (i.e. ":") - it is
10634
 
    # assumed that no part of a normal pathname contains ";" but that should
10635
 
    # okay in the real world where ";" in dirpaths is itself problematic.
10636
 
    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10637
 
    ;;
10638
 
  *)
10639
 
    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10640
 
    ;;
10641
 
  esac
10642
 
  # Ok, now we have the path, separated by spaces, we can step through it
10643
 
  # and add multilib dir if necessary.
10644
 
  lt_tmp_lt_search_path_spec=
10645
 
  lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10646
 
  for lt_sys_path in $lt_search_path_spec; do
10647
 
    if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10648
 
      lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10649
 
    else
10650
 
      test -d "$lt_sys_path" && \
10651
 
        lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10652
 
    fi
10653
 
  done
10654
 
  lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10655
 
BEGIN {RS=" "; FS="/|\n";} {
10656
 
  lt_foo="";
10657
 
  lt_count=0;
10658
 
  for (lt_i = NF; lt_i > 0; lt_i--) {
10659
 
    if ($lt_i != "" && $lt_i != ".") {
10660
 
      if ($lt_i == "..") {
10661
 
        lt_count++;
10662
 
      } else {
10663
 
        if (lt_count == 0) {
10664
 
          lt_foo="/" $lt_i lt_foo;
10665
 
        } else {
10666
 
          lt_count--;
10667
 
        }
10668
 
      }
10669
 
    }
10670
 
  }
10671
 
  if (lt_foo != "") { lt_freq[lt_foo]++; }
10672
 
  if (lt_freq[lt_foo] == 1) { print lt_foo; }
10673
 
}'`
10674
 
  # AWK program above erroneously prepends '/' to C:/dos/paths
10675
 
  # for these hosts.
10676
 
  case $host_os in
10677
 
    mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10678
 
      $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10679
 
  esac
10680
 
  sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10681
 
else
10682
 
  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10683
 
fi
10684
 
library_names_spec=
10685
 
libname_spec='lib$name'
10686
 
soname_spec=
10687
 
shrext_cmds=".so"
10688
 
postinstall_cmds=
10689
 
postuninstall_cmds=
10690
 
finish_cmds=
10691
 
finish_eval=
10692
 
shlibpath_var=
10693
 
shlibpath_overrides_runpath=unknown
10694
 
version_type=none
10695
 
dynamic_linker="$host_os ld.so"
10696
 
sys_lib_dlsearch_path_spec="/lib /usr/lib"
10697
 
need_lib_prefix=unknown
10698
 
hardcode_into_libs=no
10699
 
 
10700
 
# when you set need_version to no, make sure it does not cause -set_version
10701
 
# flags to be left without arguments
10702
 
need_version=unknown
10703
 
 
10704
 
case $host_os in
10705
 
aix3*)
10706
 
  version_type=linux # correct to gnu/linux during the next big refactor
10707
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10708
 
  shlibpath_var=LIBPATH
10709
 
 
10710
 
  # AIX 3 has no versioning support, so we append a major version to the name.
10711
 
  soname_spec='${libname}${release}${shared_ext}$major'
10712
 
  ;;
10713
 
 
10714
 
aix[4-9]*)
10715
 
  version_type=linux # correct to gnu/linux during the next big refactor
10716
 
  need_lib_prefix=no
10717
 
  need_version=no
10718
 
  hardcode_into_libs=yes
10719
 
  if test "$host_cpu" = ia64; then
10720
 
    # AIX 5 supports IA64
10721
 
    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10722
 
    shlibpath_var=LD_LIBRARY_PATH
10723
 
  else
10724
 
    # With GCC up to 2.95.x, collect2 would create an import file
10725
 
    # for dependence libraries.  The import file would start with
10726
 
    # the line `#! .'.  This would cause the generated library to
10727
 
    # depend on `.', always an invalid library.  This was fixed in
10728
 
    # development snapshots of GCC prior to 3.0.
10729
 
    case $host_os in
10730
 
      aix4 | aix4.[01] | aix4.[01].*)
10731
 
      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10732
 
           echo ' yes '
10733
 
           echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10734
 
        :
10735
 
      else
10736
 
        can_build_shared=no
10737
 
      fi
10738
 
      ;;
10739
 
    esac
10740
 
    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10741
 
    # soname into executable. Probably we can add versioning support to
10742
 
    # collect2, so additional links can be useful in future.
10743
 
    if test "$aix_use_runtimelinking" = yes; then
10744
 
      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10745
 
      # instead of lib<name>.a to let people know that these are not
10746
 
      # typical AIX shared libraries.
10747
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10748
 
    else
10749
 
      # We preserve .a as extension for shared libraries through AIX4.2
10750
 
      # and later when we are not doing run time linking.
10751
 
      library_names_spec='${libname}${release}.a $libname.a'
10752
 
      soname_spec='${libname}${release}${shared_ext}$major'
10753
 
    fi
10754
 
    shlibpath_var=LIBPATH
10755
 
  fi
10756
 
  ;;
10757
 
 
10758
 
amigaos*)
10759
 
  case $host_cpu in
10760
 
  powerpc)
10761
 
    # Since July 2007 AmigaOS4 officially supports .so libraries.
10762
 
    # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10763
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10764
 
    ;;
10765
 
  m68k)
10766
 
    library_names_spec='$libname.ixlibrary $libname.a'
10767
 
    # Create ${libname}_ixlibrary.a entries in /sys/libs.
10768
 
    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'
10769
 
    ;;
10770
 
  esac
10771
 
  ;;
10772
 
 
10773
 
beos*)
10774
 
  library_names_spec='${libname}${shared_ext}'
10775
 
  dynamic_linker="$host_os ld.so"
10776
 
  shlibpath_var=LIBRARY_PATH
10777
 
  ;;
10778
 
 
10779
 
bsdi[45]*)
10780
 
  version_type=linux # correct to gnu/linux during the next big refactor
10781
 
  need_version=no
10782
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10783
 
  soname_spec='${libname}${release}${shared_ext}$major'
10784
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10785
 
  shlibpath_var=LD_LIBRARY_PATH
10786
 
  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10787
 
  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10788
 
  # the default ld.so.conf also contains /usr/contrib/lib and
10789
 
  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10790
 
  # libtool to hard-code these into programs
10791
 
  ;;
10792
 
 
10793
 
cygwin* | mingw* | pw32* | cegcc*)
10794
 
  version_type=windows
10795
 
  shrext_cmds=".dll"
10796
 
  need_version=no
10797
 
  need_lib_prefix=no
10798
 
 
10799
 
  case $GCC,$cc_basename in
10800
 
  yes,*)
10801
 
    # gcc
10802
 
    library_names_spec='$libname.dll.a'
10803
 
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
10804
 
    postinstall_cmds='base_file=`basename \${file}`~
10805
 
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10806
 
      dldir=$destdir/`dirname \$dlpath`~
10807
 
      test -d \$dldir || mkdir -p \$dldir~
10808
 
      $install_prog $dir/$dlname \$dldir/$dlname~
10809
 
      chmod a+x \$dldir/$dlname~
10810
 
      if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10811
 
        eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10812
 
      fi'
10813
 
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10814
 
      dlpath=$dir/\$dldll~
10815
 
       $RM \$dlpath'
10816
 
    shlibpath_overrides_runpath=yes
10817
 
 
10818
 
    case $host_os in
10819
 
    cygwin*)
10820
 
      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10821
 
      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10822
 
 
10823
 
      sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10824
 
      ;;
10825
 
    mingw* | cegcc*)
10826
 
      # MinGW DLLs use traditional 'lib' prefix
10827
 
      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10828
 
      ;;
10829
 
    pw32*)
10830
 
      # pw32 DLLs use 'pw' prefix rather than 'lib'
10831
 
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10832
 
      ;;
10833
 
    esac
10834
 
    dynamic_linker='Win32 ld.exe'
10835
 
    ;;
10836
 
 
10837
 
  *,cl*)
10838
 
    # Native MSVC
10839
 
    libname_spec='$name'
10840
 
    soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10841
 
    library_names_spec='${libname}.dll.lib'
10842
 
 
10843
 
    case $build_os in
10844
 
    mingw*)
10845
 
      sys_lib_search_path_spec=
10846
 
      lt_save_ifs=$IFS
10847
 
      IFS=';'
10848
 
      for lt_path in $LIB
10849
 
      do
10850
 
        IFS=$lt_save_ifs
10851
 
        # Let DOS variable expansion print the short 8.3 style file name.
10852
 
        lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10853
 
        sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
10854
 
      done
10855
 
      IFS=$lt_save_ifs
10856
 
      # Convert to MSYS style.
10857
 
      sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10858
 
      ;;
10859
 
    cygwin*)
10860
 
      # Convert to unix form, then to dos form, then back to unix form
10861
 
      # but this time dos style (no spaces!) so that the unix form looks
10862
 
      # like /cygdrive/c/PROGRA~1:/cygdr...
10863
 
      sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
10864
 
      sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10865
 
      sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10866
 
      ;;
10867
 
    *)
10868
 
      sys_lib_search_path_spec="$LIB"
10869
 
      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10870
 
        # It is most probably a Windows format PATH.
10871
 
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10872
 
      else
10873
 
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10874
 
      fi
10875
 
      # FIXME: find the short name or the path components, as spaces are
10876
 
      # common. (e.g. "Program Files" -> "PROGRA~1")
10877
 
      ;;
10878
 
    esac
10879
 
 
10880
 
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
10881
 
    postinstall_cmds='base_file=`basename \${file}`~
10882
 
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10883
 
      dldir=$destdir/`dirname \$dlpath`~
10884
 
      test -d \$dldir || mkdir -p \$dldir~
10885
 
      $install_prog $dir/$dlname \$dldir/$dlname'
10886
 
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10887
 
      dlpath=$dir/\$dldll~
10888
 
       $RM \$dlpath'
10889
 
    shlibpath_overrides_runpath=yes
10890
 
    dynamic_linker='Win32 link.exe'
10891
 
    ;;
10892
 
 
10893
 
  *)
10894
 
    # Assume MSVC wrapper
10895
 
    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10896
 
    dynamic_linker='Win32 ld.exe'
10897
 
    ;;
10898
 
  esac
10899
 
  # FIXME: first we should search . and the directory the executable is in
10900
 
  shlibpath_var=PATH
10901
 
  ;;
10902
 
 
10903
 
darwin* | rhapsody*)
10904
 
  dynamic_linker="$host_os dyld"
10905
 
  version_type=darwin
10906
 
  need_lib_prefix=no
10907
 
  need_version=no
10908
 
  library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10909
 
  soname_spec='${libname}${release}${major}$shared_ext'
10910
 
  shlibpath_overrides_runpath=yes
10911
 
  shlibpath_var=DYLD_LIBRARY_PATH
10912
 
  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10913
 
 
10914
 
  sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10915
 
  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10916
 
  ;;
10917
 
 
10918
 
dgux*)
10919
 
  version_type=linux # correct to gnu/linux during the next big refactor
10920
 
  need_lib_prefix=no
10921
 
  need_version=no
10922
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10923
 
  soname_spec='${libname}${release}${shared_ext}$major'
10924
 
  shlibpath_var=LD_LIBRARY_PATH
10925
 
  ;;
10926
 
 
10927
 
freebsd* | dragonfly*)
10928
 
  # DragonFly does not have aout.  When/if they implement a new
10929
 
  # versioning mechanism, adjust this.
10930
 
  if test -x /usr/bin/objformat; then
10931
 
    objformat=`/usr/bin/objformat`
10932
 
  else
10933
 
    case $host_os in
10934
 
    freebsd[23].*) objformat=aout ;;
10935
 
    *) objformat=elf ;;
10936
 
    esac
10937
 
  fi
10938
 
  version_type=freebsd-$objformat
10939
 
  case $version_type in
10940
 
    freebsd-elf*)
10941
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10942
 
      need_version=no
10943
 
      need_lib_prefix=no
10944
 
      ;;
10945
 
    freebsd-*)
10946
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10947
 
      need_version=yes
10948
 
      ;;
10949
 
  esac
10950
 
  shlibpath_var=LD_LIBRARY_PATH
10951
 
  case $host_os in
10952
 
  freebsd2.*)
10953
 
    shlibpath_overrides_runpath=yes
10954
 
    ;;
10955
 
  freebsd3.[01]* | freebsdelf3.[01]*)
10956
 
    shlibpath_overrides_runpath=yes
10957
 
    hardcode_into_libs=yes
10958
 
    ;;
10959
 
  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10960
 
  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10961
 
    shlibpath_overrides_runpath=no
10962
 
    hardcode_into_libs=yes
10963
 
    ;;
10964
 
  *) # from 4.6 on, and DragonFly
10965
 
    shlibpath_overrides_runpath=yes
10966
 
    hardcode_into_libs=yes
10967
 
    ;;
10968
 
  esac
10969
 
  ;;
10970
 
 
10971
 
gnu*)
10972
 
  version_type=linux # correct to gnu/linux during the next big refactor
10973
 
  need_lib_prefix=no
10974
 
  need_version=no
10975
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10976
 
  soname_spec='${libname}${release}${shared_ext}$major'
10977
 
  shlibpath_var=LD_LIBRARY_PATH
10978
 
  shlibpath_overrides_runpath=no
10979
 
  hardcode_into_libs=yes
10980
 
  ;;
10981
 
 
10982
 
haiku*)
10983
 
  version_type=linux # correct to gnu/linux during the next big refactor
10984
 
  need_lib_prefix=no
10985
 
  need_version=no
10986
 
  dynamic_linker="$host_os runtime_loader"
10987
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10988
 
  soname_spec='${libname}${release}${shared_ext}$major'
10989
 
  shlibpath_var=LIBRARY_PATH
10990
 
  shlibpath_overrides_runpath=yes
10991
 
  sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10992
 
  hardcode_into_libs=yes
10993
 
  ;;
10994
 
 
10995
 
hpux9* | hpux10* | hpux11*)
10996
 
  # Give a soname corresponding to the major version so that dld.sl refuses to
10997
 
  # link against other versions.
10998
 
  version_type=sunos
10999
 
  need_lib_prefix=no
11000
 
  need_version=no
11001
 
  case $host_cpu in
11002
 
  ia64*)
11003
 
    shrext_cmds='.so'
11004
 
    hardcode_into_libs=yes
11005
 
    dynamic_linker="$host_os dld.so"
11006
 
    shlibpath_var=LD_LIBRARY_PATH
11007
 
    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11008
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11009
 
    soname_spec='${libname}${release}${shared_ext}$major'
11010
 
    if test "X$HPUX_IA64_MODE" = X32; then
11011
 
      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11012
 
    else
11013
 
      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
11014
 
    fi
11015
 
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11016
 
    ;;
11017
 
  hppa*64*)
11018
 
    shrext_cmds='.sl'
11019
 
    hardcode_into_libs=yes
11020
 
    dynamic_linker="$host_os dld.sl"
11021
 
    shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
11022
 
    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11023
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11024
 
    soname_spec='${libname}${release}${shared_ext}$major'
11025
 
    sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11026
 
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11027
 
    ;;
11028
 
  *)
11029
 
    shrext_cmds='.sl'
11030
 
    dynamic_linker="$host_os dld.sl"
11031
 
    shlibpath_var=SHLIB_PATH
11032
 
    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
11033
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11034
 
    soname_spec='${libname}${release}${shared_ext}$major'
11035
 
    ;;
11036
 
  esac
11037
 
  # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11038
 
  postinstall_cmds='chmod 555 $lib'
11039
 
  # or fails outright, so override atomically:
11040
 
  install_override_mode=555
11041
 
  ;;
11042
 
 
11043
 
interix[3-9]*)
11044
 
  version_type=linux # correct to gnu/linux during the next big refactor
11045
 
  need_lib_prefix=no
11046
 
  need_version=no
11047
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11048
 
  soname_spec='${libname}${release}${shared_ext}$major'
11049
 
  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
11050
 
  shlibpath_var=LD_LIBRARY_PATH
11051
 
  shlibpath_overrides_runpath=no
11052
 
  hardcode_into_libs=yes
11053
 
  ;;
11054
 
 
11055
 
irix5* | irix6* | nonstopux*)
11056
 
  case $host_os in
11057
 
    nonstopux*) version_type=nonstopux ;;
11058
 
    *)
11059
 
        if test "$lt_cv_prog_gnu_ld" = yes; then
11060
 
                version_type=linux # correct to gnu/linux during the next big refactor
11061
 
        else
11062
 
                version_type=irix
11063
 
        fi ;;
11064
 
  esac
11065
 
  need_lib_prefix=no
11066
 
  need_version=no
11067
 
  soname_spec='${libname}${release}${shared_ext}$major'
11068
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11069
 
  case $host_os in
11070
 
  irix5* | nonstopux*)
11071
 
    libsuff= shlibsuff=
11072
 
    ;;
11073
 
  *)
11074
 
    case $LD in # libtool.m4 will add one of these switches to LD
11075
 
    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
11076
 
      libsuff= shlibsuff= libmagic=32-bit;;
11077
 
    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
11078
 
      libsuff=32 shlibsuff=N32 libmagic=N32;;
11079
 
    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
11080
 
      libsuff=64 shlibsuff=64 libmagic=64-bit;;
11081
 
    *) libsuff= shlibsuff= libmagic=never-match;;
11082
 
    esac
11083
 
    ;;
11084
 
  esac
11085
 
  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
11086
 
  shlibpath_overrides_runpath=no
11087
 
  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11088
 
  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
11089
 
  hardcode_into_libs=yes
11090
 
  ;;
11091
 
 
11092
 
# No shared lib support for Linux oldld, aout, or coff.
11093
 
linux*oldld* | linux*aout* | linux*coff*)
11094
 
  dynamic_linker=no
11095
 
  ;;
11096
 
 
11097
 
# This must be glibc/ELF.
11098
 
linux* | k*bsd*-gnu | kopensolaris*-gnu)
11099
 
  version_type=linux # correct to gnu/linux during the next big refactor
11100
 
  need_lib_prefix=no
11101
 
  need_version=no
11102
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11103
 
  soname_spec='${libname}${release}${shared_ext}$major'
11104
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11105
 
  shlibpath_var=LD_LIBRARY_PATH
11106
 
  shlibpath_overrides_runpath=no
11107
 
 
11108
 
  # Some binutils ld are patched to set DT_RUNPATH
11109
 
  if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
11110
 
  $as_echo_n "(cached) " >&6
11111
 
else
11112
 
  lt_cv_shlibpath_overrides_runpath=no
11113
 
    save_LDFLAGS=$LDFLAGS
11114
 
    save_libdir=$libdir
11115
 
    eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11116
 
         LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11117
 
    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11118
 
/* end confdefs.h.  */
11119
 
 
11120
 
int
11121
 
main ()
11122
 
{
11123
 
 
11124
 
  ;
11125
 
  return 0;
11126
 
}
11127
 
_ACEOF
11128
 
if ac_fn_c_try_link "$LINENO"; then :
11129
 
  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
11130
 
  lt_cv_shlibpath_overrides_runpath=yes
11131
 
fi
11132
 
fi
11133
 
rm -f core conftest.err conftest.$ac_objext \
11134
 
    conftest$ac_exeext conftest.$ac_ext
11135
 
    LDFLAGS=$save_LDFLAGS
11136
 
    libdir=$save_libdir
11137
 
 
11138
 
fi
11139
 
 
11140
 
  shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
11141
 
 
11142
 
  # This implies no fast_install, which is unacceptable.
11143
 
  # Some rework will be needed to allow for fast_install
11144
 
  # before this can be enabled.
11145
 
  hardcode_into_libs=yes
11146
 
 
11147
 
  # Append ld.so.conf contents to the search path
11148
 
  if test -f /etc/ld.so.conf; then
11149
 
    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' ' '`
11150
 
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
11151
 
  fi
11152
 
 
11153
 
  # We used to test for /lib/ld.so.1 and disable shared libraries on
11154
 
  # powerpc, because MkLinux only supported shared libraries with the
11155
 
  # GNU dynamic linker.  Since this was broken with cross compilers,
11156
 
  # most powerpc-linux boxes support dynamic linking these days and
11157
 
  # people can always --disable-shared, the test was removed, and we
11158
 
  # assume the GNU/Linux dynamic linker is in use.
11159
 
  dynamic_linker='GNU/Linux ld.so'
11160
 
  ;;
11161
 
 
11162
 
netbsd*)
11163
 
  version_type=sunos
11164
 
  need_lib_prefix=no
11165
 
  need_version=no
11166
 
  if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11167
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11168
 
    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11169
 
    dynamic_linker='NetBSD (a.out) ld.so'
11170
 
  else
11171
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11172
 
    soname_spec='${libname}${release}${shared_ext}$major'
11173
 
    dynamic_linker='NetBSD ld.elf_so'
11174
 
  fi
11175
 
  shlibpath_var=LD_LIBRARY_PATH
11176
 
  shlibpath_overrides_runpath=yes
11177
 
  hardcode_into_libs=yes
11178
 
  ;;
11179
 
 
11180
 
newsos6)
11181
 
  version_type=linux # correct to gnu/linux during the next big refactor
11182
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11183
 
  shlibpath_var=LD_LIBRARY_PATH
11184
 
  shlibpath_overrides_runpath=yes
11185
 
  ;;
11186
 
 
11187
 
*nto* | *qnx*)
11188
 
  version_type=qnx
11189
 
  need_lib_prefix=no
11190
 
  need_version=no
11191
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11192
 
  soname_spec='${libname}${release}${shared_ext}$major'
11193
 
  shlibpath_var=LD_LIBRARY_PATH
11194
 
  shlibpath_overrides_runpath=no
11195
 
  hardcode_into_libs=yes
11196
 
  dynamic_linker='ldqnx.so'
11197
 
  ;;
11198
 
 
11199
 
openbsd*)
11200
 
  version_type=sunos
11201
 
  sys_lib_dlsearch_path_spec="/usr/lib"
11202
 
  need_lib_prefix=no
11203
 
  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11204
 
  case $host_os in
11205
 
    openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
11206
 
    *)                          need_version=no  ;;
11207
 
  esac
11208
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11209
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11210
 
  shlibpath_var=LD_LIBRARY_PATH
11211
 
  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11212
 
    case $host_os in
11213
 
      openbsd2.[89] | openbsd2.[89].*)
11214
 
        shlibpath_overrides_runpath=no
11215
 
        ;;
11216
 
      *)
11217
 
        shlibpath_overrides_runpath=yes
11218
 
        ;;
11219
 
      esac
11220
 
  else
11221
 
    shlibpath_overrides_runpath=yes
11222
 
  fi
11223
 
  ;;
11224
 
 
11225
 
os2*)
11226
 
  libname_spec='$name'
11227
 
  shrext_cmds=".dll"
11228
 
  need_lib_prefix=no
11229
 
  library_names_spec='$libname${shared_ext} $libname.a'
11230
 
  dynamic_linker='OS/2 ld.exe'
11231
 
  shlibpath_var=LIBPATH
11232
 
  ;;
11233
 
 
11234
 
osf3* | osf4* | osf5*)
11235
 
  version_type=osf
11236
 
  need_lib_prefix=no
11237
 
  need_version=no
11238
 
  soname_spec='${libname}${release}${shared_ext}$major'
11239
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11240
 
  shlibpath_var=LD_LIBRARY_PATH
11241
 
  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11242
 
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11243
 
  ;;
11244
 
 
11245
 
rdos*)
11246
 
  dynamic_linker=no
11247
 
  ;;
11248
 
 
11249
 
solaris*)
11250
 
  version_type=linux # correct to gnu/linux during the next big refactor
11251
 
  need_lib_prefix=no
11252
 
  need_version=no
11253
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11254
 
  soname_spec='${libname}${release}${shared_ext}$major'
11255
 
  shlibpath_var=LD_LIBRARY_PATH
11256
 
  shlibpath_overrides_runpath=yes
11257
 
  hardcode_into_libs=yes
11258
 
  # ldd complains unless libraries are executable
11259
 
  postinstall_cmds='chmod +x $lib'
11260
 
  ;;
11261
 
 
11262
 
sunos4*)
11263
 
  version_type=sunos
11264
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11265
 
  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11266
 
  shlibpath_var=LD_LIBRARY_PATH
11267
 
  shlibpath_overrides_runpath=yes
11268
 
  if test "$with_gnu_ld" = yes; then
11269
 
    need_lib_prefix=no
11270
 
  fi
11271
 
  need_version=yes
11272
 
  ;;
11273
 
 
11274
 
sysv4 | sysv4.3*)
11275
 
  version_type=linux # correct to gnu/linux during the next big refactor
11276
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11277
 
  soname_spec='${libname}${release}${shared_ext}$major'
11278
 
  shlibpath_var=LD_LIBRARY_PATH
11279
 
  case $host_vendor in
11280
 
    sni)
11281
 
      shlibpath_overrides_runpath=no
11282
 
      need_lib_prefix=no
11283
 
      runpath_var=LD_RUN_PATH
11284
 
      ;;
11285
 
    siemens)
11286
 
      need_lib_prefix=no
11287
 
      ;;
11288
 
    motorola)
11289
 
      need_lib_prefix=no
11290
 
      need_version=no
11291
 
      shlibpath_overrides_runpath=no
11292
 
      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11293
 
      ;;
11294
 
  esac
11295
 
  ;;
11296
 
 
11297
 
sysv4*MP*)
11298
 
  if test -d /usr/nec ;then
11299
 
    version_type=linux # correct to gnu/linux during the next big refactor
11300
 
    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11301
 
    soname_spec='$libname${shared_ext}.$major'
11302
 
    shlibpath_var=LD_LIBRARY_PATH
11303
 
  fi
11304
 
  ;;
11305
 
 
11306
 
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11307
 
  version_type=freebsd-elf
11308
 
  need_lib_prefix=no
11309
 
  need_version=no
11310
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11311
 
  soname_spec='${libname}${release}${shared_ext}$major'
11312
 
  shlibpath_var=LD_LIBRARY_PATH
11313
 
  shlibpath_overrides_runpath=yes
11314
 
  hardcode_into_libs=yes
11315
 
  if test "$with_gnu_ld" = yes; then
11316
 
    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11317
 
  else
11318
 
    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11319
 
    case $host_os in
11320
 
      sco3.2v5*)
11321
 
        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11322
 
        ;;
11323
 
    esac
11324
 
  fi
11325
 
  sys_lib_dlsearch_path_spec='/usr/lib'
11326
 
  ;;
11327
 
 
11328
 
tpf*)
11329
 
  # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
11330
 
  version_type=linux # correct to gnu/linux during the next big refactor
11331
 
  need_lib_prefix=no
11332
 
  need_version=no
11333
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11334
 
  shlibpath_var=LD_LIBRARY_PATH
11335
 
  shlibpath_overrides_runpath=no
11336
 
  hardcode_into_libs=yes
11337
 
  ;;
11338
 
 
11339
 
uts4*)
11340
 
  version_type=linux # correct to gnu/linux during the next big refactor
11341
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11342
 
  soname_spec='${libname}${release}${shared_ext}$major'
11343
 
  shlibpath_var=LD_LIBRARY_PATH
11344
 
  ;;
11345
 
 
11346
 
*)
11347
 
  dynamic_linker=no
11348
 
  ;;
11349
 
esac
11350
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11351
 
$as_echo "$dynamic_linker" >&6; }
11352
 
test "$dynamic_linker" = no && can_build_shared=no
11353
 
 
11354
 
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11355
 
if test "$GCC" = yes; then
11356
 
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11357
 
fi
11358
 
 
11359
 
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11360
 
  sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11361
 
fi
11362
 
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11363
 
  sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11364
 
fi
11365
 
 
11366
 
 
11367
 
 
11368
 
 
11369
 
 
11370
 
 
11371
 
 
11372
 
 
11373
 
 
11374
 
 
11375
 
 
11376
 
 
11377
 
 
11378
 
 
11379
 
 
11380
 
 
11381
 
 
11382
 
 
11383
 
 
11384
 
 
11385
 
 
11386
 
 
11387
 
 
11388
 
 
11389
 
 
11390
 
 
11391
 
 
11392
 
 
11393
 
 
11394
 
 
11395
 
 
11396
 
 
11397
 
 
11398
 
 
11399
 
 
11400
 
 
11401
 
 
11402
 
 
11403
 
 
11404
 
 
11405
 
 
11406
 
 
11407
 
 
11408
 
 
11409
 
 
11410
 
 
11411
 
 
11412
 
 
11413
 
 
11414
 
 
11415
 
 
11416
 
 
11417
 
 
11418
 
 
11419
 
 
11420
 
 
11421
 
 
11422
 
 
11423
 
 
11424
 
 
11425
 
 
11426
 
 
11427
 
 
11428
 
 
11429
 
 
11430
 
 
11431
 
 
11432
 
 
11433
 
 
11434
 
 
11435
 
 
11436
 
 
11437
 
 
11438
 
 
11439
 
 
11440
 
 
11441
 
 
11442
 
 
11443
 
 
11444
 
 
11445
 
 
11446
 
 
11447
 
 
11448
 
 
11449
 
 
11450
 
 
11451
 
 
11452
 
 
11453
 
 
11454
 
 
11455
 
 
11456
 
 
11457
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11458
 
$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11459
 
hardcode_action=
11460
 
if test -n "$hardcode_libdir_flag_spec" ||
11461
 
   test -n "$runpath_var" ||
11462
 
   test "X$hardcode_automatic" = "Xyes" ; then
11463
 
 
11464
 
  # We can hardcode non-existent directories.
11465
 
  if test "$hardcode_direct" != no &&
11466
 
     # If the only mechanism to avoid hardcoding is shlibpath_var, we
11467
 
     # have to relink, otherwise we might link with an installed library
11468
 
     # when we should be linking with a yet-to-be-installed one
11469
 
     ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11470
 
     test "$hardcode_minus_L" != no; then
11471
 
    # Linking always hardcodes the temporary library directory.
11472
 
    hardcode_action=relink
11473
 
  else
11474
 
    # We can link without hardcoding, and we can hardcode nonexisting dirs.
11475
 
    hardcode_action=immediate
11476
 
  fi
11477
 
else
11478
 
  # We cannot hardcode anything, or else we can only hardcode existing
11479
 
  # directories.
11480
 
  hardcode_action=unsupported
11481
 
fi
11482
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11483
 
$as_echo "$hardcode_action" >&6; }
11484
 
 
11485
 
if test "$hardcode_action" = relink ||
11486
 
   test "$inherit_rpath" = yes; then
11487
 
  # Fast installation is not supported
11488
 
  enable_fast_install=no
11489
 
elif test "$shlibpath_overrides_runpath" = yes ||
11490
 
     test "$enable_shared" = no; then
11491
 
  # Fast installation is not necessary
11492
 
  enable_fast_install=needless
11493
 
fi
11494
 
 
11495
 
 
11496
 
 
11497
 
 
11498
 
 
11499
 
 
11500
 
  if test "x$enable_dlopen" != xyes; then
11501
 
  enable_dlopen=unknown
11502
 
  enable_dlopen_self=unknown
11503
 
  enable_dlopen_self_static=unknown
11504
 
else
11505
 
  lt_cv_dlopen=no
11506
 
  lt_cv_dlopen_libs=
11507
 
 
11508
 
  case $host_os in
11509
 
  beos*)
11510
 
    lt_cv_dlopen="load_add_on"
11511
 
    lt_cv_dlopen_libs=
11512
 
    lt_cv_dlopen_self=yes
11513
 
    ;;
11514
 
 
11515
 
  mingw* | pw32* | cegcc*)
11516
 
    lt_cv_dlopen="LoadLibrary"
11517
 
    lt_cv_dlopen_libs=
11518
 
    ;;
11519
 
 
11520
 
  cygwin*)
11521
 
    lt_cv_dlopen="dlopen"
11522
 
    lt_cv_dlopen_libs=
11523
 
    ;;
11524
 
 
11525
 
  darwin*)
11526
 
  # if libdl is installed we need to link against it
11527
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11528
 
$as_echo_n "checking for dlopen in -ldl... " >&6; }
11529
 
if ${ac_cv_lib_dl_dlopen+:} false; then :
11530
 
  $as_echo_n "(cached) " >&6
11531
 
else
11532
 
  ac_check_lib_save_LIBS=$LIBS
11533
 
LIBS="-ldl  $LIBS"
11534
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11535
 
/* end confdefs.h.  */
11536
 
 
11537
 
/* Override any GCC internal prototype to avoid an error.
11538
 
   Use char because int might match the return type of a GCC
11539
 
   builtin and then its argument prototype would still apply.  */
11540
 
#ifdef __cplusplus
11541
 
extern "C"
11542
 
#endif
11543
 
char dlopen ();
11544
 
int
11545
 
main ()
11546
 
{
11547
 
return dlopen ();
11548
 
  ;
11549
 
  return 0;
11550
 
}
11551
 
_ACEOF
11552
 
if ac_fn_c_try_link "$LINENO"; then :
11553
 
  ac_cv_lib_dl_dlopen=yes
11554
 
else
11555
 
  ac_cv_lib_dl_dlopen=no
11556
 
fi
11557
 
rm -f core conftest.err conftest.$ac_objext \
11558
 
    conftest$ac_exeext conftest.$ac_ext
11559
 
LIBS=$ac_check_lib_save_LIBS
11560
 
fi
11561
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11562
 
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11563
 
if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11564
 
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11565
 
else
11566
 
 
11567
 
    lt_cv_dlopen="dyld"
11568
 
    lt_cv_dlopen_libs=
11569
 
    lt_cv_dlopen_self=yes
11570
 
 
11571
 
fi
11572
 
 
11573
 
    ;;
11574
 
 
11575
 
  *)
11576
 
    ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11577
 
if test "x$ac_cv_func_shl_load" = xyes; then :
11578
 
  lt_cv_dlopen="shl_load"
11579
 
else
11580
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11581
 
$as_echo_n "checking for shl_load in -ldld... " >&6; }
11582
 
if ${ac_cv_lib_dld_shl_load+:} false; then :
11583
 
  $as_echo_n "(cached) " >&6
11584
 
else
11585
 
  ac_check_lib_save_LIBS=$LIBS
11586
 
LIBS="-ldld  $LIBS"
11587
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11588
 
/* end confdefs.h.  */
11589
 
 
11590
 
/* Override any GCC internal prototype to avoid an error.
11591
 
   Use char because int might match the return type of a GCC
11592
 
   builtin and then its argument prototype would still apply.  */
11593
 
#ifdef __cplusplus
11594
 
extern "C"
11595
 
#endif
11596
 
char shl_load ();
11597
 
int
11598
 
main ()
11599
 
{
11600
 
return shl_load ();
11601
 
  ;
11602
 
  return 0;
11603
 
}
11604
 
_ACEOF
11605
 
if ac_fn_c_try_link "$LINENO"; then :
11606
 
  ac_cv_lib_dld_shl_load=yes
11607
 
else
11608
 
  ac_cv_lib_dld_shl_load=no
11609
 
fi
11610
 
rm -f core conftest.err conftest.$ac_objext \
11611
 
    conftest$ac_exeext conftest.$ac_ext
11612
 
LIBS=$ac_check_lib_save_LIBS
11613
 
fi
11614
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11615
 
$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11616
 
if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
11617
 
  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11618
 
else
11619
 
  ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11620
 
if test "x$ac_cv_func_dlopen" = xyes; then :
11621
 
  lt_cv_dlopen="dlopen"
11622
 
else
11623
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11624
 
$as_echo_n "checking for dlopen in -ldl... " >&6; }
11625
 
if ${ac_cv_lib_dl_dlopen+:} false; then :
11626
 
  $as_echo_n "(cached) " >&6
11627
 
else
11628
 
  ac_check_lib_save_LIBS=$LIBS
11629
 
LIBS="-ldl  $LIBS"
11630
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11631
 
/* end confdefs.h.  */
11632
 
 
11633
 
/* Override any GCC internal prototype to avoid an error.
11634
 
   Use char because int might match the return type of a GCC
11635
 
   builtin and then its argument prototype would still apply.  */
11636
 
#ifdef __cplusplus
11637
 
extern "C"
11638
 
#endif
11639
 
char dlopen ();
11640
 
int
11641
 
main ()
11642
 
{
11643
 
return dlopen ();
11644
 
  ;
11645
 
  return 0;
11646
 
}
11647
 
_ACEOF
11648
 
if ac_fn_c_try_link "$LINENO"; then :
11649
 
  ac_cv_lib_dl_dlopen=yes
11650
 
else
11651
 
  ac_cv_lib_dl_dlopen=no
11652
 
fi
11653
 
rm -f core conftest.err conftest.$ac_objext \
11654
 
    conftest$ac_exeext conftest.$ac_ext
11655
 
LIBS=$ac_check_lib_save_LIBS
11656
 
fi
11657
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11658
 
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11659
 
if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11660
 
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11661
 
else
11662
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11663
 
$as_echo_n "checking for dlopen in -lsvld... " >&6; }
11664
 
if ${ac_cv_lib_svld_dlopen+:} false; then :
11665
 
  $as_echo_n "(cached) " >&6
11666
 
else
11667
 
  ac_check_lib_save_LIBS=$LIBS
11668
 
LIBS="-lsvld  $LIBS"
11669
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11670
 
/* end confdefs.h.  */
11671
 
 
11672
 
/* Override any GCC internal prototype to avoid an error.
11673
 
   Use char because int might match the return type of a GCC
11674
 
   builtin and then its argument prototype would still apply.  */
11675
 
#ifdef __cplusplus
11676
 
extern "C"
11677
 
#endif
11678
 
char dlopen ();
11679
 
int
11680
 
main ()
11681
 
{
11682
 
return dlopen ();
11683
 
  ;
11684
 
  return 0;
11685
 
}
11686
 
_ACEOF
11687
 
if ac_fn_c_try_link "$LINENO"; then :
11688
 
  ac_cv_lib_svld_dlopen=yes
11689
 
else
11690
 
  ac_cv_lib_svld_dlopen=no
11691
 
fi
11692
 
rm -f core conftest.err conftest.$ac_objext \
11693
 
    conftest$ac_exeext conftest.$ac_ext
11694
 
LIBS=$ac_check_lib_save_LIBS
11695
 
fi
11696
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11697
 
$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11698
 
if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11699
 
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11700
 
else
11701
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11702
 
$as_echo_n "checking for dld_link in -ldld... " >&6; }
11703
 
if ${ac_cv_lib_dld_dld_link+:} false; then :
11704
 
  $as_echo_n "(cached) " >&6
11705
 
else
11706
 
  ac_check_lib_save_LIBS=$LIBS
11707
 
LIBS="-ldld  $LIBS"
11708
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11709
 
/* end confdefs.h.  */
11710
 
 
11711
 
/* Override any GCC internal prototype to avoid an error.
11712
 
   Use char because int might match the return type of a GCC
11713
 
   builtin and then its argument prototype would still apply.  */
11714
 
#ifdef __cplusplus
11715
 
extern "C"
11716
 
#endif
11717
 
char dld_link ();
11718
 
int
11719
 
main ()
11720
 
{
11721
 
return dld_link ();
11722
 
  ;
11723
 
  return 0;
11724
 
}
11725
 
_ACEOF
11726
 
if ac_fn_c_try_link "$LINENO"; then :
11727
 
  ac_cv_lib_dld_dld_link=yes
11728
 
else
11729
 
  ac_cv_lib_dld_dld_link=no
11730
 
fi
11731
 
rm -f core conftest.err conftest.$ac_objext \
11732
 
    conftest$ac_exeext conftest.$ac_ext
11733
 
LIBS=$ac_check_lib_save_LIBS
11734
 
fi
11735
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11736
 
$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11737
 
if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11738
 
  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11739
 
fi
11740
 
 
11741
 
 
11742
 
fi
11743
 
 
11744
 
 
11745
 
fi
11746
 
 
11747
 
 
11748
 
fi
11749
 
 
11750
 
 
11751
 
fi
11752
 
 
11753
 
 
11754
 
fi
11755
 
 
11756
 
    ;;
11757
 
  esac
11758
 
 
11759
 
  if test "x$lt_cv_dlopen" != xno; then
11760
 
    enable_dlopen=yes
11761
 
  else
11762
 
    enable_dlopen=no
11763
 
  fi
11764
 
 
11765
 
  case $lt_cv_dlopen in
11766
 
  dlopen)
11767
 
    save_CPPFLAGS="$CPPFLAGS"
11768
 
    test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11769
 
 
11770
 
    save_LDFLAGS="$LDFLAGS"
11771
 
    wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11772
 
 
11773
 
    save_LIBS="$LIBS"
11774
 
    LIBS="$lt_cv_dlopen_libs $LIBS"
11775
 
 
11776
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11777
 
$as_echo_n "checking whether a program can dlopen itself... " >&6; }
11778
 
if ${lt_cv_dlopen_self+:} false; then :
11779
 
  $as_echo_n "(cached) " >&6
11780
 
else
11781
 
          if test "$cross_compiling" = yes; then :
11782
 
  lt_cv_dlopen_self=cross
11783
 
else
11784
 
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11785
 
  lt_status=$lt_dlunknown
11786
 
  cat > conftest.$ac_ext <<_LT_EOF
11787
 
#line $LINENO "configure"
11788
 
#include "confdefs.h"
11789
 
 
11790
 
#if HAVE_DLFCN_H
11791
 
#include <dlfcn.h>
11792
 
#endif
11793
 
 
11794
 
#include <stdio.h>
11795
 
 
11796
 
#ifdef RTLD_GLOBAL
11797
 
#  define LT_DLGLOBAL           RTLD_GLOBAL
11798
 
#else
11799
 
#  ifdef DL_GLOBAL
11800
 
#    define LT_DLGLOBAL         DL_GLOBAL
11801
 
#  else
11802
 
#    define LT_DLGLOBAL         0
11803
 
#  endif
11804
 
#endif
11805
 
 
11806
 
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11807
 
   find out it does not work in some platform. */
11808
 
#ifndef LT_DLLAZY_OR_NOW
11809
 
#  ifdef RTLD_LAZY
11810
 
#    define LT_DLLAZY_OR_NOW            RTLD_LAZY
11811
 
#  else
11812
 
#    ifdef DL_LAZY
11813
 
#      define LT_DLLAZY_OR_NOW          DL_LAZY
11814
 
#    else
11815
 
#      ifdef RTLD_NOW
11816
 
#        define LT_DLLAZY_OR_NOW        RTLD_NOW
11817
 
#      else
11818
 
#        ifdef DL_NOW
11819
 
#          define LT_DLLAZY_OR_NOW      DL_NOW
11820
 
#        else
11821
 
#          define LT_DLLAZY_OR_NOW      0
11822
 
#        endif
11823
 
#      endif
11824
 
#    endif
11825
 
#  endif
11826
 
#endif
11827
 
 
11828
 
/* When -fvisbility=hidden is used, assume the code has been annotated
11829
 
   correspondingly for the symbols needed.  */
11830
 
#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11831
 
int fnord () __attribute__((visibility("default")));
11832
 
#endif
11833
 
 
11834
 
int fnord () { return 42; }
11835
 
int main ()
11836
 
{
11837
 
  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11838
 
  int status = $lt_dlunknown;
11839
 
 
11840
 
  if (self)
11841
 
    {
11842
 
      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11843
 
      else
11844
 
        {
11845
 
          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11846
 
          else puts (dlerror ());
11847
 
        }
11848
 
      /* dlclose (self); */
11849
 
    }
11850
 
  else
11851
 
    puts (dlerror ());
11852
 
 
11853
 
  return status;
11854
 
}
11855
 
_LT_EOF
11856
 
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11857
 
  (eval $ac_link) 2>&5
11858
 
  ac_status=$?
11859
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11860
 
  test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11861
 
    (./conftest; exit; ) >&5 2>/dev/null
11862
 
    lt_status=$?
11863
 
    case x$lt_status in
11864
 
      x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11865
 
      x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11866
 
      x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11867
 
    esac
11868
 
  else :
11869
 
    # compilation failed
11870
 
    lt_cv_dlopen_self=no
11871
 
  fi
11872
 
fi
11873
 
rm -fr conftest*
11874
 
 
11875
 
 
11876
 
fi
11877
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11878
 
$as_echo "$lt_cv_dlopen_self" >&6; }
11879
 
 
11880
 
    if test "x$lt_cv_dlopen_self" = xyes; then
11881
 
      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11882
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11883
 
$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11884
 
if ${lt_cv_dlopen_self_static+:} false; then :
11885
 
  $as_echo_n "(cached) " >&6
11886
 
else
11887
 
          if test "$cross_compiling" = yes; then :
11888
 
  lt_cv_dlopen_self_static=cross
11889
 
else
11890
 
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11891
 
  lt_status=$lt_dlunknown
11892
 
  cat > conftest.$ac_ext <<_LT_EOF
11893
 
#line $LINENO "configure"
11894
 
#include "confdefs.h"
11895
 
 
11896
 
#if HAVE_DLFCN_H
11897
 
#include <dlfcn.h>
11898
 
#endif
11899
 
 
11900
 
#include <stdio.h>
11901
 
 
11902
 
#ifdef RTLD_GLOBAL
11903
 
#  define LT_DLGLOBAL           RTLD_GLOBAL
11904
 
#else
11905
 
#  ifdef DL_GLOBAL
11906
 
#    define LT_DLGLOBAL         DL_GLOBAL
11907
 
#  else
11908
 
#    define LT_DLGLOBAL         0
11909
 
#  endif
11910
 
#endif
11911
 
 
11912
 
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11913
 
   find out it does not work in some platform. */
11914
 
#ifndef LT_DLLAZY_OR_NOW
11915
 
#  ifdef RTLD_LAZY
11916
 
#    define LT_DLLAZY_OR_NOW            RTLD_LAZY
11917
 
#  else
11918
 
#    ifdef DL_LAZY
11919
 
#      define LT_DLLAZY_OR_NOW          DL_LAZY
11920
 
#    else
11921
 
#      ifdef RTLD_NOW
11922
 
#        define LT_DLLAZY_OR_NOW        RTLD_NOW
11923
 
#      else
11924
 
#        ifdef DL_NOW
11925
 
#          define LT_DLLAZY_OR_NOW      DL_NOW
11926
 
#        else
11927
 
#          define LT_DLLAZY_OR_NOW      0
11928
 
#        endif
11929
 
#      endif
11930
 
#    endif
11931
 
#  endif
11932
 
#endif
11933
 
 
11934
 
/* When -fvisbility=hidden is used, assume the code has been annotated
11935
 
   correspondingly for the symbols needed.  */
11936
 
#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11937
 
int fnord () __attribute__((visibility("default")));
11938
 
#endif
11939
 
 
11940
 
int fnord () { return 42; }
11941
 
int main ()
11942
 
{
11943
 
  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11944
 
  int status = $lt_dlunknown;
11945
 
 
11946
 
  if (self)
11947
 
    {
11948
 
      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11949
 
      else
11950
 
        {
11951
 
          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11952
 
          else puts (dlerror ());
11953
 
        }
11954
 
      /* dlclose (self); */
11955
 
    }
11956
 
  else
11957
 
    puts (dlerror ());
11958
 
 
11959
 
  return status;
11960
 
}
11961
 
_LT_EOF
11962
 
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11963
 
  (eval $ac_link) 2>&5
11964
 
  ac_status=$?
11965
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11966
 
  test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11967
 
    (./conftest; exit; ) >&5 2>/dev/null
11968
 
    lt_status=$?
11969
 
    case x$lt_status in
11970
 
      x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11971
 
      x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11972
 
      x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11973
 
    esac
11974
 
  else :
11975
 
    # compilation failed
11976
 
    lt_cv_dlopen_self_static=no
11977
 
  fi
11978
 
fi
11979
 
rm -fr conftest*
11980
 
 
11981
 
 
11982
 
fi
11983
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11984
 
$as_echo "$lt_cv_dlopen_self_static" >&6; }
11985
 
    fi
11986
 
 
11987
 
    CPPFLAGS="$save_CPPFLAGS"
11988
 
    LDFLAGS="$save_LDFLAGS"
11989
 
    LIBS="$save_LIBS"
11990
 
    ;;
11991
 
  esac
11992
 
 
11993
 
  case $lt_cv_dlopen_self in
11994
 
  yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11995
 
  *) enable_dlopen_self=unknown ;;
11996
 
  esac
11997
 
 
11998
 
  case $lt_cv_dlopen_self_static in
11999
 
  yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
12000
 
  *) enable_dlopen_self_static=unknown ;;
12001
 
  esac
12002
 
fi
12003
 
 
12004
 
 
12005
 
 
12006
 
 
12007
 
 
12008
 
 
12009
 
 
12010
 
 
12011
 
 
12012
 
 
12013
 
 
12014
 
 
12015
 
 
12016
 
 
12017
 
 
12018
 
 
12019
 
 
12020
 
striplib=
12021
 
old_striplib=
12022
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12023
 
$as_echo_n "checking whether stripping libraries is possible... " >&6; }
12024
 
if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
12025
 
  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
12026
 
  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
12027
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12028
 
$as_echo "yes" >&6; }
12029
 
else
12030
 
# FIXME - insert some real tests, host_os isn't really good enough
12031
 
  case $host_os in
12032
 
  darwin*)
12033
 
    if test -n "$STRIP" ; then
12034
 
      striplib="$STRIP -x"
12035
 
      old_striplib="$STRIP -S"
12036
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12037
 
$as_echo "yes" >&6; }
12038
 
    else
12039
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12040
 
$as_echo "no" >&6; }
12041
 
    fi
12042
 
    ;;
12043
 
  *)
12044
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12045
 
$as_echo "no" >&6; }
12046
 
    ;;
12047
 
  esac
12048
 
fi
12049
 
 
12050
 
 
12051
 
 
12052
 
 
12053
 
 
12054
 
 
12055
 
 
12056
 
 
12057
 
 
12058
 
 
12059
 
 
12060
 
 
12061
 
  # Report which library types will actually be built
12062
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12063
 
$as_echo_n "checking if libtool supports shared libraries... " >&6; }
12064
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12065
 
$as_echo "$can_build_shared" >&6; }
12066
 
 
12067
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12068
 
$as_echo_n "checking whether to build shared libraries... " >&6; }
12069
 
  test "$can_build_shared" = "no" && enable_shared=no
12070
 
 
12071
 
  # On AIX, shared libraries and static libraries use the same namespace, and
12072
 
  # are all built from PIC.
12073
 
  case $host_os in
12074
 
  aix3*)
12075
 
    test "$enable_shared" = yes && enable_static=no
12076
 
    if test -n "$RANLIB"; then
12077
 
      archive_cmds="$archive_cmds~\$RANLIB \$lib"
12078
 
      postinstall_cmds='$RANLIB $lib'
12079
 
    fi
12080
 
    ;;
12081
 
 
12082
 
  aix[4-9]*)
12083
 
    if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
12084
 
      test "$enable_shared" = yes && enable_static=no
12085
 
    fi
12086
 
    ;;
12087
 
  esac
12088
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12089
 
$as_echo "$enable_shared" >&6; }
12090
 
 
12091
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12092
 
$as_echo_n "checking whether to build static libraries... " >&6; }
12093
 
  # Make sure either enable_shared or enable_static is yes.
12094
 
  test "$enable_shared" = yes || enable_static=yes
12095
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12096
 
$as_echo "$enable_static" >&6; }
12097
 
 
12098
 
 
12099
 
 
12100
 
 
12101
 
fi
12102
 
ac_ext=cpp
12103
 
ac_cpp='$CXXCPP $CPPFLAGS'
12104
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12105
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12106
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12107
 
 
12108
 
CC="$lt_save_CC"
12109
 
 
12110
 
      if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
12111
 
    ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
12112
 
    (test "X$CXX" != "Xg++"))) ; then
12113
 
  ac_ext=cpp
12114
 
ac_cpp='$CXXCPP $CPPFLAGS'
12115
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12116
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12117
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12118
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
12119
 
$as_echo_n "checking how to run the C++ preprocessor... " >&6; }
12120
 
if test -z "$CXXCPP"; then
12121
 
  if ${ac_cv_prog_CXXCPP+:} false; then :
12122
 
  $as_echo_n "(cached) " >&6
12123
 
else
12124
 
      # Double quotes because CXXCPP needs to be expanded
12125
 
    for CXXCPP in "$CXX -E" "/lib/cpp"
12126
 
    do
12127
 
      ac_preproc_ok=false
12128
 
for ac_cxx_preproc_warn_flag in '' yes
12129
 
do
12130
 
  # Use a header file that comes with gcc, so configuring glibc
12131
 
  # with a fresh cross-compiler works.
12132
 
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12133
 
  # <limits.h> exists even on freestanding compilers.
12134
 
  # On the NeXT, cc -E runs the code through the compiler's parser,
12135
 
  # not just through cpp. "Syntax error" is here to catch this case.
12136
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12137
 
/* end confdefs.h.  */
12138
 
#ifdef __STDC__
12139
 
# include <limits.h>
12140
 
#else
12141
 
# include <assert.h>
12142
 
#endif
12143
 
                     Syntax error
12144
 
_ACEOF
12145
 
if ac_fn_cxx_try_cpp "$LINENO"; then :
12146
 
 
12147
 
else
12148
 
  # Broken: fails on valid input.
12149
 
continue
12150
 
fi
12151
 
rm -f conftest.err conftest.i conftest.$ac_ext
12152
 
 
12153
 
  # OK, works on sane cases.  Now check whether nonexistent headers
12154
 
  # can be detected and how.
12155
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12156
 
/* end confdefs.h.  */
12157
 
#include <ac_nonexistent.h>
12158
 
_ACEOF
12159
 
if ac_fn_cxx_try_cpp "$LINENO"; then :
12160
 
  # Broken: success on invalid input.
12161
 
continue
12162
 
else
12163
 
  # Passes both tests.
12164
 
ac_preproc_ok=:
12165
 
break
12166
 
fi
12167
 
rm -f conftest.err conftest.i conftest.$ac_ext
12168
 
 
12169
 
done
12170
 
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12171
 
rm -f conftest.i conftest.err conftest.$ac_ext
12172
 
if $ac_preproc_ok; then :
12173
 
  break
12174
 
fi
12175
 
 
12176
 
    done
12177
 
    ac_cv_prog_CXXCPP=$CXXCPP
12178
 
 
12179
 
fi
12180
 
  CXXCPP=$ac_cv_prog_CXXCPP
12181
 
else
12182
 
  ac_cv_prog_CXXCPP=$CXXCPP
12183
 
fi
12184
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
12185
 
$as_echo "$CXXCPP" >&6; }
12186
 
ac_preproc_ok=false
12187
 
for ac_cxx_preproc_warn_flag in '' yes
12188
 
do
12189
 
  # Use a header file that comes with gcc, so configuring glibc
12190
 
  # with a fresh cross-compiler works.
12191
 
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12192
 
  # <limits.h> exists even on freestanding compilers.
12193
 
  # On the NeXT, cc -E runs the code through the compiler's parser,
12194
 
  # not just through cpp. "Syntax error" is here to catch this case.
12195
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12196
 
/* end confdefs.h.  */
12197
 
#ifdef __STDC__
12198
 
# include <limits.h>
12199
 
#else
12200
 
# include <assert.h>
12201
 
#endif
12202
 
                     Syntax error
12203
 
_ACEOF
12204
 
if ac_fn_cxx_try_cpp "$LINENO"; then :
12205
 
 
12206
 
else
12207
 
  # Broken: fails on valid input.
12208
 
continue
12209
 
fi
12210
 
rm -f conftest.err conftest.i conftest.$ac_ext
12211
 
 
12212
 
  # OK, works on sane cases.  Now check whether nonexistent headers
12213
 
  # can be detected and how.
12214
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12215
 
/* end confdefs.h.  */
12216
 
#include <ac_nonexistent.h>
12217
 
_ACEOF
12218
 
if ac_fn_cxx_try_cpp "$LINENO"; then :
12219
 
  # Broken: success on invalid input.
12220
 
continue
12221
 
else
12222
 
  # Passes both tests.
12223
 
ac_preproc_ok=:
12224
 
break
12225
 
fi
12226
 
rm -f conftest.err conftest.i conftest.$ac_ext
12227
 
 
12228
 
done
12229
 
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12230
 
rm -f conftest.i conftest.err conftest.$ac_ext
12231
 
if $ac_preproc_ok; then :
12232
 
 
12233
 
else
12234
 
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12235
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12236
 
as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
12237
 
See \`config.log' for more details" "$LINENO" 5; }
12238
 
fi
12239
 
 
12240
 
ac_ext=cpp
12241
 
ac_cpp='$CXXCPP $CPPFLAGS'
12242
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12243
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12244
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12245
 
 
12246
 
else
12247
 
  _lt_caught_CXX_error=yes
12248
 
fi
12249
 
 
12250
 
ac_ext=cpp
12251
 
ac_cpp='$CXXCPP $CPPFLAGS'
12252
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12253
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12254
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12255
 
 
12256
 
archive_cmds_need_lc_CXX=no
12257
 
allow_undefined_flag_CXX=
12258
 
always_export_symbols_CXX=no
12259
 
archive_expsym_cmds_CXX=
12260
 
compiler_needs_object_CXX=no
12261
 
export_dynamic_flag_spec_CXX=
12262
 
hardcode_direct_CXX=no
12263
 
hardcode_direct_absolute_CXX=no
12264
 
hardcode_libdir_flag_spec_CXX=
12265
 
hardcode_libdir_separator_CXX=
12266
 
hardcode_minus_L_CXX=no
12267
 
hardcode_shlibpath_var_CXX=unsupported
12268
 
hardcode_automatic_CXX=no
12269
 
inherit_rpath_CXX=no
12270
 
module_cmds_CXX=
12271
 
module_expsym_cmds_CXX=
12272
 
link_all_deplibs_CXX=unknown
12273
 
old_archive_cmds_CXX=$old_archive_cmds
12274
 
reload_flag_CXX=$reload_flag
12275
 
reload_cmds_CXX=$reload_cmds
12276
 
no_undefined_flag_CXX=
12277
 
whole_archive_flag_spec_CXX=
12278
 
enable_shared_with_static_runtimes_CXX=no
12279
 
 
12280
 
# Source file extension for C++ test sources.
12281
 
ac_ext=cpp
12282
 
 
12283
 
# Object file extension for compiled C++ test sources.
12284
 
objext=o
12285
 
objext_CXX=$objext
12286
 
 
12287
 
# No sense in running all these tests if we already determined that
12288
 
# the CXX compiler isn't working.  Some variables (like enable_shared)
12289
 
# are currently assumed to apply to all compilers on this platform,
12290
 
# and will be corrupted by setting them based on a non-working compiler.
12291
 
if test "$_lt_caught_CXX_error" != yes; then
12292
 
  # Code to be used in simple compile tests
12293
 
  lt_simple_compile_test_code="int some_variable = 0;"
12294
 
 
12295
 
  # Code to be used in simple link tests
12296
 
  lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
12297
 
 
12298
 
  # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12299
 
 
12300
 
 
12301
 
 
12302
 
 
12303
 
 
12304
 
 
12305
 
# If no C compiler was specified, use CC.
12306
 
LTCC=${LTCC-"$CC"}
12307
 
 
12308
 
# If no C compiler flags were specified, use CFLAGS.
12309
 
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
12310
 
 
12311
 
# Allow CC to be a program name with arguments.
12312
 
compiler=$CC
12313
 
 
12314
 
 
12315
 
  # save warnings/boilerplate of simple test code
12316
 
  ac_outfile=conftest.$ac_objext
12317
 
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
12318
 
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12319
 
_lt_compiler_boilerplate=`cat conftest.err`
12320
 
$RM conftest*
12321
 
 
12322
 
  ac_outfile=conftest.$ac_objext
12323
 
echo "$lt_simple_link_test_code" >conftest.$ac_ext
12324
 
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12325
 
_lt_linker_boilerplate=`cat conftest.err`
12326
 
$RM -r conftest*
12327
 
 
12328
 
 
12329
 
  # Allow CC to be a program name with arguments.
12330
 
  lt_save_CC=$CC
12331
 
  lt_save_CFLAGS=$CFLAGS
12332
 
  lt_save_LD=$LD
12333
 
  lt_save_GCC=$GCC
12334
 
  GCC=$GXX
12335
 
  lt_save_with_gnu_ld=$with_gnu_ld
12336
 
  lt_save_path_LD=$lt_cv_path_LD
12337
 
  if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
12338
 
    lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
12339
 
  else
12340
 
    $as_unset lt_cv_prog_gnu_ld
12341
 
  fi
12342
 
  if test -n "${lt_cv_path_LDCXX+set}"; then
12343
 
    lt_cv_path_LD=$lt_cv_path_LDCXX
12344
 
  else
12345
 
    $as_unset lt_cv_path_LD
12346
 
  fi
12347
 
  test -z "${LDCXX+set}" || LD=$LDCXX
12348
 
  CC=${CXX-"c++"}
12349
 
  CFLAGS=$CXXFLAGS
12350
 
  compiler=$CC
12351
 
  compiler_CXX=$CC
12352
 
  for cc_temp in $compiler""; do
12353
 
  case $cc_temp in
12354
 
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
12355
 
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
12356
 
    \-*) ;;
12357
 
    *) break;;
12358
 
  esac
12359
 
done
12360
 
cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
12361
 
 
12362
 
 
12363
 
  if test -n "$compiler"; then
12364
 
    # We don't want -fno-exception when compiling C++ code, so set the
12365
 
    # no_builtin_flag separately
12366
 
    if test "$GXX" = yes; then
12367
 
      lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
12368
 
    else
12369
 
      lt_prog_compiler_no_builtin_flag_CXX=
12370
 
    fi
12371
 
 
12372
 
    if test "$GXX" = yes; then
12373
 
      # Set up default GNU C++ configuration
12374
 
 
12375
 
 
12376
 
 
12377
 
# Check whether --with-gnu-ld was given.
12378
 
if test "${with_gnu_ld+set}" = set; then :
12379
 
  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
12380
 
else
12381
 
  with_gnu_ld=no
12382
 
fi
12383
 
 
12384
 
ac_prog=ld
12385
 
if test "$GCC" = yes; then
12386
 
  # Check if gcc -print-prog-name=ld gives a path.
12387
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
12388
 
$as_echo_n "checking for ld used by $CC... " >&6; }
12389
 
  case $host in
12390
 
  *-*-mingw*)
12391
 
    # gcc leaves a trailing carriage return which upsets mingw
12392
 
    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12393
 
  *)
12394
 
    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
12395
 
  esac
12396
 
  case $ac_prog in
12397
 
    # Accept absolute paths.
12398
 
    [\\/]* | ?:[\\/]*)
12399
 
      re_direlt='/[^/][^/]*/\.\./'
12400
 
      # Canonicalize the pathname of ld
12401
 
      ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
12402
 
      while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
12403
 
        ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
12404
 
      done
12405
 
      test -z "$LD" && LD="$ac_prog"
12406
 
      ;;
12407
 
  "")
12408
 
    # If it fails, then pretend we aren't using GCC.
12409
 
    ac_prog=ld
12410
 
    ;;
12411
 
  *)
12412
 
    # If it is relative, then search for the first ld in PATH.
12413
 
    with_gnu_ld=unknown
12414
 
    ;;
12415
 
  esac
12416
 
elif test "$with_gnu_ld" = yes; then
12417
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
12418
 
$as_echo_n "checking for GNU ld... " >&6; }
12419
 
else
12420
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12421
 
$as_echo_n "checking for non-GNU ld... " >&6; }
12422
 
fi
12423
 
if ${lt_cv_path_LD+:} false; then :
12424
 
  $as_echo_n "(cached) " >&6
12425
 
else
12426
 
  if test -z "$LD"; then
12427
 
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
12428
 
  for ac_dir in $PATH; do
12429
 
    IFS="$lt_save_ifs"
12430
 
    test -z "$ac_dir" && ac_dir=.
12431
 
    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
12432
 
      lt_cv_path_LD="$ac_dir/$ac_prog"
12433
 
      # Check to see if the program is GNU ld.  I'd rather use --version,
12434
 
      # but apparently some variants of GNU ld only accept -v.
12435
 
      # Break only if it was the GNU/non-GNU ld that we prefer.
12436
 
      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12437
 
      *GNU* | *'with BFD'*)
12438
 
        test "$with_gnu_ld" != no && break
12439
 
        ;;
12440
 
      *)
12441
 
        test "$with_gnu_ld" != yes && break
12442
 
        ;;
12443
 
      esac
12444
 
    fi
12445
 
  done
12446
 
  IFS="$lt_save_ifs"
12447
 
else
12448
 
  lt_cv_path_LD="$LD" # Let the user override the test with a path.
12449
 
fi
12450
 
fi
12451
 
 
12452
 
LD="$lt_cv_path_LD"
12453
 
if test -n "$LD"; then
12454
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
12455
 
$as_echo "$LD" >&6; }
12456
 
else
12457
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12458
 
$as_echo "no" >&6; }
12459
 
fi
12460
 
test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
12461
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
12462
 
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12463
 
if ${lt_cv_prog_gnu_ld+:} false; then :
12464
 
  $as_echo_n "(cached) " >&6
12465
 
else
12466
 
  # I'd rather use --version here, but apparently some GNU lds only accept -v.
12467
 
case `$LD -v 2>&1 </dev/null` in
12468
 
*GNU* | *'with BFD'*)
12469
 
  lt_cv_prog_gnu_ld=yes
12470
 
  ;;
12471
 
*)
12472
 
  lt_cv_prog_gnu_ld=no
12473
 
  ;;
12474
 
esac
12475
 
fi
12476
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
12477
 
$as_echo "$lt_cv_prog_gnu_ld" >&6; }
12478
 
with_gnu_ld=$lt_cv_prog_gnu_ld
12479
 
 
12480
 
 
12481
 
 
12482
 
 
12483
 
 
12484
 
 
12485
 
 
12486
 
      # Check if GNU C++ uses GNU ld as the underlying linker, since the
12487
 
      # archiving commands below assume that GNU ld is being used.
12488
 
      if test "$with_gnu_ld" = yes; then
12489
 
        archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12490
 
        archive_expsym_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12491
 
 
12492
 
        hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12493
 
        export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12494
 
 
12495
 
        # If archive_cmds runs LD, not CC, wlarc should be empty
12496
 
        # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
12497
 
        #     investigate it a little bit more. (MM)
12498
 
        wlarc='${wl}'
12499
 
 
12500
 
        # ancient GNU ld didn't support --whole-archive et. al.
12501
 
        if eval "`$CC -print-prog-name=ld` --help 2>&1" |
12502
 
          $GREP 'no-whole-archive' > /dev/null; then
12503
 
          whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12504
 
        else
12505
 
          whole_archive_flag_spec_CXX=
12506
 
        fi
12507
 
      else
12508
 
        with_gnu_ld=no
12509
 
        wlarc=
12510
 
 
12511
 
        # A generic and very simple default shared library creation
12512
 
        # command for GNU C++ for the case where it uses the native
12513
 
        # linker, instead of GNU ld.  If possible, this setting should
12514
 
        # overridden to take advantage of the native linker features on
12515
 
        # the platform it is being used on.
12516
 
        archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12517
 
      fi
12518
 
 
12519
 
      # Commands to make compiler produce verbose output that lists
12520
 
      # what "hidden" libraries, object files and flags are used when
12521
 
      # linking a shared library.
12522
 
      output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12523
 
 
12524
 
    else
12525
 
      GXX=no
12526
 
      with_gnu_ld=no
12527
 
      wlarc=
12528
 
    fi
12529
 
 
12530
 
    # PORTME: fill in a description of your system's C++ link characteristics
12531
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12532
 
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12533
 
    ld_shlibs_CXX=yes
12534
 
    case $host_os in
12535
 
      aix3*)
12536
 
        # FIXME: insert proper C++ library support
12537
 
        ld_shlibs_CXX=no
12538
 
        ;;
12539
 
      aix[4-9]*)
12540
 
        if test "$host_cpu" = ia64; then
12541
 
          # On IA64, the linker does run time linking by default, so we don't
12542
 
          # have to do anything special.
12543
 
          aix_use_runtimelinking=no
12544
 
          exp_sym_flag='-Bexport'
12545
 
          no_entry_flag=""
12546
 
        else
12547
 
          aix_use_runtimelinking=no
12548
 
 
12549
 
          # Test if we are trying to use run time linking or normal
12550
 
          # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12551
 
          # need to do runtime linking.
12552
 
          case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
12553
 
            for ld_flag in $LDFLAGS; do
12554
 
              case $ld_flag in
12555
 
              *-brtl*)
12556
 
                aix_use_runtimelinking=yes
12557
 
                break
12558
 
                ;;
12559
 
              esac
12560
 
            done
12561
 
            ;;
12562
 
          esac
12563
 
 
12564
 
          exp_sym_flag='-bexport'
12565
 
          no_entry_flag='-bnoentry'
12566
 
        fi
12567
 
 
12568
 
        # When large executables or shared objects are built, AIX ld can
12569
 
        # have problems creating the table of contents.  If linking a library
12570
 
        # or program results in "error TOC overflow" add -mminimal-toc to
12571
 
        # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
12572
 
        # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12573
 
 
12574
 
        archive_cmds_CXX=''
12575
 
        hardcode_direct_CXX=yes
12576
 
        hardcode_direct_absolute_CXX=yes
12577
 
        hardcode_libdir_separator_CXX=':'
12578
 
        link_all_deplibs_CXX=yes
12579
 
        file_list_spec_CXX='${wl}-f,'
12580
 
 
12581
 
        if test "$GXX" = yes; then
12582
 
          case $host_os in aix4.[012]|aix4.[012].*)
12583
 
          # We only want to do this on AIX 4.2 and lower, the check
12584
 
          # below for broken collect2 doesn't work under 4.3+
12585
 
          collect2name=`${CC} -print-prog-name=collect2`
12586
 
          if test -f "$collect2name" &&
12587
 
             strings "$collect2name" | $GREP resolve_lib_name >/dev/null
12588
 
          then
12589
 
            # We have reworked collect2
12590
 
            :
12591
 
          else
12592
 
            # We have old collect2
12593
 
            hardcode_direct_CXX=unsupported
12594
 
            # It fails to find uninstalled libraries when the uninstalled
12595
 
            # path is not listed in the libpath.  Setting hardcode_minus_L
12596
 
            # to unsupported forces relinking
12597
 
            hardcode_minus_L_CXX=yes
12598
 
            hardcode_libdir_flag_spec_CXX='-L$libdir'
12599
 
            hardcode_libdir_separator_CXX=
12600
 
          fi
12601
 
          esac
12602
 
          shared_flag='-shared'
12603
 
          if test "$aix_use_runtimelinking" = yes; then
12604
 
            shared_flag="$shared_flag "'${wl}-G'
12605
 
          fi
12606
 
        else
12607
 
          # not using gcc
12608
 
          if test "$host_cpu" = ia64; then
12609
 
          # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12610
 
          # chokes on -Wl,-G. The following line is correct:
12611
 
          shared_flag='-G'
12612
 
          else
12613
 
            if test "$aix_use_runtimelinking" = yes; then
12614
 
              shared_flag='${wl}-G'
12615
 
            else
12616
 
              shared_flag='${wl}-bM:SRE'
12617
 
            fi
12618
 
          fi
12619
 
        fi
12620
 
 
12621
 
        export_dynamic_flag_spec_CXX='${wl}-bexpall'
12622
 
        # It seems that -bexpall does not export symbols beginning with
12623
 
        # underscore (_), so it is better to generate a list of symbols to
12624
 
        # export.
12625
 
        always_export_symbols_CXX=yes
12626
 
        if test "$aix_use_runtimelinking" = yes; then
12627
 
          # Warning - without using the other runtime loading flags (-brtl),
12628
 
          # -berok will link without error, but may produce a broken library.
12629
 
          allow_undefined_flag_CXX='-berok'
12630
 
          # Determine the default libpath from the value encoded in an empty
12631
 
          # executable.
12632
 
          if test "${lt_cv_aix_libpath+set}" = set; then
12633
 
  aix_libpath=$lt_cv_aix_libpath
12634
 
else
12635
 
  if ${lt_cv_aix_libpath__CXX+:} false; then :
12636
 
  $as_echo_n "(cached) " >&6
12637
 
else
12638
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12639
 
/* end confdefs.h.  */
12640
 
 
12641
 
int
12642
 
main ()
12643
 
{
12644
 
 
12645
 
  ;
12646
 
  return 0;
12647
 
}
12648
 
_ACEOF
12649
 
if ac_fn_cxx_try_link "$LINENO"; then :
12650
 
 
12651
 
  lt_aix_libpath_sed='
12652
 
      /Import File Strings/,/^$/ {
12653
 
          /^0/ {
12654
 
              s/^0  *\([^ ]*\) *$/\1/
12655
 
              p
12656
 
          }
12657
 
      }'
12658
 
  lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12659
 
  # Check for a 64-bit object if we didn't find anything.
12660
 
  if test -z "$lt_cv_aix_libpath__CXX"; then
12661
 
    lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12662
 
  fi
12663
 
fi
12664
 
rm -f core conftest.err conftest.$ac_objext \
12665
 
    conftest$ac_exeext conftest.$ac_ext
12666
 
  if test -z "$lt_cv_aix_libpath__CXX"; then
12667
 
    lt_cv_aix_libpath__CXX="/usr/lib:/lib"
12668
 
  fi
12669
 
 
12670
 
fi
12671
 
 
12672
 
  aix_libpath=$lt_cv_aix_libpath__CXX
12673
 
fi
12674
 
 
12675
 
          hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12676
 
 
12677
 
          archive_expsym_cmds_CXX='$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"
12678
 
        else
12679
 
          if test "$host_cpu" = ia64; then
12680
 
            hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
12681
 
            allow_undefined_flag_CXX="-z nodefs"
12682
 
            archive_expsym_cmds_CXX="\$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"
12683
 
          else
12684
 
            # Determine the default libpath from the value encoded in an
12685
 
            # empty executable.
12686
 
            if test "${lt_cv_aix_libpath+set}" = set; then
12687
 
  aix_libpath=$lt_cv_aix_libpath
12688
 
else
12689
 
  if ${lt_cv_aix_libpath__CXX+:} false; then :
12690
 
  $as_echo_n "(cached) " >&6
12691
 
else
12692
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12693
 
/* end confdefs.h.  */
12694
 
 
12695
 
int
12696
 
main ()
12697
 
{
12698
 
 
12699
 
  ;
12700
 
  return 0;
12701
 
}
12702
 
_ACEOF
12703
 
if ac_fn_cxx_try_link "$LINENO"; then :
12704
 
 
12705
 
  lt_aix_libpath_sed='
12706
 
      /Import File Strings/,/^$/ {
12707
 
          /^0/ {
12708
 
              s/^0  *\([^ ]*\) *$/\1/
12709
 
              p
12710
 
          }
12711
 
      }'
12712
 
  lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12713
 
  # Check for a 64-bit object if we didn't find anything.
12714
 
  if test -z "$lt_cv_aix_libpath__CXX"; then
12715
 
    lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12716
 
  fi
12717
 
fi
12718
 
rm -f core conftest.err conftest.$ac_objext \
12719
 
    conftest$ac_exeext conftest.$ac_ext
12720
 
  if test -z "$lt_cv_aix_libpath__CXX"; then
12721
 
    lt_cv_aix_libpath__CXX="/usr/lib:/lib"
12722
 
  fi
12723
 
 
12724
 
fi
12725
 
 
12726
 
  aix_libpath=$lt_cv_aix_libpath__CXX
12727
 
fi
12728
 
 
12729
 
            hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12730
 
            # Warning - without using the other run time loading flags,
12731
 
            # -berok will link without error, but may produce a broken library.
12732
 
            no_undefined_flag_CXX=' ${wl}-bernotok'
12733
 
            allow_undefined_flag_CXX=' ${wl}-berok'
12734
 
            if test "$with_gnu_ld" = yes; then
12735
 
              # We only use this code for GNU lds that support --whole-archive.
12736
 
              whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12737
 
            else
12738
 
              # Exported symbols can be pulled into shared objects from archives
12739
 
              whole_archive_flag_spec_CXX='$convenience'
12740
 
            fi
12741
 
            archive_cmds_need_lc_CXX=yes
12742
 
            # This is similar to how AIX traditionally builds its shared
12743
 
            # libraries.
12744
 
            archive_expsym_cmds_CXX="\$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'
12745
 
          fi
12746
 
        fi
12747
 
        ;;
12748
 
 
12749
 
      beos*)
12750
 
        if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
12751
 
          allow_undefined_flag_CXX=unsupported
12752
 
          # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12753
 
          # support --undefined.  This deserves some investigation.  FIXME
12754
 
          archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12755
 
        else
12756
 
          ld_shlibs_CXX=no
12757
 
        fi
12758
 
        ;;
12759
 
 
12760
 
      chorus*)
12761
 
        case $cc_basename in
12762
 
          *)
12763
 
          # FIXME: insert proper C++ library support
12764
 
          ld_shlibs_CXX=no
12765
 
          ;;
12766
 
        esac
12767
 
        ;;
12768
 
 
12769
 
      cygwin* | mingw* | pw32* | cegcc*)
12770
 
        case $GXX,$cc_basename in
12771
 
        ,cl* | no,cl*)
12772
 
          # Native MSVC
12773
 
          # hardcode_libdir_flag_spec is actually meaningless, as there is
12774
 
          # no search path for DLLs.
12775
 
          hardcode_libdir_flag_spec_CXX=' '
12776
 
          allow_undefined_flag_CXX=unsupported
12777
 
          always_export_symbols_CXX=yes
12778
 
          file_list_spec_CXX='@'
12779
 
          # Tell ltmain to make .lib files, not .a files.
12780
 
          libext=lib
12781
 
          # Tell ltmain to make .dll files, not .so files.
12782
 
          shrext_cmds=".dll"
12783
 
          # FIXME: Setting linknames here is a bad hack.
12784
 
          archive_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
12785
 
          archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12786
 
              $SED -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
12787
 
            else
12788
 
              $SED -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
12789
 
            fi~
12790
 
            $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
12791
 
            linknames='
12792
 
          # The linker will not automatically build a static lib if we build a DLL.
12793
 
          # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true'
12794
 
          enable_shared_with_static_runtimes_CXX=yes
12795
 
          # Don't use ranlib
12796
 
          old_postinstall_cmds_CXX='chmod 644 $oldlib'
12797
 
          postlink_cmds_CXX='lt_outputfile="@OUTPUT@"~
12798
 
            lt_tool_outputfile="@TOOL_OUTPUT@"~
12799
 
            case $lt_outputfile in
12800
 
              *.exe|*.EXE) ;;
12801
 
              *)
12802
 
                lt_outputfile="$lt_outputfile.exe"
12803
 
                lt_tool_outputfile="$lt_tool_outputfile.exe"
12804
 
                ;;
12805
 
            esac~
12806
 
            func_to_tool_file "$lt_outputfile"~
12807
 
            if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
12808
 
              $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
12809
 
              $RM "$lt_outputfile.manifest";
12810
 
            fi'
12811
 
          ;;
12812
 
        *)
12813
 
          # g++
12814
 
          # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
12815
 
          # as there is no search path for DLLs.
12816
 
          hardcode_libdir_flag_spec_CXX='-L$libdir'
12817
 
          export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
12818
 
          allow_undefined_flag_CXX=unsupported
12819
 
          always_export_symbols_CXX=no
12820
 
          enable_shared_with_static_runtimes_CXX=yes
12821
 
 
12822
 
          if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
12823
 
            archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
12824
 
            # If the export-symbols file already is a .def file (1st line
12825
 
            # is EXPORTS), use it as is; otherwise, prepend...
12826
 
            archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12827
 
              cp $export_symbols $output_objdir/$soname.def;
12828
 
            else
12829
 
              echo EXPORTS > $output_objdir/$soname.def;
12830
 
              cat $export_symbols >> $output_objdir/$soname.def;
12831
 
            fi~
12832
 
            $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
12833
 
          else
12834
 
            ld_shlibs_CXX=no
12835
 
          fi
12836
 
          ;;
12837
 
        esac
12838
 
        ;;
12839
 
      darwin* | rhapsody*)
12840
 
 
12841
 
 
12842
 
  archive_cmds_need_lc_CXX=no
12843
 
  hardcode_direct_CXX=no
12844
 
  hardcode_automatic_CXX=yes
12845
 
  hardcode_shlibpath_var_CXX=unsupported
12846
 
  if test "$lt_cv_ld_force_load" = "yes"; then
12847
 
    whole_archive_flag_spec_CXX='`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
12848
 
 
12849
 
  else
12850
 
    whole_archive_flag_spec_CXX=''
12851
 
  fi
12852
 
  link_all_deplibs_CXX=yes
12853
 
  allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
12854
 
  case $cc_basename in
12855
 
     ifort*) _lt_dar_can_shared=yes ;;
12856
 
     *) _lt_dar_can_shared=$GCC ;;
12857
 
  esac
12858
 
  if test "$_lt_dar_can_shared" = "yes"; then
12859
 
    output_verbose_link_cmd=func_echo_all
12860
 
    archive_cmds_CXX="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
12861
 
    module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
12862
 
    archive_expsym_cmds_CXX="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}"
12863
 
    module_expsym_cmds_CXX="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}"
12864
 
       if test "$lt_cv_apple_cc_single_mod" != "yes"; then
12865
 
      archive_cmds_CXX="\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dsymutil}"
12866
 
      archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dar_export_syms}${_lt_dsymutil}"
12867
 
    fi
12868
 
 
12869
 
  else
12870
 
  ld_shlibs_CXX=no
12871
 
  fi
12872
 
 
12873
 
        ;;
12874
 
 
12875
 
      dgux*)
12876
 
        case $cc_basename in
12877
 
          ec++*)
12878
 
            # FIXME: insert proper C++ library support
12879
 
            ld_shlibs_CXX=no
12880
 
            ;;
12881
 
          ghcx*)
12882
 
            # Green Hills C++ Compiler
12883
 
            # FIXME: insert proper C++ library support
12884
 
            ld_shlibs_CXX=no
12885
 
            ;;
12886
 
          *)
12887
 
            # FIXME: insert proper C++ library support
12888
 
            ld_shlibs_CXX=no
12889
 
            ;;
12890
 
        esac
12891
 
        ;;
12892
 
 
12893
 
      freebsd2.*)
12894
 
        # C++ shared libraries reported to be fairly broken before
12895
 
        # switch to ELF
12896
 
        ld_shlibs_CXX=no
12897
 
        ;;
12898
 
 
12899
 
      freebsd-elf*)
12900
 
        archive_cmds_need_lc_CXX=no
12901
 
        ;;
12902
 
 
12903
 
      freebsd* | dragonfly*)
12904
 
        # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
12905
 
        # conventions
12906
 
        ld_shlibs_CXX=yes
12907
 
        ;;
12908
 
 
12909
 
      gnu*)
12910
 
        ;;
12911
 
 
12912
 
      haiku*)
12913
 
        archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12914
 
        link_all_deplibs_CXX=yes
12915
 
        ;;
12916
 
 
12917
 
      hpux9*)
12918
 
        hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12919
 
        hardcode_libdir_separator_CXX=:
12920
 
        export_dynamic_flag_spec_CXX='${wl}-E'
12921
 
        hardcode_direct_CXX=yes
12922
 
        hardcode_minus_L_CXX=yes # Not in the search PATH,
12923
 
                                             # but as the default
12924
 
                                             # location of the library.
12925
 
 
12926
 
        case $cc_basename in
12927
 
          CC*)
12928
 
            # FIXME: insert proper C++ library support
12929
 
            ld_shlibs_CXX=no
12930
 
            ;;
12931
 
          aCC*)
12932
 
            archive_cmds_CXX='$RM $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
12933
 
            # Commands to make compiler produce verbose output that lists
12934
 
            # what "hidden" libraries, object files and flags are used when
12935
 
            # linking a shared library.
12936
 
            #
12937
 
            # There doesn't appear to be a way to prevent this compiler from
12938
 
            # explicitly linking system object files so we need to strip them
12939
 
            # from the output so that they don't get included in the library
12940
 
            # dependencies.
12941
 
            output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
12942
 
            ;;
12943
 
          *)
12944
 
            if test "$GXX" = yes; then
12945
 
              archive_cmds_CXX='$RM $output_objdir/$soname~$CC -shared -nostdlib $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
12946
 
            else
12947
 
              # FIXME: insert proper C++ library support
12948
 
              ld_shlibs_CXX=no
12949
 
            fi
12950
 
            ;;
12951
 
        esac
12952
 
        ;;
12953
 
 
12954
 
      hpux10*|hpux11*)
12955
 
        if test $with_gnu_ld = no; then
12956
 
          hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12957
 
          hardcode_libdir_separator_CXX=:
12958
 
 
12959
 
          case $host_cpu in
12960
 
            hppa*64*|ia64*)
12961
 
              ;;
12962
 
            *)
12963
 
              export_dynamic_flag_spec_CXX='${wl}-E'
12964
 
              ;;
12965
 
          esac
12966
 
        fi
12967
 
        case $host_cpu in
12968
 
          hppa*64*|ia64*)
12969
 
            hardcode_direct_CXX=no
12970
 
            hardcode_shlibpath_var_CXX=no
12971
 
            ;;
12972
 
          *)
12973
 
            hardcode_direct_CXX=yes
12974
 
            hardcode_direct_absolute_CXX=yes
12975
 
            hardcode_minus_L_CXX=yes # Not in the search PATH,
12976
 
                                                 # but as the default
12977
 
                                                 # location of the library.
12978
 
            ;;
12979
 
        esac
12980
 
 
12981
 
        case $cc_basename in
12982
 
          CC*)
12983
 
            # FIXME: insert proper C++ library support
12984
 
            ld_shlibs_CXX=no
12985
 
            ;;
12986
 
          aCC*)
12987
 
            case $host_cpu in
12988
 
              hppa*64*)
12989
 
                archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12990
 
                ;;
12991
 
              ia64*)
12992
 
                archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12993
 
                ;;
12994
 
              *)
12995
 
                archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12996
 
                ;;
12997
 
            esac
12998
 
            # Commands to make compiler produce verbose output that lists
12999
 
            # what "hidden" libraries, object files and flags are used when
13000
 
            # linking a shared library.
13001
 
            #
13002
 
            # There doesn't appear to be a way to prevent this compiler from
13003
 
            # explicitly linking system object files so we need to strip them
13004
 
            # from the output so that they don't get included in the library
13005
 
            # dependencies.
13006
 
            output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $GREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
13007
 
            ;;
13008
 
          *)
13009
 
            if test "$GXX" = yes; then
13010
 
              if test $with_gnu_ld = no; then
13011
 
                case $host_cpu in
13012
 
                  hppa*64*)
13013
 
                    archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13014
 
                    ;;
13015
 
                  ia64*)
13016
 
                    archive_cmds_CXX='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13017
 
                    ;;
13018
 
                  *)
13019
 
                    archive_cmds_CXX='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13020
 
                    ;;
13021
 
                esac
13022
 
              fi
13023
 
            else
13024
 
              # FIXME: insert proper C++ library support
13025
 
              ld_shlibs_CXX=no
13026
 
            fi
13027
 
            ;;
13028
 
        esac
13029
 
        ;;
13030
 
 
13031
 
      interix[3-9]*)
13032
 
        hardcode_direct_CXX=no
13033
 
        hardcode_shlibpath_var_CXX=no
13034
 
        hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13035
 
        export_dynamic_flag_spec_CXX='${wl}-E'
13036
 
        # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
13037
 
        # Instead, shared libraries are loaded at an image base (0x10000000 by
13038
 
        # default) and relocated if they conflict, which is a slow very memory
13039
 
        # consuming and fragmenting process.  To avoid this, we pick a random,
13040
 
        # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
13041
 
        # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
13042
 
        archive_cmds_CXX='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
13043
 
        archive_expsym_cmds_CXX='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'
13044
 
        ;;
13045
 
      irix5* | irix6*)
13046
 
        case $cc_basename in
13047
 
          CC*)
13048
 
            # SGI C++
13049
 
            archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
13050
 
 
13051
 
            # Archives containing C++ object files must be created using
13052
 
            # "CC -ar", where "CC" is the IRIX C++ compiler.  This is
13053
 
            # necessary to make sure instantiated templates are included
13054
 
            # in the archive.
13055
 
            old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
13056
 
            ;;
13057
 
          *)
13058
 
            if test "$GXX" = yes; then
13059
 
              if test "$with_gnu_ld" = no; then
13060
 
                archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $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'
13061
 
              else
13062
 
                archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` -o $lib'
13063
 
              fi
13064
 
            fi
13065
 
            link_all_deplibs_CXX=yes
13066
 
            ;;
13067
 
        esac
13068
 
        hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13069
 
        hardcode_libdir_separator_CXX=:
13070
 
        inherit_rpath_CXX=yes
13071
 
        ;;
13072
 
 
13073
 
      linux* | k*bsd*-gnu | kopensolaris*-gnu)
13074
 
        case $cc_basename in
13075
 
          KCC*)
13076
 
            # Kuck and Associates, Inc. (KAI) C++ Compiler
13077
 
 
13078
 
            # KCC will only create a shared library if the output file
13079
 
            # ends with ".so" (or ".sl" for HP-UX), so rename the library
13080
 
            # to its proper name (with version) after linking.
13081
 
            archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
13082
 
            archive_expsym_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib ${wl}-retain-symbols-file,$export_symbols; mv \$templib $lib'
13083
 
            # Commands to make compiler produce verbose output that lists
13084
 
            # what "hidden" libraries, object files and flags are used when
13085
 
            # linking a shared library.
13086
 
            #
13087
 
            # There doesn't appear to be a way to prevent this compiler from
13088
 
            # explicitly linking system object files so we need to strip them
13089
 
            # from the output so that they don't get included in the library
13090
 
            # dependencies.
13091
 
            output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | $GREP "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
13092
 
 
13093
 
            hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13094
 
            export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13095
 
 
13096
 
            # Archives containing C++ object files must be created using
13097
 
            # "CC -Bstatic", where "CC" is the KAI C++ compiler.
13098
 
            old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
13099
 
            ;;
13100
 
          icpc* | ecpc* )
13101
 
            # Intel C++
13102
 
            with_gnu_ld=yes
13103
 
            # version 8.0 and above of icpc choke on multiply defined symbols
13104
 
            # if we add $predep_objects and $postdep_objects, however 7.1 and
13105
 
            # earlier do not add the objects themselves.
13106
 
            case `$CC -V 2>&1` in
13107
 
              *"Version 7."*)
13108
 
                archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13109
 
                archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13110
 
                ;;
13111
 
              *)  # Version 8.0 or newer
13112
 
                tmp_idyn=
13113
 
                case $host_cpu in
13114
 
                  ia64*) tmp_idyn=' -i_dynamic';;
13115
 
                esac
13116
 
                archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13117
 
                archive_expsym_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13118
 
                ;;
13119
 
            esac
13120
 
            archive_cmds_need_lc_CXX=no
13121
 
            hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13122
 
            export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13123
 
            whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
13124
 
            ;;
13125
 
          pgCC* | pgcpp*)
13126
 
            # Portland Group C++ compiler
13127
 
            case `$CC -V` in
13128
 
            *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
13129
 
              prelink_cmds_CXX='tpldir=Template.dir~
13130
 
                rm -rf $tpldir~
13131
 
                $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
13132
 
                compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
13133
 
              old_archive_cmds_CXX='tpldir=Template.dir~
13134
 
                rm -rf $tpldir~
13135
 
                $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
13136
 
                $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
13137
 
                $RANLIB $oldlib'
13138
 
              archive_cmds_CXX='tpldir=Template.dir~
13139
 
                rm -rf $tpldir~
13140
 
                $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
13141
 
                $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13142
 
              archive_expsym_cmds_CXX='tpldir=Template.dir~
13143
 
                rm -rf $tpldir~
13144
 
                $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
13145
 
                $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
13146
 
              ;;
13147
 
            *) # Version 6 and above use weak symbols
13148
 
              archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13149
 
              archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
13150
 
              ;;
13151
 
            esac
13152
 
 
13153
 
            hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
13154
 
            export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13155
 
            whole_archive_flag_spec_CXX='${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'
13156
 
            ;;
13157
 
          cxx*)
13158
 
            # Compaq C++
13159
 
            archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13160
 
            archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname  -o $lib ${wl}-retain-symbols-file $wl$export_symbols'
13161
 
 
13162
 
            runpath_var=LD_RUN_PATH
13163
 
            hardcode_libdir_flag_spec_CXX='-rpath $libdir'
13164
 
            hardcode_libdir_separator_CXX=:
13165
 
 
13166
 
            # Commands to make compiler produce verbose output that lists
13167
 
            # what "hidden" libraries, object files and flags are used when
13168
 
            # linking a shared library.
13169
 
            #
13170
 
            # There doesn't appear to be a way to prevent this compiler from
13171
 
            # explicitly linking system object files so we need to strip them
13172
 
            # from the output so that they don't get included in the library
13173
 
            # dependencies.
13174
 
            output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "X$list" | $Xsed'
13175
 
            ;;
13176
 
          xl* | mpixl* | bgxl*)
13177
 
            # IBM XL 8.0 on PPC, with GNU ld
13178
 
            hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13179
 
            export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13180
 
            archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13181
 
            if test "x$supports_anon_versioning" = xyes; then
13182
 
              archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
13183
 
                cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
13184
 
                echo "local: *; };" >> $output_objdir/$libname.ver~
13185
 
                $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
13186
 
            fi
13187
 
            ;;
13188
 
          *)
13189
 
            case `$CC -V 2>&1 | sed 5q` in
13190
 
            *Sun\ C*)
13191
 
              # Sun C++ 5.9
13192
 
              no_undefined_flag_CXX=' -zdefs'
13193
 
              archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13194
 
              archive_expsym_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file ${wl}$export_symbols'
13195
 
              hardcode_libdir_flag_spec_CXX='-R$libdir'
13196
 
              whole_archive_flag_spec_CXX='${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'
13197
 
              compiler_needs_object_CXX=yes
13198
 
 
13199
 
              # Not sure whether something based on
13200
 
              # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
13201
 
              # would be better.
13202
 
              output_verbose_link_cmd='func_echo_all'
13203
 
 
13204
 
              # Archives containing C++ object files must be created using
13205
 
              # "CC -xar", where "CC" is the Sun C++ compiler.  This is
13206
 
              # necessary to make sure instantiated templates are included
13207
 
              # in the archive.
13208
 
              old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13209
 
              ;;
13210
 
            esac
13211
 
            ;;
13212
 
        esac
13213
 
        ;;
13214
 
 
13215
 
      lynxos*)
13216
 
        # FIXME: insert proper C++ library support
13217
 
        ld_shlibs_CXX=no
13218
 
        ;;
13219
 
 
13220
 
      m88k*)
13221
 
        # FIXME: insert proper C++ library support
13222
 
        ld_shlibs_CXX=no
13223
 
        ;;
13224
 
 
13225
 
      mvs*)
13226
 
        case $cc_basename in
13227
 
          cxx*)
13228
 
            # FIXME: insert proper C++ library support
13229
 
            ld_shlibs_CXX=no
13230
 
            ;;
13231
 
          *)
13232
 
            # FIXME: insert proper C++ library support
13233
 
            ld_shlibs_CXX=no
13234
 
            ;;
13235
 
        esac
13236
 
        ;;
13237
 
 
13238
 
      netbsd*)
13239
 
        if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
13240
 
          archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
13241
 
          wlarc=
13242
 
          hardcode_libdir_flag_spec_CXX='-R$libdir'
13243
 
          hardcode_direct_CXX=yes
13244
 
          hardcode_shlibpath_var_CXX=no
13245
 
        fi
13246
 
        # Workaround some broken pre-1.5 toolchains
13247
 
        output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
13248
 
        ;;
13249
 
 
13250
 
      *nto* | *qnx*)
13251
 
        ld_shlibs_CXX=yes
13252
 
        ;;
13253
 
 
13254
 
      openbsd2*)
13255
 
        # C++ shared libraries are fairly broken
13256
 
        ld_shlibs_CXX=no
13257
 
        ;;
13258
 
 
13259
 
      openbsd*)
13260
 
        if test -f /usr/libexec/ld.so; then
13261
 
          hardcode_direct_CXX=yes
13262
 
          hardcode_shlibpath_var_CXX=no
13263
 
          hardcode_direct_absolute_CXX=yes
13264
 
          archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13265
 
          hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13266
 
          if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13267
 
            archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
13268
 
            export_dynamic_flag_spec_CXX='${wl}-E'
13269
 
            whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13270
 
          fi
13271
 
          output_verbose_link_cmd=func_echo_all
13272
 
        else
13273
 
          ld_shlibs_CXX=no
13274
 
        fi
13275
 
        ;;
13276
 
 
13277
 
      osf3* | osf4* | osf5*)
13278
 
        case $cc_basename in
13279
 
          KCC*)
13280
 
            # Kuck and Associates, Inc. (KAI) C++ Compiler
13281
 
 
13282
 
            # KCC will only create a shared library if the output file
13283
 
            # ends with ".so" (or ".sl" for HP-UX), so rename the library
13284
 
            # to its proper name (with version) after linking.
13285
 
            archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo "$lib" | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
13286
 
 
13287
 
            hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13288
 
            hardcode_libdir_separator_CXX=:
13289
 
 
13290
 
            # Archives containing C++ object files must be created using
13291
 
            # the KAI C++ compiler.
13292
 
            case $host in
13293
 
              osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
13294
 
              *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
13295
 
            esac
13296
 
            ;;
13297
 
          RCC*)
13298
 
            # Rational C++ 2.4.1
13299
 
            # FIXME: insert proper C++ library support
13300
 
            ld_shlibs_CXX=no
13301
 
            ;;
13302
 
          cxx*)
13303
 
            case $host in
13304
 
              osf3*)
13305
 
                allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13306
 
                archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && func_echo_all "${wl}-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
13307
 
                hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13308
 
                ;;
13309
 
              *)
13310
 
                allow_undefined_flag_CXX=' -expect_unresolved \*'
13311
 
                archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
13312
 
                archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
13313
 
                  echo "-hidden">> $lib.exp~
13314
 
                  $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname ${wl}-input ${wl}$lib.exp  `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~
13315
 
                  $RM $lib.exp'
13316
 
                hardcode_libdir_flag_spec_CXX='-rpath $libdir'
13317
 
                ;;
13318
 
            esac
13319
 
 
13320
 
            hardcode_libdir_separator_CXX=:
13321
 
 
13322
 
            # Commands to make compiler produce verbose output that lists
13323
 
            # what "hidden" libraries, object files and flags are used when
13324
 
            # linking a shared library.
13325
 
            #
13326
 
            # There doesn't appear to be a way to prevent this compiler from
13327
 
            # explicitly linking system object files so we need to strip them
13328
 
            # from the output so that they don't get included in the library
13329
 
            # dependencies.
13330
 
            output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
13331
 
            ;;
13332
 
          *)
13333
 
            if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13334
 
              allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13335
 
              case $host in
13336
 
                osf3*)
13337
 
                  archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $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'
13338
 
                  ;;
13339
 
                *)
13340
 
                  archive_cmds_CXX='$CC -shared $pic_flag -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $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'
13341
 
                  ;;
13342
 
              esac
13343
 
 
13344
 
              hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13345
 
              hardcode_libdir_separator_CXX=:
13346
 
 
13347
 
              # Commands to make compiler produce verbose output that lists
13348
 
              # what "hidden" libraries, object files and flags are used when
13349
 
              # linking a shared library.
13350
 
              output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13351
 
 
13352
 
            else
13353
 
              # FIXME: insert proper C++ library support
13354
 
              ld_shlibs_CXX=no
13355
 
            fi
13356
 
            ;;
13357
 
        esac
13358
 
        ;;
13359
 
 
13360
 
      psos*)
13361
 
        # FIXME: insert proper C++ library support
13362
 
        ld_shlibs_CXX=no
13363
 
        ;;
13364
 
 
13365
 
      sunos4*)
13366
 
        case $cc_basename in
13367
 
          CC*)
13368
 
            # Sun C++ 4.x
13369
 
            # FIXME: insert proper C++ library support
13370
 
            ld_shlibs_CXX=no
13371
 
            ;;
13372
 
          lcc*)
13373
 
            # Lucid
13374
 
            # FIXME: insert proper C++ library support
13375
 
            ld_shlibs_CXX=no
13376
 
            ;;
13377
 
          *)
13378
 
            # FIXME: insert proper C++ library support
13379
 
            ld_shlibs_CXX=no
13380
 
            ;;
13381
 
        esac
13382
 
        ;;
13383
 
 
13384
 
      solaris*)
13385
 
        case $cc_basename in
13386
 
          CC* | sunCC*)
13387
 
            # Sun C++ 4.2, 5.x and Centerline C++
13388
 
            archive_cmds_need_lc_CXX=yes
13389
 
            no_undefined_flag_CXX=' -zdefs'
13390
 
            archive_cmds_CXX='$CC -G${allow_undefined_flag}  -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13391
 
            archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13392
 
              $CC -G${allow_undefined_flag} ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13393
 
 
13394
 
            hardcode_libdir_flag_spec_CXX='-R$libdir'
13395
 
            hardcode_shlibpath_var_CXX=no
13396
 
            case $host_os in
13397
 
              solaris2.[0-5] | solaris2.[0-5].*) ;;
13398
 
              *)
13399
 
                # The compiler driver will combine and reorder linker options,
13400
 
                # but understands `-z linker_flag'.
13401
 
                # Supported since Solaris 2.6 (maybe 2.5.1?)
13402
 
                whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
13403
 
                ;;
13404
 
            esac
13405
 
            link_all_deplibs_CXX=yes
13406
 
 
13407
 
            output_verbose_link_cmd='func_echo_all'
13408
 
 
13409
 
            # Archives containing C++ object files must be created using
13410
 
            # "CC -xar", where "CC" is the Sun C++ compiler.  This is
13411
 
            # necessary to make sure instantiated templates are included
13412
 
            # in the archive.
13413
 
            old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13414
 
            ;;
13415
 
          gcx*)
13416
 
            # Green Hills C++ Compiler
13417
 
            archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13418
 
 
13419
 
            # The C++ compiler must be used to create the archive.
13420
 
            old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
13421
 
            ;;
13422
 
          *)
13423
 
            # GNU C++ compiler with Solaris linker
13424
 
            if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13425
 
              no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
13426
 
              if $CC --version | $GREP -v '^2\.7' > /dev/null; then
13427
 
                archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13428
 
                archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13429
 
                  $CC -shared $pic_flag -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13430
 
 
13431
 
                # Commands to make compiler produce verbose output that lists
13432
 
                # what "hidden" libraries, object files and flags are used when
13433
 
                # linking a shared library.
13434
 
                output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13435
 
              else
13436
 
                # g++ 2.7 appears to require `-G' NOT `-shared' on this
13437
 
                # platform.
13438
 
                archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13439
 
                archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13440
 
                  $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13441
 
 
13442
 
                # Commands to make compiler produce verbose output that lists
13443
 
                # what "hidden" libraries, object files and flags are used when
13444
 
                # linking a shared library.
13445
 
                output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13446
 
              fi
13447
 
 
13448
 
              hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
13449
 
              case $host_os in
13450
 
                solaris2.[0-5] | solaris2.[0-5].*) ;;
13451
 
                *)
13452
 
                  whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13453
 
                  ;;
13454
 
              esac
13455
 
            fi
13456
 
            ;;
13457
 
        esac
13458
 
        ;;
13459
 
 
13460
 
    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
13461
 
      no_undefined_flag_CXX='${wl}-z,text'
13462
 
      archive_cmds_need_lc_CXX=no
13463
 
      hardcode_shlibpath_var_CXX=no
13464
 
      runpath_var='LD_RUN_PATH'
13465
 
 
13466
 
      case $cc_basename in
13467
 
        CC*)
13468
 
          archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13469
 
          archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13470
 
          ;;
13471
 
        *)
13472
 
          archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13473
 
          archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13474
 
          ;;
13475
 
      esac
13476
 
      ;;
13477
 
 
13478
 
      sysv5* | sco3.2v5* | sco5v6*)
13479
 
        # Note: We can NOT use -z defs as we might desire, because we do not
13480
 
        # link with -lc, and that would cause any symbols used from libc to
13481
 
        # always be unresolved, which means just about no library would
13482
 
        # ever link correctly.  If we're not using GNU ld we use -z text
13483
 
        # though, which does catch some bad symbols but isn't as heavy-handed
13484
 
        # as -z defs.
13485
 
        no_undefined_flag_CXX='${wl}-z,text'
13486
 
        allow_undefined_flag_CXX='${wl}-z,nodefs'
13487
 
        archive_cmds_need_lc_CXX=no
13488
 
        hardcode_shlibpath_var_CXX=no
13489
 
        hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
13490
 
        hardcode_libdir_separator_CXX=':'
13491
 
        link_all_deplibs_CXX=yes
13492
 
        export_dynamic_flag_spec_CXX='${wl}-Bexport'
13493
 
        runpath_var='LD_RUN_PATH'
13494
 
 
13495
 
        case $cc_basename in
13496
 
          CC*)
13497
 
            archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13498
 
            archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13499
 
            old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
13500
 
              '"$old_archive_cmds_CXX"
13501
 
            reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
13502
 
              '"$reload_cmds_CXX"
13503
 
            ;;
13504
 
          *)
13505
 
            archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13506
 
            archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13507
 
            ;;
13508
 
        esac
13509
 
      ;;
13510
 
 
13511
 
      tandem*)
13512
 
        case $cc_basename in
13513
 
          NCC*)
13514
 
            # NonStop-UX NCC 3.20
13515
 
            # FIXME: insert proper C++ library support
13516
 
            ld_shlibs_CXX=no
13517
 
            ;;
13518
 
          *)
13519
 
            # FIXME: insert proper C++ library support
13520
 
            ld_shlibs_CXX=no
13521
 
            ;;
13522
 
        esac
13523
 
        ;;
13524
 
 
13525
 
      vxworks*)
13526
 
        # FIXME: insert proper C++ library support
13527
 
        ld_shlibs_CXX=no
13528
 
        ;;
13529
 
 
13530
 
      *)
13531
 
        # FIXME: insert proper C++ library support
13532
 
        ld_shlibs_CXX=no
13533
 
        ;;
13534
 
    esac
13535
 
 
13536
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13537
 
$as_echo "$ld_shlibs_CXX" >&6; }
13538
 
    test "$ld_shlibs_CXX" = no && can_build_shared=no
13539
 
 
13540
 
    GCC_CXX="$GXX"
13541
 
    LD_CXX="$LD"
13542
 
 
13543
 
    ## CAVEAT EMPTOR:
13544
 
    ## There is no encapsulation within the following macros, do not change
13545
 
    ## the running order or otherwise move them around unless you know exactly
13546
 
    ## what you are doing...
13547
 
    # Dependencies to place before and after the object being linked:
13548
 
predep_objects_CXX=
13549
 
postdep_objects_CXX=
13550
 
predeps_CXX=
13551
 
postdeps_CXX=
13552
 
compiler_lib_search_path_CXX=
13553
 
 
13554
 
cat > conftest.$ac_ext <<_LT_EOF
13555
 
class Foo
13556
 
{
13557
 
public:
13558
 
  Foo (void) { a = 0; }
13559
 
private:
13560
 
  int a;
13561
 
};
13562
 
_LT_EOF
13563
 
 
13564
 
 
13565
 
_lt_libdeps_save_CFLAGS=$CFLAGS
13566
 
case "$CC $CFLAGS " in #(
13567
 
*\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;;
13568
 
*\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;;
13569
 
*\ -fuse-linker-plugin*\ *) CFLAGS="$CFLAGS -fno-use-linker-plugin" ;;
13570
 
esac
13571
 
 
13572
 
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13573
 
  (eval $ac_compile) 2>&5
13574
 
  ac_status=$?
13575
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13576
 
  test $ac_status = 0; }; then
13577
 
  # Parse the compiler output and extract the necessary
13578
 
  # objects, libraries and library flags.
13579
 
 
13580
 
  # Sentinel used to keep track of whether or not we are before
13581
 
  # the conftest object file.
13582
 
  pre_test_object_deps_done=no
13583
 
 
13584
 
  for p in `eval "$output_verbose_link_cmd"`; do
13585
 
    case ${prev}${p} in
13586
 
 
13587
 
    -L* | -R* | -l*)
13588
 
       # Some compilers place space between "-{L,R}" and the path.
13589
 
       # Remove the space.
13590
 
       if test $p = "-L" ||
13591
 
          test $p = "-R"; then
13592
 
         prev=$p
13593
 
         continue
13594
 
       fi
13595
 
 
13596
 
       # Expand the sysroot to ease extracting the directories later.
13597
 
       if test -z "$prev"; then
13598
 
         case $p in
13599
 
         -L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_result ;;
13600
 
         -R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_result ;;
13601
 
         -l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_result ;;
13602
 
         esac
13603
 
       fi
13604
 
       case $p in
13605
 
       =*) func_stripname_cnf '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;;
13606
 
       esac
13607
 
       if test "$pre_test_object_deps_done" = no; then
13608
 
         case ${prev} in
13609
 
         -L | -R)
13610
 
           # Internal compiler library paths should come after those
13611
 
           # provided the user.  The postdeps already come after the
13612
 
           # user supplied libs so there is no need to process them.
13613
 
           if test -z "$compiler_lib_search_path_CXX"; then
13614
 
             compiler_lib_search_path_CXX="${prev}${p}"
13615
 
           else
13616
 
             compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
13617
 
           fi
13618
 
           ;;
13619
 
         # The "-l" case would never come before the object being
13620
 
         # linked, so don't bother handling this case.
13621
 
         esac
13622
 
       else
13623
 
         if test -z "$postdeps_CXX"; then
13624
 
           postdeps_CXX="${prev}${p}"
13625
 
         else
13626
 
           postdeps_CXX="${postdeps_CXX} ${prev}${p}"
13627
 
         fi
13628
 
       fi
13629
 
       prev=
13630
 
       ;;
13631
 
 
13632
 
    *.lto.$objext) ;; # Ignore GCC LTO objects
13633
 
    *.$objext)
13634
 
       # This assumes that the test object file only shows up
13635
 
       # once in the compiler output.
13636
 
       if test "$p" = "conftest.$objext"; then
13637
 
         pre_test_object_deps_done=yes
13638
 
         continue
13639
 
       fi
13640
 
 
13641
 
       if test "$pre_test_object_deps_done" = no; then
13642
 
         if test -z "$predep_objects_CXX"; then
13643
 
           predep_objects_CXX="$p"
13644
 
         else
13645
 
           predep_objects_CXX="$predep_objects_CXX $p"
13646
 
         fi
13647
 
       else
13648
 
         if test -z "$postdep_objects_CXX"; then
13649
 
           postdep_objects_CXX="$p"
13650
 
         else
13651
 
           postdep_objects_CXX="$postdep_objects_CXX $p"
13652
 
         fi
13653
 
       fi
13654
 
       ;;
13655
 
 
13656
 
    *) ;; # Ignore the rest.
13657
 
 
13658
 
    esac
13659
 
  done
13660
 
 
13661
 
  # Clean up.
13662
 
  rm -f a.out a.exe
13663
 
else
13664
 
  echo "libtool.m4: error: problem compiling CXX test program"
13665
 
fi
13666
 
 
13667
 
$RM -f confest.$objext
13668
 
CFLAGS=$_lt_libdeps_save_CFLAGS
13669
 
 
13670
 
# PORTME: override above test on systems where it is broken
13671
 
case $host_os in
13672
 
interix[3-9]*)
13673
 
  # Interix 3.5 installs completely hosed .la files for C++, so rather than
13674
 
  # hack all around it, let's just trust "g++" to DTRT.
13675
 
  predep_objects_CXX=
13676
 
  postdep_objects_CXX=
13677
 
  postdeps_CXX=
13678
 
  ;;
13679
 
 
13680
 
linux*)
13681
 
  case `$CC -V 2>&1 | sed 5q` in
13682
 
  *Sun\ C*)
13683
 
    # Sun C++ 5.9
13684
 
 
13685
 
    # The more standards-conforming stlport4 library is
13686
 
    # incompatible with the Cstd library. Avoid specifying
13687
 
    # it if it's in CXXFLAGS. Ignore libCrun as
13688
 
    # -library=stlport4 depends on it.
13689
 
    case " $CXX $CXXFLAGS " in
13690
 
    *" -library=stlport4 "*)
13691
 
      solaris_use_stlport4=yes
13692
 
      ;;
13693
 
    esac
13694
 
 
13695
 
    if test "$solaris_use_stlport4" != yes; then
13696
 
      postdeps_CXX='-library=Cstd -library=Crun'
13697
 
    fi
13698
 
    ;;
13699
 
  esac
13700
 
  ;;
13701
 
 
13702
 
solaris*)
13703
 
  case $cc_basename in
13704
 
  CC* | sunCC*)
13705
 
    # The more standards-conforming stlport4 library is
13706
 
    # incompatible with the Cstd library. Avoid specifying
13707
 
    # it if it's in CXXFLAGS. Ignore libCrun as
13708
 
    # -library=stlport4 depends on it.
13709
 
    case " $CXX $CXXFLAGS " in
13710
 
    *" -library=stlport4 "*)
13711
 
      solaris_use_stlport4=yes
13712
 
      ;;
13713
 
    esac
13714
 
 
13715
 
    # Adding this requires a known-good setup of shared libraries for
13716
 
    # Sun compiler versions before 5.6, else PIC objects from an old
13717
 
    # archive will be linked into the output, leading to subtle bugs.
13718
 
    if test "$solaris_use_stlport4" != yes; then
13719
 
      postdeps_CXX='-library=Cstd -library=Crun'
13720
 
    fi
13721
 
    ;;
13722
 
  esac
13723
 
  ;;
13724
 
esac
13725
 
 
13726
 
 
13727
 
case " $postdeps_CXX " in
13728
 
*" -lc "*) archive_cmds_need_lc_CXX=no ;;
13729
 
esac
13730
 
 compiler_lib_search_dirs_CXX=
13731
 
if test -n "${compiler_lib_search_path_CXX}"; then
13732
 
 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
13733
 
fi
13734
 
 
13735
 
 
13736
 
 
13737
 
 
13738
 
 
13739
 
 
13740
 
 
13741
 
 
13742
 
 
13743
 
 
13744
 
 
13745
 
 
13746
 
 
13747
 
 
13748
 
 
13749
 
 
13750
 
 
13751
 
 
13752
 
 
13753
 
 
13754
 
 
13755
 
 
13756
 
 
13757
 
 
13758
 
 
13759
 
 
13760
 
 
13761
 
 
13762
 
 
13763
 
 
13764
 
 
13765
 
    lt_prog_compiler_wl_CXX=
13766
 
lt_prog_compiler_pic_CXX=
13767
 
lt_prog_compiler_static_CXX=
13768
 
 
13769
 
 
13770
 
  # C++ specific cases for pic, static, wl, etc.
13771
 
  if test "$GXX" = yes; then
13772
 
    lt_prog_compiler_wl_CXX='-Wl,'
13773
 
    lt_prog_compiler_static_CXX='-static'
13774
 
 
13775
 
    case $host_os in
13776
 
    aix*)
13777
 
      # All AIX code is PIC.
13778
 
      if test "$host_cpu" = ia64; then
13779
 
        # AIX 5 now supports IA64 processor
13780
 
        lt_prog_compiler_static_CXX='-Bstatic'
13781
 
      fi
13782
 
      ;;
13783
 
 
13784
 
    amigaos*)
13785
 
      case $host_cpu in
13786
 
      powerpc)
13787
 
            # see comment about AmigaOS4 .so support
13788
 
            lt_prog_compiler_pic_CXX='-fPIC'
13789
 
        ;;
13790
 
      m68k)
13791
 
            # FIXME: we need at least 68020 code to build shared libraries, but
13792
 
            # adding the `-m68020' flag to GCC prevents building anything better,
13793
 
            # like `-m68040'.
13794
 
            lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
13795
 
        ;;
13796
 
      esac
13797
 
      ;;
13798
 
 
13799
 
    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
13800
 
      # PIC is the default for these OSes.
13801
 
      ;;
13802
 
    mingw* | cygwin* | os2* | pw32* | cegcc*)
13803
 
      # This hack is so that the source file can tell whether it is being
13804
 
      # built for inclusion in a dll (and should export symbols for example).
13805
 
      # Although the cygwin gcc ignores -fPIC, still need this for old-style
13806
 
      # (--disable-auto-import) libraries
13807
 
      lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
13808
 
      ;;
13809
 
    darwin* | rhapsody*)
13810
 
      # PIC is the default on this platform
13811
 
      # Common symbols not allowed in MH_DYLIB files
13812
 
      lt_prog_compiler_pic_CXX='-fno-common'
13813
 
      ;;
13814
 
    *djgpp*)
13815
 
      # DJGPP does not support shared libraries at all
13816
 
      lt_prog_compiler_pic_CXX=
13817
 
      ;;
13818
 
    haiku*)
13819
 
      # PIC is the default for Haiku.
13820
 
      # The "-static" flag exists, but is broken.
13821
 
      lt_prog_compiler_static_CXX=
13822
 
      ;;
13823
 
    interix[3-9]*)
13824
 
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13825
 
      # Instead, we relocate shared libraries at runtime.
13826
 
      ;;
13827
 
    sysv4*MP*)
13828
 
      if test -d /usr/nec; then
13829
 
        lt_prog_compiler_pic_CXX=-Kconform_pic
13830
 
      fi
13831
 
      ;;
13832
 
    hpux*)
13833
 
      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
13834
 
      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
13835
 
      # sets the default TLS model and affects inlining.
13836
 
      case $host_cpu in
13837
 
      hppa*64*)
13838
 
        ;;
13839
 
      *)
13840
 
        lt_prog_compiler_pic_CXX='-fPIC'
13841
 
        ;;
13842
 
      esac
13843
 
      ;;
13844
 
    *qnx* | *nto*)
13845
 
      # QNX uses GNU C++, but need to define -shared option too, otherwise
13846
 
      # it will coredump.
13847
 
      lt_prog_compiler_pic_CXX='-fPIC -shared'
13848
 
      ;;
13849
 
    *)
13850
 
      lt_prog_compiler_pic_CXX='-fPIC'
13851
 
      ;;
13852
 
    esac
13853
 
  else
13854
 
    case $host_os in
13855
 
      aix[4-9]*)
13856
 
        # All AIX code is PIC.
13857
 
        if test "$host_cpu" = ia64; then
13858
 
          # AIX 5 now supports IA64 processor
13859
 
          lt_prog_compiler_static_CXX='-Bstatic'
13860
 
        else
13861
 
          lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
13862
 
        fi
13863
 
        ;;
13864
 
      chorus*)
13865
 
        case $cc_basename in
13866
 
        cxch68*)
13867
 
          # Green Hills C++ Compiler
13868
 
          # _LT_TAGVAR(lt_prog_compiler_static, CXX)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a"
13869
 
          ;;
13870
 
        esac
13871
 
        ;;
13872
 
      mingw* | cygwin* | os2* | pw32* | cegcc*)
13873
 
        # This hack is so that the source file can tell whether it is being
13874
 
        # built for inclusion in a dll (and should export symbols for example).
13875
 
        lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
13876
 
        ;;
13877
 
      dgux*)
13878
 
        case $cc_basename in
13879
 
          ec++*)
13880
 
            lt_prog_compiler_pic_CXX='-KPIC'
13881
 
            ;;
13882
 
          ghcx*)
13883
 
            # Green Hills C++ Compiler
13884
 
            lt_prog_compiler_pic_CXX='-pic'
13885
 
            ;;
13886
 
          *)
13887
 
            ;;
13888
 
        esac
13889
 
        ;;
13890
 
      freebsd* | dragonfly*)
13891
 
        # FreeBSD uses GNU C++
13892
 
        ;;
13893
 
      hpux9* | hpux10* | hpux11*)
13894
 
        case $cc_basename in
13895
 
          CC*)
13896
 
            lt_prog_compiler_wl_CXX='-Wl,'
13897
 
            lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13898
 
            if test "$host_cpu" != ia64; then
13899
 
              lt_prog_compiler_pic_CXX='+Z'
13900
 
            fi
13901
 
            ;;
13902
 
          aCC*)
13903
 
            lt_prog_compiler_wl_CXX='-Wl,'
13904
 
            lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13905
 
            case $host_cpu in
13906
 
            hppa*64*|ia64*)
13907
 
              # +Z the default
13908
 
              ;;
13909
 
            *)
13910
 
              lt_prog_compiler_pic_CXX='+Z'
13911
 
              ;;
13912
 
            esac
13913
 
            ;;
13914
 
          *)
13915
 
            ;;
13916
 
        esac
13917
 
        ;;
13918
 
      interix*)
13919
 
        # This is c89, which is MS Visual C++ (no shared libs)
13920
 
        # Anyone wants to do a port?
13921
 
        ;;
13922
 
      irix5* | irix6* | nonstopux*)
13923
 
        case $cc_basename in
13924
 
          CC*)
13925
 
            lt_prog_compiler_wl_CXX='-Wl,'
13926
 
            lt_prog_compiler_static_CXX='-non_shared'
13927
 
            # CC pic flag -KPIC is the default.
13928
 
            ;;
13929
 
          *)
13930
 
            ;;
13931
 
        esac
13932
 
        ;;
13933
 
      linux* | k*bsd*-gnu | kopensolaris*-gnu)
13934
 
        case $cc_basename in
13935
 
          KCC*)
13936
 
            # KAI C++ Compiler
13937
 
            lt_prog_compiler_wl_CXX='--backend -Wl,'
13938
 
            lt_prog_compiler_pic_CXX='-fPIC'
13939
 
            ;;
13940
 
          ecpc* )
13941
 
            # old Intel C++ for x86_64 which still supported -KPIC.
13942
 
            lt_prog_compiler_wl_CXX='-Wl,'
13943
 
            lt_prog_compiler_pic_CXX='-KPIC'
13944
 
            lt_prog_compiler_static_CXX='-static'
13945
 
            ;;
13946
 
          icpc* )
13947
 
            # Intel C++, used to be incompatible with GCC.
13948
 
            # ICC 10 doesn't accept -KPIC any more.
13949
 
            lt_prog_compiler_wl_CXX='-Wl,'
13950
 
            lt_prog_compiler_pic_CXX='-fPIC'
13951
 
            lt_prog_compiler_static_CXX='-static'
13952
 
            ;;
13953
 
          pgCC* | pgcpp*)
13954
 
            # Portland Group C++ compiler
13955
 
            lt_prog_compiler_wl_CXX='-Wl,'
13956
 
            lt_prog_compiler_pic_CXX='-fpic'
13957
 
            lt_prog_compiler_static_CXX='-Bstatic'
13958
 
            ;;
13959
 
          cxx*)
13960
 
            # Compaq C++
13961
 
            # Make sure the PIC flag is empty.  It appears that all Alpha
13962
 
            # Linux and Compaq Tru64 Unix objects are PIC.
13963
 
            lt_prog_compiler_pic_CXX=
13964
 
            lt_prog_compiler_static_CXX='-non_shared'
13965
 
            ;;
13966
 
          xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
13967
 
            # IBM XL 8.0, 9.0 on PPC and BlueGene
13968
 
            lt_prog_compiler_wl_CXX='-Wl,'
13969
 
            lt_prog_compiler_pic_CXX='-qpic'
13970
 
            lt_prog_compiler_static_CXX='-qstaticlink'
13971
 
            ;;
13972
 
          *)
13973
 
            case `$CC -V 2>&1 | sed 5q` in
13974
 
            *Sun\ C*)
13975
 
              # Sun C++ 5.9
13976
 
              lt_prog_compiler_pic_CXX='-KPIC'
13977
 
              lt_prog_compiler_static_CXX='-Bstatic'
13978
 
              lt_prog_compiler_wl_CXX='-Qoption ld '
13979
 
              ;;
13980
 
            esac
13981
 
            ;;
13982
 
        esac
13983
 
        ;;
13984
 
      lynxos*)
13985
 
        ;;
13986
 
      m88k*)
13987
 
        ;;
13988
 
      mvs*)
13989
 
        case $cc_basename in
13990
 
          cxx*)
13991
 
            lt_prog_compiler_pic_CXX='-W c,exportall'
13992
 
            ;;
13993
 
          *)
13994
 
            ;;
13995
 
        esac
13996
 
        ;;
13997
 
      netbsd*)
13998
 
        ;;
13999
 
      *qnx* | *nto*)
14000
 
        # QNX uses GNU C++, but need to define -shared option too, otherwise
14001
 
        # it will coredump.
14002
 
        lt_prog_compiler_pic_CXX='-fPIC -shared'
14003
 
        ;;
14004
 
      osf3* | osf4* | osf5*)
14005
 
        case $cc_basename in
14006
 
          KCC*)
14007
 
            lt_prog_compiler_wl_CXX='--backend -Wl,'
14008
 
            ;;
14009
 
          RCC*)
14010
 
            # Rational C++ 2.4.1
14011
 
            lt_prog_compiler_pic_CXX='-pic'
14012
 
            ;;
14013
 
          cxx*)
14014
 
            # Digital/Compaq C++
14015
 
            lt_prog_compiler_wl_CXX='-Wl,'
14016
 
            # Make sure the PIC flag is empty.  It appears that all Alpha
14017
 
            # Linux and Compaq Tru64 Unix objects are PIC.
14018
 
            lt_prog_compiler_pic_CXX=
14019
 
            lt_prog_compiler_static_CXX='-non_shared'
14020
 
            ;;
14021
 
          *)
14022
 
            ;;
14023
 
        esac
14024
 
        ;;
14025
 
      psos*)
14026
 
        ;;
14027
 
      solaris*)
14028
 
        case $cc_basename in
14029
 
          CC* | sunCC*)
14030
 
            # Sun C++ 4.2, 5.x and Centerline C++
14031
 
            lt_prog_compiler_pic_CXX='-KPIC'
14032
 
            lt_prog_compiler_static_CXX='-Bstatic'
14033
 
            lt_prog_compiler_wl_CXX='-Qoption ld '
14034
 
            ;;
14035
 
          gcx*)
14036
 
            # Green Hills C++ Compiler
14037
 
            lt_prog_compiler_pic_CXX='-PIC'
14038
 
            ;;
14039
 
          *)
14040
 
            ;;
14041
 
        esac
14042
 
        ;;
14043
 
      sunos4*)
14044
 
        case $cc_basename in
14045
 
          CC*)
14046
 
            # Sun C++ 4.x
14047
 
            lt_prog_compiler_pic_CXX='-pic'
14048
 
            lt_prog_compiler_static_CXX='-Bstatic'
14049
 
            ;;
14050
 
          lcc*)
14051
 
            # Lucid
14052
 
            lt_prog_compiler_pic_CXX='-pic'
14053
 
            ;;
14054
 
          *)
14055
 
            ;;
14056
 
        esac
14057
 
        ;;
14058
 
      sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
14059
 
        case $cc_basename in
14060
 
          CC*)
14061
 
            lt_prog_compiler_wl_CXX='-Wl,'
14062
 
            lt_prog_compiler_pic_CXX='-KPIC'
14063
 
            lt_prog_compiler_static_CXX='-Bstatic'
14064
 
            ;;
14065
 
        esac
14066
 
        ;;
14067
 
      tandem*)
14068
 
        case $cc_basename in
14069
 
          NCC*)
14070
 
            # NonStop-UX NCC 3.20
14071
 
            lt_prog_compiler_pic_CXX='-KPIC'
14072
 
            ;;
14073
 
          *)
14074
 
            ;;
14075
 
        esac
14076
 
        ;;
14077
 
      vxworks*)
14078
 
        ;;
14079
 
      *)
14080
 
        lt_prog_compiler_can_build_shared_CXX=no
14081
 
        ;;
14082
 
    esac
14083
 
  fi
14084
 
 
14085
 
case $host_os in
14086
 
  # For platforms which do not support PIC, -DPIC is meaningless:
14087
 
  *djgpp*)
14088
 
    lt_prog_compiler_pic_CXX=
14089
 
    ;;
14090
 
  *)
14091
 
    lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
14092
 
    ;;
14093
 
esac
14094
 
 
14095
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
14096
 
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
14097
 
if ${lt_cv_prog_compiler_pic_CXX+:} false; then :
14098
 
  $as_echo_n "(cached) " >&6
14099
 
else
14100
 
  lt_cv_prog_compiler_pic_CXX=$lt_prog_compiler_pic_CXX
14101
 
fi
14102
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5
14103
 
$as_echo "$lt_cv_prog_compiler_pic_CXX" >&6; }
14104
 
lt_prog_compiler_pic_CXX=$lt_cv_prog_compiler_pic_CXX
14105
 
 
14106
 
#
14107
 
# Check to make sure the PIC flag actually works.
14108
 
#
14109
 
if test -n "$lt_prog_compiler_pic_CXX"; then
14110
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
14111
 
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
14112
 
if ${lt_cv_prog_compiler_pic_works_CXX+:} false; then :
14113
 
  $as_echo_n "(cached) " >&6
14114
 
else
14115
 
  lt_cv_prog_compiler_pic_works_CXX=no
14116
 
   ac_outfile=conftest.$ac_objext
14117
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14118
 
   lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
14119
 
   # Insert the option either (1) after the last *FLAGS variable, or
14120
 
   # (2) before a word containing "conftest.", or (3) at the end.
14121
 
   # Note that $ac_compile itself does not contain backslashes and begins
14122
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
14123
 
   # The option is referenced via a variable to avoid confusing sed.
14124
 
   lt_compile=`echo "$ac_compile" | $SED \
14125
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14126
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14127
 
   -e 's:$: $lt_compiler_flag:'`
14128
 
   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14129
 
   (eval "$lt_compile" 2>conftest.err)
14130
 
   ac_status=$?
14131
 
   cat conftest.err >&5
14132
 
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14133
 
   if (exit $ac_status) && test -s "$ac_outfile"; then
14134
 
     # The compiler can only warn and ignore the option if not recognized
14135
 
     # So say no if there are warnings other than the usual output.
14136
 
     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
14137
 
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14138
 
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
14139
 
       lt_cv_prog_compiler_pic_works_CXX=yes
14140
 
     fi
14141
 
   fi
14142
 
   $RM conftest*
14143
 
 
14144
 
fi
14145
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
14146
 
$as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
14147
 
 
14148
 
if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
14149
 
    case $lt_prog_compiler_pic_CXX in
14150
 
     "" | " "*) ;;
14151
 
     *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
14152
 
     esac
14153
 
else
14154
 
    lt_prog_compiler_pic_CXX=
14155
 
     lt_prog_compiler_can_build_shared_CXX=no
14156
 
fi
14157
 
 
14158
 
fi
14159
 
 
14160
 
 
14161
 
 
14162
 
 
14163
 
 
14164
 
#
14165
 
# Check to make sure the static flag actually works.
14166
 
#
14167
 
wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
14168
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
14169
 
$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
14170
 
if ${lt_cv_prog_compiler_static_works_CXX+:} false; then :
14171
 
  $as_echo_n "(cached) " >&6
14172
 
else
14173
 
  lt_cv_prog_compiler_static_works_CXX=no
14174
 
   save_LDFLAGS="$LDFLAGS"
14175
 
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
14176
 
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
14177
 
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
14178
 
     # The linker can only warn and ignore the option if not recognized
14179
 
     # So say no if there are warnings
14180
 
     if test -s conftest.err; then
14181
 
       # Append any errors to the config.log.
14182
 
       cat conftest.err 1>&5
14183
 
       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
14184
 
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14185
 
       if diff conftest.exp conftest.er2 >/dev/null; then
14186
 
         lt_cv_prog_compiler_static_works_CXX=yes
14187
 
       fi
14188
 
     else
14189
 
       lt_cv_prog_compiler_static_works_CXX=yes
14190
 
     fi
14191
 
   fi
14192
 
   $RM -r conftest*
14193
 
   LDFLAGS="$save_LDFLAGS"
14194
 
 
14195
 
fi
14196
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
14197
 
$as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
14198
 
 
14199
 
if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
14200
 
    :
14201
 
else
14202
 
    lt_prog_compiler_static_CXX=
14203
 
fi
14204
 
 
14205
 
 
14206
 
 
14207
 
 
14208
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14209
 
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14210
 
if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
14211
 
  $as_echo_n "(cached) " >&6
14212
 
else
14213
 
  lt_cv_prog_compiler_c_o_CXX=no
14214
 
   $RM -r conftest 2>/dev/null
14215
 
   mkdir conftest
14216
 
   cd conftest
14217
 
   mkdir out
14218
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14219
 
 
14220
 
   lt_compiler_flag="-o out/conftest2.$ac_objext"
14221
 
   # Insert the option either (1) after the last *FLAGS variable, or
14222
 
   # (2) before a word containing "conftest.", or (3) at the end.
14223
 
   # Note that $ac_compile itself does not contain backslashes and begins
14224
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
14225
 
   lt_compile=`echo "$ac_compile" | $SED \
14226
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14227
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14228
 
   -e 's:$: $lt_compiler_flag:'`
14229
 
   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14230
 
   (eval "$lt_compile" 2>out/conftest.err)
14231
 
   ac_status=$?
14232
 
   cat out/conftest.err >&5
14233
 
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14234
 
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
14235
 
   then
14236
 
     # The compiler can only warn and ignore the option if not recognized
14237
 
     # So say no if there are warnings
14238
 
     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
14239
 
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
14240
 
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
14241
 
       lt_cv_prog_compiler_c_o_CXX=yes
14242
 
     fi
14243
 
   fi
14244
 
   chmod u+w . 2>&5
14245
 
   $RM conftest*
14246
 
   # SGI C++ compiler will create directory out/ii_files/ for
14247
 
   # template instantiation
14248
 
   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
14249
 
   $RM out/* && rmdir out
14250
 
   cd ..
14251
 
   $RM -r conftest
14252
 
   $RM conftest*
14253
 
 
14254
 
fi
14255
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14256
 
$as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14257
 
 
14258
 
 
14259
 
 
14260
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14261
 
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14262
 
if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
14263
 
  $as_echo_n "(cached) " >&6
14264
 
else
14265
 
  lt_cv_prog_compiler_c_o_CXX=no
14266
 
   $RM -r conftest 2>/dev/null
14267
 
   mkdir conftest
14268
 
   cd conftest
14269
 
   mkdir out
14270
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14271
 
 
14272
 
   lt_compiler_flag="-o out/conftest2.$ac_objext"
14273
 
   # Insert the option either (1) after the last *FLAGS variable, or
14274
 
   # (2) before a word containing "conftest.", or (3) at the end.
14275
 
   # Note that $ac_compile itself does not contain backslashes and begins
14276
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
14277
 
   lt_compile=`echo "$ac_compile" | $SED \
14278
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14279
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14280
 
   -e 's:$: $lt_compiler_flag:'`
14281
 
   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14282
 
   (eval "$lt_compile" 2>out/conftest.err)
14283
 
   ac_status=$?
14284
 
   cat out/conftest.err >&5
14285
 
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14286
 
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
14287
 
   then
14288
 
     # The compiler can only warn and ignore the option if not recognized
14289
 
     # So say no if there are warnings
14290
 
     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
14291
 
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
14292
 
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
14293
 
       lt_cv_prog_compiler_c_o_CXX=yes
14294
 
     fi
14295
 
   fi
14296
 
   chmod u+w . 2>&5
14297
 
   $RM conftest*
14298
 
   # SGI C++ compiler will create directory out/ii_files/ for
14299
 
   # template instantiation
14300
 
   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
14301
 
   $RM out/* && rmdir out
14302
 
   cd ..
14303
 
   $RM -r conftest
14304
 
   $RM conftest*
14305
 
 
14306
 
fi
14307
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14308
 
$as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14309
 
 
14310
 
 
14311
 
 
14312
 
 
14313
 
hard_links="nottested"
14314
 
if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
14315
 
  # do not overwrite the value of need_locks provided by the user
14316
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
14317
 
$as_echo_n "checking if we can lock with hard links... " >&6; }
14318
 
  hard_links=yes
14319
 
  $RM conftest*
14320
 
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
14321
 
  touch conftest.a
14322
 
  ln conftest.a conftest.b 2>&5 || hard_links=no
14323
 
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
14324
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
14325
 
$as_echo "$hard_links" >&6; }
14326
 
  if test "$hard_links" = no; then
14327
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14328
 
$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14329
 
    need_locks=warn
14330
 
  fi
14331
 
else
14332
 
  need_locks=no
14333
 
fi
14334
 
 
14335
 
 
14336
 
 
14337
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14338
 
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
14339
 
 
14340
 
  export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14341
 
  exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
14342
 
  case $host_os in
14343
 
  aix[4-9]*)
14344
 
    # If we're using GNU nm, then we don't want the "-C" option.
14345
 
    # -C means demangle to AIX nm, but means don't demangle with GNU nm
14346
 
    # Also, AIX nm treats weak defined symbols like other global defined
14347
 
    # symbols, whereas GNU nm marks them as "W".
14348
 
    if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
14349
 
      export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
14350
 
    else
14351
 
      export_symbols_cmds_CXX='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
14352
 
    fi
14353
 
    ;;
14354
 
  pw32*)
14355
 
    export_symbols_cmds_CXX="$ltdll_cmds"
14356
 
    ;;
14357
 
  cygwin* | mingw* | cegcc*)
14358
 
    case $cc_basename in
14359
 
    cl*)
14360
 
      exclude_expsyms_CXX='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
14361
 
      ;;
14362
 
    *)
14363
 
      export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
14364
 
      exclude_expsyms_CXX='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
14365
 
      ;;
14366
 
    esac
14367
 
    ;;
14368
 
  *)
14369
 
    export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14370
 
    ;;
14371
 
  esac
14372
 
 
14373
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14374
 
$as_echo "$ld_shlibs_CXX" >&6; }
14375
 
test "$ld_shlibs_CXX" = no && can_build_shared=no
14376
 
 
14377
 
with_gnu_ld_CXX=$with_gnu_ld
14378
 
 
14379
 
 
14380
 
 
14381
 
 
14382
 
 
14383
 
 
14384
 
#
14385
 
# Do we need to explicitly link libc?
14386
 
#
14387
 
case "x$archive_cmds_need_lc_CXX" in
14388
 
x|xyes)
14389
 
  # Assume -lc should be added
14390
 
  archive_cmds_need_lc_CXX=yes
14391
 
 
14392
 
  if test "$enable_shared" = yes && test "$GCC" = yes; then
14393
 
    case $archive_cmds_CXX in
14394
 
    *'~'*)
14395
 
      # FIXME: we may have to deal with multi-command sequences.
14396
 
      ;;
14397
 
    '$CC '*)
14398
 
      # Test whether the compiler implicitly links with -lc since on some
14399
 
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
14400
 
      # to ld, don't add -lc before -lgcc.
14401
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
14402
 
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
14403
 
if ${lt_cv_archive_cmds_need_lc_CXX+:} false; then :
14404
 
  $as_echo_n "(cached) " >&6
14405
 
else
14406
 
  $RM conftest*
14407
 
        echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14408
 
 
14409
 
        if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14410
 
  (eval $ac_compile) 2>&5
14411
 
  ac_status=$?
14412
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14413
 
  test $ac_status = 0; } 2>conftest.err; then
14414
 
          soname=conftest
14415
 
          lib=conftest
14416
 
          libobjs=conftest.$ac_objext
14417
 
          deplibs=
14418
 
          wl=$lt_prog_compiler_wl_CXX
14419
 
          pic_flag=$lt_prog_compiler_pic_CXX
14420
 
          compiler_flags=-v
14421
 
          linker_flags=-v
14422
 
          verstring=
14423
 
          output_objdir=.
14424
 
          libname=conftest
14425
 
          lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
14426
 
          allow_undefined_flag_CXX=
14427
 
          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
14428
 
  (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
14429
 
  ac_status=$?
14430
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14431
 
  test $ac_status = 0; }
14432
 
          then
14433
 
            lt_cv_archive_cmds_need_lc_CXX=no
14434
 
          else
14435
 
            lt_cv_archive_cmds_need_lc_CXX=yes
14436
 
          fi
14437
 
          allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
14438
 
        else
14439
 
          cat conftest.err 1>&5
14440
 
        fi
14441
 
        $RM conftest*
14442
 
 
14443
 
fi
14444
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
14445
 
$as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
14446
 
      archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
14447
 
      ;;
14448
 
    esac
14449
 
  fi
14450
 
  ;;
14451
 
esac
14452
 
 
14453
 
 
14454
 
 
14455
 
 
14456
 
 
14457
 
 
14458
 
 
14459
 
 
14460
 
 
14461
 
 
14462
 
 
14463
 
 
14464
 
 
14465
 
 
14466
 
 
14467
 
 
14468
 
 
14469
 
 
14470
 
 
14471
 
 
14472
 
 
14473
 
 
14474
 
 
14475
 
 
14476
 
 
14477
 
 
14478
 
 
14479
 
 
14480
 
 
14481
 
 
14482
 
 
14483
 
 
14484
 
 
14485
 
 
14486
 
 
14487
 
 
14488
 
 
14489
 
 
14490
 
 
14491
 
 
14492
 
 
14493
 
 
14494
 
 
14495
 
 
14496
 
 
14497
 
 
14498
 
 
14499
 
 
14500
 
 
14501
 
 
14502
 
 
14503
 
 
14504
 
 
14505
 
 
14506
 
 
14507
 
 
14508
 
 
14509
 
 
14510
 
 
14511
 
 
14512
 
 
14513
 
 
14514
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
14515
 
$as_echo_n "checking dynamic linker characteristics... " >&6; }
14516
 
 
14517
 
library_names_spec=
14518
 
libname_spec='lib$name'
14519
 
soname_spec=
14520
 
shrext_cmds=".so"
14521
 
postinstall_cmds=
14522
 
postuninstall_cmds=
14523
 
finish_cmds=
14524
 
finish_eval=
14525
 
shlibpath_var=
14526
 
shlibpath_overrides_runpath=unknown
14527
 
version_type=none
14528
 
dynamic_linker="$host_os ld.so"
14529
 
sys_lib_dlsearch_path_spec="/lib /usr/lib"
14530
 
need_lib_prefix=unknown
14531
 
hardcode_into_libs=no
14532
 
 
14533
 
# when you set need_version to no, make sure it does not cause -set_version
14534
 
# flags to be left without arguments
14535
 
need_version=unknown
14536
 
 
14537
 
case $host_os in
14538
 
aix3*)
14539
 
  version_type=linux # correct to gnu/linux during the next big refactor
14540
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
14541
 
  shlibpath_var=LIBPATH
14542
 
 
14543
 
  # AIX 3 has no versioning support, so we append a major version to the name.
14544
 
  soname_spec='${libname}${release}${shared_ext}$major'
14545
 
  ;;
14546
 
 
14547
 
aix[4-9]*)
14548
 
  version_type=linux # correct to gnu/linux during the next big refactor
14549
 
  need_lib_prefix=no
14550
 
  need_version=no
14551
 
  hardcode_into_libs=yes
14552
 
  if test "$host_cpu" = ia64; then
14553
 
    # AIX 5 supports IA64
14554
 
    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14555
 
    shlibpath_var=LD_LIBRARY_PATH
14556
 
  else
14557
 
    # With GCC up to 2.95.x, collect2 would create an import file
14558
 
    # for dependence libraries.  The import file would start with
14559
 
    # the line `#! .'.  This would cause the generated library to
14560
 
    # depend on `.', always an invalid library.  This was fixed in
14561
 
    # development snapshots of GCC prior to 3.0.
14562
 
    case $host_os in
14563
 
      aix4 | aix4.[01] | aix4.[01].*)
14564
 
      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14565
 
           echo ' yes '
14566
 
           echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
14567
 
        :
14568
 
      else
14569
 
        can_build_shared=no
14570
 
      fi
14571
 
      ;;
14572
 
    esac
14573
 
    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14574
 
    # soname into executable. Probably we can add versioning support to
14575
 
    # collect2, so additional links can be useful in future.
14576
 
    if test "$aix_use_runtimelinking" = yes; then
14577
 
      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14578
 
      # instead of lib<name>.a to let people know that these are not
14579
 
      # typical AIX shared libraries.
14580
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14581
 
    else
14582
 
      # We preserve .a as extension for shared libraries through AIX4.2
14583
 
      # and later when we are not doing run time linking.
14584
 
      library_names_spec='${libname}${release}.a $libname.a'
14585
 
      soname_spec='${libname}${release}${shared_ext}$major'
14586
 
    fi
14587
 
    shlibpath_var=LIBPATH
14588
 
  fi
14589
 
  ;;
14590
 
 
14591
 
amigaos*)
14592
 
  case $host_cpu in
14593
 
  powerpc)
14594
 
    # Since July 2007 AmigaOS4 officially supports .so libraries.
14595
 
    # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
14596
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14597
 
    ;;
14598
 
  m68k)
14599
 
    library_names_spec='$libname.ixlibrary $libname.a'
14600
 
    # Create ${libname}_ixlibrary.a entries in /sys/libs.
14601
 
    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'
14602
 
    ;;
14603
 
  esac
14604
 
  ;;
14605
 
 
14606
 
beos*)
14607
 
  library_names_spec='${libname}${shared_ext}'
14608
 
  dynamic_linker="$host_os ld.so"
14609
 
  shlibpath_var=LIBRARY_PATH
14610
 
  ;;
14611
 
 
14612
 
bsdi[45]*)
14613
 
  version_type=linux # correct to gnu/linux during the next big refactor
14614
 
  need_version=no
14615
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14616
 
  soname_spec='${libname}${release}${shared_ext}$major'
14617
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
14618
 
  shlibpath_var=LD_LIBRARY_PATH
14619
 
  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14620
 
  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
14621
 
  # the default ld.so.conf also contains /usr/contrib/lib and
14622
 
  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14623
 
  # libtool to hard-code these into programs
14624
 
  ;;
14625
 
 
14626
 
cygwin* | mingw* | pw32* | cegcc*)
14627
 
  version_type=windows
14628
 
  shrext_cmds=".dll"
14629
 
  need_version=no
14630
 
  need_lib_prefix=no
14631
 
 
14632
 
  case $GCC,$cc_basename in
14633
 
  yes,*)
14634
 
    # gcc
14635
 
    library_names_spec='$libname.dll.a'
14636
 
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
14637
 
    postinstall_cmds='base_file=`basename \${file}`~
14638
 
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14639
 
      dldir=$destdir/`dirname \$dlpath`~
14640
 
      test -d \$dldir || mkdir -p \$dldir~
14641
 
      $install_prog $dir/$dlname \$dldir/$dlname~
14642
 
      chmod a+x \$dldir/$dlname~
14643
 
      if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
14644
 
        eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
14645
 
      fi'
14646
 
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14647
 
      dlpath=$dir/\$dldll~
14648
 
       $RM \$dlpath'
14649
 
    shlibpath_overrides_runpath=yes
14650
 
 
14651
 
    case $host_os in
14652
 
    cygwin*)
14653
 
      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14654
 
      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14655
 
 
14656
 
      ;;
14657
 
    mingw* | cegcc*)
14658
 
      # MinGW DLLs use traditional 'lib' prefix
14659
 
      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14660
 
      ;;
14661
 
    pw32*)
14662
 
      # pw32 DLLs use 'pw' prefix rather than 'lib'
14663
 
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14664
 
      ;;
14665
 
    esac
14666
 
    dynamic_linker='Win32 ld.exe'
14667
 
    ;;
14668
 
 
14669
 
  *,cl*)
14670
 
    # Native MSVC
14671
 
    libname_spec='$name'
14672
 
    soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14673
 
    library_names_spec='${libname}.dll.lib'
14674
 
 
14675
 
    case $build_os in
14676
 
    mingw*)
14677
 
      sys_lib_search_path_spec=
14678
 
      lt_save_ifs=$IFS
14679
 
      IFS=';'
14680
 
      for lt_path in $LIB
14681
 
      do
14682
 
        IFS=$lt_save_ifs
14683
 
        # Let DOS variable expansion print the short 8.3 style file name.
14684
 
        lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
14685
 
        sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
14686
 
      done
14687
 
      IFS=$lt_save_ifs
14688
 
      # Convert to MSYS style.
14689
 
      sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
14690
 
      ;;
14691
 
    cygwin*)
14692
 
      # Convert to unix form, then to dos form, then back to unix form
14693
 
      # but this time dos style (no spaces!) so that the unix form looks
14694
 
      # like /cygdrive/c/PROGRA~1:/cygdr...
14695
 
      sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
14696
 
      sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
14697
 
      sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
14698
 
      ;;
14699
 
    *)
14700
 
      sys_lib_search_path_spec="$LIB"
14701
 
      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
14702
 
        # It is most probably a Windows format PATH.
14703
 
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
14704
 
      else
14705
 
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
14706
 
      fi
14707
 
      # FIXME: find the short name or the path components, as spaces are
14708
 
      # common. (e.g. "Program Files" -> "PROGRA~1")
14709
 
      ;;
14710
 
    esac
14711
 
 
14712
 
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
14713
 
    postinstall_cmds='base_file=`basename \${file}`~
14714
 
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14715
 
      dldir=$destdir/`dirname \$dlpath`~
14716
 
      test -d \$dldir || mkdir -p \$dldir~
14717
 
      $install_prog $dir/$dlname \$dldir/$dlname'
14718
 
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14719
 
      dlpath=$dir/\$dldll~
14720
 
       $RM \$dlpath'
14721
 
    shlibpath_overrides_runpath=yes
14722
 
    dynamic_linker='Win32 link.exe'
14723
 
    ;;
14724
 
 
14725
 
  *)
14726
 
    # Assume MSVC wrapper
14727
 
    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14728
 
    dynamic_linker='Win32 ld.exe'
14729
 
    ;;
14730
 
  esac
14731
 
  # FIXME: first we should search . and the directory the executable is in
14732
 
  shlibpath_var=PATH
14733
 
  ;;
14734
 
 
14735
 
darwin* | rhapsody*)
14736
 
  dynamic_linker="$host_os dyld"
14737
 
  version_type=darwin
14738
 
  need_lib_prefix=no
14739
 
  need_version=no
14740
 
  library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14741
 
  soname_spec='${libname}${release}${major}$shared_ext'
14742
 
  shlibpath_overrides_runpath=yes
14743
 
  shlibpath_var=DYLD_LIBRARY_PATH
14744
 
  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
14745
 
 
14746
 
  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
14747
 
  ;;
14748
 
 
14749
 
dgux*)
14750
 
  version_type=linux # correct to gnu/linux during the next big refactor
14751
 
  need_lib_prefix=no
14752
 
  need_version=no
14753
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14754
 
  soname_spec='${libname}${release}${shared_ext}$major'
14755
 
  shlibpath_var=LD_LIBRARY_PATH
14756
 
  ;;
14757
 
 
14758
 
freebsd* | dragonfly*)
14759
 
  # DragonFly does not have aout.  When/if they implement a new
14760
 
  # versioning mechanism, adjust this.
14761
 
  if test -x /usr/bin/objformat; then
14762
 
    objformat=`/usr/bin/objformat`
14763
 
  else
14764
 
    case $host_os in
14765
 
    freebsd[23].*) objformat=aout ;;
14766
 
    *) objformat=elf ;;
14767
 
    esac
14768
 
  fi
14769
 
  version_type=freebsd-$objformat
14770
 
  case $version_type in
14771
 
    freebsd-elf*)
14772
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14773
 
      need_version=no
14774
 
      need_lib_prefix=no
14775
 
      ;;
14776
 
    freebsd-*)
14777
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14778
 
      need_version=yes
14779
 
      ;;
14780
 
  esac
14781
 
  shlibpath_var=LD_LIBRARY_PATH
14782
 
  case $host_os in
14783
 
  freebsd2.*)
14784
 
    shlibpath_overrides_runpath=yes
14785
 
    ;;
14786
 
  freebsd3.[01]* | freebsdelf3.[01]*)
14787
 
    shlibpath_overrides_runpath=yes
14788
 
    hardcode_into_libs=yes
14789
 
    ;;
14790
 
  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
14791
 
  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
14792
 
    shlibpath_overrides_runpath=no
14793
 
    hardcode_into_libs=yes
14794
 
    ;;
14795
 
  *) # from 4.6 on, and DragonFly
14796
 
    shlibpath_overrides_runpath=yes
14797
 
    hardcode_into_libs=yes
14798
 
    ;;
14799
 
  esac
14800
 
  ;;
14801
 
 
14802
 
gnu*)
14803
 
  version_type=linux # correct to gnu/linux during the next big refactor
14804
 
  need_lib_prefix=no
14805
 
  need_version=no
14806
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14807
 
  soname_spec='${libname}${release}${shared_ext}$major'
14808
 
  shlibpath_var=LD_LIBRARY_PATH
14809
 
  shlibpath_overrides_runpath=no
14810
 
  hardcode_into_libs=yes
14811
 
  ;;
14812
 
 
14813
 
haiku*)
14814
 
  version_type=linux # correct to gnu/linux during the next big refactor
14815
 
  need_lib_prefix=no
14816
 
  need_version=no
14817
 
  dynamic_linker="$host_os runtime_loader"
14818
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14819
 
  soname_spec='${libname}${release}${shared_ext}$major'
14820
 
  shlibpath_var=LIBRARY_PATH
14821
 
  shlibpath_overrides_runpath=yes
14822
 
  sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
14823
 
  hardcode_into_libs=yes
14824
 
  ;;
14825
 
 
14826
 
hpux9* | hpux10* | hpux11*)
14827
 
  # Give a soname corresponding to the major version so that dld.sl refuses to
14828
 
  # link against other versions.
14829
 
  version_type=sunos
14830
 
  need_lib_prefix=no
14831
 
  need_version=no
14832
 
  case $host_cpu in
14833
 
  ia64*)
14834
 
    shrext_cmds='.so'
14835
 
    hardcode_into_libs=yes
14836
 
    dynamic_linker="$host_os dld.so"
14837
 
    shlibpath_var=LD_LIBRARY_PATH
14838
 
    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14839
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14840
 
    soname_spec='${libname}${release}${shared_ext}$major'
14841
 
    if test "X$HPUX_IA64_MODE" = X32; then
14842
 
      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14843
 
    else
14844
 
      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
14845
 
    fi
14846
 
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14847
 
    ;;
14848
 
  hppa*64*)
14849
 
    shrext_cmds='.sl'
14850
 
    hardcode_into_libs=yes
14851
 
    dynamic_linker="$host_os dld.sl"
14852
 
    shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
14853
 
    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14854
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14855
 
    soname_spec='${libname}${release}${shared_ext}$major'
14856
 
    sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14857
 
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14858
 
    ;;
14859
 
  *)
14860
 
    shrext_cmds='.sl'
14861
 
    dynamic_linker="$host_os dld.sl"
14862
 
    shlibpath_var=SHLIB_PATH
14863
 
    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
14864
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14865
 
    soname_spec='${libname}${release}${shared_ext}$major'
14866
 
    ;;
14867
 
  esac
14868
 
  # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
14869
 
  postinstall_cmds='chmod 555 $lib'
14870
 
  # or fails outright, so override atomically:
14871
 
  install_override_mode=555
14872
 
  ;;
14873
 
 
14874
 
interix[3-9]*)
14875
 
  version_type=linux # correct to gnu/linux during the next big refactor
14876
 
  need_lib_prefix=no
14877
 
  need_version=no
14878
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14879
 
  soname_spec='${libname}${release}${shared_ext}$major'
14880
 
  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
14881
 
  shlibpath_var=LD_LIBRARY_PATH
14882
 
  shlibpath_overrides_runpath=no
14883
 
  hardcode_into_libs=yes
14884
 
  ;;
14885
 
 
14886
 
irix5* | irix6* | nonstopux*)
14887
 
  case $host_os in
14888
 
    nonstopux*) version_type=nonstopux ;;
14889
 
    *)
14890
 
        if test "$lt_cv_prog_gnu_ld" = yes; then
14891
 
                version_type=linux # correct to gnu/linux during the next big refactor
14892
 
        else
14893
 
                version_type=irix
14894
 
        fi ;;
14895
 
  esac
14896
 
  need_lib_prefix=no
14897
 
  need_version=no
14898
 
  soname_spec='${libname}${release}${shared_ext}$major'
14899
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14900
 
  case $host_os in
14901
 
  irix5* | nonstopux*)
14902
 
    libsuff= shlibsuff=
14903
 
    ;;
14904
 
  *)
14905
 
    case $LD in # libtool.m4 will add one of these switches to LD
14906
 
    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
14907
 
      libsuff= shlibsuff= libmagic=32-bit;;
14908
 
    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
14909
 
      libsuff=32 shlibsuff=N32 libmagic=N32;;
14910
 
    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
14911
 
      libsuff=64 shlibsuff=64 libmagic=64-bit;;
14912
 
    *) libsuff= shlibsuff= libmagic=never-match;;
14913
 
    esac
14914
 
    ;;
14915
 
  esac
14916
 
  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
14917
 
  shlibpath_overrides_runpath=no
14918
 
  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14919
 
  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
14920
 
  hardcode_into_libs=yes
14921
 
  ;;
14922
 
 
14923
 
# No shared lib support for Linux oldld, aout, or coff.
14924
 
linux*oldld* | linux*aout* | linux*coff*)
14925
 
  dynamic_linker=no
14926
 
  ;;
14927
 
 
14928
 
# This must be glibc/ELF.
14929
 
linux* | k*bsd*-gnu | kopensolaris*-gnu)
14930
 
  version_type=linux # correct to gnu/linux during the next big refactor
14931
 
  need_lib_prefix=no
14932
 
  need_version=no
14933
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14934
 
  soname_spec='${libname}${release}${shared_ext}$major'
14935
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14936
 
  shlibpath_var=LD_LIBRARY_PATH
14937
 
  shlibpath_overrides_runpath=no
14938
 
 
14939
 
  # Some binutils ld are patched to set DT_RUNPATH
14940
 
  if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
14941
 
  $as_echo_n "(cached) " >&6
14942
 
else
14943
 
  lt_cv_shlibpath_overrides_runpath=no
14944
 
    save_LDFLAGS=$LDFLAGS
14945
 
    save_libdir=$libdir
14946
 
    eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
14947
 
         LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
14948
 
    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14949
 
/* end confdefs.h.  */
14950
 
 
14951
 
int
14952
 
main ()
14953
 
{
14954
 
 
14955
 
  ;
14956
 
  return 0;
14957
 
}
14958
 
_ACEOF
14959
 
if ac_fn_cxx_try_link "$LINENO"; then :
14960
 
  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
14961
 
  lt_cv_shlibpath_overrides_runpath=yes
14962
 
fi
14963
 
fi
14964
 
rm -f core conftest.err conftest.$ac_objext \
14965
 
    conftest$ac_exeext conftest.$ac_ext
14966
 
    LDFLAGS=$save_LDFLAGS
14967
 
    libdir=$save_libdir
14968
 
 
14969
 
fi
14970
 
 
14971
 
  shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
14972
 
 
14973
 
  # This implies no fast_install, which is unacceptable.
14974
 
  # Some rework will be needed to allow for fast_install
14975
 
  # before this can be enabled.
14976
 
  hardcode_into_libs=yes
14977
 
 
14978
 
  # Append ld.so.conf contents to the search path
14979
 
  if test -f /etc/ld.so.conf; then
14980
 
    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' ' '`
14981
 
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
14982
 
  fi
14983
 
 
14984
 
  # We used to test for /lib/ld.so.1 and disable shared libraries on
14985
 
  # powerpc, because MkLinux only supported shared libraries with the
14986
 
  # GNU dynamic linker.  Since this was broken with cross compilers,
14987
 
  # most powerpc-linux boxes support dynamic linking these days and
14988
 
  # people can always --disable-shared, the test was removed, and we
14989
 
  # assume the GNU/Linux dynamic linker is in use.
14990
 
  dynamic_linker='GNU/Linux ld.so'
14991
 
  ;;
14992
 
 
14993
 
netbsd*)
14994
 
  version_type=sunos
14995
 
  need_lib_prefix=no
14996
 
  need_version=no
14997
 
  if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
14998
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14999
 
    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15000
 
    dynamic_linker='NetBSD (a.out) ld.so'
15001
 
  else
15002
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15003
 
    soname_spec='${libname}${release}${shared_ext}$major'
15004
 
    dynamic_linker='NetBSD ld.elf_so'
15005
 
  fi
15006
 
  shlibpath_var=LD_LIBRARY_PATH
15007
 
  shlibpath_overrides_runpath=yes
15008
 
  hardcode_into_libs=yes
15009
 
  ;;
15010
 
 
15011
 
newsos6)
15012
 
  version_type=linux # correct to gnu/linux during the next big refactor
15013
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15014
 
  shlibpath_var=LD_LIBRARY_PATH
15015
 
  shlibpath_overrides_runpath=yes
15016
 
  ;;
15017
 
 
15018
 
*nto* | *qnx*)
15019
 
  version_type=qnx
15020
 
  need_lib_prefix=no
15021
 
  need_version=no
15022
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15023
 
  soname_spec='${libname}${release}${shared_ext}$major'
15024
 
  shlibpath_var=LD_LIBRARY_PATH
15025
 
  shlibpath_overrides_runpath=no
15026
 
  hardcode_into_libs=yes
15027
 
  dynamic_linker='ldqnx.so'
15028
 
  ;;
15029
 
 
15030
 
openbsd*)
15031
 
  version_type=sunos
15032
 
  sys_lib_dlsearch_path_spec="/usr/lib"
15033
 
  need_lib_prefix=no
15034
 
  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
15035
 
  case $host_os in
15036
 
    openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
15037
 
    *)                          need_version=no  ;;
15038
 
  esac
15039
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15040
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15041
 
  shlibpath_var=LD_LIBRARY_PATH
15042
 
  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15043
 
    case $host_os in
15044
 
      openbsd2.[89] | openbsd2.[89].*)
15045
 
        shlibpath_overrides_runpath=no
15046
 
        ;;
15047
 
      *)
15048
 
        shlibpath_overrides_runpath=yes
15049
 
        ;;
15050
 
      esac
15051
 
  else
15052
 
    shlibpath_overrides_runpath=yes
15053
 
  fi
15054
 
  ;;
15055
 
 
15056
 
os2*)
15057
 
  libname_spec='$name'
15058
 
  shrext_cmds=".dll"
15059
 
  need_lib_prefix=no
15060
 
  library_names_spec='$libname${shared_ext} $libname.a'
15061
 
  dynamic_linker='OS/2 ld.exe'
15062
 
  shlibpath_var=LIBPATH
15063
 
  ;;
15064
 
 
15065
 
osf3* | osf4* | osf5*)
15066
 
  version_type=osf
15067
 
  need_lib_prefix=no
15068
 
  need_version=no
15069
 
  soname_spec='${libname}${release}${shared_ext}$major'
15070
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15071
 
  shlibpath_var=LD_LIBRARY_PATH
15072
 
  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
15073
 
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
15074
 
  ;;
15075
 
 
15076
 
rdos*)
15077
 
  dynamic_linker=no
15078
 
  ;;
15079
 
 
15080
 
solaris*)
15081
 
  version_type=linux # correct to gnu/linux during the next big refactor
15082
 
  need_lib_prefix=no
15083
 
  need_version=no
15084
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15085
 
  soname_spec='${libname}${release}${shared_ext}$major'
15086
 
  shlibpath_var=LD_LIBRARY_PATH
15087
 
  shlibpath_overrides_runpath=yes
15088
 
  hardcode_into_libs=yes
15089
 
  # ldd complains unless libraries are executable
15090
 
  postinstall_cmds='chmod +x $lib'
15091
 
  ;;
15092
 
 
15093
 
sunos4*)
15094
 
  version_type=sunos
15095
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15096
 
  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
15097
 
  shlibpath_var=LD_LIBRARY_PATH
15098
 
  shlibpath_overrides_runpath=yes
15099
 
  if test "$with_gnu_ld" = yes; then
15100
 
    need_lib_prefix=no
15101
 
  fi
15102
 
  need_version=yes
15103
 
  ;;
15104
 
 
15105
 
sysv4 | sysv4.3*)
15106
 
  version_type=linux # correct to gnu/linux during the next big refactor
15107
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15108
 
  soname_spec='${libname}${release}${shared_ext}$major'
15109
 
  shlibpath_var=LD_LIBRARY_PATH
15110
 
  case $host_vendor in
15111
 
    sni)
15112
 
      shlibpath_overrides_runpath=no
15113
 
      need_lib_prefix=no
15114
 
      runpath_var=LD_RUN_PATH
15115
 
      ;;
15116
 
    siemens)
15117
 
      need_lib_prefix=no
15118
 
      ;;
15119
 
    motorola)
15120
 
      need_lib_prefix=no
15121
 
      need_version=no
15122
 
      shlibpath_overrides_runpath=no
15123
 
      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
15124
 
      ;;
15125
 
  esac
15126
 
  ;;
15127
 
 
15128
 
sysv4*MP*)
15129
 
  if test -d /usr/nec ;then
15130
 
    version_type=linux # correct to gnu/linux during the next big refactor
15131
 
    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
15132
 
    soname_spec='$libname${shared_ext}.$major'
15133
 
    shlibpath_var=LD_LIBRARY_PATH
15134
 
  fi
15135
 
  ;;
15136
 
 
15137
 
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
15138
 
  version_type=freebsd-elf
15139
 
  need_lib_prefix=no
15140
 
  need_version=no
15141
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15142
 
  soname_spec='${libname}${release}${shared_ext}$major'
15143
 
  shlibpath_var=LD_LIBRARY_PATH
15144
 
  shlibpath_overrides_runpath=yes
15145
 
  hardcode_into_libs=yes
15146
 
  if test "$with_gnu_ld" = yes; then
15147
 
    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
15148
 
  else
15149
 
    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
15150
 
    case $host_os in
15151
 
      sco3.2v5*)
15152
 
        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
15153
 
        ;;
15154
 
    esac
15155
 
  fi
15156
 
  sys_lib_dlsearch_path_spec='/usr/lib'
15157
 
  ;;
15158
 
 
15159
 
tpf*)
15160
 
  # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
15161
 
  version_type=linux # correct to gnu/linux during the next big refactor
15162
 
  need_lib_prefix=no
15163
 
  need_version=no
15164
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15165
 
  shlibpath_var=LD_LIBRARY_PATH
15166
 
  shlibpath_overrides_runpath=no
15167
 
  hardcode_into_libs=yes
15168
 
  ;;
15169
 
 
15170
 
uts4*)
15171
 
  version_type=linux # correct to gnu/linux during the next big refactor
15172
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15173
 
  soname_spec='${libname}${release}${shared_ext}$major'
15174
 
  shlibpath_var=LD_LIBRARY_PATH
15175
 
  ;;
15176
 
 
15177
 
*)
15178
 
  dynamic_linker=no
15179
 
  ;;
15180
 
esac
15181
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
15182
 
$as_echo "$dynamic_linker" >&6; }
15183
 
test "$dynamic_linker" = no && can_build_shared=no
15184
 
 
15185
 
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
15186
 
if test "$GCC" = yes; then
15187
 
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
15188
 
fi
15189
 
 
15190
 
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
15191
 
  sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
15192
 
fi
15193
 
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
15194
 
  sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
15195
 
fi
15196
 
 
15197
 
 
15198
 
 
15199
 
 
15200
 
 
15201
 
 
15202
 
 
15203
 
 
15204
 
 
15205
 
 
15206
 
 
15207
 
 
15208
 
 
15209
 
 
15210
 
 
15211
 
 
15212
 
 
15213
 
 
15214
 
 
15215
 
 
15216
 
 
15217
 
 
15218
 
 
15219
 
 
15220
 
 
15221
 
 
15222
 
 
15223
 
 
15224
 
 
15225
 
 
15226
 
 
15227
 
 
15228
 
 
15229
 
 
15230
 
 
15231
 
 
15232
 
 
15233
 
 
15234
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
15235
 
$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
15236
 
hardcode_action_CXX=
15237
 
if test -n "$hardcode_libdir_flag_spec_CXX" ||
15238
 
   test -n "$runpath_var_CXX" ||
15239
 
   test "X$hardcode_automatic_CXX" = "Xyes" ; then
15240
 
 
15241
 
  # We can hardcode non-existent directories.
15242
 
  if test "$hardcode_direct_CXX" != no &&
15243
 
     # If the only mechanism to avoid hardcoding is shlibpath_var, we
15244
 
     # have to relink, otherwise we might link with an installed library
15245
 
     # when we should be linking with a yet-to-be-installed one
15246
 
     ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
15247
 
     test "$hardcode_minus_L_CXX" != no; then
15248
 
    # Linking always hardcodes the temporary library directory.
15249
 
    hardcode_action_CXX=relink
15250
 
  else
15251
 
    # We can link without hardcoding, and we can hardcode nonexisting dirs.
15252
 
    hardcode_action_CXX=immediate
15253
 
  fi
15254
 
else
15255
 
  # We cannot hardcode anything, or else we can only hardcode existing
15256
 
  # directories.
15257
 
  hardcode_action_CXX=unsupported
15258
 
fi
15259
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
15260
 
$as_echo "$hardcode_action_CXX" >&6; }
15261
 
 
15262
 
if test "$hardcode_action_CXX" = relink ||
15263
 
   test "$inherit_rpath_CXX" = yes; then
15264
 
  # Fast installation is not supported
15265
 
  enable_fast_install=no
15266
 
elif test "$shlibpath_overrides_runpath" = yes ||
15267
 
     test "$enable_shared" = no; then
15268
 
  # Fast installation is not necessary
15269
 
  enable_fast_install=needless
15270
 
fi
15271
 
 
15272
 
 
15273
 
 
15274
 
 
15275
 
 
15276
 
 
15277
 
 
15278
 
  fi # test -n "$compiler"
15279
 
 
15280
 
  CC=$lt_save_CC
15281
 
  CFLAGS=$lt_save_CFLAGS
15282
 
  LDCXX=$LD
15283
 
  LD=$lt_save_LD
15284
 
  GCC=$lt_save_GCC
15285
 
  with_gnu_ld=$lt_save_with_gnu_ld
15286
 
  lt_cv_path_LDCXX=$lt_cv_path_LD
15287
 
  lt_cv_path_LD=$lt_save_path_LD
15288
 
  lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
15289
 
  lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
15290
 
fi # test "$_lt_caught_CXX_error" != yes
15291
 
 
15292
 
ac_ext=cpp
15293
 
ac_cpp='$CXXCPP $CPPFLAGS'
15294
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15295
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15296
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15297
 
 
15298
 
 
15299
 
 
15300
 
 
15301
 
 
15302
 
 
15303
 
 
15304
 
 
15305
 
 
15306
 
 
15307
 
 
15308
 
 
15309
 
 
15310
 
 
15311
 
 
15312
 
        ac_config_commands="$ac_config_commands libtool"
15313
 
 
15314
 
 
15315
 
 
15316
 
 
15317
 
# Only expand once:
15318
 
 
15319
 
 
15320
 
 
15321
 
 
15322
 
 
15323
 
# ==========================
15324
 
# Platform check for windows
15325
 
# ==========================
15326
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for native Win32" >&5
15327
 
$as_echo_n "checking for native Win32... " >&6; }
15328
 
case $host in #(
15329
 
  *-*-mingw*) :
15330
 
    native_win32=yes ;; #(
15331
 
  *) :
15332
 
    native_win32=no ;;
15333
 
esac
15334
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $native_win32" >&5
15335
 
$as_echo "$native_win32" >&6; }
15336
 
 if test "x$native_win32" = "xyes"; then
15337
 
  OS_WIN32_TRUE=
15338
 
  OS_WIN32_FALSE='#'
15339
 
else
15340
 
  OS_WIN32_TRUE='#'
15341
 
  OS_WIN32_FALSE=
15342
 
fi
15343
 
 
15344
 
 
15345
 
# TODO Check for docbook-to-man
15346
 
# =============
15347
 
# Documentation
15348
 
# =============
15349
 
 
15350
 
# Check whether --with-man was given.
15351
 
if test "${with_man+set}" = set; then :
15352
 
  withval=$with_man; with_man="$withval"
15353
 
else
15354
 
  with_man=yes
15355
 
 
15356
 
fi
15357
 
 
15358
 
if test "x$with_man" != "xno"; then :
15359
 
 
15360
 
        build_man=yes
15361
 
        if test -z "$DOCBOOK2MAN"; then :
15362
 
 
15363
 
            # Extract the first word of "docbook2x-man", so it can be a program name with args.
15364
 
set dummy docbook2x-man; ac_word=$2
15365
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15366
 
$as_echo_n "checking for $ac_word... " >&6; }
15367
 
if ${ac_cv_path_DOCBOOK2MAN+:} false; then :
15368
 
  $as_echo_n "(cached) " >&6
15369
 
else
15370
 
  case $DOCBOOK2MAN in
15371
 
  [\\/]* | ?:[\\/]*)
15372
 
  ac_cv_path_DOCBOOK2MAN="$DOCBOOK2MAN" # Let the user override the test with a path.
15373
 
  ;;
15374
 
  *)
15375
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15376
 
for as_dir in $PATH
15377
 
do
15378
 
  IFS=$as_save_IFS
15379
 
  test -z "$as_dir" && as_dir=.
15380
 
    for ac_exec_ext in '' $ac_executable_extensions; do
15381
 
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15382
 
    ac_cv_path_DOCBOOK2MAN="$as_dir/$ac_word$ac_exec_ext"
15383
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15384
 
    break 2
15385
 
  fi
15386
 
done
15387
 
  done
15388
 
IFS=$as_save_IFS
15389
 
 
15390
 
  ;;
15391
 
esac
15392
 
fi
15393
 
DOCBOOK2MAN=$ac_cv_path_DOCBOOK2MAN
15394
 
if test -n "$DOCBOOK2MAN"; then
15395
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOCBOOK2MAN" >&5
15396
 
$as_echo "$DOCBOOK2MAN" >&6; }
15397
 
else
15398
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15399
 
$as_echo "no" >&6; }
15400
 
fi
15401
 
 
15402
 
 
15403
 
            if test -z "$DOCBOOK2MAN"; then :
15404
 
 
15405
 
                # Extract the first word of "docbook-to-man", so it can be a program name with args.
15406
 
set dummy docbook-to-man; ac_word=$2
15407
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15408
 
$as_echo_n "checking for $ac_word... " >&6; }
15409
 
if ${ac_cv_path_DOCBOOK2MAN+:} false; then :
15410
 
  $as_echo_n "(cached) " >&6
15411
 
else
15412
 
  case $DOCBOOK2MAN in
15413
 
  [\\/]* | ?:[\\/]*)
15414
 
  ac_cv_path_DOCBOOK2MAN="$DOCBOOK2MAN" # Let the user override the test with a path.
15415
 
  ;;
15416
 
  *)
15417
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15418
 
for as_dir in $PATH
15419
 
do
15420
 
  IFS=$as_save_IFS
15421
 
  test -z "$as_dir" && as_dir=.
15422
 
    for ac_exec_ext in '' $ac_executable_extensions; do
15423
 
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15424
 
    ac_cv_path_DOCBOOK2MAN="$as_dir/$ac_word$ac_exec_ext"
15425
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15426
 
    break 2
15427
 
  fi
15428
 
done
15429
 
  done
15430
 
IFS=$as_save_IFS
15431
 
 
15432
 
  ;;
15433
 
esac
15434
 
fi
15435
 
DOCBOOK2MAN=$ac_cv_path_DOCBOOK2MAN
15436
 
if test -n "$DOCBOOK2MAN"; then
15437
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOCBOOK2MAN" >&5
15438
 
$as_echo "$DOCBOOK2MAN" >&6; }
15439
 
else
15440
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15441
 
$as_echo "no" >&6; }
15442
 
fi
15443
 
 
15444
 
 
15445
 
                if test -z "$DOCBOOK2MAN"; then :
15446
 
 
15447
 
                        # Extract the first word of "docbook2man.pl", so it can be a program name with args.
15448
 
set dummy docbook2man.pl; ac_word=$2
15449
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15450
 
$as_echo_n "checking for $ac_word... " >&6; }
15451
 
if ${ac_cv_path_DOCBOOK2MAN+:} false; then :
15452
 
  $as_echo_n "(cached) " >&6
15453
 
else
15454
 
  case $DOCBOOK2MAN in
15455
 
  [\\/]* | ?:[\\/]*)
15456
 
  ac_cv_path_DOCBOOK2MAN="$DOCBOOK2MAN" # Let the user override the test with a path.
15457
 
  ;;
15458
 
  *)
15459
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15460
 
for as_dir in $PATH
15461
 
do
15462
 
  IFS=$as_save_IFS
15463
 
  test -z "$as_dir" && as_dir=.
15464
 
    for ac_exec_ext in '' $ac_executable_extensions; do
15465
 
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15466
 
    ac_cv_path_DOCBOOK2MAN="$as_dir/$ac_word$ac_exec_ext"
15467
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15468
 
    break 2
15469
 
  fi
15470
 
done
15471
 
  done
15472
 
IFS=$as_save_IFS
15473
 
 
15474
 
  ;;
15475
 
esac
15476
 
fi
15477
 
DOCBOOK2MAN=$ac_cv_path_DOCBOOK2MAN
15478
 
if test -n "$DOCBOOK2MAN"; then
15479
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOCBOOK2MAN" >&5
15480
 
$as_echo "$DOCBOOK2MAN" >&6; }
15481
 
else
15482
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15483
 
$as_echo "no" >&6; }
15484
 
fi
15485
 
 
15486
 
 
15487
 
                        if test -z "$DOCBOOK2MAN"; then :
15488
 
 
15489
 
                                as_fn_error $? "docbook-to-man is missing. Install docbook2X package." "$LINENO" 5
15490
 
 
15491
 
fi
15492
 
 
15493
 
fi
15494
 
 
15495
 
fi
15496
 
 
15497
 
fi
15498
 
 
15499
 
else
15500
 
  build_man=no
15501
 
fi
15502
 
 
15503
 
 if test "x$build_man" != "xno"; then
15504
 
  WITH_LIBCMIS_MAN_TRUE=
15505
 
  WITH_LIBCMIS_MAN_FALSE='#'
15506
 
else
15507
 
  WITH_LIBCMIS_MAN_TRUE='#'
15508
 
  WITH_LIBCMIS_MAN_FALSE=
15509
 
fi
15510
 
 
15511
 
 
15512
 
# ========
15513
 
# Cppcheck
15514
 
# ========
15515
 
# Extract the first word of "cppcheck", so it can be a program name with args.
15516
 
set dummy cppcheck; ac_word=$2
15517
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15518
 
$as_echo_n "checking for $ac_word... " >&6; }
15519
 
if ${ac_cv_path_CPPCHECK+:} false; then :
15520
 
  $as_echo_n "(cached) " >&6
15521
 
else
15522
 
  case $CPPCHECK in
15523
 
  [\\/]* | ?:[\\/]*)
15524
 
  ac_cv_path_CPPCHECK="$CPPCHECK" # Let the user override the test with a path.
15525
 
  ;;
15526
 
  *)
15527
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15528
 
for as_dir in $PATH
15529
 
do
15530
 
  IFS=$as_save_IFS
15531
 
  test -z "$as_dir" && as_dir=.
15532
 
    for ac_exec_ext in '' $ac_executable_extensions; do
15533
 
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15534
 
    ac_cv_path_CPPCHECK="$as_dir/$ac_word$ac_exec_ext"
15535
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15536
 
    break 2
15537
 
  fi
15538
 
done
15539
 
  done
15540
 
IFS=$as_save_IFS
15541
 
 
15542
 
  ;;
15543
 
esac
15544
 
fi
15545
 
CPPCHECK=$ac_cv_path_CPPCHECK
15546
 
if test -n "$CPPCHECK"; then
15547
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPCHECK" >&5
15548
 
$as_echo "$CPPCHECK" >&6; }
15549
 
else
15550
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15551
 
$as_echo "no" >&6; }
15552
 
fi
15553
 
 
15554
 
 
15555
 
if test "x$ac_cv_path_CPPCHECK" != "x"; then :
15556
 
  enable_cppcheck=yes
15557
 
else
15558
 
  enable_cppcheck=no
15559
 
fi
15560
 
 if test "x$ac_cv_path_CPPCHECK" != "x"; then
15561
 
  ENABLE_CPPCHECK_TRUE=
15562
 
  ENABLE_CPPCHECK_FALSE='#'
15563
 
else
15564
 
  ENABLE_CPPCHECK_TRUE='#'
15565
 
  ENABLE_CPPCHECK_FALSE=
15566
 
fi
15567
 
 
15568
 
 
15569
 
 
15570
 
# Check whether --enable-werror was given.
15571
 
if test "${enable_werror+set}" = set; then :
15572
 
  enableval=$enable_werror; enable_werror="$enableval"
15573
 
else
15574
 
  enable_werror=yes
15575
 
 
15576
 
fi
15577
 
 
15578
 
if test x"$enable_werror" != "xno"; then :
15579
 
 
15580
 
        CFLAGS="$CFLAGS -Werror"
15581
 
        CXXFLAGS="$CXXFLAGS -Werror"
15582
 
 
15583
 
fi
15584
 
if test x"$GCC" = xyes; then :
15585
 
 
15586
 
        # Be tough with warnings and produce less careless code
15587
 
        CFLAGS="$CFLAGS -Wall -pedantic -Wshadow -Wendif-labels -Wextra"
15588
 
        CXXFLAGS="$CXXFLAGS -Wall -pedantic -Weffc++ -Wshadow -Wendif-labels -Wextra -Wsign-promo -Woverloaded-virtual -Wnon-virtual-dtor -Wsign-promo"
15589
 
 
15590
 
fi
15591
 
 
15592
 
# Check for curl
15593
 
 
15594
 
 
15595
 
 
15596
 
 
15597
 
 
15598
 
 
15599
 
 
15600
 
if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
15601
 
        if test -n "$ac_tool_prefix"; then
15602
 
  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
15603
 
set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
15604
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15605
 
$as_echo_n "checking for $ac_word... " >&6; }
15606
 
if ${ac_cv_path_PKG_CONFIG+:} false; then :
15607
 
  $as_echo_n "(cached) " >&6
15608
 
else
15609
 
  case $PKG_CONFIG in
15610
 
  [\\/]* | ?:[\\/]*)
15611
 
  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
15612
 
  ;;
15613
 
  *)
15614
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15615
 
for as_dir in $PATH
15616
 
do
15617
 
  IFS=$as_save_IFS
15618
 
  test -z "$as_dir" && as_dir=.
15619
 
    for ac_exec_ext in '' $ac_executable_extensions; do
15620
 
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15621
 
    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
15622
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15623
 
    break 2
15624
 
  fi
15625
 
done
15626
 
  done
15627
 
IFS=$as_save_IFS
15628
 
 
15629
 
  ;;
15630
 
esac
15631
 
fi
15632
 
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
15633
 
if test -n "$PKG_CONFIG"; then
15634
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
15635
 
$as_echo "$PKG_CONFIG" >&6; }
15636
 
else
15637
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15638
 
$as_echo "no" >&6; }
15639
 
fi
15640
 
 
15641
 
 
15642
 
fi
15643
 
if test -z "$ac_cv_path_PKG_CONFIG"; then
15644
 
  ac_pt_PKG_CONFIG=$PKG_CONFIG
15645
 
  # Extract the first word of "pkg-config", so it can be a program name with args.
15646
 
set dummy pkg-config; ac_word=$2
15647
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15648
 
$as_echo_n "checking for $ac_word... " >&6; }
15649
 
if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
15650
 
  $as_echo_n "(cached) " >&6
15651
 
else
15652
 
  case $ac_pt_PKG_CONFIG in
15653
 
  [\\/]* | ?:[\\/]*)
15654
 
  ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
15655
 
  ;;
15656
 
  *)
15657
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15658
 
for as_dir in $PATH
15659
 
do
15660
 
  IFS=$as_save_IFS
15661
 
  test -z "$as_dir" && as_dir=.
15662
 
    for ac_exec_ext in '' $ac_executable_extensions; do
15663
 
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15664
 
    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
15665
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15666
 
    break 2
15667
 
  fi
15668
 
done
15669
 
  done
15670
 
IFS=$as_save_IFS
15671
 
 
15672
 
  ;;
15673
 
esac
15674
 
fi
15675
 
ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
15676
 
if test -n "$ac_pt_PKG_CONFIG"; then
15677
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
15678
 
$as_echo "$ac_pt_PKG_CONFIG" >&6; }
15679
 
else
15680
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15681
 
$as_echo "no" >&6; }
15682
 
fi
15683
 
 
15684
 
  if test "x$ac_pt_PKG_CONFIG" = x; then
15685
 
    PKG_CONFIG=""
15686
 
  else
15687
 
    case $cross_compiling:$ac_tool_warned in
15688
 
yes:)
15689
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
15690
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
15691
 
ac_tool_warned=yes ;;
15692
 
esac
15693
 
    PKG_CONFIG=$ac_pt_PKG_CONFIG
15694
 
  fi
15695
 
else
15696
 
  PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
15697
 
fi
15698
 
 
15699
 
fi
15700
 
if test -n "$PKG_CONFIG"; then
15701
 
        _pkg_min_version=0.9.0
15702
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
15703
 
$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
15704
 
        if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
15705
 
                { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15706
 
$as_echo "yes" >&6; }
15707
 
        else
15708
 
                { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15709
 
$as_echo "no" >&6; }
15710
 
                PKG_CONFIG=""
15711
 
        fi
15712
 
fi
15713
 
 
15714
 
pkg_failed=no
15715
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for CURL" >&5
15716
 
$as_echo_n "checking for CURL... " >&6; }
15717
 
 
15718
 
if test -n "$CURL_CFLAGS"; then
15719
 
    pkg_cv_CURL_CFLAGS="$CURL_CFLAGS"
15720
 
 elif test -n "$PKG_CONFIG"; then
15721
 
    if test -n "$PKG_CONFIG" && \
15722
 
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
15723
 
        libcurl
15724
 
\""; } >&5
15725
 
  ($PKG_CONFIG --exists --print-errors "
15726
 
        libcurl
15727
 
") 2>&5
15728
 
  ac_status=$?
15729
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15730
 
  test $ac_status = 0; }; then
15731
 
  pkg_cv_CURL_CFLAGS=`$PKG_CONFIG --cflags "
15732
 
        libcurl
15733
 
" 2>/dev/null`
15734
 
                      test "x$?" != "x0" && pkg_failed=yes
15735
 
else
15736
 
  pkg_failed=yes
15737
 
fi
15738
 
 else
15739
 
    pkg_failed=untried
15740
 
fi
15741
 
if test -n "$CURL_LIBS"; then
15742
 
    pkg_cv_CURL_LIBS="$CURL_LIBS"
15743
 
 elif test -n "$PKG_CONFIG"; then
15744
 
    if test -n "$PKG_CONFIG" && \
15745
 
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
15746
 
        libcurl
15747
 
\""; } >&5
15748
 
  ($PKG_CONFIG --exists --print-errors "
15749
 
        libcurl
15750
 
") 2>&5
15751
 
  ac_status=$?
15752
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15753
 
  test $ac_status = 0; }; then
15754
 
  pkg_cv_CURL_LIBS=`$PKG_CONFIG --libs "
15755
 
        libcurl
15756
 
" 2>/dev/null`
15757
 
                      test "x$?" != "x0" && pkg_failed=yes
15758
 
else
15759
 
  pkg_failed=yes
15760
 
fi
15761
 
 else
15762
 
    pkg_failed=untried
15763
 
fi
15764
 
 
15765
 
 
15766
 
 
15767
 
if test $pkg_failed = yes; then
15768
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15769
 
$as_echo "no" >&6; }
15770
 
 
15771
 
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15772
 
        _pkg_short_errors_supported=yes
15773
 
else
15774
 
        _pkg_short_errors_supported=no
15775
 
fi
15776
 
        if test $_pkg_short_errors_supported = yes; then
15777
 
                CURL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "
15778
 
        libcurl
15779
 
" 2>&1`
15780
 
        else
15781
 
                CURL_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "
15782
 
        libcurl
15783
 
" 2>&1`
15784
 
        fi
15785
 
        # Put the nasty error message in config.log where it belongs
15786
 
        echo "$CURL_PKG_ERRORS" >&5
15787
 
 
15788
 
        as_fn_error $? "Package requirements (
15789
 
        libcurl
15790
 
) were not met:
15791
 
 
15792
 
$CURL_PKG_ERRORS
15793
 
 
15794
 
Consider adjusting the PKG_CONFIG_PATH environment variable if you
15795
 
installed software in a non-standard prefix.
15796
 
 
15797
 
Alternatively, you may set the environment variables CURL_CFLAGS
15798
 
and CURL_LIBS to avoid the need to call pkg-config.
15799
 
See the pkg-config man page for more details." "$LINENO" 5
15800
 
elif test $pkg_failed = untried; then
15801
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15802
 
$as_echo "no" >&6; }
15803
 
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15804
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15805
 
as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
15806
 
is in your PATH or set the PKG_CONFIG environment variable to the full
15807
 
path to pkg-config.
15808
 
 
15809
 
Alternatively, you may set the environment variables CURL_CFLAGS
15810
 
and CURL_LIBS to avoid the need to call pkg-config.
15811
 
See the pkg-config man page for more details.
15812
 
 
15813
 
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
15814
 
See \`config.log' for more details" "$LINENO" 5; }
15815
 
else
15816
 
        CURL_CFLAGS=$pkg_cv_CURL_CFLAGS
15817
 
        CURL_LIBS=$pkg_cv_CURL_LIBS
15818
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15819
 
$as_echo "yes" >&6; }
15820
 
 
15821
 
fi
15822
 
 
15823
 
 
15824
 
 
15825
 
# Check for lixml2
15826
 
 
15827
 
pkg_failed=no
15828
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for XML2" >&5
15829
 
$as_echo_n "checking for XML2... " >&6; }
15830
 
 
15831
 
if test -n "$XML2_CFLAGS"; then
15832
 
    pkg_cv_XML2_CFLAGS="$XML2_CFLAGS"
15833
 
 elif test -n "$PKG_CONFIG"; then
15834
 
    if test -n "$PKG_CONFIG" && \
15835
 
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
15836
 
        libxml-2.0
15837
 
\""; } >&5
15838
 
  ($PKG_CONFIG --exists --print-errors "
15839
 
        libxml-2.0
15840
 
") 2>&5
15841
 
  ac_status=$?
15842
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15843
 
  test $ac_status = 0; }; then
15844
 
  pkg_cv_XML2_CFLAGS=`$PKG_CONFIG --cflags "
15845
 
        libxml-2.0
15846
 
" 2>/dev/null`
15847
 
                      test "x$?" != "x0" && pkg_failed=yes
15848
 
else
15849
 
  pkg_failed=yes
15850
 
fi
15851
 
 else
15852
 
    pkg_failed=untried
15853
 
fi
15854
 
if test -n "$XML2_LIBS"; then
15855
 
    pkg_cv_XML2_LIBS="$XML2_LIBS"
15856
 
 elif test -n "$PKG_CONFIG"; then
15857
 
    if test -n "$PKG_CONFIG" && \
15858
 
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
15859
 
        libxml-2.0
15860
 
\""; } >&5
15861
 
  ($PKG_CONFIG --exists --print-errors "
15862
 
        libxml-2.0
15863
 
") 2>&5
15864
 
  ac_status=$?
15865
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15866
 
  test $ac_status = 0; }; then
15867
 
  pkg_cv_XML2_LIBS=`$PKG_CONFIG --libs "
15868
 
        libxml-2.0
15869
 
" 2>/dev/null`
15870
 
                      test "x$?" != "x0" && pkg_failed=yes
15871
 
else
15872
 
  pkg_failed=yes
15873
 
fi
15874
 
 else
15875
 
    pkg_failed=untried
15876
 
fi
15877
 
 
15878
 
 
15879
 
 
15880
 
if test $pkg_failed = yes; then
15881
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15882
 
$as_echo "no" >&6; }
15883
 
 
15884
 
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15885
 
        _pkg_short_errors_supported=yes
15886
 
else
15887
 
        _pkg_short_errors_supported=no
15888
 
fi
15889
 
        if test $_pkg_short_errors_supported = yes; then
15890
 
                XML2_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "
15891
 
        libxml-2.0
15892
 
" 2>&1`
15893
 
        else
15894
 
                XML2_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "
15895
 
        libxml-2.0
15896
 
" 2>&1`
15897
 
        fi
15898
 
        # Put the nasty error message in config.log where it belongs
15899
 
        echo "$XML2_PKG_ERRORS" >&5
15900
 
 
15901
 
        as_fn_error $? "Package requirements (
15902
 
        libxml-2.0
15903
 
) were not met:
15904
 
 
15905
 
$XML2_PKG_ERRORS
15906
 
 
15907
 
Consider adjusting the PKG_CONFIG_PATH environment variable if you
15908
 
installed software in a non-standard prefix.
15909
 
 
15910
 
Alternatively, you may set the environment variables XML2_CFLAGS
15911
 
and XML2_LIBS to avoid the need to call pkg-config.
15912
 
See the pkg-config man page for more details." "$LINENO" 5
15913
 
elif test $pkg_failed = untried; then
15914
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15915
 
$as_echo "no" >&6; }
15916
 
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15917
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15918
 
as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
15919
 
is in your PATH or set the PKG_CONFIG environment variable to the full
15920
 
path to pkg-config.
15921
 
 
15922
 
Alternatively, you may set the environment variables XML2_CFLAGS
15923
 
and XML2_LIBS to avoid the need to call pkg-config.
15924
 
See the pkg-config man page for more details.
15925
 
 
15926
 
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
15927
 
See \`config.log' for more details" "$LINENO" 5; }
15928
 
else
15929
 
        XML2_CFLAGS=$pkg_cv_XML2_CFLAGS
15930
 
        XML2_LIBS=$pkg_cv_XML2_LIBS
15931
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15932
 
$as_echo "yes" >&6; }
15933
 
 
15934
 
fi
15935
 
 
15936
 
 
15937
 
 
15938
 
# Check for cppunit
15939
 
if test "x$enable_tests" != "xno"; then :
15940
 
 
15941
 
 
15942
 
pkg_failed=no
15943
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for CPPUNIT" >&5
15944
 
$as_echo_n "checking for CPPUNIT... " >&6; }
15945
 
 
15946
 
if test -n "$CPPUNIT_CFLAGS"; then
15947
 
    pkg_cv_CPPUNIT_CFLAGS="$CPPUNIT_CFLAGS"
15948
 
 elif test -n "$PKG_CONFIG"; then
15949
 
    if test -n "$PKG_CONFIG" && \
15950
 
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"cppunit >= 1.12 \""; } >&5
15951
 
  ($PKG_CONFIG --exists --print-errors "cppunit >= 1.12 ") 2>&5
15952
 
  ac_status=$?
15953
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15954
 
  test $ac_status = 0; }; then
15955
 
  pkg_cv_CPPUNIT_CFLAGS=`$PKG_CONFIG --cflags "cppunit >= 1.12 " 2>/dev/null`
15956
 
                      test "x$?" != "x0" && pkg_failed=yes
15957
 
else
15958
 
  pkg_failed=yes
15959
 
fi
15960
 
 else
15961
 
    pkg_failed=untried
15962
 
fi
15963
 
if test -n "$CPPUNIT_LIBS"; then
15964
 
    pkg_cv_CPPUNIT_LIBS="$CPPUNIT_LIBS"
15965
 
 elif test -n "$PKG_CONFIG"; then
15966
 
    if test -n "$PKG_CONFIG" && \
15967
 
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"cppunit >= 1.12 \""; } >&5
15968
 
  ($PKG_CONFIG --exists --print-errors "cppunit >= 1.12 ") 2>&5
15969
 
  ac_status=$?
15970
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15971
 
  test $ac_status = 0; }; then
15972
 
  pkg_cv_CPPUNIT_LIBS=`$PKG_CONFIG --libs "cppunit >= 1.12 " 2>/dev/null`
15973
 
                      test "x$?" != "x0" && pkg_failed=yes
15974
 
else
15975
 
  pkg_failed=yes
15976
 
fi
15977
 
 else
15978
 
    pkg_failed=untried
15979
 
fi
15980
 
 
15981
 
 
15982
 
 
15983
 
if test $pkg_failed = yes; then
15984
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15985
 
$as_echo "no" >&6; }
15986
 
 
15987
 
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15988
 
        _pkg_short_errors_supported=yes
15989
 
else
15990
 
        _pkg_short_errors_supported=no
15991
 
fi
15992
 
        if test $_pkg_short_errors_supported = yes; then
15993
 
                CPPUNIT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "cppunit >= 1.12 " 2>&1`
15994
 
        else
15995
 
                CPPUNIT_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "cppunit >= 1.12 " 2>&1`
15996
 
        fi
15997
 
        # Put the nasty error message in config.log where it belongs
15998
 
        echo "$CPPUNIT_PKG_ERRORS" >&5
15999
 
 
16000
 
        as_fn_error $? "Package requirements (cppunit >= 1.12 ) were not met:
16001
 
 
16002
 
$CPPUNIT_PKG_ERRORS
16003
 
 
16004
 
Consider adjusting the PKG_CONFIG_PATH environment variable if you
16005
 
installed software in a non-standard prefix.
16006
 
 
16007
 
Alternatively, you may set the environment variables CPPUNIT_CFLAGS
16008
 
and CPPUNIT_LIBS to avoid the need to call pkg-config.
16009
 
See the pkg-config man page for more details." "$LINENO" 5
16010
 
elif test $pkg_failed = untried; then
16011
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16012
 
$as_echo "no" >&6; }
16013
 
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16014
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16015
 
as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
16016
 
is in your PATH or set the PKG_CONFIG environment variable to the full
16017
 
path to pkg-config.
16018
 
 
16019
 
Alternatively, you may set the environment variables CPPUNIT_CFLAGS
16020
 
and CPPUNIT_LIBS to avoid the need to call pkg-config.
16021
 
See the pkg-config man page for more details.
16022
 
 
16023
 
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
16024
 
See \`config.log' for more details" "$LINENO" 5; }
16025
 
else
16026
 
        CPPUNIT_CFLAGS=$pkg_cv_CPPUNIT_CFLAGS
16027
 
        CPPUNIT_LIBS=$pkg_cv_CPPUNIT_LIBS
16028
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16029
 
$as_echo "yes" >&6; }
16030
 
 
16031
 
fi
16032
 
 
16033
 
 
16034
 
 
16035
 
fi
16036
 
 
16037
 
# Check for boost
16038
 
 
16039
 
 
16040
 
 
16041
 
echo "$as_me: this is boost.m4 serial 12" >&5
16042
 
boost_save_IFS=$IFS
16043
 
boost_version_req=
16044
 
IFS=.
16045
 
set x $boost_version_req 0 0 0
16046
 
IFS=$boost_save_IFS
16047
 
shift
16048
 
boost_version_req=`expr "$1" '*' 100000 + "$2" '*' 100 + "$3"`
16049
 
 
16050
 
# Check whether --with-boost was given.
16051
 
if test "${with_boost+set}" = set; then :
16052
 
  withval=$with_boost;
16053
 
fi
16054
 
# If BOOST_ROOT is set and the user has not provided a value to
16055
 
# --with-boost, then treat BOOST_ROOT as if it the user supplied it.
16056
 
if test x"$BOOST_ROOT" != x; then
16057
 
  if test x"$with_boost" = x; then
16058
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: Detected BOOST_ROOT; continuing with --with-boost=$BOOST_ROOT" >&5
16059
 
$as_echo "$as_me: Detected BOOST_ROOT; continuing with --with-boost=$BOOST_ROOT" >&6;}
16060
 
    with_boost=$BOOST_ROOT
16061
 
  else
16062
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: Detected BOOST_ROOT=$BOOST_ROOT, but overridden by --with-boost=$with_boost" >&5
16063
 
$as_echo "$as_me: Detected BOOST_ROOT=$BOOST_ROOT, but overridden by --with-boost=$with_boost" >&6;}
16064
 
  fi
16065
 
fi
16066
 
DISTCHECK_CONFIGURE_FLAGS="$DISTCHECK_CONFIGURE_FLAGS '--with-boost=$with_boost'"
16067
 
 
16068
 
boost_save_CPPFLAGS=$CPPFLAGS
16069
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Boost headers version >= $boost_version_req" >&5
16070
 
$as_echo_n "checking for Boost headers version >= $boost_version_req... " >&6; }
16071
 
if ${boost_cv_inc_path+:} false; then :
16072
 
  $as_echo_n "(cached) " >&6
16073
 
else
16074
 
  boost_cv_inc_path=no
16075
 
ac_ext=cpp
16076
 
ac_cpp='$CXXCPP $CPPFLAGS'
16077
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16078
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16079
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16080
 
    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16081
 
/* end confdefs.h.  */
16082
 
#include <boost/version.hpp>
16083
 
#if !defined BOOST_VERSION
16084
 
# error BOOST_VERSION is not defined
16085
 
#elif BOOST_VERSION < $boost_version_req
16086
 
# error Boost headers version < $boost_version_req
16087
 
#endif
16088
 
 
16089
 
int
16090
 
main ()
16091
 
{
16092
 
 
16093
 
  ;
16094
 
  return 0;
16095
 
}
16096
 
_ACEOF
16097
 
    # If the user provided a value to --with-boost, use it and only it.
16098
 
    case $with_boost in #(
16099
 
      ''|yes) set x '' /opt/local/include /usr/local/include /opt/include \
16100
 
                 /usr/include C:/Boost/include;; #(
16101
 
      *)      set x "$with_boost/include" "$with_boost";;
16102
 
    esac
16103
 
    shift
16104
 
    for boost_dir
16105
 
    do
16106
 
    # Without --layout=system, Boost (or at least some versions) installs
16107
 
    # itself in <prefix>/include/boost-<version>.  This inner loop helps to
16108
 
    # find headers in such directories.
16109
 
    #
16110
 
    # Any ${boost_dir}/boost-x_xx directories are searched in reverse version
16111
 
    # order followed by ${boost_dir}.  The final '.' is a sentinel for
16112
 
    # searching $boost_dir" itself.  Entries are whitespace separated.
16113
 
    #
16114
 
    # I didn't indent this loop on purpose (to avoid over-indented code)
16115
 
    boost_layout_system_search_list=`cd "$boost_dir" 2>/dev/null \
16116
 
        && ls -1 | "${GREP}" '^boost-' | sort -rn -t- -k2 \
16117
 
        && echo .`
16118
 
    for boost_inc in $boost_layout_system_search_list
16119
 
    do
16120
 
      if test x"$boost_inc" != x.; then
16121
 
        boost_inc="$boost_dir/$boost_inc"
16122
 
      else
16123
 
        boost_inc="$boost_dir" # Uses sentinel in boost_layout_system_search_list
16124
 
      fi
16125
 
      if test x"$boost_inc" != x; then
16126
 
        # We are going to check whether the version of Boost installed
16127
 
        # in $boost_inc is usable by running a compilation that
16128
 
        # #includes it.  But if we pass a -I/some/path in which Boost
16129
 
        # is not installed, the compiler will just skip this -I and
16130
 
        # use other locations (either from CPPFLAGS, or from its list
16131
 
        # of system include directories).  As a result we would use
16132
 
        # header installed on the machine instead of the /some/path
16133
 
        # specified by the user.  So in that precise case (trying
16134
 
        # $boost_inc), make sure the version.hpp exists.
16135
 
        #
16136
 
        # Use test -e as there can be symlinks.
16137
 
        test -e "$boost_inc/boost/version.hpp" || continue
16138
 
        CPPFLAGS="$CPPFLAGS -I$boost_inc"
16139
 
      fi
16140
 
      if ac_fn_cxx_try_compile "$LINENO"; then :
16141
 
  boost_cv_inc_path=yes
16142
 
else
16143
 
  boost_cv_version=no
16144
 
fi
16145
 
rm -f core conftest.err conftest.$ac_objext
16146
 
      if test x"$boost_cv_inc_path" = xyes; then
16147
 
        if test x"$boost_inc" != x; then
16148
 
          boost_cv_inc_path=$boost_inc
16149
 
        fi
16150
 
        break 2
16151
 
      fi
16152
 
    done
16153
 
    done
16154
 
ac_ext=cpp
16155
 
ac_cpp='$CXXCPP $CPPFLAGS'
16156
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16157
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16158
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16159
 
 
16160
 
fi
16161
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $boost_cv_inc_path" >&5
16162
 
$as_echo "$boost_cv_inc_path" >&6; }
16163
 
    case $boost_cv_inc_path in #(
16164
 
      no)
16165
 
        boost_errmsg="cannot find Boost headers version >= $boost_version_req"
16166
 
        as_fn_error $? "$boost_errmsg" "$LINENO" 5
16167
 
 
16168
 
        ;;#(
16169
 
      yes)
16170
 
        BOOST_CPPFLAGS=
16171
 
        ;;#(
16172
 
      *)
16173
 
        BOOST_CPPFLAGS="-I$boost_cv_inc_path"
16174
 
 
16175
 
        ;;
16176
 
    esac
16177
 
  if test x"$boost_cv_inc_path" != xno; then
16178
 
 
16179
 
$as_echo "#define HAVE_BOOST 1" >>confdefs.h
16180
 
 
16181
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Boost's header version" >&5
16182
 
$as_echo_n "checking for Boost's header version... " >&6; }
16183
 
if ${boost_cv_lib_version+:} false; then :
16184
 
  $as_echo_n "(cached) " >&6
16185
 
else
16186
 
       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16187
 
/* end confdefs.h.  */
16188
 
#include <boost/version.hpp>
16189
 
boost-lib-version = BOOST_LIB_VERSION
16190
 
_ACEOF
16191
 
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16192
 
  tr -d '\r' |
16193
 
  $SED -n -e "/^boost-lib-version = /{s///;s/\"//g;p;g;}" >conftest.i 2>&1; then :
16194
 
  boost_cv_lib_version=`cat conftest.i`
16195
 
fi
16196
 
rm -rf conftest*
16197
 
 
16198
 
fi
16199
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $boost_cv_lib_version" >&5
16200
 
$as_echo "$boost_cv_lib_version" >&6; }
16201
 
    # e.g. "134" for 1_34_1 or "135" for 1_35
16202
 
    boost_major_version=`echo "$boost_cv_lib_version" | sed 's/_//;s/_.*//'`
16203
 
    case $boost_major_version in #(
16204
 
      '' | *[!0-9]*)
16205
 
        as_fn_error $? "invalid value: boost_major_version=$boost_major_version" "$LINENO" 5
16206
 
        ;;
16207
 
    esac
16208
 
fi
16209
 
CPPFLAGS=$boost_save_CPPFLAGS
16210
 
 
16211
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for the toolset name used by Boost for $CXX" >&5
16212
 
$as_echo_n "checking for the toolset name used by Boost for $CXX... " >&6; }
16213
 
if ${boost_cv_lib_tag+:} false; then :
16214
 
  $as_echo_n "(cached) " >&6
16215
 
else
16216
 
  boost_cv_lib_tag=unknown
16217
 
if test x$boost_cv_inc_path != xno; then
16218
 
  ac_ext=cpp
16219
 
ac_cpp='$CXXCPP $CPPFLAGS'
16220
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16221
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16222
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16223
 
  # The following tests are mostly inspired by boost/config/auto_link.hpp
16224
 
  # The list is sorted to most recent/common to oldest compiler (in order
16225
 
  # to increase the likelihood of finding the right compiler with the
16226
 
  # least number of compilation attempt).
16227
 
  # Beware that some tests are sensible to the order (for instance, we must
16228
 
  # look for MinGW before looking for GCC3).
16229
 
  # I used one compilation test per compiler with a #error to recognize
16230
 
  # each compiler so that it works even when cross-compiling (let me know
16231
 
  # if you know a better approach).
16232
 
  # Known missing tags (known from Boost's tools/build/v2/tools/common.jam):
16233
 
  #   como, edg, kcc, bck, mp, sw, tru, xlc
16234
 
  # I'm not sure about my test for `il' (be careful: Intel's ICC pre-defines
16235
 
  # the same defines as GCC's).
16236
 
  # TODO: Move the test on GCC 4.4 up once it's released.
16237
 
  for i in \
16238
 
    "defined __GNUC__ && __GNUC__ == 4 && __GNUC_MINOR__ == 3 && !defined __ICC @ gcc43" \
16239
 
    "defined __GNUC__ && __GNUC__ == 4 && __GNUC_MINOR__ == 2 && !defined __ICC @ gcc42" \
16240
 
    "defined __GNUC__ && __GNUC__ == 4 && __GNUC_MINOR__ == 1 && !defined __ICC @ gcc41" \
16241
 
    "defined __GNUC__ && __GNUC__ == 4 && __GNUC_MINOR__ == 0 && !defined __ICC @ gcc40" \
16242
 
    "defined __GNUC__ && __GNUC__ == 3 && !defined __ICC \
16243
 
     && (defined WIN32 || defined WINNT || defined _WIN32 || defined __WIN32 \
16244
 
         || defined __WIN32__ || defined __WINNT || defined __WINNT__) @ mgw" \
16245
 
    "defined __GNUC__ && __GNUC__ == 3 && __GNUC_MINOR__ == 4 && !defined __ICC @ gcc34" \
16246
 
    "defined __GNUC__ && __GNUC__ == 3 && __GNUC_MINOR__ == 3 && !defined __ICC @ gcc33" \
16247
 
    "defined _MSC_VER && _MSC_VER >= 1500 @ vc90" \
16248
 
    "defined _MSC_VER && _MSC_VER == 1400 @ vc80" \
16249
 
    "defined __GNUC__ && __GNUC__ == 3 && __GNUC_MINOR__ == 2 && !defined __ICC @ gcc32" \
16250
 
    "defined _MSC_VER && _MSC_VER == 1310 @ vc71" \
16251
 
    "defined __GNUC__ && __GNUC__ == 3 && __GNUC_MINOR__ == 1 && !defined __ICC @ gcc31" \
16252
 
    "defined __GNUC__ && __GNUC__ == 3 && __GNUC_MINOR__ == 0 && !defined __ICC @ gcc30" \
16253
 
    "defined __BORLANDC__ @ bcb" \
16254
 
    "defined __ICC && (defined __unix || defined ) @ il" \
16255
 
    "defined __ICL @ iw" \
16256
 
    "defined _MSC_VER && _MSC_VER == 1300 @ vc7" \
16257
 
    "defined __GNUC__ && __GNUC__ == 4 && __GNUC_MINOR__ == 4 && !defined __ICC @ gcc44" \
16258
 
    "defined __GNUC__ && __GNUC__ == 2 && __GNUC_MINOR__ == 95 && !defined __ICC @ gcc295" \
16259
 
    "defined __MWERKS__ && __MWERKS__ <= 0x32FF @ cw9" \
16260
 
    "defined _MSC_VER && _MSC_VER < 1300 && !defined UNDER_CE @ vc6" \
16261
 
    "defined _MSC_VER && _MSC_VER < 1300 && defined UNDER_CE @ evc4" \
16262
 
    "defined __MWERKS__ && __MWERKS__ <= 0x31FF @ cw8"
16263
 
  do
16264
 
    boost_tag_test=`expr "X$i" : 'X\([^@]*\) @ '`
16265
 
    boost_tag=`expr "X$i" : 'X[^@]* @ \(.*\)'`
16266
 
    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16267
 
/* end confdefs.h.  */
16268
 
 
16269
 
#if $boost_tag_test
16270
 
/* OK */
16271
 
#else
16272
 
# error $boost_tag_test
16273
 
#endif
16274
 
 
16275
 
int
16276
 
main ()
16277
 
{
16278
 
 
16279
 
  ;
16280
 
  return 0;
16281
 
}
16282
 
_ACEOF
16283
 
if ac_fn_cxx_try_compile "$LINENO"; then :
16284
 
  boost_cv_lib_tag=$boost_tag; break
16285
 
fi
16286
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16287
 
  done
16288
 
ac_ext=cpp
16289
 
ac_cpp='$CXXCPP $CPPFLAGS'
16290
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16291
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16292
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16293
 
  case $boost_cv_lib_tag in #(
16294
 
    # Some newer (>= 1.35?) versions of Boost seem to only use "gcc" as opposed
16295
 
    # to "gcc41" for instance.
16296
 
    *-gcc | *'-gcc ') :;; #(  Don't re-add -gcc: it's already in there.
16297
 
    gcc*)
16298
 
      boost_tag_x=
16299
 
      case $host_os in #(
16300
 
        darwin*)
16301
 
          if test $boost_major_version -ge 136; then
16302
 
            # The `x' added in r46793 of Boost.
16303
 
            boost_tag_x=x
16304
 
          fi;;
16305
 
      esac
16306
 
      # We can specify multiple tags in this variable because it's used by
16307
 
      # BOOST_FIND_LIB that does a `for tag in -$boost_cv_lib_tag' ...
16308
 
      boost_cv_lib_tag="$boost_tag_x$boost_cv_lib_tag -${boost_tag_x}gcc"
16309
 
      ;; #(
16310
 
    unknown)
16311
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: could not figure out which toolset name to use for $CXX" >&5
16312
 
$as_echo "$as_me: WARNING: could not figure out which toolset name to use for $CXX" >&2;}
16313
 
      boost_cv_lib_tag=
16314
 
      ;;
16315
 
  esac
16316
 
fi
16317
 
fi
16318
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $boost_cv_lib_tag" >&5
16319
 
$as_echo "$boost_cv_lib_tag" >&6; }
16320
 
# Check whether --enable-static-boost was given.
16321
 
if test "${enable_static_boost+set}" = set; then :
16322
 
  enableval=$enable_static_boost; enable_static_boost=yes
16323
 
else
16324
 
  enable_static_boost=no
16325
 
fi
16326
 
 
16327
 
# Check whether we do better use `mt' even though we weren't ask to.
16328
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16329
 
/* end confdefs.h.  */
16330
 
 
16331
 
#if defined _REENTRANT || defined _MT || defined __MT__
16332
 
/* use -mt */
16333
 
#else
16334
 
# error MT not needed
16335
 
#endif
16336
 
 
16337
 
int
16338
 
main ()
16339
 
{
16340
 
 
16341
 
  ;
16342
 
  return 0;
16343
 
}
16344
 
_ACEOF
16345
 
if ac_fn_cxx_try_compile "$LINENO"; then :
16346
 
  boost_guess_use_mt=:
16347
 
else
16348
 
  boost_guess_use_mt=false
16349
 
fi
16350
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16351
 
 
16352
 
if test x"$boost_cv_inc_path" = xno; then
16353
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: Boost not available, not searching for the Boost date_time library" >&5
16354
 
$as_echo "$as_me: Boost not available, not searching for the Boost date_time library" >&6;}
16355
 
else
16356
 
ac_ext=cpp
16357
 
ac_cpp='$CXXCPP $CPPFLAGS'
16358
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16359
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16360
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16361
 
if test x"$boost_cv_inc_path" = xno; then
16362
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: Boost not available, not searching for boost/date_time/posix_time/posix_time.hpp" >&5
16363
 
$as_echo "$as_me: Boost not available, not searching for boost/date_time/posix_time/posix_time.hpp" >&6;}
16364
 
else
16365
 
ac_ext=cpp
16366
 
ac_cpp='$CXXCPP $CPPFLAGS'
16367
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16368
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16369
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16370
 
boost_save_CPPFLAGS=$CPPFLAGS
16371
 
CPPFLAGS="$CPPFLAGS $BOOST_CPPFLAGS"
16372
 
ac_fn_cxx_check_header_mongrel "$LINENO" "boost/date_time/posix_time/posix_time.hpp" "ac_cv_header_boost_date_time_posix_time_posix_time_hpp" "$ac_includes_default"
16373
 
if test "x$ac_cv_header_boost_date_time_posix_time_posix_time_hpp" = xyes; then :
16374
 
 
16375
 
$as_echo "#define HAVE_BOOST_DATE_TIME_POSIX_TIME_POSIX_TIME_HPP 1" >>confdefs.h
16376
 
 
16377
 
else
16378
 
  as_fn_error $? "cannot find boost/date_time/posix_time/posix_time.hpp" "$LINENO" 5
16379
 
fi
16380
 
 
16381
 
 
16382
 
CPPFLAGS=$boost_save_CPPFLAGS
16383
 
ac_ext=cpp
16384
 
ac_cpp='$CXXCPP $CPPFLAGS'
16385
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16386
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16387
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16388
 
fi
16389
 
 
16390
 
boost_save_CPPFLAGS=$CPPFLAGS
16391
 
CPPFLAGS="$CPPFLAGS $BOOST_CPPFLAGS"
16392
 
# Now let's try to find the library.  The algorithm is as follows: first look
16393
 
# for a given library name according to the user's PREFERRED-RT-OPT.  For each
16394
 
# library name, we prefer to use the ones that carry the tag (toolset name).
16395
 
# Each library is searched through the various standard paths were Boost is
16396
 
# usually installed.  If we can't find the standard variants, we try to
16397
 
# enforce -mt (for instance on MacOSX, libboost_threads.dylib doesn't exist
16398
 
# but there's -obviously- libboost_threads-mt.dylib).
16399
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for the Boost date_time library" >&5
16400
 
$as_echo_n "checking for the Boost date_time library... " >&6; }
16401
 
if ${boost_cv_lib_date_time+:} false; then :
16402
 
  $as_echo_n "(cached) " >&6
16403
 
else
16404
 
  boost_cv_lib_date_time=no
16405
 
  case "" in #(
16406
 
    mt | mt-) boost_mt=-mt; boost_rtopt=;; #(
16407
 
    mt* | mt-*) boost_mt=-mt; boost_rtopt=`expr "X" : 'Xmt-*\(.*\)'`;; #(
16408
 
    *) boost_mt=; boost_rtopt=;;
16409
 
  esac
16410
 
  if test $enable_static_boost = yes; then
16411
 
    boost_rtopt="s$boost_rtopt"
16412
 
  fi
16413
 
  # Find the proper debug variant depending on what we've been asked to find.
16414
 
  case $boost_rtopt in #(
16415
 
    *d*) boost_rt_d=$boost_rtopt;; #(
16416
 
    *[sgpn]*) # Insert the `d' at the right place (in between `sg' and `pn')
16417
 
      boost_rt_d=`echo "$boost_rtopt" | sed 's/\(s*g*\)\(p*n*\)/\1\2/'`;; #(
16418
 
    *) boost_rt_d='-d';;
16419
 
  esac
16420
 
  # If the PREFERRED-RT-OPT are not empty, prepend a `-'.
16421
 
  test -n "$boost_rtopt" && boost_rtopt="-$boost_rtopt"
16422
 
  $boost_guess_use_mt && boost_mt=-mt
16423
 
  # Look for the abs path the static archive.
16424
 
  # $libext is computed by Libtool but let's make sure it's non empty.
16425
 
  test -z "$libext" &&
16426
 
    as_fn_error $? "the libext variable is empty, did you invoke Libtool?" "$LINENO" 5
16427
 
  boost_save_ac_objext=$ac_objext
16428
 
  # Generate the test file.
16429
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16430
 
/* end confdefs.h.  */
16431
 
#include <boost/date_time/posix_time/posix_time.hpp>
16432
 
 
16433
 
int
16434
 
main ()
16435
 
{
16436
 
boost::posix_time::ptime t;
16437
 
  ;
16438
 
  return 0;
16439
 
}
16440
 
_ACEOF
16441
 
  if ac_fn_cxx_try_compile "$LINENO"; then :
16442
 
  ac_objext=do_not_rm_me_plz
16443
 
else
16444
 
  as_fn_error $? "cannot compile a test that uses Boost date_time" "$LINENO" 5
16445
 
fi
16446
 
rm -f core conftest.err conftest.$ac_objext
16447
 
  ac_objext=$boost_save_ac_objext
16448
 
  boost_failed_libs=
16449
 
# Don't bother to ident the 6 nested for loops, only the 2 innermost ones
16450
 
# matter.
16451
 
for boost_tag_ in -$boost_cv_lib_tag ''; do
16452
 
for boost_ver_ in -$boost_cv_lib_version ''; do
16453
 
for boost_mt_ in $boost_mt -mt ''; do
16454
 
for boost_rtopt_ in $boost_rtopt '' -d; do
16455
 
  for boost_lib in \
16456
 
    boost_date_time$boost_tag_$boost_mt_$boost_rtopt_$boost_ver_ \
16457
 
    boost_date_time$boost_tag_$boost_rtopt_$boost_ver_ \
16458
 
    boost_date_time$boost_tag_$boost_mt_$boost_ver_ \
16459
 
    boost_date_time$boost_tag_$boost_ver_
16460
 
  do
16461
 
    # Avoid testing twice the same lib
16462
 
    case $boost_failed_libs in #(
16463
 
      *@$boost_lib@*) continue;;
16464
 
    esac
16465
 
    # If with_boost is empty, we'll search in /lib first, which is not quite
16466
 
    # right so instead we'll try to a location based on where the headers are.
16467
 
    boost_tmp_lib=$with_boost
16468
 
    test x"$with_boost" = x && boost_tmp_lib=${boost_cv_inc_path%/include}
16469
 
    for boost_ldpath in "$boost_tmp_lib/lib" '' \
16470
 
             /opt/local/lib /usr/local/lib /opt/lib /usr/lib \
16471
 
             "$with_boost" C:/Boost/lib /lib /usr/lib64 /lib64
16472
 
    do
16473
 
      test -e "$boost_ldpath" || continue
16474
 
      boost_save_LDFLAGS=$LDFLAGS
16475
 
      # Are we looking for a static library?
16476
 
      case $boost_ldpath:$boost_rtopt_ in #(
16477
 
        *?*:*s*) # Yes (Non empty boost_ldpath + s in rt opt)
16478
 
          boost_cv_lib_date_time_LIBS="$boost_ldpath/lib$boost_lib.$libext"
16479
 
          test -e "$boost_cv_lib_date_time_LIBS" || continue;; #(
16480
 
        *) # No: use -lboost_foo to find the shared library.
16481
 
          boost_cv_lib_date_time_LIBS="-l$boost_lib";;
16482
 
      esac
16483
 
      boost_save_LIBS=$LIBS
16484
 
      LIBS="$boost_cv_lib_date_time_LIBS $LIBS"
16485
 
      test x"$boost_ldpath" != x && LDFLAGS="$LDFLAGS -L$boost_ldpath"
16486
 
      rm -f conftest$ac_exeext
16487
 
boost_save_ac_ext=$ac_ext
16488
 
boost_use_source=:
16489
 
# If we already have a .o, re-use it.  We change $ac_ext so that $ac_link
16490
 
# tries to link the existing object file instead of compiling from source.
16491
 
test -f conftest.$ac_objext && ac_ext=$ac_objext && boost_use_source=false &&
16492
 
  $as_echo "$as_me:${as_lineno-$LINENO}: re-using the existing conftest.$ac_objext" >&5
16493
 
if { { ac_try="$ac_link"
16494
 
case "(($ac_try" in
16495
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16496
 
  *) ac_try_echo=$ac_try;;
16497
 
esac
16498
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16499
 
$as_echo "$ac_try_echo"; } >&5
16500
 
  (eval "$ac_link") 2>conftest.err
16501
 
  ac_status=$?
16502
 
  if test -s conftest.err; then
16503
 
    grep -v '^ *+' conftest.err >conftest.er1
16504
 
    cat conftest.er1 >&5
16505
 
    mv -f conftest.er1 conftest.err
16506
 
  fi
16507
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16508
 
  test $ac_status = 0; } && {
16509
 
         test -z "$ac_cxx_werror_flag" ||
16510
 
         test ! -s conftest.err
16511
 
       } && test -s conftest$ac_exeext && {
16512
 
         test "$cross_compiling" = yes ||
16513
 
         $as_executable_p conftest$ac_exeext
16514
 
       }; then :
16515
 
  boost_cv_lib_date_time=yes
16516
 
else
16517
 
  if $boost_use_source; then
16518
 
         $as_echo "$as_me: failed program was:" >&5
16519
 
sed 's/^/| /' conftest.$ac_ext >&5
16520
 
 
16521
 
       fi
16522
 
       boost_cv_lib_date_time=no
16523
 
fi
16524
 
ac_objext=$boost_save_ac_objext
16525
 
ac_ext=$boost_save_ac_ext
16526
 
rm -f core conftest.err conftest_ipa8_conftest.oo \
16527
 
      conftest$ac_exeext
16528
 
      ac_objext=$boost_save_ac_objext
16529
 
      LDFLAGS=$boost_save_LDFLAGS
16530
 
      LIBS=$boost_save_LIBS
16531
 
      if test x"$boost_cv_lib_date_time" = xyes; then
16532
 
        boost_cv_lib_date_time_LDFLAGS="-L$boost_ldpath -R$boost_ldpath"
16533
 
        break 6
16534
 
      else
16535
 
        boost_failed_libs="$boost_failed_libs@$boost_lib@"
16536
 
      fi
16537
 
    done
16538
 
  done
16539
 
done
16540
 
done
16541
 
done
16542
 
done
16543
 
rm -f conftest.$ac_objext
16544
 
 
16545
 
fi
16546
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $boost_cv_lib_date_time" >&5
16547
 
$as_echo "$boost_cv_lib_date_time" >&6; }
16548
 
case $boost_cv_lib_date_time in #(
16549
 
  no) $as_echo "$as_me: failed program was:" >&5
16550
 
sed 's/^/| /' conftest.$ac_ext >&5
16551
 
 
16552
 
    as_fn_error $? "cannot not find the flags to link with Boost date_time" "$LINENO" 5
16553
 
    ;;
16554
 
esac
16555
 
BOOST_DATE_TIME_LDFLAGS=$boost_cv_lib_date_time_LDFLAGS
16556
 
 
16557
 
BOOST_DATE_TIME_LIBS=$boost_cv_lib_date_time_LIBS
16558
 
 
16559
 
CPPFLAGS=$boost_save_CPPFLAGS
16560
 
ac_ext=cpp
16561
 
ac_cpp='$CXXCPP $CPPFLAGS'
16562
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16563
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16564
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16565
 
fi
16566
 
 
16567
 
 
16568
 
if test x"$boost_cv_inc_path" = xno; then
16569
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: Boost not available, not searching for boost/scoped_ptr.hpp" >&5
16570
 
$as_echo "$as_me: Boost not available, not searching for boost/scoped_ptr.hpp" >&6;}
16571
 
else
16572
 
ac_ext=cpp
16573
 
ac_cpp='$CXXCPP $CPPFLAGS'
16574
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16575
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16576
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16577
 
boost_save_CPPFLAGS=$CPPFLAGS
16578
 
CPPFLAGS="$CPPFLAGS $BOOST_CPPFLAGS"
16579
 
ac_fn_cxx_check_header_mongrel "$LINENO" "boost/scoped_ptr.hpp" "ac_cv_header_boost_scoped_ptr_hpp" "$ac_includes_default"
16580
 
if test "x$ac_cv_header_boost_scoped_ptr_hpp" = xyes; then :
16581
 
 
16582
 
$as_echo "#define HAVE_BOOST_SCOPED_PTR_HPP 1" >>confdefs.h
16583
 
 
16584
 
else
16585
 
  as_fn_error $? "cannot find boost/scoped_ptr.hpp" "$LINENO" 5
16586
 
fi
16587
 
 
16588
 
 
16589
 
CPPFLAGS=$boost_save_CPPFLAGS
16590
 
ac_ext=cpp
16591
 
ac_cpp='$CXXCPP $CPPFLAGS'
16592
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16593
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16594
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16595
 
fi
16596
 
 
16597
 
if test x"$boost_cv_inc_path" = xno; then
16598
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: Boost not available, not searching for boost/shared_ptr.hpp" >&5
16599
 
$as_echo "$as_me: Boost not available, not searching for boost/shared_ptr.hpp" >&6;}
16600
 
else
16601
 
ac_ext=cpp
16602
 
ac_cpp='$CXXCPP $CPPFLAGS'
16603
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16604
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16605
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16606
 
boost_save_CPPFLAGS=$CPPFLAGS
16607
 
CPPFLAGS="$CPPFLAGS $BOOST_CPPFLAGS"
16608
 
ac_fn_cxx_check_header_mongrel "$LINENO" "boost/shared_ptr.hpp" "ac_cv_header_boost_shared_ptr_hpp" "$ac_includes_default"
16609
 
if test "x$ac_cv_header_boost_shared_ptr_hpp" = xyes; then :
16610
 
 
16611
 
$as_echo "#define HAVE_BOOST_SHARED_PTR_HPP 1" >>confdefs.h
16612
 
 
16613
 
else
16614
 
  as_fn_error $? "cannot find boost/shared_ptr.hpp" "$LINENO" 5
16615
 
fi
16616
 
 
16617
 
 
16618
 
CPPFLAGS=$boost_save_CPPFLAGS
16619
 
ac_ext=cpp
16620
 
ac_cpp='$CXXCPP $CPPFLAGS'
16621
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16622
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16623
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16624
 
fi
16625
 
 
16626
 
 
16627
 
if test x"$boost_cv_inc_path" = xno; then
16628
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: Boost not available, not searching for boost/uuid/uuid.hpp" >&5
16629
 
$as_echo "$as_me: Boost not available, not searching for boost/uuid/uuid.hpp" >&6;}
16630
 
else
16631
 
ac_ext=cpp
16632
 
ac_cpp='$CXXCPP $CPPFLAGS'
16633
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16634
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16635
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16636
 
boost_save_CPPFLAGS=$CPPFLAGS
16637
 
CPPFLAGS="$CPPFLAGS $BOOST_CPPFLAGS"
16638
 
ac_fn_cxx_check_header_mongrel "$LINENO" "boost/uuid/uuid.hpp" "ac_cv_header_boost_uuid_uuid_hpp" "$ac_includes_default"
16639
 
if test "x$ac_cv_header_boost_uuid_uuid_hpp" = xyes; then :
16640
 
 
16641
 
$as_echo "#define HAVE_BOOST_UUID_UUID_HPP 1" >>confdefs.h
16642
 
 
16643
 
else
16644
 
  as_fn_error $? "cannot find boost/uuid/uuid.hpp" "$LINENO" 5
16645
 
fi
16646
 
 
16647
 
 
16648
 
CPPFLAGS=$boost_save_CPPFLAGS
16649
 
ac_ext=cpp
16650
 
ac_cpp='$CXXCPP $CPPFLAGS'
16651
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16652
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16653
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16654
 
fi
16655
 
 
16656
 
if test x"$boost_cv_inc_path" = xno; then
16657
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: Boost not available, not searching for boost/uuid/uuid_generators.hpp" >&5
16658
 
$as_echo "$as_me: Boost not available, not searching for boost/uuid/uuid_generators.hpp" >&6;}
16659
 
else
16660
 
ac_ext=cpp
16661
 
ac_cpp='$CXXCPP $CPPFLAGS'
16662
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16663
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16664
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16665
 
boost_save_CPPFLAGS=$CPPFLAGS
16666
 
CPPFLAGS="$CPPFLAGS $BOOST_CPPFLAGS"
16667
 
ac_fn_cxx_check_header_mongrel "$LINENO" "boost/uuid/uuid_generators.hpp" "ac_cv_header_boost_uuid_uuid_generators_hpp" "$ac_includes_default"
16668
 
if test "x$ac_cv_header_boost_uuid_uuid_generators_hpp" = xyes; then :
16669
 
 
16670
 
$as_echo "#define HAVE_BOOST_UUID_UUID_GENERATORS_HPP 1" >>confdefs.h
16671
 
 
16672
 
else
16673
 
  as_fn_error $? "cannot find boost/uuid/uuid_generators.hpp" "$LINENO" 5
16674
 
fi
16675
 
 
16676
 
 
16677
 
CPPFLAGS=$boost_save_CPPFLAGS
16678
 
ac_ext=cpp
16679
 
ac_cpp='$CXXCPP $CPPFLAGS'
16680
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16681
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16682
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16683
 
fi
16684
 
 
16685
 
if test x"$boost_cv_inc_path" = xno; then
16686
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: Boost not available, not searching for boost/uuid/uuid_io.hpp" >&5
16687
 
$as_echo "$as_me: Boost not available, not searching for boost/uuid/uuid_io.hpp" >&6;}
16688
 
else
16689
 
ac_ext=cpp
16690
 
ac_cpp='$CXXCPP $CPPFLAGS'
16691
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16692
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16693
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16694
 
boost_save_CPPFLAGS=$CPPFLAGS
16695
 
CPPFLAGS="$CPPFLAGS $BOOST_CPPFLAGS"
16696
 
ac_fn_cxx_check_header_mongrel "$LINENO" "boost/uuid/uuid_io.hpp" "ac_cv_header_boost_uuid_uuid_io_hpp" "$ac_includes_default"
16697
 
if test "x$ac_cv_header_boost_uuid_uuid_io_hpp" = xyes; then :
16698
 
 
16699
 
$as_echo "#define HAVE_BOOST_UUID_UUID_IO_HPP 1" >>confdefs.h
16700
 
 
16701
 
else
16702
 
  as_fn_error $? "cannot find boost/uuid/uuid_io.hpp" "$LINENO" 5
16703
 
fi
16704
 
 
16705
 
 
16706
 
CPPFLAGS=$boost_save_CPPFLAGS
16707
 
ac_ext=cpp
16708
 
ac_cpp='$CXXCPP $CPPFLAGS'
16709
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16710
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16711
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16712
 
fi
16713
 
 
16714
 
if test x"$boost_cv_inc_path" = xno; then
16715
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: Boost not available, not searching for boost/uuid/uuid_serialize.hpp" >&5
16716
 
$as_echo "$as_me: Boost not available, not searching for boost/uuid/uuid_serialize.hpp" >&6;}
16717
 
else
16718
 
ac_ext=cpp
16719
 
ac_cpp='$CXXCPP $CPPFLAGS'
16720
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16721
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16722
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16723
 
boost_save_CPPFLAGS=$CPPFLAGS
16724
 
CPPFLAGS="$CPPFLAGS $BOOST_CPPFLAGS"
16725
 
ac_fn_cxx_check_header_mongrel "$LINENO" "boost/uuid/uuid_serialize.hpp" "ac_cv_header_boost_uuid_uuid_serialize_hpp" "$ac_includes_default"
16726
 
if test "x$ac_cv_header_boost_uuid_uuid_serialize_hpp" = xyes; then :
16727
 
 
16728
 
$as_echo "#define HAVE_BOOST_UUID_UUID_SERIALIZE_HPP 1" >>confdefs.h
16729
 
 
16730
 
else
16731
 
  as_fn_error $? "cannot find boost/uuid/uuid_serialize.hpp" "$LINENO" 5
16732
 
fi
16733
 
 
16734
 
 
16735
 
CPPFLAGS=$boost_save_CPPFLAGS
16736
 
ac_ext=cpp
16737
 
ac_cpp='$CXXCPP $CPPFLAGS'
16738
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16739
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16740
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16741
 
fi
16742
 
 
16743
 
 
16744
 
 
16745
 
if test "x$enable_client" != "xno"; then :
16746
 
 
16747
 
        if test x"$boost_cv_inc_path" = xno; then
16748
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: Boost not available, not searching for the Boost program_options library" >&5
16749
 
$as_echo "$as_me: Boost not available, not searching for the Boost program_options library" >&6;}
16750
 
else
16751
 
ac_ext=cpp
16752
 
ac_cpp='$CXXCPP $CPPFLAGS'
16753
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16754
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16755
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16756
 
if test x"$boost_cv_inc_path" = xno; then
16757
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: Boost not available, not searching for boost/program_options.hpp" >&5
16758
 
$as_echo "$as_me: Boost not available, not searching for boost/program_options.hpp" >&6;}
16759
 
else
16760
 
ac_ext=cpp
16761
 
ac_cpp='$CXXCPP $CPPFLAGS'
16762
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16763
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16764
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16765
 
boost_save_CPPFLAGS=$CPPFLAGS
16766
 
CPPFLAGS="$CPPFLAGS $BOOST_CPPFLAGS"
16767
 
ac_fn_cxx_check_header_mongrel "$LINENO" "boost/program_options.hpp" "ac_cv_header_boost_program_options_hpp" "$ac_includes_default"
16768
 
if test "x$ac_cv_header_boost_program_options_hpp" = xyes; then :
16769
 
 
16770
 
$as_echo "#define HAVE_BOOST_PROGRAM_OPTIONS_HPP 1" >>confdefs.h
16771
 
 
16772
 
else
16773
 
  as_fn_error $? "cannot find boost/program_options.hpp" "$LINENO" 5
16774
 
fi
16775
 
 
16776
 
 
16777
 
CPPFLAGS=$boost_save_CPPFLAGS
16778
 
ac_ext=cpp
16779
 
ac_cpp='$CXXCPP $CPPFLAGS'
16780
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16781
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16782
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16783
 
fi
16784
 
 
16785
 
boost_save_CPPFLAGS=$CPPFLAGS
16786
 
CPPFLAGS="$CPPFLAGS $BOOST_CPPFLAGS"
16787
 
# Now let's try to find the library.  The algorithm is as follows: first look
16788
 
# for a given library name according to the user's PREFERRED-RT-OPT.  For each
16789
 
# library name, we prefer to use the ones that carry the tag (toolset name).
16790
 
# Each library is searched through the various standard paths were Boost is
16791
 
# usually installed.  If we can't find the standard variants, we try to
16792
 
# enforce -mt (for instance on MacOSX, libboost_threads.dylib doesn't exist
16793
 
# but there's -obviously- libboost_threads-mt.dylib).
16794
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for the Boost program_options library" >&5
16795
 
$as_echo_n "checking for the Boost program_options library... " >&6; }
16796
 
if ${boost_cv_lib_program_options+:} false; then :
16797
 
  $as_echo_n "(cached) " >&6
16798
 
else
16799
 
  boost_cv_lib_program_options=no
16800
 
  case "" in #(
16801
 
    mt | mt-) boost_mt=-mt; boost_rtopt=;; #(
16802
 
    mt* | mt-*) boost_mt=-mt; boost_rtopt=`expr "X" : 'Xmt-*\(.*\)'`;; #(
16803
 
    *) boost_mt=; boost_rtopt=;;
16804
 
  esac
16805
 
  if test $enable_static_boost = yes; then
16806
 
    boost_rtopt="s$boost_rtopt"
16807
 
  fi
16808
 
  # Find the proper debug variant depending on what we've been asked to find.
16809
 
  case $boost_rtopt in #(
16810
 
    *d*) boost_rt_d=$boost_rtopt;; #(
16811
 
    *[sgpn]*) # Insert the `d' at the right place (in between `sg' and `pn')
16812
 
      boost_rt_d=`echo "$boost_rtopt" | sed 's/\(s*g*\)\(p*n*\)/\1\2/'`;; #(
16813
 
    *) boost_rt_d='-d';;
16814
 
  esac
16815
 
  # If the PREFERRED-RT-OPT are not empty, prepend a `-'.
16816
 
  test -n "$boost_rtopt" && boost_rtopt="-$boost_rtopt"
16817
 
  $boost_guess_use_mt && boost_mt=-mt
16818
 
  # Look for the abs path the static archive.
16819
 
  # $libext is computed by Libtool but let's make sure it's non empty.
16820
 
  test -z "$libext" &&
16821
 
    as_fn_error $? "the libext variable is empty, did you invoke Libtool?" "$LINENO" 5
16822
 
  boost_save_ac_objext=$ac_objext
16823
 
  # Generate the test file.
16824
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16825
 
/* end confdefs.h.  */
16826
 
#include <boost/program_options.hpp>
16827
 
 
16828
 
int
16829
 
main ()
16830
 
{
16831
 
boost::program_options::options_description d("test");
16832
 
  ;
16833
 
  return 0;
16834
 
}
16835
 
_ACEOF
16836
 
  if ac_fn_cxx_try_compile "$LINENO"; then :
16837
 
  ac_objext=do_not_rm_me_plz
16838
 
else
16839
 
  as_fn_error $? "cannot compile a test that uses Boost program_options" "$LINENO" 5
16840
 
fi
16841
 
rm -f core conftest.err conftest.$ac_objext
16842
 
  ac_objext=$boost_save_ac_objext
16843
 
  boost_failed_libs=
16844
 
# Don't bother to ident the 6 nested for loops, only the 2 innermost ones
16845
 
# matter.
16846
 
for boost_tag_ in -$boost_cv_lib_tag ''; do
16847
 
for boost_ver_ in -$boost_cv_lib_version ''; do
16848
 
for boost_mt_ in $boost_mt -mt ''; do
16849
 
for boost_rtopt_ in $boost_rtopt '' -d; do
16850
 
  for boost_lib in \
16851
 
    boost_program_options$boost_tag_$boost_mt_$boost_rtopt_$boost_ver_ \
16852
 
    boost_program_options$boost_tag_$boost_rtopt_$boost_ver_ \
16853
 
    boost_program_options$boost_tag_$boost_mt_$boost_ver_ \
16854
 
    boost_program_options$boost_tag_$boost_ver_
16855
 
  do
16856
 
    # Avoid testing twice the same lib
16857
 
    case $boost_failed_libs in #(
16858
 
      *@$boost_lib@*) continue;;
16859
 
    esac
16860
 
    # If with_boost is empty, we'll search in /lib first, which is not quite
16861
 
    # right so instead we'll try to a location based on where the headers are.
16862
 
    boost_tmp_lib=$with_boost
16863
 
    test x"$with_boost" = x && boost_tmp_lib=${boost_cv_inc_path%/include}
16864
 
    for boost_ldpath in "$boost_tmp_lib/lib" '' \
16865
 
             /opt/local/lib /usr/local/lib /opt/lib /usr/lib \
16866
 
             "$with_boost" C:/Boost/lib /lib /usr/lib64 /lib64
16867
 
    do
16868
 
      test -e "$boost_ldpath" || continue
16869
 
      boost_save_LDFLAGS=$LDFLAGS
16870
 
      # Are we looking for a static library?
16871
 
      case $boost_ldpath:$boost_rtopt_ in #(
16872
 
        *?*:*s*) # Yes (Non empty boost_ldpath + s in rt opt)
16873
 
          boost_cv_lib_program_options_LIBS="$boost_ldpath/lib$boost_lib.$libext"
16874
 
          test -e "$boost_cv_lib_program_options_LIBS" || continue;; #(
16875
 
        *) # No: use -lboost_foo to find the shared library.
16876
 
          boost_cv_lib_program_options_LIBS="-l$boost_lib";;
16877
 
      esac
16878
 
      boost_save_LIBS=$LIBS
16879
 
      LIBS="$boost_cv_lib_program_options_LIBS $LIBS"
16880
 
      test x"$boost_ldpath" != x && LDFLAGS="$LDFLAGS -L$boost_ldpath"
16881
 
      rm -f conftest$ac_exeext
16882
 
boost_save_ac_ext=$ac_ext
16883
 
boost_use_source=:
16884
 
# If we already have a .o, re-use it.  We change $ac_ext so that $ac_link
16885
 
# tries to link the existing object file instead of compiling from source.
16886
 
test -f conftest.$ac_objext && ac_ext=$ac_objext && boost_use_source=false &&
16887
 
  $as_echo "$as_me:${as_lineno-$LINENO}: re-using the existing conftest.$ac_objext" >&5
16888
 
if { { ac_try="$ac_link"
16889
 
case "(($ac_try" in
16890
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16891
 
  *) ac_try_echo=$ac_try;;
16892
 
esac
16893
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16894
 
$as_echo "$ac_try_echo"; } >&5
16895
 
  (eval "$ac_link") 2>conftest.err
16896
 
  ac_status=$?
16897
 
  if test -s conftest.err; then
16898
 
    grep -v '^ *+' conftest.err >conftest.er1
16899
 
    cat conftest.er1 >&5
16900
 
    mv -f conftest.er1 conftest.err
16901
 
  fi
16902
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16903
 
  test $ac_status = 0; } && {
16904
 
         test -z "$ac_cxx_werror_flag" ||
16905
 
         test ! -s conftest.err
16906
 
       } && test -s conftest$ac_exeext && {
16907
 
         test "$cross_compiling" = yes ||
16908
 
         $as_executable_p conftest$ac_exeext
16909
 
       }; then :
16910
 
  boost_cv_lib_program_options=yes
16911
 
else
16912
 
  if $boost_use_source; then
16913
 
         $as_echo "$as_me: failed program was:" >&5
16914
 
sed 's/^/| /' conftest.$ac_ext >&5
16915
 
 
16916
 
       fi
16917
 
       boost_cv_lib_program_options=no
16918
 
fi
16919
 
ac_objext=$boost_save_ac_objext
16920
 
ac_ext=$boost_save_ac_ext
16921
 
rm -f core conftest.err conftest_ipa8_conftest.oo \
16922
 
      conftest$ac_exeext
16923
 
      ac_objext=$boost_save_ac_objext
16924
 
      LDFLAGS=$boost_save_LDFLAGS
16925
 
      LIBS=$boost_save_LIBS
16926
 
      if test x"$boost_cv_lib_program_options" = xyes; then
16927
 
        boost_cv_lib_program_options_LDFLAGS="-L$boost_ldpath -R$boost_ldpath"
16928
 
        break 6
16929
 
      else
16930
 
        boost_failed_libs="$boost_failed_libs@$boost_lib@"
16931
 
      fi
16932
 
    done
16933
 
  done
16934
 
done
16935
 
done
16936
 
done
16937
 
done
16938
 
rm -f conftest.$ac_objext
16939
 
 
16940
 
fi
16941
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $boost_cv_lib_program_options" >&5
16942
 
$as_echo "$boost_cv_lib_program_options" >&6; }
16943
 
case $boost_cv_lib_program_options in #(
16944
 
  no) $as_echo "$as_me: failed program was:" >&5
16945
 
sed 's/^/| /' conftest.$ac_ext >&5
16946
 
 
16947
 
    as_fn_error $? "cannot not find the flags to link with Boost program_options" "$LINENO" 5
16948
 
    ;;
16949
 
esac
16950
 
BOOST_PROGRAM_OPTIONS_LDFLAGS=$boost_cv_lib_program_options_LDFLAGS
16951
 
 
16952
 
BOOST_PROGRAM_OPTIONS_LIBS=$boost_cv_lib_program_options_LIBS
16953
 
 
16954
 
CPPFLAGS=$boost_save_CPPFLAGS
16955
 
ac_ext=cpp
16956
 
ac_cpp='$CXXCPP $CPPFLAGS'
16957
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16958
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16959
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16960
 
fi
16961
 
 
16962
 
 
16963
 
 
16964
 
fi
16965
 
 
16966
 
 
16967
 
# Checks for header files.
16968
 
for ac_header in stdlib.h unistd.h
16969
 
do :
16970
 
  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
16971
 
ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
16972
 
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
16973
 
  cat >>confdefs.h <<_ACEOF
16974
 
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
16975
 
_ACEOF
16976
 
 
16977
 
fi
16978
 
 
16979
 
done
16980
 
 
16981
 
 
16982
 
# Checks for typedefs, structures, and compiler characteristics.
16983
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdbool.h that conforms to C99" >&5
16984
 
$as_echo_n "checking for stdbool.h that conforms to C99... " >&6; }
16985
 
if ${ac_cv_header_stdbool_h+:} false; then :
16986
 
  $as_echo_n "(cached) " >&6
16987
 
else
16988
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16989
 
/* end confdefs.h.  */
16990
 
 
16991
 
             #include <stdbool.h>
16992
 
             #ifndef bool
16993
 
              "error: bool is not defined"
16994
 
             #endif
16995
 
             #ifndef false
16996
 
              "error: false is not defined"
16997
 
             #endif
16998
 
             #if false
16999
 
              "error: false is not 0"
17000
 
             #endif
17001
 
             #ifndef true
17002
 
              "error: true is not defined"
17003
 
             #endif
17004
 
             #if true != 1
17005
 
              "error: true is not 1"
17006
 
             #endif
17007
 
             #ifndef __bool_true_false_are_defined
17008
 
              "error: __bool_true_false_are_defined is not defined"
17009
 
             #endif
17010
 
 
17011
 
             struct s { _Bool s: 1; _Bool t; } s;
17012
 
 
17013
 
             char a[true == 1 ? 1 : -1];
17014
 
             char b[false == 0 ? 1 : -1];
17015
 
             char c[__bool_true_false_are_defined == 1 ? 1 : -1];
17016
 
             char d[(bool) 0.5 == true ? 1 : -1];
17017
 
             /* See body of main program for 'e'.  */
17018
 
             char f[(_Bool) 0.0 == false ? 1 : -1];
17019
 
             char g[true];
17020
 
             char h[sizeof (_Bool)];
17021
 
             char i[sizeof s.t];
17022
 
             enum { j = false, k = true, l = false * true, m = true * 256 };
17023
 
             /* The following fails for
17024
 
                HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003]. */
17025
 
             _Bool n[m];
17026
 
             char o[sizeof n == m * sizeof n[0] ? 1 : -1];
17027
 
             char p[-1 - (_Bool) 0 < 0 && -1 - (bool) 0 < 0 ? 1 : -1];
17028
 
             /* Catch a bug in an HP-UX C compiler.  See
17029
 
                http://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html
17030
 
                http://lists.gnu.org/archive/html/bug-coreutils/2005-11/msg00161.html
17031
 
              */
17032
 
             _Bool q = true;
17033
 
             _Bool *pq = &q;
17034
 
 
17035
 
int
17036
 
main ()
17037
 
{
17038
 
 
17039
 
             bool e = &s;
17040
 
             *pq |= q;
17041
 
             *pq |= ! q;
17042
 
             /* Refer to every declared value, to avoid compiler optimizations.  */
17043
 
             return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l
17044
 
                     + !m + !n + !o + !p + !q + !pq);
17045
 
 
17046
 
  ;
17047
 
  return 0;
17048
 
}
17049
 
_ACEOF
17050
 
if ac_fn_cxx_try_compile "$LINENO"; then :
17051
 
  ac_cv_header_stdbool_h=yes
17052
 
else
17053
 
  ac_cv_header_stdbool_h=no
17054
 
fi
17055
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17056
 
fi
17057
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdbool_h" >&5
17058
 
$as_echo "$ac_cv_header_stdbool_h" >&6; }
17059
 
   ac_fn_cxx_check_type "$LINENO" "_Bool" "ac_cv_type__Bool" "$ac_includes_default"
17060
 
if test "x$ac_cv_type__Bool" = xyes; then :
17061
 
 
17062
 
cat >>confdefs.h <<_ACEOF
17063
 
#define HAVE__BOOL 1
17064
 
_ACEOF
17065
 
 
17066
 
 
17067
 
fi
17068
 
 
17069
 
 
17070
 
if test $ac_cv_header_stdbool_h = yes; then
17071
 
 
17072
 
$as_echo "#define HAVE_STDBOOL_H 1" >>confdefs.h
17073
 
 
17074
 
fi
17075
 
 
17076
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
17077
 
$as_echo_n "checking for inline... " >&6; }
17078
 
if ${ac_cv_c_inline+:} false; then :
17079
 
  $as_echo_n "(cached) " >&6
17080
 
else
17081
 
  ac_cv_c_inline=no
17082
 
for ac_kw in inline __inline__ __inline; do
17083
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17084
 
/* end confdefs.h.  */
17085
 
#ifndef __cplusplus
17086
 
typedef int foo_t;
17087
 
static $ac_kw foo_t static_foo () {return 0; }
17088
 
$ac_kw foo_t foo () {return 0; }
17089
 
#endif
17090
 
 
17091
 
_ACEOF
17092
 
if ac_fn_cxx_try_compile "$LINENO"; then :
17093
 
  ac_cv_c_inline=$ac_kw
17094
 
fi
17095
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17096
 
  test "$ac_cv_c_inline" != no && break
17097
 
done
17098
 
 
17099
 
fi
17100
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
17101
 
$as_echo "$ac_cv_c_inline" >&6; }
17102
 
 
17103
 
case $ac_cv_c_inline in
17104
 
  inline | yes) ;;
17105
 
  *)
17106
 
    case $ac_cv_c_inline in
17107
 
      no) ac_val=;;
17108
 
      *) ac_val=$ac_cv_c_inline;;
17109
 
    esac
17110
 
    cat >>confdefs.h <<_ACEOF
17111
 
#ifndef __cplusplus
17112
 
#define inline $ac_val
17113
 
#endif
17114
 
_ACEOF
17115
 
    ;;
17116
 
esac
17117
 
 
17118
 
ac_fn_cxx_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
17119
 
if test "x$ac_cv_type_mode_t" = xyes; then :
17120
 
 
17121
 
else
17122
 
 
17123
 
cat >>confdefs.h <<_ACEOF
17124
 
#define mode_t int
17125
 
_ACEOF
17126
 
 
17127
 
fi
17128
 
 
17129
 
ac_fn_cxx_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
17130
 
if test "x$ac_cv_type_size_t" = xyes; then :
17131
 
 
17132
 
else
17133
 
 
17134
 
cat >>confdefs.h <<_ACEOF
17135
 
#define size_t unsigned int
17136
 
_ACEOF
17137
 
 
17138
 
fi
17139
 
 
17140
 
 
17141
 
# Checks for library functions.
17142
 
 
17143
 
ac_config_files="$ac_config_files Makefile libcmis.pc libcmis-c.pc run-test.sh cppcheck-test.sh src/Makefile src/libcmis/Makefile src/libcmis-c/Makefile qa/Makefile qa/mockup/Makefile qa/libcmis/Makefile qa/libcmis-c/Makefile"
17144
 
 
17145
 
cat >confcache <<\_ACEOF
17146
 
# This file is a shell script that caches the results of configure
17147
 
# tests run on this system so they can be shared between configure
17148
 
# scripts and configure runs, see configure's option --config-cache.
17149
 
# It is not useful on other systems.  If it contains results you don't
17150
 
# want to keep, you may remove or edit it.
17151
 
#
17152
 
# config.status only pays attention to the cache file if you give it
17153
 
# the --recheck option to rerun configure.
17154
 
#
17155
 
# `ac_cv_env_foo' variables (set or unset) will be overridden when
17156
 
# loading this file, other *unset* `ac_cv_foo' will be assigned the
17157
 
# following values.
17158
 
 
17159
 
_ACEOF
17160
 
 
17161
 
# The following way of writing the cache mishandles newlines in values,
17162
 
# but we know of no workaround that is simple, portable, and efficient.
17163
 
# So, we kill variables containing newlines.
17164
 
# Ultrix sh set writes to stderr and can't be redirected directly,
17165
 
# and sets the high bit in the cache file unless we assign to the vars.
17166
 
(
17167
 
  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
17168
 
    eval ac_val=\$$ac_var
17169
 
    case $ac_val in #(
17170
 
    *${as_nl}*)
17171
 
      case $ac_var in #(
17172
 
      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
17173
 
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
17174
 
      esac
17175
 
      case $ac_var in #(
17176
 
      _ | IFS | as_nl) ;; #(
17177
 
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
17178
 
      *) { eval $ac_var=; unset $ac_var;} ;;
17179
 
      esac ;;
17180
 
    esac
17181
 
  done
17182
 
 
17183
 
  (set) 2>&1 |
17184
 
    case $as_nl`(ac_space=' '; set) 2>&1` in #(
17185
 
    *${as_nl}ac_space=\ *)
17186
 
      # `set' does not quote correctly, so add quotes: double-quote
17187
 
      # substitution turns \\\\ into \\, and sed turns \\ into \.
17188
 
      sed -n \
17189
 
        "s/'/'\\\\''/g;
17190
 
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
17191
 
      ;; #(
17192
 
    *)
17193
 
      # `set' quotes correctly as required by POSIX, so do not add quotes.
17194
 
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
17195
 
      ;;
17196
 
    esac |
17197
 
    sort
17198
 
) |
17199
 
  sed '
17200
 
     /^ac_cv_env_/b end
17201
 
     t clear
17202
 
     :clear
17203
 
     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
17204
 
     t end
17205
 
     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
17206
 
     :end' >>confcache
17207
 
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
17208
 
  if test -w "$cache_file"; then
17209
 
    if test "x$cache_file" != "x/dev/null"; then
17210
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
17211
 
$as_echo "$as_me: updating cache $cache_file" >&6;}
17212
 
      if test ! -f "$cache_file" || test -h "$cache_file"; then
17213
 
        cat confcache >"$cache_file"
17214
 
      else
17215
 
        case $cache_file in #(
17216
 
        */* | ?:*)
17217
 
          mv -f confcache "$cache_file"$$ &&
17218
 
          mv -f "$cache_file"$$ "$cache_file" ;; #(
17219
 
        *)
17220
 
          mv -f confcache "$cache_file" ;;
17221
 
        esac
17222
 
      fi
17223
 
    fi
17224
 
  else
17225
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
17226
 
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
17227
 
  fi
17228
 
fi
17229
 
rm -f confcache
17230
 
 
17231
 
test "x$prefix" = xNONE && prefix=$ac_default_prefix
17232
 
# Let make expand exec_prefix.
17233
 
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
17234
 
 
17235
 
# Transform confdefs.h into DEFS.
17236
 
# Protect against shell expansion while executing Makefile rules.
17237
 
# Protect against Makefile macro expansion.
17238
 
#
17239
 
# If the first sed substitution is executed (which looks for macros that
17240
 
# take arguments), then branch to the quote section.  Otherwise,
17241
 
# look for a macro that doesn't take arguments.
17242
 
ac_script='
17243
 
:mline
17244
 
/\\$/{
17245
 
 N
17246
 
 s,\\\n,,
17247
 
 b mline
17248
 
}
17249
 
t clear
17250
 
:clear
17251
 
s/^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*([^)]*)\)[   ]*\(.*\)/-D\1=\2/g
17252
 
t quote
17253
 
s/^[     ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)/-D\1=\2/g
17254
 
t quote
17255
 
b any
17256
 
:quote
17257
 
s/[      `~#$^&*(){}\\|;'\''"<>?]/\\&/g
17258
 
s/\[/\\&/g
17259
 
s/\]/\\&/g
17260
 
s/\$/$$/g
17261
 
H
17262
 
:any
17263
 
${
17264
 
        g
17265
 
        s/^\n//
17266
 
        s/\n/ /g
17267
 
        p
17268
 
}
17269
 
'
17270
 
DEFS=`sed -n "$ac_script" confdefs.h`
17271
 
 
17272
 
 
17273
 
ac_libobjs=
17274
 
ac_ltlibobjs=
17275
 
U=
17276
 
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
17277
 
  # 1. Remove the extension, and $U if already installed.
17278
 
  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
17279
 
  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
17280
 
  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
17281
 
  #    will be set to the directory where LIBOBJS objects are built.
17282
 
  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
17283
 
  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
17284
 
done
17285
 
LIBOBJS=$ac_libobjs
17286
 
 
17287
 
LTLIBOBJS=$ac_ltlibobjs
17288
 
 
17289
 
 
17290
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
17291
 
$as_echo_n "checking that generated files are newer than configure... " >&6; }
17292
 
   if test -n "$am_sleep_pid"; then
17293
 
     # Hide warnings about reused PIDs.
17294
 
     wait $am_sleep_pid 2>/dev/null
17295
 
   fi
17296
 
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
17297
 
$as_echo "done" >&6; }
17298
 
 if test -n "$EXEEXT"; then
17299
 
  am__EXEEXT_TRUE=
17300
 
  am__EXEEXT_FALSE='#'
17301
 
else
17302
 
  am__EXEEXT_TRUE='#'
17303
 
  am__EXEEXT_FALSE=
17304
 
fi
17305
 
 
17306
 
if test -z "${ENABLE_CLIENT_TRUE}" && test -z "${ENABLE_CLIENT_FALSE}"; then
17307
 
  as_fn_error $? "conditional \"ENABLE_CLIENT\" was never defined.
17308
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5
17309
 
fi
17310
 
if test -z "${ENABLE_TESTS_TRUE}" && test -z "${ENABLE_TESTS_FALSE}"; then
17311
 
  as_fn_error $? "conditional \"ENABLE_TESTS\" was never defined.
17312
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5
17313
 
fi
17314
 
if test -z "${ENABLE_LONG_TESTS_TRUE}" && test -z "${ENABLE_LONG_TESTS_FALSE}"; then
17315
 
  as_fn_error $? "conditional \"ENABLE_LONG_TESTS\" was never defined.
17316
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5
17317
 
fi
17318
 
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
17319
 
  as_fn_error $? "conditional \"AMDEP\" was never defined.
17320
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5
17321
 
fi
17322
 
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
17323
 
  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
17324
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5
17325
 
fi
17326
 
if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
17327
 
  as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
17328
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5
17329
 
fi
17330
 
if test -z "${OS_WIN32_TRUE}" && test -z "${OS_WIN32_FALSE}"; then
17331
 
  as_fn_error $? "conditional \"OS_WIN32\" was never defined.
17332
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5
17333
 
fi
17334
 
if test -z "${WITH_LIBCMIS_MAN_TRUE}" && test -z "${WITH_LIBCMIS_MAN_FALSE}"; then
17335
 
  as_fn_error $? "conditional \"WITH_LIBCMIS_MAN\" was never defined.
17336
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5
17337
 
fi
17338
 
if test -z "${ENABLE_CPPCHECK_TRUE}" && test -z "${ENABLE_CPPCHECK_FALSE}"; then
17339
 
  as_fn_error $? "conditional \"ENABLE_CPPCHECK\" was never defined.
17340
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5
17341
 
fi
17342
 
 
17343
 
: "${CONFIG_STATUS=./config.status}"
17344
 
ac_write_fail=0
17345
 
ac_clean_files_save=$ac_clean_files
17346
 
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
17347
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
17348
 
$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
17349
 
as_write_fail=0
17350
 
cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
17351
 
#! $SHELL
17352
 
# Generated by $as_me.
17353
 
# Run this file to recreate the current configuration.
17354
 
# Compiler output produced by configure, useful for debugging
17355
 
# configure, is in config.log if it exists.
17356
 
 
17357
 
debug=false
17358
 
ac_cs_recheck=false
17359
 
ac_cs_silent=false
17360
 
 
17361
 
SHELL=\${CONFIG_SHELL-$SHELL}
17362
 
export SHELL
17363
 
_ASEOF
17364
 
cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
17365
 
## -------------------- ##
17366
 
## M4sh Initialization. ##
17367
 
## -------------------- ##
17368
 
 
17369
 
# Be more Bourne compatible
17370
 
DUALCASE=1; export DUALCASE # for MKS sh
17371
 
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
17372
 
  emulate sh
17373
 
  NULLCMD=:
17374
 
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
17375
 
  # is contrary to our usage.  Disable this feature.
17376
 
  alias -g '${1+"$@"}'='"$@"'
17377
 
  setopt NO_GLOB_SUBST
17378
 
else
17379
 
  case `(set -o) 2>/dev/null` in #(
17380
 
  *posix*) :
17381
 
    set -o posix ;; #(
17382
 
  *) :
17383
 
     ;;
17384
 
esac
17385
 
fi
17386
 
 
17387
 
 
17388
 
as_nl='
17389
 
'
17390
 
export as_nl
17391
 
# Printing a long string crashes Solaris 7 /usr/bin/printf.
17392
 
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
17393
 
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
17394
 
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
17395
 
# Prefer a ksh shell builtin over an external printf program on Solaris,
17396
 
# but without wasting forks for bash or zsh.
17397
 
if test -z "$BASH_VERSION$ZSH_VERSION" \
17398
 
    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
17399
 
  as_echo='print -r --'
17400
 
  as_echo_n='print -rn --'
17401
 
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
17402
 
  as_echo='printf %s\n'
17403
 
  as_echo_n='printf %s'
17404
 
else
17405
 
  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
17406
 
    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
17407
 
    as_echo_n='/usr/ucb/echo -n'
17408
 
  else
17409
 
    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
17410
 
    as_echo_n_body='eval
17411
 
      arg=$1;
17412
 
      case $arg in #(
17413
 
      *"$as_nl"*)
17414
 
        expr "X$arg" : "X\\(.*\\)$as_nl";
17415
 
        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
17416
 
      esac;
17417
 
      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
17418
 
    '
17419
 
    export as_echo_n_body
17420
 
    as_echo_n='sh -c $as_echo_n_body as_echo'
17421
 
  fi
17422
 
  export as_echo_body
17423
 
  as_echo='sh -c $as_echo_body as_echo'
17424
 
fi
17425
 
 
17426
 
# The user is always right.
17427
 
if test "${PATH_SEPARATOR+set}" != set; then
17428
 
  PATH_SEPARATOR=:
17429
 
  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
17430
 
    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
17431
 
      PATH_SEPARATOR=';'
17432
 
  }
17433
 
fi
17434
 
 
17435
 
 
17436
 
# IFS
17437
 
# We need space, tab and new line, in precisely that order.  Quoting is
17438
 
# there to prevent editors from complaining about space-tab.
17439
 
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
17440
 
# splitting by setting IFS to empty value.)
17441
 
IFS=" ""        $as_nl"
17442
 
 
17443
 
# Find who we are.  Look in the path if we contain no directory separator.
17444
 
as_myself=
17445
 
case $0 in #((
17446
 
  *[\\/]* ) as_myself=$0 ;;
17447
 
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17448
 
for as_dir in $PATH
17449
 
do
17450
 
  IFS=$as_save_IFS
17451
 
  test -z "$as_dir" && as_dir=.
17452
 
    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
17453
 
  done
17454
 
IFS=$as_save_IFS
17455
 
 
17456
 
     ;;
17457
 
esac
17458
 
# We did not find ourselves, most probably we were run as `sh COMMAND'
17459
 
# in which case we are not to be found in the path.
17460
 
if test "x$as_myself" = x; then
17461
 
  as_myself=$0
17462
 
fi
17463
 
if test ! -f "$as_myself"; then
17464
 
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
17465
 
  exit 1
17466
 
fi
17467
 
 
17468
 
# Unset variables that we do not need and which cause bugs (e.g. in
17469
 
# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
17470
 
# suppresses any "Segmentation fault" message there.  '((' could
17471
 
# trigger a bug in pdksh 5.2.14.
17472
 
for as_var in BASH_ENV ENV MAIL MAILPATH
17473
 
do eval test x\${$as_var+set} = xset \
17474
 
  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
17475
 
done
17476
 
PS1='$ '
17477
 
PS2='> '
17478
 
PS4='+ '
17479
 
 
17480
 
# NLS nuisances.
17481
 
LC_ALL=C
17482
 
export LC_ALL
17483
 
LANGUAGE=C
17484
 
export LANGUAGE
17485
 
 
17486
 
# CDPATH.
17487
 
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
17488
 
 
17489
 
 
17490
 
# as_fn_error STATUS ERROR [LINENO LOG_FD]
17491
 
# ----------------------------------------
17492
 
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
17493
 
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
17494
 
# script with STATUS, using 1 if that was 0.
17495
 
as_fn_error ()
17496
 
{
17497
 
  as_status=$1; test $as_status -eq 0 && as_status=1
17498
 
  if test "$4"; then
17499
 
    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
17500
 
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
17501
 
  fi
17502
 
  $as_echo "$as_me: error: $2" >&2
17503
 
  as_fn_exit $as_status
17504
 
} # as_fn_error
17505
 
 
17506
 
 
17507
 
# as_fn_set_status STATUS
17508
 
# -----------------------
17509
 
# Set $? to STATUS, without forking.
17510
 
as_fn_set_status ()
17511
 
{
17512
 
  return $1
17513
 
} # as_fn_set_status
17514
 
 
17515
 
# as_fn_exit STATUS
17516
 
# -----------------
17517
 
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
17518
 
as_fn_exit ()
17519
 
{
17520
 
  set +e
17521
 
  as_fn_set_status $1
17522
 
  exit $1
17523
 
} # as_fn_exit
17524
 
 
17525
 
# as_fn_unset VAR
17526
 
# ---------------
17527
 
# Portably unset VAR.
17528
 
as_fn_unset ()
17529
 
{
17530
 
  { eval $1=; unset $1;}
17531
 
}
17532
 
as_unset=as_fn_unset
17533
 
# as_fn_append VAR VALUE
17534
 
# ----------------------
17535
 
# Append the text in VALUE to the end of the definition contained in VAR. Take
17536
 
# advantage of any shell optimizations that allow amortized linear growth over
17537
 
# repeated appends, instead of the typical quadratic growth present in naive
17538
 
# implementations.
17539
 
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
17540
 
  eval 'as_fn_append ()
17541
 
  {
17542
 
    eval $1+=\$2
17543
 
  }'
17544
 
else
17545
 
  as_fn_append ()
17546
 
  {
17547
 
    eval $1=\$$1\$2
17548
 
  }
17549
 
fi # as_fn_append
17550
 
 
17551
 
# as_fn_arith ARG...
17552
 
# ------------------
17553
 
# Perform arithmetic evaluation on the ARGs, and store the result in the
17554
 
# global $as_val. Take advantage of shells that can avoid forks. The arguments
17555
 
# must be portable across $(()) and expr.
17556
 
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
17557
 
  eval 'as_fn_arith ()
17558
 
  {
17559
 
    as_val=$(( $* ))
17560
 
  }'
17561
 
else
17562
 
  as_fn_arith ()
17563
 
  {
17564
 
    as_val=`expr "$@" || test $? -eq 1`
17565
 
  }
17566
 
fi # as_fn_arith
17567
 
 
17568
 
 
17569
 
if expr a : '\(a\)' >/dev/null 2>&1 &&
17570
 
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
17571
 
  as_expr=expr
17572
 
else
17573
 
  as_expr=false
17574
 
fi
17575
 
 
17576
 
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
17577
 
  as_basename=basename
17578
 
else
17579
 
  as_basename=false
17580
 
fi
17581
 
 
17582
 
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
17583
 
  as_dirname=dirname
17584
 
else
17585
 
  as_dirname=false
17586
 
fi
17587
 
 
17588
 
as_me=`$as_basename -- "$0" ||
17589
 
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
17590
 
         X"$0" : 'X\(//\)$' \| \
17591
 
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
17592
 
$as_echo X/"$0" |
17593
 
    sed '/^.*\/\([^/][^/]*\)\/*$/{
17594
 
            s//\1/
17595
 
            q
17596
 
          }
17597
 
          /^X\/\(\/\/\)$/{
17598
 
            s//\1/
17599
 
            q
17600
 
          }
17601
 
          /^X\/\(\/\).*/{
17602
 
            s//\1/
17603
 
            q
17604
 
          }
17605
 
          s/.*/./; q'`
17606
 
 
17607
 
# Avoid depending upon Character Ranges.
17608
 
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
17609
 
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
17610
 
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
17611
 
as_cr_digits='0123456789'
17612
 
as_cr_alnum=$as_cr_Letters$as_cr_digits
17613
 
 
17614
 
ECHO_C= ECHO_N= ECHO_T=
17615
 
case `echo -n x` in #(((((
17616
 
-n*)
17617
 
  case `echo 'xy\c'` in
17618
 
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
17619
 
  xy)  ECHO_C='\c';;
17620
 
  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
17621
 
       ECHO_T=' ';;
17622
 
  esac;;
17623
 
*)
17624
 
  ECHO_N='-n';;
17625
 
esac
17626
 
 
17627
 
rm -f conf$$ conf$$.exe conf$$.file
17628
 
if test -d conf$$.dir; then
17629
 
  rm -f conf$$.dir/conf$$.file
17630
 
else
17631
 
  rm -f conf$$.dir
17632
 
  mkdir conf$$.dir 2>/dev/null
17633
 
fi
17634
 
if (echo >conf$$.file) 2>/dev/null; then
17635
 
  if ln -s conf$$.file conf$$ 2>/dev/null; then
17636
 
    as_ln_s='ln -s'
17637
 
    # ... but there are two gotchas:
17638
 
    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
17639
 
    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
17640
 
    # In both cases, we have to default to `cp -pR'.
17641
 
    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
17642
 
      as_ln_s='cp -pR'
17643
 
  elif ln conf$$.file conf$$ 2>/dev/null; then
17644
 
    as_ln_s=ln
17645
 
  else
17646
 
    as_ln_s='cp -pR'
17647
 
  fi
17648
 
else
17649
 
  as_ln_s='cp -pR'
17650
 
fi
17651
 
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
17652
 
rmdir conf$$.dir 2>/dev/null
17653
 
 
17654
 
 
17655
 
# as_fn_mkdir_p
17656
 
# -------------
17657
 
# Create "$as_dir" as a directory, including parents if necessary.
17658
 
as_fn_mkdir_p ()
17659
 
{
17660
 
 
17661
 
  case $as_dir in #(
17662
 
  -*) as_dir=./$as_dir;;
17663
 
  esac
17664
 
  test -d "$as_dir" || eval $as_mkdir_p || {
17665
 
    as_dirs=
17666
 
    while :; do
17667
 
      case $as_dir in #(
17668
 
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
17669
 
      *) as_qdir=$as_dir;;
17670
 
      esac
17671
 
      as_dirs="'$as_qdir' $as_dirs"
17672
 
      as_dir=`$as_dirname -- "$as_dir" ||
17673
 
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17674
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
17675
 
         X"$as_dir" : 'X\(//\)$' \| \
17676
 
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
17677
 
$as_echo X"$as_dir" |
17678
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17679
 
            s//\1/
17680
 
            q
17681
 
          }
17682
 
          /^X\(\/\/\)[^/].*/{
17683
 
            s//\1/
17684
 
            q
17685
 
          }
17686
 
          /^X\(\/\/\)$/{
17687
 
            s//\1/
17688
 
            q
17689
 
          }
17690
 
          /^X\(\/\).*/{
17691
 
            s//\1/
17692
 
            q
17693
 
          }
17694
 
          s/.*/./; q'`
17695
 
      test -d "$as_dir" && break
17696
 
    done
17697
 
    test -z "$as_dirs" || eval "mkdir $as_dirs"
17698
 
  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
17699
 
 
17700
 
 
17701
 
} # as_fn_mkdir_p
17702
 
if mkdir -p . 2>/dev/null; then
17703
 
  as_mkdir_p='mkdir -p "$as_dir"'
17704
 
else
17705
 
  test -d ./-p && rmdir ./-p
17706
 
  as_mkdir_p=false
17707
 
fi
17708
 
 
17709
 
 
17710
 
# as_fn_executable_p FILE
17711
 
# -----------------------
17712
 
# Test if FILE is an executable regular file.
17713
 
as_fn_executable_p ()
17714
 
{
17715
 
  test -f "$1" && test -x "$1"
17716
 
} # as_fn_executable_p
17717
 
as_test_x='test -x'
17718
 
as_executable_p=as_fn_executable_p
17719
 
 
17720
 
# Sed expression to map a string onto a valid CPP name.
17721
 
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
17722
 
 
17723
 
# Sed expression to map a string onto a valid variable name.
17724
 
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
17725
 
 
17726
 
 
17727
 
exec 6>&1
17728
 
## ----------------------------------- ##
17729
 
## Main body of $CONFIG_STATUS script. ##
17730
 
## ----------------------------------- ##
17731
 
_ASEOF
17732
 
test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
17733
 
 
17734
 
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17735
 
# Save the log message, to keep $0 and so on meaningful, and to
17736
 
# report actual input values of CONFIG_FILES etc. instead of their
17737
 
# values after options handling.
17738
 
ac_log="
17739
 
This file was extended by libcmis $as_me 0.4.1, which was
17740
 
generated by GNU Autoconf 2.69.  Invocation command line was
17741
 
 
17742
 
  CONFIG_FILES    = $CONFIG_FILES
17743
 
  CONFIG_HEADERS  = $CONFIG_HEADERS
17744
 
  CONFIG_LINKS    = $CONFIG_LINKS
17745
 
  CONFIG_COMMANDS = $CONFIG_COMMANDS
17746
 
  $ $0 $@
17747
 
 
17748
 
on `(hostname || uname -n) 2>/dev/null | sed 1q`
17749
 
"
17750
 
 
17751
 
_ACEOF
17752
 
 
17753
 
case $ac_config_files in *"
17754
 
"*) set x $ac_config_files; shift; ac_config_files=$*;;
17755
 
esac
17756
 
 
17757
 
 
17758
 
 
17759
 
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17760
 
# Files that config.status was made for.
17761
 
config_files="$ac_config_files"
17762
 
config_commands="$ac_config_commands"
17763
 
 
17764
 
_ACEOF
17765
 
 
17766
 
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17767
 
ac_cs_usage="\
17768
 
\`$as_me' instantiates files and other configuration actions
17769
 
from templates according to the current configuration.  Unless the files
17770
 
and actions are specified as TAGs, all are instantiated by default.
17771
 
 
17772
 
Usage: $0 [OPTION]... [TAG]...
17773
 
 
17774
 
  -h, --help       print this help, then exit
17775
 
  -V, --version    print version number and configuration settings, then exit
17776
 
      --config     print configuration, then exit
17777
 
  -q, --quiet, --silent
17778
 
                   do not print progress messages
17779
 
  -d, --debug      don't remove temporary files
17780
 
      --recheck    update $as_me by reconfiguring in the same conditions
17781
 
      --file=FILE[:TEMPLATE]
17782
 
                   instantiate the configuration file FILE
17783
 
 
17784
 
Configuration files:
17785
 
$config_files
17786
 
 
17787
 
Configuration commands:
17788
 
$config_commands
17789
 
 
17790
 
Report bugs to the package provider."
17791
 
 
17792
 
_ACEOF
17793
 
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17794
 
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
17795
 
ac_cs_version="\\
17796
 
libcmis config.status 0.4.1
17797
 
configured by $0, generated by GNU Autoconf 2.69,
17798
 
  with options \\"\$ac_cs_config\\"
17799
 
 
17800
 
Copyright (C) 2012 Free Software Foundation, Inc.
17801
 
This config.status script is free software; the Free Software Foundation
17802
 
gives unlimited permission to copy, distribute and modify it."
17803
 
 
17804
 
ac_pwd='$ac_pwd'
17805
 
srcdir='$srcdir'
17806
 
INSTALL='$INSTALL'
17807
 
MKDIR_P='$MKDIR_P'
17808
 
AWK='$AWK'
17809
 
test -n "\$AWK" || AWK=awk
17810
 
_ACEOF
17811
 
 
17812
 
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17813
 
# The default lists apply if the user does not specify any file.
17814
 
ac_need_defaults=:
17815
 
while test $# != 0
17816
 
do
17817
 
  case $1 in
17818
 
  --*=?*)
17819
 
    ac_option=`expr "X$1" : 'X\([^=]*\)='`
17820
 
    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
17821
 
    ac_shift=:
17822
 
    ;;
17823
 
  --*=)
17824
 
    ac_option=`expr "X$1" : 'X\([^=]*\)='`
17825
 
    ac_optarg=
17826
 
    ac_shift=:
17827
 
    ;;
17828
 
  *)
17829
 
    ac_option=$1
17830
 
    ac_optarg=$2
17831
 
    ac_shift=shift
17832
 
    ;;
17833
 
  esac
17834
 
 
17835
 
  case $ac_option in
17836
 
  # Handling of the options.
17837
 
  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
17838
 
    ac_cs_recheck=: ;;
17839
 
  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
17840
 
    $as_echo "$ac_cs_version"; exit ;;
17841
 
  --config | --confi | --conf | --con | --co | --c )
17842
 
    $as_echo "$ac_cs_config"; exit ;;
17843
 
  --debug | --debu | --deb | --de | --d | -d )
17844
 
    debug=: ;;
17845
 
  --file | --fil | --fi | --f )
17846
 
    $ac_shift
17847
 
    case $ac_optarg in
17848
 
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
17849
 
    '') as_fn_error $? "missing file argument" ;;
17850
 
    esac
17851
 
    as_fn_append CONFIG_FILES " '$ac_optarg'"
17852
 
    ac_need_defaults=false;;
17853
 
  --he | --h |  --help | --hel | -h )
17854
 
    $as_echo "$ac_cs_usage"; exit ;;
17855
 
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
17856
 
  | -silent | --silent | --silen | --sile | --sil | --si | --s)
17857
 
    ac_cs_silent=: ;;
17858
 
 
17859
 
  # This is an error.
17860
 
  -*) as_fn_error $? "unrecognized option: \`$1'
17861
 
Try \`$0 --help' for more information." ;;
17862
 
 
17863
 
  *) as_fn_append ac_config_targets " $1"
17864
 
     ac_need_defaults=false ;;
17865
 
 
17866
 
  esac
17867
 
  shift
17868
 
done
17869
 
 
17870
 
ac_configure_extra_args=
17871
 
 
17872
 
if $ac_cs_silent; then
17873
 
  exec 6>/dev/null
17874
 
  ac_configure_extra_args="$ac_configure_extra_args --silent"
17875
 
fi
17876
 
 
17877
 
_ACEOF
17878
 
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17879
 
if \$ac_cs_recheck; then
17880
 
  set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
17881
 
  shift
17882
 
  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
17883
 
  CONFIG_SHELL='$SHELL'
17884
 
  export CONFIG_SHELL
17885
 
  exec "\$@"
17886
 
fi
17887
 
 
17888
 
_ACEOF
17889
 
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17890
 
exec 5>>config.log
17891
 
{
17892
 
  echo
17893
 
  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
17894
 
## Running $as_me. ##
17895
 
_ASBOX
17896
 
  $as_echo "$ac_log"
17897
 
} >&5
17898
 
 
17899
 
_ACEOF
17900
 
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17901
 
#
17902
 
# INIT-COMMANDS
17903
 
#
17904
 
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
17905
 
 
17906
 
 
17907
 
# The HP-UX ksh and POSIX shell print the target directory to stdout
17908
 
# if CDPATH is set.
17909
 
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
17910
 
 
17911
 
sed_quote_subst='$sed_quote_subst'
17912
 
double_quote_subst='$double_quote_subst'
17913
 
delay_variable_subst='$delay_variable_subst'
17914
 
macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
17915
 
macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
17916
 
enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
17917
 
enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
17918
 
pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
17919
 
enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
17920
 
SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
17921
 
ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
17922
 
PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
17923
 
host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
17924
 
host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
17925
 
host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
17926
 
build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
17927
 
build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
17928
 
build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
17929
 
SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
17930
 
Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
17931
 
GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
17932
 
EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
17933
 
FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
17934
 
LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
17935
 
NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
17936
 
LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
17937
 
max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
17938
 
ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
17939
 
exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
17940
 
lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
17941
 
lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
17942
 
lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
17943
 
lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
17944
 
lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
17945
 
reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
17946
 
reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
17947
 
OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
17948
 
deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
17949
 
file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
17950
 
file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
17951
 
want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
17952
 
DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
17953
 
sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
17954
 
AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
17955
 
AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
17956
 
archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
17957
 
STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
17958
 
RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
17959
 
old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
17960
 
old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
17961
 
old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
17962
 
lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
17963
 
CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
17964
 
CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
17965
 
compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
17966
 
GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
17967
 
lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
17968
 
lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
17969
 
lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
17970
 
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"`'
17971
 
nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
17972
 
lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
17973
 
objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
17974
 
MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
17975
 
lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
17976
 
lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
17977
 
lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
17978
 
lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
17979
 
lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
17980
 
need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
17981
 
MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
17982
 
DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
17983
 
NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
17984
 
LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
17985
 
OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
17986
 
OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
17987
 
libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
17988
 
shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
17989
 
extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
17990
 
archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
17991
 
enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
17992
 
export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
17993
 
whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
17994
 
compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
17995
 
old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
17996
 
old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
17997
 
archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
17998
 
archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
17999
 
module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
18000
 
module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
18001
 
with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
18002
 
allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
18003
 
no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
18004
 
hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
18005
 
hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
18006
 
hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
18007
 
hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
18008
 
hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
18009
 
hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
18010
 
hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
18011
 
inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
18012
 
link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
18013
 
always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
18014
 
export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
18015
 
exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
18016
 
include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
18017
 
prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
18018
 
postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
18019
 
file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
18020
 
variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
18021
 
need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
18022
 
need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
18023
 
version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
18024
 
runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
18025
 
shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
18026
 
shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
18027
 
libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
18028
 
library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
18029
 
soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
18030
 
install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
18031
 
postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
18032
 
postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
18033
 
finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
18034
 
finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
18035
 
hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
18036
 
sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
18037
 
sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
18038
 
hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
18039
 
enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
18040
 
enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
18041
 
enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
18042
 
old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
18043
 
striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
18044
 
compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
18045
 
predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
18046
 
postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
18047
 
predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
18048
 
postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
18049
 
compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
18050
 
LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
18051
 
reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
18052
 
reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18053
 
old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18054
 
compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
18055
 
GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
18056
 
lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
18057
 
lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
18058
 
lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
18059
 
lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
18060
 
lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
18061
 
archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
18062
 
enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
18063
 
export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
18064
 
whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
18065
 
compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
18066
 
old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18067
 
old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18068
 
archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18069
 
archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18070
 
module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18071
 
module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18072
 
with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
18073
 
allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
18074
 
no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
18075
 
hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
18076
 
hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
18077
 
hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
18078
 
hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
18079
 
hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
18080
 
hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
18081
 
hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
18082
 
inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
18083
 
link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
18084
 
always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
18085
 
export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18086
 
exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
18087
 
include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
18088
 
prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18089
 
postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18090
 
file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
18091
 
hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
18092
 
compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
18093
 
predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
18094
 
postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
18095
 
predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
18096
 
postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
18097
 
compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
18098
 
 
18099
 
LTCC='$LTCC'
18100
 
LTCFLAGS='$LTCFLAGS'
18101
 
compiler='$compiler_DEFAULT'
18102
 
 
18103
 
# A function that is used when there is no print builtin or printf.
18104
 
func_fallback_echo ()
18105
 
{
18106
 
  eval 'cat <<_LTECHO_EOF
18107
 
\$1
18108
 
_LTECHO_EOF'
18109
 
}
18110
 
 
18111
 
# Quote evaled strings.
18112
 
for var in SHELL \
18113
 
ECHO \
18114
 
PATH_SEPARATOR \
18115
 
SED \
18116
 
GREP \
18117
 
EGREP \
18118
 
FGREP \
18119
 
LD \
18120
 
NM \
18121
 
LN_S \
18122
 
lt_SP2NL \
18123
 
lt_NL2SP \
18124
 
reload_flag \
18125
 
OBJDUMP \
18126
 
deplibs_check_method \
18127
 
file_magic_cmd \
18128
 
file_magic_glob \
18129
 
want_nocaseglob \
18130
 
DLLTOOL \
18131
 
sharedlib_from_linklib_cmd \
18132
 
AR \
18133
 
AR_FLAGS \
18134
 
archiver_list_spec \
18135
 
STRIP \
18136
 
RANLIB \
18137
 
CC \
18138
 
CFLAGS \
18139
 
compiler \
18140
 
lt_cv_sys_global_symbol_pipe \
18141
 
lt_cv_sys_global_symbol_to_cdecl \
18142
 
lt_cv_sys_global_symbol_to_c_name_address \
18143
 
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
18144
 
nm_file_list_spec \
18145
 
lt_prog_compiler_no_builtin_flag \
18146
 
lt_prog_compiler_pic \
18147
 
lt_prog_compiler_wl \
18148
 
lt_prog_compiler_static \
18149
 
lt_cv_prog_compiler_c_o \
18150
 
need_locks \
18151
 
MANIFEST_TOOL \
18152
 
DSYMUTIL \
18153
 
NMEDIT \
18154
 
LIPO \
18155
 
OTOOL \
18156
 
OTOOL64 \
18157
 
shrext_cmds \
18158
 
export_dynamic_flag_spec \
18159
 
whole_archive_flag_spec \
18160
 
compiler_needs_object \
18161
 
with_gnu_ld \
18162
 
allow_undefined_flag \
18163
 
no_undefined_flag \
18164
 
hardcode_libdir_flag_spec \
18165
 
hardcode_libdir_separator \
18166
 
exclude_expsyms \
18167
 
include_expsyms \
18168
 
file_list_spec \
18169
 
variables_saved_for_relink \
18170
 
libname_spec \
18171
 
library_names_spec \
18172
 
soname_spec \
18173
 
install_override_mode \
18174
 
finish_eval \
18175
 
old_striplib \
18176
 
striplib \
18177
 
compiler_lib_search_dirs \
18178
 
predep_objects \
18179
 
postdep_objects \
18180
 
predeps \
18181
 
postdeps \
18182
 
compiler_lib_search_path \
18183
 
LD_CXX \
18184
 
reload_flag_CXX \
18185
 
compiler_CXX \
18186
 
lt_prog_compiler_no_builtin_flag_CXX \
18187
 
lt_prog_compiler_pic_CXX \
18188
 
lt_prog_compiler_wl_CXX \
18189
 
lt_prog_compiler_static_CXX \
18190
 
lt_cv_prog_compiler_c_o_CXX \
18191
 
export_dynamic_flag_spec_CXX \
18192
 
whole_archive_flag_spec_CXX \
18193
 
compiler_needs_object_CXX \
18194
 
with_gnu_ld_CXX \
18195
 
allow_undefined_flag_CXX \
18196
 
no_undefined_flag_CXX \
18197
 
hardcode_libdir_flag_spec_CXX \
18198
 
hardcode_libdir_separator_CXX \
18199
 
exclude_expsyms_CXX \
18200
 
include_expsyms_CXX \
18201
 
file_list_spec_CXX \
18202
 
compiler_lib_search_dirs_CXX \
18203
 
predep_objects_CXX \
18204
 
postdep_objects_CXX \
18205
 
predeps_CXX \
18206
 
postdeps_CXX \
18207
 
compiler_lib_search_path_CXX; do
18208
 
    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
18209
 
    *[\\\\\\\`\\"\\\$]*)
18210
 
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
18211
 
      ;;
18212
 
    *)
18213
 
      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
18214
 
      ;;
18215
 
    esac
18216
 
done
18217
 
 
18218
 
# Double-quote double-evaled strings.
18219
 
for var in reload_cmds \
18220
 
old_postinstall_cmds \
18221
 
old_postuninstall_cmds \
18222
 
old_archive_cmds \
18223
 
extract_expsyms_cmds \
18224
 
old_archive_from_new_cmds \
18225
 
old_archive_from_expsyms_cmds \
18226
 
archive_cmds \
18227
 
archive_expsym_cmds \
18228
 
module_cmds \
18229
 
module_expsym_cmds \
18230
 
export_symbols_cmds \
18231
 
prelink_cmds \
18232
 
postlink_cmds \
18233
 
postinstall_cmds \
18234
 
postuninstall_cmds \
18235
 
finish_cmds \
18236
 
sys_lib_search_path_spec \
18237
 
sys_lib_dlsearch_path_spec \
18238
 
reload_cmds_CXX \
18239
 
old_archive_cmds_CXX \
18240
 
old_archive_from_new_cmds_CXX \
18241
 
old_archive_from_expsyms_cmds_CXX \
18242
 
archive_cmds_CXX \
18243
 
archive_expsym_cmds_CXX \
18244
 
module_cmds_CXX \
18245
 
module_expsym_cmds_CXX \
18246
 
export_symbols_cmds_CXX \
18247
 
prelink_cmds_CXX \
18248
 
postlink_cmds_CXX; do
18249
 
    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
18250
 
    *[\\\\\\\`\\"\\\$]*)
18251
 
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
18252
 
      ;;
18253
 
    *)
18254
 
      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
18255
 
      ;;
18256
 
    esac
18257
 
done
18258
 
 
18259
 
ac_aux_dir='$ac_aux_dir'
18260
 
xsi_shell='$xsi_shell'
18261
 
lt_shell_append='$lt_shell_append'
18262
 
 
18263
 
# See if we are running on zsh, and set the options which allow our
18264
 
# commands through without removal of \ escapes INIT.
18265
 
if test -n "\${ZSH_VERSION+set}" ; then
18266
 
   setopt NO_GLOB_SUBST
18267
 
fi
18268
 
 
18269
 
 
18270
 
    PACKAGE='$PACKAGE'
18271
 
    VERSION='$VERSION'
18272
 
    TIMESTAMP='$TIMESTAMP'
18273
 
    RM='$RM'
18274
 
    ofile='$ofile'
18275
 
 
18276
 
 
18277
 
 
18278
 
 
18279
 
 
18280
 
 
18281
 
_ACEOF
18282
 
 
18283
 
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18284
 
 
18285
 
# Handling of arguments.
18286
 
for ac_config_target in $ac_config_targets
18287
 
do
18288
 
  case $ac_config_target in
18289
 
    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
18290
 
    "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
18291
 
    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
18292
 
    "libcmis.pc") CONFIG_FILES="$CONFIG_FILES libcmis.pc" ;;
18293
 
    "libcmis-c.pc") CONFIG_FILES="$CONFIG_FILES libcmis-c.pc" ;;
18294
 
    "run-test.sh") CONFIG_FILES="$CONFIG_FILES run-test.sh" ;;
18295
 
    "cppcheck-test.sh") CONFIG_FILES="$CONFIG_FILES cppcheck-test.sh" ;;
18296
 
    "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
18297
 
    "src/libcmis/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcmis/Makefile" ;;
18298
 
    "src/libcmis-c/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcmis-c/Makefile" ;;
18299
 
    "qa/Makefile") CONFIG_FILES="$CONFIG_FILES qa/Makefile" ;;
18300
 
    "qa/mockup/Makefile") CONFIG_FILES="$CONFIG_FILES qa/mockup/Makefile" ;;
18301
 
    "qa/libcmis/Makefile") CONFIG_FILES="$CONFIG_FILES qa/libcmis/Makefile" ;;
18302
 
    "qa/libcmis-c/Makefile") CONFIG_FILES="$CONFIG_FILES qa/libcmis-c/Makefile" ;;
18303
 
 
18304
 
  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
18305
 
  esac
18306
 
done
18307
 
 
18308
 
 
18309
 
# If the user did not use the arguments to specify the items to instantiate,
18310
 
# then the envvar interface is used.  Set only those that are not.
18311
 
# We use the long form for the default assignment because of an extremely
18312
 
# bizarre bug on SunOS 4.1.3.
18313
 
if $ac_need_defaults; then
18314
 
  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
18315
 
  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
18316
 
fi
18317
 
 
18318
 
# Have a temporary directory for convenience.  Make it in the build tree
18319
 
# simply because there is no reason against having it here, and in addition,
18320
 
# creating and moving files from /tmp can sometimes cause problems.
18321
 
# Hook for its removal unless debugging.
18322
 
# Note that there is a small window in which the directory will not be cleaned:
18323
 
# after its creation but before its name has been assigned to `$tmp'.
18324
 
$debug ||
18325
 
{
18326
 
  tmp= ac_tmp=
18327
 
  trap 'exit_status=$?
18328
 
  : "${ac_tmp:=$tmp}"
18329
 
  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
18330
 
' 0
18331
 
  trap 'as_fn_exit 1' 1 2 13 15
18332
 
}
18333
 
# Create a (secure) tmp directory for tmp files.
18334
 
 
18335
 
{
18336
 
  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
18337
 
  test -d "$tmp"
18338
 
}  ||
18339
 
{
18340
 
  tmp=./conf$$-$RANDOM
18341
 
  (umask 077 && mkdir "$tmp")
18342
 
} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
18343
 
ac_tmp=$tmp
18344
 
 
18345
 
# Set up the scripts for CONFIG_FILES section.
18346
 
# No need to generate them if there are no CONFIG_FILES.
18347
 
# This happens for instance with `./config.status config.h'.
18348
 
if test -n "$CONFIG_FILES"; then
18349
 
 
18350
 
 
18351
 
ac_cr=`echo X | tr X '\015'`
18352
 
# On cygwin, bash can eat \r inside `` if the user requested igncr.
18353
 
# But we know of no other shell where ac_cr would be empty at this
18354
 
# point, so we can use a bashism as a fallback.
18355
 
if test "x$ac_cr" = x; then
18356
 
  eval ac_cr=\$\'\\r\'
18357
 
fi
18358
 
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
18359
 
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
18360
 
  ac_cs_awk_cr='\\r'
18361
 
else
18362
 
  ac_cs_awk_cr=$ac_cr
18363
 
fi
18364
 
 
18365
 
echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
18366
 
_ACEOF
18367
 
 
18368
 
 
18369
 
{
18370
 
  echo "cat >conf$$subs.awk <<_ACEOF" &&
18371
 
  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
18372
 
  echo "_ACEOF"
18373
 
} >conf$$subs.sh ||
18374
 
  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18375
 
ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
18376
 
ac_delim='%!_!# '
18377
 
for ac_last_try in false false false false false :; do
18378
 
  . ./conf$$subs.sh ||
18379
 
    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18380
 
 
18381
 
  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
18382
 
  if test $ac_delim_n = $ac_delim_num; then
18383
 
    break
18384
 
  elif $ac_last_try; then
18385
 
    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18386
 
  else
18387
 
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
18388
 
  fi
18389
 
done
18390
 
rm -f conf$$subs.sh
18391
 
 
18392
 
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18393
 
cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
18394
 
_ACEOF
18395
 
sed -n '
18396
 
h
18397
 
s/^/S["/; s/!.*/"]=/
18398
 
p
18399
 
g
18400
 
s/^[^!]*!//
18401
 
:repl
18402
 
t repl
18403
 
s/'"$ac_delim"'$//
18404
 
t delim
18405
 
:nl
18406
 
h
18407
 
s/\(.\{148\}\)..*/\1/
18408
 
t more1
18409
 
s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
18410
 
p
18411
 
n
18412
 
b repl
18413
 
:more1
18414
 
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
18415
 
p
18416
 
g
18417
 
s/.\{148\}//
18418
 
t nl
18419
 
:delim
18420
 
h
18421
 
s/\(.\{148\}\)..*/\1/
18422
 
t more2
18423
 
s/["\\]/\\&/g; s/^/"/; s/$/"/
18424
 
p
18425
 
b
18426
 
:more2
18427
 
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
18428
 
p
18429
 
g
18430
 
s/.\{148\}//
18431
 
t delim
18432
 
' <conf$$subs.awk | sed '
18433
 
/^[^""]/{
18434
 
  N
18435
 
  s/\n//
18436
 
}
18437
 
' >>$CONFIG_STATUS || ac_write_fail=1
18438
 
rm -f conf$$subs.awk
18439
 
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18440
 
_ACAWK
18441
 
cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
18442
 
  for (key in S) S_is_set[key] = 1
18443
 
  FS = ""
18444
 
 
18445
 
}
18446
 
{
18447
 
  line = $ 0
18448
 
  nfields = split(line, field, "@")
18449
 
  substed = 0
18450
 
  len = length(field[1])
18451
 
  for (i = 2; i < nfields; i++) {
18452
 
    key = field[i]
18453
 
    keylen = length(key)
18454
 
    if (S_is_set[key]) {
18455
 
      value = S[key]
18456
 
      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
18457
 
      len += length(value) + length(field[++i])
18458
 
      substed = 1
18459
 
    } else
18460
 
      len += 1 + keylen
18461
 
  }
18462
 
 
18463
 
  print line
18464
 
}
18465
 
 
18466
 
_ACAWK
18467
 
_ACEOF
18468
 
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18469
 
if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
18470
 
  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
18471
 
else
18472
 
  cat
18473
 
fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
18474
 
  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
18475
 
_ACEOF
18476
 
 
18477
 
# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
18478
 
# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
18479
 
# trailing colons and then remove the whole line if VPATH becomes empty
18480
 
# (actually we leave an empty line to preserve line numbers).
18481
 
if test "x$srcdir" = x.; then
18482
 
  ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
18483
 
h
18484
 
s///
18485
 
s/^/:/
18486
 
s/[      ]*$/:/
18487
 
s/:\$(srcdir):/:/g
18488
 
s/:\${srcdir}:/:/g
18489
 
s/:@srcdir@:/:/g
18490
 
s/^:*//
18491
 
s/:*$//
18492
 
x
18493
 
s/\(=[   ]*\).*/\1/
18494
 
G
18495
 
s/\n//
18496
 
s/^[^=]*=[       ]*$//
18497
 
}'
18498
 
fi
18499
 
 
18500
 
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18501
 
fi # test -n "$CONFIG_FILES"
18502
 
 
18503
 
 
18504
 
eval set X "  :F $CONFIG_FILES      :C $CONFIG_COMMANDS"
18505
 
shift
18506
 
for ac_tag
18507
 
do
18508
 
  case $ac_tag in
18509
 
  :[FHLC]) ac_mode=$ac_tag; continue;;
18510
 
  esac
18511
 
  case $ac_mode$ac_tag in
18512
 
  :[FHL]*:*);;
18513
 
  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
18514
 
  :[FH]-) ac_tag=-:-;;
18515
 
  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
18516
 
  esac
18517
 
  ac_save_IFS=$IFS
18518
 
  IFS=:
18519
 
  set x $ac_tag
18520
 
  IFS=$ac_save_IFS
18521
 
  shift
18522
 
  ac_file=$1
18523
 
  shift
18524
 
 
18525
 
  case $ac_mode in
18526
 
  :L) ac_source=$1;;
18527
 
  :[FH])
18528
 
    ac_file_inputs=
18529
 
    for ac_f
18530
 
    do
18531
 
      case $ac_f in
18532
 
      -) ac_f="$ac_tmp/stdin";;
18533
 
      *) # Look for the file first in the build tree, then in the source tree
18534
 
         # (if the path is not absolute).  The absolute path cannot be DOS-style,
18535
 
         # because $ac_f cannot contain `:'.
18536
 
         test -f "$ac_f" ||
18537
 
           case $ac_f in
18538
 
           [\\/$]*) false;;
18539
 
           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
18540
 
           esac ||
18541
 
           as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
18542
 
      esac
18543
 
      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
18544
 
      as_fn_append ac_file_inputs " '$ac_f'"
18545
 
    done
18546
 
 
18547
 
    # Let's still pretend it is `configure' which instantiates (i.e., don't
18548
 
    # use $as_me), people would be surprised to read:
18549
 
    #    /* config.h.  Generated by config.status.  */
18550
 
    configure_input='Generated from '`
18551
 
          $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
18552
 
        `' by configure.'
18553
 
    if test x"$ac_file" != x-; then
18554
 
      configure_input="$ac_file.  $configure_input"
18555
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
18556
 
$as_echo "$as_me: creating $ac_file" >&6;}
18557
 
    fi
18558
 
    # Neutralize special characters interpreted by sed in replacement strings.
18559
 
    case $configure_input in #(
18560
 
    *\&* | *\|* | *\\* )
18561
 
       ac_sed_conf_input=`$as_echo "$configure_input" |
18562
 
       sed 's/[\\\\&|]/\\\\&/g'`;; #(
18563
 
    *) ac_sed_conf_input=$configure_input;;
18564
 
    esac
18565
 
 
18566
 
    case $ac_tag in
18567
 
    *:-:* | *:-) cat >"$ac_tmp/stdin" \
18568
 
      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
18569
 
    esac
18570
 
    ;;
18571
 
  esac
18572
 
 
18573
 
  ac_dir=`$as_dirname -- "$ac_file" ||
18574
 
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18575
 
         X"$ac_file" : 'X\(//\)[^/]' \| \
18576
 
         X"$ac_file" : 'X\(//\)$' \| \
18577
 
         X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
18578
 
$as_echo X"$ac_file" |
18579
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18580
 
            s//\1/
18581
 
            q
18582
 
          }
18583
 
          /^X\(\/\/\)[^/].*/{
18584
 
            s//\1/
18585
 
            q
18586
 
          }
18587
 
          /^X\(\/\/\)$/{
18588
 
            s//\1/
18589
 
            q
18590
 
          }
18591
 
          /^X\(\/\).*/{
18592
 
            s//\1/
18593
 
            q
18594
 
          }
18595
 
          s/.*/./; q'`
18596
 
  as_dir="$ac_dir"; as_fn_mkdir_p
18597
 
  ac_builddir=.
18598
 
 
18599
 
case "$ac_dir" in
18600
 
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
18601
 
*)
18602
 
  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
18603
 
  # A ".." for each directory in $ac_dir_suffix.
18604
 
  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
18605
 
  case $ac_top_builddir_sub in
18606
 
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
18607
 
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
18608
 
  esac ;;
18609
 
esac
18610
 
ac_abs_top_builddir=$ac_pwd
18611
 
ac_abs_builddir=$ac_pwd$ac_dir_suffix
18612
 
# for backward compatibility:
18613
 
ac_top_builddir=$ac_top_build_prefix
18614
 
 
18615
 
case $srcdir in
18616
 
  .)  # We are building in place.
18617
 
    ac_srcdir=.
18618
 
    ac_top_srcdir=$ac_top_builddir_sub
18619
 
    ac_abs_top_srcdir=$ac_pwd ;;
18620
 
  [\\/]* | ?:[\\/]* )  # Absolute name.
18621
 
    ac_srcdir=$srcdir$ac_dir_suffix;
18622
 
    ac_top_srcdir=$srcdir
18623
 
    ac_abs_top_srcdir=$srcdir ;;
18624
 
  *) # Relative name.
18625
 
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
18626
 
    ac_top_srcdir=$ac_top_build_prefix$srcdir
18627
 
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
18628
 
esac
18629
 
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
18630
 
 
18631
 
 
18632
 
  case $ac_mode in
18633
 
  :F)
18634
 
  #
18635
 
  # CONFIG_FILE
18636
 
  #
18637
 
 
18638
 
  case $INSTALL in
18639
 
  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
18640
 
  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
18641
 
  esac
18642
 
  ac_MKDIR_P=$MKDIR_P
18643
 
  case $MKDIR_P in
18644
 
  [\\/$]* | ?:[\\/]* ) ;;
18645
 
  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
18646
 
  esac
18647
 
_ACEOF
18648
 
 
18649
 
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18650
 
# If the template does not know about datarootdir, expand it.
18651
 
# FIXME: This hack should be removed a few years after 2.60.
18652
 
ac_datarootdir_hack=; ac_datarootdir_seen=
18653
 
ac_sed_dataroot='
18654
 
/datarootdir/ {
18655
 
  p
18656
 
  q
18657
 
}
18658
 
/@datadir@/p
18659
 
/@docdir@/p
18660
 
/@infodir@/p
18661
 
/@localedir@/p
18662
 
/@mandir@/p'
18663
 
case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
18664
 
*datarootdir*) ac_datarootdir_seen=yes;;
18665
 
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
18666
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
18667
 
$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
18668
 
_ACEOF
18669
 
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18670
 
  ac_datarootdir_hack='
18671
 
  s&@datadir@&$datadir&g
18672
 
  s&@docdir@&$docdir&g
18673
 
  s&@infodir@&$infodir&g
18674
 
  s&@localedir@&$localedir&g
18675
 
  s&@mandir@&$mandir&g
18676
 
  s&\\\${datarootdir}&$datarootdir&g' ;;
18677
 
esac
18678
 
_ACEOF
18679
 
 
18680
 
# Neutralize VPATH when `$srcdir' = `.'.
18681
 
# Shell code in configure.ac might set extrasub.
18682
 
# FIXME: do we really want to maintain this feature?
18683
 
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18684
 
ac_sed_extra="$ac_vpsub
18685
 
$extrasub
18686
 
_ACEOF
18687
 
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18688
 
:t
18689
 
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
18690
 
s|@configure_input@|$ac_sed_conf_input|;t t
18691
 
s&@top_builddir@&$ac_top_builddir_sub&;t t
18692
 
s&@top_build_prefix@&$ac_top_build_prefix&;t t
18693
 
s&@srcdir@&$ac_srcdir&;t t
18694
 
s&@abs_srcdir@&$ac_abs_srcdir&;t t
18695
 
s&@top_srcdir@&$ac_top_srcdir&;t t
18696
 
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
18697
 
s&@builddir@&$ac_builddir&;t t
18698
 
s&@abs_builddir@&$ac_abs_builddir&;t t
18699
 
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
18700
 
s&@INSTALL@&$ac_INSTALL&;t t
18701
 
s&@MKDIR_P@&$ac_MKDIR_P&;t t
18702
 
$ac_datarootdir_hack
18703
 
"
18704
 
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
18705
 
  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18706
 
 
18707
 
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
18708
 
  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
18709
 
  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
18710
 
      "$ac_tmp/out"`; test -z "$ac_out"; } &&
18711
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
18712
 
which seems to be undefined.  Please make sure it is defined" >&5
18713
 
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
18714
 
which seems to be undefined.  Please make sure it is defined" >&2;}
18715
 
 
18716
 
  rm -f "$ac_tmp/stdin"
18717
 
  case $ac_file in
18718
 
  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
18719
 
  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
18720
 
  esac \
18721
 
  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18722
 
 ;;
18723
 
 
18724
 
 
18725
 
  :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
18726
 
$as_echo "$as_me: executing $ac_file commands" >&6;}
18727
 
 ;;
18728
 
  esac
18729
 
 
18730
 
 
18731
 
  case $ac_file$ac_mode in
18732
 
    "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
18733
 
  # Older Autoconf quotes --file arguments for eval, but not when files
18734
 
  # are listed without --file.  Let's play safe and only enable the eval
18735
 
  # if we detect the quoting.
18736
 
  case $CONFIG_FILES in
18737
 
  *\'*) eval set x "$CONFIG_FILES" ;;
18738
 
  *)   set x $CONFIG_FILES ;;
18739
 
  esac
18740
 
  shift
18741
 
  for mf
18742
 
  do
18743
 
    # Strip MF so we end up with the name of the file.
18744
 
    mf=`echo "$mf" | sed -e 's/:.*$//'`
18745
 
    # Check whether this is an Automake generated Makefile or not.
18746
 
    # We used to match only the files named 'Makefile.in', but
18747
 
    # some people rename them; so instead we look at the file content.
18748
 
    # Grep'ing the first line is not enough: some people post-process
18749
 
    # each Makefile.in and add a new line on top of each file to say so.
18750
 
    # Grep'ing the whole file is not good either: AIX grep has a line
18751
 
    # limit of 2048, but all sed's we know have understand at least 4000.
18752
 
    if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
18753
 
      dirpart=`$as_dirname -- "$mf" ||
18754
 
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18755
 
         X"$mf" : 'X\(//\)[^/]' \| \
18756
 
         X"$mf" : 'X\(//\)$' \| \
18757
 
         X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
18758
 
$as_echo X"$mf" |
18759
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18760
 
            s//\1/
18761
 
            q
18762
 
          }
18763
 
          /^X\(\/\/\)[^/].*/{
18764
 
            s//\1/
18765
 
            q
18766
 
          }
18767
 
          /^X\(\/\/\)$/{
18768
 
            s//\1/
18769
 
            q
18770
 
          }
18771
 
          /^X\(\/\).*/{
18772
 
            s//\1/
18773
 
            q
18774
 
          }
18775
 
          s/.*/./; q'`
18776
 
    else
18777
 
      continue
18778
 
    fi
18779
 
    # Extract the definition of DEPDIR, am__include, and am__quote
18780
 
    # from the Makefile without running 'make'.
18781
 
    DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
18782
 
    test -z "$DEPDIR" && continue
18783
 
    am__include=`sed -n 's/^am__include = //p' < "$mf"`
18784
 
    test -z "$am__include" && continue
18785
 
    am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
18786
 
    # Find all dependency output files, they are included files with
18787
 
    # $(DEPDIR) in their names.  We invoke sed twice because it is the
18788
 
    # simplest approach to changing $(DEPDIR) to its actual value in the
18789
 
    # expansion.
18790
 
    for file in `sed -n "
18791
 
      s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
18792
 
         sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
18793
 
      # Make sure the directory exists.
18794
 
      test -f "$dirpart/$file" && continue
18795
 
      fdir=`$as_dirname -- "$file" ||
18796
 
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18797
 
         X"$file" : 'X\(//\)[^/]' \| \
18798
 
         X"$file" : 'X\(//\)$' \| \
18799
 
         X"$file" : 'X\(/\)' \| . 2>/dev/null ||
18800
 
$as_echo X"$file" |
18801
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18802
 
            s//\1/
18803
 
            q
18804
 
          }
18805
 
          /^X\(\/\/\)[^/].*/{
18806
 
            s//\1/
18807
 
            q
18808
 
          }
18809
 
          /^X\(\/\/\)$/{
18810
 
            s//\1/
18811
 
            q
18812
 
          }
18813
 
          /^X\(\/\).*/{
18814
 
            s//\1/
18815
 
            q
18816
 
          }
18817
 
          s/.*/./; q'`
18818
 
      as_dir=$dirpart/$fdir; as_fn_mkdir_p
18819
 
      # echo "creating $dirpart/$file"
18820
 
      echo '# dummy' > "$dirpart/$file"
18821
 
    done
18822
 
  done
18823
 
}
18824
 
 ;;
18825
 
    "libtool":C)
18826
 
 
18827
 
    # See if we are running on zsh, and set the options which allow our
18828
 
    # commands through without removal of \ escapes.
18829
 
    if test -n "${ZSH_VERSION+set}" ; then
18830
 
      setopt NO_GLOB_SUBST
18831
 
    fi
18832
 
 
18833
 
    cfgfile="${ofile}T"
18834
 
    trap "$RM \"$cfgfile\"; exit 1" 1 2 15
18835
 
    $RM "$cfgfile"
18836
 
 
18837
 
    cat <<_LT_EOF >> "$cfgfile"
18838
 
#! $SHELL
18839
 
 
18840
 
# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
18841
 
# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
18842
 
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
18843
 
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
18844
 
#
18845
 
#   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
18846
 
#                 2006, 2007, 2008, 2009, 2010, 2011 Free Software
18847
 
#                 Foundation, Inc.
18848
 
#   Written by Gordon Matzigkeit, 1996
18849
 
#
18850
 
#   This file is part of GNU Libtool.
18851
 
#
18852
 
# GNU Libtool is free software; you can redistribute it and/or
18853
 
# modify it under the terms of the GNU General Public License as
18854
 
# published by the Free Software Foundation; either version 2 of
18855
 
# the License, or (at your option) any later version.
18856
 
#
18857
 
# As a special exception to the GNU General Public License,
18858
 
# if you distribute this file as part of a program or library that
18859
 
# is built using GNU Libtool, you may include this file under the
18860
 
# same distribution terms that you use for the rest of that program.
18861
 
#
18862
 
# GNU Libtool is distributed in the hope that it will be useful,
18863
 
# but WITHOUT ANY WARRANTY; without even the implied warranty of
18864
 
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18865
 
# GNU General Public License for more details.
18866
 
#
18867
 
# You should have received a copy of the GNU General Public License
18868
 
# along with GNU Libtool; see the file COPYING.  If not, a copy
18869
 
# can be downloaded from http://www.gnu.org/licenses/gpl.html, or
18870
 
# obtained by writing to the Free Software Foundation, Inc.,
18871
 
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
18872
 
 
18873
 
 
18874
 
# The names of the tagged configurations supported by this script.
18875
 
available_tags="CXX "
18876
 
 
18877
 
# ### BEGIN LIBTOOL CONFIG
18878
 
 
18879
 
# Which release of libtool.m4 was used?
18880
 
macro_version=$macro_version
18881
 
macro_revision=$macro_revision
18882
 
 
18883
 
# Whether or not to build shared libraries.
18884
 
build_libtool_libs=$enable_shared
18885
 
 
18886
 
# Whether or not to build static libraries.
18887
 
build_old_libs=$enable_static
18888
 
 
18889
 
# What type of objects to build.
18890
 
pic_mode=$pic_mode
18891
 
 
18892
 
# Whether or not to optimize for fast installation.
18893
 
fast_install=$enable_fast_install
18894
 
 
18895
 
# Shell to use when invoking shell scripts.
18896
 
SHELL=$lt_SHELL
18897
 
 
18898
 
# An echo program that protects backslashes.
18899
 
ECHO=$lt_ECHO
18900
 
 
18901
 
# The PATH separator for the build system.
18902
 
PATH_SEPARATOR=$lt_PATH_SEPARATOR
18903
 
 
18904
 
# The host system.
18905
 
host_alias=$host_alias
18906
 
host=$host
18907
 
host_os=$host_os
18908
 
 
18909
 
# The build system.
18910
 
build_alias=$build_alias
18911
 
build=$build
18912
 
build_os=$build_os
18913
 
 
18914
 
# A sed program that does not truncate output.
18915
 
SED=$lt_SED
18916
 
 
18917
 
# Sed that helps us avoid accidentally triggering echo(1) options like -n.
18918
 
Xsed="\$SED -e 1s/^X//"
18919
 
 
18920
 
# A grep program that handles long lines.
18921
 
GREP=$lt_GREP
18922
 
 
18923
 
# An ERE matcher.
18924
 
EGREP=$lt_EGREP
18925
 
 
18926
 
# A literal string matcher.
18927
 
FGREP=$lt_FGREP
18928
 
 
18929
 
# A BSD- or MS-compatible name lister.
18930
 
NM=$lt_NM
18931
 
 
18932
 
# Whether we need soft or hard links.
18933
 
LN_S=$lt_LN_S
18934
 
 
18935
 
# What is the maximum length of a command?
18936
 
max_cmd_len=$max_cmd_len
18937
 
 
18938
 
# Object file suffix (normally "o").
18939
 
objext=$ac_objext
18940
 
 
18941
 
# Executable file suffix (normally "").
18942
 
exeext=$exeext
18943
 
 
18944
 
# whether the shell understands "unset".
18945
 
lt_unset=$lt_unset
18946
 
 
18947
 
# turn spaces into newlines.
18948
 
SP2NL=$lt_lt_SP2NL
18949
 
 
18950
 
# turn newlines into spaces.
18951
 
NL2SP=$lt_lt_NL2SP
18952
 
 
18953
 
# convert \$build file names to \$host format.
18954
 
to_host_file_cmd=$lt_cv_to_host_file_cmd
18955
 
 
18956
 
# convert \$build files to toolchain format.
18957
 
to_tool_file_cmd=$lt_cv_to_tool_file_cmd
18958
 
 
18959
 
# An object symbol dumper.
18960
 
OBJDUMP=$lt_OBJDUMP
18961
 
 
18962
 
# Method to check whether dependent libraries are shared objects.
18963
 
deplibs_check_method=$lt_deplibs_check_method
18964
 
 
18965
 
# Command to use when deplibs_check_method = "file_magic".
18966
 
file_magic_cmd=$lt_file_magic_cmd
18967
 
 
18968
 
# How to find potential files when deplibs_check_method = "file_magic".
18969
 
file_magic_glob=$lt_file_magic_glob
18970
 
 
18971
 
# Find potential files using nocaseglob when deplibs_check_method = "file_magic".
18972
 
want_nocaseglob=$lt_want_nocaseglob
18973
 
 
18974
 
# DLL creation program.
18975
 
DLLTOOL=$lt_DLLTOOL
18976
 
 
18977
 
# Command to associate shared and link libraries.
18978
 
sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
18979
 
 
18980
 
# The archiver.
18981
 
AR=$lt_AR
18982
 
 
18983
 
# Flags to create an archive.
18984
 
AR_FLAGS=$lt_AR_FLAGS
18985
 
 
18986
 
# How to feed a file listing to the archiver.
18987
 
archiver_list_spec=$lt_archiver_list_spec
18988
 
 
18989
 
# A symbol stripping program.
18990
 
STRIP=$lt_STRIP
18991
 
 
18992
 
# Commands used to install an old-style archive.
18993
 
RANLIB=$lt_RANLIB
18994
 
old_postinstall_cmds=$lt_old_postinstall_cmds
18995
 
old_postuninstall_cmds=$lt_old_postuninstall_cmds
18996
 
 
18997
 
# Whether to use a lock for old archive extraction.
18998
 
lock_old_archive_extraction=$lock_old_archive_extraction
18999
 
 
19000
 
# A C compiler.
19001
 
LTCC=$lt_CC
19002
 
 
19003
 
# LTCC compiler flags.
19004
 
LTCFLAGS=$lt_CFLAGS
19005
 
 
19006
 
# Take the output of nm and produce a listing of raw symbols and C names.
19007
 
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
19008
 
 
19009
 
# Transform the output of nm in a proper C declaration.
19010
 
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
19011
 
 
19012
 
# Transform the output of nm in a C name address pair.
19013
 
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
19014
 
 
19015
 
# Transform the output of nm in a C name address pair when lib prefix is needed.
19016
 
global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
19017
 
 
19018
 
# Specify filename containing input files for \$NM.
19019
 
nm_file_list_spec=$lt_nm_file_list_spec
19020
 
 
19021
 
# The root where to search for dependent libraries,and in which our libraries should be installed.
19022
 
lt_sysroot=$lt_sysroot
19023
 
 
19024
 
# The name of the directory that contains temporary libtool files.
19025
 
objdir=$objdir
19026
 
 
19027
 
# Used to examine libraries when file_magic_cmd begins with "file".
19028
 
MAGIC_CMD=$MAGIC_CMD
19029
 
 
19030
 
# Must we lock files when doing compilation?
19031
 
need_locks=$lt_need_locks
19032
 
 
19033
 
# Manifest tool.
19034
 
MANIFEST_TOOL=$lt_MANIFEST_TOOL
19035
 
 
19036
 
# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
19037
 
DSYMUTIL=$lt_DSYMUTIL
19038
 
 
19039
 
# Tool to change global to local symbols on Mac OS X.
19040
 
NMEDIT=$lt_NMEDIT
19041
 
 
19042
 
# Tool to manipulate fat objects and archives on Mac OS X.
19043
 
LIPO=$lt_LIPO
19044
 
 
19045
 
# ldd/readelf like tool for Mach-O binaries on Mac OS X.
19046
 
OTOOL=$lt_OTOOL
19047
 
 
19048
 
# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
19049
 
OTOOL64=$lt_OTOOL64
19050
 
 
19051
 
# Old archive suffix (normally "a").
19052
 
libext=$libext
19053
 
 
19054
 
# Shared library suffix (normally ".so").
19055
 
shrext_cmds=$lt_shrext_cmds
19056
 
 
19057
 
# The commands to extract the exported symbol list from a shared archive.
19058
 
extract_expsyms_cmds=$lt_extract_expsyms_cmds
19059
 
 
19060
 
# Variables whose values should be saved in libtool wrapper scripts and
19061
 
# restored at link time.
19062
 
variables_saved_for_relink=$lt_variables_saved_for_relink
19063
 
 
19064
 
# Do we need the "lib" prefix for modules?
19065
 
need_lib_prefix=$need_lib_prefix
19066
 
 
19067
 
# Do we need a version for libraries?
19068
 
need_version=$need_version
19069
 
 
19070
 
# Library versioning type.
19071
 
version_type=$version_type
19072
 
 
19073
 
# Shared library runtime path variable.
19074
 
runpath_var=$runpath_var
19075
 
 
19076
 
# Shared library path variable.
19077
 
shlibpath_var=$shlibpath_var
19078
 
 
19079
 
# Is shlibpath searched before the hard-coded library search path?
19080
 
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
19081
 
 
19082
 
# Format of library name prefix.
19083
 
libname_spec=$lt_libname_spec
19084
 
 
19085
 
# List of archive names.  First name is the real one, the rest are links.
19086
 
# The last name is the one that the linker finds with -lNAME
19087
 
library_names_spec=$lt_library_names_spec
19088
 
 
19089
 
# The coded name of the library, if different from the real name.
19090
 
soname_spec=$lt_soname_spec
19091
 
 
19092
 
# Permission mode override for installation of shared libraries.
19093
 
install_override_mode=$lt_install_override_mode
19094
 
 
19095
 
# Command to use after installation of a shared archive.
19096
 
postinstall_cmds=$lt_postinstall_cmds
19097
 
 
19098
 
# Command to use after uninstallation of a shared archive.
19099
 
postuninstall_cmds=$lt_postuninstall_cmds
19100
 
 
19101
 
# Commands used to finish a libtool library installation in a directory.
19102
 
finish_cmds=$lt_finish_cmds
19103
 
 
19104
 
# As "finish_cmds", except a single script fragment to be evaled but
19105
 
# not shown.
19106
 
finish_eval=$lt_finish_eval
19107
 
 
19108
 
# Whether we should hardcode library paths into libraries.
19109
 
hardcode_into_libs=$hardcode_into_libs
19110
 
 
19111
 
# Compile-time system search path for libraries.
19112
 
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
19113
 
 
19114
 
# Run-time system search path for libraries.
19115
 
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
19116
 
 
19117
 
# Whether dlopen is supported.
19118
 
dlopen_support=$enable_dlopen
19119
 
 
19120
 
# Whether dlopen of programs is supported.
19121
 
dlopen_self=$enable_dlopen_self
19122
 
 
19123
 
# Whether dlopen of statically linked programs is supported.
19124
 
dlopen_self_static=$enable_dlopen_self_static
19125
 
 
19126
 
# Commands to strip libraries.
19127
 
old_striplib=$lt_old_striplib
19128
 
striplib=$lt_striplib
19129
 
 
19130
 
 
19131
 
# The linker used to build libraries.
19132
 
LD=$lt_LD
19133
 
 
19134
 
# How to create reloadable object files.
19135
 
reload_flag=$lt_reload_flag
19136
 
reload_cmds=$lt_reload_cmds
19137
 
 
19138
 
# Commands used to build an old-style archive.
19139
 
old_archive_cmds=$lt_old_archive_cmds
19140
 
 
19141
 
# A language specific compiler.
19142
 
CC=$lt_compiler
19143
 
 
19144
 
# Is the compiler the GNU compiler?
19145
 
with_gcc=$GCC
19146
 
 
19147
 
# Compiler flag to turn off builtin functions.
19148
 
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
19149
 
 
19150
 
# Additional compiler flags for building library objects.
19151
 
pic_flag=$lt_lt_prog_compiler_pic
19152
 
 
19153
 
# How to pass a linker flag through the compiler.
19154
 
wl=$lt_lt_prog_compiler_wl
19155
 
 
19156
 
# Compiler flag to prevent dynamic linking.
19157
 
link_static_flag=$lt_lt_prog_compiler_static
19158
 
 
19159
 
# Does compiler simultaneously support -c and -o options?
19160
 
compiler_c_o=$lt_lt_cv_prog_compiler_c_o
19161
 
 
19162
 
# Whether or not to add -lc for building shared libraries.
19163
 
build_libtool_need_lc=$archive_cmds_need_lc
19164
 
 
19165
 
# Whether or not to disallow shared libs when runtime libs are static.
19166
 
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
19167
 
 
19168
 
# Compiler flag to allow reflexive dlopens.
19169
 
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
19170
 
 
19171
 
# Compiler flag to generate shared objects directly from archives.
19172
 
whole_archive_flag_spec=$lt_whole_archive_flag_spec
19173
 
 
19174
 
# Whether the compiler copes with passing no objects directly.
19175
 
compiler_needs_object=$lt_compiler_needs_object
19176
 
 
19177
 
# Create an old-style archive from a shared archive.
19178
 
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
19179
 
 
19180
 
# Create a temporary old-style archive to link instead of a shared archive.
19181
 
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
19182
 
 
19183
 
# Commands used to build a shared archive.
19184
 
archive_cmds=$lt_archive_cmds
19185
 
archive_expsym_cmds=$lt_archive_expsym_cmds
19186
 
 
19187
 
# Commands used to build a loadable module if different from building
19188
 
# a shared archive.
19189
 
module_cmds=$lt_module_cmds
19190
 
module_expsym_cmds=$lt_module_expsym_cmds
19191
 
 
19192
 
# Whether we are building with GNU ld or not.
19193
 
with_gnu_ld=$lt_with_gnu_ld
19194
 
 
19195
 
# Flag that allows shared libraries with undefined symbols to be built.
19196
 
allow_undefined_flag=$lt_allow_undefined_flag
19197
 
 
19198
 
# Flag that enforces no undefined symbols.
19199
 
no_undefined_flag=$lt_no_undefined_flag
19200
 
 
19201
 
# Flag to hardcode \$libdir into a binary during linking.
19202
 
# This must work even if \$libdir does not exist
19203
 
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
19204
 
 
19205
 
# Whether we need a single "-rpath" flag with a separated argument.
19206
 
hardcode_libdir_separator=$lt_hardcode_libdir_separator
19207
 
 
19208
 
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
19209
 
# DIR into the resulting binary.
19210
 
hardcode_direct=$hardcode_direct
19211
 
 
19212
 
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
19213
 
# DIR into the resulting binary and the resulting library dependency is
19214
 
# "absolute",i.e impossible to change by setting \${shlibpath_var} if the
19215
 
# library is relocated.
19216
 
hardcode_direct_absolute=$hardcode_direct_absolute
19217
 
 
19218
 
# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
19219
 
# into the resulting binary.
19220
 
hardcode_minus_L=$hardcode_minus_L
19221
 
 
19222
 
# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
19223
 
# into the resulting binary.
19224
 
hardcode_shlibpath_var=$hardcode_shlibpath_var
19225
 
 
19226
 
# Set to "yes" if building a shared library automatically hardcodes DIR
19227
 
# into the library and all subsequent libraries and executables linked
19228
 
# against it.
19229
 
hardcode_automatic=$hardcode_automatic
19230
 
 
19231
 
# Set to yes if linker adds runtime paths of dependent libraries
19232
 
# to runtime path list.
19233
 
inherit_rpath=$inherit_rpath
19234
 
 
19235
 
# Whether libtool must link a program against all its dependency libraries.
19236
 
link_all_deplibs=$link_all_deplibs
19237
 
 
19238
 
# Set to "yes" if exported symbols are required.
19239
 
always_export_symbols=$always_export_symbols
19240
 
 
19241
 
# The commands to list exported symbols.
19242
 
export_symbols_cmds=$lt_export_symbols_cmds
19243
 
 
19244
 
# Symbols that should not be listed in the preloaded symbols.
19245
 
exclude_expsyms=$lt_exclude_expsyms
19246
 
 
19247
 
# Symbols that must always be exported.
19248
 
include_expsyms=$lt_include_expsyms
19249
 
 
19250
 
# Commands necessary for linking programs (against libraries) with templates.
19251
 
prelink_cmds=$lt_prelink_cmds
19252
 
 
19253
 
# Commands necessary for finishing linking programs.
19254
 
postlink_cmds=$lt_postlink_cmds
19255
 
 
19256
 
# Specify filename containing input files.
19257
 
file_list_spec=$lt_file_list_spec
19258
 
 
19259
 
# How to hardcode a shared library path into an executable.
19260
 
hardcode_action=$hardcode_action
19261
 
 
19262
 
# The directories searched by this compiler when creating a shared library.
19263
 
compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
19264
 
 
19265
 
# Dependencies to place before and after the objects being linked to
19266
 
# create a shared library.
19267
 
predep_objects=$lt_predep_objects
19268
 
postdep_objects=$lt_postdep_objects
19269
 
predeps=$lt_predeps
19270
 
postdeps=$lt_postdeps
19271
 
 
19272
 
# The library search path used internally by the compiler when linking
19273
 
# a shared library.
19274
 
compiler_lib_search_path=$lt_compiler_lib_search_path
19275
 
 
19276
 
# ### END LIBTOOL CONFIG
19277
 
 
19278
 
_LT_EOF
19279
 
 
19280
 
  case $host_os in
19281
 
  aix3*)
19282
 
    cat <<\_LT_EOF >> "$cfgfile"
19283
 
# AIX sometimes has problems with the GCC collect2 program.  For some
19284
 
# reason, if we set the COLLECT_NAMES environment variable, the problems
19285
 
# vanish in a puff of smoke.
19286
 
if test "X${COLLECT_NAMES+set}" != Xset; then
19287
 
  COLLECT_NAMES=
19288
 
  export COLLECT_NAMES
19289
 
fi
19290
 
_LT_EOF
19291
 
    ;;
19292
 
  esac
19293
 
 
19294
 
 
19295
 
ltmain="$ac_aux_dir/ltmain.sh"
19296
 
 
19297
 
 
19298
 
  # We use sed instead of cat because bash on DJGPP gets confused if
19299
 
  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
19300
 
  # text mode, it properly converts lines to CR/LF.  This bash problem
19301
 
  # is reportedly fixed, but why not run on old versions too?
19302
 
  sed '$q' "$ltmain" >> "$cfgfile" \
19303
 
     || (rm -f "$cfgfile"; exit 1)
19304
 
 
19305
 
  if test x"$xsi_shell" = xyes; then
19306
 
  sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
19307
 
func_dirname ()\
19308
 
{\
19309
 
\    case ${1} in\
19310
 
\      */*) func_dirname_result="${1%/*}${2}" ;;\
19311
 
\      *  ) func_dirname_result="${3}" ;;\
19312
 
\    esac\
19313
 
} # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
19314
 
  && mv -f "$cfgfile.tmp" "$cfgfile" \
19315
 
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19316
 
test 0 -eq $? || _lt_function_replace_fail=:
19317
 
 
19318
 
 
19319
 
  sed -e '/^func_basename ()$/,/^} # func_basename /c\
19320
 
func_basename ()\
19321
 
{\
19322
 
\    func_basename_result="${1##*/}"\
19323
 
} # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
19324
 
  && mv -f "$cfgfile.tmp" "$cfgfile" \
19325
 
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19326
 
test 0 -eq $? || _lt_function_replace_fail=:
19327
 
 
19328
 
 
19329
 
  sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
19330
 
func_dirname_and_basename ()\
19331
 
{\
19332
 
\    case ${1} in\
19333
 
\      */*) func_dirname_result="${1%/*}${2}" ;;\
19334
 
\      *  ) func_dirname_result="${3}" ;;\
19335
 
\    esac\
19336
 
\    func_basename_result="${1##*/}"\
19337
 
} # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
19338
 
  && mv -f "$cfgfile.tmp" "$cfgfile" \
19339
 
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19340
 
test 0 -eq $? || _lt_function_replace_fail=:
19341
 
 
19342
 
 
19343
 
  sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
19344
 
func_stripname ()\
19345
 
{\
19346
 
\    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
19347
 
\    # positional parameters, so assign one to ordinary parameter first.\
19348
 
\    func_stripname_result=${3}\
19349
 
\    func_stripname_result=${func_stripname_result#"${1}"}\
19350
 
\    func_stripname_result=${func_stripname_result%"${2}"}\
19351
 
} # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
19352
 
  && mv -f "$cfgfile.tmp" "$cfgfile" \
19353
 
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19354
 
test 0 -eq $? || _lt_function_replace_fail=:
19355
 
 
19356
 
 
19357
 
  sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
19358
 
func_split_long_opt ()\
19359
 
{\
19360
 
\    func_split_long_opt_name=${1%%=*}\
19361
 
\    func_split_long_opt_arg=${1#*=}\
19362
 
} # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
19363
 
  && mv -f "$cfgfile.tmp" "$cfgfile" \
19364
 
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19365
 
test 0 -eq $? || _lt_function_replace_fail=:
19366
 
 
19367
 
 
19368
 
  sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
19369
 
func_split_short_opt ()\
19370
 
{\
19371
 
\    func_split_short_opt_arg=${1#??}\
19372
 
\    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
19373
 
} # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
19374
 
  && mv -f "$cfgfile.tmp" "$cfgfile" \
19375
 
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19376
 
test 0 -eq $? || _lt_function_replace_fail=:
19377
 
 
19378
 
 
19379
 
  sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
19380
 
func_lo2o ()\
19381
 
{\
19382
 
\    case ${1} in\
19383
 
\      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
19384
 
\      *)    func_lo2o_result=${1} ;;\
19385
 
\    esac\
19386
 
} # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
19387
 
  && mv -f "$cfgfile.tmp" "$cfgfile" \
19388
 
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19389
 
test 0 -eq $? || _lt_function_replace_fail=:
19390
 
 
19391
 
 
19392
 
  sed -e '/^func_xform ()$/,/^} # func_xform /c\
19393
 
func_xform ()\
19394
 
{\
19395
 
    func_xform_result=${1%.*}.lo\
19396
 
} # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
19397
 
  && mv -f "$cfgfile.tmp" "$cfgfile" \
19398
 
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19399
 
test 0 -eq $? || _lt_function_replace_fail=:
19400
 
 
19401
 
 
19402
 
  sed -e '/^func_arith ()$/,/^} # func_arith /c\
19403
 
func_arith ()\
19404
 
{\
19405
 
    func_arith_result=$(( $* ))\
19406
 
} # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
19407
 
  && mv -f "$cfgfile.tmp" "$cfgfile" \
19408
 
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19409
 
test 0 -eq $? || _lt_function_replace_fail=:
19410
 
 
19411
 
 
19412
 
  sed -e '/^func_len ()$/,/^} # func_len /c\
19413
 
func_len ()\
19414
 
{\
19415
 
    func_len_result=${#1}\
19416
 
} # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
19417
 
  && mv -f "$cfgfile.tmp" "$cfgfile" \
19418
 
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19419
 
test 0 -eq $? || _lt_function_replace_fail=:
19420
 
 
19421
 
fi
19422
 
 
19423
 
if test x"$lt_shell_append" = xyes; then
19424
 
  sed -e '/^func_append ()$/,/^} # func_append /c\
19425
 
func_append ()\
19426
 
{\
19427
 
    eval "${1}+=\\${2}"\
19428
 
} # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
19429
 
  && mv -f "$cfgfile.tmp" "$cfgfile" \
19430
 
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19431
 
test 0 -eq $? || _lt_function_replace_fail=:
19432
 
 
19433
 
 
19434
 
  sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
19435
 
func_append_quoted ()\
19436
 
{\
19437
 
\    func_quote_for_eval "${2}"\
19438
 
\    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
19439
 
} # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
19440
 
  && mv -f "$cfgfile.tmp" "$cfgfile" \
19441
 
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19442
 
test 0 -eq $? || _lt_function_replace_fail=:
19443
 
 
19444
 
 
19445
 
  # Save a `func_append' function call where possible by direct use of '+='
19446
 
  sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
19447
 
    && mv -f "$cfgfile.tmp" "$cfgfile" \
19448
 
      || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19449
 
  test 0 -eq $? || _lt_function_replace_fail=:
19450
 
else
19451
 
  # Save a `func_append' function call even when '+=' is not available
19452
 
  sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
19453
 
    && mv -f "$cfgfile.tmp" "$cfgfile" \
19454
 
      || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19455
 
  test 0 -eq $? || _lt_function_replace_fail=:
19456
 
fi
19457
 
 
19458
 
if test x"$_lt_function_replace_fail" = x":"; then
19459
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
19460
 
$as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
19461
 
fi
19462
 
 
19463
 
 
19464
 
   mv -f "$cfgfile" "$ofile" ||
19465
 
    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
19466
 
  chmod +x "$ofile"
19467
 
 
19468
 
 
19469
 
    cat <<_LT_EOF >> "$ofile"
19470
 
 
19471
 
# ### BEGIN LIBTOOL TAG CONFIG: CXX
19472
 
 
19473
 
# The linker used to build libraries.
19474
 
LD=$lt_LD_CXX
19475
 
 
19476
 
# How to create reloadable object files.
19477
 
reload_flag=$lt_reload_flag_CXX
19478
 
reload_cmds=$lt_reload_cmds_CXX
19479
 
 
19480
 
# Commands used to build an old-style archive.
19481
 
old_archive_cmds=$lt_old_archive_cmds_CXX
19482
 
 
19483
 
# A language specific compiler.
19484
 
CC=$lt_compiler_CXX
19485
 
 
19486
 
# Is the compiler the GNU compiler?
19487
 
with_gcc=$GCC_CXX
19488
 
 
19489
 
# Compiler flag to turn off builtin functions.
19490
 
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
19491
 
 
19492
 
# Additional compiler flags for building library objects.
19493
 
pic_flag=$lt_lt_prog_compiler_pic_CXX
19494
 
 
19495
 
# How to pass a linker flag through the compiler.
19496
 
wl=$lt_lt_prog_compiler_wl_CXX
19497
 
 
19498
 
# Compiler flag to prevent dynamic linking.
19499
 
link_static_flag=$lt_lt_prog_compiler_static_CXX
19500
 
 
19501
 
# Does compiler simultaneously support -c and -o options?
19502
 
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
19503
 
 
19504
 
# Whether or not to add -lc for building shared libraries.
19505
 
build_libtool_need_lc=$archive_cmds_need_lc_CXX
19506
 
 
19507
 
# Whether or not to disallow shared libs when runtime libs are static.
19508
 
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
19509
 
 
19510
 
# Compiler flag to allow reflexive dlopens.
19511
 
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
19512
 
 
19513
 
# Compiler flag to generate shared objects directly from archives.
19514
 
whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
19515
 
 
19516
 
# Whether the compiler copes with passing no objects directly.
19517
 
compiler_needs_object=$lt_compiler_needs_object_CXX
19518
 
 
19519
 
# Create an old-style archive from a shared archive.
19520
 
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
19521
 
 
19522
 
# Create a temporary old-style archive to link instead of a shared archive.
19523
 
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
19524
 
 
19525
 
# Commands used to build a shared archive.
19526
 
archive_cmds=$lt_archive_cmds_CXX
19527
 
archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
19528
 
 
19529
 
# Commands used to build a loadable module if different from building
19530
 
# a shared archive.
19531
 
module_cmds=$lt_module_cmds_CXX
19532
 
module_expsym_cmds=$lt_module_expsym_cmds_CXX
19533
 
 
19534
 
# Whether we are building with GNU ld or not.
19535
 
with_gnu_ld=$lt_with_gnu_ld_CXX
19536
 
 
19537
 
# Flag that allows shared libraries with undefined symbols to be built.
19538
 
allow_undefined_flag=$lt_allow_undefined_flag_CXX
19539
 
 
19540
 
# Flag that enforces no undefined symbols.
19541
 
no_undefined_flag=$lt_no_undefined_flag_CXX
19542
 
 
19543
 
# Flag to hardcode \$libdir into a binary during linking.
19544
 
# This must work even if \$libdir does not exist
19545
 
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
19546
 
 
19547
 
# Whether we need a single "-rpath" flag with a separated argument.
19548
 
hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
19549
 
 
19550
 
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
19551
 
# DIR into the resulting binary.
19552
 
hardcode_direct=$hardcode_direct_CXX
19553
 
 
19554
 
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
19555
 
# DIR into the resulting binary and the resulting library dependency is
19556
 
# "absolute",i.e impossible to change by setting \${shlibpath_var} if the
19557
 
# library is relocated.
19558
 
hardcode_direct_absolute=$hardcode_direct_absolute_CXX
19559
 
 
19560
 
# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
19561
 
# into the resulting binary.
19562
 
hardcode_minus_L=$hardcode_minus_L_CXX
19563
 
 
19564
 
# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
19565
 
# into the resulting binary.
19566
 
hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
19567
 
 
19568
 
# Set to "yes" if building a shared library automatically hardcodes DIR
19569
 
# into the library and all subsequent libraries and executables linked
19570
 
# against it.
19571
 
hardcode_automatic=$hardcode_automatic_CXX
19572
 
 
19573
 
# Set to yes if linker adds runtime paths of dependent libraries
19574
 
# to runtime path list.
19575
 
inherit_rpath=$inherit_rpath_CXX
19576
 
 
19577
 
# Whether libtool must link a program against all its dependency libraries.
19578
 
link_all_deplibs=$link_all_deplibs_CXX
19579
 
 
19580
 
# Set to "yes" if exported symbols are required.
19581
 
always_export_symbols=$always_export_symbols_CXX
19582
 
 
19583
 
# The commands to list exported symbols.
19584
 
export_symbols_cmds=$lt_export_symbols_cmds_CXX
19585
 
 
19586
 
# Symbols that should not be listed in the preloaded symbols.
19587
 
exclude_expsyms=$lt_exclude_expsyms_CXX
19588
 
 
19589
 
# Symbols that must always be exported.
19590
 
include_expsyms=$lt_include_expsyms_CXX
19591
 
 
19592
 
# Commands necessary for linking programs (against libraries) with templates.
19593
 
prelink_cmds=$lt_prelink_cmds_CXX
19594
 
 
19595
 
# Commands necessary for finishing linking programs.
19596
 
postlink_cmds=$lt_postlink_cmds_CXX
19597
 
 
19598
 
# Specify filename containing input files.
19599
 
file_list_spec=$lt_file_list_spec_CXX
19600
 
 
19601
 
# How to hardcode a shared library path into an executable.
19602
 
hardcode_action=$hardcode_action_CXX
19603
 
 
19604
 
# The directories searched by this compiler when creating a shared library.
19605
 
compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
19606
 
 
19607
 
# Dependencies to place before and after the objects being linked to
19608
 
# create a shared library.
19609
 
predep_objects=$lt_predep_objects_CXX
19610
 
postdep_objects=$lt_postdep_objects_CXX
19611
 
predeps=$lt_predeps_CXX
19612
 
postdeps=$lt_postdeps_CXX
19613
 
 
19614
 
# The library search path used internally by the compiler when linking
19615
 
# a shared library.
19616
 
compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
19617
 
 
19618
 
# ### END LIBTOOL TAG CONFIG: CXX
19619
 
_LT_EOF
19620
 
 
19621
 
 ;;
19622
 
 
19623
 
  esac
19624
 
done # for ac_tag
19625
 
 
19626
 
 
19627
 
as_fn_exit 0
19628
 
_ACEOF
19629
 
ac_clean_files=$ac_clean_files_save
19630
 
 
19631
 
test $ac_write_fail = 0 ||
19632
 
  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
19633
 
 
19634
 
 
19635
 
# configure is writing to config.log, and then calls config.status.
19636
 
# config.status does its own redirection, appending to config.log.
19637
 
# Unfortunately, on DOS this fails, as config.log is still kept open
19638
 
# by configure, so config.status won't be able to write to it; its
19639
 
# output is simply discarded.  So we exec the FD to /dev/null,
19640
 
# effectively closing config.log, so it can be properly (re)opened and
19641
 
# appended to by config.status.  When coming back to configure, we
19642
 
# need to make the FD available again.
19643
 
if test "$no_create" != yes; then
19644
 
  ac_cs_success=:
19645
 
  ac_config_status_args=
19646
 
  test "$silent" = yes &&
19647
 
    ac_config_status_args="$ac_config_status_args --quiet"
19648
 
  exec 5>/dev/null
19649
 
  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
19650
 
  exec 5>>config.log
19651
 
  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
19652
 
  # would make configure fail if this is the last instruction.
19653
 
  $ac_cs_success || as_fn_exit 1
19654
 
fi
19655
 
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
19656
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
19657
 
$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
19658
 
fi
19659
 
 
19660
 
 
19661
 
{ $as_echo "$as_me:${as_lineno-$LINENO}:
19662
 
 
19663
 
libcmis $VERSION:
19664
 
              Prefix: ${prefix}
19665
 
      Compiler flags: ${CXXFLAGS}
19666
 
              client: ${enable_client}
19667
 
              werror: ${enable_werror}
19668
 
               tests: ${enable_tests}
19669
 
          long tests: ${enable_long_tests}
19670
 
      cppcheck tests: ${enable_cppcheck}
19671
 
                mans: ${build_man}
19672
 
" >&5
19673
 
$as_echo "$as_me:
19674
 
 
19675
 
libcmis $VERSION:
19676
 
              Prefix: ${prefix}
19677
 
      Compiler flags: ${CXXFLAGS}
19678
 
              client: ${enable_client}
19679
 
              werror: ${enable_werror}
19680
 
               tests: ${enable_tests}
19681
 
          long tests: ${enable_long_tests}
19682
 
      cppcheck tests: ${enable_cppcheck}
19683
 
                mans: ${build_man}
19684
 
" >&6;}