~ubuntu-branches/debian/sid/subunit/sid

« back to all changes in this revision

Viewing changes to configure

  • Committer: Package Import Robot
  • Author(s): Jelmer Vernooij
  • Date: 2012-04-08 21:44:01 UTC
  • mfrom: (1.1.7)
  • Revision ID: package-import@ubuntu.com-20120408214401-7uyuh0zhx7lvpp7j
Tags: 0.0.7+bzr162-1
* New upstream snapshot.
 + Fixes compatibility with current versions of testtools. Closes: #669491
* Support installation for multiple python versions.
* Include egg-info for python-subunit. LP: #893620
* Add python3-subunit package.
* Bump standards version to 3.9.3 (no changes).
* Use machine parseable format for copyright file.

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.67 for subunit 0.0.7.
4
 
#
5
 
# Report bugs to <subunit-dev@lists.launchpad.net>.
6
 
#
7
 
#
8
 
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9
 
# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
10
 
# Foundation, Inc.
11
 
#
12
 
#
13
 
# This configure script is free software; the Free Software Foundation
14
 
# gives unlimited permission to copy, distribute and modify it.
15
 
## -------------------- ##
16
 
## M4sh Initialization. ##
17
 
## -------------------- ##
18
 
 
19
 
# Be more Bourne compatible
20
 
DUALCASE=1; export DUALCASE # for MKS sh
21
 
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
22
 
  emulate sh
23
 
  NULLCMD=:
24
 
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
25
 
  # is contrary to our usage.  Disable this feature.
26
 
  alias -g '${1+"$@"}'='"$@"'
27
 
  setopt NO_GLOB_SUBST
28
 
else
29
 
  case `(set -o) 2>/dev/null` in #(
30
 
  *posix*) :
31
 
    set -o posix ;; #(
32
 
  *) :
33
 
     ;;
34
 
esac
35
 
fi
36
 
 
37
 
 
38
 
as_nl='
39
 
'
40
 
export as_nl
41
 
# Printing a long string crashes Solaris 7 /usr/bin/printf.
42
 
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
43
 
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
44
 
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
45
 
# Prefer a ksh shell builtin over an external printf program on Solaris,
46
 
# but without wasting forks for bash or zsh.
47
 
if test -z "$BASH_VERSION$ZSH_VERSION" \
48
 
    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
49
 
  as_echo='print -r --'
50
 
  as_echo_n='print -rn --'
51
 
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
52
 
  as_echo='printf %s\n'
53
 
  as_echo_n='printf %s'
54
 
else
55
 
  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
56
 
    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
57
 
    as_echo_n='/usr/ucb/echo -n'
58
 
  else
59
 
    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60
 
    as_echo_n_body='eval
61
 
      arg=$1;
62
 
      case $arg in #(
63
 
      *"$as_nl"*)
64
 
        expr "X$arg" : "X\\(.*\\)$as_nl";
65
 
        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
66
 
      esac;
67
 
      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
68
 
    '
69
 
    export as_echo_n_body
70
 
    as_echo_n='sh -c $as_echo_n_body as_echo'
71
 
  fi
72
 
  export as_echo_body
73
 
  as_echo='sh -c $as_echo_body as_echo'
74
 
fi
75
 
 
76
 
# The user is always right.
77
 
if test "${PATH_SEPARATOR+set}" != set; then
78
 
  PATH_SEPARATOR=:
79
 
  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
80
 
    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
81
 
      PATH_SEPARATOR=';'
82
 
  }
83
 
fi
84
 
 
85
 
 
86
 
# IFS
87
 
# We need space, tab and new line, in precisely that order.  Quoting is
88
 
# there to prevent editors from complaining about space-tab.
89
 
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
90
 
# splitting by setting IFS to empty value.)
91
 
IFS=" ""        $as_nl"
92
 
 
93
 
# Find who we are.  Look in the path if we contain no directory separator.
94
 
case $0 in #((
95
 
  *[\\/]* ) as_myself=$0 ;;
96
 
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
97
 
for as_dir in $PATH
98
 
do
99
 
  IFS=$as_save_IFS
100
 
  test -z "$as_dir" && as_dir=.
101
 
    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
102
 
  done
103
 
IFS=$as_save_IFS
104
 
 
105
 
     ;;
106
 
esac
107
 
# We did not find ourselves, most probably we were run as `sh COMMAND'
108
 
# in which case we are not to be found in the path.
109
 
if test "x$as_myself" = x; then
110
 
  as_myself=$0
111
 
fi
112
 
if test ! -f "$as_myself"; then
113
 
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
114
 
  exit 1
115
 
fi
116
 
 
117
 
# Unset variables that we do not need and which cause bugs (e.g. in
118
 
# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
119
 
# suppresses any "Segmentation fault" message there.  '((' could
120
 
# trigger a bug in pdksh 5.2.14.
121
 
for as_var in BASH_ENV ENV MAIL MAILPATH
122
 
do eval test x\${$as_var+set} = xset \
123
 
  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
124
 
done
125
 
PS1='$ '
126
 
PS2='> '
127
 
PS4='+ '
128
 
 
129
 
# NLS nuisances.
130
 
LC_ALL=C
131
 
export LC_ALL
132
 
LANGUAGE=C
133
 
export LANGUAGE
134
 
 
135
 
# CDPATH.
136
 
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
137
 
 
138
 
if test "x$CONFIG_SHELL" = x; then
139
 
  as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
140
 
  emulate sh
141
 
  NULLCMD=:
142
 
  # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
143
 
  # is contrary to our usage.  Disable this feature.
144
 
  alias -g '\${1+\"\$@\"}'='\"\$@\"'
145
 
  setopt NO_GLOB_SUBST
146
 
else
147
 
  case \`(set -o) 2>/dev/null\` in #(
148
 
  *posix*) :
149
 
    set -o posix ;; #(
150
 
  *) :
151
 
     ;;
152
 
esac
153
 
fi
154
 
"
155
 
  as_required="as_fn_return () { (exit \$1); }
156
 
as_fn_success () { as_fn_return 0; }
157
 
as_fn_failure () { as_fn_return 1; }
158
 
as_fn_ret_success () { return 0; }
159
 
as_fn_ret_failure () { return 1; }
160
 
 
161
 
exitcode=0
162
 
as_fn_success || { exitcode=1; echo as_fn_success failed.; }
163
 
as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
164
 
as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
165
 
as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
166
 
if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
167
 
 
168
 
else
169
 
  exitcode=1; echo positional parameters were not saved.
170
 
fi
171
 
test x\$exitcode = x0 || exit 1"
172
 
  as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
173
 
  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
174
 
  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
175
 
  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
176
 
test \$(( 1 + 1 )) = 2 || exit 1"
177
 
  if (eval "$as_required") 2>/dev/null; then :
178
 
  as_have_required=yes
179
 
else
180
 
  as_have_required=no
181
 
fi
182
 
  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
183
 
 
184
 
else
185
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
186
 
as_found=false
187
 
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
188
 
do
189
 
  IFS=$as_save_IFS
190
 
  test -z "$as_dir" && as_dir=.
191
 
  as_found=:
192
 
  case $as_dir in #(
193
 
         /*)
194
 
           for as_base in sh bash ksh sh5; do
195
 
             # Try only shells that exist, to save several forks.
196
 
             as_shell=$as_dir/$as_base
197
 
             if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
198
 
                    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
199
 
  CONFIG_SHELL=$as_shell as_have_required=yes
200
 
                   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
201
 
  break 2
202
 
fi
203
 
fi
204
 
           done;;
205
 
       esac
206
 
  as_found=false
207
 
done
208
 
$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
209
 
              { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
210
 
  CONFIG_SHELL=$SHELL as_have_required=yes
211
 
fi; }
212
 
IFS=$as_save_IFS
213
 
 
214
 
 
215
 
      if test "x$CONFIG_SHELL" != x; then :
216
 
  # We cannot yet assume a decent shell, so we have to provide a
217
 
        # neutralization value for shells without unset; and this also
218
 
        # works around shells that cannot unset nonexistent variables.
219
 
        BASH_ENV=/dev/null
220
 
        ENV=/dev/null
221
 
        (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
222
 
        export CONFIG_SHELL
223
 
        exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
224
 
fi
225
 
 
226
 
    if test x$as_have_required = xno; then :
227
 
  $as_echo "$0: This script requires a shell more modern than all"
228
 
  $as_echo "$0: the shells that I found on your system."
229
 
  if test x${ZSH_VERSION+set} = xset ; then
230
 
    $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
231
 
    $as_echo "$0: be upgraded to zsh 4.3.4 or later."
232
 
  else
233
 
    $as_echo "$0: Please tell bug-autoconf@gnu.org and
234
 
$0: subunit-dev@lists.launchpad.net about your system,
235
 
$0: including any error possibly output before this
236
 
$0: message. Then install a modern shell, or manually run
237
 
$0: the script under such a shell if you do have one."
238
 
  fi
239
 
  exit 1
240
 
fi
241
 
fi
242
 
fi
243
 
SHELL=${CONFIG_SHELL-/bin/sh}
244
 
export SHELL
245
 
# Unset more variables known to interfere with behavior of common tools.
246
 
CLICOLOR_FORCE= GREP_OPTIONS=
247
 
unset CLICOLOR_FORCE GREP_OPTIONS
248
 
 
249
 
## --------------------- ##
250
 
## M4sh Shell Functions. ##
251
 
## --------------------- ##
252
 
# as_fn_unset VAR
253
 
# ---------------
254
 
# Portably unset VAR.
255
 
as_fn_unset ()
256
 
{
257
 
  { eval $1=; unset $1;}
258
 
}
259
 
as_unset=as_fn_unset
260
 
 
261
 
# as_fn_set_status STATUS
262
 
# -----------------------
263
 
# Set $? to STATUS, without forking.
264
 
as_fn_set_status ()
265
 
{
266
 
  return $1
267
 
} # as_fn_set_status
268
 
 
269
 
# as_fn_exit STATUS
270
 
# -----------------
271
 
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
272
 
as_fn_exit ()
273
 
{
274
 
  set +e
275
 
  as_fn_set_status $1
276
 
  exit $1
277
 
} # as_fn_exit
278
 
 
279
 
# as_fn_mkdir_p
280
 
# -------------
281
 
# Create "$as_dir" as a directory, including parents if necessary.
282
 
as_fn_mkdir_p ()
283
 
{
284
 
 
285
 
  case $as_dir in #(
286
 
  -*) as_dir=./$as_dir;;
287
 
  esac
288
 
  test -d "$as_dir" || eval $as_mkdir_p || {
289
 
    as_dirs=
290
 
    while :; do
291
 
      case $as_dir in #(
292
 
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
293
 
      *) as_qdir=$as_dir;;
294
 
      esac
295
 
      as_dirs="'$as_qdir' $as_dirs"
296
 
      as_dir=`$as_dirname -- "$as_dir" ||
297
 
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
298
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
299
 
         X"$as_dir" : 'X\(//\)$' \| \
300
 
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
301
 
$as_echo X"$as_dir" |
302
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
303
 
            s//\1/
304
 
            q
305
 
          }
306
 
          /^X\(\/\/\)[^/].*/{
307
 
            s//\1/
308
 
            q
309
 
          }
310
 
          /^X\(\/\/\)$/{
311
 
            s//\1/
312
 
            q
313
 
          }
314
 
          /^X\(\/\).*/{
315
 
            s//\1/
316
 
            q
317
 
          }
318
 
          s/.*/./; q'`
319
 
      test -d "$as_dir" && break
320
 
    done
321
 
    test -z "$as_dirs" || eval "mkdir $as_dirs"
322
 
  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
323
 
 
324
 
 
325
 
} # as_fn_mkdir_p
326
 
# as_fn_append VAR VALUE
327
 
# ----------------------
328
 
# Append the text in VALUE to the end of the definition contained in VAR. Take
329
 
# advantage of any shell optimizations that allow amortized linear growth over
330
 
# repeated appends, instead of the typical quadratic growth present in naive
331
 
# implementations.
332
 
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
333
 
  eval 'as_fn_append ()
334
 
  {
335
 
    eval $1+=\$2
336
 
  }'
337
 
else
338
 
  as_fn_append ()
339
 
  {
340
 
    eval $1=\$$1\$2
341
 
  }
342
 
fi # as_fn_append
343
 
 
344
 
# as_fn_arith ARG...
345
 
# ------------------
346
 
# Perform arithmetic evaluation on the ARGs, and store the result in the
347
 
# global $as_val. Take advantage of shells that can avoid forks. The arguments
348
 
# must be portable across $(()) and expr.
349
 
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
350
 
  eval 'as_fn_arith ()
351
 
  {
352
 
    as_val=$(( $* ))
353
 
  }'
354
 
else
355
 
  as_fn_arith ()
356
 
  {
357
 
    as_val=`expr "$@" || test $? -eq 1`
358
 
  }
359
 
fi # as_fn_arith
360
 
 
361
 
 
362
 
# as_fn_error STATUS ERROR [LINENO LOG_FD]
363
 
# ----------------------------------------
364
 
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
365
 
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
366
 
# script with STATUS, using 1 if that was 0.
367
 
as_fn_error ()
368
 
{
369
 
  as_status=$1; test $as_status -eq 0 && as_status=1
370
 
  if test "$4"; then
371
 
    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
372
 
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
373
 
  fi
374
 
  $as_echo "$as_me: error: $2" >&2
375
 
  as_fn_exit $as_status
376
 
} # as_fn_error
377
 
 
378
 
if expr a : '\(a\)' >/dev/null 2>&1 &&
379
 
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
380
 
  as_expr=expr
381
 
else
382
 
  as_expr=false
383
 
fi
384
 
 
385
 
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
386
 
  as_basename=basename
387
 
else
388
 
  as_basename=false
389
 
fi
390
 
 
391
 
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
392
 
  as_dirname=dirname
393
 
else
394
 
  as_dirname=false
395
 
fi
396
 
 
397
 
as_me=`$as_basename -- "$0" ||
398
 
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
399
 
         X"$0" : 'X\(//\)$' \| \
400
 
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
401
 
$as_echo X/"$0" |
402
 
    sed '/^.*\/\([^/][^/]*\)\/*$/{
403
 
            s//\1/
404
 
            q
405
 
          }
406
 
          /^X\/\(\/\/\)$/{
407
 
            s//\1/
408
 
            q
409
 
          }
410
 
          /^X\/\(\/\).*/{
411
 
            s//\1/
412
 
            q
413
 
          }
414
 
          s/.*/./; q'`
415
 
 
416
 
# Avoid depending upon Character Ranges.
417
 
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
418
 
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
419
 
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
420
 
as_cr_digits='0123456789'
421
 
as_cr_alnum=$as_cr_Letters$as_cr_digits
422
 
 
423
 
 
424
 
  as_lineno_1=$LINENO as_lineno_1a=$LINENO
425
 
  as_lineno_2=$LINENO as_lineno_2a=$LINENO
426
 
  eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
427
 
  test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
428
 
  # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
429
 
  sed -n '
430
 
    p
431
 
    /[$]LINENO/=
432
 
  ' <$as_myself |
433
 
    sed '
434
 
      s/[$]LINENO.*/&-/
435
 
      t lineno
436
 
      b
437
 
      :lineno
438
 
      N
439
 
      :loop
440
 
      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
441
 
      t loop
442
 
      s/-\n.*//
443
 
    ' >$as_me.lineno &&
444
 
  chmod +x "$as_me.lineno" ||
445
 
    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
446
 
 
447
 
  # Don't try to exec as it changes $[0], causing all sort of problems
448
 
  # (the dirname of $[0] is not the place where we might find the
449
 
  # original and so on.  Autoconf is especially sensitive to this).
450
 
  . "./$as_me.lineno"
451
 
  # Exit status is that of the last command.
452
 
  exit
453
 
}
454
 
 
455
 
ECHO_C= ECHO_N= ECHO_T=
456
 
case `echo -n x` in #(((((
457
 
-n*)
458
 
  case `echo 'xy\c'` in
459
 
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
460
 
  xy)  ECHO_C='\c';;
461
 
  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
462
 
       ECHO_T=' ';;
463
 
  esac;;
464
 
*)
465
 
  ECHO_N='-n';;
466
 
esac
467
 
 
468
 
rm -f conf$$ conf$$.exe conf$$.file
469
 
if test -d conf$$.dir; then
470
 
  rm -f conf$$.dir/conf$$.file
471
 
else
472
 
  rm -f conf$$.dir
473
 
  mkdir conf$$.dir 2>/dev/null
474
 
fi
475
 
if (echo >conf$$.file) 2>/dev/null; then
476
 
  if ln -s conf$$.file conf$$ 2>/dev/null; then
477
 
    as_ln_s='ln -s'
478
 
    # ... but there are two gotchas:
479
 
    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
480
 
    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
481
 
    # In both cases, we have to default to `cp -p'.
482
 
    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
483
 
      as_ln_s='cp -p'
484
 
  elif ln conf$$.file conf$$ 2>/dev/null; then
485
 
    as_ln_s=ln
486
 
  else
487
 
    as_ln_s='cp -p'
488
 
  fi
489
 
else
490
 
  as_ln_s='cp -p'
491
 
fi
492
 
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
493
 
rmdir conf$$.dir 2>/dev/null
494
 
 
495
 
if mkdir -p . 2>/dev/null; then
496
 
  as_mkdir_p='mkdir -p "$as_dir"'
497
 
else
498
 
  test -d ./-p && rmdir ./-p
499
 
  as_mkdir_p=false
500
 
fi
501
 
 
502
 
if test -x / >/dev/null 2>&1; then
503
 
  as_test_x='test -x'
504
 
else
505
 
  if ls -dL / >/dev/null 2>&1; then
506
 
    as_ls_L_option=L
507
 
  else
508
 
    as_ls_L_option=
509
 
  fi
510
 
  as_test_x='
511
 
    eval sh -c '\''
512
 
      if test -d "$1"; then
513
 
        test -d "$1/.";
514
 
      else
515
 
        case $1 in #(
516
 
        -*)set "./$1";;
517
 
        esac;
518
 
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
519
 
        ???[sx]*):;;*)false;;esac;fi
520
 
    '\'' sh
521
 
  '
522
 
fi
523
 
as_executable_p=$as_test_x
524
 
 
525
 
# Sed expression to map a string onto a valid CPP name.
526
 
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
527
 
 
528
 
# Sed expression to map a string onto a valid variable name.
529
 
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
530
 
 
531
 
 
532
 
 
533
 
# Check that we are running under the correct shell.
534
 
SHELL=${CONFIG_SHELL-/bin/sh}
535
 
 
536
 
case X$lt_ECHO in
537
 
X*--fallback-echo)
538
 
  # Remove one level of quotation (which was required for Make).
539
 
  ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
540
 
  ;;
541
 
esac
542
 
 
543
 
ECHO=${lt_ECHO-echo}
544
 
if test "X$1" = X--no-reexec; then
545
 
  # Discard the --no-reexec flag, and continue.
546
 
  shift
547
 
elif test "X$1" = X--fallback-echo; then
548
 
  # Avoid inline document here, it may be left over
549
 
  :
550
 
elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
551
 
  # Yippee, $ECHO works!
552
 
  :
553
 
else
554
 
  # Restart under the correct shell.
555
 
  exec $SHELL "$0" --no-reexec ${1+"$@"}
556
 
fi
557
 
 
558
 
if test "X$1" = X--fallback-echo; then
559
 
  # used as fallback echo
560
 
  shift
561
 
  cat <<_LT_EOF
562
 
$*
563
 
_LT_EOF
564
 
  exit 0
565
 
fi
566
 
 
567
 
# The HP-UX ksh and POSIX shell print the target directory to stdout
568
 
# if CDPATH is set.
569
 
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
570
 
 
571
 
if test -z "$lt_ECHO"; then
572
 
  if test "X${echo_test_string+set}" != Xset; then
573
 
    # find a string as large as possible, as long as the shell can cope with it
574
 
    for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
575
 
      # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
576
 
      if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
577
 
         { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
578
 
      then
579
 
        break
580
 
      fi
581
 
    done
582
 
  fi
583
 
 
584
 
  if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
585
 
     echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
586
 
     test "X$echo_testing_string" = "X$echo_test_string"; then
587
 
    :
588
 
  else
589
 
    # The Solaris, AIX, and Digital Unix default echo programs unquote
590
 
    # backslashes.  This makes it impossible to quote backslashes using
591
 
    #   echo "$something" | sed 's/\\/\\\\/g'
592
 
    #
593
 
    # So, first we look for a working echo in the user's PATH.
594
 
 
595
 
    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
596
 
    for dir in $PATH /usr/ucb; do
597
 
      IFS="$lt_save_ifs"
598
 
      if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
599
 
         test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
600
 
         echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
601
 
         test "X$echo_testing_string" = "X$echo_test_string"; then
602
 
        ECHO="$dir/echo"
603
 
        break
604
 
      fi
605
 
    done
606
 
    IFS="$lt_save_ifs"
607
 
 
608
 
    if test "X$ECHO" = Xecho; then
609
 
      # We didn't find a better echo, so look for alternatives.
610
 
      if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
611
 
         echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
612
 
         test "X$echo_testing_string" = "X$echo_test_string"; then
613
 
        # This shell has a builtin print -r that does the trick.
614
 
        ECHO='print -r'
615
 
      elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
616
 
           test "X$CONFIG_SHELL" != X/bin/ksh; then
617
 
        # If we have ksh, try running configure again with it.
618
 
        ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
619
 
        export ORIGINAL_CONFIG_SHELL
620
 
        CONFIG_SHELL=/bin/ksh
621
 
        export CONFIG_SHELL
622
 
        exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
623
 
      else
624
 
        # Try using printf.
625
 
        ECHO='printf %s\n'
626
 
        if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
627
 
           echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
628
 
           test "X$echo_testing_string" = "X$echo_test_string"; then
629
 
          # Cool, printf works
630
 
          :
631
 
        elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
632
 
             test "X$echo_testing_string" = 'X\t' &&
633
 
             echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
634
 
             test "X$echo_testing_string" = "X$echo_test_string"; then
635
 
          CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
636
 
          export CONFIG_SHELL
637
 
          SHELL="$CONFIG_SHELL"
638
 
          export SHELL
639
 
          ECHO="$CONFIG_SHELL $0 --fallback-echo"
640
 
        elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
641
 
             test "X$echo_testing_string" = 'X\t' &&
642
 
             echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
643
 
             test "X$echo_testing_string" = "X$echo_test_string"; then
644
 
          ECHO="$CONFIG_SHELL $0 --fallback-echo"
645
 
        else
646
 
          # maybe with a smaller string...
647
 
          prev=:
648
 
 
649
 
          for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
650
 
            if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
651
 
            then
652
 
              break
653
 
            fi
654
 
            prev="$cmd"
655
 
          done
656
 
 
657
 
          if test "$prev" != 'sed 50q "$0"'; then
658
 
            echo_test_string=`eval $prev`
659
 
            export echo_test_string
660
 
            exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
661
 
          else
662
 
            # Oops.  We lost completely, so just stick with echo.
663
 
            ECHO=echo
664
 
          fi
665
 
        fi
666
 
      fi
667
 
    fi
668
 
  fi
669
 
fi
670
 
 
671
 
# Copy echo and quote the copy suitably for passing to libtool from
672
 
# the Makefile, instead of quoting the original, which is used later.
673
 
lt_ECHO=$ECHO
674
 
if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
675
 
   lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
676
 
fi
677
 
 
678
 
 
679
 
 
680
 
 
681
 
test -n "$DJDIR" || exec 7<&0 </dev/null
682
 
exec 6>&1
683
 
 
684
 
# Name of the host.
685
 
# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
686
 
# so uname gets run too.
687
 
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
688
 
 
689
 
#
690
 
# Initializations.
691
 
#
692
 
ac_default_prefix=/usr/local
693
 
ac_clean_files=
694
 
ac_config_libobj_dir=.
695
 
LIBOBJS=
696
 
cross_compiling=no
697
 
subdirs=
698
 
MFLAGS=
699
 
MAKEFLAGS=
700
 
 
701
 
# Identity of this package.
702
 
PACKAGE_NAME='subunit'
703
 
PACKAGE_TARNAME='subunit'
704
 
PACKAGE_VERSION='0.0.7'
705
 
PACKAGE_STRING='subunit 0.0.7'
706
 
PACKAGE_BUGREPORT='subunit-dev@lists.launchpad.net'
707
 
PACKAGE_URL=''
708
 
 
709
 
ac_unique_file="c/lib/child.c"
710
 
# Factoring default headers for most tests.
711
 
ac_includes_default="\
712
 
#include <stdio.h>
713
 
#ifdef HAVE_SYS_TYPES_H
714
 
# include <sys/types.h>
715
 
#endif
716
 
#ifdef HAVE_SYS_STAT_H
717
 
# include <sys/stat.h>
718
 
#endif
719
 
#ifdef STDC_HEADERS
720
 
# include <stdlib.h>
721
 
# include <stddef.h>
722
 
#else
723
 
# ifdef HAVE_STDLIB_H
724
 
#  include <stdlib.h>
725
 
# endif
726
 
#endif
727
 
#ifdef HAVE_STRING_H
728
 
# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
729
 
#  include <memory.h>
730
 
# endif
731
 
# include <string.h>
732
 
#endif
733
 
#ifdef HAVE_STRINGS_H
734
 
# include <strings.h>
735
 
#endif
736
 
#ifdef HAVE_INTTYPES_H
737
 
# include <inttypes.h>
738
 
#endif
739
 
#ifdef HAVE_STDINT_H
740
 
# include <stdint.h>
741
 
#endif
742
 
#ifdef HAVE_UNISTD_H
743
 
# include <unistd.h>
744
 
#endif"
745
 
 
746
 
ac_subst_vars='am__EXEEXT_FALSE
747
 
am__EXEEXT_TRUE
748
 
LTLIBOBJS
749
 
CPPUNIT_LIBS
750
 
CPPUNIT_CFLAGS
751
 
CHECK_LIBS
752
 
CHECK_CFLAGS
753
 
PKG_CONFIG_LIBDIR
754
 
PKG_CONFIG_PATH
755
 
PKG_CONFIG
756
 
LIBOBJS
757
 
AM_CXXFLAGS
758
 
AM_CFLAGS
759
 
pkgpyexecdir
760
 
pyexecdir
761
 
pkgpythondir
762
 
pythondir
763
 
PYTHON_PLATFORM
764
 
PYTHON_EXEC_PREFIX
765
 
PYTHON_PREFIX
766
 
PYTHON_VERSION
767
 
PYTHON
768
 
CXXCPP
769
 
OTOOL64
770
 
OTOOL
771
 
LIPO
772
 
NMEDIT
773
 
DSYMUTIL
774
 
lt_ECHO
775
 
RANLIB
776
 
AR
777
 
OBJDUMP
778
 
NM
779
 
ac_ct_DUMPBIN
780
 
DUMPBIN
781
 
LD
782
 
FGREP
783
 
SED
784
 
host_os
785
 
host_vendor
786
 
host_cpu
787
 
host
788
 
build_os
789
 
build_vendor
790
 
build_cpu
791
 
build
792
 
LIBTOOL
793
 
LN_S
794
 
am__fastdepCXX_FALSE
795
 
am__fastdepCXX_TRUE
796
 
CXXDEPMODE
797
 
ac_ct_CXX
798
 
CXXFLAGS
799
 
CXX
800
 
EGREP
801
 
GREP
802
 
CPP
803
 
am__fastdepCC_FALSE
804
 
am__fastdepCC_TRUE
805
 
CCDEPMODE
806
 
AMDEPBACKSLASH
807
 
AMDEP_FALSE
808
 
AMDEP_TRUE
809
 
am__quote
810
 
am__include
811
 
DEPDIR
812
 
OBJEXT
813
 
EXEEXT
814
 
ac_ct_CC
815
 
CPPFLAGS
816
 
LDFLAGS
817
 
CFLAGS
818
 
CC
819
 
SUBUNIT_VERSION
820
 
SUBUNIT_MICRO_VERSION
821
 
SUBUNIT_MINOR_VERSION
822
 
SUBUNIT_MAJOR_VERSION
823
 
am__untar
824
 
am__tar
825
 
AMTAR
826
 
am__leading_dot
827
 
SET_MAKE
828
 
AWK
829
 
mkdir_p
830
 
MKDIR_P
831
 
INSTALL_STRIP_PROGRAM
832
 
STRIP
833
 
install_sh
834
 
MAKEINFO
835
 
AUTOHEADER
836
 
AUTOMAKE
837
 
AUTOCONF
838
 
ACLOCAL
839
 
VERSION
840
 
PACKAGE
841
 
CYGPATH_W
842
 
am__isrc
843
 
INSTALL_DATA
844
 
INSTALL_SCRIPT
845
 
INSTALL_PROGRAM
846
 
target_alias
847
 
host_alias
848
 
build_alias
849
 
LIBS
850
 
ECHO_T
851
 
ECHO_N
852
 
ECHO_C
853
 
DEFS
854
 
mandir
855
 
localedir
856
 
libdir
857
 
psdir
858
 
pdfdir
859
 
dvidir
860
 
htmldir
861
 
infodir
862
 
docdir
863
 
oldincludedir
864
 
includedir
865
 
localstatedir
866
 
sharedstatedir
867
 
sysconfdir
868
 
datadir
869
 
datarootdir
870
 
libexecdir
871
 
sbindir
872
 
bindir
873
 
program_transform_name
874
 
prefix
875
 
exec_prefix
876
 
PACKAGE_URL
877
 
PACKAGE_BUGREPORT
878
 
PACKAGE_STRING
879
 
PACKAGE_VERSION
880
 
PACKAGE_TARNAME
881
 
PACKAGE_NAME
882
 
PATH_SEPARATOR
883
 
SHELL'
884
 
ac_subst_files=''
885
 
ac_user_opts='
886
 
enable_option_checking
887
 
enable_dependency_tracking
888
 
enable_shared
889
 
enable_static
890
 
with_pic
891
 
enable_fast_install
892
 
with_gnu_ld
893
 
enable_libtool_lock
894
 
'
895
 
      ac_precious_vars='build_alias
896
 
host_alias
897
 
target_alias
898
 
CC
899
 
CFLAGS
900
 
LDFLAGS
901
 
LIBS
902
 
CPPFLAGS
903
 
CPP
904
 
CXX
905
 
CXXFLAGS
906
 
CCC
907
 
CXXCPP
908
 
PKG_CONFIG
909
 
PKG_CONFIG_PATH
910
 
PKG_CONFIG_LIBDIR
911
 
CHECK_CFLAGS
912
 
CHECK_LIBS
913
 
CPPUNIT_CFLAGS
914
 
CPPUNIT_LIBS'
915
 
 
916
 
 
917
 
# Initialize some variables set by options.
918
 
ac_init_help=
919
 
ac_init_version=false
920
 
ac_unrecognized_opts=
921
 
ac_unrecognized_sep=
922
 
# The variables have the same names as the options, with
923
 
# dashes changed to underlines.
924
 
cache_file=/dev/null
925
 
exec_prefix=NONE
926
 
no_create=
927
 
no_recursion=
928
 
prefix=NONE
929
 
program_prefix=NONE
930
 
program_suffix=NONE
931
 
program_transform_name=s,x,x,
932
 
silent=
933
 
site=
934
 
srcdir=
935
 
verbose=
936
 
x_includes=NONE
937
 
x_libraries=NONE
938
 
 
939
 
# Installation directory options.
940
 
# These are left unexpanded so users can "make install exec_prefix=/foo"
941
 
# and all the variables that are supposed to be based on exec_prefix
942
 
# by default will actually change.
943
 
# Use braces instead of parens because sh, perl, etc. also accept them.
944
 
# (The list follows the same order as the GNU Coding Standards.)
945
 
bindir='${exec_prefix}/bin'
946
 
sbindir='${exec_prefix}/sbin'
947
 
libexecdir='${exec_prefix}/libexec'
948
 
datarootdir='${prefix}/share'
949
 
datadir='${datarootdir}'
950
 
sysconfdir='${prefix}/etc'
951
 
sharedstatedir='${prefix}/com'
952
 
localstatedir='${prefix}/var'
953
 
includedir='${prefix}/include'
954
 
oldincludedir='/usr/include'
955
 
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
956
 
infodir='${datarootdir}/info'
957
 
htmldir='${docdir}'
958
 
dvidir='${docdir}'
959
 
pdfdir='${docdir}'
960
 
psdir='${docdir}'
961
 
libdir='${exec_prefix}/lib'
962
 
localedir='${datarootdir}/locale'
963
 
mandir='${datarootdir}/man'
964
 
 
965
 
ac_prev=
966
 
ac_dashdash=
967
 
for ac_option
968
 
do
969
 
  # If the previous option needs an argument, assign it.
970
 
  if test -n "$ac_prev"; then
971
 
    eval $ac_prev=\$ac_option
972
 
    ac_prev=
973
 
    continue
974
 
  fi
975
 
 
976
 
  case $ac_option in
977
 
  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
978
 
  *=)   ac_optarg= ;;
979
 
  *)    ac_optarg=yes ;;
980
 
  esac
981
 
 
982
 
  # Accept the important Cygnus configure options, so we can diagnose typos.
983
 
 
984
 
  case $ac_dashdash$ac_option in
985
 
  --)
986
 
    ac_dashdash=yes ;;
987
 
 
988
 
  -bindir | --bindir | --bindi | --bind | --bin | --bi)
989
 
    ac_prev=bindir ;;
990
 
  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
991
 
    bindir=$ac_optarg ;;
992
 
 
993
 
  -build | --build | --buil | --bui | --bu)
994
 
    ac_prev=build_alias ;;
995
 
  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
996
 
    build_alias=$ac_optarg ;;
997
 
 
998
 
  -cache-file | --cache-file | --cache-fil | --cache-fi \
999
 
  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1000
 
    ac_prev=cache_file ;;
1001
 
  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1002
 
  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1003
 
    cache_file=$ac_optarg ;;
1004
 
 
1005
 
  --config-cache | -C)
1006
 
    cache_file=config.cache ;;
1007
 
 
1008
 
  -datadir | --datadir | --datadi | --datad)
1009
 
    ac_prev=datadir ;;
1010
 
  -datadir=* | --datadir=* | --datadi=* | --datad=*)
1011
 
    datadir=$ac_optarg ;;
1012
 
 
1013
 
  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1014
 
  | --dataroo | --dataro | --datar)
1015
 
    ac_prev=datarootdir ;;
1016
 
  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1017
 
  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1018
 
    datarootdir=$ac_optarg ;;
1019
 
 
1020
 
  -disable-* | --disable-*)
1021
 
    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1022
 
    # Reject names that are not valid shell variable names.
1023
 
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1024
 
      as_fn_error $? "invalid feature name: $ac_useropt"
1025
 
    ac_useropt_orig=$ac_useropt
1026
 
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1027
 
    case $ac_user_opts in
1028
 
      *"
1029
 
"enable_$ac_useropt"
1030
 
"*) ;;
1031
 
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1032
 
         ac_unrecognized_sep=', ';;
1033
 
    esac
1034
 
    eval enable_$ac_useropt=no ;;
1035
 
 
1036
 
  -docdir | --docdir | --docdi | --doc | --do)
1037
 
    ac_prev=docdir ;;
1038
 
  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1039
 
    docdir=$ac_optarg ;;
1040
 
 
1041
 
  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1042
 
    ac_prev=dvidir ;;
1043
 
  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1044
 
    dvidir=$ac_optarg ;;
1045
 
 
1046
 
  -enable-* | --enable-*)
1047
 
    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1048
 
    # Reject names that are not valid shell variable names.
1049
 
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1050
 
      as_fn_error $? "invalid feature name: $ac_useropt"
1051
 
    ac_useropt_orig=$ac_useropt
1052
 
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1053
 
    case $ac_user_opts in
1054
 
      *"
1055
 
"enable_$ac_useropt"
1056
 
"*) ;;
1057
 
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1058
 
         ac_unrecognized_sep=', ';;
1059
 
    esac
1060
 
    eval enable_$ac_useropt=\$ac_optarg ;;
1061
 
 
1062
 
  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1063
 
  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1064
 
  | --exec | --exe | --ex)
1065
 
    ac_prev=exec_prefix ;;
1066
 
  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1067
 
  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1068
 
  | --exec=* | --exe=* | --ex=*)
1069
 
    exec_prefix=$ac_optarg ;;
1070
 
 
1071
 
  -gas | --gas | --ga | --g)
1072
 
    # Obsolete; use --with-gas.
1073
 
    with_gas=yes ;;
1074
 
 
1075
 
  -help | --help | --hel | --he | -h)
1076
 
    ac_init_help=long ;;
1077
 
  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1078
 
    ac_init_help=recursive ;;
1079
 
  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1080
 
    ac_init_help=short ;;
1081
 
 
1082
 
  -host | --host | --hos | --ho)
1083
 
    ac_prev=host_alias ;;
1084
 
  -host=* | --host=* | --hos=* | --ho=*)
1085
 
    host_alias=$ac_optarg ;;
1086
 
 
1087
 
  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1088
 
    ac_prev=htmldir ;;
1089
 
  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1090
 
  | --ht=*)
1091
 
    htmldir=$ac_optarg ;;
1092
 
 
1093
 
  -includedir | --includedir | --includedi | --included | --include \
1094
 
  | --includ | --inclu | --incl | --inc)
1095
 
    ac_prev=includedir ;;
1096
 
  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1097
 
  | --includ=* | --inclu=* | --incl=* | --inc=*)
1098
 
    includedir=$ac_optarg ;;
1099
 
 
1100
 
  -infodir | --infodir | --infodi | --infod | --info | --inf)
1101
 
    ac_prev=infodir ;;
1102
 
  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1103
 
    infodir=$ac_optarg ;;
1104
 
 
1105
 
  -libdir | --libdir | --libdi | --libd)
1106
 
    ac_prev=libdir ;;
1107
 
  -libdir=* | --libdir=* | --libdi=* | --libd=*)
1108
 
    libdir=$ac_optarg ;;
1109
 
 
1110
 
  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1111
 
  | --libexe | --libex | --libe)
1112
 
    ac_prev=libexecdir ;;
1113
 
  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1114
 
  | --libexe=* | --libex=* | --libe=*)
1115
 
    libexecdir=$ac_optarg ;;
1116
 
 
1117
 
  -localedir | --localedir | --localedi | --localed | --locale)
1118
 
    ac_prev=localedir ;;
1119
 
  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1120
 
    localedir=$ac_optarg ;;
1121
 
 
1122
 
  -localstatedir | --localstatedir | --localstatedi | --localstated \
1123
 
  | --localstate | --localstat | --localsta | --localst | --locals)
1124
 
    ac_prev=localstatedir ;;
1125
 
  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1126
 
  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1127
 
    localstatedir=$ac_optarg ;;
1128
 
 
1129
 
  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1130
 
    ac_prev=mandir ;;
1131
 
  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1132
 
    mandir=$ac_optarg ;;
1133
 
 
1134
 
  -nfp | --nfp | --nf)
1135
 
    # Obsolete; use --without-fp.
1136
 
    with_fp=no ;;
1137
 
 
1138
 
  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1139
 
  | --no-cr | --no-c | -n)
1140
 
    no_create=yes ;;
1141
 
 
1142
 
  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1143
 
  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1144
 
    no_recursion=yes ;;
1145
 
 
1146
 
  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1147
 
  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1148
 
  | --oldin | --oldi | --old | --ol | --o)
1149
 
    ac_prev=oldincludedir ;;
1150
 
  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1151
 
  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1152
 
  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1153
 
    oldincludedir=$ac_optarg ;;
1154
 
 
1155
 
  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1156
 
    ac_prev=prefix ;;
1157
 
  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1158
 
    prefix=$ac_optarg ;;
1159
 
 
1160
 
  -program-prefix | --program-prefix | --program-prefi | --program-pref \
1161
 
  | --program-pre | --program-pr | --program-p)
1162
 
    ac_prev=program_prefix ;;
1163
 
  -program-prefix=* | --program-prefix=* | --program-prefi=* \
1164
 
  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1165
 
    program_prefix=$ac_optarg ;;
1166
 
 
1167
 
  -program-suffix | --program-suffix | --program-suffi | --program-suff \
1168
 
  | --program-suf | --program-su | --program-s)
1169
 
    ac_prev=program_suffix ;;
1170
 
  -program-suffix=* | --program-suffix=* | --program-suffi=* \
1171
 
  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1172
 
    program_suffix=$ac_optarg ;;
1173
 
 
1174
 
  -program-transform-name | --program-transform-name \
1175
 
  | --program-transform-nam | --program-transform-na \
1176
 
  | --program-transform-n | --program-transform- \
1177
 
  | --program-transform | --program-transfor \
1178
 
  | --program-transfo | --program-transf \
1179
 
  | --program-trans | --program-tran \
1180
 
  | --progr-tra | --program-tr | --program-t)
1181
 
    ac_prev=program_transform_name ;;
1182
 
  -program-transform-name=* | --program-transform-name=* \
1183
 
  | --program-transform-nam=* | --program-transform-na=* \
1184
 
  | --program-transform-n=* | --program-transform-=* \
1185
 
  | --program-transform=* | --program-transfor=* \
1186
 
  | --program-transfo=* | --program-transf=* \
1187
 
  | --program-trans=* | --program-tran=* \
1188
 
  | --progr-tra=* | --program-tr=* | --program-t=*)
1189
 
    program_transform_name=$ac_optarg ;;
1190
 
 
1191
 
  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1192
 
    ac_prev=pdfdir ;;
1193
 
  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1194
 
    pdfdir=$ac_optarg ;;
1195
 
 
1196
 
  -psdir | --psdir | --psdi | --psd | --ps)
1197
 
    ac_prev=psdir ;;
1198
 
  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1199
 
    psdir=$ac_optarg ;;
1200
 
 
1201
 
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1202
 
  | -silent | --silent | --silen | --sile | --sil)
1203
 
    silent=yes ;;
1204
 
 
1205
 
  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1206
 
    ac_prev=sbindir ;;
1207
 
  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1208
 
  | --sbi=* | --sb=*)
1209
 
    sbindir=$ac_optarg ;;
1210
 
 
1211
 
  -sharedstatedir | --sharedstatedir | --sharedstatedi \
1212
 
  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1213
 
  | --sharedst | --shareds | --shared | --share | --shar \
1214
 
  | --sha | --sh)
1215
 
    ac_prev=sharedstatedir ;;
1216
 
  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1217
 
  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1218
 
  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1219
 
  | --sha=* | --sh=*)
1220
 
    sharedstatedir=$ac_optarg ;;
1221
 
 
1222
 
  -site | --site | --sit)
1223
 
    ac_prev=site ;;
1224
 
  -site=* | --site=* | --sit=*)
1225
 
    site=$ac_optarg ;;
1226
 
 
1227
 
  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1228
 
    ac_prev=srcdir ;;
1229
 
  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1230
 
    srcdir=$ac_optarg ;;
1231
 
 
1232
 
  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1233
 
  | --syscon | --sysco | --sysc | --sys | --sy)
1234
 
    ac_prev=sysconfdir ;;
1235
 
  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1236
 
  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1237
 
    sysconfdir=$ac_optarg ;;
1238
 
 
1239
 
  -target | --target | --targe | --targ | --tar | --ta | --t)
1240
 
    ac_prev=target_alias ;;
1241
 
  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1242
 
    target_alias=$ac_optarg ;;
1243
 
 
1244
 
  -v | -verbose | --verbose | --verbos | --verbo | --verb)
1245
 
    verbose=yes ;;
1246
 
 
1247
 
  -version | --version | --versio | --versi | --vers | -V)
1248
 
    ac_init_version=: ;;
1249
 
 
1250
 
  -with-* | --with-*)
1251
 
    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1252
 
    # Reject names that are not valid shell variable names.
1253
 
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1254
 
      as_fn_error $? "invalid package name: $ac_useropt"
1255
 
    ac_useropt_orig=$ac_useropt
1256
 
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1257
 
    case $ac_user_opts in
1258
 
      *"
1259
 
"with_$ac_useropt"
1260
 
"*) ;;
1261
 
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1262
 
         ac_unrecognized_sep=', ';;
1263
 
    esac
1264
 
    eval with_$ac_useropt=\$ac_optarg ;;
1265
 
 
1266
 
  -without-* | --without-*)
1267
 
    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1268
 
    # Reject names that are not valid shell variable names.
1269
 
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1270
 
      as_fn_error $? "invalid package name: $ac_useropt"
1271
 
    ac_useropt_orig=$ac_useropt
1272
 
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1273
 
    case $ac_user_opts in
1274
 
      *"
1275
 
"with_$ac_useropt"
1276
 
"*) ;;
1277
 
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1278
 
         ac_unrecognized_sep=', ';;
1279
 
    esac
1280
 
    eval with_$ac_useropt=no ;;
1281
 
 
1282
 
  --x)
1283
 
    # Obsolete; use --with-x.
1284
 
    with_x=yes ;;
1285
 
 
1286
 
  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1287
 
  | --x-incl | --x-inc | --x-in | --x-i)
1288
 
    ac_prev=x_includes ;;
1289
 
  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1290
 
  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1291
 
    x_includes=$ac_optarg ;;
1292
 
 
1293
 
  -x-libraries | --x-libraries | --x-librarie | --x-librari \
1294
 
  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1295
 
    ac_prev=x_libraries ;;
1296
 
  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1297
 
  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1298
 
    x_libraries=$ac_optarg ;;
1299
 
 
1300
 
  -*) as_fn_error $? "unrecognized option: \`$ac_option'
1301
 
Try \`$0 --help' for more information"
1302
 
    ;;
1303
 
 
1304
 
  *=*)
1305
 
    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1306
 
    # Reject names that are not valid shell variable names.
1307
 
    case $ac_envvar in #(
1308
 
      '' | [0-9]* | *[!_$as_cr_alnum]* )
1309
 
      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1310
 
    esac
1311
 
    eval $ac_envvar=\$ac_optarg
1312
 
    export $ac_envvar ;;
1313
 
 
1314
 
  *)
1315
 
    # FIXME: should be removed in autoconf 3.0.
1316
 
    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1317
 
    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1318
 
      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1319
 
    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1320
 
    ;;
1321
 
 
1322
 
  esac
1323
 
done
1324
 
 
1325
 
if test -n "$ac_prev"; then
1326
 
  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1327
 
  as_fn_error $? "missing argument to $ac_option"
1328
 
fi
1329
 
 
1330
 
if test -n "$ac_unrecognized_opts"; then
1331
 
  case $enable_option_checking in
1332
 
    no) ;;
1333
 
    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1334
 
    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1335
 
  esac
1336
 
fi
1337
 
 
1338
 
# Check all directory arguments for consistency.
1339
 
for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1340
 
                datadir sysconfdir sharedstatedir localstatedir includedir \
1341
 
                oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1342
 
                libdir localedir mandir
1343
 
do
1344
 
  eval ac_val=\$$ac_var
1345
 
  # Remove trailing slashes.
1346
 
  case $ac_val in
1347
 
    */ )
1348
 
      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1349
 
      eval $ac_var=\$ac_val;;
1350
 
  esac
1351
 
  # Be sure to have absolute directory names.
1352
 
  case $ac_val in
1353
 
    [\\/$]* | ?:[\\/]* )  continue;;
1354
 
    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1355
 
  esac
1356
 
  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1357
 
done
1358
 
 
1359
 
# There might be people who depend on the old broken behavior: `$host'
1360
 
# used to hold the argument of --host etc.
1361
 
# FIXME: To remove some day.
1362
 
build=$build_alias
1363
 
host=$host_alias
1364
 
target=$target_alias
1365
 
 
1366
 
# FIXME: To remove some day.
1367
 
if test "x$host_alias" != x; then
1368
 
  if test "x$build_alias" = x; then
1369
 
    cross_compiling=maybe
1370
 
    $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1371
 
    If a cross compiler is detected then cross compile mode will be used" >&2
1372
 
  elif test "x$build_alias" != "x$host_alias"; then
1373
 
    cross_compiling=yes
1374
 
  fi
1375
 
fi
1376
 
 
1377
 
ac_tool_prefix=
1378
 
test -n "$host_alias" && ac_tool_prefix=$host_alias-
1379
 
 
1380
 
test "$silent" = yes && exec 6>/dev/null
1381
 
 
1382
 
 
1383
 
ac_pwd=`pwd` && test -n "$ac_pwd" &&
1384
 
ac_ls_di=`ls -di .` &&
1385
 
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1386
 
  as_fn_error $? "working directory cannot be determined"
1387
 
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1388
 
  as_fn_error $? "pwd does not report name of working directory"
1389
 
 
1390
 
 
1391
 
# Find the source files, if location was not specified.
1392
 
if test -z "$srcdir"; then
1393
 
  ac_srcdir_defaulted=yes
1394
 
  # Try the directory containing this script, then the parent directory.
1395
 
  ac_confdir=`$as_dirname -- "$as_myself" ||
1396
 
$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1397
 
         X"$as_myself" : 'X\(//\)[^/]' \| \
1398
 
         X"$as_myself" : 'X\(//\)$' \| \
1399
 
         X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1400
 
$as_echo X"$as_myself" |
1401
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1402
 
            s//\1/
1403
 
            q
1404
 
          }
1405
 
          /^X\(\/\/\)[^/].*/{
1406
 
            s//\1/
1407
 
            q
1408
 
          }
1409
 
          /^X\(\/\/\)$/{
1410
 
            s//\1/
1411
 
            q
1412
 
          }
1413
 
          /^X\(\/\).*/{
1414
 
            s//\1/
1415
 
            q
1416
 
          }
1417
 
          s/.*/./; q'`
1418
 
  srcdir=$ac_confdir
1419
 
  if test ! -r "$srcdir/$ac_unique_file"; then
1420
 
    srcdir=..
1421
 
  fi
1422
 
else
1423
 
  ac_srcdir_defaulted=no
1424
 
fi
1425
 
if test ! -r "$srcdir/$ac_unique_file"; then
1426
 
  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1427
 
  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1428
 
fi
1429
 
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1430
 
ac_abs_confdir=`(
1431
 
        cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1432
 
        pwd)`
1433
 
# When building in place, set srcdir=.
1434
 
if test "$ac_abs_confdir" = "$ac_pwd"; then
1435
 
  srcdir=.
1436
 
fi
1437
 
# Remove unnecessary trailing slashes from srcdir.
1438
 
# Double slashes in file names in object file debugging info
1439
 
# mess up M-x gdb in Emacs.
1440
 
case $srcdir in
1441
 
*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1442
 
esac
1443
 
for ac_var in $ac_precious_vars; do
1444
 
  eval ac_env_${ac_var}_set=\${${ac_var}+set}
1445
 
  eval ac_env_${ac_var}_value=\$${ac_var}
1446
 
  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1447
 
  eval ac_cv_env_${ac_var}_value=\$${ac_var}
1448
 
done
1449
 
 
1450
 
#
1451
 
# Report the --help message.
1452
 
#
1453
 
if test "$ac_init_help" = "long"; then
1454
 
  # Omit some internal or obsolete options to make the list less imposing.
1455
 
  # This message is too long to be a string in the A/UX 3.1 sh.
1456
 
  cat <<_ACEOF
1457
 
\`configure' configures subunit 0.0.7 to adapt to many kinds of systems.
1458
 
 
1459
 
Usage: $0 [OPTION]... [VAR=VALUE]...
1460
 
 
1461
 
To assign environment variables (e.g., CC, CFLAGS...), specify them as
1462
 
VAR=VALUE.  See below for descriptions of some of the useful variables.
1463
 
 
1464
 
Defaults for the options are specified in brackets.
1465
 
 
1466
 
Configuration:
1467
 
  -h, --help              display this help and exit
1468
 
      --help=short        display options specific to this package
1469
 
      --help=recursive    display the short help of all the included packages
1470
 
  -V, --version           display version information and exit
1471
 
  -q, --quiet, --silent   do not print \`checking ...' messages
1472
 
      --cache-file=FILE   cache test results in FILE [disabled]
1473
 
  -C, --config-cache      alias for \`--cache-file=config.cache'
1474
 
  -n, --no-create         do not create output files
1475
 
      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1476
 
 
1477
 
Installation directories:
1478
 
  --prefix=PREFIX         install architecture-independent files in PREFIX
1479
 
                          [$ac_default_prefix]
1480
 
  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1481
 
                          [PREFIX]
1482
 
 
1483
 
By default, \`make install' will install all the files in
1484
 
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1485
 
an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1486
 
for instance \`--prefix=\$HOME'.
1487
 
 
1488
 
For better control, use the options below.
1489
 
 
1490
 
Fine tuning of the installation directories:
1491
 
  --bindir=DIR            user executables [EPREFIX/bin]
1492
 
  --sbindir=DIR           system admin executables [EPREFIX/sbin]
1493
 
  --libexecdir=DIR        program executables [EPREFIX/libexec]
1494
 
  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1495
 
  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1496
 
  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1497
 
  --libdir=DIR            object code libraries [EPREFIX/lib]
1498
 
  --includedir=DIR        C header files [PREFIX/include]
1499
 
  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1500
 
  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1501
 
  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1502
 
  --infodir=DIR           info documentation [DATAROOTDIR/info]
1503
 
  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1504
 
  --mandir=DIR            man documentation [DATAROOTDIR/man]
1505
 
  --docdir=DIR            documentation root [DATAROOTDIR/doc/subunit]
1506
 
  --htmldir=DIR           html documentation [DOCDIR]
1507
 
  --dvidir=DIR            dvi documentation [DOCDIR]
1508
 
  --pdfdir=DIR            pdf documentation [DOCDIR]
1509
 
  --psdir=DIR             ps documentation [DOCDIR]
1510
 
_ACEOF
1511
 
 
1512
 
  cat <<\_ACEOF
1513
 
 
1514
 
Program names:
1515
 
  --program-prefix=PREFIX            prepend PREFIX to installed program names
1516
 
  --program-suffix=SUFFIX            append SUFFIX to installed program names
1517
 
  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1518
 
 
1519
 
System types:
1520
 
  --build=BUILD     configure for building on BUILD [guessed]
1521
 
  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1522
 
_ACEOF
1523
 
fi
1524
 
 
1525
 
if test -n "$ac_init_help"; then
1526
 
  case $ac_init_help in
1527
 
     short | recursive ) echo "Configuration of subunit 0.0.7:";;
1528
 
   esac
1529
 
  cat <<\_ACEOF
1530
 
 
1531
 
Optional Features:
1532
 
  --disable-option-checking  ignore unrecognized --enable/--with options
1533
 
  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1534
 
  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1535
 
  --disable-dependency-tracking  speeds up one-time build
1536
 
  --enable-dependency-tracking   do not reject slow dependency extractors
1537
 
  --enable-shared[=PKGS]  build shared libraries [default=yes]
1538
 
  --enable-static[=PKGS]  build static libraries [default=yes]
1539
 
  --enable-fast-install[=PKGS]
1540
 
                          optimize for fast installation [default=yes]
1541
 
  --disable-libtool-lock  avoid locking (might break parallel builds)
1542
 
 
1543
 
Optional Packages:
1544
 
  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1545
 
  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1546
 
  --with-pic              try to use only PIC/non-PIC objects [default=use
1547
 
                          both]
1548
 
  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1549
 
 
1550
 
Some influential environment variables:
1551
 
  CC          C compiler command
1552
 
  CFLAGS      C compiler flags
1553
 
  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1554
 
              nonstandard directory <lib dir>
1555
 
  LIBS        libraries to pass to the linker, e.g. -l<library>
1556
 
  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1557
 
              you have headers in a nonstandard directory <include dir>
1558
 
  CPP         C preprocessor
1559
 
  CXX         C++ compiler command
1560
 
  CXXFLAGS    C++ compiler flags
1561
 
  CXXCPP      C++ preprocessor
1562
 
  PKG_CONFIG  path to pkg-config utility
1563
 
  PKG_CONFIG_PATH
1564
 
              directories to add to pkg-config's search path
1565
 
  PKG_CONFIG_LIBDIR
1566
 
              path overriding pkg-config's built-in search path
1567
 
  CHECK_CFLAGS
1568
 
              C compiler flags for CHECK, overriding pkg-config
1569
 
  CHECK_LIBS  linker flags for CHECK, overriding pkg-config
1570
 
  CPPUNIT_CFLAGS
1571
 
              C compiler flags for CPPUNIT, overriding pkg-config
1572
 
  CPPUNIT_LIBS
1573
 
              linker flags for CPPUNIT, overriding pkg-config
1574
 
 
1575
 
Use these variables to override the choices made by `configure' or to help
1576
 
it to find libraries and programs with nonstandard names/locations.
1577
 
 
1578
 
Report bugs to <subunit-dev@lists.launchpad.net>.
1579
 
_ACEOF
1580
 
ac_status=$?
1581
 
fi
1582
 
 
1583
 
if test "$ac_init_help" = "recursive"; then
1584
 
  # If there are subdirs, report their specific --help.
1585
 
  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1586
 
    test -d "$ac_dir" ||
1587
 
      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1588
 
      continue
1589
 
    ac_builddir=.
1590
 
 
1591
 
case "$ac_dir" in
1592
 
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1593
 
*)
1594
 
  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1595
 
  # A ".." for each directory in $ac_dir_suffix.
1596
 
  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1597
 
  case $ac_top_builddir_sub in
1598
 
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1599
 
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1600
 
  esac ;;
1601
 
esac
1602
 
ac_abs_top_builddir=$ac_pwd
1603
 
ac_abs_builddir=$ac_pwd$ac_dir_suffix
1604
 
# for backward compatibility:
1605
 
ac_top_builddir=$ac_top_build_prefix
1606
 
 
1607
 
case $srcdir in
1608
 
  .)  # We are building in place.
1609
 
    ac_srcdir=.
1610
 
    ac_top_srcdir=$ac_top_builddir_sub
1611
 
    ac_abs_top_srcdir=$ac_pwd ;;
1612
 
  [\\/]* | ?:[\\/]* )  # Absolute name.
1613
 
    ac_srcdir=$srcdir$ac_dir_suffix;
1614
 
    ac_top_srcdir=$srcdir
1615
 
    ac_abs_top_srcdir=$srcdir ;;
1616
 
  *) # Relative name.
1617
 
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1618
 
    ac_top_srcdir=$ac_top_build_prefix$srcdir
1619
 
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1620
 
esac
1621
 
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1622
 
 
1623
 
    cd "$ac_dir" || { ac_status=$?; continue; }
1624
 
    # Check for guested configure.
1625
 
    if test -f "$ac_srcdir/configure.gnu"; then
1626
 
      echo &&
1627
 
      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1628
 
    elif test -f "$ac_srcdir/configure"; then
1629
 
      echo &&
1630
 
      $SHELL "$ac_srcdir/configure" --help=recursive
1631
 
    else
1632
 
      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1633
 
    fi || ac_status=$?
1634
 
    cd "$ac_pwd" || { ac_status=$?; break; }
1635
 
  done
1636
 
fi
1637
 
 
1638
 
test -n "$ac_init_help" && exit $ac_status
1639
 
if $ac_init_version; then
1640
 
  cat <<\_ACEOF
1641
 
subunit configure 0.0.7
1642
 
generated by GNU Autoconf 2.67
1643
 
 
1644
 
Copyright (C) 2010 Free Software Foundation, Inc.
1645
 
This configure script is free software; the Free Software Foundation
1646
 
gives unlimited permission to copy, distribute and modify it.
1647
 
_ACEOF
1648
 
  exit
1649
 
fi
1650
 
 
1651
 
## ------------------------ ##
1652
 
## Autoconf initialization. ##
1653
 
## ------------------------ ##
1654
 
 
1655
 
# ac_fn_c_try_compile LINENO
1656
 
# --------------------------
1657
 
# Try to compile conftest.$ac_ext, and return whether this succeeded.
1658
 
ac_fn_c_try_compile ()
1659
 
{
1660
 
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1661
 
  rm -f conftest.$ac_objext
1662
 
  if { { ac_try="$ac_compile"
1663
 
case "(($ac_try" in
1664
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1665
 
  *) ac_try_echo=$ac_try;;
1666
 
esac
1667
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1668
 
$as_echo "$ac_try_echo"; } >&5
1669
 
  (eval "$ac_compile") 2>conftest.err
1670
 
  ac_status=$?
1671
 
  if test -s conftest.err; then
1672
 
    grep -v '^ *+' conftest.err >conftest.er1
1673
 
    cat conftest.er1 >&5
1674
 
    mv -f conftest.er1 conftest.err
1675
 
  fi
1676
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1677
 
  test $ac_status = 0; } && {
1678
 
         test -z "$ac_c_werror_flag" ||
1679
 
         test ! -s conftest.err
1680
 
       } && test -s conftest.$ac_objext; then :
1681
 
  ac_retval=0
1682
 
else
1683
 
  $as_echo "$as_me: failed program was:" >&5
1684
 
sed 's/^/| /' conftest.$ac_ext >&5
1685
 
 
1686
 
        ac_retval=1
1687
 
fi
1688
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1689
 
  as_fn_set_status $ac_retval
1690
 
 
1691
 
} # ac_fn_c_try_compile
1692
 
 
1693
 
# ac_fn_c_try_cpp LINENO
1694
 
# ----------------------
1695
 
# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1696
 
ac_fn_c_try_cpp ()
1697
 
{
1698
 
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1699
 
  if { { ac_try="$ac_cpp conftest.$ac_ext"
1700
 
case "(($ac_try" in
1701
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1702
 
  *) ac_try_echo=$ac_try;;
1703
 
esac
1704
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1705
 
$as_echo "$ac_try_echo"; } >&5
1706
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1707
 
  ac_status=$?
1708
 
  if test -s conftest.err; then
1709
 
    grep -v '^ *+' conftest.err >conftest.er1
1710
 
    cat conftest.er1 >&5
1711
 
    mv -f conftest.er1 conftest.err
1712
 
  fi
1713
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1714
 
  test $ac_status = 0; } > conftest.i && {
1715
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1716
 
         test ! -s conftest.err
1717
 
       }; then :
1718
 
  ac_retval=0
1719
 
else
1720
 
  $as_echo "$as_me: failed program was:" >&5
1721
 
sed 's/^/| /' conftest.$ac_ext >&5
1722
 
 
1723
 
    ac_retval=1
1724
 
fi
1725
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1726
 
  as_fn_set_status $ac_retval
1727
 
 
1728
 
} # ac_fn_c_try_cpp
1729
 
 
1730
 
# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1731
 
# -------------------------------------------------------
1732
 
# Tests whether HEADER exists, giving a warning if it cannot be compiled using
1733
 
# the include files in INCLUDES and setting the cache variable VAR
1734
 
# accordingly.
1735
 
ac_fn_c_check_header_mongrel ()
1736
 
{
1737
 
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1738
 
  if eval "test \"\${$3+set}\"" = set; then :
1739
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1740
 
$as_echo_n "checking for $2... " >&6; }
1741
 
if eval "test \"\${$3+set}\"" = set; then :
1742
 
  $as_echo_n "(cached) " >&6
1743
 
fi
1744
 
eval ac_res=\$$3
1745
 
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1746
 
$as_echo "$ac_res" >&6; }
1747
 
else
1748
 
  # Is the header compilable?
1749
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1750
 
$as_echo_n "checking $2 usability... " >&6; }
1751
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1752
 
/* end confdefs.h.  */
1753
 
$4
1754
 
#include <$2>
1755
 
_ACEOF
1756
 
if ac_fn_c_try_compile "$LINENO"; then :
1757
 
  ac_header_compiler=yes
1758
 
else
1759
 
  ac_header_compiler=no
1760
 
fi
1761
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1762
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1763
 
$as_echo "$ac_header_compiler" >&6; }
1764
 
 
1765
 
# Is the header present?
1766
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1767
 
$as_echo_n "checking $2 presence... " >&6; }
1768
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1769
 
/* end confdefs.h.  */
1770
 
#include <$2>
1771
 
_ACEOF
1772
 
if ac_fn_c_try_cpp "$LINENO"; then :
1773
 
  ac_header_preproc=yes
1774
 
else
1775
 
  ac_header_preproc=no
1776
 
fi
1777
 
rm -f conftest.err conftest.i conftest.$ac_ext
1778
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1779
 
$as_echo "$ac_header_preproc" >&6; }
1780
 
 
1781
 
# So?  What about this header?
1782
 
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1783
 
  yes:no: )
1784
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1785
 
$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1786
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1787
 
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1788
 
    ;;
1789
 
  no:yes:* )
1790
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1791
 
$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1792
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
1793
 
$as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
1794
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1795
 
$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1796
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
1797
 
$as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
1798
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1799
 
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1800
 
( $as_echo "## ---------------------------------------------- ##
1801
 
## Report this to subunit-dev@lists.launchpad.net ##
1802
 
## ---------------------------------------------- ##"
1803
 
     ) | sed "s/^/$as_me: WARNING:     /" >&2
1804
 
    ;;
1805
 
esac
1806
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1807
 
$as_echo_n "checking for $2... " >&6; }
1808
 
if eval "test \"\${$3+set}\"" = set; then :
1809
 
  $as_echo_n "(cached) " >&6
1810
 
else
1811
 
  eval "$3=\$ac_header_compiler"
1812
 
fi
1813
 
eval ac_res=\$$3
1814
 
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1815
 
$as_echo "$ac_res" >&6; }
1816
 
fi
1817
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1818
 
 
1819
 
} # ac_fn_c_check_header_mongrel
1820
 
 
1821
 
# ac_fn_c_try_run LINENO
1822
 
# ----------------------
1823
 
# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1824
 
# that executables *can* be run.
1825
 
ac_fn_c_try_run ()
1826
 
{
1827
 
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1828
 
  if { { ac_try="$ac_link"
1829
 
case "(($ac_try" in
1830
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1831
 
  *) ac_try_echo=$ac_try;;
1832
 
esac
1833
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1834
 
$as_echo "$ac_try_echo"; } >&5
1835
 
  (eval "$ac_link") 2>&5
1836
 
  ac_status=$?
1837
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1838
 
  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1839
 
  { { case "(($ac_try" in
1840
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1841
 
  *) ac_try_echo=$ac_try;;
1842
 
esac
1843
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1844
 
$as_echo "$ac_try_echo"; } >&5
1845
 
  (eval "$ac_try") 2>&5
1846
 
  ac_status=$?
1847
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1848
 
  test $ac_status = 0; }; }; then :
1849
 
  ac_retval=0
1850
 
else
1851
 
  $as_echo "$as_me: program exited with status $ac_status" >&5
1852
 
       $as_echo "$as_me: failed program was:" >&5
1853
 
sed 's/^/| /' conftest.$ac_ext >&5
1854
 
 
1855
 
       ac_retval=$ac_status
1856
 
fi
1857
 
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1858
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1859
 
  as_fn_set_status $ac_retval
1860
 
 
1861
 
} # ac_fn_c_try_run
1862
 
 
1863
 
# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1864
 
# -------------------------------------------------------
1865
 
# Tests whether HEADER exists and can be compiled using the include files in
1866
 
# INCLUDES, setting the cache variable VAR accordingly.
1867
 
ac_fn_c_check_header_compile ()
1868
 
{
1869
 
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1870
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1871
 
$as_echo_n "checking for $2... " >&6; }
1872
 
if eval "test \"\${$3+set}\"" = set; then :
1873
 
  $as_echo_n "(cached) " >&6
1874
 
else
1875
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1876
 
/* end confdefs.h.  */
1877
 
$4
1878
 
#include <$2>
1879
 
_ACEOF
1880
 
if ac_fn_c_try_compile "$LINENO"; then :
1881
 
  eval "$3=yes"
1882
 
else
1883
 
  eval "$3=no"
1884
 
fi
1885
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1886
 
fi
1887
 
eval ac_res=\$$3
1888
 
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1889
 
$as_echo "$ac_res" >&6; }
1890
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1891
 
 
1892
 
} # ac_fn_c_check_header_compile
1893
 
 
1894
 
# ac_fn_cxx_try_compile LINENO
1895
 
# ----------------------------
1896
 
# Try to compile conftest.$ac_ext, and return whether this succeeded.
1897
 
ac_fn_cxx_try_compile ()
1898
 
{
1899
 
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1900
 
  rm -f conftest.$ac_objext
1901
 
  if { { ac_try="$ac_compile"
1902
 
case "(($ac_try" in
1903
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1904
 
  *) ac_try_echo=$ac_try;;
1905
 
esac
1906
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1907
 
$as_echo "$ac_try_echo"; } >&5
1908
 
  (eval "$ac_compile") 2>conftest.err
1909
 
  ac_status=$?
1910
 
  if test -s conftest.err; then
1911
 
    grep -v '^ *+' conftest.err >conftest.er1
1912
 
    cat conftest.er1 >&5
1913
 
    mv -f conftest.er1 conftest.err
1914
 
  fi
1915
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1916
 
  test $ac_status = 0; } && {
1917
 
         test -z "$ac_cxx_werror_flag" ||
1918
 
         test ! -s conftest.err
1919
 
       } && test -s conftest.$ac_objext; then :
1920
 
  ac_retval=0
1921
 
else
1922
 
  $as_echo "$as_me: failed program was:" >&5
1923
 
sed 's/^/| /' conftest.$ac_ext >&5
1924
 
 
1925
 
        ac_retval=1
1926
 
fi
1927
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1928
 
  as_fn_set_status $ac_retval
1929
 
 
1930
 
} # ac_fn_cxx_try_compile
1931
 
 
1932
 
# ac_fn_c_try_link LINENO
1933
 
# -----------------------
1934
 
# Try to link conftest.$ac_ext, and return whether this succeeded.
1935
 
ac_fn_c_try_link ()
1936
 
{
1937
 
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1938
 
  rm -f conftest.$ac_objext conftest$ac_exeext
1939
 
  if { { ac_try="$ac_link"
1940
 
case "(($ac_try" in
1941
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1942
 
  *) ac_try_echo=$ac_try;;
1943
 
esac
1944
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1945
 
$as_echo "$ac_try_echo"; } >&5
1946
 
  (eval "$ac_link") 2>conftest.err
1947
 
  ac_status=$?
1948
 
  if test -s conftest.err; then
1949
 
    grep -v '^ *+' conftest.err >conftest.er1
1950
 
    cat conftest.er1 >&5
1951
 
    mv -f conftest.er1 conftest.err
1952
 
  fi
1953
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1954
 
  test $ac_status = 0; } && {
1955
 
         test -z "$ac_c_werror_flag" ||
1956
 
         test ! -s conftest.err
1957
 
       } && test -s conftest$ac_exeext && {
1958
 
         test "$cross_compiling" = yes ||
1959
 
         $as_test_x conftest$ac_exeext
1960
 
       }; then :
1961
 
  ac_retval=0
1962
 
else
1963
 
  $as_echo "$as_me: failed program was:" >&5
1964
 
sed 's/^/| /' conftest.$ac_ext >&5
1965
 
 
1966
 
        ac_retval=1
1967
 
fi
1968
 
  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1969
 
  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1970
 
  # interfere with the next link command; also delete a directory that is
1971
 
  # left behind by Apple's compiler.  We do this before executing the actions.
1972
 
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1973
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1974
 
  as_fn_set_status $ac_retval
1975
 
 
1976
 
} # ac_fn_c_try_link
1977
 
 
1978
 
# ac_fn_c_check_func LINENO FUNC VAR
1979
 
# ----------------------------------
1980
 
# Tests whether FUNC exists, setting the cache variable VAR accordingly
1981
 
ac_fn_c_check_func ()
1982
 
{
1983
 
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1984
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1985
 
$as_echo_n "checking for $2... " >&6; }
1986
 
if eval "test \"\${$3+set}\"" = set; then :
1987
 
  $as_echo_n "(cached) " >&6
1988
 
else
1989
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1990
 
/* end confdefs.h.  */
1991
 
/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1992
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
1993
 
#define $2 innocuous_$2
1994
 
 
1995
 
/* System header to define __stub macros and hopefully few prototypes,
1996
 
    which can conflict with char $2 (); below.
1997
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1998
 
    <limits.h> exists even on freestanding compilers.  */
1999
 
 
2000
 
#ifdef __STDC__
2001
 
# include <limits.h>
2002
 
#else
2003
 
# include <assert.h>
2004
 
#endif
2005
 
 
2006
 
#undef $2
2007
 
 
2008
 
/* Override any GCC internal prototype to avoid an error.
2009
 
   Use char because int might match the return type of a GCC
2010
 
   builtin and then its argument prototype would still apply.  */
2011
 
#ifdef __cplusplus
2012
 
extern "C"
2013
 
#endif
2014
 
char $2 ();
2015
 
/* The GNU C library defines this for functions which it implements
2016
 
    to always fail with ENOSYS.  Some functions are actually named
2017
 
    something starting with __ and the normal name is an alias.  */
2018
 
#if defined __stub_$2 || defined __stub___$2
2019
 
choke me
2020
 
#endif
2021
 
 
2022
 
int
2023
 
main ()
2024
 
{
2025
 
return $2 ();
2026
 
  ;
2027
 
  return 0;
2028
 
}
2029
 
_ACEOF
2030
 
if ac_fn_c_try_link "$LINENO"; then :
2031
 
  eval "$3=yes"
2032
 
else
2033
 
  eval "$3=no"
2034
 
fi
2035
 
rm -f core conftest.err conftest.$ac_objext \
2036
 
    conftest$ac_exeext conftest.$ac_ext
2037
 
fi
2038
 
eval ac_res=\$$3
2039
 
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2040
 
$as_echo "$ac_res" >&6; }
2041
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2042
 
 
2043
 
} # ac_fn_c_check_func
2044
 
 
2045
 
# ac_fn_cxx_try_cpp LINENO
2046
 
# ------------------------
2047
 
# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2048
 
ac_fn_cxx_try_cpp ()
2049
 
{
2050
 
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2051
 
  if { { ac_try="$ac_cpp conftest.$ac_ext"
2052
 
case "(($ac_try" in
2053
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2054
 
  *) ac_try_echo=$ac_try;;
2055
 
esac
2056
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2057
 
$as_echo "$ac_try_echo"; } >&5
2058
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2059
 
  ac_status=$?
2060
 
  if test -s conftest.err; then
2061
 
    grep -v '^ *+' conftest.err >conftest.er1
2062
 
    cat conftest.er1 >&5
2063
 
    mv -f conftest.er1 conftest.err
2064
 
  fi
2065
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2066
 
  test $ac_status = 0; } > conftest.i && {
2067
 
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
2068
 
         test ! -s conftest.err
2069
 
       }; then :
2070
 
  ac_retval=0
2071
 
else
2072
 
  $as_echo "$as_me: failed program was:" >&5
2073
 
sed 's/^/| /' conftest.$ac_ext >&5
2074
 
 
2075
 
    ac_retval=1
2076
 
fi
2077
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2078
 
  as_fn_set_status $ac_retval
2079
 
 
2080
 
} # ac_fn_cxx_try_cpp
2081
 
 
2082
 
# ac_fn_cxx_try_link LINENO
2083
 
# -------------------------
2084
 
# Try to link conftest.$ac_ext, and return whether this succeeded.
2085
 
ac_fn_cxx_try_link ()
2086
 
{
2087
 
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2088
 
  rm -f conftest.$ac_objext conftest$ac_exeext
2089
 
  if { { ac_try="$ac_link"
2090
 
case "(($ac_try" in
2091
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2092
 
  *) ac_try_echo=$ac_try;;
2093
 
esac
2094
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2095
 
$as_echo "$ac_try_echo"; } >&5
2096
 
  (eval "$ac_link") 2>conftest.err
2097
 
  ac_status=$?
2098
 
  if test -s conftest.err; then
2099
 
    grep -v '^ *+' conftest.err >conftest.er1
2100
 
    cat conftest.er1 >&5
2101
 
    mv -f conftest.er1 conftest.err
2102
 
  fi
2103
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2104
 
  test $ac_status = 0; } && {
2105
 
         test -z "$ac_cxx_werror_flag" ||
2106
 
         test ! -s conftest.err
2107
 
       } && test -s conftest$ac_exeext && {
2108
 
         test "$cross_compiling" = yes ||
2109
 
         $as_test_x conftest$ac_exeext
2110
 
       }; then :
2111
 
  ac_retval=0
2112
 
else
2113
 
  $as_echo "$as_me: failed program was:" >&5
2114
 
sed 's/^/| /' conftest.$ac_ext >&5
2115
 
 
2116
 
        ac_retval=1
2117
 
fi
2118
 
  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2119
 
  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2120
 
  # interfere with the next link command; also delete a directory that is
2121
 
  # left behind by Apple's compiler.  We do this before executing the actions.
2122
 
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2123
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2124
 
  as_fn_set_status $ac_retval
2125
 
 
2126
 
} # ac_fn_cxx_try_link
2127
 
 
2128
 
# ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2129
 
# -------------------------------------------
2130
 
# Tests whether TYPE exists after having included INCLUDES, setting cache
2131
 
# variable VAR accordingly.
2132
 
ac_fn_c_check_type ()
2133
 
{
2134
 
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2135
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2136
 
$as_echo_n "checking for $2... " >&6; }
2137
 
if eval "test \"\${$3+set}\"" = set; then :
2138
 
  $as_echo_n "(cached) " >&6
2139
 
else
2140
 
  eval "$3=no"
2141
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2142
 
/* end confdefs.h.  */
2143
 
$4
2144
 
int
2145
 
main ()
2146
 
{
2147
 
if (sizeof ($2))
2148
 
         return 0;
2149
 
  ;
2150
 
  return 0;
2151
 
}
2152
 
_ACEOF
2153
 
if ac_fn_c_try_compile "$LINENO"; then :
2154
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2155
 
/* end confdefs.h.  */
2156
 
$4
2157
 
int
2158
 
main ()
2159
 
{
2160
 
if (sizeof (($2)))
2161
 
            return 0;
2162
 
  ;
2163
 
  return 0;
2164
 
}
2165
 
_ACEOF
2166
 
if ac_fn_c_try_compile "$LINENO"; then :
2167
 
 
2168
 
else
2169
 
  eval "$3=yes"
2170
 
fi
2171
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2172
 
fi
2173
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2174
 
fi
2175
 
eval ac_res=\$$3
2176
 
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2177
 
$as_echo "$ac_res" >&6; }
2178
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2179
 
 
2180
 
} # ac_fn_c_check_type
2181
 
 
2182
 
# ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2183
 
# --------------------------------------------
2184
 
# Tries to find the compile-time value of EXPR in a program that includes
2185
 
# INCLUDES, setting VAR accordingly. Returns whether the value could be
2186
 
# computed
2187
 
ac_fn_c_compute_int ()
2188
 
{
2189
 
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2190
 
  if test "$cross_compiling" = yes; then
2191
 
    # Depending upon the size, compute the lo and hi bounds.
2192
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2193
 
/* end confdefs.h.  */
2194
 
$4
2195
 
int
2196
 
main ()
2197
 
{
2198
 
static int test_array [1 - 2 * !(($2) >= 0)];
2199
 
test_array [0] = 0
2200
 
 
2201
 
  ;
2202
 
  return 0;
2203
 
}
2204
 
_ACEOF
2205
 
if ac_fn_c_try_compile "$LINENO"; then :
2206
 
  ac_lo=0 ac_mid=0
2207
 
  while :; do
2208
 
    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2209
 
/* end confdefs.h.  */
2210
 
$4
2211
 
int
2212
 
main ()
2213
 
{
2214
 
static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2215
 
test_array [0] = 0
2216
 
 
2217
 
  ;
2218
 
  return 0;
2219
 
}
2220
 
_ACEOF
2221
 
if ac_fn_c_try_compile "$LINENO"; then :
2222
 
  ac_hi=$ac_mid; break
2223
 
else
2224
 
  as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2225
 
                        if test $ac_lo -le $ac_mid; then
2226
 
                          ac_lo= ac_hi=
2227
 
                          break
2228
 
                        fi
2229
 
                        as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2230
 
fi
2231
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2232
 
  done
2233
 
else
2234
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2235
 
/* end confdefs.h.  */
2236
 
$4
2237
 
int
2238
 
main ()
2239
 
{
2240
 
static int test_array [1 - 2 * !(($2) < 0)];
2241
 
test_array [0] = 0
2242
 
 
2243
 
  ;
2244
 
  return 0;
2245
 
}
2246
 
_ACEOF
2247
 
if ac_fn_c_try_compile "$LINENO"; then :
2248
 
  ac_hi=-1 ac_mid=-1
2249
 
  while :; do
2250
 
    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2251
 
/* end confdefs.h.  */
2252
 
$4
2253
 
int
2254
 
main ()
2255
 
{
2256
 
static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2257
 
test_array [0] = 0
2258
 
 
2259
 
  ;
2260
 
  return 0;
2261
 
}
2262
 
_ACEOF
2263
 
if ac_fn_c_try_compile "$LINENO"; then :
2264
 
  ac_lo=$ac_mid; break
2265
 
else
2266
 
  as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2267
 
                        if test $ac_mid -le $ac_hi; then
2268
 
                          ac_lo= ac_hi=
2269
 
                          break
2270
 
                        fi
2271
 
                        as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2272
 
fi
2273
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2274
 
  done
2275
 
else
2276
 
  ac_lo= ac_hi=
2277
 
fi
2278
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2279
 
fi
2280
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2281
 
# Binary search between lo and hi bounds.
2282
 
while test "x$ac_lo" != "x$ac_hi"; do
2283
 
  as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2284
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2285
 
/* end confdefs.h.  */
2286
 
$4
2287
 
int
2288
 
main ()
2289
 
{
2290
 
static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2291
 
test_array [0] = 0
2292
 
 
2293
 
  ;
2294
 
  return 0;
2295
 
}
2296
 
_ACEOF
2297
 
if ac_fn_c_try_compile "$LINENO"; then :
2298
 
  ac_hi=$ac_mid
2299
 
else
2300
 
  as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2301
 
fi
2302
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2303
 
done
2304
 
case $ac_lo in #((
2305
 
?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2306
 
'') ac_retval=1 ;;
2307
 
esac
2308
 
  else
2309
 
    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2310
 
/* end confdefs.h.  */
2311
 
$4
2312
 
static long int longval () { return $2; }
2313
 
static unsigned long int ulongval () { return $2; }
2314
 
#include <stdio.h>
2315
 
#include <stdlib.h>
2316
 
int
2317
 
main ()
2318
 
{
2319
 
 
2320
 
  FILE *f = fopen ("conftest.val", "w");
2321
 
  if (! f)
2322
 
    return 1;
2323
 
  if (($2) < 0)
2324
 
    {
2325
 
      long int i = longval ();
2326
 
      if (i != ($2))
2327
 
        return 1;
2328
 
      fprintf (f, "%ld", i);
2329
 
    }
2330
 
  else
2331
 
    {
2332
 
      unsigned long int i = ulongval ();
2333
 
      if (i != ($2))
2334
 
        return 1;
2335
 
      fprintf (f, "%lu", i);
2336
 
    }
2337
 
  /* Do not output a trailing newline, as this causes \r\n confusion
2338
 
     on some platforms.  */
2339
 
  return ferror (f) || fclose (f) != 0;
2340
 
 
2341
 
  ;
2342
 
  return 0;
2343
 
}
2344
 
_ACEOF
2345
 
if ac_fn_c_try_run "$LINENO"; then :
2346
 
  echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2347
 
else
2348
 
  ac_retval=1
2349
 
fi
2350
 
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2351
 
  conftest.$ac_objext conftest.beam conftest.$ac_ext
2352
 
rm -f conftest.val
2353
 
 
2354
 
  fi
2355
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2356
 
  as_fn_set_status $ac_retval
2357
 
 
2358
 
} # ac_fn_c_compute_int
2359
 
cat >config.log <<_ACEOF
2360
 
This file contains any messages produced by compilers while
2361
 
running configure, to aid debugging if configure makes a mistake.
2362
 
 
2363
 
It was created by subunit $as_me 0.0.7, which was
2364
 
generated by GNU Autoconf 2.67.  Invocation command line was
2365
 
 
2366
 
  $ $0 $@
2367
 
 
2368
 
_ACEOF
2369
 
exec 5>>config.log
2370
 
{
2371
 
cat <<_ASUNAME
2372
 
## --------- ##
2373
 
## Platform. ##
2374
 
## --------- ##
2375
 
 
2376
 
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2377
 
uname -m = `(uname -m) 2>/dev/null || echo unknown`
2378
 
uname -r = `(uname -r) 2>/dev/null || echo unknown`
2379
 
uname -s = `(uname -s) 2>/dev/null || echo unknown`
2380
 
uname -v = `(uname -v) 2>/dev/null || echo unknown`
2381
 
 
2382
 
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2383
 
/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
2384
 
 
2385
 
/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
2386
 
/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
2387
 
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2388
 
/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
2389
 
/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
2390
 
/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
2391
 
/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
2392
 
 
2393
 
_ASUNAME
2394
 
 
2395
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2396
 
for as_dir in $PATH
2397
 
do
2398
 
  IFS=$as_save_IFS
2399
 
  test -z "$as_dir" && as_dir=.
2400
 
    $as_echo "PATH: $as_dir"
2401
 
  done
2402
 
IFS=$as_save_IFS
2403
 
 
2404
 
} >&5
2405
 
 
2406
 
cat >&5 <<_ACEOF
2407
 
 
2408
 
 
2409
 
## ----------- ##
2410
 
## Core tests. ##
2411
 
## ----------- ##
2412
 
 
2413
 
_ACEOF
2414
 
 
2415
 
 
2416
 
# Keep a trace of the command line.
2417
 
# Strip out --no-create and --no-recursion so they do not pile up.
2418
 
# Strip out --silent because we don't want to record it for future runs.
2419
 
# Also quote any args containing shell meta-characters.
2420
 
# Make two passes to allow for proper duplicate-argument suppression.
2421
 
ac_configure_args=
2422
 
ac_configure_args0=
2423
 
ac_configure_args1=
2424
 
ac_must_keep_next=false
2425
 
for ac_pass in 1 2
2426
 
do
2427
 
  for ac_arg
2428
 
  do
2429
 
    case $ac_arg in
2430
 
    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2431
 
    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2432
 
    | -silent | --silent | --silen | --sile | --sil)
2433
 
      continue ;;
2434
 
    *\'*)
2435
 
      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2436
 
    esac
2437
 
    case $ac_pass in
2438
 
    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2439
 
    2)
2440
 
      as_fn_append ac_configure_args1 " '$ac_arg'"
2441
 
      if test $ac_must_keep_next = true; then
2442
 
        ac_must_keep_next=false # Got value, back to normal.
2443
 
      else
2444
 
        case $ac_arg in
2445
 
          *=* | --config-cache | -C | -disable-* | --disable-* \
2446
 
          | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2447
 
          | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2448
 
          | -with-* | --with-* | -without-* | --without-* | --x)
2449
 
            case "$ac_configure_args0 " in
2450
 
              "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2451
 
            esac
2452
 
            ;;
2453
 
          -* ) ac_must_keep_next=true ;;
2454
 
        esac
2455
 
      fi
2456
 
      as_fn_append ac_configure_args " '$ac_arg'"
2457
 
      ;;
2458
 
    esac
2459
 
  done
2460
 
done
2461
 
{ ac_configure_args0=; unset ac_configure_args0;}
2462
 
{ ac_configure_args1=; unset ac_configure_args1;}
2463
 
 
2464
 
# When interrupted or exit'd, cleanup temporary files, and complete
2465
 
# config.log.  We remove comments because anyway the quotes in there
2466
 
# would cause problems or look ugly.
2467
 
# WARNING: Use '\'' to represent an apostrophe within the trap.
2468
 
# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2469
 
trap 'exit_status=$?
2470
 
  # Save into config.log some information that might help in debugging.
2471
 
  {
2472
 
    echo
2473
 
 
2474
 
    $as_echo "## ---------------- ##
2475
 
## Cache variables. ##
2476
 
## ---------------- ##"
2477
 
    echo
2478
 
    # The following way of writing the cache mishandles newlines in values,
2479
 
(
2480
 
  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2481
 
    eval ac_val=\$$ac_var
2482
 
    case $ac_val in #(
2483
 
    *${as_nl}*)
2484
 
      case $ac_var in #(
2485
 
      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2486
 
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2487
 
      esac
2488
 
      case $ac_var in #(
2489
 
      _ | IFS | as_nl) ;; #(
2490
 
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2491
 
      *) { eval $ac_var=; unset $ac_var;} ;;
2492
 
      esac ;;
2493
 
    esac
2494
 
  done
2495
 
  (set) 2>&1 |
2496
 
    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2497
 
    *${as_nl}ac_space=\ *)
2498
 
      sed -n \
2499
 
        "s/'\''/'\''\\\\'\'''\''/g;
2500
 
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2501
 
      ;; #(
2502
 
    *)
2503
 
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2504
 
      ;;
2505
 
    esac |
2506
 
    sort
2507
 
)
2508
 
    echo
2509
 
 
2510
 
    $as_echo "## ----------------- ##
2511
 
## Output variables. ##
2512
 
## ----------------- ##"
2513
 
    echo
2514
 
    for ac_var in $ac_subst_vars
2515
 
    do
2516
 
      eval ac_val=\$$ac_var
2517
 
      case $ac_val in
2518
 
      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2519
 
      esac
2520
 
      $as_echo "$ac_var='\''$ac_val'\''"
2521
 
    done | sort
2522
 
    echo
2523
 
 
2524
 
    if test -n "$ac_subst_files"; then
2525
 
      $as_echo "## ------------------- ##
2526
 
## File substitutions. ##
2527
 
## ------------------- ##"
2528
 
      echo
2529
 
      for ac_var in $ac_subst_files
2530
 
      do
2531
 
        eval ac_val=\$$ac_var
2532
 
        case $ac_val in
2533
 
        *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2534
 
        esac
2535
 
        $as_echo "$ac_var='\''$ac_val'\''"
2536
 
      done | sort
2537
 
      echo
2538
 
    fi
2539
 
 
2540
 
    if test -s confdefs.h; then
2541
 
      $as_echo "## ----------- ##
2542
 
## confdefs.h. ##
2543
 
## ----------- ##"
2544
 
      echo
2545
 
      cat confdefs.h
2546
 
      echo
2547
 
    fi
2548
 
    test "$ac_signal" != 0 &&
2549
 
      $as_echo "$as_me: caught signal $ac_signal"
2550
 
    $as_echo "$as_me: exit $exit_status"
2551
 
  } >&5
2552
 
  rm -f core *.core core.conftest.* &&
2553
 
    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2554
 
    exit $exit_status
2555
 
' 0
2556
 
for ac_signal in 1 2 13 15; do
2557
 
  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2558
 
done
2559
 
ac_signal=0
2560
 
 
2561
 
# confdefs.h avoids OS command line length limits that DEFS can exceed.
2562
 
rm -f -r conftest* confdefs.h
2563
 
 
2564
 
$as_echo "/* confdefs.h */" > confdefs.h
2565
 
 
2566
 
# Predefined preprocessor variables.
2567
 
 
2568
 
cat >>confdefs.h <<_ACEOF
2569
 
#define PACKAGE_NAME "$PACKAGE_NAME"
2570
 
_ACEOF
2571
 
 
2572
 
cat >>confdefs.h <<_ACEOF
2573
 
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2574
 
_ACEOF
2575
 
 
2576
 
cat >>confdefs.h <<_ACEOF
2577
 
#define PACKAGE_VERSION "$PACKAGE_VERSION"
2578
 
_ACEOF
2579
 
 
2580
 
cat >>confdefs.h <<_ACEOF
2581
 
#define PACKAGE_STRING "$PACKAGE_STRING"
2582
 
_ACEOF
2583
 
 
2584
 
cat >>confdefs.h <<_ACEOF
2585
 
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2586
 
_ACEOF
2587
 
 
2588
 
cat >>confdefs.h <<_ACEOF
2589
 
#define PACKAGE_URL "$PACKAGE_URL"
2590
 
_ACEOF
2591
 
 
2592
 
 
2593
 
# Let the site file select an alternate cache file if it wants to.
2594
 
# Prefer an explicitly selected file to automatically selected ones.
2595
 
ac_site_file1=NONE
2596
 
ac_site_file2=NONE
2597
 
if test -n "$CONFIG_SITE"; then
2598
 
  # We do not want a PATH search for config.site.
2599
 
  case $CONFIG_SITE in #((
2600
 
    -*)  ac_site_file1=./$CONFIG_SITE;;
2601
 
    */*) ac_site_file1=$CONFIG_SITE;;
2602
 
    *)   ac_site_file1=./$CONFIG_SITE;;
2603
 
  esac
2604
 
elif test "x$prefix" != xNONE; then
2605
 
  ac_site_file1=$prefix/share/config.site
2606
 
  ac_site_file2=$prefix/etc/config.site
2607
 
else
2608
 
  ac_site_file1=$ac_default_prefix/share/config.site
2609
 
  ac_site_file2=$ac_default_prefix/etc/config.site
2610
 
fi
2611
 
for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2612
 
do
2613
 
  test "x$ac_site_file" = xNONE && continue
2614
 
  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2615
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2616
 
$as_echo "$as_me: loading site script $ac_site_file" >&6;}
2617
 
    sed 's/^/| /' "$ac_site_file" >&5
2618
 
    . "$ac_site_file" \
2619
 
      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2620
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2621
 
as_fn_error $? "failed to load site script $ac_site_file
2622
 
See \`config.log' for more details" "$LINENO" 5 ; }
2623
 
  fi
2624
 
done
2625
 
 
2626
 
if test -r "$cache_file"; then
2627
 
  # Some versions of bash will fail to source /dev/null (special files
2628
 
  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2629
 
  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2630
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2631
 
$as_echo "$as_me: loading cache $cache_file" >&6;}
2632
 
    case $cache_file in
2633
 
      [\\/]* | ?:[\\/]* ) . "$cache_file";;
2634
 
      *)                      . "./$cache_file";;
2635
 
    esac
2636
 
  fi
2637
 
else
2638
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2639
 
$as_echo "$as_me: creating cache $cache_file" >&6;}
2640
 
  >$cache_file
2641
 
fi
2642
 
 
2643
 
# Check that the precious variables saved in the cache have kept the same
2644
 
# value.
2645
 
ac_cache_corrupted=false
2646
 
for ac_var in $ac_precious_vars; do
2647
 
  eval ac_old_set=\$ac_cv_env_${ac_var}_set
2648
 
  eval ac_new_set=\$ac_env_${ac_var}_set
2649
 
  eval ac_old_val=\$ac_cv_env_${ac_var}_value
2650
 
  eval ac_new_val=\$ac_env_${ac_var}_value
2651
 
  case $ac_old_set,$ac_new_set in
2652
 
    set,)
2653
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2654
 
$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2655
 
      ac_cache_corrupted=: ;;
2656
 
    ,set)
2657
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2658
 
$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2659
 
      ac_cache_corrupted=: ;;
2660
 
    ,);;
2661
 
    *)
2662
 
      if test "x$ac_old_val" != "x$ac_new_val"; then
2663
 
        # differences in whitespace do not lead to failure.
2664
 
        ac_old_val_w=`echo x $ac_old_val`
2665
 
        ac_new_val_w=`echo x $ac_new_val`
2666
 
        if test "$ac_old_val_w" != "$ac_new_val_w"; then
2667
 
          { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2668
 
$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2669
 
          ac_cache_corrupted=:
2670
 
        else
2671
 
          { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2672
 
$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2673
 
          eval $ac_var=\$ac_old_val
2674
 
        fi
2675
 
        { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2676
 
$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2677
 
        { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2678
 
$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2679
 
      fi;;
2680
 
  esac
2681
 
  # Pass precious variables to config.status.
2682
 
  if test "$ac_new_set" = set; then
2683
 
    case $ac_new_val in
2684
 
    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2685
 
    *) ac_arg=$ac_var=$ac_new_val ;;
2686
 
    esac
2687
 
    case " $ac_configure_args " in
2688
 
      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2689
 
      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2690
 
    esac
2691
 
  fi
2692
 
done
2693
 
if $ac_cache_corrupted; then
2694
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2695
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2696
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2697
 
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2698
 
  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2699
 
fi
2700
 
## -------------------- ##
2701
 
## Main body of script. ##
2702
 
## -------------------- ##
2703
 
 
2704
 
ac_ext=c
2705
 
ac_cpp='$CPP $CPPFLAGS'
2706
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2707
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2708
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2709
 
 
2710
 
 
2711
 
 
2712
 
am__api_version='1.11'
2713
 
 
2714
 
ac_aux_dir=
2715
 
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2716
 
  if test -f "$ac_dir/install-sh"; then
2717
 
    ac_aux_dir=$ac_dir
2718
 
    ac_install_sh="$ac_aux_dir/install-sh -c"
2719
 
    break
2720
 
  elif test -f "$ac_dir/install.sh"; then
2721
 
    ac_aux_dir=$ac_dir
2722
 
    ac_install_sh="$ac_aux_dir/install.sh -c"
2723
 
    break
2724
 
  elif test -f "$ac_dir/shtool"; then
2725
 
    ac_aux_dir=$ac_dir
2726
 
    ac_install_sh="$ac_aux_dir/shtool install -c"
2727
 
    break
2728
 
  fi
2729
 
done
2730
 
if test -z "$ac_aux_dir"; then
2731
 
  as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2732
 
fi
2733
 
 
2734
 
# These three variables are undocumented and unsupported,
2735
 
# and are intended to be withdrawn in a future Autoconf release.
2736
 
# They can cause serious problems if a builder's source tree is in a directory
2737
 
# whose full name contains unusual characters.
2738
 
ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2739
 
ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2740
 
ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2741
 
 
2742
 
 
2743
 
# Find a good install program.  We prefer a C program (faster),
2744
 
# so one script is as good as another.  But avoid the broken or
2745
 
# incompatible versions:
2746
 
# SysV /etc/install, /usr/sbin/install
2747
 
# SunOS /usr/etc/install
2748
 
# IRIX /sbin/install
2749
 
# AIX /bin/install
2750
 
# AmigaOS /C/install, which installs bootblocks on floppy discs
2751
 
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2752
 
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
2753
 
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2754
 
# OS/2's system install, which has a completely different semantic
2755
 
# ./install, which can be erroneously created by make from ./install.sh.
2756
 
# Reject install programs that cannot install multiple files.
2757
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2758
 
$as_echo_n "checking for a BSD-compatible install... " >&6; }
2759
 
if test -z "$INSTALL"; then
2760
 
if test "${ac_cv_path_install+set}" = set; then :
2761
 
  $as_echo_n "(cached) " >&6
2762
 
else
2763
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2764
 
for as_dir in $PATH
2765
 
do
2766
 
  IFS=$as_save_IFS
2767
 
  test -z "$as_dir" && as_dir=.
2768
 
    # Account for people who put trailing slashes in PATH elements.
2769
 
case $as_dir/ in #((
2770
 
  ./ | .// | /[cC]/* | \
2771
 
  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2772
 
  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2773
 
  /usr/ucb/* ) ;;
2774
 
  *)
2775
 
    # OSF1 and SCO ODT 3.0 have their own names for install.
2776
 
    # Don't use installbsd from OSF since it installs stuff as root
2777
 
    # by default.
2778
 
    for ac_prog in ginstall scoinst install; do
2779
 
      for ac_exec_ext in '' $ac_executable_extensions; do
2780
 
        if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2781
 
          if test $ac_prog = install &&
2782
 
            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2783
 
            # AIX install.  It has an incompatible calling convention.
2784
 
            :
2785
 
          elif test $ac_prog = install &&
2786
 
            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2787
 
            # program-specific install script used by HP pwplus--don't use.
2788
 
            :
2789
 
          else
2790
 
            rm -rf conftest.one conftest.two conftest.dir
2791
 
            echo one > conftest.one
2792
 
            echo two > conftest.two
2793
 
            mkdir conftest.dir
2794
 
            if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2795
 
              test -s conftest.one && test -s conftest.two &&
2796
 
              test -s conftest.dir/conftest.one &&
2797
 
              test -s conftest.dir/conftest.two
2798
 
            then
2799
 
              ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2800
 
              break 3
2801
 
            fi
2802
 
          fi
2803
 
        fi
2804
 
      done
2805
 
    done
2806
 
    ;;
2807
 
esac
2808
 
 
2809
 
  done
2810
 
IFS=$as_save_IFS
2811
 
 
2812
 
rm -rf conftest.one conftest.two conftest.dir
2813
 
 
2814
 
fi
2815
 
  if test "${ac_cv_path_install+set}" = set; then
2816
 
    INSTALL=$ac_cv_path_install
2817
 
  else
2818
 
    # As a last resort, use the slow shell script.  Don't cache a
2819
 
    # value for INSTALL within a source directory, because that will
2820
 
    # break other packages using the cache if that directory is
2821
 
    # removed, or if the value is a relative name.
2822
 
    INSTALL=$ac_install_sh
2823
 
  fi
2824
 
fi
2825
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2826
 
$as_echo "$INSTALL" >&6; }
2827
 
 
2828
 
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2829
 
# It thinks the first close brace ends the variable substitution.
2830
 
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2831
 
 
2832
 
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2833
 
 
2834
 
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2835
 
 
2836
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2837
 
$as_echo_n "checking whether build environment is sane... " >&6; }
2838
 
# Just in case
2839
 
sleep 1
2840
 
echo timestamp > conftest.file
2841
 
# Reject unsafe characters in $srcdir or the absolute working directory
2842
 
# name.  Accept space and tab only in the latter.
2843
 
am_lf='
2844
 
'
2845
 
case `pwd` in
2846
 
  *[\\\"\#\$\&\'\`$am_lf]*)
2847
 
    as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5 ;;
2848
 
esac
2849
 
case $srcdir in
2850
 
  *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
2851
 
    as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5 ;;
2852
 
esac
2853
 
 
2854
 
# Do `set' in a subshell so we don't clobber the current shell's
2855
 
# arguments.  Must try -L first in case configure is actually a
2856
 
# symlink; some systems play weird games with the mod time of symlinks
2857
 
# (eg FreeBSD returns the mod time of the symlink's containing
2858
 
# directory).
2859
 
if (
2860
 
   set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2861
 
   if test "$*" = "X"; then
2862
 
      # -L didn't work.
2863
 
      set X `ls -t "$srcdir/configure" conftest.file`
2864
 
   fi
2865
 
   rm -f conftest.file
2866
 
   if test "$*" != "X $srcdir/configure conftest.file" \
2867
 
      && test "$*" != "X conftest.file $srcdir/configure"; then
2868
 
 
2869
 
      # If neither matched, then we have a broken ls.  This can happen
2870
 
      # if, for instance, CONFIG_SHELL is bash and it inherits a
2871
 
      # broken ls alias from the environment.  This has actually
2872
 
      # happened.  Such a system could not be considered "sane".
2873
 
      as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
2874
 
alias in your environment" "$LINENO" 5
2875
 
   fi
2876
 
 
2877
 
   test "$2" = conftest.file
2878
 
   )
2879
 
then
2880
 
   # Ok.
2881
 
   :
2882
 
else
2883
 
   as_fn_error $? "newly created file is older than distributed files!
2884
 
Check your system clock" "$LINENO" 5
2885
 
fi
2886
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2887
 
$as_echo "yes" >&6; }
2888
 
test "$program_prefix" != NONE &&
2889
 
  program_transform_name="s&^&$program_prefix&;$program_transform_name"
2890
 
# Use a double $ so make ignores it.
2891
 
test "$program_suffix" != NONE &&
2892
 
  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2893
 
# Double any \ or $.
2894
 
# By default was `s,x,x', remove it if useless.
2895
 
ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2896
 
program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2897
 
 
2898
 
# expand $ac_aux_dir to an absolute path
2899
 
am_aux_dir=`cd $ac_aux_dir && pwd`
2900
 
 
2901
 
if test x"${MISSING+set}" != xset; then
2902
 
  case $am_aux_dir in
2903
 
  *\ * | *\     *)
2904
 
    MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2905
 
  *)
2906
 
    MISSING="\${SHELL} $am_aux_dir/missing" ;;
2907
 
  esac
2908
 
fi
2909
 
# Use eval to expand $SHELL
2910
 
if eval "$MISSING --run true"; then
2911
 
  am_missing_run="$MISSING --run "
2912
 
else
2913
 
  am_missing_run=
2914
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2915
 
$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2916
 
fi
2917
 
 
2918
 
if test x"${install_sh}" != xset; then
2919
 
  case $am_aux_dir in
2920
 
  *\ * | *\     *)
2921
 
    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2922
 
  *)
2923
 
    install_sh="\${SHELL} $am_aux_dir/install-sh"
2924
 
  esac
2925
 
fi
2926
 
 
2927
 
# Installed binaries are usually stripped using `strip' when the user
2928
 
# run `make install-strip'.  However `strip' might not be the right
2929
 
# tool to use in cross-compilation environments, therefore Automake
2930
 
# will honor the `STRIP' environment variable to overrule this program.
2931
 
if test "$cross_compiling" != no; then
2932
 
  if test -n "$ac_tool_prefix"; then
2933
 
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2934
 
set dummy ${ac_tool_prefix}strip; ac_word=$2
2935
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2936
 
$as_echo_n "checking for $ac_word... " >&6; }
2937
 
if test "${ac_cv_prog_STRIP+set}" = set; then :
2938
 
  $as_echo_n "(cached) " >&6
2939
 
else
2940
 
  if test -n "$STRIP"; then
2941
 
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2942
 
else
2943
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2944
 
for as_dir in $PATH
2945
 
do
2946
 
  IFS=$as_save_IFS
2947
 
  test -z "$as_dir" && as_dir=.
2948
 
    for ac_exec_ext in '' $ac_executable_extensions; do
2949
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2950
 
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2951
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2952
 
    break 2
2953
 
  fi
2954
 
done
2955
 
  done
2956
 
IFS=$as_save_IFS
2957
 
 
2958
 
fi
2959
 
fi
2960
 
STRIP=$ac_cv_prog_STRIP
2961
 
if test -n "$STRIP"; then
2962
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2963
 
$as_echo "$STRIP" >&6; }
2964
 
else
2965
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2966
 
$as_echo "no" >&6; }
2967
 
fi
2968
 
 
2969
 
 
2970
 
fi
2971
 
if test -z "$ac_cv_prog_STRIP"; then
2972
 
  ac_ct_STRIP=$STRIP
2973
 
  # Extract the first word of "strip", so it can be a program name with args.
2974
 
set dummy strip; ac_word=$2
2975
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2976
 
$as_echo_n "checking for $ac_word... " >&6; }
2977
 
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
2978
 
  $as_echo_n "(cached) " >&6
2979
 
else
2980
 
  if test -n "$ac_ct_STRIP"; then
2981
 
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2982
 
else
2983
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2984
 
for as_dir in $PATH
2985
 
do
2986
 
  IFS=$as_save_IFS
2987
 
  test -z "$as_dir" && as_dir=.
2988
 
    for ac_exec_ext in '' $ac_executable_extensions; do
2989
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2990
 
    ac_cv_prog_ac_ct_STRIP="strip"
2991
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2992
 
    break 2
2993
 
  fi
2994
 
done
2995
 
  done
2996
 
IFS=$as_save_IFS
2997
 
 
2998
 
fi
2999
 
fi
3000
 
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3001
 
if test -n "$ac_ct_STRIP"; then
3002
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3003
 
$as_echo "$ac_ct_STRIP" >&6; }
3004
 
else
3005
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3006
 
$as_echo "no" >&6; }
3007
 
fi
3008
 
 
3009
 
  if test "x$ac_ct_STRIP" = x; then
3010
 
    STRIP=":"
3011
 
  else
3012
 
    case $cross_compiling:$ac_tool_warned in
3013
 
yes:)
3014
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3015
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3016
 
ac_tool_warned=yes ;;
3017
 
esac
3018
 
    STRIP=$ac_ct_STRIP
3019
 
  fi
3020
 
else
3021
 
  STRIP="$ac_cv_prog_STRIP"
3022
 
fi
3023
 
 
3024
 
fi
3025
 
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3026
 
 
3027
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3028
 
$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3029
 
if test -z "$MKDIR_P"; then
3030
 
  if test "${ac_cv_path_mkdir+set}" = set; then :
3031
 
  $as_echo_n "(cached) " >&6
3032
 
else
3033
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3034
 
for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3035
 
do
3036
 
  IFS=$as_save_IFS
3037
 
  test -z "$as_dir" && as_dir=.
3038
 
    for ac_prog in mkdir gmkdir; do
3039
 
         for ac_exec_ext in '' $ac_executable_extensions; do
3040
 
           { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
3041
 
           case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3042
 
             'mkdir (GNU coreutils) '* | \
3043
 
             'mkdir (coreutils) '* | \
3044
 
             'mkdir (fileutils) '4.1*)
3045
 
               ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3046
 
               break 3;;
3047
 
           esac
3048
 
         done
3049
 
       done
3050
 
  done
3051
 
IFS=$as_save_IFS
3052
 
 
3053
 
fi
3054
 
 
3055
 
  test -d ./--version && rmdir ./--version
3056
 
  if test "${ac_cv_path_mkdir+set}" = set; then
3057
 
    MKDIR_P="$ac_cv_path_mkdir -p"
3058
 
  else
3059
 
    # As a last resort, use the slow shell script.  Don't cache a
3060
 
    # value for MKDIR_P within a source directory, because that will
3061
 
    # break other packages using the cache if that directory is
3062
 
    # removed, or if the value is a relative name.
3063
 
    MKDIR_P="$ac_install_sh -d"
3064
 
  fi
3065
 
fi
3066
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3067
 
$as_echo "$MKDIR_P" >&6; }
3068
 
 
3069
 
mkdir_p="$MKDIR_P"
3070
 
case $mkdir_p in
3071
 
  [\\/$]* | ?:[\\/]*) ;;
3072
 
  */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
3073
 
esac
3074
 
 
3075
 
for ac_prog in gawk mawk nawk awk
3076
 
do
3077
 
  # Extract the first word of "$ac_prog", so it can be a program name with args.
3078
 
set dummy $ac_prog; ac_word=$2
3079
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3080
 
$as_echo_n "checking for $ac_word... " >&6; }
3081
 
if test "${ac_cv_prog_AWK+set}" = set; then :
3082
 
  $as_echo_n "(cached) " >&6
3083
 
else
3084
 
  if test -n "$AWK"; then
3085
 
  ac_cv_prog_AWK="$AWK" # Let the user override the test.
3086
 
else
3087
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3088
 
for as_dir in $PATH
3089
 
do
3090
 
  IFS=$as_save_IFS
3091
 
  test -z "$as_dir" && as_dir=.
3092
 
    for ac_exec_ext in '' $ac_executable_extensions; do
3093
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3094
 
    ac_cv_prog_AWK="$ac_prog"
3095
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3096
 
    break 2
3097
 
  fi
3098
 
done
3099
 
  done
3100
 
IFS=$as_save_IFS
3101
 
 
3102
 
fi
3103
 
fi
3104
 
AWK=$ac_cv_prog_AWK
3105
 
if test -n "$AWK"; then
3106
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3107
 
$as_echo "$AWK" >&6; }
3108
 
else
3109
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3110
 
$as_echo "no" >&6; }
3111
 
fi
3112
 
 
3113
 
 
3114
 
  test -n "$AWK" && break
3115
 
done
3116
 
 
3117
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3118
 
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3119
 
set x ${MAKE-make}
3120
 
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3121
 
if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then :
3122
 
  $as_echo_n "(cached) " >&6
3123
 
else
3124
 
  cat >conftest.make <<\_ACEOF
3125
 
SHELL = /bin/sh
3126
 
all:
3127
 
        @echo '@@@%%%=$(MAKE)=@@@%%%'
3128
 
_ACEOF
3129
 
# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3130
 
case `${MAKE-make} -f conftest.make 2>/dev/null` in
3131
 
  *@@@%%%=?*=@@@%%%*)
3132
 
    eval ac_cv_prog_make_${ac_make}_set=yes;;
3133
 
  *)
3134
 
    eval ac_cv_prog_make_${ac_make}_set=no;;
3135
 
esac
3136
 
rm -f conftest.make
3137
 
fi
3138
 
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3139
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3140
 
$as_echo "yes" >&6; }
3141
 
  SET_MAKE=
3142
 
else
3143
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3144
 
$as_echo "no" >&6; }
3145
 
  SET_MAKE="MAKE=${MAKE-make}"
3146
 
fi
3147
 
 
3148
 
rm -rf .tst 2>/dev/null
3149
 
mkdir .tst 2>/dev/null
3150
 
if test -d .tst; then
3151
 
  am__leading_dot=.
3152
 
else
3153
 
  am__leading_dot=_
3154
 
fi
3155
 
rmdir .tst 2>/dev/null
3156
 
 
3157
 
if test "`cd $srcdir && pwd`" != "`pwd`"; then
3158
 
  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3159
 
  # is not polluted with repeated "-I."
3160
 
  am__isrc=' -I$(srcdir)'
3161
 
  # test to see if srcdir already configured
3162
 
  if test -f $srcdir/config.status; then
3163
 
    as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3164
 
  fi
3165
 
fi
3166
 
 
3167
 
# test whether we have cygpath
3168
 
if test -z "$CYGPATH_W"; then
3169
 
  if (cygpath --version) >/dev/null 2>/dev/null; then
3170
 
    CYGPATH_W='cygpath -w'
3171
 
  else
3172
 
    CYGPATH_W=echo
3173
 
  fi
3174
 
fi
3175
 
 
3176
 
 
3177
 
# Define the identity of the package.
3178
 
 PACKAGE='subunit'
3179
 
 VERSION='0.0.7'
3180
 
 
3181
 
 
3182
 
cat >>confdefs.h <<_ACEOF
3183
 
#define PACKAGE "$PACKAGE"
3184
 
_ACEOF
3185
 
 
3186
 
 
3187
 
cat >>confdefs.h <<_ACEOF
3188
 
#define VERSION "$VERSION"
3189
 
_ACEOF
3190
 
 
3191
 
# Some tools Automake needs.
3192
 
 
3193
 
ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3194
 
 
3195
 
 
3196
 
AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3197
 
 
3198
 
 
3199
 
AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3200
 
 
3201
 
 
3202
 
AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3203
 
 
3204
 
 
3205
 
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3206
 
 
3207
 
# We need awk for the "check" target.  The system "awk" is bad on
3208
 
# some platforms.
3209
 
# Always define AMTAR for backward compatibility.
3210
 
 
3211
 
AMTAR=${AMTAR-"${am_missing_run}tar"}
3212
 
 
3213
 
am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
3214
 
 
3215
 
 
3216
 
 
3217
 
 
3218
 
 
3219
 
 
3220
 
SUBUNIT_MAJOR_VERSION=0
3221
 
SUBUNIT_MINOR_VERSION=0
3222
 
SUBUNIT_MICRO_VERSION=7
3223
 
SUBUNIT_VERSION=0.0.7
3224
 
 
3225
 
 
3226
 
 
3227
 
 
3228
 
DEPDIR="${am__leading_dot}deps"
3229
 
 
3230
 
ac_config_commands="$ac_config_commands depfiles"
3231
 
 
3232
 
 
3233
 
am_make=${MAKE-make}
3234
 
cat > confinc << 'END'
3235
 
am__doit:
3236
 
        @echo this is the am__doit target
3237
 
.PHONY: am__doit
3238
 
END
3239
 
# If we don't find an include directive, just comment out the code.
3240
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3241
 
$as_echo_n "checking for style of include used by $am_make... " >&6; }
3242
 
am__include="#"
3243
 
am__quote=
3244
 
_am_result=none
3245
 
# First try GNU make style include.
3246
 
echo "include confinc" > confmf
3247
 
# Ignore all kinds of additional output from `make'.
3248
 
case `$am_make -s -f confmf 2> /dev/null` in #(
3249
 
*the\ am__doit\ target*)
3250
 
  am__include=include
3251
 
  am__quote=
3252
 
  _am_result=GNU
3253
 
  ;;
3254
 
esac
3255
 
# Now try BSD make style include.
3256
 
if test "$am__include" = "#"; then
3257
 
   echo '.include "confinc"' > confmf
3258
 
   case `$am_make -s -f confmf 2> /dev/null` in #(
3259
 
   *the\ am__doit\ target*)
3260
 
     am__include=.include
3261
 
     am__quote="\""
3262
 
     _am_result=BSD
3263
 
     ;;
3264
 
   esac
3265
 
fi
3266
 
 
3267
 
 
3268
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3269
 
$as_echo "$_am_result" >&6; }
3270
 
rm -f confinc confmf
3271
 
 
3272
 
# Check whether --enable-dependency-tracking was given.
3273
 
if test "${enable_dependency_tracking+set}" = set; then :
3274
 
  enableval=$enable_dependency_tracking;
3275
 
fi
3276
 
 
3277
 
if test "x$enable_dependency_tracking" != xno; then
3278
 
  am_depcomp="$ac_aux_dir/depcomp"
3279
 
  AMDEPBACKSLASH='\'
3280
 
fi
3281
 
 if test "x$enable_dependency_tracking" != xno; then
3282
 
  AMDEP_TRUE=
3283
 
  AMDEP_FALSE='#'
3284
 
else
3285
 
  AMDEP_TRUE='#'
3286
 
  AMDEP_FALSE=
3287
 
fi
3288
 
 
3289
 
 
3290
 
ac_ext=c
3291
 
ac_cpp='$CPP $CPPFLAGS'
3292
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3293
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3294
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3295
 
if test -n "$ac_tool_prefix"; then
3296
 
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3297
 
set dummy ${ac_tool_prefix}gcc; ac_word=$2
3298
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3299
 
$as_echo_n "checking for $ac_word... " >&6; }
3300
 
if test "${ac_cv_prog_CC+set}" = set; then :
3301
 
  $as_echo_n "(cached) " >&6
3302
 
else
3303
 
  if test -n "$CC"; then
3304
 
  ac_cv_prog_CC="$CC" # Let the user override the test.
3305
 
else
3306
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3307
 
for as_dir in $PATH
3308
 
do
3309
 
  IFS=$as_save_IFS
3310
 
  test -z "$as_dir" && as_dir=.
3311
 
    for ac_exec_ext in '' $ac_executable_extensions; do
3312
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3313
 
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
3314
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3315
 
    break 2
3316
 
  fi
3317
 
done
3318
 
  done
3319
 
IFS=$as_save_IFS
3320
 
 
3321
 
fi
3322
 
fi
3323
 
CC=$ac_cv_prog_CC
3324
 
if test -n "$CC"; then
3325
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3326
 
$as_echo "$CC" >&6; }
3327
 
else
3328
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3329
 
$as_echo "no" >&6; }
3330
 
fi
3331
 
 
3332
 
 
3333
 
fi
3334
 
if test -z "$ac_cv_prog_CC"; then
3335
 
  ac_ct_CC=$CC
3336
 
  # Extract the first word of "gcc", so it can be a program name with args.
3337
 
set dummy gcc; ac_word=$2
3338
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3339
 
$as_echo_n "checking for $ac_word... " >&6; }
3340
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3341
 
  $as_echo_n "(cached) " >&6
3342
 
else
3343
 
  if test -n "$ac_ct_CC"; then
3344
 
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3345
 
else
3346
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3347
 
for as_dir in $PATH
3348
 
do
3349
 
  IFS=$as_save_IFS
3350
 
  test -z "$as_dir" && as_dir=.
3351
 
    for ac_exec_ext in '' $ac_executable_extensions; do
3352
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3353
 
    ac_cv_prog_ac_ct_CC="gcc"
3354
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3355
 
    break 2
3356
 
  fi
3357
 
done
3358
 
  done
3359
 
IFS=$as_save_IFS
3360
 
 
3361
 
fi
3362
 
fi
3363
 
ac_ct_CC=$ac_cv_prog_ac_ct_CC
3364
 
if test -n "$ac_ct_CC"; then
3365
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3366
 
$as_echo "$ac_ct_CC" >&6; }
3367
 
else
3368
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3369
 
$as_echo "no" >&6; }
3370
 
fi
3371
 
 
3372
 
  if test "x$ac_ct_CC" = x; then
3373
 
    CC=""
3374
 
  else
3375
 
    case $cross_compiling:$ac_tool_warned in
3376
 
yes:)
3377
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3378
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3379
 
ac_tool_warned=yes ;;
3380
 
esac
3381
 
    CC=$ac_ct_CC
3382
 
  fi
3383
 
else
3384
 
  CC="$ac_cv_prog_CC"
3385
 
fi
3386
 
 
3387
 
if test -z "$CC"; then
3388
 
          if test -n "$ac_tool_prefix"; then
3389
 
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3390
 
set dummy ${ac_tool_prefix}cc; ac_word=$2
3391
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3392
 
$as_echo_n "checking for $ac_word... " >&6; }
3393
 
if test "${ac_cv_prog_CC+set}" = set; then :
3394
 
  $as_echo_n "(cached) " >&6
3395
 
else
3396
 
  if test -n "$CC"; then
3397
 
  ac_cv_prog_CC="$CC" # Let the user override the test.
3398
 
else
3399
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3400
 
for as_dir in $PATH
3401
 
do
3402
 
  IFS=$as_save_IFS
3403
 
  test -z "$as_dir" && as_dir=.
3404
 
    for ac_exec_ext in '' $ac_executable_extensions; do
3405
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3406
 
    ac_cv_prog_CC="${ac_tool_prefix}cc"
3407
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3408
 
    break 2
3409
 
  fi
3410
 
done
3411
 
  done
3412
 
IFS=$as_save_IFS
3413
 
 
3414
 
fi
3415
 
fi
3416
 
CC=$ac_cv_prog_CC
3417
 
if test -n "$CC"; then
3418
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3419
 
$as_echo "$CC" >&6; }
3420
 
else
3421
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3422
 
$as_echo "no" >&6; }
3423
 
fi
3424
 
 
3425
 
 
3426
 
  fi
3427
 
fi
3428
 
if test -z "$CC"; then
3429
 
  # Extract the first word of "cc", so it can be a program name with args.
3430
 
set dummy cc; ac_word=$2
3431
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3432
 
$as_echo_n "checking for $ac_word... " >&6; }
3433
 
if test "${ac_cv_prog_CC+set}" = set; then :
3434
 
  $as_echo_n "(cached) " >&6
3435
 
else
3436
 
  if test -n "$CC"; then
3437
 
  ac_cv_prog_CC="$CC" # Let the user override the test.
3438
 
else
3439
 
  ac_prog_rejected=no
3440
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3441
 
for as_dir in $PATH
3442
 
do
3443
 
  IFS=$as_save_IFS
3444
 
  test -z "$as_dir" && as_dir=.
3445
 
    for ac_exec_ext in '' $ac_executable_extensions; do
3446
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3447
 
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3448
 
       ac_prog_rejected=yes
3449
 
       continue
3450
 
     fi
3451
 
    ac_cv_prog_CC="cc"
3452
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3453
 
    break 2
3454
 
  fi
3455
 
done
3456
 
  done
3457
 
IFS=$as_save_IFS
3458
 
 
3459
 
if test $ac_prog_rejected = yes; then
3460
 
  # We found a bogon in the path, so make sure we never use it.
3461
 
  set dummy $ac_cv_prog_CC
3462
 
  shift
3463
 
  if test $# != 0; then
3464
 
    # We chose a different compiler from the bogus one.
3465
 
    # However, it has the same basename, so the bogon will be chosen
3466
 
    # first if we set CC to just the basename; use the full file name.
3467
 
    shift
3468
 
    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3469
 
  fi
3470
 
fi
3471
 
fi
3472
 
fi
3473
 
CC=$ac_cv_prog_CC
3474
 
if test -n "$CC"; then
3475
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3476
 
$as_echo "$CC" >&6; }
3477
 
else
3478
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3479
 
$as_echo "no" >&6; }
3480
 
fi
3481
 
 
3482
 
 
3483
 
fi
3484
 
if test -z "$CC"; then
3485
 
  if test -n "$ac_tool_prefix"; then
3486
 
  for ac_prog in cl.exe
3487
 
  do
3488
 
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3489
 
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3490
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3491
 
$as_echo_n "checking for $ac_word... " >&6; }
3492
 
if test "${ac_cv_prog_CC+set}" = set; then :
3493
 
  $as_echo_n "(cached) " >&6
3494
 
else
3495
 
  if test -n "$CC"; then
3496
 
  ac_cv_prog_CC="$CC" # Let the user override the test.
3497
 
else
3498
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3499
 
for as_dir in $PATH
3500
 
do
3501
 
  IFS=$as_save_IFS
3502
 
  test -z "$as_dir" && as_dir=.
3503
 
    for ac_exec_ext in '' $ac_executable_extensions; do
3504
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3505
 
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3506
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3507
 
    break 2
3508
 
  fi
3509
 
done
3510
 
  done
3511
 
IFS=$as_save_IFS
3512
 
 
3513
 
fi
3514
 
fi
3515
 
CC=$ac_cv_prog_CC
3516
 
if test -n "$CC"; then
3517
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3518
 
$as_echo "$CC" >&6; }
3519
 
else
3520
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3521
 
$as_echo "no" >&6; }
3522
 
fi
3523
 
 
3524
 
 
3525
 
    test -n "$CC" && break
3526
 
  done
3527
 
fi
3528
 
if test -z "$CC"; then
3529
 
  ac_ct_CC=$CC
3530
 
  for ac_prog in cl.exe
3531
 
do
3532
 
  # Extract the first word of "$ac_prog", so it can be a program name with args.
3533
 
set dummy $ac_prog; ac_word=$2
3534
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3535
 
$as_echo_n "checking for $ac_word... " >&6; }
3536
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3537
 
  $as_echo_n "(cached) " >&6
3538
 
else
3539
 
  if test -n "$ac_ct_CC"; then
3540
 
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3541
 
else
3542
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3543
 
for as_dir in $PATH
3544
 
do
3545
 
  IFS=$as_save_IFS
3546
 
  test -z "$as_dir" && as_dir=.
3547
 
    for ac_exec_ext in '' $ac_executable_extensions; do
3548
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3549
 
    ac_cv_prog_ac_ct_CC="$ac_prog"
3550
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3551
 
    break 2
3552
 
  fi
3553
 
done
3554
 
  done
3555
 
IFS=$as_save_IFS
3556
 
 
3557
 
fi
3558
 
fi
3559
 
ac_ct_CC=$ac_cv_prog_ac_ct_CC
3560
 
if test -n "$ac_ct_CC"; then
3561
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3562
 
$as_echo "$ac_ct_CC" >&6; }
3563
 
else
3564
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3565
 
$as_echo "no" >&6; }
3566
 
fi
3567
 
 
3568
 
 
3569
 
  test -n "$ac_ct_CC" && break
3570
 
done
3571
 
 
3572
 
  if test "x$ac_ct_CC" = x; then
3573
 
    CC=""
3574
 
  else
3575
 
    case $cross_compiling:$ac_tool_warned in
3576
 
yes:)
3577
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3578
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3579
 
ac_tool_warned=yes ;;
3580
 
esac
3581
 
    CC=$ac_ct_CC
3582
 
  fi
3583
 
fi
3584
 
 
3585
 
fi
3586
 
 
3587
 
 
3588
 
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3589
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3590
 
as_fn_error $? "no acceptable C compiler found in \$PATH
3591
 
See \`config.log' for more details" "$LINENO" 5 ; }
3592
 
 
3593
 
# Provide some information about the compiler.
3594
 
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3595
 
set X $ac_compile
3596
 
ac_compiler=$2
3597
 
for ac_option in --version -v -V -qversion; do
3598
 
  { { ac_try="$ac_compiler $ac_option >&5"
3599
 
case "(($ac_try" in
3600
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3601
 
  *) ac_try_echo=$ac_try;;
3602
 
esac
3603
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3604
 
$as_echo "$ac_try_echo"; } >&5
3605
 
  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3606
 
  ac_status=$?
3607
 
  if test -s conftest.err; then
3608
 
    sed '10a\
3609
 
... rest of stderr output deleted ...
3610
 
         10q' conftest.err >conftest.er1
3611
 
    cat conftest.er1 >&5
3612
 
  fi
3613
 
  rm -f conftest.er1 conftest.err
3614
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3615
 
  test $ac_status = 0; }
3616
 
done
3617
 
 
3618
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3619
 
/* end confdefs.h.  */
3620
 
 
3621
 
int
3622
 
main ()
3623
 
{
3624
 
 
3625
 
  ;
3626
 
  return 0;
3627
 
}
3628
 
_ACEOF
3629
 
ac_clean_files_save=$ac_clean_files
3630
 
ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3631
 
# Try to create an executable without -o first, disregard a.out.
3632
 
# It will help us diagnose broken compilers, and finding out an intuition
3633
 
# of exeext.
3634
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3635
 
$as_echo_n "checking whether the C compiler works... " >&6; }
3636
 
ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3637
 
 
3638
 
# The possible output files:
3639
 
ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3640
 
 
3641
 
ac_rmfiles=
3642
 
for ac_file in $ac_files
3643
 
do
3644
 
  case $ac_file in
3645
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3646
 
    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3647
 
  esac
3648
 
done
3649
 
rm -f $ac_rmfiles
3650
 
 
3651
 
if { { ac_try="$ac_link_default"
3652
 
case "(($ac_try" in
3653
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3654
 
  *) ac_try_echo=$ac_try;;
3655
 
esac
3656
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3657
 
$as_echo "$ac_try_echo"; } >&5
3658
 
  (eval "$ac_link_default") 2>&5
3659
 
  ac_status=$?
3660
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3661
 
  test $ac_status = 0; }; then :
3662
 
  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3663
 
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3664
 
# in a Makefile.  We should not override ac_cv_exeext if it was cached,
3665
 
# so that the user can short-circuit this test for compilers unknown to
3666
 
# Autoconf.
3667
 
for ac_file in $ac_files ''
3668
 
do
3669
 
  test -f "$ac_file" || continue
3670
 
  case $ac_file in
3671
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3672
 
        ;;
3673
 
    [ab].out )
3674
 
        # We found the default executable, but exeext='' is most
3675
 
        # certainly right.
3676
 
        break;;
3677
 
    *.* )
3678
 
        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3679
 
        then :; else
3680
 
           ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3681
 
        fi
3682
 
        # We set ac_cv_exeext here because the later test for it is not
3683
 
        # safe: cross compilers may not add the suffix if given an `-o'
3684
 
        # argument, so we may need to know it at that point already.
3685
 
        # Even if this section looks crufty: it has the advantage of
3686
 
        # actually working.
3687
 
        break;;
3688
 
    * )
3689
 
        break;;
3690
 
  esac
3691
 
done
3692
 
test "$ac_cv_exeext" = no && ac_cv_exeext=
3693
 
 
3694
 
else
3695
 
  ac_file=''
3696
 
fi
3697
 
if test -z "$ac_file"; then :
3698
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3699
 
$as_echo "no" >&6; }
3700
 
$as_echo "$as_me: failed program was:" >&5
3701
 
sed 's/^/| /' conftest.$ac_ext >&5
3702
 
 
3703
 
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3704
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3705
 
as_fn_error 77 "C compiler cannot create executables
3706
 
See \`config.log' for more details" "$LINENO" 5 ; }
3707
 
else
3708
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3709
 
$as_echo "yes" >&6; }
3710
 
fi
3711
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3712
 
$as_echo_n "checking for C compiler default output file name... " >&6; }
3713
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3714
 
$as_echo "$ac_file" >&6; }
3715
 
ac_exeext=$ac_cv_exeext
3716
 
 
3717
 
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3718
 
ac_clean_files=$ac_clean_files_save
3719
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3720
 
$as_echo_n "checking for suffix of executables... " >&6; }
3721
 
if { { ac_try="$ac_link"
3722
 
case "(($ac_try" in
3723
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3724
 
  *) ac_try_echo=$ac_try;;
3725
 
esac
3726
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3727
 
$as_echo "$ac_try_echo"; } >&5
3728
 
  (eval "$ac_link") 2>&5
3729
 
  ac_status=$?
3730
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3731
 
  test $ac_status = 0; }; then :
3732
 
  # If both `conftest.exe' and `conftest' are `present' (well, observable)
3733
 
# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3734
 
# work properly (i.e., refer to `conftest.exe'), while it won't with
3735
 
# `rm'.
3736
 
for ac_file in conftest.exe conftest conftest.*; do
3737
 
  test -f "$ac_file" || continue
3738
 
  case $ac_file in
3739
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3740
 
    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3741
 
          break;;
3742
 
    * ) break;;
3743
 
  esac
3744
 
done
3745
 
else
3746
 
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3747
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3748
 
as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3749
 
See \`config.log' for more details" "$LINENO" 5 ; }
3750
 
fi
3751
 
rm -f conftest conftest$ac_cv_exeext
3752
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3753
 
$as_echo "$ac_cv_exeext" >&6; }
3754
 
 
3755
 
rm -f conftest.$ac_ext
3756
 
EXEEXT=$ac_cv_exeext
3757
 
ac_exeext=$EXEEXT
3758
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3759
 
/* end confdefs.h.  */
3760
 
#include <stdio.h>
3761
 
int
3762
 
main ()
3763
 
{
3764
 
FILE *f = fopen ("conftest.out", "w");
3765
 
 return ferror (f) || fclose (f) != 0;
3766
 
 
3767
 
  ;
3768
 
  return 0;
3769
 
}
3770
 
_ACEOF
3771
 
ac_clean_files="$ac_clean_files conftest.out"
3772
 
# Check that the compiler produces executables we can run.  If not, either
3773
 
# the compiler is broken, or we cross compile.
3774
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3775
 
$as_echo_n "checking whether we are cross compiling... " >&6; }
3776
 
if test "$cross_compiling" != yes; then
3777
 
  { { ac_try="$ac_link"
3778
 
case "(($ac_try" in
3779
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3780
 
  *) ac_try_echo=$ac_try;;
3781
 
esac
3782
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3783
 
$as_echo "$ac_try_echo"; } >&5
3784
 
  (eval "$ac_link") 2>&5
3785
 
  ac_status=$?
3786
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3787
 
  test $ac_status = 0; }
3788
 
  if { ac_try='./conftest$ac_cv_exeext'
3789
 
  { { case "(($ac_try" in
3790
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3791
 
  *) ac_try_echo=$ac_try;;
3792
 
esac
3793
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3794
 
$as_echo "$ac_try_echo"; } >&5
3795
 
  (eval "$ac_try") 2>&5
3796
 
  ac_status=$?
3797
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3798
 
  test $ac_status = 0; }; }; then
3799
 
    cross_compiling=no
3800
 
  else
3801
 
    if test "$cross_compiling" = maybe; then
3802
 
        cross_compiling=yes
3803
 
    else
3804
 
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3805
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3806
 
as_fn_error $? "cannot run C compiled programs.
3807
 
If you meant to cross compile, use \`--host'.
3808
 
See \`config.log' for more details" "$LINENO" 5 ; }
3809
 
    fi
3810
 
  fi
3811
 
fi
3812
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3813
 
$as_echo "$cross_compiling" >&6; }
3814
 
 
3815
 
rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3816
 
ac_clean_files=$ac_clean_files_save
3817
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3818
 
$as_echo_n "checking for suffix of object files... " >&6; }
3819
 
if test "${ac_cv_objext+set}" = set; then :
3820
 
  $as_echo_n "(cached) " >&6
3821
 
else
3822
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3823
 
/* end confdefs.h.  */
3824
 
 
3825
 
int
3826
 
main ()
3827
 
{
3828
 
 
3829
 
  ;
3830
 
  return 0;
3831
 
}
3832
 
_ACEOF
3833
 
rm -f conftest.o conftest.obj
3834
 
if { { ac_try="$ac_compile"
3835
 
case "(($ac_try" in
3836
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3837
 
  *) ac_try_echo=$ac_try;;
3838
 
esac
3839
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3840
 
$as_echo "$ac_try_echo"; } >&5
3841
 
  (eval "$ac_compile") 2>&5
3842
 
  ac_status=$?
3843
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3844
 
  test $ac_status = 0; }; then :
3845
 
  for ac_file in conftest.o conftest.obj conftest.*; do
3846
 
  test -f "$ac_file" || continue;
3847
 
  case $ac_file in
3848
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3849
 
    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3850
 
       break;;
3851
 
  esac
3852
 
done
3853
 
else
3854
 
  $as_echo "$as_me: failed program was:" >&5
3855
 
sed 's/^/| /' conftest.$ac_ext >&5
3856
 
 
3857
 
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3858
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3859
 
as_fn_error $? "cannot compute suffix of object files: cannot compile
3860
 
See \`config.log' for more details" "$LINENO" 5 ; }
3861
 
fi
3862
 
rm -f conftest.$ac_cv_objext conftest.$ac_ext
3863
 
fi
3864
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3865
 
$as_echo "$ac_cv_objext" >&6; }
3866
 
OBJEXT=$ac_cv_objext
3867
 
ac_objext=$OBJEXT
3868
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3869
 
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3870
 
if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3871
 
  $as_echo_n "(cached) " >&6
3872
 
else
3873
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3874
 
/* end confdefs.h.  */
3875
 
 
3876
 
int
3877
 
main ()
3878
 
{
3879
 
#ifndef __GNUC__
3880
 
       choke me
3881
 
#endif
3882
 
 
3883
 
  ;
3884
 
  return 0;
3885
 
}
3886
 
_ACEOF
3887
 
if ac_fn_c_try_compile "$LINENO"; then :
3888
 
  ac_compiler_gnu=yes
3889
 
else
3890
 
  ac_compiler_gnu=no
3891
 
fi
3892
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3893
 
ac_cv_c_compiler_gnu=$ac_compiler_gnu
3894
 
 
3895
 
fi
3896
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3897
 
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
3898
 
if test $ac_compiler_gnu = yes; then
3899
 
  GCC=yes
3900
 
else
3901
 
  GCC=
3902
 
fi
3903
 
ac_test_CFLAGS=${CFLAGS+set}
3904
 
ac_save_CFLAGS=$CFLAGS
3905
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3906
 
$as_echo_n "checking whether $CC accepts -g... " >&6; }
3907
 
if test "${ac_cv_prog_cc_g+set}" = set; then :
3908
 
  $as_echo_n "(cached) " >&6
3909
 
else
3910
 
  ac_save_c_werror_flag=$ac_c_werror_flag
3911
 
   ac_c_werror_flag=yes
3912
 
   ac_cv_prog_cc_g=no
3913
 
   CFLAGS="-g"
3914
 
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3915
 
/* end confdefs.h.  */
3916
 
 
3917
 
int
3918
 
main ()
3919
 
{
3920
 
 
3921
 
  ;
3922
 
  return 0;
3923
 
}
3924
 
_ACEOF
3925
 
if ac_fn_c_try_compile "$LINENO"; then :
3926
 
  ac_cv_prog_cc_g=yes
3927
 
else
3928
 
  CFLAGS=""
3929
 
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3930
 
/* end confdefs.h.  */
3931
 
 
3932
 
int
3933
 
main ()
3934
 
{
3935
 
 
3936
 
  ;
3937
 
  return 0;
3938
 
}
3939
 
_ACEOF
3940
 
if ac_fn_c_try_compile "$LINENO"; then :
3941
 
 
3942
 
else
3943
 
  ac_c_werror_flag=$ac_save_c_werror_flag
3944
 
         CFLAGS="-g"
3945
 
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3946
 
/* end confdefs.h.  */
3947
 
 
3948
 
int
3949
 
main ()
3950
 
{
3951
 
 
3952
 
  ;
3953
 
  return 0;
3954
 
}
3955
 
_ACEOF
3956
 
if ac_fn_c_try_compile "$LINENO"; then :
3957
 
  ac_cv_prog_cc_g=yes
3958
 
fi
3959
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3960
 
fi
3961
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3962
 
fi
3963
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3964
 
   ac_c_werror_flag=$ac_save_c_werror_flag
3965
 
fi
3966
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3967
 
$as_echo "$ac_cv_prog_cc_g" >&6; }
3968
 
if test "$ac_test_CFLAGS" = set; then
3969
 
  CFLAGS=$ac_save_CFLAGS
3970
 
elif test $ac_cv_prog_cc_g = yes; then
3971
 
  if test "$GCC" = yes; then
3972
 
    CFLAGS="-g -O2"
3973
 
  else
3974
 
    CFLAGS="-g"
3975
 
  fi
3976
 
else
3977
 
  if test "$GCC" = yes; then
3978
 
    CFLAGS="-O2"
3979
 
  else
3980
 
    CFLAGS=
3981
 
  fi
3982
 
fi
3983
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3984
 
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3985
 
if test "${ac_cv_prog_cc_c89+set}" = set; then :
3986
 
  $as_echo_n "(cached) " >&6
3987
 
else
3988
 
  ac_cv_prog_cc_c89=no
3989
 
ac_save_CC=$CC
3990
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3991
 
/* end confdefs.h.  */
3992
 
#include <stdarg.h>
3993
 
#include <stdio.h>
3994
 
#include <sys/types.h>
3995
 
#include <sys/stat.h>
3996
 
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3997
 
struct buf { int x; };
3998
 
FILE * (*rcsopen) (struct buf *, struct stat *, int);
3999
 
static char *e (p, i)
4000
 
     char **p;
4001
 
     int i;
4002
 
{
4003
 
  return p[i];
4004
 
}
4005
 
static char *f (char * (*g) (char **, int), char **p, ...)
4006
 
{
4007
 
  char *s;
4008
 
  va_list v;
4009
 
  va_start (v,p);
4010
 
  s = g (p, va_arg (v,int));
4011
 
  va_end (v);
4012
 
  return s;
4013
 
}
4014
 
 
4015
 
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
4016
 
   function prototypes and stuff, but not '\xHH' hex character constants.
4017
 
   These don't provoke an error unfortunately, instead are silently treated
4018
 
   as 'x'.  The following induces an error, until -std is added to get
4019
 
   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
4020
 
   array size at least.  It's necessary to write '\x00'==0 to get something
4021
 
   that's true only with -std.  */
4022
 
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4023
 
 
4024
 
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4025
 
   inside strings and character constants.  */
4026
 
#define FOO(x) 'x'
4027
 
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4028
 
 
4029
 
int test (int i, double x);
4030
 
struct s1 {int (*f) (int a);};
4031
 
struct s2 {int (*f) (double a);};
4032
 
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4033
 
int argc;
4034
 
char **argv;
4035
 
int
4036
 
main ()
4037
 
{
4038
 
return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
4039
 
  ;
4040
 
  return 0;
4041
 
}
4042
 
_ACEOF
4043
 
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4044
 
        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4045
 
do
4046
 
  CC="$ac_save_CC $ac_arg"
4047
 
  if ac_fn_c_try_compile "$LINENO"; then :
4048
 
  ac_cv_prog_cc_c89=$ac_arg
4049
 
fi
4050
 
rm -f core conftest.err conftest.$ac_objext
4051
 
  test "x$ac_cv_prog_cc_c89" != "xno" && break
4052
 
done
4053
 
rm -f conftest.$ac_ext
4054
 
CC=$ac_save_CC
4055
 
 
4056
 
fi
4057
 
# AC_CACHE_VAL
4058
 
case "x$ac_cv_prog_cc_c89" in
4059
 
  x)
4060
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4061
 
$as_echo "none needed" >&6; } ;;
4062
 
  xno)
4063
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4064
 
$as_echo "unsupported" >&6; } ;;
4065
 
  *)
4066
 
    CC="$CC $ac_cv_prog_cc_c89"
4067
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4068
 
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4069
 
esac
4070
 
if test "x$ac_cv_prog_cc_c89" != xno; then :
4071
 
 
4072
 
fi
4073
 
 
4074
 
ac_ext=c
4075
 
ac_cpp='$CPP $CPPFLAGS'
4076
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4077
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4078
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4079
 
 
4080
 
depcc="$CC"   am_compiler_list=
4081
 
 
4082
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4083
 
$as_echo_n "checking dependency style of $depcc... " >&6; }
4084
 
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
4085
 
  $as_echo_n "(cached) " >&6
4086
 
else
4087
 
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4088
 
  # We make a subdir and do the tests there.  Otherwise we can end up
4089
 
  # making bogus files that we don't know about and never remove.  For
4090
 
  # instance it was reported that on HP-UX the gcc test will end up
4091
 
  # making a dummy file named `D' -- because `-MD' means `put the output
4092
 
  # in D'.
4093
 
  mkdir conftest.dir
4094
 
  # Copy depcomp to subdir because otherwise we won't find it if we're
4095
 
  # using a relative directory.
4096
 
  cp "$am_depcomp" conftest.dir
4097
 
  cd conftest.dir
4098
 
  # We will build objects and dependencies in a subdirectory because
4099
 
  # it helps to detect inapplicable dependency modes.  For instance
4100
 
  # both Tru64's cc and ICC support -MD to output dependencies as a
4101
 
  # side effect of compilation, but ICC will put the dependencies in
4102
 
  # the current directory while Tru64 will put them in the object
4103
 
  # directory.
4104
 
  mkdir sub
4105
 
 
4106
 
  am_cv_CC_dependencies_compiler_type=none
4107
 
  if test "$am_compiler_list" = ""; then
4108
 
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4109
 
  fi
4110
 
  am__universal=false
4111
 
  case " $depcc " in #(
4112
 
     *\ -arch\ *\ -arch\ *) am__universal=true ;;
4113
 
     esac
4114
 
 
4115
 
  for depmode in $am_compiler_list; do
4116
 
    # Setup a source with many dependencies, because some compilers
4117
 
    # like to wrap large dependency lists on column 80 (with \), and
4118
 
    # we should not choose a depcomp mode which is confused by this.
4119
 
    #
4120
 
    # We need to recreate these files for each test, as the compiler may
4121
 
    # overwrite some of them when testing with obscure command lines.
4122
 
    # This happens at least with the AIX C compiler.
4123
 
    : > sub/conftest.c
4124
 
    for i in 1 2 3 4 5 6; do
4125
 
      echo '#include "conftst'$i'.h"' >> sub/conftest.c
4126
 
      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4127
 
      # Solaris 8's {/usr,}/bin/sh.
4128
 
      touch sub/conftst$i.h
4129
 
    done
4130
 
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4131
 
 
4132
 
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
4133
 
    # mode.  It turns out that the SunPro C++ compiler does not properly
4134
 
    # handle `-M -o', and we need to detect this.  Also, some Intel
4135
 
    # versions had trouble with output in subdirs
4136
 
    am__obj=sub/conftest.${OBJEXT-o}
4137
 
    am__minus_obj="-o $am__obj"
4138
 
    case $depmode in
4139
 
    gcc)
4140
 
      # This depmode causes a compiler race in universal mode.
4141
 
      test "$am__universal" = false || continue
4142
 
      ;;
4143
 
    nosideeffect)
4144
 
      # after this tag, mechanisms are not by side-effect, so they'll
4145
 
      # only be used when explicitly requested
4146
 
      if test "x$enable_dependency_tracking" = xyes; then
4147
 
        continue
4148
 
      else
4149
 
        break
4150
 
      fi
4151
 
      ;;
4152
 
    msvisualcpp | msvcmsys)
4153
 
      # This compiler won't grok `-c -o', but also, the minuso test has
4154
 
      # not run yet.  These depmodes are late enough in the game, and
4155
 
      # so weak that their functioning should not be impacted.
4156
 
      am__obj=conftest.${OBJEXT-o}
4157
 
      am__minus_obj=
4158
 
      ;;
4159
 
    none) break ;;
4160
 
    esac
4161
 
    if depmode=$depmode \
4162
 
       source=sub/conftest.c object=$am__obj \
4163
 
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4164
 
       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4165
 
         >/dev/null 2>conftest.err &&
4166
 
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4167
 
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4168
 
       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4169
 
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4170
 
      # icc doesn't choke on unknown options, it will just issue warnings
4171
 
      # or remarks (even with -Werror).  So we grep stderr for any message
4172
 
      # that says an option was ignored or not supported.
4173
 
      # When given -MP, icc 7.0 and 7.1 complain thusly:
4174
 
      #   icc: Command line warning: ignoring option '-M'; no argument required
4175
 
      # The diagnosis changed in icc 8.0:
4176
 
      #   icc: Command line remark: option '-MP' not supported
4177
 
      if (grep 'ignoring option' conftest.err ||
4178
 
          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4179
 
        am_cv_CC_dependencies_compiler_type=$depmode
4180
 
        break
4181
 
      fi
4182
 
    fi
4183
 
  done
4184
 
 
4185
 
  cd ..
4186
 
  rm -rf conftest.dir
4187
 
else
4188
 
  am_cv_CC_dependencies_compiler_type=none
4189
 
fi
4190
 
 
4191
 
fi
4192
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4193
 
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4194
 
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4195
 
 
4196
 
 if
4197
 
  test "x$enable_dependency_tracking" != xno \
4198
 
  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4199
 
  am__fastdepCC_TRUE=
4200
 
  am__fastdepCC_FALSE='#'
4201
 
else
4202
 
  am__fastdepCC_TRUE='#'
4203
 
  am__fastdepCC_FALSE=
4204
 
fi
4205
 
 
4206
 
 
4207
 
 
4208
 
ac_ext=c
4209
 
ac_cpp='$CPP $CPPFLAGS'
4210
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4211
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4212
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4213
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4214
 
$as_echo_n "checking how to run the C preprocessor... " >&6; }
4215
 
# On Suns, sometimes $CPP names a directory.
4216
 
if test -n "$CPP" && test -d "$CPP"; then
4217
 
  CPP=
4218
 
fi
4219
 
if test -z "$CPP"; then
4220
 
  if test "${ac_cv_prog_CPP+set}" = set; then :
4221
 
  $as_echo_n "(cached) " >&6
4222
 
else
4223
 
      # Double quotes because CPP needs to be expanded
4224
 
    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4225
 
    do
4226
 
      ac_preproc_ok=false
4227
 
for ac_c_preproc_warn_flag in '' yes
4228
 
do
4229
 
  # Use a header file that comes with gcc, so configuring glibc
4230
 
  # with a fresh cross-compiler works.
4231
 
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4232
 
  # <limits.h> exists even on freestanding compilers.
4233
 
  # On the NeXT, cc -E runs the code through the compiler's parser,
4234
 
  # not just through cpp. "Syntax error" is here to catch this case.
4235
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4236
 
/* end confdefs.h.  */
4237
 
#ifdef __STDC__
4238
 
# include <limits.h>
4239
 
#else
4240
 
# include <assert.h>
4241
 
#endif
4242
 
                     Syntax error
4243
 
_ACEOF
4244
 
if ac_fn_c_try_cpp "$LINENO"; then :
4245
 
 
4246
 
else
4247
 
  # Broken: fails on valid input.
4248
 
continue
4249
 
fi
4250
 
rm -f conftest.err conftest.i conftest.$ac_ext
4251
 
 
4252
 
  # OK, works on sane cases.  Now check whether nonexistent headers
4253
 
  # can be detected and how.
4254
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4255
 
/* end confdefs.h.  */
4256
 
#include <ac_nonexistent.h>
4257
 
_ACEOF
4258
 
if ac_fn_c_try_cpp "$LINENO"; then :
4259
 
  # Broken: success on invalid input.
4260
 
continue
4261
 
else
4262
 
  # Passes both tests.
4263
 
ac_preproc_ok=:
4264
 
break
4265
 
fi
4266
 
rm -f conftest.err conftest.i conftest.$ac_ext
4267
 
 
4268
 
done
4269
 
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4270
 
rm -f conftest.i conftest.err conftest.$ac_ext
4271
 
if $ac_preproc_ok; then :
4272
 
  break
4273
 
fi
4274
 
 
4275
 
    done
4276
 
    ac_cv_prog_CPP=$CPP
4277
 
 
4278
 
fi
4279
 
  CPP=$ac_cv_prog_CPP
4280
 
else
4281
 
  ac_cv_prog_CPP=$CPP
4282
 
fi
4283
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4284
 
$as_echo "$CPP" >&6; }
4285
 
ac_preproc_ok=false
4286
 
for ac_c_preproc_warn_flag in '' yes
4287
 
do
4288
 
  # Use a header file that comes with gcc, so configuring glibc
4289
 
  # with a fresh cross-compiler works.
4290
 
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4291
 
  # <limits.h> exists even on freestanding compilers.
4292
 
  # On the NeXT, cc -E runs the code through the compiler's parser,
4293
 
  # not just through cpp. "Syntax error" is here to catch this case.
4294
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4295
 
/* end confdefs.h.  */
4296
 
#ifdef __STDC__
4297
 
# include <limits.h>
4298
 
#else
4299
 
# include <assert.h>
4300
 
#endif
4301
 
                     Syntax error
4302
 
_ACEOF
4303
 
if ac_fn_c_try_cpp "$LINENO"; then :
4304
 
 
4305
 
else
4306
 
  # Broken: fails on valid input.
4307
 
continue
4308
 
fi
4309
 
rm -f conftest.err conftest.i conftest.$ac_ext
4310
 
 
4311
 
  # OK, works on sane cases.  Now check whether nonexistent headers
4312
 
  # can be detected and how.
4313
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4314
 
/* end confdefs.h.  */
4315
 
#include <ac_nonexistent.h>
4316
 
_ACEOF
4317
 
if ac_fn_c_try_cpp "$LINENO"; then :
4318
 
  # Broken: success on invalid input.
4319
 
continue
4320
 
else
4321
 
  # Passes both tests.
4322
 
ac_preproc_ok=:
4323
 
break
4324
 
fi
4325
 
rm -f conftest.err conftest.i conftest.$ac_ext
4326
 
 
4327
 
done
4328
 
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4329
 
rm -f conftest.i conftest.err conftest.$ac_ext
4330
 
if $ac_preproc_ok; then :
4331
 
 
4332
 
else
4333
 
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4334
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4335
 
as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
4336
 
See \`config.log' for more details" "$LINENO" 5 ; }
4337
 
fi
4338
 
 
4339
 
ac_ext=c
4340
 
ac_cpp='$CPP $CPPFLAGS'
4341
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4342
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4343
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4344
 
 
4345
 
 
4346
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4347
 
$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4348
 
if test "${ac_cv_path_GREP+set}" = set; then :
4349
 
  $as_echo_n "(cached) " >&6
4350
 
else
4351
 
  if test -z "$GREP"; then
4352
 
  ac_path_GREP_found=false
4353
 
  # Loop through the user's path and test for each of PROGNAME-LIST
4354
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4355
 
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4356
 
do
4357
 
  IFS=$as_save_IFS
4358
 
  test -z "$as_dir" && as_dir=.
4359
 
    for ac_prog in grep ggrep; do
4360
 
    for ac_exec_ext in '' $ac_executable_extensions; do
4361
 
      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4362
 
      { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4363
 
# Check for GNU ac_path_GREP and select it if it is found.
4364
 
  # Check for GNU $ac_path_GREP
4365
 
case `"$ac_path_GREP" --version 2>&1` in
4366
 
*GNU*)
4367
 
  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4368
 
*)
4369
 
  ac_count=0
4370
 
  $as_echo_n 0123456789 >"conftest.in"
4371
 
  while :
4372
 
  do
4373
 
    cat "conftest.in" "conftest.in" >"conftest.tmp"
4374
 
    mv "conftest.tmp" "conftest.in"
4375
 
    cp "conftest.in" "conftest.nl"
4376
 
    $as_echo 'GREP' >> "conftest.nl"
4377
 
    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4378
 
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4379
 
    as_fn_arith $ac_count + 1 && ac_count=$as_val
4380
 
    if test $ac_count -gt ${ac_path_GREP_max-0}; then
4381
 
      # Best one so far, save it but keep looking for a better one
4382
 
      ac_cv_path_GREP="$ac_path_GREP"
4383
 
      ac_path_GREP_max=$ac_count
4384
 
    fi
4385
 
    # 10*(2^10) chars as input seems more than enough
4386
 
    test $ac_count -gt 10 && break
4387
 
  done
4388
 
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4389
 
esac
4390
 
 
4391
 
      $ac_path_GREP_found && break 3
4392
 
    done
4393
 
  done
4394
 
  done
4395
 
IFS=$as_save_IFS
4396
 
  if test -z "$ac_cv_path_GREP"; then
4397
 
    as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4398
 
  fi
4399
 
else
4400
 
  ac_cv_path_GREP=$GREP
4401
 
fi
4402
 
 
4403
 
fi
4404
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4405
 
$as_echo "$ac_cv_path_GREP" >&6; }
4406
 
 GREP="$ac_cv_path_GREP"
4407
 
 
4408
 
 
4409
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4410
 
$as_echo_n "checking for egrep... " >&6; }
4411
 
if test "${ac_cv_path_EGREP+set}" = set; then :
4412
 
  $as_echo_n "(cached) " >&6
4413
 
else
4414
 
  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4415
 
   then ac_cv_path_EGREP="$GREP -E"
4416
 
   else
4417
 
     if test -z "$EGREP"; then
4418
 
  ac_path_EGREP_found=false
4419
 
  # Loop through the user's path and test for each of PROGNAME-LIST
4420
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4421
 
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4422
 
do
4423
 
  IFS=$as_save_IFS
4424
 
  test -z "$as_dir" && as_dir=.
4425
 
    for ac_prog in egrep; do
4426
 
    for ac_exec_ext in '' $ac_executable_extensions; do
4427
 
      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4428
 
      { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4429
 
# Check for GNU ac_path_EGREP and select it if it is found.
4430
 
  # Check for GNU $ac_path_EGREP
4431
 
case `"$ac_path_EGREP" --version 2>&1` in
4432
 
*GNU*)
4433
 
  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4434
 
*)
4435
 
  ac_count=0
4436
 
  $as_echo_n 0123456789 >"conftest.in"
4437
 
  while :
4438
 
  do
4439
 
    cat "conftest.in" "conftest.in" >"conftest.tmp"
4440
 
    mv "conftest.tmp" "conftest.in"
4441
 
    cp "conftest.in" "conftest.nl"
4442
 
    $as_echo 'EGREP' >> "conftest.nl"
4443
 
    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4444
 
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4445
 
    as_fn_arith $ac_count + 1 && ac_count=$as_val
4446
 
    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4447
 
      # Best one so far, save it but keep looking for a better one
4448
 
      ac_cv_path_EGREP="$ac_path_EGREP"
4449
 
      ac_path_EGREP_max=$ac_count
4450
 
    fi
4451
 
    # 10*(2^10) chars as input seems more than enough
4452
 
    test $ac_count -gt 10 && break
4453
 
  done
4454
 
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4455
 
esac
4456
 
 
4457
 
      $ac_path_EGREP_found && break 3
4458
 
    done
4459
 
  done
4460
 
  done
4461
 
IFS=$as_save_IFS
4462
 
  if test -z "$ac_cv_path_EGREP"; then
4463
 
    as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4464
 
  fi
4465
 
else
4466
 
  ac_cv_path_EGREP=$EGREP
4467
 
fi
4468
 
 
4469
 
   fi
4470
 
fi
4471
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4472
 
$as_echo "$ac_cv_path_EGREP" >&6; }
4473
 
 EGREP="$ac_cv_path_EGREP"
4474
 
 
4475
 
 
4476
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4477
 
$as_echo_n "checking for ANSI C header files... " >&6; }
4478
 
if test "${ac_cv_header_stdc+set}" = set; then :
4479
 
  $as_echo_n "(cached) " >&6
4480
 
else
4481
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4482
 
/* end confdefs.h.  */
4483
 
#include <stdlib.h>
4484
 
#include <stdarg.h>
4485
 
#include <string.h>
4486
 
#include <float.h>
4487
 
 
4488
 
int
4489
 
main ()
4490
 
{
4491
 
 
4492
 
  ;
4493
 
  return 0;
4494
 
}
4495
 
_ACEOF
4496
 
if ac_fn_c_try_compile "$LINENO"; then :
4497
 
  ac_cv_header_stdc=yes
4498
 
else
4499
 
  ac_cv_header_stdc=no
4500
 
fi
4501
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4502
 
 
4503
 
if test $ac_cv_header_stdc = yes; then
4504
 
  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4505
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4506
 
/* end confdefs.h.  */
4507
 
#include <string.h>
4508
 
 
4509
 
_ACEOF
4510
 
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4511
 
  $EGREP "memchr" >/dev/null 2>&1; then :
4512
 
 
4513
 
else
4514
 
  ac_cv_header_stdc=no
4515
 
fi
4516
 
rm -f conftest*
4517
 
 
4518
 
fi
4519
 
 
4520
 
if test $ac_cv_header_stdc = yes; then
4521
 
  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4522
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4523
 
/* end confdefs.h.  */
4524
 
#include <stdlib.h>
4525
 
 
4526
 
_ACEOF
4527
 
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4528
 
  $EGREP "free" >/dev/null 2>&1; then :
4529
 
 
4530
 
else
4531
 
  ac_cv_header_stdc=no
4532
 
fi
4533
 
rm -f conftest*
4534
 
 
4535
 
fi
4536
 
 
4537
 
if test $ac_cv_header_stdc = yes; then
4538
 
  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4539
 
  if test "$cross_compiling" = yes; then :
4540
 
  :
4541
 
else
4542
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4543
 
/* end confdefs.h.  */
4544
 
#include <ctype.h>
4545
 
#include <stdlib.h>
4546
 
#if ((' ' & 0x0FF) == 0x020)
4547
 
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4548
 
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4549
 
#else
4550
 
# define ISLOWER(c) \
4551
 
                   (('a' <= (c) && (c) <= 'i') \
4552
 
                     || ('j' <= (c) && (c) <= 'r') \
4553
 
                     || ('s' <= (c) && (c) <= 'z'))
4554
 
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4555
 
#endif
4556
 
 
4557
 
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4558
 
int
4559
 
main ()
4560
 
{
4561
 
  int i;
4562
 
  for (i = 0; i < 256; i++)
4563
 
    if (XOR (islower (i), ISLOWER (i))
4564
 
        || toupper (i) != TOUPPER (i))
4565
 
      return 2;
4566
 
  return 0;
4567
 
}
4568
 
_ACEOF
4569
 
if ac_fn_c_try_run "$LINENO"; then :
4570
 
 
4571
 
else
4572
 
  ac_cv_header_stdc=no
4573
 
fi
4574
 
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4575
 
  conftest.$ac_objext conftest.beam conftest.$ac_ext
4576
 
fi
4577
 
 
4578
 
fi
4579
 
fi
4580
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4581
 
$as_echo "$ac_cv_header_stdc" >&6; }
4582
 
if test $ac_cv_header_stdc = yes; then
4583
 
 
4584
 
$as_echo "#define STDC_HEADERS 1" >>confdefs.h
4585
 
 
4586
 
fi
4587
 
 
4588
 
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
4589
 
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4590
 
                  inttypes.h stdint.h unistd.h
4591
 
do :
4592
 
  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4593
 
ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4594
 
"
4595
 
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
4596
 
  cat >>confdefs.h <<_ACEOF
4597
 
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4598
 
_ACEOF
4599
 
 
4600
 
fi
4601
 
 
4602
 
done
4603
 
 
4604
 
 
4605
 
 
4606
 
  ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
4607
 
if test "x$ac_cv_header_minix_config_h" = x""yes; then :
4608
 
  MINIX=yes
4609
 
else
4610
 
  MINIX=
4611
 
fi
4612
 
 
4613
 
 
4614
 
  if test "$MINIX" = yes; then
4615
 
 
4616
 
$as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
4617
 
 
4618
 
 
4619
 
$as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
4620
 
 
4621
 
 
4622
 
$as_echo "#define _MINIX 1" >>confdefs.h
4623
 
 
4624
 
  fi
4625
 
 
4626
 
 
4627
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
4628
 
$as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
4629
 
if test "${ac_cv_safe_to_define___extensions__+set}" = set; then :
4630
 
  $as_echo_n "(cached) " >&6
4631
 
else
4632
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4633
 
/* end confdefs.h.  */
4634
 
 
4635
 
#         define __EXTENSIONS__ 1
4636
 
          $ac_includes_default
4637
 
int
4638
 
main ()
4639
 
{
4640
 
 
4641
 
  ;
4642
 
  return 0;
4643
 
}
4644
 
_ACEOF
4645
 
if ac_fn_c_try_compile "$LINENO"; then :
4646
 
  ac_cv_safe_to_define___extensions__=yes
4647
 
else
4648
 
  ac_cv_safe_to_define___extensions__=no
4649
 
fi
4650
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4651
 
fi
4652
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
4653
 
$as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
4654
 
  test $ac_cv_safe_to_define___extensions__ = yes &&
4655
 
    $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
4656
 
 
4657
 
  $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
4658
 
 
4659
 
  $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
4660
 
 
4661
 
  $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
4662
 
 
4663
 
  $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
4664
 
 
4665
 
 
4666
 
ac_ext=c
4667
 
ac_cpp='$CPP $CPPFLAGS'
4668
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4669
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4670
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4671
 
if test -n "$ac_tool_prefix"; then
4672
 
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4673
 
set dummy ${ac_tool_prefix}gcc; ac_word=$2
4674
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4675
 
$as_echo_n "checking for $ac_word... " >&6; }
4676
 
if test "${ac_cv_prog_CC+set}" = set; then :
4677
 
  $as_echo_n "(cached) " >&6
4678
 
else
4679
 
  if test -n "$CC"; then
4680
 
  ac_cv_prog_CC="$CC" # Let the user override the test.
4681
 
else
4682
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4683
 
for as_dir in $PATH
4684
 
do
4685
 
  IFS=$as_save_IFS
4686
 
  test -z "$as_dir" && as_dir=.
4687
 
    for ac_exec_ext in '' $ac_executable_extensions; do
4688
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4689
 
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
4690
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4691
 
    break 2
4692
 
  fi
4693
 
done
4694
 
  done
4695
 
IFS=$as_save_IFS
4696
 
 
4697
 
fi
4698
 
fi
4699
 
CC=$ac_cv_prog_CC
4700
 
if test -n "$CC"; then
4701
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4702
 
$as_echo "$CC" >&6; }
4703
 
else
4704
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4705
 
$as_echo "no" >&6; }
4706
 
fi
4707
 
 
4708
 
 
4709
 
fi
4710
 
if test -z "$ac_cv_prog_CC"; then
4711
 
  ac_ct_CC=$CC
4712
 
  # Extract the first word of "gcc", so it can be a program name with args.
4713
 
set dummy gcc; ac_word=$2
4714
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4715
 
$as_echo_n "checking for $ac_word... " >&6; }
4716
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
4717
 
  $as_echo_n "(cached) " >&6
4718
 
else
4719
 
  if test -n "$ac_ct_CC"; then
4720
 
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4721
 
else
4722
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4723
 
for as_dir in $PATH
4724
 
do
4725
 
  IFS=$as_save_IFS
4726
 
  test -z "$as_dir" && as_dir=.
4727
 
    for ac_exec_ext in '' $ac_executable_extensions; do
4728
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4729
 
    ac_cv_prog_ac_ct_CC="gcc"
4730
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4731
 
    break 2
4732
 
  fi
4733
 
done
4734
 
  done
4735
 
IFS=$as_save_IFS
4736
 
 
4737
 
fi
4738
 
fi
4739
 
ac_ct_CC=$ac_cv_prog_ac_ct_CC
4740
 
if test -n "$ac_ct_CC"; then
4741
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4742
 
$as_echo "$ac_ct_CC" >&6; }
4743
 
else
4744
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4745
 
$as_echo "no" >&6; }
4746
 
fi
4747
 
 
4748
 
  if test "x$ac_ct_CC" = x; then
4749
 
    CC=""
4750
 
  else
4751
 
    case $cross_compiling:$ac_tool_warned in
4752
 
yes:)
4753
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4754
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4755
 
ac_tool_warned=yes ;;
4756
 
esac
4757
 
    CC=$ac_ct_CC
4758
 
  fi
4759
 
else
4760
 
  CC="$ac_cv_prog_CC"
4761
 
fi
4762
 
 
4763
 
if test -z "$CC"; then
4764
 
          if test -n "$ac_tool_prefix"; then
4765
 
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4766
 
set dummy ${ac_tool_prefix}cc; ac_word=$2
4767
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4768
 
$as_echo_n "checking for $ac_word... " >&6; }
4769
 
if test "${ac_cv_prog_CC+set}" = set; then :
4770
 
  $as_echo_n "(cached) " >&6
4771
 
else
4772
 
  if test -n "$CC"; then
4773
 
  ac_cv_prog_CC="$CC" # Let the user override the test.
4774
 
else
4775
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4776
 
for as_dir in $PATH
4777
 
do
4778
 
  IFS=$as_save_IFS
4779
 
  test -z "$as_dir" && as_dir=.
4780
 
    for ac_exec_ext in '' $ac_executable_extensions; do
4781
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4782
 
    ac_cv_prog_CC="${ac_tool_prefix}cc"
4783
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4784
 
    break 2
4785
 
  fi
4786
 
done
4787
 
  done
4788
 
IFS=$as_save_IFS
4789
 
 
4790
 
fi
4791
 
fi
4792
 
CC=$ac_cv_prog_CC
4793
 
if test -n "$CC"; then
4794
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4795
 
$as_echo "$CC" >&6; }
4796
 
else
4797
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4798
 
$as_echo "no" >&6; }
4799
 
fi
4800
 
 
4801
 
 
4802
 
  fi
4803
 
fi
4804
 
if test -z "$CC"; then
4805
 
  # Extract the first word of "cc", so it can be a program name with args.
4806
 
set dummy cc; ac_word=$2
4807
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4808
 
$as_echo_n "checking for $ac_word... " >&6; }
4809
 
if test "${ac_cv_prog_CC+set}" = set; then :
4810
 
  $as_echo_n "(cached) " >&6
4811
 
else
4812
 
  if test -n "$CC"; then
4813
 
  ac_cv_prog_CC="$CC" # Let the user override the test.
4814
 
else
4815
 
  ac_prog_rejected=no
4816
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4817
 
for as_dir in $PATH
4818
 
do
4819
 
  IFS=$as_save_IFS
4820
 
  test -z "$as_dir" && as_dir=.
4821
 
    for ac_exec_ext in '' $ac_executable_extensions; do
4822
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4823
 
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4824
 
       ac_prog_rejected=yes
4825
 
       continue
4826
 
     fi
4827
 
    ac_cv_prog_CC="cc"
4828
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4829
 
    break 2
4830
 
  fi
4831
 
done
4832
 
  done
4833
 
IFS=$as_save_IFS
4834
 
 
4835
 
if test $ac_prog_rejected = yes; then
4836
 
  # We found a bogon in the path, so make sure we never use it.
4837
 
  set dummy $ac_cv_prog_CC
4838
 
  shift
4839
 
  if test $# != 0; then
4840
 
    # We chose a different compiler from the bogus one.
4841
 
    # However, it has the same basename, so the bogon will be chosen
4842
 
    # first if we set CC to just the basename; use the full file name.
4843
 
    shift
4844
 
    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4845
 
  fi
4846
 
fi
4847
 
fi
4848
 
fi
4849
 
CC=$ac_cv_prog_CC
4850
 
if test -n "$CC"; then
4851
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4852
 
$as_echo "$CC" >&6; }
4853
 
else
4854
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4855
 
$as_echo "no" >&6; }
4856
 
fi
4857
 
 
4858
 
 
4859
 
fi
4860
 
if test -z "$CC"; then
4861
 
  if test -n "$ac_tool_prefix"; then
4862
 
  for ac_prog in cl.exe
4863
 
  do
4864
 
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4865
 
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4866
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4867
 
$as_echo_n "checking for $ac_word... " >&6; }
4868
 
if test "${ac_cv_prog_CC+set}" = set; then :
4869
 
  $as_echo_n "(cached) " >&6
4870
 
else
4871
 
  if test -n "$CC"; then
4872
 
  ac_cv_prog_CC="$CC" # Let the user override the test.
4873
 
else
4874
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4875
 
for as_dir in $PATH
4876
 
do
4877
 
  IFS=$as_save_IFS
4878
 
  test -z "$as_dir" && as_dir=.
4879
 
    for ac_exec_ext in '' $ac_executable_extensions; do
4880
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4881
 
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4882
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4883
 
    break 2
4884
 
  fi
4885
 
done
4886
 
  done
4887
 
IFS=$as_save_IFS
4888
 
 
4889
 
fi
4890
 
fi
4891
 
CC=$ac_cv_prog_CC
4892
 
if test -n "$CC"; then
4893
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4894
 
$as_echo "$CC" >&6; }
4895
 
else
4896
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4897
 
$as_echo "no" >&6; }
4898
 
fi
4899
 
 
4900
 
 
4901
 
    test -n "$CC" && break
4902
 
  done
4903
 
fi
4904
 
if test -z "$CC"; then
4905
 
  ac_ct_CC=$CC
4906
 
  for ac_prog in cl.exe
4907
 
do
4908
 
  # Extract the first word of "$ac_prog", so it can be a program name with args.
4909
 
set dummy $ac_prog; ac_word=$2
4910
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4911
 
$as_echo_n "checking for $ac_word... " >&6; }
4912
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
4913
 
  $as_echo_n "(cached) " >&6
4914
 
else
4915
 
  if test -n "$ac_ct_CC"; then
4916
 
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4917
 
else
4918
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4919
 
for as_dir in $PATH
4920
 
do
4921
 
  IFS=$as_save_IFS
4922
 
  test -z "$as_dir" && as_dir=.
4923
 
    for ac_exec_ext in '' $ac_executable_extensions; do
4924
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4925
 
    ac_cv_prog_ac_ct_CC="$ac_prog"
4926
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4927
 
    break 2
4928
 
  fi
4929
 
done
4930
 
  done
4931
 
IFS=$as_save_IFS
4932
 
 
4933
 
fi
4934
 
fi
4935
 
ac_ct_CC=$ac_cv_prog_ac_ct_CC
4936
 
if test -n "$ac_ct_CC"; then
4937
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4938
 
$as_echo "$ac_ct_CC" >&6; }
4939
 
else
4940
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4941
 
$as_echo "no" >&6; }
4942
 
fi
4943
 
 
4944
 
 
4945
 
  test -n "$ac_ct_CC" && break
4946
 
done
4947
 
 
4948
 
  if test "x$ac_ct_CC" = x; then
4949
 
    CC=""
4950
 
  else
4951
 
    case $cross_compiling:$ac_tool_warned in
4952
 
yes:)
4953
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4954
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4955
 
ac_tool_warned=yes ;;
4956
 
esac
4957
 
    CC=$ac_ct_CC
4958
 
  fi
4959
 
fi
4960
 
 
4961
 
fi
4962
 
 
4963
 
 
4964
 
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4965
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4966
 
as_fn_error $? "no acceptable C compiler found in \$PATH
4967
 
See \`config.log' for more details" "$LINENO" 5 ; }
4968
 
 
4969
 
# Provide some information about the compiler.
4970
 
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4971
 
set X $ac_compile
4972
 
ac_compiler=$2
4973
 
for ac_option in --version -v -V -qversion; do
4974
 
  { { ac_try="$ac_compiler $ac_option >&5"
4975
 
case "(($ac_try" in
4976
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4977
 
  *) ac_try_echo=$ac_try;;
4978
 
esac
4979
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4980
 
$as_echo "$ac_try_echo"; } >&5
4981
 
  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4982
 
  ac_status=$?
4983
 
  if test -s conftest.err; then
4984
 
    sed '10a\
4985
 
... rest of stderr output deleted ...
4986
 
         10q' conftest.err >conftest.er1
4987
 
    cat conftest.er1 >&5
4988
 
  fi
4989
 
  rm -f conftest.er1 conftest.err
4990
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4991
 
  test $ac_status = 0; }
4992
 
done
4993
 
 
4994
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4995
 
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4996
 
if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4997
 
  $as_echo_n "(cached) " >&6
4998
 
else
4999
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5000
 
/* end confdefs.h.  */
5001
 
 
5002
 
int
5003
 
main ()
5004
 
{
5005
 
#ifndef __GNUC__
5006
 
       choke me
5007
 
#endif
5008
 
 
5009
 
  ;
5010
 
  return 0;
5011
 
}
5012
 
_ACEOF
5013
 
if ac_fn_c_try_compile "$LINENO"; then :
5014
 
  ac_compiler_gnu=yes
5015
 
else
5016
 
  ac_compiler_gnu=no
5017
 
fi
5018
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5019
 
ac_cv_c_compiler_gnu=$ac_compiler_gnu
5020
 
 
5021
 
fi
5022
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5023
 
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
5024
 
if test $ac_compiler_gnu = yes; then
5025
 
  GCC=yes
5026
 
else
5027
 
  GCC=
5028
 
fi
5029
 
ac_test_CFLAGS=${CFLAGS+set}
5030
 
ac_save_CFLAGS=$CFLAGS
5031
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5032
 
$as_echo_n "checking whether $CC accepts -g... " >&6; }
5033
 
if test "${ac_cv_prog_cc_g+set}" = set; then :
5034
 
  $as_echo_n "(cached) " >&6
5035
 
else
5036
 
  ac_save_c_werror_flag=$ac_c_werror_flag
5037
 
   ac_c_werror_flag=yes
5038
 
   ac_cv_prog_cc_g=no
5039
 
   CFLAGS="-g"
5040
 
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5041
 
/* end confdefs.h.  */
5042
 
 
5043
 
int
5044
 
main ()
5045
 
{
5046
 
 
5047
 
  ;
5048
 
  return 0;
5049
 
}
5050
 
_ACEOF
5051
 
if ac_fn_c_try_compile "$LINENO"; then :
5052
 
  ac_cv_prog_cc_g=yes
5053
 
else
5054
 
  CFLAGS=""
5055
 
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5056
 
/* end confdefs.h.  */
5057
 
 
5058
 
int
5059
 
main ()
5060
 
{
5061
 
 
5062
 
  ;
5063
 
  return 0;
5064
 
}
5065
 
_ACEOF
5066
 
if ac_fn_c_try_compile "$LINENO"; then :
5067
 
 
5068
 
else
5069
 
  ac_c_werror_flag=$ac_save_c_werror_flag
5070
 
         CFLAGS="-g"
5071
 
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5072
 
/* end confdefs.h.  */
5073
 
 
5074
 
int
5075
 
main ()
5076
 
{
5077
 
 
5078
 
  ;
5079
 
  return 0;
5080
 
}
5081
 
_ACEOF
5082
 
if ac_fn_c_try_compile "$LINENO"; then :
5083
 
  ac_cv_prog_cc_g=yes
5084
 
fi
5085
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5086
 
fi
5087
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5088
 
fi
5089
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5090
 
   ac_c_werror_flag=$ac_save_c_werror_flag
5091
 
fi
5092
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5093
 
$as_echo "$ac_cv_prog_cc_g" >&6; }
5094
 
if test "$ac_test_CFLAGS" = set; then
5095
 
  CFLAGS=$ac_save_CFLAGS
5096
 
elif test $ac_cv_prog_cc_g = yes; then
5097
 
  if test "$GCC" = yes; then
5098
 
    CFLAGS="-g -O2"
5099
 
  else
5100
 
    CFLAGS="-g"
5101
 
  fi
5102
 
else
5103
 
  if test "$GCC" = yes; then
5104
 
    CFLAGS="-O2"
5105
 
  else
5106
 
    CFLAGS=
5107
 
  fi
5108
 
fi
5109
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
5110
 
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
5111
 
if test "${ac_cv_prog_cc_c89+set}" = set; then :
5112
 
  $as_echo_n "(cached) " >&6
5113
 
else
5114
 
  ac_cv_prog_cc_c89=no
5115
 
ac_save_CC=$CC
5116
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5117
 
/* end confdefs.h.  */
5118
 
#include <stdarg.h>
5119
 
#include <stdio.h>
5120
 
#include <sys/types.h>
5121
 
#include <sys/stat.h>
5122
 
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
5123
 
struct buf { int x; };
5124
 
FILE * (*rcsopen) (struct buf *, struct stat *, int);
5125
 
static char *e (p, i)
5126
 
     char **p;
5127
 
     int i;
5128
 
{
5129
 
  return p[i];
5130
 
}
5131
 
static char *f (char * (*g) (char **, int), char **p, ...)
5132
 
{
5133
 
  char *s;
5134
 
  va_list v;
5135
 
  va_start (v,p);
5136
 
  s = g (p, va_arg (v,int));
5137
 
  va_end (v);
5138
 
  return s;
5139
 
}
5140
 
 
5141
 
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
5142
 
   function prototypes and stuff, but not '\xHH' hex character constants.
5143
 
   These don't provoke an error unfortunately, instead are silently treated
5144
 
   as 'x'.  The following induces an error, until -std is added to get
5145
 
   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
5146
 
   array size at least.  It's necessary to write '\x00'==0 to get something
5147
 
   that's true only with -std.  */
5148
 
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5149
 
 
5150
 
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5151
 
   inside strings and character constants.  */
5152
 
#define FOO(x) 'x'
5153
 
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5154
 
 
5155
 
int test (int i, double x);
5156
 
struct s1 {int (*f) (int a);};
5157
 
struct s2 {int (*f) (double a);};
5158
 
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5159
 
int argc;
5160
 
char **argv;
5161
 
int
5162
 
main ()
5163
 
{
5164
 
return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
5165
 
  ;
5166
 
  return 0;
5167
 
}
5168
 
_ACEOF
5169
 
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5170
 
        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5171
 
do
5172
 
  CC="$ac_save_CC $ac_arg"
5173
 
  if ac_fn_c_try_compile "$LINENO"; then :
5174
 
  ac_cv_prog_cc_c89=$ac_arg
5175
 
fi
5176
 
rm -f core conftest.err conftest.$ac_objext
5177
 
  test "x$ac_cv_prog_cc_c89" != "xno" && break
5178
 
done
5179
 
rm -f conftest.$ac_ext
5180
 
CC=$ac_save_CC
5181
 
 
5182
 
fi
5183
 
# AC_CACHE_VAL
5184
 
case "x$ac_cv_prog_cc_c89" in
5185
 
  x)
5186
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5187
 
$as_echo "none needed" >&6; } ;;
5188
 
  xno)
5189
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5190
 
$as_echo "unsupported" >&6; } ;;
5191
 
  *)
5192
 
    CC="$CC $ac_cv_prog_cc_c89"
5193
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5194
 
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5195
 
esac
5196
 
if test "x$ac_cv_prog_cc_c89" != xno; then :
5197
 
 
5198
 
fi
5199
 
 
5200
 
ac_ext=c
5201
 
ac_cpp='$CPP $CPPFLAGS'
5202
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5203
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5204
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5205
 
 
5206
 
depcc="$CC"   am_compiler_list=
5207
 
 
5208
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
5209
 
$as_echo_n "checking dependency style of $depcc... " >&6; }
5210
 
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
5211
 
  $as_echo_n "(cached) " >&6
5212
 
else
5213
 
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5214
 
  # We make a subdir and do the tests there.  Otherwise we can end up
5215
 
  # making bogus files that we don't know about and never remove.  For
5216
 
  # instance it was reported that on HP-UX the gcc test will end up
5217
 
  # making a dummy file named `D' -- because `-MD' means `put the output
5218
 
  # in D'.
5219
 
  mkdir conftest.dir
5220
 
  # Copy depcomp to subdir because otherwise we won't find it if we're
5221
 
  # using a relative directory.
5222
 
  cp "$am_depcomp" conftest.dir
5223
 
  cd conftest.dir
5224
 
  # We will build objects and dependencies in a subdirectory because
5225
 
  # it helps to detect inapplicable dependency modes.  For instance
5226
 
  # both Tru64's cc and ICC support -MD to output dependencies as a
5227
 
  # side effect of compilation, but ICC will put the dependencies in
5228
 
  # the current directory while Tru64 will put them in the object
5229
 
  # directory.
5230
 
  mkdir sub
5231
 
 
5232
 
  am_cv_CC_dependencies_compiler_type=none
5233
 
  if test "$am_compiler_list" = ""; then
5234
 
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5235
 
  fi
5236
 
  am__universal=false
5237
 
  case " $depcc " in #(
5238
 
     *\ -arch\ *\ -arch\ *) am__universal=true ;;
5239
 
     esac
5240
 
 
5241
 
  for depmode in $am_compiler_list; do
5242
 
    # Setup a source with many dependencies, because some compilers
5243
 
    # like to wrap large dependency lists on column 80 (with \), and
5244
 
    # we should not choose a depcomp mode which is confused by this.
5245
 
    #
5246
 
    # We need to recreate these files for each test, as the compiler may
5247
 
    # overwrite some of them when testing with obscure command lines.
5248
 
    # This happens at least with the AIX C compiler.
5249
 
    : > sub/conftest.c
5250
 
    for i in 1 2 3 4 5 6; do
5251
 
      echo '#include "conftst'$i'.h"' >> sub/conftest.c
5252
 
      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
5253
 
      # Solaris 8's {/usr,}/bin/sh.
5254
 
      touch sub/conftst$i.h
5255
 
    done
5256
 
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5257
 
 
5258
 
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
5259
 
    # mode.  It turns out that the SunPro C++ compiler does not properly
5260
 
    # handle `-M -o', and we need to detect this.  Also, some Intel
5261
 
    # versions had trouble with output in subdirs
5262
 
    am__obj=sub/conftest.${OBJEXT-o}
5263
 
    am__minus_obj="-o $am__obj"
5264
 
    case $depmode in
5265
 
    gcc)
5266
 
      # This depmode causes a compiler race in universal mode.
5267
 
      test "$am__universal" = false || continue
5268
 
      ;;
5269
 
    nosideeffect)
5270
 
      # after this tag, mechanisms are not by side-effect, so they'll
5271
 
      # only be used when explicitly requested
5272
 
      if test "x$enable_dependency_tracking" = xyes; then
5273
 
        continue
5274
 
      else
5275
 
        break
5276
 
      fi
5277
 
      ;;
5278
 
    msvisualcpp | msvcmsys)
5279
 
      # This compiler won't grok `-c -o', but also, the minuso test has
5280
 
      # not run yet.  These depmodes are late enough in the game, and
5281
 
      # so weak that their functioning should not be impacted.
5282
 
      am__obj=conftest.${OBJEXT-o}
5283
 
      am__minus_obj=
5284
 
      ;;
5285
 
    none) break ;;
5286
 
    esac
5287
 
    if depmode=$depmode \
5288
 
       source=sub/conftest.c object=$am__obj \
5289
 
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5290
 
       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
5291
 
         >/dev/null 2>conftest.err &&
5292
 
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
5293
 
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5294
 
       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
5295
 
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5296
 
      # icc doesn't choke on unknown options, it will just issue warnings
5297
 
      # or remarks (even with -Werror).  So we grep stderr for any message
5298
 
      # that says an option was ignored or not supported.
5299
 
      # When given -MP, icc 7.0 and 7.1 complain thusly:
5300
 
      #   icc: Command line warning: ignoring option '-M'; no argument required
5301
 
      # The diagnosis changed in icc 8.0:
5302
 
      #   icc: Command line remark: option '-MP' not supported
5303
 
      if (grep 'ignoring option' conftest.err ||
5304
 
          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
5305
 
        am_cv_CC_dependencies_compiler_type=$depmode
5306
 
        break
5307
 
      fi
5308
 
    fi
5309
 
  done
5310
 
 
5311
 
  cd ..
5312
 
  rm -rf conftest.dir
5313
 
else
5314
 
  am_cv_CC_dependencies_compiler_type=none
5315
 
fi
5316
 
 
5317
 
fi
5318
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
5319
 
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
5320
 
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
5321
 
 
5322
 
 if
5323
 
  test "x$enable_dependency_tracking" != xno \
5324
 
  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
5325
 
  am__fastdepCC_TRUE=
5326
 
  am__fastdepCC_FALSE='#'
5327
 
else
5328
 
  am__fastdepCC_TRUE='#'
5329
 
  am__fastdepCC_FALSE=
5330
 
fi
5331
 
 
5332
 
 
5333
 
ac_ext=cpp
5334
 
ac_cpp='$CXXCPP $CPPFLAGS'
5335
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5336
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5337
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5338
 
if test -z "$CXX"; then
5339
 
  if test -n "$CCC"; then
5340
 
    CXX=$CCC
5341
 
  else
5342
 
    if test -n "$ac_tool_prefix"; then
5343
 
  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5344
 
  do
5345
 
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5346
 
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5347
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5348
 
$as_echo_n "checking for $ac_word... " >&6; }
5349
 
if test "${ac_cv_prog_CXX+set}" = set; then :
5350
 
  $as_echo_n "(cached) " >&6
5351
 
else
5352
 
  if test -n "$CXX"; then
5353
 
  ac_cv_prog_CXX="$CXX" # Let the user override the test.
5354
 
else
5355
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5356
 
for as_dir in $PATH
5357
 
do
5358
 
  IFS=$as_save_IFS
5359
 
  test -z "$as_dir" && as_dir=.
5360
 
    for ac_exec_ext in '' $ac_executable_extensions; do
5361
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5362
 
    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5363
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5364
 
    break 2
5365
 
  fi
5366
 
done
5367
 
  done
5368
 
IFS=$as_save_IFS
5369
 
 
5370
 
fi
5371
 
fi
5372
 
CXX=$ac_cv_prog_CXX
5373
 
if test -n "$CXX"; then
5374
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5375
 
$as_echo "$CXX" >&6; }
5376
 
else
5377
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5378
 
$as_echo "no" >&6; }
5379
 
fi
5380
 
 
5381
 
 
5382
 
    test -n "$CXX" && break
5383
 
  done
5384
 
fi
5385
 
if test -z "$CXX"; then
5386
 
  ac_ct_CXX=$CXX
5387
 
  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5388
 
do
5389
 
  # Extract the first word of "$ac_prog", so it can be a program name with args.
5390
 
set dummy $ac_prog; ac_word=$2
5391
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5392
 
$as_echo_n "checking for $ac_word... " >&6; }
5393
 
if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
5394
 
  $as_echo_n "(cached) " >&6
5395
 
else
5396
 
  if test -n "$ac_ct_CXX"; then
5397
 
  ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5398
 
else
5399
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5400
 
for as_dir in $PATH
5401
 
do
5402
 
  IFS=$as_save_IFS
5403
 
  test -z "$as_dir" && as_dir=.
5404
 
    for ac_exec_ext in '' $ac_executable_extensions; do
5405
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5406
 
    ac_cv_prog_ac_ct_CXX="$ac_prog"
5407
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5408
 
    break 2
5409
 
  fi
5410
 
done
5411
 
  done
5412
 
IFS=$as_save_IFS
5413
 
 
5414
 
fi
5415
 
fi
5416
 
ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5417
 
if test -n "$ac_ct_CXX"; then
5418
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5419
 
$as_echo "$ac_ct_CXX" >&6; }
5420
 
else
5421
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5422
 
$as_echo "no" >&6; }
5423
 
fi
5424
 
 
5425
 
 
5426
 
  test -n "$ac_ct_CXX" && break
5427
 
done
5428
 
 
5429
 
  if test "x$ac_ct_CXX" = x; then
5430
 
    CXX="g++"
5431
 
  else
5432
 
    case $cross_compiling:$ac_tool_warned in
5433
 
yes:)
5434
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5435
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5436
 
ac_tool_warned=yes ;;
5437
 
esac
5438
 
    CXX=$ac_ct_CXX
5439
 
  fi
5440
 
fi
5441
 
 
5442
 
  fi
5443
 
fi
5444
 
# Provide some information about the compiler.
5445
 
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
5446
 
set X $ac_compile
5447
 
ac_compiler=$2
5448
 
for ac_option in --version -v -V -qversion; do
5449
 
  { { ac_try="$ac_compiler $ac_option >&5"
5450
 
case "(($ac_try" in
5451
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5452
 
  *) ac_try_echo=$ac_try;;
5453
 
esac
5454
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5455
 
$as_echo "$ac_try_echo"; } >&5
5456
 
  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5457
 
  ac_status=$?
5458
 
  if test -s conftest.err; then
5459
 
    sed '10a\
5460
 
... rest of stderr output deleted ...
5461
 
         10q' conftest.err >conftest.er1
5462
 
    cat conftest.er1 >&5
5463
 
  fi
5464
 
  rm -f conftest.er1 conftest.err
5465
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5466
 
  test $ac_status = 0; }
5467
 
done
5468
 
 
5469
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
5470
 
$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
5471
 
if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
5472
 
  $as_echo_n "(cached) " >&6
5473
 
else
5474
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5475
 
/* end confdefs.h.  */
5476
 
 
5477
 
int
5478
 
main ()
5479
 
{
5480
 
#ifndef __GNUC__
5481
 
       choke me
5482
 
#endif
5483
 
 
5484
 
  ;
5485
 
  return 0;
5486
 
}
5487
 
_ACEOF
5488
 
if ac_fn_cxx_try_compile "$LINENO"; then :
5489
 
  ac_compiler_gnu=yes
5490
 
else
5491
 
  ac_compiler_gnu=no
5492
 
fi
5493
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5494
 
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
5495
 
 
5496
 
fi
5497
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
5498
 
$as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
5499
 
if test $ac_compiler_gnu = yes; then
5500
 
  GXX=yes
5501
 
else
5502
 
  GXX=
5503
 
fi
5504
 
ac_test_CXXFLAGS=${CXXFLAGS+set}
5505
 
ac_save_CXXFLAGS=$CXXFLAGS
5506
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5507
 
$as_echo_n "checking whether $CXX accepts -g... " >&6; }
5508
 
if test "${ac_cv_prog_cxx_g+set}" = set; then :
5509
 
  $as_echo_n "(cached) " >&6
5510
 
else
5511
 
  ac_save_cxx_werror_flag=$ac_cxx_werror_flag
5512
 
   ac_cxx_werror_flag=yes
5513
 
   ac_cv_prog_cxx_g=no
5514
 
   CXXFLAGS="-g"
5515
 
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5516
 
/* end confdefs.h.  */
5517
 
 
5518
 
int
5519
 
main ()
5520
 
{
5521
 
 
5522
 
  ;
5523
 
  return 0;
5524
 
}
5525
 
_ACEOF
5526
 
if ac_fn_cxx_try_compile "$LINENO"; then :
5527
 
  ac_cv_prog_cxx_g=yes
5528
 
else
5529
 
  CXXFLAGS=""
5530
 
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5531
 
/* end confdefs.h.  */
5532
 
 
5533
 
int
5534
 
main ()
5535
 
{
5536
 
 
5537
 
  ;
5538
 
  return 0;
5539
 
}
5540
 
_ACEOF
5541
 
if ac_fn_cxx_try_compile "$LINENO"; then :
5542
 
 
5543
 
else
5544
 
  ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5545
 
         CXXFLAGS="-g"
5546
 
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5547
 
/* end confdefs.h.  */
5548
 
 
5549
 
int
5550
 
main ()
5551
 
{
5552
 
 
5553
 
  ;
5554
 
  return 0;
5555
 
}
5556
 
_ACEOF
5557
 
if ac_fn_cxx_try_compile "$LINENO"; then :
5558
 
  ac_cv_prog_cxx_g=yes
5559
 
fi
5560
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5561
 
fi
5562
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5563
 
fi
5564
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5565
 
   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5566
 
fi
5567
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5568
 
$as_echo "$ac_cv_prog_cxx_g" >&6; }
5569
 
if test "$ac_test_CXXFLAGS" = set; then
5570
 
  CXXFLAGS=$ac_save_CXXFLAGS
5571
 
elif test $ac_cv_prog_cxx_g = yes; then
5572
 
  if test "$GXX" = yes; then
5573
 
    CXXFLAGS="-g -O2"
5574
 
  else
5575
 
    CXXFLAGS="-g"
5576
 
  fi
5577
 
else
5578
 
  if test "$GXX" = yes; then
5579
 
    CXXFLAGS="-O2"
5580
 
  else
5581
 
    CXXFLAGS=
5582
 
  fi
5583
 
fi
5584
 
ac_ext=c
5585
 
ac_cpp='$CPP $CPPFLAGS'
5586
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5587
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5588
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5589
 
 
5590
 
depcc="$CXX"  am_compiler_list=
5591
 
 
5592
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
5593
 
$as_echo_n "checking dependency style of $depcc... " >&6; }
5594
 
if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then :
5595
 
  $as_echo_n "(cached) " >&6
5596
 
else
5597
 
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5598
 
  # We make a subdir and do the tests there.  Otherwise we can end up
5599
 
  # making bogus files that we don't know about and never remove.  For
5600
 
  # instance it was reported that on HP-UX the gcc test will end up
5601
 
  # making a dummy file named `D' -- because `-MD' means `put the output
5602
 
  # in D'.
5603
 
  mkdir conftest.dir
5604
 
  # Copy depcomp to subdir because otherwise we won't find it if we're
5605
 
  # using a relative directory.
5606
 
  cp "$am_depcomp" conftest.dir
5607
 
  cd conftest.dir
5608
 
  # We will build objects and dependencies in a subdirectory because
5609
 
  # it helps to detect inapplicable dependency modes.  For instance
5610
 
  # both Tru64's cc and ICC support -MD to output dependencies as a
5611
 
  # side effect of compilation, but ICC will put the dependencies in
5612
 
  # the current directory while Tru64 will put them in the object
5613
 
  # directory.
5614
 
  mkdir sub
5615
 
 
5616
 
  am_cv_CXX_dependencies_compiler_type=none
5617
 
  if test "$am_compiler_list" = ""; then
5618
 
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5619
 
  fi
5620
 
  am__universal=false
5621
 
  case " $depcc " in #(
5622
 
     *\ -arch\ *\ -arch\ *) am__universal=true ;;
5623
 
     esac
5624
 
 
5625
 
  for depmode in $am_compiler_list; do
5626
 
    # Setup a source with many dependencies, because some compilers
5627
 
    # like to wrap large dependency lists on column 80 (with \), and
5628
 
    # we should not choose a depcomp mode which is confused by this.
5629
 
    #
5630
 
    # We need to recreate these files for each test, as the compiler may
5631
 
    # overwrite some of them when testing with obscure command lines.
5632
 
    # This happens at least with the AIX C compiler.
5633
 
    : > sub/conftest.c
5634
 
    for i in 1 2 3 4 5 6; do
5635
 
      echo '#include "conftst'$i'.h"' >> sub/conftest.c
5636
 
      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
5637
 
      # Solaris 8's {/usr,}/bin/sh.
5638
 
      touch sub/conftst$i.h
5639
 
    done
5640
 
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5641
 
 
5642
 
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
5643
 
    # mode.  It turns out that the SunPro C++ compiler does not properly
5644
 
    # handle `-M -o', and we need to detect this.  Also, some Intel
5645
 
    # versions had trouble with output in subdirs
5646
 
    am__obj=sub/conftest.${OBJEXT-o}
5647
 
    am__minus_obj="-o $am__obj"
5648
 
    case $depmode in
5649
 
    gcc)
5650
 
      # This depmode causes a compiler race in universal mode.
5651
 
      test "$am__universal" = false || continue
5652
 
      ;;
5653
 
    nosideeffect)
5654
 
      # after this tag, mechanisms are not by side-effect, so they'll
5655
 
      # only be used when explicitly requested
5656
 
      if test "x$enable_dependency_tracking" = xyes; then
5657
 
        continue
5658
 
      else
5659
 
        break
5660
 
      fi
5661
 
      ;;
5662
 
    msvisualcpp | msvcmsys)
5663
 
      # This compiler won't grok `-c -o', but also, the minuso test has
5664
 
      # not run yet.  These depmodes are late enough in the game, and
5665
 
      # so weak that their functioning should not be impacted.
5666
 
      am__obj=conftest.${OBJEXT-o}
5667
 
      am__minus_obj=
5668
 
      ;;
5669
 
    none) break ;;
5670
 
    esac
5671
 
    if depmode=$depmode \
5672
 
       source=sub/conftest.c object=$am__obj \
5673
 
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5674
 
       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
5675
 
         >/dev/null 2>conftest.err &&
5676
 
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
5677
 
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5678
 
       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
5679
 
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5680
 
      # icc doesn't choke on unknown options, it will just issue warnings
5681
 
      # or remarks (even with -Werror).  So we grep stderr for any message
5682
 
      # that says an option was ignored or not supported.
5683
 
      # When given -MP, icc 7.0 and 7.1 complain thusly:
5684
 
      #   icc: Command line warning: ignoring option '-M'; no argument required
5685
 
      # The diagnosis changed in icc 8.0:
5686
 
      #   icc: Command line remark: option '-MP' not supported
5687
 
      if (grep 'ignoring option' conftest.err ||
5688
 
          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
5689
 
        am_cv_CXX_dependencies_compiler_type=$depmode
5690
 
        break
5691
 
      fi
5692
 
    fi
5693
 
  done
5694
 
 
5695
 
  cd ..
5696
 
  rm -rf conftest.dir
5697
 
else
5698
 
  am_cv_CXX_dependencies_compiler_type=none
5699
 
fi
5700
 
 
5701
 
fi
5702
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
5703
 
$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
5704
 
CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
5705
 
 
5706
 
 if
5707
 
  test "x$enable_dependency_tracking" != xno \
5708
 
  && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
5709
 
  am__fastdepCXX_TRUE=
5710
 
  am__fastdepCXX_FALSE='#'
5711
 
else
5712
 
  am__fastdepCXX_TRUE='#'
5713
 
  am__fastdepCXX_FALSE=
5714
 
fi
5715
 
 
5716
 
 
5717
 
if test "x$CC" != xcc; then
5718
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
5719
 
$as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
5720
 
else
5721
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
5722
 
$as_echo_n "checking whether cc understands -c and -o together... " >&6; }
5723
 
fi
5724
 
set dummy $CC; ac_cc=`$as_echo "$2" |
5725
 
                      sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
5726
 
if eval "test \"\${ac_cv_prog_cc_${ac_cc}_c_o+set}\"" = set; then :
5727
 
  $as_echo_n "(cached) " >&6
5728
 
else
5729
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5730
 
/* end confdefs.h.  */
5731
 
 
5732
 
int
5733
 
main ()
5734
 
{
5735
 
 
5736
 
  ;
5737
 
  return 0;
5738
 
}
5739
 
_ACEOF
5740
 
# Make sure it works both with $CC and with simple cc.
5741
 
# We do the test twice because some compilers refuse to overwrite an
5742
 
# existing .o file with -o, though they will create one.
5743
 
ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
5744
 
rm -f conftest2.*
5745
 
if { { case "(($ac_try" in
5746
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5747
 
  *) ac_try_echo=$ac_try;;
5748
 
esac
5749
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5750
 
$as_echo "$ac_try_echo"; } >&5
5751
 
  (eval "$ac_try") 2>&5
5752
 
  ac_status=$?
5753
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5754
 
  test $ac_status = 0; } &&
5755
 
   test -f conftest2.$ac_objext && { { case "(($ac_try" in
5756
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5757
 
  *) ac_try_echo=$ac_try;;
5758
 
esac
5759
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5760
 
$as_echo "$ac_try_echo"; } >&5
5761
 
  (eval "$ac_try") 2>&5
5762
 
  ac_status=$?
5763
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5764
 
  test $ac_status = 0; };
5765
 
then
5766
 
  eval ac_cv_prog_cc_${ac_cc}_c_o=yes
5767
 
  if test "x$CC" != xcc; then
5768
 
    # Test first that cc exists at all.
5769
 
    if { ac_try='cc -c conftest.$ac_ext >&5'
5770
 
  { { case "(($ac_try" in
5771
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5772
 
  *) ac_try_echo=$ac_try;;
5773
 
esac
5774
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5775
 
$as_echo "$ac_try_echo"; } >&5
5776
 
  (eval "$ac_try") 2>&5
5777
 
  ac_status=$?
5778
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5779
 
  test $ac_status = 0; }; }; then
5780
 
      ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
5781
 
      rm -f conftest2.*
5782
 
      if { { case "(($ac_try" in
5783
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5784
 
  *) ac_try_echo=$ac_try;;
5785
 
esac
5786
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5787
 
$as_echo "$ac_try_echo"; } >&5
5788
 
  (eval "$ac_try") 2>&5
5789
 
  ac_status=$?
5790
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5791
 
  test $ac_status = 0; } &&
5792
 
         test -f conftest2.$ac_objext && { { case "(($ac_try" in
5793
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5794
 
  *) ac_try_echo=$ac_try;;
5795
 
esac
5796
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5797
 
$as_echo "$ac_try_echo"; } >&5
5798
 
  (eval "$ac_try") 2>&5
5799
 
  ac_status=$?
5800
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5801
 
  test $ac_status = 0; };
5802
 
      then
5803
 
        # cc works too.
5804
 
        :
5805
 
      else
5806
 
        # cc exists but doesn't like -o.
5807
 
        eval ac_cv_prog_cc_${ac_cc}_c_o=no
5808
 
      fi
5809
 
    fi
5810
 
  fi
5811
 
else
5812
 
  eval ac_cv_prog_cc_${ac_cc}_c_o=no
5813
 
fi
5814
 
rm -f core conftest*
5815
 
 
5816
 
fi
5817
 
if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
5818
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5819
 
$as_echo "yes" >&6; }
5820
 
else
5821
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5822
 
$as_echo "no" >&6; }
5823
 
 
5824
 
$as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
5825
 
 
5826
 
fi
5827
 
 
5828
 
# FIXME: we rely on the cache variable name because
5829
 
# there is no other way.
5830
 
set dummy $CC
5831
 
am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
5832
 
eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
5833
 
if test "$am_t" != yes; then
5834
 
   # Losing compiler, so override with the script.
5835
 
   # FIXME: It is wrong to rewrite CC.
5836
 
   # But if we don't then we get into trouble of one sort or another.
5837
 
   # A longer-term fix would be to have automake use am__CC in this case,
5838
 
   # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
5839
 
   CC="$am_aux_dir/compile $CC"
5840
 
fi
5841
 
 
5842
 
 
5843
 
 
5844
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5845
 
$as_echo_n "checking whether ln -s works... " >&6; }
5846
 
LN_S=$as_ln_s
5847
 
if test "$LN_S" = "ln -s"; then
5848
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5849
 
$as_echo "yes" >&6; }
5850
 
else
5851
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5852
 
$as_echo "no, using $LN_S" >&6; }
5853
 
fi
5854
 
 
5855
 
case `pwd` in
5856
 
  *\ * | *\     *)
5857
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5858
 
$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5859
 
esac
5860
 
 
5861
 
 
5862
 
 
5863
 
macro_version='2.2.6b'
5864
 
macro_revision='1.3017'
5865
 
 
5866
 
 
5867
 
 
5868
 
 
5869
 
 
5870
 
 
5871
 
 
5872
 
 
5873
 
 
5874
 
 
5875
 
 
5876
 
 
5877
 
 
5878
 
ltmain="$ac_aux_dir/ltmain.sh"
5879
 
 
5880
 
# Make sure we can run config.sub.
5881
 
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
5882
 
  as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
5883
 
 
5884
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
5885
 
$as_echo_n "checking build system type... " >&6; }
5886
 
if test "${ac_cv_build+set}" = set; then :
5887
 
  $as_echo_n "(cached) " >&6
5888
 
else
5889
 
  ac_build_alias=$build_alias
5890
 
test "x$ac_build_alias" = x &&
5891
 
  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
5892
 
test "x$ac_build_alias" = x &&
5893
 
  as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
5894
 
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
5895
 
  as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
5896
 
 
5897
 
fi
5898
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
5899
 
$as_echo "$ac_cv_build" >&6; }
5900
 
case $ac_cv_build in
5901
 
*-*-*) ;;
5902
 
*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5 ;;
5903
 
esac
5904
 
build=$ac_cv_build
5905
 
ac_save_IFS=$IFS; IFS='-'
5906
 
set x $ac_cv_build
5907
 
shift
5908
 
build_cpu=$1
5909
 
build_vendor=$2
5910
 
shift; shift
5911
 
# Remember, the first character of IFS is used to create $*,
5912
 
# except with old shells:
5913
 
build_os=$*
5914
 
IFS=$ac_save_IFS
5915
 
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
5916
 
 
5917
 
 
5918
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
5919
 
$as_echo_n "checking host system type... " >&6; }
5920
 
if test "${ac_cv_host+set}" = set; then :
5921
 
  $as_echo_n "(cached) " >&6
5922
 
else
5923
 
  if test "x$host_alias" = x; then
5924
 
  ac_cv_host=$ac_cv_build
5925
 
else
5926
 
  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
5927
 
    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
5928
 
fi
5929
 
 
5930
 
fi
5931
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
5932
 
$as_echo "$ac_cv_host" >&6; }
5933
 
case $ac_cv_host in
5934
 
*-*-*) ;;
5935
 
*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5 ;;
5936
 
esac
5937
 
host=$ac_cv_host
5938
 
ac_save_IFS=$IFS; IFS='-'
5939
 
set x $ac_cv_host
5940
 
shift
5941
 
host_cpu=$1
5942
 
host_vendor=$2
5943
 
shift; shift
5944
 
# Remember, the first character of IFS is used to create $*,
5945
 
# except with old shells:
5946
 
host_os=$*
5947
 
IFS=$ac_save_IFS
5948
 
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
5949
 
 
5950
 
 
5951
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5952
 
$as_echo_n "checking for a sed that does not truncate output... " >&6; }
5953
 
if test "${ac_cv_path_SED+set}" = set; then :
5954
 
  $as_echo_n "(cached) " >&6
5955
 
else
5956
 
            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5957
 
     for ac_i in 1 2 3 4 5 6 7; do
5958
 
       ac_script="$ac_script$as_nl$ac_script"
5959
 
     done
5960
 
     echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5961
 
     { ac_script=; unset ac_script;}
5962
 
     if test -z "$SED"; then
5963
 
  ac_path_SED_found=false
5964
 
  # Loop through the user's path and test for each of PROGNAME-LIST
5965
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5966
 
for as_dir in $PATH
5967
 
do
5968
 
  IFS=$as_save_IFS
5969
 
  test -z "$as_dir" && as_dir=.
5970
 
    for ac_prog in sed gsed; do
5971
 
    for ac_exec_ext in '' $ac_executable_extensions; do
5972
 
      ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5973
 
      { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
5974
 
# Check for GNU ac_path_SED and select it if it is found.
5975
 
  # Check for GNU $ac_path_SED
5976
 
case `"$ac_path_SED" --version 2>&1` in
5977
 
*GNU*)
5978
 
  ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5979
 
*)
5980
 
  ac_count=0
5981
 
  $as_echo_n 0123456789 >"conftest.in"
5982
 
  while :
5983
 
  do
5984
 
    cat "conftest.in" "conftest.in" >"conftest.tmp"
5985
 
    mv "conftest.tmp" "conftest.in"
5986
 
    cp "conftest.in" "conftest.nl"
5987
 
    $as_echo '' >> "conftest.nl"
5988
 
    "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5989
 
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5990
 
    as_fn_arith $ac_count + 1 && ac_count=$as_val
5991
 
    if test $ac_count -gt ${ac_path_SED_max-0}; then
5992
 
      # Best one so far, save it but keep looking for a better one
5993
 
      ac_cv_path_SED="$ac_path_SED"
5994
 
      ac_path_SED_max=$ac_count
5995
 
    fi
5996
 
    # 10*(2^10) chars as input seems more than enough
5997
 
    test $ac_count -gt 10 && break
5998
 
  done
5999
 
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6000
 
esac
6001
 
 
6002
 
      $ac_path_SED_found && break 3
6003
 
    done
6004
 
  done
6005
 
  done
6006
 
IFS=$as_save_IFS
6007
 
  if test -z "$ac_cv_path_SED"; then
6008
 
    as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
6009
 
  fi
6010
 
else
6011
 
  ac_cv_path_SED=$SED
6012
 
fi
6013
 
 
6014
 
fi
6015
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
6016
 
$as_echo "$ac_cv_path_SED" >&6; }
6017
 
 SED="$ac_cv_path_SED"
6018
 
  rm -f conftest.sed
6019
 
 
6020
 
test -z "$SED" && SED=sed
6021
 
Xsed="$SED -e 1s/^X//"
6022
 
 
6023
 
 
6024
 
 
6025
 
 
6026
 
 
6027
 
 
6028
 
 
6029
 
 
6030
 
 
6031
 
 
6032
 
 
6033
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
6034
 
$as_echo_n "checking for fgrep... " >&6; }
6035
 
if test "${ac_cv_path_FGREP+set}" = set; then :
6036
 
  $as_echo_n "(cached) " >&6
6037
 
else
6038
 
  if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
6039
 
   then ac_cv_path_FGREP="$GREP -F"
6040
 
   else
6041
 
     if test -z "$FGREP"; then
6042
 
  ac_path_FGREP_found=false
6043
 
  # Loop through the user's path and test for each of PROGNAME-LIST
6044
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6045
 
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6046
 
do
6047
 
  IFS=$as_save_IFS
6048
 
  test -z "$as_dir" && as_dir=.
6049
 
    for ac_prog in fgrep; do
6050
 
    for ac_exec_ext in '' $ac_executable_extensions; do
6051
 
      ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
6052
 
      { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
6053
 
# Check for GNU ac_path_FGREP and select it if it is found.
6054
 
  # Check for GNU $ac_path_FGREP
6055
 
case `"$ac_path_FGREP" --version 2>&1` in
6056
 
*GNU*)
6057
 
  ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
6058
 
*)
6059
 
  ac_count=0
6060
 
  $as_echo_n 0123456789 >"conftest.in"
6061
 
  while :
6062
 
  do
6063
 
    cat "conftest.in" "conftest.in" >"conftest.tmp"
6064
 
    mv "conftest.tmp" "conftest.in"
6065
 
    cp "conftest.in" "conftest.nl"
6066
 
    $as_echo 'FGREP' >> "conftest.nl"
6067
 
    "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
6068
 
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6069
 
    as_fn_arith $ac_count + 1 && ac_count=$as_val
6070
 
    if test $ac_count -gt ${ac_path_FGREP_max-0}; then
6071
 
      # Best one so far, save it but keep looking for a better one
6072
 
      ac_cv_path_FGREP="$ac_path_FGREP"
6073
 
      ac_path_FGREP_max=$ac_count
6074
 
    fi
6075
 
    # 10*(2^10) chars as input seems more than enough
6076
 
    test $ac_count -gt 10 && break
6077
 
  done
6078
 
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6079
 
esac
6080
 
 
6081
 
      $ac_path_FGREP_found && break 3
6082
 
    done
6083
 
  done
6084
 
  done
6085
 
IFS=$as_save_IFS
6086
 
  if test -z "$ac_cv_path_FGREP"; then
6087
 
    as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6088
 
  fi
6089
 
else
6090
 
  ac_cv_path_FGREP=$FGREP
6091
 
fi
6092
 
 
6093
 
   fi
6094
 
fi
6095
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
6096
 
$as_echo "$ac_cv_path_FGREP" >&6; }
6097
 
 FGREP="$ac_cv_path_FGREP"
6098
 
 
6099
 
 
6100
 
test -z "$GREP" && GREP=grep
6101
 
 
6102
 
 
6103
 
 
6104
 
 
6105
 
 
6106
 
 
6107
 
 
6108
 
 
6109
 
 
6110
 
 
6111
 
 
6112
 
 
6113
 
 
6114
 
 
6115
 
 
6116
 
 
6117
 
 
6118
 
 
6119
 
 
6120
 
# Check whether --with-gnu-ld was given.
6121
 
if test "${with_gnu_ld+set}" = set; then :
6122
 
  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
6123
 
else
6124
 
  with_gnu_ld=no
6125
 
fi
6126
 
 
6127
 
ac_prog=ld
6128
 
if test "$GCC" = yes; then
6129
 
  # Check if gcc -print-prog-name=ld gives a path.
6130
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
6131
 
$as_echo_n "checking for ld used by $CC... " >&6; }
6132
 
  case $host in
6133
 
  *-*-mingw*)
6134
 
    # gcc leaves a trailing carriage return which upsets mingw
6135
 
    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
6136
 
  *)
6137
 
    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
6138
 
  esac
6139
 
  case $ac_prog in
6140
 
    # Accept absolute paths.
6141
 
    [\\/]* | ?:[\\/]*)
6142
 
      re_direlt='/[^/][^/]*/\.\./'
6143
 
      # Canonicalize the pathname of ld
6144
 
      ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
6145
 
      while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
6146
 
        ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
6147
 
      done
6148
 
      test -z "$LD" && LD="$ac_prog"
6149
 
      ;;
6150
 
  "")
6151
 
    # If it fails, then pretend we aren't using GCC.
6152
 
    ac_prog=ld
6153
 
    ;;
6154
 
  *)
6155
 
    # If it is relative, then search for the first ld in PATH.
6156
 
    with_gnu_ld=unknown
6157
 
    ;;
6158
 
  esac
6159
 
elif test "$with_gnu_ld" = yes; then
6160
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
6161
 
$as_echo_n "checking for GNU ld... " >&6; }
6162
 
else
6163
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
6164
 
$as_echo_n "checking for non-GNU ld... " >&6; }
6165
 
fi
6166
 
if test "${lt_cv_path_LD+set}" = set; then :
6167
 
  $as_echo_n "(cached) " >&6
6168
 
else
6169
 
  if test -z "$LD"; then
6170
 
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6171
 
  for ac_dir in $PATH; do
6172
 
    IFS="$lt_save_ifs"
6173
 
    test -z "$ac_dir" && ac_dir=.
6174
 
    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
6175
 
      lt_cv_path_LD="$ac_dir/$ac_prog"
6176
 
      # Check to see if the program is GNU ld.  I'd rather use --version,
6177
 
      # but apparently some variants of GNU ld only accept -v.
6178
 
      # Break only if it was the GNU/non-GNU ld that we prefer.
6179
 
      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
6180
 
      *GNU* | *'with BFD'*)
6181
 
        test "$with_gnu_ld" != no && break
6182
 
        ;;
6183
 
      *)
6184
 
        test "$with_gnu_ld" != yes && break
6185
 
        ;;
6186
 
      esac
6187
 
    fi
6188
 
  done
6189
 
  IFS="$lt_save_ifs"
6190
 
else
6191
 
  lt_cv_path_LD="$LD" # Let the user override the test with a path.
6192
 
fi
6193
 
fi
6194
 
 
6195
 
LD="$lt_cv_path_LD"
6196
 
if test -n "$LD"; then
6197
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6198
 
$as_echo "$LD" >&6; }
6199
 
else
6200
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6201
 
$as_echo "no" >&6; }
6202
 
fi
6203
 
test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
6204
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
6205
 
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
6206
 
if test "${lt_cv_prog_gnu_ld+set}" = set; then :
6207
 
  $as_echo_n "(cached) " >&6
6208
 
else
6209
 
  # I'd rather use --version here, but apparently some GNU lds only accept -v.
6210
 
case `$LD -v 2>&1 </dev/null` in
6211
 
*GNU* | *'with BFD'*)
6212
 
  lt_cv_prog_gnu_ld=yes
6213
 
  ;;
6214
 
*)
6215
 
  lt_cv_prog_gnu_ld=no
6216
 
  ;;
6217
 
esac
6218
 
fi
6219
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
6220
 
$as_echo "$lt_cv_prog_gnu_ld" >&6; }
6221
 
with_gnu_ld=$lt_cv_prog_gnu_ld
6222
 
 
6223
 
 
6224
 
 
6225
 
 
6226
 
 
6227
 
 
6228
 
 
6229
 
 
6230
 
 
6231
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
6232
 
$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
6233
 
if test "${lt_cv_path_NM+set}" = set; then :
6234
 
  $as_echo_n "(cached) " >&6
6235
 
else
6236
 
  if test -n "$NM"; then
6237
 
  # Let the user override the test.
6238
 
  lt_cv_path_NM="$NM"
6239
 
else
6240
 
  lt_nm_to_check="${ac_tool_prefix}nm"
6241
 
  if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
6242
 
    lt_nm_to_check="$lt_nm_to_check nm"
6243
 
  fi
6244
 
  for lt_tmp_nm in $lt_nm_to_check; do
6245
 
    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6246
 
    for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
6247
 
      IFS="$lt_save_ifs"
6248
 
      test -z "$ac_dir" && ac_dir=.
6249
 
      tmp_nm="$ac_dir/$lt_tmp_nm"
6250
 
      if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
6251
 
        # Check to see if the nm accepts a BSD-compat flag.
6252
 
        # Adding the `sed 1q' prevents false positives on HP-UX, which says:
6253
 
        #   nm: unknown option "B" ignored
6254
 
        # Tru64's nm complains that /dev/null is an invalid object file
6255
 
        case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
6256
 
        */dev/null* | *'Invalid file or object type'*)
6257
 
          lt_cv_path_NM="$tmp_nm -B"
6258
 
          break
6259
 
          ;;
6260
 
        *)
6261
 
          case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
6262
 
          */dev/null*)
6263
 
            lt_cv_path_NM="$tmp_nm -p"
6264
 
            break
6265
 
            ;;
6266
 
          *)
6267
 
            lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
6268
 
            continue # so that we can try to find one that supports BSD flags
6269
 
            ;;
6270
 
          esac
6271
 
          ;;
6272
 
        esac
6273
 
      fi
6274
 
    done
6275
 
    IFS="$lt_save_ifs"
6276
 
  done
6277
 
  : ${lt_cv_path_NM=no}
6278
 
fi
6279
 
fi
6280
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
6281
 
$as_echo "$lt_cv_path_NM" >&6; }
6282
 
if test "$lt_cv_path_NM" != "no"; then
6283
 
  NM="$lt_cv_path_NM"
6284
 
else
6285
 
  # Didn't find any BSD compatible name lister, look for dumpbin.
6286
 
  if test -n "$ac_tool_prefix"; then
6287
 
  for ac_prog in "dumpbin -symbols" "link -dump -symbols"
6288
 
  do
6289
 
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6290
 
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6291
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6292
 
$as_echo_n "checking for $ac_word... " >&6; }
6293
 
if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
6294
 
  $as_echo_n "(cached) " >&6
6295
 
else
6296
 
  if test -n "$DUMPBIN"; then
6297
 
  ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
6298
 
else
6299
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6300
 
for as_dir in $PATH
6301
 
do
6302
 
  IFS=$as_save_IFS
6303
 
  test -z "$as_dir" && as_dir=.
6304
 
    for ac_exec_ext in '' $ac_executable_extensions; do
6305
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6306
 
    ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
6307
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6308
 
    break 2
6309
 
  fi
6310
 
done
6311
 
  done
6312
 
IFS=$as_save_IFS
6313
 
 
6314
 
fi
6315
 
fi
6316
 
DUMPBIN=$ac_cv_prog_DUMPBIN
6317
 
if test -n "$DUMPBIN"; then
6318
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
6319
 
$as_echo "$DUMPBIN" >&6; }
6320
 
else
6321
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6322
 
$as_echo "no" >&6; }
6323
 
fi
6324
 
 
6325
 
 
6326
 
    test -n "$DUMPBIN" && break
6327
 
  done
6328
 
fi
6329
 
if test -z "$DUMPBIN"; then
6330
 
  ac_ct_DUMPBIN=$DUMPBIN
6331
 
  for ac_prog in "dumpbin -symbols" "link -dump -symbols"
6332
 
do
6333
 
  # Extract the first word of "$ac_prog", so it can be a program name with args.
6334
 
set dummy $ac_prog; ac_word=$2
6335
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6336
 
$as_echo_n "checking for $ac_word... " >&6; }
6337
 
if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
6338
 
  $as_echo_n "(cached) " >&6
6339
 
else
6340
 
  if test -n "$ac_ct_DUMPBIN"; then
6341
 
  ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
6342
 
else
6343
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6344
 
for as_dir in $PATH
6345
 
do
6346
 
  IFS=$as_save_IFS
6347
 
  test -z "$as_dir" && as_dir=.
6348
 
    for ac_exec_ext in '' $ac_executable_extensions; do
6349
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6350
 
    ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
6351
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6352
 
    break 2
6353
 
  fi
6354
 
done
6355
 
  done
6356
 
IFS=$as_save_IFS
6357
 
 
6358
 
fi
6359
 
fi
6360
 
ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
6361
 
if test -n "$ac_ct_DUMPBIN"; then
6362
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
6363
 
$as_echo "$ac_ct_DUMPBIN" >&6; }
6364
 
else
6365
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6366
 
$as_echo "no" >&6; }
6367
 
fi
6368
 
 
6369
 
 
6370
 
  test -n "$ac_ct_DUMPBIN" && break
6371
 
done
6372
 
 
6373
 
  if test "x$ac_ct_DUMPBIN" = x; then
6374
 
    DUMPBIN=":"
6375
 
  else
6376
 
    case $cross_compiling:$ac_tool_warned in
6377
 
yes:)
6378
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6379
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6380
 
ac_tool_warned=yes ;;
6381
 
esac
6382
 
    DUMPBIN=$ac_ct_DUMPBIN
6383
 
  fi
6384
 
fi
6385
 
 
6386
 
 
6387
 
  if test "$DUMPBIN" != ":"; then
6388
 
    NM="$DUMPBIN"
6389
 
  fi
6390
 
fi
6391
 
test -z "$NM" && NM=nm
6392
 
 
6393
 
 
6394
 
 
6395
 
 
6396
 
 
6397
 
 
6398
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
6399
 
$as_echo_n "checking the name lister ($NM) interface... " >&6; }
6400
 
if test "${lt_cv_nm_interface+set}" = set; then :
6401
 
  $as_echo_n "(cached) " >&6
6402
 
else
6403
 
  lt_cv_nm_interface="BSD nm"
6404
 
  echo "int some_variable = 0;" > conftest.$ac_ext
6405
 
  (eval echo "\"\$as_me:6405: $ac_compile\"" >&5)
6406
 
  (eval "$ac_compile" 2>conftest.err)
6407
 
  cat conftest.err >&5
6408
 
  (eval echo "\"\$as_me:6408: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
6409
 
  (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
6410
 
  cat conftest.err >&5
6411
 
  (eval echo "\"\$as_me:6411: output\"" >&5)
6412
 
  cat conftest.out >&5
6413
 
  if $GREP 'External.*some_variable' conftest.out > /dev/null; then
6414
 
    lt_cv_nm_interface="MS dumpbin"
6415
 
  fi
6416
 
  rm -f conftest*
6417
 
fi
6418
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
6419
 
$as_echo "$lt_cv_nm_interface" >&6; }
6420
 
 
6421
 
# find the maximum length of command line arguments
6422
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
6423
 
$as_echo_n "checking the maximum length of command line arguments... " >&6; }
6424
 
if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
6425
 
  $as_echo_n "(cached) " >&6
6426
 
else
6427
 
    i=0
6428
 
  teststring="ABCD"
6429
 
 
6430
 
  case $build_os in
6431
 
  msdosdjgpp*)
6432
 
    # On DJGPP, this test can blow up pretty badly due to problems in libc
6433
 
    # (any single argument exceeding 2000 bytes causes a buffer overrun
6434
 
    # during glob expansion).  Even if it were fixed, the result of this
6435
 
    # check would be larger than it should be.
6436
 
    lt_cv_sys_max_cmd_len=12288;    # 12K is about right
6437
 
    ;;
6438
 
 
6439
 
  gnu*)
6440
 
    # Under GNU Hurd, this test is not required because there is
6441
 
    # no limit to the length of command line arguments.
6442
 
    # Libtool will interpret -1 as no limit whatsoever
6443
 
    lt_cv_sys_max_cmd_len=-1;
6444
 
    ;;
6445
 
 
6446
 
  cygwin* | mingw* | cegcc*)
6447
 
    # On Win9x/ME, this test blows up -- it succeeds, but takes
6448
 
    # about 5 minutes as the teststring grows exponentially.
6449
 
    # Worse, since 9x/ME are not pre-emptively multitasking,
6450
 
    # you end up with a "frozen" computer, even though with patience
6451
 
    # the test eventually succeeds (with a max line length of 256k).
6452
 
    # Instead, let's just punt: use the minimum linelength reported by
6453
 
    # all of the supported platforms: 8192 (on NT/2K/XP).
6454
 
    lt_cv_sys_max_cmd_len=8192;
6455
 
    ;;
6456
 
 
6457
 
  amigaos*)
6458
 
    # On AmigaOS with pdksh, this test takes hours, literally.
6459
 
    # So we just punt and use a minimum line length of 8192.
6460
 
    lt_cv_sys_max_cmd_len=8192;
6461
 
    ;;
6462
 
 
6463
 
  netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
6464
 
    # This has been around since 386BSD, at least.  Likely further.
6465
 
    if test -x /sbin/sysctl; then
6466
 
      lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
6467
 
    elif test -x /usr/sbin/sysctl; then
6468
 
      lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
6469
 
    else
6470
 
      lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
6471
 
    fi
6472
 
    # And add a safety zone
6473
 
    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6474
 
    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6475
 
    ;;
6476
 
 
6477
 
  interix*)
6478
 
    # We know the value 262144 and hardcode it with a safety zone (like BSD)
6479
 
    lt_cv_sys_max_cmd_len=196608
6480
 
    ;;
6481
 
 
6482
 
  osf*)
6483
 
    # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6484
 
    # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6485
 
    # nice to cause kernel panics so lets avoid the loop below.
6486
 
    # First set a reasonable default.
6487
 
    lt_cv_sys_max_cmd_len=16384
6488
 
    #
6489
 
    if test -x /sbin/sysconfig; then
6490
 
      case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6491
 
        *1*) lt_cv_sys_max_cmd_len=-1 ;;
6492
 
      esac
6493
 
    fi
6494
 
    ;;
6495
 
  sco3.2v5*)
6496
 
    lt_cv_sys_max_cmd_len=102400
6497
 
    ;;
6498
 
  sysv5* | sco5v6* | sysv4.2uw2*)
6499
 
    kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6500
 
    if test -n "$kargmax"; then
6501
 
      lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[  ]//'`
6502
 
    else
6503
 
      lt_cv_sys_max_cmd_len=32768
6504
 
    fi
6505
 
    ;;
6506
 
  *)
6507
 
    lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
6508
 
    if test -n "$lt_cv_sys_max_cmd_len"; then
6509
 
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6510
 
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6511
 
    else
6512
 
      # Make teststring a little bigger before we do anything with it.
6513
 
      # a 1K string should be a reasonable start.
6514
 
      for i in 1 2 3 4 5 6 7 8 ; do
6515
 
        teststring=$teststring$teststring
6516
 
      done
6517
 
      SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
6518
 
      # If test is not a shell built-in, we'll probably end up computing a
6519
 
      # maximum length that is only half of the actual maximum length, but
6520
 
      # we can't tell.
6521
 
      while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
6522
 
                 = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
6523
 
              test $i != 17 # 1/2 MB should be enough
6524
 
      do
6525
 
        i=`expr $i + 1`
6526
 
        teststring=$teststring$teststring
6527
 
      done
6528
 
      # Only check the string length outside the loop.
6529
 
      lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
6530
 
      teststring=
6531
 
      # Add a significant safety factor because C++ compilers can tack on
6532
 
      # massive amounts of additional arguments before passing them to the
6533
 
      # linker.  It appears as though 1/2 is a usable value.
6534
 
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
6535
 
    fi
6536
 
    ;;
6537
 
  esac
6538
 
 
6539
 
fi
6540
 
 
6541
 
if test -n $lt_cv_sys_max_cmd_len ; then
6542
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
6543
 
$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6544
 
else
6545
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
6546
 
$as_echo "none" >&6; }
6547
 
fi
6548
 
max_cmd_len=$lt_cv_sys_max_cmd_len
6549
 
 
6550
 
 
6551
 
 
6552
 
 
6553
 
 
6554
 
 
6555
 
: ${CP="cp -f"}
6556
 
: ${MV="mv -f"}
6557
 
: ${RM="rm -f"}
6558
 
 
6559
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
6560
 
$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
6561
 
# Try some XSI features
6562
 
xsi_shell=no
6563
 
( _lt_dummy="a/b/c"
6564
 
  test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
6565
 
      = c,a/b,, \
6566
 
    && eval 'test $(( 1 + 1 )) -eq 2 \
6567
 
    && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
6568
 
  && xsi_shell=yes
6569
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
6570
 
$as_echo "$xsi_shell" >&6; }
6571
 
 
6572
 
 
6573
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
6574
 
$as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
6575
 
lt_shell_append=no
6576
 
( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
6577
 
    >/dev/null 2>&1 \
6578
 
  && lt_shell_append=yes
6579
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
6580
 
$as_echo "$lt_shell_append" >&6; }
6581
 
 
6582
 
 
6583
 
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6584
 
  lt_unset=unset
6585
 
else
6586
 
  lt_unset=false
6587
 
fi
6588
 
 
6589
 
 
6590
 
 
6591
 
 
6592
 
 
6593
 
# test EBCDIC or ASCII
6594
 
case `echo X|tr X '\101'` in
6595
 
 A) # ASCII based system
6596
 
    # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6597
 
  lt_SP2NL='tr \040 \012'
6598
 
  lt_NL2SP='tr \015\012 \040\040'
6599
 
  ;;
6600
 
 *) # EBCDIC based system
6601
 
  lt_SP2NL='tr \100 \n'
6602
 
  lt_NL2SP='tr \r\n \100\100'
6603
 
  ;;
6604
 
esac
6605
 
 
6606
 
 
6607
 
 
6608
 
 
6609
 
 
6610
 
 
6611
 
 
6612
 
 
6613
 
 
6614
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6615
 
$as_echo_n "checking for $LD option to reload object files... " >&6; }
6616
 
if test "${lt_cv_ld_reload_flag+set}" = set; then :
6617
 
  $as_echo_n "(cached) " >&6
6618
 
else
6619
 
  lt_cv_ld_reload_flag='-r'
6620
 
fi
6621
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6622
 
$as_echo "$lt_cv_ld_reload_flag" >&6; }
6623
 
reload_flag=$lt_cv_ld_reload_flag
6624
 
case $reload_flag in
6625
 
"" | " "*) ;;
6626
 
*) reload_flag=" $reload_flag" ;;
6627
 
esac
6628
 
reload_cmds='$LD$reload_flag -o $output$reload_objs'
6629
 
case $host_os in
6630
 
  darwin*)
6631
 
    if test "$GCC" = yes; then
6632
 
      reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6633
 
    else
6634
 
      reload_cmds='$LD$reload_flag -o $output$reload_objs'
6635
 
    fi
6636
 
    ;;
6637
 
esac
6638
 
 
6639
 
 
6640
 
 
6641
 
 
6642
 
 
6643
 
 
6644
 
 
6645
 
 
6646
 
 
6647
 
if test -n "$ac_tool_prefix"; then
6648
 
  # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6649
 
set dummy ${ac_tool_prefix}objdump; ac_word=$2
6650
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6651
 
$as_echo_n "checking for $ac_word... " >&6; }
6652
 
if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
6653
 
  $as_echo_n "(cached) " >&6
6654
 
else
6655
 
  if test -n "$OBJDUMP"; then
6656
 
  ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6657
 
else
6658
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6659
 
for as_dir in $PATH
6660
 
do
6661
 
  IFS=$as_save_IFS
6662
 
  test -z "$as_dir" && as_dir=.
6663
 
    for ac_exec_ext in '' $ac_executable_extensions; do
6664
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6665
 
    ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6666
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6667
 
    break 2
6668
 
  fi
6669
 
done
6670
 
  done
6671
 
IFS=$as_save_IFS
6672
 
 
6673
 
fi
6674
 
fi
6675
 
OBJDUMP=$ac_cv_prog_OBJDUMP
6676
 
if test -n "$OBJDUMP"; then
6677
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6678
 
$as_echo "$OBJDUMP" >&6; }
6679
 
else
6680
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6681
 
$as_echo "no" >&6; }
6682
 
fi
6683
 
 
6684
 
 
6685
 
fi
6686
 
if test -z "$ac_cv_prog_OBJDUMP"; then
6687
 
  ac_ct_OBJDUMP=$OBJDUMP
6688
 
  # Extract the first word of "objdump", so it can be a program name with args.
6689
 
set dummy objdump; ac_word=$2
6690
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6691
 
$as_echo_n "checking for $ac_word... " >&6; }
6692
 
if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
6693
 
  $as_echo_n "(cached) " >&6
6694
 
else
6695
 
  if test -n "$ac_ct_OBJDUMP"; then
6696
 
  ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6697
 
else
6698
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6699
 
for as_dir in $PATH
6700
 
do
6701
 
  IFS=$as_save_IFS
6702
 
  test -z "$as_dir" && as_dir=.
6703
 
    for ac_exec_ext in '' $ac_executable_extensions; do
6704
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6705
 
    ac_cv_prog_ac_ct_OBJDUMP="objdump"
6706
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6707
 
    break 2
6708
 
  fi
6709
 
done
6710
 
  done
6711
 
IFS=$as_save_IFS
6712
 
 
6713
 
fi
6714
 
fi
6715
 
ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6716
 
if test -n "$ac_ct_OBJDUMP"; then
6717
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6718
 
$as_echo "$ac_ct_OBJDUMP" >&6; }
6719
 
else
6720
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6721
 
$as_echo "no" >&6; }
6722
 
fi
6723
 
 
6724
 
  if test "x$ac_ct_OBJDUMP" = x; then
6725
 
    OBJDUMP="false"
6726
 
  else
6727
 
    case $cross_compiling:$ac_tool_warned in
6728
 
yes:)
6729
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6730
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6731
 
ac_tool_warned=yes ;;
6732
 
esac
6733
 
    OBJDUMP=$ac_ct_OBJDUMP
6734
 
  fi
6735
 
else
6736
 
  OBJDUMP="$ac_cv_prog_OBJDUMP"
6737
 
fi
6738
 
 
6739
 
test -z "$OBJDUMP" && OBJDUMP=objdump
6740
 
 
6741
 
 
6742
 
 
6743
 
 
6744
 
 
6745
 
 
6746
 
 
6747
 
 
6748
 
 
6749
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6750
 
$as_echo_n "checking how to recognize dependent libraries... " >&6; }
6751
 
if test "${lt_cv_deplibs_check_method+set}" = set; then :
6752
 
  $as_echo_n "(cached) " >&6
6753
 
else
6754
 
  lt_cv_file_magic_cmd='$MAGIC_CMD'
6755
 
lt_cv_file_magic_test_file=
6756
 
lt_cv_deplibs_check_method='unknown'
6757
 
# Need to set the preceding variable on all platforms that support
6758
 
# interlibrary dependencies.
6759
 
# 'none' -- dependencies not supported.
6760
 
# `unknown' -- same as none, but documents that we really don't know.
6761
 
# 'pass_all' -- all dependencies passed with no checks.
6762
 
# 'test_compile' -- check by making test program.
6763
 
# 'file_magic [[regex]]' -- check by looking for files in library path
6764
 
# which responds to the $file_magic_cmd with a given extended regex.
6765
 
# If you have `file' or equivalent on your system and you're not sure
6766
 
# whether `pass_all' will *always* work, you probably want this one.
6767
 
 
6768
 
case $host_os in
6769
 
aix[4-9]*)
6770
 
  lt_cv_deplibs_check_method=pass_all
6771
 
  ;;
6772
 
 
6773
 
beos*)
6774
 
  lt_cv_deplibs_check_method=pass_all
6775
 
  ;;
6776
 
 
6777
 
bsdi[45]*)
6778
 
  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6779
 
  lt_cv_file_magic_cmd='/usr/bin/file -L'
6780
 
  lt_cv_file_magic_test_file=/shlib/libc.so
6781
 
  ;;
6782
 
 
6783
 
cygwin*)
6784
 
  # func_win32_libid is a shell function defined in ltmain.sh
6785
 
  lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6786
 
  lt_cv_file_magic_cmd='func_win32_libid'
6787
 
  ;;
6788
 
 
6789
 
mingw* | pw32*)
6790
 
  # Base MSYS/MinGW do not provide the 'file' command needed by
6791
 
  # func_win32_libid shell function, so use a weaker test based on 'objdump',
6792
 
  # unless we find 'file', for example because we are cross-compiling.
6793
 
  if ( file / ) >/dev/null 2>&1; then
6794
 
    lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6795
 
    lt_cv_file_magic_cmd='func_win32_libid'
6796
 
  else
6797
 
    lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
6798
 
    lt_cv_file_magic_cmd='$OBJDUMP -f'
6799
 
  fi
6800
 
  ;;
6801
 
 
6802
 
cegcc)
6803
 
  # use the weaker test based on 'objdump'. See mingw*.
6804
 
  lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6805
 
  lt_cv_file_magic_cmd='$OBJDUMP -f'
6806
 
  ;;
6807
 
 
6808
 
darwin* | rhapsody*)
6809
 
  lt_cv_deplibs_check_method=pass_all
6810
 
  ;;
6811
 
 
6812
 
freebsd* | dragonfly*)
6813
 
  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6814
 
    case $host_cpu in
6815
 
    i*86 )
6816
 
      # Not sure whether the presence of OpenBSD here was a mistake.
6817
 
      # Let's accept both of them until this is cleared up.
6818
 
      lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6819
 
      lt_cv_file_magic_cmd=/usr/bin/file
6820
 
      lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6821
 
      ;;
6822
 
    esac
6823
 
  else
6824
 
    lt_cv_deplibs_check_method=pass_all
6825
 
  fi
6826
 
  ;;
6827
 
 
6828
 
gnu*)
6829
 
  lt_cv_deplibs_check_method=pass_all
6830
 
  ;;
6831
 
 
6832
 
hpux10.20* | hpux11*)
6833
 
  lt_cv_file_magic_cmd=/usr/bin/file
6834
 
  case $host_cpu in
6835
 
  ia64*)
6836
 
    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6837
 
    lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6838
 
    ;;
6839
 
  hppa*64*)
6840
 
    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]'
6841
 
    lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6842
 
    ;;
6843
 
  *)
6844
 
    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
6845
 
    lt_cv_file_magic_test_file=/usr/lib/libc.sl
6846
 
    ;;
6847
 
  esac
6848
 
  ;;
6849
 
 
6850
 
interix[3-9]*)
6851
 
  # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6852
 
  lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6853
 
  ;;
6854
 
 
6855
 
irix5* | irix6* | nonstopux*)
6856
 
  case $LD in
6857
 
  *-32|*"-32 ") libmagic=32-bit;;
6858
 
  *-n32|*"-n32 ") libmagic=N32;;
6859
 
  *-64|*"-64 ") libmagic=64-bit;;
6860
 
  *) libmagic=never-match;;
6861
 
  esac
6862
 
  lt_cv_deplibs_check_method=pass_all
6863
 
  ;;
6864
 
 
6865
 
# This must be Linux ELF.
6866
 
linux* | k*bsd*-gnu | kopensolaris*-gnu)
6867
 
  lt_cv_deplibs_check_method=pass_all
6868
 
  ;;
6869
 
 
6870
 
netbsd* | netbsdelf*-gnu)
6871
 
  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6872
 
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6873
 
  else
6874
 
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6875
 
  fi
6876
 
  ;;
6877
 
 
6878
 
newos6*)
6879
 
  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6880
 
  lt_cv_file_magic_cmd=/usr/bin/file
6881
 
  lt_cv_file_magic_test_file=/usr/lib/libnls.so
6882
 
  ;;
6883
 
 
6884
 
*nto* | *qnx*)
6885
 
  lt_cv_deplibs_check_method=pass_all
6886
 
  ;;
6887
 
 
6888
 
openbsd*)
6889
 
  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6890
 
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6891
 
  else
6892
 
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6893
 
  fi
6894
 
  ;;
6895
 
 
6896
 
osf3* | osf4* | osf5*)
6897
 
  lt_cv_deplibs_check_method=pass_all
6898
 
  ;;
6899
 
 
6900
 
rdos*)
6901
 
  lt_cv_deplibs_check_method=pass_all
6902
 
  ;;
6903
 
 
6904
 
solaris*)
6905
 
  lt_cv_deplibs_check_method=pass_all
6906
 
  ;;
6907
 
 
6908
 
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6909
 
  lt_cv_deplibs_check_method=pass_all
6910
 
  ;;
6911
 
 
6912
 
sysv4 | sysv4.3*)
6913
 
  case $host_vendor in
6914
 
  motorola)
6915
 
    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]'
6916
 
    lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6917
 
    ;;
6918
 
  ncr)
6919
 
    lt_cv_deplibs_check_method=pass_all
6920
 
    ;;
6921
 
  sequent)
6922
 
    lt_cv_file_magic_cmd='/bin/file'
6923
 
    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6924
 
    ;;
6925
 
  sni)
6926
 
    lt_cv_file_magic_cmd='/bin/file'
6927
 
    lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6928
 
    lt_cv_file_magic_test_file=/lib/libc.so
6929
 
    ;;
6930
 
  siemens)
6931
 
    lt_cv_deplibs_check_method=pass_all
6932
 
    ;;
6933
 
  pc)
6934
 
    lt_cv_deplibs_check_method=pass_all
6935
 
    ;;
6936
 
  esac
6937
 
  ;;
6938
 
 
6939
 
tpf*)
6940
 
  lt_cv_deplibs_check_method=pass_all
6941
 
  ;;
6942
 
esac
6943
 
 
6944
 
fi
6945
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6946
 
$as_echo "$lt_cv_deplibs_check_method" >&6; }
6947
 
file_magic_cmd=$lt_cv_file_magic_cmd
6948
 
deplibs_check_method=$lt_cv_deplibs_check_method
6949
 
test -z "$deplibs_check_method" && deplibs_check_method=unknown
6950
 
 
6951
 
 
6952
 
 
6953
 
 
6954
 
 
6955
 
 
6956
 
 
6957
 
 
6958
 
 
6959
 
 
6960
 
 
6961
 
 
6962
 
if test -n "$ac_tool_prefix"; then
6963
 
  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6964
 
set dummy ${ac_tool_prefix}ar; ac_word=$2
6965
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6966
 
$as_echo_n "checking for $ac_word... " >&6; }
6967
 
if test "${ac_cv_prog_AR+set}" = set; then :
6968
 
  $as_echo_n "(cached) " >&6
6969
 
else
6970
 
  if test -n "$AR"; then
6971
 
  ac_cv_prog_AR="$AR" # Let the user override the test.
6972
 
else
6973
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6974
 
for as_dir in $PATH
6975
 
do
6976
 
  IFS=$as_save_IFS
6977
 
  test -z "$as_dir" && as_dir=.
6978
 
    for ac_exec_ext in '' $ac_executable_extensions; do
6979
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6980
 
    ac_cv_prog_AR="${ac_tool_prefix}ar"
6981
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6982
 
    break 2
6983
 
  fi
6984
 
done
6985
 
  done
6986
 
IFS=$as_save_IFS
6987
 
 
6988
 
fi
6989
 
fi
6990
 
AR=$ac_cv_prog_AR
6991
 
if test -n "$AR"; then
6992
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6993
 
$as_echo "$AR" >&6; }
6994
 
else
6995
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6996
 
$as_echo "no" >&6; }
6997
 
fi
6998
 
 
6999
 
 
7000
 
fi
7001
 
if test -z "$ac_cv_prog_AR"; then
7002
 
  ac_ct_AR=$AR
7003
 
  # Extract the first word of "ar", so it can be a program name with args.
7004
 
set dummy ar; ac_word=$2
7005
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7006
 
$as_echo_n "checking for $ac_word... " >&6; }
7007
 
if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
7008
 
  $as_echo_n "(cached) " >&6
7009
 
else
7010
 
  if test -n "$ac_ct_AR"; then
7011
 
  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
7012
 
else
7013
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7014
 
for as_dir in $PATH
7015
 
do
7016
 
  IFS=$as_save_IFS
7017
 
  test -z "$as_dir" && as_dir=.
7018
 
    for ac_exec_ext in '' $ac_executable_extensions; do
7019
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7020
 
    ac_cv_prog_ac_ct_AR="ar"
7021
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7022
 
    break 2
7023
 
  fi
7024
 
done
7025
 
  done
7026
 
IFS=$as_save_IFS
7027
 
 
7028
 
fi
7029
 
fi
7030
 
ac_ct_AR=$ac_cv_prog_ac_ct_AR
7031
 
if test -n "$ac_ct_AR"; then
7032
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
7033
 
$as_echo "$ac_ct_AR" >&6; }
7034
 
else
7035
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7036
 
$as_echo "no" >&6; }
7037
 
fi
7038
 
 
7039
 
  if test "x$ac_ct_AR" = x; then
7040
 
    AR="false"
7041
 
  else
7042
 
    case $cross_compiling:$ac_tool_warned in
7043
 
yes:)
7044
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7045
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7046
 
ac_tool_warned=yes ;;
7047
 
esac
7048
 
    AR=$ac_ct_AR
7049
 
  fi
7050
 
else
7051
 
  AR="$ac_cv_prog_AR"
7052
 
fi
7053
 
 
7054
 
test -z "$AR" && AR=ar
7055
 
test -z "$AR_FLAGS" && AR_FLAGS=cru
7056
 
 
7057
 
 
7058
 
 
7059
 
 
7060
 
 
7061
 
 
7062
 
 
7063
 
 
7064
 
 
7065
 
 
7066
 
 
7067
 
if test -n "$ac_tool_prefix"; then
7068
 
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
7069
 
set dummy ${ac_tool_prefix}strip; ac_word=$2
7070
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7071
 
$as_echo_n "checking for $ac_word... " >&6; }
7072
 
if test "${ac_cv_prog_STRIP+set}" = set; then :
7073
 
  $as_echo_n "(cached) " >&6
7074
 
else
7075
 
  if test -n "$STRIP"; then
7076
 
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
7077
 
else
7078
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7079
 
for as_dir in $PATH
7080
 
do
7081
 
  IFS=$as_save_IFS
7082
 
  test -z "$as_dir" && as_dir=.
7083
 
    for ac_exec_ext in '' $ac_executable_extensions; do
7084
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7085
 
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
7086
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7087
 
    break 2
7088
 
  fi
7089
 
done
7090
 
  done
7091
 
IFS=$as_save_IFS
7092
 
 
7093
 
fi
7094
 
fi
7095
 
STRIP=$ac_cv_prog_STRIP
7096
 
if test -n "$STRIP"; then
7097
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
7098
 
$as_echo "$STRIP" >&6; }
7099
 
else
7100
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7101
 
$as_echo "no" >&6; }
7102
 
fi
7103
 
 
7104
 
 
7105
 
fi
7106
 
if test -z "$ac_cv_prog_STRIP"; then
7107
 
  ac_ct_STRIP=$STRIP
7108
 
  # Extract the first word of "strip", so it can be a program name with args.
7109
 
set dummy strip; ac_word=$2
7110
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7111
 
$as_echo_n "checking for $ac_word... " >&6; }
7112
 
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
7113
 
  $as_echo_n "(cached) " >&6
7114
 
else
7115
 
  if test -n "$ac_ct_STRIP"; then
7116
 
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
7117
 
else
7118
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7119
 
for as_dir in $PATH
7120
 
do
7121
 
  IFS=$as_save_IFS
7122
 
  test -z "$as_dir" && as_dir=.
7123
 
    for ac_exec_ext in '' $ac_executable_extensions; do
7124
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7125
 
    ac_cv_prog_ac_ct_STRIP="strip"
7126
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7127
 
    break 2
7128
 
  fi
7129
 
done
7130
 
  done
7131
 
IFS=$as_save_IFS
7132
 
 
7133
 
fi
7134
 
fi
7135
 
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
7136
 
if test -n "$ac_ct_STRIP"; then
7137
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
7138
 
$as_echo "$ac_ct_STRIP" >&6; }
7139
 
else
7140
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7141
 
$as_echo "no" >&6; }
7142
 
fi
7143
 
 
7144
 
  if test "x$ac_ct_STRIP" = x; then
7145
 
    STRIP=":"
7146
 
  else
7147
 
    case $cross_compiling:$ac_tool_warned in
7148
 
yes:)
7149
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7150
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7151
 
ac_tool_warned=yes ;;
7152
 
esac
7153
 
    STRIP=$ac_ct_STRIP
7154
 
  fi
7155
 
else
7156
 
  STRIP="$ac_cv_prog_STRIP"
7157
 
fi
7158
 
 
7159
 
test -z "$STRIP" && STRIP=:
7160
 
 
7161
 
 
7162
 
 
7163
 
 
7164
 
 
7165
 
 
7166
 
if test -n "$ac_tool_prefix"; then
7167
 
  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
7168
 
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
7169
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7170
 
$as_echo_n "checking for $ac_word... " >&6; }
7171
 
if test "${ac_cv_prog_RANLIB+set}" = set; then :
7172
 
  $as_echo_n "(cached) " >&6
7173
 
else
7174
 
  if test -n "$RANLIB"; then
7175
 
  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
7176
 
else
7177
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7178
 
for as_dir in $PATH
7179
 
do
7180
 
  IFS=$as_save_IFS
7181
 
  test -z "$as_dir" && as_dir=.
7182
 
    for ac_exec_ext in '' $ac_executable_extensions; do
7183
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7184
 
    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
7185
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7186
 
    break 2
7187
 
  fi
7188
 
done
7189
 
  done
7190
 
IFS=$as_save_IFS
7191
 
 
7192
 
fi
7193
 
fi
7194
 
RANLIB=$ac_cv_prog_RANLIB
7195
 
if test -n "$RANLIB"; then
7196
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
7197
 
$as_echo "$RANLIB" >&6; }
7198
 
else
7199
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7200
 
$as_echo "no" >&6; }
7201
 
fi
7202
 
 
7203
 
 
7204
 
fi
7205
 
if test -z "$ac_cv_prog_RANLIB"; then
7206
 
  ac_ct_RANLIB=$RANLIB
7207
 
  # Extract the first word of "ranlib", so it can be a program name with args.
7208
 
set dummy ranlib; ac_word=$2
7209
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7210
 
$as_echo_n "checking for $ac_word... " >&6; }
7211
 
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
7212
 
  $as_echo_n "(cached) " >&6
7213
 
else
7214
 
  if test -n "$ac_ct_RANLIB"; then
7215
 
  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
7216
 
else
7217
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7218
 
for as_dir in $PATH
7219
 
do
7220
 
  IFS=$as_save_IFS
7221
 
  test -z "$as_dir" && as_dir=.
7222
 
    for ac_exec_ext in '' $ac_executable_extensions; do
7223
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7224
 
    ac_cv_prog_ac_ct_RANLIB="ranlib"
7225
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7226
 
    break 2
7227
 
  fi
7228
 
done
7229
 
  done
7230
 
IFS=$as_save_IFS
7231
 
 
7232
 
fi
7233
 
fi
7234
 
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
7235
 
if test -n "$ac_ct_RANLIB"; then
7236
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
7237
 
$as_echo "$ac_ct_RANLIB" >&6; }
7238
 
else
7239
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7240
 
$as_echo "no" >&6; }
7241
 
fi
7242
 
 
7243
 
  if test "x$ac_ct_RANLIB" = x; then
7244
 
    RANLIB=":"
7245
 
  else
7246
 
    case $cross_compiling:$ac_tool_warned in
7247
 
yes:)
7248
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7249
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7250
 
ac_tool_warned=yes ;;
7251
 
esac
7252
 
    RANLIB=$ac_ct_RANLIB
7253
 
  fi
7254
 
else
7255
 
  RANLIB="$ac_cv_prog_RANLIB"
7256
 
fi
7257
 
 
7258
 
test -z "$RANLIB" && RANLIB=:
7259
 
 
7260
 
 
7261
 
 
7262
 
 
7263
 
 
7264
 
 
7265
 
# Determine commands to create old-style static archives.
7266
 
old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
7267
 
old_postinstall_cmds='chmod 644 $oldlib'
7268
 
old_postuninstall_cmds=
7269
 
 
7270
 
if test -n "$RANLIB"; then
7271
 
  case $host_os in
7272
 
  openbsd*)
7273
 
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
7274
 
    ;;
7275
 
  *)
7276
 
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
7277
 
    ;;
7278
 
  esac
7279
 
  old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
7280
 
fi
7281
 
 
7282
 
 
7283
 
 
7284
 
 
7285
 
 
7286
 
 
7287
 
 
7288
 
 
7289
 
 
7290
 
 
7291
 
 
7292
 
 
7293
 
 
7294
 
 
7295
 
 
7296
 
 
7297
 
 
7298
 
 
7299
 
 
7300
 
 
7301
 
 
7302
 
 
7303
 
 
7304
 
 
7305
 
 
7306
 
 
7307
 
 
7308
 
 
7309
 
 
7310
 
 
7311
 
 
7312
 
 
7313
 
 
7314
 
 
7315
 
# If no C compiler was specified, use CC.
7316
 
LTCC=${LTCC-"$CC"}
7317
 
 
7318
 
# If no C compiler flags were specified, use CFLAGS.
7319
 
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7320
 
 
7321
 
# Allow CC to be a program name with arguments.
7322
 
compiler=$CC
7323
 
 
7324
 
 
7325
 
# Check for command to grab the raw symbol name followed by C symbol from nm.
7326
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
7327
 
$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
7328
 
if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
7329
 
  $as_echo_n "(cached) " >&6
7330
 
else
7331
 
 
7332
 
# These are sane defaults that work on at least a few old systems.
7333
 
# [They come from Ultrix.  What could be older than Ultrix?!! ;)]
7334
 
 
7335
 
# Character class describing NM global symbol codes.
7336
 
symcode='[BCDEGRST]'
7337
 
 
7338
 
# Regexp to match symbols that can be accessed directly from C.
7339
 
sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
7340
 
 
7341
 
# Define system-specific variables.
7342
 
case $host_os in
7343
 
aix*)
7344
 
  symcode='[BCDT]'
7345
 
  ;;
7346
 
cygwin* | mingw* | pw32* | cegcc*)
7347
 
  symcode='[ABCDGISTW]'
7348
 
  ;;
7349
 
hpux*)
7350
 
  if test "$host_cpu" = ia64; then
7351
 
    symcode='[ABCDEGRST]'
7352
 
  fi
7353
 
  ;;
7354
 
irix* | nonstopux*)
7355
 
  symcode='[BCDEGRST]'
7356
 
  ;;
7357
 
osf*)
7358
 
  symcode='[BCDEGQRST]'
7359
 
  ;;
7360
 
solaris*)
7361
 
  symcode='[BDRT]'
7362
 
  ;;
7363
 
sco3.2v5*)
7364
 
  symcode='[DT]'
7365
 
  ;;
7366
 
sysv4.2uw2*)
7367
 
  symcode='[DT]'
7368
 
  ;;
7369
 
sysv5* | sco5v6* | unixware* | OpenUNIX*)
7370
 
  symcode='[ABDT]'
7371
 
  ;;
7372
 
sysv4)
7373
 
  symcode='[DFNSTU]'
7374
 
  ;;
7375
 
esac
7376
 
 
7377
 
# If we're using GNU nm, then use its standard symbol codes.
7378
 
case `$NM -V 2>&1` in
7379
 
*GNU* | *'with BFD'*)
7380
 
  symcode='[ABCDGIRSTW]' ;;
7381
 
esac
7382
 
 
7383
 
# Transform an extracted symbol line into a proper C declaration.
7384
 
# Some systems (esp. on ia64) link data and code symbols differently,
7385
 
# so use this general approach.
7386
 
lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
7387
 
 
7388
 
# Transform an extracted symbol line into symbol name and symbol address
7389
 
lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
7390
 
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'"
7391
 
 
7392
 
# Handle CRLF in mingw tool chain
7393
 
opt_cr=
7394
 
case $build_os in
7395
 
mingw*)
7396
 
  opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7397
 
  ;;
7398
 
esac
7399
 
 
7400
 
# Try without a prefix underscore, then with it.
7401
 
for ac_symprfx in "" "_"; do
7402
 
 
7403
 
  # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7404
 
  symxfrm="\\1 $ac_symprfx\\2 \\2"
7405
 
 
7406
 
  # Write the raw and C identifiers.
7407
 
  if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7408
 
    # Fake it for dumpbin and say T for any non-static function
7409
 
    # and D for any global variable.
7410
 
    # Also find C++ and __fastcall symbols from MSVC++,
7411
 
    # which start with @ or ?.
7412
 
    lt_cv_sys_global_symbol_pipe="$AWK '"\
7413
 
"     {last_section=section; section=\$ 3};"\
7414
 
"     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7415
 
"     \$ 0!~/External *\|/{next};"\
7416
 
"     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7417
 
"     {if(hide[section]) next};"\
7418
 
"     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
7419
 
"     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
7420
 
"     s[1]~/^[@?]/{print s[1], s[1]; next};"\
7421
 
"     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
7422
 
"     ' prfx=^$ac_symprfx"
7423
 
  else
7424
 
    lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7425
 
  fi
7426
 
 
7427
 
  # Check to see that the pipe works correctly.
7428
 
  pipe_works=no
7429
 
 
7430
 
  rm -f conftest*
7431
 
  cat > conftest.$ac_ext <<_LT_EOF
7432
 
#ifdef __cplusplus
7433
 
extern "C" {
7434
 
#endif
7435
 
char nm_test_var;
7436
 
void nm_test_func(void);
7437
 
void nm_test_func(void){}
7438
 
#ifdef __cplusplus
7439
 
}
7440
 
#endif
7441
 
int main(){nm_test_var='a';nm_test_func();return(0);}
7442
 
_LT_EOF
7443
 
 
7444
 
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7445
 
  (eval $ac_compile) 2>&5
7446
 
  ac_status=$?
7447
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7448
 
  test $ac_status = 0; }; then
7449
 
    # Now try to grab the symbols.
7450
 
    nlist=conftest.nm
7451
 
    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\""; } >&5
7452
 
  (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
7453
 
  ac_status=$?
7454
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7455
 
  test $ac_status = 0; } && test -s "$nlist"; then
7456
 
      # Try sorting and uniquifying the output.
7457
 
      if sort "$nlist" | uniq > "$nlist"T; then
7458
 
        mv -f "$nlist"T "$nlist"
7459
 
      else
7460
 
        rm -f "$nlist"T
7461
 
      fi
7462
 
 
7463
 
      # Make sure that we snagged all the symbols we need.
7464
 
      if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7465
 
        if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7466
 
          cat <<_LT_EOF > conftest.$ac_ext
7467
 
#ifdef __cplusplus
7468
 
extern "C" {
7469
 
#endif
7470
 
 
7471
 
_LT_EOF
7472
 
          # Now generate the symbol file.
7473
 
          eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7474
 
 
7475
 
          cat <<_LT_EOF >> conftest.$ac_ext
7476
 
 
7477
 
/* The mapping between symbol names and symbols.  */
7478
 
const struct {
7479
 
  const char *name;
7480
 
  void       *address;
7481
 
}
7482
 
lt__PROGRAM__LTX_preloaded_symbols[] =
7483
 
{
7484
 
  { "@PROGRAM@", (void *) 0 },
7485
 
_LT_EOF
7486
 
          $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7487
 
          cat <<\_LT_EOF >> conftest.$ac_ext
7488
 
  {0, (void *) 0}
7489
 
};
7490
 
 
7491
 
/* This works around a problem in FreeBSD linker */
7492
 
#ifdef FREEBSD_WORKAROUND
7493
 
static const void *lt_preloaded_setup() {
7494
 
  return lt__PROGRAM__LTX_preloaded_symbols;
7495
 
}
7496
 
#endif
7497
 
 
7498
 
#ifdef __cplusplus
7499
 
}
7500
 
#endif
7501
 
_LT_EOF
7502
 
          # Now try linking the two files.
7503
 
          mv conftest.$ac_objext conftstm.$ac_objext
7504
 
          lt_save_LIBS="$LIBS"
7505
 
          lt_save_CFLAGS="$CFLAGS"
7506
 
          LIBS="conftstm.$ac_objext"
7507
 
          CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7508
 
          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7509
 
  (eval $ac_link) 2>&5
7510
 
  ac_status=$?
7511
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7512
 
  test $ac_status = 0; } && test -s conftest${ac_exeext}; then
7513
 
            pipe_works=yes
7514
 
          fi
7515
 
          LIBS="$lt_save_LIBS"
7516
 
          CFLAGS="$lt_save_CFLAGS"
7517
 
        else
7518
 
          echo "cannot find nm_test_func in $nlist" >&5
7519
 
        fi
7520
 
      else
7521
 
        echo "cannot find nm_test_var in $nlist" >&5
7522
 
      fi
7523
 
    else
7524
 
      echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7525
 
    fi
7526
 
  else
7527
 
    echo "$progname: failed program was:" >&5
7528
 
    cat conftest.$ac_ext >&5
7529
 
  fi
7530
 
  rm -rf conftest* conftst*
7531
 
 
7532
 
  # Do not use the global_symbol_pipe unless it works.
7533
 
  if test "$pipe_works" = yes; then
7534
 
    break
7535
 
  else
7536
 
    lt_cv_sys_global_symbol_pipe=
7537
 
  fi
7538
 
done
7539
 
 
7540
 
fi
7541
 
 
7542
 
if test -z "$lt_cv_sys_global_symbol_pipe"; then
7543
 
  lt_cv_sys_global_symbol_to_cdecl=
7544
 
fi
7545
 
if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7546
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7547
 
$as_echo "failed" >&6; }
7548
 
else
7549
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7550
 
$as_echo "ok" >&6; }
7551
 
fi
7552
 
 
7553
 
 
7554
 
 
7555
 
 
7556
 
 
7557
 
 
7558
 
 
7559
 
 
7560
 
 
7561
 
 
7562
 
 
7563
 
 
7564
 
 
7565
 
 
7566
 
 
7567
 
 
7568
 
 
7569
 
 
7570
 
 
7571
 
 
7572
 
 
7573
 
 
7574
 
# Check whether --enable-libtool-lock was given.
7575
 
if test "${enable_libtool_lock+set}" = set; then :
7576
 
  enableval=$enable_libtool_lock;
7577
 
fi
7578
 
 
7579
 
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
7580
 
 
7581
 
# Some flags need to be propagated to the compiler or linker for good
7582
 
# libtool support.
7583
 
case $host in
7584
 
ia64-*-hpux*)
7585
 
  # Find out which ABI we are using.
7586
 
  echo 'int i;' > conftest.$ac_ext
7587
 
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7588
 
  (eval $ac_compile) 2>&5
7589
 
  ac_status=$?
7590
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7591
 
  test $ac_status = 0; }; then
7592
 
    case `/usr/bin/file conftest.$ac_objext` in
7593
 
      *ELF-32*)
7594
 
        HPUX_IA64_MODE="32"
7595
 
        ;;
7596
 
      *ELF-64*)
7597
 
        HPUX_IA64_MODE="64"
7598
 
        ;;
7599
 
    esac
7600
 
  fi
7601
 
  rm -rf conftest*
7602
 
  ;;
7603
 
*-*-irix6*)
7604
 
  # Find out which ABI we are using.
7605
 
  echo '#line 7605 "configure"' > conftest.$ac_ext
7606
 
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7607
 
  (eval $ac_compile) 2>&5
7608
 
  ac_status=$?
7609
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7610
 
  test $ac_status = 0; }; then
7611
 
    if test "$lt_cv_prog_gnu_ld" = yes; then
7612
 
      case `/usr/bin/file conftest.$ac_objext` in
7613
 
        *32-bit*)
7614
 
          LD="${LD-ld} -melf32bsmip"
7615
 
          ;;
7616
 
        *N32*)
7617
 
          LD="${LD-ld} -melf32bmipn32"
7618
 
          ;;
7619
 
        *64-bit*)
7620
 
          LD="${LD-ld} -melf64bmip"
7621
 
        ;;
7622
 
      esac
7623
 
    else
7624
 
      case `/usr/bin/file conftest.$ac_objext` in
7625
 
        *32-bit*)
7626
 
          LD="${LD-ld} -32"
7627
 
          ;;
7628
 
        *N32*)
7629
 
          LD="${LD-ld} -n32"
7630
 
          ;;
7631
 
        *64-bit*)
7632
 
          LD="${LD-ld} -64"
7633
 
          ;;
7634
 
      esac
7635
 
    fi
7636
 
  fi
7637
 
  rm -rf conftest*
7638
 
  ;;
7639
 
 
7640
 
x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
7641
 
s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7642
 
  # Find out which ABI we are using.
7643
 
  echo 'int i;' > conftest.$ac_ext
7644
 
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7645
 
  (eval $ac_compile) 2>&5
7646
 
  ac_status=$?
7647
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7648
 
  test $ac_status = 0; }; then
7649
 
    case `/usr/bin/file conftest.o` in
7650
 
      *32-bit*)
7651
 
        case $host in
7652
 
          x86_64-*kfreebsd*-gnu)
7653
 
            LD="${LD-ld} -m elf_i386_fbsd"
7654
 
            ;;
7655
 
          x86_64-*linux*)
7656
 
            LD="${LD-ld} -m elf_i386"
7657
 
            ;;
7658
 
          ppc64-*linux*|powerpc64-*linux*)
7659
 
            LD="${LD-ld} -m elf32ppclinux"
7660
 
            ;;
7661
 
          s390x-*linux*)
7662
 
            LD="${LD-ld} -m elf_s390"
7663
 
            ;;
7664
 
          sparc64-*linux*)
7665
 
            LD="${LD-ld} -m elf32_sparc"
7666
 
            ;;
7667
 
        esac
7668
 
        ;;
7669
 
      *64-bit*)
7670
 
        case $host in
7671
 
          x86_64-*kfreebsd*-gnu)
7672
 
            LD="${LD-ld} -m elf_x86_64_fbsd"
7673
 
            ;;
7674
 
          x86_64-*linux*)
7675
 
            LD="${LD-ld} -m elf_x86_64"
7676
 
            ;;
7677
 
          ppc*-*linux*|powerpc*-*linux*)
7678
 
            LD="${LD-ld} -m elf64ppc"
7679
 
            ;;
7680
 
          s390*-*linux*|s390*-*tpf*)
7681
 
            LD="${LD-ld} -m elf64_s390"
7682
 
            ;;
7683
 
          sparc*-*linux*)
7684
 
            LD="${LD-ld} -m elf64_sparc"
7685
 
            ;;
7686
 
        esac
7687
 
        ;;
7688
 
    esac
7689
 
  fi
7690
 
  rm -rf conftest*
7691
 
  ;;
7692
 
 
7693
 
*-*-sco3.2v5*)
7694
 
  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7695
 
  SAVE_CFLAGS="$CFLAGS"
7696
 
  CFLAGS="$CFLAGS -belf"
7697
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7698
 
$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7699
 
if test "${lt_cv_cc_needs_belf+set}" = set; then :
7700
 
  $as_echo_n "(cached) " >&6
7701
 
else
7702
 
  ac_ext=c
7703
 
ac_cpp='$CPP $CPPFLAGS'
7704
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7705
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7706
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
7707
 
 
7708
 
     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7709
 
/* end confdefs.h.  */
7710
 
 
7711
 
int
7712
 
main ()
7713
 
{
7714
 
 
7715
 
  ;
7716
 
  return 0;
7717
 
}
7718
 
_ACEOF
7719
 
if ac_fn_c_try_link "$LINENO"; then :
7720
 
  lt_cv_cc_needs_belf=yes
7721
 
else
7722
 
  lt_cv_cc_needs_belf=no
7723
 
fi
7724
 
rm -f core conftest.err conftest.$ac_objext \
7725
 
    conftest$ac_exeext conftest.$ac_ext
7726
 
     ac_ext=c
7727
 
ac_cpp='$CPP $CPPFLAGS'
7728
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7729
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7730
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
7731
 
 
7732
 
fi
7733
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7734
 
$as_echo "$lt_cv_cc_needs_belf" >&6; }
7735
 
  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7736
 
    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7737
 
    CFLAGS="$SAVE_CFLAGS"
7738
 
  fi
7739
 
  ;;
7740
 
sparc*-*solaris*)
7741
 
  # Find out which ABI we are using.
7742
 
  echo 'int i;' > conftest.$ac_ext
7743
 
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7744
 
  (eval $ac_compile) 2>&5
7745
 
  ac_status=$?
7746
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7747
 
  test $ac_status = 0; }; then
7748
 
    case `/usr/bin/file conftest.o` in
7749
 
    *64-bit*)
7750
 
      case $lt_cv_prog_gnu_ld in
7751
 
      yes*) LD="${LD-ld} -m elf64_sparc" ;;
7752
 
      *)
7753
 
        if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7754
 
          LD="${LD-ld} -64"
7755
 
        fi
7756
 
        ;;
7757
 
      esac
7758
 
      ;;
7759
 
    esac
7760
 
  fi
7761
 
  rm -rf conftest*
7762
 
  ;;
7763
 
esac
7764
 
 
7765
 
need_locks="$enable_libtool_lock"
7766
 
 
7767
 
 
7768
 
  case $host_os in
7769
 
    rhapsody* | darwin*)
7770
 
    if test -n "$ac_tool_prefix"; then
7771
 
  # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7772
 
set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7773
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7774
 
$as_echo_n "checking for $ac_word... " >&6; }
7775
 
if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
7776
 
  $as_echo_n "(cached) " >&6
7777
 
else
7778
 
  if test -n "$DSYMUTIL"; then
7779
 
  ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7780
 
else
7781
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7782
 
for as_dir in $PATH
7783
 
do
7784
 
  IFS=$as_save_IFS
7785
 
  test -z "$as_dir" && as_dir=.
7786
 
    for ac_exec_ext in '' $ac_executable_extensions; do
7787
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7788
 
    ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7789
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7790
 
    break 2
7791
 
  fi
7792
 
done
7793
 
  done
7794
 
IFS=$as_save_IFS
7795
 
 
7796
 
fi
7797
 
fi
7798
 
DSYMUTIL=$ac_cv_prog_DSYMUTIL
7799
 
if test -n "$DSYMUTIL"; then
7800
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7801
 
$as_echo "$DSYMUTIL" >&6; }
7802
 
else
7803
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7804
 
$as_echo "no" >&6; }
7805
 
fi
7806
 
 
7807
 
 
7808
 
fi
7809
 
if test -z "$ac_cv_prog_DSYMUTIL"; then
7810
 
  ac_ct_DSYMUTIL=$DSYMUTIL
7811
 
  # Extract the first word of "dsymutil", so it can be a program name with args.
7812
 
set dummy dsymutil; ac_word=$2
7813
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7814
 
$as_echo_n "checking for $ac_word... " >&6; }
7815
 
if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
7816
 
  $as_echo_n "(cached) " >&6
7817
 
else
7818
 
  if test -n "$ac_ct_DSYMUTIL"; then
7819
 
  ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7820
 
else
7821
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7822
 
for as_dir in $PATH
7823
 
do
7824
 
  IFS=$as_save_IFS
7825
 
  test -z "$as_dir" && as_dir=.
7826
 
    for ac_exec_ext in '' $ac_executable_extensions; do
7827
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7828
 
    ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7829
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7830
 
    break 2
7831
 
  fi
7832
 
done
7833
 
  done
7834
 
IFS=$as_save_IFS
7835
 
 
7836
 
fi
7837
 
fi
7838
 
ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7839
 
if test -n "$ac_ct_DSYMUTIL"; then
7840
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7841
 
$as_echo "$ac_ct_DSYMUTIL" >&6; }
7842
 
else
7843
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7844
 
$as_echo "no" >&6; }
7845
 
fi
7846
 
 
7847
 
  if test "x$ac_ct_DSYMUTIL" = x; then
7848
 
    DSYMUTIL=":"
7849
 
  else
7850
 
    case $cross_compiling:$ac_tool_warned in
7851
 
yes:)
7852
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7853
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7854
 
ac_tool_warned=yes ;;
7855
 
esac
7856
 
    DSYMUTIL=$ac_ct_DSYMUTIL
7857
 
  fi
7858
 
else
7859
 
  DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7860
 
fi
7861
 
 
7862
 
    if test -n "$ac_tool_prefix"; then
7863
 
  # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7864
 
set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7865
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7866
 
$as_echo_n "checking for $ac_word... " >&6; }
7867
 
if test "${ac_cv_prog_NMEDIT+set}" = set; then :
7868
 
  $as_echo_n "(cached) " >&6
7869
 
else
7870
 
  if test -n "$NMEDIT"; then
7871
 
  ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7872
 
else
7873
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7874
 
for as_dir in $PATH
7875
 
do
7876
 
  IFS=$as_save_IFS
7877
 
  test -z "$as_dir" && as_dir=.
7878
 
    for ac_exec_ext in '' $ac_executable_extensions; do
7879
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7880
 
    ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7881
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7882
 
    break 2
7883
 
  fi
7884
 
done
7885
 
  done
7886
 
IFS=$as_save_IFS
7887
 
 
7888
 
fi
7889
 
fi
7890
 
NMEDIT=$ac_cv_prog_NMEDIT
7891
 
if test -n "$NMEDIT"; then
7892
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7893
 
$as_echo "$NMEDIT" >&6; }
7894
 
else
7895
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7896
 
$as_echo "no" >&6; }
7897
 
fi
7898
 
 
7899
 
 
7900
 
fi
7901
 
if test -z "$ac_cv_prog_NMEDIT"; then
7902
 
  ac_ct_NMEDIT=$NMEDIT
7903
 
  # Extract the first word of "nmedit", so it can be a program name with args.
7904
 
set dummy nmedit; ac_word=$2
7905
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7906
 
$as_echo_n "checking for $ac_word... " >&6; }
7907
 
if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
7908
 
  $as_echo_n "(cached) " >&6
7909
 
else
7910
 
  if test -n "$ac_ct_NMEDIT"; then
7911
 
  ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7912
 
else
7913
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7914
 
for as_dir in $PATH
7915
 
do
7916
 
  IFS=$as_save_IFS
7917
 
  test -z "$as_dir" && as_dir=.
7918
 
    for ac_exec_ext in '' $ac_executable_extensions; do
7919
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7920
 
    ac_cv_prog_ac_ct_NMEDIT="nmedit"
7921
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7922
 
    break 2
7923
 
  fi
7924
 
done
7925
 
  done
7926
 
IFS=$as_save_IFS
7927
 
 
7928
 
fi
7929
 
fi
7930
 
ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7931
 
if test -n "$ac_ct_NMEDIT"; then
7932
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7933
 
$as_echo "$ac_ct_NMEDIT" >&6; }
7934
 
else
7935
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7936
 
$as_echo "no" >&6; }
7937
 
fi
7938
 
 
7939
 
  if test "x$ac_ct_NMEDIT" = x; then
7940
 
    NMEDIT=":"
7941
 
  else
7942
 
    case $cross_compiling:$ac_tool_warned in
7943
 
yes:)
7944
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7945
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7946
 
ac_tool_warned=yes ;;
7947
 
esac
7948
 
    NMEDIT=$ac_ct_NMEDIT
7949
 
  fi
7950
 
else
7951
 
  NMEDIT="$ac_cv_prog_NMEDIT"
7952
 
fi
7953
 
 
7954
 
    if test -n "$ac_tool_prefix"; then
7955
 
  # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7956
 
set dummy ${ac_tool_prefix}lipo; ac_word=$2
7957
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7958
 
$as_echo_n "checking for $ac_word... " >&6; }
7959
 
if test "${ac_cv_prog_LIPO+set}" = set; then :
7960
 
  $as_echo_n "(cached) " >&6
7961
 
else
7962
 
  if test -n "$LIPO"; then
7963
 
  ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7964
 
else
7965
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7966
 
for as_dir in $PATH
7967
 
do
7968
 
  IFS=$as_save_IFS
7969
 
  test -z "$as_dir" && as_dir=.
7970
 
    for ac_exec_ext in '' $ac_executable_extensions; do
7971
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7972
 
    ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7973
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7974
 
    break 2
7975
 
  fi
7976
 
done
7977
 
  done
7978
 
IFS=$as_save_IFS
7979
 
 
7980
 
fi
7981
 
fi
7982
 
LIPO=$ac_cv_prog_LIPO
7983
 
if test -n "$LIPO"; then
7984
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7985
 
$as_echo "$LIPO" >&6; }
7986
 
else
7987
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7988
 
$as_echo "no" >&6; }
7989
 
fi
7990
 
 
7991
 
 
7992
 
fi
7993
 
if test -z "$ac_cv_prog_LIPO"; then
7994
 
  ac_ct_LIPO=$LIPO
7995
 
  # Extract the first word of "lipo", so it can be a program name with args.
7996
 
set dummy lipo; ac_word=$2
7997
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7998
 
$as_echo_n "checking for $ac_word... " >&6; }
7999
 
if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
8000
 
  $as_echo_n "(cached) " >&6
8001
 
else
8002
 
  if test -n "$ac_ct_LIPO"; then
8003
 
  ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
8004
 
else
8005
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8006
 
for as_dir in $PATH
8007
 
do
8008
 
  IFS=$as_save_IFS
8009
 
  test -z "$as_dir" && as_dir=.
8010
 
    for ac_exec_ext in '' $ac_executable_extensions; do
8011
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8012
 
    ac_cv_prog_ac_ct_LIPO="lipo"
8013
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8014
 
    break 2
8015
 
  fi
8016
 
done
8017
 
  done
8018
 
IFS=$as_save_IFS
8019
 
 
8020
 
fi
8021
 
fi
8022
 
ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
8023
 
if test -n "$ac_ct_LIPO"; then
8024
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
8025
 
$as_echo "$ac_ct_LIPO" >&6; }
8026
 
else
8027
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8028
 
$as_echo "no" >&6; }
8029
 
fi
8030
 
 
8031
 
  if test "x$ac_ct_LIPO" = x; then
8032
 
    LIPO=":"
8033
 
  else
8034
 
    case $cross_compiling:$ac_tool_warned in
8035
 
yes:)
8036
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8037
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8038
 
ac_tool_warned=yes ;;
8039
 
esac
8040
 
    LIPO=$ac_ct_LIPO
8041
 
  fi
8042
 
else
8043
 
  LIPO="$ac_cv_prog_LIPO"
8044
 
fi
8045
 
 
8046
 
    if test -n "$ac_tool_prefix"; then
8047
 
  # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
8048
 
set dummy ${ac_tool_prefix}otool; ac_word=$2
8049
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8050
 
$as_echo_n "checking for $ac_word... " >&6; }
8051
 
if test "${ac_cv_prog_OTOOL+set}" = set; then :
8052
 
  $as_echo_n "(cached) " >&6
8053
 
else
8054
 
  if test -n "$OTOOL"; then
8055
 
  ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
8056
 
else
8057
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8058
 
for as_dir in $PATH
8059
 
do
8060
 
  IFS=$as_save_IFS
8061
 
  test -z "$as_dir" && as_dir=.
8062
 
    for ac_exec_ext in '' $ac_executable_extensions; do
8063
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8064
 
    ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
8065
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8066
 
    break 2
8067
 
  fi
8068
 
done
8069
 
  done
8070
 
IFS=$as_save_IFS
8071
 
 
8072
 
fi
8073
 
fi
8074
 
OTOOL=$ac_cv_prog_OTOOL
8075
 
if test -n "$OTOOL"; then
8076
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
8077
 
$as_echo "$OTOOL" >&6; }
8078
 
else
8079
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8080
 
$as_echo "no" >&6; }
8081
 
fi
8082
 
 
8083
 
 
8084
 
fi
8085
 
if test -z "$ac_cv_prog_OTOOL"; then
8086
 
  ac_ct_OTOOL=$OTOOL
8087
 
  # Extract the first word of "otool", so it can be a program name with args.
8088
 
set dummy otool; ac_word=$2
8089
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8090
 
$as_echo_n "checking for $ac_word... " >&6; }
8091
 
if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
8092
 
  $as_echo_n "(cached) " >&6
8093
 
else
8094
 
  if test -n "$ac_ct_OTOOL"; then
8095
 
  ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
8096
 
else
8097
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8098
 
for as_dir in $PATH
8099
 
do
8100
 
  IFS=$as_save_IFS
8101
 
  test -z "$as_dir" && as_dir=.
8102
 
    for ac_exec_ext in '' $ac_executable_extensions; do
8103
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8104
 
    ac_cv_prog_ac_ct_OTOOL="otool"
8105
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8106
 
    break 2
8107
 
  fi
8108
 
done
8109
 
  done
8110
 
IFS=$as_save_IFS
8111
 
 
8112
 
fi
8113
 
fi
8114
 
ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
8115
 
if test -n "$ac_ct_OTOOL"; then
8116
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
8117
 
$as_echo "$ac_ct_OTOOL" >&6; }
8118
 
else
8119
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8120
 
$as_echo "no" >&6; }
8121
 
fi
8122
 
 
8123
 
  if test "x$ac_ct_OTOOL" = x; then
8124
 
    OTOOL=":"
8125
 
  else
8126
 
    case $cross_compiling:$ac_tool_warned in
8127
 
yes:)
8128
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8129
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8130
 
ac_tool_warned=yes ;;
8131
 
esac
8132
 
    OTOOL=$ac_ct_OTOOL
8133
 
  fi
8134
 
else
8135
 
  OTOOL="$ac_cv_prog_OTOOL"
8136
 
fi
8137
 
 
8138
 
    if test -n "$ac_tool_prefix"; then
8139
 
  # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
8140
 
set dummy ${ac_tool_prefix}otool64; ac_word=$2
8141
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8142
 
$as_echo_n "checking for $ac_word... " >&6; }
8143
 
if test "${ac_cv_prog_OTOOL64+set}" = set; then :
8144
 
  $as_echo_n "(cached) " >&6
8145
 
else
8146
 
  if test -n "$OTOOL64"; then
8147
 
  ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
8148
 
else
8149
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8150
 
for as_dir in $PATH
8151
 
do
8152
 
  IFS=$as_save_IFS
8153
 
  test -z "$as_dir" && as_dir=.
8154
 
    for ac_exec_ext in '' $ac_executable_extensions; do
8155
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8156
 
    ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
8157
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8158
 
    break 2
8159
 
  fi
8160
 
done
8161
 
  done
8162
 
IFS=$as_save_IFS
8163
 
 
8164
 
fi
8165
 
fi
8166
 
OTOOL64=$ac_cv_prog_OTOOL64
8167
 
if test -n "$OTOOL64"; then
8168
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
8169
 
$as_echo "$OTOOL64" >&6; }
8170
 
else
8171
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8172
 
$as_echo "no" >&6; }
8173
 
fi
8174
 
 
8175
 
 
8176
 
fi
8177
 
if test -z "$ac_cv_prog_OTOOL64"; then
8178
 
  ac_ct_OTOOL64=$OTOOL64
8179
 
  # Extract the first word of "otool64", so it can be a program name with args.
8180
 
set dummy otool64; ac_word=$2
8181
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8182
 
$as_echo_n "checking for $ac_word... " >&6; }
8183
 
if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
8184
 
  $as_echo_n "(cached) " >&6
8185
 
else
8186
 
  if test -n "$ac_ct_OTOOL64"; then
8187
 
  ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
8188
 
else
8189
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8190
 
for as_dir in $PATH
8191
 
do
8192
 
  IFS=$as_save_IFS
8193
 
  test -z "$as_dir" && as_dir=.
8194
 
    for ac_exec_ext in '' $ac_executable_extensions; do
8195
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8196
 
    ac_cv_prog_ac_ct_OTOOL64="otool64"
8197
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8198
 
    break 2
8199
 
  fi
8200
 
done
8201
 
  done
8202
 
IFS=$as_save_IFS
8203
 
 
8204
 
fi
8205
 
fi
8206
 
ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
8207
 
if test -n "$ac_ct_OTOOL64"; then
8208
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
8209
 
$as_echo "$ac_ct_OTOOL64" >&6; }
8210
 
else
8211
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8212
 
$as_echo "no" >&6; }
8213
 
fi
8214
 
 
8215
 
  if test "x$ac_ct_OTOOL64" = x; then
8216
 
    OTOOL64=":"
8217
 
  else
8218
 
    case $cross_compiling:$ac_tool_warned in
8219
 
yes:)
8220
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8221
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8222
 
ac_tool_warned=yes ;;
8223
 
esac
8224
 
    OTOOL64=$ac_ct_OTOOL64
8225
 
  fi
8226
 
else
8227
 
  OTOOL64="$ac_cv_prog_OTOOL64"
8228
 
fi
8229
 
 
8230
 
 
8231
 
 
8232
 
 
8233
 
 
8234
 
 
8235
 
 
8236
 
 
8237
 
 
8238
 
 
8239
 
 
8240
 
 
8241
 
 
8242
 
 
8243
 
 
8244
 
 
8245
 
 
8246
 
 
8247
 
 
8248
 
 
8249
 
 
8250
 
 
8251
 
 
8252
 
 
8253
 
 
8254
 
 
8255
 
 
8256
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
8257
 
$as_echo_n "checking for -single_module linker flag... " >&6; }
8258
 
if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
8259
 
  $as_echo_n "(cached) " >&6
8260
 
else
8261
 
  lt_cv_apple_cc_single_mod=no
8262
 
      if test -z "${LT_MULTI_MODULE}"; then
8263
 
        # By default we will add the -single_module flag. You can override
8264
 
        # by either setting the environment variable LT_MULTI_MODULE
8265
 
        # non-empty at configure time, or by adding -multi_module to the
8266
 
        # link flags.
8267
 
        rm -rf libconftest.dylib*
8268
 
        echo "int foo(void){return 1;}" > conftest.c
8269
 
        echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8270
 
-dynamiclib -Wl,-single_module conftest.c" >&5
8271
 
        $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8272
 
          -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
8273
 
        _lt_result=$?
8274
 
        if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
8275
 
          lt_cv_apple_cc_single_mod=yes
8276
 
        else
8277
 
          cat conftest.err >&5
8278
 
        fi
8279
 
        rm -rf libconftest.dylib*
8280
 
        rm -f conftest.*
8281
 
      fi
8282
 
fi
8283
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
8284
 
$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8285
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
8286
 
$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
8287
 
if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
8288
 
  $as_echo_n "(cached) " >&6
8289
 
else
8290
 
  lt_cv_ld_exported_symbols_list=no
8291
 
      save_LDFLAGS=$LDFLAGS
8292
 
      echo "_main" > conftest.sym
8293
 
      LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
8294
 
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8295
 
/* end confdefs.h.  */
8296
 
 
8297
 
int
8298
 
main ()
8299
 
{
8300
 
 
8301
 
  ;
8302
 
  return 0;
8303
 
}
8304
 
_ACEOF
8305
 
if ac_fn_c_try_link "$LINENO"; then :
8306
 
  lt_cv_ld_exported_symbols_list=yes
8307
 
else
8308
 
  lt_cv_ld_exported_symbols_list=no
8309
 
fi
8310
 
rm -f core conftest.err conftest.$ac_objext \
8311
 
    conftest$ac_exeext conftest.$ac_ext
8312
 
        LDFLAGS="$save_LDFLAGS"
8313
 
 
8314
 
fi
8315
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
8316
 
$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8317
 
    case $host_os in
8318
 
    rhapsody* | darwin1.[012])
8319
 
      _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
8320
 
    darwin1.*)
8321
 
      _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8322
 
    darwin*) # darwin 5.x on
8323
 
      # if running on 10.5 or later, the deployment target defaults
8324
 
      # to the OS version, if on x86, and 10.4, the deployment
8325
 
      # target defaults to 10.4. Don't you love it?
8326
 
      case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
8327
 
        10.0,*86*-darwin8*|10.0,*-darwin[91]*)
8328
 
          _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8329
 
        10.[012]*)
8330
 
          _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8331
 
        10.*)
8332
 
          _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8333
 
      esac
8334
 
    ;;
8335
 
  esac
8336
 
    if test "$lt_cv_apple_cc_single_mod" = "yes"; then
8337
 
      _lt_dar_single_mod='$single_module'
8338
 
    fi
8339
 
    if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
8340
 
      _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
8341
 
    else
8342
 
      _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
8343
 
    fi
8344
 
    if test "$DSYMUTIL" != ":"; then
8345
 
      _lt_dsymutil='~$DSYMUTIL $lib || :'
8346
 
    else
8347
 
      _lt_dsymutil=
8348
 
    fi
8349
 
    ;;
8350
 
  esac
8351
 
 
8352
 
for ac_header in dlfcn.h
8353
 
do :
8354
 
  ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8355
 
"
8356
 
if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
8357
 
  cat >>confdefs.h <<_ACEOF
8358
 
#define HAVE_DLFCN_H 1
8359
 
_ACEOF
8360
 
 
8361
 
fi
8362
 
 
8363
 
done
8364
 
 
8365
 
 
8366
 
 
8367
 
ac_ext=cpp
8368
 
ac_cpp='$CXXCPP $CPPFLAGS'
8369
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8370
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8371
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8372
 
if test -z "$CXX"; then
8373
 
  if test -n "$CCC"; then
8374
 
    CXX=$CCC
8375
 
  else
8376
 
    if test -n "$ac_tool_prefix"; then
8377
 
  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
8378
 
  do
8379
 
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
8380
 
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
8381
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8382
 
$as_echo_n "checking for $ac_word... " >&6; }
8383
 
if test "${ac_cv_prog_CXX+set}" = set; then :
8384
 
  $as_echo_n "(cached) " >&6
8385
 
else
8386
 
  if test -n "$CXX"; then
8387
 
  ac_cv_prog_CXX="$CXX" # Let the user override the test.
8388
 
else
8389
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8390
 
for as_dir in $PATH
8391
 
do
8392
 
  IFS=$as_save_IFS
8393
 
  test -z "$as_dir" && as_dir=.
8394
 
    for ac_exec_ext in '' $ac_executable_extensions; do
8395
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8396
 
    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
8397
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8398
 
    break 2
8399
 
  fi
8400
 
done
8401
 
  done
8402
 
IFS=$as_save_IFS
8403
 
 
8404
 
fi
8405
 
fi
8406
 
CXX=$ac_cv_prog_CXX
8407
 
if test -n "$CXX"; then
8408
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
8409
 
$as_echo "$CXX" >&6; }
8410
 
else
8411
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8412
 
$as_echo "no" >&6; }
8413
 
fi
8414
 
 
8415
 
 
8416
 
    test -n "$CXX" && break
8417
 
  done
8418
 
fi
8419
 
if test -z "$CXX"; then
8420
 
  ac_ct_CXX=$CXX
8421
 
  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
8422
 
do
8423
 
  # Extract the first word of "$ac_prog", so it can be a program name with args.
8424
 
set dummy $ac_prog; ac_word=$2
8425
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8426
 
$as_echo_n "checking for $ac_word... " >&6; }
8427
 
if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
8428
 
  $as_echo_n "(cached) " >&6
8429
 
else
8430
 
  if test -n "$ac_ct_CXX"; then
8431
 
  ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
8432
 
else
8433
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8434
 
for as_dir in $PATH
8435
 
do
8436
 
  IFS=$as_save_IFS
8437
 
  test -z "$as_dir" && as_dir=.
8438
 
    for ac_exec_ext in '' $ac_executable_extensions; do
8439
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8440
 
    ac_cv_prog_ac_ct_CXX="$ac_prog"
8441
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8442
 
    break 2
8443
 
  fi
8444
 
done
8445
 
  done
8446
 
IFS=$as_save_IFS
8447
 
 
8448
 
fi
8449
 
fi
8450
 
ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
8451
 
if test -n "$ac_ct_CXX"; then
8452
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
8453
 
$as_echo "$ac_ct_CXX" >&6; }
8454
 
else
8455
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8456
 
$as_echo "no" >&6; }
8457
 
fi
8458
 
 
8459
 
 
8460
 
  test -n "$ac_ct_CXX" && break
8461
 
done
8462
 
 
8463
 
  if test "x$ac_ct_CXX" = x; then
8464
 
    CXX="g++"
8465
 
  else
8466
 
    case $cross_compiling:$ac_tool_warned in
8467
 
yes:)
8468
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8469
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8470
 
ac_tool_warned=yes ;;
8471
 
esac
8472
 
    CXX=$ac_ct_CXX
8473
 
  fi
8474
 
fi
8475
 
 
8476
 
  fi
8477
 
fi
8478
 
# Provide some information about the compiler.
8479
 
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
8480
 
set X $ac_compile
8481
 
ac_compiler=$2
8482
 
for ac_option in --version -v -V -qversion; do
8483
 
  { { ac_try="$ac_compiler $ac_option >&5"
8484
 
case "(($ac_try" in
8485
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8486
 
  *) ac_try_echo=$ac_try;;
8487
 
esac
8488
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
8489
 
$as_echo "$ac_try_echo"; } >&5
8490
 
  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
8491
 
  ac_status=$?
8492
 
  if test -s conftest.err; then
8493
 
    sed '10a\
8494
 
... rest of stderr output deleted ...
8495
 
         10q' conftest.err >conftest.er1
8496
 
    cat conftest.er1 >&5
8497
 
  fi
8498
 
  rm -f conftest.er1 conftest.err
8499
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8500
 
  test $ac_status = 0; }
8501
 
done
8502
 
 
8503
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
8504
 
$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
8505
 
if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
8506
 
  $as_echo_n "(cached) " >&6
8507
 
else
8508
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8509
 
/* end confdefs.h.  */
8510
 
 
8511
 
int
8512
 
main ()
8513
 
{
8514
 
#ifndef __GNUC__
8515
 
       choke me
8516
 
#endif
8517
 
 
8518
 
  ;
8519
 
  return 0;
8520
 
}
8521
 
_ACEOF
8522
 
if ac_fn_cxx_try_compile "$LINENO"; then :
8523
 
  ac_compiler_gnu=yes
8524
 
else
8525
 
  ac_compiler_gnu=no
8526
 
fi
8527
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8528
 
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
8529
 
 
8530
 
fi
8531
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
8532
 
$as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
8533
 
if test $ac_compiler_gnu = yes; then
8534
 
  GXX=yes
8535
 
else
8536
 
  GXX=
8537
 
fi
8538
 
ac_test_CXXFLAGS=${CXXFLAGS+set}
8539
 
ac_save_CXXFLAGS=$CXXFLAGS
8540
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
8541
 
$as_echo_n "checking whether $CXX accepts -g... " >&6; }
8542
 
if test "${ac_cv_prog_cxx_g+set}" = set; then :
8543
 
  $as_echo_n "(cached) " >&6
8544
 
else
8545
 
  ac_save_cxx_werror_flag=$ac_cxx_werror_flag
8546
 
   ac_cxx_werror_flag=yes
8547
 
   ac_cv_prog_cxx_g=no
8548
 
   CXXFLAGS="-g"
8549
 
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8550
 
/* end confdefs.h.  */
8551
 
 
8552
 
int
8553
 
main ()
8554
 
{
8555
 
 
8556
 
  ;
8557
 
  return 0;
8558
 
}
8559
 
_ACEOF
8560
 
if ac_fn_cxx_try_compile "$LINENO"; then :
8561
 
  ac_cv_prog_cxx_g=yes
8562
 
else
8563
 
  CXXFLAGS=""
8564
 
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8565
 
/* end confdefs.h.  */
8566
 
 
8567
 
int
8568
 
main ()
8569
 
{
8570
 
 
8571
 
  ;
8572
 
  return 0;
8573
 
}
8574
 
_ACEOF
8575
 
if ac_fn_cxx_try_compile "$LINENO"; then :
8576
 
 
8577
 
else
8578
 
  ac_cxx_werror_flag=$ac_save_cxx_werror_flag
8579
 
         CXXFLAGS="-g"
8580
 
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8581
 
/* end confdefs.h.  */
8582
 
 
8583
 
int
8584
 
main ()
8585
 
{
8586
 
 
8587
 
  ;
8588
 
  return 0;
8589
 
}
8590
 
_ACEOF
8591
 
if ac_fn_cxx_try_compile "$LINENO"; then :
8592
 
  ac_cv_prog_cxx_g=yes
8593
 
fi
8594
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8595
 
fi
8596
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8597
 
fi
8598
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8599
 
   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
8600
 
fi
8601
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
8602
 
$as_echo "$ac_cv_prog_cxx_g" >&6; }
8603
 
if test "$ac_test_CXXFLAGS" = set; then
8604
 
  CXXFLAGS=$ac_save_CXXFLAGS
8605
 
elif test $ac_cv_prog_cxx_g = yes; then
8606
 
  if test "$GXX" = yes; then
8607
 
    CXXFLAGS="-g -O2"
8608
 
  else
8609
 
    CXXFLAGS="-g"
8610
 
  fi
8611
 
else
8612
 
  if test "$GXX" = yes; then
8613
 
    CXXFLAGS="-O2"
8614
 
  else
8615
 
    CXXFLAGS=
8616
 
  fi
8617
 
fi
8618
 
ac_ext=c
8619
 
ac_cpp='$CPP $CPPFLAGS'
8620
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8621
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8622
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
8623
 
 
8624
 
depcc="$CXX"  am_compiler_list=
8625
 
 
8626
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
8627
 
$as_echo_n "checking dependency style of $depcc... " >&6; }
8628
 
if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then :
8629
 
  $as_echo_n "(cached) " >&6
8630
 
else
8631
 
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
8632
 
  # We make a subdir and do the tests there.  Otherwise we can end up
8633
 
  # making bogus files that we don't know about and never remove.  For
8634
 
  # instance it was reported that on HP-UX the gcc test will end up
8635
 
  # making a dummy file named `D' -- because `-MD' means `put the output
8636
 
  # in D'.
8637
 
  mkdir conftest.dir
8638
 
  # Copy depcomp to subdir because otherwise we won't find it if we're
8639
 
  # using a relative directory.
8640
 
  cp "$am_depcomp" conftest.dir
8641
 
  cd conftest.dir
8642
 
  # We will build objects and dependencies in a subdirectory because
8643
 
  # it helps to detect inapplicable dependency modes.  For instance
8644
 
  # both Tru64's cc and ICC support -MD to output dependencies as a
8645
 
  # side effect of compilation, but ICC will put the dependencies in
8646
 
  # the current directory while Tru64 will put them in the object
8647
 
  # directory.
8648
 
  mkdir sub
8649
 
 
8650
 
  am_cv_CXX_dependencies_compiler_type=none
8651
 
  if test "$am_compiler_list" = ""; then
8652
 
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
8653
 
  fi
8654
 
  am__universal=false
8655
 
  case " $depcc " in #(
8656
 
     *\ -arch\ *\ -arch\ *) am__universal=true ;;
8657
 
     esac
8658
 
 
8659
 
  for depmode in $am_compiler_list; do
8660
 
    # Setup a source with many dependencies, because some compilers
8661
 
    # like to wrap large dependency lists on column 80 (with \), and
8662
 
    # we should not choose a depcomp mode which is confused by this.
8663
 
    #
8664
 
    # We need to recreate these files for each test, as the compiler may
8665
 
    # overwrite some of them when testing with obscure command lines.
8666
 
    # This happens at least with the AIX C compiler.
8667
 
    : > sub/conftest.c
8668
 
    for i in 1 2 3 4 5 6; do
8669
 
      echo '#include "conftst'$i'.h"' >> sub/conftest.c
8670
 
      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
8671
 
      # Solaris 8's {/usr,}/bin/sh.
8672
 
      touch sub/conftst$i.h
8673
 
    done
8674
 
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
8675
 
 
8676
 
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
8677
 
    # mode.  It turns out that the SunPro C++ compiler does not properly
8678
 
    # handle `-M -o', and we need to detect this.  Also, some Intel
8679
 
    # versions had trouble with output in subdirs
8680
 
    am__obj=sub/conftest.${OBJEXT-o}
8681
 
    am__minus_obj="-o $am__obj"
8682
 
    case $depmode in
8683
 
    gcc)
8684
 
      # This depmode causes a compiler race in universal mode.
8685
 
      test "$am__universal" = false || continue
8686
 
      ;;
8687
 
    nosideeffect)
8688
 
      # after this tag, mechanisms are not by side-effect, so they'll
8689
 
      # only be used when explicitly requested
8690
 
      if test "x$enable_dependency_tracking" = xyes; then
8691
 
        continue
8692
 
      else
8693
 
        break
8694
 
      fi
8695
 
      ;;
8696
 
    msvisualcpp | msvcmsys)
8697
 
      # This compiler won't grok `-c -o', but also, the minuso test has
8698
 
      # not run yet.  These depmodes are late enough in the game, and
8699
 
      # so weak that their functioning should not be impacted.
8700
 
      am__obj=conftest.${OBJEXT-o}
8701
 
      am__minus_obj=
8702
 
      ;;
8703
 
    none) break ;;
8704
 
    esac
8705
 
    if depmode=$depmode \
8706
 
       source=sub/conftest.c object=$am__obj \
8707
 
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
8708
 
       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
8709
 
         >/dev/null 2>conftest.err &&
8710
 
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
8711
 
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
8712
 
       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
8713
 
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
8714
 
      # icc doesn't choke on unknown options, it will just issue warnings
8715
 
      # or remarks (even with -Werror).  So we grep stderr for any message
8716
 
      # that says an option was ignored or not supported.
8717
 
      # When given -MP, icc 7.0 and 7.1 complain thusly:
8718
 
      #   icc: Command line warning: ignoring option '-M'; no argument required
8719
 
      # The diagnosis changed in icc 8.0:
8720
 
      #   icc: Command line remark: option '-MP' not supported
8721
 
      if (grep 'ignoring option' conftest.err ||
8722
 
          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
8723
 
        am_cv_CXX_dependencies_compiler_type=$depmode
8724
 
        break
8725
 
      fi
8726
 
    fi
8727
 
  done
8728
 
 
8729
 
  cd ..
8730
 
  rm -rf conftest.dir
8731
 
else
8732
 
  am_cv_CXX_dependencies_compiler_type=none
8733
 
fi
8734
 
 
8735
 
fi
8736
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
8737
 
$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
8738
 
CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
8739
 
 
8740
 
 if
8741
 
  test "x$enable_dependency_tracking" != xno \
8742
 
  && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
8743
 
  am__fastdepCXX_TRUE=
8744
 
  am__fastdepCXX_FALSE='#'
8745
 
else
8746
 
  am__fastdepCXX_TRUE='#'
8747
 
  am__fastdepCXX_FALSE=
8748
 
fi
8749
 
 
8750
 
 
8751
 
if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
8752
 
    ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
8753
 
    (test "X$CXX" != "Xg++"))) ; then
8754
 
  ac_ext=cpp
8755
 
ac_cpp='$CXXCPP $CPPFLAGS'
8756
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8757
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8758
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8759
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
8760
 
$as_echo_n "checking how to run the C++ preprocessor... " >&6; }
8761
 
if test -z "$CXXCPP"; then
8762
 
  if test "${ac_cv_prog_CXXCPP+set}" = set; then :
8763
 
  $as_echo_n "(cached) " >&6
8764
 
else
8765
 
      # Double quotes because CXXCPP needs to be expanded
8766
 
    for CXXCPP in "$CXX -E" "/lib/cpp"
8767
 
    do
8768
 
      ac_preproc_ok=false
8769
 
for ac_cxx_preproc_warn_flag in '' yes
8770
 
do
8771
 
  # Use a header file that comes with gcc, so configuring glibc
8772
 
  # with a fresh cross-compiler works.
8773
 
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8774
 
  # <limits.h> exists even on freestanding compilers.
8775
 
  # On the NeXT, cc -E runs the code through the compiler's parser,
8776
 
  # not just through cpp. "Syntax error" is here to catch this case.
8777
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8778
 
/* end confdefs.h.  */
8779
 
#ifdef __STDC__
8780
 
# include <limits.h>
8781
 
#else
8782
 
# include <assert.h>
8783
 
#endif
8784
 
                     Syntax error
8785
 
_ACEOF
8786
 
if ac_fn_cxx_try_cpp "$LINENO"; then :
8787
 
 
8788
 
else
8789
 
  # Broken: fails on valid input.
8790
 
continue
8791
 
fi
8792
 
rm -f conftest.err conftest.i conftest.$ac_ext
8793
 
 
8794
 
  # OK, works on sane cases.  Now check whether nonexistent headers
8795
 
  # can be detected and how.
8796
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8797
 
/* end confdefs.h.  */
8798
 
#include <ac_nonexistent.h>
8799
 
_ACEOF
8800
 
if ac_fn_cxx_try_cpp "$LINENO"; then :
8801
 
  # Broken: success on invalid input.
8802
 
continue
8803
 
else
8804
 
  # Passes both tests.
8805
 
ac_preproc_ok=:
8806
 
break
8807
 
fi
8808
 
rm -f conftest.err conftest.i conftest.$ac_ext
8809
 
 
8810
 
done
8811
 
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8812
 
rm -f conftest.i conftest.err conftest.$ac_ext
8813
 
if $ac_preproc_ok; then :
8814
 
  break
8815
 
fi
8816
 
 
8817
 
    done
8818
 
    ac_cv_prog_CXXCPP=$CXXCPP
8819
 
 
8820
 
fi
8821
 
  CXXCPP=$ac_cv_prog_CXXCPP
8822
 
else
8823
 
  ac_cv_prog_CXXCPP=$CXXCPP
8824
 
fi
8825
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
8826
 
$as_echo "$CXXCPP" >&6; }
8827
 
ac_preproc_ok=false
8828
 
for ac_cxx_preproc_warn_flag in '' yes
8829
 
do
8830
 
  # Use a header file that comes with gcc, so configuring glibc
8831
 
  # with a fresh cross-compiler works.
8832
 
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8833
 
  # <limits.h> exists even on freestanding compilers.
8834
 
  # On the NeXT, cc -E runs the code through the compiler's parser,
8835
 
  # not just through cpp. "Syntax error" is here to catch this case.
8836
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8837
 
/* end confdefs.h.  */
8838
 
#ifdef __STDC__
8839
 
# include <limits.h>
8840
 
#else
8841
 
# include <assert.h>
8842
 
#endif
8843
 
                     Syntax error
8844
 
_ACEOF
8845
 
if ac_fn_cxx_try_cpp "$LINENO"; then :
8846
 
 
8847
 
else
8848
 
  # Broken: fails on valid input.
8849
 
continue
8850
 
fi
8851
 
rm -f conftest.err conftest.i conftest.$ac_ext
8852
 
 
8853
 
  # OK, works on sane cases.  Now check whether nonexistent headers
8854
 
  # can be detected and how.
8855
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8856
 
/* end confdefs.h.  */
8857
 
#include <ac_nonexistent.h>
8858
 
_ACEOF
8859
 
if ac_fn_cxx_try_cpp "$LINENO"; then :
8860
 
  # Broken: success on invalid input.
8861
 
continue
8862
 
else
8863
 
  # Passes both tests.
8864
 
ac_preproc_ok=:
8865
 
break
8866
 
fi
8867
 
rm -f conftest.err conftest.i conftest.$ac_ext
8868
 
 
8869
 
done
8870
 
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8871
 
rm -f conftest.i conftest.err conftest.$ac_ext
8872
 
if $ac_preproc_ok; then :
8873
 
 
8874
 
else
8875
 
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8876
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8877
 
_lt_caught_CXX_error=yes; }
8878
 
fi
8879
 
 
8880
 
ac_ext=c
8881
 
ac_cpp='$CPP $CPPFLAGS'
8882
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8883
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8884
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
8885
 
 
8886
 
else
8887
 
  _lt_caught_CXX_error=yes
8888
 
fi
8889
 
 
8890
 
 
8891
 
 
8892
 
 
8893
 
 
8894
 
# Set options
8895
 
 
8896
 
 
8897
 
 
8898
 
        enable_dlopen=no
8899
 
 
8900
 
 
8901
 
  enable_win32_dll=no
8902
 
 
8903
 
 
8904
 
            # Check whether --enable-shared was given.
8905
 
if test "${enable_shared+set}" = set; then :
8906
 
  enableval=$enable_shared; p=${PACKAGE-default}
8907
 
    case $enableval in
8908
 
    yes) enable_shared=yes ;;
8909
 
    no) enable_shared=no ;;
8910
 
    *)
8911
 
      enable_shared=no
8912
 
      # Look at the argument we got.  We use all the common list separators.
8913
 
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8914
 
      for pkg in $enableval; do
8915
 
        IFS="$lt_save_ifs"
8916
 
        if test "X$pkg" = "X$p"; then
8917
 
          enable_shared=yes
8918
 
        fi
8919
 
      done
8920
 
      IFS="$lt_save_ifs"
8921
 
      ;;
8922
 
    esac
8923
 
else
8924
 
  enable_shared=yes
8925
 
fi
8926
 
 
8927
 
 
8928
 
 
8929
 
 
8930
 
 
8931
 
 
8932
 
 
8933
 
 
8934
 
 
8935
 
  # Check whether --enable-static was given.
8936
 
if test "${enable_static+set}" = set; then :
8937
 
  enableval=$enable_static; p=${PACKAGE-default}
8938
 
    case $enableval in
8939
 
    yes) enable_static=yes ;;
8940
 
    no) enable_static=no ;;
8941
 
    *)
8942
 
     enable_static=no
8943
 
      # Look at the argument we got.  We use all the common list separators.
8944
 
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8945
 
      for pkg in $enableval; do
8946
 
        IFS="$lt_save_ifs"
8947
 
        if test "X$pkg" = "X$p"; then
8948
 
          enable_static=yes
8949
 
        fi
8950
 
      done
8951
 
      IFS="$lt_save_ifs"
8952
 
      ;;
8953
 
    esac
8954
 
else
8955
 
  enable_static=yes
8956
 
fi
8957
 
 
8958
 
 
8959
 
 
8960
 
 
8961
 
 
8962
 
 
8963
 
 
8964
 
 
8965
 
 
8966
 
 
8967
 
# Check whether --with-pic was given.
8968
 
if test "${with_pic+set}" = set; then :
8969
 
  withval=$with_pic; pic_mode="$withval"
8970
 
else
8971
 
  pic_mode=default
8972
 
fi
8973
 
 
8974
 
 
8975
 
test -z "$pic_mode" && pic_mode=default
8976
 
 
8977
 
 
8978
 
 
8979
 
 
8980
 
 
8981
 
 
8982
 
 
8983
 
  # Check whether --enable-fast-install was given.
8984
 
if test "${enable_fast_install+set}" = set; then :
8985
 
  enableval=$enable_fast_install; p=${PACKAGE-default}
8986
 
    case $enableval in
8987
 
    yes) enable_fast_install=yes ;;
8988
 
    no) enable_fast_install=no ;;
8989
 
    *)
8990
 
      enable_fast_install=no
8991
 
      # Look at the argument we got.  We use all the common list separators.
8992
 
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8993
 
      for pkg in $enableval; do
8994
 
        IFS="$lt_save_ifs"
8995
 
        if test "X$pkg" = "X$p"; then
8996
 
          enable_fast_install=yes
8997
 
        fi
8998
 
      done
8999
 
      IFS="$lt_save_ifs"
9000
 
      ;;
9001
 
    esac
9002
 
else
9003
 
  enable_fast_install=yes
9004
 
fi
9005
 
 
9006
 
 
9007
 
 
9008
 
 
9009
 
 
9010
 
 
9011
 
 
9012
 
 
9013
 
 
9014
 
 
9015
 
 
9016
 
# This can be used to rebuild libtool when needed
9017
 
LIBTOOL_DEPS="$ltmain"
9018
 
 
9019
 
# Always use our own libtool.
9020
 
LIBTOOL='$(SHELL) $(top_builddir)/libtool'
9021
 
 
9022
 
 
9023
 
 
9024
 
 
9025
 
 
9026
 
 
9027
 
 
9028
 
 
9029
 
 
9030
 
 
9031
 
 
9032
 
 
9033
 
 
9034
 
 
9035
 
 
9036
 
 
9037
 
 
9038
 
 
9039
 
 
9040
 
 
9041
 
 
9042
 
 
9043
 
 
9044
 
 
9045
 
 
9046
 
test -z "$LN_S" && LN_S="ln -s"
9047
 
 
9048
 
 
9049
 
 
9050
 
 
9051
 
 
9052
 
 
9053
 
 
9054
 
 
9055
 
 
9056
 
 
9057
 
 
9058
 
 
9059
 
 
9060
 
 
9061
 
if test -n "${ZSH_VERSION+set}" ; then
9062
 
   setopt NO_GLOB_SUBST
9063
 
fi
9064
 
 
9065
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
9066
 
$as_echo_n "checking for objdir... " >&6; }
9067
 
if test "${lt_cv_objdir+set}" = set; then :
9068
 
  $as_echo_n "(cached) " >&6
9069
 
else
9070
 
  rm -f .libs 2>/dev/null
9071
 
mkdir .libs 2>/dev/null
9072
 
if test -d .libs; then
9073
 
  lt_cv_objdir=.libs
9074
 
else
9075
 
  # MS-DOS does not allow filenames that begin with a dot.
9076
 
  lt_cv_objdir=_libs
9077
 
fi
9078
 
rmdir .libs 2>/dev/null
9079
 
fi
9080
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
9081
 
$as_echo "$lt_cv_objdir" >&6; }
9082
 
objdir=$lt_cv_objdir
9083
 
 
9084
 
 
9085
 
 
9086
 
 
9087
 
 
9088
 
cat >>confdefs.h <<_ACEOF
9089
 
#define LT_OBJDIR "$lt_cv_objdir/"
9090
 
_ACEOF
9091
 
 
9092
 
 
9093
 
 
9094
 
 
9095
 
 
9096
 
 
9097
 
 
9098
 
 
9099
 
 
9100
 
 
9101
 
 
9102
 
 
9103
 
 
9104
 
 
9105
 
 
9106
 
 
9107
 
 
9108
 
case $host_os in
9109
 
aix3*)
9110
 
  # AIX sometimes has problems with the GCC collect2 program.  For some
9111
 
  # reason, if we set the COLLECT_NAMES environment variable, the problems
9112
 
  # vanish in a puff of smoke.
9113
 
  if test "X${COLLECT_NAMES+set}" != Xset; then
9114
 
    COLLECT_NAMES=
9115
 
    export COLLECT_NAMES
9116
 
  fi
9117
 
  ;;
9118
 
esac
9119
 
 
9120
 
# Sed substitution that helps us do robust quoting.  It backslashifies
9121
 
# metacharacters that are still active within double-quoted strings.
9122
 
sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
9123
 
 
9124
 
# Same as above, but do not quote variable references.
9125
 
double_quote_subst='s/\(["`\\]\)/\\\1/g'
9126
 
 
9127
 
# Sed substitution to delay expansion of an escaped shell variable in a
9128
 
# double_quote_subst'ed string.
9129
 
delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
9130
 
 
9131
 
# Sed substitution to delay expansion of an escaped single quote.
9132
 
delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
9133
 
 
9134
 
# Sed substitution to avoid accidental globbing in evaled expressions
9135
 
no_glob_subst='s/\*/\\\*/g'
9136
 
 
9137
 
# Global variables:
9138
 
ofile=libtool
9139
 
can_build_shared=yes
9140
 
 
9141
 
# All known linkers require a `.a' archive for static linking (except MSVC,
9142
 
# which needs '.lib').
9143
 
libext=a
9144
 
 
9145
 
with_gnu_ld="$lt_cv_prog_gnu_ld"
9146
 
 
9147
 
old_CC="$CC"
9148
 
old_CFLAGS="$CFLAGS"
9149
 
 
9150
 
# Set sane defaults for various variables
9151
 
test -z "$CC" && CC=cc
9152
 
test -z "$LTCC" && LTCC=$CC
9153
 
test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
9154
 
test -z "$LD" && LD=ld
9155
 
test -z "$ac_objext" && ac_objext=o
9156
 
 
9157
 
for cc_temp in $compiler""; do
9158
 
  case $cc_temp in
9159
 
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
9160
 
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
9161
 
    \-*) ;;
9162
 
    *) break;;
9163
 
  esac
9164
 
done
9165
 
cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
9166
 
 
9167
 
 
9168
 
# Only perform the check for file, if the check method requires it
9169
 
test -z "$MAGIC_CMD" && MAGIC_CMD=file
9170
 
case $deplibs_check_method in
9171
 
file_magic*)
9172
 
  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
9173
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
9174
 
$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
9175
 
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
9176
 
  $as_echo_n "(cached) " >&6
9177
 
else
9178
 
  case $MAGIC_CMD in
9179
 
[\\/*] |  ?:[\\/]*)
9180
 
  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
9181
 
  ;;
9182
 
*)
9183
 
  lt_save_MAGIC_CMD="$MAGIC_CMD"
9184
 
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
9185
 
  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
9186
 
  for ac_dir in $ac_dummy; do
9187
 
    IFS="$lt_save_ifs"
9188
 
    test -z "$ac_dir" && ac_dir=.
9189
 
    if test -f $ac_dir/${ac_tool_prefix}file; then
9190
 
      lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
9191
 
      if test -n "$file_magic_test_file"; then
9192
 
        case $deplibs_check_method in
9193
 
        "file_magic "*)
9194
 
          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9195
 
          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9196
 
          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9197
 
            $EGREP "$file_magic_regex" > /dev/null; then
9198
 
            :
9199
 
          else
9200
 
            cat <<_LT_EOF 1>&2
9201
 
 
9202
 
*** Warning: the command libtool uses to detect shared libraries,
9203
 
*** $file_magic_cmd, produces output that libtool cannot recognize.
9204
 
*** The result is that libtool may fail to recognize shared libraries
9205
 
*** as such.  This will affect the creation of libtool libraries that
9206
 
*** depend on shared libraries, but programs linked with such libtool
9207
 
*** libraries will work regardless of this problem.  Nevertheless, you
9208
 
*** may want to report the problem to your system manager and/or to
9209
 
*** bug-libtool@gnu.org
9210
 
 
9211
 
_LT_EOF
9212
 
          fi ;;
9213
 
        esac
9214
 
      fi
9215
 
      break
9216
 
    fi
9217
 
  done
9218
 
  IFS="$lt_save_ifs"
9219
 
  MAGIC_CMD="$lt_save_MAGIC_CMD"
9220
 
  ;;
9221
 
esac
9222
 
fi
9223
 
 
9224
 
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9225
 
if test -n "$MAGIC_CMD"; then
9226
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9227
 
$as_echo "$MAGIC_CMD" >&6; }
9228
 
else
9229
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9230
 
$as_echo "no" >&6; }
9231
 
fi
9232
 
 
9233
 
 
9234
 
 
9235
 
 
9236
 
 
9237
 
if test -z "$lt_cv_path_MAGIC_CMD"; then
9238
 
  if test -n "$ac_tool_prefix"; then
9239
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
9240
 
$as_echo_n "checking for file... " >&6; }
9241
 
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
9242
 
  $as_echo_n "(cached) " >&6
9243
 
else
9244
 
  case $MAGIC_CMD in
9245
 
[\\/*] |  ?:[\\/]*)
9246
 
  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
9247
 
  ;;
9248
 
*)
9249
 
  lt_save_MAGIC_CMD="$MAGIC_CMD"
9250
 
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
9251
 
  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
9252
 
  for ac_dir in $ac_dummy; do
9253
 
    IFS="$lt_save_ifs"
9254
 
    test -z "$ac_dir" && ac_dir=.
9255
 
    if test -f $ac_dir/file; then
9256
 
      lt_cv_path_MAGIC_CMD="$ac_dir/file"
9257
 
      if test -n "$file_magic_test_file"; then
9258
 
        case $deplibs_check_method in
9259
 
        "file_magic "*)
9260
 
          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9261
 
          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9262
 
          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9263
 
            $EGREP "$file_magic_regex" > /dev/null; then
9264
 
            :
9265
 
          else
9266
 
            cat <<_LT_EOF 1>&2
9267
 
 
9268
 
*** Warning: the command libtool uses to detect shared libraries,
9269
 
*** $file_magic_cmd, produces output that libtool cannot recognize.
9270
 
*** The result is that libtool may fail to recognize shared libraries
9271
 
*** as such.  This will affect the creation of libtool libraries that
9272
 
*** depend on shared libraries, but programs linked with such libtool
9273
 
*** libraries will work regardless of this problem.  Nevertheless, you
9274
 
*** may want to report the problem to your system manager and/or to
9275
 
*** bug-libtool@gnu.org
9276
 
 
9277
 
_LT_EOF
9278
 
          fi ;;
9279
 
        esac
9280
 
      fi
9281
 
      break
9282
 
    fi
9283
 
  done
9284
 
  IFS="$lt_save_ifs"
9285
 
  MAGIC_CMD="$lt_save_MAGIC_CMD"
9286
 
  ;;
9287
 
esac
9288
 
fi
9289
 
 
9290
 
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9291
 
if test -n "$MAGIC_CMD"; then
9292
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9293
 
$as_echo "$MAGIC_CMD" >&6; }
9294
 
else
9295
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9296
 
$as_echo "no" >&6; }
9297
 
fi
9298
 
 
9299
 
 
9300
 
  else
9301
 
    MAGIC_CMD=:
9302
 
  fi
9303
 
fi
9304
 
 
9305
 
  fi
9306
 
  ;;
9307
 
esac
9308
 
 
9309
 
# Use C for the default configuration in the libtool script
9310
 
 
9311
 
lt_save_CC="$CC"
9312
 
ac_ext=c
9313
 
ac_cpp='$CPP $CPPFLAGS'
9314
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9315
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9316
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
9317
 
 
9318
 
 
9319
 
# Source file extension for C test sources.
9320
 
ac_ext=c
9321
 
 
9322
 
# Object file extension for compiled C test sources.
9323
 
objext=o
9324
 
objext=$objext
9325
 
 
9326
 
# Code to be used in simple compile tests
9327
 
lt_simple_compile_test_code="int some_variable = 0;"
9328
 
 
9329
 
# Code to be used in simple link tests
9330
 
lt_simple_link_test_code='int main(){return(0);}'
9331
 
 
9332
 
 
9333
 
 
9334
 
 
9335
 
 
9336
 
 
9337
 
 
9338
 
# If no C compiler was specified, use CC.
9339
 
LTCC=${LTCC-"$CC"}
9340
 
 
9341
 
# If no C compiler flags were specified, use CFLAGS.
9342
 
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
9343
 
 
9344
 
# Allow CC to be a program name with arguments.
9345
 
compiler=$CC
9346
 
 
9347
 
# Save the default compiler, since it gets overwritten when the other
9348
 
# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
9349
 
compiler_DEFAULT=$CC
9350
 
 
9351
 
# save warnings/boilerplate of simple test code
9352
 
ac_outfile=conftest.$ac_objext
9353
 
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
9354
 
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9355
 
_lt_compiler_boilerplate=`cat conftest.err`
9356
 
$RM conftest*
9357
 
 
9358
 
ac_outfile=conftest.$ac_objext
9359
 
echo "$lt_simple_link_test_code" >conftest.$ac_ext
9360
 
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9361
 
_lt_linker_boilerplate=`cat conftest.err`
9362
 
$RM -r conftest*
9363
 
 
9364
 
 
9365
 
## CAVEAT EMPTOR:
9366
 
## There is no encapsulation within the following macros, do not change
9367
 
## the running order or otherwise move them around unless you know exactly
9368
 
## what you are doing...
9369
 
if test -n "$compiler"; then
9370
 
 
9371
 
lt_prog_compiler_no_builtin_flag=
9372
 
 
9373
 
if test "$GCC" = yes; then
9374
 
  lt_prog_compiler_no_builtin_flag=' -fno-builtin'
9375
 
 
9376
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
9377
 
$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
9378
 
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
9379
 
  $as_echo_n "(cached) " >&6
9380
 
else
9381
 
  lt_cv_prog_compiler_rtti_exceptions=no
9382
 
   ac_outfile=conftest.$ac_objext
9383
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9384
 
   lt_compiler_flag="-fno-rtti -fno-exceptions"
9385
 
   # Insert the option either (1) after the last *FLAGS variable, or
9386
 
   # (2) before a word containing "conftest.", or (3) at the end.
9387
 
   # Note that $ac_compile itself does not contain backslashes and begins
9388
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
9389
 
   # The option is referenced via a variable to avoid confusing sed.
9390
 
   lt_compile=`echo "$ac_compile" | $SED \
9391
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9392
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9393
 
   -e 's:$: $lt_compiler_flag:'`
9394
 
   (eval echo "\"\$as_me:9394: $lt_compile\"" >&5)
9395
 
   (eval "$lt_compile" 2>conftest.err)
9396
 
   ac_status=$?
9397
 
   cat conftest.err >&5
9398
 
   echo "$as_me:9398: \$? = $ac_status" >&5
9399
 
   if (exit $ac_status) && test -s "$ac_outfile"; then
9400
 
     # The compiler can only warn and ignore the option if not recognized
9401
 
     # So say no if there are warnings other than the usual output.
9402
 
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
9403
 
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9404
 
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9405
 
       lt_cv_prog_compiler_rtti_exceptions=yes
9406
 
     fi
9407
 
   fi
9408
 
   $RM conftest*
9409
 
 
9410
 
fi
9411
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
9412
 
$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9413
 
 
9414
 
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
9415
 
    lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9416
 
else
9417
 
    :
9418
 
fi
9419
 
 
9420
 
fi
9421
 
 
9422
 
 
9423
 
 
9424
 
 
9425
 
 
9426
 
 
9427
 
  lt_prog_compiler_wl=
9428
 
lt_prog_compiler_pic=
9429
 
lt_prog_compiler_static=
9430
 
 
9431
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9432
 
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9433
 
 
9434
 
  if test "$GCC" = yes; then
9435
 
    lt_prog_compiler_wl='-Wl,'
9436
 
    lt_prog_compiler_static='-static'
9437
 
 
9438
 
    case $host_os in
9439
 
      aix*)
9440
 
      # All AIX code is PIC.
9441
 
      if test "$host_cpu" = ia64; then
9442
 
        # AIX 5 now supports IA64 processor
9443
 
        lt_prog_compiler_static='-Bstatic'
9444
 
      fi
9445
 
      ;;
9446
 
 
9447
 
    amigaos*)
9448
 
      case $host_cpu in
9449
 
      powerpc)
9450
 
            # see comment about AmigaOS4 .so support
9451
 
            lt_prog_compiler_pic='-fPIC'
9452
 
        ;;
9453
 
      m68k)
9454
 
            # FIXME: we need at least 68020 code to build shared libraries, but
9455
 
            # adding the `-m68020' flag to GCC prevents building anything better,
9456
 
            # like `-m68040'.
9457
 
            lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
9458
 
        ;;
9459
 
      esac
9460
 
      ;;
9461
 
 
9462
 
    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
9463
 
      # PIC is the default for these OSes.
9464
 
      ;;
9465
 
 
9466
 
    mingw* | cygwin* | pw32* | os2* | cegcc*)
9467
 
      # This hack is so that the source file can tell whether it is being
9468
 
      # built for inclusion in a dll (and should export symbols for example).
9469
 
      # Although the cygwin gcc ignores -fPIC, still need this for old-style
9470
 
      # (--disable-auto-import) libraries
9471
 
      lt_prog_compiler_pic='-DDLL_EXPORT'
9472
 
      ;;
9473
 
 
9474
 
    darwin* | rhapsody*)
9475
 
      # PIC is the default on this platform
9476
 
      # Common symbols not allowed in MH_DYLIB files
9477
 
      lt_prog_compiler_pic='-fno-common'
9478
 
      ;;
9479
 
 
9480
 
    hpux*)
9481
 
      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9482
 
      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
9483
 
      # sets the default TLS model and affects inlining.
9484
 
      case $host_cpu in
9485
 
      hppa*64*)
9486
 
        # +Z the default
9487
 
        ;;
9488
 
      *)
9489
 
        lt_prog_compiler_pic='-fPIC'
9490
 
        ;;
9491
 
      esac
9492
 
      ;;
9493
 
 
9494
 
    interix[3-9]*)
9495
 
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9496
 
      # Instead, we relocate shared libraries at runtime.
9497
 
      ;;
9498
 
 
9499
 
    msdosdjgpp*)
9500
 
      # Just because we use GCC doesn't mean we suddenly get shared libraries
9501
 
      # on systems that don't support them.
9502
 
      lt_prog_compiler_can_build_shared=no
9503
 
      enable_shared=no
9504
 
      ;;
9505
 
 
9506
 
    *nto* | *qnx*)
9507
 
      # QNX uses GNU C++, but need to define -shared option too, otherwise
9508
 
      # it will coredump.
9509
 
      lt_prog_compiler_pic='-fPIC -shared'
9510
 
      ;;
9511
 
 
9512
 
    sysv4*MP*)
9513
 
      if test -d /usr/nec; then
9514
 
        lt_prog_compiler_pic=-Kconform_pic
9515
 
      fi
9516
 
      ;;
9517
 
 
9518
 
    *)
9519
 
      lt_prog_compiler_pic='-fPIC'
9520
 
      ;;
9521
 
    esac
9522
 
  else
9523
 
    # PORTME Check for flag to pass linker flags through the system compiler.
9524
 
    case $host_os in
9525
 
    aix*)
9526
 
      lt_prog_compiler_wl='-Wl,'
9527
 
      if test "$host_cpu" = ia64; then
9528
 
        # AIX 5 now supports IA64 processor
9529
 
        lt_prog_compiler_static='-Bstatic'
9530
 
      else
9531
 
        lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
9532
 
      fi
9533
 
      ;;
9534
 
 
9535
 
    mingw* | cygwin* | pw32* | os2* | cegcc*)
9536
 
      # This hack is so that the source file can tell whether it is being
9537
 
      # built for inclusion in a dll (and should export symbols for example).
9538
 
      lt_prog_compiler_pic='-DDLL_EXPORT'
9539
 
      ;;
9540
 
 
9541
 
    hpux9* | hpux10* | hpux11*)
9542
 
      lt_prog_compiler_wl='-Wl,'
9543
 
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9544
 
      # not for PA HP-UX.
9545
 
      case $host_cpu in
9546
 
      hppa*64*|ia64*)
9547
 
        # +Z the default
9548
 
        ;;
9549
 
      *)
9550
 
        lt_prog_compiler_pic='+Z'
9551
 
        ;;
9552
 
      esac
9553
 
      # Is there a better lt_prog_compiler_static that works with the bundled CC?
9554
 
      lt_prog_compiler_static='${wl}-a ${wl}archive'
9555
 
      ;;
9556
 
 
9557
 
    irix5* | irix6* | nonstopux*)
9558
 
      lt_prog_compiler_wl='-Wl,'
9559
 
      # PIC (with -KPIC) is the default.
9560
 
      lt_prog_compiler_static='-non_shared'
9561
 
      ;;
9562
 
 
9563
 
    linux* | k*bsd*-gnu | kopensolaris*-gnu)
9564
 
      case $cc_basename in
9565
 
      # old Intel for x86_64 which still supported -KPIC.
9566
 
      ecc*)
9567
 
        lt_prog_compiler_wl='-Wl,'
9568
 
        lt_prog_compiler_pic='-KPIC'
9569
 
        lt_prog_compiler_static='-static'
9570
 
        ;;
9571
 
      # icc used to be incompatible with GCC.
9572
 
      # ICC 10 doesn't accept -KPIC any more.
9573
 
      icc* | ifort*)
9574
 
        lt_prog_compiler_wl='-Wl,'
9575
 
        lt_prog_compiler_pic='-fPIC'
9576
 
        lt_prog_compiler_static='-static'
9577
 
        ;;
9578
 
      # Lahey Fortran 8.1.
9579
 
      lf95*)
9580
 
        lt_prog_compiler_wl='-Wl,'
9581
 
        lt_prog_compiler_pic='--shared'
9582
 
        lt_prog_compiler_static='--static'
9583
 
        ;;
9584
 
      pgcc* | pgf77* | pgf90* | pgf95*)
9585
 
        # Portland Group compilers (*not* the Pentium gcc compiler,
9586
 
        # which looks to be a dead project)
9587
 
        lt_prog_compiler_wl='-Wl,'
9588
 
        lt_prog_compiler_pic='-fpic'
9589
 
        lt_prog_compiler_static='-Bstatic'
9590
 
        ;;
9591
 
      ccc*)
9592
 
        lt_prog_compiler_wl='-Wl,'
9593
 
        # All Alpha code is PIC.
9594
 
        lt_prog_compiler_static='-non_shared'
9595
 
        ;;
9596
 
      xl*)
9597
 
        # IBM XL C 8.0/Fortran 10.1 on PPC
9598
 
        lt_prog_compiler_wl='-Wl,'
9599
 
        lt_prog_compiler_pic='-qpic'
9600
 
        lt_prog_compiler_static='-qstaticlink'
9601
 
        ;;
9602
 
      *)
9603
 
        case `$CC -V 2>&1 | sed 5q` in
9604
 
        *Sun\ C*)
9605
 
          # Sun C 5.9
9606
 
          lt_prog_compiler_pic='-KPIC'
9607
 
          lt_prog_compiler_static='-Bstatic'
9608
 
          lt_prog_compiler_wl='-Wl,'
9609
 
          ;;
9610
 
        *Sun\ F*)
9611
 
          # Sun Fortran 8.3 passes all unrecognized flags to the linker
9612
 
          lt_prog_compiler_pic='-KPIC'
9613
 
          lt_prog_compiler_static='-Bstatic'
9614
 
          lt_prog_compiler_wl=''
9615
 
          ;;
9616
 
        esac
9617
 
        ;;
9618
 
      esac
9619
 
      ;;
9620
 
 
9621
 
    newsos6)
9622
 
      lt_prog_compiler_pic='-KPIC'
9623
 
      lt_prog_compiler_static='-Bstatic'
9624
 
      ;;
9625
 
 
9626
 
    *nto* | *qnx*)
9627
 
      # QNX uses GNU C++, but need to define -shared option too, otherwise
9628
 
      # it will coredump.
9629
 
      lt_prog_compiler_pic='-fPIC -shared'
9630
 
      ;;
9631
 
 
9632
 
    osf3* | osf4* | osf5*)
9633
 
      lt_prog_compiler_wl='-Wl,'
9634
 
      # All OSF/1 code is PIC.
9635
 
      lt_prog_compiler_static='-non_shared'
9636
 
      ;;
9637
 
 
9638
 
    rdos*)
9639
 
      lt_prog_compiler_static='-non_shared'
9640
 
      ;;
9641
 
 
9642
 
    solaris*)
9643
 
      lt_prog_compiler_pic='-KPIC'
9644
 
      lt_prog_compiler_static='-Bstatic'
9645
 
      case $cc_basename in
9646
 
      f77* | f90* | f95*)
9647
 
        lt_prog_compiler_wl='-Qoption ld ';;
9648
 
      *)
9649
 
        lt_prog_compiler_wl='-Wl,';;
9650
 
      esac
9651
 
      ;;
9652
 
 
9653
 
    sunos4*)
9654
 
      lt_prog_compiler_wl='-Qoption ld '
9655
 
      lt_prog_compiler_pic='-PIC'
9656
 
      lt_prog_compiler_static='-Bstatic'
9657
 
      ;;
9658
 
 
9659
 
    sysv4 | sysv4.2uw2* | sysv4.3*)
9660
 
      lt_prog_compiler_wl='-Wl,'
9661
 
      lt_prog_compiler_pic='-KPIC'
9662
 
      lt_prog_compiler_static='-Bstatic'
9663
 
      ;;
9664
 
 
9665
 
    sysv4*MP*)
9666
 
      if test -d /usr/nec ;then
9667
 
        lt_prog_compiler_pic='-Kconform_pic'
9668
 
        lt_prog_compiler_static='-Bstatic'
9669
 
      fi
9670
 
      ;;
9671
 
 
9672
 
    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
9673
 
      lt_prog_compiler_wl='-Wl,'
9674
 
      lt_prog_compiler_pic='-KPIC'
9675
 
      lt_prog_compiler_static='-Bstatic'
9676
 
      ;;
9677
 
 
9678
 
    unicos*)
9679
 
      lt_prog_compiler_wl='-Wl,'
9680
 
      lt_prog_compiler_can_build_shared=no
9681
 
      ;;
9682
 
 
9683
 
    uts4*)
9684
 
      lt_prog_compiler_pic='-pic'
9685
 
      lt_prog_compiler_static='-Bstatic'
9686
 
      ;;
9687
 
 
9688
 
    *)
9689
 
      lt_prog_compiler_can_build_shared=no
9690
 
      ;;
9691
 
    esac
9692
 
  fi
9693
 
 
9694
 
case $host_os in
9695
 
  # For platforms which do not support PIC, -DPIC is meaningless:
9696
 
  *djgpp*)
9697
 
    lt_prog_compiler_pic=
9698
 
    ;;
9699
 
  *)
9700
 
    lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
9701
 
    ;;
9702
 
esac
9703
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
9704
 
$as_echo "$lt_prog_compiler_pic" >&6; }
9705
 
 
9706
 
 
9707
 
 
9708
 
 
9709
 
 
9710
 
 
9711
 
#
9712
 
# Check to make sure the PIC flag actually works.
9713
 
#
9714
 
if test -n "$lt_prog_compiler_pic"; then
9715
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9716
 
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9717
 
if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
9718
 
  $as_echo_n "(cached) " >&6
9719
 
else
9720
 
  lt_cv_prog_compiler_pic_works=no
9721
 
   ac_outfile=conftest.$ac_objext
9722
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9723
 
   lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
9724
 
   # Insert the option either (1) after the last *FLAGS variable, or
9725
 
   # (2) before a word containing "conftest.", or (3) at the end.
9726
 
   # Note that $ac_compile itself does not contain backslashes and begins
9727
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
9728
 
   # The option is referenced via a variable to avoid confusing sed.
9729
 
   lt_compile=`echo "$ac_compile" | $SED \
9730
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9731
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9732
 
   -e 's:$: $lt_compiler_flag:'`
9733
 
   (eval echo "\"\$as_me:9733: $lt_compile\"" >&5)
9734
 
   (eval "$lt_compile" 2>conftest.err)
9735
 
   ac_status=$?
9736
 
   cat conftest.err >&5
9737
 
   echo "$as_me:9737: \$? = $ac_status" >&5
9738
 
   if (exit $ac_status) && test -s "$ac_outfile"; then
9739
 
     # The compiler can only warn and ignore the option if not recognized
9740
 
     # So say no if there are warnings other than the usual output.
9741
 
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
9742
 
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9743
 
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9744
 
       lt_cv_prog_compiler_pic_works=yes
9745
 
     fi
9746
 
   fi
9747
 
   $RM conftest*
9748
 
 
9749
 
fi
9750
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9751
 
$as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9752
 
 
9753
 
if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
9754
 
    case $lt_prog_compiler_pic in
9755
 
     "" | " "*) ;;
9756
 
     *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
9757
 
     esac
9758
 
else
9759
 
    lt_prog_compiler_pic=
9760
 
     lt_prog_compiler_can_build_shared=no
9761
 
fi
9762
 
 
9763
 
fi
9764
 
 
9765
 
 
9766
 
 
9767
 
 
9768
 
 
9769
 
 
9770
 
#
9771
 
# Check to make sure the static flag actually works.
9772
 
#
9773
 
wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9774
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9775
 
$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9776
 
if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
9777
 
  $as_echo_n "(cached) " >&6
9778
 
else
9779
 
  lt_cv_prog_compiler_static_works=no
9780
 
   save_LDFLAGS="$LDFLAGS"
9781
 
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
9782
 
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
9783
 
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9784
 
     # The linker can only warn and ignore the option if not recognized
9785
 
     # So say no if there are warnings
9786
 
     if test -s conftest.err; then
9787
 
       # Append any errors to the config.log.
9788
 
       cat conftest.err 1>&5
9789
 
       $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
9790
 
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9791
 
       if diff conftest.exp conftest.er2 >/dev/null; then
9792
 
         lt_cv_prog_compiler_static_works=yes
9793
 
       fi
9794
 
     else
9795
 
       lt_cv_prog_compiler_static_works=yes
9796
 
     fi
9797
 
   fi
9798
 
   $RM -r conftest*
9799
 
   LDFLAGS="$save_LDFLAGS"
9800
 
 
9801
 
fi
9802
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9803
 
$as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9804
 
 
9805
 
if test x"$lt_cv_prog_compiler_static_works" = xyes; then
9806
 
    :
9807
 
else
9808
 
    lt_prog_compiler_static=
9809
 
fi
9810
 
 
9811
 
 
9812
 
 
9813
 
 
9814
 
 
9815
 
 
9816
 
 
9817
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9818
 
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9819
 
if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9820
 
  $as_echo_n "(cached) " >&6
9821
 
else
9822
 
  lt_cv_prog_compiler_c_o=no
9823
 
   $RM -r conftest 2>/dev/null
9824
 
   mkdir conftest
9825
 
   cd conftest
9826
 
   mkdir out
9827
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9828
 
 
9829
 
   lt_compiler_flag="-o out/conftest2.$ac_objext"
9830
 
   # Insert the option either (1) after the last *FLAGS variable, or
9831
 
   # (2) before a word containing "conftest.", or (3) at the end.
9832
 
   # Note that $ac_compile itself does not contain backslashes and begins
9833
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
9834
 
   lt_compile=`echo "$ac_compile" | $SED \
9835
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9836
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9837
 
   -e 's:$: $lt_compiler_flag:'`
9838
 
   (eval echo "\"\$as_me:9838: $lt_compile\"" >&5)
9839
 
   (eval "$lt_compile" 2>out/conftest.err)
9840
 
   ac_status=$?
9841
 
   cat out/conftest.err >&5
9842
 
   echo "$as_me:9842: \$? = $ac_status" >&5
9843
 
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
9844
 
   then
9845
 
     # The compiler can only warn and ignore the option if not recognized
9846
 
     # So say no if there are warnings
9847
 
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
9848
 
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9849
 
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9850
 
       lt_cv_prog_compiler_c_o=yes
9851
 
     fi
9852
 
   fi
9853
 
   chmod u+w . 2>&5
9854
 
   $RM conftest*
9855
 
   # SGI C++ compiler will create directory out/ii_files/ for
9856
 
   # template instantiation
9857
 
   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9858
 
   $RM out/* && rmdir out
9859
 
   cd ..
9860
 
   $RM -r conftest
9861
 
   $RM conftest*
9862
 
 
9863
 
fi
9864
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9865
 
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9866
 
 
9867
 
 
9868
 
 
9869
 
 
9870
 
 
9871
 
 
9872
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9873
 
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9874
 
if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9875
 
  $as_echo_n "(cached) " >&6
9876
 
else
9877
 
  lt_cv_prog_compiler_c_o=no
9878
 
   $RM -r conftest 2>/dev/null
9879
 
   mkdir conftest
9880
 
   cd conftest
9881
 
   mkdir out
9882
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9883
 
 
9884
 
   lt_compiler_flag="-o out/conftest2.$ac_objext"
9885
 
   # Insert the option either (1) after the last *FLAGS variable, or
9886
 
   # (2) before a word containing "conftest.", or (3) at the end.
9887
 
   # Note that $ac_compile itself does not contain backslashes and begins
9888
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
9889
 
   lt_compile=`echo "$ac_compile" | $SED \
9890
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9891
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9892
 
   -e 's:$: $lt_compiler_flag:'`
9893
 
   (eval echo "\"\$as_me:9893: $lt_compile\"" >&5)
9894
 
   (eval "$lt_compile" 2>out/conftest.err)
9895
 
   ac_status=$?
9896
 
   cat out/conftest.err >&5
9897
 
   echo "$as_me:9897: \$? = $ac_status" >&5
9898
 
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
9899
 
   then
9900
 
     # The compiler can only warn and ignore the option if not recognized
9901
 
     # So say no if there are warnings
9902
 
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
9903
 
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9904
 
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9905
 
       lt_cv_prog_compiler_c_o=yes
9906
 
     fi
9907
 
   fi
9908
 
   chmod u+w . 2>&5
9909
 
   $RM conftest*
9910
 
   # SGI C++ compiler will create directory out/ii_files/ for
9911
 
   # template instantiation
9912
 
   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9913
 
   $RM out/* && rmdir out
9914
 
   cd ..
9915
 
   $RM -r conftest
9916
 
   $RM conftest*
9917
 
 
9918
 
fi
9919
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9920
 
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9921
 
 
9922
 
 
9923
 
 
9924
 
 
9925
 
hard_links="nottested"
9926
 
if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9927
 
  # do not overwrite the value of need_locks provided by the user
9928
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9929
 
$as_echo_n "checking if we can lock with hard links... " >&6; }
9930
 
  hard_links=yes
9931
 
  $RM conftest*
9932
 
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
9933
 
  touch conftest.a
9934
 
  ln conftest.a conftest.b 2>&5 || hard_links=no
9935
 
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
9936
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9937
 
$as_echo "$hard_links" >&6; }
9938
 
  if test "$hard_links" = no; then
9939
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9940
 
$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9941
 
    need_locks=warn
9942
 
  fi
9943
 
else
9944
 
  need_locks=no
9945
 
fi
9946
 
 
9947
 
 
9948
 
 
9949
 
 
9950
 
 
9951
 
 
9952
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9953
 
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9954
 
 
9955
 
  runpath_var=
9956
 
  allow_undefined_flag=
9957
 
  always_export_symbols=no
9958
 
  archive_cmds=
9959
 
  archive_expsym_cmds=
9960
 
  compiler_needs_object=no
9961
 
  enable_shared_with_static_runtimes=no
9962
 
  export_dynamic_flag_spec=
9963
 
  export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9964
 
  hardcode_automatic=no
9965
 
  hardcode_direct=no
9966
 
  hardcode_direct_absolute=no
9967
 
  hardcode_libdir_flag_spec=
9968
 
  hardcode_libdir_flag_spec_ld=
9969
 
  hardcode_libdir_separator=
9970
 
  hardcode_minus_L=no
9971
 
  hardcode_shlibpath_var=unsupported
9972
 
  inherit_rpath=no
9973
 
  link_all_deplibs=unknown
9974
 
  module_cmds=
9975
 
  module_expsym_cmds=
9976
 
  old_archive_from_new_cmds=
9977
 
  old_archive_from_expsyms_cmds=
9978
 
  thread_safe_flag_spec=
9979
 
  whole_archive_flag_spec=
9980
 
  # include_expsyms should be a list of space-separated symbols to be *always*
9981
 
  # included in the symbol list
9982
 
  include_expsyms=
9983
 
  # exclude_expsyms can be an extended regexp of symbols to exclude
9984
 
  # it will be wrapped by ` (' and `)$', so one must not match beginning or
9985
 
  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9986
 
  # as well as any symbol that contains `d'.
9987
 
  exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9988
 
  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9989
 
  # platforms (ab)use it in PIC code, but their linkers get confused if
9990
 
  # the symbol is explicitly referenced.  Since portable code cannot
9991
 
  # rely on this symbol name, it's probably fine to never include it in
9992
 
  # preloaded symbol tables.
9993
 
  # Exclude shared library initialization/finalization symbols.
9994
 
  extract_expsyms_cmds=
9995
 
 
9996
 
  case $host_os in
9997
 
  cygwin* | mingw* | pw32* | cegcc*)
9998
 
    # FIXME: the MSVC++ port hasn't been tested in a loooong time
9999
 
    # When not using gcc, we currently assume that we are using
10000
 
    # Microsoft Visual C++.
10001
 
    if test "$GCC" != yes; then
10002
 
      with_gnu_ld=no
10003
 
    fi
10004
 
    ;;
10005
 
  interix*)
10006
 
    # we just hope/assume this is gcc and not c89 (= MSVC++)
10007
 
    with_gnu_ld=yes
10008
 
    ;;
10009
 
  openbsd*)
10010
 
    with_gnu_ld=no
10011
 
    ;;
10012
 
  linux* | k*bsd*-gnu)
10013
 
    link_all_deplibs=no
10014
 
    ;;
10015
 
  esac
10016
 
 
10017
 
  ld_shlibs=yes
10018
 
  if test "$with_gnu_ld" = yes; then
10019
 
    # If archive_cmds runs LD, not CC, wlarc should be empty
10020
 
    wlarc='${wl}'
10021
 
 
10022
 
    # Set some defaults for GNU ld with shared library support. These
10023
 
    # are reset later if shared libraries are not supported. Putting them
10024
 
    # here allows them to be overridden if necessary.
10025
 
    runpath_var=LD_RUN_PATH
10026
 
    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10027
 
    export_dynamic_flag_spec='${wl}--export-dynamic'
10028
 
    # ancient GNU ld didn't support --whole-archive et. al.
10029
 
    if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
10030
 
      whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
10031
 
    else
10032
 
      whole_archive_flag_spec=
10033
 
    fi
10034
 
    supports_anon_versioning=no
10035
 
    case `$LD -v 2>&1` in
10036
 
      *GNU\ gold*) supports_anon_versioning=yes ;;
10037
 
      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
10038
 
      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
10039
 
      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
10040
 
      *\ 2.11.*) ;; # other 2.11 versions
10041
 
      *) supports_anon_versioning=yes ;;
10042
 
    esac
10043
 
 
10044
 
    # See if GNU ld supports shared libraries.
10045
 
    case $host_os in
10046
 
    aix[3-9]*)
10047
 
      # On AIX/PPC, the GNU linker is very broken
10048
 
      if test "$host_cpu" != ia64; then
10049
 
        ld_shlibs=no
10050
 
        cat <<_LT_EOF 1>&2
10051
 
 
10052
 
*** Warning: the GNU linker, at least up to release 2.9.1, is reported
10053
 
*** to be unable to reliably create shared libraries on AIX.
10054
 
*** Therefore, libtool is disabling shared libraries support.  If you
10055
 
*** really care for shared libraries, you may want to modify your PATH
10056
 
*** so that a non-GNU linker is found, and then restart.
10057
 
 
10058
 
_LT_EOF
10059
 
      fi
10060
 
      ;;
10061
 
 
10062
 
    amigaos*)
10063
 
      case $host_cpu in
10064
 
      powerpc)
10065
 
            # see comment about AmigaOS4 .so support
10066
 
            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10067
 
            archive_expsym_cmds=''
10068
 
        ;;
10069
 
      m68k)
10070
 
            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)'
10071
 
            hardcode_libdir_flag_spec='-L$libdir'
10072
 
            hardcode_minus_L=yes
10073
 
        ;;
10074
 
      esac
10075
 
      ;;
10076
 
 
10077
 
    beos*)
10078
 
      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10079
 
        allow_undefined_flag=unsupported
10080
 
        # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
10081
 
        # support --undefined.  This deserves some investigation.  FIXME
10082
 
        archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10083
 
      else
10084
 
        ld_shlibs=no
10085
 
      fi
10086
 
      ;;
10087
 
 
10088
 
    cygwin* | mingw* | pw32* | cegcc*)
10089
 
      # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
10090
 
      # as there is no search path for DLLs.
10091
 
      hardcode_libdir_flag_spec='-L$libdir'
10092
 
      allow_undefined_flag=unsupported
10093
 
      always_export_symbols=no
10094
 
      enable_shared_with_static_runtimes=yes
10095
 
      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
10096
 
 
10097
 
      if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
10098
 
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10099
 
        # If the export-symbols file already is a .def file (1st line
10100
 
        # is EXPORTS), use it as is; otherwise, prepend...
10101
 
        archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
10102
 
          cp $export_symbols $output_objdir/$soname.def;
10103
 
        else
10104
 
          echo EXPORTS > $output_objdir/$soname.def;
10105
 
          cat $export_symbols >> $output_objdir/$soname.def;
10106
 
        fi~
10107
 
        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10108
 
      else
10109
 
        ld_shlibs=no
10110
 
      fi
10111
 
      ;;
10112
 
 
10113
 
    interix[3-9]*)
10114
 
      hardcode_direct=no
10115
 
      hardcode_shlibpath_var=no
10116
 
      hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10117
 
      export_dynamic_flag_spec='${wl}-E'
10118
 
      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
10119
 
      # Instead, shared libraries are loaded at an image base (0x10000000 by
10120
 
      # default) and relocated if they conflict, which is a slow very memory
10121
 
      # consuming and fragmenting process.  To avoid this, we pick a random,
10122
 
      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
10123
 
      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
10124
 
      archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
10125
 
      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'
10126
 
      ;;
10127
 
 
10128
 
    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
10129
 
      tmp_diet=no
10130
 
      if test "$host_os" = linux-dietlibc; then
10131
 
        case $cc_basename in
10132
 
          diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
10133
 
        esac
10134
 
      fi
10135
 
      if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
10136
 
         && test "$tmp_diet" = no
10137
 
      then
10138
 
        tmp_addflag=
10139
 
        tmp_sharedflag='-shared'
10140
 
        case $cc_basename,$host_cpu in
10141
 
        pgcc*)                          # Portland Group C compiler
10142
 
          whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
10143
 
          tmp_addflag=' $pic_flag'
10144
 
          ;;
10145
 
        pgf77* | pgf90* | pgf95*)       # Portland Group f77 and f90 compilers
10146
 
          whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
10147
 
          tmp_addflag=' $pic_flag -Mnomain' ;;
10148
 
        ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
10149
 
          tmp_addflag=' -i_dynamic' ;;
10150
 
        efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
10151
 
          tmp_addflag=' -i_dynamic -nofor_main' ;;
10152
 
        ifc* | ifort*)                  # Intel Fortran compiler
10153
 
          tmp_addflag=' -nofor_main' ;;
10154
 
        lf95*)                          # Lahey Fortran 8.1
10155
 
          whole_archive_flag_spec=
10156
 
          tmp_sharedflag='--shared' ;;
10157
 
        xl[cC]*)                        # IBM XL C 8.0 on PPC (deal with xlf below)
10158
 
          tmp_sharedflag='-qmkshrobj'
10159
 
          tmp_addflag= ;;
10160
 
        esac
10161
 
        case `$CC -V 2>&1 | sed 5q` in
10162
 
        *Sun\ C*)                       # Sun C 5.9
10163
 
          whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
10164
 
          compiler_needs_object=yes
10165
 
          tmp_sharedflag='-G' ;;
10166
 
        *Sun\ F*)                       # Sun Fortran 8.3
10167
 
          tmp_sharedflag='-G' ;;
10168
 
        esac
10169
 
        archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10170
 
 
10171
 
        if test "x$supports_anon_versioning" = xyes; then
10172
 
          archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
10173
 
            cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10174
 
            echo "local: *; };" >> $output_objdir/$libname.ver~
10175
 
            $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
10176
 
        fi
10177
 
 
10178
 
        case $cc_basename in
10179
 
        xlf*)
10180
 
          # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
10181
 
          whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
10182
 
          hardcode_libdir_flag_spec=
10183
 
          hardcode_libdir_flag_spec_ld='-rpath $libdir'
10184
 
          archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
10185
 
          if test "x$supports_anon_versioning" = xyes; then
10186
 
            archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
10187
 
              cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10188
 
              echo "local: *; };" >> $output_objdir/$libname.ver~
10189
 
              $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
10190
 
          fi
10191
 
          ;;
10192
 
        esac
10193
 
      else
10194
 
        ld_shlibs=no
10195
 
      fi
10196
 
      ;;
10197
 
 
10198
 
    netbsd* | netbsdelf*-gnu)
10199
 
      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10200
 
        archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
10201
 
        wlarc=
10202
 
      else
10203
 
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10204
 
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10205
 
      fi
10206
 
      ;;
10207
 
 
10208
 
    solaris*)
10209
 
      if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
10210
 
        ld_shlibs=no
10211
 
        cat <<_LT_EOF 1>&2
10212
 
 
10213
 
*** Warning: The releases 2.8.* of the GNU linker cannot reliably
10214
 
*** create shared libraries on Solaris systems.  Therefore, libtool
10215
 
*** is disabling shared libraries support.  We urge you to upgrade GNU
10216
 
*** binutils to release 2.9.1 or newer.  Another option is to modify
10217
 
*** your PATH or compiler configuration so that the native linker is
10218
 
*** used, and then restart.
10219
 
 
10220
 
_LT_EOF
10221
 
      elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10222
 
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10223
 
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10224
 
      else
10225
 
        ld_shlibs=no
10226
 
      fi
10227
 
      ;;
10228
 
 
10229
 
    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
10230
 
      case `$LD -v 2>&1` in
10231
 
        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
10232
 
        ld_shlibs=no
10233
 
        cat <<_LT_EOF 1>&2
10234
 
 
10235
 
*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
10236
 
*** reliably create shared libraries on SCO systems.  Therefore, libtool
10237
 
*** is disabling shared libraries support.  We urge you to upgrade GNU
10238
 
*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
10239
 
*** your PATH or compiler configuration so that the native linker is
10240
 
*** used, and then restart.
10241
 
 
10242
 
_LT_EOF
10243
 
        ;;
10244
 
        *)
10245
 
          # For security reasons, it is highly recommended that you always
10246
 
          # use absolute paths for naming shared libraries, and exclude the
10247
 
          # DT_RUNPATH tag from executables and libraries.  But doing so
10248
 
          # requires that you compile everything twice, which is a pain.
10249
 
          if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10250
 
            hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10251
 
            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10252
 
            archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10253
 
          else
10254
 
            ld_shlibs=no
10255
 
          fi
10256
 
        ;;
10257
 
      esac
10258
 
      ;;
10259
 
 
10260
 
    sunos4*)
10261
 
      archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10262
 
      wlarc=
10263
 
      hardcode_direct=yes
10264
 
      hardcode_shlibpath_var=no
10265
 
      ;;
10266
 
 
10267
 
    *)
10268
 
      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10269
 
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10270
 
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10271
 
      else
10272
 
        ld_shlibs=no
10273
 
      fi
10274
 
      ;;
10275
 
    esac
10276
 
 
10277
 
    if test "$ld_shlibs" = no; then
10278
 
      runpath_var=
10279
 
      hardcode_libdir_flag_spec=
10280
 
      export_dynamic_flag_spec=
10281
 
      whole_archive_flag_spec=
10282
 
    fi
10283
 
  else
10284
 
    # PORTME fill in a description of your system's linker (not GNU ld)
10285
 
    case $host_os in
10286
 
    aix3*)
10287
 
      allow_undefined_flag=unsupported
10288
 
      always_export_symbols=yes
10289
 
      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'
10290
 
      # Note: this linker hardcodes the directories in LIBPATH if there
10291
 
      # are no directories specified by -L.
10292
 
      hardcode_minus_L=yes
10293
 
      if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
10294
 
        # Neither direct hardcoding nor static linking is supported with a
10295
 
        # broken collect2.
10296
 
        hardcode_direct=unsupported
10297
 
      fi
10298
 
      ;;
10299
 
 
10300
 
    aix[4-9]*)
10301
 
      if test "$host_cpu" = ia64; then
10302
 
        # On IA64, the linker does run time linking by default, so we don't
10303
 
        # have to do anything special.
10304
 
        aix_use_runtimelinking=no
10305
 
        exp_sym_flag='-Bexport'
10306
 
        no_entry_flag=""
10307
 
      else
10308
 
        # If we're using GNU nm, then we don't want the "-C" option.
10309
 
        # -C means demangle to AIX nm, but means don't demangle with GNU nm
10310
 
        if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
10311
 
          export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
10312
 
        else
10313
 
          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'
10314
 
        fi
10315
 
        aix_use_runtimelinking=no
10316
 
 
10317
 
        # Test if we are trying to use run time linking or normal
10318
 
        # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10319
 
        # need to do runtime linking.
10320
 
        case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
10321
 
          for ld_flag in $LDFLAGS; do
10322
 
          if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
10323
 
            aix_use_runtimelinking=yes
10324
 
            break
10325
 
          fi
10326
 
          done
10327
 
          ;;
10328
 
        esac
10329
 
 
10330
 
        exp_sym_flag='-bexport'
10331
 
        no_entry_flag='-bnoentry'
10332
 
      fi
10333
 
 
10334
 
      # When large executables or shared objects are built, AIX ld can
10335
 
      # have problems creating the table of contents.  If linking a library
10336
 
      # or program results in "error TOC overflow" add -mminimal-toc to
10337
 
      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
10338
 
      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10339
 
 
10340
 
      archive_cmds=''
10341
 
      hardcode_direct=yes
10342
 
      hardcode_direct_absolute=yes
10343
 
      hardcode_libdir_separator=':'
10344
 
      link_all_deplibs=yes
10345
 
      file_list_spec='${wl}-f,'
10346
 
 
10347
 
      if test "$GCC" = yes; then
10348
 
        case $host_os in aix4.[012]|aix4.[012].*)
10349
 
        # We only want to do this on AIX 4.2 and lower, the check
10350
 
        # below for broken collect2 doesn't work under 4.3+
10351
 
          collect2name=`${CC} -print-prog-name=collect2`
10352
 
          if test -f "$collect2name" &&
10353
 
           strings "$collect2name" | $GREP resolve_lib_name >/dev/null
10354
 
          then
10355
 
          # We have reworked collect2
10356
 
          :
10357
 
          else
10358
 
          # We have old collect2
10359
 
          hardcode_direct=unsupported
10360
 
          # It fails to find uninstalled libraries when the uninstalled
10361
 
          # path is not listed in the libpath.  Setting hardcode_minus_L
10362
 
          # to unsupported forces relinking
10363
 
          hardcode_minus_L=yes
10364
 
          hardcode_libdir_flag_spec='-L$libdir'
10365
 
          hardcode_libdir_separator=
10366
 
          fi
10367
 
          ;;
10368
 
        esac
10369
 
        shared_flag='-shared'
10370
 
        if test "$aix_use_runtimelinking" = yes; then
10371
 
          shared_flag="$shared_flag "'${wl}-G'
10372
 
        fi
10373
 
        link_all_deplibs=no
10374
 
      else
10375
 
        # not using gcc
10376
 
        if test "$host_cpu" = ia64; then
10377
 
        # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10378
 
        # chokes on -Wl,-G. The following line is correct:
10379
 
          shared_flag='-G'
10380
 
        else
10381
 
          if test "$aix_use_runtimelinking" = yes; then
10382
 
            shared_flag='${wl}-G'
10383
 
          else
10384
 
            shared_flag='${wl}-bM:SRE'
10385
 
          fi
10386
 
        fi
10387
 
      fi
10388
 
 
10389
 
      export_dynamic_flag_spec='${wl}-bexpall'
10390
 
      # It seems that -bexpall does not export symbols beginning with
10391
 
      # underscore (_), so it is better to generate a list of symbols to export.
10392
 
      always_export_symbols=yes
10393
 
      if test "$aix_use_runtimelinking" = yes; then
10394
 
        # Warning - without using the other runtime loading flags (-brtl),
10395
 
        # -berok will link without error, but may produce a broken library.
10396
 
        allow_undefined_flag='-berok'
10397
 
        # Determine the default libpath from the value encoded in an
10398
 
        # empty executable.
10399
 
        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10400
 
/* end confdefs.h.  */
10401
 
 
10402
 
int
10403
 
main ()
10404
 
{
10405
 
 
10406
 
  ;
10407
 
  return 0;
10408
 
}
10409
 
_ACEOF
10410
 
if ac_fn_c_try_link "$LINENO"; then :
10411
 
 
10412
 
lt_aix_libpath_sed='
10413
 
    /Import File Strings/,/^$/ {
10414
 
        /^0/ {
10415
 
            s/^0  *\(.*\)$/\1/
10416
 
            p
10417
 
        }
10418
 
    }'
10419
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10420
 
# Check for a 64-bit object if we didn't find anything.
10421
 
if test -z "$aix_libpath"; then
10422
 
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10423
 
fi
10424
 
fi
10425
 
rm -f core conftest.err conftest.$ac_objext \
10426
 
    conftest$ac_exeext conftest.$ac_ext
10427
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
10428
 
 
10429
 
        hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10430
 
        archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
10431
 
      else
10432
 
        if test "$host_cpu" = ia64; then
10433
 
          hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
10434
 
          allow_undefined_flag="-z nodefs"
10435
 
          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"
10436
 
        else
10437
 
         # Determine the default libpath from the value encoded in an
10438
 
         # empty executable.
10439
 
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10440
 
/* end confdefs.h.  */
10441
 
 
10442
 
int
10443
 
main ()
10444
 
{
10445
 
 
10446
 
  ;
10447
 
  return 0;
10448
 
}
10449
 
_ACEOF
10450
 
if ac_fn_c_try_link "$LINENO"; then :
10451
 
 
10452
 
lt_aix_libpath_sed='
10453
 
    /Import File Strings/,/^$/ {
10454
 
        /^0/ {
10455
 
            s/^0  *\(.*\)$/\1/
10456
 
            p
10457
 
        }
10458
 
    }'
10459
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10460
 
# Check for a 64-bit object if we didn't find anything.
10461
 
if test -z "$aix_libpath"; then
10462
 
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10463
 
fi
10464
 
fi
10465
 
rm -f core conftest.err conftest.$ac_objext \
10466
 
    conftest$ac_exeext conftest.$ac_ext
10467
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
10468
 
 
10469
 
         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10470
 
          # Warning - without using the other run time loading flags,
10471
 
          # -berok will link without error, but may produce a broken library.
10472
 
          no_undefined_flag=' ${wl}-bernotok'
10473
 
          allow_undefined_flag=' ${wl}-berok'
10474
 
          # Exported symbols can be pulled into shared objects from archives
10475
 
          whole_archive_flag_spec='$convenience'
10476
 
          archive_cmds_need_lc=yes
10477
 
          # This is similar to how AIX traditionally builds its shared libraries.
10478
 
          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'
10479
 
        fi
10480
 
      fi
10481
 
      ;;
10482
 
 
10483
 
    amigaos*)
10484
 
      case $host_cpu in
10485
 
      powerpc)
10486
 
            # see comment about AmigaOS4 .so support
10487
 
            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10488
 
            archive_expsym_cmds=''
10489
 
        ;;
10490
 
      m68k)
10491
 
            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)'
10492
 
            hardcode_libdir_flag_spec='-L$libdir'
10493
 
            hardcode_minus_L=yes
10494
 
        ;;
10495
 
      esac
10496
 
      ;;
10497
 
 
10498
 
    bsdi[45]*)
10499
 
      export_dynamic_flag_spec=-rdynamic
10500
 
      ;;
10501
 
 
10502
 
    cygwin* | mingw* | pw32* | cegcc*)
10503
 
      # When not using gcc, we currently assume that we are using
10504
 
      # Microsoft Visual C++.
10505
 
      # hardcode_libdir_flag_spec is actually meaningless, as there is
10506
 
      # no search path for DLLs.
10507
 
      hardcode_libdir_flag_spec=' '
10508
 
      allow_undefined_flag=unsupported
10509
 
      # Tell ltmain to make .lib files, not .a files.
10510
 
      libext=lib
10511
 
      # Tell ltmain to make .dll files, not .so files.
10512
 
      shrext_cmds=".dll"
10513
 
      # FIXME: Setting linknames here is a bad hack.
10514
 
      archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
10515
 
      # The linker will automatically build a .lib file if we build a DLL.
10516
 
      old_archive_from_new_cmds='true'
10517
 
      # FIXME: Should let the user specify the lib program.
10518
 
      old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
10519
 
      fix_srcfile_path='`cygpath -w "$srcfile"`'
10520
 
      enable_shared_with_static_runtimes=yes
10521
 
      ;;
10522
 
 
10523
 
    darwin* | rhapsody*)
10524
 
 
10525
 
 
10526
 
  archive_cmds_need_lc=no
10527
 
  hardcode_direct=no
10528
 
  hardcode_automatic=yes
10529
 
  hardcode_shlibpath_var=unsupported
10530
 
  whole_archive_flag_spec=''
10531
 
  link_all_deplibs=yes
10532
 
  allow_undefined_flag="$_lt_dar_allow_undefined"
10533
 
  case $cc_basename in
10534
 
     ifort*) _lt_dar_can_shared=yes ;;
10535
 
     *) _lt_dar_can_shared=$GCC ;;
10536
 
  esac
10537
 
  if test "$_lt_dar_can_shared" = "yes"; then
10538
 
    output_verbose_link_cmd=echo
10539
 
    archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
10540
 
    module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
10541
 
    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}"
10542
 
    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}"
10543
 
 
10544
 
  else
10545
 
  ld_shlibs=no
10546
 
  fi
10547
 
 
10548
 
      ;;
10549
 
 
10550
 
    dgux*)
10551
 
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10552
 
      hardcode_libdir_flag_spec='-L$libdir'
10553
 
      hardcode_shlibpath_var=no
10554
 
      ;;
10555
 
 
10556
 
    freebsd1*)
10557
 
      ld_shlibs=no
10558
 
      ;;
10559
 
 
10560
 
    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10561
 
    # support.  Future versions do this automatically, but an explicit c++rt0.o
10562
 
    # does not break anything, and helps significantly (at the cost of a little
10563
 
    # extra space).
10564
 
    freebsd2.2*)
10565
 
      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10566
 
      hardcode_libdir_flag_spec='-R$libdir'
10567
 
      hardcode_direct=yes
10568
 
      hardcode_shlibpath_var=no
10569
 
      ;;
10570
 
 
10571
 
    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10572
 
    freebsd2*)
10573
 
      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10574
 
      hardcode_direct=yes
10575
 
      hardcode_minus_L=yes
10576
 
      hardcode_shlibpath_var=no
10577
 
      ;;
10578
 
 
10579
 
    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10580
 
    freebsd* | dragonfly*)
10581
 
      archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
10582
 
      hardcode_libdir_flag_spec='-R$libdir'
10583
 
      hardcode_direct=yes
10584
 
      hardcode_shlibpath_var=no
10585
 
      ;;
10586
 
 
10587
 
    hpux9*)
10588
 
      if test "$GCC" = yes; then
10589
 
        archive_cmds='$RM $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
10590
 
      else
10591
 
        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'
10592
 
      fi
10593
 
      hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10594
 
      hardcode_libdir_separator=:
10595
 
      hardcode_direct=yes
10596
 
 
10597
 
      # hardcode_minus_L: Not really in the search PATH,
10598
 
      # but as the default location of the library.
10599
 
      hardcode_minus_L=yes
10600
 
      export_dynamic_flag_spec='${wl}-E'
10601
 
      ;;
10602
 
 
10603
 
    hpux10*)
10604
 
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
10605
 
        archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10606
 
      else
10607
 
        archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10608
 
      fi
10609
 
      if test "$with_gnu_ld" = no; then
10610
 
        hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10611
 
        hardcode_libdir_flag_spec_ld='+b $libdir'
10612
 
        hardcode_libdir_separator=:
10613
 
        hardcode_direct=yes
10614
 
        hardcode_direct_absolute=yes
10615
 
        export_dynamic_flag_spec='${wl}-E'
10616
 
        # hardcode_minus_L: Not really in the search PATH,
10617
 
        # but as the default location of the library.
10618
 
        hardcode_minus_L=yes
10619
 
      fi
10620
 
      ;;
10621
 
 
10622
 
    hpux11*)
10623
 
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
10624
 
        case $host_cpu in
10625
 
        hppa*64*)
10626
 
          archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10627
 
          ;;
10628
 
        ia64*)
10629
 
          archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10630
 
          ;;
10631
 
        *)
10632
 
          archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10633
 
          ;;
10634
 
        esac
10635
 
      else
10636
 
        case $host_cpu in
10637
 
        hppa*64*)
10638
 
          archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10639
 
          ;;
10640
 
        ia64*)
10641
 
          archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10642
 
          ;;
10643
 
        *)
10644
 
          archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10645
 
          ;;
10646
 
        esac
10647
 
      fi
10648
 
      if test "$with_gnu_ld" = no; then
10649
 
        hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10650
 
        hardcode_libdir_separator=:
10651
 
 
10652
 
        case $host_cpu in
10653
 
        hppa*64*|ia64*)
10654
 
          hardcode_direct=no
10655
 
          hardcode_shlibpath_var=no
10656
 
          ;;
10657
 
        *)
10658
 
          hardcode_direct=yes
10659
 
          hardcode_direct_absolute=yes
10660
 
          export_dynamic_flag_spec='${wl}-E'
10661
 
 
10662
 
          # hardcode_minus_L: Not really in the search PATH,
10663
 
          # but as the default location of the library.
10664
 
          hardcode_minus_L=yes
10665
 
          ;;
10666
 
        esac
10667
 
      fi
10668
 
      ;;
10669
 
 
10670
 
    irix5* | irix6* | nonstopux*)
10671
 
      if test "$GCC" = yes; then
10672
 
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10673
 
        # Try to use the -exported_symbol ld option, if it does not
10674
 
        # work, assume that -exports_file does not work either and
10675
 
        # implicitly export all symbols.
10676
 
        save_LDFLAGS="$LDFLAGS"
10677
 
        LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10678
 
        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10679
 
/* end confdefs.h.  */
10680
 
int foo(void) {}
10681
 
_ACEOF
10682
 
if ac_fn_c_try_link "$LINENO"; then :
10683
 
  archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
10684
 
 
10685
 
fi
10686
 
rm -f core conftest.err conftest.$ac_objext \
10687
 
    conftest$ac_exeext conftest.$ac_ext
10688
 
        LDFLAGS="$save_LDFLAGS"
10689
 
      else
10690
 
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
10691
 
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
10692
 
      fi
10693
 
      archive_cmds_need_lc='no'
10694
 
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10695
 
      hardcode_libdir_separator=:
10696
 
      inherit_rpath=yes
10697
 
      link_all_deplibs=yes
10698
 
      ;;
10699
 
 
10700
 
    netbsd* | netbsdelf*-gnu)
10701
 
      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10702
 
        archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
10703
 
      else
10704
 
        archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
10705
 
      fi
10706
 
      hardcode_libdir_flag_spec='-R$libdir'
10707
 
      hardcode_direct=yes
10708
 
      hardcode_shlibpath_var=no
10709
 
      ;;
10710
 
 
10711
 
    newsos6)
10712
 
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10713
 
      hardcode_direct=yes
10714
 
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10715
 
      hardcode_libdir_separator=:
10716
 
      hardcode_shlibpath_var=no
10717
 
      ;;
10718
 
 
10719
 
    *nto* | *qnx*)
10720
 
      ;;
10721
 
 
10722
 
    openbsd*)
10723
 
      if test -f /usr/libexec/ld.so; then
10724
 
        hardcode_direct=yes
10725
 
        hardcode_shlibpath_var=no
10726
 
        hardcode_direct_absolute=yes
10727
 
        if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10728
 
          archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10729
 
          archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10730
 
          hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10731
 
          export_dynamic_flag_spec='${wl}-E'
10732
 
        else
10733
 
          case $host_os in
10734
 
           openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
10735
 
             archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10736
 
             hardcode_libdir_flag_spec='-R$libdir'
10737
 
             ;;
10738
 
           *)
10739
 
             archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10740
 
             hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10741
 
             ;;
10742
 
          esac
10743
 
        fi
10744
 
      else
10745
 
        ld_shlibs=no
10746
 
      fi
10747
 
      ;;
10748
 
 
10749
 
    os2*)
10750
 
      hardcode_libdir_flag_spec='-L$libdir'
10751
 
      hardcode_minus_L=yes
10752
 
      allow_undefined_flag=unsupported
10753
 
      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'
10754
 
      old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10755
 
      ;;
10756
 
 
10757
 
    osf3*)
10758
 
      if test "$GCC" = yes; then
10759
 
        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10760
 
        archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10761
 
      else
10762
 
        allow_undefined_flag=' -expect_unresolved \*'
10763
 
        archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
10764
 
      fi
10765
 
      archive_cmds_need_lc='no'
10766
 
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10767
 
      hardcode_libdir_separator=:
10768
 
      ;;
10769
 
 
10770
 
    osf4* | osf5*)      # as osf3* with the addition of -msym flag
10771
 
      if test "$GCC" = yes; then
10772
 
        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10773
 
        archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10774
 
        hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10775
 
      else
10776
 
        allow_undefined_flag=' -expect_unresolved \*'
10777
 
        archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
10778
 
        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~
10779
 
        $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
10780
 
 
10781
 
        # Both c and cxx compiler support -rpath directly
10782
 
        hardcode_libdir_flag_spec='-rpath $libdir'
10783
 
      fi
10784
 
      archive_cmds_need_lc='no'
10785
 
      hardcode_libdir_separator=:
10786
 
      ;;
10787
 
 
10788
 
    solaris*)
10789
 
      no_undefined_flag=' -z defs'
10790
 
      if test "$GCC" = yes; then
10791
 
        wlarc='${wl}'
10792
 
        archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10793
 
        archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10794
 
          $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10795
 
      else
10796
 
        case `$CC -V 2>&1` in
10797
 
        *"Compilers 5.0"*)
10798
 
          wlarc=''
10799
 
          archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10800
 
          archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10801
 
          $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10802
 
          ;;
10803
 
        *)
10804
 
          wlarc='${wl}'
10805
 
          archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10806
 
          archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10807
 
          $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10808
 
          ;;
10809
 
        esac
10810
 
      fi
10811
 
      hardcode_libdir_flag_spec='-R$libdir'
10812
 
      hardcode_shlibpath_var=no
10813
 
      case $host_os in
10814
 
      solaris2.[0-5] | solaris2.[0-5].*) ;;
10815
 
      *)
10816
 
        # The compiler driver will combine and reorder linker options,
10817
 
        # but understands `-z linker_flag'.  GCC discards it without `$wl',
10818
 
        # but is careful enough not to reorder.
10819
 
        # Supported since Solaris 2.6 (maybe 2.5.1?)
10820
 
        if test "$GCC" = yes; then
10821
 
          whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10822
 
        else
10823
 
          whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10824
 
        fi
10825
 
        ;;
10826
 
      esac
10827
 
      link_all_deplibs=yes
10828
 
      ;;
10829
 
 
10830
 
    sunos4*)
10831
 
      if test "x$host_vendor" = xsequent; then
10832
 
        # Use $CC to link under sequent, because it throws in some extra .o
10833
 
        # files that make .init and .fini sections work.
10834
 
        archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10835
 
      else
10836
 
        archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10837
 
      fi
10838
 
      hardcode_libdir_flag_spec='-L$libdir'
10839
 
      hardcode_direct=yes
10840
 
      hardcode_minus_L=yes
10841
 
      hardcode_shlibpath_var=no
10842
 
      ;;
10843
 
 
10844
 
    sysv4)
10845
 
      case $host_vendor in
10846
 
        sni)
10847
 
          archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10848
 
          hardcode_direct=yes # is this really true???
10849
 
        ;;
10850
 
        siemens)
10851
 
          ## LD is ld it makes a PLAMLIB
10852
 
          ## CC just makes a GrossModule.
10853
 
          archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10854
 
          reload_cmds='$CC -r -o $output$reload_objs'
10855
 
          hardcode_direct=no
10856
 
        ;;
10857
 
        motorola)
10858
 
          archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10859
 
          hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10860
 
        ;;
10861
 
      esac
10862
 
      runpath_var='LD_RUN_PATH'
10863
 
      hardcode_shlibpath_var=no
10864
 
      ;;
10865
 
 
10866
 
    sysv4.3*)
10867
 
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10868
 
      hardcode_shlibpath_var=no
10869
 
      export_dynamic_flag_spec='-Bexport'
10870
 
      ;;
10871
 
 
10872
 
    sysv4*MP*)
10873
 
      if test -d /usr/nec; then
10874
 
        archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10875
 
        hardcode_shlibpath_var=no
10876
 
        runpath_var=LD_RUN_PATH
10877
 
        hardcode_runpath_var=yes
10878
 
        ld_shlibs=yes
10879
 
      fi
10880
 
      ;;
10881
 
 
10882
 
    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10883
 
      no_undefined_flag='${wl}-z,text'
10884
 
      archive_cmds_need_lc=no
10885
 
      hardcode_shlibpath_var=no
10886
 
      runpath_var='LD_RUN_PATH'
10887
 
 
10888
 
      if test "$GCC" = yes; then
10889
 
        archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10890
 
        archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10891
 
      else
10892
 
        archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10893
 
        archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10894
 
      fi
10895
 
      ;;
10896
 
 
10897
 
    sysv5* | sco3.2v5* | sco5v6*)
10898
 
      # Note: We can NOT use -z defs as we might desire, because we do not
10899
 
      # link with -lc, and that would cause any symbols used from libc to
10900
 
      # always be unresolved, which means just about no library would
10901
 
      # ever link correctly.  If we're not using GNU ld we use -z text
10902
 
      # though, which does catch some bad symbols but isn't as heavy-handed
10903
 
      # as -z defs.
10904
 
      no_undefined_flag='${wl}-z,text'
10905
 
      allow_undefined_flag='${wl}-z,nodefs'
10906
 
      archive_cmds_need_lc=no
10907
 
      hardcode_shlibpath_var=no
10908
 
      hardcode_libdir_flag_spec='${wl}-R,$libdir'
10909
 
      hardcode_libdir_separator=':'
10910
 
      link_all_deplibs=yes
10911
 
      export_dynamic_flag_spec='${wl}-Bexport'
10912
 
      runpath_var='LD_RUN_PATH'
10913
 
 
10914
 
      if test "$GCC" = yes; then
10915
 
        archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10916
 
        archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10917
 
      else
10918
 
        archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10919
 
        archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10920
 
      fi
10921
 
      ;;
10922
 
 
10923
 
    uts4*)
10924
 
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10925
 
      hardcode_libdir_flag_spec='-L$libdir'
10926
 
      hardcode_shlibpath_var=no
10927
 
      ;;
10928
 
 
10929
 
    *)
10930
 
      ld_shlibs=no
10931
 
      ;;
10932
 
    esac
10933
 
 
10934
 
    if test x$host_vendor = xsni; then
10935
 
      case $host in
10936
 
      sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10937
 
        export_dynamic_flag_spec='${wl}-Blargedynsym'
10938
 
        ;;
10939
 
      esac
10940
 
    fi
10941
 
  fi
10942
 
 
10943
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10944
 
$as_echo "$ld_shlibs" >&6; }
10945
 
test "$ld_shlibs" = no && can_build_shared=no
10946
 
 
10947
 
with_gnu_ld=$with_gnu_ld
10948
 
 
10949
 
 
10950
 
 
10951
 
 
10952
 
 
10953
 
 
10954
 
 
10955
 
 
10956
 
 
10957
 
 
10958
 
 
10959
 
 
10960
 
 
10961
 
 
10962
 
 
10963
 
#
10964
 
# Do we need to explicitly link libc?
10965
 
#
10966
 
case "x$archive_cmds_need_lc" in
10967
 
x|xyes)
10968
 
  # Assume -lc should be added
10969
 
  archive_cmds_need_lc=yes
10970
 
 
10971
 
  if test "$enable_shared" = yes && test "$GCC" = yes; then
10972
 
    case $archive_cmds in
10973
 
    *'~'*)
10974
 
      # FIXME: we may have to deal with multi-command sequences.
10975
 
      ;;
10976
 
    '$CC '*)
10977
 
      # Test whether the compiler implicitly links with -lc since on some
10978
 
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
10979
 
      # to ld, don't add -lc before -lgcc.
10980
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10981
 
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10982
 
      $RM conftest*
10983
 
      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10984
 
 
10985
 
      if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10986
 
  (eval $ac_compile) 2>&5
10987
 
  ac_status=$?
10988
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10989
 
  test $ac_status = 0; } 2>conftest.err; then
10990
 
        soname=conftest
10991
 
        lib=conftest
10992
 
        libobjs=conftest.$ac_objext
10993
 
        deplibs=
10994
 
        wl=$lt_prog_compiler_wl
10995
 
        pic_flag=$lt_prog_compiler_pic
10996
 
        compiler_flags=-v
10997
 
        linker_flags=-v
10998
 
        verstring=
10999
 
        output_objdir=.
11000
 
        libname=conftest
11001
 
        lt_save_allow_undefined_flag=$allow_undefined_flag
11002
 
        allow_undefined_flag=
11003
 
        if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
11004
 
  (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
11005
 
  ac_status=$?
11006
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11007
 
  test $ac_status = 0; }
11008
 
        then
11009
 
          archive_cmds_need_lc=no
11010
 
        else
11011
 
          archive_cmds_need_lc=yes
11012
 
        fi
11013
 
        allow_undefined_flag=$lt_save_allow_undefined_flag
11014
 
      else
11015
 
        cat conftest.err 1>&5
11016
 
      fi
11017
 
      $RM conftest*
11018
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc" >&5
11019
 
$as_echo "$archive_cmds_need_lc" >&6; }
11020
 
      ;;
11021
 
    esac
11022
 
  fi
11023
 
  ;;
11024
 
esac
11025
 
 
11026
 
 
11027
 
 
11028
 
 
11029
 
 
11030
 
 
11031
 
 
11032
 
 
11033
 
 
11034
 
 
11035
 
 
11036
 
 
11037
 
 
11038
 
 
11039
 
 
11040
 
 
11041
 
 
11042
 
 
11043
 
 
11044
 
 
11045
 
 
11046
 
 
11047
 
 
11048
 
 
11049
 
 
11050
 
 
11051
 
 
11052
 
 
11053
 
 
11054
 
 
11055
 
 
11056
 
 
11057
 
 
11058
 
 
11059
 
 
11060
 
 
11061
 
 
11062
 
 
11063
 
 
11064
 
 
11065
 
 
11066
 
 
11067
 
 
11068
 
 
11069
 
 
11070
 
 
11071
 
 
11072
 
 
11073
 
 
11074
 
 
11075
 
 
11076
 
 
11077
 
 
11078
 
 
11079
 
 
11080
 
 
11081
 
 
11082
 
 
11083
 
 
11084
 
 
11085
 
 
11086
 
 
11087
 
 
11088
 
 
11089
 
 
11090
 
 
11091
 
 
11092
 
 
11093
 
 
11094
 
 
11095
 
 
11096
 
 
11097
 
 
11098
 
 
11099
 
 
11100
 
 
11101
 
 
11102
 
 
11103
 
 
11104
 
 
11105
 
 
11106
 
 
11107
 
 
11108
 
 
11109
 
 
11110
 
 
11111
 
 
11112
 
 
11113
 
 
11114
 
 
11115
 
 
11116
 
 
11117
 
 
11118
 
 
11119
 
 
11120
 
 
11121
 
 
11122
 
 
11123
 
 
11124
 
 
11125
 
 
11126
 
 
11127
 
 
11128
 
 
11129
 
 
11130
 
 
11131
 
 
11132
 
 
11133
 
 
11134
 
 
11135
 
 
11136
 
 
11137
 
 
11138
 
 
11139
 
 
11140
 
 
11141
 
 
11142
 
 
11143
 
 
11144
 
 
11145
 
 
11146
 
 
11147
 
 
11148
 
 
11149
 
 
11150
 
 
11151
 
 
11152
 
 
11153
 
 
11154
 
 
11155
 
 
11156
 
 
11157
 
 
11158
 
 
11159
 
 
11160
 
 
11161
 
 
11162
 
 
11163
 
 
11164
 
 
11165
 
 
11166
 
 
11167
 
 
11168
 
 
11169
 
 
11170
 
 
11171
 
 
11172
 
 
11173
 
 
11174
 
 
11175
 
 
11176
 
 
11177
 
 
11178
 
 
11179
 
 
11180
 
 
11181
 
 
11182
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
11183
 
$as_echo_n "checking dynamic linker characteristics... " >&6; }
11184
 
 
11185
 
if test "$GCC" = yes; then
11186
 
  case $host_os in
11187
 
    darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
11188
 
    *) lt_awk_arg="/^libraries:/" ;;
11189
 
  esac
11190
 
  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
11191
 
  if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
11192
 
    # if the path contains ";" then we assume it to be the separator
11193
 
    # otherwise default to the standard path separator (i.e. ":") - it is
11194
 
    # assumed that no part of a normal pathname contains ";" but that should
11195
 
    # okay in the real world where ";" in dirpaths is itself problematic.
11196
 
    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
11197
 
  else
11198
 
    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
11199
 
  fi
11200
 
  # Ok, now we have the path, separated by spaces, we can step through it
11201
 
  # and add multilib dir if necessary.
11202
 
  lt_tmp_lt_search_path_spec=
11203
 
  lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
11204
 
  for lt_sys_path in $lt_search_path_spec; do
11205
 
    if test -d "$lt_sys_path/$lt_multi_os_dir"; then
11206
 
      lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
11207
 
    else
11208
 
      test -d "$lt_sys_path" && \
11209
 
        lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
11210
 
    fi
11211
 
  done
11212
 
  lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
11213
 
BEGIN {RS=" "; FS="/|\n";} {
11214
 
  lt_foo="";
11215
 
  lt_count=0;
11216
 
  for (lt_i = NF; lt_i > 0; lt_i--) {
11217
 
    if ($lt_i != "" && $lt_i != ".") {
11218
 
      if ($lt_i == "..") {
11219
 
        lt_count++;
11220
 
      } else {
11221
 
        if (lt_count == 0) {
11222
 
          lt_foo="/" $lt_i lt_foo;
11223
 
        } else {
11224
 
          lt_count--;
11225
 
        }
11226
 
      }
11227
 
    }
11228
 
  }
11229
 
  if (lt_foo != "") { lt_freq[lt_foo]++; }
11230
 
  if (lt_freq[lt_foo] == 1) { print lt_foo; }
11231
 
}'`
11232
 
  sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
11233
 
else
11234
 
  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
11235
 
fi
11236
 
library_names_spec=
11237
 
libname_spec='lib$name'
11238
 
soname_spec=
11239
 
shrext_cmds=".so"
11240
 
postinstall_cmds=
11241
 
postuninstall_cmds=
11242
 
finish_cmds=
11243
 
finish_eval=
11244
 
shlibpath_var=
11245
 
shlibpath_overrides_runpath=unknown
11246
 
version_type=none
11247
 
dynamic_linker="$host_os ld.so"
11248
 
sys_lib_dlsearch_path_spec="/lib /usr/lib"
11249
 
need_lib_prefix=unknown
11250
 
hardcode_into_libs=no
11251
 
 
11252
 
# when you set need_version to no, make sure it does not cause -set_version
11253
 
# flags to be left without arguments
11254
 
need_version=unknown
11255
 
 
11256
 
case $host_os in
11257
 
aix3*)
11258
 
  version_type=linux
11259
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
11260
 
  shlibpath_var=LIBPATH
11261
 
 
11262
 
  # AIX 3 has no versioning support, so we append a major version to the name.
11263
 
  soname_spec='${libname}${release}${shared_ext}$major'
11264
 
  ;;
11265
 
 
11266
 
aix[4-9]*)
11267
 
  version_type=linux
11268
 
  need_lib_prefix=no
11269
 
  need_version=no
11270
 
  hardcode_into_libs=yes
11271
 
  if test "$host_cpu" = ia64; then
11272
 
    # AIX 5 supports IA64
11273
 
    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
11274
 
    shlibpath_var=LD_LIBRARY_PATH
11275
 
  else
11276
 
    # With GCC up to 2.95.x, collect2 would create an import file
11277
 
    # for dependence libraries.  The import file would start with
11278
 
    # the line `#! .'.  This would cause the generated library to
11279
 
    # depend on `.', always an invalid library.  This was fixed in
11280
 
    # development snapshots of GCC prior to 3.0.
11281
 
    case $host_os in
11282
 
      aix4 | aix4.[01] | aix4.[01].*)
11283
 
      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11284
 
           echo ' yes '
11285
 
           echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
11286
 
        :
11287
 
      else
11288
 
        can_build_shared=no
11289
 
      fi
11290
 
      ;;
11291
 
    esac
11292
 
    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
11293
 
    # soname into executable. Probably we can add versioning support to
11294
 
    # collect2, so additional links can be useful in future.
11295
 
    if test "$aix_use_runtimelinking" = yes; then
11296
 
      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11297
 
      # instead of lib<name>.a to let people know that these are not
11298
 
      # typical AIX shared libraries.
11299
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11300
 
    else
11301
 
      # We preserve .a as extension for shared libraries through AIX4.2
11302
 
      # and later when we are not doing run time linking.
11303
 
      library_names_spec='${libname}${release}.a $libname.a'
11304
 
      soname_spec='${libname}${release}${shared_ext}$major'
11305
 
    fi
11306
 
    shlibpath_var=LIBPATH
11307
 
  fi
11308
 
  ;;
11309
 
 
11310
 
amigaos*)
11311
 
  case $host_cpu in
11312
 
  powerpc)
11313
 
    # Since July 2007 AmigaOS4 officially supports .so libraries.
11314
 
    # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
11315
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11316
 
    ;;
11317
 
  m68k)
11318
 
    library_names_spec='$libname.ixlibrary $libname.a'
11319
 
    # Create ${libname}_ixlibrary.a entries in /sys/libs.
11320
 
    finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$ECHO "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
11321
 
    ;;
11322
 
  esac
11323
 
  ;;
11324
 
 
11325
 
beos*)
11326
 
  library_names_spec='${libname}${shared_ext}'
11327
 
  dynamic_linker="$host_os ld.so"
11328
 
  shlibpath_var=LIBRARY_PATH
11329
 
  ;;
11330
 
 
11331
 
bsdi[45]*)
11332
 
  version_type=linux
11333
 
  need_version=no
11334
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11335
 
  soname_spec='${libname}${release}${shared_ext}$major'
11336
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
11337
 
  shlibpath_var=LD_LIBRARY_PATH
11338
 
  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11339
 
  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
11340
 
  # the default ld.so.conf also contains /usr/contrib/lib and
11341
 
  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11342
 
  # libtool to hard-code these into programs
11343
 
  ;;
11344
 
 
11345
 
cygwin* | mingw* | pw32* | cegcc*)
11346
 
  version_type=windows
11347
 
  shrext_cmds=".dll"
11348
 
  need_version=no
11349
 
  need_lib_prefix=no
11350
 
 
11351
 
  case $GCC,$host_os in
11352
 
  yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
11353
 
    library_names_spec='$libname.dll.a'
11354
 
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
11355
 
    postinstall_cmds='base_file=`basename \${file}`~
11356
 
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11357
 
      dldir=$destdir/`dirname \$dlpath`~
11358
 
      test -d \$dldir || mkdir -p \$dldir~
11359
 
      $install_prog $dir/$dlname \$dldir/$dlname~
11360
 
      chmod a+x \$dldir/$dlname~
11361
 
      if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11362
 
        eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11363
 
      fi'
11364
 
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11365
 
      dlpath=$dir/\$dldll~
11366
 
       $RM \$dlpath'
11367
 
    shlibpath_overrides_runpath=yes
11368
 
 
11369
 
    case $host_os in
11370
 
    cygwin*)
11371
 
      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11372
 
      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11373
 
      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
11374
 
      ;;
11375
 
    mingw* | cegcc*)
11376
 
      # MinGW DLLs use traditional 'lib' prefix
11377
 
      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11378
 
      sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
11379
 
      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
11380
 
        # It is most probably a Windows format PATH printed by
11381
 
        # mingw gcc, but we are running on Cygwin. Gcc prints its search
11382
 
        # path with ; separators, and with drive letters. We can handle the
11383
 
        # drive letters (cygwin fileutils understands them), so leave them,
11384
 
        # especially as we might pass files found there to a mingw objdump,
11385
 
        # which wouldn't understand a cygwinified path. Ahh.
11386
 
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11387
 
      else
11388
 
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
11389
 
      fi
11390
 
      ;;
11391
 
    pw32*)
11392
 
      # pw32 DLLs use 'pw' prefix rather than 'lib'
11393
 
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11394
 
      ;;
11395
 
    esac
11396
 
    ;;
11397
 
 
11398
 
  *)
11399
 
    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11400
 
    ;;
11401
 
  esac
11402
 
  dynamic_linker='Win32 ld.exe'
11403
 
  # FIXME: first we should search . and the directory the executable is in
11404
 
  shlibpath_var=PATH
11405
 
  ;;
11406
 
 
11407
 
darwin* | rhapsody*)
11408
 
  dynamic_linker="$host_os dyld"
11409
 
  version_type=darwin
11410
 
  need_lib_prefix=no
11411
 
  need_version=no
11412
 
  library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11413
 
  soname_spec='${libname}${release}${major}$shared_ext'
11414
 
  shlibpath_overrides_runpath=yes
11415
 
  shlibpath_var=DYLD_LIBRARY_PATH
11416
 
  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
11417
 
 
11418
 
  sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
11419
 
  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
11420
 
  ;;
11421
 
 
11422
 
dgux*)
11423
 
  version_type=linux
11424
 
  need_lib_prefix=no
11425
 
  need_version=no
11426
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11427
 
  soname_spec='${libname}${release}${shared_ext}$major'
11428
 
  shlibpath_var=LD_LIBRARY_PATH
11429
 
  ;;
11430
 
 
11431
 
freebsd1*)
11432
 
  dynamic_linker=no
11433
 
  ;;
11434
 
 
11435
 
freebsd* | dragonfly*)
11436
 
  # DragonFly does not have aout.  When/if they implement a new
11437
 
  # versioning mechanism, adjust this.
11438
 
  if test -x /usr/bin/objformat; then
11439
 
    objformat=`/usr/bin/objformat`
11440
 
  else
11441
 
    case $host_os in
11442
 
    freebsd[123]*) objformat=aout ;;
11443
 
    *) objformat=elf ;;
11444
 
    esac
11445
 
  fi
11446
 
  version_type=freebsd-$objformat
11447
 
  case $version_type in
11448
 
    freebsd-elf*)
11449
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11450
 
      need_version=no
11451
 
      need_lib_prefix=no
11452
 
      ;;
11453
 
    freebsd-*)
11454
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11455
 
      need_version=yes
11456
 
      ;;
11457
 
  esac
11458
 
  shlibpath_var=LD_LIBRARY_PATH
11459
 
  case $host_os in
11460
 
  freebsd2*)
11461
 
    shlibpath_overrides_runpath=yes
11462
 
    ;;
11463
 
  freebsd3.[01]* | freebsdelf3.[01]*)
11464
 
    shlibpath_overrides_runpath=yes
11465
 
    hardcode_into_libs=yes
11466
 
    ;;
11467
 
  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
11468
 
  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
11469
 
    shlibpath_overrides_runpath=no
11470
 
    hardcode_into_libs=yes
11471
 
    ;;
11472
 
  *) # from 4.6 on, and DragonFly
11473
 
    shlibpath_overrides_runpath=yes
11474
 
    hardcode_into_libs=yes
11475
 
    ;;
11476
 
  esac
11477
 
  ;;
11478
 
 
11479
 
gnu*)
11480
 
  version_type=linux
11481
 
  need_lib_prefix=no
11482
 
  need_version=no
11483
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11484
 
  soname_spec='${libname}${release}${shared_ext}$major'
11485
 
  shlibpath_var=LD_LIBRARY_PATH
11486
 
  hardcode_into_libs=yes
11487
 
  ;;
11488
 
 
11489
 
hpux9* | hpux10* | hpux11*)
11490
 
  # Give a soname corresponding to the major version so that dld.sl refuses to
11491
 
  # link against other versions.
11492
 
  version_type=sunos
11493
 
  need_lib_prefix=no
11494
 
  need_version=no
11495
 
  case $host_cpu in
11496
 
  ia64*)
11497
 
    shrext_cmds='.so'
11498
 
    hardcode_into_libs=yes
11499
 
    dynamic_linker="$host_os dld.so"
11500
 
    shlibpath_var=LD_LIBRARY_PATH
11501
 
    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11502
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11503
 
    soname_spec='${libname}${release}${shared_ext}$major'
11504
 
    if test "X$HPUX_IA64_MODE" = X32; then
11505
 
      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11506
 
    else
11507
 
      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
11508
 
    fi
11509
 
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11510
 
    ;;
11511
 
  hppa*64*)
11512
 
    shrext_cmds='.sl'
11513
 
    hardcode_into_libs=yes
11514
 
    dynamic_linker="$host_os dld.sl"
11515
 
    shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
11516
 
    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11517
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11518
 
    soname_spec='${libname}${release}${shared_ext}$major'
11519
 
    sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11520
 
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11521
 
    ;;
11522
 
  *)
11523
 
    shrext_cmds='.sl'
11524
 
    dynamic_linker="$host_os dld.sl"
11525
 
    shlibpath_var=SHLIB_PATH
11526
 
    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
11527
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11528
 
    soname_spec='${libname}${release}${shared_ext}$major'
11529
 
    ;;
11530
 
  esac
11531
 
  # HP-UX runs *really* slowly unless shared libraries are mode 555.
11532
 
  postinstall_cmds='chmod 555 $lib'
11533
 
  ;;
11534
 
 
11535
 
interix[3-9]*)
11536
 
  version_type=linux
11537
 
  need_lib_prefix=no
11538
 
  need_version=no
11539
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11540
 
  soname_spec='${libname}${release}${shared_ext}$major'
11541
 
  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
11542
 
  shlibpath_var=LD_LIBRARY_PATH
11543
 
  shlibpath_overrides_runpath=no
11544
 
  hardcode_into_libs=yes
11545
 
  ;;
11546
 
 
11547
 
irix5* | irix6* | nonstopux*)
11548
 
  case $host_os in
11549
 
    nonstopux*) version_type=nonstopux ;;
11550
 
    *)
11551
 
        if test "$lt_cv_prog_gnu_ld" = yes; then
11552
 
                version_type=linux
11553
 
        else
11554
 
                version_type=irix
11555
 
        fi ;;
11556
 
  esac
11557
 
  need_lib_prefix=no
11558
 
  need_version=no
11559
 
  soname_spec='${libname}${release}${shared_ext}$major'
11560
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11561
 
  case $host_os in
11562
 
  irix5* | nonstopux*)
11563
 
    libsuff= shlibsuff=
11564
 
    ;;
11565
 
  *)
11566
 
    case $LD in # libtool.m4 will add one of these switches to LD
11567
 
    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
11568
 
      libsuff= shlibsuff= libmagic=32-bit;;
11569
 
    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
11570
 
      libsuff=32 shlibsuff=N32 libmagic=N32;;
11571
 
    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
11572
 
      libsuff=64 shlibsuff=64 libmagic=64-bit;;
11573
 
    *) libsuff= shlibsuff= libmagic=never-match;;
11574
 
    esac
11575
 
    ;;
11576
 
  esac
11577
 
  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
11578
 
  shlibpath_overrides_runpath=no
11579
 
  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11580
 
  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
11581
 
  hardcode_into_libs=yes
11582
 
  ;;
11583
 
 
11584
 
# No shared lib support for Linux oldld, aout, or coff.
11585
 
linux*oldld* | linux*aout* | linux*coff*)
11586
 
  dynamic_linker=no
11587
 
  ;;
11588
 
 
11589
 
# This must be Linux ELF.
11590
 
linux* | k*bsd*-gnu | kopensolaris*-gnu)
11591
 
  version_type=linux
11592
 
  need_lib_prefix=no
11593
 
  need_version=no
11594
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11595
 
  soname_spec='${libname}${release}${shared_ext}$major'
11596
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11597
 
  shlibpath_var=LD_LIBRARY_PATH
11598
 
  shlibpath_overrides_runpath=no
11599
 
  # Some binutils ld are patched to set DT_RUNPATH
11600
 
  save_LDFLAGS=$LDFLAGS
11601
 
  save_libdir=$libdir
11602
 
  eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11603
 
       LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11604
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11605
 
/* end confdefs.h.  */
11606
 
 
11607
 
int
11608
 
main ()
11609
 
{
11610
 
 
11611
 
  ;
11612
 
  return 0;
11613
 
}
11614
 
_ACEOF
11615
 
if ac_fn_c_try_link "$LINENO"; then :
11616
 
  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
11617
 
  shlibpath_overrides_runpath=yes
11618
 
fi
11619
 
fi
11620
 
rm -f core conftest.err conftest.$ac_objext \
11621
 
    conftest$ac_exeext conftest.$ac_ext
11622
 
  LDFLAGS=$save_LDFLAGS
11623
 
  libdir=$save_libdir
11624
 
 
11625
 
  # This implies no fast_install, which is unacceptable.
11626
 
  # Some rework will be needed to allow for fast_install
11627
 
  # before this can be enabled.
11628
 
  hardcode_into_libs=yes
11629
 
 
11630
 
  # Append ld.so.conf contents to the search path
11631
 
  if test -f /etc/ld.so.conf; then
11632
 
    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;/^$/d' | tr '\n' ' '`
11633
 
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
11634
 
  fi
11635
 
 
11636
 
  # We used to test for /lib/ld.so.1 and disable shared libraries on
11637
 
  # powerpc, because MkLinux only supported shared libraries with the
11638
 
  # GNU dynamic linker.  Since this was broken with cross compilers,
11639
 
  # most powerpc-linux boxes support dynamic linking these days and
11640
 
  # people can always --disable-shared, the test was removed, and we
11641
 
  # assume the GNU/Linux dynamic linker is in use.
11642
 
  dynamic_linker='GNU/Linux ld.so'
11643
 
  ;;
11644
 
 
11645
 
netbsdelf*-gnu)
11646
 
  version_type=linux
11647
 
  need_lib_prefix=no
11648
 
  need_version=no
11649
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11650
 
  soname_spec='${libname}${release}${shared_ext}$major'
11651
 
  shlibpath_var=LD_LIBRARY_PATH
11652
 
  shlibpath_overrides_runpath=no
11653
 
  hardcode_into_libs=yes
11654
 
  dynamic_linker='NetBSD ld.elf_so'
11655
 
  ;;
11656
 
 
11657
 
netbsd*)
11658
 
  version_type=sunos
11659
 
  need_lib_prefix=no
11660
 
  need_version=no
11661
 
  if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11662
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11663
 
    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11664
 
    dynamic_linker='NetBSD (a.out) ld.so'
11665
 
  else
11666
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11667
 
    soname_spec='${libname}${release}${shared_ext}$major'
11668
 
    dynamic_linker='NetBSD ld.elf_so'
11669
 
  fi
11670
 
  shlibpath_var=LD_LIBRARY_PATH
11671
 
  shlibpath_overrides_runpath=yes
11672
 
  hardcode_into_libs=yes
11673
 
  ;;
11674
 
 
11675
 
newsos6)
11676
 
  version_type=linux
11677
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11678
 
  shlibpath_var=LD_LIBRARY_PATH
11679
 
  shlibpath_overrides_runpath=yes
11680
 
  ;;
11681
 
 
11682
 
*nto* | *qnx*)
11683
 
  version_type=qnx
11684
 
  need_lib_prefix=no
11685
 
  need_version=no
11686
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11687
 
  soname_spec='${libname}${release}${shared_ext}$major'
11688
 
  shlibpath_var=LD_LIBRARY_PATH
11689
 
  shlibpath_overrides_runpath=no
11690
 
  hardcode_into_libs=yes
11691
 
  dynamic_linker='ldqnx.so'
11692
 
  ;;
11693
 
 
11694
 
openbsd*)
11695
 
  version_type=sunos
11696
 
  sys_lib_dlsearch_path_spec="/usr/lib"
11697
 
  need_lib_prefix=no
11698
 
  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11699
 
  case $host_os in
11700
 
    openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
11701
 
    *)                          need_version=no  ;;
11702
 
  esac
11703
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11704
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11705
 
  shlibpath_var=LD_LIBRARY_PATH
11706
 
  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11707
 
    case $host_os in
11708
 
      openbsd2.[89] | openbsd2.[89].*)
11709
 
        shlibpath_overrides_runpath=no
11710
 
        ;;
11711
 
      *)
11712
 
        shlibpath_overrides_runpath=yes
11713
 
        ;;
11714
 
      esac
11715
 
  else
11716
 
    shlibpath_overrides_runpath=yes
11717
 
  fi
11718
 
  ;;
11719
 
 
11720
 
os2*)
11721
 
  libname_spec='$name'
11722
 
  shrext_cmds=".dll"
11723
 
  need_lib_prefix=no
11724
 
  library_names_spec='$libname${shared_ext} $libname.a'
11725
 
  dynamic_linker='OS/2 ld.exe'
11726
 
  shlibpath_var=LIBPATH
11727
 
  ;;
11728
 
 
11729
 
osf3* | osf4* | osf5*)
11730
 
  version_type=osf
11731
 
  need_lib_prefix=no
11732
 
  need_version=no
11733
 
  soname_spec='${libname}${release}${shared_ext}$major'
11734
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11735
 
  shlibpath_var=LD_LIBRARY_PATH
11736
 
  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11737
 
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11738
 
  ;;
11739
 
 
11740
 
rdos*)
11741
 
  dynamic_linker=no
11742
 
  ;;
11743
 
 
11744
 
solaris*)
11745
 
  version_type=linux
11746
 
  need_lib_prefix=no
11747
 
  need_version=no
11748
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11749
 
  soname_spec='${libname}${release}${shared_ext}$major'
11750
 
  shlibpath_var=LD_LIBRARY_PATH
11751
 
  shlibpath_overrides_runpath=yes
11752
 
  hardcode_into_libs=yes
11753
 
  # ldd complains unless libraries are executable
11754
 
  postinstall_cmds='chmod +x $lib'
11755
 
  ;;
11756
 
 
11757
 
sunos4*)
11758
 
  version_type=sunos
11759
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11760
 
  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11761
 
  shlibpath_var=LD_LIBRARY_PATH
11762
 
  shlibpath_overrides_runpath=yes
11763
 
  if test "$with_gnu_ld" = yes; then
11764
 
    need_lib_prefix=no
11765
 
  fi
11766
 
  need_version=yes
11767
 
  ;;
11768
 
 
11769
 
sysv4 | sysv4.3*)
11770
 
  version_type=linux
11771
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11772
 
  soname_spec='${libname}${release}${shared_ext}$major'
11773
 
  shlibpath_var=LD_LIBRARY_PATH
11774
 
  case $host_vendor in
11775
 
    sni)
11776
 
      shlibpath_overrides_runpath=no
11777
 
      need_lib_prefix=no
11778
 
      runpath_var=LD_RUN_PATH
11779
 
      ;;
11780
 
    siemens)
11781
 
      need_lib_prefix=no
11782
 
      ;;
11783
 
    motorola)
11784
 
      need_lib_prefix=no
11785
 
      need_version=no
11786
 
      shlibpath_overrides_runpath=no
11787
 
      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11788
 
      ;;
11789
 
  esac
11790
 
  ;;
11791
 
 
11792
 
sysv4*MP*)
11793
 
  if test -d /usr/nec ;then
11794
 
    version_type=linux
11795
 
    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11796
 
    soname_spec='$libname${shared_ext}.$major'
11797
 
    shlibpath_var=LD_LIBRARY_PATH
11798
 
  fi
11799
 
  ;;
11800
 
 
11801
 
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11802
 
  version_type=freebsd-elf
11803
 
  need_lib_prefix=no
11804
 
  need_version=no
11805
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11806
 
  soname_spec='${libname}${release}${shared_ext}$major'
11807
 
  shlibpath_var=LD_LIBRARY_PATH
11808
 
  shlibpath_overrides_runpath=yes
11809
 
  hardcode_into_libs=yes
11810
 
  if test "$with_gnu_ld" = yes; then
11811
 
    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11812
 
  else
11813
 
    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11814
 
    case $host_os in
11815
 
      sco3.2v5*)
11816
 
        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11817
 
        ;;
11818
 
    esac
11819
 
  fi
11820
 
  sys_lib_dlsearch_path_spec='/usr/lib'
11821
 
  ;;
11822
 
 
11823
 
tpf*)
11824
 
  # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
11825
 
  version_type=linux
11826
 
  need_lib_prefix=no
11827
 
  need_version=no
11828
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11829
 
  shlibpath_var=LD_LIBRARY_PATH
11830
 
  shlibpath_overrides_runpath=no
11831
 
  hardcode_into_libs=yes
11832
 
  ;;
11833
 
 
11834
 
uts4*)
11835
 
  version_type=linux
11836
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11837
 
  soname_spec='${libname}${release}${shared_ext}$major'
11838
 
  shlibpath_var=LD_LIBRARY_PATH
11839
 
  ;;
11840
 
 
11841
 
*)
11842
 
  dynamic_linker=no
11843
 
  ;;
11844
 
esac
11845
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11846
 
$as_echo "$dynamic_linker" >&6; }
11847
 
test "$dynamic_linker" = no && can_build_shared=no
11848
 
 
11849
 
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11850
 
if test "$GCC" = yes; then
11851
 
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11852
 
fi
11853
 
 
11854
 
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11855
 
  sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11856
 
fi
11857
 
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11858
 
  sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11859
 
fi
11860
 
 
11861
 
 
11862
 
 
11863
 
 
11864
 
 
11865
 
 
11866
 
 
11867
 
 
11868
 
 
11869
 
 
11870
 
 
11871
 
 
11872
 
 
11873
 
 
11874
 
 
11875
 
 
11876
 
 
11877
 
 
11878
 
 
11879
 
 
11880
 
 
11881
 
 
11882
 
 
11883
 
 
11884
 
 
11885
 
 
11886
 
 
11887
 
 
11888
 
 
11889
 
 
11890
 
 
11891
 
 
11892
 
 
11893
 
 
11894
 
 
11895
 
 
11896
 
 
11897
 
 
11898
 
 
11899
 
 
11900
 
 
11901
 
 
11902
 
 
11903
 
 
11904
 
 
11905
 
 
11906
 
 
11907
 
 
11908
 
 
11909
 
 
11910
 
 
11911
 
 
11912
 
 
11913
 
 
11914
 
 
11915
 
 
11916
 
 
11917
 
 
11918
 
 
11919
 
 
11920
 
 
11921
 
 
11922
 
 
11923
 
 
11924
 
 
11925
 
 
11926
 
 
11927
 
 
11928
 
 
11929
 
 
11930
 
 
11931
 
 
11932
 
 
11933
 
 
11934
 
 
11935
 
 
11936
 
 
11937
 
 
11938
 
 
11939
 
 
11940
 
 
11941
 
 
11942
 
 
11943
 
 
11944
 
 
11945
 
 
11946
 
 
11947
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11948
 
$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11949
 
hardcode_action=
11950
 
if test -n "$hardcode_libdir_flag_spec" ||
11951
 
   test -n "$runpath_var" ||
11952
 
   test "X$hardcode_automatic" = "Xyes" ; then
11953
 
 
11954
 
  # We can hardcode non-existent directories.
11955
 
  if test "$hardcode_direct" != no &&
11956
 
     # If the only mechanism to avoid hardcoding is shlibpath_var, we
11957
 
     # have to relink, otherwise we might link with an installed library
11958
 
     # when we should be linking with a yet-to-be-installed one
11959
 
     ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11960
 
     test "$hardcode_minus_L" != no; then
11961
 
    # Linking always hardcodes the temporary library directory.
11962
 
    hardcode_action=relink
11963
 
  else
11964
 
    # We can link without hardcoding, and we can hardcode nonexisting dirs.
11965
 
    hardcode_action=immediate
11966
 
  fi
11967
 
else
11968
 
  # We cannot hardcode anything, or else we can only hardcode existing
11969
 
  # directories.
11970
 
  hardcode_action=unsupported
11971
 
fi
11972
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11973
 
$as_echo "$hardcode_action" >&6; }
11974
 
 
11975
 
if test "$hardcode_action" = relink ||
11976
 
   test "$inherit_rpath" = yes; then
11977
 
  # Fast installation is not supported
11978
 
  enable_fast_install=no
11979
 
elif test "$shlibpath_overrides_runpath" = yes ||
11980
 
     test "$enable_shared" = no; then
11981
 
  # Fast installation is not necessary
11982
 
  enable_fast_install=needless
11983
 
fi
11984
 
 
11985
 
 
11986
 
 
11987
 
 
11988
 
 
11989
 
 
11990
 
  if test "x$enable_dlopen" != xyes; then
11991
 
  enable_dlopen=unknown
11992
 
  enable_dlopen_self=unknown
11993
 
  enable_dlopen_self_static=unknown
11994
 
else
11995
 
  lt_cv_dlopen=no
11996
 
  lt_cv_dlopen_libs=
11997
 
 
11998
 
  case $host_os in
11999
 
  beos*)
12000
 
    lt_cv_dlopen="load_add_on"
12001
 
    lt_cv_dlopen_libs=
12002
 
    lt_cv_dlopen_self=yes
12003
 
    ;;
12004
 
 
12005
 
  mingw* | pw32* | cegcc*)
12006
 
    lt_cv_dlopen="LoadLibrary"
12007
 
    lt_cv_dlopen_libs=
12008
 
    ;;
12009
 
 
12010
 
  cygwin*)
12011
 
    lt_cv_dlopen="dlopen"
12012
 
    lt_cv_dlopen_libs=
12013
 
    ;;
12014
 
 
12015
 
  darwin*)
12016
 
  # if libdl is installed we need to link against it
12017
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12018
 
$as_echo_n "checking for dlopen in -ldl... " >&6; }
12019
 
if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
12020
 
  $as_echo_n "(cached) " >&6
12021
 
else
12022
 
  ac_check_lib_save_LIBS=$LIBS
12023
 
LIBS="-ldl  $LIBS"
12024
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12025
 
/* end confdefs.h.  */
12026
 
 
12027
 
/* Override any GCC internal prototype to avoid an error.
12028
 
   Use char because int might match the return type of a GCC
12029
 
   builtin and then its argument prototype would still apply.  */
12030
 
#ifdef __cplusplus
12031
 
extern "C"
12032
 
#endif
12033
 
char dlopen ();
12034
 
int
12035
 
main ()
12036
 
{
12037
 
return dlopen ();
12038
 
  ;
12039
 
  return 0;
12040
 
}
12041
 
_ACEOF
12042
 
if ac_fn_c_try_link "$LINENO"; then :
12043
 
  ac_cv_lib_dl_dlopen=yes
12044
 
else
12045
 
  ac_cv_lib_dl_dlopen=no
12046
 
fi
12047
 
rm -f core conftest.err conftest.$ac_objext \
12048
 
    conftest$ac_exeext conftest.$ac_ext
12049
 
LIBS=$ac_check_lib_save_LIBS
12050
 
fi
12051
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12052
 
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12053
 
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
12054
 
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
12055
 
else
12056
 
 
12057
 
    lt_cv_dlopen="dyld"
12058
 
    lt_cv_dlopen_libs=
12059
 
    lt_cv_dlopen_self=yes
12060
 
 
12061
 
fi
12062
 
 
12063
 
    ;;
12064
 
 
12065
 
  *)
12066
 
    ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
12067
 
if test "x$ac_cv_func_shl_load" = x""yes; then :
12068
 
  lt_cv_dlopen="shl_load"
12069
 
else
12070
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
12071
 
$as_echo_n "checking for shl_load in -ldld... " >&6; }
12072
 
if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
12073
 
  $as_echo_n "(cached) " >&6
12074
 
else
12075
 
  ac_check_lib_save_LIBS=$LIBS
12076
 
LIBS="-ldld  $LIBS"
12077
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12078
 
/* end confdefs.h.  */
12079
 
 
12080
 
/* Override any GCC internal prototype to avoid an error.
12081
 
   Use char because int might match the return type of a GCC
12082
 
   builtin and then its argument prototype would still apply.  */
12083
 
#ifdef __cplusplus
12084
 
extern "C"
12085
 
#endif
12086
 
char shl_load ();
12087
 
int
12088
 
main ()
12089
 
{
12090
 
return shl_load ();
12091
 
  ;
12092
 
  return 0;
12093
 
}
12094
 
_ACEOF
12095
 
if ac_fn_c_try_link "$LINENO"; then :
12096
 
  ac_cv_lib_dld_shl_load=yes
12097
 
else
12098
 
  ac_cv_lib_dld_shl_load=no
12099
 
fi
12100
 
rm -f core conftest.err conftest.$ac_objext \
12101
 
    conftest$ac_exeext conftest.$ac_ext
12102
 
LIBS=$ac_check_lib_save_LIBS
12103
 
fi
12104
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12105
 
$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12106
 
if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
12107
 
  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
12108
 
else
12109
 
  ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
12110
 
if test "x$ac_cv_func_dlopen" = x""yes; then :
12111
 
  lt_cv_dlopen="dlopen"
12112
 
else
12113
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12114
 
$as_echo_n "checking for dlopen in -ldl... " >&6; }
12115
 
if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
12116
 
  $as_echo_n "(cached) " >&6
12117
 
else
12118
 
  ac_check_lib_save_LIBS=$LIBS
12119
 
LIBS="-ldl  $LIBS"
12120
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12121
 
/* end confdefs.h.  */
12122
 
 
12123
 
/* Override any GCC internal prototype to avoid an error.
12124
 
   Use char because int might match the return type of a GCC
12125
 
   builtin and then its argument prototype would still apply.  */
12126
 
#ifdef __cplusplus
12127
 
extern "C"
12128
 
#endif
12129
 
char dlopen ();
12130
 
int
12131
 
main ()
12132
 
{
12133
 
return dlopen ();
12134
 
  ;
12135
 
  return 0;
12136
 
}
12137
 
_ACEOF
12138
 
if ac_fn_c_try_link "$LINENO"; then :
12139
 
  ac_cv_lib_dl_dlopen=yes
12140
 
else
12141
 
  ac_cv_lib_dl_dlopen=no
12142
 
fi
12143
 
rm -f core conftest.err conftest.$ac_objext \
12144
 
    conftest$ac_exeext conftest.$ac_ext
12145
 
LIBS=$ac_check_lib_save_LIBS
12146
 
fi
12147
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12148
 
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12149
 
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
12150
 
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
12151
 
else
12152
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12153
 
$as_echo_n "checking for dlopen in -lsvld... " >&6; }
12154
 
if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
12155
 
  $as_echo_n "(cached) " >&6
12156
 
else
12157
 
  ac_check_lib_save_LIBS=$LIBS
12158
 
LIBS="-lsvld  $LIBS"
12159
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12160
 
/* end confdefs.h.  */
12161
 
 
12162
 
/* Override any GCC internal prototype to avoid an error.
12163
 
   Use char because int might match the return type of a GCC
12164
 
   builtin and then its argument prototype would still apply.  */
12165
 
#ifdef __cplusplus
12166
 
extern "C"
12167
 
#endif
12168
 
char dlopen ();
12169
 
int
12170
 
main ()
12171
 
{
12172
 
return dlopen ();
12173
 
  ;
12174
 
  return 0;
12175
 
}
12176
 
_ACEOF
12177
 
if ac_fn_c_try_link "$LINENO"; then :
12178
 
  ac_cv_lib_svld_dlopen=yes
12179
 
else
12180
 
  ac_cv_lib_svld_dlopen=no
12181
 
fi
12182
 
rm -f core conftest.err conftest.$ac_objext \
12183
 
    conftest$ac_exeext conftest.$ac_ext
12184
 
LIBS=$ac_check_lib_save_LIBS
12185
 
fi
12186
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12187
 
$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12188
 
if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
12189
 
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
12190
 
else
12191
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12192
 
$as_echo_n "checking for dld_link in -ldld... " >&6; }
12193
 
if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
12194
 
  $as_echo_n "(cached) " >&6
12195
 
else
12196
 
  ac_check_lib_save_LIBS=$LIBS
12197
 
LIBS="-ldld  $LIBS"
12198
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12199
 
/* end confdefs.h.  */
12200
 
 
12201
 
/* Override any GCC internal prototype to avoid an error.
12202
 
   Use char because int might match the return type of a GCC
12203
 
   builtin and then its argument prototype would still apply.  */
12204
 
#ifdef __cplusplus
12205
 
extern "C"
12206
 
#endif
12207
 
char dld_link ();
12208
 
int
12209
 
main ()
12210
 
{
12211
 
return dld_link ();
12212
 
  ;
12213
 
  return 0;
12214
 
}
12215
 
_ACEOF
12216
 
if ac_fn_c_try_link "$LINENO"; then :
12217
 
  ac_cv_lib_dld_dld_link=yes
12218
 
else
12219
 
  ac_cv_lib_dld_dld_link=no
12220
 
fi
12221
 
rm -f core conftest.err conftest.$ac_objext \
12222
 
    conftest$ac_exeext conftest.$ac_ext
12223
 
LIBS=$ac_check_lib_save_LIBS
12224
 
fi
12225
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12226
 
$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12227
 
if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
12228
 
  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
12229
 
fi
12230
 
 
12231
 
 
12232
 
fi
12233
 
 
12234
 
 
12235
 
fi
12236
 
 
12237
 
 
12238
 
fi
12239
 
 
12240
 
 
12241
 
fi
12242
 
 
12243
 
 
12244
 
fi
12245
 
 
12246
 
    ;;
12247
 
  esac
12248
 
 
12249
 
  if test "x$lt_cv_dlopen" != xno; then
12250
 
    enable_dlopen=yes
12251
 
  else
12252
 
    enable_dlopen=no
12253
 
  fi
12254
 
 
12255
 
  case $lt_cv_dlopen in
12256
 
  dlopen)
12257
 
    save_CPPFLAGS="$CPPFLAGS"
12258
 
    test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
12259
 
 
12260
 
    save_LDFLAGS="$LDFLAGS"
12261
 
    wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
12262
 
 
12263
 
    save_LIBS="$LIBS"
12264
 
    LIBS="$lt_cv_dlopen_libs $LIBS"
12265
 
 
12266
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12267
 
$as_echo_n "checking whether a program can dlopen itself... " >&6; }
12268
 
if test "${lt_cv_dlopen_self+set}" = set; then :
12269
 
  $as_echo_n "(cached) " >&6
12270
 
else
12271
 
          if test "$cross_compiling" = yes; then :
12272
 
  lt_cv_dlopen_self=cross
12273
 
else
12274
 
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12275
 
  lt_status=$lt_dlunknown
12276
 
  cat > conftest.$ac_ext <<_LT_EOF
12277
 
#line 12277 "configure"
12278
 
#include "confdefs.h"
12279
 
 
12280
 
#if HAVE_DLFCN_H
12281
 
#include <dlfcn.h>
12282
 
#endif
12283
 
 
12284
 
#include <stdio.h>
12285
 
 
12286
 
#ifdef RTLD_GLOBAL
12287
 
#  define LT_DLGLOBAL           RTLD_GLOBAL
12288
 
#else
12289
 
#  ifdef DL_GLOBAL
12290
 
#    define LT_DLGLOBAL         DL_GLOBAL
12291
 
#  else
12292
 
#    define LT_DLGLOBAL         0
12293
 
#  endif
12294
 
#endif
12295
 
 
12296
 
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12297
 
   find out it does not work in some platform. */
12298
 
#ifndef LT_DLLAZY_OR_NOW
12299
 
#  ifdef RTLD_LAZY
12300
 
#    define LT_DLLAZY_OR_NOW            RTLD_LAZY
12301
 
#  else
12302
 
#    ifdef DL_LAZY
12303
 
#      define LT_DLLAZY_OR_NOW          DL_LAZY
12304
 
#    else
12305
 
#      ifdef RTLD_NOW
12306
 
#        define LT_DLLAZY_OR_NOW        RTLD_NOW
12307
 
#      else
12308
 
#        ifdef DL_NOW
12309
 
#          define LT_DLLAZY_OR_NOW      DL_NOW
12310
 
#        else
12311
 
#          define LT_DLLAZY_OR_NOW      0
12312
 
#        endif
12313
 
#      endif
12314
 
#    endif
12315
 
#  endif
12316
 
#endif
12317
 
 
12318
 
void fnord() { int i=42;}
12319
 
int main ()
12320
 
{
12321
 
  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12322
 
  int status = $lt_dlunknown;
12323
 
 
12324
 
  if (self)
12325
 
    {
12326
 
      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
12327
 
      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12328
 
      /* dlclose (self); */
12329
 
    }
12330
 
  else
12331
 
    puts (dlerror ());
12332
 
 
12333
 
  return status;
12334
 
}
12335
 
_LT_EOF
12336
 
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12337
 
  (eval $ac_link) 2>&5
12338
 
  ac_status=$?
12339
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12340
 
  test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12341
 
    (./conftest; exit; ) >&5 2>/dev/null
12342
 
    lt_status=$?
12343
 
    case x$lt_status in
12344
 
      x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
12345
 
      x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
12346
 
      x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
12347
 
    esac
12348
 
  else :
12349
 
    # compilation failed
12350
 
    lt_cv_dlopen_self=no
12351
 
  fi
12352
 
fi
12353
 
rm -fr conftest*
12354
 
 
12355
 
 
12356
 
fi
12357
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12358
 
$as_echo "$lt_cv_dlopen_self" >&6; }
12359
 
 
12360
 
    if test "x$lt_cv_dlopen_self" = xyes; then
12361
 
      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
12362
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12363
 
$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12364
 
if test "${lt_cv_dlopen_self_static+set}" = set; then :
12365
 
  $as_echo_n "(cached) " >&6
12366
 
else
12367
 
          if test "$cross_compiling" = yes; then :
12368
 
  lt_cv_dlopen_self_static=cross
12369
 
else
12370
 
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12371
 
  lt_status=$lt_dlunknown
12372
 
  cat > conftest.$ac_ext <<_LT_EOF
12373
 
#line 12373 "configure"
12374
 
#include "confdefs.h"
12375
 
 
12376
 
#if HAVE_DLFCN_H
12377
 
#include <dlfcn.h>
12378
 
#endif
12379
 
 
12380
 
#include <stdio.h>
12381
 
 
12382
 
#ifdef RTLD_GLOBAL
12383
 
#  define LT_DLGLOBAL           RTLD_GLOBAL
12384
 
#else
12385
 
#  ifdef DL_GLOBAL
12386
 
#    define LT_DLGLOBAL         DL_GLOBAL
12387
 
#  else
12388
 
#    define LT_DLGLOBAL         0
12389
 
#  endif
12390
 
#endif
12391
 
 
12392
 
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12393
 
   find out it does not work in some platform. */
12394
 
#ifndef LT_DLLAZY_OR_NOW
12395
 
#  ifdef RTLD_LAZY
12396
 
#    define LT_DLLAZY_OR_NOW            RTLD_LAZY
12397
 
#  else
12398
 
#    ifdef DL_LAZY
12399
 
#      define LT_DLLAZY_OR_NOW          DL_LAZY
12400
 
#    else
12401
 
#      ifdef RTLD_NOW
12402
 
#        define LT_DLLAZY_OR_NOW        RTLD_NOW
12403
 
#      else
12404
 
#        ifdef DL_NOW
12405
 
#          define LT_DLLAZY_OR_NOW      DL_NOW
12406
 
#        else
12407
 
#          define LT_DLLAZY_OR_NOW      0
12408
 
#        endif
12409
 
#      endif
12410
 
#    endif
12411
 
#  endif
12412
 
#endif
12413
 
 
12414
 
void fnord() { int i=42;}
12415
 
int main ()
12416
 
{
12417
 
  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12418
 
  int status = $lt_dlunknown;
12419
 
 
12420
 
  if (self)
12421
 
    {
12422
 
      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
12423
 
      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12424
 
      /* dlclose (self); */
12425
 
    }
12426
 
  else
12427
 
    puts (dlerror ());
12428
 
 
12429
 
  return status;
12430
 
}
12431
 
_LT_EOF
12432
 
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12433
 
  (eval $ac_link) 2>&5
12434
 
  ac_status=$?
12435
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12436
 
  test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12437
 
    (./conftest; exit; ) >&5 2>/dev/null
12438
 
    lt_status=$?
12439
 
    case x$lt_status in
12440
 
      x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
12441
 
      x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
12442
 
      x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
12443
 
    esac
12444
 
  else :
12445
 
    # compilation failed
12446
 
    lt_cv_dlopen_self_static=no
12447
 
  fi
12448
 
fi
12449
 
rm -fr conftest*
12450
 
 
12451
 
 
12452
 
fi
12453
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12454
 
$as_echo "$lt_cv_dlopen_self_static" >&6; }
12455
 
    fi
12456
 
 
12457
 
    CPPFLAGS="$save_CPPFLAGS"
12458
 
    LDFLAGS="$save_LDFLAGS"
12459
 
    LIBS="$save_LIBS"
12460
 
    ;;
12461
 
  esac
12462
 
 
12463
 
  case $lt_cv_dlopen_self in
12464
 
  yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
12465
 
  *) enable_dlopen_self=unknown ;;
12466
 
  esac
12467
 
 
12468
 
  case $lt_cv_dlopen_self_static in
12469
 
  yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
12470
 
  *) enable_dlopen_self_static=unknown ;;
12471
 
  esac
12472
 
fi
12473
 
 
12474
 
 
12475
 
 
12476
 
 
12477
 
 
12478
 
 
12479
 
 
12480
 
 
12481
 
 
12482
 
 
12483
 
 
12484
 
 
12485
 
 
12486
 
 
12487
 
 
12488
 
 
12489
 
 
12490
 
striplib=
12491
 
old_striplib=
12492
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12493
 
$as_echo_n "checking whether stripping libraries is possible... " >&6; }
12494
 
if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
12495
 
  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
12496
 
  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
12497
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12498
 
$as_echo "yes" >&6; }
12499
 
else
12500
 
# FIXME - insert some real tests, host_os isn't really good enough
12501
 
  case $host_os in
12502
 
  darwin*)
12503
 
    if test -n "$STRIP" ; then
12504
 
      striplib="$STRIP -x"
12505
 
      old_striplib="$STRIP -S"
12506
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12507
 
$as_echo "yes" >&6; }
12508
 
    else
12509
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12510
 
$as_echo "no" >&6; }
12511
 
    fi
12512
 
    ;;
12513
 
  *)
12514
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12515
 
$as_echo "no" >&6; }
12516
 
    ;;
12517
 
  esac
12518
 
fi
12519
 
 
12520
 
 
12521
 
 
12522
 
 
12523
 
 
12524
 
 
12525
 
 
12526
 
 
12527
 
 
12528
 
 
12529
 
 
12530
 
 
12531
 
  # Report which library types will actually be built
12532
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12533
 
$as_echo_n "checking if libtool supports shared libraries... " >&6; }
12534
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12535
 
$as_echo "$can_build_shared" >&6; }
12536
 
 
12537
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12538
 
$as_echo_n "checking whether to build shared libraries... " >&6; }
12539
 
  test "$can_build_shared" = "no" && enable_shared=no
12540
 
 
12541
 
  # On AIX, shared libraries and static libraries use the same namespace, and
12542
 
  # are all built from PIC.
12543
 
  case $host_os in
12544
 
  aix3*)
12545
 
    test "$enable_shared" = yes && enable_static=no
12546
 
    if test -n "$RANLIB"; then
12547
 
      archive_cmds="$archive_cmds~\$RANLIB \$lib"
12548
 
      postinstall_cmds='$RANLIB $lib'
12549
 
    fi
12550
 
    ;;
12551
 
 
12552
 
  aix[4-9]*)
12553
 
    if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
12554
 
      test "$enable_shared" = yes && enable_static=no
12555
 
    fi
12556
 
    ;;
12557
 
  esac
12558
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12559
 
$as_echo "$enable_shared" >&6; }
12560
 
 
12561
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12562
 
$as_echo_n "checking whether to build static libraries... " >&6; }
12563
 
  # Make sure either enable_shared or enable_static is yes.
12564
 
  test "$enable_shared" = yes || enable_static=yes
12565
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12566
 
$as_echo "$enable_static" >&6; }
12567
 
 
12568
 
 
12569
 
 
12570
 
 
12571
 
fi
12572
 
ac_ext=c
12573
 
ac_cpp='$CPP $CPPFLAGS'
12574
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12575
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12576
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
12577
 
 
12578
 
CC="$lt_save_CC"
12579
 
 
12580
 
 
12581
 
ac_ext=cpp
12582
 
ac_cpp='$CXXCPP $CPPFLAGS'
12583
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12584
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12585
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12586
 
 
12587
 
archive_cmds_need_lc_CXX=no
12588
 
allow_undefined_flag_CXX=
12589
 
always_export_symbols_CXX=no
12590
 
archive_expsym_cmds_CXX=
12591
 
compiler_needs_object_CXX=no
12592
 
export_dynamic_flag_spec_CXX=
12593
 
hardcode_direct_CXX=no
12594
 
hardcode_direct_absolute_CXX=no
12595
 
hardcode_libdir_flag_spec_CXX=
12596
 
hardcode_libdir_flag_spec_ld_CXX=
12597
 
hardcode_libdir_separator_CXX=
12598
 
hardcode_minus_L_CXX=no
12599
 
hardcode_shlibpath_var_CXX=unsupported
12600
 
hardcode_automatic_CXX=no
12601
 
inherit_rpath_CXX=no
12602
 
module_cmds_CXX=
12603
 
module_expsym_cmds_CXX=
12604
 
link_all_deplibs_CXX=unknown
12605
 
old_archive_cmds_CXX=$old_archive_cmds
12606
 
no_undefined_flag_CXX=
12607
 
whole_archive_flag_spec_CXX=
12608
 
enable_shared_with_static_runtimes_CXX=no
12609
 
 
12610
 
# Source file extension for C++ test sources.
12611
 
ac_ext=cpp
12612
 
 
12613
 
# Object file extension for compiled C++ test sources.
12614
 
objext=o
12615
 
objext_CXX=$objext
12616
 
 
12617
 
# No sense in running all these tests if we already determined that
12618
 
# the CXX compiler isn't working.  Some variables (like enable_shared)
12619
 
# are currently assumed to apply to all compilers on this platform,
12620
 
# and will be corrupted by setting them based on a non-working compiler.
12621
 
if test "$_lt_caught_CXX_error" != yes; then
12622
 
  # Code to be used in simple compile tests
12623
 
  lt_simple_compile_test_code="int some_variable = 0;"
12624
 
 
12625
 
  # Code to be used in simple link tests
12626
 
  lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
12627
 
 
12628
 
  # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12629
 
 
12630
 
 
12631
 
 
12632
 
 
12633
 
 
12634
 
 
12635
 
# If no C compiler was specified, use CC.
12636
 
LTCC=${LTCC-"$CC"}
12637
 
 
12638
 
# If no C compiler flags were specified, use CFLAGS.
12639
 
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
12640
 
 
12641
 
# Allow CC to be a program name with arguments.
12642
 
compiler=$CC
12643
 
 
12644
 
 
12645
 
  # save warnings/boilerplate of simple test code
12646
 
  ac_outfile=conftest.$ac_objext
12647
 
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
12648
 
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12649
 
_lt_compiler_boilerplate=`cat conftest.err`
12650
 
$RM conftest*
12651
 
 
12652
 
  ac_outfile=conftest.$ac_objext
12653
 
echo "$lt_simple_link_test_code" >conftest.$ac_ext
12654
 
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12655
 
_lt_linker_boilerplate=`cat conftest.err`
12656
 
$RM -r conftest*
12657
 
 
12658
 
 
12659
 
  # Allow CC to be a program name with arguments.
12660
 
  lt_save_CC=$CC
12661
 
  lt_save_LD=$LD
12662
 
  lt_save_GCC=$GCC
12663
 
  GCC=$GXX
12664
 
  lt_save_with_gnu_ld=$with_gnu_ld
12665
 
  lt_save_path_LD=$lt_cv_path_LD
12666
 
  if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
12667
 
    lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
12668
 
  else
12669
 
    $as_unset lt_cv_prog_gnu_ld
12670
 
  fi
12671
 
  if test -n "${lt_cv_path_LDCXX+set}"; then
12672
 
    lt_cv_path_LD=$lt_cv_path_LDCXX
12673
 
  else
12674
 
    $as_unset lt_cv_path_LD
12675
 
  fi
12676
 
  test -z "${LDCXX+set}" || LD=$LDCXX
12677
 
  CC=${CXX-"c++"}
12678
 
  compiler=$CC
12679
 
  compiler_CXX=$CC
12680
 
  for cc_temp in $compiler""; do
12681
 
  case $cc_temp in
12682
 
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
12683
 
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
12684
 
    \-*) ;;
12685
 
    *) break;;
12686
 
  esac
12687
 
done
12688
 
cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
12689
 
 
12690
 
 
12691
 
  if test -n "$compiler"; then
12692
 
    # We don't want -fno-exception when compiling C++ code, so set the
12693
 
    # no_builtin_flag separately
12694
 
    if test "$GXX" = yes; then
12695
 
      lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
12696
 
    else
12697
 
      lt_prog_compiler_no_builtin_flag_CXX=
12698
 
    fi
12699
 
 
12700
 
    if test "$GXX" = yes; then
12701
 
      # Set up default GNU C++ configuration
12702
 
 
12703
 
 
12704
 
 
12705
 
# Check whether --with-gnu-ld was given.
12706
 
if test "${with_gnu_ld+set}" = set; then :
12707
 
  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
12708
 
else
12709
 
  with_gnu_ld=no
12710
 
fi
12711
 
 
12712
 
ac_prog=ld
12713
 
if test "$GCC" = yes; then
12714
 
  # Check if gcc -print-prog-name=ld gives a path.
12715
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
12716
 
$as_echo_n "checking for ld used by $CC... " >&6; }
12717
 
  case $host in
12718
 
  *-*-mingw*)
12719
 
    # gcc leaves a trailing carriage return which upsets mingw
12720
 
    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12721
 
  *)
12722
 
    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
12723
 
  esac
12724
 
  case $ac_prog in
12725
 
    # Accept absolute paths.
12726
 
    [\\/]* | ?:[\\/]*)
12727
 
      re_direlt='/[^/][^/]*/\.\./'
12728
 
      # Canonicalize the pathname of ld
12729
 
      ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
12730
 
      while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
12731
 
        ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
12732
 
      done
12733
 
      test -z "$LD" && LD="$ac_prog"
12734
 
      ;;
12735
 
  "")
12736
 
    # If it fails, then pretend we aren't using GCC.
12737
 
    ac_prog=ld
12738
 
    ;;
12739
 
  *)
12740
 
    # If it is relative, then search for the first ld in PATH.
12741
 
    with_gnu_ld=unknown
12742
 
    ;;
12743
 
  esac
12744
 
elif test "$with_gnu_ld" = yes; then
12745
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
12746
 
$as_echo_n "checking for GNU ld... " >&6; }
12747
 
else
12748
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12749
 
$as_echo_n "checking for non-GNU ld... " >&6; }
12750
 
fi
12751
 
if test "${lt_cv_path_LD+set}" = set; then :
12752
 
  $as_echo_n "(cached) " >&6
12753
 
else
12754
 
  if test -z "$LD"; then
12755
 
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
12756
 
  for ac_dir in $PATH; do
12757
 
    IFS="$lt_save_ifs"
12758
 
    test -z "$ac_dir" && ac_dir=.
12759
 
    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
12760
 
      lt_cv_path_LD="$ac_dir/$ac_prog"
12761
 
      # Check to see if the program is GNU ld.  I'd rather use --version,
12762
 
      # but apparently some variants of GNU ld only accept -v.
12763
 
      # Break only if it was the GNU/non-GNU ld that we prefer.
12764
 
      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12765
 
      *GNU* | *'with BFD'*)
12766
 
        test "$with_gnu_ld" != no && break
12767
 
        ;;
12768
 
      *)
12769
 
        test "$with_gnu_ld" != yes && break
12770
 
        ;;
12771
 
      esac
12772
 
    fi
12773
 
  done
12774
 
  IFS="$lt_save_ifs"
12775
 
else
12776
 
  lt_cv_path_LD="$LD" # Let the user override the test with a path.
12777
 
fi
12778
 
fi
12779
 
 
12780
 
LD="$lt_cv_path_LD"
12781
 
if test -n "$LD"; then
12782
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
12783
 
$as_echo "$LD" >&6; }
12784
 
else
12785
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12786
 
$as_echo "no" >&6; }
12787
 
fi
12788
 
test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
12789
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
12790
 
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12791
 
if test "${lt_cv_prog_gnu_ld+set}" = set; then :
12792
 
  $as_echo_n "(cached) " >&6
12793
 
else
12794
 
  # I'd rather use --version here, but apparently some GNU lds only accept -v.
12795
 
case `$LD -v 2>&1 </dev/null` in
12796
 
*GNU* | *'with BFD'*)
12797
 
  lt_cv_prog_gnu_ld=yes
12798
 
  ;;
12799
 
*)
12800
 
  lt_cv_prog_gnu_ld=no
12801
 
  ;;
12802
 
esac
12803
 
fi
12804
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
12805
 
$as_echo "$lt_cv_prog_gnu_ld" >&6; }
12806
 
with_gnu_ld=$lt_cv_prog_gnu_ld
12807
 
 
12808
 
 
12809
 
 
12810
 
 
12811
 
 
12812
 
 
12813
 
 
12814
 
      # Check if GNU C++ uses GNU ld as the underlying linker, since the
12815
 
      # archiving commands below assume that GNU ld is being used.
12816
 
      if test "$with_gnu_ld" = yes; then
12817
 
        archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12818
 
        archive_expsym_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12819
 
 
12820
 
        hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12821
 
        export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12822
 
 
12823
 
        # If archive_cmds runs LD, not CC, wlarc should be empty
12824
 
        # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
12825
 
        #     investigate it a little bit more. (MM)
12826
 
        wlarc='${wl}'
12827
 
 
12828
 
        # ancient GNU ld didn't support --whole-archive et. al.
12829
 
        if eval "`$CC -print-prog-name=ld` --help 2>&1" |
12830
 
          $GREP 'no-whole-archive' > /dev/null; then
12831
 
          whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12832
 
        else
12833
 
          whole_archive_flag_spec_CXX=
12834
 
        fi
12835
 
      else
12836
 
        with_gnu_ld=no
12837
 
        wlarc=
12838
 
 
12839
 
        # A generic and very simple default shared library creation
12840
 
        # command for GNU C++ for the case where it uses the native
12841
 
        # linker, instead of GNU ld.  If possible, this setting should
12842
 
        # overridden to take advantage of the native linker features on
12843
 
        # the platform it is being used on.
12844
 
        archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12845
 
      fi
12846
 
 
12847
 
      # Commands to make compiler produce verbose output that lists
12848
 
      # what "hidden" libraries, object files and flags are used when
12849
 
      # linking a shared library.
12850
 
      output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
12851
 
 
12852
 
    else
12853
 
      GXX=no
12854
 
      with_gnu_ld=no
12855
 
      wlarc=
12856
 
    fi
12857
 
 
12858
 
    # PORTME: fill in a description of your system's C++ link characteristics
12859
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12860
 
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12861
 
    ld_shlibs_CXX=yes
12862
 
    case $host_os in
12863
 
      aix3*)
12864
 
        # FIXME: insert proper C++ library support
12865
 
        ld_shlibs_CXX=no
12866
 
        ;;
12867
 
      aix[4-9]*)
12868
 
        if test "$host_cpu" = ia64; then
12869
 
          # On IA64, the linker does run time linking by default, so we don't
12870
 
          # have to do anything special.
12871
 
          aix_use_runtimelinking=no
12872
 
          exp_sym_flag='-Bexport'
12873
 
          no_entry_flag=""
12874
 
        else
12875
 
          aix_use_runtimelinking=no
12876
 
 
12877
 
          # Test if we are trying to use run time linking or normal
12878
 
          # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12879
 
          # need to do runtime linking.
12880
 
          case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
12881
 
            for ld_flag in $LDFLAGS; do
12882
 
              case $ld_flag in
12883
 
              *-brtl*)
12884
 
                aix_use_runtimelinking=yes
12885
 
                break
12886
 
                ;;
12887
 
              esac
12888
 
            done
12889
 
            ;;
12890
 
          esac
12891
 
 
12892
 
          exp_sym_flag='-bexport'
12893
 
          no_entry_flag='-bnoentry'
12894
 
        fi
12895
 
 
12896
 
        # When large executables or shared objects are built, AIX ld can
12897
 
        # have problems creating the table of contents.  If linking a library
12898
 
        # or program results in "error TOC overflow" add -mminimal-toc to
12899
 
        # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
12900
 
        # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12901
 
 
12902
 
        archive_cmds_CXX=''
12903
 
        hardcode_direct_CXX=yes
12904
 
        hardcode_direct_absolute_CXX=yes
12905
 
        hardcode_libdir_separator_CXX=':'
12906
 
        link_all_deplibs_CXX=yes
12907
 
        file_list_spec_CXX='${wl}-f,'
12908
 
 
12909
 
        if test "$GXX" = yes; then
12910
 
          case $host_os in aix4.[012]|aix4.[012].*)
12911
 
          # We only want to do this on AIX 4.2 and lower, the check
12912
 
          # below for broken collect2 doesn't work under 4.3+
12913
 
          collect2name=`${CC} -print-prog-name=collect2`
12914
 
          if test -f "$collect2name" &&
12915
 
             strings "$collect2name" | $GREP resolve_lib_name >/dev/null
12916
 
          then
12917
 
            # We have reworked collect2
12918
 
            :
12919
 
          else
12920
 
            # We have old collect2
12921
 
            hardcode_direct_CXX=unsupported
12922
 
            # It fails to find uninstalled libraries when the uninstalled
12923
 
            # path is not listed in the libpath.  Setting hardcode_minus_L
12924
 
            # to unsupported forces relinking
12925
 
            hardcode_minus_L_CXX=yes
12926
 
            hardcode_libdir_flag_spec_CXX='-L$libdir'
12927
 
            hardcode_libdir_separator_CXX=
12928
 
          fi
12929
 
          esac
12930
 
          shared_flag='-shared'
12931
 
          if test "$aix_use_runtimelinking" = yes; then
12932
 
            shared_flag="$shared_flag "'${wl}-G'
12933
 
          fi
12934
 
        else
12935
 
          # not using gcc
12936
 
          if test "$host_cpu" = ia64; then
12937
 
          # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12938
 
          # chokes on -Wl,-G. The following line is correct:
12939
 
          shared_flag='-G'
12940
 
          else
12941
 
            if test "$aix_use_runtimelinking" = yes; then
12942
 
              shared_flag='${wl}-G'
12943
 
            else
12944
 
              shared_flag='${wl}-bM:SRE'
12945
 
            fi
12946
 
          fi
12947
 
        fi
12948
 
 
12949
 
        export_dynamic_flag_spec_CXX='${wl}-bexpall'
12950
 
        # It seems that -bexpall does not export symbols beginning with
12951
 
        # underscore (_), so it is better to generate a list of symbols to
12952
 
        # export.
12953
 
        always_export_symbols_CXX=yes
12954
 
        if test "$aix_use_runtimelinking" = yes; then
12955
 
          # Warning - without using the other runtime loading flags (-brtl),
12956
 
          # -berok will link without error, but may produce a broken library.
12957
 
          allow_undefined_flag_CXX='-berok'
12958
 
          # Determine the default libpath from the value encoded in an empty
12959
 
          # executable.
12960
 
          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12961
 
/* end confdefs.h.  */
12962
 
 
12963
 
int
12964
 
main ()
12965
 
{
12966
 
 
12967
 
  ;
12968
 
  return 0;
12969
 
}
12970
 
_ACEOF
12971
 
if ac_fn_cxx_try_link "$LINENO"; then :
12972
 
 
12973
 
lt_aix_libpath_sed='
12974
 
    /Import File Strings/,/^$/ {
12975
 
        /^0/ {
12976
 
            s/^0  *\(.*\)$/\1/
12977
 
            p
12978
 
        }
12979
 
    }'
12980
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12981
 
# Check for a 64-bit object if we didn't find anything.
12982
 
if test -z "$aix_libpath"; then
12983
 
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12984
 
fi
12985
 
fi
12986
 
rm -f core conftest.err conftest.$ac_objext \
12987
 
    conftest$ac_exeext conftest.$ac_ext
12988
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12989
 
 
12990
 
          hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12991
 
 
12992
 
          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 $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
12993
 
        else
12994
 
          if test "$host_cpu" = ia64; then
12995
 
            hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
12996
 
            allow_undefined_flag_CXX="-z nodefs"
12997
 
            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"
12998
 
          else
12999
 
            # Determine the default libpath from the value encoded in an
13000
 
            # empty executable.
13001
 
            cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13002
 
/* end confdefs.h.  */
13003
 
 
13004
 
int
13005
 
main ()
13006
 
{
13007
 
 
13008
 
  ;
13009
 
  return 0;
13010
 
}
13011
 
_ACEOF
13012
 
if ac_fn_cxx_try_link "$LINENO"; then :
13013
 
 
13014
 
lt_aix_libpath_sed='
13015
 
    /Import File Strings/,/^$/ {
13016
 
        /^0/ {
13017
 
            s/^0  *\(.*\)$/\1/
13018
 
            p
13019
 
        }
13020
 
    }'
13021
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13022
 
# Check for a 64-bit object if we didn't find anything.
13023
 
if test -z "$aix_libpath"; then
13024
 
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13025
 
fi
13026
 
fi
13027
 
rm -f core conftest.err conftest.$ac_objext \
13028
 
    conftest$ac_exeext conftest.$ac_ext
13029
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
13030
 
 
13031
 
            hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
13032
 
            # Warning - without using the other run time loading flags,
13033
 
            # -berok will link without error, but may produce a broken library.
13034
 
            no_undefined_flag_CXX=' ${wl}-bernotok'
13035
 
            allow_undefined_flag_CXX=' ${wl}-berok'
13036
 
            # Exported symbols can be pulled into shared objects from archives
13037
 
            whole_archive_flag_spec_CXX='$convenience'
13038
 
            archive_cmds_need_lc_CXX=yes
13039
 
            # This is similar to how AIX traditionally builds its shared
13040
 
            # libraries.
13041
 
            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'
13042
 
          fi
13043
 
        fi
13044
 
        ;;
13045
 
 
13046
 
      beos*)
13047
 
        if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
13048
 
          allow_undefined_flag_CXX=unsupported
13049
 
          # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
13050
 
          # support --undefined.  This deserves some investigation.  FIXME
13051
 
          archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13052
 
        else
13053
 
          ld_shlibs_CXX=no
13054
 
        fi
13055
 
        ;;
13056
 
 
13057
 
      chorus*)
13058
 
        case $cc_basename in
13059
 
          *)
13060
 
          # FIXME: insert proper C++ library support
13061
 
          ld_shlibs_CXX=no
13062
 
          ;;
13063
 
        esac
13064
 
        ;;
13065
 
 
13066
 
      cygwin* | mingw* | pw32* | cegcc*)
13067
 
        # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
13068
 
        # as there is no search path for DLLs.
13069
 
        hardcode_libdir_flag_spec_CXX='-L$libdir'
13070
 
        allow_undefined_flag_CXX=unsupported
13071
 
        always_export_symbols_CXX=no
13072
 
        enable_shared_with_static_runtimes_CXX=yes
13073
 
 
13074
 
        if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
13075
 
          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'
13076
 
          # If the export-symbols file already is a .def file (1st line
13077
 
          # is EXPORTS), use it as is; otherwise, prepend...
13078
 
          archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13079
 
            cp $export_symbols $output_objdir/$soname.def;
13080
 
          else
13081
 
            echo EXPORTS > $output_objdir/$soname.def;
13082
 
            cat $export_symbols >> $output_objdir/$soname.def;
13083
 
          fi~
13084
 
          $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'
13085
 
        else
13086
 
          ld_shlibs_CXX=no
13087
 
        fi
13088
 
        ;;
13089
 
      darwin* | rhapsody*)
13090
 
 
13091
 
 
13092
 
  archive_cmds_need_lc_CXX=no
13093
 
  hardcode_direct_CXX=no
13094
 
  hardcode_automatic_CXX=yes
13095
 
  hardcode_shlibpath_var_CXX=unsupported
13096
 
  whole_archive_flag_spec_CXX=''
13097
 
  link_all_deplibs_CXX=yes
13098
 
  allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
13099
 
  case $cc_basename in
13100
 
     ifort*) _lt_dar_can_shared=yes ;;
13101
 
     *) _lt_dar_can_shared=$GCC ;;
13102
 
  esac
13103
 
  if test "$_lt_dar_can_shared" = "yes"; then
13104
 
    output_verbose_link_cmd=echo
13105
 
    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}"
13106
 
    module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
13107
 
    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}"
13108
 
    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}"
13109
 
       if test "$lt_cv_apple_cc_single_mod" != "yes"; then
13110
 
      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}"
13111
 
      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}"
13112
 
    fi
13113
 
 
13114
 
  else
13115
 
  ld_shlibs_CXX=no
13116
 
  fi
13117
 
 
13118
 
        ;;
13119
 
 
13120
 
      dgux*)
13121
 
        case $cc_basename in
13122
 
          ec++*)
13123
 
            # FIXME: insert proper C++ library support
13124
 
            ld_shlibs_CXX=no
13125
 
            ;;
13126
 
          ghcx*)
13127
 
            # Green Hills C++ Compiler
13128
 
            # FIXME: insert proper C++ library support
13129
 
            ld_shlibs_CXX=no
13130
 
            ;;
13131
 
          *)
13132
 
            # FIXME: insert proper C++ library support
13133
 
            ld_shlibs_CXX=no
13134
 
            ;;
13135
 
        esac
13136
 
        ;;
13137
 
 
13138
 
      freebsd[12]*)
13139
 
        # C++ shared libraries reported to be fairly broken before
13140
 
        # switch to ELF
13141
 
        ld_shlibs_CXX=no
13142
 
        ;;
13143
 
 
13144
 
      freebsd-elf*)
13145
 
        archive_cmds_need_lc_CXX=no
13146
 
        ;;
13147
 
 
13148
 
      freebsd* | dragonfly*)
13149
 
        # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
13150
 
        # conventions
13151
 
        ld_shlibs_CXX=yes
13152
 
        ;;
13153
 
 
13154
 
      gnu*)
13155
 
        ;;
13156
 
 
13157
 
      hpux9*)
13158
 
        hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
13159
 
        hardcode_libdir_separator_CXX=:
13160
 
        export_dynamic_flag_spec_CXX='${wl}-E'
13161
 
        hardcode_direct_CXX=yes
13162
 
        hardcode_minus_L_CXX=yes # Not in the search PATH,
13163
 
                                             # but as the default
13164
 
                                             # location of the library.
13165
 
 
13166
 
        case $cc_basename in
13167
 
          CC*)
13168
 
            # FIXME: insert proper C++ library support
13169
 
            ld_shlibs_CXX=no
13170
 
            ;;
13171
 
          aCC*)
13172
 
            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'
13173
 
            # Commands to make compiler produce verbose output that lists
13174
 
            # what "hidden" libraries, object files and flags are used when
13175
 
            # linking a shared library.
13176
 
            #
13177
 
            # There doesn't appear to be a way to prevent this compiler from
13178
 
            # explicitly linking system object files so we need to strip them
13179
 
            # from the output so that they don't get included in the library
13180
 
            # dependencies.
13181
 
            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; $ECHO "X$list" | $Xsed'
13182
 
            ;;
13183
 
          *)
13184
 
            if test "$GXX" = yes; then
13185
 
              archive_cmds_CXX='$RM $output_objdir/$soname~$CC -shared -nostdlib -fPIC ${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'
13186
 
            else
13187
 
              # FIXME: insert proper C++ library support
13188
 
              ld_shlibs_CXX=no
13189
 
            fi
13190
 
            ;;
13191
 
        esac
13192
 
        ;;
13193
 
 
13194
 
      hpux10*|hpux11*)
13195
 
        if test $with_gnu_ld = no; then
13196
 
          hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
13197
 
          hardcode_libdir_separator_CXX=:
13198
 
 
13199
 
          case $host_cpu in
13200
 
            hppa*64*|ia64*)
13201
 
              ;;
13202
 
            *)
13203
 
              export_dynamic_flag_spec_CXX='${wl}-E'
13204
 
              ;;
13205
 
          esac
13206
 
        fi
13207
 
        case $host_cpu in
13208
 
          hppa*64*|ia64*)
13209
 
            hardcode_direct_CXX=no
13210
 
            hardcode_shlibpath_var_CXX=no
13211
 
            ;;
13212
 
          *)
13213
 
            hardcode_direct_CXX=yes
13214
 
            hardcode_direct_absolute_CXX=yes
13215
 
            hardcode_minus_L_CXX=yes # Not in the search PATH,
13216
 
                                                 # but as the default
13217
 
                                                 # location of the library.
13218
 
            ;;
13219
 
        esac
13220
 
 
13221
 
        case $cc_basename in
13222
 
          CC*)
13223
 
            # FIXME: insert proper C++ library support
13224
 
            ld_shlibs_CXX=no
13225
 
            ;;
13226
 
          aCC*)
13227
 
            case $host_cpu in
13228
 
              hppa*64*)
13229
 
                archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13230
 
                ;;
13231
 
              ia64*)
13232
 
                archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13233
 
                ;;
13234
 
              *)
13235
 
                archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13236
 
                ;;
13237
 
            esac
13238
 
            # Commands to make compiler produce verbose output that lists
13239
 
            # what "hidden" libraries, object files and flags are used when
13240
 
            # linking a shared library.
13241
 
            #
13242
 
            # There doesn't appear to be a way to prevent this compiler from
13243
 
            # explicitly linking system object files so we need to strip them
13244
 
            # from the output so that they don't get included in the library
13245
 
            # dependencies.
13246
 
            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; $ECHO "X$list" | $Xsed'
13247
 
            ;;
13248
 
          *)
13249
 
            if test "$GXX" = yes; then
13250
 
              if test $with_gnu_ld = no; then
13251
 
                case $host_cpu in
13252
 
                  hppa*64*)
13253
 
                    archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13254
 
                    ;;
13255
 
                  ia64*)
13256
 
                    archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13257
 
                    ;;
13258
 
                  *)
13259
 
                    archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13260
 
                    ;;
13261
 
                esac
13262
 
              fi
13263
 
            else
13264
 
              # FIXME: insert proper C++ library support
13265
 
              ld_shlibs_CXX=no
13266
 
            fi
13267
 
            ;;
13268
 
        esac
13269
 
        ;;
13270
 
 
13271
 
      interix[3-9]*)
13272
 
        hardcode_direct_CXX=no
13273
 
        hardcode_shlibpath_var_CXX=no
13274
 
        hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13275
 
        export_dynamic_flag_spec_CXX='${wl}-E'
13276
 
        # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
13277
 
        # Instead, shared libraries are loaded at an image base (0x10000000 by
13278
 
        # default) and relocated if they conflict, which is a slow very memory
13279
 
        # consuming and fragmenting process.  To avoid this, we pick a random,
13280
 
        # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
13281
 
        # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
13282
 
        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'
13283
 
        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'
13284
 
        ;;
13285
 
      irix5* | irix6*)
13286
 
        case $cc_basename in
13287
 
          CC*)
13288
 
            # SGI C++
13289
 
            archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
13290
 
 
13291
 
            # Archives containing C++ object files must be created using
13292
 
            # "CC -ar", where "CC" is the IRIX C++ compiler.  This is
13293
 
            # necessary to make sure instantiated templates are included
13294
 
            # in the archive.
13295
 
            old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
13296
 
            ;;
13297
 
          *)
13298
 
            if test "$GXX" = yes; then
13299
 
              if test "$with_gnu_ld" = no; then
13300
 
                archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
13301
 
              else
13302
 
                archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` -o $lib'
13303
 
              fi
13304
 
            fi
13305
 
            link_all_deplibs_CXX=yes
13306
 
            ;;
13307
 
        esac
13308
 
        hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13309
 
        hardcode_libdir_separator_CXX=:
13310
 
        inherit_rpath_CXX=yes
13311
 
        ;;
13312
 
 
13313
 
      linux* | k*bsd*-gnu | kopensolaris*-gnu)
13314
 
        case $cc_basename in
13315
 
          KCC*)
13316
 
            # Kuck and Associates, Inc. (KAI) C++ Compiler
13317
 
 
13318
 
            # KCC will only create a shared library if the output file
13319
 
            # ends with ".so" (or ".sl" for HP-UX), so rename the library
13320
 
            # to its proper name (with version) after linking.
13321
 
            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'
13322
 
            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'
13323
 
            # Commands to make compiler produce verbose output that lists
13324
 
            # what "hidden" libraries, object files and flags are used when
13325
 
            # linking a shared library.
13326
 
            #
13327
 
            # There doesn't appear to be a way to prevent this compiler from
13328
 
            # explicitly linking system object files so we need to strip them
13329
 
            # from the output so that they don't get included in the library
13330
 
            # dependencies.
13331
 
            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; $ECHO "X$list" | $Xsed'
13332
 
 
13333
 
            hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13334
 
            export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13335
 
 
13336
 
            # Archives containing C++ object files must be created using
13337
 
            # "CC -Bstatic", where "CC" is the KAI C++ compiler.
13338
 
            old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
13339
 
            ;;
13340
 
          icpc* | ecpc* )
13341
 
            # Intel C++
13342
 
            with_gnu_ld=yes
13343
 
            # version 8.0 and above of icpc choke on multiply defined symbols
13344
 
            # if we add $predep_objects and $postdep_objects, however 7.1 and
13345
 
            # earlier do not add the objects themselves.
13346
 
            case `$CC -V 2>&1` in
13347
 
              *"Version 7."*)
13348
 
                archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13349
 
                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'
13350
 
                ;;
13351
 
              *)  # Version 8.0 or newer
13352
 
                tmp_idyn=
13353
 
                case $host_cpu in
13354
 
                  ia64*) tmp_idyn=' -i_dynamic';;
13355
 
                esac
13356
 
                archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13357
 
                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'
13358
 
                ;;
13359
 
            esac
13360
 
            archive_cmds_need_lc_CXX=no
13361
 
            hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13362
 
            export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13363
 
            whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
13364
 
            ;;
13365
 
          pgCC* | pgcpp*)
13366
 
            # Portland Group C++ compiler
13367
 
            case `$CC -V` in
13368
 
            *pgCC\ [1-5]* | *pgcpp\ [1-5]*)
13369
 
              prelink_cmds_CXX='tpldir=Template.dir~
13370
 
                rm -rf $tpldir~
13371
 
                $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
13372
 
                compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
13373
 
              old_archive_cmds_CXX='tpldir=Template.dir~
13374
 
                rm -rf $tpldir~
13375
 
                $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
13376
 
                $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
13377
 
                $RANLIB $oldlib'
13378
 
              archive_cmds_CXX='tpldir=Template.dir~
13379
 
                rm -rf $tpldir~
13380
 
                $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
13381
 
                $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13382
 
              archive_expsym_cmds_CXX='tpldir=Template.dir~
13383
 
                rm -rf $tpldir~
13384
 
                $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
13385
 
                $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
13386
 
              ;;
13387
 
            *) # Version 6 will use weak symbols
13388
 
              archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13389
 
              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'
13390
 
              ;;
13391
 
            esac
13392
 
 
13393
 
            hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
13394
 
            export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13395
 
            whole_archive_flag_spec_CXX='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
13396
 
            ;;
13397
 
          cxx*)
13398
 
            # Compaq C++
13399
 
            archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13400
 
            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'
13401
 
 
13402
 
            runpath_var=LD_RUN_PATH
13403
 
            hardcode_libdir_flag_spec_CXX='-rpath $libdir'
13404
 
            hardcode_libdir_separator_CXX=:
13405
 
 
13406
 
            # Commands to make compiler produce verbose output that lists
13407
 
            # what "hidden" libraries, object files and flags are used when
13408
 
            # linking a shared library.
13409
 
            #
13410
 
            # There doesn't appear to be a way to prevent this compiler from
13411
 
            # explicitly linking system object files so we need to strip them
13412
 
            # from the output so that they don't get included in the library
13413
 
            # dependencies.
13414
 
            output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`$ECHO "X$templist" | $Xsed -e "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
13415
 
            ;;
13416
 
          xl*)
13417
 
            # IBM XL 8.0 on PPC, with GNU ld
13418
 
            hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13419
 
            export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13420
 
            archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13421
 
            if test "x$supports_anon_versioning" = xyes; then
13422
 
              archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
13423
 
                cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
13424
 
                echo "local: *; };" >> $output_objdir/$libname.ver~
13425
 
                $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
13426
 
            fi
13427
 
            ;;
13428
 
          *)
13429
 
            case `$CC -V 2>&1 | sed 5q` in
13430
 
            *Sun\ C*)
13431
 
              # Sun C++ 5.9
13432
 
              no_undefined_flag_CXX=' -zdefs'
13433
 
              archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13434
 
              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'
13435
 
              hardcode_libdir_flag_spec_CXX='-R$libdir'
13436
 
              whole_archive_flag_spec_CXX='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
13437
 
              compiler_needs_object_CXX=yes
13438
 
 
13439
 
              # Not sure whether something based on
13440
 
              # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
13441
 
              # would be better.
13442
 
              output_verbose_link_cmd='echo'
13443
 
 
13444
 
              # Archives containing C++ object files must be created using
13445
 
              # "CC -xar", where "CC" is the Sun C++ compiler.  This is
13446
 
              # necessary to make sure instantiated templates are included
13447
 
              # in the archive.
13448
 
              old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13449
 
              ;;
13450
 
            esac
13451
 
            ;;
13452
 
        esac
13453
 
        ;;
13454
 
 
13455
 
      lynxos*)
13456
 
        # FIXME: insert proper C++ library support
13457
 
        ld_shlibs_CXX=no
13458
 
        ;;
13459
 
 
13460
 
      m88k*)
13461
 
        # FIXME: insert proper C++ library support
13462
 
        ld_shlibs_CXX=no
13463
 
        ;;
13464
 
 
13465
 
      mvs*)
13466
 
        case $cc_basename in
13467
 
          cxx*)
13468
 
            # FIXME: insert proper C++ library support
13469
 
            ld_shlibs_CXX=no
13470
 
            ;;
13471
 
          *)
13472
 
            # FIXME: insert proper C++ library support
13473
 
            ld_shlibs_CXX=no
13474
 
            ;;
13475
 
        esac
13476
 
        ;;
13477
 
 
13478
 
      netbsd*)
13479
 
        if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
13480
 
          archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
13481
 
          wlarc=
13482
 
          hardcode_libdir_flag_spec_CXX='-R$libdir'
13483
 
          hardcode_direct_CXX=yes
13484
 
          hardcode_shlibpath_var_CXX=no
13485
 
        fi
13486
 
        # Workaround some broken pre-1.5 toolchains
13487
 
        output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
13488
 
        ;;
13489
 
 
13490
 
      *nto* | *qnx*)
13491
 
        ld_shlibs_CXX=yes
13492
 
        ;;
13493
 
 
13494
 
      openbsd2*)
13495
 
        # C++ shared libraries are fairly broken
13496
 
        ld_shlibs_CXX=no
13497
 
        ;;
13498
 
 
13499
 
      openbsd*)
13500
 
        if test -f /usr/libexec/ld.so; then
13501
 
          hardcode_direct_CXX=yes
13502
 
          hardcode_shlibpath_var_CXX=no
13503
 
          hardcode_direct_absolute_CXX=yes
13504
 
          archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13505
 
          hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13506
 
          if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13507
 
            archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
13508
 
            export_dynamic_flag_spec_CXX='${wl}-E'
13509
 
            whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13510
 
          fi
13511
 
          output_verbose_link_cmd=echo
13512
 
        else
13513
 
          ld_shlibs_CXX=no
13514
 
        fi
13515
 
        ;;
13516
 
 
13517
 
      osf3* | osf4* | osf5*)
13518
 
        case $cc_basename in
13519
 
          KCC*)
13520
 
            # Kuck and Associates, Inc. (KAI) C++ Compiler
13521
 
 
13522
 
            # KCC will only create a shared library if the output file
13523
 
            # ends with ".so" (or ".sl" for HP-UX), so rename the library
13524
 
            # to its proper name (with version) after linking.
13525
 
            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'
13526
 
 
13527
 
            hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13528
 
            hardcode_libdir_separator_CXX=:
13529
 
 
13530
 
            # Archives containing C++ object files must be created using
13531
 
            # the KAI C++ compiler.
13532
 
            case $host in
13533
 
              osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
13534
 
              *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
13535
 
            esac
13536
 
            ;;
13537
 
          RCC*)
13538
 
            # Rational C++ 2.4.1
13539
 
            # FIXME: insert proper C++ library support
13540
 
            ld_shlibs_CXX=no
13541
 
            ;;
13542
 
          cxx*)
13543
 
            case $host in
13544
 
              osf3*)
13545
 
                allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13546
 
                archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && $ECHO "X${wl}-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
13547
 
                hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13548
 
                ;;
13549
 
              *)
13550
 
                allow_undefined_flag_CXX=' -expect_unresolved \*'
13551
 
                archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
13552
 
                archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
13553
 
                  echo "-hidden">> $lib.exp~
13554
 
                  $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 "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~
13555
 
                  $RM $lib.exp'
13556
 
                hardcode_libdir_flag_spec_CXX='-rpath $libdir'
13557
 
                ;;
13558
 
            esac
13559
 
 
13560
 
            hardcode_libdir_separator_CXX=:
13561
 
 
13562
 
            # Commands to make compiler produce verbose output that lists
13563
 
            # what "hidden" libraries, object files and flags are used when
13564
 
            # linking a shared library.
13565
 
            #
13566
 
            # There doesn't appear to be a way to prevent this compiler from
13567
 
            # explicitly linking system object files so we need to strip them
13568
 
            # from the output so that they don't get included in the library
13569
 
            # dependencies.
13570
 
            output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`$ECHO "X$templist" | $Xsed -e "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
13571
 
            ;;
13572
 
          *)
13573
 
            if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13574
 
              allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13575
 
              case $host in
13576
 
                osf3*)
13577
 
                  archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
13578
 
                  ;;
13579
 
                *)
13580
 
                  archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
13581
 
                  ;;
13582
 
              esac
13583
 
 
13584
 
              hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13585
 
              hardcode_libdir_separator_CXX=:
13586
 
 
13587
 
              # Commands to make compiler produce verbose output that lists
13588
 
              # what "hidden" libraries, object files and flags are used when
13589
 
              # linking a shared library.
13590
 
              output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
13591
 
 
13592
 
            else
13593
 
              # FIXME: insert proper C++ library support
13594
 
              ld_shlibs_CXX=no
13595
 
            fi
13596
 
            ;;
13597
 
        esac
13598
 
        ;;
13599
 
 
13600
 
      psos*)
13601
 
        # FIXME: insert proper C++ library support
13602
 
        ld_shlibs_CXX=no
13603
 
        ;;
13604
 
 
13605
 
      sunos4*)
13606
 
        case $cc_basename in
13607
 
          CC*)
13608
 
            # Sun C++ 4.x
13609
 
            # FIXME: insert proper C++ library support
13610
 
            ld_shlibs_CXX=no
13611
 
            ;;
13612
 
          lcc*)
13613
 
            # Lucid
13614
 
            # FIXME: insert proper C++ library support
13615
 
            ld_shlibs_CXX=no
13616
 
            ;;
13617
 
          *)
13618
 
            # FIXME: insert proper C++ library support
13619
 
            ld_shlibs_CXX=no
13620
 
            ;;
13621
 
        esac
13622
 
        ;;
13623
 
 
13624
 
      solaris*)
13625
 
        case $cc_basename in
13626
 
          CC*)
13627
 
            # Sun C++ 4.2, 5.x and Centerline C++
13628
 
            archive_cmds_need_lc_CXX=yes
13629
 
            no_undefined_flag_CXX=' -zdefs'
13630
 
            archive_cmds_CXX='$CC -G${allow_undefined_flag}  -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13631
 
            archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13632
 
              $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'
13633
 
 
13634
 
            hardcode_libdir_flag_spec_CXX='-R$libdir'
13635
 
            hardcode_shlibpath_var_CXX=no
13636
 
            case $host_os in
13637
 
              solaris2.[0-5] | solaris2.[0-5].*) ;;
13638
 
              *)
13639
 
                # The compiler driver will combine and reorder linker options,
13640
 
                # but understands `-z linker_flag'.
13641
 
                # Supported since Solaris 2.6 (maybe 2.5.1?)
13642
 
                whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
13643
 
                ;;
13644
 
            esac
13645
 
            link_all_deplibs_CXX=yes
13646
 
 
13647
 
            output_verbose_link_cmd='echo'
13648
 
 
13649
 
            # Archives containing C++ object files must be created using
13650
 
            # "CC -xar", where "CC" is the Sun C++ compiler.  This is
13651
 
            # necessary to make sure instantiated templates are included
13652
 
            # in the archive.
13653
 
            old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13654
 
            ;;
13655
 
          gcx*)
13656
 
            # Green Hills C++ Compiler
13657
 
            archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13658
 
 
13659
 
            # The C++ compiler must be used to create the archive.
13660
 
            old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
13661
 
            ;;
13662
 
          *)
13663
 
            # GNU C++ compiler with Solaris linker
13664
 
            if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13665
 
              no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
13666
 
              if $CC --version | $GREP -v '^2\.7' > /dev/null; then
13667
 
                archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13668
 
                archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13669
 
                  $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13670
 
 
13671
 
                # Commands to make compiler produce verbose output that lists
13672
 
                # what "hidden" libraries, object files and flags are used when
13673
 
                # linking a shared library.
13674
 
                output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
13675
 
              else
13676
 
                # g++ 2.7 appears to require `-G' NOT `-shared' on this
13677
 
                # platform.
13678
 
                archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13679
 
                archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13680
 
                  $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13681
 
 
13682
 
                # Commands to make compiler produce verbose output that lists
13683
 
                # what "hidden" libraries, object files and flags are used when
13684
 
                # linking a shared library.
13685
 
                output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
13686
 
              fi
13687
 
 
13688
 
              hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
13689
 
              case $host_os in
13690
 
                solaris2.[0-5] | solaris2.[0-5].*) ;;
13691
 
                *)
13692
 
                  whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13693
 
                  ;;
13694
 
              esac
13695
 
            fi
13696
 
            ;;
13697
 
        esac
13698
 
        ;;
13699
 
 
13700
 
    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
13701
 
      no_undefined_flag_CXX='${wl}-z,text'
13702
 
      archive_cmds_need_lc_CXX=no
13703
 
      hardcode_shlibpath_var_CXX=no
13704
 
      runpath_var='LD_RUN_PATH'
13705
 
 
13706
 
      case $cc_basename in
13707
 
        CC*)
13708
 
          archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13709
 
          archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13710
 
          ;;
13711
 
        *)
13712
 
          archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13713
 
          archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13714
 
          ;;
13715
 
      esac
13716
 
      ;;
13717
 
 
13718
 
      sysv5* | sco3.2v5* | sco5v6*)
13719
 
        # Note: We can NOT use -z defs as we might desire, because we do not
13720
 
        # link with -lc, and that would cause any symbols used from libc to
13721
 
        # always be unresolved, which means just about no library would
13722
 
        # ever link correctly.  If we're not using GNU ld we use -z text
13723
 
        # though, which does catch some bad symbols but isn't as heavy-handed
13724
 
        # as -z defs.
13725
 
        no_undefined_flag_CXX='${wl}-z,text'
13726
 
        allow_undefined_flag_CXX='${wl}-z,nodefs'
13727
 
        archive_cmds_need_lc_CXX=no
13728
 
        hardcode_shlibpath_var_CXX=no
13729
 
        hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
13730
 
        hardcode_libdir_separator_CXX=':'
13731
 
        link_all_deplibs_CXX=yes
13732
 
        export_dynamic_flag_spec_CXX='${wl}-Bexport'
13733
 
        runpath_var='LD_RUN_PATH'
13734
 
 
13735
 
        case $cc_basename in
13736
 
          CC*)
13737
 
            archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13738
 
            archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13739
 
            ;;
13740
 
          *)
13741
 
            archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13742
 
            archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13743
 
            ;;
13744
 
        esac
13745
 
      ;;
13746
 
 
13747
 
      tandem*)
13748
 
        case $cc_basename in
13749
 
          NCC*)
13750
 
            # NonStop-UX NCC 3.20
13751
 
            # FIXME: insert proper C++ library support
13752
 
            ld_shlibs_CXX=no
13753
 
            ;;
13754
 
          *)
13755
 
            # FIXME: insert proper C++ library support
13756
 
            ld_shlibs_CXX=no
13757
 
            ;;
13758
 
        esac
13759
 
        ;;
13760
 
 
13761
 
      vxworks*)
13762
 
        # FIXME: insert proper C++ library support
13763
 
        ld_shlibs_CXX=no
13764
 
        ;;
13765
 
 
13766
 
      *)
13767
 
        # FIXME: insert proper C++ library support
13768
 
        ld_shlibs_CXX=no
13769
 
        ;;
13770
 
    esac
13771
 
 
13772
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13773
 
$as_echo "$ld_shlibs_CXX" >&6; }
13774
 
    test "$ld_shlibs_CXX" = no && can_build_shared=no
13775
 
 
13776
 
    GCC_CXX="$GXX"
13777
 
    LD_CXX="$LD"
13778
 
 
13779
 
    ## CAVEAT EMPTOR:
13780
 
    ## There is no encapsulation within the following macros, do not change
13781
 
    ## the running order or otherwise move them around unless you know exactly
13782
 
    ## what you are doing...
13783
 
    # Dependencies to place before and after the object being linked:
13784
 
predep_objects_CXX=
13785
 
postdep_objects_CXX=
13786
 
predeps_CXX=
13787
 
postdeps_CXX=
13788
 
compiler_lib_search_path_CXX=
13789
 
 
13790
 
cat > conftest.$ac_ext <<_LT_EOF
13791
 
class Foo
13792
 
{
13793
 
public:
13794
 
  Foo (void) { a = 0; }
13795
 
private:
13796
 
  int a;
13797
 
};
13798
 
_LT_EOF
13799
 
 
13800
 
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13801
 
  (eval $ac_compile) 2>&5
13802
 
  ac_status=$?
13803
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13804
 
  test $ac_status = 0; }; then
13805
 
  # Parse the compiler output and extract the necessary
13806
 
  # objects, libraries and library flags.
13807
 
 
13808
 
  # Sentinel used to keep track of whether or not we are before
13809
 
  # the conftest object file.
13810
 
  pre_test_object_deps_done=no
13811
 
 
13812
 
  for p in `eval "$output_verbose_link_cmd"`; do
13813
 
    case $p in
13814
 
 
13815
 
    -L* | -R* | -l*)
13816
 
       # Some compilers place space between "-{L,R}" and the path.
13817
 
       # Remove the space.
13818
 
       if test $p = "-L" ||
13819
 
          test $p = "-R"; then
13820
 
         prev=$p
13821
 
         continue
13822
 
       else
13823
 
         prev=
13824
 
       fi
13825
 
 
13826
 
       if test "$pre_test_object_deps_done" = no; then
13827
 
         case $p in
13828
 
         -L* | -R*)
13829
 
           # Internal compiler library paths should come after those
13830
 
           # provided the user.  The postdeps already come after the
13831
 
           # user supplied libs so there is no need to process them.
13832
 
           if test -z "$compiler_lib_search_path_CXX"; then
13833
 
             compiler_lib_search_path_CXX="${prev}${p}"
13834
 
           else
13835
 
             compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
13836
 
           fi
13837
 
           ;;
13838
 
         # The "-l" case would never come before the object being
13839
 
         # linked, so don't bother handling this case.
13840
 
         esac
13841
 
       else
13842
 
         if test -z "$postdeps_CXX"; then
13843
 
           postdeps_CXX="${prev}${p}"
13844
 
         else
13845
 
           postdeps_CXX="${postdeps_CXX} ${prev}${p}"
13846
 
         fi
13847
 
       fi
13848
 
       ;;
13849
 
 
13850
 
    *.$objext)
13851
 
       # This assumes that the test object file only shows up
13852
 
       # once in the compiler output.
13853
 
       if test "$p" = "conftest.$objext"; then
13854
 
         pre_test_object_deps_done=yes
13855
 
         continue
13856
 
       fi
13857
 
 
13858
 
       if test "$pre_test_object_deps_done" = no; then
13859
 
         if test -z "$predep_objects_CXX"; then
13860
 
           predep_objects_CXX="$p"
13861
 
         else
13862
 
           predep_objects_CXX="$predep_objects_CXX $p"
13863
 
         fi
13864
 
       else
13865
 
         if test -z "$postdep_objects_CXX"; then
13866
 
           postdep_objects_CXX="$p"
13867
 
         else
13868
 
           postdep_objects_CXX="$postdep_objects_CXX $p"
13869
 
         fi
13870
 
       fi
13871
 
       ;;
13872
 
 
13873
 
    *) ;; # Ignore the rest.
13874
 
 
13875
 
    esac
13876
 
  done
13877
 
 
13878
 
  # Clean up.
13879
 
  rm -f a.out a.exe
13880
 
else
13881
 
  echo "libtool.m4: error: problem compiling CXX test program"
13882
 
fi
13883
 
 
13884
 
$RM -f confest.$objext
13885
 
 
13886
 
# PORTME: override above test on systems where it is broken
13887
 
case $host_os in
13888
 
interix[3-9]*)
13889
 
  # Interix 3.5 installs completely hosed .la files for C++, so rather than
13890
 
  # hack all around it, let's just trust "g++" to DTRT.
13891
 
  predep_objects_CXX=
13892
 
  postdep_objects_CXX=
13893
 
  postdeps_CXX=
13894
 
  ;;
13895
 
 
13896
 
linux*)
13897
 
  case `$CC -V 2>&1 | sed 5q` in
13898
 
  *Sun\ C*)
13899
 
    # Sun C++ 5.9
13900
 
 
13901
 
    # The more standards-conforming stlport4 library is
13902
 
    # incompatible with the Cstd library. Avoid specifying
13903
 
    # it if it's in CXXFLAGS. Ignore libCrun as
13904
 
    # -library=stlport4 depends on it.
13905
 
    case " $CXX $CXXFLAGS " in
13906
 
    *" -library=stlport4 "*)
13907
 
      solaris_use_stlport4=yes
13908
 
      ;;
13909
 
    esac
13910
 
 
13911
 
    if test "$solaris_use_stlport4" != yes; then
13912
 
      postdeps_CXX='-library=Cstd -library=Crun'
13913
 
    fi
13914
 
    ;;
13915
 
  esac
13916
 
  ;;
13917
 
 
13918
 
solaris*)
13919
 
  case $cc_basename in
13920
 
  CC*)
13921
 
    # The more standards-conforming stlport4 library is
13922
 
    # incompatible with the Cstd library. Avoid specifying
13923
 
    # it if it's in CXXFLAGS. Ignore libCrun as
13924
 
    # -library=stlport4 depends on it.
13925
 
    case " $CXX $CXXFLAGS " in
13926
 
    *" -library=stlport4 "*)
13927
 
      solaris_use_stlport4=yes
13928
 
      ;;
13929
 
    esac
13930
 
 
13931
 
    # Adding this requires a known-good setup of shared libraries for
13932
 
    # Sun compiler versions before 5.6, else PIC objects from an old
13933
 
    # archive will be linked into the output, leading to subtle bugs.
13934
 
    if test "$solaris_use_stlport4" != yes; then
13935
 
      postdeps_CXX='-library=Cstd -library=Crun'
13936
 
    fi
13937
 
    ;;
13938
 
  esac
13939
 
  ;;
13940
 
esac
13941
 
 
13942
 
 
13943
 
case " $postdeps_CXX " in
13944
 
*" -lc "*) archive_cmds_need_lc_CXX=no ;;
13945
 
esac
13946
 
 compiler_lib_search_dirs_CXX=
13947
 
if test -n "${compiler_lib_search_path_CXX}"; then
13948
 
 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
13949
 
fi
13950
 
 
13951
 
 
13952
 
 
13953
 
 
13954
 
 
13955
 
 
13956
 
 
13957
 
 
13958
 
 
13959
 
 
13960
 
 
13961
 
 
13962
 
 
13963
 
 
13964
 
 
13965
 
 
13966
 
 
13967
 
 
13968
 
 
13969
 
 
13970
 
 
13971
 
 
13972
 
 
13973
 
 
13974
 
 
13975
 
 
13976
 
 
13977
 
 
13978
 
 
13979
 
 
13980
 
 
13981
 
    lt_prog_compiler_wl_CXX=
13982
 
lt_prog_compiler_pic_CXX=
13983
 
lt_prog_compiler_static_CXX=
13984
 
 
13985
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
13986
 
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
13987
 
 
13988
 
  # C++ specific cases for pic, static, wl, etc.
13989
 
  if test "$GXX" = yes; then
13990
 
    lt_prog_compiler_wl_CXX='-Wl,'
13991
 
    lt_prog_compiler_static_CXX='-static'
13992
 
 
13993
 
    case $host_os in
13994
 
    aix*)
13995
 
      # All AIX code is PIC.
13996
 
      if test "$host_cpu" = ia64; then
13997
 
        # AIX 5 now supports IA64 processor
13998
 
        lt_prog_compiler_static_CXX='-Bstatic'
13999
 
      fi
14000
 
      ;;
14001
 
 
14002
 
    amigaos*)
14003
 
      case $host_cpu in
14004
 
      powerpc)
14005
 
            # see comment about AmigaOS4 .so support
14006
 
            lt_prog_compiler_pic_CXX='-fPIC'
14007
 
        ;;
14008
 
      m68k)
14009
 
            # FIXME: we need at least 68020 code to build shared libraries, but
14010
 
            # adding the `-m68020' flag to GCC prevents building anything better,
14011
 
            # like `-m68040'.
14012
 
            lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
14013
 
        ;;
14014
 
      esac
14015
 
      ;;
14016
 
 
14017
 
    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
14018
 
      # PIC is the default for these OSes.
14019
 
      ;;
14020
 
    mingw* | cygwin* | os2* | pw32* | cegcc*)
14021
 
      # This hack is so that the source file can tell whether it is being
14022
 
      # built for inclusion in a dll (and should export symbols for example).
14023
 
      # Although the cygwin gcc ignores -fPIC, still need this for old-style
14024
 
      # (--disable-auto-import) libraries
14025
 
      lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
14026
 
      ;;
14027
 
    darwin* | rhapsody*)
14028
 
      # PIC is the default on this platform
14029
 
      # Common symbols not allowed in MH_DYLIB files
14030
 
      lt_prog_compiler_pic_CXX='-fno-common'
14031
 
      ;;
14032
 
    *djgpp*)
14033
 
      # DJGPP does not support shared libraries at all
14034
 
      lt_prog_compiler_pic_CXX=
14035
 
      ;;
14036
 
    interix[3-9]*)
14037
 
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
14038
 
      # Instead, we relocate shared libraries at runtime.
14039
 
      ;;
14040
 
    sysv4*MP*)
14041
 
      if test -d /usr/nec; then
14042
 
        lt_prog_compiler_pic_CXX=-Kconform_pic
14043
 
      fi
14044
 
      ;;
14045
 
    hpux*)
14046
 
      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
14047
 
      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
14048
 
      # sets the default TLS model and affects inlining.
14049
 
      case $host_cpu in
14050
 
      hppa*64*)
14051
 
        ;;
14052
 
      *)
14053
 
        lt_prog_compiler_pic_CXX='-fPIC'
14054
 
        ;;
14055
 
      esac
14056
 
      ;;
14057
 
    *qnx* | *nto*)
14058
 
      # QNX uses GNU C++, but need to define -shared option too, otherwise
14059
 
      # it will coredump.
14060
 
      lt_prog_compiler_pic_CXX='-fPIC -shared'
14061
 
      ;;
14062
 
    *)
14063
 
      lt_prog_compiler_pic_CXX='-fPIC'
14064
 
      ;;
14065
 
    esac
14066
 
  else
14067
 
    case $host_os in
14068
 
      aix[4-9]*)
14069
 
        # All AIX code is PIC.
14070
 
        if test "$host_cpu" = ia64; then
14071
 
          # AIX 5 now supports IA64 processor
14072
 
          lt_prog_compiler_static_CXX='-Bstatic'
14073
 
        else
14074
 
          lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
14075
 
        fi
14076
 
        ;;
14077
 
      chorus*)
14078
 
        case $cc_basename in
14079
 
        cxch68*)
14080
 
          # Green Hills C++ Compiler
14081
 
          # _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"
14082
 
          ;;
14083
 
        esac
14084
 
        ;;
14085
 
      dgux*)
14086
 
        case $cc_basename in
14087
 
          ec++*)
14088
 
            lt_prog_compiler_pic_CXX='-KPIC'
14089
 
            ;;
14090
 
          ghcx*)
14091
 
            # Green Hills C++ Compiler
14092
 
            lt_prog_compiler_pic_CXX='-pic'
14093
 
            ;;
14094
 
          *)
14095
 
            ;;
14096
 
        esac
14097
 
        ;;
14098
 
      freebsd* | dragonfly*)
14099
 
        # FreeBSD uses GNU C++
14100
 
        ;;
14101
 
      hpux9* | hpux10* | hpux11*)
14102
 
        case $cc_basename in
14103
 
          CC*)
14104
 
            lt_prog_compiler_wl_CXX='-Wl,'
14105
 
            lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
14106
 
            if test "$host_cpu" != ia64; then
14107
 
              lt_prog_compiler_pic_CXX='+Z'
14108
 
            fi
14109
 
            ;;
14110
 
          aCC*)
14111
 
            lt_prog_compiler_wl_CXX='-Wl,'
14112
 
            lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
14113
 
            case $host_cpu in
14114
 
            hppa*64*|ia64*)
14115
 
              # +Z the default
14116
 
              ;;
14117
 
            *)
14118
 
              lt_prog_compiler_pic_CXX='+Z'
14119
 
              ;;
14120
 
            esac
14121
 
            ;;
14122
 
          *)
14123
 
            ;;
14124
 
        esac
14125
 
        ;;
14126
 
      interix*)
14127
 
        # This is c89, which is MS Visual C++ (no shared libs)
14128
 
        # Anyone wants to do a port?
14129
 
        ;;
14130
 
      irix5* | irix6* | nonstopux*)
14131
 
        case $cc_basename in
14132
 
          CC*)
14133
 
            lt_prog_compiler_wl_CXX='-Wl,'
14134
 
            lt_prog_compiler_static_CXX='-non_shared'
14135
 
            # CC pic flag -KPIC is the default.
14136
 
            ;;
14137
 
          *)
14138
 
            ;;
14139
 
        esac
14140
 
        ;;
14141
 
      linux* | k*bsd*-gnu | kopensolaris*-gnu)
14142
 
        case $cc_basename in
14143
 
          KCC*)
14144
 
            # KAI C++ Compiler
14145
 
            lt_prog_compiler_wl_CXX='--backend -Wl,'
14146
 
            lt_prog_compiler_pic_CXX='-fPIC'
14147
 
            ;;
14148
 
          ecpc* )
14149
 
            # old Intel C++ for x86_64 which still supported -KPIC.
14150
 
            lt_prog_compiler_wl_CXX='-Wl,'
14151
 
            lt_prog_compiler_pic_CXX='-KPIC'
14152
 
            lt_prog_compiler_static_CXX='-static'
14153
 
            ;;
14154
 
          icpc* )
14155
 
            # Intel C++, used to be incompatible with GCC.
14156
 
            # ICC 10 doesn't accept -KPIC any more.
14157
 
            lt_prog_compiler_wl_CXX='-Wl,'
14158
 
            lt_prog_compiler_pic_CXX='-fPIC'
14159
 
            lt_prog_compiler_static_CXX='-static'
14160
 
            ;;
14161
 
          pgCC* | pgcpp*)
14162
 
            # Portland Group C++ compiler
14163
 
            lt_prog_compiler_wl_CXX='-Wl,'
14164
 
            lt_prog_compiler_pic_CXX='-fpic'
14165
 
            lt_prog_compiler_static_CXX='-Bstatic'
14166
 
            ;;
14167
 
          cxx*)
14168
 
            # Compaq C++
14169
 
            # Make sure the PIC flag is empty.  It appears that all Alpha
14170
 
            # Linux and Compaq Tru64 Unix objects are PIC.
14171
 
            lt_prog_compiler_pic_CXX=
14172
 
            lt_prog_compiler_static_CXX='-non_shared'
14173
 
            ;;
14174
 
          xlc* | xlC*)
14175
 
            # IBM XL 8.0 on PPC
14176
 
            lt_prog_compiler_wl_CXX='-Wl,'
14177
 
            lt_prog_compiler_pic_CXX='-qpic'
14178
 
            lt_prog_compiler_static_CXX='-qstaticlink'
14179
 
            ;;
14180
 
          *)
14181
 
            case `$CC -V 2>&1 | sed 5q` in
14182
 
            *Sun\ C*)
14183
 
              # Sun C++ 5.9
14184
 
              lt_prog_compiler_pic_CXX='-KPIC'
14185
 
              lt_prog_compiler_static_CXX='-Bstatic'
14186
 
              lt_prog_compiler_wl_CXX='-Qoption ld '
14187
 
              ;;
14188
 
            esac
14189
 
            ;;
14190
 
        esac
14191
 
        ;;
14192
 
      lynxos*)
14193
 
        ;;
14194
 
      m88k*)
14195
 
        ;;
14196
 
      mvs*)
14197
 
        case $cc_basename in
14198
 
          cxx*)
14199
 
            lt_prog_compiler_pic_CXX='-W c,exportall'
14200
 
            ;;
14201
 
          *)
14202
 
            ;;
14203
 
        esac
14204
 
        ;;
14205
 
      netbsd* | netbsdelf*-gnu)
14206
 
        ;;
14207
 
      *qnx* | *nto*)
14208
 
        # QNX uses GNU C++, but need to define -shared option too, otherwise
14209
 
        # it will coredump.
14210
 
        lt_prog_compiler_pic_CXX='-fPIC -shared'
14211
 
        ;;
14212
 
      osf3* | osf4* | osf5*)
14213
 
        case $cc_basename in
14214
 
          KCC*)
14215
 
            lt_prog_compiler_wl_CXX='--backend -Wl,'
14216
 
            ;;
14217
 
          RCC*)
14218
 
            # Rational C++ 2.4.1
14219
 
            lt_prog_compiler_pic_CXX='-pic'
14220
 
            ;;
14221
 
          cxx*)
14222
 
            # Digital/Compaq C++
14223
 
            lt_prog_compiler_wl_CXX='-Wl,'
14224
 
            # Make sure the PIC flag is empty.  It appears that all Alpha
14225
 
            # Linux and Compaq Tru64 Unix objects are PIC.
14226
 
            lt_prog_compiler_pic_CXX=
14227
 
            lt_prog_compiler_static_CXX='-non_shared'
14228
 
            ;;
14229
 
          *)
14230
 
            ;;
14231
 
        esac
14232
 
        ;;
14233
 
      psos*)
14234
 
        ;;
14235
 
      solaris*)
14236
 
        case $cc_basename in
14237
 
          CC*)
14238
 
            # Sun C++ 4.2, 5.x and Centerline C++
14239
 
            lt_prog_compiler_pic_CXX='-KPIC'
14240
 
            lt_prog_compiler_static_CXX='-Bstatic'
14241
 
            lt_prog_compiler_wl_CXX='-Qoption ld '
14242
 
            ;;
14243
 
          gcx*)
14244
 
            # Green Hills C++ Compiler
14245
 
            lt_prog_compiler_pic_CXX='-PIC'
14246
 
            ;;
14247
 
          *)
14248
 
            ;;
14249
 
        esac
14250
 
        ;;
14251
 
      sunos4*)
14252
 
        case $cc_basename in
14253
 
          CC*)
14254
 
            # Sun C++ 4.x
14255
 
            lt_prog_compiler_pic_CXX='-pic'
14256
 
            lt_prog_compiler_static_CXX='-Bstatic'
14257
 
            ;;
14258
 
          lcc*)
14259
 
            # Lucid
14260
 
            lt_prog_compiler_pic_CXX='-pic'
14261
 
            ;;
14262
 
          *)
14263
 
            ;;
14264
 
        esac
14265
 
        ;;
14266
 
      sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
14267
 
        case $cc_basename in
14268
 
          CC*)
14269
 
            lt_prog_compiler_wl_CXX='-Wl,'
14270
 
            lt_prog_compiler_pic_CXX='-KPIC'
14271
 
            lt_prog_compiler_static_CXX='-Bstatic'
14272
 
            ;;
14273
 
        esac
14274
 
        ;;
14275
 
      tandem*)
14276
 
        case $cc_basename in
14277
 
          NCC*)
14278
 
            # NonStop-UX NCC 3.20
14279
 
            lt_prog_compiler_pic_CXX='-KPIC'
14280
 
            ;;
14281
 
          *)
14282
 
            ;;
14283
 
        esac
14284
 
        ;;
14285
 
      vxworks*)
14286
 
        ;;
14287
 
      *)
14288
 
        lt_prog_compiler_can_build_shared_CXX=no
14289
 
        ;;
14290
 
    esac
14291
 
  fi
14292
 
 
14293
 
case $host_os in
14294
 
  # For platforms which do not support PIC, -DPIC is meaningless:
14295
 
  *djgpp*)
14296
 
    lt_prog_compiler_pic_CXX=
14297
 
    ;;
14298
 
  *)
14299
 
    lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
14300
 
    ;;
14301
 
esac
14302
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
14303
 
$as_echo "$lt_prog_compiler_pic_CXX" >&6; }
14304
 
 
14305
 
 
14306
 
 
14307
 
#
14308
 
# Check to make sure the PIC flag actually works.
14309
 
#
14310
 
if test -n "$lt_prog_compiler_pic_CXX"; then
14311
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
14312
 
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
14313
 
if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then :
14314
 
  $as_echo_n "(cached) " >&6
14315
 
else
14316
 
  lt_cv_prog_compiler_pic_works_CXX=no
14317
 
   ac_outfile=conftest.$ac_objext
14318
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14319
 
   lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
14320
 
   # Insert the option either (1) after the last *FLAGS variable, or
14321
 
   # (2) before a word containing "conftest.", or (3) at the end.
14322
 
   # Note that $ac_compile itself does not contain backslashes and begins
14323
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
14324
 
   # The option is referenced via a variable to avoid confusing sed.
14325
 
   lt_compile=`echo "$ac_compile" | $SED \
14326
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14327
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14328
 
   -e 's:$: $lt_compiler_flag:'`
14329
 
   (eval echo "\"\$as_me:14329: $lt_compile\"" >&5)
14330
 
   (eval "$lt_compile" 2>conftest.err)
14331
 
   ac_status=$?
14332
 
   cat conftest.err >&5
14333
 
   echo "$as_me:14333: \$? = $ac_status" >&5
14334
 
   if (exit $ac_status) && test -s "$ac_outfile"; then
14335
 
     # The compiler can only warn and ignore the option if not recognized
14336
 
     # So say no if there are warnings other than the usual output.
14337
 
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
14338
 
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14339
 
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
14340
 
       lt_cv_prog_compiler_pic_works_CXX=yes
14341
 
     fi
14342
 
   fi
14343
 
   $RM conftest*
14344
 
 
14345
 
fi
14346
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
14347
 
$as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
14348
 
 
14349
 
if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
14350
 
    case $lt_prog_compiler_pic_CXX in
14351
 
     "" | " "*) ;;
14352
 
     *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
14353
 
     esac
14354
 
else
14355
 
    lt_prog_compiler_pic_CXX=
14356
 
     lt_prog_compiler_can_build_shared_CXX=no
14357
 
fi
14358
 
 
14359
 
fi
14360
 
 
14361
 
 
14362
 
 
14363
 
#
14364
 
# Check to make sure the static flag actually works.
14365
 
#
14366
 
wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
14367
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
14368
 
$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
14369
 
if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then :
14370
 
  $as_echo_n "(cached) " >&6
14371
 
else
14372
 
  lt_cv_prog_compiler_static_works_CXX=no
14373
 
   save_LDFLAGS="$LDFLAGS"
14374
 
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
14375
 
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
14376
 
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
14377
 
     # The linker can only warn and ignore the option if not recognized
14378
 
     # So say no if there are warnings
14379
 
     if test -s conftest.err; then
14380
 
       # Append any errors to the config.log.
14381
 
       cat conftest.err 1>&5
14382
 
       $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
14383
 
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14384
 
       if diff conftest.exp conftest.er2 >/dev/null; then
14385
 
         lt_cv_prog_compiler_static_works_CXX=yes
14386
 
       fi
14387
 
     else
14388
 
       lt_cv_prog_compiler_static_works_CXX=yes
14389
 
     fi
14390
 
   fi
14391
 
   $RM -r conftest*
14392
 
   LDFLAGS="$save_LDFLAGS"
14393
 
 
14394
 
fi
14395
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
14396
 
$as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
14397
 
 
14398
 
if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
14399
 
    :
14400
 
else
14401
 
    lt_prog_compiler_static_CXX=
14402
 
fi
14403
 
 
14404
 
 
14405
 
 
14406
 
 
14407
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14408
 
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14409
 
if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
14410
 
  $as_echo_n "(cached) " >&6
14411
 
else
14412
 
  lt_cv_prog_compiler_c_o_CXX=no
14413
 
   $RM -r conftest 2>/dev/null
14414
 
   mkdir conftest
14415
 
   cd conftest
14416
 
   mkdir out
14417
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14418
 
 
14419
 
   lt_compiler_flag="-o out/conftest2.$ac_objext"
14420
 
   # Insert the option either (1) after the last *FLAGS variable, or
14421
 
   # (2) before a word containing "conftest.", or (3) at the end.
14422
 
   # Note that $ac_compile itself does not contain backslashes and begins
14423
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
14424
 
   lt_compile=`echo "$ac_compile" | $SED \
14425
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14426
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14427
 
   -e 's:$: $lt_compiler_flag:'`
14428
 
   (eval echo "\"\$as_me:14428: $lt_compile\"" >&5)
14429
 
   (eval "$lt_compile" 2>out/conftest.err)
14430
 
   ac_status=$?
14431
 
   cat out/conftest.err >&5
14432
 
   echo "$as_me:14432: \$? = $ac_status" >&5
14433
 
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
14434
 
   then
14435
 
     # The compiler can only warn and ignore the option if not recognized
14436
 
     # So say no if there are warnings
14437
 
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
14438
 
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
14439
 
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
14440
 
       lt_cv_prog_compiler_c_o_CXX=yes
14441
 
     fi
14442
 
   fi
14443
 
   chmod u+w . 2>&5
14444
 
   $RM conftest*
14445
 
   # SGI C++ compiler will create directory out/ii_files/ for
14446
 
   # template instantiation
14447
 
   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
14448
 
   $RM out/* && rmdir out
14449
 
   cd ..
14450
 
   $RM -r conftest
14451
 
   $RM conftest*
14452
 
 
14453
 
fi
14454
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14455
 
$as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14456
 
 
14457
 
 
14458
 
 
14459
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14460
 
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14461
 
if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
14462
 
  $as_echo_n "(cached) " >&6
14463
 
else
14464
 
  lt_cv_prog_compiler_c_o_CXX=no
14465
 
   $RM -r conftest 2>/dev/null
14466
 
   mkdir conftest
14467
 
   cd conftest
14468
 
   mkdir out
14469
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14470
 
 
14471
 
   lt_compiler_flag="-o out/conftest2.$ac_objext"
14472
 
   # Insert the option either (1) after the last *FLAGS variable, or
14473
 
   # (2) before a word containing "conftest.", or (3) at the end.
14474
 
   # Note that $ac_compile itself does not contain backslashes and begins
14475
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
14476
 
   lt_compile=`echo "$ac_compile" | $SED \
14477
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14478
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14479
 
   -e 's:$: $lt_compiler_flag:'`
14480
 
   (eval echo "\"\$as_me:14480: $lt_compile\"" >&5)
14481
 
   (eval "$lt_compile" 2>out/conftest.err)
14482
 
   ac_status=$?
14483
 
   cat out/conftest.err >&5
14484
 
   echo "$as_me:14484: \$? = $ac_status" >&5
14485
 
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
14486
 
   then
14487
 
     # The compiler can only warn and ignore the option if not recognized
14488
 
     # So say no if there are warnings
14489
 
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
14490
 
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
14491
 
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
14492
 
       lt_cv_prog_compiler_c_o_CXX=yes
14493
 
     fi
14494
 
   fi
14495
 
   chmod u+w . 2>&5
14496
 
   $RM conftest*
14497
 
   # SGI C++ compiler will create directory out/ii_files/ for
14498
 
   # template instantiation
14499
 
   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
14500
 
   $RM out/* && rmdir out
14501
 
   cd ..
14502
 
   $RM -r conftest
14503
 
   $RM conftest*
14504
 
 
14505
 
fi
14506
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14507
 
$as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14508
 
 
14509
 
 
14510
 
 
14511
 
 
14512
 
hard_links="nottested"
14513
 
if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
14514
 
  # do not overwrite the value of need_locks provided by the user
14515
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
14516
 
$as_echo_n "checking if we can lock with hard links... " >&6; }
14517
 
  hard_links=yes
14518
 
  $RM conftest*
14519
 
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
14520
 
  touch conftest.a
14521
 
  ln conftest.a conftest.b 2>&5 || hard_links=no
14522
 
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
14523
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
14524
 
$as_echo "$hard_links" >&6; }
14525
 
  if test "$hard_links" = no; then
14526
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14527
 
$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14528
 
    need_locks=warn
14529
 
  fi
14530
 
else
14531
 
  need_locks=no
14532
 
fi
14533
 
 
14534
 
 
14535
 
 
14536
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14537
 
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
14538
 
 
14539
 
  export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14540
 
  case $host_os in
14541
 
  aix[4-9]*)
14542
 
    # If we're using GNU nm, then we don't want the "-C" option.
14543
 
    # -C means demangle to AIX nm, but means don't demangle with GNU nm
14544
 
    if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
14545
 
      export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
14546
 
    else
14547
 
      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'
14548
 
    fi
14549
 
    ;;
14550
 
  pw32*)
14551
 
    export_symbols_cmds_CXX="$ltdll_cmds"
14552
 
  ;;
14553
 
  cygwin* | mingw* | cegcc*)
14554
 
    export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;/^.*[ ]__nm__/s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
14555
 
  ;;
14556
 
  linux* | k*bsd*-gnu)
14557
 
    link_all_deplibs_CXX=no
14558
 
  ;;
14559
 
  *)
14560
 
    export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14561
 
  ;;
14562
 
  esac
14563
 
  exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
14564
 
 
14565
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14566
 
$as_echo "$ld_shlibs_CXX" >&6; }
14567
 
test "$ld_shlibs_CXX" = no && can_build_shared=no
14568
 
 
14569
 
with_gnu_ld_CXX=$with_gnu_ld
14570
 
 
14571
 
 
14572
 
 
14573
 
 
14574
 
 
14575
 
 
14576
 
#
14577
 
# Do we need to explicitly link libc?
14578
 
#
14579
 
case "x$archive_cmds_need_lc_CXX" in
14580
 
x|xyes)
14581
 
  # Assume -lc should be added
14582
 
  archive_cmds_need_lc_CXX=yes
14583
 
 
14584
 
  if test "$enable_shared" = yes && test "$GCC" = yes; then
14585
 
    case $archive_cmds_CXX in
14586
 
    *'~'*)
14587
 
      # FIXME: we may have to deal with multi-command sequences.
14588
 
      ;;
14589
 
    '$CC '*)
14590
 
      # Test whether the compiler implicitly links with -lc since on some
14591
 
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
14592
 
      # to ld, don't add -lc before -lgcc.
14593
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
14594
 
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
14595
 
      $RM conftest*
14596
 
      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14597
 
 
14598
 
      if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14599
 
  (eval $ac_compile) 2>&5
14600
 
  ac_status=$?
14601
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14602
 
  test $ac_status = 0; } 2>conftest.err; then
14603
 
        soname=conftest
14604
 
        lib=conftest
14605
 
        libobjs=conftest.$ac_objext
14606
 
        deplibs=
14607
 
        wl=$lt_prog_compiler_wl_CXX
14608
 
        pic_flag=$lt_prog_compiler_pic_CXX
14609
 
        compiler_flags=-v
14610
 
        linker_flags=-v
14611
 
        verstring=
14612
 
        output_objdir=.
14613
 
        libname=conftest
14614
 
        lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
14615
 
        allow_undefined_flag_CXX=
14616
 
        if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
14617
 
  (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
14618
 
  ac_status=$?
14619
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14620
 
  test $ac_status = 0; }
14621
 
        then
14622
 
          archive_cmds_need_lc_CXX=no
14623
 
        else
14624
 
          archive_cmds_need_lc_CXX=yes
14625
 
        fi
14626
 
        allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
14627
 
      else
14628
 
        cat conftest.err 1>&5
14629
 
      fi
14630
 
      $RM conftest*
14631
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc_CXX" >&5
14632
 
$as_echo "$archive_cmds_need_lc_CXX" >&6; }
14633
 
      ;;
14634
 
    esac
14635
 
  fi
14636
 
  ;;
14637
 
esac
14638
 
 
14639
 
 
14640
 
 
14641
 
 
14642
 
 
14643
 
 
14644
 
 
14645
 
 
14646
 
 
14647
 
 
14648
 
 
14649
 
 
14650
 
 
14651
 
 
14652
 
 
14653
 
 
14654
 
 
14655
 
 
14656
 
 
14657
 
 
14658
 
 
14659
 
 
14660
 
 
14661
 
 
14662
 
 
14663
 
 
14664
 
 
14665
 
 
14666
 
 
14667
 
 
14668
 
 
14669
 
 
14670
 
 
14671
 
 
14672
 
 
14673
 
 
14674
 
 
14675
 
 
14676
 
 
14677
 
 
14678
 
 
14679
 
 
14680
 
 
14681
 
 
14682
 
 
14683
 
 
14684
 
 
14685
 
 
14686
 
 
14687
 
 
14688
 
 
14689
 
 
14690
 
 
14691
 
 
14692
 
 
14693
 
 
14694
 
 
14695
 
 
14696
 
 
14697
 
 
14698
 
 
14699
 
 
14700
 
 
14701
 
 
14702
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
14703
 
$as_echo_n "checking dynamic linker characteristics... " >&6; }
14704
 
 
14705
 
library_names_spec=
14706
 
libname_spec='lib$name'
14707
 
soname_spec=
14708
 
shrext_cmds=".so"
14709
 
postinstall_cmds=
14710
 
postuninstall_cmds=
14711
 
finish_cmds=
14712
 
finish_eval=
14713
 
shlibpath_var=
14714
 
shlibpath_overrides_runpath=unknown
14715
 
version_type=none
14716
 
dynamic_linker="$host_os ld.so"
14717
 
sys_lib_dlsearch_path_spec="/lib /usr/lib"
14718
 
need_lib_prefix=unknown
14719
 
hardcode_into_libs=no
14720
 
 
14721
 
# when you set need_version to no, make sure it does not cause -set_version
14722
 
# flags to be left without arguments
14723
 
need_version=unknown
14724
 
 
14725
 
case $host_os in
14726
 
aix3*)
14727
 
  version_type=linux
14728
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
14729
 
  shlibpath_var=LIBPATH
14730
 
 
14731
 
  # AIX 3 has no versioning support, so we append a major version to the name.
14732
 
  soname_spec='${libname}${release}${shared_ext}$major'
14733
 
  ;;
14734
 
 
14735
 
aix[4-9]*)
14736
 
  version_type=linux
14737
 
  need_lib_prefix=no
14738
 
  need_version=no
14739
 
  hardcode_into_libs=yes
14740
 
  if test "$host_cpu" = ia64; then
14741
 
    # AIX 5 supports IA64
14742
 
    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14743
 
    shlibpath_var=LD_LIBRARY_PATH
14744
 
  else
14745
 
    # With GCC up to 2.95.x, collect2 would create an import file
14746
 
    # for dependence libraries.  The import file would start with
14747
 
    # the line `#! .'.  This would cause the generated library to
14748
 
    # depend on `.', always an invalid library.  This was fixed in
14749
 
    # development snapshots of GCC prior to 3.0.
14750
 
    case $host_os in
14751
 
      aix4 | aix4.[01] | aix4.[01].*)
14752
 
      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14753
 
           echo ' yes '
14754
 
           echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
14755
 
        :
14756
 
      else
14757
 
        can_build_shared=no
14758
 
      fi
14759
 
      ;;
14760
 
    esac
14761
 
    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14762
 
    # soname into executable. Probably we can add versioning support to
14763
 
    # collect2, so additional links can be useful in future.
14764
 
    if test "$aix_use_runtimelinking" = yes; then
14765
 
      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14766
 
      # instead of lib<name>.a to let people know that these are not
14767
 
      # typical AIX shared libraries.
14768
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14769
 
    else
14770
 
      # We preserve .a as extension for shared libraries through AIX4.2
14771
 
      # and later when we are not doing run time linking.
14772
 
      library_names_spec='${libname}${release}.a $libname.a'
14773
 
      soname_spec='${libname}${release}${shared_ext}$major'
14774
 
    fi
14775
 
    shlibpath_var=LIBPATH
14776
 
  fi
14777
 
  ;;
14778
 
 
14779
 
amigaos*)
14780
 
  case $host_cpu in
14781
 
  powerpc)
14782
 
    # Since July 2007 AmigaOS4 officially supports .so libraries.
14783
 
    # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
14784
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14785
 
    ;;
14786
 
  m68k)
14787
 
    library_names_spec='$libname.ixlibrary $libname.a'
14788
 
    # Create ${libname}_ixlibrary.a entries in /sys/libs.
14789
 
    finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$ECHO "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
14790
 
    ;;
14791
 
  esac
14792
 
  ;;
14793
 
 
14794
 
beos*)
14795
 
  library_names_spec='${libname}${shared_ext}'
14796
 
  dynamic_linker="$host_os ld.so"
14797
 
  shlibpath_var=LIBRARY_PATH
14798
 
  ;;
14799
 
 
14800
 
bsdi[45]*)
14801
 
  version_type=linux
14802
 
  need_version=no
14803
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14804
 
  soname_spec='${libname}${release}${shared_ext}$major'
14805
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
14806
 
  shlibpath_var=LD_LIBRARY_PATH
14807
 
  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14808
 
  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
14809
 
  # the default ld.so.conf also contains /usr/contrib/lib and
14810
 
  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14811
 
  # libtool to hard-code these into programs
14812
 
  ;;
14813
 
 
14814
 
cygwin* | mingw* | pw32* | cegcc*)
14815
 
  version_type=windows
14816
 
  shrext_cmds=".dll"
14817
 
  need_version=no
14818
 
  need_lib_prefix=no
14819
 
 
14820
 
  case $GCC,$host_os in
14821
 
  yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
14822
 
    library_names_spec='$libname.dll.a'
14823
 
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
14824
 
    postinstall_cmds='base_file=`basename \${file}`~
14825
 
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14826
 
      dldir=$destdir/`dirname \$dlpath`~
14827
 
      test -d \$dldir || mkdir -p \$dldir~
14828
 
      $install_prog $dir/$dlname \$dldir/$dlname~
14829
 
      chmod a+x \$dldir/$dlname~
14830
 
      if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
14831
 
        eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
14832
 
      fi'
14833
 
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14834
 
      dlpath=$dir/\$dldll~
14835
 
       $RM \$dlpath'
14836
 
    shlibpath_overrides_runpath=yes
14837
 
 
14838
 
    case $host_os in
14839
 
    cygwin*)
14840
 
      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14841
 
      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14842
 
      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
14843
 
      ;;
14844
 
    mingw* | cegcc*)
14845
 
      # MinGW DLLs use traditional 'lib' prefix
14846
 
      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14847
 
      sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
14848
 
      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
14849
 
        # It is most probably a Windows format PATH printed by
14850
 
        # mingw gcc, but we are running on Cygwin. Gcc prints its search
14851
 
        # path with ; separators, and with drive letters. We can handle the
14852
 
        # drive letters (cygwin fileutils understands them), so leave them,
14853
 
        # especially as we might pass files found there to a mingw objdump,
14854
 
        # which wouldn't understand a cygwinified path. Ahh.
14855
 
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
14856
 
      else
14857
 
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
14858
 
      fi
14859
 
      ;;
14860
 
    pw32*)
14861
 
      # pw32 DLLs use 'pw' prefix rather than 'lib'
14862
 
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14863
 
      ;;
14864
 
    esac
14865
 
    ;;
14866
 
 
14867
 
  *)
14868
 
    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14869
 
    ;;
14870
 
  esac
14871
 
  dynamic_linker='Win32 ld.exe'
14872
 
  # FIXME: first we should search . and the directory the executable is in
14873
 
  shlibpath_var=PATH
14874
 
  ;;
14875
 
 
14876
 
darwin* | rhapsody*)
14877
 
  dynamic_linker="$host_os dyld"
14878
 
  version_type=darwin
14879
 
  need_lib_prefix=no
14880
 
  need_version=no
14881
 
  library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14882
 
  soname_spec='${libname}${release}${major}$shared_ext'
14883
 
  shlibpath_overrides_runpath=yes
14884
 
  shlibpath_var=DYLD_LIBRARY_PATH
14885
 
  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
14886
 
 
14887
 
  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
14888
 
  ;;
14889
 
 
14890
 
dgux*)
14891
 
  version_type=linux
14892
 
  need_lib_prefix=no
14893
 
  need_version=no
14894
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14895
 
  soname_spec='${libname}${release}${shared_ext}$major'
14896
 
  shlibpath_var=LD_LIBRARY_PATH
14897
 
  ;;
14898
 
 
14899
 
freebsd1*)
14900
 
  dynamic_linker=no
14901
 
  ;;
14902
 
 
14903
 
freebsd* | dragonfly*)
14904
 
  # DragonFly does not have aout.  When/if they implement a new
14905
 
  # versioning mechanism, adjust this.
14906
 
  if test -x /usr/bin/objformat; then
14907
 
    objformat=`/usr/bin/objformat`
14908
 
  else
14909
 
    case $host_os in
14910
 
    freebsd[123]*) objformat=aout ;;
14911
 
    *) objformat=elf ;;
14912
 
    esac
14913
 
  fi
14914
 
  version_type=freebsd-$objformat
14915
 
  case $version_type in
14916
 
    freebsd-elf*)
14917
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14918
 
      need_version=no
14919
 
      need_lib_prefix=no
14920
 
      ;;
14921
 
    freebsd-*)
14922
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14923
 
      need_version=yes
14924
 
      ;;
14925
 
  esac
14926
 
  shlibpath_var=LD_LIBRARY_PATH
14927
 
  case $host_os in
14928
 
  freebsd2*)
14929
 
    shlibpath_overrides_runpath=yes
14930
 
    ;;
14931
 
  freebsd3.[01]* | freebsdelf3.[01]*)
14932
 
    shlibpath_overrides_runpath=yes
14933
 
    hardcode_into_libs=yes
14934
 
    ;;
14935
 
  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
14936
 
  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
14937
 
    shlibpath_overrides_runpath=no
14938
 
    hardcode_into_libs=yes
14939
 
    ;;
14940
 
  *) # from 4.6 on, and DragonFly
14941
 
    shlibpath_overrides_runpath=yes
14942
 
    hardcode_into_libs=yes
14943
 
    ;;
14944
 
  esac
14945
 
  ;;
14946
 
 
14947
 
gnu*)
14948
 
  version_type=linux
14949
 
  need_lib_prefix=no
14950
 
  need_version=no
14951
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14952
 
  soname_spec='${libname}${release}${shared_ext}$major'
14953
 
  shlibpath_var=LD_LIBRARY_PATH
14954
 
  hardcode_into_libs=yes
14955
 
  ;;
14956
 
 
14957
 
hpux9* | hpux10* | hpux11*)
14958
 
  # Give a soname corresponding to the major version so that dld.sl refuses to
14959
 
  # link against other versions.
14960
 
  version_type=sunos
14961
 
  need_lib_prefix=no
14962
 
  need_version=no
14963
 
  case $host_cpu in
14964
 
  ia64*)
14965
 
    shrext_cmds='.so'
14966
 
    hardcode_into_libs=yes
14967
 
    dynamic_linker="$host_os dld.so"
14968
 
    shlibpath_var=LD_LIBRARY_PATH
14969
 
    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14970
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14971
 
    soname_spec='${libname}${release}${shared_ext}$major'
14972
 
    if test "X$HPUX_IA64_MODE" = X32; then
14973
 
      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14974
 
    else
14975
 
      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
14976
 
    fi
14977
 
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14978
 
    ;;
14979
 
  hppa*64*)
14980
 
    shrext_cmds='.sl'
14981
 
    hardcode_into_libs=yes
14982
 
    dynamic_linker="$host_os dld.sl"
14983
 
    shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
14984
 
    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14985
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14986
 
    soname_spec='${libname}${release}${shared_ext}$major'
14987
 
    sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14988
 
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14989
 
    ;;
14990
 
  *)
14991
 
    shrext_cmds='.sl'
14992
 
    dynamic_linker="$host_os dld.sl"
14993
 
    shlibpath_var=SHLIB_PATH
14994
 
    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
14995
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14996
 
    soname_spec='${libname}${release}${shared_ext}$major'
14997
 
    ;;
14998
 
  esac
14999
 
  # HP-UX runs *really* slowly unless shared libraries are mode 555.
15000
 
  postinstall_cmds='chmod 555 $lib'
15001
 
  ;;
15002
 
 
15003
 
interix[3-9]*)
15004
 
  version_type=linux
15005
 
  need_lib_prefix=no
15006
 
  need_version=no
15007
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15008
 
  soname_spec='${libname}${release}${shared_ext}$major'
15009
 
  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
15010
 
  shlibpath_var=LD_LIBRARY_PATH
15011
 
  shlibpath_overrides_runpath=no
15012
 
  hardcode_into_libs=yes
15013
 
  ;;
15014
 
 
15015
 
irix5* | irix6* | nonstopux*)
15016
 
  case $host_os in
15017
 
    nonstopux*) version_type=nonstopux ;;
15018
 
    *)
15019
 
        if test "$lt_cv_prog_gnu_ld" = yes; then
15020
 
                version_type=linux
15021
 
        else
15022
 
                version_type=irix
15023
 
        fi ;;
15024
 
  esac
15025
 
  need_lib_prefix=no
15026
 
  need_version=no
15027
 
  soname_spec='${libname}${release}${shared_ext}$major'
15028
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
15029
 
  case $host_os in
15030
 
  irix5* | nonstopux*)
15031
 
    libsuff= shlibsuff=
15032
 
    ;;
15033
 
  *)
15034
 
    case $LD in # libtool.m4 will add one of these switches to LD
15035
 
    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
15036
 
      libsuff= shlibsuff= libmagic=32-bit;;
15037
 
    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
15038
 
      libsuff=32 shlibsuff=N32 libmagic=N32;;
15039
 
    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
15040
 
      libsuff=64 shlibsuff=64 libmagic=64-bit;;
15041
 
    *) libsuff= shlibsuff= libmagic=never-match;;
15042
 
    esac
15043
 
    ;;
15044
 
  esac
15045
 
  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
15046
 
  shlibpath_overrides_runpath=no
15047
 
  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
15048
 
  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
15049
 
  hardcode_into_libs=yes
15050
 
  ;;
15051
 
 
15052
 
# No shared lib support for Linux oldld, aout, or coff.
15053
 
linux*oldld* | linux*aout* | linux*coff*)
15054
 
  dynamic_linker=no
15055
 
  ;;
15056
 
 
15057
 
# This must be Linux ELF.
15058
 
linux* | k*bsd*-gnu | kopensolaris*-gnu)
15059
 
  version_type=linux
15060
 
  need_lib_prefix=no
15061
 
  need_version=no
15062
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15063
 
  soname_spec='${libname}${release}${shared_ext}$major'
15064
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
15065
 
  shlibpath_var=LD_LIBRARY_PATH
15066
 
  shlibpath_overrides_runpath=no
15067
 
  # Some binutils ld are patched to set DT_RUNPATH
15068
 
  save_LDFLAGS=$LDFLAGS
15069
 
  save_libdir=$libdir
15070
 
  eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
15071
 
       LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
15072
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15073
 
/* end confdefs.h.  */
15074
 
 
15075
 
int
15076
 
main ()
15077
 
{
15078
 
 
15079
 
  ;
15080
 
  return 0;
15081
 
}
15082
 
_ACEOF
15083
 
if ac_fn_cxx_try_link "$LINENO"; then :
15084
 
  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
15085
 
  shlibpath_overrides_runpath=yes
15086
 
fi
15087
 
fi
15088
 
rm -f core conftest.err conftest.$ac_objext \
15089
 
    conftest$ac_exeext conftest.$ac_ext
15090
 
  LDFLAGS=$save_LDFLAGS
15091
 
  libdir=$save_libdir
15092
 
 
15093
 
  # This implies no fast_install, which is unacceptable.
15094
 
  # Some rework will be needed to allow for fast_install
15095
 
  # before this can be enabled.
15096
 
  hardcode_into_libs=yes
15097
 
 
15098
 
  # Append ld.so.conf contents to the search path
15099
 
  if test -f /etc/ld.so.conf; then
15100
 
    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;/^$/d' | tr '\n' ' '`
15101
 
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
15102
 
  fi
15103
 
 
15104
 
  # We used to test for /lib/ld.so.1 and disable shared libraries on
15105
 
  # powerpc, because MkLinux only supported shared libraries with the
15106
 
  # GNU dynamic linker.  Since this was broken with cross compilers,
15107
 
  # most powerpc-linux boxes support dynamic linking these days and
15108
 
  # people can always --disable-shared, the test was removed, and we
15109
 
  # assume the GNU/Linux dynamic linker is in use.
15110
 
  dynamic_linker='GNU/Linux ld.so'
15111
 
  ;;
15112
 
 
15113
 
netbsdelf*-gnu)
15114
 
  version_type=linux
15115
 
  need_lib_prefix=no
15116
 
  need_version=no
15117
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15118
 
  soname_spec='${libname}${release}${shared_ext}$major'
15119
 
  shlibpath_var=LD_LIBRARY_PATH
15120
 
  shlibpath_overrides_runpath=no
15121
 
  hardcode_into_libs=yes
15122
 
  dynamic_linker='NetBSD ld.elf_so'
15123
 
  ;;
15124
 
 
15125
 
netbsd*)
15126
 
  version_type=sunos
15127
 
  need_lib_prefix=no
15128
 
  need_version=no
15129
 
  if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
15130
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15131
 
    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15132
 
    dynamic_linker='NetBSD (a.out) ld.so'
15133
 
  else
15134
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15135
 
    soname_spec='${libname}${release}${shared_ext}$major'
15136
 
    dynamic_linker='NetBSD ld.elf_so'
15137
 
  fi
15138
 
  shlibpath_var=LD_LIBRARY_PATH
15139
 
  shlibpath_overrides_runpath=yes
15140
 
  hardcode_into_libs=yes
15141
 
  ;;
15142
 
 
15143
 
newsos6)
15144
 
  version_type=linux
15145
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15146
 
  shlibpath_var=LD_LIBRARY_PATH
15147
 
  shlibpath_overrides_runpath=yes
15148
 
  ;;
15149
 
 
15150
 
*nto* | *qnx*)
15151
 
  version_type=qnx
15152
 
  need_lib_prefix=no
15153
 
  need_version=no
15154
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15155
 
  soname_spec='${libname}${release}${shared_ext}$major'
15156
 
  shlibpath_var=LD_LIBRARY_PATH
15157
 
  shlibpath_overrides_runpath=no
15158
 
  hardcode_into_libs=yes
15159
 
  dynamic_linker='ldqnx.so'
15160
 
  ;;
15161
 
 
15162
 
openbsd*)
15163
 
  version_type=sunos
15164
 
  sys_lib_dlsearch_path_spec="/usr/lib"
15165
 
  need_lib_prefix=no
15166
 
  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
15167
 
  case $host_os in
15168
 
    openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
15169
 
    *)                          need_version=no  ;;
15170
 
  esac
15171
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15172
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15173
 
  shlibpath_var=LD_LIBRARY_PATH
15174
 
  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15175
 
    case $host_os in
15176
 
      openbsd2.[89] | openbsd2.[89].*)
15177
 
        shlibpath_overrides_runpath=no
15178
 
        ;;
15179
 
      *)
15180
 
        shlibpath_overrides_runpath=yes
15181
 
        ;;
15182
 
      esac
15183
 
  else
15184
 
    shlibpath_overrides_runpath=yes
15185
 
  fi
15186
 
  ;;
15187
 
 
15188
 
os2*)
15189
 
  libname_spec='$name'
15190
 
  shrext_cmds=".dll"
15191
 
  need_lib_prefix=no
15192
 
  library_names_spec='$libname${shared_ext} $libname.a'
15193
 
  dynamic_linker='OS/2 ld.exe'
15194
 
  shlibpath_var=LIBPATH
15195
 
  ;;
15196
 
 
15197
 
osf3* | osf4* | osf5*)
15198
 
  version_type=osf
15199
 
  need_lib_prefix=no
15200
 
  need_version=no
15201
 
  soname_spec='${libname}${release}${shared_ext}$major'
15202
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15203
 
  shlibpath_var=LD_LIBRARY_PATH
15204
 
  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
15205
 
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
15206
 
  ;;
15207
 
 
15208
 
rdos*)
15209
 
  dynamic_linker=no
15210
 
  ;;
15211
 
 
15212
 
solaris*)
15213
 
  version_type=linux
15214
 
  need_lib_prefix=no
15215
 
  need_version=no
15216
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15217
 
  soname_spec='${libname}${release}${shared_ext}$major'
15218
 
  shlibpath_var=LD_LIBRARY_PATH
15219
 
  shlibpath_overrides_runpath=yes
15220
 
  hardcode_into_libs=yes
15221
 
  # ldd complains unless libraries are executable
15222
 
  postinstall_cmds='chmod +x $lib'
15223
 
  ;;
15224
 
 
15225
 
sunos4*)
15226
 
  version_type=sunos
15227
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15228
 
  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
15229
 
  shlibpath_var=LD_LIBRARY_PATH
15230
 
  shlibpath_overrides_runpath=yes
15231
 
  if test "$with_gnu_ld" = yes; then
15232
 
    need_lib_prefix=no
15233
 
  fi
15234
 
  need_version=yes
15235
 
  ;;
15236
 
 
15237
 
sysv4 | sysv4.3*)
15238
 
  version_type=linux
15239
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15240
 
  soname_spec='${libname}${release}${shared_ext}$major'
15241
 
  shlibpath_var=LD_LIBRARY_PATH
15242
 
  case $host_vendor in
15243
 
    sni)
15244
 
      shlibpath_overrides_runpath=no
15245
 
      need_lib_prefix=no
15246
 
      runpath_var=LD_RUN_PATH
15247
 
      ;;
15248
 
    siemens)
15249
 
      need_lib_prefix=no
15250
 
      ;;
15251
 
    motorola)
15252
 
      need_lib_prefix=no
15253
 
      need_version=no
15254
 
      shlibpath_overrides_runpath=no
15255
 
      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
15256
 
      ;;
15257
 
  esac
15258
 
  ;;
15259
 
 
15260
 
sysv4*MP*)
15261
 
  if test -d /usr/nec ;then
15262
 
    version_type=linux
15263
 
    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
15264
 
    soname_spec='$libname${shared_ext}.$major'
15265
 
    shlibpath_var=LD_LIBRARY_PATH
15266
 
  fi
15267
 
  ;;
15268
 
 
15269
 
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
15270
 
  version_type=freebsd-elf
15271
 
  need_lib_prefix=no
15272
 
  need_version=no
15273
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15274
 
  soname_spec='${libname}${release}${shared_ext}$major'
15275
 
  shlibpath_var=LD_LIBRARY_PATH
15276
 
  shlibpath_overrides_runpath=yes
15277
 
  hardcode_into_libs=yes
15278
 
  if test "$with_gnu_ld" = yes; then
15279
 
    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
15280
 
  else
15281
 
    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
15282
 
    case $host_os in
15283
 
      sco3.2v5*)
15284
 
        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
15285
 
        ;;
15286
 
    esac
15287
 
  fi
15288
 
  sys_lib_dlsearch_path_spec='/usr/lib'
15289
 
  ;;
15290
 
 
15291
 
tpf*)
15292
 
  # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
15293
 
  version_type=linux
15294
 
  need_lib_prefix=no
15295
 
  need_version=no
15296
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15297
 
  shlibpath_var=LD_LIBRARY_PATH
15298
 
  shlibpath_overrides_runpath=no
15299
 
  hardcode_into_libs=yes
15300
 
  ;;
15301
 
 
15302
 
uts4*)
15303
 
  version_type=linux
15304
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15305
 
  soname_spec='${libname}${release}${shared_ext}$major'
15306
 
  shlibpath_var=LD_LIBRARY_PATH
15307
 
  ;;
15308
 
 
15309
 
*)
15310
 
  dynamic_linker=no
15311
 
  ;;
15312
 
esac
15313
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
15314
 
$as_echo "$dynamic_linker" >&6; }
15315
 
test "$dynamic_linker" = no && can_build_shared=no
15316
 
 
15317
 
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
15318
 
if test "$GCC" = yes; then
15319
 
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
15320
 
fi
15321
 
 
15322
 
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
15323
 
  sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
15324
 
fi
15325
 
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
15326
 
  sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
15327
 
fi
15328
 
 
15329
 
 
15330
 
 
15331
 
 
15332
 
 
15333
 
 
15334
 
 
15335
 
 
15336
 
 
15337
 
 
15338
 
 
15339
 
 
15340
 
 
15341
 
 
15342
 
 
15343
 
 
15344
 
 
15345
 
 
15346
 
 
15347
 
 
15348
 
 
15349
 
 
15350
 
 
15351
 
 
15352
 
 
15353
 
 
15354
 
 
15355
 
 
15356
 
 
15357
 
 
15358
 
 
15359
 
 
15360
 
 
15361
 
 
15362
 
 
15363
 
 
15364
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
15365
 
$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
15366
 
hardcode_action_CXX=
15367
 
if test -n "$hardcode_libdir_flag_spec_CXX" ||
15368
 
   test -n "$runpath_var_CXX" ||
15369
 
   test "X$hardcode_automatic_CXX" = "Xyes" ; then
15370
 
 
15371
 
  # We can hardcode non-existent directories.
15372
 
  if test "$hardcode_direct_CXX" != no &&
15373
 
     # If the only mechanism to avoid hardcoding is shlibpath_var, we
15374
 
     # have to relink, otherwise we might link with an installed library
15375
 
     # when we should be linking with a yet-to-be-installed one
15376
 
     ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
15377
 
     test "$hardcode_minus_L_CXX" != no; then
15378
 
    # Linking always hardcodes the temporary library directory.
15379
 
    hardcode_action_CXX=relink
15380
 
  else
15381
 
    # We can link without hardcoding, and we can hardcode nonexisting dirs.
15382
 
    hardcode_action_CXX=immediate
15383
 
  fi
15384
 
else
15385
 
  # We cannot hardcode anything, or else we can only hardcode existing
15386
 
  # directories.
15387
 
  hardcode_action_CXX=unsupported
15388
 
fi
15389
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
15390
 
$as_echo "$hardcode_action_CXX" >&6; }
15391
 
 
15392
 
if test "$hardcode_action_CXX" = relink ||
15393
 
   test "$inherit_rpath_CXX" = yes; then
15394
 
  # Fast installation is not supported
15395
 
  enable_fast_install=no
15396
 
elif test "$shlibpath_overrides_runpath" = yes ||
15397
 
     test "$enable_shared" = no; then
15398
 
  # Fast installation is not necessary
15399
 
  enable_fast_install=needless
15400
 
fi
15401
 
 
15402
 
 
15403
 
 
15404
 
 
15405
 
 
15406
 
 
15407
 
 
15408
 
  fi # test -n "$compiler"
15409
 
 
15410
 
  CC=$lt_save_CC
15411
 
  LDCXX=$LD
15412
 
  LD=$lt_save_LD
15413
 
  GCC=$lt_save_GCC
15414
 
  with_gnu_ld=$lt_save_with_gnu_ld
15415
 
  lt_cv_path_LDCXX=$lt_cv_path_LD
15416
 
  lt_cv_path_LD=$lt_save_path_LD
15417
 
  lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
15418
 
  lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
15419
 
fi # test "$_lt_caught_CXX_error" != yes
15420
 
 
15421
 
ac_ext=c
15422
 
ac_cpp='$CPP $CPPFLAGS'
15423
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15424
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15425
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
15426
 
 
15427
 
 
15428
 
 
15429
 
 
15430
 
 
15431
 
 
15432
 
 
15433
 
 
15434
 
 
15435
 
 
15436
 
 
15437
 
 
15438
 
 
15439
 
        ac_config_commands="$ac_config_commands libtool"
15440
 
 
15441
 
 
15442
 
 
15443
 
 
15444
 
# Only expand once:
15445
 
 
15446
 
 
15447
 
 
15448
 
 
15449
 
 
15450
 
 
15451
 
        # Find any Python interpreter.
15452
 
    if test -z "$PYTHON"; then
15453
 
      for ac_prog in python python2 python3 python3.2 python3.1 python3.0 python2.7 python2.6 python2.5 python2.4 python2.3 python2.2 python2.1 python2.0
15454
 
do
15455
 
  # Extract the first word of "$ac_prog", so it can be a program name with args.
15456
 
set dummy $ac_prog; ac_word=$2
15457
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15458
 
$as_echo_n "checking for $ac_word... " >&6; }
15459
 
if test "${ac_cv_path_PYTHON+set}" = set; then :
15460
 
  $as_echo_n "(cached) " >&6
15461
 
else
15462
 
  case $PYTHON in
15463
 
  [\\/]* | ?:[\\/]*)
15464
 
  ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
15465
 
  ;;
15466
 
  *)
15467
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15468
 
for as_dir in $PATH
15469
 
do
15470
 
  IFS=$as_save_IFS
15471
 
  test -z "$as_dir" && as_dir=.
15472
 
    for ac_exec_ext in '' $ac_executable_extensions; do
15473
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15474
 
    ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
15475
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15476
 
    break 2
15477
 
  fi
15478
 
done
15479
 
  done
15480
 
IFS=$as_save_IFS
15481
 
 
15482
 
  ;;
15483
 
esac
15484
 
fi
15485
 
PYTHON=$ac_cv_path_PYTHON
15486
 
if test -n "$PYTHON"; then
15487
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
15488
 
$as_echo "$PYTHON" >&6; }
15489
 
else
15490
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15491
 
$as_echo "no" >&6; }
15492
 
fi
15493
 
 
15494
 
 
15495
 
  test -n "$PYTHON" && break
15496
 
done
15497
 
test -n "$PYTHON" || PYTHON=":"
15498
 
 
15499
 
    fi
15500
 
    am_display_PYTHON=python
15501
 
 
15502
 
 
15503
 
  if test "$PYTHON" = :; then
15504
 
      as_fn_error $? "no suitable Python interpreter found" "$LINENO" 5
15505
 
  else
15506
 
 
15507
 
 
15508
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON version" >&5
15509
 
$as_echo_n "checking for $am_display_PYTHON version... " >&6; }
15510
 
if test "${am_cv_python_version+set}" = set; then :
15511
 
  $as_echo_n "(cached) " >&6
15512
 
else
15513
 
  am_cv_python_version=`$PYTHON -c "import sys; sys.stdout.write(sys.version[:3])"`
15514
 
fi
15515
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_version" >&5
15516
 
$as_echo "$am_cv_python_version" >&6; }
15517
 
  PYTHON_VERSION=$am_cv_python_version
15518
 
 
15519
 
 
15520
 
 
15521
 
  PYTHON_PREFIX='${prefix}'
15522
 
 
15523
 
  PYTHON_EXEC_PREFIX='${exec_prefix}'
15524
 
 
15525
 
 
15526
 
 
15527
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON platform" >&5
15528
 
$as_echo_n "checking for $am_display_PYTHON platform... " >&6; }
15529
 
if test "${am_cv_python_platform+set}" = set; then :
15530
 
  $as_echo_n "(cached) " >&6
15531
 
else
15532
 
  am_cv_python_platform=`$PYTHON -c "import sys; sys.stdout.write(sys.platform)"`
15533
 
fi
15534
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_platform" >&5
15535
 
$as_echo "$am_cv_python_platform" >&6; }
15536
 
  PYTHON_PLATFORM=$am_cv_python_platform
15537
 
 
15538
 
 
15539
 
 
15540
 
 
15541
 
                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON script directory" >&5
15542
 
$as_echo_n "checking for $am_display_PYTHON script directory... " >&6; }
15543
 
if test "${am_cv_python_pythondir+set}" = set; then :
15544
 
  $as_echo_n "(cached) " >&6
15545
 
else
15546
 
  if test "x$prefix" = xNONE
15547
 
     then
15548
 
       am_py_prefix=$ac_default_prefix
15549
 
     else
15550
 
       am_py_prefix=$prefix
15551
 
     fi
15552
 
     am_cv_python_pythondir=`$PYTHON -c "import sys; from distutils import sysconfig; sys.stdout.write(sysconfig.get_python_lib(0,0,prefix='$am_py_prefix'))" 2>/dev/null ||
15553
 
     echo "$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages"`
15554
 
     case $am_cv_python_pythondir in
15555
 
     $am_py_prefix*)
15556
 
       am__strip_prefix=`echo "$am_py_prefix" | sed 's|.|.|g'`
15557
 
       am_cv_python_pythondir=`echo "$am_cv_python_pythondir" | sed "s,^$am__strip_prefix,$PYTHON_PREFIX,"`
15558
 
       ;;
15559
 
     *)
15560
 
       case $am_py_prefix in
15561
 
         /usr|/System*) ;;
15562
 
         *)
15563
 
          am_cv_python_pythondir=$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages
15564
 
          ;;
15565
 
       esac
15566
 
       ;;
15567
 
     esac
15568
 
 
15569
 
fi
15570
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pythondir" >&5
15571
 
$as_echo "$am_cv_python_pythondir" >&6; }
15572
 
  pythondir=$am_cv_python_pythondir
15573
 
 
15574
 
 
15575
 
 
15576
 
  pkgpythondir=\${pythondir}/$PACKAGE
15577
 
 
15578
 
 
15579
 
            { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON extension module directory" >&5
15580
 
$as_echo_n "checking for $am_display_PYTHON extension module directory... " >&6; }
15581
 
if test "${am_cv_python_pyexecdir+set}" = set; then :
15582
 
  $as_echo_n "(cached) " >&6
15583
 
else
15584
 
  if test "x$exec_prefix" = xNONE
15585
 
     then
15586
 
       am_py_exec_prefix=$am_py_prefix
15587
 
     else
15588
 
       am_py_exec_prefix=$exec_prefix
15589
 
     fi
15590
 
     am_cv_python_pyexecdir=`$PYTHON -c "import sys; from distutils import sysconfig; sys.stdout.write(sysconfig.get_python_lib(1,0,prefix='$am_py_exec_prefix'))" 2>/dev/null ||
15591
 
     echo "$PYTHON_EXEC_PREFIX/lib/python$PYTHON_VERSION/site-packages"`
15592
 
     case $am_cv_python_pyexecdir in
15593
 
     $am_py_exec_prefix*)
15594
 
       am__strip_prefix=`echo "$am_py_exec_prefix" | sed 's|.|.|g'`
15595
 
       am_cv_python_pyexecdir=`echo "$am_cv_python_pyexecdir" | sed "s,^$am__strip_prefix,$PYTHON_EXEC_PREFIX,"`
15596
 
       ;;
15597
 
     *)
15598
 
       case $am_py_exec_prefix in
15599
 
         /usr|/System*) ;;
15600
 
         *)
15601
 
           am_cv_python_pyexecdir=$PYTHON_EXEC_PREFIX/lib/python$PYTHON_VERSION/site-packages
15602
 
           ;;
15603
 
       esac
15604
 
       ;;
15605
 
     esac
15606
 
 
15607
 
fi
15608
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pyexecdir" >&5
15609
 
$as_echo "$am_cv_python_pyexecdir" >&6; }
15610
 
  pyexecdir=$am_cv_python_pyexecdir
15611
 
 
15612
 
 
15613
 
 
15614
 
  pkgpyexecdir=\${pyexecdir}/$PACKAGE
15615
 
 
15616
 
 
15617
 
 
15618
 
  fi
15619
 
 
15620
 
 
15621
 
 
15622
 
if test "$GCC" = "yes"; then :
15623
 
 
15624
 
  SUBUNIT_CFLAGS="-Wall -Werror -Wextra -Wstrict-prototypes "
15625
 
  SUBUNIT_CFLAGS="$SUBUNIT_CFLAGS -Wmissing-prototypes -Wwrite-strings "
15626
 
  SUBUNIT_CFLAGS="$SUBUNIT_CFLAGS -Wno-variadic-macros "
15627
 
  SUBUNIT_CXXFLAGS="-Wall -Werror -Wextra -Wwrite-strings -Wno-variadic-macros"
15628
 
 
15629
 
fi
15630
 
 
15631
 
AM_CFLAGS="$SUBUNIT_CFLAGS -I\$(top_srcdir)/c/include"
15632
 
AM_CXXFLAGS="$SUBUNIT_CXXFLAGS -I\$(top_srcdir)/c/include"
15633
 
 
15634
 
 
15635
 
 
15636
 
# Checks for libraries.
15637
 
 
15638
 
# Checks for header files.
15639
 
for ac_header in stdlib.h
15640
 
do :
15641
 
  ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
15642
 
if test "x$ac_cv_header_stdlib_h" = x""yes; then :
15643
 
  cat >>confdefs.h <<_ACEOF
15644
 
#define HAVE_STDLIB_H 1
15645
 
_ACEOF
15646
 
 
15647
 
fi
15648
 
 
15649
 
done
15650
 
 
15651
 
 
15652
 
# Checks for typedefs, structures, and compiler characteristics.
15653
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
15654
 
$as_echo_n "checking for an ANSI C-conforming const... " >&6; }
15655
 
if test "${ac_cv_c_const+set}" = set; then :
15656
 
  $as_echo_n "(cached) " >&6
15657
 
else
15658
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15659
 
/* end confdefs.h.  */
15660
 
 
15661
 
int
15662
 
main ()
15663
 
{
15664
 
/* FIXME: Include the comments suggested by Paul. */
15665
 
#ifndef __cplusplus
15666
 
  /* Ultrix mips cc rejects this.  */
15667
 
  typedef int charset[2];
15668
 
  const charset cs;
15669
 
  /* SunOS 4.1.1 cc rejects this.  */
15670
 
  char const *const *pcpcc;
15671
 
  char **ppc;
15672
 
  /* NEC SVR4.0.2 mips cc rejects this.  */
15673
 
  struct point {int x, y;};
15674
 
  static struct point const zero = {0,0};
15675
 
  /* AIX XL C 1.02.0.0 rejects this.
15676
 
     It does not let you subtract one const X* pointer from another in
15677
 
     an arm of an if-expression whose if-part is not a constant
15678
 
     expression */
15679
 
  const char *g = "string";
15680
 
  pcpcc = &g + (g ? g-g : 0);
15681
 
  /* HPUX 7.0 cc rejects these. */
15682
 
  ++pcpcc;
15683
 
  ppc = (char**) pcpcc;
15684
 
  pcpcc = (char const *const *) ppc;
15685
 
  { /* SCO 3.2v4 cc rejects this.  */
15686
 
    char *t;
15687
 
    char const *s = 0 ? (char *) 0 : (char const *) 0;
15688
 
 
15689
 
    *t++ = 0;
15690
 
    if (s) return 0;
15691
 
  }
15692
 
  { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
15693
 
    int x[] = {25, 17};
15694
 
    const int *foo = &x[0];
15695
 
    ++foo;
15696
 
  }
15697
 
  { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
15698
 
    typedef const int *iptr;
15699
 
    iptr p = 0;
15700
 
    ++p;
15701
 
  }
15702
 
  { /* AIX XL C 1.02.0.0 rejects this saying
15703
 
       "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
15704
 
    struct s { int j; const int *ap[3]; };
15705
 
    struct s *b; b->j = 5;
15706
 
  }
15707
 
  { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
15708
 
    const int foo = 10;
15709
 
    if (!foo) return 0;
15710
 
  }
15711
 
  return !cs[0] && !zero.x;
15712
 
#endif
15713
 
 
15714
 
  ;
15715
 
  return 0;
15716
 
}
15717
 
_ACEOF
15718
 
if ac_fn_c_try_compile "$LINENO"; then :
15719
 
  ac_cv_c_const=yes
15720
 
else
15721
 
  ac_cv_c_const=no
15722
 
fi
15723
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15724
 
fi
15725
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
15726
 
$as_echo "$ac_cv_c_const" >&6; }
15727
 
if test $ac_cv_c_const = no; then
15728
 
 
15729
 
$as_echo "#define const /**/" >>confdefs.h
15730
 
 
15731
 
fi
15732
 
 
15733
 
ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
15734
 
if test "x$ac_cv_type_pid_t" = x""yes; then :
15735
 
 
15736
 
else
15737
 
 
15738
 
cat >>confdefs.h <<_ACEOF
15739
 
#define pid_t int
15740
 
_ACEOF
15741
 
 
15742
 
fi
15743
 
 
15744
 
ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
15745
 
if test "x$ac_cv_type_size_t" = x""yes; then :
15746
 
 
15747
 
else
15748
 
 
15749
 
cat >>confdefs.h <<_ACEOF
15750
 
#define size_t unsigned int
15751
 
_ACEOF
15752
 
 
15753
 
fi
15754
 
 
15755
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
15756
 
$as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
15757
 
if test "${ac_cv_header_time+set}" = set; then :
15758
 
  $as_echo_n "(cached) " >&6
15759
 
else
15760
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15761
 
/* end confdefs.h.  */
15762
 
#include <sys/types.h>
15763
 
#include <sys/time.h>
15764
 
#include <time.h>
15765
 
 
15766
 
int
15767
 
main ()
15768
 
{
15769
 
if ((struct tm *) 0)
15770
 
return 0;
15771
 
  ;
15772
 
  return 0;
15773
 
}
15774
 
_ACEOF
15775
 
if ac_fn_c_try_compile "$LINENO"; then :
15776
 
  ac_cv_header_time=yes
15777
 
else
15778
 
  ac_cv_header_time=no
15779
 
fi
15780
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15781
 
fi
15782
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
15783
 
$as_echo "$ac_cv_header_time" >&6; }
15784
 
if test $ac_cv_header_time = yes; then
15785
 
 
15786
 
$as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
15787
 
 
15788
 
fi
15789
 
 
15790
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5
15791
 
$as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; }
15792
 
if test "${ac_cv_struct_tm+set}" = set; then :
15793
 
  $as_echo_n "(cached) " >&6
15794
 
else
15795
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15796
 
/* end confdefs.h.  */
15797
 
#include <sys/types.h>
15798
 
#include <time.h>
15799
 
 
15800
 
int
15801
 
main ()
15802
 
{
15803
 
struct tm tm;
15804
 
                                     int *p = &tm.tm_sec;
15805
 
                                     return !p;
15806
 
  ;
15807
 
  return 0;
15808
 
}
15809
 
_ACEOF
15810
 
if ac_fn_c_try_compile "$LINENO"; then :
15811
 
  ac_cv_struct_tm=time.h
15812
 
else
15813
 
  ac_cv_struct_tm=sys/time.h
15814
 
fi
15815
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15816
 
fi
15817
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5
15818
 
$as_echo "$ac_cv_struct_tm" >&6; }
15819
 
if test $ac_cv_struct_tm = sys/time.h; then
15820
 
 
15821
 
$as_echo "#define TM_IN_SYS_TIME 1" >>confdefs.h
15822
 
 
15823
 
fi
15824
 
 
15825
 
 
15826
 
# The cast to long int works around a bug in the HP C Compiler
15827
 
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15828
 
# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15829
 
# This bug is HP SR number 8606223364.
15830
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
15831
 
$as_echo_n "checking size of int... " >&6; }
15832
 
if test "${ac_cv_sizeof_int+set}" = set; then :
15833
 
  $as_echo_n "(cached) " >&6
15834
 
else
15835
 
  if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int"        "$ac_includes_default"; then :
15836
 
 
15837
 
else
15838
 
  if test "$ac_cv_type_int" = yes; then
15839
 
     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15840
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15841
 
as_fn_error 77 "cannot compute sizeof (int)
15842
 
See \`config.log' for more details" "$LINENO" 5 ; }
15843
 
   else
15844
 
     ac_cv_sizeof_int=0
15845
 
   fi
15846
 
fi
15847
 
 
15848
 
fi
15849
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
15850
 
$as_echo "$ac_cv_sizeof_int" >&6; }
15851
 
 
15852
 
 
15853
 
 
15854
 
cat >>confdefs.h <<_ACEOF
15855
 
#define SIZEOF_INT $ac_cv_sizeof_int
15856
 
_ACEOF
15857
 
 
15858
 
 
15859
 
# The cast to long int works around a bug in the HP C Compiler
15860
 
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15861
 
# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15862
 
# This bug is HP SR number 8606223364.
15863
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
15864
 
$as_echo_n "checking size of short... " >&6; }
15865
 
if test "${ac_cv_sizeof_short+set}" = set; then :
15866
 
  $as_echo_n "(cached) " >&6
15867
 
else
15868
 
  if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short"        "$ac_includes_default"; then :
15869
 
 
15870
 
else
15871
 
  if test "$ac_cv_type_short" = yes; then
15872
 
     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15873
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15874
 
as_fn_error 77 "cannot compute sizeof (short)
15875
 
See \`config.log' for more details" "$LINENO" 5 ; }
15876
 
   else
15877
 
     ac_cv_sizeof_short=0
15878
 
   fi
15879
 
fi
15880
 
 
15881
 
fi
15882
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
15883
 
$as_echo "$ac_cv_sizeof_short" >&6; }
15884
 
 
15885
 
 
15886
 
 
15887
 
cat >>confdefs.h <<_ACEOF
15888
 
#define SIZEOF_SHORT $ac_cv_sizeof_short
15889
 
_ACEOF
15890
 
 
15891
 
 
15892
 
# The cast to long int works around a bug in the HP C Compiler
15893
 
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15894
 
# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15895
 
# This bug is HP SR number 8606223364.
15896
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
15897
 
$as_echo_n "checking size of long... " >&6; }
15898
 
if test "${ac_cv_sizeof_long+set}" = set; then :
15899
 
  $as_echo_n "(cached) " >&6
15900
 
else
15901
 
  if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long"        "$ac_includes_default"; then :
15902
 
 
15903
 
else
15904
 
  if test "$ac_cv_type_long" = yes; then
15905
 
     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15906
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15907
 
as_fn_error 77 "cannot compute sizeof (long)
15908
 
See \`config.log' for more details" "$LINENO" 5 ; }
15909
 
   else
15910
 
     ac_cv_sizeof_long=0
15911
 
   fi
15912
 
fi
15913
 
 
15914
 
fi
15915
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
15916
 
$as_echo "$ac_cv_sizeof_long" >&6; }
15917
 
 
15918
 
 
15919
 
 
15920
 
cat >>confdefs.h <<_ACEOF
15921
 
#define SIZEOF_LONG $ac_cv_sizeof_long
15922
 
_ACEOF
15923
 
 
15924
 
 
15925
 
 
15926
 
# Checks for library functions.
15927
 
for ac_header in stdlib.h
15928
 
do :
15929
 
  ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
15930
 
if test "x$ac_cv_header_stdlib_h" = x""yes; then :
15931
 
  cat >>confdefs.h <<_ACEOF
15932
 
#define HAVE_STDLIB_H 1
15933
 
_ACEOF
15934
 
 
15935
 
fi
15936
 
 
15937
 
done
15938
 
 
15939
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible malloc" >&5
15940
 
$as_echo_n "checking for GNU libc compatible malloc... " >&6; }
15941
 
if test "${ac_cv_func_malloc_0_nonnull+set}" = set; then :
15942
 
  $as_echo_n "(cached) " >&6
15943
 
else
15944
 
  if test "$cross_compiling" = yes; then :
15945
 
  ac_cv_func_malloc_0_nonnull=no
15946
 
else
15947
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15948
 
/* end confdefs.h.  */
15949
 
#if defined STDC_HEADERS || defined HAVE_STDLIB_H
15950
 
# include <stdlib.h>
15951
 
#else
15952
 
char *malloc ();
15953
 
#endif
15954
 
 
15955
 
int
15956
 
main ()
15957
 
{
15958
 
return ! malloc (0);
15959
 
  ;
15960
 
  return 0;
15961
 
}
15962
 
_ACEOF
15963
 
if ac_fn_c_try_run "$LINENO"; then :
15964
 
  ac_cv_func_malloc_0_nonnull=yes
15965
 
else
15966
 
  ac_cv_func_malloc_0_nonnull=no
15967
 
fi
15968
 
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
15969
 
  conftest.$ac_objext conftest.beam conftest.$ac_ext
15970
 
fi
15971
 
 
15972
 
fi
15973
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_malloc_0_nonnull" >&5
15974
 
$as_echo "$ac_cv_func_malloc_0_nonnull" >&6; }
15975
 
if test $ac_cv_func_malloc_0_nonnull = yes; then :
15976
 
 
15977
 
$as_echo "#define HAVE_MALLOC 1" >>confdefs.h
15978
 
 
15979
 
else
15980
 
  $as_echo "#define HAVE_MALLOC 0" >>confdefs.h
15981
 
 
15982
 
   case " $LIBOBJS " in
15983
 
  *" malloc.$ac_objext "* ) ;;
15984
 
  *) LIBOBJS="$LIBOBJS malloc.$ac_objext"
15985
 
 ;;
15986
 
esac
15987
 
 
15988
 
 
15989
 
$as_echo "#define malloc rpl_malloc" >>confdefs.h
15990
 
 
15991
 
fi
15992
 
 
15993
 
 
15994
 
for ac_header in stdlib.h
15995
 
do :
15996
 
  ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
15997
 
if test "x$ac_cv_header_stdlib_h" = x""yes; then :
15998
 
  cat >>confdefs.h <<_ACEOF
15999
 
#define HAVE_STDLIB_H 1
16000
 
_ACEOF
16001
 
 
16002
 
fi
16003
 
 
16004
 
done
16005
 
 
16006
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible realloc" >&5
16007
 
$as_echo_n "checking for GNU libc compatible realloc... " >&6; }
16008
 
if test "${ac_cv_func_realloc_0_nonnull+set}" = set; then :
16009
 
  $as_echo_n "(cached) " >&6
16010
 
else
16011
 
  if test "$cross_compiling" = yes; then :
16012
 
  ac_cv_func_realloc_0_nonnull=no
16013
 
else
16014
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16015
 
/* end confdefs.h.  */
16016
 
#if defined STDC_HEADERS || defined HAVE_STDLIB_H
16017
 
# include <stdlib.h>
16018
 
#else
16019
 
char *realloc ();
16020
 
#endif
16021
 
 
16022
 
int
16023
 
main ()
16024
 
{
16025
 
return ! realloc (0, 0);
16026
 
  ;
16027
 
  return 0;
16028
 
}
16029
 
_ACEOF
16030
 
if ac_fn_c_try_run "$LINENO"; then :
16031
 
  ac_cv_func_realloc_0_nonnull=yes
16032
 
else
16033
 
  ac_cv_func_realloc_0_nonnull=no
16034
 
fi
16035
 
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
16036
 
  conftest.$ac_objext conftest.beam conftest.$ac_ext
16037
 
fi
16038
 
 
16039
 
fi
16040
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_realloc_0_nonnull" >&5
16041
 
$as_echo "$ac_cv_func_realloc_0_nonnull" >&6; }
16042
 
if test $ac_cv_func_realloc_0_nonnull = yes; then :
16043
 
 
16044
 
$as_echo "#define HAVE_REALLOC 1" >>confdefs.h
16045
 
 
16046
 
else
16047
 
  $as_echo "#define HAVE_REALLOC 0" >>confdefs.h
16048
 
 
16049
 
   case " $LIBOBJS " in
16050
 
  *" realloc.$ac_objext "* ) ;;
16051
 
  *) LIBOBJS="$LIBOBJS realloc.$ac_objext"
16052
 
 ;;
16053
 
esac
16054
 
 
16055
 
 
16056
 
$as_echo "#define realloc rpl_realloc" >>confdefs.h
16057
 
 
16058
 
fi
16059
 
 
16060
 
 
16061
 
 
16062
 
# Easier memory management.
16063
 
# C unit testing.
16064
 
 
16065
 
 
16066
 
 
16067
 
 
16068
 
 
16069
 
 
16070
 
if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
16071
 
        if test -n "$ac_tool_prefix"; then
16072
 
  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
16073
 
set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
16074
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16075
 
$as_echo_n "checking for $ac_word... " >&6; }
16076
 
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
16077
 
  $as_echo_n "(cached) " >&6
16078
 
else
16079
 
  case $PKG_CONFIG in
16080
 
  [\\/]* | ?:[\\/]*)
16081
 
  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
16082
 
  ;;
16083
 
  *)
16084
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16085
 
for as_dir in $PATH
16086
 
do
16087
 
  IFS=$as_save_IFS
16088
 
  test -z "$as_dir" && as_dir=.
16089
 
    for ac_exec_ext in '' $ac_executable_extensions; do
16090
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16091
 
    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
16092
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16093
 
    break 2
16094
 
  fi
16095
 
done
16096
 
  done
16097
 
IFS=$as_save_IFS
16098
 
 
16099
 
  ;;
16100
 
esac
16101
 
fi
16102
 
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
16103
 
if test -n "$PKG_CONFIG"; then
16104
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
16105
 
$as_echo "$PKG_CONFIG" >&6; }
16106
 
else
16107
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16108
 
$as_echo "no" >&6; }
16109
 
fi
16110
 
 
16111
 
 
16112
 
fi
16113
 
if test -z "$ac_cv_path_PKG_CONFIG"; then
16114
 
  ac_pt_PKG_CONFIG=$PKG_CONFIG
16115
 
  # Extract the first word of "pkg-config", so it can be a program name with args.
16116
 
set dummy pkg-config; ac_word=$2
16117
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16118
 
$as_echo_n "checking for $ac_word... " >&6; }
16119
 
if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
16120
 
  $as_echo_n "(cached) " >&6
16121
 
else
16122
 
  case $ac_pt_PKG_CONFIG in
16123
 
  [\\/]* | ?:[\\/]*)
16124
 
  ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
16125
 
  ;;
16126
 
  *)
16127
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16128
 
for as_dir in $PATH
16129
 
do
16130
 
  IFS=$as_save_IFS
16131
 
  test -z "$as_dir" && as_dir=.
16132
 
    for ac_exec_ext in '' $ac_executable_extensions; do
16133
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16134
 
    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
16135
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16136
 
    break 2
16137
 
  fi
16138
 
done
16139
 
  done
16140
 
IFS=$as_save_IFS
16141
 
 
16142
 
  ;;
16143
 
esac
16144
 
fi
16145
 
ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
16146
 
if test -n "$ac_pt_PKG_CONFIG"; then
16147
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
16148
 
$as_echo "$ac_pt_PKG_CONFIG" >&6; }
16149
 
else
16150
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16151
 
$as_echo "no" >&6; }
16152
 
fi
16153
 
 
16154
 
  if test "x$ac_pt_PKG_CONFIG" = x; then
16155
 
    PKG_CONFIG=""
16156
 
  else
16157
 
    case $cross_compiling:$ac_tool_warned in
16158
 
yes:)
16159
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
16160
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
16161
 
ac_tool_warned=yes ;;
16162
 
esac
16163
 
    PKG_CONFIG=$ac_pt_PKG_CONFIG
16164
 
  fi
16165
 
else
16166
 
  PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
16167
 
fi
16168
 
 
16169
 
fi
16170
 
if test -n "$PKG_CONFIG"; then
16171
 
        _pkg_min_version=0.9.0
16172
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
16173
 
$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
16174
 
        if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
16175
 
                { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16176
 
$as_echo "yes" >&6; }
16177
 
        else
16178
 
                { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16179
 
$as_echo "no" >&6; }
16180
 
                PKG_CONFIG=""
16181
 
        fi
16182
 
fi
16183
 
 
16184
 
pkg_failed=no
16185
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for CHECK" >&5
16186
 
$as_echo_n "checking for CHECK... " >&6; }
16187
 
 
16188
 
if test -n "$CHECK_CFLAGS"; then
16189
 
    pkg_cv_CHECK_CFLAGS="$CHECK_CFLAGS"
16190
 
 elif test -n "$PKG_CONFIG"; then
16191
 
    if test -n "$PKG_CONFIG" && \
16192
 
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"check >= 0.9.4\""; } >&5
16193
 
  ($PKG_CONFIG --exists --print-errors "check >= 0.9.4") 2>&5
16194
 
  ac_status=$?
16195
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16196
 
  test $ac_status = 0; }; then
16197
 
  pkg_cv_CHECK_CFLAGS=`$PKG_CONFIG --cflags "check >= 0.9.4" 2>/dev/null`
16198
 
else
16199
 
  pkg_failed=yes
16200
 
fi
16201
 
 else
16202
 
    pkg_failed=untried
16203
 
fi
16204
 
if test -n "$CHECK_LIBS"; then
16205
 
    pkg_cv_CHECK_LIBS="$CHECK_LIBS"
16206
 
 elif test -n "$PKG_CONFIG"; then
16207
 
    if test -n "$PKG_CONFIG" && \
16208
 
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"check >= 0.9.4\""; } >&5
16209
 
  ($PKG_CONFIG --exists --print-errors "check >= 0.9.4") 2>&5
16210
 
  ac_status=$?
16211
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16212
 
  test $ac_status = 0; }; then
16213
 
  pkg_cv_CHECK_LIBS=`$PKG_CONFIG --libs "check >= 0.9.4" 2>/dev/null`
16214
 
else
16215
 
  pkg_failed=yes
16216
 
fi
16217
 
 else
16218
 
    pkg_failed=untried
16219
 
fi
16220
 
 
16221
 
 
16222
 
 
16223
 
if test $pkg_failed = yes; then
16224
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16225
 
$as_echo "no" >&6; }
16226
 
 
16227
 
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
16228
 
        _pkg_short_errors_supported=yes
16229
 
else
16230
 
        _pkg_short_errors_supported=no
16231
 
fi
16232
 
        if test $_pkg_short_errors_supported = yes; then
16233
 
                CHECK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "check >= 0.9.4" 2>&1`
16234
 
        else
16235
 
                CHECK_PKG_ERRORS=`$PKG_CONFIG --print-errors "check >= 0.9.4" 2>&1`
16236
 
        fi
16237
 
        # Put the nasty error message in config.log where it belongs
16238
 
        echo "$CHECK_PKG_ERRORS" >&5
16239
 
 
16240
 
        as_fn_error $? "Package requirements (check >= 0.9.4) were not met:
16241
 
 
16242
 
$CHECK_PKG_ERRORS
16243
 
 
16244
 
Consider adjusting the PKG_CONFIG_PATH environment variable if you
16245
 
installed software in a non-standard prefix.
16246
 
 
16247
 
Alternatively, you may set the environment variables CHECK_CFLAGS
16248
 
and CHECK_LIBS to avoid the need to call pkg-config.
16249
 
See the pkg-config man page for more details." "$LINENO" 5
16250
 
elif test $pkg_failed = untried; then
16251
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16252
 
$as_echo "no" >&6; }
16253
 
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16254
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16255
 
as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
16256
 
is in your PATH or set the PKG_CONFIG environment variable to the full
16257
 
path to pkg-config.
16258
 
 
16259
 
Alternatively, you may set the environment variables CHECK_CFLAGS
16260
 
and CHECK_LIBS to avoid the need to call pkg-config.
16261
 
See the pkg-config man page for more details.
16262
 
 
16263
 
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
16264
 
See \`config.log' for more details" "$LINENO" 5 ; }
16265
 
else
16266
 
        CHECK_CFLAGS=$pkg_cv_CHECK_CFLAGS
16267
 
        CHECK_LIBS=$pkg_cv_CHECK_LIBS
16268
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16269
 
$as_echo "yes" >&6; }
16270
 
 
16271
 
fi
16272
 
# C++ unit testing.
16273
 
 
16274
 
pkg_failed=no
16275
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for CPPUNIT" >&5
16276
 
$as_echo_n "checking for CPPUNIT... " >&6; }
16277
 
 
16278
 
if test -n "$CPPUNIT_CFLAGS"; then
16279
 
    pkg_cv_CPPUNIT_CFLAGS="$CPPUNIT_CFLAGS"
16280
 
 elif test -n "$PKG_CONFIG"; then
16281
 
    if test -n "$PKG_CONFIG" && \
16282
 
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"cppunit\""; } >&5
16283
 
  ($PKG_CONFIG --exists --print-errors "cppunit") 2>&5
16284
 
  ac_status=$?
16285
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16286
 
  test $ac_status = 0; }; then
16287
 
  pkg_cv_CPPUNIT_CFLAGS=`$PKG_CONFIG --cflags "cppunit" 2>/dev/null`
16288
 
else
16289
 
  pkg_failed=yes
16290
 
fi
16291
 
 else
16292
 
    pkg_failed=untried
16293
 
fi
16294
 
if test -n "$CPPUNIT_LIBS"; then
16295
 
    pkg_cv_CPPUNIT_LIBS="$CPPUNIT_LIBS"
16296
 
 elif test -n "$PKG_CONFIG"; then
16297
 
    if test -n "$PKG_CONFIG" && \
16298
 
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"cppunit\""; } >&5
16299
 
  ($PKG_CONFIG --exists --print-errors "cppunit") 2>&5
16300
 
  ac_status=$?
16301
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16302
 
  test $ac_status = 0; }; then
16303
 
  pkg_cv_CPPUNIT_LIBS=`$PKG_CONFIG --libs "cppunit" 2>/dev/null`
16304
 
else
16305
 
  pkg_failed=yes
16306
 
fi
16307
 
 else
16308
 
    pkg_failed=untried
16309
 
fi
16310
 
 
16311
 
 
16312
 
 
16313
 
if test $pkg_failed = yes; then
16314
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16315
 
$as_echo "no" >&6; }
16316
 
 
16317
 
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
16318
 
        _pkg_short_errors_supported=yes
16319
 
else
16320
 
        _pkg_short_errors_supported=no
16321
 
fi
16322
 
        if test $_pkg_short_errors_supported = yes; then
16323
 
                CPPUNIT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "cppunit" 2>&1`
16324
 
        else
16325
 
                CPPUNIT_PKG_ERRORS=`$PKG_CONFIG --print-errors "cppunit" 2>&1`
16326
 
        fi
16327
 
        # Put the nasty error message in config.log where it belongs
16328
 
        echo "$CPPUNIT_PKG_ERRORS" >&5
16329
 
 
16330
 
        as_fn_error $? "Package requirements (cppunit) were not met:
16331
 
 
16332
 
$CPPUNIT_PKG_ERRORS
16333
 
 
16334
 
Consider adjusting the PKG_CONFIG_PATH environment variable if you
16335
 
installed software in a non-standard prefix.
16336
 
 
16337
 
Alternatively, you may set the environment variables CPPUNIT_CFLAGS
16338
 
and CPPUNIT_LIBS to avoid the need to call pkg-config.
16339
 
See the pkg-config man page for more details." "$LINENO" 5
16340
 
elif test $pkg_failed = untried; then
16341
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16342
 
$as_echo "no" >&6; }
16343
 
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16344
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16345
 
as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
16346
 
is in your PATH or set the PKG_CONFIG environment variable to the full
16347
 
path to pkg-config.
16348
 
 
16349
 
Alternatively, you may set the environment variables CPPUNIT_CFLAGS
16350
 
and CPPUNIT_LIBS to avoid the need to call pkg-config.
16351
 
See the pkg-config man page for more details.
16352
 
 
16353
 
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
16354
 
See \`config.log' for more details" "$LINENO" 5 ; }
16355
 
else
16356
 
        CPPUNIT_CFLAGS=$pkg_cv_CPPUNIT_CFLAGS
16357
 
        CPPUNIT_LIBS=$pkg_cv_CPPUNIT_LIBS
16358
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16359
 
$as_echo "yes" >&6; }
16360
 
 
16361
 
fi
16362
 
 
16363
 
# Output files
16364
 
ac_config_headers="$ac_config_headers config.h"
16365
 
 
16366
 
 
16367
 
ac_config_files="$ac_config_files libsubunit.pc libcppunit_subunit.pc Makefile perl/Makefile.PL"
16368
 
 
16369
 
cat >confcache <<\_ACEOF
16370
 
# This file is a shell script that caches the results of configure
16371
 
# tests run on this system so they can be shared between configure
16372
 
# scripts and configure runs, see configure's option --config-cache.
16373
 
# It is not useful on other systems.  If it contains results you don't
16374
 
# want to keep, you may remove or edit it.
16375
 
#
16376
 
# config.status only pays attention to the cache file if you give it
16377
 
# the --recheck option to rerun configure.
16378
 
#
16379
 
# `ac_cv_env_foo' variables (set or unset) will be overridden when
16380
 
# loading this file, other *unset* `ac_cv_foo' will be assigned the
16381
 
# following values.
16382
 
 
16383
 
_ACEOF
16384
 
 
16385
 
# The following way of writing the cache mishandles newlines in values,
16386
 
# but we know of no workaround that is simple, portable, and efficient.
16387
 
# So, we kill variables containing newlines.
16388
 
# Ultrix sh set writes to stderr and can't be redirected directly,
16389
 
# and sets the high bit in the cache file unless we assign to the vars.
16390
 
(
16391
 
  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
16392
 
    eval ac_val=\$$ac_var
16393
 
    case $ac_val in #(
16394
 
    *${as_nl}*)
16395
 
      case $ac_var in #(
16396
 
      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
16397
 
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
16398
 
      esac
16399
 
      case $ac_var in #(
16400
 
      _ | IFS | as_nl) ;; #(
16401
 
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
16402
 
      *) { eval $ac_var=; unset $ac_var;} ;;
16403
 
      esac ;;
16404
 
    esac
16405
 
  done
16406
 
 
16407
 
  (set) 2>&1 |
16408
 
    case $as_nl`(ac_space=' '; set) 2>&1` in #(
16409
 
    *${as_nl}ac_space=\ *)
16410
 
      # `set' does not quote correctly, so add quotes: double-quote
16411
 
      # substitution turns \\\\ into \\, and sed turns \\ into \.
16412
 
      sed -n \
16413
 
        "s/'/'\\\\''/g;
16414
 
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
16415
 
      ;; #(
16416
 
    *)
16417
 
      # `set' quotes correctly as required by POSIX, so do not add quotes.
16418
 
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
16419
 
      ;;
16420
 
    esac |
16421
 
    sort
16422
 
) |
16423
 
  sed '
16424
 
     /^ac_cv_env_/b end
16425
 
     t clear
16426
 
     :clear
16427
 
     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
16428
 
     t end
16429
 
     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
16430
 
     :end' >>confcache
16431
 
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
16432
 
  if test -w "$cache_file"; then
16433
 
    test "x$cache_file" != "x/dev/null" &&
16434
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
16435
 
$as_echo "$as_me: updating cache $cache_file" >&6;}
16436
 
    cat confcache >$cache_file
16437
 
  else
16438
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
16439
 
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
16440
 
  fi
16441
 
fi
16442
 
rm -f confcache
16443
 
 
16444
 
test "x$prefix" = xNONE && prefix=$ac_default_prefix
16445
 
# Let make expand exec_prefix.
16446
 
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
16447
 
 
16448
 
DEFS=-DHAVE_CONFIG_H
16449
 
 
16450
 
ac_libobjs=
16451
 
ac_ltlibobjs=
16452
 
U=
16453
 
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
16454
 
  # 1. Remove the extension, and $U if already installed.
16455
 
  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
16456
 
  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
16457
 
  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
16458
 
  #    will be set to the directory where LIBOBJS objects are built.
16459
 
  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
16460
 
  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
16461
 
done
16462
 
LIBOBJS=$ac_libobjs
16463
 
 
16464
 
LTLIBOBJS=$ac_ltlibobjs
16465
 
 
16466
 
 
16467
 
 if test -n "$EXEEXT"; then
16468
 
  am__EXEEXT_TRUE=
16469
 
  am__EXEEXT_FALSE='#'
16470
 
else
16471
 
  am__EXEEXT_TRUE='#'
16472
 
  am__EXEEXT_FALSE=
16473
 
fi
16474
 
 
16475
 
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
16476
 
  as_fn_error $? "conditional \"AMDEP\" was never defined.
16477
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5
16478
 
fi
16479
 
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
16480
 
  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
16481
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5
16482
 
fi
16483
 
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
16484
 
  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
16485
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5
16486
 
fi
16487
 
if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
16488
 
  as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
16489
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5
16490
 
fi
16491
 
if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
16492
 
  as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
16493
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5
16494
 
fi
16495
 
 
16496
 
: ${CONFIG_STATUS=./config.status}
16497
 
ac_write_fail=0
16498
 
ac_clean_files_save=$ac_clean_files
16499
 
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
16500
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
16501
 
$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
16502
 
as_write_fail=0
16503
 
cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
16504
 
#! $SHELL
16505
 
# Generated by $as_me.
16506
 
# Run this file to recreate the current configuration.
16507
 
# Compiler output produced by configure, useful for debugging
16508
 
# configure, is in config.log if it exists.
16509
 
 
16510
 
debug=false
16511
 
ac_cs_recheck=false
16512
 
ac_cs_silent=false
16513
 
 
16514
 
SHELL=\${CONFIG_SHELL-$SHELL}
16515
 
export SHELL
16516
 
_ASEOF
16517
 
cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
16518
 
## -------------------- ##
16519
 
## M4sh Initialization. ##
16520
 
## -------------------- ##
16521
 
 
16522
 
# Be more Bourne compatible
16523
 
DUALCASE=1; export DUALCASE # for MKS sh
16524
 
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
16525
 
  emulate sh
16526
 
  NULLCMD=:
16527
 
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
16528
 
  # is contrary to our usage.  Disable this feature.
16529
 
  alias -g '${1+"$@"}'='"$@"'
16530
 
  setopt NO_GLOB_SUBST
16531
 
else
16532
 
  case `(set -o) 2>/dev/null` in #(
16533
 
  *posix*) :
16534
 
    set -o posix ;; #(
16535
 
  *) :
16536
 
     ;;
16537
 
esac
16538
 
fi
16539
 
 
16540
 
 
16541
 
as_nl='
16542
 
'
16543
 
export as_nl
16544
 
# Printing a long string crashes Solaris 7 /usr/bin/printf.
16545
 
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
16546
 
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
16547
 
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
16548
 
# Prefer a ksh shell builtin over an external printf program on Solaris,
16549
 
# but without wasting forks for bash or zsh.
16550
 
if test -z "$BASH_VERSION$ZSH_VERSION" \
16551
 
    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
16552
 
  as_echo='print -r --'
16553
 
  as_echo_n='print -rn --'
16554
 
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
16555
 
  as_echo='printf %s\n'
16556
 
  as_echo_n='printf %s'
16557
 
else
16558
 
  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
16559
 
    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
16560
 
    as_echo_n='/usr/ucb/echo -n'
16561
 
  else
16562
 
    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
16563
 
    as_echo_n_body='eval
16564
 
      arg=$1;
16565
 
      case $arg in #(
16566
 
      *"$as_nl"*)
16567
 
        expr "X$arg" : "X\\(.*\\)$as_nl";
16568
 
        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
16569
 
      esac;
16570
 
      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
16571
 
    '
16572
 
    export as_echo_n_body
16573
 
    as_echo_n='sh -c $as_echo_n_body as_echo'
16574
 
  fi
16575
 
  export as_echo_body
16576
 
  as_echo='sh -c $as_echo_body as_echo'
16577
 
fi
16578
 
 
16579
 
# The user is always right.
16580
 
if test "${PATH_SEPARATOR+set}" != set; then
16581
 
  PATH_SEPARATOR=:
16582
 
  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
16583
 
    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
16584
 
      PATH_SEPARATOR=';'
16585
 
  }
16586
 
fi
16587
 
 
16588
 
 
16589
 
# IFS
16590
 
# We need space, tab and new line, in precisely that order.  Quoting is
16591
 
# there to prevent editors from complaining about space-tab.
16592
 
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
16593
 
# splitting by setting IFS to empty value.)
16594
 
IFS=" ""        $as_nl"
16595
 
 
16596
 
# Find who we are.  Look in the path if we contain no directory separator.
16597
 
case $0 in #((
16598
 
  *[\\/]* ) as_myself=$0 ;;
16599
 
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16600
 
for as_dir in $PATH
16601
 
do
16602
 
  IFS=$as_save_IFS
16603
 
  test -z "$as_dir" && as_dir=.
16604
 
    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
16605
 
  done
16606
 
IFS=$as_save_IFS
16607
 
 
16608
 
     ;;
16609
 
esac
16610
 
# We did not find ourselves, most probably we were run as `sh COMMAND'
16611
 
# in which case we are not to be found in the path.
16612
 
if test "x$as_myself" = x; then
16613
 
  as_myself=$0
16614
 
fi
16615
 
if test ! -f "$as_myself"; then
16616
 
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
16617
 
  exit 1
16618
 
fi
16619
 
 
16620
 
# Unset variables that we do not need and which cause bugs (e.g. in
16621
 
# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
16622
 
# suppresses any "Segmentation fault" message there.  '((' could
16623
 
# trigger a bug in pdksh 5.2.14.
16624
 
for as_var in BASH_ENV ENV MAIL MAILPATH
16625
 
do eval test x\${$as_var+set} = xset \
16626
 
  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
16627
 
done
16628
 
PS1='$ '
16629
 
PS2='> '
16630
 
PS4='+ '
16631
 
 
16632
 
# NLS nuisances.
16633
 
LC_ALL=C
16634
 
export LC_ALL
16635
 
LANGUAGE=C
16636
 
export LANGUAGE
16637
 
 
16638
 
# CDPATH.
16639
 
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
16640
 
 
16641
 
 
16642
 
# as_fn_error STATUS ERROR [LINENO LOG_FD]
16643
 
# ----------------------------------------
16644
 
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
16645
 
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
16646
 
# script with STATUS, using 1 if that was 0.
16647
 
as_fn_error ()
16648
 
{
16649
 
  as_status=$1; test $as_status -eq 0 && as_status=1
16650
 
  if test "$4"; then
16651
 
    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
16652
 
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
16653
 
  fi
16654
 
  $as_echo "$as_me: error: $2" >&2
16655
 
  as_fn_exit $as_status
16656
 
} # as_fn_error
16657
 
 
16658
 
 
16659
 
# as_fn_set_status STATUS
16660
 
# -----------------------
16661
 
# Set $? to STATUS, without forking.
16662
 
as_fn_set_status ()
16663
 
{
16664
 
  return $1
16665
 
} # as_fn_set_status
16666
 
 
16667
 
# as_fn_exit STATUS
16668
 
# -----------------
16669
 
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
16670
 
as_fn_exit ()
16671
 
{
16672
 
  set +e
16673
 
  as_fn_set_status $1
16674
 
  exit $1
16675
 
} # as_fn_exit
16676
 
 
16677
 
# as_fn_unset VAR
16678
 
# ---------------
16679
 
# Portably unset VAR.
16680
 
as_fn_unset ()
16681
 
{
16682
 
  { eval $1=; unset $1;}
16683
 
}
16684
 
as_unset=as_fn_unset
16685
 
# as_fn_append VAR VALUE
16686
 
# ----------------------
16687
 
# Append the text in VALUE to the end of the definition contained in VAR. Take
16688
 
# advantage of any shell optimizations that allow amortized linear growth over
16689
 
# repeated appends, instead of the typical quadratic growth present in naive
16690
 
# implementations.
16691
 
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
16692
 
  eval 'as_fn_append ()
16693
 
  {
16694
 
    eval $1+=\$2
16695
 
  }'
16696
 
else
16697
 
  as_fn_append ()
16698
 
  {
16699
 
    eval $1=\$$1\$2
16700
 
  }
16701
 
fi # as_fn_append
16702
 
 
16703
 
# as_fn_arith ARG...
16704
 
# ------------------
16705
 
# Perform arithmetic evaluation on the ARGs, and store the result in the
16706
 
# global $as_val. Take advantage of shells that can avoid forks. The arguments
16707
 
# must be portable across $(()) and expr.
16708
 
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
16709
 
  eval 'as_fn_arith ()
16710
 
  {
16711
 
    as_val=$(( $* ))
16712
 
  }'
16713
 
else
16714
 
  as_fn_arith ()
16715
 
  {
16716
 
    as_val=`expr "$@" || test $? -eq 1`
16717
 
  }
16718
 
fi # as_fn_arith
16719
 
 
16720
 
 
16721
 
if expr a : '\(a\)' >/dev/null 2>&1 &&
16722
 
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
16723
 
  as_expr=expr
16724
 
else
16725
 
  as_expr=false
16726
 
fi
16727
 
 
16728
 
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
16729
 
  as_basename=basename
16730
 
else
16731
 
  as_basename=false
16732
 
fi
16733
 
 
16734
 
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
16735
 
  as_dirname=dirname
16736
 
else
16737
 
  as_dirname=false
16738
 
fi
16739
 
 
16740
 
as_me=`$as_basename -- "$0" ||
16741
 
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
16742
 
         X"$0" : 'X\(//\)$' \| \
16743
 
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
16744
 
$as_echo X/"$0" |
16745
 
    sed '/^.*\/\([^/][^/]*\)\/*$/{
16746
 
            s//\1/
16747
 
            q
16748
 
          }
16749
 
          /^X\/\(\/\/\)$/{
16750
 
            s//\1/
16751
 
            q
16752
 
          }
16753
 
          /^X\/\(\/\).*/{
16754
 
            s//\1/
16755
 
            q
16756
 
          }
16757
 
          s/.*/./; q'`
16758
 
 
16759
 
# Avoid depending upon Character Ranges.
16760
 
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
16761
 
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
16762
 
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
16763
 
as_cr_digits='0123456789'
16764
 
as_cr_alnum=$as_cr_Letters$as_cr_digits
16765
 
 
16766
 
ECHO_C= ECHO_N= ECHO_T=
16767
 
case `echo -n x` in #(((((
16768
 
-n*)
16769
 
  case `echo 'xy\c'` in
16770
 
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
16771
 
  xy)  ECHO_C='\c';;
16772
 
  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
16773
 
       ECHO_T=' ';;
16774
 
  esac;;
16775
 
*)
16776
 
  ECHO_N='-n';;
16777
 
esac
16778
 
 
16779
 
rm -f conf$$ conf$$.exe conf$$.file
16780
 
if test -d conf$$.dir; then
16781
 
  rm -f conf$$.dir/conf$$.file
16782
 
else
16783
 
  rm -f conf$$.dir
16784
 
  mkdir conf$$.dir 2>/dev/null
16785
 
fi
16786
 
if (echo >conf$$.file) 2>/dev/null; then
16787
 
  if ln -s conf$$.file conf$$ 2>/dev/null; then
16788
 
    as_ln_s='ln -s'
16789
 
    # ... but there are two gotchas:
16790
 
    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
16791
 
    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
16792
 
    # In both cases, we have to default to `cp -p'.
16793
 
    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
16794
 
      as_ln_s='cp -p'
16795
 
  elif ln conf$$.file conf$$ 2>/dev/null; then
16796
 
    as_ln_s=ln
16797
 
  else
16798
 
    as_ln_s='cp -p'
16799
 
  fi
16800
 
else
16801
 
  as_ln_s='cp -p'
16802
 
fi
16803
 
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
16804
 
rmdir conf$$.dir 2>/dev/null
16805
 
 
16806
 
 
16807
 
# as_fn_mkdir_p
16808
 
# -------------
16809
 
# Create "$as_dir" as a directory, including parents if necessary.
16810
 
as_fn_mkdir_p ()
16811
 
{
16812
 
 
16813
 
  case $as_dir in #(
16814
 
  -*) as_dir=./$as_dir;;
16815
 
  esac
16816
 
  test -d "$as_dir" || eval $as_mkdir_p || {
16817
 
    as_dirs=
16818
 
    while :; do
16819
 
      case $as_dir in #(
16820
 
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
16821
 
      *) as_qdir=$as_dir;;
16822
 
      esac
16823
 
      as_dirs="'$as_qdir' $as_dirs"
16824
 
      as_dir=`$as_dirname -- "$as_dir" ||
16825
 
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16826
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
16827
 
         X"$as_dir" : 'X\(//\)$' \| \
16828
 
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
16829
 
$as_echo X"$as_dir" |
16830
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16831
 
            s//\1/
16832
 
            q
16833
 
          }
16834
 
          /^X\(\/\/\)[^/].*/{
16835
 
            s//\1/
16836
 
            q
16837
 
          }
16838
 
          /^X\(\/\/\)$/{
16839
 
            s//\1/
16840
 
            q
16841
 
          }
16842
 
          /^X\(\/\).*/{
16843
 
            s//\1/
16844
 
            q
16845
 
          }
16846
 
          s/.*/./; q'`
16847
 
      test -d "$as_dir" && break
16848
 
    done
16849
 
    test -z "$as_dirs" || eval "mkdir $as_dirs"
16850
 
  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
16851
 
 
16852
 
 
16853
 
} # as_fn_mkdir_p
16854
 
if mkdir -p . 2>/dev/null; then
16855
 
  as_mkdir_p='mkdir -p "$as_dir"'
16856
 
else
16857
 
  test -d ./-p && rmdir ./-p
16858
 
  as_mkdir_p=false
16859
 
fi
16860
 
 
16861
 
if test -x / >/dev/null 2>&1; then
16862
 
  as_test_x='test -x'
16863
 
else
16864
 
  if ls -dL / >/dev/null 2>&1; then
16865
 
    as_ls_L_option=L
16866
 
  else
16867
 
    as_ls_L_option=
16868
 
  fi
16869
 
  as_test_x='
16870
 
    eval sh -c '\''
16871
 
      if test -d "$1"; then
16872
 
        test -d "$1/.";
16873
 
      else
16874
 
        case $1 in #(
16875
 
        -*)set "./$1";;
16876
 
        esac;
16877
 
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
16878
 
        ???[sx]*):;;*)false;;esac;fi
16879
 
    '\'' sh
16880
 
  '
16881
 
fi
16882
 
as_executable_p=$as_test_x
16883
 
 
16884
 
# Sed expression to map a string onto a valid CPP name.
16885
 
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
16886
 
 
16887
 
# Sed expression to map a string onto a valid variable name.
16888
 
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
16889
 
 
16890
 
 
16891
 
exec 6>&1
16892
 
## ----------------------------------- ##
16893
 
## Main body of $CONFIG_STATUS script. ##
16894
 
## ----------------------------------- ##
16895
 
_ASEOF
16896
 
test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
16897
 
 
16898
 
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16899
 
# Save the log message, to keep $0 and so on meaningful, and to
16900
 
# report actual input values of CONFIG_FILES etc. instead of their
16901
 
# values after options handling.
16902
 
ac_log="
16903
 
This file was extended by subunit $as_me 0.0.7, which was
16904
 
generated by GNU Autoconf 2.67.  Invocation command line was
16905
 
 
16906
 
  CONFIG_FILES    = $CONFIG_FILES
16907
 
  CONFIG_HEADERS  = $CONFIG_HEADERS
16908
 
  CONFIG_LINKS    = $CONFIG_LINKS
16909
 
  CONFIG_COMMANDS = $CONFIG_COMMANDS
16910
 
  $ $0 $@
16911
 
 
16912
 
on `(hostname || uname -n) 2>/dev/null | sed 1q`
16913
 
"
16914
 
 
16915
 
_ACEOF
16916
 
 
16917
 
case $ac_config_files in *"
16918
 
"*) set x $ac_config_files; shift; ac_config_files=$*;;
16919
 
esac
16920
 
 
16921
 
case $ac_config_headers in *"
16922
 
"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
16923
 
esac
16924
 
 
16925
 
 
16926
 
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16927
 
# Files that config.status was made for.
16928
 
config_files="$ac_config_files"
16929
 
config_headers="$ac_config_headers"
16930
 
config_commands="$ac_config_commands"
16931
 
 
16932
 
_ACEOF
16933
 
 
16934
 
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16935
 
ac_cs_usage="\
16936
 
\`$as_me' instantiates files and other configuration actions
16937
 
from templates according to the current configuration.  Unless the files
16938
 
and actions are specified as TAGs, all are instantiated by default.
16939
 
 
16940
 
Usage: $0 [OPTION]... [TAG]...
16941
 
 
16942
 
  -h, --help       print this help, then exit
16943
 
  -V, --version    print version number and configuration settings, then exit
16944
 
      --config     print configuration, then exit
16945
 
  -q, --quiet, --silent
16946
 
                   do not print progress messages
16947
 
  -d, --debug      don't remove temporary files
16948
 
      --recheck    update $as_me by reconfiguring in the same conditions
16949
 
      --file=FILE[:TEMPLATE]
16950
 
                   instantiate the configuration file FILE
16951
 
      --header=FILE[:TEMPLATE]
16952
 
                   instantiate the configuration header FILE
16953
 
 
16954
 
Configuration files:
16955
 
$config_files
16956
 
 
16957
 
Configuration headers:
16958
 
$config_headers
16959
 
 
16960
 
Configuration commands:
16961
 
$config_commands
16962
 
 
16963
 
Report bugs to <subunit-dev@lists.launchpad.net>."
16964
 
 
16965
 
_ACEOF
16966
 
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16967
 
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
16968
 
ac_cs_version="\\
16969
 
subunit config.status 0.0.7
16970
 
configured by $0, generated by GNU Autoconf 2.67,
16971
 
  with options \\"\$ac_cs_config\\"
16972
 
 
16973
 
Copyright (C) 2010 Free Software Foundation, Inc.
16974
 
This config.status script is free software; the Free Software Foundation
16975
 
gives unlimited permission to copy, distribute and modify it."
16976
 
 
16977
 
ac_pwd='$ac_pwd'
16978
 
srcdir='$srcdir'
16979
 
INSTALL='$INSTALL'
16980
 
MKDIR_P='$MKDIR_P'
16981
 
AWK='$AWK'
16982
 
test -n "\$AWK" || AWK=awk
16983
 
_ACEOF
16984
 
 
16985
 
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16986
 
# The default lists apply if the user does not specify any file.
16987
 
ac_need_defaults=:
16988
 
while test $# != 0
16989
 
do
16990
 
  case $1 in
16991
 
  --*=?*)
16992
 
    ac_option=`expr "X$1" : 'X\([^=]*\)='`
16993
 
    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
16994
 
    ac_shift=:
16995
 
    ;;
16996
 
  --*=)
16997
 
    ac_option=`expr "X$1" : 'X\([^=]*\)='`
16998
 
    ac_optarg=
16999
 
    ac_shift=:
17000
 
    ;;
17001
 
  *)
17002
 
    ac_option=$1
17003
 
    ac_optarg=$2
17004
 
    ac_shift=shift
17005
 
    ;;
17006
 
  esac
17007
 
 
17008
 
  case $ac_option in
17009
 
  # Handling of the options.
17010
 
  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
17011
 
    ac_cs_recheck=: ;;
17012
 
  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
17013
 
    $as_echo "$ac_cs_version"; exit ;;
17014
 
  --config | --confi | --conf | --con | --co | --c )
17015
 
    $as_echo "$ac_cs_config"; exit ;;
17016
 
  --debug | --debu | --deb | --de | --d | -d )
17017
 
    debug=: ;;
17018
 
  --file | --fil | --fi | --f )
17019
 
    $ac_shift
17020
 
    case $ac_optarg in
17021
 
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
17022
 
    '') as_fn_error $? "missing file argument" ;;
17023
 
    esac
17024
 
    as_fn_append CONFIG_FILES " '$ac_optarg'"
17025
 
    ac_need_defaults=false;;
17026
 
  --header | --heade | --head | --hea )
17027
 
    $ac_shift
17028
 
    case $ac_optarg in
17029
 
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
17030
 
    esac
17031
 
    as_fn_append CONFIG_HEADERS " '$ac_optarg'"
17032
 
    ac_need_defaults=false;;
17033
 
  --he | --h)
17034
 
    # Conflict between --help and --header
17035
 
    as_fn_error $? "ambiguous option: \`$1'
17036
 
Try \`$0 --help' for more information.";;
17037
 
  --help | --hel | -h )
17038
 
    $as_echo "$ac_cs_usage"; exit ;;
17039
 
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
17040
 
  | -silent | --silent | --silen | --sile | --sil | --si | --s)
17041
 
    ac_cs_silent=: ;;
17042
 
 
17043
 
  # This is an error.
17044
 
  -*) as_fn_error $? "unrecognized option: \`$1'
17045
 
Try \`$0 --help' for more information." ;;
17046
 
 
17047
 
  *) as_fn_append ac_config_targets " $1"
17048
 
     ac_need_defaults=false ;;
17049
 
 
17050
 
  esac
17051
 
  shift
17052
 
done
17053
 
 
17054
 
ac_configure_extra_args=
17055
 
 
17056
 
if $ac_cs_silent; then
17057
 
  exec 6>/dev/null
17058
 
  ac_configure_extra_args="$ac_configure_extra_args --silent"
17059
 
fi
17060
 
 
17061
 
_ACEOF
17062
 
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17063
 
if \$ac_cs_recheck; then
17064
 
  set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
17065
 
  shift
17066
 
  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
17067
 
  CONFIG_SHELL='$SHELL'
17068
 
  export CONFIG_SHELL
17069
 
  exec "\$@"
17070
 
fi
17071
 
 
17072
 
_ACEOF
17073
 
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17074
 
exec 5>>config.log
17075
 
{
17076
 
  echo
17077
 
  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
17078
 
## Running $as_me. ##
17079
 
_ASBOX
17080
 
  $as_echo "$ac_log"
17081
 
} >&5
17082
 
 
17083
 
_ACEOF
17084
 
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17085
 
#
17086
 
# INIT-COMMANDS
17087
 
#
17088
 
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
17089
 
 
17090
 
 
17091
 
# The HP-UX ksh and POSIX shell print the target directory to stdout
17092
 
# if CDPATH is set.
17093
 
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
17094
 
 
17095
 
sed_quote_subst='$sed_quote_subst'
17096
 
double_quote_subst='$double_quote_subst'
17097
 
delay_variable_subst='$delay_variable_subst'
17098
 
macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
17099
 
macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
17100
 
enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
17101
 
enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
17102
 
pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
17103
 
enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
17104
 
host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
17105
 
host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
17106
 
host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
17107
 
build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
17108
 
build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
17109
 
build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
17110
 
SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
17111
 
Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
17112
 
GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
17113
 
EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
17114
 
FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
17115
 
LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
17116
 
NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
17117
 
LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
17118
 
max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
17119
 
ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
17120
 
exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
17121
 
lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
17122
 
lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
17123
 
lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
17124
 
reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
17125
 
reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17126
 
OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
17127
 
deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
17128
 
file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
17129
 
AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
17130
 
AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
17131
 
STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
17132
 
RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
17133
 
old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17134
 
old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17135
 
old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17136
 
CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
17137
 
CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
17138
 
compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
17139
 
GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
17140
 
lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
17141
 
lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
17142
 
lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address" | $Xsed -e "$delay_single_quote_subst"`'
17143
 
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
17144
 
objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
17145
 
SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
17146
 
ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
17147
 
MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
17148
 
lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
17149
 
lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
17150
 
lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
17151
 
lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
17152
 
lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
17153
 
need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
17154
 
DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
17155
 
NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
17156
 
LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
17157
 
OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
17158
 
OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
17159
 
libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
17160
 
shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17161
 
extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17162
 
archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
17163
 
enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
17164
 
export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
17165
 
whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
17166
 
compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
17167
 
old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17168
 
old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17169
 
archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17170
 
archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17171
 
module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17172
 
module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17173
 
with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
17174
 
allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
17175
 
no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
17176
 
hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
17177
 
hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
17178
 
hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
17179
 
hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
17180
 
hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
17181
 
hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
17182
 
hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
17183
 
hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
17184
 
inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
17185
 
link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
17186
 
fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
17187
 
always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
17188
 
export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17189
 
exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
17190
 
include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
17191
 
prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17192
 
file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
17193
 
variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
17194
 
need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
17195
 
need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
17196
 
version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
17197
 
runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
17198
 
shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
17199
 
shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
17200
 
libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
17201
 
library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
17202
 
soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
17203
 
postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17204
 
postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17205
 
finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17206
 
finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
17207
 
hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
17208
 
sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
17209
 
sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
17210
 
hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
17211
 
enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
17212
 
enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
17213
 
enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
17214
 
old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
17215
 
striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
17216
 
compiler_lib_search_dirs='`$ECHO "X$compiler_lib_search_dirs" | $Xsed -e "$delay_single_quote_subst"`'
17217
 
predep_objects='`$ECHO "X$predep_objects" | $Xsed -e "$delay_single_quote_subst"`'
17218
 
postdep_objects='`$ECHO "X$postdep_objects" | $Xsed -e "$delay_single_quote_subst"`'
17219
 
predeps='`$ECHO "X$predeps" | $Xsed -e "$delay_single_quote_subst"`'
17220
 
postdeps='`$ECHO "X$postdeps" | $Xsed -e "$delay_single_quote_subst"`'
17221
 
compiler_lib_search_path='`$ECHO "X$compiler_lib_search_path" | $Xsed -e "$delay_single_quote_subst"`'
17222
 
LD_CXX='`$ECHO "X$LD_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17223
 
old_archive_cmds_CXX='`$ECHO "X$old_archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17224
 
compiler_CXX='`$ECHO "X$compiler_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17225
 
GCC_CXX='`$ECHO "X$GCC_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17226
 
lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "X$lt_prog_compiler_no_builtin_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17227
 
lt_prog_compiler_wl_CXX='`$ECHO "X$lt_prog_compiler_wl_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17228
 
lt_prog_compiler_pic_CXX='`$ECHO "X$lt_prog_compiler_pic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17229
 
lt_prog_compiler_static_CXX='`$ECHO "X$lt_prog_compiler_static_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17230
 
lt_cv_prog_compiler_c_o_CXX='`$ECHO "X$lt_cv_prog_compiler_c_o_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17231
 
archive_cmds_need_lc_CXX='`$ECHO "X$archive_cmds_need_lc_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17232
 
enable_shared_with_static_runtimes_CXX='`$ECHO "X$enable_shared_with_static_runtimes_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17233
 
export_dynamic_flag_spec_CXX='`$ECHO "X$export_dynamic_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17234
 
whole_archive_flag_spec_CXX='`$ECHO "X$whole_archive_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17235
 
compiler_needs_object_CXX='`$ECHO "X$compiler_needs_object_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17236
 
old_archive_from_new_cmds_CXX='`$ECHO "X$old_archive_from_new_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17237
 
old_archive_from_expsyms_cmds_CXX='`$ECHO "X$old_archive_from_expsyms_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17238
 
archive_cmds_CXX='`$ECHO "X$archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17239
 
archive_expsym_cmds_CXX='`$ECHO "X$archive_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17240
 
module_cmds_CXX='`$ECHO "X$module_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17241
 
module_expsym_cmds_CXX='`$ECHO "X$module_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17242
 
with_gnu_ld_CXX='`$ECHO "X$with_gnu_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17243
 
allow_undefined_flag_CXX='`$ECHO "X$allow_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17244
 
no_undefined_flag_CXX='`$ECHO "X$no_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17245
 
hardcode_libdir_flag_spec_CXX='`$ECHO "X$hardcode_libdir_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17246
 
hardcode_libdir_flag_spec_ld_CXX='`$ECHO "X$hardcode_libdir_flag_spec_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17247
 
hardcode_libdir_separator_CXX='`$ECHO "X$hardcode_libdir_separator_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17248
 
hardcode_direct_CXX='`$ECHO "X$hardcode_direct_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17249
 
hardcode_direct_absolute_CXX='`$ECHO "X$hardcode_direct_absolute_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17250
 
hardcode_minus_L_CXX='`$ECHO "X$hardcode_minus_L_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17251
 
hardcode_shlibpath_var_CXX='`$ECHO "X$hardcode_shlibpath_var_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17252
 
hardcode_automatic_CXX='`$ECHO "X$hardcode_automatic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17253
 
inherit_rpath_CXX='`$ECHO "X$inherit_rpath_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17254
 
link_all_deplibs_CXX='`$ECHO "X$link_all_deplibs_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17255
 
fix_srcfile_path_CXX='`$ECHO "X$fix_srcfile_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17256
 
always_export_symbols_CXX='`$ECHO "X$always_export_symbols_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17257
 
export_symbols_cmds_CXX='`$ECHO "X$export_symbols_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17258
 
exclude_expsyms_CXX='`$ECHO "X$exclude_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17259
 
include_expsyms_CXX='`$ECHO "X$include_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17260
 
prelink_cmds_CXX='`$ECHO "X$prelink_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17261
 
file_list_spec_CXX='`$ECHO "X$file_list_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17262
 
hardcode_action_CXX='`$ECHO "X$hardcode_action_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17263
 
compiler_lib_search_dirs_CXX='`$ECHO "X$compiler_lib_search_dirs_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17264
 
predep_objects_CXX='`$ECHO "X$predep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17265
 
postdep_objects_CXX='`$ECHO "X$postdep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17266
 
predeps_CXX='`$ECHO "X$predeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17267
 
postdeps_CXX='`$ECHO "X$postdeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17268
 
compiler_lib_search_path_CXX='`$ECHO "X$compiler_lib_search_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17269
 
 
17270
 
LTCC='$LTCC'
17271
 
LTCFLAGS='$LTCFLAGS'
17272
 
compiler='$compiler_DEFAULT'
17273
 
 
17274
 
# Quote evaled strings.
17275
 
for var in SED \
17276
 
GREP \
17277
 
EGREP \
17278
 
FGREP \
17279
 
LD \
17280
 
NM \
17281
 
LN_S \
17282
 
lt_SP2NL \
17283
 
lt_NL2SP \
17284
 
reload_flag \
17285
 
OBJDUMP \
17286
 
deplibs_check_method \
17287
 
file_magic_cmd \
17288
 
AR \
17289
 
AR_FLAGS \
17290
 
STRIP \
17291
 
RANLIB \
17292
 
CC \
17293
 
CFLAGS \
17294
 
compiler \
17295
 
lt_cv_sys_global_symbol_pipe \
17296
 
lt_cv_sys_global_symbol_to_cdecl \
17297
 
lt_cv_sys_global_symbol_to_c_name_address \
17298
 
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
17299
 
SHELL \
17300
 
ECHO \
17301
 
lt_prog_compiler_no_builtin_flag \
17302
 
lt_prog_compiler_wl \
17303
 
lt_prog_compiler_pic \
17304
 
lt_prog_compiler_static \
17305
 
lt_cv_prog_compiler_c_o \
17306
 
need_locks \
17307
 
DSYMUTIL \
17308
 
NMEDIT \
17309
 
LIPO \
17310
 
OTOOL \
17311
 
OTOOL64 \
17312
 
shrext_cmds \
17313
 
export_dynamic_flag_spec \
17314
 
whole_archive_flag_spec \
17315
 
compiler_needs_object \
17316
 
with_gnu_ld \
17317
 
allow_undefined_flag \
17318
 
no_undefined_flag \
17319
 
hardcode_libdir_flag_spec \
17320
 
hardcode_libdir_flag_spec_ld \
17321
 
hardcode_libdir_separator \
17322
 
fix_srcfile_path \
17323
 
exclude_expsyms \
17324
 
include_expsyms \
17325
 
file_list_spec \
17326
 
variables_saved_for_relink \
17327
 
libname_spec \
17328
 
library_names_spec \
17329
 
soname_spec \
17330
 
finish_eval \
17331
 
old_striplib \
17332
 
striplib \
17333
 
compiler_lib_search_dirs \
17334
 
predep_objects \
17335
 
postdep_objects \
17336
 
predeps \
17337
 
postdeps \
17338
 
compiler_lib_search_path \
17339
 
LD_CXX \
17340
 
compiler_CXX \
17341
 
lt_prog_compiler_no_builtin_flag_CXX \
17342
 
lt_prog_compiler_wl_CXX \
17343
 
lt_prog_compiler_pic_CXX \
17344
 
lt_prog_compiler_static_CXX \
17345
 
lt_cv_prog_compiler_c_o_CXX \
17346
 
export_dynamic_flag_spec_CXX \
17347
 
whole_archive_flag_spec_CXX \
17348
 
compiler_needs_object_CXX \
17349
 
with_gnu_ld_CXX \
17350
 
allow_undefined_flag_CXX \
17351
 
no_undefined_flag_CXX \
17352
 
hardcode_libdir_flag_spec_CXX \
17353
 
hardcode_libdir_flag_spec_ld_CXX \
17354
 
hardcode_libdir_separator_CXX \
17355
 
fix_srcfile_path_CXX \
17356
 
exclude_expsyms_CXX \
17357
 
include_expsyms_CXX \
17358
 
file_list_spec_CXX \
17359
 
compiler_lib_search_dirs_CXX \
17360
 
predep_objects_CXX \
17361
 
postdep_objects_CXX \
17362
 
predeps_CXX \
17363
 
postdeps_CXX \
17364
 
compiler_lib_search_path_CXX; do
17365
 
    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
17366
 
    *[\\\\\\\`\\"\\\$]*)
17367
 
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
17368
 
      ;;
17369
 
    *)
17370
 
      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
17371
 
      ;;
17372
 
    esac
17373
 
done
17374
 
 
17375
 
# Double-quote double-evaled strings.
17376
 
for var in reload_cmds \
17377
 
old_postinstall_cmds \
17378
 
old_postuninstall_cmds \
17379
 
old_archive_cmds \
17380
 
extract_expsyms_cmds \
17381
 
old_archive_from_new_cmds \
17382
 
old_archive_from_expsyms_cmds \
17383
 
archive_cmds \
17384
 
archive_expsym_cmds \
17385
 
module_cmds \
17386
 
module_expsym_cmds \
17387
 
export_symbols_cmds \
17388
 
prelink_cmds \
17389
 
postinstall_cmds \
17390
 
postuninstall_cmds \
17391
 
finish_cmds \
17392
 
sys_lib_search_path_spec \
17393
 
sys_lib_dlsearch_path_spec \
17394
 
old_archive_cmds_CXX \
17395
 
old_archive_from_new_cmds_CXX \
17396
 
old_archive_from_expsyms_cmds_CXX \
17397
 
archive_cmds_CXX \
17398
 
archive_expsym_cmds_CXX \
17399
 
module_cmds_CXX \
17400
 
module_expsym_cmds_CXX \
17401
 
export_symbols_cmds_CXX \
17402
 
prelink_cmds_CXX; do
17403
 
    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
17404
 
    *[\\\\\\\`\\"\\\$]*)
17405
 
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
17406
 
      ;;
17407
 
    *)
17408
 
      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
17409
 
      ;;
17410
 
    esac
17411
 
done
17412
 
 
17413
 
# Fix-up fallback echo if it was mangled by the above quoting rules.
17414
 
case \$lt_ECHO in
17415
 
*'\\\$0 --fallback-echo"')  lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
17416
 
  ;;
17417
 
esac
17418
 
 
17419
 
ac_aux_dir='$ac_aux_dir'
17420
 
xsi_shell='$xsi_shell'
17421
 
lt_shell_append='$lt_shell_append'
17422
 
 
17423
 
# See if we are running on zsh, and set the options which allow our
17424
 
# commands through without removal of \ escapes INIT.
17425
 
if test -n "\${ZSH_VERSION+set}" ; then
17426
 
   setopt NO_GLOB_SUBST
17427
 
fi
17428
 
 
17429
 
 
17430
 
    PACKAGE='$PACKAGE'
17431
 
    VERSION='$VERSION'
17432
 
    TIMESTAMP='$TIMESTAMP'
17433
 
    RM='$RM'
17434
 
    ofile='$ofile'
17435
 
 
17436
 
 
17437
 
 
17438
 
 
17439
 
 
17440
 
 
17441
 
_ACEOF
17442
 
 
17443
 
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17444
 
 
17445
 
# Handling of arguments.
17446
 
for ac_config_target in $ac_config_targets
17447
 
do
17448
 
  case $ac_config_target in
17449
 
    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
17450
 
    "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
17451
 
    "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
17452
 
    "libsubunit.pc") CONFIG_FILES="$CONFIG_FILES libsubunit.pc" ;;
17453
 
    "libcppunit_subunit.pc") CONFIG_FILES="$CONFIG_FILES libcppunit_subunit.pc" ;;
17454
 
    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
17455
 
    "perl/Makefile.PL") CONFIG_FILES="$CONFIG_FILES perl/Makefile.PL" ;;
17456
 
 
17457
 
  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5 ;;
17458
 
  esac
17459
 
done
17460
 
 
17461
 
 
17462
 
# If the user did not use the arguments to specify the items to instantiate,
17463
 
# then the envvar interface is used.  Set only those that are not.
17464
 
# We use the long form for the default assignment because of an extremely
17465
 
# bizarre bug on SunOS 4.1.3.
17466
 
if $ac_need_defaults; then
17467
 
  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
17468
 
  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
17469
 
  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
17470
 
fi
17471
 
 
17472
 
# Have a temporary directory for convenience.  Make it in the build tree
17473
 
# simply because there is no reason against having it here, and in addition,
17474
 
# creating and moving files from /tmp can sometimes cause problems.
17475
 
# Hook for its removal unless debugging.
17476
 
# Note that there is a small window in which the directory will not be cleaned:
17477
 
# after its creation but before its name has been assigned to `$tmp'.
17478
 
$debug ||
17479
 
{
17480
 
  tmp=
17481
 
  trap 'exit_status=$?
17482
 
  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
17483
 
' 0
17484
 
  trap 'as_fn_exit 1' 1 2 13 15
17485
 
}
17486
 
# Create a (secure) tmp directory for tmp files.
17487
 
 
17488
 
{
17489
 
  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
17490
 
  test -n "$tmp" && test -d "$tmp"
17491
 
}  ||
17492
 
{
17493
 
  tmp=./conf$$-$RANDOM
17494
 
  (umask 077 && mkdir "$tmp")
17495
 
} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
17496
 
 
17497
 
# Set up the scripts for CONFIG_FILES section.
17498
 
# No need to generate them if there are no CONFIG_FILES.
17499
 
# This happens for instance with `./config.status config.h'.
17500
 
if test -n "$CONFIG_FILES"; then
17501
 
 
17502
 
 
17503
 
ac_cr=`echo X | tr X '\015'`
17504
 
# On cygwin, bash can eat \r inside `` if the user requested igncr.
17505
 
# But we know of no other shell where ac_cr would be empty at this
17506
 
# point, so we can use a bashism as a fallback.
17507
 
if test "x$ac_cr" = x; then
17508
 
  eval ac_cr=\$\'\\r\'
17509
 
fi
17510
 
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
17511
 
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
17512
 
  ac_cs_awk_cr='\\r'
17513
 
else
17514
 
  ac_cs_awk_cr=$ac_cr
17515
 
fi
17516
 
 
17517
 
echo 'BEGIN {' >"$tmp/subs1.awk" &&
17518
 
_ACEOF
17519
 
 
17520
 
 
17521
 
{
17522
 
  echo "cat >conf$$subs.awk <<_ACEOF" &&
17523
 
  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
17524
 
  echo "_ACEOF"
17525
 
} >conf$$subs.sh ||
17526
 
  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
17527
 
ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
17528
 
ac_delim='%!_!# '
17529
 
for ac_last_try in false false false false false :; do
17530
 
  . ./conf$$subs.sh ||
17531
 
    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
17532
 
 
17533
 
  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
17534
 
  if test $ac_delim_n = $ac_delim_num; then
17535
 
    break
17536
 
  elif $ac_last_try; then
17537
 
    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
17538
 
  else
17539
 
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
17540
 
  fi
17541
 
done
17542
 
rm -f conf$$subs.sh
17543
 
 
17544
 
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17545
 
cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
17546
 
_ACEOF
17547
 
sed -n '
17548
 
h
17549
 
s/^/S["/; s/!.*/"]=/
17550
 
p
17551
 
g
17552
 
s/^[^!]*!//
17553
 
:repl
17554
 
t repl
17555
 
s/'"$ac_delim"'$//
17556
 
t delim
17557
 
:nl
17558
 
h
17559
 
s/\(.\{148\}\)..*/\1/
17560
 
t more1
17561
 
s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
17562
 
p
17563
 
n
17564
 
b repl
17565
 
:more1
17566
 
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
17567
 
p
17568
 
g
17569
 
s/.\{148\}//
17570
 
t nl
17571
 
:delim
17572
 
h
17573
 
s/\(.\{148\}\)..*/\1/
17574
 
t more2
17575
 
s/["\\]/\\&/g; s/^/"/; s/$/"/
17576
 
p
17577
 
b
17578
 
:more2
17579
 
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
17580
 
p
17581
 
g
17582
 
s/.\{148\}//
17583
 
t delim
17584
 
' <conf$$subs.awk | sed '
17585
 
/^[^""]/{
17586
 
  N
17587
 
  s/\n//
17588
 
}
17589
 
' >>$CONFIG_STATUS || ac_write_fail=1
17590
 
rm -f conf$$subs.awk
17591
 
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17592
 
_ACAWK
17593
 
cat >>"\$tmp/subs1.awk" <<_ACAWK &&
17594
 
  for (key in S) S_is_set[key] = 1
17595
 
  FS = ""
17596
 
 
17597
 
}
17598
 
{
17599
 
  line = $ 0
17600
 
  nfields = split(line, field, "@")
17601
 
  substed = 0
17602
 
  len = length(field[1])
17603
 
  for (i = 2; i < nfields; i++) {
17604
 
    key = field[i]
17605
 
    keylen = length(key)
17606
 
    if (S_is_set[key]) {
17607
 
      value = S[key]
17608
 
      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
17609
 
      len += length(value) + length(field[++i])
17610
 
      substed = 1
17611
 
    } else
17612
 
      len += 1 + keylen
17613
 
  }
17614
 
 
17615
 
  print line
17616
 
}
17617
 
 
17618
 
_ACAWK
17619
 
_ACEOF
17620
 
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17621
 
if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
17622
 
  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
17623
 
else
17624
 
  cat
17625
 
fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
17626
 
  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
17627
 
_ACEOF
17628
 
 
17629
 
# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
17630
 
# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
17631
 
# trailing colons and then remove the whole line if VPATH becomes empty
17632
 
# (actually we leave an empty line to preserve line numbers).
17633
 
if test "x$srcdir" = x.; then
17634
 
  ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
17635
 
h
17636
 
s///
17637
 
s/^/:/
17638
 
s/[      ]*$/:/
17639
 
s/:\$(srcdir):/:/g
17640
 
s/:\${srcdir}:/:/g
17641
 
s/:@srcdir@:/:/g
17642
 
s/^:*//
17643
 
s/:*$//
17644
 
x
17645
 
s/\(=[   ]*\).*/\1/
17646
 
G
17647
 
s/\n//
17648
 
s/^[^=]*=[       ]*$//
17649
 
}'
17650
 
fi
17651
 
 
17652
 
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17653
 
fi # test -n "$CONFIG_FILES"
17654
 
 
17655
 
# Set up the scripts for CONFIG_HEADERS section.
17656
 
# No need to generate them if there are no CONFIG_HEADERS.
17657
 
# This happens for instance with `./config.status Makefile'.
17658
 
if test -n "$CONFIG_HEADERS"; then
17659
 
cat >"$tmp/defines.awk" <<\_ACAWK ||
17660
 
BEGIN {
17661
 
_ACEOF
17662
 
 
17663
 
# Transform confdefs.h into an awk script `defines.awk', embedded as
17664
 
# here-document in config.status, that substitutes the proper values into
17665
 
# config.h.in to produce config.h.
17666
 
 
17667
 
# Create a delimiter string that does not exist in confdefs.h, to ease
17668
 
# handling of long lines.
17669
 
ac_delim='%!_!# '
17670
 
for ac_last_try in false false :; do
17671
 
  ac_t=`sed -n "/$ac_delim/p" confdefs.h`
17672
 
  if test -z "$ac_t"; then
17673
 
    break
17674
 
  elif $ac_last_try; then
17675
 
    as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
17676
 
  else
17677
 
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
17678
 
  fi
17679
 
done
17680
 
 
17681
 
# For the awk script, D is an array of macro values keyed by name,
17682
 
# likewise P contains macro parameters if any.  Preserve backslash
17683
 
# newline sequences.
17684
 
 
17685
 
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
17686
 
sed -n '
17687
 
s/.\{148\}/&'"$ac_delim"'/g
17688
 
t rset
17689
 
:rset
17690
 
s/^[     ]*#[    ]*define[       ][      ]*/ /
17691
 
t def
17692
 
d
17693
 
:def
17694
 
s/\\$//
17695
 
t bsnl
17696
 
s/["\\]/\\&/g
17697
 
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
17698
 
D["\1"]=" \3"/p
17699
 
s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
17700
 
d
17701
 
:bsnl
17702
 
s/["\\]/\\&/g
17703
 
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
17704
 
D["\1"]=" \3\\\\\\n"\\/p
17705
 
t cont
17706
 
s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
17707
 
t cont
17708
 
d
17709
 
:cont
17710
 
n
17711
 
s/.\{148\}/&'"$ac_delim"'/g
17712
 
t clear
17713
 
:clear
17714
 
s/\\$//
17715
 
t bsnlc
17716
 
s/["\\]/\\&/g; s/^/"/; s/$/"/p
17717
 
d
17718
 
:bsnlc
17719
 
s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
17720
 
b cont
17721
 
' <confdefs.h | sed '
17722
 
s/'"$ac_delim"'/"\\\
17723
 
"/g' >>$CONFIG_STATUS || ac_write_fail=1
17724
 
 
17725
 
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17726
 
  for (key in D) D_is_set[key] = 1
17727
 
  FS = ""
17728
 
}
17729
 
/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
17730
 
  line = \$ 0
17731
 
  split(line, arg, " ")
17732
 
  if (arg[1] == "#") {
17733
 
    defundef = arg[2]
17734
 
    mac1 = arg[3]
17735
 
  } else {
17736
 
    defundef = substr(arg[1], 2)
17737
 
    mac1 = arg[2]
17738
 
  }
17739
 
  split(mac1, mac2, "(") #)
17740
 
  macro = mac2[1]
17741
 
  prefix = substr(line, 1, index(line, defundef) - 1)
17742
 
  if (D_is_set[macro]) {
17743
 
    # Preserve the white space surrounding the "#".
17744
 
    print prefix "define", macro P[macro] D[macro]
17745
 
    next
17746
 
  } else {
17747
 
    # Replace #undef with comments.  This is necessary, for example,
17748
 
    # in the case of _POSIX_SOURCE, which is predefined and required
17749
 
    # on some systems where configure will not decide to define it.
17750
 
    if (defundef == "undef") {
17751
 
      print "/*", prefix defundef, macro, "*/"
17752
 
      next
17753
 
    }
17754
 
  }
17755
 
}
17756
 
{ print }
17757
 
_ACAWK
17758
 
_ACEOF
17759
 
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17760
 
  as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
17761
 
fi # test -n "$CONFIG_HEADERS"
17762
 
 
17763
 
 
17764
 
eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
17765
 
shift
17766
 
for ac_tag
17767
 
do
17768
 
  case $ac_tag in
17769
 
  :[FHLC]) ac_mode=$ac_tag; continue;;
17770
 
  esac
17771
 
  case $ac_mode$ac_tag in
17772
 
  :[FHL]*:*);;
17773
 
  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5 ;;
17774
 
  :[FH]-) ac_tag=-:-;;
17775
 
  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
17776
 
  esac
17777
 
  ac_save_IFS=$IFS
17778
 
  IFS=:
17779
 
  set x $ac_tag
17780
 
  IFS=$ac_save_IFS
17781
 
  shift
17782
 
  ac_file=$1
17783
 
  shift
17784
 
 
17785
 
  case $ac_mode in
17786
 
  :L) ac_source=$1;;
17787
 
  :[FH])
17788
 
    ac_file_inputs=
17789
 
    for ac_f
17790
 
    do
17791
 
      case $ac_f in
17792
 
      -) ac_f="$tmp/stdin";;
17793
 
      *) # Look for the file first in the build tree, then in the source tree
17794
 
         # (if the path is not absolute).  The absolute path cannot be DOS-style,
17795
 
         # because $ac_f cannot contain `:'.
17796
 
         test -f "$ac_f" ||
17797
 
           case $ac_f in
17798
 
           [\\/$]*) false;;
17799
 
           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
17800
 
           esac ||
17801
 
           as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5 ;;
17802
 
      esac
17803
 
      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
17804
 
      as_fn_append ac_file_inputs " '$ac_f'"
17805
 
    done
17806
 
 
17807
 
    # Let's still pretend it is `configure' which instantiates (i.e., don't
17808
 
    # use $as_me), people would be surprised to read:
17809
 
    #    /* config.h.  Generated by config.status.  */
17810
 
    configure_input='Generated from '`
17811
 
          $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
17812
 
        `' by configure.'
17813
 
    if test x"$ac_file" != x-; then
17814
 
      configure_input="$ac_file.  $configure_input"
17815
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
17816
 
$as_echo "$as_me: creating $ac_file" >&6;}
17817
 
    fi
17818
 
    # Neutralize special characters interpreted by sed in replacement strings.
17819
 
    case $configure_input in #(
17820
 
    *\&* | *\|* | *\\* )
17821
 
       ac_sed_conf_input=`$as_echo "$configure_input" |
17822
 
       sed 's/[\\\\&|]/\\\\&/g'`;; #(
17823
 
    *) ac_sed_conf_input=$configure_input;;
17824
 
    esac
17825
 
 
17826
 
    case $ac_tag in
17827
 
    *:-:* | *:-) cat >"$tmp/stdin" \
17828
 
      || as_fn_error $? "could not create $ac_file" "$LINENO" 5  ;;
17829
 
    esac
17830
 
    ;;
17831
 
  esac
17832
 
 
17833
 
  ac_dir=`$as_dirname -- "$ac_file" ||
17834
 
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17835
 
         X"$ac_file" : 'X\(//\)[^/]' \| \
17836
 
         X"$ac_file" : 'X\(//\)$' \| \
17837
 
         X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
17838
 
$as_echo X"$ac_file" |
17839
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17840
 
            s//\1/
17841
 
            q
17842
 
          }
17843
 
          /^X\(\/\/\)[^/].*/{
17844
 
            s//\1/
17845
 
            q
17846
 
          }
17847
 
          /^X\(\/\/\)$/{
17848
 
            s//\1/
17849
 
            q
17850
 
          }
17851
 
          /^X\(\/\).*/{
17852
 
            s//\1/
17853
 
            q
17854
 
          }
17855
 
          s/.*/./; q'`
17856
 
  as_dir="$ac_dir"; as_fn_mkdir_p
17857
 
  ac_builddir=.
17858
 
 
17859
 
case "$ac_dir" in
17860
 
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
17861
 
*)
17862
 
  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
17863
 
  # A ".." for each directory in $ac_dir_suffix.
17864
 
  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
17865
 
  case $ac_top_builddir_sub in
17866
 
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
17867
 
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
17868
 
  esac ;;
17869
 
esac
17870
 
ac_abs_top_builddir=$ac_pwd
17871
 
ac_abs_builddir=$ac_pwd$ac_dir_suffix
17872
 
# for backward compatibility:
17873
 
ac_top_builddir=$ac_top_build_prefix
17874
 
 
17875
 
case $srcdir in
17876
 
  .)  # We are building in place.
17877
 
    ac_srcdir=.
17878
 
    ac_top_srcdir=$ac_top_builddir_sub
17879
 
    ac_abs_top_srcdir=$ac_pwd ;;
17880
 
  [\\/]* | ?:[\\/]* )  # Absolute name.
17881
 
    ac_srcdir=$srcdir$ac_dir_suffix;
17882
 
    ac_top_srcdir=$srcdir
17883
 
    ac_abs_top_srcdir=$srcdir ;;
17884
 
  *) # Relative name.
17885
 
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
17886
 
    ac_top_srcdir=$ac_top_build_prefix$srcdir
17887
 
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
17888
 
esac
17889
 
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
17890
 
 
17891
 
 
17892
 
  case $ac_mode in
17893
 
  :F)
17894
 
  #
17895
 
  # CONFIG_FILE
17896
 
  #
17897
 
 
17898
 
  case $INSTALL in
17899
 
  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
17900
 
  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
17901
 
  esac
17902
 
  ac_MKDIR_P=$MKDIR_P
17903
 
  case $MKDIR_P in
17904
 
  [\\/$]* | ?:[\\/]* ) ;;
17905
 
  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
17906
 
  esac
17907
 
_ACEOF
17908
 
 
17909
 
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17910
 
# If the template does not know about datarootdir, expand it.
17911
 
# FIXME: This hack should be removed a few years after 2.60.
17912
 
ac_datarootdir_hack=; ac_datarootdir_seen=
17913
 
ac_sed_dataroot='
17914
 
/datarootdir/ {
17915
 
  p
17916
 
  q
17917
 
}
17918
 
/@datadir@/p
17919
 
/@docdir@/p
17920
 
/@infodir@/p
17921
 
/@localedir@/p
17922
 
/@mandir@/p'
17923
 
case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
17924
 
*datarootdir*) ac_datarootdir_seen=yes;;
17925
 
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
17926
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
17927
 
$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
17928
 
_ACEOF
17929
 
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17930
 
  ac_datarootdir_hack='
17931
 
  s&@datadir@&$datadir&g
17932
 
  s&@docdir@&$docdir&g
17933
 
  s&@infodir@&$infodir&g
17934
 
  s&@localedir@&$localedir&g
17935
 
  s&@mandir@&$mandir&g
17936
 
  s&\\\${datarootdir}&$datarootdir&g' ;;
17937
 
esac
17938
 
_ACEOF
17939
 
 
17940
 
# Neutralize VPATH when `$srcdir' = `.'.
17941
 
# Shell code in configure.ac might set extrasub.
17942
 
# FIXME: do we really want to maintain this feature?
17943
 
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17944
 
ac_sed_extra="$ac_vpsub
17945
 
$extrasub
17946
 
_ACEOF
17947
 
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17948
 
:t
17949
 
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
17950
 
s|@configure_input@|$ac_sed_conf_input|;t t
17951
 
s&@top_builddir@&$ac_top_builddir_sub&;t t
17952
 
s&@top_build_prefix@&$ac_top_build_prefix&;t t
17953
 
s&@srcdir@&$ac_srcdir&;t t
17954
 
s&@abs_srcdir@&$ac_abs_srcdir&;t t
17955
 
s&@top_srcdir@&$ac_top_srcdir&;t t
17956
 
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
17957
 
s&@builddir@&$ac_builddir&;t t
17958
 
s&@abs_builddir@&$ac_abs_builddir&;t t
17959
 
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
17960
 
s&@INSTALL@&$ac_INSTALL&;t t
17961
 
s&@MKDIR_P@&$ac_MKDIR_P&;t t
17962
 
$ac_datarootdir_hack
17963
 
"
17964
 
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
17965
 
  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17966
 
 
17967
 
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
17968
 
  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
17969
 
  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
17970
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
17971
 
which seems to be undefined.  Please make sure it is defined" >&5
17972
 
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
17973
 
which seems to be undefined.  Please make sure it is defined" >&2;}
17974
 
 
17975
 
  rm -f "$tmp/stdin"
17976
 
  case $ac_file in
17977
 
  -) cat "$tmp/out" && rm -f "$tmp/out";;
17978
 
  *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
17979
 
  esac \
17980
 
  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17981
 
 ;;
17982
 
  :H)
17983
 
  #
17984
 
  # CONFIG_HEADER
17985
 
  #
17986
 
  if test x"$ac_file" != x-; then
17987
 
    {
17988
 
      $as_echo "/* $configure_input  */" \
17989
 
      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
17990
 
    } >"$tmp/config.h" \
17991
 
      || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17992
 
    if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
17993
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
17994
 
$as_echo "$as_me: $ac_file is unchanged" >&6;}
17995
 
    else
17996
 
      rm -f "$ac_file"
17997
 
      mv "$tmp/config.h" "$ac_file" \
17998
 
        || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17999
 
    fi
18000
 
  else
18001
 
    $as_echo "/* $configure_input  */" \
18002
 
      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
18003
 
      || as_fn_error $? "could not create -" "$LINENO" 5
18004
 
  fi
18005
 
# Compute "$ac_file"'s index in $config_headers.
18006
 
_am_arg="$ac_file"
18007
 
_am_stamp_count=1
18008
 
for _am_header in $config_headers :; do
18009
 
  case $_am_header in
18010
 
    $_am_arg | $_am_arg:* )
18011
 
      break ;;
18012
 
    * )
18013
 
      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
18014
 
  esac
18015
 
done
18016
 
echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
18017
 
$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18018
 
         X"$_am_arg" : 'X\(//\)[^/]' \| \
18019
 
         X"$_am_arg" : 'X\(//\)$' \| \
18020
 
         X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
18021
 
$as_echo X"$_am_arg" |
18022
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18023
 
            s//\1/
18024
 
            q
18025
 
          }
18026
 
          /^X\(\/\/\)[^/].*/{
18027
 
            s//\1/
18028
 
            q
18029
 
          }
18030
 
          /^X\(\/\/\)$/{
18031
 
            s//\1/
18032
 
            q
18033
 
          }
18034
 
          /^X\(\/\).*/{
18035
 
            s//\1/
18036
 
            q
18037
 
          }
18038
 
          s/.*/./; q'`/stamp-h$_am_stamp_count
18039
 
 ;;
18040
 
 
18041
 
  :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
18042
 
$as_echo "$as_me: executing $ac_file commands" >&6;}
18043
 
 ;;
18044
 
  esac
18045
 
 
18046
 
 
18047
 
  case $ac_file$ac_mode in
18048
 
    "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
18049
 
  # Autoconf 2.62 quotes --file arguments for eval, but not when files
18050
 
  # are listed without --file.  Let's play safe and only enable the eval
18051
 
  # if we detect the quoting.
18052
 
  case $CONFIG_FILES in
18053
 
  *\'*) eval set x "$CONFIG_FILES" ;;
18054
 
  *)   set x $CONFIG_FILES ;;
18055
 
  esac
18056
 
  shift
18057
 
  for mf
18058
 
  do
18059
 
    # Strip MF so we end up with the name of the file.
18060
 
    mf=`echo "$mf" | sed -e 's/:.*$//'`
18061
 
    # Check whether this is an Automake generated Makefile or not.
18062
 
    # We used to match only the files named `Makefile.in', but
18063
 
    # some people rename them; so instead we look at the file content.
18064
 
    # Grep'ing the first line is not enough: some people post-process
18065
 
    # each Makefile.in and add a new line on top of each file to say so.
18066
 
    # Grep'ing the whole file is not good either: AIX grep has a line
18067
 
    # limit of 2048, but all sed's we know have understand at least 4000.
18068
 
    if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
18069
 
      dirpart=`$as_dirname -- "$mf" ||
18070
 
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18071
 
         X"$mf" : 'X\(//\)[^/]' \| \
18072
 
         X"$mf" : 'X\(//\)$' \| \
18073
 
         X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
18074
 
$as_echo X"$mf" |
18075
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18076
 
            s//\1/
18077
 
            q
18078
 
          }
18079
 
          /^X\(\/\/\)[^/].*/{
18080
 
            s//\1/
18081
 
            q
18082
 
          }
18083
 
          /^X\(\/\/\)$/{
18084
 
            s//\1/
18085
 
            q
18086
 
          }
18087
 
          /^X\(\/\).*/{
18088
 
            s//\1/
18089
 
            q
18090
 
          }
18091
 
          s/.*/./; q'`
18092
 
    else
18093
 
      continue
18094
 
    fi
18095
 
    # Extract the definition of DEPDIR, am__include, and am__quote
18096
 
    # from the Makefile without running `make'.
18097
 
    DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
18098
 
    test -z "$DEPDIR" && continue
18099
 
    am__include=`sed -n 's/^am__include = //p' < "$mf"`
18100
 
    test -z "am__include" && continue
18101
 
    am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
18102
 
    # When using ansi2knr, U may be empty or an underscore; expand it
18103
 
    U=`sed -n 's/^U = //p' < "$mf"`
18104
 
    # Find all dependency output files, they are included files with
18105
 
    # $(DEPDIR) in their names.  We invoke sed twice because it is the
18106
 
    # simplest approach to changing $(DEPDIR) to its actual value in the
18107
 
    # expansion.
18108
 
    for file in `sed -n "
18109
 
      s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
18110
 
         sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
18111
 
      # Make sure the directory exists.
18112
 
      test -f "$dirpart/$file" && continue
18113
 
      fdir=`$as_dirname -- "$file" ||
18114
 
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18115
 
         X"$file" : 'X\(//\)[^/]' \| \
18116
 
         X"$file" : 'X\(//\)$' \| \
18117
 
         X"$file" : 'X\(/\)' \| . 2>/dev/null ||
18118
 
$as_echo X"$file" |
18119
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18120
 
            s//\1/
18121
 
            q
18122
 
          }
18123
 
          /^X\(\/\/\)[^/].*/{
18124
 
            s//\1/
18125
 
            q
18126
 
          }
18127
 
          /^X\(\/\/\)$/{
18128
 
            s//\1/
18129
 
            q
18130
 
          }
18131
 
          /^X\(\/\).*/{
18132
 
            s//\1/
18133
 
            q
18134
 
          }
18135
 
          s/.*/./; q'`
18136
 
      as_dir=$dirpart/$fdir; as_fn_mkdir_p
18137
 
      # echo "creating $dirpart/$file"
18138
 
      echo '# dummy' > "$dirpart/$file"
18139
 
    done
18140
 
  done
18141
 
}
18142
 
 ;;
18143
 
    "libtool":C)
18144
 
 
18145
 
    # See if we are running on zsh, and set the options which allow our
18146
 
    # commands through without removal of \ escapes.
18147
 
    if test -n "${ZSH_VERSION+set}" ; then
18148
 
      setopt NO_GLOB_SUBST
18149
 
    fi
18150
 
 
18151
 
    cfgfile="${ofile}T"
18152
 
    trap "$RM \"$cfgfile\"; exit 1" 1 2 15
18153
 
    $RM "$cfgfile"
18154
 
 
18155
 
    cat <<_LT_EOF >> "$cfgfile"
18156
 
#! $SHELL
18157
 
 
18158
 
# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
18159
 
# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
18160
 
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
18161
 
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
18162
 
#
18163
 
#   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
18164
 
#                 2006, 2007, 2008 Free Software Foundation, Inc.
18165
 
#   Written by Gordon Matzigkeit, 1996
18166
 
#
18167
 
#   This file is part of GNU Libtool.
18168
 
#
18169
 
# GNU Libtool is free software; you can redistribute it and/or
18170
 
# modify it under the terms of the GNU General Public License as
18171
 
# published by the Free Software Foundation; either version 2 of
18172
 
# the License, or (at your option) any later version.
18173
 
#
18174
 
# As a special exception to the GNU General Public License,
18175
 
# if you distribute this file as part of a program or library that
18176
 
# is built using GNU Libtool, you may include this file under the
18177
 
# same distribution terms that you use for the rest of that program.
18178
 
#
18179
 
# GNU Libtool is distributed in the hope that it will be useful,
18180
 
# but WITHOUT ANY WARRANTY; without even the implied warranty of
18181
 
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18182
 
# GNU General Public License for more details.
18183
 
#
18184
 
# You should have received a copy of the GNU General Public License
18185
 
# along with GNU Libtool; see the file COPYING.  If not, a copy
18186
 
# can be downloaded from http://www.gnu.org/licenses/gpl.html, or
18187
 
# obtained by writing to the Free Software Foundation, Inc.,
18188
 
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
18189
 
 
18190
 
 
18191
 
# The names of the tagged configurations supported by this script.
18192
 
available_tags="CXX "
18193
 
 
18194
 
# ### BEGIN LIBTOOL CONFIG
18195
 
 
18196
 
# Which release of libtool.m4 was used?
18197
 
macro_version=$macro_version
18198
 
macro_revision=$macro_revision
18199
 
 
18200
 
# Whether or not to build shared libraries.
18201
 
build_libtool_libs=$enable_shared
18202
 
 
18203
 
# Whether or not to build static libraries.
18204
 
build_old_libs=$enable_static
18205
 
 
18206
 
# What type of objects to build.
18207
 
pic_mode=$pic_mode
18208
 
 
18209
 
# Whether or not to optimize for fast installation.
18210
 
fast_install=$enable_fast_install
18211
 
 
18212
 
# The host system.
18213
 
host_alias=$host_alias
18214
 
host=$host
18215
 
host_os=$host_os
18216
 
 
18217
 
# The build system.
18218
 
build_alias=$build_alias
18219
 
build=$build
18220
 
build_os=$build_os
18221
 
 
18222
 
# A sed program that does not truncate output.
18223
 
SED=$lt_SED
18224
 
 
18225
 
# Sed that helps us avoid accidentally triggering echo(1) options like -n.
18226
 
Xsed="\$SED -e 1s/^X//"
18227
 
 
18228
 
# A grep program that handles long lines.
18229
 
GREP=$lt_GREP
18230
 
 
18231
 
# An ERE matcher.
18232
 
EGREP=$lt_EGREP
18233
 
 
18234
 
# A literal string matcher.
18235
 
FGREP=$lt_FGREP
18236
 
 
18237
 
# A BSD- or MS-compatible name lister.
18238
 
NM=$lt_NM
18239
 
 
18240
 
# Whether we need soft or hard links.
18241
 
LN_S=$lt_LN_S
18242
 
 
18243
 
# What is the maximum length of a command?
18244
 
max_cmd_len=$max_cmd_len
18245
 
 
18246
 
# Object file suffix (normally "o").
18247
 
objext=$ac_objext
18248
 
 
18249
 
# Executable file suffix (normally "").
18250
 
exeext=$exeext
18251
 
 
18252
 
# whether the shell understands "unset".
18253
 
lt_unset=$lt_unset
18254
 
 
18255
 
# turn spaces into newlines.
18256
 
SP2NL=$lt_lt_SP2NL
18257
 
 
18258
 
# turn newlines into spaces.
18259
 
NL2SP=$lt_lt_NL2SP
18260
 
 
18261
 
# How to create reloadable object files.
18262
 
reload_flag=$lt_reload_flag
18263
 
reload_cmds=$lt_reload_cmds
18264
 
 
18265
 
# An object symbol dumper.
18266
 
OBJDUMP=$lt_OBJDUMP
18267
 
 
18268
 
# Method to check whether dependent libraries are shared objects.
18269
 
deplibs_check_method=$lt_deplibs_check_method
18270
 
 
18271
 
# Command to use when deplibs_check_method == "file_magic".
18272
 
file_magic_cmd=$lt_file_magic_cmd
18273
 
 
18274
 
# The archiver.
18275
 
AR=$lt_AR
18276
 
AR_FLAGS=$lt_AR_FLAGS
18277
 
 
18278
 
# A symbol stripping program.
18279
 
STRIP=$lt_STRIP
18280
 
 
18281
 
# Commands used to install an old-style archive.
18282
 
RANLIB=$lt_RANLIB
18283
 
old_postinstall_cmds=$lt_old_postinstall_cmds
18284
 
old_postuninstall_cmds=$lt_old_postuninstall_cmds
18285
 
 
18286
 
# A C compiler.
18287
 
LTCC=$lt_CC
18288
 
 
18289
 
# LTCC compiler flags.
18290
 
LTCFLAGS=$lt_CFLAGS
18291
 
 
18292
 
# Take the output of nm and produce a listing of raw symbols and C names.
18293
 
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
18294
 
 
18295
 
# Transform the output of nm in a proper C declaration.
18296
 
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
18297
 
 
18298
 
# Transform the output of nm in a C name address pair.
18299
 
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
18300
 
 
18301
 
# Transform the output of nm in a C name address pair when lib prefix is needed.
18302
 
global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
18303
 
 
18304
 
# The name of the directory that contains temporary libtool files.
18305
 
objdir=$objdir
18306
 
 
18307
 
# Shell to use when invoking shell scripts.
18308
 
SHELL=$lt_SHELL
18309
 
 
18310
 
# An echo program that does not interpret backslashes.
18311
 
ECHO=$lt_ECHO
18312
 
 
18313
 
# Used to examine libraries when file_magic_cmd begins with "file".
18314
 
MAGIC_CMD=$MAGIC_CMD
18315
 
 
18316
 
# Must we lock files when doing compilation?
18317
 
need_locks=$lt_need_locks
18318
 
 
18319
 
# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
18320
 
DSYMUTIL=$lt_DSYMUTIL
18321
 
 
18322
 
# Tool to change global to local symbols on Mac OS X.
18323
 
NMEDIT=$lt_NMEDIT
18324
 
 
18325
 
# Tool to manipulate fat objects and archives on Mac OS X.
18326
 
LIPO=$lt_LIPO
18327
 
 
18328
 
# ldd/readelf like tool for Mach-O binaries on Mac OS X.
18329
 
OTOOL=$lt_OTOOL
18330
 
 
18331
 
# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
18332
 
OTOOL64=$lt_OTOOL64
18333
 
 
18334
 
# Old archive suffix (normally "a").
18335
 
libext=$libext
18336
 
 
18337
 
# Shared library suffix (normally ".so").
18338
 
shrext_cmds=$lt_shrext_cmds
18339
 
 
18340
 
# The commands to extract the exported symbol list from a shared archive.
18341
 
extract_expsyms_cmds=$lt_extract_expsyms_cmds
18342
 
 
18343
 
# Variables whose values should be saved in libtool wrapper scripts and
18344
 
# restored at link time.
18345
 
variables_saved_for_relink=$lt_variables_saved_for_relink
18346
 
 
18347
 
# Do we need the "lib" prefix for modules?
18348
 
need_lib_prefix=$need_lib_prefix
18349
 
 
18350
 
# Do we need a version for libraries?
18351
 
need_version=$need_version
18352
 
 
18353
 
# Library versioning type.
18354
 
version_type=$version_type
18355
 
 
18356
 
# Shared library runtime path variable.
18357
 
runpath_var=$runpath_var
18358
 
 
18359
 
# Shared library path variable.
18360
 
shlibpath_var=$shlibpath_var
18361
 
 
18362
 
# Is shlibpath searched before the hard-coded library search path?
18363
 
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
18364
 
 
18365
 
# Format of library name prefix.
18366
 
libname_spec=$lt_libname_spec
18367
 
 
18368
 
# List of archive names.  First name is the real one, the rest are links.
18369
 
# The last name is the one that the linker finds with -lNAME
18370
 
library_names_spec=$lt_library_names_spec
18371
 
 
18372
 
# The coded name of the library, if different from the real name.
18373
 
soname_spec=$lt_soname_spec
18374
 
 
18375
 
# Command to use after installation of a shared archive.
18376
 
postinstall_cmds=$lt_postinstall_cmds
18377
 
 
18378
 
# Command to use after uninstallation of a shared archive.
18379
 
postuninstall_cmds=$lt_postuninstall_cmds
18380
 
 
18381
 
# Commands used to finish a libtool library installation in a directory.
18382
 
finish_cmds=$lt_finish_cmds
18383
 
 
18384
 
# As "finish_cmds", except a single script fragment to be evaled but
18385
 
# not shown.
18386
 
finish_eval=$lt_finish_eval
18387
 
 
18388
 
# Whether we should hardcode library paths into libraries.
18389
 
hardcode_into_libs=$hardcode_into_libs
18390
 
 
18391
 
# Compile-time system search path for libraries.
18392
 
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
18393
 
 
18394
 
# Run-time system search path for libraries.
18395
 
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
18396
 
 
18397
 
# Whether dlopen is supported.
18398
 
dlopen_support=$enable_dlopen
18399
 
 
18400
 
# Whether dlopen of programs is supported.
18401
 
dlopen_self=$enable_dlopen_self
18402
 
 
18403
 
# Whether dlopen of statically linked programs is supported.
18404
 
dlopen_self_static=$enable_dlopen_self_static
18405
 
 
18406
 
# Commands to strip libraries.
18407
 
old_striplib=$lt_old_striplib
18408
 
striplib=$lt_striplib
18409
 
 
18410
 
 
18411
 
# The linker used to build libraries.
18412
 
LD=$lt_LD
18413
 
 
18414
 
# Commands used to build an old-style archive.
18415
 
old_archive_cmds=$lt_old_archive_cmds
18416
 
 
18417
 
# A language specific compiler.
18418
 
CC=$lt_compiler
18419
 
 
18420
 
# Is the compiler the GNU compiler?
18421
 
with_gcc=$GCC
18422
 
 
18423
 
# Compiler flag to turn off builtin functions.
18424
 
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
18425
 
 
18426
 
# How to pass a linker flag through the compiler.
18427
 
wl=$lt_lt_prog_compiler_wl
18428
 
 
18429
 
# Additional compiler flags for building library objects.
18430
 
pic_flag=$lt_lt_prog_compiler_pic
18431
 
 
18432
 
# Compiler flag to prevent dynamic linking.
18433
 
link_static_flag=$lt_lt_prog_compiler_static
18434
 
 
18435
 
# Does compiler simultaneously support -c and -o options?
18436
 
compiler_c_o=$lt_lt_cv_prog_compiler_c_o
18437
 
 
18438
 
# Whether or not to add -lc for building shared libraries.
18439
 
build_libtool_need_lc=$archive_cmds_need_lc
18440
 
 
18441
 
# Whether or not to disallow shared libs when runtime libs are static.
18442
 
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
18443
 
 
18444
 
# Compiler flag to allow reflexive dlopens.
18445
 
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
18446
 
 
18447
 
# Compiler flag to generate shared objects directly from archives.
18448
 
whole_archive_flag_spec=$lt_whole_archive_flag_spec
18449
 
 
18450
 
# Whether the compiler copes with passing no objects directly.
18451
 
compiler_needs_object=$lt_compiler_needs_object
18452
 
 
18453
 
# Create an old-style archive from a shared archive.
18454
 
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
18455
 
 
18456
 
# Create a temporary old-style archive to link instead of a shared archive.
18457
 
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
18458
 
 
18459
 
# Commands used to build a shared archive.
18460
 
archive_cmds=$lt_archive_cmds
18461
 
archive_expsym_cmds=$lt_archive_expsym_cmds
18462
 
 
18463
 
# Commands used to build a loadable module if different from building
18464
 
# a shared archive.
18465
 
module_cmds=$lt_module_cmds
18466
 
module_expsym_cmds=$lt_module_expsym_cmds
18467
 
 
18468
 
# Whether we are building with GNU ld or not.
18469
 
with_gnu_ld=$lt_with_gnu_ld
18470
 
 
18471
 
# Flag that allows shared libraries with undefined symbols to be built.
18472
 
allow_undefined_flag=$lt_allow_undefined_flag
18473
 
 
18474
 
# Flag that enforces no undefined symbols.
18475
 
no_undefined_flag=$lt_no_undefined_flag
18476
 
 
18477
 
# Flag to hardcode \$libdir into a binary during linking.
18478
 
# This must work even if \$libdir does not exist
18479
 
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
18480
 
 
18481
 
# If ld is used when linking, flag to hardcode \$libdir into a binary
18482
 
# during linking.  This must work even if \$libdir does not exist.
18483
 
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
18484
 
 
18485
 
# Whether we need a single "-rpath" flag with a separated argument.
18486
 
hardcode_libdir_separator=$lt_hardcode_libdir_separator
18487
 
 
18488
 
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18489
 
# DIR into the resulting binary.
18490
 
hardcode_direct=$hardcode_direct
18491
 
 
18492
 
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18493
 
# DIR into the resulting binary and the resulting library dependency is
18494
 
# "absolute",i.e impossible to change by setting \${shlibpath_var} if the
18495
 
# library is relocated.
18496
 
hardcode_direct_absolute=$hardcode_direct_absolute
18497
 
 
18498
 
# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
18499
 
# into the resulting binary.
18500
 
hardcode_minus_L=$hardcode_minus_L
18501
 
 
18502
 
# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
18503
 
# into the resulting binary.
18504
 
hardcode_shlibpath_var=$hardcode_shlibpath_var
18505
 
 
18506
 
# Set to "yes" if building a shared library automatically hardcodes DIR
18507
 
# into the library and all subsequent libraries and executables linked
18508
 
# against it.
18509
 
hardcode_automatic=$hardcode_automatic
18510
 
 
18511
 
# Set to yes if linker adds runtime paths of dependent libraries
18512
 
# to runtime path list.
18513
 
inherit_rpath=$inherit_rpath
18514
 
 
18515
 
# Whether libtool must link a program against all its dependency libraries.
18516
 
link_all_deplibs=$link_all_deplibs
18517
 
 
18518
 
# Fix the shell variable \$srcfile for the compiler.
18519
 
fix_srcfile_path=$lt_fix_srcfile_path
18520
 
 
18521
 
# Set to "yes" if exported symbols are required.
18522
 
always_export_symbols=$always_export_symbols
18523
 
 
18524
 
# The commands to list exported symbols.
18525
 
export_symbols_cmds=$lt_export_symbols_cmds
18526
 
 
18527
 
# Symbols that should not be listed in the preloaded symbols.
18528
 
exclude_expsyms=$lt_exclude_expsyms
18529
 
 
18530
 
# Symbols that must always be exported.
18531
 
include_expsyms=$lt_include_expsyms
18532
 
 
18533
 
# Commands necessary for linking programs (against libraries) with templates.
18534
 
prelink_cmds=$lt_prelink_cmds
18535
 
 
18536
 
# Specify filename containing input files.
18537
 
file_list_spec=$lt_file_list_spec
18538
 
 
18539
 
# How to hardcode a shared library path into an executable.
18540
 
hardcode_action=$hardcode_action
18541
 
 
18542
 
# The directories searched by this compiler when creating a shared library.
18543
 
compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
18544
 
 
18545
 
# Dependencies to place before and after the objects being linked to
18546
 
# create a shared library.
18547
 
predep_objects=$lt_predep_objects
18548
 
postdep_objects=$lt_postdep_objects
18549
 
predeps=$lt_predeps
18550
 
postdeps=$lt_postdeps
18551
 
 
18552
 
# The library search path used internally by the compiler when linking
18553
 
# a shared library.
18554
 
compiler_lib_search_path=$lt_compiler_lib_search_path
18555
 
 
18556
 
# ### END LIBTOOL CONFIG
18557
 
 
18558
 
_LT_EOF
18559
 
 
18560
 
  case $host_os in
18561
 
  aix3*)
18562
 
    cat <<\_LT_EOF >> "$cfgfile"
18563
 
# AIX sometimes has problems with the GCC collect2 program.  For some
18564
 
# reason, if we set the COLLECT_NAMES environment variable, the problems
18565
 
# vanish in a puff of smoke.
18566
 
if test "X${COLLECT_NAMES+set}" != Xset; then
18567
 
  COLLECT_NAMES=
18568
 
  export COLLECT_NAMES
18569
 
fi
18570
 
_LT_EOF
18571
 
    ;;
18572
 
  esac
18573
 
 
18574
 
 
18575
 
ltmain="$ac_aux_dir/ltmain.sh"
18576
 
 
18577
 
 
18578
 
  # We use sed instead of cat because bash on DJGPP gets confused if
18579
 
  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
18580
 
  # text mode, it properly converts lines to CR/LF.  This bash problem
18581
 
  # is reportedly fixed, but why not run on old versions too?
18582
 
  sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
18583
 
    || (rm -f "$cfgfile"; exit 1)
18584
 
 
18585
 
  case $xsi_shell in
18586
 
  yes)
18587
 
    cat << \_LT_EOF >> "$cfgfile"
18588
 
 
18589
 
# func_dirname file append nondir_replacement
18590
 
# Compute the dirname of FILE.  If nonempty, add APPEND to the result,
18591
 
# otherwise set result to NONDIR_REPLACEMENT.
18592
 
func_dirname ()
18593
 
{
18594
 
  case ${1} in
18595
 
    */*) func_dirname_result="${1%/*}${2}" ;;
18596
 
    *  ) func_dirname_result="${3}" ;;
18597
 
  esac
18598
 
}
18599
 
 
18600
 
# func_basename file
18601
 
func_basename ()
18602
 
{
18603
 
  func_basename_result="${1##*/}"
18604
 
}
18605
 
 
18606
 
# func_dirname_and_basename file append nondir_replacement
18607
 
# perform func_basename and func_dirname in a single function
18608
 
# call:
18609
 
#   dirname:  Compute the dirname of FILE.  If nonempty,
18610
 
#             add APPEND to the result, otherwise set result
18611
 
#             to NONDIR_REPLACEMENT.
18612
 
#             value returned in "$func_dirname_result"
18613
 
#   basename: Compute filename of FILE.
18614
 
#             value retuned in "$func_basename_result"
18615
 
# Implementation must be kept synchronized with func_dirname
18616
 
# and func_basename. For efficiency, we do not delegate to
18617
 
# those functions but instead duplicate the functionality here.
18618
 
func_dirname_and_basename ()
18619
 
{
18620
 
  case ${1} in
18621
 
    */*) func_dirname_result="${1%/*}${2}" ;;
18622
 
    *  ) func_dirname_result="${3}" ;;
18623
 
  esac
18624
 
  func_basename_result="${1##*/}"
18625
 
}
18626
 
 
18627
 
# func_stripname prefix suffix name
18628
 
# strip PREFIX and SUFFIX off of NAME.
18629
 
# PREFIX and SUFFIX must not contain globbing or regex special
18630
 
# characters, hashes, percent signs, but SUFFIX may contain a leading
18631
 
# dot (in which case that matches only a dot).
18632
 
func_stripname ()
18633
 
{
18634
 
  # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
18635
 
  # positional parameters, so assign one to ordinary parameter first.
18636
 
  func_stripname_result=${3}
18637
 
  func_stripname_result=${func_stripname_result#"${1}"}
18638
 
  func_stripname_result=${func_stripname_result%"${2}"}
18639
 
}
18640
 
 
18641
 
# func_opt_split
18642
 
func_opt_split ()
18643
 
{
18644
 
  func_opt_split_opt=${1%%=*}
18645
 
  func_opt_split_arg=${1#*=}
18646
 
}
18647
 
 
18648
 
# func_lo2o object
18649
 
func_lo2o ()
18650
 
{
18651
 
  case ${1} in
18652
 
    *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
18653
 
    *)    func_lo2o_result=${1} ;;
18654
 
  esac
18655
 
}
18656
 
 
18657
 
# func_xform libobj-or-source
18658
 
func_xform ()
18659
 
{
18660
 
  func_xform_result=${1%.*}.lo
18661
 
}
18662
 
 
18663
 
# func_arith arithmetic-term...
18664
 
func_arith ()
18665
 
{
18666
 
  func_arith_result=$(( $* ))
18667
 
}
18668
 
 
18669
 
# func_len string
18670
 
# STRING may not start with a hyphen.
18671
 
func_len ()
18672
 
{
18673
 
  func_len_result=${#1}
18674
 
}
18675
 
 
18676
 
_LT_EOF
18677
 
    ;;
18678
 
  *) # Bourne compatible functions.
18679
 
    cat << \_LT_EOF >> "$cfgfile"
18680
 
 
18681
 
# func_dirname file append nondir_replacement
18682
 
# Compute the dirname of FILE.  If nonempty, add APPEND to the result,
18683
 
# otherwise set result to NONDIR_REPLACEMENT.
18684
 
func_dirname ()
18685
 
{
18686
 
  # Extract subdirectory from the argument.
18687
 
  func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
18688
 
  if test "X$func_dirname_result" = "X${1}"; then
18689
 
    func_dirname_result="${3}"
18690
 
  else
18691
 
    func_dirname_result="$func_dirname_result${2}"
18692
 
  fi
18693
 
}
18694
 
 
18695
 
# func_basename file
18696
 
func_basename ()
18697
 
{
18698
 
  func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
18699
 
}
18700
 
 
18701
 
 
18702
 
# func_stripname prefix suffix name
18703
 
# strip PREFIX and SUFFIX off of NAME.
18704
 
# PREFIX and SUFFIX must not contain globbing or regex special
18705
 
# characters, hashes, percent signs, but SUFFIX may contain a leading
18706
 
# dot (in which case that matches only a dot).
18707
 
# func_strip_suffix prefix name
18708
 
func_stripname ()
18709
 
{
18710
 
  case ${2} in
18711
 
    .*) func_stripname_result=`$ECHO "X${3}" \
18712
 
           | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
18713
 
    *)  func_stripname_result=`$ECHO "X${3}" \
18714
 
           | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
18715
 
  esac
18716
 
}
18717
 
 
18718
 
# sed scripts:
18719
 
my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
18720
 
my_sed_long_arg='1s/^-[^=]*=//'
18721
 
 
18722
 
# func_opt_split
18723
 
func_opt_split ()
18724
 
{
18725
 
  func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
18726
 
  func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
18727
 
}
18728
 
 
18729
 
# func_lo2o object
18730
 
func_lo2o ()
18731
 
{
18732
 
  func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
18733
 
}
18734
 
 
18735
 
# func_xform libobj-or-source
18736
 
func_xform ()
18737
 
{
18738
 
  func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
18739
 
}
18740
 
 
18741
 
# func_arith arithmetic-term...
18742
 
func_arith ()
18743
 
{
18744
 
  func_arith_result=`expr "$@"`
18745
 
}
18746
 
 
18747
 
# func_len string
18748
 
# STRING may not start with a hyphen.
18749
 
func_len ()
18750
 
{
18751
 
  func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
18752
 
}
18753
 
 
18754
 
_LT_EOF
18755
 
esac
18756
 
 
18757
 
case $lt_shell_append in
18758
 
  yes)
18759
 
    cat << \_LT_EOF >> "$cfgfile"
18760
 
 
18761
 
# func_append var value
18762
 
# Append VALUE to the end of shell variable VAR.
18763
 
func_append ()
18764
 
{
18765
 
  eval "$1+=\$2"
18766
 
}
18767
 
_LT_EOF
18768
 
    ;;
18769
 
  *)
18770
 
    cat << \_LT_EOF >> "$cfgfile"
18771
 
 
18772
 
# func_append var value
18773
 
# Append VALUE to the end of shell variable VAR.
18774
 
func_append ()
18775
 
{
18776
 
  eval "$1=\$$1\$2"
18777
 
}
18778
 
 
18779
 
_LT_EOF
18780
 
    ;;
18781
 
  esac
18782
 
 
18783
 
 
18784
 
  sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
18785
 
    || (rm -f "$cfgfile"; exit 1)
18786
 
 
18787
 
  mv -f "$cfgfile" "$ofile" ||
18788
 
    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
18789
 
  chmod +x "$ofile"
18790
 
 
18791
 
 
18792
 
    cat <<_LT_EOF >> "$ofile"
18793
 
 
18794
 
# ### BEGIN LIBTOOL TAG CONFIG: CXX
18795
 
 
18796
 
# The linker used to build libraries.
18797
 
LD=$lt_LD_CXX
18798
 
 
18799
 
# Commands used to build an old-style archive.
18800
 
old_archive_cmds=$lt_old_archive_cmds_CXX
18801
 
 
18802
 
# A language specific compiler.
18803
 
CC=$lt_compiler_CXX
18804
 
 
18805
 
# Is the compiler the GNU compiler?
18806
 
with_gcc=$GCC_CXX
18807
 
 
18808
 
# Compiler flag to turn off builtin functions.
18809
 
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
18810
 
 
18811
 
# How to pass a linker flag through the compiler.
18812
 
wl=$lt_lt_prog_compiler_wl_CXX
18813
 
 
18814
 
# Additional compiler flags for building library objects.
18815
 
pic_flag=$lt_lt_prog_compiler_pic_CXX
18816
 
 
18817
 
# Compiler flag to prevent dynamic linking.
18818
 
link_static_flag=$lt_lt_prog_compiler_static_CXX
18819
 
 
18820
 
# Does compiler simultaneously support -c and -o options?
18821
 
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
18822
 
 
18823
 
# Whether or not to add -lc for building shared libraries.
18824
 
build_libtool_need_lc=$archive_cmds_need_lc_CXX
18825
 
 
18826
 
# Whether or not to disallow shared libs when runtime libs are static.
18827
 
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
18828
 
 
18829
 
# Compiler flag to allow reflexive dlopens.
18830
 
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
18831
 
 
18832
 
# Compiler flag to generate shared objects directly from archives.
18833
 
whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
18834
 
 
18835
 
# Whether the compiler copes with passing no objects directly.
18836
 
compiler_needs_object=$lt_compiler_needs_object_CXX
18837
 
 
18838
 
# Create an old-style archive from a shared archive.
18839
 
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
18840
 
 
18841
 
# Create a temporary old-style archive to link instead of a shared archive.
18842
 
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
18843
 
 
18844
 
# Commands used to build a shared archive.
18845
 
archive_cmds=$lt_archive_cmds_CXX
18846
 
archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
18847
 
 
18848
 
# Commands used to build a loadable module if different from building
18849
 
# a shared archive.
18850
 
module_cmds=$lt_module_cmds_CXX
18851
 
module_expsym_cmds=$lt_module_expsym_cmds_CXX
18852
 
 
18853
 
# Whether we are building with GNU ld or not.
18854
 
with_gnu_ld=$lt_with_gnu_ld_CXX
18855
 
 
18856
 
# Flag that allows shared libraries with undefined symbols to be built.
18857
 
allow_undefined_flag=$lt_allow_undefined_flag_CXX
18858
 
 
18859
 
# Flag that enforces no undefined symbols.
18860
 
no_undefined_flag=$lt_no_undefined_flag_CXX
18861
 
 
18862
 
# Flag to hardcode \$libdir into a binary during linking.
18863
 
# This must work even if \$libdir does not exist
18864
 
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
18865
 
 
18866
 
# If ld is used when linking, flag to hardcode \$libdir into a binary
18867
 
# during linking.  This must work even if \$libdir does not exist.
18868
 
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
18869
 
 
18870
 
# Whether we need a single "-rpath" flag with a separated argument.
18871
 
hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
18872
 
 
18873
 
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18874
 
# DIR into the resulting binary.
18875
 
hardcode_direct=$hardcode_direct_CXX
18876
 
 
18877
 
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18878
 
# DIR into the resulting binary and the resulting library dependency is
18879
 
# "absolute",i.e impossible to change by setting \${shlibpath_var} if the
18880
 
# library is relocated.
18881
 
hardcode_direct_absolute=$hardcode_direct_absolute_CXX
18882
 
 
18883
 
# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
18884
 
# into the resulting binary.
18885
 
hardcode_minus_L=$hardcode_minus_L_CXX
18886
 
 
18887
 
# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
18888
 
# into the resulting binary.
18889
 
hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
18890
 
 
18891
 
# Set to "yes" if building a shared library automatically hardcodes DIR
18892
 
# into the library and all subsequent libraries and executables linked
18893
 
# against it.
18894
 
hardcode_automatic=$hardcode_automatic_CXX
18895
 
 
18896
 
# Set to yes if linker adds runtime paths of dependent libraries
18897
 
# to runtime path list.
18898
 
inherit_rpath=$inherit_rpath_CXX
18899
 
 
18900
 
# Whether libtool must link a program against all its dependency libraries.
18901
 
link_all_deplibs=$link_all_deplibs_CXX
18902
 
 
18903
 
# Fix the shell variable \$srcfile for the compiler.
18904
 
fix_srcfile_path=$lt_fix_srcfile_path_CXX
18905
 
 
18906
 
# Set to "yes" if exported symbols are required.
18907
 
always_export_symbols=$always_export_symbols_CXX
18908
 
 
18909
 
# The commands to list exported symbols.
18910
 
export_symbols_cmds=$lt_export_symbols_cmds_CXX
18911
 
 
18912
 
# Symbols that should not be listed in the preloaded symbols.
18913
 
exclude_expsyms=$lt_exclude_expsyms_CXX
18914
 
 
18915
 
# Symbols that must always be exported.
18916
 
include_expsyms=$lt_include_expsyms_CXX
18917
 
 
18918
 
# Commands necessary for linking programs (against libraries) with templates.
18919
 
prelink_cmds=$lt_prelink_cmds_CXX
18920
 
 
18921
 
# Specify filename containing input files.
18922
 
file_list_spec=$lt_file_list_spec_CXX
18923
 
 
18924
 
# How to hardcode a shared library path into an executable.
18925
 
hardcode_action=$hardcode_action_CXX
18926
 
 
18927
 
# The directories searched by this compiler when creating a shared library.
18928
 
compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
18929
 
 
18930
 
# Dependencies to place before and after the objects being linked to
18931
 
# create a shared library.
18932
 
predep_objects=$lt_predep_objects_CXX
18933
 
postdep_objects=$lt_postdep_objects_CXX
18934
 
predeps=$lt_predeps_CXX
18935
 
postdeps=$lt_postdeps_CXX
18936
 
 
18937
 
# The library search path used internally by the compiler when linking
18938
 
# a shared library.
18939
 
compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
18940
 
 
18941
 
# ### END LIBTOOL TAG CONFIG: CXX
18942
 
_LT_EOF
18943
 
 
18944
 
 ;;
18945
 
 
18946
 
  esac
18947
 
done # for ac_tag
18948
 
 
18949
 
 
18950
 
as_fn_exit 0
18951
 
_ACEOF
18952
 
ac_clean_files=$ac_clean_files_save
18953
 
 
18954
 
test $ac_write_fail = 0 ||
18955
 
  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
18956
 
 
18957
 
 
18958
 
# configure is writing to config.log, and then calls config.status.
18959
 
# config.status does its own redirection, appending to config.log.
18960
 
# Unfortunately, on DOS this fails, as config.log is still kept open
18961
 
# by configure, so config.status won't be able to write to it; its
18962
 
# output is simply discarded.  So we exec the FD to /dev/null,
18963
 
# effectively closing config.log, so it can be properly (re)opened and
18964
 
# appended to by config.status.  When coming back to configure, we
18965
 
# need to make the FD available again.
18966
 
if test "$no_create" != yes; then
18967
 
  ac_cs_success=:
18968
 
  ac_config_status_args=
18969
 
  test "$silent" = yes &&
18970
 
    ac_config_status_args="$ac_config_status_args --quiet"
18971
 
  exec 5>/dev/null
18972
 
  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
18973
 
  exec 5>>config.log
18974
 
  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
18975
 
  # would make configure fail if this is the last instruction.
18976
 
  $ac_cs_success || as_fn_exit 1
18977
 
fi
18978
 
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
18979
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
18980
 
$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
18981
 
fi
18982