~ubuntu-branches/ubuntu/trusty/quickfix/trusty-proposed

« back to all changes in this revision

Viewing changes to .pc/ruby_site_packages.patch/configure

  • Committer: Package Import Robot
  • Author(s): Logan Rosen
  • Date: 2014-04-09 13:24:18 UTC
  • mfrom: (8.1.1 sid)
  • Revision ID: package-import@ubuntu.com-20140409132418-s014yjzy2duvys2w
Tags: 1.13.3+dfsg-8ubuntu1
* Merge from Debian unstable. Remaining changes:
  - Use autotools-dev dh helper instead of manually copying
    config.{sub,guess} to fix FTBFS on arm64.

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.64.
4
 
#
5
 
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6
 
# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software
7
 
# Foundation, Inc.
8
 
#
9
 
# This configure script is free software; the Free Software Foundation
10
 
# gives unlimited permission to copy, distribute and modify it.
11
 
## -------------------- ##
12
 
## M4sh Initialization. ##
13
 
## -------------------- ##
14
 
 
15
 
# Be more Bourne compatible
16
 
DUALCASE=1; export DUALCASE # for MKS sh
17
 
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
18
 
  emulate sh
19
 
  NULLCMD=:
20
 
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21
 
  # is contrary to our usage.  Disable this feature.
22
 
  alias -g '${1+"$@"}'='"$@"'
23
 
  setopt NO_GLOB_SUBST
24
 
else
25
 
  case `(set -o) 2>/dev/null` in #(
26
 
  *posix*) :
27
 
    set -o posix ;; #(
28
 
  *) :
29
 
     ;;
30
 
esac
31
 
fi
32
 
 
33
 
 
34
 
as_nl='
35
 
'
36
 
export as_nl
37
 
# Printing a long string crashes Solaris 7 /usr/bin/printf.
38
 
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39
 
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40
 
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41
 
# Prefer a ksh shell builtin over an external printf program on Solaris,
42
 
# but without wasting forks for bash or zsh.
43
 
if test -z "$BASH_VERSION$ZSH_VERSION" \
44
 
    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
45
 
  as_echo='print -r --'
46
 
  as_echo_n='print -rn --'
47
 
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
48
 
  as_echo='printf %s\n'
49
 
  as_echo_n='printf %s'
50
 
else
51
 
  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52
 
    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
53
 
    as_echo_n='/usr/ucb/echo -n'
54
 
  else
55
 
    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
56
 
    as_echo_n_body='eval
57
 
      arg=$1;
58
 
      case $arg in #(
59
 
      *"$as_nl"*)
60
 
        expr "X$arg" : "X\\(.*\\)$as_nl";
61
 
        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
62
 
      esac;
63
 
      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
64
 
    '
65
 
    export as_echo_n_body
66
 
    as_echo_n='sh -c $as_echo_n_body as_echo'
67
 
  fi
68
 
  export as_echo_body
69
 
  as_echo='sh -c $as_echo_body as_echo'
70
 
fi
71
 
 
72
 
# The user is always right.
73
 
if test "${PATH_SEPARATOR+set}" != set; then
74
 
  PATH_SEPARATOR=:
75
 
  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76
 
    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
77
 
      PATH_SEPARATOR=';'
78
 
  }
79
 
fi
80
 
 
81
 
 
82
 
# IFS
83
 
# We need space, tab and new line, in precisely that order.  Quoting is
84
 
# there to prevent editors from complaining about space-tab.
85
 
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
86
 
# splitting by setting IFS to empty value.)
87
 
IFS=" ""        $as_nl"
88
 
 
89
 
# Find who we are.  Look in the path if we contain no directory separator.
90
 
case $0 in #((
91
 
  *[\\/]* ) as_myself=$0 ;;
92
 
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
93
 
for as_dir in $PATH
94
 
do
95
 
  IFS=$as_save_IFS
96
 
  test -z "$as_dir" && as_dir=.
97
 
    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
98
 
  done
99
 
IFS=$as_save_IFS
100
 
 
101
 
     ;;
102
 
esac
103
 
# We did not find ourselves, most probably we were run as `sh COMMAND'
104
 
# in which case we are not to be found in the path.
105
 
if test "x$as_myself" = x; then
106
 
  as_myself=$0
107
 
fi
108
 
if test ! -f "$as_myself"; then
109
 
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
110
 
  exit 1
111
 
fi
112
 
 
113
 
# Unset variables that we do not need and which cause bugs (e.g. in
114
 
# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
115
 
# suppresses any "Segmentation fault" message there.  '((' could
116
 
# trigger a bug in pdksh 5.2.14.
117
 
for as_var in BASH_ENV ENV MAIL MAILPATH
118
 
do eval test x\${$as_var+set} = xset \
119
 
  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
120
 
done
121
 
PS1='$ '
122
 
PS2='> '
123
 
PS4='+ '
124
 
 
125
 
# NLS nuisances.
126
 
LC_ALL=C
127
 
export LC_ALL
128
 
LANGUAGE=C
129
 
export LANGUAGE
130
 
 
131
 
# CDPATH.
132
 
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
133
 
 
134
 
if test "x$CONFIG_SHELL" = x; then
135
 
  as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
136
 
  emulate sh
137
 
  NULLCMD=:
138
 
  # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
139
 
  # is contrary to our usage.  Disable this feature.
140
 
  alias -g '\${1+\"\$@\"}'='\"\$@\"'
141
 
  setopt NO_GLOB_SUBST
142
 
else
143
 
  case \`(set -o) 2>/dev/null\` in #(
144
 
  *posix*) :
145
 
    set -o posix ;; #(
146
 
  *) :
147
 
     ;;
148
 
esac
149
 
fi
150
 
"
151
 
  as_required="as_fn_return () { (exit \$1); }
152
 
as_fn_success () { as_fn_return 0; }
153
 
as_fn_failure () { as_fn_return 1; }
154
 
as_fn_ret_success () { return 0; }
155
 
as_fn_ret_failure () { return 1; }
156
 
 
157
 
exitcode=0
158
 
as_fn_success || { exitcode=1; echo as_fn_success failed.; }
159
 
as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
160
 
as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
161
 
as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
162
 
if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
163
 
 
164
 
else
165
 
  exitcode=1; echo positional parameters were not saved.
166
 
fi
167
 
test x\$exitcode = x0 || exit 1"
168
 
  as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
169
 
  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
170
 
  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
171
 
  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
172
 
test \$(( 1 + 1 )) = 2 || exit 1"
173
 
  if (eval "$as_required") 2>/dev/null; then :
174
 
  as_have_required=yes
175
 
else
176
 
  as_have_required=no
177
 
fi
178
 
  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
179
 
 
180
 
else
181
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
182
 
as_found=false
183
 
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
184
 
do
185
 
  IFS=$as_save_IFS
186
 
  test -z "$as_dir" && as_dir=.
187
 
  as_found=:
188
 
  case $as_dir in #(
189
 
         /*)
190
 
           for as_base in sh bash ksh sh5; do
191
 
             # Try only shells that exist, to save several forks.
192
 
             as_shell=$as_dir/$as_base
193
 
             if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
194
 
                    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
195
 
  CONFIG_SHELL=$as_shell as_have_required=yes
196
 
                   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
197
 
  break 2
198
 
fi
199
 
fi
200
 
           done;;
201
 
       esac
202
 
  as_found=false
203
 
done
204
 
$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
205
 
              { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
206
 
  CONFIG_SHELL=$SHELL as_have_required=yes
207
 
fi; }
208
 
IFS=$as_save_IFS
209
 
 
210
 
 
211
 
      if test "x$CONFIG_SHELL" != x; then :
212
 
  # We cannot yet assume a decent shell, so we have to provide a
213
 
        # neutralization value for shells without unset; and this also
214
 
        # works around shells that cannot unset nonexistent variables.
215
 
        BASH_ENV=/dev/null
216
 
        ENV=/dev/null
217
 
        (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
218
 
        export CONFIG_SHELL
219
 
        exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
220
 
fi
221
 
 
222
 
    if test x$as_have_required = xno; then :
223
 
  $as_echo "$0: This script requires a shell more modern than all"
224
 
  $as_echo "$0: the shells that I found on your system."
225
 
  if test x${ZSH_VERSION+set} = xset ; then
226
 
    $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
227
 
    $as_echo "$0: be upgraded to zsh 4.3.4 or later."
228
 
  else
229
 
    $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
230
 
$0: including any error possibly output before this
231
 
$0: message. Then install a modern shell, or manually run
232
 
$0: the script under such a shell if you do have one."
233
 
  fi
234
 
  exit 1
235
 
fi
236
 
fi
237
 
fi
238
 
SHELL=${CONFIG_SHELL-/bin/sh}
239
 
export SHELL
240
 
# Unset more variables known to interfere with behavior of common tools.
241
 
CLICOLOR_FORCE= GREP_OPTIONS=
242
 
unset CLICOLOR_FORCE GREP_OPTIONS
243
 
 
244
 
## --------------------- ##
245
 
## M4sh Shell Functions. ##
246
 
## --------------------- ##
247
 
# as_fn_unset VAR
248
 
# ---------------
249
 
# Portably unset VAR.
250
 
as_fn_unset ()
251
 
{
252
 
  { eval $1=; unset $1;}
253
 
}
254
 
as_unset=as_fn_unset
255
 
 
256
 
# as_fn_set_status STATUS
257
 
# -----------------------
258
 
# Set $? to STATUS, without forking.
259
 
as_fn_set_status ()
260
 
{
261
 
  return $1
262
 
} # as_fn_set_status
263
 
 
264
 
# as_fn_exit STATUS
265
 
# -----------------
266
 
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
267
 
as_fn_exit ()
268
 
{
269
 
  set +e
270
 
  as_fn_set_status $1
271
 
  exit $1
272
 
} # as_fn_exit
273
 
 
274
 
# as_fn_mkdir_p
275
 
# -------------
276
 
# Create "$as_dir" as a directory, including parents if necessary.
277
 
as_fn_mkdir_p ()
278
 
{
279
 
 
280
 
  case $as_dir in #(
281
 
  -*) as_dir=./$as_dir;;
282
 
  esac
283
 
  test -d "$as_dir" || eval $as_mkdir_p || {
284
 
    as_dirs=
285
 
    while :; do
286
 
      case $as_dir in #(
287
 
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
288
 
      *) as_qdir=$as_dir;;
289
 
      esac
290
 
      as_dirs="'$as_qdir' $as_dirs"
291
 
      as_dir=`$as_dirname -- "$as_dir" ||
292
 
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
293
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
294
 
         X"$as_dir" : 'X\(//\)$' \| \
295
 
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
296
 
$as_echo X"$as_dir" |
297
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
298
 
            s//\1/
299
 
            q
300
 
          }
301
 
          /^X\(\/\/\)[^/].*/{
302
 
            s//\1/
303
 
            q
304
 
          }
305
 
          /^X\(\/\/\)$/{
306
 
            s//\1/
307
 
            q
308
 
          }
309
 
          /^X\(\/\).*/{
310
 
            s//\1/
311
 
            q
312
 
          }
313
 
          s/.*/./; q'`
314
 
      test -d "$as_dir" && break
315
 
    done
316
 
    test -z "$as_dirs" || eval "mkdir $as_dirs"
317
 
  } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
318
 
 
319
 
 
320
 
} # as_fn_mkdir_p
321
 
# as_fn_append VAR VALUE
322
 
# ----------------------
323
 
# Append the text in VALUE to the end of the definition contained in VAR. Take
324
 
# advantage of any shell optimizations that allow amortized linear growth over
325
 
# repeated appends, instead of the typical quadratic growth present in naive
326
 
# implementations.
327
 
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
328
 
  eval 'as_fn_append ()
329
 
  {
330
 
    eval $1+=\$2
331
 
  }'
332
 
else
333
 
  as_fn_append ()
334
 
  {
335
 
    eval $1=\$$1\$2
336
 
  }
337
 
fi # as_fn_append
338
 
 
339
 
# as_fn_arith ARG...
340
 
# ------------------
341
 
# Perform arithmetic evaluation on the ARGs, and store the result in the
342
 
# global $as_val. Take advantage of shells that can avoid forks. The arguments
343
 
# must be portable across $(()) and expr.
344
 
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
345
 
  eval 'as_fn_arith ()
346
 
  {
347
 
    as_val=$(( $* ))
348
 
  }'
349
 
else
350
 
  as_fn_arith ()
351
 
  {
352
 
    as_val=`expr "$@" || test $? -eq 1`
353
 
  }
354
 
fi # as_fn_arith
355
 
 
356
 
 
357
 
# as_fn_error ERROR [LINENO LOG_FD]
358
 
# ---------------------------------
359
 
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
360
 
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
361
 
# script with status $?, using 1 if that was 0.
362
 
as_fn_error ()
363
 
{
364
 
  as_status=$?; test $as_status -eq 0 && as_status=1
365
 
  if test "$3"; then
366
 
    as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
367
 
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
368
 
  fi
369
 
  $as_echo "$as_me: error: $1" >&2
370
 
  as_fn_exit $as_status
371
 
} # as_fn_error
372
 
 
373
 
if expr a : '\(a\)' >/dev/null 2>&1 &&
374
 
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
375
 
  as_expr=expr
376
 
else
377
 
  as_expr=false
378
 
fi
379
 
 
380
 
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
381
 
  as_basename=basename
382
 
else
383
 
  as_basename=false
384
 
fi
385
 
 
386
 
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
387
 
  as_dirname=dirname
388
 
else
389
 
  as_dirname=false
390
 
fi
391
 
 
392
 
as_me=`$as_basename -- "$0" ||
393
 
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
394
 
         X"$0" : 'X\(//\)$' \| \
395
 
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
396
 
$as_echo X/"$0" |
397
 
    sed '/^.*\/\([^/][^/]*\)\/*$/{
398
 
            s//\1/
399
 
            q
400
 
          }
401
 
          /^X\/\(\/\/\)$/{
402
 
            s//\1/
403
 
            q
404
 
          }
405
 
          /^X\/\(\/\).*/{
406
 
            s//\1/
407
 
            q
408
 
          }
409
 
          s/.*/./; q'`
410
 
 
411
 
# Avoid depending upon Character Ranges.
412
 
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
413
 
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
414
 
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
415
 
as_cr_digits='0123456789'
416
 
as_cr_alnum=$as_cr_Letters$as_cr_digits
417
 
 
418
 
 
419
 
  as_lineno_1=$LINENO as_lineno_1a=$LINENO
420
 
  as_lineno_2=$LINENO as_lineno_2a=$LINENO
421
 
  eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
422
 
  test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
423
 
  # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
424
 
  sed -n '
425
 
    p
426
 
    /[$]LINENO/=
427
 
  ' <$as_myself |
428
 
    sed '
429
 
      s/[$]LINENO.*/&-/
430
 
      t lineno
431
 
      b
432
 
      :lineno
433
 
      N
434
 
      :loop
435
 
      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
436
 
      t loop
437
 
      s/-\n.*//
438
 
    ' >$as_me.lineno &&
439
 
  chmod +x "$as_me.lineno" ||
440
 
    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
441
 
 
442
 
  # Don't try to exec as it changes $[0], causing all sort of problems
443
 
  # (the dirname of $[0] is not the place where we might find the
444
 
  # original and so on.  Autoconf is especially sensitive to this).
445
 
  . "./$as_me.lineno"
446
 
  # Exit status is that of the last command.
447
 
  exit
448
 
}
449
 
 
450
 
ECHO_C= ECHO_N= ECHO_T=
451
 
case `echo -n x` in #(((((
452
 
-n*)
453
 
  case `echo 'xy\c'` in
454
 
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
455
 
  xy)  ECHO_C='\c';;
456
 
  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
457
 
       ECHO_T=' ';;
458
 
  esac;;
459
 
*)
460
 
  ECHO_N='-n';;
461
 
esac
462
 
 
463
 
rm -f conf$$ conf$$.exe conf$$.file
464
 
if test -d conf$$.dir; then
465
 
  rm -f conf$$.dir/conf$$.file
466
 
else
467
 
  rm -f conf$$.dir
468
 
  mkdir conf$$.dir 2>/dev/null
469
 
fi
470
 
if (echo >conf$$.file) 2>/dev/null; then
471
 
  if ln -s conf$$.file conf$$ 2>/dev/null; then
472
 
    as_ln_s='ln -s'
473
 
    # ... but there are two gotchas:
474
 
    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
475
 
    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
476
 
    # In both cases, we have to default to `cp -p'.
477
 
    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
478
 
      as_ln_s='cp -p'
479
 
  elif ln conf$$.file conf$$ 2>/dev/null; then
480
 
    as_ln_s=ln
481
 
  else
482
 
    as_ln_s='cp -p'
483
 
  fi
484
 
else
485
 
  as_ln_s='cp -p'
486
 
fi
487
 
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
488
 
rmdir conf$$.dir 2>/dev/null
489
 
 
490
 
if mkdir -p . 2>/dev/null; then
491
 
  as_mkdir_p='mkdir -p "$as_dir"'
492
 
else
493
 
  test -d ./-p && rmdir ./-p
494
 
  as_mkdir_p=false
495
 
fi
496
 
 
497
 
if test -x / >/dev/null 2>&1; then
498
 
  as_test_x='test -x'
499
 
else
500
 
  if ls -dL / >/dev/null 2>&1; then
501
 
    as_ls_L_option=L
502
 
  else
503
 
    as_ls_L_option=
504
 
  fi
505
 
  as_test_x='
506
 
    eval sh -c '\''
507
 
      if test -d "$1"; then
508
 
        test -d "$1/.";
509
 
      else
510
 
        case $1 in #(
511
 
        -*)set "./$1";;
512
 
        esac;
513
 
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
514
 
        ???[sx]*):;;*)false;;esac;fi
515
 
    '\'' sh
516
 
  '
517
 
fi
518
 
as_executable_p=$as_test_x
519
 
 
520
 
# Sed expression to map a string onto a valid CPP name.
521
 
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
522
 
 
523
 
# Sed expression to map a string onto a valid variable name.
524
 
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
525
 
 
526
 
 
527
 
 
528
 
# Check that we are running under the correct shell.
529
 
SHELL=${CONFIG_SHELL-/bin/sh}
530
 
 
531
 
case X$lt_ECHO in
532
 
X*--fallback-echo)
533
 
  # Remove one level of quotation (which was required for Make).
534
 
  ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
535
 
  ;;
536
 
esac
537
 
 
538
 
ECHO=${lt_ECHO-echo}
539
 
if test "X$1" = X--no-reexec; then
540
 
  # Discard the --no-reexec flag, and continue.
541
 
  shift
542
 
elif test "X$1" = X--fallback-echo; then
543
 
  # Avoid inline document here, it may be left over
544
 
  :
545
 
elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
546
 
  # Yippee, $ECHO works!
547
 
  :
548
 
else
549
 
  # Restart under the correct shell.
550
 
  exec $SHELL "$0" --no-reexec ${1+"$@"}
551
 
fi
552
 
 
553
 
if test "X$1" = X--fallback-echo; then
554
 
  # used as fallback echo
555
 
  shift
556
 
  cat <<_LT_EOF
557
 
$*
558
 
_LT_EOF
559
 
  exit 0
560
 
fi
561
 
 
562
 
# The HP-UX ksh and POSIX shell print the target directory to stdout
563
 
# if CDPATH is set.
564
 
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
565
 
 
566
 
if test -z "$lt_ECHO"; then
567
 
  if test "X${echo_test_string+set}" != Xset; then
568
 
    # find a string as large as possible, as long as the shell can cope with it
569
 
    for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
570
 
      # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
571
 
      if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
572
 
         { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
573
 
      then
574
 
        break
575
 
      fi
576
 
    done
577
 
  fi
578
 
 
579
 
  if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
580
 
     echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
581
 
     test "X$echo_testing_string" = "X$echo_test_string"; then
582
 
    :
583
 
  else
584
 
    # The Solaris, AIX, and Digital Unix default echo programs unquote
585
 
    # backslashes.  This makes it impossible to quote backslashes using
586
 
    #   echo "$something" | sed 's/\\/\\\\/g'
587
 
    #
588
 
    # So, first we look for a working echo in the user's PATH.
589
 
 
590
 
    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
591
 
    for dir in $PATH /usr/ucb; do
592
 
      IFS="$lt_save_ifs"
593
 
      if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
594
 
         test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
595
 
         echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
596
 
         test "X$echo_testing_string" = "X$echo_test_string"; then
597
 
        ECHO="$dir/echo"
598
 
        break
599
 
      fi
600
 
    done
601
 
    IFS="$lt_save_ifs"
602
 
 
603
 
    if test "X$ECHO" = Xecho; then
604
 
      # We didn't find a better echo, so look for alternatives.
605
 
      if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
606
 
         echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
607
 
         test "X$echo_testing_string" = "X$echo_test_string"; then
608
 
        # This shell has a builtin print -r that does the trick.
609
 
        ECHO='print -r'
610
 
      elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
611
 
           test "X$CONFIG_SHELL" != X/bin/ksh; then
612
 
        # If we have ksh, try running configure again with it.
613
 
        ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
614
 
        export ORIGINAL_CONFIG_SHELL
615
 
        CONFIG_SHELL=/bin/ksh
616
 
        export CONFIG_SHELL
617
 
        exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
618
 
      else
619
 
        # Try using printf.
620
 
        ECHO='printf %s\n'
621
 
        if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
622
 
           echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
623
 
           test "X$echo_testing_string" = "X$echo_test_string"; then
624
 
          # Cool, printf works
625
 
          :
626
 
        elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
627
 
             test "X$echo_testing_string" = 'X\t' &&
628
 
             echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
629
 
             test "X$echo_testing_string" = "X$echo_test_string"; then
630
 
          CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
631
 
          export CONFIG_SHELL
632
 
          SHELL="$CONFIG_SHELL"
633
 
          export SHELL
634
 
          ECHO="$CONFIG_SHELL $0 --fallback-echo"
635
 
        elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
636
 
             test "X$echo_testing_string" = 'X\t' &&
637
 
             echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
638
 
             test "X$echo_testing_string" = "X$echo_test_string"; then
639
 
          ECHO="$CONFIG_SHELL $0 --fallback-echo"
640
 
        else
641
 
          # maybe with a smaller string...
642
 
          prev=:
643
 
 
644
 
          for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
645
 
            if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
646
 
            then
647
 
              break
648
 
            fi
649
 
            prev="$cmd"
650
 
          done
651
 
 
652
 
          if test "$prev" != 'sed 50q "$0"'; then
653
 
            echo_test_string=`eval $prev`
654
 
            export echo_test_string
655
 
            exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
656
 
          else
657
 
            # Oops.  We lost completely, so just stick with echo.
658
 
            ECHO=echo
659
 
          fi
660
 
        fi
661
 
      fi
662
 
    fi
663
 
  fi
664
 
fi
665
 
 
666
 
# Copy echo and quote the copy suitably for passing to libtool from
667
 
# the Makefile, instead of quoting the original, which is used later.
668
 
lt_ECHO=$ECHO
669
 
if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
670
 
   lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
671
 
fi
672
 
 
673
 
 
674
 
 
675
 
 
676
 
exec 7<&0 </dev/null 6>&1
677
 
 
678
 
# Name of the host.
679
 
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
680
 
# so uname gets run too.
681
 
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
682
 
 
683
 
#
684
 
# Initializations.
685
 
#
686
 
ac_default_prefix=/usr/local
687
 
ac_clean_files=
688
 
ac_config_libobj_dir=.
689
 
LIBOBJS=
690
 
cross_compiling=no
691
 
subdirs=
692
 
MFLAGS=
693
 
MAKEFLAGS=
694
 
 
695
 
# Identity of this package.
696
 
PACKAGE_NAME=
697
 
PACKAGE_TARNAME=
698
 
PACKAGE_VERSION=
699
 
PACKAGE_STRING=
700
 
PACKAGE_BUGREPORT=
701
 
PACKAGE_URL=
702
 
 
703
 
ac_unique_file="src/ut.cpp"
704
 
# Factoring default headers for most tests.
705
 
ac_includes_default="\
706
 
#include <stdio.h>
707
 
#ifdef HAVE_SYS_TYPES_H
708
 
# include <sys/types.h>
709
 
#endif
710
 
#ifdef HAVE_SYS_STAT_H
711
 
# include <sys/stat.h>
712
 
#endif
713
 
#ifdef STDC_HEADERS
714
 
# include <stdlib.h>
715
 
# include <stddef.h>
716
 
#else
717
 
# ifdef HAVE_STDLIB_H
718
 
#  include <stdlib.h>
719
 
# endif
720
 
#endif
721
 
#ifdef HAVE_STRING_H
722
 
# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
723
 
#  include <memory.h>
724
 
# endif
725
 
# include <string.h>
726
 
#endif
727
 
#ifdef HAVE_STRINGS_H
728
 
# include <strings.h>
729
 
#endif
730
 
#ifdef HAVE_INTTYPES_H
731
 
# include <inttypes.h>
732
 
#endif
733
 
#ifdef HAVE_STDINT_H
734
 
# include <stdint.h>
735
 
#endif
736
 
#ifdef HAVE_UNISTD_H
737
 
# include <unistd.h>
738
 
#endif"
739
 
 
740
 
ac_subst_vars='am__EXEEXT_FALSE
741
 
am__EXEEXT_TRUE
742
 
LTLIBOBJS
743
 
LIBOBJS
744
 
HAVE_FTIME_FALSE
745
 
HAVE_FTIME_TRUE
746
 
XML_LIBS
747
 
XML_CPPFLAGS
748
 
XML2_CONFIG
749
 
STLPORT_CFLAGS
750
 
STLPORT_LIBS
751
 
STLPORT_PREFIX
752
 
HAVE_JAVA_FALSE
753
 
HAVE_JAVA_TRUE
754
 
JAVA_CFLAGS
755
 
jarlib
756
 
HAVE_RUBY_FALSE
757
 
HAVE_RUBY_TRUE
758
 
RUBY_SITE_PACKAGES
759
 
RUBY_CFLAGS
760
 
RUBY_PREFIX
761
 
HAVE_PYTHON_FALSE
762
 
HAVE_PYTHON_TRUE
763
 
PYTHON_SITE_PACKAGES
764
 
PYTHON_CFLAGS
765
 
PYTHON_PREFIX
766
 
POSTGRESQL_LIBS
767
 
POSTGRESQL_CFLAGS
768
 
POSTGRESQL_PREFIX
769
 
MYSQL_LIBS
770
 
MYSQL_CFLAGS
771
 
MYSQL_PREFIX
772
 
BOOST_CFLAGS
773
 
BOOST_PREFIX
774
 
LEXLIB
775
 
LEX_OUTPUT_ROOT
776
 
LEX
777
 
CXXCPP
778
 
CPP
779
 
OTOOL64
780
 
OTOOL
781
 
LIPO
782
 
NMEDIT
783
 
DSYMUTIL
784
 
lt_ECHO
785
 
RANLIB
786
 
AR
787
 
LN_S
788
 
NM
789
 
ac_ct_DUMPBIN
790
 
DUMPBIN
791
 
LD
792
 
FGREP
793
 
EGREP
794
 
GREP
795
 
SED
796
 
LIBTOOL
797
 
OBJDUMP
798
 
DLLTOOL
799
 
AS
800
 
host_os
801
 
host_vendor
802
 
host_cpu
803
 
host
804
 
build_os
805
 
build_vendor
806
 
build_cpu
807
 
build
808
 
am__fastdepCC_FALSE
809
 
am__fastdepCC_TRUE
810
 
CCDEPMODE
811
 
ac_ct_CC
812
 
CFLAGS
813
 
CC
814
 
am__fastdepCXX_FALSE
815
 
am__fastdepCXX_TRUE
816
 
CXXDEPMODE
817
 
AMDEPBACKSLASH
818
 
AMDEP_FALSE
819
 
AMDEP_TRUE
820
 
am__quote
821
 
am__include
822
 
DEPDIR
823
 
OBJEXT
824
 
EXEEXT
825
 
ac_ct_CXX
826
 
CPPFLAGS
827
 
LDFLAGS
828
 
CXXFLAGS
829
 
CXX
830
 
am__untar
831
 
am__tar
832
 
AMTAR
833
 
am__leading_dot
834
 
SET_MAKE
835
 
AWK
836
 
mkdir_p
837
 
MKDIR_P
838
 
INSTALL_STRIP_PROGRAM
839
 
STRIP
840
 
install_sh
841
 
MAKEINFO
842
 
AUTOHEADER
843
 
AUTOMAKE
844
 
AUTOCONF
845
 
ACLOCAL
846
 
VERSION
847
 
PACKAGE
848
 
CYGPATH_W
849
 
am__isrc
850
 
INSTALL_DATA
851
 
INSTALL_SCRIPT
852
 
INSTALL_PROGRAM
853
 
target_alias
854
 
host_alias
855
 
build_alias
856
 
LIBS
857
 
ECHO_T
858
 
ECHO_N
859
 
ECHO_C
860
 
DEFS
861
 
mandir
862
 
localedir
863
 
libdir
864
 
psdir
865
 
pdfdir
866
 
dvidir
867
 
htmldir
868
 
infodir
869
 
docdir
870
 
oldincludedir
871
 
includedir
872
 
localstatedir
873
 
sharedstatedir
874
 
sysconfdir
875
 
datadir
876
 
datarootdir
877
 
libexecdir
878
 
sbindir
879
 
bindir
880
 
program_transform_name
881
 
prefix
882
 
exec_prefix
883
 
PACKAGE_URL
884
 
PACKAGE_BUGREPORT
885
 
PACKAGE_STRING
886
 
PACKAGE_VERSION
887
 
PACKAGE_TARNAME
888
 
PACKAGE_NAME
889
 
PATH_SEPARATOR
890
 
SHELL'
891
 
ac_subst_files=''
892
 
ac_user_opts='
893
 
enable_option_checking
894
 
enable_static
895
 
enable_dependency_tracking
896
 
enable_shared
897
 
with_pic
898
 
enable_fast_install
899
 
with_gnu_ld
900
 
enable_libtool_lock
901
 
enable_new_allocator
902
 
enable_callstack
903
 
with_boost
904
 
with_mysql
905
 
with_postgresql
906
 
with_python
907
 
with_ruby
908
 
with_java
909
 
with_stlport
910
 
with_xml_prefix
911
 
with_xml_exec_prefix
912
 
enable_xmltest
913
 
'
914
 
      ac_precious_vars='build_alias
915
 
host_alias
916
 
target_alias
917
 
CXX
918
 
CXXFLAGS
919
 
LDFLAGS
920
 
LIBS
921
 
CPPFLAGS
922
 
CCC
923
 
CC
924
 
CFLAGS
925
 
CPP
926
 
CXXCPP'
927
 
 
928
 
 
929
 
# Initialize some variables set by options.
930
 
ac_init_help=
931
 
ac_init_version=false
932
 
ac_unrecognized_opts=
933
 
ac_unrecognized_sep=
934
 
# The variables have the same names as the options, with
935
 
# dashes changed to underlines.
936
 
cache_file=/dev/null
937
 
exec_prefix=NONE
938
 
no_create=
939
 
no_recursion=
940
 
prefix=NONE
941
 
program_prefix=NONE
942
 
program_suffix=NONE
943
 
program_transform_name=s,x,x,
944
 
silent=
945
 
site=
946
 
srcdir=
947
 
verbose=
948
 
x_includes=NONE
949
 
x_libraries=NONE
950
 
 
951
 
# Installation directory options.
952
 
# These are left unexpanded so users can "make install exec_prefix=/foo"
953
 
# and all the variables that are supposed to be based on exec_prefix
954
 
# by default will actually change.
955
 
# Use braces instead of parens because sh, perl, etc. also accept them.
956
 
# (The list follows the same order as the GNU Coding Standards.)
957
 
bindir='${exec_prefix}/bin'
958
 
sbindir='${exec_prefix}/sbin'
959
 
libexecdir='${exec_prefix}/libexec'
960
 
datarootdir='${prefix}/share'
961
 
datadir='${datarootdir}'
962
 
sysconfdir='${prefix}/etc'
963
 
sharedstatedir='${prefix}/com'
964
 
localstatedir='${prefix}/var'
965
 
includedir='${prefix}/include'
966
 
oldincludedir='/usr/include'
967
 
docdir='${datarootdir}/doc/${PACKAGE}'
968
 
infodir='${datarootdir}/info'
969
 
htmldir='${docdir}'
970
 
dvidir='${docdir}'
971
 
pdfdir='${docdir}'
972
 
psdir='${docdir}'
973
 
libdir='${exec_prefix}/lib'
974
 
localedir='${datarootdir}/locale'
975
 
mandir='${datarootdir}/man'
976
 
 
977
 
ac_prev=
978
 
ac_dashdash=
979
 
for ac_option
980
 
do
981
 
  # If the previous option needs an argument, assign it.
982
 
  if test -n "$ac_prev"; then
983
 
    eval $ac_prev=\$ac_option
984
 
    ac_prev=
985
 
    continue
986
 
  fi
987
 
 
988
 
  case $ac_option in
989
 
  *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
990
 
  *)    ac_optarg=yes ;;
991
 
  esac
992
 
 
993
 
  # Accept the important Cygnus configure options, so we can diagnose typos.
994
 
 
995
 
  case $ac_dashdash$ac_option in
996
 
  --)
997
 
    ac_dashdash=yes ;;
998
 
 
999
 
  -bindir | --bindir | --bindi | --bind | --bin | --bi)
1000
 
    ac_prev=bindir ;;
1001
 
  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1002
 
    bindir=$ac_optarg ;;
1003
 
 
1004
 
  -build | --build | --buil | --bui | --bu)
1005
 
    ac_prev=build_alias ;;
1006
 
  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1007
 
    build_alias=$ac_optarg ;;
1008
 
 
1009
 
  -cache-file | --cache-file | --cache-fil | --cache-fi \
1010
 
  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1011
 
    ac_prev=cache_file ;;
1012
 
  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1013
 
  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1014
 
    cache_file=$ac_optarg ;;
1015
 
 
1016
 
  --config-cache | -C)
1017
 
    cache_file=config.cache ;;
1018
 
 
1019
 
  -datadir | --datadir | --datadi | --datad)
1020
 
    ac_prev=datadir ;;
1021
 
  -datadir=* | --datadir=* | --datadi=* | --datad=*)
1022
 
    datadir=$ac_optarg ;;
1023
 
 
1024
 
  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1025
 
  | --dataroo | --dataro | --datar)
1026
 
    ac_prev=datarootdir ;;
1027
 
  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1028
 
  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1029
 
    datarootdir=$ac_optarg ;;
1030
 
 
1031
 
  -disable-* | --disable-*)
1032
 
    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1033
 
    # Reject names that are not valid shell variable names.
1034
 
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1035
 
      as_fn_error "invalid feature name: $ac_useropt"
1036
 
    ac_useropt_orig=$ac_useropt
1037
 
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1038
 
    case $ac_user_opts in
1039
 
      *"
1040
 
"enable_$ac_useropt"
1041
 
"*) ;;
1042
 
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1043
 
         ac_unrecognized_sep=', ';;
1044
 
    esac
1045
 
    eval enable_$ac_useropt=no ;;
1046
 
 
1047
 
  -docdir | --docdir | --docdi | --doc | --do)
1048
 
    ac_prev=docdir ;;
1049
 
  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1050
 
    docdir=$ac_optarg ;;
1051
 
 
1052
 
  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1053
 
    ac_prev=dvidir ;;
1054
 
  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1055
 
    dvidir=$ac_optarg ;;
1056
 
 
1057
 
  -enable-* | --enable-*)
1058
 
    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1059
 
    # Reject names that are not valid shell variable names.
1060
 
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1061
 
      as_fn_error "invalid feature name: $ac_useropt"
1062
 
    ac_useropt_orig=$ac_useropt
1063
 
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1064
 
    case $ac_user_opts in
1065
 
      *"
1066
 
"enable_$ac_useropt"
1067
 
"*) ;;
1068
 
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1069
 
         ac_unrecognized_sep=', ';;
1070
 
    esac
1071
 
    eval enable_$ac_useropt=\$ac_optarg ;;
1072
 
 
1073
 
  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1074
 
  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1075
 
  | --exec | --exe | --ex)
1076
 
    ac_prev=exec_prefix ;;
1077
 
  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1078
 
  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1079
 
  | --exec=* | --exe=* | --ex=*)
1080
 
    exec_prefix=$ac_optarg ;;
1081
 
 
1082
 
  -gas | --gas | --ga | --g)
1083
 
    # Obsolete; use --with-gas.
1084
 
    with_gas=yes ;;
1085
 
 
1086
 
  -help | --help | --hel | --he | -h)
1087
 
    ac_init_help=long ;;
1088
 
  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1089
 
    ac_init_help=recursive ;;
1090
 
  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1091
 
    ac_init_help=short ;;
1092
 
 
1093
 
  -host | --host | --hos | --ho)
1094
 
    ac_prev=host_alias ;;
1095
 
  -host=* | --host=* | --hos=* | --ho=*)
1096
 
    host_alias=$ac_optarg ;;
1097
 
 
1098
 
  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1099
 
    ac_prev=htmldir ;;
1100
 
  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1101
 
  | --ht=*)
1102
 
    htmldir=$ac_optarg ;;
1103
 
 
1104
 
  -includedir | --includedir | --includedi | --included | --include \
1105
 
  | --includ | --inclu | --incl | --inc)
1106
 
    ac_prev=includedir ;;
1107
 
  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1108
 
  | --includ=* | --inclu=* | --incl=* | --inc=*)
1109
 
    includedir=$ac_optarg ;;
1110
 
 
1111
 
  -infodir | --infodir | --infodi | --infod | --info | --inf)
1112
 
    ac_prev=infodir ;;
1113
 
  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1114
 
    infodir=$ac_optarg ;;
1115
 
 
1116
 
  -libdir | --libdir | --libdi | --libd)
1117
 
    ac_prev=libdir ;;
1118
 
  -libdir=* | --libdir=* | --libdi=* | --libd=*)
1119
 
    libdir=$ac_optarg ;;
1120
 
 
1121
 
  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1122
 
  | --libexe | --libex | --libe)
1123
 
    ac_prev=libexecdir ;;
1124
 
  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1125
 
  | --libexe=* | --libex=* | --libe=*)
1126
 
    libexecdir=$ac_optarg ;;
1127
 
 
1128
 
  -localedir | --localedir | --localedi | --localed | --locale)
1129
 
    ac_prev=localedir ;;
1130
 
  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1131
 
    localedir=$ac_optarg ;;
1132
 
 
1133
 
  -localstatedir | --localstatedir | --localstatedi | --localstated \
1134
 
  | --localstate | --localstat | --localsta | --localst | --locals)
1135
 
    ac_prev=localstatedir ;;
1136
 
  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1137
 
  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1138
 
    localstatedir=$ac_optarg ;;
1139
 
 
1140
 
  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1141
 
    ac_prev=mandir ;;
1142
 
  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1143
 
    mandir=$ac_optarg ;;
1144
 
 
1145
 
  -nfp | --nfp | --nf)
1146
 
    # Obsolete; use --without-fp.
1147
 
    with_fp=no ;;
1148
 
 
1149
 
  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1150
 
  | --no-cr | --no-c | -n)
1151
 
    no_create=yes ;;
1152
 
 
1153
 
  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1154
 
  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1155
 
    no_recursion=yes ;;
1156
 
 
1157
 
  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1158
 
  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1159
 
  | --oldin | --oldi | --old | --ol | --o)
1160
 
    ac_prev=oldincludedir ;;
1161
 
  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1162
 
  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1163
 
  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1164
 
    oldincludedir=$ac_optarg ;;
1165
 
 
1166
 
  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1167
 
    ac_prev=prefix ;;
1168
 
  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1169
 
    prefix=$ac_optarg ;;
1170
 
 
1171
 
  -program-prefix | --program-prefix | --program-prefi | --program-pref \
1172
 
  | --program-pre | --program-pr | --program-p)
1173
 
    ac_prev=program_prefix ;;
1174
 
  -program-prefix=* | --program-prefix=* | --program-prefi=* \
1175
 
  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1176
 
    program_prefix=$ac_optarg ;;
1177
 
 
1178
 
  -program-suffix | --program-suffix | --program-suffi | --program-suff \
1179
 
  | --program-suf | --program-su | --program-s)
1180
 
    ac_prev=program_suffix ;;
1181
 
  -program-suffix=* | --program-suffix=* | --program-suffi=* \
1182
 
  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1183
 
    program_suffix=$ac_optarg ;;
1184
 
 
1185
 
  -program-transform-name | --program-transform-name \
1186
 
  | --program-transform-nam | --program-transform-na \
1187
 
  | --program-transform-n | --program-transform- \
1188
 
  | --program-transform | --program-transfor \
1189
 
  | --program-transfo | --program-transf \
1190
 
  | --program-trans | --program-tran \
1191
 
  | --progr-tra | --program-tr | --program-t)
1192
 
    ac_prev=program_transform_name ;;
1193
 
  -program-transform-name=* | --program-transform-name=* \
1194
 
  | --program-transform-nam=* | --program-transform-na=* \
1195
 
  | --program-transform-n=* | --program-transform-=* \
1196
 
  | --program-transform=* | --program-transfor=* \
1197
 
  | --program-transfo=* | --program-transf=* \
1198
 
  | --program-trans=* | --program-tran=* \
1199
 
  | --progr-tra=* | --program-tr=* | --program-t=*)
1200
 
    program_transform_name=$ac_optarg ;;
1201
 
 
1202
 
  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1203
 
    ac_prev=pdfdir ;;
1204
 
  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1205
 
    pdfdir=$ac_optarg ;;
1206
 
 
1207
 
  -psdir | --psdir | --psdi | --psd | --ps)
1208
 
    ac_prev=psdir ;;
1209
 
  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1210
 
    psdir=$ac_optarg ;;
1211
 
 
1212
 
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1213
 
  | -silent | --silent | --silen | --sile | --sil)
1214
 
    silent=yes ;;
1215
 
 
1216
 
  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1217
 
    ac_prev=sbindir ;;
1218
 
  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1219
 
  | --sbi=* | --sb=*)
1220
 
    sbindir=$ac_optarg ;;
1221
 
 
1222
 
  -sharedstatedir | --sharedstatedir | --sharedstatedi \
1223
 
  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1224
 
  | --sharedst | --shareds | --shared | --share | --shar \
1225
 
  | --sha | --sh)
1226
 
    ac_prev=sharedstatedir ;;
1227
 
  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1228
 
  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1229
 
  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1230
 
  | --sha=* | --sh=*)
1231
 
    sharedstatedir=$ac_optarg ;;
1232
 
 
1233
 
  -site | --site | --sit)
1234
 
    ac_prev=site ;;
1235
 
  -site=* | --site=* | --sit=*)
1236
 
    site=$ac_optarg ;;
1237
 
 
1238
 
  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1239
 
    ac_prev=srcdir ;;
1240
 
  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1241
 
    srcdir=$ac_optarg ;;
1242
 
 
1243
 
  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1244
 
  | --syscon | --sysco | --sysc | --sys | --sy)
1245
 
    ac_prev=sysconfdir ;;
1246
 
  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1247
 
  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1248
 
    sysconfdir=$ac_optarg ;;
1249
 
 
1250
 
  -target | --target | --targe | --targ | --tar | --ta | --t)
1251
 
    ac_prev=target_alias ;;
1252
 
  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1253
 
    target_alias=$ac_optarg ;;
1254
 
 
1255
 
  -v | -verbose | --verbose | --verbos | --verbo | --verb)
1256
 
    verbose=yes ;;
1257
 
 
1258
 
  -version | --version | --versio | --versi | --vers | -V)
1259
 
    ac_init_version=: ;;
1260
 
 
1261
 
  -with-* | --with-*)
1262
 
    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1263
 
    # Reject names that are not valid shell variable names.
1264
 
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1265
 
      as_fn_error "invalid package name: $ac_useropt"
1266
 
    ac_useropt_orig=$ac_useropt
1267
 
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1268
 
    case $ac_user_opts in
1269
 
      *"
1270
 
"with_$ac_useropt"
1271
 
"*) ;;
1272
 
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1273
 
         ac_unrecognized_sep=', ';;
1274
 
    esac
1275
 
    eval with_$ac_useropt=\$ac_optarg ;;
1276
 
 
1277
 
  -without-* | --without-*)
1278
 
    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1279
 
    # Reject names that are not valid shell variable names.
1280
 
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1281
 
      as_fn_error "invalid package name: $ac_useropt"
1282
 
    ac_useropt_orig=$ac_useropt
1283
 
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1284
 
    case $ac_user_opts in
1285
 
      *"
1286
 
"with_$ac_useropt"
1287
 
"*) ;;
1288
 
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1289
 
         ac_unrecognized_sep=', ';;
1290
 
    esac
1291
 
    eval with_$ac_useropt=no ;;
1292
 
 
1293
 
  --x)
1294
 
    # Obsolete; use --with-x.
1295
 
    with_x=yes ;;
1296
 
 
1297
 
  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1298
 
  | --x-incl | --x-inc | --x-in | --x-i)
1299
 
    ac_prev=x_includes ;;
1300
 
  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1301
 
  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1302
 
    x_includes=$ac_optarg ;;
1303
 
 
1304
 
  -x-libraries | --x-libraries | --x-librarie | --x-librari \
1305
 
  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1306
 
    ac_prev=x_libraries ;;
1307
 
  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1308
 
  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1309
 
    x_libraries=$ac_optarg ;;
1310
 
 
1311
 
  -*) as_fn_error "unrecognized option: \`$ac_option'
1312
 
Try \`$0 --help' for more information."
1313
 
    ;;
1314
 
 
1315
 
  *=*)
1316
 
    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1317
 
    # Reject names that are not valid shell variable names.
1318
 
    case $ac_envvar in #(
1319
 
      '' | [0-9]* | *[!_$as_cr_alnum]* )
1320
 
      as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1321
 
    esac
1322
 
    eval $ac_envvar=\$ac_optarg
1323
 
    export $ac_envvar ;;
1324
 
 
1325
 
  *)
1326
 
    # FIXME: should be removed in autoconf 3.0.
1327
 
    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1328
 
    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1329
 
      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1330
 
    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1331
 
    ;;
1332
 
 
1333
 
  esac
1334
 
done
1335
 
 
1336
 
if test -n "$ac_prev"; then
1337
 
  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1338
 
  as_fn_error "missing argument to $ac_option"
1339
 
fi
1340
 
 
1341
 
if test -n "$ac_unrecognized_opts"; then
1342
 
  case $enable_option_checking in
1343
 
    no) ;;
1344
 
    fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1345
 
    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1346
 
  esac
1347
 
fi
1348
 
 
1349
 
# Check all directory arguments for consistency.
1350
 
for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1351
 
                datadir sysconfdir sharedstatedir localstatedir includedir \
1352
 
                oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1353
 
                libdir localedir mandir
1354
 
do
1355
 
  eval ac_val=\$$ac_var
1356
 
  # Remove trailing slashes.
1357
 
  case $ac_val in
1358
 
    */ )
1359
 
      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1360
 
      eval $ac_var=\$ac_val;;
1361
 
  esac
1362
 
  # Be sure to have absolute directory names.
1363
 
  case $ac_val in
1364
 
    [\\/$]* | ?:[\\/]* )  continue;;
1365
 
    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1366
 
  esac
1367
 
  as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1368
 
done
1369
 
 
1370
 
# There might be people who depend on the old broken behavior: `$host'
1371
 
# used to hold the argument of --host etc.
1372
 
# FIXME: To remove some day.
1373
 
build=$build_alias
1374
 
host=$host_alias
1375
 
target=$target_alias
1376
 
 
1377
 
# FIXME: To remove some day.
1378
 
if test "x$host_alias" != x; then
1379
 
  if test "x$build_alias" = x; then
1380
 
    cross_compiling=maybe
1381
 
    $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1382
 
    If a cross compiler is detected then cross compile mode will be used." >&2
1383
 
  elif test "x$build_alias" != "x$host_alias"; then
1384
 
    cross_compiling=yes
1385
 
  fi
1386
 
fi
1387
 
 
1388
 
ac_tool_prefix=
1389
 
test -n "$host_alias" && ac_tool_prefix=$host_alias-
1390
 
 
1391
 
test "$silent" = yes && exec 6>/dev/null
1392
 
 
1393
 
 
1394
 
ac_pwd=`pwd` && test -n "$ac_pwd" &&
1395
 
ac_ls_di=`ls -di .` &&
1396
 
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1397
 
  as_fn_error "working directory cannot be determined"
1398
 
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1399
 
  as_fn_error "pwd does not report name of working directory"
1400
 
 
1401
 
 
1402
 
# Find the source files, if location was not specified.
1403
 
if test -z "$srcdir"; then
1404
 
  ac_srcdir_defaulted=yes
1405
 
  # Try the directory containing this script, then the parent directory.
1406
 
  ac_confdir=`$as_dirname -- "$as_myself" ||
1407
 
$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1408
 
         X"$as_myself" : 'X\(//\)[^/]' \| \
1409
 
         X"$as_myself" : 'X\(//\)$' \| \
1410
 
         X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1411
 
$as_echo X"$as_myself" |
1412
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1413
 
            s//\1/
1414
 
            q
1415
 
          }
1416
 
          /^X\(\/\/\)[^/].*/{
1417
 
            s//\1/
1418
 
            q
1419
 
          }
1420
 
          /^X\(\/\/\)$/{
1421
 
            s//\1/
1422
 
            q
1423
 
          }
1424
 
          /^X\(\/\).*/{
1425
 
            s//\1/
1426
 
            q
1427
 
          }
1428
 
          s/.*/./; q'`
1429
 
  srcdir=$ac_confdir
1430
 
  if test ! -r "$srcdir/$ac_unique_file"; then
1431
 
    srcdir=..
1432
 
  fi
1433
 
else
1434
 
  ac_srcdir_defaulted=no
1435
 
fi
1436
 
if test ! -r "$srcdir/$ac_unique_file"; then
1437
 
  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1438
 
  as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1439
 
fi
1440
 
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1441
 
ac_abs_confdir=`(
1442
 
        cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1443
 
        pwd)`
1444
 
# When building in place, set srcdir=.
1445
 
if test "$ac_abs_confdir" = "$ac_pwd"; then
1446
 
  srcdir=.
1447
 
fi
1448
 
# Remove unnecessary trailing slashes from srcdir.
1449
 
# Double slashes in file names in object file debugging info
1450
 
# mess up M-x gdb in Emacs.
1451
 
case $srcdir in
1452
 
*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1453
 
esac
1454
 
for ac_var in $ac_precious_vars; do
1455
 
  eval ac_env_${ac_var}_set=\${${ac_var}+set}
1456
 
  eval ac_env_${ac_var}_value=\$${ac_var}
1457
 
  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1458
 
  eval ac_cv_env_${ac_var}_value=\$${ac_var}
1459
 
done
1460
 
 
1461
 
#
1462
 
# Report the --help message.
1463
 
#
1464
 
if test "$ac_init_help" = "long"; then
1465
 
  # Omit some internal or obsolete options to make the list less imposing.
1466
 
  # This message is too long to be a string in the A/UX 3.1 sh.
1467
 
  cat <<_ACEOF
1468
 
\`configure' configures this package to adapt to many kinds of systems.
1469
 
 
1470
 
Usage: $0 [OPTION]... [VAR=VALUE]...
1471
 
 
1472
 
To assign environment variables (e.g., CC, CFLAGS...), specify them as
1473
 
VAR=VALUE.  See below for descriptions of some of the useful variables.
1474
 
 
1475
 
Defaults for the options are specified in brackets.
1476
 
 
1477
 
Configuration:
1478
 
  -h, --help              display this help and exit
1479
 
      --help=short        display options specific to this package
1480
 
      --help=recursive    display the short help of all the included packages
1481
 
  -V, --version           display version information and exit
1482
 
  -q, --quiet, --silent   do not print \`checking...' messages
1483
 
      --cache-file=FILE   cache test results in FILE [disabled]
1484
 
  -C, --config-cache      alias for \`--cache-file=config.cache'
1485
 
  -n, --no-create         do not create output files
1486
 
      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1487
 
 
1488
 
Installation directories:
1489
 
  --prefix=PREFIX         install architecture-independent files in PREFIX
1490
 
                          [$ac_default_prefix]
1491
 
  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1492
 
                          [PREFIX]
1493
 
 
1494
 
By default, \`make install' will install all the files in
1495
 
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1496
 
an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1497
 
for instance \`--prefix=\$HOME'.
1498
 
 
1499
 
For better control, use the options below.
1500
 
 
1501
 
Fine tuning of the installation directories:
1502
 
  --bindir=DIR            user executables [EPREFIX/bin]
1503
 
  --sbindir=DIR           system admin executables [EPREFIX/sbin]
1504
 
  --libexecdir=DIR        program executables [EPREFIX/libexec]
1505
 
  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1506
 
  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1507
 
  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1508
 
  --libdir=DIR            object code libraries [EPREFIX/lib]
1509
 
  --includedir=DIR        C header files [PREFIX/include]
1510
 
  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1511
 
  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1512
 
  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1513
 
  --infodir=DIR           info documentation [DATAROOTDIR/info]
1514
 
  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1515
 
  --mandir=DIR            man documentation [DATAROOTDIR/man]
1516
 
  --docdir=DIR            documentation root [DATAROOTDIR/doc/PACKAGE]
1517
 
  --htmldir=DIR           html documentation [DOCDIR]
1518
 
  --dvidir=DIR            dvi documentation [DOCDIR]
1519
 
  --pdfdir=DIR            pdf documentation [DOCDIR]
1520
 
  --psdir=DIR             ps documentation [DOCDIR]
1521
 
_ACEOF
1522
 
 
1523
 
  cat <<\_ACEOF
1524
 
 
1525
 
Program names:
1526
 
  --program-prefix=PREFIX            prepend PREFIX to installed program names
1527
 
  --program-suffix=SUFFIX            append SUFFIX to installed program names
1528
 
  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1529
 
 
1530
 
System types:
1531
 
  --build=BUILD     configure for building on BUILD [guessed]
1532
 
  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1533
 
_ACEOF
1534
 
fi
1535
 
 
1536
 
if test -n "$ac_init_help"; then
1537
 
 
1538
 
  cat <<\_ACEOF
1539
 
 
1540
 
Optional Features:
1541
 
  --disable-option-checking  ignore unrecognized --enable/--with options
1542
 
  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1543
 
  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1544
 
  --enable-static[=PKGS]  build static libraries [default=no]
1545
 
  --disable-dependency-tracking  speeds up one-time build
1546
 
  --enable-dependency-tracking   do not reject slow dependency extractors
1547
 
  --enable-shared[=PKGS]  build shared libraries [default=yes]
1548
 
  --enable-fast-install[=PKGS]
1549
 
                          optimize for fast installation [default=yes]
1550
 
  --disable-libtool-lock  avoid locking (might break parallel builds)
1551
 
  --enable-new_allocator      use new_allocator
1552
 
  --enable-callstack      display c++ call stack after crashing
1553
 
  --disable-xmltest       Do not try to compile and run a test LIBXML program
1554
 
 
1555
 
Optional Packages:
1556
 
  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1557
 
  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1558
 
  --with-pic              try to use only PIC/non-PIC objects [default=use
1559
 
                          both]
1560
 
  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1561
 
  --with-boost=<path>     prefix of boost installation. e.g. /usr/local/include/boost-1_33_1
1562
 
  --with-mysql=<path>     prefix of MySQL installation. e.g. /usr/local or /usr
1563
 
  --with-postgresql=<path>     prefix of PostgreSQL installation. e.g. /usr/local/pgsql or /usr/pgsql
1564
 
  --with-python=<path>     directory containing python headers e.g. /usr/local/include/python2.3
1565
 
  --with-ruby
1566
 
  --with-java     will use JAVA_HOME settings to find javac
1567
 
  --with-stlport=<path>   prefix of stlport installation. e.g. /usr/local or /usr
1568
 
  --with-xml-prefix=PFX   Prefix where libxml is installed (optional)
1569
 
  --with-xml-exec-prefix=PFX Exec prefix where libxml is installed (optional)
1570
 
 
1571
 
Some influential environment variables:
1572
 
  CXX         C++ compiler command
1573
 
  CXXFLAGS    C++ compiler flags
1574
 
  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1575
 
              nonstandard directory <lib dir>
1576
 
  LIBS        libraries to pass to the linker, e.g. -l<library>
1577
 
  CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1578
 
              you have headers in a nonstandard directory <include dir>
1579
 
  CC          C compiler command
1580
 
  CFLAGS      C compiler flags
1581
 
  CPP         C preprocessor
1582
 
  CXXCPP      C++ preprocessor
1583
 
 
1584
 
Use these variables to override the choices made by `configure' or to help
1585
 
it to find libraries and programs with nonstandard names/locations.
1586
 
 
1587
 
Report bugs to the package provider.
1588
 
_ACEOF
1589
 
ac_status=$?
1590
 
fi
1591
 
 
1592
 
if test "$ac_init_help" = "recursive"; then
1593
 
  # If there are subdirs, report their specific --help.
1594
 
  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1595
 
    test -d "$ac_dir" ||
1596
 
      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1597
 
      continue
1598
 
    ac_builddir=.
1599
 
 
1600
 
case "$ac_dir" in
1601
 
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1602
 
*)
1603
 
  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1604
 
  # A ".." for each directory in $ac_dir_suffix.
1605
 
  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1606
 
  case $ac_top_builddir_sub in
1607
 
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1608
 
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1609
 
  esac ;;
1610
 
esac
1611
 
ac_abs_top_builddir=$ac_pwd
1612
 
ac_abs_builddir=$ac_pwd$ac_dir_suffix
1613
 
# for backward compatibility:
1614
 
ac_top_builddir=$ac_top_build_prefix
1615
 
 
1616
 
case $srcdir in
1617
 
  .)  # We are building in place.
1618
 
    ac_srcdir=.
1619
 
    ac_top_srcdir=$ac_top_builddir_sub
1620
 
    ac_abs_top_srcdir=$ac_pwd ;;
1621
 
  [\\/]* | ?:[\\/]* )  # Absolute name.
1622
 
    ac_srcdir=$srcdir$ac_dir_suffix;
1623
 
    ac_top_srcdir=$srcdir
1624
 
    ac_abs_top_srcdir=$srcdir ;;
1625
 
  *) # Relative name.
1626
 
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1627
 
    ac_top_srcdir=$ac_top_build_prefix$srcdir
1628
 
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1629
 
esac
1630
 
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1631
 
 
1632
 
    cd "$ac_dir" || { ac_status=$?; continue; }
1633
 
    # Check for guested configure.
1634
 
    if test -f "$ac_srcdir/configure.gnu"; then
1635
 
      echo &&
1636
 
      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1637
 
    elif test -f "$ac_srcdir/configure"; then
1638
 
      echo &&
1639
 
      $SHELL "$ac_srcdir/configure" --help=recursive
1640
 
    else
1641
 
      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1642
 
    fi || ac_status=$?
1643
 
    cd "$ac_pwd" || { ac_status=$?; break; }
1644
 
  done
1645
 
fi
1646
 
 
1647
 
test -n "$ac_init_help" && exit $ac_status
1648
 
if $ac_init_version; then
1649
 
  cat <<\_ACEOF
1650
 
configure
1651
 
generated by GNU Autoconf 2.64
1652
 
 
1653
 
Copyright (C) 2009 Free Software Foundation, Inc.
1654
 
This configure script is free software; the Free Software Foundation
1655
 
gives unlimited permission to copy, distribute and modify it.
1656
 
_ACEOF
1657
 
  exit
1658
 
fi
1659
 
 
1660
 
## ------------------------ ##
1661
 
## Autoconf initialization. ##
1662
 
## ------------------------ ##
1663
 
 
1664
 
# ac_fn_cxx_try_compile LINENO
1665
 
# ----------------------------
1666
 
# Try to compile conftest.$ac_ext, and return whether this succeeded.
1667
 
ac_fn_cxx_try_compile ()
1668
 
{
1669
 
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1670
 
  rm -f conftest.$ac_objext
1671
 
  if { { ac_try="$ac_compile"
1672
 
case "(($ac_try" in
1673
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1674
 
  *) ac_try_echo=$ac_try;;
1675
 
esac
1676
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1677
 
$as_echo "$ac_try_echo"; } >&5
1678
 
  (eval "$ac_compile") 2>conftest.err
1679
 
  ac_status=$?
1680
 
  if test -s conftest.err; then
1681
 
    grep -v '^ *+' conftest.err >conftest.er1
1682
 
    cat conftest.er1 >&5
1683
 
    mv -f conftest.er1 conftest.err
1684
 
  fi
1685
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1686
 
  test $ac_status = 0; } && {
1687
 
         test -z "$ac_cxx_werror_flag" ||
1688
 
         test ! -s conftest.err
1689
 
       } && test -s conftest.$ac_objext; then :
1690
 
  ac_retval=0
1691
 
else
1692
 
  $as_echo "$as_me: failed program was:" >&5
1693
 
sed 's/^/| /' conftest.$ac_ext >&5
1694
 
 
1695
 
        ac_retval=1
1696
 
fi
1697
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1698
 
  return $ac_retval
1699
 
 
1700
 
} # ac_fn_cxx_try_compile
1701
 
 
1702
 
# ac_fn_c_try_compile LINENO
1703
 
# --------------------------
1704
 
# Try to compile conftest.$ac_ext, and return whether this succeeded.
1705
 
ac_fn_c_try_compile ()
1706
 
{
1707
 
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1708
 
  rm -f conftest.$ac_objext
1709
 
  if { { ac_try="$ac_compile"
1710
 
case "(($ac_try" in
1711
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1712
 
  *) ac_try_echo=$ac_try;;
1713
 
esac
1714
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1715
 
$as_echo "$ac_try_echo"; } >&5
1716
 
  (eval "$ac_compile") 2>conftest.err
1717
 
  ac_status=$?
1718
 
  if test -s conftest.err; then
1719
 
    grep -v '^ *+' conftest.err >conftest.er1
1720
 
    cat conftest.er1 >&5
1721
 
    mv -f conftest.er1 conftest.err
1722
 
  fi
1723
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1724
 
  test $ac_status = 0; } && {
1725
 
         test -z "$ac_c_werror_flag" ||
1726
 
         test ! -s conftest.err
1727
 
       } && test -s conftest.$ac_objext; then :
1728
 
  ac_retval=0
1729
 
else
1730
 
  $as_echo "$as_me: failed program was:" >&5
1731
 
sed 's/^/| /' conftest.$ac_ext >&5
1732
 
 
1733
 
        ac_retval=1
1734
 
fi
1735
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1736
 
  return $ac_retval
1737
 
 
1738
 
} # ac_fn_c_try_compile
1739
 
 
1740
 
# ac_fn_c_try_link LINENO
1741
 
# -----------------------
1742
 
# Try to link conftest.$ac_ext, and return whether this succeeded.
1743
 
ac_fn_c_try_link ()
1744
 
{
1745
 
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1746
 
  rm -f conftest.$ac_objext conftest$ac_exeext
1747
 
  if { { ac_try="$ac_link"
1748
 
case "(($ac_try" in
1749
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1750
 
  *) ac_try_echo=$ac_try;;
1751
 
esac
1752
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1753
 
$as_echo "$ac_try_echo"; } >&5
1754
 
  (eval "$ac_link") 2>conftest.err
1755
 
  ac_status=$?
1756
 
  if test -s conftest.err; then
1757
 
    grep -v '^ *+' conftest.err >conftest.er1
1758
 
    cat conftest.er1 >&5
1759
 
    mv -f conftest.er1 conftest.err
1760
 
  fi
1761
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1762
 
  test $ac_status = 0; } && {
1763
 
         test -z "$ac_c_werror_flag" ||
1764
 
         test ! -s conftest.err
1765
 
       } && test -s conftest$ac_exeext && {
1766
 
         test "$cross_compiling" = yes ||
1767
 
         $as_test_x conftest$ac_exeext
1768
 
       }; then :
1769
 
  ac_retval=0
1770
 
else
1771
 
  $as_echo "$as_me: failed program was:" >&5
1772
 
sed 's/^/| /' conftest.$ac_ext >&5
1773
 
 
1774
 
        ac_retval=1
1775
 
fi
1776
 
  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1777
 
  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1778
 
  # interfere with the next link command; also delete a directory that is
1779
 
  # left behind by Apple's compiler.  We do this before executing the actions.
1780
 
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1781
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1782
 
  return $ac_retval
1783
 
 
1784
 
} # ac_fn_c_try_link
1785
 
 
1786
 
# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1787
 
# -------------------------------------------------------
1788
 
# Tests whether HEADER exists and can be compiled using the include files in
1789
 
# INCLUDES, setting the cache variable VAR accordingly.
1790
 
ac_fn_c_check_header_compile ()
1791
 
{
1792
 
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1793
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1794
 
$as_echo_n "checking for $2... " >&6; }
1795
 
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1796
 
  $as_echo_n "(cached) " >&6
1797
 
else
1798
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1799
 
/* end confdefs.h.  */
1800
 
$4
1801
 
#include <$2>
1802
 
_ACEOF
1803
 
if ac_fn_c_try_compile "$LINENO"; then :
1804
 
  eval "$3=yes"
1805
 
else
1806
 
  eval "$3=no"
1807
 
fi
1808
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1809
 
fi
1810
 
eval ac_res=\$$3
1811
 
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1812
 
$as_echo "$ac_res" >&6; }
1813
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1814
 
 
1815
 
} # ac_fn_c_check_header_compile
1816
 
 
1817
 
# ac_fn_c_try_cpp LINENO
1818
 
# ----------------------
1819
 
# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1820
 
ac_fn_c_try_cpp ()
1821
 
{
1822
 
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1823
 
  if { { ac_try="$ac_cpp conftest.$ac_ext"
1824
 
case "(($ac_try" in
1825
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1826
 
  *) ac_try_echo=$ac_try;;
1827
 
esac
1828
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1829
 
$as_echo "$ac_try_echo"; } >&5
1830
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1831
 
  ac_status=$?
1832
 
  if test -s conftest.err; then
1833
 
    grep -v '^ *+' conftest.err >conftest.er1
1834
 
    cat conftest.er1 >&5
1835
 
    mv -f conftest.er1 conftest.err
1836
 
  fi
1837
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1838
 
  test $ac_status = 0; } >/dev/null && {
1839
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1840
 
         test ! -s conftest.err
1841
 
       }; then :
1842
 
  ac_retval=0
1843
 
else
1844
 
  $as_echo "$as_me: failed program was:" >&5
1845
 
sed 's/^/| /' conftest.$ac_ext >&5
1846
 
 
1847
 
    ac_retval=1
1848
 
fi
1849
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1850
 
  return $ac_retval
1851
 
 
1852
 
} # ac_fn_c_try_cpp
1853
 
 
1854
 
# ac_fn_c_try_run LINENO
1855
 
# ----------------------
1856
 
# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1857
 
# that executables *can* be run.
1858
 
ac_fn_c_try_run ()
1859
 
{
1860
 
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1861
 
  if { { ac_try="$ac_link"
1862
 
case "(($ac_try" in
1863
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1864
 
  *) ac_try_echo=$ac_try;;
1865
 
esac
1866
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1867
 
$as_echo "$ac_try_echo"; } >&5
1868
 
  (eval "$ac_link") 2>&5
1869
 
  ac_status=$?
1870
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1871
 
  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1872
 
  { { case "(($ac_try" in
1873
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1874
 
  *) ac_try_echo=$ac_try;;
1875
 
esac
1876
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1877
 
$as_echo "$ac_try_echo"; } >&5
1878
 
  (eval "$ac_try") 2>&5
1879
 
  ac_status=$?
1880
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1881
 
  test $ac_status = 0; }; }; then :
1882
 
  ac_retval=0
1883
 
else
1884
 
  $as_echo "$as_me: program exited with status $ac_status" >&5
1885
 
       $as_echo "$as_me: failed program was:" >&5
1886
 
sed 's/^/| /' conftest.$ac_ext >&5
1887
 
 
1888
 
       ac_retval=$ac_status
1889
 
fi
1890
 
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1891
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1892
 
  return $ac_retval
1893
 
 
1894
 
} # ac_fn_c_try_run
1895
 
 
1896
 
# ac_fn_c_check_func LINENO FUNC VAR
1897
 
# ----------------------------------
1898
 
# Tests whether FUNC exists, setting the cache variable VAR accordingly
1899
 
ac_fn_c_check_func ()
1900
 
{
1901
 
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1902
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1903
 
$as_echo_n "checking for $2... " >&6; }
1904
 
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1905
 
  $as_echo_n "(cached) " >&6
1906
 
else
1907
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1908
 
/* end confdefs.h.  */
1909
 
/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1910
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
1911
 
#define $2 innocuous_$2
1912
 
 
1913
 
/* System header to define __stub macros and hopefully few prototypes,
1914
 
    which can conflict with char $2 (); below.
1915
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1916
 
    <limits.h> exists even on freestanding compilers.  */
1917
 
 
1918
 
#ifdef __STDC__
1919
 
# include <limits.h>
1920
 
#else
1921
 
# include <assert.h>
1922
 
#endif
1923
 
 
1924
 
#undef $2
1925
 
 
1926
 
/* Override any GCC internal prototype to avoid an error.
1927
 
   Use char because int might match the return type of a GCC
1928
 
   builtin and then its argument prototype would still apply.  */
1929
 
#ifdef __cplusplus
1930
 
extern "C"
1931
 
#endif
1932
 
char $2 ();
1933
 
/* The GNU C library defines this for functions which it implements
1934
 
    to always fail with ENOSYS.  Some functions are actually named
1935
 
    something starting with __ and the normal name is an alias.  */
1936
 
#if defined __stub_$2 || defined __stub___$2
1937
 
choke me
1938
 
#endif
1939
 
 
1940
 
int
1941
 
main ()
1942
 
{
1943
 
return $2 ();
1944
 
  ;
1945
 
  return 0;
1946
 
}
1947
 
_ACEOF
1948
 
if ac_fn_c_try_link "$LINENO"; then :
1949
 
  eval "$3=yes"
1950
 
else
1951
 
  eval "$3=no"
1952
 
fi
1953
 
rm -f core conftest.err conftest.$ac_objext \
1954
 
    conftest$ac_exeext conftest.$ac_ext
1955
 
fi
1956
 
eval ac_res=\$$3
1957
 
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1958
 
$as_echo "$ac_res" >&6; }
1959
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1960
 
 
1961
 
} # ac_fn_c_check_func
1962
 
 
1963
 
# ac_fn_cxx_try_cpp LINENO
1964
 
# ------------------------
1965
 
# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1966
 
ac_fn_cxx_try_cpp ()
1967
 
{
1968
 
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1969
 
  if { { ac_try="$ac_cpp conftest.$ac_ext"
1970
 
case "(($ac_try" in
1971
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1972
 
  *) ac_try_echo=$ac_try;;
1973
 
esac
1974
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1975
 
$as_echo "$ac_try_echo"; } >&5
1976
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1977
 
  ac_status=$?
1978
 
  if test -s conftest.err; then
1979
 
    grep -v '^ *+' conftest.err >conftest.er1
1980
 
    cat conftest.er1 >&5
1981
 
    mv -f conftest.er1 conftest.err
1982
 
  fi
1983
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1984
 
  test $ac_status = 0; } >/dev/null && {
1985
 
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1986
 
         test ! -s conftest.err
1987
 
       }; then :
1988
 
  ac_retval=0
1989
 
else
1990
 
  $as_echo "$as_me: failed program was:" >&5
1991
 
sed 's/^/| /' conftest.$ac_ext >&5
1992
 
 
1993
 
    ac_retval=1
1994
 
fi
1995
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1996
 
  return $ac_retval
1997
 
 
1998
 
} # ac_fn_cxx_try_cpp
1999
 
 
2000
 
# ac_fn_cxx_try_link LINENO
2001
 
# -------------------------
2002
 
# Try to link conftest.$ac_ext, and return whether this succeeded.
2003
 
ac_fn_cxx_try_link ()
2004
 
{
2005
 
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2006
 
  rm -f conftest.$ac_objext conftest$ac_exeext
2007
 
  if { { ac_try="$ac_link"
2008
 
case "(($ac_try" in
2009
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2010
 
  *) ac_try_echo=$ac_try;;
2011
 
esac
2012
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2013
 
$as_echo "$ac_try_echo"; } >&5
2014
 
  (eval "$ac_link") 2>conftest.err
2015
 
  ac_status=$?
2016
 
  if test -s conftest.err; then
2017
 
    grep -v '^ *+' conftest.err >conftest.er1
2018
 
    cat conftest.er1 >&5
2019
 
    mv -f conftest.er1 conftest.err
2020
 
  fi
2021
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2022
 
  test $ac_status = 0; } && {
2023
 
         test -z "$ac_cxx_werror_flag" ||
2024
 
         test ! -s conftest.err
2025
 
       } && test -s conftest$ac_exeext && {
2026
 
         test "$cross_compiling" = yes ||
2027
 
         $as_test_x conftest$ac_exeext
2028
 
       }; then :
2029
 
  ac_retval=0
2030
 
else
2031
 
  $as_echo "$as_me: failed program was:" >&5
2032
 
sed 's/^/| /' conftest.$ac_ext >&5
2033
 
 
2034
 
        ac_retval=1
2035
 
fi
2036
 
  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2037
 
  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2038
 
  # interfere with the next link command; also delete a directory that is
2039
 
  # left behind by Apple's compiler.  We do this before executing the actions.
2040
 
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2041
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2042
 
  return $ac_retval
2043
 
 
2044
 
} # ac_fn_cxx_try_link
2045
 
 
2046
 
# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2047
 
# -------------------------------------------------------
2048
 
# Tests whether HEADER exists, giving a warning if it cannot be compiled using
2049
 
# the include files in INCLUDES and setting the cache variable VAR
2050
 
# accordingly.
2051
 
ac_fn_c_check_header_mongrel ()
2052
 
{
2053
 
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2054
 
  if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2055
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2056
 
$as_echo_n "checking for $2... " >&6; }
2057
 
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2058
 
  $as_echo_n "(cached) " >&6
2059
 
fi
2060
 
eval ac_res=\$$3
2061
 
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2062
 
$as_echo "$ac_res" >&6; }
2063
 
else
2064
 
  # Is the header compilable?
2065
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2066
 
$as_echo_n "checking $2 usability... " >&6; }
2067
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2068
 
/* end confdefs.h.  */
2069
 
$4
2070
 
#include <$2>
2071
 
_ACEOF
2072
 
if ac_fn_c_try_compile "$LINENO"; then :
2073
 
  ac_header_compiler=yes
2074
 
else
2075
 
  ac_header_compiler=no
2076
 
fi
2077
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2078
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2079
 
$as_echo "$ac_header_compiler" >&6; }
2080
 
 
2081
 
# Is the header present?
2082
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2083
 
$as_echo_n "checking $2 presence... " >&6; }
2084
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2085
 
/* end confdefs.h.  */
2086
 
#include <$2>
2087
 
_ACEOF
2088
 
if ac_fn_c_try_cpp "$LINENO"; then :
2089
 
  ac_header_preproc=yes
2090
 
else
2091
 
  ac_header_preproc=no
2092
 
fi
2093
 
rm -f conftest.err conftest.$ac_ext
2094
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2095
 
$as_echo "$ac_header_preproc" >&6; }
2096
 
 
2097
 
# So?  What about this header?
2098
 
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2099
 
  yes:no: )
2100
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2101
 
$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2102
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2103
 
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2104
 
    ;;
2105
 
  no:yes:* )
2106
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2107
 
$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2108
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
2109
 
$as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
2110
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2111
 
$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2112
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
2113
 
$as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
2114
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2115
 
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2116
 
    ;;
2117
 
esac
2118
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2119
 
$as_echo_n "checking for $2... " >&6; }
2120
 
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2121
 
  $as_echo_n "(cached) " >&6
2122
 
else
2123
 
  eval "$3=\$ac_header_compiler"
2124
 
fi
2125
 
eval ac_res=\$$3
2126
 
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2127
 
$as_echo "$ac_res" >&6; }
2128
 
fi
2129
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2130
 
 
2131
 
} # ac_fn_c_check_header_mongrel
2132
 
cat >config.log <<_ACEOF
2133
 
This file contains any messages produced by compilers while
2134
 
running configure, to aid debugging if configure makes a mistake.
2135
 
 
2136
 
It was created by $as_me, which was
2137
 
generated by GNU Autoconf 2.64.  Invocation command line was
2138
 
 
2139
 
  $ $0 $@
2140
 
 
2141
 
_ACEOF
2142
 
exec 5>>config.log
2143
 
{
2144
 
cat <<_ASUNAME
2145
 
## --------- ##
2146
 
## Platform. ##
2147
 
## --------- ##
2148
 
 
2149
 
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2150
 
uname -m = `(uname -m) 2>/dev/null || echo unknown`
2151
 
uname -r = `(uname -r) 2>/dev/null || echo unknown`
2152
 
uname -s = `(uname -s) 2>/dev/null || echo unknown`
2153
 
uname -v = `(uname -v) 2>/dev/null || echo unknown`
2154
 
 
2155
 
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2156
 
/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
2157
 
 
2158
 
/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
2159
 
/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
2160
 
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2161
 
/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
2162
 
/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
2163
 
/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
2164
 
/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
2165
 
 
2166
 
_ASUNAME
2167
 
 
2168
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2169
 
for as_dir in $PATH
2170
 
do
2171
 
  IFS=$as_save_IFS
2172
 
  test -z "$as_dir" && as_dir=.
2173
 
    $as_echo "PATH: $as_dir"
2174
 
  done
2175
 
IFS=$as_save_IFS
2176
 
 
2177
 
} >&5
2178
 
 
2179
 
cat >&5 <<_ACEOF
2180
 
 
2181
 
 
2182
 
## ----------- ##
2183
 
## Core tests. ##
2184
 
## ----------- ##
2185
 
 
2186
 
_ACEOF
2187
 
 
2188
 
 
2189
 
# Keep a trace of the command line.
2190
 
# Strip out --no-create and --no-recursion so they do not pile up.
2191
 
# Strip out --silent because we don't want to record it for future runs.
2192
 
# Also quote any args containing shell meta-characters.
2193
 
# Make two passes to allow for proper duplicate-argument suppression.
2194
 
ac_configure_args=
2195
 
ac_configure_args0=
2196
 
ac_configure_args1=
2197
 
ac_must_keep_next=false
2198
 
for ac_pass in 1 2
2199
 
do
2200
 
  for ac_arg
2201
 
  do
2202
 
    case $ac_arg in
2203
 
    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2204
 
    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2205
 
    | -silent | --silent | --silen | --sile | --sil)
2206
 
      continue ;;
2207
 
    *\'*)
2208
 
      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2209
 
    esac
2210
 
    case $ac_pass in
2211
 
    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2212
 
    2)
2213
 
      as_fn_append ac_configure_args1 " '$ac_arg'"
2214
 
      if test $ac_must_keep_next = true; then
2215
 
        ac_must_keep_next=false # Got value, back to normal.
2216
 
      else
2217
 
        case $ac_arg in
2218
 
          *=* | --config-cache | -C | -disable-* | --disable-* \
2219
 
          | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2220
 
          | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2221
 
          | -with-* | --with-* | -without-* | --without-* | --x)
2222
 
            case "$ac_configure_args0 " in
2223
 
              "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2224
 
            esac
2225
 
            ;;
2226
 
          -* ) ac_must_keep_next=true ;;
2227
 
        esac
2228
 
      fi
2229
 
      as_fn_append ac_configure_args " '$ac_arg'"
2230
 
      ;;
2231
 
    esac
2232
 
  done
2233
 
done
2234
 
{ ac_configure_args0=; unset ac_configure_args0;}
2235
 
{ ac_configure_args1=; unset ac_configure_args1;}
2236
 
 
2237
 
# When interrupted or exit'd, cleanup temporary files, and complete
2238
 
# config.log.  We remove comments because anyway the quotes in there
2239
 
# would cause problems or look ugly.
2240
 
# WARNING: Use '\'' to represent an apostrophe within the trap.
2241
 
# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2242
 
trap 'exit_status=$?
2243
 
  # Save into config.log some information that might help in debugging.
2244
 
  {
2245
 
    echo
2246
 
 
2247
 
    cat <<\_ASBOX
2248
 
## ---------------- ##
2249
 
## Cache variables. ##
2250
 
## ---------------- ##
2251
 
_ASBOX
2252
 
    echo
2253
 
    # The following way of writing the cache mishandles newlines in values,
2254
 
(
2255
 
  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2256
 
    eval ac_val=\$$ac_var
2257
 
    case $ac_val in #(
2258
 
    *${as_nl}*)
2259
 
      case $ac_var in #(
2260
 
      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2261
 
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2262
 
      esac
2263
 
      case $ac_var in #(
2264
 
      _ | IFS | as_nl) ;; #(
2265
 
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2266
 
      *) { eval $ac_var=; unset $ac_var;} ;;
2267
 
      esac ;;
2268
 
    esac
2269
 
  done
2270
 
  (set) 2>&1 |
2271
 
    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2272
 
    *${as_nl}ac_space=\ *)
2273
 
      sed -n \
2274
 
        "s/'\''/'\''\\\\'\'''\''/g;
2275
 
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2276
 
      ;; #(
2277
 
    *)
2278
 
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2279
 
      ;;
2280
 
    esac |
2281
 
    sort
2282
 
)
2283
 
    echo
2284
 
 
2285
 
    cat <<\_ASBOX
2286
 
## ----------------- ##
2287
 
## Output variables. ##
2288
 
## ----------------- ##
2289
 
_ASBOX
2290
 
    echo
2291
 
    for ac_var in $ac_subst_vars
2292
 
    do
2293
 
      eval ac_val=\$$ac_var
2294
 
      case $ac_val in
2295
 
      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2296
 
      esac
2297
 
      $as_echo "$ac_var='\''$ac_val'\''"
2298
 
    done | sort
2299
 
    echo
2300
 
 
2301
 
    if test -n "$ac_subst_files"; then
2302
 
      cat <<\_ASBOX
2303
 
## ------------------- ##
2304
 
## File substitutions. ##
2305
 
## ------------------- ##
2306
 
_ASBOX
2307
 
      echo
2308
 
      for ac_var in $ac_subst_files
2309
 
      do
2310
 
        eval ac_val=\$$ac_var
2311
 
        case $ac_val in
2312
 
        *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2313
 
        esac
2314
 
        $as_echo "$ac_var='\''$ac_val'\''"
2315
 
      done | sort
2316
 
      echo
2317
 
    fi
2318
 
 
2319
 
    if test -s confdefs.h; then
2320
 
      cat <<\_ASBOX
2321
 
## ----------- ##
2322
 
## confdefs.h. ##
2323
 
## ----------- ##
2324
 
_ASBOX
2325
 
      echo
2326
 
      cat confdefs.h
2327
 
      echo
2328
 
    fi
2329
 
    test "$ac_signal" != 0 &&
2330
 
      $as_echo "$as_me: caught signal $ac_signal"
2331
 
    $as_echo "$as_me: exit $exit_status"
2332
 
  } >&5
2333
 
  rm -f core *.core core.conftest.* &&
2334
 
    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2335
 
    exit $exit_status
2336
 
' 0
2337
 
for ac_signal in 1 2 13 15; do
2338
 
  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2339
 
done
2340
 
ac_signal=0
2341
 
 
2342
 
# confdefs.h avoids OS command line length limits that DEFS can exceed.
2343
 
rm -f -r conftest* confdefs.h
2344
 
 
2345
 
$as_echo "/* confdefs.h */" > confdefs.h
2346
 
 
2347
 
# Predefined preprocessor variables.
2348
 
 
2349
 
cat >>confdefs.h <<_ACEOF
2350
 
#define PACKAGE_NAME "$PACKAGE_NAME"
2351
 
_ACEOF
2352
 
 
2353
 
cat >>confdefs.h <<_ACEOF
2354
 
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2355
 
_ACEOF
2356
 
 
2357
 
cat >>confdefs.h <<_ACEOF
2358
 
#define PACKAGE_VERSION "$PACKAGE_VERSION"
2359
 
_ACEOF
2360
 
 
2361
 
cat >>confdefs.h <<_ACEOF
2362
 
#define PACKAGE_STRING "$PACKAGE_STRING"
2363
 
_ACEOF
2364
 
 
2365
 
cat >>confdefs.h <<_ACEOF
2366
 
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2367
 
_ACEOF
2368
 
 
2369
 
cat >>confdefs.h <<_ACEOF
2370
 
#define PACKAGE_URL "$PACKAGE_URL"
2371
 
_ACEOF
2372
 
 
2373
 
 
2374
 
# Let the site file select an alternate cache file if it wants to.
2375
 
# Prefer an explicitly selected file to automatically selected ones.
2376
 
ac_site_file1=NONE
2377
 
ac_site_file2=NONE
2378
 
if test -n "$CONFIG_SITE"; then
2379
 
  ac_site_file1=$CONFIG_SITE
2380
 
elif test "x$prefix" != xNONE; then
2381
 
  ac_site_file1=$prefix/share/config.site
2382
 
  ac_site_file2=$prefix/etc/config.site
2383
 
else
2384
 
  ac_site_file1=$ac_default_prefix/share/config.site
2385
 
  ac_site_file2=$ac_default_prefix/etc/config.site
2386
 
fi
2387
 
for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2388
 
do
2389
 
  test "x$ac_site_file" = xNONE && continue
2390
 
  if test -r "$ac_site_file"; then
2391
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2392
 
$as_echo "$as_me: loading site script $ac_site_file" >&6;}
2393
 
    sed 's/^/| /' "$ac_site_file" >&5
2394
 
    . "$ac_site_file"
2395
 
  fi
2396
 
done
2397
 
 
2398
 
if test -r "$cache_file"; then
2399
 
  # Some versions of bash will fail to source /dev/null (special
2400
 
  # files actually), so we avoid doing that.
2401
 
  if test -f "$cache_file"; then
2402
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2403
 
$as_echo "$as_me: loading cache $cache_file" >&6;}
2404
 
    case $cache_file in
2405
 
      [\\/]* | ?:[\\/]* ) . "$cache_file";;
2406
 
      *)                      . "./$cache_file";;
2407
 
    esac
2408
 
  fi
2409
 
else
2410
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2411
 
$as_echo "$as_me: creating cache $cache_file" >&6;}
2412
 
  >$cache_file
2413
 
fi
2414
 
 
2415
 
# Check that the precious variables saved in the cache have kept the same
2416
 
# value.
2417
 
ac_cache_corrupted=false
2418
 
for ac_var in $ac_precious_vars; do
2419
 
  eval ac_old_set=\$ac_cv_env_${ac_var}_set
2420
 
  eval ac_new_set=\$ac_env_${ac_var}_set
2421
 
  eval ac_old_val=\$ac_cv_env_${ac_var}_value
2422
 
  eval ac_new_val=\$ac_env_${ac_var}_value
2423
 
  case $ac_old_set,$ac_new_set in
2424
 
    set,)
2425
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2426
 
$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2427
 
      ac_cache_corrupted=: ;;
2428
 
    ,set)
2429
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2430
 
$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2431
 
      ac_cache_corrupted=: ;;
2432
 
    ,);;
2433
 
    *)
2434
 
      if test "x$ac_old_val" != "x$ac_new_val"; then
2435
 
        # differences in whitespace do not lead to failure.
2436
 
        ac_old_val_w=`echo x $ac_old_val`
2437
 
        ac_new_val_w=`echo x $ac_new_val`
2438
 
        if test "$ac_old_val_w" != "$ac_new_val_w"; then
2439
 
          { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2440
 
$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2441
 
          ac_cache_corrupted=:
2442
 
        else
2443
 
          { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2444
 
$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2445
 
          eval $ac_var=\$ac_old_val
2446
 
        fi
2447
 
        { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2448
 
$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2449
 
        { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2450
 
$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2451
 
      fi;;
2452
 
  esac
2453
 
  # Pass precious variables to config.status.
2454
 
  if test "$ac_new_set" = set; then
2455
 
    case $ac_new_val in
2456
 
    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2457
 
    *) ac_arg=$ac_var=$ac_new_val ;;
2458
 
    esac
2459
 
    case " $ac_configure_args " in
2460
 
      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2461
 
      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2462
 
    esac
2463
 
  fi
2464
 
done
2465
 
if $ac_cache_corrupted; then
2466
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2467
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2468
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2469
 
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2470
 
  as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2471
 
fi
2472
 
## -------------------- ##
2473
 
## Main body of script. ##
2474
 
## -------------------- ##
2475
 
 
2476
 
ac_ext=c
2477
 
ac_cpp='$CPP $CPPFLAGS'
2478
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2479
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2480
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2481
 
 
2482
 
 
2483
 
ac_aux_dir=
2484
 
for ac_dir in config "$srcdir"/config; do
2485
 
  for ac_t in install-sh install.sh shtool; do
2486
 
    if test -f "$ac_dir/$ac_t"; then
2487
 
      ac_aux_dir=$ac_dir
2488
 
      ac_install_sh="$ac_aux_dir/$ac_t -c"
2489
 
      break 2
2490
 
    fi
2491
 
  done
2492
 
done
2493
 
if test -z "$ac_aux_dir"; then
2494
 
  as_fn_error "cannot find install-sh, install.sh, or shtool in config \"$srcdir\"/config" "$LINENO" 5
2495
 
fi
2496
 
 
2497
 
# These three variables are undocumented and unsupported,
2498
 
# and are intended to be withdrawn in a future Autoconf release.
2499
 
# They can cause serious problems if a builder's source tree is in a directory
2500
 
# whose full name contains unusual characters.
2501
 
ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2502
 
ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2503
 
ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2504
 
 
2505
 
 
2506
 
am__api_version='1.11'
2507
 
 
2508
 
# Find a good install program.  We prefer a C program (faster),
2509
 
# so one script is as good as another.  But avoid the broken or
2510
 
# incompatible versions:
2511
 
# SysV /etc/install, /usr/sbin/install
2512
 
# SunOS /usr/etc/install
2513
 
# IRIX /sbin/install
2514
 
# AIX /bin/install
2515
 
# AmigaOS /C/install, which installs bootblocks on floppy discs
2516
 
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2517
 
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
2518
 
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2519
 
# OS/2's system install, which has a completely different semantic
2520
 
# ./install, which can be erroneously created by make from ./install.sh.
2521
 
# Reject install programs that cannot install multiple files.
2522
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2523
 
$as_echo_n "checking for a BSD-compatible install... " >&6; }
2524
 
if test -z "$INSTALL"; then
2525
 
if test "${ac_cv_path_install+set}" = set; then :
2526
 
  $as_echo_n "(cached) " >&6
2527
 
else
2528
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2529
 
for as_dir in $PATH
2530
 
do
2531
 
  IFS=$as_save_IFS
2532
 
  test -z "$as_dir" && as_dir=.
2533
 
    # Account for people who put trailing slashes in PATH elements.
2534
 
case $as_dir/ in #((
2535
 
  ./ | .// | /[cC]/* | \
2536
 
  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2537
 
  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2538
 
  /usr/ucb/* ) ;;
2539
 
  *)
2540
 
    # OSF1 and SCO ODT 3.0 have their own names for install.
2541
 
    # Don't use installbsd from OSF since it installs stuff as root
2542
 
    # by default.
2543
 
    for ac_prog in ginstall scoinst install; do
2544
 
      for ac_exec_ext in '' $ac_executable_extensions; do
2545
 
        if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2546
 
          if test $ac_prog = install &&
2547
 
            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2548
 
            # AIX install.  It has an incompatible calling convention.
2549
 
            :
2550
 
          elif test $ac_prog = install &&
2551
 
            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2552
 
            # program-specific install script used by HP pwplus--don't use.
2553
 
            :
2554
 
          else
2555
 
            rm -rf conftest.one conftest.two conftest.dir
2556
 
            echo one > conftest.one
2557
 
            echo two > conftest.two
2558
 
            mkdir conftest.dir
2559
 
            if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2560
 
              test -s conftest.one && test -s conftest.two &&
2561
 
              test -s conftest.dir/conftest.one &&
2562
 
              test -s conftest.dir/conftest.two
2563
 
            then
2564
 
              ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2565
 
              break 3
2566
 
            fi
2567
 
          fi
2568
 
        fi
2569
 
      done
2570
 
    done
2571
 
    ;;
2572
 
esac
2573
 
 
2574
 
  done
2575
 
IFS=$as_save_IFS
2576
 
 
2577
 
rm -rf conftest.one conftest.two conftest.dir
2578
 
 
2579
 
fi
2580
 
  if test "${ac_cv_path_install+set}" = set; then
2581
 
    INSTALL=$ac_cv_path_install
2582
 
  else
2583
 
    # As a last resort, use the slow shell script.  Don't cache a
2584
 
    # value for INSTALL within a source directory, because that will
2585
 
    # break other packages using the cache if that directory is
2586
 
    # removed, or if the value is a relative name.
2587
 
    INSTALL=$ac_install_sh
2588
 
  fi
2589
 
fi
2590
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2591
 
$as_echo "$INSTALL" >&6; }
2592
 
 
2593
 
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2594
 
# It thinks the first close brace ends the variable substitution.
2595
 
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2596
 
 
2597
 
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2598
 
 
2599
 
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2600
 
 
2601
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2602
 
$as_echo_n "checking whether build environment is sane... " >&6; }
2603
 
# Just in case
2604
 
sleep 1
2605
 
echo timestamp > conftest.file
2606
 
# Reject unsafe characters in $srcdir or the absolute working directory
2607
 
# name.  Accept space and tab only in the latter.
2608
 
am_lf='
2609
 
'
2610
 
case `pwd` in
2611
 
  *[\\\"\#\$\&\'\`$am_lf]*)
2612
 
    as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
2613
 
esac
2614
 
case $srcdir in
2615
 
  *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
2616
 
    as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2617
 
esac
2618
 
 
2619
 
# Do `set' in a subshell so we don't clobber the current shell's
2620
 
# arguments.  Must try -L first in case configure is actually a
2621
 
# symlink; some systems play weird games with the mod time of symlinks
2622
 
# (eg FreeBSD returns the mod time of the symlink's containing
2623
 
# directory).
2624
 
if (
2625
 
   set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2626
 
   if test "$*" = "X"; then
2627
 
      # -L didn't work.
2628
 
      set X `ls -t "$srcdir/configure" conftest.file`
2629
 
   fi
2630
 
   rm -f conftest.file
2631
 
   if test "$*" != "X $srcdir/configure conftest.file" \
2632
 
      && test "$*" != "X conftest.file $srcdir/configure"; then
2633
 
 
2634
 
      # If neither matched, then we have a broken ls.  This can happen
2635
 
      # if, for instance, CONFIG_SHELL is bash and it inherits a
2636
 
      # broken ls alias from the environment.  This has actually
2637
 
      # happened.  Such a system could not be considered "sane".
2638
 
      as_fn_error "ls -t appears to fail.  Make sure there is not a broken
2639
 
alias in your environment" "$LINENO" 5
2640
 
   fi
2641
 
 
2642
 
   test "$2" = conftest.file
2643
 
   )
2644
 
then
2645
 
   # Ok.
2646
 
   :
2647
 
else
2648
 
   as_fn_error "newly created file is older than distributed files!
2649
 
Check your system clock" "$LINENO" 5
2650
 
fi
2651
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2652
 
$as_echo "yes" >&6; }
2653
 
test "$program_prefix" != NONE &&
2654
 
  program_transform_name="s&^&$program_prefix&;$program_transform_name"
2655
 
# Use a double $ so make ignores it.
2656
 
test "$program_suffix" != NONE &&
2657
 
  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2658
 
# Double any \ or $.
2659
 
# By default was `s,x,x', remove it if useless.
2660
 
ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2661
 
program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2662
 
 
2663
 
# expand $ac_aux_dir to an absolute path
2664
 
am_aux_dir=`cd $ac_aux_dir && pwd`
2665
 
 
2666
 
if test x"${MISSING+set}" != xset; then
2667
 
  case $am_aux_dir in
2668
 
  *\ * | *\     *)
2669
 
    MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2670
 
  *)
2671
 
    MISSING="\${SHELL} $am_aux_dir/missing" ;;
2672
 
  esac
2673
 
fi
2674
 
# Use eval to expand $SHELL
2675
 
if eval "$MISSING --run true"; then
2676
 
  am_missing_run="$MISSING --run "
2677
 
else
2678
 
  am_missing_run=
2679
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2680
 
$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2681
 
fi
2682
 
 
2683
 
if test x"${install_sh}" != xset; then
2684
 
  case $am_aux_dir in
2685
 
  *\ * | *\     *)
2686
 
    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2687
 
  *)
2688
 
    install_sh="\${SHELL} $am_aux_dir/install-sh"
2689
 
  esac
2690
 
fi
2691
 
 
2692
 
# Installed binaries are usually stripped using `strip' when the user
2693
 
# run `make install-strip'.  However `strip' might not be the right
2694
 
# tool to use in cross-compilation environments, therefore Automake
2695
 
# will honor the `STRIP' environment variable to overrule this program.
2696
 
if test "$cross_compiling" != no; then
2697
 
  if test -n "$ac_tool_prefix"; then
2698
 
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2699
 
set dummy ${ac_tool_prefix}strip; ac_word=$2
2700
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2701
 
$as_echo_n "checking for $ac_word... " >&6; }
2702
 
if test "${ac_cv_prog_STRIP+set}" = set; then :
2703
 
  $as_echo_n "(cached) " >&6
2704
 
else
2705
 
  if test -n "$STRIP"; then
2706
 
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2707
 
else
2708
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2709
 
for as_dir in $PATH
2710
 
do
2711
 
  IFS=$as_save_IFS
2712
 
  test -z "$as_dir" && as_dir=.
2713
 
    for ac_exec_ext in '' $ac_executable_extensions; do
2714
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2715
 
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2716
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2717
 
    break 2
2718
 
  fi
2719
 
done
2720
 
  done
2721
 
IFS=$as_save_IFS
2722
 
 
2723
 
fi
2724
 
fi
2725
 
STRIP=$ac_cv_prog_STRIP
2726
 
if test -n "$STRIP"; then
2727
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2728
 
$as_echo "$STRIP" >&6; }
2729
 
else
2730
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2731
 
$as_echo "no" >&6; }
2732
 
fi
2733
 
 
2734
 
 
2735
 
fi
2736
 
if test -z "$ac_cv_prog_STRIP"; then
2737
 
  ac_ct_STRIP=$STRIP
2738
 
  # Extract the first word of "strip", so it can be a program name with args.
2739
 
set dummy strip; ac_word=$2
2740
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2741
 
$as_echo_n "checking for $ac_word... " >&6; }
2742
 
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
2743
 
  $as_echo_n "(cached) " >&6
2744
 
else
2745
 
  if test -n "$ac_ct_STRIP"; then
2746
 
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2747
 
else
2748
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2749
 
for as_dir in $PATH
2750
 
do
2751
 
  IFS=$as_save_IFS
2752
 
  test -z "$as_dir" && as_dir=.
2753
 
    for ac_exec_ext in '' $ac_executable_extensions; do
2754
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2755
 
    ac_cv_prog_ac_ct_STRIP="strip"
2756
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2757
 
    break 2
2758
 
  fi
2759
 
done
2760
 
  done
2761
 
IFS=$as_save_IFS
2762
 
 
2763
 
fi
2764
 
fi
2765
 
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2766
 
if test -n "$ac_ct_STRIP"; then
2767
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2768
 
$as_echo "$ac_ct_STRIP" >&6; }
2769
 
else
2770
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2771
 
$as_echo "no" >&6; }
2772
 
fi
2773
 
 
2774
 
  if test "x$ac_ct_STRIP" = x; then
2775
 
    STRIP=":"
2776
 
  else
2777
 
    case $cross_compiling:$ac_tool_warned in
2778
 
yes:)
2779
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2780
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2781
 
ac_tool_warned=yes ;;
2782
 
esac
2783
 
    STRIP=$ac_ct_STRIP
2784
 
  fi
2785
 
else
2786
 
  STRIP="$ac_cv_prog_STRIP"
2787
 
fi
2788
 
 
2789
 
fi
2790
 
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2791
 
 
2792
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2793
 
$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2794
 
if test -z "$MKDIR_P"; then
2795
 
  if test "${ac_cv_path_mkdir+set}" = set; then :
2796
 
  $as_echo_n "(cached) " >&6
2797
 
else
2798
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2799
 
for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2800
 
do
2801
 
  IFS=$as_save_IFS
2802
 
  test -z "$as_dir" && as_dir=.
2803
 
    for ac_prog in mkdir gmkdir; do
2804
 
         for ac_exec_ext in '' $ac_executable_extensions; do
2805
 
           { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2806
 
           case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2807
 
             'mkdir (GNU coreutils) '* | \
2808
 
             'mkdir (coreutils) '* | \
2809
 
             'mkdir (fileutils) '4.1*)
2810
 
               ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2811
 
               break 3;;
2812
 
           esac
2813
 
         done
2814
 
       done
2815
 
  done
2816
 
IFS=$as_save_IFS
2817
 
 
2818
 
fi
2819
 
 
2820
 
  if test "${ac_cv_path_mkdir+set}" = set; then
2821
 
    MKDIR_P="$ac_cv_path_mkdir -p"
2822
 
  else
2823
 
    # As a last resort, use the slow shell script.  Don't cache a
2824
 
    # value for MKDIR_P within a source directory, because that will
2825
 
    # break other packages using the cache if that directory is
2826
 
    # removed, or if the value is a relative name.
2827
 
    test -d ./--version && rmdir ./--version
2828
 
    MKDIR_P="$ac_install_sh -d"
2829
 
  fi
2830
 
fi
2831
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2832
 
$as_echo "$MKDIR_P" >&6; }
2833
 
 
2834
 
mkdir_p="$MKDIR_P"
2835
 
case $mkdir_p in
2836
 
  [\\/$]* | ?:[\\/]*) ;;
2837
 
  */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2838
 
esac
2839
 
 
2840
 
for ac_prog in gawk mawk nawk awk
2841
 
do
2842
 
  # Extract the first word of "$ac_prog", so it can be a program name with args.
2843
 
set dummy $ac_prog; ac_word=$2
2844
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2845
 
$as_echo_n "checking for $ac_word... " >&6; }
2846
 
if test "${ac_cv_prog_AWK+set}" = set; then :
2847
 
  $as_echo_n "(cached) " >&6
2848
 
else
2849
 
  if test -n "$AWK"; then
2850
 
  ac_cv_prog_AWK="$AWK" # Let the user override the test.
2851
 
else
2852
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2853
 
for as_dir in $PATH
2854
 
do
2855
 
  IFS=$as_save_IFS
2856
 
  test -z "$as_dir" && as_dir=.
2857
 
    for ac_exec_ext in '' $ac_executable_extensions; do
2858
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2859
 
    ac_cv_prog_AWK="$ac_prog"
2860
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2861
 
    break 2
2862
 
  fi
2863
 
done
2864
 
  done
2865
 
IFS=$as_save_IFS
2866
 
 
2867
 
fi
2868
 
fi
2869
 
AWK=$ac_cv_prog_AWK
2870
 
if test -n "$AWK"; then
2871
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2872
 
$as_echo "$AWK" >&6; }
2873
 
else
2874
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2875
 
$as_echo "no" >&6; }
2876
 
fi
2877
 
 
2878
 
 
2879
 
  test -n "$AWK" && break
2880
 
done
2881
 
 
2882
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2883
 
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2884
 
set x ${MAKE-make}
2885
 
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2886
 
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
2887
 
  $as_echo_n "(cached) " >&6
2888
 
else
2889
 
  cat >conftest.make <<\_ACEOF
2890
 
SHELL = /bin/sh
2891
 
all:
2892
 
        @echo '@@@%%%=$(MAKE)=@@@%%%'
2893
 
_ACEOF
2894
 
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2895
 
case `${MAKE-make} -f conftest.make 2>/dev/null` in
2896
 
  *@@@%%%=?*=@@@%%%*)
2897
 
    eval ac_cv_prog_make_${ac_make}_set=yes;;
2898
 
  *)
2899
 
    eval ac_cv_prog_make_${ac_make}_set=no;;
2900
 
esac
2901
 
rm -f conftest.make
2902
 
fi
2903
 
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2904
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2905
 
$as_echo "yes" >&6; }
2906
 
  SET_MAKE=
2907
 
else
2908
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2909
 
$as_echo "no" >&6; }
2910
 
  SET_MAKE="MAKE=${MAKE-make}"
2911
 
fi
2912
 
 
2913
 
rm -rf .tst 2>/dev/null
2914
 
mkdir .tst 2>/dev/null
2915
 
if test -d .tst; then
2916
 
  am__leading_dot=.
2917
 
else
2918
 
  am__leading_dot=_
2919
 
fi
2920
 
rmdir .tst 2>/dev/null
2921
 
 
2922
 
if test "`cd $srcdir && pwd`" != "`pwd`"; then
2923
 
  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2924
 
  # is not polluted with repeated "-I."
2925
 
  am__isrc=' -I$(srcdir)'
2926
 
  # test to see if srcdir already configured
2927
 
  if test -f $srcdir/config.status; then
2928
 
    as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2929
 
  fi
2930
 
fi
2931
 
 
2932
 
# test whether we have cygpath
2933
 
if test -z "$CYGPATH_W"; then
2934
 
  if (cygpath --version) >/dev/null 2>/dev/null; then
2935
 
    CYGPATH_W='cygpath -w'
2936
 
  else
2937
 
    CYGPATH_W=echo
2938
 
  fi
2939
 
fi
2940
 
 
2941
 
 
2942
 
# Define the identity of the package.
2943
 
 PACKAGE=quickfix
2944
 
 VERSION=1.13.3
2945
 
 
2946
 
 
2947
 
cat >>confdefs.h <<_ACEOF
2948
 
#define PACKAGE "$PACKAGE"
2949
 
_ACEOF
2950
 
 
2951
 
 
2952
 
cat >>confdefs.h <<_ACEOF
2953
 
#define VERSION "$VERSION"
2954
 
_ACEOF
2955
 
 
2956
 
# Some tools Automake needs.
2957
 
 
2958
 
ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2959
 
 
2960
 
 
2961
 
AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2962
 
 
2963
 
 
2964
 
AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2965
 
 
2966
 
 
2967
 
AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2968
 
 
2969
 
 
2970
 
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2971
 
 
2972
 
# We need awk for the "check" target.  The system "awk" is bad on
2973
 
# some platforms.
2974
 
# Always define AMTAR for backward compatibility.
2975
 
 
2976
 
AMTAR=${AMTAR-"${am_missing_run}tar"}
2977
 
 
2978
 
am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2979
 
 
2980
 
 
2981
 
 
2982
 
 
2983
 
 
2984
 
ac_config_headers="$ac_config_headers config.h"
2985
 
 
2986
 
# Check whether --enable-static was given.
2987
 
if test "${enable_static+set}" = set; then :
2988
 
  enableval=$enable_static; p=${PACKAGE-default}
2989
 
    case $enableval in
2990
 
    yes) enable_static=yes ;;
2991
 
    no) enable_static=no ;;
2992
 
    *)
2993
 
     enable_static=no
2994
 
      # Look at the argument we got.  We use all the common list separators.
2995
 
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
2996
 
      for pkg in $enableval; do
2997
 
        IFS="$lt_save_ifs"
2998
 
        if test "X$pkg" = "X$p"; then
2999
 
          enable_static=yes
3000
 
        fi
3001
 
      done
3002
 
      IFS="$lt_save_ifs"
3003
 
      ;;
3004
 
    esac
3005
 
else
3006
 
  enable_static=no
3007
 
fi
3008
 
 
3009
 
 
3010
 
 
3011
 
 
3012
 
 
3013
 
 
3014
 
 
3015
 
 
3016
 
 
3017
 
 
3018
 
# Checks for programs.
3019
 
ac_ext=cpp
3020
 
ac_cpp='$CXXCPP $CPPFLAGS'
3021
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3022
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3023
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3024
 
if test -z "$CXX"; then
3025
 
  if test -n "$CCC"; then
3026
 
    CXX=$CCC
3027
 
  else
3028
 
    if test -n "$ac_tool_prefix"; then
3029
 
  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3030
 
  do
3031
 
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3032
 
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3033
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3034
 
$as_echo_n "checking for $ac_word... " >&6; }
3035
 
if test "${ac_cv_prog_CXX+set}" = set; then :
3036
 
  $as_echo_n "(cached) " >&6
3037
 
else
3038
 
  if test -n "$CXX"; then
3039
 
  ac_cv_prog_CXX="$CXX" # Let the user override the test.
3040
 
else
3041
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3042
 
for as_dir in $PATH
3043
 
do
3044
 
  IFS=$as_save_IFS
3045
 
  test -z "$as_dir" && as_dir=.
3046
 
    for ac_exec_ext in '' $ac_executable_extensions; do
3047
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3048
 
    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3049
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3050
 
    break 2
3051
 
  fi
3052
 
done
3053
 
  done
3054
 
IFS=$as_save_IFS
3055
 
 
3056
 
fi
3057
 
fi
3058
 
CXX=$ac_cv_prog_CXX
3059
 
if test -n "$CXX"; then
3060
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
3061
 
$as_echo "$CXX" >&6; }
3062
 
else
3063
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3064
 
$as_echo "no" >&6; }
3065
 
fi
3066
 
 
3067
 
 
3068
 
    test -n "$CXX" && break
3069
 
  done
3070
 
fi
3071
 
if test -z "$CXX"; then
3072
 
  ac_ct_CXX=$CXX
3073
 
  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3074
 
do
3075
 
  # Extract the first word of "$ac_prog", so it can be a program name with args.
3076
 
set dummy $ac_prog; ac_word=$2
3077
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3078
 
$as_echo_n "checking for $ac_word... " >&6; }
3079
 
if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
3080
 
  $as_echo_n "(cached) " >&6
3081
 
else
3082
 
  if test -n "$ac_ct_CXX"; then
3083
 
  ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3084
 
else
3085
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3086
 
for as_dir in $PATH
3087
 
do
3088
 
  IFS=$as_save_IFS
3089
 
  test -z "$as_dir" && as_dir=.
3090
 
    for ac_exec_ext in '' $ac_executable_extensions; do
3091
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3092
 
    ac_cv_prog_ac_ct_CXX="$ac_prog"
3093
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3094
 
    break 2
3095
 
  fi
3096
 
done
3097
 
  done
3098
 
IFS=$as_save_IFS
3099
 
 
3100
 
fi
3101
 
fi
3102
 
ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3103
 
if test -n "$ac_ct_CXX"; then
3104
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
3105
 
$as_echo "$ac_ct_CXX" >&6; }
3106
 
else
3107
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3108
 
$as_echo "no" >&6; }
3109
 
fi
3110
 
 
3111
 
 
3112
 
  test -n "$ac_ct_CXX" && break
3113
 
done
3114
 
 
3115
 
  if test "x$ac_ct_CXX" = x; then
3116
 
    CXX="g++"
3117
 
  else
3118
 
    case $cross_compiling:$ac_tool_warned in
3119
 
yes:)
3120
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3121
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3122
 
ac_tool_warned=yes ;;
3123
 
esac
3124
 
    CXX=$ac_ct_CXX
3125
 
  fi
3126
 
fi
3127
 
 
3128
 
  fi
3129
 
fi
3130
 
# Provide some information about the compiler.
3131
 
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
3132
 
set X $ac_compile
3133
 
ac_compiler=$2
3134
 
for ac_option in --version -v -V -qversion; do
3135
 
  { { ac_try="$ac_compiler $ac_option >&5"
3136
 
case "(($ac_try" in
3137
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3138
 
  *) ac_try_echo=$ac_try;;
3139
 
esac
3140
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3141
 
$as_echo "$ac_try_echo"; } >&5
3142
 
  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3143
 
  ac_status=$?
3144
 
  if test -s conftest.err; then
3145
 
    sed '10a\
3146
 
... rest of stderr output deleted ...
3147
 
         10q' conftest.err >conftest.er1
3148
 
    cat conftest.er1 >&5
3149
 
    rm -f conftest.er1 conftest.err
3150
 
  fi
3151
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3152
 
  test $ac_status = 0; }
3153
 
done
3154
 
 
3155
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3156
 
/* end confdefs.h.  */
3157
 
#include <stdio.h>
3158
 
int
3159
 
main ()
3160
 
{
3161
 
FILE *f = fopen ("conftest.out", "w");
3162
 
 return ferror (f) || fclose (f) != 0;
3163
 
 
3164
 
  ;
3165
 
  return 0;
3166
 
}
3167
 
_ACEOF
3168
 
ac_clean_files_save=$ac_clean_files
3169
 
ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
3170
 
# Try to create an executable without -o first, disregard a.out.
3171
 
# It will help us diagnose broken compilers, and finding out an intuition
3172
 
# of exeext.
3173
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler default output file name" >&5
3174
 
$as_echo_n "checking for C++ compiler default output file name... " >&6; }
3175
 
ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3176
 
 
3177
 
# The possible output files:
3178
 
ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3179
 
 
3180
 
ac_rmfiles=
3181
 
for ac_file in $ac_files
3182
 
do
3183
 
  case $ac_file in
3184
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3185
 
    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3186
 
  esac
3187
 
done
3188
 
rm -f $ac_rmfiles
3189
 
 
3190
 
if { { ac_try="$ac_link_default"
3191
 
case "(($ac_try" in
3192
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3193
 
  *) ac_try_echo=$ac_try;;
3194
 
esac
3195
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3196
 
$as_echo "$ac_try_echo"; } >&5
3197
 
  (eval "$ac_link_default") 2>&5
3198
 
  ac_status=$?
3199
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3200
 
  test $ac_status = 0; }; then :
3201
 
  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3202
 
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3203
 
# in a Makefile.  We should not override ac_cv_exeext if it was cached,
3204
 
# so that the user can short-circuit this test for compilers unknown to
3205
 
# Autoconf.
3206
 
for ac_file in $ac_files ''
3207
 
do
3208
 
  test -f "$ac_file" || continue
3209
 
  case $ac_file in
3210
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3211
 
        ;;
3212
 
    [ab].out )
3213
 
        # We found the default executable, but exeext='' is most
3214
 
        # certainly right.
3215
 
        break;;
3216
 
    *.* )
3217
 
        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3218
 
        then :; else
3219
 
           ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3220
 
        fi
3221
 
        # We set ac_cv_exeext here because the later test for it is not
3222
 
        # safe: cross compilers may not add the suffix if given an `-o'
3223
 
        # argument, so we may need to know it at that point already.
3224
 
        # Even if this section looks crufty: it has the advantage of
3225
 
        # actually working.
3226
 
        break;;
3227
 
    * )
3228
 
        break;;
3229
 
  esac
3230
 
done
3231
 
test "$ac_cv_exeext" = no && ac_cv_exeext=
3232
 
 
3233
 
else
3234
 
  ac_file=''
3235
 
fi
3236
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3237
 
$as_echo "$ac_file" >&6; }
3238
 
if test -z "$ac_file"; then :
3239
 
  $as_echo "$as_me: failed program was:" >&5
3240
 
sed 's/^/| /' conftest.$ac_ext >&5
3241
 
 
3242
 
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3243
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3244
 
{ as_fn_set_status 77
3245
 
as_fn_error "C++ compiler cannot create executables
3246
 
See \`config.log' for more details." "$LINENO" 5; }; }
3247
 
fi
3248
 
ac_exeext=$ac_cv_exeext
3249
 
 
3250
 
# Check that the compiler produces executables we can run.  If not, either
3251
 
# the compiler is broken, or we cross compile.
3252
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler works" >&5
3253
 
$as_echo_n "checking whether the C++ compiler works... " >&6; }
3254
 
# If not cross compiling, check that we can run a simple program.
3255
 
if test "$cross_compiling" != yes; then
3256
 
  if { ac_try='./$ac_file'
3257
 
  { { case "(($ac_try" in
3258
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3259
 
  *) ac_try_echo=$ac_try;;
3260
 
esac
3261
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3262
 
$as_echo "$ac_try_echo"; } >&5
3263
 
  (eval "$ac_try") 2>&5
3264
 
  ac_status=$?
3265
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3266
 
  test $ac_status = 0; }; }; then
3267
 
    cross_compiling=no
3268
 
  else
3269
 
    if test "$cross_compiling" = maybe; then
3270
 
        cross_compiling=yes
3271
 
    else
3272
 
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3273
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3274
 
as_fn_error "cannot run C++ compiled programs.
3275
 
If you meant to cross compile, use \`--host'.
3276
 
See \`config.log' for more details." "$LINENO" 5; }
3277
 
    fi
3278
 
  fi
3279
 
fi
3280
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3281
 
$as_echo "yes" >&6; }
3282
 
 
3283
 
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
3284
 
ac_clean_files=$ac_clean_files_save
3285
 
# Check that the compiler produces executables we can run.  If not, either
3286
 
# the compiler is broken, or we cross compile.
3287
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3288
 
$as_echo_n "checking whether we are cross compiling... " >&6; }
3289
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3290
 
$as_echo "$cross_compiling" >&6; }
3291
 
 
3292
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3293
 
$as_echo_n "checking for suffix of executables... " >&6; }
3294
 
if { { ac_try="$ac_link"
3295
 
case "(($ac_try" in
3296
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3297
 
  *) ac_try_echo=$ac_try;;
3298
 
esac
3299
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3300
 
$as_echo "$ac_try_echo"; } >&5
3301
 
  (eval "$ac_link") 2>&5
3302
 
  ac_status=$?
3303
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3304
 
  test $ac_status = 0; }; then :
3305
 
  # If both `conftest.exe' and `conftest' are `present' (well, observable)
3306
 
# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3307
 
# work properly (i.e., refer to `conftest.exe'), while it won't with
3308
 
# `rm'.
3309
 
for ac_file in conftest.exe conftest conftest.*; do
3310
 
  test -f "$ac_file" || continue
3311
 
  case $ac_file in
3312
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3313
 
    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3314
 
          break;;
3315
 
    * ) break;;
3316
 
  esac
3317
 
done
3318
 
else
3319
 
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3320
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3321
 
as_fn_error "cannot compute suffix of executables: cannot compile and link
3322
 
See \`config.log' for more details." "$LINENO" 5; }
3323
 
fi
3324
 
rm -f conftest$ac_cv_exeext
3325
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3326
 
$as_echo "$ac_cv_exeext" >&6; }
3327
 
 
3328
 
rm -f conftest.$ac_ext
3329
 
EXEEXT=$ac_cv_exeext
3330
 
ac_exeext=$EXEEXT
3331
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3332
 
$as_echo_n "checking for suffix of object files... " >&6; }
3333
 
if test "${ac_cv_objext+set}" = set; then :
3334
 
  $as_echo_n "(cached) " >&6
3335
 
else
3336
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3337
 
/* end confdefs.h.  */
3338
 
 
3339
 
int
3340
 
main ()
3341
 
{
3342
 
 
3343
 
  ;
3344
 
  return 0;
3345
 
}
3346
 
_ACEOF
3347
 
rm -f conftest.o conftest.obj
3348
 
if { { ac_try="$ac_compile"
3349
 
case "(($ac_try" in
3350
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3351
 
  *) ac_try_echo=$ac_try;;
3352
 
esac
3353
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3354
 
$as_echo "$ac_try_echo"; } >&5
3355
 
  (eval "$ac_compile") 2>&5
3356
 
  ac_status=$?
3357
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3358
 
  test $ac_status = 0; }; then :
3359
 
  for ac_file in conftest.o conftest.obj conftest.*; do
3360
 
  test -f "$ac_file" || continue;
3361
 
  case $ac_file in
3362
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3363
 
    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3364
 
       break;;
3365
 
  esac
3366
 
done
3367
 
else
3368
 
  $as_echo "$as_me: failed program was:" >&5
3369
 
sed 's/^/| /' conftest.$ac_ext >&5
3370
 
 
3371
 
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3372
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3373
 
as_fn_error "cannot compute suffix of object files: cannot compile
3374
 
See \`config.log' for more details." "$LINENO" 5; }
3375
 
fi
3376
 
rm -f conftest.$ac_cv_objext conftest.$ac_ext
3377
 
fi
3378
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3379
 
$as_echo "$ac_cv_objext" >&6; }
3380
 
OBJEXT=$ac_cv_objext
3381
 
ac_objext=$OBJEXT
3382
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
3383
 
$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
3384
 
if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
3385
 
  $as_echo_n "(cached) " >&6
3386
 
else
3387
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3388
 
/* end confdefs.h.  */
3389
 
 
3390
 
int
3391
 
main ()
3392
 
{
3393
 
#ifndef __GNUC__
3394
 
       choke me
3395
 
#endif
3396
 
 
3397
 
  ;
3398
 
  return 0;
3399
 
}
3400
 
_ACEOF
3401
 
if ac_fn_cxx_try_compile "$LINENO"; then :
3402
 
  ac_compiler_gnu=yes
3403
 
else
3404
 
  ac_compiler_gnu=no
3405
 
fi
3406
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3407
 
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3408
 
 
3409
 
fi
3410
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
3411
 
$as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
3412
 
if test $ac_compiler_gnu = yes; then
3413
 
  GXX=yes
3414
 
else
3415
 
  GXX=
3416
 
fi
3417
 
ac_test_CXXFLAGS=${CXXFLAGS+set}
3418
 
ac_save_CXXFLAGS=$CXXFLAGS
3419
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
3420
 
$as_echo_n "checking whether $CXX accepts -g... " >&6; }
3421
 
if test "${ac_cv_prog_cxx_g+set}" = set; then :
3422
 
  $as_echo_n "(cached) " >&6
3423
 
else
3424
 
  ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3425
 
   ac_cxx_werror_flag=yes
3426
 
   ac_cv_prog_cxx_g=no
3427
 
   CXXFLAGS="-g"
3428
 
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3429
 
/* end confdefs.h.  */
3430
 
 
3431
 
int
3432
 
main ()
3433
 
{
3434
 
 
3435
 
  ;
3436
 
  return 0;
3437
 
}
3438
 
_ACEOF
3439
 
if ac_fn_cxx_try_compile "$LINENO"; then :
3440
 
  ac_cv_prog_cxx_g=yes
3441
 
else
3442
 
  CXXFLAGS=""
3443
 
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3444
 
/* end confdefs.h.  */
3445
 
 
3446
 
int
3447
 
main ()
3448
 
{
3449
 
 
3450
 
  ;
3451
 
  return 0;
3452
 
}
3453
 
_ACEOF
3454
 
if ac_fn_cxx_try_compile "$LINENO"; then :
3455
 
 
3456
 
else
3457
 
  ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3458
 
         CXXFLAGS="-g"
3459
 
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3460
 
/* end confdefs.h.  */
3461
 
 
3462
 
int
3463
 
main ()
3464
 
{
3465
 
 
3466
 
  ;
3467
 
  return 0;
3468
 
}
3469
 
_ACEOF
3470
 
if ac_fn_cxx_try_compile "$LINENO"; then :
3471
 
  ac_cv_prog_cxx_g=yes
3472
 
fi
3473
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3474
 
fi
3475
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3476
 
fi
3477
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3478
 
   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3479
 
fi
3480
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
3481
 
$as_echo "$ac_cv_prog_cxx_g" >&6; }
3482
 
if test "$ac_test_CXXFLAGS" = set; then
3483
 
  CXXFLAGS=$ac_save_CXXFLAGS
3484
 
elif test $ac_cv_prog_cxx_g = yes; then
3485
 
  if test "$GXX" = yes; then
3486
 
    CXXFLAGS="-g -O2"
3487
 
  else
3488
 
    CXXFLAGS="-g"
3489
 
  fi
3490
 
else
3491
 
  if test "$GXX" = yes; then
3492
 
    CXXFLAGS="-O2"
3493
 
  else
3494
 
    CXXFLAGS=
3495
 
  fi
3496
 
fi
3497
 
ac_ext=c
3498
 
ac_cpp='$CPP $CPPFLAGS'
3499
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3500
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3501
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3502
 
DEPDIR="${am__leading_dot}deps"
3503
 
 
3504
 
ac_config_commands="$ac_config_commands depfiles"
3505
 
 
3506
 
 
3507
 
am_make=${MAKE-make}
3508
 
cat > confinc << 'END'
3509
 
am__doit:
3510
 
        @echo this is the am__doit target
3511
 
.PHONY: am__doit
3512
 
END
3513
 
# If we don't find an include directive, just comment out the code.
3514
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3515
 
$as_echo_n "checking for style of include used by $am_make... " >&6; }
3516
 
am__include="#"
3517
 
am__quote=
3518
 
_am_result=none
3519
 
# First try GNU make style include.
3520
 
echo "include confinc" > confmf
3521
 
# Ignore all kinds of additional output from `make'.
3522
 
case `$am_make -s -f confmf 2> /dev/null` in #(
3523
 
*the\ am__doit\ target*)
3524
 
  am__include=include
3525
 
  am__quote=
3526
 
  _am_result=GNU
3527
 
  ;;
3528
 
esac
3529
 
# Now try BSD make style include.
3530
 
if test "$am__include" = "#"; then
3531
 
   echo '.include "confinc"' > confmf
3532
 
   case `$am_make -s -f confmf 2> /dev/null` in #(
3533
 
   *the\ am__doit\ target*)
3534
 
     am__include=.include
3535
 
     am__quote="\""
3536
 
     _am_result=BSD
3537
 
     ;;
3538
 
   esac
3539
 
fi
3540
 
 
3541
 
 
3542
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3543
 
$as_echo "$_am_result" >&6; }
3544
 
rm -f confinc confmf
3545
 
 
3546
 
# Check whether --enable-dependency-tracking was given.
3547
 
if test "${enable_dependency_tracking+set}" = set; then :
3548
 
  enableval=$enable_dependency_tracking;
3549
 
fi
3550
 
 
3551
 
if test "x$enable_dependency_tracking" != xno; then
3552
 
  am_depcomp="$ac_aux_dir/depcomp"
3553
 
  AMDEPBACKSLASH='\'
3554
 
fi
3555
 
 if test "x$enable_dependency_tracking" != xno; then
3556
 
  AMDEP_TRUE=
3557
 
  AMDEP_FALSE='#'
3558
 
else
3559
 
  AMDEP_TRUE='#'
3560
 
  AMDEP_FALSE=
3561
 
fi
3562
 
 
3563
 
 
3564
 
 
3565
 
depcc="$CXX"  am_compiler_list=
3566
 
 
3567
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3568
 
$as_echo_n "checking dependency style of $depcc... " >&6; }
3569
 
if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then :
3570
 
  $as_echo_n "(cached) " >&6
3571
 
else
3572
 
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3573
 
  # We make a subdir and do the tests there.  Otherwise we can end up
3574
 
  # making bogus files that we don't know about and never remove.  For
3575
 
  # instance it was reported that on HP-UX the gcc test will end up
3576
 
  # making a dummy file named `D' -- because `-MD' means `put the output
3577
 
  # in D'.
3578
 
  mkdir conftest.dir
3579
 
  # Copy depcomp to subdir because otherwise we won't find it if we're
3580
 
  # using a relative directory.
3581
 
  cp "$am_depcomp" conftest.dir
3582
 
  cd conftest.dir
3583
 
  # We will build objects and dependencies in a subdirectory because
3584
 
  # it helps to detect inapplicable dependency modes.  For instance
3585
 
  # both Tru64's cc and ICC support -MD to output dependencies as a
3586
 
  # side effect of compilation, but ICC will put the dependencies in
3587
 
  # the current directory while Tru64 will put them in the object
3588
 
  # directory.
3589
 
  mkdir sub
3590
 
 
3591
 
  am_cv_CXX_dependencies_compiler_type=none
3592
 
  if test "$am_compiler_list" = ""; then
3593
 
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3594
 
  fi
3595
 
  am__universal=false
3596
 
  case " $depcc " in #(
3597
 
     *\ -arch\ *\ -arch\ *) am__universal=true ;;
3598
 
     esac
3599
 
 
3600
 
  for depmode in $am_compiler_list; do
3601
 
    # Setup a source with many dependencies, because some compilers
3602
 
    # like to wrap large dependency lists on column 80 (with \), and
3603
 
    # we should not choose a depcomp mode which is confused by this.
3604
 
    #
3605
 
    # We need to recreate these files for each test, as the compiler may
3606
 
    # overwrite some of them when testing with obscure command lines.
3607
 
    # This happens at least with the AIX C compiler.
3608
 
    : > sub/conftest.c
3609
 
    for i in 1 2 3 4 5 6; do
3610
 
      echo '#include "conftst'$i'.h"' >> sub/conftest.c
3611
 
      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3612
 
      # Solaris 8's {/usr,}/bin/sh.
3613
 
      touch sub/conftst$i.h
3614
 
    done
3615
 
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3616
 
 
3617
 
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
3618
 
    # mode.  It turns out that the SunPro C++ compiler does not properly
3619
 
    # handle `-M -o', and we need to detect this.  Also, some Intel
3620
 
    # versions had trouble with output in subdirs
3621
 
    am__obj=sub/conftest.${OBJEXT-o}
3622
 
    am__minus_obj="-o $am__obj"
3623
 
    case $depmode in
3624
 
    gcc)
3625
 
      # This depmode causes a compiler race in universal mode.
3626
 
      test "$am__universal" = false || continue
3627
 
      ;;
3628
 
    nosideeffect)
3629
 
      # after this tag, mechanisms are not by side-effect, so they'll
3630
 
      # only be used when explicitly requested
3631
 
      if test "x$enable_dependency_tracking" = xyes; then
3632
 
        continue
3633
 
      else
3634
 
        break
3635
 
      fi
3636
 
      ;;
3637
 
    msvisualcpp | msvcmsys)
3638
 
      # This compiler won't grok `-c -o', but also, the minuso test has
3639
 
      # not run yet.  These depmodes are late enough in the game, and
3640
 
      # so weak that their functioning should not be impacted.
3641
 
      am__obj=conftest.${OBJEXT-o}
3642
 
      am__minus_obj=
3643
 
      ;;
3644
 
    none) break ;;
3645
 
    esac
3646
 
    if depmode=$depmode \
3647
 
       source=sub/conftest.c object=$am__obj \
3648
 
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3649
 
       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3650
 
         >/dev/null 2>conftest.err &&
3651
 
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3652
 
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3653
 
       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3654
 
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3655
 
      # icc doesn't choke on unknown options, it will just issue warnings
3656
 
      # or remarks (even with -Werror).  So we grep stderr for any message
3657
 
      # that says an option was ignored or not supported.
3658
 
      # When given -MP, icc 7.0 and 7.1 complain thusly:
3659
 
      #   icc: Command line warning: ignoring option '-M'; no argument required
3660
 
      # The diagnosis changed in icc 8.0:
3661
 
      #   icc: Command line remark: option '-MP' not supported
3662
 
      if (grep 'ignoring option' conftest.err ||
3663
 
          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3664
 
        am_cv_CXX_dependencies_compiler_type=$depmode
3665
 
        break
3666
 
      fi
3667
 
    fi
3668
 
  done
3669
 
 
3670
 
  cd ..
3671
 
  rm -rf conftest.dir
3672
 
else
3673
 
  am_cv_CXX_dependencies_compiler_type=none
3674
 
fi
3675
 
 
3676
 
fi
3677
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
3678
 
$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
3679
 
CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
3680
 
 
3681
 
 if
3682
 
  test "x$enable_dependency_tracking" != xno \
3683
 
  && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
3684
 
  am__fastdepCXX_TRUE=
3685
 
  am__fastdepCXX_FALSE='#'
3686
 
else
3687
 
  am__fastdepCXX_TRUE='#'
3688
 
  am__fastdepCXX_FALSE=
3689
 
fi
3690
 
 
3691
 
 
3692
 
ac_ext=c
3693
 
ac_cpp='$CPP $CPPFLAGS'
3694
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3695
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3696
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3697
 
if test -n "$ac_tool_prefix"; then
3698
 
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3699
 
set dummy ${ac_tool_prefix}gcc; ac_word=$2
3700
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3701
 
$as_echo_n "checking for $ac_word... " >&6; }
3702
 
if test "${ac_cv_prog_CC+set}" = set; then :
3703
 
  $as_echo_n "(cached) " >&6
3704
 
else
3705
 
  if test -n "$CC"; then
3706
 
  ac_cv_prog_CC="$CC" # Let the user override the test.
3707
 
else
3708
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3709
 
for as_dir in $PATH
3710
 
do
3711
 
  IFS=$as_save_IFS
3712
 
  test -z "$as_dir" && as_dir=.
3713
 
    for ac_exec_ext in '' $ac_executable_extensions; do
3714
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3715
 
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
3716
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3717
 
    break 2
3718
 
  fi
3719
 
done
3720
 
  done
3721
 
IFS=$as_save_IFS
3722
 
 
3723
 
fi
3724
 
fi
3725
 
CC=$ac_cv_prog_CC
3726
 
if test -n "$CC"; then
3727
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3728
 
$as_echo "$CC" >&6; }
3729
 
else
3730
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3731
 
$as_echo "no" >&6; }
3732
 
fi
3733
 
 
3734
 
 
3735
 
fi
3736
 
if test -z "$ac_cv_prog_CC"; then
3737
 
  ac_ct_CC=$CC
3738
 
  # Extract the first word of "gcc", so it can be a program name with args.
3739
 
set dummy gcc; ac_word=$2
3740
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3741
 
$as_echo_n "checking for $ac_word... " >&6; }
3742
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3743
 
  $as_echo_n "(cached) " >&6
3744
 
else
3745
 
  if test -n "$ac_ct_CC"; then
3746
 
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3747
 
else
3748
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3749
 
for as_dir in $PATH
3750
 
do
3751
 
  IFS=$as_save_IFS
3752
 
  test -z "$as_dir" && as_dir=.
3753
 
    for ac_exec_ext in '' $ac_executable_extensions; do
3754
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3755
 
    ac_cv_prog_ac_ct_CC="gcc"
3756
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3757
 
    break 2
3758
 
  fi
3759
 
done
3760
 
  done
3761
 
IFS=$as_save_IFS
3762
 
 
3763
 
fi
3764
 
fi
3765
 
ac_ct_CC=$ac_cv_prog_ac_ct_CC
3766
 
if test -n "$ac_ct_CC"; then
3767
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3768
 
$as_echo "$ac_ct_CC" >&6; }
3769
 
else
3770
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3771
 
$as_echo "no" >&6; }
3772
 
fi
3773
 
 
3774
 
  if test "x$ac_ct_CC" = x; then
3775
 
    CC=""
3776
 
  else
3777
 
    case $cross_compiling:$ac_tool_warned in
3778
 
yes:)
3779
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3780
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3781
 
ac_tool_warned=yes ;;
3782
 
esac
3783
 
    CC=$ac_ct_CC
3784
 
  fi
3785
 
else
3786
 
  CC="$ac_cv_prog_CC"
3787
 
fi
3788
 
 
3789
 
if test -z "$CC"; then
3790
 
          if test -n "$ac_tool_prefix"; then
3791
 
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3792
 
set dummy ${ac_tool_prefix}cc; ac_word=$2
3793
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3794
 
$as_echo_n "checking for $ac_word... " >&6; }
3795
 
if test "${ac_cv_prog_CC+set}" = set; then :
3796
 
  $as_echo_n "(cached) " >&6
3797
 
else
3798
 
  if test -n "$CC"; then
3799
 
  ac_cv_prog_CC="$CC" # Let the user override the test.
3800
 
else
3801
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3802
 
for as_dir in $PATH
3803
 
do
3804
 
  IFS=$as_save_IFS
3805
 
  test -z "$as_dir" && as_dir=.
3806
 
    for ac_exec_ext in '' $ac_executable_extensions; do
3807
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3808
 
    ac_cv_prog_CC="${ac_tool_prefix}cc"
3809
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3810
 
    break 2
3811
 
  fi
3812
 
done
3813
 
  done
3814
 
IFS=$as_save_IFS
3815
 
 
3816
 
fi
3817
 
fi
3818
 
CC=$ac_cv_prog_CC
3819
 
if test -n "$CC"; then
3820
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3821
 
$as_echo "$CC" >&6; }
3822
 
else
3823
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3824
 
$as_echo "no" >&6; }
3825
 
fi
3826
 
 
3827
 
 
3828
 
  fi
3829
 
fi
3830
 
if test -z "$CC"; then
3831
 
  # Extract the first word of "cc", so it can be a program name with args.
3832
 
set dummy cc; ac_word=$2
3833
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3834
 
$as_echo_n "checking for $ac_word... " >&6; }
3835
 
if test "${ac_cv_prog_CC+set}" = set; then :
3836
 
  $as_echo_n "(cached) " >&6
3837
 
else
3838
 
  if test -n "$CC"; then
3839
 
  ac_cv_prog_CC="$CC" # Let the user override the test.
3840
 
else
3841
 
  ac_prog_rejected=no
3842
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3843
 
for as_dir in $PATH
3844
 
do
3845
 
  IFS=$as_save_IFS
3846
 
  test -z "$as_dir" && as_dir=.
3847
 
    for ac_exec_ext in '' $ac_executable_extensions; do
3848
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3849
 
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3850
 
       ac_prog_rejected=yes
3851
 
       continue
3852
 
     fi
3853
 
    ac_cv_prog_CC="cc"
3854
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3855
 
    break 2
3856
 
  fi
3857
 
done
3858
 
  done
3859
 
IFS=$as_save_IFS
3860
 
 
3861
 
if test $ac_prog_rejected = yes; then
3862
 
  # We found a bogon in the path, so make sure we never use it.
3863
 
  set dummy $ac_cv_prog_CC
3864
 
  shift
3865
 
  if test $# != 0; then
3866
 
    # We chose a different compiler from the bogus one.
3867
 
    # However, it has the same basename, so the bogon will be chosen
3868
 
    # first if we set CC to just the basename; use the full file name.
3869
 
    shift
3870
 
    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3871
 
  fi
3872
 
fi
3873
 
fi
3874
 
fi
3875
 
CC=$ac_cv_prog_CC
3876
 
if test -n "$CC"; then
3877
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3878
 
$as_echo "$CC" >&6; }
3879
 
else
3880
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3881
 
$as_echo "no" >&6; }
3882
 
fi
3883
 
 
3884
 
 
3885
 
fi
3886
 
if test -z "$CC"; then
3887
 
  if test -n "$ac_tool_prefix"; then
3888
 
  for ac_prog in cl.exe
3889
 
  do
3890
 
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3891
 
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3892
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3893
 
$as_echo_n "checking for $ac_word... " >&6; }
3894
 
if test "${ac_cv_prog_CC+set}" = set; then :
3895
 
  $as_echo_n "(cached) " >&6
3896
 
else
3897
 
  if test -n "$CC"; then
3898
 
  ac_cv_prog_CC="$CC" # Let the user override the test.
3899
 
else
3900
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3901
 
for as_dir in $PATH
3902
 
do
3903
 
  IFS=$as_save_IFS
3904
 
  test -z "$as_dir" && as_dir=.
3905
 
    for ac_exec_ext in '' $ac_executable_extensions; do
3906
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3907
 
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3908
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3909
 
    break 2
3910
 
  fi
3911
 
done
3912
 
  done
3913
 
IFS=$as_save_IFS
3914
 
 
3915
 
fi
3916
 
fi
3917
 
CC=$ac_cv_prog_CC
3918
 
if test -n "$CC"; then
3919
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3920
 
$as_echo "$CC" >&6; }
3921
 
else
3922
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3923
 
$as_echo "no" >&6; }
3924
 
fi
3925
 
 
3926
 
 
3927
 
    test -n "$CC" && break
3928
 
  done
3929
 
fi
3930
 
if test -z "$CC"; then
3931
 
  ac_ct_CC=$CC
3932
 
  for ac_prog in cl.exe
3933
 
do
3934
 
  # Extract the first word of "$ac_prog", so it can be a program name with args.
3935
 
set dummy $ac_prog; ac_word=$2
3936
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3937
 
$as_echo_n "checking for $ac_word... " >&6; }
3938
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3939
 
  $as_echo_n "(cached) " >&6
3940
 
else
3941
 
  if test -n "$ac_ct_CC"; then
3942
 
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3943
 
else
3944
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3945
 
for as_dir in $PATH
3946
 
do
3947
 
  IFS=$as_save_IFS
3948
 
  test -z "$as_dir" && as_dir=.
3949
 
    for ac_exec_ext in '' $ac_executable_extensions; do
3950
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3951
 
    ac_cv_prog_ac_ct_CC="$ac_prog"
3952
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3953
 
    break 2
3954
 
  fi
3955
 
done
3956
 
  done
3957
 
IFS=$as_save_IFS
3958
 
 
3959
 
fi
3960
 
fi
3961
 
ac_ct_CC=$ac_cv_prog_ac_ct_CC
3962
 
if test -n "$ac_ct_CC"; then
3963
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3964
 
$as_echo "$ac_ct_CC" >&6; }
3965
 
else
3966
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3967
 
$as_echo "no" >&6; }
3968
 
fi
3969
 
 
3970
 
 
3971
 
  test -n "$ac_ct_CC" && break
3972
 
done
3973
 
 
3974
 
  if test "x$ac_ct_CC" = x; then
3975
 
    CC=""
3976
 
  else
3977
 
    case $cross_compiling:$ac_tool_warned in
3978
 
yes:)
3979
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3980
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3981
 
ac_tool_warned=yes ;;
3982
 
esac
3983
 
    CC=$ac_ct_CC
3984
 
  fi
3985
 
fi
3986
 
 
3987
 
fi
3988
 
 
3989
 
 
3990
 
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3991
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3992
 
as_fn_error "no acceptable C compiler found in \$PATH
3993
 
See \`config.log' for more details." "$LINENO" 5; }
3994
 
 
3995
 
# Provide some information about the compiler.
3996
 
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3997
 
set X $ac_compile
3998
 
ac_compiler=$2
3999
 
for ac_option in --version -v -V -qversion; do
4000
 
  { { ac_try="$ac_compiler $ac_option >&5"
4001
 
case "(($ac_try" in
4002
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4003
 
  *) ac_try_echo=$ac_try;;
4004
 
esac
4005
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4006
 
$as_echo "$ac_try_echo"; } >&5
4007
 
  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4008
 
  ac_status=$?
4009
 
  if test -s conftest.err; then
4010
 
    sed '10a\
4011
 
... rest of stderr output deleted ...
4012
 
         10q' conftest.err >conftest.er1
4013
 
    cat conftest.er1 >&5
4014
 
    rm -f conftest.er1 conftest.err
4015
 
  fi
4016
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4017
 
  test $ac_status = 0; }
4018
 
done
4019
 
 
4020
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4021
 
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4022
 
if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4023
 
  $as_echo_n "(cached) " >&6
4024
 
else
4025
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4026
 
/* end confdefs.h.  */
4027
 
 
4028
 
int
4029
 
main ()
4030
 
{
4031
 
#ifndef __GNUC__
4032
 
       choke me
4033
 
#endif
4034
 
 
4035
 
  ;
4036
 
  return 0;
4037
 
}
4038
 
_ACEOF
4039
 
if ac_fn_c_try_compile "$LINENO"; then :
4040
 
  ac_compiler_gnu=yes
4041
 
else
4042
 
  ac_compiler_gnu=no
4043
 
fi
4044
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4045
 
ac_cv_c_compiler_gnu=$ac_compiler_gnu
4046
 
 
4047
 
fi
4048
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4049
 
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
4050
 
if test $ac_compiler_gnu = yes; then
4051
 
  GCC=yes
4052
 
else
4053
 
  GCC=
4054
 
fi
4055
 
ac_test_CFLAGS=${CFLAGS+set}
4056
 
ac_save_CFLAGS=$CFLAGS
4057
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4058
 
$as_echo_n "checking whether $CC accepts -g... " >&6; }
4059
 
if test "${ac_cv_prog_cc_g+set}" = set; then :
4060
 
  $as_echo_n "(cached) " >&6
4061
 
else
4062
 
  ac_save_c_werror_flag=$ac_c_werror_flag
4063
 
   ac_c_werror_flag=yes
4064
 
   ac_cv_prog_cc_g=no
4065
 
   CFLAGS="-g"
4066
 
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4067
 
/* end confdefs.h.  */
4068
 
 
4069
 
int
4070
 
main ()
4071
 
{
4072
 
 
4073
 
  ;
4074
 
  return 0;
4075
 
}
4076
 
_ACEOF
4077
 
if ac_fn_c_try_compile "$LINENO"; then :
4078
 
  ac_cv_prog_cc_g=yes
4079
 
else
4080
 
  CFLAGS=""
4081
 
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4082
 
/* end confdefs.h.  */
4083
 
 
4084
 
int
4085
 
main ()
4086
 
{
4087
 
 
4088
 
  ;
4089
 
  return 0;
4090
 
}
4091
 
_ACEOF
4092
 
if ac_fn_c_try_compile "$LINENO"; then :
4093
 
 
4094
 
else
4095
 
  ac_c_werror_flag=$ac_save_c_werror_flag
4096
 
         CFLAGS="-g"
4097
 
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4098
 
/* end confdefs.h.  */
4099
 
 
4100
 
int
4101
 
main ()
4102
 
{
4103
 
 
4104
 
  ;
4105
 
  return 0;
4106
 
}
4107
 
_ACEOF
4108
 
if ac_fn_c_try_compile "$LINENO"; then :
4109
 
  ac_cv_prog_cc_g=yes
4110
 
fi
4111
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4112
 
fi
4113
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4114
 
fi
4115
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4116
 
   ac_c_werror_flag=$ac_save_c_werror_flag
4117
 
fi
4118
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4119
 
$as_echo "$ac_cv_prog_cc_g" >&6; }
4120
 
if test "$ac_test_CFLAGS" = set; then
4121
 
  CFLAGS=$ac_save_CFLAGS
4122
 
elif test $ac_cv_prog_cc_g = yes; then
4123
 
  if test "$GCC" = yes; then
4124
 
    CFLAGS="-g -O2"
4125
 
  else
4126
 
    CFLAGS="-g"
4127
 
  fi
4128
 
else
4129
 
  if test "$GCC" = yes; then
4130
 
    CFLAGS="-O2"
4131
 
  else
4132
 
    CFLAGS=
4133
 
  fi
4134
 
fi
4135
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4136
 
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4137
 
if test "${ac_cv_prog_cc_c89+set}" = set; then :
4138
 
  $as_echo_n "(cached) " >&6
4139
 
else
4140
 
  ac_cv_prog_cc_c89=no
4141
 
ac_save_CC=$CC
4142
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4143
 
/* end confdefs.h.  */
4144
 
#include <stdarg.h>
4145
 
#include <stdio.h>
4146
 
#include <sys/types.h>
4147
 
#include <sys/stat.h>
4148
 
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
4149
 
struct buf { int x; };
4150
 
FILE * (*rcsopen) (struct buf *, struct stat *, int);
4151
 
static char *e (p, i)
4152
 
     char **p;
4153
 
     int i;
4154
 
{
4155
 
  return p[i];
4156
 
}
4157
 
static char *f (char * (*g) (char **, int), char **p, ...)
4158
 
{
4159
 
  char *s;
4160
 
  va_list v;
4161
 
  va_start (v,p);
4162
 
  s = g (p, va_arg (v,int));
4163
 
  va_end (v);
4164
 
  return s;
4165
 
}
4166
 
 
4167
 
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
4168
 
   function prototypes and stuff, but not '\xHH' hex character constants.
4169
 
   These don't provoke an error unfortunately, instead are silently treated
4170
 
   as 'x'.  The following induces an error, until -std is added to get
4171
 
   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
4172
 
   array size at least.  It's necessary to write '\x00'==0 to get something
4173
 
   that's true only with -std.  */
4174
 
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4175
 
 
4176
 
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4177
 
   inside strings and character constants.  */
4178
 
#define FOO(x) 'x'
4179
 
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4180
 
 
4181
 
int test (int i, double x);
4182
 
struct s1 {int (*f) (int a);};
4183
 
struct s2 {int (*f) (double a);};
4184
 
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4185
 
int argc;
4186
 
char **argv;
4187
 
int
4188
 
main ()
4189
 
{
4190
 
return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
4191
 
  ;
4192
 
  return 0;
4193
 
}
4194
 
_ACEOF
4195
 
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4196
 
        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4197
 
do
4198
 
  CC="$ac_save_CC $ac_arg"
4199
 
  if ac_fn_c_try_compile "$LINENO"; then :
4200
 
  ac_cv_prog_cc_c89=$ac_arg
4201
 
fi
4202
 
rm -f core conftest.err conftest.$ac_objext
4203
 
  test "x$ac_cv_prog_cc_c89" != "xno" && break
4204
 
done
4205
 
rm -f conftest.$ac_ext
4206
 
CC=$ac_save_CC
4207
 
 
4208
 
fi
4209
 
# AC_CACHE_VAL
4210
 
case "x$ac_cv_prog_cc_c89" in
4211
 
  x)
4212
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4213
 
$as_echo "none needed" >&6; } ;;
4214
 
  xno)
4215
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4216
 
$as_echo "unsupported" >&6; } ;;
4217
 
  *)
4218
 
    CC="$CC $ac_cv_prog_cc_c89"
4219
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4220
 
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4221
 
esac
4222
 
if test "x$ac_cv_prog_cc_c89" != xno; then :
4223
 
 
4224
 
fi
4225
 
 
4226
 
ac_ext=c
4227
 
ac_cpp='$CPP $CPPFLAGS'
4228
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4229
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4230
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4231
 
 
4232
 
depcc="$CC"   am_compiler_list=
4233
 
 
4234
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4235
 
$as_echo_n "checking dependency style of $depcc... " >&6; }
4236
 
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
4237
 
  $as_echo_n "(cached) " >&6
4238
 
else
4239
 
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4240
 
  # We make a subdir and do the tests there.  Otherwise we can end up
4241
 
  # making bogus files that we don't know about and never remove.  For
4242
 
  # instance it was reported that on HP-UX the gcc test will end up
4243
 
  # making a dummy file named `D' -- because `-MD' means `put the output
4244
 
  # in D'.
4245
 
  mkdir conftest.dir
4246
 
  # Copy depcomp to subdir because otherwise we won't find it if we're
4247
 
  # using a relative directory.
4248
 
  cp "$am_depcomp" conftest.dir
4249
 
  cd conftest.dir
4250
 
  # We will build objects and dependencies in a subdirectory because
4251
 
  # it helps to detect inapplicable dependency modes.  For instance
4252
 
  # both Tru64's cc and ICC support -MD to output dependencies as a
4253
 
  # side effect of compilation, but ICC will put the dependencies in
4254
 
  # the current directory while Tru64 will put them in the object
4255
 
  # directory.
4256
 
  mkdir sub
4257
 
 
4258
 
  am_cv_CC_dependencies_compiler_type=none
4259
 
  if test "$am_compiler_list" = ""; then
4260
 
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4261
 
  fi
4262
 
  am__universal=false
4263
 
  case " $depcc " in #(
4264
 
     *\ -arch\ *\ -arch\ *) am__universal=true ;;
4265
 
     esac
4266
 
 
4267
 
  for depmode in $am_compiler_list; do
4268
 
    # Setup a source with many dependencies, because some compilers
4269
 
    # like to wrap large dependency lists on column 80 (with \), and
4270
 
    # we should not choose a depcomp mode which is confused by this.
4271
 
    #
4272
 
    # We need to recreate these files for each test, as the compiler may
4273
 
    # overwrite some of them when testing with obscure command lines.
4274
 
    # This happens at least with the AIX C compiler.
4275
 
    : > sub/conftest.c
4276
 
    for i in 1 2 3 4 5 6; do
4277
 
      echo '#include "conftst'$i'.h"' >> sub/conftest.c
4278
 
      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4279
 
      # Solaris 8's {/usr,}/bin/sh.
4280
 
      touch sub/conftst$i.h
4281
 
    done
4282
 
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4283
 
 
4284
 
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
4285
 
    # mode.  It turns out that the SunPro C++ compiler does not properly
4286
 
    # handle `-M -o', and we need to detect this.  Also, some Intel
4287
 
    # versions had trouble with output in subdirs
4288
 
    am__obj=sub/conftest.${OBJEXT-o}
4289
 
    am__minus_obj="-o $am__obj"
4290
 
    case $depmode in
4291
 
    gcc)
4292
 
      # This depmode causes a compiler race in universal mode.
4293
 
      test "$am__universal" = false || continue
4294
 
      ;;
4295
 
    nosideeffect)
4296
 
      # after this tag, mechanisms are not by side-effect, so they'll
4297
 
      # only be used when explicitly requested
4298
 
      if test "x$enable_dependency_tracking" = xyes; then
4299
 
        continue
4300
 
      else
4301
 
        break
4302
 
      fi
4303
 
      ;;
4304
 
    msvisualcpp | msvcmsys)
4305
 
      # This compiler won't grok `-c -o', but also, the minuso test has
4306
 
      # not run yet.  These depmodes are late enough in the game, and
4307
 
      # so weak that their functioning should not be impacted.
4308
 
      am__obj=conftest.${OBJEXT-o}
4309
 
      am__minus_obj=
4310
 
      ;;
4311
 
    none) break ;;
4312
 
    esac
4313
 
    if depmode=$depmode \
4314
 
       source=sub/conftest.c object=$am__obj \
4315
 
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4316
 
       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4317
 
         >/dev/null 2>conftest.err &&
4318
 
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4319
 
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4320
 
       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4321
 
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4322
 
      # icc doesn't choke on unknown options, it will just issue warnings
4323
 
      # or remarks (even with -Werror).  So we grep stderr for any message
4324
 
      # that says an option was ignored or not supported.
4325
 
      # When given -MP, icc 7.0 and 7.1 complain thusly:
4326
 
      #   icc: Command line warning: ignoring option '-M'; no argument required
4327
 
      # The diagnosis changed in icc 8.0:
4328
 
      #   icc: Command line remark: option '-MP' not supported
4329
 
      if (grep 'ignoring option' conftest.err ||
4330
 
          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4331
 
        am_cv_CC_dependencies_compiler_type=$depmode
4332
 
        break
4333
 
      fi
4334
 
    fi
4335
 
  done
4336
 
 
4337
 
  cd ..
4338
 
  rm -rf conftest.dir
4339
 
else
4340
 
  am_cv_CC_dependencies_compiler_type=none
4341
 
fi
4342
 
 
4343
 
fi
4344
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4345
 
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4346
 
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4347
 
 
4348
 
 if
4349
 
  test "x$enable_dependency_tracking" != xno \
4350
 
  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4351
 
  am__fastdepCC_TRUE=
4352
 
  am__fastdepCC_FALSE='#'
4353
 
else
4354
 
  am__fastdepCC_TRUE='#'
4355
 
  am__fastdepCC_FALSE=
4356
 
fi
4357
 
 
4358
 
 
4359
 
# AC_PROG_RANLIB
4360
 
# Check whether --enable-static was given.
4361
 
if test "${enable_static+set}" = set; then :
4362
 
  enableval=$enable_static; p=${PACKAGE-default}
4363
 
    case $enableval in
4364
 
    yes) enable_static=yes ;;
4365
 
    no) enable_static=no ;;
4366
 
    *)
4367
 
     enable_static=no
4368
 
      # Look at the argument we got.  We use all the common list separators.
4369
 
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
4370
 
      for pkg in $enableval; do
4371
 
        IFS="$lt_save_ifs"
4372
 
        if test "X$pkg" = "X$p"; then
4373
 
          enable_static=yes
4374
 
        fi
4375
 
      done
4376
 
      IFS="$lt_save_ifs"
4377
 
      ;;
4378
 
    esac
4379
 
else
4380
 
  enable_static=no
4381
 
fi
4382
 
 
4383
 
 
4384
 
 
4385
 
 
4386
 
 
4387
 
 
4388
 
# Make sure we can run config.sub.
4389
 
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4390
 
  as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4391
 
 
4392
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4393
 
$as_echo_n "checking build system type... " >&6; }
4394
 
if test "${ac_cv_build+set}" = set; then :
4395
 
  $as_echo_n "(cached) " >&6
4396
 
else
4397
 
  ac_build_alias=$build_alias
4398
 
test "x$ac_build_alias" = x &&
4399
 
  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4400
 
test "x$ac_build_alias" = x &&
4401
 
  as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
4402
 
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4403
 
  as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4404
 
 
4405
 
fi
4406
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4407
 
$as_echo "$ac_cv_build" >&6; }
4408
 
case $ac_cv_build in
4409
 
*-*-*) ;;
4410
 
*) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
4411
 
esac
4412
 
build=$ac_cv_build
4413
 
ac_save_IFS=$IFS; IFS='-'
4414
 
set x $ac_cv_build
4415
 
shift
4416
 
build_cpu=$1
4417
 
build_vendor=$2
4418
 
shift; shift
4419
 
# Remember, the first character of IFS is used to create $*,
4420
 
# except with old shells:
4421
 
build_os=$*
4422
 
IFS=$ac_save_IFS
4423
 
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4424
 
 
4425
 
 
4426
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4427
 
$as_echo_n "checking host system type... " >&6; }
4428
 
if test "${ac_cv_host+set}" = set; then :
4429
 
  $as_echo_n "(cached) " >&6
4430
 
else
4431
 
  if test "x$host_alias" = x; then
4432
 
  ac_cv_host=$ac_cv_build
4433
 
else
4434
 
  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4435
 
    as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4436
 
fi
4437
 
 
4438
 
fi
4439
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4440
 
$as_echo "$ac_cv_host" >&6; }
4441
 
case $ac_cv_host in
4442
 
*-*-*) ;;
4443
 
*) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
4444
 
esac
4445
 
host=$ac_cv_host
4446
 
ac_save_IFS=$IFS; IFS='-'
4447
 
set x $ac_cv_host
4448
 
shift
4449
 
host_cpu=$1
4450
 
host_vendor=$2
4451
 
shift; shift
4452
 
# Remember, the first character of IFS is used to create $*,
4453
 
# except with old shells:
4454
 
host_os=$*
4455
 
IFS=$ac_save_IFS
4456
 
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4457
 
 
4458
 
 
4459
 
enable_win32_dll=yes
4460
 
 
4461
 
case $host in
4462
 
*-*-cygwin* | *-*-mingw* | *-*-pw32* | *-cegcc*)
4463
 
  if test -n "$ac_tool_prefix"; then
4464
 
  # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
4465
 
set dummy ${ac_tool_prefix}as; ac_word=$2
4466
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4467
 
$as_echo_n "checking for $ac_word... " >&6; }
4468
 
if test "${ac_cv_prog_AS+set}" = set; then :
4469
 
  $as_echo_n "(cached) " >&6
4470
 
else
4471
 
  if test -n "$AS"; then
4472
 
  ac_cv_prog_AS="$AS" # Let the user override the test.
4473
 
else
4474
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4475
 
for as_dir in $PATH
4476
 
do
4477
 
  IFS=$as_save_IFS
4478
 
  test -z "$as_dir" && as_dir=.
4479
 
    for ac_exec_ext in '' $ac_executable_extensions; do
4480
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4481
 
    ac_cv_prog_AS="${ac_tool_prefix}as"
4482
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4483
 
    break 2
4484
 
  fi
4485
 
done
4486
 
  done
4487
 
IFS=$as_save_IFS
4488
 
 
4489
 
fi
4490
 
fi
4491
 
AS=$ac_cv_prog_AS
4492
 
if test -n "$AS"; then
4493
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
4494
 
$as_echo "$AS" >&6; }
4495
 
else
4496
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4497
 
$as_echo "no" >&6; }
4498
 
fi
4499
 
 
4500
 
 
4501
 
fi
4502
 
if test -z "$ac_cv_prog_AS"; then
4503
 
  ac_ct_AS=$AS
4504
 
  # Extract the first word of "as", so it can be a program name with args.
4505
 
set dummy as; ac_word=$2
4506
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4507
 
$as_echo_n "checking for $ac_word... " >&6; }
4508
 
if test "${ac_cv_prog_ac_ct_AS+set}" = set; then :
4509
 
  $as_echo_n "(cached) " >&6
4510
 
else
4511
 
  if test -n "$ac_ct_AS"; then
4512
 
  ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
4513
 
else
4514
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4515
 
for as_dir in $PATH
4516
 
do
4517
 
  IFS=$as_save_IFS
4518
 
  test -z "$as_dir" && as_dir=.
4519
 
    for ac_exec_ext in '' $ac_executable_extensions; do
4520
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4521
 
    ac_cv_prog_ac_ct_AS="as"
4522
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4523
 
    break 2
4524
 
  fi
4525
 
done
4526
 
  done
4527
 
IFS=$as_save_IFS
4528
 
 
4529
 
fi
4530
 
fi
4531
 
ac_ct_AS=$ac_cv_prog_ac_ct_AS
4532
 
if test -n "$ac_ct_AS"; then
4533
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
4534
 
$as_echo "$ac_ct_AS" >&6; }
4535
 
else
4536
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4537
 
$as_echo "no" >&6; }
4538
 
fi
4539
 
 
4540
 
  if test "x$ac_ct_AS" = x; then
4541
 
    AS="false"
4542
 
  else
4543
 
    case $cross_compiling:$ac_tool_warned in
4544
 
yes:)
4545
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4546
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4547
 
ac_tool_warned=yes ;;
4548
 
esac
4549
 
    AS=$ac_ct_AS
4550
 
  fi
4551
 
else
4552
 
  AS="$ac_cv_prog_AS"
4553
 
fi
4554
 
 
4555
 
  if test -n "$ac_tool_prefix"; then
4556
 
  # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
4557
 
set dummy ${ac_tool_prefix}dlltool; ac_word=$2
4558
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4559
 
$as_echo_n "checking for $ac_word... " >&6; }
4560
 
if test "${ac_cv_prog_DLLTOOL+set}" = set; then :
4561
 
  $as_echo_n "(cached) " >&6
4562
 
else
4563
 
  if test -n "$DLLTOOL"; then
4564
 
  ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
4565
 
else
4566
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4567
 
for as_dir in $PATH
4568
 
do
4569
 
  IFS=$as_save_IFS
4570
 
  test -z "$as_dir" && as_dir=.
4571
 
    for ac_exec_ext in '' $ac_executable_extensions; do
4572
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4573
 
    ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
4574
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4575
 
    break 2
4576
 
  fi
4577
 
done
4578
 
  done
4579
 
IFS=$as_save_IFS
4580
 
 
4581
 
fi
4582
 
fi
4583
 
DLLTOOL=$ac_cv_prog_DLLTOOL
4584
 
if test -n "$DLLTOOL"; then
4585
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
4586
 
$as_echo "$DLLTOOL" >&6; }
4587
 
else
4588
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4589
 
$as_echo "no" >&6; }
4590
 
fi
4591
 
 
4592
 
 
4593
 
fi
4594
 
if test -z "$ac_cv_prog_DLLTOOL"; then
4595
 
  ac_ct_DLLTOOL=$DLLTOOL
4596
 
  # Extract the first word of "dlltool", so it can be a program name with args.
4597
 
set dummy dlltool; ac_word=$2
4598
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4599
 
$as_echo_n "checking for $ac_word... " >&6; }
4600
 
if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then :
4601
 
  $as_echo_n "(cached) " >&6
4602
 
else
4603
 
  if test -n "$ac_ct_DLLTOOL"; then
4604
 
  ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
4605
 
else
4606
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4607
 
for as_dir in $PATH
4608
 
do
4609
 
  IFS=$as_save_IFS
4610
 
  test -z "$as_dir" && as_dir=.
4611
 
    for ac_exec_ext in '' $ac_executable_extensions; do
4612
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4613
 
    ac_cv_prog_ac_ct_DLLTOOL="dlltool"
4614
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4615
 
    break 2
4616
 
  fi
4617
 
done
4618
 
  done
4619
 
IFS=$as_save_IFS
4620
 
 
4621
 
fi
4622
 
fi
4623
 
ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
4624
 
if test -n "$ac_ct_DLLTOOL"; then
4625
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
4626
 
$as_echo "$ac_ct_DLLTOOL" >&6; }
4627
 
else
4628
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4629
 
$as_echo "no" >&6; }
4630
 
fi
4631
 
 
4632
 
  if test "x$ac_ct_DLLTOOL" = x; then
4633
 
    DLLTOOL="false"
4634
 
  else
4635
 
    case $cross_compiling:$ac_tool_warned in
4636
 
yes:)
4637
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4638
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4639
 
ac_tool_warned=yes ;;
4640
 
esac
4641
 
    DLLTOOL=$ac_ct_DLLTOOL
4642
 
  fi
4643
 
else
4644
 
  DLLTOOL="$ac_cv_prog_DLLTOOL"
4645
 
fi
4646
 
 
4647
 
  if test -n "$ac_tool_prefix"; then
4648
 
  # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
4649
 
set dummy ${ac_tool_prefix}objdump; ac_word=$2
4650
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4651
 
$as_echo_n "checking for $ac_word... " >&6; }
4652
 
if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
4653
 
  $as_echo_n "(cached) " >&6
4654
 
else
4655
 
  if test -n "$OBJDUMP"; then
4656
 
  ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
4657
 
else
4658
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4659
 
for as_dir in $PATH
4660
 
do
4661
 
  IFS=$as_save_IFS
4662
 
  test -z "$as_dir" && as_dir=.
4663
 
    for ac_exec_ext in '' $ac_executable_extensions; do
4664
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4665
 
    ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
4666
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4667
 
    break 2
4668
 
  fi
4669
 
done
4670
 
  done
4671
 
IFS=$as_save_IFS
4672
 
 
4673
 
fi
4674
 
fi
4675
 
OBJDUMP=$ac_cv_prog_OBJDUMP
4676
 
if test -n "$OBJDUMP"; then
4677
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
4678
 
$as_echo "$OBJDUMP" >&6; }
4679
 
else
4680
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4681
 
$as_echo "no" >&6; }
4682
 
fi
4683
 
 
4684
 
 
4685
 
fi
4686
 
if test -z "$ac_cv_prog_OBJDUMP"; then
4687
 
  ac_ct_OBJDUMP=$OBJDUMP
4688
 
  # Extract the first word of "objdump", so it can be a program name with args.
4689
 
set dummy objdump; ac_word=$2
4690
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4691
 
$as_echo_n "checking for $ac_word... " >&6; }
4692
 
if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
4693
 
  $as_echo_n "(cached) " >&6
4694
 
else
4695
 
  if test -n "$ac_ct_OBJDUMP"; then
4696
 
  ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
4697
 
else
4698
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4699
 
for as_dir in $PATH
4700
 
do
4701
 
  IFS=$as_save_IFS
4702
 
  test -z "$as_dir" && as_dir=.
4703
 
    for ac_exec_ext in '' $ac_executable_extensions; do
4704
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4705
 
    ac_cv_prog_ac_ct_OBJDUMP="objdump"
4706
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4707
 
    break 2
4708
 
  fi
4709
 
done
4710
 
  done
4711
 
IFS=$as_save_IFS
4712
 
 
4713
 
fi
4714
 
fi
4715
 
ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
4716
 
if test -n "$ac_ct_OBJDUMP"; then
4717
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
4718
 
$as_echo "$ac_ct_OBJDUMP" >&6; }
4719
 
else
4720
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4721
 
$as_echo "no" >&6; }
4722
 
fi
4723
 
 
4724
 
  if test "x$ac_ct_OBJDUMP" = x; then
4725
 
    OBJDUMP="false"
4726
 
  else
4727
 
    case $cross_compiling:$ac_tool_warned in
4728
 
yes:)
4729
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4730
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4731
 
ac_tool_warned=yes ;;
4732
 
esac
4733
 
    OBJDUMP=$ac_ct_OBJDUMP
4734
 
  fi
4735
 
else
4736
 
  OBJDUMP="$ac_cv_prog_OBJDUMP"
4737
 
fi
4738
 
 
4739
 
  ;;
4740
 
esac
4741
 
 
4742
 
test -z "$AS" && AS=as
4743
 
 
4744
 
 
4745
 
 
4746
 
 
4747
 
 
4748
 
test -z "$DLLTOOL" && DLLTOOL=dlltool
4749
 
 
4750
 
 
4751
 
 
4752
 
 
4753
 
 
4754
 
test -z "$OBJDUMP" && OBJDUMP=objdump
4755
 
 
4756
 
 
4757
 
 
4758
 
 
4759
 
 
4760
 
 
4761
 
 
4762
 
case `pwd` in
4763
 
  *\ * | *\     *)
4764
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4765
 
$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4766
 
esac
4767
 
 
4768
 
 
4769
 
 
4770
 
macro_version='2.2.6'
4771
 
macro_revision='1.3012'
4772
 
 
4773
 
 
4774
 
 
4775
 
 
4776
 
 
4777
 
 
4778
 
 
4779
 
 
4780
 
 
4781
 
 
4782
 
 
4783
 
 
4784
 
 
4785
 
ltmain="$ac_aux_dir/ltmain.sh"
4786
 
 
4787
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4788
 
$as_echo_n "checking for a sed that does not truncate output... " >&6; }
4789
 
if test "${ac_cv_path_SED+set}" = set; then :
4790
 
  $as_echo_n "(cached) " >&6
4791
 
else
4792
 
            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4793
 
     for ac_i in 1 2 3 4 5 6 7; do
4794
 
       ac_script="$ac_script$as_nl$ac_script"
4795
 
     done
4796
 
     echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4797
 
     { ac_script=; unset ac_script;}
4798
 
     if test -z "$SED"; then
4799
 
  ac_path_SED_found=false
4800
 
  # Loop through the user's path and test for each of PROGNAME-LIST
4801
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4802
 
for as_dir in $PATH
4803
 
do
4804
 
  IFS=$as_save_IFS
4805
 
  test -z "$as_dir" && as_dir=.
4806
 
    for ac_prog in sed gsed; do
4807
 
    for ac_exec_ext in '' $ac_executable_extensions; do
4808
 
      ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4809
 
      { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
4810
 
# Check for GNU ac_path_SED and select it if it is found.
4811
 
  # Check for GNU $ac_path_SED
4812
 
case `"$ac_path_SED" --version 2>&1` in
4813
 
*GNU*)
4814
 
  ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4815
 
*)
4816
 
  ac_count=0
4817
 
  $as_echo_n 0123456789 >"conftest.in"
4818
 
  while :
4819
 
  do
4820
 
    cat "conftest.in" "conftest.in" >"conftest.tmp"
4821
 
    mv "conftest.tmp" "conftest.in"
4822
 
    cp "conftest.in" "conftest.nl"
4823
 
    $as_echo '' >> "conftest.nl"
4824
 
    "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4825
 
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4826
 
    as_fn_arith $ac_count + 1 && ac_count=$as_val
4827
 
    if test $ac_count -gt ${ac_path_SED_max-0}; then
4828
 
      # Best one so far, save it but keep looking for a better one
4829
 
      ac_cv_path_SED="$ac_path_SED"
4830
 
      ac_path_SED_max=$ac_count
4831
 
    fi
4832
 
    # 10*(2^10) chars as input seems more than enough
4833
 
    test $ac_count -gt 10 && break
4834
 
  done
4835
 
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4836
 
esac
4837
 
 
4838
 
      $ac_path_SED_found && break 3
4839
 
    done
4840
 
  done
4841
 
  done
4842
 
IFS=$as_save_IFS
4843
 
  if test -z "$ac_cv_path_SED"; then
4844
 
    as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
4845
 
  fi
4846
 
else
4847
 
  ac_cv_path_SED=$SED
4848
 
fi
4849
 
 
4850
 
fi
4851
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4852
 
$as_echo "$ac_cv_path_SED" >&6; }
4853
 
 SED="$ac_cv_path_SED"
4854
 
  rm -f conftest.sed
4855
 
 
4856
 
test -z "$SED" && SED=sed
4857
 
Xsed="$SED -e 1s/^X//"
4858
 
 
4859
 
 
4860
 
 
4861
 
 
4862
 
 
4863
 
 
4864
 
 
4865
 
 
4866
 
 
4867
 
 
4868
 
 
4869
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4870
 
$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4871
 
if test "${ac_cv_path_GREP+set}" = set; then :
4872
 
  $as_echo_n "(cached) " >&6
4873
 
else
4874
 
  if test -z "$GREP"; then
4875
 
  ac_path_GREP_found=false
4876
 
  # Loop through the user's path and test for each of PROGNAME-LIST
4877
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4878
 
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4879
 
do
4880
 
  IFS=$as_save_IFS
4881
 
  test -z "$as_dir" && as_dir=.
4882
 
    for ac_prog in grep ggrep; do
4883
 
    for ac_exec_ext in '' $ac_executable_extensions; do
4884
 
      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4885
 
      { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4886
 
# Check for GNU ac_path_GREP and select it if it is found.
4887
 
  # Check for GNU $ac_path_GREP
4888
 
case `"$ac_path_GREP" --version 2>&1` in
4889
 
*GNU*)
4890
 
  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4891
 
*)
4892
 
  ac_count=0
4893
 
  $as_echo_n 0123456789 >"conftest.in"
4894
 
  while :
4895
 
  do
4896
 
    cat "conftest.in" "conftest.in" >"conftest.tmp"
4897
 
    mv "conftest.tmp" "conftest.in"
4898
 
    cp "conftest.in" "conftest.nl"
4899
 
    $as_echo 'GREP' >> "conftest.nl"
4900
 
    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4901
 
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4902
 
    as_fn_arith $ac_count + 1 && ac_count=$as_val
4903
 
    if test $ac_count -gt ${ac_path_GREP_max-0}; then
4904
 
      # Best one so far, save it but keep looking for a better one
4905
 
      ac_cv_path_GREP="$ac_path_GREP"
4906
 
      ac_path_GREP_max=$ac_count
4907
 
    fi
4908
 
    # 10*(2^10) chars as input seems more than enough
4909
 
    test $ac_count -gt 10 && break
4910
 
  done
4911
 
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4912
 
esac
4913
 
 
4914
 
      $ac_path_GREP_found && break 3
4915
 
    done
4916
 
  done
4917
 
  done
4918
 
IFS=$as_save_IFS
4919
 
  if test -z "$ac_cv_path_GREP"; then
4920
 
    as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4921
 
  fi
4922
 
else
4923
 
  ac_cv_path_GREP=$GREP
4924
 
fi
4925
 
 
4926
 
fi
4927
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4928
 
$as_echo "$ac_cv_path_GREP" >&6; }
4929
 
 GREP="$ac_cv_path_GREP"
4930
 
 
4931
 
 
4932
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4933
 
$as_echo_n "checking for egrep... " >&6; }
4934
 
if test "${ac_cv_path_EGREP+set}" = set; then :
4935
 
  $as_echo_n "(cached) " >&6
4936
 
else
4937
 
  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4938
 
   then ac_cv_path_EGREP="$GREP -E"
4939
 
   else
4940
 
     if test -z "$EGREP"; then
4941
 
  ac_path_EGREP_found=false
4942
 
  # Loop through the user's path and test for each of PROGNAME-LIST
4943
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4944
 
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4945
 
do
4946
 
  IFS=$as_save_IFS
4947
 
  test -z "$as_dir" && as_dir=.
4948
 
    for ac_prog in egrep; do
4949
 
    for ac_exec_ext in '' $ac_executable_extensions; do
4950
 
      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4951
 
      { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4952
 
# Check for GNU ac_path_EGREP and select it if it is found.
4953
 
  # Check for GNU $ac_path_EGREP
4954
 
case `"$ac_path_EGREP" --version 2>&1` in
4955
 
*GNU*)
4956
 
  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4957
 
*)
4958
 
  ac_count=0
4959
 
  $as_echo_n 0123456789 >"conftest.in"
4960
 
  while :
4961
 
  do
4962
 
    cat "conftest.in" "conftest.in" >"conftest.tmp"
4963
 
    mv "conftest.tmp" "conftest.in"
4964
 
    cp "conftest.in" "conftest.nl"
4965
 
    $as_echo 'EGREP' >> "conftest.nl"
4966
 
    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4967
 
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4968
 
    as_fn_arith $ac_count + 1 && ac_count=$as_val
4969
 
    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4970
 
      # Best one so far, save it but keep looking for a better one
4971
 
      ac_cv_path_EGREP="$ac_path_EGREP"
4972
 
      ac_path_EGREP_max=$ac_count
4973
 
    fi
4974
 
    # 10*(2^10) chars as input seems more than enough
4975
 
    test $ac_count -gt 10 && break
4976
 
  done
4977
 
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4978
 
esac
4979
 
 
4980
 
      $ac_path_EGREP_found && break 3
4981
 
    done
4982
 
  done
4983
 
  done
4984
 
IFS=$as_save_IFS
4985
 
  if test -z "$ac_cv_path_EGREP"; then
4986
 
    as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4987
 
  fi
4988
 
else
4989
 
  ac_cv_path_EGREP=$EGREP
4990
 
fi
4991
 
 
4992
 
   fi
4993
 
fi
4994
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4995
 
$as_echo "$ac_cv_path_EGREP" >&6; }
4996
 
 EGREP="$ac_cv_path_EGREP"
4997
 
 
4998
 
 
4999
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5000
 
$as_echo_n "checking for fgrep... " >&6; }
5001
 
if test "${ac_cv_path_FGREP+set}" = set; then :
5002
 
  $as_echo_n "(cached) " >&6
5003
 
else
5004
 
  if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5005
 
   then ac_cv_path_FGREP="$GREP -F"
5006
 
   else
5007
 
     if test -z "$FGREP"; then
5008
 
  ac_path_FGREP_found=false
5009
 
  # Loop through the user's path and test for each of PROGNAME-LIST
5010
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5011
 
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5012
 
do
5013
 
  IFS=$as_save_IFS
5014
 
  test -z "$as_dir" && as_dir=.
5015
 
    for ac_prog in fgrep; do
5016
 
    for ac_exec_ext in '' $ac_executable_extensions; do
5017
 
      ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5018
 
      { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
5019
 
# Check for GNU ac_path_FGREP and select it if it is found.
5020
 
  # Check for GNU $ac_path_FGREP
5021
 
case `"$ac_path_FGREP" --version 2>&1` in
5022
 
*GNU*)
5023
 
  ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5024
 
*)
5025
 
  ac_count=0
5026
 
  $as_echo_n 0123456789 >"conftest.in"
5027
 
  while :
5028
 
  do
5029
 
    cat "conftest.in" "conftest.in" >"conftest.tmp"
5030
 
    mv "conftest.tmp" "conftest.in"
5031
 
    cp "conftest.in" "conftest.nl"
5032
 
    $as_echo 'FGREP' >> "conftest.nl"
5033
 
    "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5034
 
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5035
 
    as_fn_arith $ac_count + 1 && ac_count=$as_val
5036
 
    if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5037
 
      # Best one so far, save it but keep looking for a better one
5038
 
      ac_cv_path_FGREP="$ac_path_FGREP"
5039
 
      ac_path_FGREP_max=$ac_count
5040
 
    fi
5041
 
    # 10*(2^10) chars as input seems more than enough
5042
 
    test $ac_count -gt 10 && break
5043
 
  done
5044
 
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5045
 
esac
5046
 
 
5047
 
      $ac_path_FGREP_found && break 3
5048
 
    done
5049
 
  done
5050
 
  done
5051
 
IFS=$as_save_IFS
5052
 
  if test -z "$ac_cv_path_FGREP"; then
5053
 
    as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5054
 
  fi
5055
 
else
5056
 
  ac_cv_path_FGREP=$FGREP
5057
 
fi
5058
 
 
5059
 
   fi
5060
 
fi
5061
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5062
 
$as_echo "$ac_cv_path_FGREP" >&6; }
5063
 
 FGREP="$ac_cv_path_FGREP"
5064
 
 
5065
 
 
5066
 
test -z "$GREP" && GREP=grep
5067
 
 
5068
 
 
5069
 
 
5070
 
 
5071
 
 
5072
 
 
5073
 
 
5074
 
 
5075
 
 
5076
 
 
5077
 
 
5078
 
 
5079
 
 
5080
 
 
5081
 
 
5082
 
 
5083
 
 
5084
 
 
5085
 
 
5086
 
# Check whether --with-gnu-ld was given.
5087
 
if test "${with_gnu_ld+set}" = set; then :
5088
 
  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5089
 
else
5090
 
  with_gnu_ld=no
5091
 
fi
5092
 
 
5093
 
ac_prog=ld
5094
 
if test "$GCC" = yes; then
5095
 
  # Check if gcc -print-prog-name=ld gives a path.
5096
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5097
 
$as_echo_n "checking for ld used by $CC... " >&6; }
5098
 
  case $host in
5099
 
  *-*-mingw*)
5100
 
    # gcc leaves a trailing carriage return which upsets mingw
5101
 
    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5102
 
  *)
5103
 
    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5104
 
  esac
5105
 
  case $ac_prog in
5106
 
    # Accept absolute paths.
5107
 
    [\\/]* | ?:[\\/]*)
5108
 
      re_direlt='/[^/][^/]*/\.\./'
5109
 
      # Canonicalize the pathname of ld
5110
 
      ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5111
 
      while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5112
 
        ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5113
 
      done
5114
 
      test -z "$LD" && LD="$ac_prog"
5115
 
      ;;
5116
 
  "")
5117
 
    # If it fails, then pretend we aren't using GCC.
5118
 
    ac_prog=ld
5119
 
    ;;
5120
 
  *)
5121
 
    # If it is relative, then search for the first ld in PATH.
5122
 
    with_gnu_ld=unknown
5123
 
    ;;
5124
 
  esac
5125
 
elif test "$with_gnu_ld" = yes; then
5126
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5127
 
$as_echo_n "checking for GNU ld... " >&6; }
5128
 
else
5129
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5130
 
$as_echo_n "checking for non-GNU ld... " >&6; }
5131
 
fi
5132
 
if test "${lt_cv_path_LD+set}" = set; then :
5133
 
  $as_echo_n "(cached) " >&6
5134
 
else
5135
 
  if test -z "$LD"; then
5136
 
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5137
 
  for ac_dir in $PATH; do
5138
 
    IFS="$lt_save_ifs"
5139
 
    test -z "$ac_dir" && ac_dir=.
5140
 
    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5141
 
      lt_cv_path_LD="$ac_dir/$ac_prog"
5142
 
      # Check to see if the program is GNU ld.  I'd rather use --version,
5143
 
      # but apparently some variants of GNU ld only accept -v.
5144
 
      # Break only if it was the GNU/non-GNU ld that we prefer.
5145
 
      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5146
 
      *GNU* | *'with BFD'*)
5147
 
        test "$with_gnu_ld" != no && break
5148
 
        ;;
5149
 
      *)
5150
 
        test "$with_gnu_ld" != yes && break
5151
 
        ;;
5152
 
      esac
5153
 
    fi
5154
 
  done
5155
 
  IFS="$lt_save_ifs"
5156
 
else
5157
 
  lt_cv_path_LD="$LD" # Let the user override the test with a path.
5158
 
fi
5159
 
fi
5160
 
 
5161
 
LD="$lt_cv_path_LD"
5162
 
if test -n "$LD"; then
5163
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5164
 
$as_echo "$LD" >&6; }
5165
 
else
5166
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5167
 
$as_echo "no" >&6; }
5168
 
fi
5169
 
test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
5170
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5171
 
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5172
 
if test "${lt_cv_prog_gnu_ld+set}" = set; then :
5173
 
  $as_echo_n "(cached) " >&6
5174
 
else
5175
 
  # I'd rather use --version here, but apparently some GNU lds only accept -v.
5176
 
case `$LD -v 2>&1 </dev/null` in
5177
 
*GNU* | *'with BFD'*)
5178
 
  lt_cv_prog_gnu_ld=yes
5179
 
  ;;
5180
 
*)
5181
 
  lt_cv_prog_gnu_ld=no
5182
 
  ;;
5183
 
esac
5184
 
fi
5185
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5186
 
$as_echo "$lt_cv_prog_gnu_ld" >&6; }
5187
 
with_gnu_ld=$lt_cv_prog_gnu_ld
5188
 
 
5189
 
 
5190
 
 
5191
 
 
5192
 
 
5193
 
 
5194
 
 
5195
 
 
5196
 
 
5197
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5198
 
$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5199
 
if test "${lt_cv_path_NM+set}" = set; then :
5200
 
  $as_echo_n "(cached) " >&6
5201
 
else
5202
 
  if test -n "$NM"; then
5203
 
  # Let the user override the test.
5204
 
  lt_cv_path_NM="$NM"
5205
 
else
5206
 
  lt_nm_to_check="${ac_tool_prefix}nm"
5207
 
  if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5208
 
    lt_nm_to_check="$lt_nm_to_check nm"
5209
 
  fi
5210
 
  for lt_tmp_nm in $lt_nm_to_check; do
5211
 
    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5212
 
    for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5213
 
      IFS="$lt_save_ifs"
5214
 
      test -z "$ac_dir" && ac_dir=.
5215
 
      tmp_nm="$ac_dir/$lt_tmp_nm"
5216
 
      if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5217
 
        # Check to see if the nm accepts a BSD-compat flag.
5218
 
        # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5219
 
        #   nm: unknown option "B" ignored
5220
 
        # Tru64's nm complains that /dev/null is an invalid object file
5221
 
        case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5222
 
        */dev/null* | *'Invalid file or object type'*)
5223
 
          lt_cv_path_NM="$tmp_nm -B"
5224
 
          break
5225
 
          ;;
5226
 
        *)
5227
 
          case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5228
 
          */dev/null*)
5229
 
            lt_cv_path_NM="$tmp_nm -p"
5230
 
            break
5231
 
            ;;
5232
 
          *)
5233
 
            lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5234
 
            continue # so that we can try to find one that supports BSD flags
5235
 
            ;;
5236
 
          esac
5237
 
          ;;
5238
 
        esac
5239
 
      fi
5240
 
    done
5241
 
    IFS="$lt_save_ifs"
5242
 
  done
5243
 
  : ${lt_cv_path_NM=no}
5244
 
fi
5245
 
fi
5246
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5247
 
$as_echo "$lt_cv_path_NM" >&6; }
5248
 
if test "$lt_cv_path_NM" != "no"; then
5249
 
  NM="$lt_cv_path_NM"
5250
 
else
5251
 
  # Didn't find any BSD compatible name lister, look for dumpbin.
5252
 
  if test -n "$ac_tool_prefix"; then
5253
 
  for ac_prog in "dumpbin -symbols" "link -dump -symbols"
5254
 
  do
5255
 
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5256
 
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5257
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5258
 
$as_echo_n "checking for $ac_word... " >&6; }
5259
 
if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
5260
 
  $as_echo_n "(cached) " >&6
5261
 
else
5262
 
  if test -n "$DUMPBIN"; then
5263
 
  ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5264
 
else
5265
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5266
 
for as_dir in $PATH
5267
 
do
5268
 
  IFS=$as_save_IFS
5269
 
  test -z "$as_dir" && as_dir=.
5270
 
    for ac_exec_ext in '' $ac_executable_extensions; do
5271
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5272
 
    ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5273
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5274
 
    break 2
5275
 
  fi
5276
 
done
5277
 
  done
5278
 
IFS=$as_save_IFS
5279
 
 
5280
 
fi
5281
 
fi
5282
 
DUMPBIN=$ac_cv_prog_DUMPBIN
5283
 
if test -n "$DUMPBIN"; then
5284
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5285
 
$as_echo "$DUMPBIN" >&6; }
5286
 
else
5287
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5288
 
$as_echo "no" >&6; }
5289
 
fi
5290
 
 
5291
 
 
5292
 
    test -n "$DUMPBIN" && break
5293
 
  done
5294
 
fi
5295
 
if test -z "$DUMPBIN"; then
5296
 
  ac_ct_DUMPBIN=$DUMPBIN
5297
 
  for ac_prog in "dumpbin -symbols" "link -dump -symbols"
5298
 
do
5299
 
  # Extract the first word of "$ac_prog", so it can be a program name with args.
5300
 
set dummy $ac_prog; ac_word=$2
5301
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5302
 
$as_echo_n "checking for $ac_word... " >&6; }
5303
 
if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
5304
 
  $as_echo_n "(cached) " >&6
5305
 
else
5306
 
  if test -n "$ac_ct_DUMPBIN"; then
5307
 
  ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5308
 
else
5309
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5310
 
for as_dir in $PATH
5311
 
do
5312
 
  IFS=$as_save_IFS
5313
 
  test -z "$as_dir" && as_dir=.
5314
 
    for ac_exec_ext in '' $ac_executable_extensions; do
5315
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5316
 
    ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5317
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5318
 
    break 2
5319
 
  fi
5320
 
done
5321
 
  done
5322
 
IFS=$as_save_IFS
5323
 
 
5324
 
fi
5325
 
fi
5326
 
ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5327
 
if test -n "$ac_ct_DUMPBIN"; then
5328
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5329
 
$as_echo "$ac_ct_DUMPBIN" >&6; }
5330
 
else
5331
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5332
 
$as_echo "no" >&6; }
5333
 
fi
5334
 
 
5335
 
 
5336
 
  test -n "$ac_ct_DUMPBIN" && break
5337
 
done
5338
 
 
5339
 
  if test "x$ac_ct_DUMPBIN" = x; then
5340
 
    DUMPBIN=":"
5341
 
  else
5342
 
    case $cross_compiling:$ac_tool_warned in
5343
 
yes:)
5344
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5345
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5346
 
ac_tool_warned=yes ;;
5347
 
esac
5348
 
    DUMPBIN=$ac_ct_DUMPBIN
5349
 
  fi
5350
 
fi
5351
 
 
5352
 
 
5353
 
  if test "$DUMPBIN" != ":"; then
5354
 
    NM="$DUMPBIN"
5355
 
  fi
5356
 
fi
5357
 
test -z "$NM" && NM=nm
5358
 
 
5359
 
 
5360
 
 
5361
 
 
5362
 
 
5363
 
 
5364
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5365
 
$as_echo_n "checking the name lister ($NM) interface... " >&6; }
5366
 
if test "${lt_cv_nm_interface+set}" = set; then :
5367
 
  $as_echo_n "(cached) " >&6
5368
 
else
5369
 
  lt_cv_nm_interface="BSD nm"
5370
 
  echo "int some_variable = 0;" > conftest.$ac_ext
5371
 
  (eval echo "\"\$as_me:5371: $ac_compile\"" >&5)
5372
 
  (eval "$ac_compile" 2>conftest.err)
5373
 
  cat conftest.err >&5
5374
 
  (eval echo "\"\$as_me:5374: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5375
 
  (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5376
 
  cat conftest.err >&5
5377
 
  (eval echo "\"\$as_me:5377: output\"" >&5)
5378
 
  cat conftest.out >&5
5379
 
  if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5380
 
    lt_cv_nm_interface="MS dumpbin"
5381
 
  fi
5382
 
  rm -f conftest*
5383
 
fi
5384
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5385
 
$as_echo "$lt_cv_nm_interface" >&6; }
5386
 
 
5387
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5388
 
$as_echo_n "checking whether ln -s works... " >&6; }
5389
 
LN_S=$as_ln_s
5390
 
if test "$LN_S" = "ln -s"; then
5391
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5392
 
$as_echo "yes" >&6; }
5393
 
else
5394
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5395
 
$as_echo "no, using $LN_S" >&6; }
5396
 
fi
5397
 
 
5398
 
# find the maximum length of command line arguments
5399
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5400
 
$as_echo_n "checking the maximum length of command line arguments... " >&6; }
5401
 
if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
5402
 
  $as_echo_n "(cached) " >&6
5403
 
else
5404
 
    i=0
5405
 
  teststring="ABCD"
5406
 
 
5407
 
  case $build_os in
5408
 
  msdosdjgpp*)
5409
 
    # On DJGPP, this test can blow up pretty badly due to problems in libc
5410
 
    # (any single argument exceeding 2000 bytes causes a buffer overrun
5411
 
    # during glob expansion).  Even if it were fixed, the result of this
5412
 
    # check would be larger than it should be.
5413
 
    lt_cv_sys_max_cmd_len=12288;    # 12K is about right
5414
 
    ;;
5415
 
 
5416
 
  gnu*)
5417
 
    # Under GNU Hurd, this test is not required because there is
5418
 
    # no limit to the length of command line arguments.
5419
 
    # Libtool will interpret -1 as no limit whatsoever
5420
 
    lt_cv_sys_max_cmd_len=-1;
5421
 
    ;;
5422
 
 
5423
 
  cygwin* | mingw* | cegcc*)
5424
 
    # On Win9x/ME, this test blows up -- it succeeds, but takes
5425
 
    # about 5 minutes as the teststring grows exponentially.
5426
 
    # Worse, since 9x/ME are not pre-emptively multitasking,
5427
 
    # you end up with a "frozen" computer, even though with patience
5428
 
    # the test eventually succeeds (with a max line length of 256k).
5429
 
    # Instead, let's just punt: use the minimum linelength reported by
5430
 
    # all of the supported platforms: 8192 (on NT/2K/XP).
5431
 
    lt_cv_sys_max_cmd_len=8192;
5432
 
    ;;
5433
 
 
5434
 
  amigaos*)
5435
 
    # On AmigaOS with pdksh, this test takes hours, literally.
5436
 
    # So we just punt and use a minimum line length of 8192.
5437
 
    lt_cv_sys_max_cmd_len=8192;
5438
 
    ;;
5439
 
 
5440
 
  netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5441
 
    # This has been around since 386BSD, at least.  Likely further.
5442
 
    if test -x /sbin/sysctl; then
5443
 
      lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5444
 
    elif test -x /usr/sbin/sysctl; then
5445
 
      lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5446
 
    else
5447
 
      lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
5448
 
    fi
5449
 
    # And add a safety zone
5450
 
    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5451
 
    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5452
 
    ;;
5453
 
 
5454
 
  interix*)
5455
 
    # We know the value 262144 and hardcode it with a safety zone (like BSD)
5456
 
    lt_cv_sys_max_cmd_len=196608
5457
 
    ;;
5458
 
 
5459
 
  osf*)
5460
 
    # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5461
 
    # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5462
 
    # nice to cause kernel panics so lets avoid the loop below.
5463
 
    # First set a reasonable default.
5464
 
    lt_cv_sys_max_cmd_len=16384
5465
 
    #
5466
 
    if test -x /sbin/sysconfig; then
5467
 
      case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5468
 
        *1*) lt_cv_sys_max_cmd_len=-1 ;;
5469
 
      esac
5470
 
    fi
5471
 
    ;;
5472
 
  sco3.2v5*)
5473
 
    lt_cv_sys_max_cmd_len=102400
5474
 
    ;;
5475
 
  sysv5* | sco5v6* | sysv4.2uw2*)
5476
 
    kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5477
 
    if test -n "$kargmax"; then
5478
 
      lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[  ]//'`
5479
 
    else
5480
 
      lt_cv_sys_max_cmd_len=32768
5481
 
    fi
5482
 
    ;;
5483
 
  *)
5484
 
    lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5485
 
    if test -n "$lt_cv_sys_max_cmd_len"; then
5486
 
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5487
 
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5488
 
    else
5489
 
      # Make teststring a little bigger before we do anything with it.
5490
 
      # a 1K string should be a reasonable start.
5491
 
      for i in 1 2 3 4 5 6 7 8 ; do
5492
 
        teststring=$teststring$teststring
5493
 
      done
5494
 
      SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5495
 
      # If test is not a shell built-in, we'll probably end up computing a
5496
 
      # maximum length that is only half of the actual maximum length, but
5497
 
      # we can't tell.
5498
 
      while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
5499
 
                 = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
5500
 
              test $i != 17 # 1/2 MB should be enough
5501
 
      do
5502
 
        i=`expr $i + 1`
5503
 
        teststring=$teststring$teststring
5504
 
      done
5505
 
      # Only check the string length outside the loop.
5506
 
      lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5507
 
      teststring=
5508
 
      # Add a significant safety factor because C++ compilers can tack on
5509
 
      # massive amounts of additional arguments before passing them to the
5510
 
      # linker.  It appears as though 1/2 is a usable value.
5511
 
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5512
 
    fi
5513
 
    ;;
5514
 
  esac
5515
 
 
5516
 
fi
5517
 
 
5518
 
if test -n $lt_cv_sys_max_cmd_len ; then
5519
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5520
 
$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5521
 
else
5522
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5523
 
$as_echo "none" >&6; }
5524
 
fi
5525
 
max_cmd_len=$lt_cv_sys_max_cmd_len
5526
 
 
5527
 
 
5528
 
 
5529
 
 
5530
 
 
5531
 
 
5532
 
: ${CP="cp -f"}
5533
 
: ${MV="mv -f"}
5534
 
: ${RM="rm -f"}
5535
 
 
5536
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5537
 
$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5538
 
# Try some XSI features
5539
 
xsi_shell=no
5540
 
( _lt_dummy="a/b/c"
5541
 
  test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
5542
 
      = c,a/b,, \
5543
 
    && eval 'test $(( 1 + 1 )) -eq 2 \
5544
 
    && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5545
 
  && xsi_shell=yes
5546
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5547
 
$as_echo "$xsi_shell" >&6; }
5548
 
 
5549
 
 
5550
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5551
 
$as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5552
 
lt_shell_append=no
5553
 
( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5554
 
    >/dev/null 2>&1 \
5555
 
  && lt_shell_append=yes
5556
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5557
 
$as_echo "$lt_shell_append" >&6; }
5558
 
 
5559
 
 
5560
 
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5561
 
  lt_unset=unset
5562
 
else
5563
 
  lt_unset=false
5564
 
fi
5565
 
 
5566
 
 
5567
 
 
5568
 
 
5569
 
 
5570
 
# test EBCDIC or ASCII
5571
 
case `echo X|tr X '\101'` in
5572
 
 A) # ASCII based system
5573
 
    # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5574
 
  lt_SP2NL='tr \040 \012'
5575
 
  lt_NL2SP='tr \015\012 \040\040'
5576
 
  ;;
5577
 
 *) # EBCDIC based system
5578
 
  lt_SP2NL='tr \100 \n'
5579
 
  lt_NL2SP='tr \r\n \100\100'
5580
 
  ;;
5581
 
esac
5582
 
 
5583
 
 
5584
 
 
5585
 
 
5586
 
 
5587
 
 
5588
 
 
5589
 
 
5590
 
 
5591
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5592
 
$as_echo_n "checking for $LD option to reload object files... " >&6; }
5593
 
if test "${lt_cv_ld_reload_flag+set}" = set; then :
5594
 
  $as_echo_n "(cached) " >&6
5595
 
else
5596
 
  lt_cv_ld_reload_flag='-r'
5597
 
fi
5598
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5599
 
$as_echo "$lt_cv_ld_reload_flag" >&6; }
5600
 
reload_flag=$lt_cv_ld_reload_flag
5601
 
case $reload_flag in
5602
 
"" | " "*) ;;
5603
 
*) reload_flag=" $reload_flag" ;;
5604
 
esac
5605
 
reload_cmds='$LD$reload_flag -o $output$reload_objs'
5606
 
case $host_os in
5607
 
  darwin*)
5608
 
    if test "$GCC" = yes; then
5609
 
      reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5610
 
    else
5611
 
      reload_cmds='$LD$reload_flag -o $output$reload_objs'
5612
 
    fi
5613
 
    ;;
5614
 
esac
5615
 
 
5616
 
 
5617
 
 
5618
 
 
5619
 
 
5620
 
 
5621
 
 
5622
 
 
5623
 
 
5624
 
if test -n "$ac_tool_prefix"; then
5625
 
  # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5626
 
set dummy ${ac_tool_prefix}objdump; ac_word=$2
5627
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5628
 
$as_echo_n "checking for $ac_word... " >&6; }
5629
 
if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
5630
 
  $as_echo_n "(cached) " >&6
5631
 
else
5632
 
  if test -n "$OBJDUMP"; then
5633
 
  ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5634
 
else
5635
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5636
 
for as_dir in $PATH
5637
 
do
5638
 
  IFS=$as_save_IFS
5639
 
  test -z "$as_dir" && as_dir=.
5640
 
    for ac_exec_ext in '' $ac_executable_extensions; do
5641
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5642
 
    ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5643
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5644
 
    break 2
5645
 
  fi
5646
 
done
5647
 
  done
5648
 
IFS=$as_save_IFS
5649
 
 
5650
 
fi
5651
 
fi
5652
 
OBJDUMP=$ac_cv_prog_OBJDUMP
5653
 
if test -n "$OBJDUMP"; then
5654
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5655
 
$as_echo "$OBJDUMP" >&6; }
5656
 
else
5657
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5658
 
$as_echo "no" >&6; }
5659
 
fi
5660
 
 
5661
 
 
5662
 
fi
5663
 
if test -z "$ac_cv_prog_OBJDUMP"; then
5664
 
  ac_ct_OBJDUMP=$OBJDUMP
5665
 
  # Extract the first word of "objdump", so it can be a program name with args.
5666
 
set dummy objdump; ac_word=$2
5667
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5668
 
$as_echo_n "checking for $ac_word... " >&6; }
5669
 
if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
5670
 
  $as_echo_n "(cached) " >&6
5671
 
else
5672
 
  if test -n "$ac_ct_OBJDUMP"; then
5673
 
  ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5674
 
else
5675
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5676
 
for as_dir in $PATH
5677
 
do
5678
 
  IFS=$as_save_IFS
5679
 
  test -z "$as_dir" && as_dir=.
5680
 
    for ac_exec_ext in '' $ac_executable_extensions; do
5681
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5682
 
    ac_cv_prog_ac_ct_OBJDUMP="objdump"
5683
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5684
 
    break 2
5685
 
  fi
5686
 
done
5687
 
  done
5688
 
IFS=$as_save_IFS
5689
 
 
5690
 
fi
5691
 
fi
5692
 
ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5693
 
if test -n "$ac_ct_OBJDUMP"; then
5694
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5695
 
$as_echo "$ac_ct_OBJDUMP" >&6; }
5696
 
else
5697
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5698
 
$as_echo "no" >&6; }
5699
 
fi
5700
 
 
5701
 
  if test "x$ac_ct_OBJDUMP" = x; then
5702
 
    OBJDUMP="false"
5703
 
  else
5704
 
    case $cross_compiling:$ac_tool_warned in
5705
 
yes:)
5706
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5707
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5708
 
ac_tool_warned=yes ;;
5709
 
esac
5710
 
    OBJDUMP=$ac_ct_OBJDUMP
5711
 
  fi
5712
 
else
5713
 
  OBJDUMP="$ac_cv_prog_OBJDUMP"
5714
 
fi
5715
 
 
5716
 
test -z "$OBJDUMP" && OBJDUMP=objdump
5717
 
 
5718
 
 
5719
 
 
5720
 
 
5721
 
 
5722
 
 
5723
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5724
 
$as_echo_n "checking how to recognize dependent libraries... " >&6; }
5725
 
if test "${lt_cv_deplibs_check_method+set}" = set; then :
5726
 
  $as_echo_n "(cached) " >&6
5727
 
else
5728
 
  lt_cv_file_magic_cmd='$MAGIC_CMD'
5729
 
lt_cv_file_magic_test_file=
5730
 
lt_cv_deplibs_check_method='unknown'
5731
 
# Need to set the preceding variable on all platforms that support
5732
 
# interlibrary dependencies.
5733
 
# 'none' -- dependencies not supported.
5734
 
# `unknown' -- same as none, but documents that we really don't know.
5735
 
# 'pass_all' -- all dependencies passed with no checks.
5736
 
# 'test_compile' -- check by making test program.
5737
 
# 'file_magic [[regex]]' -- check by looking for files in library path
5738
 
# which responds to the $file_magic_cmd with a given extended regex.
5739
 
# If you have `file' or equivalent on your system and you're not sure
5740
 
# whether `pass_all' will *always* work, you probably want this one.
5741
 
 
5742
 
case $host_os in
5743
 
aix[4-9]*)
5744
 
  lt_cv_deplibs_check_method=pass_all
5745
 
  ;;
5746
 
 
5747
 
beos*)
5748
 
  lt_cv_deplibs_check_method=pass_all
5749
 
  ;;
5750
 
 
5751
 
bsdi[45]*)
5752
 
  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5753
 
  lt_cv_file_magic_cmd='/usr/bin/file -L'
5754
 
  lt_cv_file_magic_test_file=/shlib/libc.so
5755
 
  ;;
5756
 
 
5757
 
cygwin*)
5758
 
  # func_win32_libid is a shell function defined in ltmain.sh
5759
 
  lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5760
 
  lt_cv_file_magic_cmd='func_win32_libid'
5761
 
  ;;
5762
 
 
5763
 
mingw* | pw32*)
5764
 
  # Base MSYS/MinGW do not provide the 'file' command needed by
5765
 
  # func_win32_libid shell function, so use a weaker test based on 'objdump',
5766
 
  # unless we find 'file', for example because we are cross-compiling.
5767
 
  if ( file / ) >/dev/null 2>&1; then
5768
 
    lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5769
 
    lt_cv_file_magic_cmd='func_win32_libid'
5770
 
  else
5771
 
    lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
5772
 
    lt_cv_file_magic_cmd='$OBJDUMP -f'
5773
 
  fi
5774
 
  ;;
5775
 
 
5776
 
cegcc)
5777
 
  # use the weaker test based on 'objdump'. See mingw*.
5778
 
  lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5779
 
  lt_cv_file_magic_cmd='$OBJDUMP -f'
5780
 
  ;;
5781
 
 
5782
 
darwin* | rhapsody*)
5783
 
  lt_cv_deplibs_check_method=pass_all
5784
 
  ;;
5785
 
 
5786
 
freebsd* | dragonfly*)
5787
 
  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5788
 
    case $host_cpu in
5789
 
    i*86 )
5790
 
      # Not sure whether the presence of OpenBSD here was a mistake.
5791
 
      # Let's accept both of them until this is cleared up.
5792
 
      lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5793
 
      lt_cv_file_magic_cmd=/usr/bin/file
5794
 
      lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5795
 
      ;;
5796
 
    esac
5797
 
  else
5798
 
    lt_cv_deplibs_check_method=pass_all
5799
 
  fi
5800
 
  ;;
5801
 
 
5802
 
gnu*)
5803
 
  lt_cv_deplibs_check_method=pass_all
5804
 
  ;;
5805
 
 
5806
 
hpux10.20* | hpux11*)
5807
 
  lt_cv_file_magic_cmd=/usr/bin/file
5808
 
  case $host_cpu in
5809
 
  ia64*)
5810
 
    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5811
 
    lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5812
 
    ;;
5813
 
  hppa*64*)
5814
 
    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]'
5815
 
    lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5816
 
    ;;
5817
 
  *)
5818
 
    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
5819
 
    lt_cv_file_magic_test_file=/usr/lib/libc.sl
5820
 
    ;;
5821
 
  esac
5822
 
  ;;
5823
 
 
5824
 
interix[3-9]*)
5825
 
  # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5826
 
  lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5827
 
  ;;
5828
 
 
5829
 
irix5* | irix6* | nonstopux*)
5830
 
  case $LD in
5831
 
  *-32|*"-32 ") libmagic=32-bit;;
5832
 
  *-n32|*"-n32 ") libmagic=N32;;
5833
 
  *-64|*"-64 ") libmagic=64-bit;;
5834
 
  *) libmagic=never-match;;
5835
 
  esac
5836
 
  lt_cv_deplibs_check_method=pass_all
5837
 
  ;;
5838
 
 
5839
 
# This must be Linux ELF.
5840
 
linux* | k*bsd*-gnu)
5841
 
  lt_cv_deplibs_check_method=pass_all
5842
 
  ;;
5843
 
 
5844
 
netbsd* | netbsdelf*-gnu)
5845
 
  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5846
 
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5847
 
  else
5848
 
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5849
 
  fi
5850
 
  ;;
5851
 
 
5852
 
newos6*)
5853
 
  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5854
 
  lt_cv_file_magic_cmd=/usr/bin/file
5855
 
  lt_cv_file_magic_test_file=/usr/lib/libnls.so
5856
 
  ;;
5857
 
 
5858
 
*nto* | *qnx*)
5859
 
  lt_cv_deplibs_check_method=pass_all
5860
 
  ;;
5861
 
 
5862
 
openbsd*)
5863
 
  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5864
 
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5865
 
  else
5866
 
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5867
 
  fi
5868
 
  ;;
5869
 
 
5870
 
osf3* | osf4* | osf5*)
5871
 
  lt_cv_deplibs_check_method=pass_all
5872
 
  ;;
5873
 
 
5874
 
rdos*)
5875
 
  lt_cv_deplibs_check_method=pass_all
5876
 
  ;;
5877
 
 
5878
 
solaris*)
5879
 
  lt_cv_deplibs_check_method=pass_all
5880
 
  ;;
5881
 
 
5882
 
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5883
 
  lt_cv_deplibs_check_method=pass_all
5884
 
  ;;
5885
 
 
5886
 
sysv4 | sysv4.3*)
5887
 
  case $host_vendor in
5888
 
  motorola)
5889
 
    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]'
5890
 
    lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5891
 
    ;;
5892
 
  ncr)
5893
 
    lt_cv_deplibs_check_method=pass_all
5894
 
    ;;
5895
 
  sequent)
5896
 
    lt_cv_file_magic_cmd='/bin/file'
5897
 
    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5898
 
    ;;
5899
 
  sni)
5900
 
    lt_cv_file_magic_cmd='/bin/file'
5901
 
    lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5902
 
    lt_cv_file_magic_test_file=/lib/libc.so
5903
 
    ;;
5904
 
  siemens)
5905
 
    lt_cv_deplibs_check_method=pass_all
5906
 
    ;;
5907
 
  pc)
5908
 
    lt_cv_deplibs_check_method=pass_all
5909
 
    ;;
5910
 
  esac
5911
 
  ;;
5912
 
 
5913
 
tpf*)
5914
 
  lt_cv_deplibs_check_method=pass_all
5915
 
  ;;
5916
 
esac
5917
 
 
5918
 
fi
5919
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5920
 
$as_echo "$lt_cv_deplibs_check_method" >&6; }
5921
 
file_magic_cmd=$lt_cv_file_magic_cmd
5922
 
deplibs_check_method=$lt_cv_deplibs_check_method
5923
 
test -z "$deplibs_check_method" && deplibs_check_method=unknown
5924
 
 
5925
 
 
5926
 
 
5927
 
 
5928
 
 
5929
 
 
5930
 
 
5931
 
 
5932
 
 
5933
 
 
5934
 
 
5935
 
 
5936
 
if test -n "$ac_tool_prefix"; then
5937
 
  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5938
 
set dummy ${ac_tool_prefix}ar; ac_word=$2
5939
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5940
 
$as_echo_n "checking for $ac_word... " >&6; }
5941
 
if test "${ac_cv_prog_AR+set}" = set; then :
5942
 
  $as_echo_n "(cached) " >&6
5943
 
else
5944
 
  if test -n "$AR"; then
5945
 
  ac_cv_prog_AR="$AR" # Let the user override the test.
5946
 
else
5947
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5948
 
for as_dir in $PATH
5949
 
do
5950
 
  IFS=$as_save_IFS
5951
 
  test -z "$as_dir" && as_dir=.
5952
 
    for ac_exec_ext in '' $ac_executable_extensions; do
5953
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5954
 
    ac_cv_prog_AR="${ac_tool_prefix}ar"
5955
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5956
 
    break 2
5957
 
  fi
5958
 
done
5959
 
  done
5960
 
IFS=$as_save_IFS
5961
 
 
5962
 
fi
5963
 
fi
5964
 
AR=$ac_cv_prog_AR
5965
 
if test -n "$AR"; then
5966
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5967
 
$as_echo "$AR" >&6; }
5968
 
else
5969
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5970
 
$as_echo "no" >&6; }
5971
 
fi
5972
 
 
5973
 
 
5974
 
fi
5975
 
if test -z "$ac_cv_prog_AR"; then
5976
 
  ac_ct_AR=$AR
5977
 
  # Extract the first word of "ar", so it can be a program name with args.
5978
 
set dummy ar; ac_word=$2
5979
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5980
 
$as_echo_n "checking for $ac_word... " >&6; }
5981
 
if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
5982
 
  $as_echo_n "(cached) " >&6
5983
 
else
5984
 
  if test -n "$ac_ct_AR"; then
5985
 
  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5986
 
else
5987
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5988
 
for as_dir in $PATH
5989
 
do
5990
 
  IFS=$as_save_IFS
5991
 
  test -z "$as_dir" && as_dir=.
5992
 
    for ac_exec_ext in '' $ac_executable_extensions; do
5993
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5994
 
    ac_cv_prog_ac_ct_AR="ar"
5995
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5996
 
    break 2
5997
 
  fi
5998
 
done
5999
 
  done
6000
 
IFS=$as_save_IFS
6001
 
 
6002
 
fi
6003
 
fi
6004
 
ac_ct_AR=$ac_cv_prog_ac_ct_AR
6005
 
if test -n "$ac_ct_AR"; then
6006
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6007
 
$as_echo "$ac_ct_AR" >&6; }
6008
 
else
6009
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6010
 
$as_echo "no" >&6; }
6011
 
fi
6012
 
 
6013
 
  if test "x$ac_ct_AR" = x; then
6014
 
    AR="false"
6015
 
  else
6016
 
    case $cross_compiling:$ac_tool_warned in
6017
 
yes:)
6018
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6019
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6020
 
ac_tool_warned=yes ;;
6021
 
esac
6022
 
    AR=$ac_ct_AR
6023
 
  fi
6024
 
else
6025
 
  AR="$ac_cv_prog_AR"
6026
 
fi
6027
 
 
6028
 
test -z "$AR" && AR=ar
6029
 
test -z "$AR_FLAGS" && AR_FLAGS=cru
6030
 
 
6031
 
 
6032
 
 
6033
 
 
6034
 
 
6035
 
 
6036
 
 
6037
 
 
6038
 
 
6039
 
 
6040
 
 
6041
 
if test -n "$ac_tool_prefix"; then
6042
 
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6043
 
set dummy ${ac_tool_prefix}strip; ac_word=$2
6044
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6045
 
$as_echo_n "checking for $ac_word... " >&6; }
6046
 
if test "${ac_cv_prog_STRIP+set}" = set; then :
6047
 
  $as_echo_n "(cached) " >&6
6048
 
else
6049
 
  if test -n "$STRIP"; then
6050
 
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6051
 
else
6052
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6053
 
for as_dir in $PATH
6054
 
do
6055
 
  IFS=$as_save_IFS
6056
 
  test -z "$as_dir" && as_dir=.
6057
 
    for ac_exec_ext in '' $ac_executable_extensions; do
6058
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6059
 
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6060
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6061
 
    break 2
6062
 
  fi
6063
 
done
6064
 
  done
6065
 
IFS=$as_save_IFS
6066
 
 
6067
 
fi
6068
 
fi
6069
 
STRIP=$ac_cv_prog_STRIP
6070
 
if test -n "$STRIP"; then
6071
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6072
 
$as_echo "$STRIP" >&6; }
6073
 
else
6074
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6075
 
$as_echo "no" >&6; }
6076
 
fi
6077
 
 
6078
 
 
6079
 
fi
6080
 
if test -z "$ac_cv_prog_STRIP"; then
6081
 
  ac_ct_STRIP=$STRIP
6082
 
  # Extract the first word of "strip", so it can be a program name with args.
6083
 
set dummy strip; ac_word=$2
6084
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6085
 
$as_echo_n "checking for $ac_word... " >&6; }
6086
 
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
6087
 
  $as_echo_n "(cached) " >&6
6088
 
else
6089
 
  if test -n "$ac_ct_STRIP"; then
6090
 
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6091
 
else
6092
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6093
 
for as_dir in $PATH
6094
 
do
6095
 
  IFS=$as_save_IFS
6096
 
  test -z "$as_dir" && as_dir=.
6097
 
    for ac_exec_ext in '' $ac_executable_extensions; do
6098
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6099
 
    ac_cv_prog_ac_ct_STRIP="strip"
6100
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6101
 
    break 2
6102
 
  fi
6103
 
done
6104
 
  done
6105
 
IFS=$as_save_IFS
6106
 
 
6107
 
fi
6108
 
fi
6109
 
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6110
 
if test -n "$ac_ct_STRIP"; then
6111
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6112
 
$as_echo "$ac_ct_STRIP" >&6; }
6113
 
else
6114
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6115
 
$as_echo "no" >&6; }
6116
 
fi
6117
 
 
6118
 
  if test "x$ac_ct_STRIP" = x; then
6119
 
    STRIP=":"
6120
 
  else
6121
 
    case $cross_compiling:$ac_tool_warned in
6122
 
yes:)
6123
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6124
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6125
 
ac_tool_warned=yes ;;
6126
 
esac
6127
 
    STRIP=$ac_ct_STRIP
6128
 
  fi
6129
 
else
6130
 
  STRIP="$ac_cv_prog_STRIP"
6131
 
fi
6132
 
 
6133
 
test -z "$STRIP" && STRIP=:
6134
 
 
6135
 
 
6136
 
 
6137
 
 
6138
 
 
6139
 
 
6140
 
if test -n "$ac_tool_prefix"; then
6141
 
  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6142
 
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6143
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6144
 
$as_echo_n "checking for $ac_word... " >&6; }
6145
 
if test "${ac_cv_prog_RANLIB+set}" = set; then :
6146
 
  $as_echo_n "(cached) " >&6
6147
 
else
6148
 
  if test -n "$RANLIB"; then
6149
 
  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6150
 
else
6151
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6152
 
for as_dir in $PATH
6153
 
do
6154
 
  IFS=$as_save_IFS
6155
 
  test -z "$as_dir" && as_dir=.
6156
 
    for ac_exec_ext in '' $ac_executable_extensions; do
6157
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6158
 
    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6159
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6160
 
    break 2
6161
 
  fi
6162
 
done
6163
 
  done
6164
 
IFS=$as_save_IFS
6165
 
 
6166
 
fi
6167
 
fi
6168
 
RANLIB=$ac_cv_prog_RANLIB
6169
 
if test -n "$RANLIB"; then
6170
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6171
 
$as_echo "$RANLIB" >&6; }
6172
 
else
6173
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6174
 
$as_echo "no" >&6; }
6175
 
fi
6176
 
 
6177
 
 
6178
 
fi
6179
 
if test -z "$ac_cv_prog_RANLIB"; then
6180
 
  ac_ct_RANLIB=$RANLIB
6181
 
  # Extract the first word of "ranlib", so it can be a program name with args.
6182
 
set dummy ranlib; ac_word=$2
6183
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6184
 
$as_echo_n "checking for $ac_word... " >&6; }
6185
 
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6186
 
  $as_echo_n "(cached) " >&6
6187
 
else
6188
 
  if test -n "$ac_ct_RANLIB"; then
6189
 
  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6190
 
else
6191
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6192
 
for as_dir in $PATH
6193
 
do
6194
 
  IFS=$as_save_IFS
6195
 
  test -z "$as_dir" && as_dir=.
6196
 
    for ac_exec_ext in '' $ac_executable_extensions; do
6197
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6198
 
    ac_cv_prog_ac_ct_RANLIB="ranlib"
6199
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6200
 
    break 2
6201
 
  fi
6202
 
done
6203
 
  done
6204
 
IFS=$as_save_IFS
6205
 
 
6206
 
fi
6207
 
fi
6208
 
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6209
 
if test -n "$ac_ct_RANLIB"; then
6210
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6211
 
$as_echo "$ac_ct_RANLIB" >&6; }
6212
 
else
6213
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6214
 
$as_echo "no" >&6; }
6215
 
fi
6216
 
 
6217
 
  if test "x$ac_ct_RANLIB" = x; then
6218
 
    RANLIB=":"
6219
 
  else
6220
 
    case $cross_compiling:$ac_tool_warned in
6221
 
yes:)
6222
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6223
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6224
 
ac_tool_warned=yes ;;
6225
 
esac
6226
 
    RANLIB=$ac_ct_RANLIB
6227
 
  fi
6228
 
else
6229
 
  RANLIB="$ac_cv_prog_RANLIB"
6230
 
fi
6231
 
 
6232
 
test -z "$RANLIB" && RANLIB=:
6233
 
 
6234
 
 
6235
 
 
6236
 
 
6237
 
 
6238
 
 
6239
 
# Determine commands to create old-style static archives.
6240
 
old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6241
 
old_postinstall_cmds='chmod 644 $oldlib'
6242
 
old_postuninstall_cmds=
6243
 
 
6244
 
if test -n "$RANLIB"; then
6245
 
  case $host_os in
6246
 
  openbsd*)
6247
 
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6248
 
    ;;
6249
 
  *)
6250
 
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
6251
 
    ;;
6252
 
  esac
6253
 
  old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6254
 
fi
6255
 
 
6256
 
 
6257
 
 
6258
 
 
6259
 
 
6260
 
 
6261
 
 
6262
 
 
6263
 
 
6264
 
 
6265
 
 
6266
 
 
6267
 
 
6268
 
 
6269
 
 
6270
 
 
6271
 
 
6272
 
 
6273
 
 
6274
 
 
6275
 
 
6276
 
 
6277
 
 
6278
 
 
6279
 
 
6280
 
 
6281
 
 
6282
 
 
6283
 
 
6284
 
 
6285
 
 
6286
 
 
6287
 
 
6288
 
 
6289
 
# If no C compiler was specified, use CC.
6290
 
LTCC=${LTCC-"$CC"}
6291
 
 
6292
 
# If no C compiler flags were specified, use CFLAGS.
6293
 
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6294
 
 
6295
 
# Allow CC to be a program name with arguments.
6296
 
compiler=$CC
6297
 
 
6298
 
 
6299
 
# Check for command to grab the raw symbol name followed by C symbol from nm.
6300
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6301
 
$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6302
 
if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
6303
 
  $as_echo_n "(cached) " >&6
6304
 
else
6305
 
 
6306
 
# These are sane defaults that work on at least a few old systems.
6307
 
# [They come from Ultrix.  What could be older than Ultrix?!! ;)]
6308
 
 
6309
 
# Character class describing NM global symbol codes.
6310
 
symcode='[BCDEGRST]'
6311
 
 
6312
 
# Regexp to match symbols that can be accessed directly from C.
6313
 
sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6314
 
 
6315
 
# Define system-specific variables.
6316
 
case $host_os in
6317
 
aix*)
6318
 
  symcode='[BCDT]'
6319
 
  ;;
6320
 
cygwin* | mingw* | pw32* | cegcc*)
6321
 
  symcode='[ABCDGISTW]'
6322
 
  ;;
6323
 
hpux*)
6324
 
  if test "$host_cpu" = ia64; then
6325
 
    symcode='[ABCDEGRST]'
6326
 
  fi
6327
 
  ;;
6328
 
irix* | nonstopux*)
6329
 
  symcode='[BCDEGRST]'
6330
 
  ;;
6331
 
osf*)
6332
 
  symcode='[BCDEGQRST]'
6333
 
  ;;
6334
 
solaris*)
6335
 
  symcode='[BDRT]'
6336
 
  ;;
6337
 
sco3.2v5*)
6338
 
  symcode='[DT]'
6339
 
  ;;
6340
 
sysv4.2uw2*)
6341
 
  symcode='[DT]'
6342
 
  ;;
6343
 
sysv5* | sco5v6* | unixware* | OpenUNIX*)
6344
 
  symcode='[ABDT]'
6345
 
  ;;
6346
 
sysv4)
6347
 
  symcode='[DFNSTU]'
6348
 
  ;;
6349
 
esac
6350
 
 
6351
 
# If we're using GNU nm, then use its standard symbol codes.
6352
 
case `$NM -V 2>&1` in
6353
 
*GNU* | *'with BFD'*)
6354
 
  symcode='[ABCDGIRSTW]' ;;
6355
 
esac
6356
 
 
6357
 
# Transform an extracted symbol line into a proper C declaration.
6358
 
# Some systems (esp. on ia64) link data and code symbols differently,
6359
 
# so use this general approach.
6360
 
lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6361
 
 
6362
 
# Transform an extracted symbol line into symbol name and symbol address
6363
 
lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
6364
 
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'"
6365
 
 
6366
 
# Handle CRLF in mingw tool chain
6367
 
opt_cr=
6368
 
case $build_os in
6369
 
mingw*)
6370
 
  opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6371
 
  ;;
6372
 
esac
6373
 
 
6374
 
# Try without a prefix underscore, then with it.
6375
 
for ac_symprfx in "" "_"; do
6376
 
 
6377
 
  # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6378
 
  symxfrm="\\1 $ac_symprfx\\2 \\2"
6379
 
 
6380
 
  # Write the raw and C identifiers.
6381
 
  if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6382
 
    # Fake it for dumpbin and say T for any non-static function
6383
 
    # and D for any global variable.
6384
 
    # Also find C++ and __fastcall symbols from MSVC++,
6385
 
    # which start with @ or ?.
6386
 
    lt_cv_sys_global_symbol_pipe="$AWK '"\
6387
 
"     {last_section=section; section=\$ 3};"\
6388
 
"     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6389
 
"     \$ 0!~/External *\|/{next};"\
6390
 
"     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6391
 
"     {if(hide[section]) next};"\
6392
 
"     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6393
 
"     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6394
 
"     s[1]~/^[@?]/{print s[1], s[1]; next};"\
6395
 
"     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6396
 
"     ' prfx=^$ac_symprfx"
6397
 
  else
6398
 
    lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6399
 
  fi
6400
 
 
6401
 
  # Check to see that the pipe works correctly.
6402
 
  pipe_works=no
6403
 
 
6404
 
  rm -f conftest*
6405
 
  cat > conftest.$ac_ext <<_LT_EOF
6406
 
#ifdef __cplusplus
6407
 
extern "C" {
6408
 
#endif
6409
 
char nm_test_var;
6410
 
void nm_test_func(void);
6411
 
void nm_test_func(void){}
6412
 
#ifdef __cplusplus
6413
 
}
6414
 
#endif
6415
 
int main(){nm_test_var='a';nm_test_func();return(0);}
6416
 
_LT_EOF
6417
 
 
6418
 
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6419
 
  (eval $ac_compile) 2>&5
6420
 
  ac_status=$?
6421
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6422
 
  test $ac_status = 0; }; then
6423
 
    # Now try to grab the symbols.
6424
 
    nlist=conftest.nm
6425
 
    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\""; } >&5
6426
 
  (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
6427
 
  ac_status=$?
6428
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6429
 
  test $ac_status = 0; } && test -s "$nlist"; then
6430
 
      # Try sorting and uniquifying the output.
6431
 
      if sort "$nlist" | uniq > "$nlist"T; then
6432
 
        mv -f "$nlist"T "$nlist"
6433
 
      else
6434
 
        rm -f "$nlist"T
6435
 
      fi
6436
 
 
6437
 
      # Make sure that we snagged all the symbols we need.
6438
 
      if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6439
 
        if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6440
 
          cat <<_LT_EOF > conftest.$ac_ext
6441
 
#ifdef __cplusplus
6442
 
extern "C" {
6443
 
#endif
6444
 
 
6445
 
_LT_EOF
6446
 
          # Now generate the symbol file.
6447
 
          eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6448
 
 
6449
 
          cat <<_LT_EOF >> conftest.$ac_ext
6450
 
 
6451
 
/* The mapping between symbol names and symbols.  */
6452
 
const struct {
6453
 
  const char *name;
6454
 
  void       *address;
6455
 
}
6456
 
lt__PROGRAM__LTX_preloaded_symbols[] =
6457
 
{
6458
 
  { "@PROGRAM@", (void *) 0 },
6459
 
_LT_EOF
6460
 
          $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6461
 
          cat <<\_LT_EOF >> conftest.$ac_ext
6462
 
  {0, (void *) 0}
6463
 
};
6464
 
 
6465
 
/* This works around a problem in FreeBSD linker */
6466
 
#ifdef FREEBSD_WORKAROUND
6467
 
static const void *lt_preloaded_setup() {
6468
 
  return lt__PROGRAM__LTX_preloaded_symbols;
6469
 
}
6470
 
#endif
6471
 
 
6472
 
#ifdef __cplusplus
6473
 
}
6474
 
#endif
6475
 
_LT_EOF
6476
 
          # Now try linking the two files.
6477
 
          mv conftest.$ac_objext conftstm.$ac_objext
6478
 
          lt_save_LIBS="$LIBS"
6479
 
          lt_save_CFLAGS="$CFLAGS"
6480
 
          LIBS="conftstm.$ac_objext"
6481
 
          CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6482
 
          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6483
 
  (eval $ac_link) 2>&5
6484
 
  ac_status=$?
6485
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6486
 
  test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6487
 
            pipe_works=yes
6488
 
          fi
6489
 
          LIBS="$lt_save_LIBS"
6490
 
          CFLAGS="$lt_save_CFLAGS"
6491
 
        else
6492
 
          echo "cannot find nm_test_func in $nlist" >&5
6493
 
        fi
6494
 
      else
6495
 
        echo "cannot find nm_test_var in $nlist" >&5
6496
 
      fi
6497
 
    else
6498
 
      echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6499
 
    fi
6500
 
  else
6501
 
    echo "$progname: failed program was:" >&5
6502
 
    cat conftest.$ac_ext >&5
6503
 
  fi
6504
 
  rm -rf conftest* conftst*
6505
 
 
6506
 
  # Do not use the global_symbol_pipe unless it works.
6507
 
  if test "$pipe_works" = yes; then
6508
 
    break
6509
 
  else
6510
 
    lt_cv_sys_global_symbol_pipe=
6511
 
  fi
6512
 
done
6513
 
 
6514
 
fi
6515
 
 
6516
 
if test -z "$lt_cv_sys_global_symbol_pipe"; then
6517
 
  lt_cv_sys_global_symbol_to_cdecl=
6518
 
fi
6519
 
if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6520
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6521
 
$as_echo "failed" >&6; }
6522
 
else
6523
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6524
 
$as_echo "ok" >&6; }
6525
 
fi
6526
 
 
6527
 
 
6528
 
 
6529
 
 
6530
 
 
6531
 
 
6532
 
 
6533
 
 
6534
 
 
6535
 
 
6536
 
 
6537
 
 
6538
 
 
6539
 
 
6540
 
 
6541
 
 
6542
 
 
6543
 
 
6544
 
 
6545
 
 
6546
 
 
6547
 
 
6548
 
 
6549
 
# Check whether --enable-libtool-lock was given.
6550
 
if test "${enable_libtool_lock+set}" = set; then :
6551
 
  enableval=$enable_libtool_lock;
6552
 
fi
6553
 
 
6554
 
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6555
 
 
6556
 
# Some flags need to be propagated to the compiler or linker for good
6557
 
# libtool support.
6558
 
case $host in
6559
 
ia64-*-hpux*)
6560
 
  # Find out which ABI we are using.
6561
 
  echo 'int i;' > conftest.$ac_ext
6562
 
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6563
 
  (eval $ac_compile) 2>&5
6564
 
  ac_status=$?
6565
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6566
 
  test $ac_status = 0; }; then
6567
 
    case `/usr/bin/file conftest.$ac_objext` in
6568
 
      *ELF-32*)
6569
 
        HPUX_IA64_MODE="32"
6570
 
        ;;
6571
 
      *ELF-64*)
6572
 
        HPUX_IA64_MODE="64"
6573
 
        ;;
6574
 
    esac
6575
 
  fi
6576
 
  rm -rf conftest*
6577
 
  ;;
6578
 
*-*-irix6*)
6579
 
  # Find out which ABI we are using.
6580
 
  echo '#line 6580 "configure"' > conftest.$ac_ext
6581
 
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6582
 
  (eval $ac_compile) 2>&5
6583
 
  ac_status=$?
6584
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6585
 
  test $ac_status = 0; }; then
6586
 
    if test "$lt_cv_prog_gnu_ld" = yes; then
6587
 
      case `/usr/bin/file conftest.$ac_objext` in
6588
 
        *32-bit*)
6589
 
          LD="${LD-ld} -melf32bsmip"
6590
 
          ;;
6591
 
        *N32*)
6592
 
          LD="${LD-ld} -melf32bmipn32"
6593
 
          ;;
6594
 
        *64-bit*)
6595
 
          LD="${LD-ld} -melf64bmip"
6596
 
        ;;
6597
 
      esac
6598
 
    else
6599
 
      case `/usr/bin/file conftest.$ac_objext` in
6600
 
        *32-bit*)
6601
 
          LD="${LD-ld} -32"
6602
 
          ;;
6603
 
        *N32*)
6604
 
          LD="${LD-ld} -n32"
6605
 
          ;;
6606
 
        *64-bit*)
6607
 
          LD="${LD-ld} -64"
6608
 
          ;;
6609
 
      esac
6610
 
    fi
6611
 
  fi
6612
 
  rm -rf conftest*
6613
 
  ;;
6614
 
 
6615
 
x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6616
 
s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6617
 
  # Find out which ABI we are using.
6618
 
  echo 'int i;' > conftest.$ac_ext
6619
 
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6620
 
  (eval $ac_compile) 2>&5
6621
 
  ac_status=$?
6622
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6623
 
  test $ac_status = 0; }; then
6624
 
    case `/usr/bin/file conftest.o` in
6625
 
      *32-bit*)
6626
 
        case $host in
6627
 
          x86_64-*kfreebsd*-gnu)
6628
 
            LD="${LD-ld} -m elf_i386_fbsd"
6629
 
            ;;
6630
 
          x86_64-*linux*)
6631
 
            LD="${LD-ld} -m elf_i386"
6632
 
            ;;
6633
 
          ppc64-*linux*|powerpc64-*linux*)
6634
 
            LD="${LD-ld} -m elf32ppclinux"
6635
 
            ;;
6636
 
          s390x-*linux*)
6637
 
            LD="${LD-ld} -m elf_s390"
6638
 
            ;;
6639
 
          sparc64-*linux*)
6640
 
            LD="${LD-ld} -m elf32_sparc"
6641
 
            ;;
6642
 
        esac
6643
 
        ;;
6644
 
      *64-bit*)
6645
 
        case $host in
6646
 
          x86_64-*kfreebsd*-gnu)
6647
 
            LD="${LD-ld} -m elf_x86_64_fbsd"
6648
 
            ;;
6649
 
          x86_64-*linux*)
6650
 
            LD="${LD-ld} -m elf_x86_64"
6651
 
            ;;
6652
 
          ppc*-*linux*|powerpc*-*linux*)
6653
 
            LD="${LD-ld} -m elf64ppc"
6654
 
            ;;
6655
 
          s390*-*linux*|s390*-*tpf*)
6656
 
            LD="${LD-ld} -m elf64_s390"
6657
 
            ;;
6658
 
          sparc*-*linux*)
6659
 
            LD="${LD-ld} -m elf64_sparc"
6660
 
            ;;
6661
 
        esac
6662
 
        ;;
6663
 
    esac
6664
 
  fi
6665
 
  rm -rf conftest*
6666
 
  ;;
6667
 
 
6668
 
*-*-sco3.2v5*)
6669
 
  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6670
 
  SAVE_CFLAGS="$CFLAGS"
6671
 
  CFLAGS="$CFLAGS -belf"
6672
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6673
 
$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6674
 
if test "${lt_cv_cc_needs_belf+set}" = set; then :
6675
 
  $as_echo_n "(cached) " >&6
6676
 
else
6677
 
  ac_ext=c
6678
 
ac_cpp='$CPP $CPPFLAGS'
6679
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6680
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6681
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
6682
 
 
6683
 
     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6684
 
/* end confdefs.h.  */
6685
 
 
6686
 
int
6687
 
main ()
6688
 
{
6689
 
 
6690
 
  ;
6691
 
  return 0;
6692
 
}
6693
 
_ACEOF
6694
 
if ac_fn_c_try_link "$LINENO"; then :
6695
 
  lt_cv_cc_needs_belf=yes
6696
 
else
6697
 
  lt_cv_cc_needs_belf=no
6698
 
fi
6699
 
rm -f core conftest.err conftest.$ac_objext \
6700
 
    conftest$ac_exeext conftest.$ac_ext
6701
 
     ac_ext=c
6702
 
ac_cpp='$CPP $CPPFLAGS'
6703
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6704
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6705
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
6706
 
 
6707
 
fi
6708
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6709
 
$as_echo "$lt_cv_cc_needs_belf" >&6; }
6710
 
  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6711
 
    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6712
 
    CFLAGS="$SAVE_CFLAGS"
6713
 
  fi
6714
 
  ;;
6715
 
sparc*-*solaris*)
6716
 
  # Find out which ABI we are using.
6717
 
  echo 'int i;' > conftest.$ac_ext
6718
 
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6719
 
  (eval $ac_compile) 2>&5
6720
 
  ac_status=$?
6721
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6722
 
  test $ac_status = 0; }; then
6723
 
    case `/usr/bin/file conftest.o` in
6724
 
    *64-bit*)
6725
 
      case $lt_cv_prog_gnu_ld in
6726
 
      yes*) LD="${LD-ld} -m elf64_sparc" ;;
6727
 
      *)
6728
 
        if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6729
 
          LD="${LD-ld} -64"
6730
 
        fi
6731
 
        ;;
6732
 
      esac
6733
 
      ;;
6734
 
    esac
6735
 
  fi
6736
 
  rm -rf conftest*
6737
 
  ;;
6738
 
esac
6739
 
 
6740
 
need_locks="$enable_libtool_lock"
6741
 
 
6742
 
 
6743
 
  case $host_os in
6744
 
    rhapsody* | darwin*)
6745
 
    if test -n "$ac_tool_prefix"; then
6746
 
  # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6747
 
set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6748
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6749
 
$as_echo_n "checking for $ac_word... " >&6; }
6750
 
if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
6751
 
  $as_echo_n "(cached) " >&6
6752
 
else
6753
 
  if test -n "$DSYMUTIL"; then
6754
 
  ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6755
 
else
6756
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6757
 
for as_dir in $PATH
6758
 
do
6759
 
  IFS=$as_save_IFS
6760
 
  test -z "$as_dir" && as_dir=.
6761
 
    for ac_exec_ext in '' $ac_executable_extensions; do
6762
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6763
 
    ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
6764
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6765
 
    break 2
6766
 
  fi
6767
 
done
6768
 
  done
6769
 
IFS=$as_save_IFS
6770
 
 
6771
 
fi
6772
 
fi
6773
 
DSYMUTIL=$ac_cv_prog_DSYMUTIL
6774
 
if test -n "$DSYMUTIL"; then
6775
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
6776
 
$as_echo "$DSYMUTIL" >&6; }
6777
 
else
6778
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6779
 
$as_echo "no" >&6; }
6780
 
fi
6781
 
 
6782
 
 
6783
 
fi
6784
 
if test -z "$ac_cv_prog_DSYMUTIL"; then
6785
 
  ac_ct_DSYMUTIL=$DSYMUTIL
6786
 
  # Extract the first word of "dsymutil", so it can be a program name with args.
6787
 
set dummy dsymutil; ac_word=$2
6788
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6789
 
$as_echo_n "checking for $ac_word... " >&6; }
6790
 
if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
6791
 
  $as_echo_n "(cached) " >&6
6792
 
else
6793
 
  if test -n "$ac_ct_DSYMUTIL"; then
6794
 
  ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6795
 
else
6796
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6797
 
for as_dir in $PATH
6798
 
do
6799
 
  IFS=$as_save_IFS
6800
 
  test -z "$as_dir" && as_dir=.
6801
 
    for ac_exec_ext in '' $ac_executable_extensions; do
6802
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6803
 
    ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
6804
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6805
 
    break 2
6806
 
  fi
6807
 
done
6808
 
  done
6809
 
IFS=$as_save_IFS
6810
 
 
6811
 
fi
6812
 
fi
6813
 
ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6814
 
if test -n "$ac_ct_DSYMUTIL"; then
6815
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
6816
 
$as_echo "$ac_ct_DSYMUTIL" >&6; }
6817
 
else
6818
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6819
 
$as_echo "no" >&6; }
6820
 
fi
6821
 
 
6822
 
  if test "x$ac_ct_DSYMUTIL" = x; then
6823
 
    DSYMUTIL=":"
6824
 
  else
6825
 
    case $cross_compiling:$ac_tool_warned in
6826
 
yes:)
6827
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6828
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6829
 
ac_tool_warned=yes ;;
6830
 
esac
6831
 
    DSYMUTIL=$ac_ct_DSYMUTIL
6832
 
  fi
6833
 
else
6834
 
  DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6835
 
fi
6836
 
 
6837
 
    if test -n "$ac_tool_prefix"; then
6838
 
  # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
6839
 
set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6840
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6841
 
$as_echo_n "checking for $ac_word... " >&6; }
6842
 
if test "${ac_cv_prog_NMEDIT+set}" = set; then :
6843
 
  $as_echo_n "(cached) " >&6
6844
 
else
6845
 
  if test -n "$NMEDIT"; then
6846
 
  ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6847
 
else
6848
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6849
 
for as_dir in $PATH
6850
 
do
6851
 
  IFS=$as_save_IFS
6852
 
  test -z "$as_dir" && as_dir=.
6853
 
    for ac_exec_ext in '' $ac_executable_extensions; do
6854
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6855
 
    ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
6856
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6857
 
    break 2
6858
 
  fi
6859
 
done
6860
 
  done
6861
 
IFS=$as_save_IFS
6862
 
 
6863
 
fi
6864
 
fi
6865
 
NMEDIT=$ac_cv_prog_NMEDIT
6866
 
if test -n "$NMEDIT"; then
6867
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
6868
 
$as_echo "$NMEDIT" >&6; }
6869
 
else
6870
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6871
 
$as_echo "no" >&6; }
6872
 
fi
6873
 
 
6874
 
 
6875
 
fi
6876
 
if test -z "$ac_cv_prog_NMEDIT"; then
6877
 
  ac_ct_NMEDIT=$NMEDIT
6878
 
  # Extract the first word of "nmedit", so it can be a program name with args.
6879
 
set dummy nmedit; ac_word=$2
6880
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6881
 
$as_echo_n "checking for $ac_word... " >&6; }
6882
 
if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
6883
 
  $as_echo_n "(cached) " >&6
6884
 
else
6885
 
  if test -n "$ac_ct_NMEDIT"; then
6886
 
  ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
6887
 
else
6888
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6889
 
for as_dir in $PATH
6890
 
do
6891
 
  IFS=$as_save_IFS
6892
 
  test -z "$as_dir" && as_dir=.
6893
 
    for ac_exec_ext in '' $ac_executable_extensions; do
6894
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6895
 
    ac_cv_prog_ac_ct_NMEDIT="nmedit"
6896
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6897
 
    break 2
6898
 
  fi
6899
 
done
6900
 
  done
6901
 
IFS=$as_save_IFS
6902
 
 
6903
 
fi
6904
 
fi
6905
 
ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
6906
 
if test -n "$ac_ct_NMEDIT"; then
6907
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
6908
 
$as_echo "$ac_ct_NMEDIT" >&6; }
6909
 
else
6910
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6911
 
$as_echo "no" >&6; }
6912
 
fi
6913
 
 
6914
 
  if test "x$ac_ct_NMEDIT" = x; then
6915
 
    NMEDIT=":"
6916
 
  else
6917
 
    case $cross_compiling:$ac_tool_warned in
6918
 
yes:)
6919
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6920
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6921
 
ac_tool_warned=yes ;;
6922
 
esac
6923
 
    NMEDIT=$ac_ct_NMEDIT
6924
 
  fi
6925
 
else
6926
 
  NMEDIT="$ac_cv_prog_NMEDIT"
6927
 
fi
6928
 
 
6929
 
    if test -n "$ac_tool_prefix"; then
6930
 
  # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
6931
 
set dummy ${ac_tool_prefix}lipo; ac_word=$2
6932
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6933
 
$as_echo_n "checking for $ac_word... " >&6; }
6934
 
if test "${ac_cv_prog_LIPO+set}" = set; then :
6935
 
  $as_echo_n "(cached) " >&6
6936
 
else
6937
 
  if test -n "$LIPO"; then
6938
 
  ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
6939
 
else
6940
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6941
 
for as_dir in $PATH
6942
 
do
6943
 
  IFS=$as_save_IFS
6944
 
  test -z "$as_dir" && as_dir=.
6945
 
    for ac_exec_ext in '' $ac_executable_extensions; do
6946
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6947
 
    ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
6948
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6949
 
    break 2
6950
 
  fi
6951
 
done
6952
 
  done
6953
 
IFS=$as_save_IFS
6954
 
 
6955
 
fi
6956
 
fi
6957
 
LIPO=$ac_cv_prog_LIPO
6958
 
if test -n "$LIPO"; then
6959
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
6960
 
$as_echo "$LIPO" >&6; }
6961
 
else
6962
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6963
 
$as_echo "no" >&6; }
6964
 
fi
6965
 
 
6966
 
 
6967
 
fi
6968
 
if test -z "$ac_cv_prog_LIPO"; then
6969
 
  ac_ct_LIPO=$LIPO
6970
 
  # Extract the first word of "lipo", so it can be a program name with args.
6971
 
set dummy lipo; ac_word=$2
6972
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6973
 
$as_echo_n "checking for $ac_word... " >&6; }
6974
 
if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
6975
 
  $as_echo_n "(cached) " >&6
6976
 
else
6977
 
  if test -n "$ac_ct_LIPO"; then
6978
 
  ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
6979
 
else
6980
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6981
 
for as_dir in $PATH
6982
 
do
6983
 
  IFS=$as_save_IFS
6984
 
  test -z "$as_dir" && as_dir=.
6985
 
    for ac_exec_ext in '' $ac_executable_extensions; do
6986
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6987
 
    ac_cv_prog_ac_ct_LIPO="lipo"
6988
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6989
 
    break 2
6990
 
  fi
6991
 
done
6992
 
  done
6993
 
IFS=$as_save_IFS
6994
 
 
6995
 
fi
6996
 
fi
6997
 
ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
6998
 
if test -n "$ac_ct_LIPO"; then
6999
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7000
 
$as_echo "$ac_ct_LIPO" >&6; }
7001
 
else
7002
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7003
 
$as_echo "no" >&6; }
7004
 
fi
7005
 
 
7006
 
  if test "x$ac_ct_LIPO" = x; then
7007
 
    LIPO=":"
7008
 
  else
7009
 
    case $cross_compiling:$ac_tool_warned in
7010
 
yes:)
7011
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7012
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7013
 
ac_tool_warned=yes ;;
7014
 
esac
7015
 
    LIPO=$ac_ct_LIPO
7016
 
  fi
7017
 
else
7018
 
  LIPO="$ac_cv_prog_LIPO"
7019
 
fi
7020
 
 
7021
 
    if test -n "$ac_tool_prefix"; then
7022
 
  # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7023
 
set dummy ${ac_tool_prefix}otool; ac_word=$2
7024
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7025
 
$as_echo_n "checking for $ac_word... " >&6; }
7026
 
if test "${ac_cv_prog_OTOOL+set}" = set; then :
7027
 
  $as_echo_n "(cached) " >&6
7028
 
else
7029
 
  if test -n "$OTOOL"; then
7030
 
  ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7031
 
else
7032
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7033
 
for as_dir in $PATH
7034
 
do
7035
 
  IFS=$as_save_IFS
7036
 
  test -z "$as_dir" && as_dir=.
7037
 
    for ac_exec_ext in '' $ac_executable_extensions; do
7038
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7039
 
    ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7040
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7041
 
    break 2
7042
 
  fi
7043
 
done
7044
 
  done
7045
 
IFS=$as_save_IFS
7046
 
 
7047
 
fi
7048
 
fi
7049
 
OTOOL=$ac_cv_prog_OTOOL
7050
 
if test -n "$OTOOL"; then
7051
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7052
 
$as_echo "$OTOOL" >&6; }
7053
 
else
7054
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7055
 
$as_echo "no" >&6; }
7056
 
fi
7057
 
 
7058
 
 
7059
 
fi
7060
 
if test -z "$ac_cv_prog_OTOOL"; then
7061
 
  ac_ct_OTOOL=$OTOOL
7062
 
  # Extract the first word of "otool", so it can be a program name with args.
7063
 
set dummy otool; ac_word=$2
7064
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7065
 
$as_echo_n "checking for $ac_word... " >&6; }
7066
 
if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
7067
 
  $as_echo_n "(cached) " >&6
7068
 
else
7069
 
  if test -n "$ac_ct_OTOOL"; then
7070
 
  ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7071
 
else
7072
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7073
 
for as_dir in $PATH
7074
 
do
7075
 
  IFS=$as_save_IFS
7076
 
  test -z "$as_dir" && as_dir=.
7077
 
    for ac_exec_ext in '' $ac_executable_extensions; do
7078
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7079
 
    ac_cv_prog_ac_ct_OTOOL="otool"
7080
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7081
 
    break 2
7082
 
  fi
7083
 
done
7084
 
  done
7085
 
IFS=$as_save_IFS
7086
 
 
7087
 
fi
7088
 
fi
7089
 
ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7090
 
if test -n "$ac_ct_OTOOL"; then
7091
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7092
 
$as_echo "$ac_ct_OTOOL" >&6; }
7093
 
else
7094
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7095
 
$as_echo "no" >&6; }
7096
 
fi
7097
 
 
7098
 
  if test "x$ac_ct_OTOOL" = x; then
7099
 
    OTOOL=":"
7100
 
  else
7101
 
    case $cross_compiling:$ac_tool_warned in
7102
 
yes:)
7103
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7104
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7105
 
ac_tool_warned=yes ;;
7106
 
esac
7107
 
    OTOOL=$ac_ct_OTOOL
7108
 
  fi
7109
 
else
7110
 
  OTOOL="$ac_cv_prog_OTOOL"
7111
 
fi
7112
 
 
7113
 
    if test -n "$ac_tool_prefix"; then
7114
 
  # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7115
 
set dummy ${ac_tool_prefix}otool64; ac_word=$2
7116
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7117
 
$as_echo_n "checking for $ac_word... " >&6; }
7118
 
if test "${ac_cv_prog_OTOOL64+set}" = set; then :
7119
 
  $as_echo_n "(cached) " >&6
7120
 
else
7121
 
  if test -n "$OTOOL64"; then
7122
 
  ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7123
 
else
7124
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7125
 
for as_dir in $PATH
7126
 
do
7127
 
  IFS=$as_save_IFS
7128
 
  test -z "$as_dir" && as_dir=.
7129
 
    for ac_exec_ext in '' $ac_executable_extensions; do
7130
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7131
 
    ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7132
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7133
 
    break 2
7134
 
  fi
7135
 
done
7136
 
  done
7137
 
IFS=$as_save_IFS
7138
 
 
7139
 
fi
7140
 
fi
7141
 
OTOOL64=$ac_cv_prog_OTOOL64
7142
 
if test -n "$OTOOL64"; then
7143
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7144
 
$as_echo "$OTOOL64" >&6; }
7145
 
else
7146
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7147
 
$as_echo "no" >&6; }
7148
 
fi
7149
 
 
7150
 
 
7151
 
fi
7152
 
if test -z "$ac_cv_prog_OTOOL64"; then
7153
 
  ac_ct_OTOOL64=$OTOOL64
7154
 
  # Extract the first word of "otool64", so it can be a program name with args.
7155
 
set dummy otool64; ac_word=$2
7156
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7157
 
$as_echo_n "checking for $ac_word... " >&6; }
7158
 
if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
7159
 
  $as_echo_n "(cached) " >&6
7160
 
else
7161
 
  if test -n "$ac_ct_OTOOL64"; then
7162
 
  ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7163
 
else
7164
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7165
 
for as_dir in $PATH
7166
 
do
7167
 
  IFS=$as_save_IFS
7168
 
  test -z "$as_dir" && as_dir=.
7169
 
    for ac_exec_ext in '' $ac_executable_extensions; do
7170
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7171
 
    ac_cv_prog_ac_ct_OTOOL64="otool64"
7172
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7173
 
    break 2
7174
 
  fi
7175
 
done
7176
 
  done
7177
 
IFS=$as_save_IFS
7178
 
 
7179
 
fi
7180
 
fi
7181
 
ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7182
 
if test -n "$ac_ct_OTOOL64"; then
7183
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7184
 
$as_echo "$ac_ct_OTOOL64" >&6; }
7185
 
else
7186
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7187
 
$as_echo "no" >&6; }
7188
 
fi
7189
 
 
7190
 
  if test "x$ac_ct_OTOOL64" = x; then
7191
 
    OTOOL64=":"
7192
 
  else
7193
 
    case $cross_compiling:$ac_tool_warned in
7194
 
yes:)
7195
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7196
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7197
 
ac_tool_warned=yes ;;
7198
 
esac
7199
 
    OTOOL64=$ac_ct_OTOOL64
7200
 
  fi
7201
 
else
7202
 
  OTOOL64="$ac_cv_prog_OTOOL64"
7203
 
fi
7204
 
 
7205
 
 
7206
 
 
7207
 
 
7208
 
 
7209
 
 
7210
 
 
7211
 
 
7212
 
 
7213
 
 
7214
 
 
7215
 
 
7216
 
 
7217
 
 
7218
 
 
7219
 
 
7220
 
 
7221
 
 
7222
 
 
7223
 
 
7224
 
 
7225
 
 
7226
 
 
7227
 
 
7228
 
 
7229
 
 
7230
 
 
7231
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7232
 
$as_echo_n "checking for -single_module linker flag... " >&6; }
7233
 
if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
7234
 
  $as_echo_n "(cached) " >&6
7235
 
else
7236
 
  lt_cv_apple_cc_single_mod=no
7237
 
      if test -z "${LT_MULTI_MODULE}"; then
7238
 
        # By default we will add the -single_module flag. You can override
7239
 
        # by either setting the environment variable LT_MULTI_MODULE
7240
 
        # non-empty at configure time, or by adding -multi_module to the
7241
 
        # link flags.
7242
 
        rm -rf libconftest.dylib*
7243
 
        echo "int foo(void){return 1;}" > conftest.c
7244
 
        echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7245
 
-dynamiclib -Wl,-single_module conftest.c" >&5
7246
 
        $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7247
 
          -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7248
 
        _lt_result=$?
7249
 
        if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7250
 
          lt_cv_apple_cc_single_mod=yes
7251
 
        else
7252
 
          cat conftest.err >&5
7253
 
        fi
7254
 
        rm -rf libconftest.dylib*
7255
 
        rm -f conftest.*
7256
 
      fi
7257
 
fi
7258
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7259
 
$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7260
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7261
 
$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7262
 
if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
7263
 
  $as_echo_n "(cached) " >&6
7264
 
else
7265
 
  lt_cv_ld_exported_symbols_list=no
7266
 
      save_LDFLAGS=$LDFLAGS
7267
 
      echo "_main" > conftest.sym
7268
 
      LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7269
 
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7270
 
/* end confdefs.h.  */
7271
 
 
7272
 
int
7273
 
main ()
7274
 
{
7275
 
 
7276
 
  ;
7277
 
  return 0;
7278
 
}
7279
 
_ACEOF
7280
 
if ac_fn_c_try_link "$LINENO"; then :
7281
 
  lt_cv_ld_exported_symbols_list=yes
7282
 
else
7283
 
  lt_cv_ld_exported_symbols_list=no
7284
 
fi
7285
 
rm -f core conftest.err conftest.$ac_objext \
7286
 
    conftest$ac_exeext conftest.$ac_ext
7287
 
        LDFLAGS="$save_LDFLAGS"
7288
 
 
7289
 
fi
7290
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7291
 
$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7292
 
    case $host_os in
7293
 
    rhapsody* | darwin1.[012])
7294
 
      _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7295
 
    darwin1.*)
7296
 
      _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7297
 
    darwin*) # darwin 5.x on
7298
 
      # if running on 10.5 or later, the deployment target defaults
7299
 
      # to the OS version, if on x86, and 10.4, the deployment
7300
 
      # target defaults to 10.4. Don't you love it?
7301
 
      case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7302
 
        10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7303
 
          _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7304
 
        10.[012]*)
7305
 
          _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7306
 
        10.*)
7307
 
          _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7308
 
      esac
7309
 
    ;;
7310
 
  esac
7311
 
    if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7312
 
      _lt_dar_single_mod='$single_module'
7313
 
    fi
7314
 
    if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7315
 
      _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7316
 
    else
7317
 
      _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7318
 
    fi
7319
 
    if test "$DSYMUTIL" != ":"; then
7320
 
      _lt_dsymutil='~$DSYMUTIL $lib || :'
7321
 
    else
7322
 
      _lt_dsymutil=
7323
 
    fi
7324
 
    ;;
7325
 
  esac
7326
 
 
7327
 
ac_ext=c
7328
 
ac_cpp='$CPP $CPPFLAGS'
7329
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7330
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7331
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
7332
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7333
 
$as_echo_n "checking how to run the C preprocessor... " >&6; }
7334
 
# On Suns, sometimes $CPP names a directory.
7335
 
if test -n "$CPP" && test -d "$CPP"; then
7336
 
  CPP=
7337
 
fi
7338
 
if test -z "$CPP"; then
7339
 
  if test "${ac_cv_prog_CPP+set}" = set; then :
7340
 
  $as_echo_n "(cached) " >&6
7341
 
else
7342
 
      # Double quotes because CPP needs to be expanded
7343
 
    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7344
 
    do
7345
 
      ac_preproc_ok=false
7346
 
for ac_c_preproc_warn_flag in '' yes
7347
 
do
7348
 
  # Use a header file that comes with gcc, so configuring glibc
7349
 
  # with a fresh cross-compiler works.
7350
 
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7351
 
  # <limits.h> exists even on freestanding compilers.
7352
 
  # On the NeXT, cc -E runs the code through the compiler's parser,
7353
 
  # not just through cpp. "Syntax error" is here to catch this case.
7354
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7355
 
/* end confdefs.h.  */
7356
 
#ifdef __STDC__
7357
 
# include <limits.h>
7358
 
#else
7359
 
# include <assert.h>
7360
 
#endif
7361
 
                     Syntax error
7362
 
_ACEOF
7363
 
if ac_fn_c_try_cpp "$LINENO"; then :
7364
 
 
7365
 
else
7366
 
  # Broken: fails on valid input.
7367
 
continue
7368
 
fi
7369
 
rm -f conftest.err conftest.$ac_ext
7370
 
 
7371
 
  # OK, works on sane cases.  Now check whether nonexistent headers
7372
 
  # can be detected and how.
7373
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7374
 
/* end confdefs.h.  */
7375
 
#include <ac_nonexistent.h>
7376
 
_ACEOF
7377
 
if ac_fn_c_try_cpp "$LINENO"; then :
7378
 
  # Broken: success on invalid input.
7379
 
continue
7380
 
else
7381
 
  # Passes both tests.
7382
 
ac_preproc_ok=:
7383
 
break
7384
 
fi
7385
 
rm -f conftest.err conftest.$ac_ext
7386
 
 
7387
 
done
7388
 
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7389
 
rm -f conftest.err conftest.$ac_ext
7390
 
if $ac_preproc_ok; then :
7391
 
  break
7392
 
fi
7393
 
 
7394
 
    done
7395
 
    ac_cv_prog_CPP=$CPP
7396
 
 
7397
 
fi
7398
 
  CPP=$ac_cv_prog_CPP
7399
 
else
7400
 
  ac_cv_prog_CPP=$CPP
7401
 
fi
7402
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7403
 
$as_echo "$CPP" >&6; }
7404
 
ac_preproc_ok=false
7405
 
for ac_c_preproc_warn_flag in '' yes
7406
 
do
7407
 
  # Use a header file that comes with gcc, so configuring glibc
7408
 
  # with a fresh cross-compiler works.
7409
 
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7410
 
  # <limits.h> exists even on freestanding compilers.
7411
 
  # On the NeXT, cc -E runs the code through the compiler's parser,
7412
 
  # not just through cpp. "Syntax error" is here to catch this case.
7413
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7414
 
/* end confdefs.h.  */
7415
 
#ifdef __STDC__
7416
 
# include <limits.h>
7417
 
#else
7418
 
# include <assert.h>
7419
 
#endif
7420
 
                     Syntax error
7421
 
_ACEOF
7422
 
if ac_fn_c_try_cpp "$LINENO"; then :
7423
 
 
7424
 
else
7425
 
  # Broken: fails on valid input.
7426
 
continue
7427
 
fi
7428
 
rm -f conftest.err conftest.$ac_ext
7429
 
 
7430
 
  # OK, works on sane cases.  Now check whether nonexistent headers
7431
 
  # can be detected and how.
7432
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7433
 
/* end confdefs.h.  */
7434
 
#include <ac_nonexistent.h>
7435
 
_ACEOF
7436
 
if ac_fn_c_try_cpp "$LINENO"; then :
7437
 
  # Broken: success on invalid input.
7438
 
continue
7439
 
else
7440
 
  # Passes both tests.
7441
 
ac_preproc_ok=:
7442
 
break
7443
 
fi
7444
 
rm -f conftest.err conftest.$ac_ext
7445
 
 
7446
 
done
7447
 
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7448
 
rm -f conftest.err conftest.$ac_ext
7449
 
if $ac_preproc_ok; then :
7450
 
 
7451
 
else
7452
 
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7453
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7454
 
as_fn_error "C preprocessor \"$CPP\" fails sanity check
7455
 
See \`config.log' for more details." "$LINENO" 5; }
7456
 
fi
7457
 
 
7458
 
ac_ext=c
7459
 
ac_cpp='$CPP $CPPFLAGS'
7460
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7461
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7462
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
7463
 
 
7464
 
 
7465
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7466
 
$as_echo_n "checking for ANSI C header files... " >&6; }
7467
 
if test "${ac_cv_header_stdc+set}" = set; then :
7468
 
  $as_echo_n "(cached) " >&6
7469
 
else
7470
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7471
 
/* end confdefs.h.  */
7472
 
#include <stdlib.h>
7473
 
#include <stdarg.h>
7474
 
#include <string.h>
7475
 
#include <float.h>
7476
 
 
7477
 
int
7478
 
main ()
7479
 
{
7480
 
 
7481
 
  ;
7482
 
  return 0;
7483
 
}
7484
 
_ACEOF
7485
 
if ac_fn_c_try_compile "$LINENO"; then :
7486
 
  ac_cv_header_stdc=yes
7487
 
else
7488
 
  ac_cv_header_stdc=no
7489
 
fi
7490
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7491
 
 
7492
 
if test $ac_cv_header_stdc = yes; then
7493
 
  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7494
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7495
 
/* end confdefs.h.  */
7496
 
#include <string.h>
7497
 
 
7498
 
_ACEOF
7499
 
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7500
 
  $EGREP "memchr" >/dev/null 2>&1; then :
7501
 
 
7502
 
else
7503
 
  ac_cv_header_stdc=no
7504
 
fi
7505
 
rm -f conftest*
7506
 
 
7507
 
fi
7508
 
 
7509
 
if test $ac_cv_header_stdc = yes; then
7510
 
  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7511
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7512
 
/* end confdefs.h.  */
7513
 
#include <stdlib.h>
7514
 
 
7515
 
_ACEOF
7516
 
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7517
 
  $EGREP "free" >/dev/null 2>&1; then :
7518
 
 
7519
 
else
7520
 
  ac_cv_header_stdc=no
7521
 
fi
7522
 
rm -f conftest*
7523
 
 
7524
 
fi
7525
 
 
7526
 
if test $ac_cv_header_stdc = yes; then
7527
 
  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7528
 
  if test "$cross_compiling" = yes; then :
7529
 
  :
7530
 
else
7531
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7532
 
/* end confdefs.h.  */
7533
 
#include <ctype.h>
7534
 
#include <stdlib.h>
7535
 
#if ((' ' & 0x0FF) == 0x020)
7536
 
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7537
 
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7538
 
#else
7539
 
# define ISLOWER(c) \
7540
 
                   (('a' <= (c) && (c) <= 'i') \
7541
 
                     || ('j' <= (c) && (c) <= 'r') \
7542
 
                     || ('s' <= (c) && (c) <= 'z'))
7543
 
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7544
 
#endif
7545
 
 
7546
 
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7547
 
int
7548
 
main ()
7549
 
{
7550
 
  int i;
7551
 
  for (i = 0; i < 256; i++)
7552
 
    if (XOR (islower (i), ISLOWER (i))
7553
 
        || toupper (i) != TOUPPER (i))
7554
 
      return 2;
7555
 
  return 0;
7556
 
}
7557
 
_ACEOF
7558
 
if ac_fn_c_try_run "$LINENO"; then :
7559
 
 
7560
 
else
7561
 
  ac_cv_header_stdc=no
7562
 
fi
7563
 
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7564
 
  conftest.$ac_objext conftest.beam conftest.$ac_ext
7565
 
fi
7566
 
 
7567
 
fi
7568
 
fi
7569
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7570
 
$as_echo "$ac_cv_header_stdc" >&6; }
7571
 
if test $ac_cv_header_stdc = yes; then
7572
 
 
7573
 
$as_echo "#define STDC_HEADERS 1" >>confdefs.h
7574
 
 
7575
 
fi
7576
 
 
7577
 
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
7578
 
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7579
 
                  inttypes.h stdint.h unistd.h
7580
 
do :
7581
 
  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7582
 
ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7583
 
"
7584
 
eval as_val=\$$as_ac_Header
7585
 
   if test "x$as_val" = x""yes; then :
7586
 
  cat >>confdefs.h <<_ACEOF
7587
 
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7588
 
_ACEOF
7589
 
 
7590
 
fi
7591
 
 
7592
 
done
7593
 
 
7594
 
 
7595
 
for ac_header in dlfcn.h
7596
 
do :
7597
 
  ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7598
 
"
7599
 
if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
7600
 
  cat >>confdefs.h <<_ACEOF
7601
 
#define HAVE_DLFCN_H 1
7602
 
_ACEOF
7603
 
 
7604
 
fi
7605
 
 
7606
 
done
7607
 
 
7608
 
 
7609
 
 
7610
 
ac_ext=cpp
7611
 
ac_cpp='$CXXCPP $CPPFLAGS'
7612
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7613
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7614
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
7615
 
if test -z "$CXX"; then
7616
 
  if test -n "$CCC"; then
7617
 
    CXX=$CCC
7618
 
  else
7619
 
    if test -n "$ac_tool_prefix"; then
7620
 
  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
7621
 
  do
7622
 
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
7623
 
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
7624
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7625
 
$as_echo_n "checking for $ac_word... " >&6; }
7626
 
if test "${ac_cv_prog_CXX+set}" = set; then :
7627
 
  $as_echo_n "(cached) " >&6
7628
 
else
7629
 
  if test -n "$CXX"; then
7630
 
  ac_cv_prog_CXX="$CXX" # Let the user override the test.
7631
 
else
7632
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7633
 
for as_dir in $PATH
7634
 
do
7635
 
  IFS=$as_save_IFS
7636
 
  test -z "$as_dir" && as_dir=.
7637
 
    for ac_exec_ext in '' $ac_executable_extensions; do
7638
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7639
 
    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
7640
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7641
 
    break 2
7642
 
  fi
7643
 
done
7644
 
  done
7645
 
IFS=$as_save_IFS
7646
 
 
7647
 
fi
7648
 
fi
7649
 
CXX=$ac_cv_prog_CXX
7650
 
if test -n "$CXX"; then
7651
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
7652
 
$as_echo "$CXX" >&6; }
7653
 
else
7654
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7655
 
$as_echo "no" >&6; }
7656
 
fi
7657
 
 
7658
 
 
7659
 
    test -n "$CXX" && break
7660
 
  done
7661
 
fi
7662
 
if test -z "$CXX"; then
7663
 
  ac_ct_CXX=$CXX
7664
 
  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
7665
 
do
7666
 
  # Extract the first word of "$ac_prog", so it can be a program name with args.
7667
 
set dummy $ac_prog; ac_word=$2
7668
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7669
 
$as_echo_n "checking for $ac_word... " >&6; }
7670
 
if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
7671
 
  $as_echo_n "(cached) " >&6
7672
 
else
7673
 
  if test -n "$ac_ct_CXX"; then
7674
 
  ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
7675
 
else
7676
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7677
 
for as_dir in $PATH
7678
 
do
7679
 
  IFS=$as_save_IFS
7680
 
  test -z "$as_dir" && as_dir=.
7681
 
    for ac_exec_ext in '' $ac_executable_extensions; do
7682
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7683
 
    ac_cv_prog_ac_ct_CXX="$ac_prog"
7684
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7685
 
    break 2
7686
 
  fi
7687
 
done
7688
 
  done
7689
 
IFS=$as_save_IFS
7690
 
 
7691
 
fi
7692
 
fi
7693
 
ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
7694
 
if test -n "$ac_ct_CXX"; then
7695
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
7696
 
$as_echo "$ac_ct_CXX" >&6; }
7697
 
else
7698
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7699
 
$as_echo "no" >&6; }
7700
 
fi
7701
 
 
7702
 
 
7703
 
  test -n "$ac_ct_CXX" && break
7704
 
done
7705
 
 
7706
 
  if test "x$ac_ct_CXX" = x; then
7707
 
    CXX="g++"
7708
 
  else
7709
 
    case $cross_compiling:$ac_tool_warned in
7710
 
yes:)
7711
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7712
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7713
 
ac_tool_warned=yes ;;
7714
 
esac
7715
 
    CXX=$ac_ct_CXX
7716
 
  fi
7717
 
fi
7718
 
 
7719
 
  fi
7720
 
fi
7721
 
# Provide some information about the compiler.
7722
 
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
7723
 
set X $ac_compile
7724
 
ac_compiler=$2
7725
 
for ac_option in --version -v -V -qversion; do
7726
 
  { { ac_try="$ac_compiler $ac_option >&5"
7727
 
case "(($ac_try" in
7728
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7729
 
  *) ac_try_echo=$ac_try;;
7730
 
esac
7731
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
7732
 
$as_echo "$ac_try_echo"; } >&5
7733
 
  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
7734
 
  ac_status=$?
7735
 
  if test -s conftest.err; then
7736
 
    sed '10a\
7737
 
... rest of stderr output deleted ...
7738
 
         10q' conftest.err >conftest.er1
7739
 
    cat conftest.er1 >&5
7740
 
    rm -f conftest.er1 conftest.err
7741
 
  fi
7742
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7743
 
  test $ac_status = 0; }
7744
 
done
7745
 
 
7746
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
7747
 
$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
7748
 
if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
7749
 
  $as_echo_n "(cached) " >&6
7750
 
else
7751
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7752
 
/* end confdefs.h.  */
7753
 
 
7754
 
int
7755
 
main ()
7756
 
{
7757
 
#ifndef __GNUC__
7758
 
       choke me
7759
 
#endif
7760
 
 
7761
 
  ;
7762
 
  return 0;
7763
 
}
7764
 
_ACEOF
7765
 
if ac_fn_cxx_try_compile "$LINENO"; then :
7766
 
  ac_compiler_gnu=yes
7767
 
else
7768
 
  ac_compiler_gnu=no
7769
 
fi
7770
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7771
 
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
7772
 
 
7773
 
fi
7774
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
7775
 
$as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
7776
 
if test $ac_compiler_gnu = yes; then
7777
 
  GXX=yes
7778
 
else
7779
 
  GXX=
7780
 
fi
7781
 
ac_test_CXXFLAGS=${CXXFLAGS+set}
7782
 
ac_save_CXXFLAGS=$CXXFLAGS
7783
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
7784
 
$as_echo_n "checking whether $CXX accepts -g... " >&6; }
7785
 
if test "${ac_cv_prog_cxx_g+set}" = set; then :
7786
 
  $as_echo_n "(cached) " >&6
7787
 
else
7788
 
  ac_save_cxx_werror_flag=$ac_cxx_werror_flag
7789
 
   ac_cxx_werror_flag=yes
7790
 
   ac_cv_prog_cxx_g=no
7791
 
   CXXFLAGS="-g"
7792
 
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7793
 
/* end confdefs.h.  */
7794
 
 
7795
 
int
7796
 
main ()
7797
 
{
7798
 
 
7799
 
  ;
7800
 
  return 0;
7801
 
}
7802
 
_ACEOF
7803
 
if ac_fn_cxx_try_compile "$LINENO"; then :
7804
 
  ac_cv_prog_cxx_g=yes
7805
 
else
7806
 
  CXXFLAGS=""
7807
 
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7808
 
/* end confdefs.h.  */
7809
 
 
7810
 
int
7811
 
main ()
7812
 
{
7813
 
 
7814
 
  ;
7815
 
  return 0;
7816
 
}
7817
 
_ACEOF
7818
 
if ac_fn_cxx_try_compile "$LINENO"; then :
7819
 
 
7820
 
else
7821
 
  ac_cxx_werror_flag=$ac_save_cxx_werror_flag
7822
 
         CXXFLAGS="-g"
7823
 
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7824
 
/* end confdefs.h.  */
7825
 
 
7826
 
int
7827
 
main ()
7828
 
{
7829
 
 
7830
 
  ;
7831
 
  return 0;
7832
 
}
7833
 
_ACEOF
7834
 
if ac_fn_cxx_try_compile "$LINENO"; then :
7835
 
  ac_cv_prog_cxx_g=yes
7836
 
fi
7837
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7838
 
fi
7839
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7840
 
fi
7841
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7842
 
   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
7843
 
fi
7844
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
7845
 
$as_echo "$ac_cv_prog_cxx_g" >&6; }
7846
 
if test "$ac_test_CXXFLAGS" = set; then
7847
 
  CXXFLAGS=$ac_save_CXXFLAGS
7848
 
elif test $ac_cv_prog_cxx_g = yes; then
7849
 
  if test "$GXX" = yes; then
7850
 
    CXXFLAGS="-g -O2"
7851
 
  else
7852
 
    CXXFLAGS="-g"
7853
 
  fi
7854
 
else
7855
 
  if test "$GXX" = yes; then
7856
 
    CXXFLAGS="-O2"
7857
 
  else
7858
 
    CXXFLAGS=
7859
 
  fi
7860
 
fi
7861
 
ac_ext=c
7862
 
ac_cpp='$CPP $CPPFLAGS'
7863
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7864
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7865
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
7866
 
 
7867
 
depcc="$CXX"  am_compiler_list=
7868
 
 
7869
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
7870
 
$as_echo_n "checking dependency style of $depcc... " >&6; }
7871
 
if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then :
7872
 
  $as_echo_n "(cached) " >&6
7873
 
else
7874
 
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
7875
 
  # We make a subdir and do the tests there.  Otherwise we can end up
7876
 
  # making bogus files that we don't know about and never remove.  For
7877
 
  # instance it was reported that on HP-UX the gcc test will end up
7878
 
  # making a dummy file named `D' -- because `-MD' means `put the output
7879
 
  # in D'.
7880
 
  mkdir conftest.dir
7881
 
  # Copy depcomp to subdir because otherwise we won't find it if we're
7882
 
  # using a relative directory.
7883
 
  cp "$am_depcomp" conftest.dir
7884
 
  cd conftest.dir
7885
 
  # We will build objects and dependencies in a subdirectory because
7886
 
  # it helps to detect inapplicable dependency modes.  For instance
7887
 
  # both Tru64's cc and ICC support -MD to output dependencies as a
7888
 
  # side effect of compilation, but ICC will put the dependencies in
7889
 
  # the current directory while Tru64 will put them in the object
7890
 
  # directory.
7891
 
  mkdir sub
7892
 
 
7893
 
  am_cv_CXX_dependencies_compiler_type=none
7894
 
  if test "$am_compiler_list" = ""; then
7895
 
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
7896
 
  fi
7897
 
  am__universal=false
7898
 
  case " $depcc " in #(
7899
 
     *\ -arch\ *\ -arch\ *) am__universal=true ;;
7900
 
     esac
7901
 
 
7902
 
  for depmode in $am_compiler_list; do
7903
 
    # Setup a source with many dependencies, because some compilers
7904
 
    # like to wrap large dependency lists on column 80 (with \), and
7905
 
    # we should not choose a depcomp mode which is confused by this.
7906
 
    #
7907
 
    # We need to recreate these files for each test, as the compiler may
7908
 
    # overwrite some of them when testing with obscure command lines.
7909
 
    # This happens at least with the AIX C compiler.
7910
 
    : > sub/conftest.c
7911
 
    for i in 1 2 3 4 5 6; do
7912
 
      echo '#include "conftst'$i'.h"' >> sub/conftest.c
7913
 
      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
7914
 
      # Solaris 8's {/usr,}/bin/sh.
7915
 
      touch sub/conftst$i.h
7916
 
    done
7917
 
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
7918
 
 
7919
 
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
7920
 
    # mode.  It turns out that the SunPro C++ compiler does not properly
7921
 
    # handle `-M -o', and we need to detect this.  Also, some Intel
7922
 
    # versions had trouble with output in subdirs
7923
 
    am__obj=sub/conftest.${OBJEXT-o}
7924
 
    am__minus_obj="-o $am__obj"
7925
 
    case $depmode in
7926
 
    gcc)
7927
 
      # This depmode causes a compiler race in universal mode.
7928
 
      test "$am__universal" = false || continue
7929
 
      ;;
7930
 
    nosideeffect)
7931
 
      # after this tag, mechanisms are not by side-effect, so they'll
7932
 
      # only be used when explicitly requested
7933
 
      if test "x$enable_dependency_tracking" = xyes; then
7934
 
        continue
7935
 
      else
7936
 
        break
7937
 
      fi
7938
 
      ;;
7939
 
    msvisualcpp | msvcmsys)
7940
 
      # This compiler won't grok `-c -o', but also, the minuso test has
7941
 
      # not run yet.  These depmodes are late enough in the game, and
7942
 
      # so weak that their functioning should not be impacted.
7943
 
      am__obj=conftest.${OBJEXT-o}
7944
 
      am__minus_obj=
7945
 
      ;;
7946
 
    none) break ;;
7947
 
    esac
7948
 
    if depmode=$depmode \
7949
 
       source=sub/conftest.c object=$am__obj \
7950
 
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
7951
 
       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
7952
 
         >/dev/null 2>conftest.err &&
7953
 
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
7954
 
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
7955
 
       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
7956
 
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
7957
 
      # icc doesn't choke on unknown options, it will just issue warnings
7958
 
      # or remarks (even with -Werror).  So we grep stderr for any message
7959
 
      # that says an option was ignored or not supported.
7960
 
      # When given -MP, icc 7.0 and 7.1 complain thusly:
7961
 
      #   icc: Command line warning: ignoring option '-M'; no argument required
7962
 
      # The diagnosis changed in icc 8.0:
7963
 
      #   icc: Command line remark: option '-MP' not supported
7964
 
      if (grep 'ignoring option' conftest.err ||
7965
 
          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
7966
 
        am_cv_CXX_dependencies_compiler_type=$depmode
7967
 
        break
7968
 
      fi
7969
 
    fi
7970
 
  done
7971
 
 
7972
 
  cd ..
7973
 
  rm -rf conftest.dir
7974
 
else
7975
 
  am_cv_CXX_dependencies_compiler_type=none
7976
 
fi
7977
 
 
7978
 
fi
7979
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
7980
 
$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
7981
 
CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
7982
 
 
7983
 
 if
7984
 
  test "x$enable_dependency_tracking" != xno \
7985
 
  && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
7986
 
  am__fastdepCXX_TRUE=
7987
 
  am__fastdepCXX_FALSE='#'
7988
 
else
7989
 
  am__fastdepCXX_TRUE='#'
7990
 
  am__fastdepCXX_FALSE=
7991
 
fi
7992
 
 
7993
 
 
7994
 
if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
7995
 
    ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
7996
 
    (test "X$CXX" != "Xg++"))) ; then
7997
 
  ac_ext=cpp
7998
 
ac_cpp='$CXXCPP $CPPFLAGS'
7999
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8000
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8001
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8002
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
8003
 
$as_echo_n "checking how to run the C++ preprocessor... " >&6; }
8004
 
if test -z "$CXXCPP"; then
8005
 
  if test "${ac_cv_prog_CXXCPP+set}" = set; then :
8006
 
  $as_echo_n "(cached) " >&6
8007
 
else
8008
 
      # Double quotes because CXXCPP needs to be expanded
8009
 
    for CXXCPP in "$CXX -E" "/lib/cpp"
8010
 
    do
8011
 
      ac_preproc_ok=false
8012
 
for ac_cxx_preproc_warn_flag in '' yes
8013
 
do
8014
 
  # Use a header file that comes with gcc, so configuring glibc
8015
 
  # with a fresh cross-compiler works.
8016
 
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8017
 
  # <limits.h> exists even on freestanding compilers.
8018
 
  # On the NeXT, cc -E runs the code through the compiler's parser,
8019
 
  # not just through cpp. "Syntax error" is here to catch this case.
8020
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8021
 
/* end confdefs.h.  */
8022
 
#ifdef __STDC__
8023
 
# include <limits.h>
8024
 
#else
8025
 
# include <assert.h>
8026
 
#endif
8027
 
                     Syntax error
8028
 
_ACEOF
8029
 
if ac_fn_cxx_try_cpp "$LINENO"; then :
8030
 
 
8031
 
else
8032
 
  # Broken: fails on valid input.
8033
 
continue
8034
 
fi
8035
 
rm -f conftest.err conftest.$ac_ext
8036
 
 
8037
 
  # OK, works on sane cases.  Now check whether nonexistent headers
8038
 
  # can be detected and how.
8039
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8040
 
/* end confdefs.h.  */
8041
 
#include <ac_nonexistent.h>
8042
 
_ACEOF
8043
 
if ac_fn_cxx_try_cpp "$LINENO"; then :
8044
 
  # Broken: success on invalid input.
8045
 
continue
8046
 
else
8047
 
  # Passes both tests.
8048
 
ac_preproc_ok=:
8049
 
break
8050
 
fi
8051
 
rm -f conftest.err conftest.$ac_ext
8052
 
 
8053
 
done
8054
 
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8055
 
rm -f conftest.err conftest.$ac_ext
8056
 
if $ac_preproc_ok; then :
8057
 
  break
8058
 
fi
8059
 
 
8060
 
    done
8061
 
    ac_cv_prog_CXXCPP=$CXXCPP
8062
 
 
8063
 
fi
8064
 
  CXXCPP=$ac_cv_prog_CXXCPP
8065
 
else
8066
 
  ac_cv_prog_CXXCPP=$CXXCPP
8067
 
fi
8068
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
8069
 
$as_echo "$CXXCPP" >&6; }
8070
 
ac_preproc_ok=false
8071
 
for ac_cxx_preproc_warn_flag in '' yes
8072
 
do
8073
 
  # Use a header file that comes with gcc, so configuring glibc
8074
 
  # with a fresh cross-compiler works.
8075
 
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8076
 
  # <limits.h> exists even on freestanding compilers.
8077
 
  # On the NeXT, cc -E runs the code through the compiler's parser,
8078
 
  # not just through cpp. "Syntax error" is here to catch this case.
8079
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8080
 
/* end confdefs.h.  */
8081
 
#ifdef __STDC__
8082
 
# include <limits.h>
8083
 
#else
8084
 
# include <assert.h>
8085
 
#endif
8086
 
                     Syntax error
8087
 
_ACEOF
8088
 
if ac_fn_cxx_try_cpp "$LINENO"; then :
8089
 
 
8090
 
else
8091
 
  # Broken: fails on valid input.
8092
 
continue
8093
 
fi
8094
 
rm -f conftest.err conftest.$ac_ext
8095
 
 
8096
 
  # OK, works on sane cases.  Now check whether nonexistent headers
8097
 
  # can be detected and how.
8098
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8099
 
/* end confdefs.h.  */
8100
 
#include <ac_nonexistent.h>
8101
 
_ACEOF
8102
 
if ac_fn_cxx_try_cpp "$LINENO"; then :
8103
 
  # Broken: success on invalid input.
8104
 
continue
8105
 
else
8106
 
  # Passes both tests.
8107
 
ac_preproc_ok=:
8108
 
break
8109
 
fi
8110
 
rm -f conftest.err conftest.$ac_ext
8111
 
 
8112
 
done
8113
 
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8114
 
rm -f conftest.err conftest.$ac_ext
8115
 
if $ac_preproc_ok; then :
8116
 
 
8117
 
else
8118
 
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8119
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8120
 
_lt_caught_CXX_error=yes; }
8121
 
fi
8122
 
 
8123
 
ac_ext=c
8124
 
ac_cpp='$CPP $CPPFLAGS'
8125
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8126
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8127
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
8128
 
 
8129
 
else
8130
 
  _lt_caught_CXX_error=yes
8131
 
fi
8132
 
 
8133
 
 
8134
 
 
8135
 
 
8136
 
 
8137
 
# Set options
8138
 
 
8139
 
 
8140
 
 
8141
 
        enable_dlopen=no
8142
 
 
8143
 
 
8144
 
 
8145
 
            # Check whether --enable-shared was given.
8146
 
if test "${enable_shared+set}" = set; then :
8147
 
  enableval=$enable_shared; p=${PACKAGE-default}
8148
 
    case $enableval in
8149
 
    yes) enable_shared=yes ;;
8150
 
    no) enable_shared=no ;;
8151
 
    *)
8152
 
      enable_shared=no
8153
 
      # Look at the argument we got.  We use all the common list separators.
8154
 
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8155
 
      for pkg in $enableval; do
8156
 
        IFS="$lt_save_ifs"
8157
 
        if test "X$pkg" = "X$p"; then
8158
 
          enable_shared=yes
8159
 
        fi
8160
 
      done
8161
 
      IFS="$lt_save_ifs"
8162
 
      ;;
8163
 
    esac
8164
 
else
8165
 
  enable_shared=yes
8166
 
fi
8167
 
 
8168
 
 
8169
 
 
8170
 
 
8171
 
 
8172
 
 
8173
 
 
8174
 
 
8175
 
 
8176
 
 
8177
 
 
8178
 
# Check whether --with-pic was given.
8179
 
if test "${with_pic+set}" = set; then :
8180
 
  withval=$with_pic; pic_mode="$withval"
8181
 
else
8182
 
  pic_mode=default
8183
 
fi
8184
 
 
8185
 
 
8186
 
test -z "$pic_mode" && pic_mode=default
8187
 
 
8188
 
 
8189
 
 
8190
 
 
8191
 
 
8192
 
 
8193
 
 
8194
 
  # Check whether --enable-fast-install was given.
8195
 
if test "${enable_fast_install+set}" = set; then :
8196
 
  enableval=$enable_fast_install; p=${PACKAGE-default}
8197
 
    case $enableval in
8198
 
    yes) enable_fast_install=yes ;;
8199
 
    no) enable_fast_install=no ;;
8200
 
    *)
8201
 
      enable_fast_install=no
8202
 
      # Look at the argument we got.  We use all the common list separators.
8203
 
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8204
 
      for pkg in $enableval; do
8205
 
        IFS="$lt_save_ifs"
8206
 
        if test "X$pkg" = "X$p"; then
8207
 
          enable_fast_install=yes
8208
 
        fi
8209
 
      done
8210
 
      IFS="$lt_save_ifs"
8211
 
      ;;
8212
 
    esac
8213
 
else
8214
 
  enable_fast_install=yes
8215
 
fi
8216
 
 
8217
 
 
8218
 
 
8219
 
 
8220
 
 
8221
 
 
8222
 
 
8223
 
 
8224
 
 
8225
 
 
8226
 
 
8227
 
# This can be used to rebuild libtool when needed
8228
 
LIBTOOL_DEPS="$ltmain"
8229
 
 
8230
 
# Always use our own libtool.
8231
 
LIBTOOL='$(SHELL) $(top_builddir)/libtool'
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
 
 
8257
 
test -z "$LN_S" && LN_S="ln -s"
8258
 
 
8259
 
 
8260
 
 
8261
 
 
8262
 
 
8263
 
 
8264
 
 
8265
 
 
8266
 
 
8267
 
 
8268
 
 
8269
 
 
8270
 
 
8271
 
 
8272
 
if test -n "${ZSH_VERSION+set}" ; then
8273
 
   setopt NO_GLOB_SUBST
8274
 
fi
8275
 
 
8276
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8277
 
$as_echo_n "checking for objdir... " >&6; }
8278
 
if test "${lt_cv_objdir+set}" = set; then :
8279
 
  $as_echo_n "(cached) " >&6
8280
 
else
8281
 
  rm -f .libs 2>/dev/null
8282
 
mkdir .libs 2>/dev/null
8283
 
if test -d .libs; then
8284
 
  lt_cv_objdir=.libs
8285
 
else
8286
 
  # MS-DOS does not allow filenames that begin with a dot.
8287
 
  lt_cv_objdir=_libs
8288
 
fi
8289
 
rmdir .libs 2>/dev/null
8290
 
fi
8291
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8292
 
$as_echo "$lt_cv_objdir" >&6; }
8293
 
objdir=$lt_cv_objdir
8294
 
 
8295
 
 
8296
 
 
8297
 
 
8298
 
 
8299
 
cat >>confdefs.h <<_ACEOF
8300
 
#define LT_OBJDIR "$lt_cv_objdir/"
8301
 
_ACEOF
8302
 
 
8303
 
 
8304
 
 
8305
 
 
8306
 
 
8307
 
 
8308
 
 
8309
 
 
8310
 
 
8311
 
 
8312
 
 
8313
 
 
8314
 
 
8315
 
 
8316
 
 
8317
 
 
8318
 
 
8319
 
case $host_os in
8320
 
aix3*)
8321
 
  # AIX sometimes has problems with the GCC collect2 program.  For some
8322
 
  # reason, if we set the COLLECT_NAMES environment variable, the problems
8323
 
  # vanish in a puff of smoke.
8324
 
  if test "X${COLLECT_NAMES+set}" != Xset; then
8325
 
    COLLECT_NAMES=
8326
 
    export COLLECT_NAMES
8327
 
  fi
8328
 
  ;;
8329
 
esac
8330
 
 
8331
 
# Sed substitution that helps us do robust quoting.  It backslashifies
8332
 
# metacharacters that are still active within double-quoted strings.
8333
 
sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
8334
 
 
8335
 
# Same as above, but do not quote variable references.
8336
 
double_quote_subst='s/\(["`\\]\)/\\\1/g'
8337
 
 
8338
 
# Sed substitution to delay expansion of an escaped shell variable in a
8339
 
# double_quote_subst'ed string.
8340
 
delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
8341
 
 
8342
 
# Sed substitution to delay expansion of an escaped single quote.
8343
 
delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
8344
 
 
8345
 
# Sed substitution to avoid accidental globbing in evaled expressions
8346
 
no_glob_subst='s/\*/\\\*/g'
8347
 
 
8348
 
# Global variables:
8349
 
ofile=libtool
8350
 
can_build_shared=yes
8351
 
 
8352
 
# All known linkers require a `.a' archive for static linking (except MSVC,
8353
 
# which needs '.lib').
8354
 
libext=a
8355
 
 
8356
 
with_gnu_ld="$lt_cv_prog_gnu_ld"
8357
 
 
8358
 
old_CC="$CC"
8359
 
old_CFLAGS="$CFLAGS"
8360
 
 
8361
 
# Set sane defaults for various variables
8362
 
test -z "$CC" && CC=cc
8363
 
test -z "$LTCC" && LTCC=$CC
8364
 
test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8365
 
test -z "$LD" && LD=ld
8366
 
test -z "$ac_objext" && ac_objext=o
8367
 
 
8368
 
for cc_temp in $compiler""; do
8369
 
  case $cc_temp in
8370
 
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8371
 
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8372
 
    \-*) ;;
8373
 
    *) break;;
8374
 
  esac
8375
 
done
8376
 
cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
8377
 
 
8378
 
 
8379
 
# Only perform the check for file, if the check method requires it
8380
 
test -z "$MAGIC_CMD" && MAGIC_CMD=file
8381
 
case $deplibs_check_method in
8382
 
file_magic*)
8383
 
  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8384
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8385
 
$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8386
 
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8387
 
  $as_echo_n "(cached) " >&6
8388
 
else
8389
 
  case $MAGIC_CMD in
8390
 
[\\/*] |  ?:[\\/]*)
8391
 
  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8392
 
  ;;
8393
 
*)
8394
 
  lt_save_MAGIC_CMD="$MAGIC_CMD"
8395
 
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8396
 
  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8397
 
  for ac_dir in $ac_dummy; do
8398
 
    IFS="$lt_save_ifs"
8399
 
    test -z "$ac_dir" && ac_dir=.
8400
 
    if test -f $ac_dir/${ac_tool_prefix}file; then
8401
 
      lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8402
 
      if test -n "$file_magic_test_file"; then
8403
 
        case $deplibs_check_method in
8404
 
        "file_magic "*)
8405
 
          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8406
 
          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8407
 
          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8408
 
            $EGREP "$file_magic_regex" > /dev/null; then
8409
 
            :
8410
 
          else
8411
 
            cat <<_LT_EOF 1>&2
8412
 
 
8413
 
*** Warning: the command libtool uses to detect shared libraries,
8414
 
*** $file_magic_cmd, produces output that libtool cannot recognize.
8415
 
*** The result is that libtool may fail to recognize shared libraries
8416
 
*** as such.  This will affect the creation of libtool libraries that
8417
 
*** depend on shared libraries, but programs linked with such libtool
8418
 
*** libraries will work regardless of this problem.  Nevertheless, you
8419
 
*** may want to report the problem to your system manager and/or to
8420
 
*** bug-libtool@gnu.org
8421
 
 
8422
 
_LT_EOF
8423
 
          fi ;;
8424
 
        esac
8425
 
      fi
8426
 
      break
8427
 
    fi
8428
 
  done
8429
 
  IFS="$lt_save_ifs"
8430
 
  MAGIC_CMD="$lt_save_MAGIC_CMD"
8431
 
  ;;
8432
 
esac
8433
 
fi
8434
 
 
8435
 
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8436
 
if test -n "$MAGIC_CMD"; then
8437
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8438
 
$as_echo "$MAGIC_CMD" >&6; }
8439
 
else
8440
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8441
 
$as_echo "no" >&6; }
8442
 
fi
8443
 
 
8444
 
 
8445
 
 
8446
 
 
8447
 
 
8448
 
if test -z "$lt_cv_path_MAGIC_CMD"; then
8449
 
  if test -n "$ac_tool_prefix"; then
8450
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8451
 
$as_echo_n "checking for file... " >&6; }
8452
 
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8453
 
  $as_echo_n "(cached) " >&6
8454
 
else
8455
 
  case $MAGIC_CMD in
8456
 
[\\/*] |  ?:[\\/]*)
8457
 
  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8458
 
  ;;
8459
 
*)
8460
 
  lt_save_MAGIC_CMD="$MAGIC_CMD"
8461
 
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8462
 
  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8463
 
  for ac_dir in $ac_dummy; do
8464
 
    IFS="$lt_save_ifs"
8465
 
    test -z "$ac_dir" && ac_dir=.
8466
 
    if test -f $ac_dir/file; then
8467
 
      lt_cv_path_MAGIC_CMD="$ac_dir/file"
8468
 
      if test -n "$file_magic_test_file"; then
8469
 
        case $deplibs_check_method in
8470
 
        "file_magic "*)
8471
 
          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8472
 
          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8473
 
          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8474
 
            $EGREP "$file_magic_regex" > /dev/null; then
8475
 
            :
8476
 
          else
8477
 
            cat <<_LT_EOF 1>&2
8478
 
 
8479
 
*** Warning: the command libtool uses to detect shared libraries,
8480
 
*** $file_magic_cmd, produces output that libtool cannot recognize.
8481
 
*** The result is that libtool may fail to recognize shared libraries
8482
 
*** as such.  This will affect the creation of libtool libraries that
8483
 
*** depend on shared libraries, but programs linked with such libtool
8484
 
*** libraries will work regardless of this problem.  Nevertheless, you
8485
 
*** may want to report the problem to your system manager and/or to
8486
 
*** bug-libtool@gnu.org
8487
 
 
8488
 
_LT_EOF
8489
 
          fi ;;
8490
 
        esac
8491
 
      fi
8492
 
      break
8493
 
    fi
8494
 
  done
8495
 
  IFS="$lt_save_ifs"
8496
 
  MAGIC_CMD="$lt_save_MAGIC_CMD"
8497
 
  ;;
8498
 
esac
8499
 
fi
8500
 
 
8501
 
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8502
 
if test -n "$MAGIC_CMD"; then
8503
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8504
 
$as_echo "$MAGIC_CMD" >&6; }
8505
 
else
8506
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8507
 
$as_echo "no" >&6; }
8508
 
fi
8509
 
 
8510
 
 
8511
 
  else
8512
 
    MAGIC_CMD=:
8513
 
  fi
8514
 
fi
8515
 
 
8516
 
  fi
8517
 
  ;;
8518
 
esac
8519
 
 
8520
 
# Use C for the default configuration in the libtool script
8521
 
 
8522
 
lt_save_CC="$CC"
8523
 
ac_ext=c
8524
 
ac_cpp='$CPP $CPPFLAGS'
8525
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8526
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8527
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
8528
 
 
8529
 
 
8530
 
# Source file extension for C test sources.
8531
 
ac_ext=c
8532
 
 
8533
 
# Object file extension for compiled C test sources.
8534
 
objext=o
8535
 
objext=$objext
8536
 
 
8537
 
# Code to be used in simple compile tests
8538
 
lt_simple_compile_test_code="int some_variable = 0;"
8539
 
 
8540
 
# Code to be used in simple link tests
8541
 
lt_simple_link_test_code='int main(){return(0);}'
8542
 
 
8543
 
 
8544
 
 
8545
 
 
8546
 
 
8547
 
 
8548
 
 
8549
 
# If no C compiler was specified, use CC.
8550
 
LTCC=${LTCC-"$CC"}
8551
 
 
8552
 
# If no C compiler flags were specified, use CFLAGS.
8553
 
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8554
 
 
8555
 
# Allow CC to be a program name with arguments.
8556
 
compiler=$CC
8557
 
 
8558
 
# Save the default compiler, since it gets overwritten when the other
8559
 
# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8560
 
compiler_DEFAULT=$CC
8561
 
 
8562
 
# save warnings/boilerplate of simple test code
8563
 
ac_outfile=conftest.$ac_objext
8564
 
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8565
 
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8566
 
_lt_compiler_boilerplate=`cat conftest.err`
8567
 
$RM conftest*
8568
 
 
8569
 
ac_outfile=conftest.$ac_objext
8570
 
echo "$lt_simple_link_test_code" >conftest.$ac_ext
8571
 
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8572
 
_lt_linker_boilerplate=`cat conftest.err`
8573
 
$RM -r conftest*
8574
 
 
8575
 
 
8576
 
if test -n "$compiler"; then
8577
 
 
8578
 
lt_prog_compiler_no_builtin_flag=
8579
 
 
8580
 
if test "$GCC" = yes; then
8581
 
  lt_prog_compiler_no_builtin_flag=' -fno-builtin'
8582
 
 
8583
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8584
 
$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8585
 
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
8586
 
  $as_echo_n "(cached) " >&6
8587
 
else
8588
 
  lt_cv_prog_compiler_rtti_exceptions=no
8589
 
   ac_outfile=conftest.$ac_objext
8590
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8591
 
   lt_compiler_flag="-fno-rtti -fno-exceptions"
8592
 
   # Insert the option either (1) after the last *FLAGS variable, or
8593
 
   # (2) before a word containing "conftest.", or (3) at the end.
8594
 
   # Note that $ac_compile itself does not contain backslashes and begins
8595
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
8596
 
   # The option is referenced via a variable to avoid confusing sed.
8597
 
   lt_compile=`echo "$ac_compile" | $SED \
8598
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8599
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8600
 
   -e 's:$: $lt_compiler_flag:'`
8601
 
   (eval echo "\"\$as_me:8601: $lt_compile\"" >&5)
8602
 
   (eval "$lt_compile" 2>conftest.err)
8603
 
   ac_status=$?
8604
 
   cat conftest.err >&5
8605
 
   echo "$as_me:8605: \$? = $ac_status" >&5
8606
 
   if (exit $ac_status) && test -s "$ac_outfile"; then
8607
 
     # The compiler can only warn and ignore the option if not recognized
8608
 
     # So say no if there are warnings other than the usual output.
8609
 
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
8610
 
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8611
 
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8612
 
       lt_cv_prog_compiler_rtti_exceptions=yes
8613
 
     fi
8614
 
   fi
8615
 
   $RM conftest*
8616
 
 
8617
 
fi
8618
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8619
 
$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8620
 
 
8621
 
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8622
 
    lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8623
 
else
8624
 
    :
8625
 
fi
8626
 
 
8627
 
fi
8628
 
 
8629
 
 
8630
 
 
8631
 
 
8632
 
 
8633
 
 
8634
 
  lt_prog_compiler_wl=
8635
 
lt_prog_compiler_pic=
8636
 
lt_prog_compiler_static=
8637
 
 
8638
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8639
 
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8640
 
 
8641
 
  if test "$GCC" = yes; then
8642
 
    lt_prog_compiler_wl='-Wl,'
8643
 
    lt_prog_compiler_static='-static'
8644
 
 
8645
 
    case $host_os in
8646
 
      aix*)
8647
 
      # All AIX code is PIC.
8648
 
      if test "$host_cpu" = ia64; then
8649
 
        # AIX 5 now supports IA64 processor
8650
 
        lt_prog_compiler_static='-Bstatic'
8651
 
      fi
8652
 
      ;;
8653
 
 
8654
 
    amigaos*)
8655
 
      case $host_cpu in
8656
 
      powerpc)
8657
 
            # see comment about AmigaOS4 .so support
8658
 
            lt_prog_compiler_pic='-fPIC'
8659
 
        ;;
8660
 
      m68k)
8661
 
            # FIXME: we need at least 68020 code to build shared libraries, but
8662
 
            # adding the `-m68020' flag to GCC prevents building anything better,
8663
 
            # like `-m68040'.
8664
 
            lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8665
 
        ;;
8666
 
      esac
8667
 
      ;;
8668
 
 
8669
 
    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8670
 
      # PIC is the default for these OSes.
8671
 
      ;;
8672
 
 
8673
 
    mingw* | cygwin* | pw32* | os2* | cegcc*)
8674
 
      # This hack is so that the source file can tell whether it is being
8675
 
      # built for inclusion in a dll (and should export symbols for example).
8676
 
      # Although the cygwin gcc ignores -fPIC, still need this for old-style
8677
 
      # (--disable-auto-import) libraries
8678
 
      lt_prog_compiler_pic='-DDLL_EXPORT'
8679
 
      ;;
8680
 
 
8681
 
    darwin* | rhapsody*)
8682
 
      # PIC is the default on this platform
8683
 
      # Common symbols not allowed in MH_DYLIB files
8684
 
      lt_prog_compiler_pic='-fno-common'
8685
 
      ;;
8686
 
 
8687
 
    hpux*)
8688
 
      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8689
 
      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
8690
 
      # sets the default TLS model and affects inlining.
8691
 
      case $host_cpu in
8692
 
      hppa*64*)
8693
 
        # +Z the default
8694
 
        ;;
8695
 
      *)
8696
 
        lt_prog_compiler_pic='-fPIC'
8697
 
        ;;
8698
 
      esac
8699
 
      ;;
8700
 
 
8701
 
    interix[3-9]*)
8702
 
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8703
 
      # Instead, we relocate shared libraries at runtime.
8704
 
      ;;
8705
 
 
8706
 
    msdosdjgpp*)
8707
 
      # Just because we use GCC doesn't mean we suddenly get shared libraries
8708
 
      # on systems that don't support them.
8709
 
      lt_prog_compiler_can_build_shared=no
8710
 
      enable_shared=no
8711
 
      ;;
8712
 
 
8713
 
    *nto* | *qnx*)
8714
 
      # QNX uses GNU C++, but need to define -shared option too, otherwise
8715
 
      # it will coredump.
8716
 
      lt_prog_compiler_pic='-fPIC -shared'
8717
 
      ;;
8718
 
 
8719
 
    sysv4*MP*)
8720
 
      if test -d /usr/nec; then
8721
 
        lt_prog_compiler_pic=-Kconform_pic
8722
 
      fi
8723
 
      ;;
8724
 
 
8725
 
    *)
8726
 
      lt_prog_compiler_pic='-fPIC'
8727
 
      ;;
8728
 
    esac
8729
 
  else
8730
 
    # PORTME Check for flag to pass linker flags through the system compiler.
8731
 
    case $host_os in
8732
 
    aix*)
8733
 
      lt_prog_compiler_wl='-Wl,'
8734
 
      if test "$host_cpu" = ia64; then
8735
 
        # AIX 5 now supports IA64 processor
8736
 
        lt_prog_compiler_static='-Bstatic'
8737
 
      else
8738
 
        lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8739
 
      fi
8740
 
      ;;
8741
 
 
8742
 
    mingw* | cygwin* | pw32* | os2* | cegcc*)
8743
 
      # This hack is so that the source file can tell whether it is being
8744
 
      # built for inclusion in a dll (and should export symbols for example).
8745
 
      lt_prog_compiler_pic='-DDLL_EXPORT'
8746
 
      ;;
8747
 
 
8748
 
    hpux9* | hpux10* | hpux11*)
8749
 
      lt_prog_compiler_wl='-Wl,'
8750
 
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8751
 
      # not for PA HP-UX.
8752
 
      case $host_cpu in
8753
 
      hppa*64*|ia64*)
8754
 
        # +Z the default
8755
 
        ;;
8756
 
      *)
8757
 
        lt_prog_compiler_pic='+Z'
8758
 
        ;;
8759
 
      esac
8760
 
      # Is there a better lt_prog_compiler_static that works with the bundled CC?
8761
 
      lt_prog_compiler_static='${wl}-a ${wl}archive'
8762
 
      ;;
8763
 
 
8764
 
    irix5* | irix6* | nonstopux*)
8765
 
      lt_prog_compiler_wl='-Wl,'
8766
 
      # PIC (with -KPIC) is the default.
8767
 
      lt_prog_compiler_static='-non_shared'
8768
 
      ;;
8769
 
 
8770
 
    linux* | k*bsd*-gnu)
8771
 
      case $cc_basename in
8772
 
      # old Intel for x86_64 which still supported -KPIC.
8773
 
      ecc*)
8774
 
        lt_prog_compiler_wl='-Wl,'
8775
 
        lt_prog_compiler_pic='-KPIC'
8776
 
        lt_prog_compiler_static='-static'
8777
 
        ;;
8778
 
      # icc used to be incompatible with GCC.
8779
 
      # ICC 10 doesn't accept -KPIC any more.
8780
 
      icc* | ifort*)
8781
 
        lt_prog_compiler_wl='-Wl,'
8782
 
        lt_prog_compiler_pic='-fPIC'
8783
 
        lt_prog_compiler_static='-static'
8784
 
        ;;
8785
 
      # Lahey Fortran 8.1.
8786
 
      lf95*)
8787
 
        lt_prog_compiler_wl='-Wl,'
8788
 
        lt_prog_compiler_pic='--shared'
8789
 
        lt_prog_compiler_static='--static'
8790
 
        ;;
8791
 
      pgcc* | pgf77* | pgf90* | pgf95*)
8792
 
        # Portland Group compilers (*not* the Pentium gcc compiler,
8793
 
        # which looks to be a dead project)
8794
 
        lt_prog_compiler_wl='-Wl,'
8795
 
        lt_prog_compiler_pic='-fpic'
8796
 
        lt_prog_compiler_static='-Bstatic'
8797
 
        ;;
8798
 
      ccc*)
8799
 
        lt_prog_compiler_wl='-Wl,'
8800
 
        # All Alpha code is PIC.
8801
 
        lt_prog_compiler_static='-non_shared'
8802
 
        ;;
8803
 
      xl*)
8804
 
        # IBM XL C 8.0/Fortran 10.1 on PPC
8805
 
        lt_prog_compiler_wl='-Wl,'
8806
 
        lt_prog_compiler_pic='-qpic'
8807
 
        lt_prog_compiler_static='-qstaticlink'
8808
 
        ;;
8809
 
      *)
8810
 
        case `$CC -V 2>&1 | sed 5q` in
8811
 
        *Sun\ C*)
8812
 
          # Sun C 5.9
8813
 
          lt_prog_compiler_pic='-KPIC'
8814
 
          lt_prog_compiler_static='-Bstatic'
8815
 
          lt_prog_compiler_wl='-Wl,'
8816
 
          ;;
8817
 
        *Sun\ F*)
8818
 
          # Sun Fortran 8.3 passes all unrecognized flags to the linker
8819
 
          lt_prog_compiler_pic='-KPIC'
8820
 
          lt_prog_compiler_static='-Bstatic'
8821
 
          lt_prog_compiler_wl=''
8822
 
          ;;
8823
 
        esac
8824
 
        ;;
8825
 
      esac
8826
 
      ;;
8827
 
 
8828
 
    newsos6)
8829
 
      lt_prog_compiler_pic='-KPIC'
8830
 
      lt_prog_compiler_static='-Bstatic'
8831
 
      ;;
8832
 
 
8833
 
    *nto* | *qnx*)
8834
 
      # QNX uses GNU C++, but need to define -shared option too, otherwise
8835
 
      # it will coredump.
8836
 
      lt_prog_compiler_pic='-fPIC -shared'
8837
 
      ;;
8838
 
 
8839
 
    osf3* | osf4* | osf5*)
8840
 
      lt_prog_compiler_wl='-Wl,'
8841
 
      # All OSF/1 code is PIC.
8842
 
      lt_prog_compiler_static='-non_shared'
8843
 
      ;;
8844
 
 
8845
 
    rdos*)
8846
 
      lt_prog_compiler_static='-non_shared'
8847
 
      ;;
8848
 
 
8849
 
    solaris*)
8850
 
      lt_prog_compiler_pic='-KPIC'
8851
 
      lt_prog_compiler_static='-Bstatic'
8852
 
      case $cc_basename in
8853
 
      f77* | f90* | f95*)
8854
 
        lt_prog_compiler_wl='-Qoption ld ';;
8855
 
      *)
8856
 
        lt_prog_compiler_wl='-Wl,';;
8857
 
      esac
8858
 
      ;;
8859
 
 
8860
 
    sunos4*)
8861
 
      lt_prog_compiler_wl='-Qoption ld '
8862
 
      lt_prog_compiler_pic='-PIC'
8863
 
      lt_prog_compiler_static='-Bstatic'
8864
 
      ;;
8865
 
 
8866
 
    sysv4 | sysv4.2uw2* | sysv4.3*)
8867
 
      lt_prog_compiler_wl='-Wl,'
8868
 
      lt_prog_compiler_pic='-KPIC'
8869
 
      lt_prog_compiler_static='-Bstatic'
8870
 
      ;;
8871
 
 
8872
 
    sysv4*MP*)
8873
 
      if test -d /usr/nec ;then
8874
 
        lt_prog_compiler_pic='-Kconform_pic'
8875
 
        lt_prog_compiler_static='-Bstatic'
8876
 
      fi
8877
 
      ;;
8878
 
 
8879
 
    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8880
 
      lt_prog_compiler_wl='-Wl,'
8881
 
      lt_prog_compiler_pic='-KPIC'
8882
 
      lt_prog_compiler_static='-Bstatic'
8883
 
      ;;
8884
 
 
8885
 
    unicos*)
8886
 
      lt_prog_compiler_wl='-Wl,'
8887
 
      lt_prog_compiler_can_build_shared=no
8888
 
      ;;
8889
 
 
8890
 
    uts4*)
8891
 
      lt_prog_compiler_pic='-pic'
8892
 
      lt_prog_compiler_static='-Bstatic'
8893
 
      ;;
8894
 
 
8895
 
    *)
8896
 
      lt_prog_compiler_can_build_shared=no
8897
 
      ;;
8898
 
    esac
8899
 
  fi
8900
 
 
8901
 
case $host_os in
8902
 
  # For platforms which do not support PIC, -DPIC is meaningless:
8903
 
  *djgpp*)
8904
 
    lt_prog_compiler_pic=
8905
 
    ;;
8906
 
  *)
8907
 
    lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8908
 
    ;;
8909
 
esac
8910
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8911
 
$as_echo "$lt_prog_compiler_pic" >&6; }
8912
 
 
8913
 
 
8914
 
 
8915
 
 
8916
 
 
8917
 
 
8918
 
#
8919
 
# Check to make sure the PIC flag actually works.
8920
 
#
8921
 
if test -n "$lt_prog_compiler_pic"; then
8922
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8923
 
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8924
 
if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
8925
 
  $as_echo_n "(cached) " >&6
8926
 
else
8927
 
  lt_cv_prog_compiler_pic_works=no
8928
 
   ac_outfile=conftest.$ac_objext
8929
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8930
 
   lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8931
 
   # Insert the option either (1) after the last *FLAGS variable, or
8932
 
   # (2) before a word containing "conftest.", or (3) at the end.
8933
 
   # Note that $ac_compile itself does not contain backslashes and begins
8934
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
8935
 
   # The option is referenced via a variable to avoid confusing sed.
8936
 
   lt_compile=`echo "$ac_compile" | $SED \
8937
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8938
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8939
 
   -e 's:$: $lt_compiler_flag:'`
8940
 
   (eval echo "\"\$as_me:8940: $lt_compile\"" >&5)
8941
 
   (eval "$lt_compile" 2>conftest.err)
8942
 
   ac_status=$?
8943
 
   cat conftest.err >&5
8944
 
   echo "$as_me:8944: \$? = $ac_status" >&5
8945
 
   if (exit $ac_status) && test -s "$ac_outfile"; then
8946
 
     # The compiler can only warn and ignore the option if not recognized
8947
 
     # So say no if there are warnings other than the usual output.
8948
 
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
8949
 
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8950
 
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8951
 
       lt_cv_prog_compiler_pic_works=yes
8952
 
     fi
8953
 
   fi
8954
 
   $RM conftest*
8955
 
 
8956
 
fi
8957
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8958
 
$as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8959
 
 
8960
 
if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8961
 
    case $lt_prog_compiler_pic in
8962
 
     "" | " "*) ;;
8963
 
     *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8964
 
     esac
8965
 
else
8966
 
    lt_prog_compiler_pic=
8967
 
     lt_prog_compiler_can_build_shared=no
8968
 
fi
8969
 
 
8970
 
fi
8971
 
 
8972
 
 
8973
 
 
8974
 
 
8975
 
 
8976
 
 
8977
 
#
8978
 
# Check to make sure the static flag actually works.
8979
 
#
8980
 
wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8981
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8982
 
$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8983
 
if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
8984
 
  $as_echo_n "(cached) " >&6
8985
 
else
8986
 
  lt_cv_prog_compiler_static_works=no
8987
 
   save_LDFLAGS="$LDFLAGS"
8988
 
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8989
 
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
8990
 
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8991
 
     # The linker can only warn and ignore the option if not recognized
8992
 
     # So say no if there are warnings
8993
 
     if test -s conftest.err; then
8994
 
       # Append any errors to the config.log.
8995
 
       cat conftest.err 1>&5
8996
 
       $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
8997
 
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8998
 
       if diff conftest.exp conftest.er2 >/dev/null; then
8999
 
         lt_cv_prog_compiler_static_works=yes
9000
 
       fi
9001
 
     else
9002
 
       lt_cv_prog_compiler_static_works=yes
9003
 
     fi
9004
 
   fi
9005
 
   $RM -r conftest*
9006
 
   LDFLAGS="$save_LDFLAGS"
9007
 
 
9008
 
fi
9009
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9010
 
$as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9011
 
 
9012
 
if test x"$lt_cv_prog_compiler_static_works" = xyes; then
9013
 
    :
9014
 
else
9015
 
    lt_prog_compiler_static=
9016
 
fi
9017
 
 
9018
 
 
9019
 
 
9020
 
 
9021
 
 
9022
 
 
9023
 
 
9024
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9025
 
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9026
 
if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9027
 
  $as_echo_n "(cached) " >&6
9028
 
else
9029
 
  lt_cv_prog_compiler_c_o=no
9030
 
   $RM -r conftest 2>/dev/null
9031
 
   mkdir conftest
9032
 
   cd conftest
9033
 
   mkdir out
9034
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9035
 
 
9036
 
   lt_compiler_flag="-o out/conftest2.$ac_objext"
9037
 
   # Insert the option either (1) after the last *FLAGS variable, or
9038
 
   # (2) before a word containing "conftest.", or (3) at the end.
9039
 
   # Note that $ac_compile itself does not contain backslashes and begins
9040
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
9041
 
   lt_compile=`echo "$ac_compile" | $SED \
9042
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9043
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9044
 
   -e 's:$: $lt_compiler_flag:'`
9045
 
   (eval echo "\"\$as_me:9045: $lt_compile\"" >&5)
9046
 
   (eval "$lt_compile" 2>out/conftest.err)
9047
 
   ac_status=$?
9048
 
   cat out/conftest.err >&5
9049
 
   echo "$as_me:9049: \$? = $ac_status" >&5
9050
 
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
9051
 
   then
9052
 
     # The compiler can only warn and ignore the option if not recognized
9053
 
     # So say no if there are warnings
9054
 
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
9055
 
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9056
 
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9057
 
       lt_cv_prog_compiler_c_o=yes
9058
 
     fi
9059
 
   fi
9060
 
   chmod u+w . 2>&5
9061
 
   $RM conftest*
9062
 
   # SGI C++ compiler will create directory out/ii_files/ for
9063
 
   # template instantiation
9064
 
   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9065
 
   $RM out/* && rmdir out
9066
 
   cd ..
9067
 
   $RM -r conftest
9068
 
   $RM conftest*
9069
 
 
9070
 
fi
9071
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9072
 
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9073
 
 
9074
 
 
9075
 
 
9076
 
 
9077
 
 
9078
 
 
9079
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9080
 
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9081
 
if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9082
 
  $as_echo_n "(cached) " >&6
9083
 
else
9084
 
  lt_cv_prog_compiler_c_o=no
9085
 
   $RM -r conftest 2>/dev/null
9086
 
   mkdir conftest
9087
 
   cd conftest
9088
 
   mkdir out
9089
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9090
 
 
9091
 
   lt_compiler_flag="-o out/conftest2.$ac_objext"
9092
 
   # Insert the option either (1) after the last *FLAGS variable, or
9093
 
   # (2) before a word containing "conftest.", or (3) at the end.
9094
 
   # Note that $ac_compile itself does not contain backslashes and begins
9095
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
9096
 
   lt_compile=`echo "$ac_compile" | $SED \
9097
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9098
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9099
 
   -e 's:$: $lt_compiler_flag:'`
9100
 
   (eval echo "\"\$as_me:9100: $lt_compile\"" >&5)
9101
 
   (eval "$lt_compile" 2>out/conftest.err)
9102
 
   ac_status=$?
9103
 
   cat out/conftest.err >&5
9104
 
   echo "$as_me:9104: \$? = $ac_status" >&5
9105
 
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
9106
 
   then
9107
 
     # The compiler can only warn and ignore the option if not recognized
9108
 
     # So say no if there are warnings
9109
 
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
9110
 
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9111
 
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9112
 
       lt_cv_prog_compiler_c_o=yes
9113
 
     fi
9114
 
   fi
9115
 
   chmod u+w . 2>&5
9116
 
   $RM conftest*
9117
 
   # SGI C++ compiler will create directory out/ii_files/ for
9118
 
   # template instantiation
9119
 
   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9120
 
   $RM out/* && rmdir out
9121
 
   cd ..
9122
 
   $RM -r conftest
9123
 
   $RM conftest*
9124
 
 
9125
 
fi
9126
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9127
 
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9128
 
 
9129
 
 
9130
 
 
9131
 
 
9132
 
hard_links="nottested"
9133
 
if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9134
 
  # do not overwrite the value of need_locks provided by the user
9135
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9136
 
$as_echo_n "checking if we can lock with hard links... " >&6; }
9137
 
  hard_links=yes
9138
 
  $RM conftest*
9139
 
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
9140
 
  touch conftest.a
9141
 
  ln conftest.a conftest.b 2>&5 || hard_links=no
9142
 
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
9143
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9144
 
$as_echo "$hard_links" >&6; }
9145
 
  if test "$hard_links" = no; then
9146
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9147
 
$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9148
 
    need_locks=warn
9149
 
  fi
9150
 
else
9151
 
  need_locks=no
9152
 
fi
9153
 
 
9154
 
 
9155
 
 
9156
 
 
9157
 
 
9158
 
 
9159
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9160
 
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9161
 
 
9162
 
  runpath_var=
9163
 
  allow_undefined_flag=
9164
 
  always_export_symbols=no
9165
 
  archive_cmds=
9166
 
  archive_expsym_cmds=
9167
 
  compiler_needs_object=no
9168
 
  enable_shared_with_static_runtimes=no
9169
 
  export_dynamic_flag_spec=
9170
 
  export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9171
 
  hardcode_automatic=no
9172
 
  hardcode_direct=no
9173
 
  hardcode_direct_absolute=no
9174
 
  hardcode_libdir_flag_spec=
9175
 
  hardcode_libdir_flag_spec_ld=
9176
 
  hardcode_libdir_separator=
9177
 
  hardcode_minus_L=no
9178
 
  hardcode_shlibpath_var=unsupported
9179
 
  inherit_rpath=no
9180
 
  link_all_deplibs=unknown
9181
 
  module_cmds=
9182
 
  module_expsym_cmds=
9183
 
  old_archive_from_new_cmds=
9184
 
  old_archive_from_expsyms_cmds=
9185
 
  thread_safe_flag_spec=
9186
 
  whole_archive_flag_spec=
9187
 
  # include_expsyms should be a list of space-separated symbols to be *always*
9188
 
  # included in the symbol list
9189
 
  include_expsyms=
9190
 
  # exclude_expsyms can be an extended regexp of symbols to exclude
9191
 
  # it will be wrapped by ` (' and `)$', so one must not match beginning or
9192
 
  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9193
 
  # as well as any symbol that contains `d'.
9194
 
  exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9195
 
  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9196
 
  # platforms (ab)use it in PIC code, but their linkers get confused if
9197
 
  # the symbol is explicitly referenced.  Since portable code cannot
9198
 
  # rely on this symbol name, it's probably fine to never include it in
9199
 
  # preloaded symbol tables.
9200
 
  # Exclude shared library initialization/finalization symbols.
9201
 
  extract_expsyms_cmds=
9202
 
 
9203
 
  case $host_os in
9204
 
  cygwin* | mingw* | pw32* | cegcc*)
9205
 
    # FIXME: the MSVC++ port hasn't been tested in a loooong time
9206
 
    # When not using gcc, we currently assume that we are using
9207
 
    # Microsoft Visual C++.
9208
 
    if test "$GCC" != yes; then
9209
 
      with_gnu_ld=no
9210
 
    fi
9211
 
    ;;
9212
 
  interix*)
9213
 
    # we just hope/assume this is gcc and not c89 (= MSVC++)
9214
 
    with_gnu_ld=yes
9215
 
    ;;
9216
 
  openbsd*)
9217
 
    with_gnu_ld=no
9218
 
    ;;
9219
 
  linux* | k*bsd*-gnu)
9220
 
    link_all_deplibs=no
9221
 
    ;;
9222
 
  esac
9223
 
 
9224
 
  ld_shlibs=yes
9225
 
  if test "$with_gnu_ld" = yes; then
9226
 
    # If archive_cmds runs LD, not CC, wlarc should be empty
9227
 
    wlarc='${wl}'
9228
 
 
9229
 
    # Set some defaults for GNU ld with shared library support. These
9230
 
    # are reset later if shared libraries are not supported. Putting them
9231
 
    # here allows them to be overridden if necessary.
9232
 
    runpath_var=LD_RUN_PATH
9233
 
    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9234
 
    export_dynamic_flag_spec='${wl}--export-dynamic'
9235
 
    # ancient GNU ld didn't support --whole-archive et. al.
9236
 
    if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9237
 
      whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9238
 
    else
9239
 
      whole_archive_flag_spec=
9240
 
    fi
9241
 
    supports_anon_versioning=no
9242
 
    case `$LD -v 2>&1` in
9243
 
      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9244
 
      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9245
 
      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9246
 
      *\ 2.11.*) ;; # other 2.11 versions
9247
 
      *) supports_anon_versioning=yes ;;
9248
 
    esac
9249
 
 
9250
 
    # See if GNU ld supports shared libraries.
9251
 
    case $host_os in
9252
 
    aix[3-9]*)
9253
 
      # On AIX/PPC, the GNU linker is very broken
9254
 
      if test "$host_cpu" != ia64; then
9255
 
        ld_shlibs=no
9256
 
        cat <<_LT_EOF 1>&2
9257
 
 
9258
 
*** Warning: the GNU linker, at least up to release 2.9.1, is reported
9259
 
*** to be unable to reliably create shared libraries on AIX.
9260
 
*** Therefore, libtool is disabling shared libraries support.  If you
9261
 
*** really care for shared libraries, you may want to modify your PATH
9262
 
*** so that a non-GNU linker is found, and then restart.
9263
 
 
9264
 
_LT_EOF
9265
 
      fi
9266
 
      ;;
9267
 
 
9268
 
    amigaos*)
9269
 
      case $host_cpu in
9270
 
      powerpc)
9271
 
            # see comment about AmigaOS4 .so support
9272
 
            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9273
 
            archive_expsym_cmds=''
9274
 
        ;;
9275
 
      m68k)
9276
 
            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)'
9277
 
            hardcode_libdir_flag_spec='-L$libdir'
9278
 
            hardcode_minus_L=yes
9279
 
        ;;
9280
 
      esac
9281
 
      ;;
9282
 
 
9283
 
    beos*)
9284
 
      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9285
 
        allow_undefined_flag=unsupported
9286
 
        # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9287
 
        # support --undefined.  This deserves some investigation.  FIXME
9288
 
        archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9289
 
      else
9290
 
        ld_shlibs=no
9291
 
      fi
9292
 
      ;;
9293
 
 
9294
 
    cygwin* | mingw* | pw32* | cegcc*)
9295
 
      # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9296
 
      # as there is no search path for DLLs.
9297
 
      hardcode_libdir_flag_spec='-L$libdir'
9298
 
      allow_undefined_flag=unsupported
9299
 
      always_export_symbols=no
9300
 
      enable_shared_with_static_runtimes=yes
9301
 
      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9302
 
 
9303
 
      if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9304
 
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9305
 
        # If the export-symbols file already is a .def file (1st line
9306
 
        # is EXPORTS), use it as is; otherwise, prepend...
9307
 
        archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9308
 
          cp $export_symbols $output_objdir/$soname.def;
9309
 
        else
9310
 
          echo EXPORTS > $output_objdir/$soname.def;
9311
 
          cat $export_symbols >> $output_objdir/$soname.def;
9312
 
        fi~
9313
 
        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9314
 
      else
9315
 
        ld_shlibs=no
9316
 
      fi
9317
 
      ;;
9318
 
 
9319
 
    interix[3-9]*)
9320
 
      hardcode_direct=no
9321
 
      hardcode_shlibpath_var=no
9322
 
      hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9323
 
      export_dynamic_flag_spec='${wl}-E'
9324
 
      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9325
 
      # Instead, shared libraries are loaded at an image base (0x10000000 by
9326
 
      # default) and relocated if they conflict, which is a slow very memory
9327
 
      # consuming and fragmenting process.  To avoid this, we pick a random,
9328
 
      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9329
 
      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
9330
 
      archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9331
 
      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'
9332
 
      ;;
9333
 
 
9334
 
    gnu* | linux* | tpf* | k*bsd*-gnu)
9335
 
      tmp_diet=no
9336
 
      if test "$host_os" = linux-dietlibc; then
9337
 
        case $cc_basename in
9338
 
          diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
9339
 
        esac
9340
 
      fi
9341
 
      if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9342
 
         && test "$tmp_diet" = no
9343
 
      then
9344
 
        tmp_addflag=
9345
 
        tmp_sharedflag='-shared'
9346
 
        case $cc_basename,$host_cpu in
9347
 
        pgcc*)                          # Portland Group C compiler
9348
 
          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'
9349
 
          tmp_addflag=' $pic_flag'
9350
 
          ;;
9351
 
        pgf77* | pgf90* | pgf95*)       # Portland Group f77 and f90 compilers
9352
 
          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'
9353
 
          tmp_addflag=' $pic_flag -Mnomain' ;;
9354
 
        ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
9355
 
          tmp_addflag=' -i_dynamic' ;;
9356
 
        efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
9357
 
          tmp_addflag=' -i_dynamic -nofor_main' ;;
9358
 
        ifc* | ifort*)                  # Intel Fortran compiler
9359
 
          tmp_addflag=' -nofor_main' ;;
9360
 
        lf95*)                          # Lahey Fortran 8.1
9361
 
          whole_archive_flag_spec=
9362
 
          tmp_sharedflag='--shared' ;;
9363
 
        xl[cC]*)                        # IBM XL C 8.0 on PPC (deal with xlf below)
9364
 
          tmp_sharedflag='-qmkshrobj'
9365
 
          tmp_addflag= ;;
9366
 
        esac
9367
 
        case `$CC -V 2>&1 | sed 5q` in
9368
 
        *Sun\ C*)                       # Sun C 5.9
9369
 
          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'
9370
 
          compiler_needs_object=yes
9371
 
          tmp_sharedflag='-G' ;;
9372
 
        *Sun\ F*)                       # Sun Fortran 8.3
9373
 
          tmp_sharedflag='-G' ;;
9374
 
        esac
9375
 
        archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9376
 
 
9377
 
        if test "x$supports_anon_versioning" = xyes; then
9378
 
          archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9379
 
            cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9380
 
            echo "local: *; };" >> $output_objdir/$libname.ver~
9381
 
            $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9382
 
        fi
9383
 
 
9384
 
        case $cc_basename in
9385
 
        xlf*)
9386
 
          # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9387
 
          whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9388
 
          hardcode_libdir_flag_spec=
9389
 
          hardcode_libdir_flag_spec_ld='-rpath $libdir'
9390
 
          archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9391
 
          if test "x$supports_anon_versioning" = xyes; then
9392
 
            archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9393
 
              cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9394
 
              echo "local: *; };" >> $output_objdir/$libname.ver~
9395
 
              $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9396
 
          fi
9397
 
          ;;
9398
 
        esac
9399
 
      else
9400
 
        ld_shlibs=no
9401
 
      fi
9402
 
      ;;
9403
 
 
9404
 
    netbsd* | netbsdelf*-gnu)
9405
 
      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9406
 
        archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9407
 
        wlarc=
9408
 
      else
9409
 
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9410
 
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9411
 
      fi
9412
 
      ;;
9413
 
 
9414
 
    solaris*)
9415
 
      if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9416
 
        ld_shlibs=no
9417
 
        cat <<_LT_EOF 1>&2
9418
 
 
9419
 
*** Warning: The releases 2.8.* of the GNU linker cannot reliably
9420
 
*** create shared libraries on Solaris systems.  Therefore, libtool
9421
 
*** is disabling shared libraries support.  We urge you to upgrade GNU
9422
 
*** binutils to release 2.9.1 or newer.  Another option is to modify
9423
 
*** your PATH or compiler configuration so that the native linker is
9424
 
*** used, and then restart.
9425
 
 
9426
 
_LT_EOF
9427
 
      elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9428
 
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9429
 
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9430
 
      else
9431
 
        ld_shlibs=no
9432
 
      fi
9433
 
      ;;
9434
 
 
9435
 
    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9436
 
      case `$LD -v 2>&1` in
9437
 
        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9438
 
        ld_shlibs=no
9439
 
        cat <<_LT_EOF 1>&2
9440
 
 
9441
 
*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9442
 
*** reliably create shared libraries on SCO systems.  Therefore, libtool
9443
 
*** is disabling shared libraries support.  We urge you to upgrade GNU
9444
 
*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
9445
 
*** your PATH or compiler configuration so that the native linker is
9446
 
*** used, and then restart.
9447
 
 
9448
 
_LT_EOF
9449
 
        ;;
9450
 
        *)
9451
 
          # For security reasons, it is highly recommended that you always
9452
 
          # use absolute paths for naming shared libraries, and exclude the
9453
 
          # DT_RUNPATH tag from executables and libraries.  But doing so
9454
 
          # requires that you compile everything twice, which is a pain.
9455
 
          if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9456
 
            hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9457
 
            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9458
 
            archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9459
 
          else
9460
 
            ld_shlibs=no
9461
 
          fi
9462
 
        ;;
9463
 
      esac
9464
 
      ;;
9465
 
 
9466
 
    sunos4*)
9467
 
      archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9468
 
      wlarc=
9469
 
      hardcode_direct=yes
9470
 
      hardcode_shlibpath_var=no
9471
 
      ;;
9472
 
 
9473
 
    *)
9474
 
      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9475
 
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9476
 
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9477
 
      else
9478
 
        ld_shlibs=no
9479
 
      fi
9480
 
      ;;
9481
 
    esac
9482
 
 
9483
 
    if test "$ld_shlibs" = no; then
9484
 
      runpath_var=
9485
 
      hardcode_libdir_flag_spec=
9486
 
      export_dynamic_flag_spec=
9487
 
      whole_archive_flag_spec=
9488
 
    fi
9489
 
  else
9490
 
    # PORTME fill in a description of your system's linker (not GNU ld)
9491
 
    case $host_os in
9492
 
    aix3*)
9493
 
      allow_undefined_flag=unsupported
9494
 
      always_export_symbols=yes
9495
 
      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'
9496
 
      # Note: this linker hardcodes the directories in LIBPATH if there
9497
 
      # are no directories specified by -L.
9498
 
      hardcode_minus_L=yes
9499
 
      if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9500
 
        # Neither direct hardcoding nor static linking is supported with a
9501
 
        # broken collect2.
9502
 
        hardcode_direct=unsupported
9503
 
      fi
9504
 
      ;;
9505
 
 
9506
 
    aix[4-9]*)
9507
 
      if test "$host_cpu" = ia64; then
9508
 
        # On IA64, the linker does run time linking by default, so we don't
9509
 
        # have to do anything special.
9510
 
        aix_use_runtimelinking=no
9511
 
        exp_sym_flag='-Bexport'
9512
 
        no_entry_flag=""
9513
 
      else
9514
 
        # If we're using GNU nm, then we don't want the "-C" option.
9515
 
        # -C means demangle to AIX nm, but means don't demangle with GNU nm
9516
 
        if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9517
 
          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'
9518
 
        else
9519
 
          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'
9520
 
        fi
9521
 
        aix_use_runtimelinking=no
9522
 
 
9523
 
        # Test if we are trying to use run time linking or normal
9524
 
        # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9525
 
        # need to do runtime linking.
9526
 
        case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9527
 
          for ld_flag in $LDFLAGS; do
9528
 
          if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9529
 
            aix_use_runtimelinking=yes
9530
 
            break
9531
 
          fi
9532
 
          done
9533
 
          ;;
9534
 
        esac
9535
 
 
9536
 
        exp_sym_flag='-bexport'
9537
 
        no_entry_flag='-bnoentry'
9538
 
      fi
9539
 
 
9540
 
      # When large executables or shared objects are built, AIX ld can
9541
 
      # have problems creating the table of contents.  If linking a library
9542
 
      # or program results in "error TOC overflow" add -mminimal-toc to
9543
 
      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
9544
 
      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9545
 
 
9546
 
      archive_cmds=''
9547
 
      hardcode_direct=yes
9548
 
      hardcode_direct_absolute=yes
9549
 
      hardcode_libdir_separator=':'
9550
 
      link_all_deplibs=yes
9551
 
      file_list_spec='${wl}-f,'
9552
 
 
9553
 
      if test "$GCC" = yes; then
9554
 
        case $host_os in aix4.[012]|aix4.[012].*)
9555
 
        # We only want to do this on AIX 4.2 and lower, the check
9556
 
        # below for broken collect2 doesn't work under 4.3+
9557
 
          collect2name=`${CC} -print-prog-name=collect2`
9558
 
          if test -f "$collect2name" &&
9559
 
           strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9560
 
          then
9561
 
          # We have reworked collect2
9562
 
          :
9563
 
          else
9564
 
          # We have old collect2
9565
 
          hardcode_direct=unsupported
9566
 
          # It fails to find uninstalled libraries when the uninstalled
9567
 
          # path is not listed in the libpath.  Setting hardcode_minus_L
9568
 
          # to unsupported forces relinking
9569
 
          hardcode_minus_L=yes
9570
 
          hardcode_libdir_flag_spec='-L$libdir'
9571
 
          hardcode_libdir_separator=
9572
 
          fi
9573
 
          ;;
9574
 
        esac
9575
 
        shared_flag='-shared'
9576
 
        if test "$aix_use_runtimelinking" = yes; then
9577
 
          shared_flag="$shared_flag "'${wl}-G'
9578
 
        fi
9579
 
        link_all_deplibs=no
9580
 
      else
9581
 
        # not using gcc
9582
 
        if test "$host_cpu" = ia64; then
9583
 
        # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9584
 
        # chokes on -Wl,-G. The following line is correct:
9585
 
          shared_flag='-G'
9586
 
        else
9587
 
          if test "$aix_use_runtimelinking" = yes; then
9588
 
            shared_flag='${wl}-G'
9589
 
          else
9590
 
            shared_flag='${wl}-bM:SRE'
9591
 
          fi
9592
 
        fi
9593
 
      fi
9594
 
 
9595
 
      export_dynamic_flag_spec='${wl}-bexpall'
9596
 
      # It seems that -bexpall does not export symbols beginning with
9597
 
      # underscore (_), so it is better to generate a list of symbols to export.
9598
 
      always_export_symbols=yes
9599
 
      if test "$aix_use_runtimelinking" = yes; then
9600
 
        # Warning - without using the other runtime loading flags (-brtl),
9601
 
        # -berok will link without error, but may produce a broken library.
9602
 
        allow_undefined_flag='-berok'
9603
 
        # Determine the default libpath from the value encoded in an
9604
 
        # empty executable.
9605
 
        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9606
 
/* end confdefs.h.  */
9607
 
 
9608
 
int
9609
 
main ()
9610
 
{
9611
 
 
9612
 
  ;
9613
 
  return 0;
9614
 
}
9615
 
_ACEOF
9616
 
if ac_fn_c_try_link "$LINENO"; then :
9617
 
 
9618
 
lt_aix_libpath_sed='
9619
 
    /Import File Strings/,/^$/ {
9620
 
        /^0/ {
9621
 
            s/^0  *\(.*\)$/\1/
9622
 
            p
9623
 
        }
9624
 
    }'
9625
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9626
 
# Check for a 64-bit object if we didn't find anything.
9627
 
if test -z "$aix_libpath"; then
9628
 
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9629
 
fi
9630
 
fi
9631
 
rm -f core conftest.err conftest.$ac_objext \
9632
 
    conftest$ac_exeext conftest.$ac_ext
9633
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9634
 
 
9635
 
        hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9636
 
        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"
9637
 
      else
9638
 
        if test "$host_cpu" = ia64; then
9639
 
          hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9640
 
          allow_undefined_flag="-z nodefs"
9641
 
          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"
9642
 
        else
9643
 
         # Determine the default libpath from the value encoded in an
9644
 
         # empty executable.
9645
 
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9646
 
/* end confdefs.h.  */
9647
 
 
9648
 
int
9649
 
main ()
9650
 
{
9651
 
 
9652
 
  ;
9653
 
  return 0;
9654
 
}
9655
 
_ACEOF
9656
 
if ac_fn_c_try_link "$LINENO"; then :
9657
 
 
9658
 
lt_aix_libpath_sed='
9659
 
    /Import File Strings/,/^$/ {
9660
 
        /^0/ {
9661
 
            s/^0  *\(.*\)$/\1/
9662
 
            p
9663
 
        }
9664
 
    }'
9665
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9666
 
# Check for a 64-bit object if we didn't find anything.
9667
 
if test -z "$aix_libpath"; then
9668
 
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9669
 
fi
9670
 
fi
9671
 
rm -f core conftest.err conftest.$ac_objext \
9672
 
    conftest$ac_exeext conftest.$ac_ext
9673
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9674
 
 
9675
 
         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9676
 
          # Warning - without using the other run time loading flags,
9677
 
          # -berok will link without error, but may produce a broken library.
9678
 
          no_undefined_flag=' ${wl}-bernotok'
9679
 
          allow_undefined_flag=' ${wl}-berok'
9680
 
          # Exported symbols can be pulled into shared objects from archives
9681
 
          whole_archive_flag_spec='$convenience'
9682
 
          archive_cmds_need_lc=yes
9683
 
          # This is similar to how AIX traditionally builds its shared libraries.
9684
 
          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'
9685
 
        fi
9686
 
      fi
9687
 
      ;;
9688
 
 
9689
 
    amigaos*)
9690
 
      case $host_cpu in
9691
 
      powerpc)
9692
 
            # see comment about AmigaOS4 .so support
9693
 
            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9694
 
            archive_expsym_cmds=''
9695
 
        ;;
9696
 
      m68k)
9697
 
            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)'
9698
 
            hardcode_libdir_flag_spec='-L$libdir'
9699
 
            hardcode_minus_L=yes
9700
 
        ;;
9701
 
      esac
9702
 
      ;;
9703
 
 
9704
 
    bsdi[45]*)
9705
 
      export_dynamic_flag_spec=-rdynamic
9706
 
      ;;
9707
 
 
9708
 
    cygwin* | mingw* | pw32* | cegcc*)
9709
 
      # When not using gcc, we currently assume that we are using
9710
 
      # Microsoft Visual C++.
9711
 
      # hardcode_libdir_flag_spec is actually meaningless, as there is
9712
 
      # no search path for DLLs.
9713
 
      hardcode_libdir_flag_spec=' '
9714
 
      allow_undefined_flag=unsupported
9715
 
      # Tell ltmain to make .lib files, not .a files.
9716
 
      libext=lib
9717
 
      # Tell ltmain to make .dll files, not .so files.
9718
 
      shrext_cmds=".dll"
9719
 
      # FIXME: Setting linknames here is a bad hack.
9720
 
      archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
9721
 
      # The linker will automatically build a .lib file if we build a DLL.
9722
 
      old_archive_from_new_cmds='true'
9723
 
      # FIXME: Should let the user specify the lib program.
9724
 
      old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9725
 
      fix_srcfile_path='`cygpath -w "$srcfile"`'
9726
 
      enable_shared_with_static_runtimes=yes
9727
 
      ;;
9728
 
 
9729
 
    darwin* | rhapsody*)
9730
 
 
9731
 
 
9732
 
  archive_cmds_need_lc=no
9733
 
  hardcode_direct=no
9734
 
  hardcode_automatic=yes
9735
 
  hardcode_shlibpath_var=unsupported
9736
 
  whole_archive_flag_spec=''
9737
 
  link_all_deplibs=yes
9738
 
  allow_undefined_flag="$_lt_dar_allow_undefined"
9739
 
  case $cc_basename in
9740
 
     ifort*) _lt_dar_can_shared=yes ;;
9741
 
     *) _lt_dar_can_shared=$GCC ;;
9742
 
  esac
9743
 
  if test "$_lt_dar_can_shared" = "yes"; then
9744
 
    output_verbose_link_cmd=echo
9745
 
    archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9746
 
    module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9747
 
    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}"
9748
 
    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}"
9749
 
 
9750
 
  else
9751
 
  ld_shlibs=no
9752
 
  fi
9753
 
 
9754
 
      ;;
9755
 
 
9756
 
    dgux*)
9757
 
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9758
 
      hardcode_libdir_flag_spec='-L$libdir'
9759
 
      hardcode_shlibpath_var=no
9760
 
      ;;
9761
 
 
9762
 
    freebsd1*)
9763
 
      ld_shlibs=no
9764
 
      ;;
9765
 
 
9766
 
    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9767
 
    # support.  Future versions do this automatically, but an explicit c++rt0.o
9768
 
    # does not break anything, and helps significantly (at the cost of a little
9769
 
    # extra space).
9770
 
    freebsd2.2*)
9771
 
      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9772
 
      hardcode_libdir_flag_spec='-R$libdir'
9773
 
      hardcode_direct=yes
9774
 
      hardcode_shlibpath_var=no
9775
 
      ;;
9776
 
 
9777
 
    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9778
 
    freebsd2*)
9779
 
      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9780
 
      hardcode_direct=yes
9781
 
      hardcode_minus_L=yes
9782
 
      hardcode_shlibpath_var=no
9783
 
      ;;
9784
 
 
9785
 
    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9786
 
    freebsd* | dragonfly*)
9787
 
      archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9788
 
      hardcode_libdir_flag_spec='-R$libdir'
9789
 
      hardcode_direct=yes
9790
 
      hardcode_shlibpath_var=no
9791
 
      ;;
9792
 
 
9793
 
    hpux9*)
9794
 
      if test "$GCC" = yes; then
9795
 
        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'
9796
 
      else
9797
 
        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'
9798
 
      fi
9799
 
      hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9800
 
      hardcode_libdir_separator=:
9801
 
      hardcode_direct=yes
9802
 
 
9803
 
      # hardcode_minus_L: Not really in the search PATH,
9804
 
      # but as the default location of the library.
9805
 
      hardcode_minus_L=yes
9806
 
      export_dynamic_flag_spec='${wl}-E'
9807
 
      ;;
9808
 
 
9809
 
    hpux10*)
9810
 
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
9811
 
        archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9812
 
      else
9813
 
        archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9814
 
      fi
9815
 
      if test "$with_gnu_ld" = no; then
9816
 
        hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9817
 
        hardcode_libdir_flag_spec_ld='+b $libdir'
9818
 
        hardcode_libdir_separator=:
9819
 
        hardcode_direct=yes
9820
 
        hardcode_direct_absolute=yes
9821
 
        export_dynamic_flag_spec='${wl}-E'
9822
 
        # hardcode_minus_L: Not really in the search PATH,
9823
 
        # but as the default location of the library.
9824
 
        hardcode_minus_L=yes
9825
 
      fi
9826
 
      ;;
9827
 
 
9828
 
    hpux11*)
9829
 
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
9830
 
        case $host_cpu in
9831
 
        hppa*64*)
9832
 
          archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9833
 
          ;;
9834
 
        ia64*)
9835
 
          archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9836
 
          ;;
9837
 
        *)
9838
 
          archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9839
 
          ;;
9840
 
        esac
9841
 
      else
9842
 
        case $host_cpu in
9843
 
        hppa*64*)
9844
 
          archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9845
 
          ;;
9846
 
        ia64*)
9847
 
          archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9848
 
          ;;
9849
 
        *)
9850
 
          archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9851
 
          ;;
9852
 
        esac
9853
 
      fi
9854
 
      if test "$with_gnu_ld" = no; then
9855
 
        hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9856
 
        hardcode_libdir_separator=:
9857
 
 
9858
 
        case $host_cpu in
9859
 
        hppa*64*|ia64*)
9860
 
          hardcode_direct=no
9861
 
          hardcode_shlibpath_var=no
9862
 
          ;;
9863
 
        *)
9864
 
          hardcode_direct=yes
9865
 
          hardcode_direct_absolute=yes
9866
 
          export_dynamic_flag_spec='${wl}-E'
9867
 
 
9868
 
          # hardcode_minus_L: Not really in the search PATH,
9869
 
          # but as the default location of the library.
9870
 
          hardcode_minus_L=yes
9871
 
          ;;
9872
 
        esac
9873
 
      fi
9874
 
      ;;
9875
 
 
9876
 
    irix5* | irix6* | nonstopux*)
9877
 
      if test "$GCC" = yes; then
9878
 
        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'
9879
 
        # Try to use the -exported_symbol ld option, if it does not
9880
 
        # work, assume that -exports_file does not work either and
9881
 
        # implicitly export all symbols.
9882
 
        save_LDFLAGS="$LDFLAGS"
9883
 
        LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9884
 
        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9885
 
/* end confdefs.h.  */
9886
 
int foo(void) {}
9887
 
_ACEOF
9888
 
if ac_fn_c_try_link "$LINENO"; then :
9889
 
  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'
9890
 
 
9891
 
fi
9892
 
rm -f core conftest.err conftest.$ac_objext \
9893
 
    conftest$ac_exeext conftest.$ac_ext
9894
 
        LDFLAGS="$save_LDFLAGS"
9895
 
      else
9896
 
        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'
9897
 
        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'
9898
 
      fi
9899
 
      archive_cmds_need_lc='no'
9900
 
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9901
 
      hardcode_libdir_separator=:
9902
 
      inherit_rpath=yes
9903
 
      link_all_deplibs=yes
9904
 
      ;;
9905
 
 
9906
 
    netbsd* | netbsdelf*-gnu)
9907
 
      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9908
 
        archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
9909
 
      else
9910
 
        archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
9911
 
      fi
9912
 
      hardcode_libdir_flag_spec='-R$libdir'
9913
 
      hardcode_direct=yes
9914
 
      hardcode_shlibpath_var=no
9915
 
      ;;
9916
 
 
9917
 
    newsos6)
9918
 
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9919
 
      hardcode_direct=yes
9920
 
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9921
 
      hardcode_libdir_separator=:
9922
 
      hardcode_shlibpath_var=no
9923
 
      ;;
9924
 
 
9925
 
    *nto* | *qnx*)
9926
 
      ;;
9927
 
 
9928
 
    openbsd*)
9929
 
      if test -f /usr/libexec/ld.so; then
9930
 
        hardcode_direct=yes
9931
 
        hardcode_shlibpath_var=no
9932
 
        hardcode_direct_absolute=yes
9933
 
        if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9934
 
          archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9935
 
          archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9936
 
          hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9937
 
          export_dynamic_flag_spec='${wl}-E'
9938
 
        else
9939
 
          case $host_os in
9940
 
           openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9941
 
             archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9942
 
             hardcode_libdir_flag_spec='-R$libdir'
9943
 
             ;;
9944
 
           *)
9945
 
             archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9946
 
             hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9947
 
             ;;
9948
 
          esac
9949
 
        fi
9950
 
      else
9951
 
        ld_shlibs=no
9952
 
      fi
9953
 
      ;;
9954
 
 
9955
 
    os2*)
9956
 
      hardcode_libdir_flag_spec='-L$libdir'
9957
 
      hardcode_minus_L=yes
9958
 
      allow_undefined_flag=unsupported
9959
 
      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'
9960
 
      old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9961
 
      ;;
9962
 
 
9963
 
    osf3*)
9964
 
      if test "$GCC" = yes; then
9965
 
        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9966
 
        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'
9967
 
      else
9968
 
        allow_undefined_flag=' -expect_unresolved \*'
9969
 
        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'
9970
 
      fi
9971
 
      archive_cmds_need_lc='no'
9972
 
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9973
 
      hardcode_libdir_separator=:
9974
 
      ;;
9975
 
 
9976
 
    osf4* | osf5*)      # as osf3* with the addition of -msym flag
9977
 
      if test "$GCC" = yes; then
9978
 
        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9979
 
        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'
9980
 
        hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9981
 
      else
9982
 
        allow_undefined_flag=' -expect_unresolved \*'
9983
 
        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'
9984
 
        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~
9985
 
        $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'
9986
 
 
9987
 
        # Both c and cxx compiler support -rpath directly
9988
 
        hardcode_libdir_flag_spec='-rpath $libdir'
9989
 
      fi
9990
 
      archive_cmds_need_lc='no'
9991
 
      hardcode_libdir_separator=:
9992
 
      ;;
9993
 
 
9994
 
    solaris*)
9995
 
      no_undefined_flag=' -z defs'
9996
 
      if test "$GCC" = yes; then
9997
 
        wlarc='${wl}'
9998
 
        archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9999
 
        archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10000
 
          $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10001
 
      else
10002
 
        case `$CC -V 2>&1` in
10003
 
        *"Compilers 5.0"*)
10004
 
          wlarc=''
10005
 
          archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10006
 
          archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10007
 
          $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10008
 
          ;;
10009
 
        *)
10010
 
          wlarc='${wl}'
10011
 
          archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10012
 
          archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10013
 
          $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10014
 
          ;;
10015
 
        esac
10016
 
      fi
10017
 
      hardcode_libdir_flag_spec='-R$libdir'
10018
 
      hardcode_shlibpath_var=no
10019
 
      case $host_os in
10020
 
      solaris2.[0-5] | solaris2.[0-5].*) ;;
10021
 
      *)
10022
 
        # The compiler driver will combine and reorder linker options,
10023
 
        # but understands `-z linker_flag'.  GCC discards it without `$wl',
10024
 
        # but is careful enough not to reorder.
10025
 
        # Supported since Solaris 2.6 (maybe 2.5.1?)
10026
 
        if test "$GCC" = yes; then
10027
 
          whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10028
 
        else
10029
 
          whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10030
 
        fi
10031
 
        ;;
10032
 
      esac
10033
 
      link_all_deplibs=yes
10034
 
      ;;
10035
 
 
10036
 
    sunos4*)
10037
 
      if test "x$host_vendor" = xsequent; then
10038
 
        # Use $CC to link under sequent, because it throws in some extra .o
10039
 
        # files that make .init and .fini sections work.
10040
 
        archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10041
 
      else
10042
 
        archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10043
 
      fi
10044
 
      hardcode_libdir_flag_spec='-L$libdir'
10045
 
      hardcode_direct=yes
10046
 
      hardcode_minus_L=yes
10047
 
      hardcode_shlibpath_var=no
10048
 
      ;;
10049
 
 
10050
 
    sysv4)
10051
 
      case $host_vendor in
10052
 
        sni)
10053
 
          archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10054
 
          hardcode_direct=yes # is this really true???
10055
 
        ;;
10056
 
        siemens)
10057
 
          ## LD is ld it makes a PLAMLIB
10058
 
          ## CC just makes a GrossModule.
10059
 
          archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10060
 
          reload_cmds='$CC -r -o $output$reload_objs'
10061
 
          hardcode_direct=no
10062
 
        ;;
10063
 
        motorola)
10064
 
          archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10065
 
          hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10066
 
        ;;
10067
 
      esac
10068
 
      runpath_var='LD_RUN_PATH'
10069
 
      hardcode_shlibpath_var=no
10070
 
      ;;
10071
 
 
10072
 
    sysv4.3*)
10073
 
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10074
 
      hardcode_shlibpath_var=no
10075
 
      export_dynamic_flag_spec='-Bexport'
10076
 
      ;;
10077
 
 
10078
 
    sysv4*MP*)
10079
 
      if test -d /usr/nec; then
10080
 
        archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10081
 
        hardcode_shlibpath_var=no
10082
 
        runpath_var=LD_RUN_PATH
10083
 
        hardcode_runpath_var=yes
10084
 
        ld_shlibs=yes
10085
 
      fi
10086
 
      ;;
10087
 
 
10088
 
    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10089
 
      no_undefined_flag='${wl}-z,text'
10090
 
      archive_cmds_need_lc=no
10091
 
      hardcode_shlibpath_var=no
10092
 
      runpath_var='LD_RUN_PATH'
10093
 
 
10094
 
      if test "$GCC" = yes; then
10095
 
        archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10096
 
        archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10097
 
      else
10098
 
        archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10099
 
        archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10100
 
      fi
10101
 
      ;;
10102
 
 
10103
 
    sysv5* | sco3.2v5* | sco5v6*)
10104
 
      # Note: We can NOT use -z defs as we might desire, because we do not
10105
 
      # link with -lc, and that would cause any symbols used from libc to
10106
 
      # always be unresolved, which means just about no library would
10107
 
      # ever link correctly.  If we're not using GNU ld we use -z text
10108
 
      # though, which does catch some bad symbols but isn't as heavy-handed
10109
 
      # as -z defs.
10110
 
      no_undefined_flag='${wl}-z,text'
10111
 
      allow_undefined_flag='${wl}-z,nodefs'
10112
 
      archive_cmds_need_lc=no
10113
 
      hardcode_shlibpath_var=no
10114
 
      hardcode_libdir_flag_spec='${wl}-R,$libdir'
10115
 
      hardcode_libdir_separator=':'
10116
 
      link_all_deplibs=yes
10117
 
      export_dynamic_flag_spec='${wl}-Bexport'
10118
 
      runpath_var='LD_RUN_PATH'
10119
 
 
10120
 
      if test "$GCC" = yes; then
10121
 
        archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10122
 
        archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10123
 
      else
10124
 
        archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10125
 
        archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10126
 
      fi
10127
 
      ;;
10128
 
 
10129
 
    uts4*)
10130
 
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10131
 
      hardcode_libdir_flag_spec='-L$libdir'
10132
 
      hardcode_shlibpath_var=no
10133
 
      ;;
10134
 
 
10135
 
    *)
10136
 
      ld_shlibs=no
10137
 
      ;;
10138
 
    esac
10139
 
 
10140
 
    if test x$host_vendor = xsni; then
10141
 
      case $host in
10142
 
      sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10143
 
        export_dynamic_flag_spec='${wl}-Blargedynsym'
10144
 
        ;;
10145
 
      esac
10146
 
    fi
10147
 
  fi
10148
 
 
10149
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10150
 
$as_echo "$ld_shlibs" >&6; }
10151
 
test "$ld_shlibs" = no && can_build_shared=no
10152
 
 
10153
 
with_gnu_ld=$with_gnu_ld
10154
 
 
10155
 
 
10156
 
 
10157
 
 
10158
 
 
10159
 
 
10160
 
 
10161
 
 
10162
 
 
10163
 
 
10164
 
 
10165
 
 
10166
 
 
10167
 
 
10168
 
 
10169
 
#
10170
 
# Do we need to explicitly link libc?
10171
 
#
10172
 
case "x$archive_cmds_need_lc" in
10173
 
x|xyes)
10174
 
  # Assume -lc should be added
10175
 
  archive_cmds_need_lc=yes
10176
 
 
10177
 
  if test "$enable_shared" = yes && test "$GCC" = yes; then
10178
 
    case $archive_cmds in
10179
 
    *'~'*)
10180
 
      # FIXME: we may have to deal with multi-command sequences.
10181
 
      ;;
10182
 
    '$CC '*)
10183
 
      # Test whether the compiler implicitly links with -lc since on some
10184
 
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
10185
 
      # to ld, don't add -lc before -lgcc.
10186
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10187
 
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10188
 
      $RM conftest*
10189
 
      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10190
 
 
10191
 
      if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10192
 
  (eval $ac_compile) 2>&5
10193
 
  ac_status=$?
10194
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10195
 
  test $ac_status = 0; } 2>conftest.err; then
10196
 
        soname=conftest
10197
 
        lib=conftest
10198
 
        libobjs=conftest.$ac_objext
10199
 
        deplibs=
10200
 
        wl=$lt_prog_compiler_wl
10201
 
        pic_flag=$lt_prog_compiler_pic
10202
 
        compiler_flags=-v
10203
 
        linker_flags=-v
10204
 
        verstring=
10205
 
        output_objdir=.
10206
 
        libname=conftest
10207
 
        lt_save_allow_undefined_flag=$allow_undefined_flag
10208
 
        allow_undefined_flag=
10209
 
        if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10210
 
  (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10211
 
  ac_status=$?
10212
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10213
 
  test $ac_status = 0; }
10214
 
        then
10215
 
          archive_cmds_need_lc=no
10216
 
        else
10217
 
          archive_cmds_need_lc=yes
10218
 
        fi
10219
 
        allow_undefined_flag=$lt_save_allow_undefined_flag
10220
 
      else
10221
 
        cat conftest.err 1>&5
10222
 
      fi
10223
 
      $RM conftest*
10224
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc" >&5
10225
 
$as_echo "$archive_cmds_need_lc" >&6; }
10226
 
      ;;
10227
 
    esac
10228
 
  fi
10229
 
  ;;
10230
 
esac
10231
 
 
10232
 
 
10233
 
 
10234
 
 
10235
 
 
10236
 
 
10237
 
 
10238
 
 
10239
 
 
10240
 
 
10241
 
 
10242
 
 
10243
 
 
10244
 
 
10245
 
 
10246
 
 
10247
 
 
10248
 
 
10249
 
 
10250
 
 
10251
 
 
10252
 
 
10253
 
 
10254
 
 
10255
 
 
10256
 
 
10257
 
 
10258
 
 
10259
 
 
10260
 
 
10261
 
 
10262
 
 
10263
 
 
10264
 
 
10265
 
 
10266
 
 
10267
 
 
10268
 
 
10269
 
 
10270
 
 
10271
 
 
10272
 
 
10273
 
 
10274
 
 
10275
 
 
10276
 
 
10277
 
 
10278
 
 
10279
 
 
10280
 
 
10281
 
 
10282
 
 
10283
 
 
10284
 
 
10285
 
 
10286
 
 
10287
 
 
10288
 
 
10289
 
 
10290
 
 
10291
 
 
10292
 
 
10293
 
 
10294
 
 
10295
 
 
10296
 
 
10297
 
 
10298
 
 
10299
 
 
10300
 
 
10301
 
 
10302
 
 
10303
 
 
10304
 
 
10305
 
 
10306
 
 
10307
 
 
10308
 
 
10309
 
 
10310
 
 
10311
 
 
10312
 
 
10313
 
 
10314
 
 
10315
 
 
10316
 
 
10317
 
 
10318
 
 
10319
 
 
10320
 
 
10321
 
 
10322
 
 
10323
 
 
10324
 
 
10325
 
 
10326
 
 
10327
 
 
10328
 
 
10329
 
 
10330
 
 
10331
 
 
10332
 
 
10333
 
 
10334
 
 
10335
 
 
10336
 
 
10337
 
 
10338
 
 
10339
 
 
10340
 
 
10341
 
 
10342
 
 
10343
 
 
10344
 
 
10345
 
 
10346
 
 
10347
 
 
10348
 
 
10349
 
 
10350
 
 
10351
 
 
10352
 
 
10353
 
 
10354
 
 
10355
 
 
10356
 
 
10357
 
 
10358
 
 
10359
 
 
10360
 
 
10361
 
 
10362
 
 
10363
 
 
10364
 
 
10365
 
 
10366
 
 
10367
 
 
10368
 
 
10369
 
 
10370
 
 
10371
 
 
10372
 
 
10373
 
 
10374
 
 
10375
 
 
10376
 
 
10377
 
 
10378
 
 
10379
 
 
10380
 
 
10381
 
 
10382
 
 
10383
 
 
10384
 
 
10385
 
 
10386
 
 
10387
 
 
10388
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10389
 
$as_echo_n "checking dynamic linker characteristics... " >&6; }
10390
 
 
10391
 
if test "$GCC" = yes; then
10392
 
  case $host_os in
10393
 
    darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10394
 
    *) lt_awk_arg="/^libraries:/" ;;
10395
 
  esac
10396
 
  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
10397
 
  if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
10398
 
    # if the path contains ";" then we assume it to be the separator
10399
 
    # otherwise default to the standard path separator (i.e. ":") - it is
10400
 
    # assumed that no part of a normal pathname contains ";" but that should
10401
 
    # okay in the real world where ";" in dirpaths is itself problematic.
10402
 
    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
10403
 
  else
10404
 
    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
10405
 
  fi
10406
 
  # Ok, now we have the path, separated by spaces, we can step through it
10407
 
  # and add multilib dir if necessary.
10408
 
  lt_tmp_lt_search_path_spec=
10409
 
  lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10410
 
  for lt_sys_path in $lt_search_path_spec; do
10411
 
    if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10412
 
      lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10413
 
    else
10414
 
      test -d "$lt_sys_path" && \
10415
 
        lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10416
 
    fi
10417
 
  done
10418
 
  lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
10419
 
BEGIN {RS=" "; FS="/|\n";} {
10420
 
  lt_foo="";
10421
 
  lt_count=0;
10422
 
  for (lt_i = NF; lt_i > 0; lt_i--) {
10423
 
    if ($lt_i != "" && $lt_i != ".") {
10424
 
      if ($lt_i == "..") {
10425
 
        lt_count++;
10426
 
      } else {
10427
 
        if (lt_count == 0) {
10428
 
          lt_foo="/" $lt_i lt_foo;
10429
 
        } else {
10430
 
          lt_count--;
10431
 
        }
10432
 
      }
10433
 
    }
10434
 
  }
10435
 
  if (lt_foo != "") { lt_freq[lt_foo]++; }
10436
 
  if (lt_freq[lt_foo] == 1) { print lt_foo; }
10437
 
}'`
10438
 
  sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
10439
 
else
10440
 
  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10441
 
fi
10442
 
library_names_spec=
10443
 
libname_spec='lib$name'
10444
 
soname_spec=
10445
 
shrext_cmds=".so"
10446
 
postinstall_cmds=
10447
 
postuninstall_cmds=
10448
 
finish_cmds=
10449
 
finish_eval=
10450
 
shlibpath_var=
10451
 
shlibpath_overrides_runpath=unknown
10452
 
version_type=none
10453
 
dynamic_linker="$host_os ld.so"
10454
 
sys_lib_dlsearch_path_spec="/lib /usr/lib"
10455
 
need_lib_prefix=unknown
10456
 
hardcode_into_libs=no
10457
 
 
10458
 
# when you set need_version to no, make sure it does not cause -set_version
10459
 
# flags to be left without arguments
10460
 
need_version=unknown
10461
 
 
10462
 
case $host_os in
10463
 
aix3*)
10464
 
  version_type=linux
10465
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10466
 
  shlibpath_var=LIBPATH
10467
 
 
10468
 
  # AIX 3 has no versioning support, so we append a major version to the name.
10469
 
  soname_spec='${libname}${release}${shared_ext}$major'
10470
 
  ;;
10471
 
 
10472
 
aix[4-9]*)
10473
 
  version_type=linux
10474
 
  need_lib_prefix=no
10475
 
  need_version=no
10476
 
  hardcode_into_libs=yes
10477
 
  if test "$host_cpu" = ia64; then
10478
 
    # AIX 5 supports IA64
10479
 
    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10480
 
    shlibpath_var=LD_LIBRARY_PATH
10481
 
  else
10482
 
    # With GCC up to 2.95.x, collect2 would create an import file
10483
 
    # for dependence libraries.  The import file would start with
10484
 
    # the line `#! .'.  This would cause the generated library to
10485
 
    # depend on `.', always an invalid library.  This was fixed in
10486
 
    # development snapshots of GCC prior to 3.0.
10487
 
    case $host_os in
10488
 
      aix4 | aix4.[01] | aix4.[01].*)
10489
 
      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10490
 
           echo ' yes '
10491
 
           echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10492
 
        :
10493
 
      else
10494
 
        can_build_shared=no
10495
 
      fi
10496
 
      ;;
10497
 
    esac
10498
 
    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10499
 
    # soname into executable. Probably we can add versioning support to
10500
 
    # collect2, so additional links can be useful in future.
10501
 
    if test "$aix_use_runtimelinking" = yes; then
10502
 
      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10503
 
      # instead of lib<name>.a to let people know that these are not
10504
 
      # typical AIX shared libraries.
10505
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10506
 
    else
10507
 
      # We preserve .a as extension for shared libraries through AIX4.2
10508
 
      # and later when we are not doing run time linking.
10509
 
      library_names_spec='${libname}${release}.a $libname.a'
10510
 
      soname_spec='${libname}${release}${shared_ext}$major'
10511
 
    fi
10512
 
    shlibpath_var=LIBPATH
10513
 
  fi
10514
 
  ;;
10515
 
 
10516
 
amigaos*)
10517
 
  case $host_cpu in
10518
 
  powerpc)
10519
 
    # Since July 2007 AmigaOS4 officially supports .so libraries.
10520
 
    # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10521
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10522
 
    ;;
10523
 
  m68k)
10524
 
    library_names_spec='$libname.ixlibrary $libname.a'
10525
 
    # Create ${libname}_ixlibrary.a entries in /sys/libs.
10526
 
    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'
10527
 
    ;;
10528
 
  esac
10529
 
  ;;
10530
 
 
10531
 
beos*)
10532
 
  library_names_spec='${libname}${shared_ext}'
10533
 
  dynamic_linker="$host_os ld.so"
10534
 
  shlibpath_var=LIBRARY_PATH
10535
 
  ;;
10536
 
 
10537
 
bsdi[45]*)
10538
 
  version_type=linux
10539
 
  need_version=no
10540
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10541
 
  soname_spec='${libname}${release}${shared_ext}$major'
10542
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10543
 
  shlibpath_var=LD_LIBRARY_PATH
10544
 
  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10545
 
  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10546
 
  # the default ld.so.conf also contains /usr/contrib/lib and
10547
 
  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10548
 
  # libtool to hard-code these into programs
10549
 
  ;;
10550
 
 
10551
 
cygwin* | mingw* | pw32* | cegcc*)
10552
 
  version_type=windows
10553
 
  shrext_cmds=".dll"
10554
 
  need_version=no
10555
 
  need_lib_prefix=no
10556
 
 
10557
 
  case $GCC,$host_os in
10558
 
  yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
10559
 
    library_names_spec='$libname.dll.a'
10560
 
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
10561
 
    postinstall_cmds='base_file=`basename \${file}`~
10562
 
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10563
 
      dldir=$destdir/`dirname \$dlpath`~
10564
 
      test -d \$dldir || mkdir -p \$dldir~
10565
 
      $install_prog $dir/$dlname \$dldir/$dlname~
10566
 
      chmod a+x \$dldir/$dlname~
10567
 
      if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10568
 
        eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10569
 
      fi'
10570
 
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10571
 
      dlpath=$dir/\$dldll~
10572
 
       $RM \$dlpath'
10573
 
    shlibpath_overrides_runpath=yes
10574
 
 
10575
 
    case $host_os in
10576
 
    cygwin*)
10577
 
      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10578
 
      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10579
 
      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
10580
 
      ;;
10581
 
    mingw* | cegcc*)
10582
 
      # MinGW DLLs use traditional 'lib' prefix
10583
 
      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10584
 
      sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
10585
 
      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10586
 
        # It is most probably a Windows format PATH printed by
10587
 
        # mingw gcc, but we are running on Cygwin. Gcc prints its search
10588
 
        # path with ; separators, and with drive letters. We can handle the
10589
 
        # drive letters (cygwin fileutils understands them), so leave them,
10590
 
        # especially as we might pass files found there to a mingw objdump,
10591
 
        # which wouldn't understand a cygwinified path. Ahh.
10592
 
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10593
 
      else
10594
 
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
10595
 
      fi
10596
 
      ;;
10597
 
    pw32*)
10598
 
      # pw32 DLLs use 'pw' prefix rather than 'lib'
10599
 
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10600
 
      ;;
10601
 
    esac
10602
 
    ;;
10603
 
 
10604
 
  *)
10605
 
    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10606
 
    ;;
10607
 
  esac
10608
 
  dynamic_linker='Win32 ld.exe'
10609
 
  # FIXME: first we should search . and the directory the executable is in
10610
 
  shlibpath_var=PATH
10611
 
  ;;
10612
 
 
10613
 
darwin* | rhapsody*)
10614
 
  dynamic_linker="$host_os dyld"
10615
 
  version_type=darwin
10616
 
  need_lib_prefix=no
10617
 
  need_version=no
10618
 
  library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10619
 
  soname_spec='${libname}${release}${major}$shared_ext'
10620
 
  shlibpath_overrides_runpath=yes
10621
 
  shlibpath_var=DYLD_LIBRARY_PATH
10622
 
  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10623
 
 
10624
 
  sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10625
 
  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10626
 
  ;;
10627
 
 
10628
 
dgux*)
10629
 
  version_type=linux
10630
 
  need_lib_prefix=no
10631
 
  need_version=no
10632
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10633
 
  soname_spec='${libname}${release}${shared_ext}$major'
10634
 
  shlibpath_var=LD_LIBRARY_PATH
10635
 
  ;;
10636
 
 
10637
 
freebsd1*)
10638
 
  dynamic_linker=no
10639
 
  ;;
10640
 
 
10641
 
freebsd* | dragonfly*)
10642
 
  # DragonFly does not have aout.  When/if they implement a new
10643
 
  # versioning mechanism, adjust this.
10644
 
  if test -x /usr/bin/objformat; then
10645
 
    objformat=`/usr/bin/objformat`
10646
 
  else
10647
 
    case $host_os in
10648
 
    freebsd[123]*) objformat=aout ;;
10649
 
    *) objformat=elf ;;
10650
 
    esac
10651
 
  fi
10652
 
  version_type=freebsd-$objformat
10653
 
  case $version_type in
10654
 
    freebsd-elf*)
10655
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10656
 
      need_version=no
10657
 
      need_lib_prefix=no
10658
 
      ;;
10659
 
    freebsd-*)
10660
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10661
 
      need_version=yes
10662
 
      ;;
10663
 
  esac
10664
 
  shlibpath_var=LD_LIBRARY_PATH
10665
 
  case $host_os in
10666
 
  freebsd2*)
10667
 
    shlibpath_overrides_runpath=yes
10668
 
    ;;
10669
 
  freebsd3.[01]* | freebsdelf3.[01]*)
10670
 
    shlibpath_overrides_runpath=yes
10671
 
    hardcode_into_libs=yes
10672
 
    ;;
10673
 
  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10674
 
  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10675
 
    shlibpath_overrides_runpath=no
10676
 
    hardcode_into_libs=yes
10677
 
    ;;
10678
 
  *) # from 4.6 on, and DragonFly
10679
 
    shlibpath_overrides_runpath=yes
10680
 
    hardcode_into_libs=yes
10681
 
    ;;
10682
 
  esac
10683
 
  ;;
10684
 
 
10685
 
gnu*)
10686
 
  version_type=linux
10687
 
  need_lib_prefix=no
10688
 
  need_version=no
10689
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10690
 
  soname_spec='${libname}${release}${shared_ext}$major'
10691
 
  shlibpath_var=LD_LIBRARY_PATH
10692
 
  hardcode_into_libs=yes
10693
 
  ;;
10694
 
 
10695
 
hpux9* | hpux10* | hpux11*)
10696
 
  # Give a soname corresponding to the major version so that dld.sl refuses to
10697
 
  # link against other versions.
10698
 
  version_type=sunos
10699
 
  need_lib_prefix=no
10700
 
  need_version=no
10701
 
  case $host_cpu in
10702
 
  ia64*)
10703
 
    shrext_cmds='.so'
10704
 
    hardcode_into_libs=yes
10705
 
    dynamic_linker="$host_os dld.so"
10706
 
    shlibpath_var=LD_LIBRARY_PATH
10707
 
    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10708
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10709
 
    soname_spec='${libname}${release}${shared_ext}$major'
10710
 
    if test "X$HPUX_IA64_MODE" = X32; then
10711
 
      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10712
 
    else
10713
 
      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10714
 
    fi
10715
 
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10716
 
    ;;
10717
 
  hppa*64*)
10718
 
    shrext_cmds='.sl'
10719
 
    hardcode_into_libs=yes
10720
 
    dynamic_linker="$host_os dld.sl"
10721
 
    shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10722
 
    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10723
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10724
 
    soname_spec='${libname}${release}${shared_ext}$major'
10725
 
    sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10726
 
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10727
 
    ;;
10728
 
  *)
10729
 
    shrext_cmds='.sl'
10730
 
    dynamic_linker="$host_os dld.sl"
10731
 
    shlibpath_var=SHLIB_PATH
10732
 
    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10733
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10734
 
    soname_spec='${libname}${release}${shared_ext}$major'
10735
 
    ;;
10736
 
  esac
10737
 
  # HP-UX runs *really* slowly unless shared libraries are mode 555.
10738
 
  postinstall_cmds='chmod 555 $lib'
10739
 
  ;;
10740
 
 
10741
 
interix[3-9]*)
10742
 
  version_type=linux
10743
 
  need_lib_prefix=no
10744
 
  need_version=no
10745
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10746
 
  soname_spec='${libname}${release}${shared_ext}$major'
10747
 
  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10748
 
  shlibpath_var=LD_LIBRARY_PATH
10749
 
  shlibpath_overrides_runpath=no
10750
 
  hardcode_into_libs=yes
10751
 
  ;;
10752
 
 
10753
 
irix5* | irix6* | nonstopux*)
10754
 
  case $host_os in
10755
 
    nonstopux*) version_type=nonstopux ;;
10756
 
    *)
10757
 
        if test "$lt_cv_prog_gnu_ld" = yes; then
10758
 
                version_type=linux
10759
 
        else
10760
 
                version_type=irix
10761
 
        fi ;;
10762
 
  esac
10763
 
  need_lib_prefix=no
10764
 
  need_version=no
10765
 
  soname_spec='${libname}${release}${shared_ext}$major'
10766
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10767
 
  case $host_os in
10768
 
  irix5* | nonstopux*)
10769
 
    libsuff= shlibsuff=
10770
 
    ;;
10771
 
  *)
10772
 
    case $LD in # libtool.m4 will add one of these switches to LD
10773
 
    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10774
 
      libsuff= shlibsuff= libmagic=32-bit;;
10775
 
    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10776
 
      libsuff=32 shlibsuff=N32 libmagic=N32;;
10777
 
    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10778
 
      libsuff=64 shlibsuff=64 libmagic=64-bit;;
10779
 
    *) libsuff= shlibsuff= libmagic=never-match;;
10780
 
    esac
10781
 
    ;;
10782
 
  esac
10783
 
  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10784
 
  shlibpath_overrides_runpath=no
10785
 
  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10786
 
  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10787
 
  hardcode_into_libs=yes
10788
 
  ;;
10789
 
 
10790
 
# No shared lib support for Linux oldld, aout, or coff.
10791
 
linux*oldld* | linux*aout* | linux*coff*)
10792
 
  dynamic_linker=no
10793
 
  ;;
10794
 
 
10795
 
# This must be Linux ELF.
10796
 
linux* | k*bsd*-gnu)
10797
 
  version_type=linux
10798
 
  need_lib_prefix=no
10799
 
  need_version=no
10800
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10801
 
  soname_spec='${libname}${release}${shared_ext}$major'
10802
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10803
 
  shlibpath_var=LD_LIBRARY_PATH
10804
 
  shlibpath_overrides_runpath=no
10805
 
  # Some binutils ld are patched to set DT_RUNPATH
10806
 
  save_LDFLAGS=$LDFLAGS
10807
 
  save_libdir=$libdir
10808
 
  eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10809
 
       LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10810
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10811
 
/* end confdefs.h.  */
10812
 
 
10813
 
int
10814
 
main ()
10815
 
{
10816
 
 
10817
 
  ;
10818
 
  return 0;
10819
 
}
10820
 
_ACEOF
10821
 
if ac_fn_c_try_link "$LINENO"; then :
10822
 
  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10823
 
  shlibpath_overrides_runpath=yes
10824
 
fi
10825
 
fi
10826
 
rm -f core conftest.err conftest.$ac_objext \
10827
 
    conftest$ac_exeext conftest.$ac_ext
10828
 
  LDFLAGS=$save_LDFLAGS
10829
 
  libdir=$save_libdir
10830
 
 
10831
 
  # This implies no fast_install, which is unacceptable.
10832
 
  # Some rework will be needed to allow for fast_install
10833
 
  # before this can be enabled.
10834
 
  hardcode_into_libs=yes
10835
 
 
10836
 
  # Append ld.so.conf contents to the search path
10837
 
  if test -f /etc/ld.so.conf; then
10838
 
    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' ' '`
10839
 
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10840
 
  fi
10841
 
 
10842
 
  # We used to test for /lib/ld.so.1 and disable shared libraries on
10843
 
  # powerpc, because MkLinux only supported shared libraries with the
10844
 
  # GNU dynamic linker.  Since this was broken with cross compilers,
10845
 
  # most powerpc-linux boxes support dynamic linking these days and
10846
 
  # people can always --disable-shared, the test was removed, and we
10847
 
  # assume the GNU/Linux dynamic linker is in use.
10848
 
  dynamic_linker='GNU/Linux ld.so'
10849
 
  ;;
10850
 
 
10851
 
netbsdelf*-gnu)
10852
 
  version_type=linux
10853
 
  need_lib_prefix=no
10854
 
  need_version=no
10855
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10856
 
  soname_spec='${libname}${release}${shared_ext}$major'
10857
 
  shlibpath_var=LD_LIBRARY_PATH
10858
 
  shlibpath_overrides_runpath=no
10859
 
  hardcode_into_libs=yes
10860
 
  dynamic_linker='NetBSD ld.elf_so'
10861
 
  ;;
10862
 
 
10863
 
netbsd*)
10864
 
  version_type=sunos
10865
 
  need_lib_prefix=no
10866
 
  need_version=no
10867
 
  if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10868
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10869
 
    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10870
 
    dynamic_linker='NetBSD (a.out) ld.so'
10871
 
  else
10872
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10873
 
    soname_spec='${libname}${release}${shared_ext}$major'
10874
 
    dynamic_linker='NetBSD ld.elf_so'
10875
 
  fi
10876
 
  shlibpath_var=LD_LIBRARY_PATH
10877
 
  shlibpath_overrides_runpath=yes
10878
 
  hardcode_into_libs=yes
10879
 
  ;;
10880
 
 
10881
 
newsos6)
10882
 
  version_type=linux
10883
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10884
 
  shlibpath_var=LD_LIBRARY_PATH
10885
 
  shlibpath_overrides_runpath=yes
10886
 
  ;;
10887
 
 
10888
 
*nto* | *qnx*)
10889
 
  version_type=qnx
10890
 
  need_lib_prefix=no
10891
 
  need_version=no
10892
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10893
 
  soname_spec='${libname}${release}${shared_ext}$major'
10894
 
  shlibpath_var=LD_LIBRARY_PATH
10895
 
  shlibpath_overrides_runpath=no
10896
 
  hardcode_into_libs=yes
10897
 
  dynamic_linker='ldqnx.so'
10898
 
  ;;
10899
 
 
10900
 
openbsd*)
10901
 
  version_type=sunos
10902
 
  sys_lib_dlsearch_path_spec="/usr/lib"
10903
 
  need_lib_prefix=no
10904
 
  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10905
 
  case $host_os in
10906
 
    openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
10907
 
    *)                          need_version=no  ;;
10908
 
  esac
10909
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10910
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10911
 
  shlibpath_var=LD_LIBRARY_PATH
10912
 
  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10913
 
    case $host_os in
10914
 
      openbsd2.[89] | openbsd2.[89].*)
10915
 
        shlibpath_overrides_runpath=no
10916
 
        ;;
10917
 
      *)
10918
 
        shlibpath_overrides_runpath=yes
10919
 
        ;;
10920
 
      esac
10921
 
  else
10922
 
    shlibpath_overrides_runpath=yes
10923
 
  fi
10924
 
  ;;
10925
 
 
10926
 
os2*)
10927
 
  libname_spec='$name'
10928
 
  shrext_cmds=".dll"
10929
 
  need_lib_prefix=no
10930
 
  library_names_spec='$libname${shared_ext} $libname.a'
10931
 
  dynamic_linker='OS/2 ld.exe'
10932
 
  shlibpath_var=LIBPATH
10933
 
  ;;
10934
 
 
10935
 
osf3* | osf4* | osf5*)
10936
 
  version_type=osf
10937
 
  need_lib_prefix=no
10938
 
  need_version=no
10939
 
  soname_spec='${libname}${release}${shared_ext}$major'
10940
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10941
 
  shlibpath_var=LD_LIBRARY_PATH
10942
 
  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10943
 
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10944
 
  ;;
10945
 
 
10946
 
rdos*)
10947
 
  dynamic_linker=no
10948
 
  ;;
10949
 
 
10950
 
solaris*)
10951
 
  version_type=linux
10952
 
  need_lib_prefix=no
10953
 
  need_version=no
10954
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10955
 
  soname_spec='${libname}${release}${shared_ext}$major'
10956
 
  shlibpath_var=LD_LIBRARY_PATH
10957
 
  shlibpath_overrides_runpath=yes
10958
 
  hardcode_into_libs=yes
10959
 
  # ldd complains unless libraries are executable
10960
 
  postinstall_cmds='chmod +x $lib'
10961
 
  ;;
10962
 
 
10963
 
sunos4*)
10964
 
  version_type=sunos
10965
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10966
 
  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10967
 
  shlibpath_var=LD_LIBRARY_PATH
10968
 
  shlibpath_overrides_runpath=yes
10969
 
  if test "$with_gnu_ld" = yes; then
10970
 
    need_lib_prefix=no
10971
 
  fi
10972
 
  need_version=yes
10973
 
  ;;
10974
 
 
10975
 
sysv4 | sysv4.3*)
10976
 
  version_type=linux
10977
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10978
 
  soname_spec='${libname}${release}${shared_ext}$major'
10979
 
  shlibpath_var=LD_LIBRARY_PATH
10980
 
  case $host_vendor in
10981
 
    sni)
10982
 
      shlibpath_overrides_runpath=no
10983
 
      need_lib_prefix=no
10984
 
      runpath_var=LD_RUN_PATH
10985
 
      ;;
10986
 
    siemens)
10987
 
      need_lib_prefix=no
10988
 
      ;;
10989
 
    motorola)
10990
 
      need_lib_prefix=no
10991
 
      need_version=no
10992
 
      shlibpath_overrides_runpath=no
10993
 
      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10994
 
      ;;
10995
 
  esac
10996
 
  ;;
10997
 
 
10998
 
sysv4*MP*)
10999
 
  if test -d /usr/nec ;then
11000
 
    version_type=linux
11001
 
    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11002
 
    soname_spec='$libname${shared_ext}.$major'
11003
 
    shlibpath_var=LD_LIBRARY_PATH
11004
 
  fi
11005
 
  ;;
11006
 
 
11007
 
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11008
 
  version_type=freebsd-elf
11009
 
  need_lib_prefix=no
11010
 
  need_version=no
11011
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11012
 
  soname_spec='${libname}${release}${shared_ext}$major'
11013
 
  shlibpath_var=LD_LIBRARY_PATH
11014
 
  shlibpath_overrides_runpath=yes
11015
 
  hardcode_into_libs=yes
11016
 
  if test "$with_gnu_ld" = yes; then
11017
 
    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11018
 
  else
11019
 
    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11020
 
    case $host_os in
11021
 
      sco3.2v5*)
11022
 
        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11023
 
        ;;
11024
 
    esac
11025
 
  fi
11026
 
  sys_lib_dlsearch_path_spec='/usr/lib'
11027
 
  ;;
11028
 
 
11029
 
tpf*)
11030
 
  # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
11031
 
  version_type=linux
11032
 
  need_lib_prefix=no
11033
 
  need_version=no
11034
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11035
 
  shlibpath_var=LD_LIBRARY_PATH
11036
 
  shlibpath_overrides_runpath=no
11037
 
  hardcode_into_libs=yes
11038
 
  ;;
11039
 
 
11040
 
uts4*)
11041
 
  version_type=linux
11042
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11043
 
  soname_spec='${libname}${release}${shared_ext}$major'
11044
 
  shlibpath_var=LD_LIBRARY_PATH
11045
 
  ;;
11046
 
 
11047
 
*)
11048
 
  dynamic_linker=no
11049
 
  ;;
11050
 
esac
11051
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11052
 
$as_echo "$dynamic_linker" >&6; }
11053
 
test "$dynamic_linker" = no && can_build_shared=no
11054
 
 
11055
 
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11056
 
if test "$GCC" = yes; then
11057
 
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11058
 
fi
11059
 
 
11060
 
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11061
 
  sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11062
 
fi
11063
 
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11064
 
  sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11065
 
fi
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
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11154
 
$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11155
 
hardcode_action=
11156
 
if test -n "$hardcode_libdir_flag_spec" ||
11157
 
   test -n "$runpath_var" ||
11158
 
   test "X$hardcode_automatic" = "Xyes" ; then
11159
 
 
11160
 
  # We can hardcode non-existent directories.
11161
 
  if test "$hardcode_direct" != no &&
11162
 
     # If the only mechanism to avoid hardcoding is shlibpath_var, we
11163
 
     # have to relink, otherwise we might link with an installed library
11164
 
     # when we should be linking with a yet-to-be-installed one
11165
 
     ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11166
 
     test "$hardcode_minus_L" != no; then
11167
 
    # Linking always hardcodes the temporary library directory.
11168
 
    hardcode_action=relink
11169
 
  else
11170
 
    # We can link without hardcoding, and we can hardcode nonexisting dirs.
11171
 
    hardcode_action=immediate
11172
 
  fi
11173
 
else
11174
 
  # We cannot hardcode anything, or else we can only hardcode existing
11175
 
  # directories.
11176
 
  hardcode_action=unsupported
11177
 
fi
11178
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11179
 
$as_echo "$hardcode_action" >&6; }
11180
 
 
11181
 
if test "$hardcode_action" = relink ||
11182
 
   test "$inherit_rpath" = yes; then
11183
 
  # Fast installation is not supported
11184
 
  enable_fast_install=no
11185
 
elif test "$shlibpath_overrides_runpath" = yes ||
11186
 
     test "$enable_shared" = no; then
11187
 
  # Fast installation is not necessary
11188
 
  enable_fast_install=needless
11189
 
fi
11190
 
 
11191
 
 
11192
 
 
11193
 
 
11194
 
 
11195
 
 
11196
 
  if test "x$enable_dlopen" != xyes; then
11197
 
  enable_dlopen=unknown
11198
 
  enable_dlopen_self=unknown
11199
 
  enable_dlopen_self_static=unknown
11200
 
else
11201
 
  lt_cv_dlopen=no
11202
 
  lt_cv_dlopen_libs=
11203
 
 
11204
 
  case $host_os in
11205
 
  beos*)
11206
 
    lt_cv_dlopen="load_add_on"
11207
 
    lt_cv_dlopen_libs=
11208
 
    lt_cv_dlopen_self=yes
11209
 
    ;;
11210
 
 
11211
 
  mingw* | pw32* | cegcc*)
11212
 
    lt_cv_dlopen="LoadLibrary"
11213
 
    lt_cv_dlopen_libs=
11214
 
    ;;
11215
 
 
11216
 
  cygwin*)
11217
 
    lt_cv_dlopen="dlopen"
11218
 
    lt_cv_dlopen_libs=
11219
 
    ;;
11220
 
 
11221
 
  darwin*)
11222
 
  # if libdl is installed we need to link against it
11223
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11224
 
$as_echo_n "checking for dlopen in -ldl... " >&6; }
11225
 
if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11226
 
  $as_echo_n "(cached) " >&6
11227
 
else
11228
 
  ac_check_lib_save_LIBS=$LIBS
11229
 
LIBS="-ldl  $LIBS"
11230
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11231
 
/* end confdefs.h.  */
11232
 
 
11233
 
/* Override any GCC internal prototype to avoid an error.
11234
 
   Use char because int might match the return type of a GCC
11235
 
   builtin and then its argument prototype would still apply.  */
11236
 
#ifdef __cplusplus
11237
 
extern "C"
11238
 
#endif
11239
 
char dlopen ();
11240
 
int
11241
 
main ()
11242
 
{
11243
 
return dlopen ();
11244
 
  ;
11245
 
  return 0;
11246
 
}
11247
 
_ACEOF
11248
 
if ac_fn_c_try_link "$LINENO"; then :
11249
 
  ac_cv_lib_dl_dlopen=yes
11250
 
else
11251
 
  ac_cv_lib_dl_dlopen=no
11252
 
fi
11253
 
rm -f core conftest.err conftest.$ac_objext \
11254
 
    conftest$ac_exeext conftest.$ac_ext
11255
 
LIBS=$ac_check_lib_save_LIBS
11256
 
fi
11257
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11258
 
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11259
 
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11260
 
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11261
 
else
11262
 
 
11263
 
    lt_cv_dlopen="dyld"
11264
 
    lt_cv_dlopen_libs=
11265
 
    lt_cv_dlopen_self=yes
11266
 
 
11267
 
fi
11268
 
 
11269
 
    ;;
11270
 
 
11271
 
  *)
11272
 
    ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11273
 
if test "x$ac_cv_func_shl_load" = x""yes; then :
11274
 
  lt_cv_dlopen="shl_load"
11275
 
else
11276
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11277
 
$as_echo_n "checking for shl_load in -ldld... " >&6; }
11278
 
if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
11279
 
  $as_echo_n "(cached) " >&6
11280
 
else
11281
 
  ac_check_lib_save_LIBS=$LIBS
11282
 
LIBS="-ldld  $LIBS"
11283
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11284
 
/* end confdefs.h.  */
11285
 
 
11286
 
/* Override any GCC internal prototype to avoid an error.
11287
 
   Use char because int might match the return type of a GCC
11288
 
   builtin and then its argument prototype would still apply.  */
11289
 
#ifdef __cplusplus
11290
 
extern "C"
11291
 
#endif
11292
 
char shl_load ();
11293
 
int
11294
 
main ()
11295
 
{
11296
 
return shl_load ();
11297
 
  ;
11298
 
  return 0;
11299
 
}
11300
 
_ACEOF
11301
 
if ac_fn_c_try_link "$LINENO"; then :
11302
 
  ac_cv_lib_dld_shl_load=yes
11303
 
else
11304
 
  ac_cv_lib_dld_shl_load=no
11305
 
fi
11306
 
rm -f core conftest.err conftest.$ac_objext \
11307
 
    conftest$ac_exeext conftest.$ac_ext
11308
 
LIBS=$ac_check_lib_save_LIBS
11309
 
fi
11310
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11311
 
$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11312
 
if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
11313
 
  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11314
 
else
11315
 
  ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11316
 
if test "x$ac_cv_func_dlopen" = x""yes; then :
11317
 
  lt_cv_dlopen="dlopen"
11318
 
else
11319
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11320
 
$as_echo_n "checking for dlopen in -ldl... " >&6; }
11321
 
if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11322
 
  $as_echo_n "(cached) " >&6
11323
 
else
11324
 
  ac_check_lib_save_LIBS=$LIBS
11325
 
LIBS="-ldl  $LIBS"
11326
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11327
 
/* end confdefs.h.  */
11328
 
 
11329
 
/* Override any GCC internal prototype to avoid an error.
11330
 
   Use char because int might match the return type of a GCC
11331
 
   builtin and then its argument prototype would still apply.  */
11332
 
#ifdef __cplusplus
11333
 
extern "C"
11334
 
#endif
11335
 
char dlopen ();
11336
 
int
11337
 
main ()
11338
 
{
11339
 
return dlopen ();
11340
 
  ;
11341
 
  return 0;
11342
 
}
11343
 
_ACEOF
11344
 
if ac_fn_c_try_link "$LINENO"; then :
11345
 
  ac_cv_lib_dl_dlopen=yes
11346
 
else
11347
 
  ac_cv_lib_dl_dlopen=no
11348
 
fi
11349
 
rm -f core conftest.err conftest.$ac_objext \
11350
 
    conftest$ac_exeext conftest.$ac_ext
11351
 
LIBS=$ac_check_lib_save_LIBS
11352
 
fi
11353
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11354
 
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11355
 
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11356
 
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11357
 
else
11358
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11359
 
$as_echo_n "checking for dlopen in -lsvld... " >&6; }
11360
 
if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
11361
 
  $as_echo_n "(cached) " >&6
11362
 
else
11363
 
  ac_check_lib_save_LIBS=$LIBS
11364
 
LIBS="-lsvld  $LIBS"
11365
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11366
 
/* end confdefs.h.  */
11367
 
 
11368
 
/* Override any GCC internal prototype to avoid an error.
11369
 
   Use char because int might match the return type of a GCC
11370
 
   builtin and then its argument prototype would still apply.  */
11371
 
#ifdef __cplusplus
11372
 
extern "C"
11373
 
#endif
11374
 
char dlopen ();
11375
 
int
11376
 
main ()
11377
 
{
11378
 
return dlopen ();
11379
 
  ;
11380
 
  return 0;
11381
 
}
11382
 
_ACEOF
11383
 
if ac_fn_c_try_link "$LINENO"; then :
11384
 
  ac_cv_lib_svld_dlopen=yes
11385
 
else
11386
 
  ac_cv_lib_svld_dlopen=no
11387
 
fi
11388
 
rm -f core conftest.err conftest.$ac_objext \
11389
 
    conftest$ac_exeext conftest.$ac_ext
11390
 
LIBS=$ac_check_lib_save_LIBS
11391
 
fi
11392
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11393
 
$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11394
 
if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
11395
 
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11396
 
else
11397
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11398
 
$as_echo_n "checking for dld_link in -ldld... " >&6; }
11399
 
if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
11400
 
  $as_echo_n "(cached) " >&6
11401
 
else
11402
 
  ac_check_lib_save_LIBS=$LIBS
11403
 
LIBS="-ldld  $LIBS"
11404
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11405
 
/* end confdefs.h.  */
11406
 
 
11407
 
/* Override any GCC internal prototype to avoid an error.
11408
 
   Use char because int might match the return type of a GCC
11409
 
   builtin and then its argument prototype would still apply.  */
11410
 
#ifdef __cplusplus
11411
 
extern "C"
11412
 
#endif
11413
 
char dld_link ();
11414
 
int
11415
 
main ()
11416
 
{
11417
 
return dld_link ();
11418
 
  ;
11419
 
  return 0;
11420
 
}
11421
 
_ACEOF
11422
 
if ac_fn_c_try_link "$LINENO"; then :
11423
 
  ac_cv_lib_dld_dld_link=yes
11424
 
else
11425
 
  ac_cv_lib_dld_dld_link=no
11426
 
fi
11427
 
rm -f core conftest.err conftest.$ac_objext \
11428
 
    conftest$ac_exeext conftest.$ac_ext
11429
 
LIBS=$ac_check_lib_save_LIBS
11430
 
fi
11431
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11432
 
$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11433
 
if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
11434
 
  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11435
 
fi
11436
 
 
11437
 
 
11438
 
fi
11439
 
 
11440
 
 
11441
 
fi
11442
 
 
11443
 
 
11444
 
fi
11445
 
 
11446
 
 
11447
 
fi
11448
 
 
11449
 
 
11450
 
fi
11451
 
 
11452
 
    ;;
11453
 
  esac
11454
 
 
11455
 
  if test "x$lt_cv_dlopen" != xno; then
11456
 
    enable_dlopen=yes
11457
 
  else
11458
 
    enable_dlopen=no
11459
 
  fi
11460
 
 
11461
 
  case $lt_cv_dlopen in
11462
 
  dlopen)
11463
 
    save_CPPFLAGS="$CPPFLAGS"
11464
 
    test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11465
 
 
11466
 
    save_LDFLAGS="$LDFLAGS"
11467
 
    wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11468
 
 
11469
 
    save_LIBS="$LIBS"
11470
 
    LIBS="$lt_cv_dlopen_libs $LIBS"
11471
 
 
11472
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11473
 
$as_echo_n "checking whether a program can dlopen itself... " >&6; }
11474
 
if test "${lt_cv_dlopen_self+set}" = set; then :
11475
 
  $as_echo_n "(cached) " >&6
11476
 
else
11477
 
          if test "$cross_compiling" = yes; then :
11478
 
  lt_cv_dlopen_self=cross
11479
 
else
11480
 
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11481
 
  lt_status=$lt_dlunknown
11482
 
  cat > conftest.$ac_ext <<_LT_EOF
11483
 
#line 11483 "configure"
11484
 
#include "confdefs.h"
11485
 
 
11486
 
#if HAVE_DLFCN_H
11487
 
#include <dlfcn.h>
11488
 
#endif
11489
 
 
11490
 
#include <stdio.h>
11491
 
 
11492
 
#ifdef RTLD_GLOBAL
11493
 
#  define LT_DLGLOBAL           RTLD_GLOBAL
11494
 
#else
11495
 
#  ifdef DL_GLOBAL
11496
 
#    define LT_DLGLOBAL         DL_GLOBAL
11497
 
#  else
11498
 
#    define LT_DLGLOBAL         0
11499
 
#  endif
11500
 
#endif
11501
 
 
11502
 
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11503
 
   find out it does not work in some platform. */
11504
 
#ifndef LT_DLLAZY_OR_NOW
11505
 
#  ifdef RTLD_LAZY
11506
 
#    define LT_DLLAZY_OR_NOW            RTLD_LAZY
11507
 
#  else
11508
 
#    ifdef DL_LAZY
11509
 
#      define LT_DLLAZY_OR_NOW          DL_LAZY
11510
 
#    else
11511
 
#      ifdef RTLD_NOW
11512
 
#        define LT_DLLAZY_OR_NOW        RTLD_NOW
11513
 
#      else
11514
 
#        ifdef DL_NOW
11515
 
#          define LT_DLLAZY_OR_NOW      DL_NOW
11516
 
#        else
11517
 
#          define LT_DLLAZY_OR_NOW      0
11518
 
#        endif
11519
 
#      endif
11520
 
#    endif
11521
 
#  endif
11522
 
#endif
11523
 
 
11524
 
void fnord() { int i=42;}
11525
 
int main ()
11526
 
{
11527
 
  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11528
 
  int status = $lt_dlunknown;
11529
 
 
11530
 
  if (self)
11531
 
    {
11532
 
      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11533
 
      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11534
 
      /* dlclose (self); */
11535
 
    }
11536
 
  else
11537
 
    puts (dlerror ());
11538
 
 
11539
 
  return status;
11540
 
}
11541
 
_LT_EOF
11542
 
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11543
 
  (eval $ac_link) 2>&5
11544
 
  ac_status=$?
11545
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11546
 
  test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11547
 
    (./conftest; exit; ) >&5 2>/dev/null
11548
 
    lt_status=$?
11549
 
    case x$lt_status in
11550
 
      x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11551
 
      x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11552
 
      x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11553
 
    esac
11554
 
  else :
11555
 
    # compilation failed
11556
 
    lt_cv_dlopen_self=no
11557
 
  fi
11558
 
fi
11559
 
rm -fr conftest*
11560
 
 
11561
 
 
11562
 
fi
11563
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11564
 
$as_echo "$lt_cv_dlopen_self" >&6; }
11565
 
 
11566
 
    if test "x$lt_cv_dlopen_self" = xyes; then
11567
 
      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11568
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11569
 
$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11570
 
if test "${lt_cv_dlopen_self_static+set}" = set; then :
11571
 
  $as_echo_n "(cached) " >&6
11572
 
else
11573
 
          if test "$cross_compiling" = yes; then :
11574
 
  lt_cv_dlopen_self_static=cross
11575
 
else
11576
 
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11577
 
  lt_status=$lt_dlunknown
11578
 
  cat > conftest.$ac_ext <<_LT_EOF
11579
 
#line 11579 "configure"
11580
 
#include "confdefs.h"
11581
 
 
11582
 
#if HAVE_DLFCN_H
11583
 
#include <dlfcn.h>
11584
 
#endif
11585
 
 
11586
 
#include <stdio.h>
11587
 
 
11588
 
#ifdef RTLD_GLOBAL
11589
 
#  define LT_DLGLOBAL           RTLD_GLOBAL
11590
 
#else
11591
 
#  ifdef DL_GLOBAL
11592
 
#    define LT_DLGLOBAL         DL_GLOBAL
11593
 
#  else
11594
 
#    define LT_DLGLOBAL         0
11595
 
#  endif
11596
 
#endif
11597
 
 
11598
 
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11599
 
   find out it does not work in some platform. */
11600
 
#ifndef LT_DLLAZY_OR_NOW
11601
 
#  ifdef RTLD_LAZY
11602
 
#    define LT_DLLAZY_OR_NOW            RTLD_LAZY
11603
 
#  else
11604
 
#    ifdef DL_LAZY
11605
 
#      define LT_DLLAZY_OR_NOW          DL_LAZY
11606
 
#    else
11607
 
#      ifdef RTLD_NOW
11608
 
#        define LT_DLLAZY_OR_NOW        RTLD_NOW
11609
 
#      else
11610
 
#        ifdef DL_NOW
11611
 
#          define LT_DLLAZY_OR_NOW      DL_NOW
11612
 
#        else
11613
 
#          define LT_DLLAZY_OR_NOW      0
11614
 
#        endif
11615
 
#      endif
11616
 
#    endif
11617
 
#  endif
11618
 
#endif
11619
 
 
11620
 
void fnord() { int i=42;}
11621
 
int main ()
11622
 
{
11623
 
  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11624
 
  int status = $lt_dlunknown;
11625
 
 
11626
 
  if (self)
11627
 
    {
11628
 
      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11629
 
      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11630
 
      /* dlclose (self); */
11631
 
    }
11632
 
  else
11633
 
    puts (dlerror ());
11634
 
 
11635
 
  return status;
11636
 
}
11637
 
_LT_EOF
11638
 
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11639
 
  (eval $ac_link) 2>&5
11640
 
  ac_status=$?
11641
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11642
 
  test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11643
 
    (./conftest; exit; ) >&5 2>/dev/null
11644
 
    lt_status=$?
11645
 
    case x$lt_status in
11646
 
      x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11647
 
      x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11648
 
      x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11649
 
    esac
11650
 
  else :
11651
 
    # compilation failed
11652
 
    lt_cv_dlopen_self_static=no
11653
 
  fi
11654
 
fi
11655
 
rm -fr conftest*
11656
 
 
11657
 
 
11658
 
fi
11659
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11660
 
$as_echo "$lt_cv_dlopen_self_static" >&6; }
11661
 
    fi
11662
 
 
11663
 
    CPPFLAGS="$save_CPPFLAGS"
11664
 
    LDFLAGS="$save_LDFLAGS"
11665
 
    LIBS="$save_LIBS"
11666
 
    ;;
11667
 
  esac
11668
 
 
11669
 
  case $lt_cv_dlopen_self in
11670
 
  yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11671
 
  *) enable_dlopen_self=unknown ;;
11672
 
  esac
11673
 
 
11674
 
  case $lt_cv_dlopen_self_static in
11675
 
  yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11676
 
  *) enable_dlopen_self_static=unknown ;;
11677
 
  esac
11678
 
fi
11679
 
 
11680
 
 
11681
 
 
11682
 
 
11683
 
 
11684
 
 
11685
 
 
11686
 
 
11687
 
 
11688
 
 
11689
 
 
11690
 
 
11691
 
 
11692
 
 
11693
 
 
11694
 
 
11695
 
 
11696
 
striplib=
11697
 
old_striplib=
11698
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11699
 
$as_echo_n "checking whether stripping libraries is possible... " >&6; }
11700
 
if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11701
 
  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11702
 
  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11703
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11704
 
$as_echo "yes" >&6; }
11705
 
else
11706
 
# FIXME - insert some real tests, host_os isn't really good enough
11707
 
  case $host_os in
11708
 
  darwin*)
11709
 
    if test -n "$STRIP" ; then
11710
 
      striplib="$STRIP -x"
11711
 
      old_striplib="$STRIP -S"
11712
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11713
 
$as_echo "yes" >&6; }
11714
 
    else
11715
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11716
 
$as_echo "no" >&6; }
11717
 
    fi
11718
 
    ;;
11719
 
  *)
11720
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11721
 
$as_echo "no" >&6; }
11722
 
    ;;
11723
 
  esac
11724
 
fi
11725
 
 
11726
 
 
11727
 
 
11728
 
 
11729
 
 
11730
 
 
11731
 
 
11732
 
 
11733
 
 
11734
 
 
11735
 
 
11736
 
 
11737
 
  # Report which library types will actually be built
11738
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11739
 
$as_echo_n "checking if libtool supports shared libraries... " >&6; }
11740
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11741
 
$as_echo "$can_build_shared" >&6; }
11742
 
 
11743
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11744
 
$as_echo_n "checking whether to build shared libraries... " >&6; }
11745
 
  test "$can_build_shared" = "no" && enable_shared=no
11746
 
 
11747
 
  # On AIX, shared libraries and static libraries use the same namespace, and
11748
 
  # are all built from PIC.
11749
 
  case $host_os in
11750
 
  aix3*)
11751
 
    test "$enable_shared" = yes && enable_static=no
11752
 
    if test -n "$RANLIB"; then
11753
 
      archive_cmds="$archive_cmds~\$RANLIB \$lib"
11754
 
      postinstall_cmds='$RANLIB $lib'
11755
 
    fi
11756
 
    ;;
11757
 
 
11758
 
  aix[4-9]*)
11759
 
    if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11760
 
      test "$enable_shared" = yes && enable_static=no
11761
 
    fi
11762
 
    ;;
11763
 
  esac
11764
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11765
 
$as_echo "$enable_shared" >&6; }
11766
 
 
11767
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11768
 
$as_echo_n "checking whether to build static libraries... " >&6; }
11769
 
  # Make sure either enable_shared or enable_static is yes.
11770
 
  test "$enable_shared" = yes || enable_static=yes
11771
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11772
 
$as_echo "$enable_static" >&6; }
11773
 
 
11774
 
 
11775
 
 
11776
 
 
11777
 
fi
11778
 
ac_ext=c
11779
 
ac_cpp='$CPP $CPPFLAGS'
11780
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11781
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11782
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
11783
 
 
11784
 
CC="$lt_save_CC"
11785
 
 
11786
 
 
11787
 
ac_ext=cpp
11788
 
ac_cpp='$CXXCPP $CPPFLAGS'
11789
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11790
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11791
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11792
 
 
11793
 
archive_cmds_need_lc_CXX=no
11794
 
allow_undefined_flag_CXX=
11795
 
always_export_symbols_CXX=no
11796
 
archive_expsym_cmds_CXX=
11797
 
compiler_needs_object_CXX=no
11798
 
export_dynamic_flag_spec_CXX=
11799
 
hardcode_direct_CXX=no
11800
 
hardcode_direct_absolute_CXX=no
11801
 
hardcode_libdir_flag_spec_CXX=
11802
 
hardcode_libdir_flag_spec_ld_CXX=
11803
 
hardcode_libdir_separator_CXX=
11804
 
hardcode_minus_L_CXX=no
11805
 
hardcode_shlibpath_var_CXX=unsupported
11806
 
hardcode_automatic_CXX=no
11807
 
inherit_rpath_CXX=no
11808
 
module_cmds_CXX=
11809
 
module_expsym_cmds_CXX=
11810
 
link_all_deplibs_CXX=unknown
11811
 
old_archive_cmds_CXX=$old_archive_cmds
11812
 
no_undefined_flag_CXX=
11813
 
whole_archive_flag_spec_CXX=
11814
 
enable_shared_with_static_runtimes_CXX=no
11815
 
 
11816
 
# Source file extension for C++ test sources.
11817
 
ac_ext=cpp
11818
 
 
11819
 
# Object file extension for compiled C++ test sources.
11820
 
objext=o
11821
 
objext_CXX=$objext
11822
 
 
11823
 
# No sense in running all these tests if we already determined that
11824
 
# the CXX compiler isn't working.  Some variables (like enable_shared)
11825
 
# are currently assumed to apply to all compilers on this platform,
11826
 
# and will be corrupted by setting them based on a non-working compiler.
11827
 
if test "$_lt_caught_CXX_error" != yes; then
11828
 
  # Code to be used in simple compile tests
11829
 
  lt_simple_compile_test_code="int some_variable = 0;"
11830
 
 
11831
 
  # Code to be used in simple link tests
11832
 
  lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
11833
 
 
11834
 
  # ltmain only uses $CC for tagged configurations so make sure $CC is set.
11835
 
 
11836
 
 
11837
 
 
11838
 
 
11839
 
 
11840
 
 
11841
 
# If no C compiler was specified, use CC.
11842
 
LTCC=${LTCC-"$CC"}
11843
 
 
11844
 
# If no C compiler flags were specified, use CFLAGS.
11845
 
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
11846
 
 
11847
 
# Allow CC to be a program name with arguments.
11848
 
compiler=$CC
11849
 
 
11850
 
 
11851
 
  # save warnings/boilerplate of simple test code
11852
 
  ac_outfile=conftest.$ac_objext
11853
 
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
11854
 
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
11855
 
_lt_compiler_boilerplate=`cat conftest.err`
11856
 
$RM conftest*
11857
 
 
11858
 
  ac_outfile=conftest.$ac_objext
11859
 
echo "$lt_simple_link_test_code" >conftest.$ac_ext
11860
 
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
11861
 
_lt_linker_boilerplate=`cat conftest.err`
11862
 
$RM -r conftest*
11863
 
 
11864
 
 
11865
 
  # Allow CC to be a program name with arguments.
11866
 
  lt_save_CC=$CC
11867
 
  lt_save_LD=$LD
11868
 
  lt_save_GCC=$GCC
11869
 
  GCC=$GXX
11870
 
  lt_save_with_gnu_ld=$with_gnu_ld
11871
 
  lt_save_path_LD=$lt_cv_path_LD
11872
 
  if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
11873
 
    lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
11874
 
  else
11875
 
    $as_unset lt_cv_prog_gnu_ld
11876
 
  fi
11877
 
  if test -n "${lt_cv_path_LDCXX+set}"; then
11878
 
    lt_cv_path_LD=$lt_cv_path_LDCXX
11879
 
  else
11880
 
    $as_unset lt_cv_path_LD
11881
 
  fi
11882
 
  test -z "${LDCXX+set}" || LD=$LDCXX
11883
 
  CC=${CXX-"c++"}
11884
 
  compiler=$CC
11885
 
  compiler_CXX=$CC
11886
 
  for cc_temp in $compiler""; do
11887
 
  case $cc_temp in
11888
 
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
11889
 
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
11890
 
    \-*) ;;
11891
 
    *) break;;
11892
 
  esac
11893
 
done
11894
 
cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
11895
 
 
11896
 
 
11897
 
  if test -n "$compiler"; then
11898
 
    # We don't want -fno-exception when compiling C++ code, so set the
11899
 
    # no_builtin_flag separately
11900
 
    if test "$GXX" = yes; then
11901
 
      lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
11902
 
    else
11903
 
      lt_prog_compiler_no_builtin_flag_CXX=
11904
 
    fi
11905
 
 
11906
 
    if test "$GXX" = yes; then
11907
 
      # Set up default GNU C++ configuration
11908
 
 
11909
 
 
11910
 
 
11911
 
# Check whether --with-gnu-ld was given.
11912
 
if test "${with_gnu_ld+set}" = set; then :
11913
 
  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
11914
 
else
11915
 
  with_gnu_ld=no
11916
 
fi
11917
 
 
11918
 
ac_prog=ld
11919
 
if test "$GCC" = yes; then
11920
 
  # Check if gcc -print-prog-name=ld gives a path.
11921
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
11922
 
$as_echo_n "checking for ld used by $CC... " >&6; }
11923
 
  case $host in
11924
 
  *-*-mingw*)
11925
 
    # gcc leaves a trailing carriage return which upsets mingw
11926
 
    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
11927
 
  *)
11928
 
    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
11929
 
  esac
11930
 
  case $ac_prog in
11931
 
    # Accept absolute paths.
11932
 
    [\\/]* | ?:[\\/]*)
11933
 
      re_direlt='/[^/][^/]*/\.\./'
11934
 
      # Canonicalize the pathname of ld
11935
 
      ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
11936
 
      while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
11937
 
        ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
11938
 
      done
11939
 
      test -z "$LD" && LD="$ac_prog"
11940
 
      ;;
11941
 
  "")
11942
 
    # If it fails, then pretend we aren't using GCC.
11943
 
    ac_prog=ld
11944
 
    ;;
11945
 
  *)
11946
 
    # If it is relative, then search for the first ld in PATH.
11947
 
    with_gnu_ld=unknown
11948
 
    ;;
11949
 
  esac
11950
 
elif test "$with_gnu_ld" = yes; then
11951
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
11952
 
$as_echo_n "checking for GNU ld... " >&6; }
11953
 
else
11954
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
11955
 
$as_echo_n "checking for non-GNU ld... " >&6; }
11956
 
fi
11957
 
if test "${lt_cv_path_LD+set}" = set; then :
11958
 
  $as_echo_n "(cached) " >&6
11959
 
else
11960
 
  if test -z "$LD"; then
11961
 
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
11962
 
  for ac_dir in $PATH; do
11963
 
    IFS="$lt_save_ifs"
11964
 
    test -z "$ac_dir" && ac_dir=.
11965
 
    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
11966
 
      lt_cv_path_LD="$ac_dir/$ac_prog"
11967
 
      # Check to see if the program is GNU ld.  I'd rather use --version,
11968
 
      # but apparently some variants of GNU ld only accept -v.
11969
 
      # Break only if it was the GNU/non-GNU ld that we prefer.
11970
 
      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
11971
 
      *GNU* | *'with BFD'*)
11972
 
        test "$with_gnu_ld" != no && break
11973
 
        ;;
11974
 
      *)
11975
 
        test "$with_gnu_ld" != yes && break
11976
 
        ;;
11977
 
      esac
11978
 
    fi
11979
 
  done
11980
 
  IFS="$lt_save_ifs"
11981
 
else
11982
 
  lt_cv_path_LD="$LD" # Let the user override the test with a path.
11983
 
fi
11984
 
fi
11985
 
 
11986
 
LD="$lt_cv_path_LD"
11987
 
if test -n "$LD"; then
11988
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
11989
 
$as_echo "$LD" >&6; }
11990
 
else
11991
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11992
 
$as_echo "no" >&6; }
11993
 
fi
11994
 
test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
11995
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
11996
 
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
11997
 
if test "${lt_cv_prog_gnu_ld+set}" = set; then :
11998
 
  $as_echo_n "(cached) " >&6
11999
 
else
12000
 
  # I'd rather use --version here, but apparently some GNU lds only accept -v.
12001
 
case `$LD -v 2>&1 </dev/null` in
12002
 
*GNU* | *'with BFD'*)
12003
 
  lt_cv_prog_gnu_ld=yes
12004
 
  ;;
12005
 
*)
12006
 
  lt_cv_prog_gnu_ld=no
12007
 
  ;;
12008
 
esac
12009
 
fi
12010
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
12011
 
$as_echo "$lt_cv_prog_gnu_ld" >&6; }
12012
 
with_gnu_ld=$lt_cv_prog_gnu_ld
12013
 
 
12014
 
 
12015
 
 
12016
 
 
12017
 
 
12018
 
 
12019
 
 
12020
 
      # Check if GNU C++ uses GNU ld as the underlying linker, since the
12021
 
      # archiving commands below assume that GNU ld is being used.
12022
 
      if test "$with_gnu_ld" = yes; then
12023
 
        archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12024
 
        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'
12025
 
 
12026
 
        hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12027
 
        export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12028
 
 
12029
 
        # If archive_cmds runs LD, not CC, wlarc should be empty
12030
 
        # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
12031
 
        #     investigate it a little bit more. (MM)
12032
 
        wlarc='${wl}'
12033
 
 
12034
 
        # ancient GNU ld didn't support --whole-archive et. al.
12035
 
        if eval "`$CC -print-prog-name=ld` --help 2>&1" |
12036
 
          $GREP 'no-whole-archive' > /dev/null; then
12037
 
          whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12038
 
        else
12039
 
          whole_archive_flag_spec_CXX=
12040
 
        fi
12041
 
      else
12042
 
        with_gnu_ld=no
12043
 
        wlarc=
12044
 
 
12045
 
        # A generic and very simple default shared library creation
12046
 
        # command for GNU C++ for the case where it uses the native
12047
 
        # linker, instead of GNU ld.  If possible, this setting should
12048
 
        # overridden to take advantage of the native linker features on
12049
 
        # the platform it is being used on.
12050
 
        archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12051
 
      fi
12052
 
 
12053
 
      # Commands to make compiler produce verbose output that lists
12054
 
      # what "hidden" libraries, object files and flags are used when
12055
 
      # linking a shared library.
12056
 
      output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
12057
 
 
12058
 
    else
12059
 
      GXX=no
12060
 
      with_gnu_ld=no
12061
 
      wlarc=
12062
 
    fi
12063
 
 
12064
 
    # PORTME: fill in a description of your system's C++ link characteristics
12065
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12066
 
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12067
 
    ld_shlibs_CXX=yes
12068
 
    case $host_os in
12069
 
      aix3*)
12070
 
        # FIXME: insert proper C++ library support
12071
 
        ld_shlibs_CXX=no
12072
 
        ;;
12073
 
      aix[4-9]*)
12074
 
        if test "$host_cpu" = ia64; then
12075
 
          # On IA64, the linker does run time linking by default, so we don't
12076
 
          # have to do anything special.
12077
 
          aix_use_runtimelinking=no
12078
 
          exp_sym_flag='-Bexport'
12079
 
          no_entry_flag=""
12080
 
        else
12081
 
          aix_use_runtimelinking=no
12082
 
 
12083
 
          # Test if we are trying to use run time linking or normal
12084
 
          # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12085
 
          # need to do runtime linking.
12086
 
          case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
12087
 
            for ld_flag in $LDFLAGS; do
12088
 
              case $ld_flag in
12089
 
              *-brtl*)
12090
 
                aix_use_runtimelinking=yes
12091
 
                break
12092
 
                ;;
12093
 
              esac
12094
 
            done
12095
 
            ;;
12096
 
          esac
12097
 
 
12098
 
          exp_sym_flag='-bexport'
12099
 
          no_entry_flag='-bnoentry'
12100
 
        fi
12101
 
 
12102
 
        # When large executables or shared objects are built, AIX ld can
12103
 
        # have problems creating the table of contents.  If linking a library
12104
 
        # or program results in "error TOC overflow" add -mminimal-toc to
12105
 
        # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
12106
 
        # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12107
 
 
12108
 
        archive_cmds_CXX=''
12109
 
        hardcode_direct_CXX=yes
12110
 
        hardcode_direct_absolute_CXX=yes
12111
 
        hardcode_libdir_separator_CXX=':'
12112
 
        link_all_deplibs_CXX=yes
12113
 
        file_list_spec_CXX='${wl}-f,'
12114
 
 
12115
 
        if test "$GXX" = yes; then
12116
 
          case $host_os in aix4.[012]|aix4.[012].*)
12117
 
          # We only want to do this on AIX 4.2 and lower, the check
12118
 
          # below for broken collect2 doesn't work under 4.3+
12119
 
          collect2name=`${CC} -print-prog-name=collect2`
12120
 
          if test -f "$collect2name" &&
12121
 
             strings "$collect2name" | $GREP resolve_lib_name >/dev/null
12122
 
          then
12123
 
            # We have reworked collect2
12124
 
            :
12125
 
          else
12126
 
            # We have old collect2
12127
 
            hardcode_direct_CXX=unsupported
12128
 
            # It fails to find uninstalled libraries when the uninstalled
12129
 
            # path is not listed in the libpath.  Setting hardcode_minus_L
12130
 
            # to unsupported forces relinking
12131
 
            hardcode_minus_L_CXX=yes
12132
 
            hardcode_libdir_flag_spec_CXX='-L$libdir'
12133
 
            hardcode_libdir_separator_CXX=
12134
 
          fi
12135
 
          esac
12136
 
          shared_flag='-shared'
12137
 
          if test "$aix_use_runtimelinking" = yes; then
12138
 
            shared_flag="$shared_flag "'${wl}-G'
12139
 
          fi
12140
 
        else
12141
 
          # not using gcc
12142
 
          if test "$host_cpu" = ia64; then
12143
 
          # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12144
 
          # chokes on -Wl,-G. The following line is correct:
12145
 
          shared_flag='-G'
12146
 
          else
12147
 
            if test "$aix_use_runtimelinking" = yes; then
12148
 
              shared_flag='${wl}-G'
12149
 
            else
12150
 
              shared_flag='${wl}-bM:SRE'
12151
 
            fi
12152
 
          fi
12153
 
        fi
12154
 
 
12155
 
        export_dynamic_flag_spec_CXX='${wl}-bexpall'
12156
 
        # It seems that -bexpall does not export symbols beginning with
12157
 
        # underscore (_), so it is better to generate a list of symbols to
12158
 
        # export.
12159
 
        always_export_symbols_CXX=yes
12160
 
        if test "$aix_use_runtimelinking" = yes; then
12161
 
          # Warning - without using the other runtime loading flags (-brtl),
12162
 
          # -berok will link without error, but may produce a broken library.
12163
 
          allow_undefined_flag_CXX='-berok'
12164
 
          # Determine the default libpath from the value encoded in an empty
12165
 
          # executable.
12166
 
          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12167
 
/* end confdefs.h.  */
12168
 
 
12169
 
int
12170
 
main ()
12171
 
{
12172
 
 
12173
 
  ;
12174
 
  return 0;
12175
 
}
12176
 
_ACEOF
12177
 
if ac_fn_cxx_try_link "$LINENO"; then :
12178
 
 
12179
 
lt_aix_libpath_sed='
12180
 
    /Import File Strings/,/^$/ {
12181
 
        /^0/ {
12182
 
            s/^0  *\(.*\)$/\1/
12183
 
            p
12184
 
        }
12185
 
    }'
12186
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12187
 
# Check for a 64-bit object if we didn't find anything.
12188
 
if test -z "$aix_libpath"; then
12189
 
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12190
 
fi
12191
 
fi
12192
 
rm -f core conftest.err conftest.$ac_objext \
12193
 
    conftest$ac_exeext conftest.$ac_ext
12194
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12195
 
 
12196
 
          hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12197
 
 
12198
 
          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"
12199
 
        else
12200
 
          if test "$host_cpu" = ia64; then
12201
 
            hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
12202
 
            allow_undefined_flag_CXX="-z nodefs"
12203
 
            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"
12204
 
          else
12205
 
            # Determine the default libpath from the value encoded in an
12206
 
            # empty executable.
12207
 
            cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12208
 
/* end confdefs.h.  */
12209
 
 
12210
 
int
12211
 
main ()
12212
 
{
12213
 
 
12214
 
  ;
12215
 
  return 0;
12216
 
}
12217
 
_ACEOF
12218
 
if ac_fn_cxx_try_link "$LINENO"; then :
12219
 
 
12220
 
lt_aix_libpath_sed='
12221
 
    /Import File Strings/,/^$/ {
12222
 
        /^0/ {
12223
 
            s/^0  *\(.*\)$/\1/
12224
 
            p
12225
 
        }
12226
 
    }'
12227
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12228
 
# Check for a 64-bit object if we didn't find anything.
12229
 
if test -z "$aix_libpath"; then
12230
 
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12231
 
fi
12232
 
fi
12233
 
rm -f core conftest.err conftest.$ac_objext \
12234
 
    conftest$ac_exeext conftest.$ac_ext
12235
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12236
 
 
12237
 
            hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12238
 
            # Warning - without using the other run time loading flags,
12239
 
            # -berok will link without error, but may produce a broken library.
12240
 
            no_undefined_flag_CXX=' ${wl}-bernotok'
12241
 
            allow_undefined_flag_CXX=' ${wl}-berok'
12242
 
            # Exported symbols can be pulled into shared objects from archives
12243
 
            whole_archive_flag_spec_CXX='$convenience'
12244
 
            archive_cmds_need_lc_CXX=yes
12245
 
            # This is similar to how AIX traditionally builds its shared
12246
 
            # libraries.
12247
 
            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'
12248
 
          fi
12249
 
        fi
12250
 
        ;;
12251
 
 
12252
 
      beos*)
12253
 
        if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
12254
 
          allow_undefined_flag_CXX=unsupported
12255
 
          # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12256
 
          # support --undefined.  This deserves some investigation.  FIXME
12257
 
          archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12258
 
        else
12259
 
          ld_shlibs_CXX=no
12260
 
        fi
12261
 
        ;;
12262
 
 
12263
 
      chorus*)
12264
 
        case $cc_basename in
12265
 
          *)
12266
 
          # FIXME: insert proper C++ library support
12267
 
          ld_shlibs_CXX=no
12268
 
          ;;
12269
 
        esac
12270
 
        ;;
12271
 
 
12272
 
      cygwin* | mingw* | pw32* | cegcc*)
12273
 
        # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
12274
 
        # as there is no search path for DLLs.
12275
 
        hardcode_libdir_flag_spec_CXX='-L$libdir'
12276
 
        allow_undefined_flag_CXX=unsupported
12277
 
        always_export_symbols_CXX=no
12278
 
        enable_shared_with_static_runtimes_CXX=yes
12279
 
 
12280
 
        if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
12281
 
          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'
12282
 
          # If the export-symbols file already is a .def file (1st line
12283
 
          # is EXPORTS), use it as is; otherwise, prepend...
12284
 
          archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12285
 
            cp $export_symbols $output_objdir/$soname.def;
12286
 
          else
12287
 
            echo EXPORTS > $output_objdir/$soname.def;
12288
 
            cat $export_symbols >> $output_objdir/$soname.def;
12289
 
          fi~
12290
 
          $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'
12291
 
        else
12292
 
          ld_shlibs_CXX=no
12293
 
        fi
12294
 
        ;;
12295
 
      darwin* | rhapsody*)
12296
 
 
12297
 
 
12298
 
  archive_cmds_need_lc_CXX=no
12299
 
  hardcode_direct_CXX=no
12300
 
  hardcode_automatic_CXX=yes
12301
 
  hardcode_shlibpath_var_CXX=unsupported
12302
 
  whole_archive_flag_spec_CXX=''
12303
 
  link_all_deplibs_CXX=yes
12304
 
  allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
12305
 
  case $cc_basename in
12306
 
     ifort*) _lt_dar_can_shared=yes ;;
12307
 
     *) _lt_dar_can_shared=$GCC ;;
12308
 
  esac
12309
 
  if test "$_lt_dar_can_shared" = "yes"; then
12310
 
    output_verbose_link_cmd=echo
12311
 
    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}"
12312
 
    module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
12313
 
    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}"
12314
 
    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}"
12315
 
       if test "$lt_cv_apple_cc_single_mod" != "yes"; then
12316
 
      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}"
12317
 
      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}"
12318
 
    fi
12319
 
 
12320
 
  else
12321
 
  ld_shlibs_CXX=no
12322
 
  fi
12323
 
 
12324
 
        ;;
12325
 
 
12326
 
      dgux*)
12327
 
        case $cc_basename in
12328
 
          ec++*)
12329
 
            # FIXME: insert proper C++ library support
12330
 
            ld_shlibs_CXX=no
12331
 
            ;;
12332
 
          ghcx*)
12333
 
            # Green Hills C++ Compiler
12334
 
            # FIXME: insert proper C++ library support
12335
 
            ld_shlibs_CXX=no
12336
 
            ;;
12337
 
          *)
12338
 
            # FIXME: insert proper C++ library support
12339
 
            ld_shlibs_CXX=no
12340
 
            ;;
12341
 
        esac
12342
 
        ;;
12343
 
 
12344
 
      freebsd[12]*)
12345
 
        # C++ shared libraries reported to be fairly broken before
12346
 
        # switch to ELF
12347
 
        ld_shlibs_CXX=no
12348
 
        ;;
12349
 
 
12350
 
      freebsd-elf*)
12351
 
        archive_cmds_need_lc_CXX=no
12352
 
        ;;
12353
 
 
12354
 
      freebsd* | dragonfly*)
12355
 
        # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
12356
 
        # conventions
12357
 
        ld_shlibs_CXX=yes
12358
 
        ;;
12359
 
 
12360
 
      gnu*)
12361
 
        ;;
12362
 
 
12363
 
      hpux9*)
12364
 
        hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12365
 
        hardcode_libdir_separator_CXX=:
12366
 
        export_dynamic_flag_spec_CXX='${wl}-E'
12367
 
        hardcode_direct_CXX=yes
12368
 
        hardcode_minus_L_CXX=yes # Not in the search PATH,
12369
 
                                             # but as the default
12370
 
                                             # location of the library.
12371
 
 
12372
 
        case $cc_basename in
12373
 
          CC*)
12374
 
            # FIXME: insert proper C++ library support
12375
 
            ld_shlibs_CXX=no
12376
 
            ;;
12377
 
          aCC*)
12378
 
            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'
12379
 
            # Commands to make compiler produce verbose output that lists
12380
 
            # what "hidden" libraries, object files and flags are used when
12381
 
            # linking a shared library.
12382
 
            #
12383
 
            # There doesn't appear to be a way to prevent this compiler from
12384
 
            # explicitly linking system object files so we need to strip them
12385
 
            # from the output so that they don't get included in the library
12386
 
            # dependencies.
12387
 
            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'
12388
 
            ;;
12389
 
          *)
12390
 
            if test "$GXX" = yes; then
12391
 
              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'
12392
 
            else
12393
 
              # FIXME: insert proper C++ library support
12394
 
              ld_shlibs_CXX=no
12395
 
            fi
12396
 
            ;;
12397
 
        esac
12398
 
        ;;
12399
 
 
12400
 
      hpux10*|hpux11*)
12401
 
        if test $with_gnu_ld = no; then
12402
 
          hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12403
 
          hardcode_libdir_separator_CXX=:
12404
 
 
12405
 
          case $host_cpu in
12406
 
            hppa*64*|ia64*)
12407
 
              ;;
12408
 
            *)
12409
 
              export_dynamic_flag_spec_CXX='${wl}-E'
12410
 
              ;;
12411
 
          esac
12412
 
        fi
12413
 
        case $host_cpu in
12414
 
          hppa*64*|ia64*)
12415
 
            hardcode_direct_CXX=no
12416
 
            hardcode_shlibpath_var_CXX=no
12417
 
            ;;
12418
 
          *)
12419
 
            hardcode_direct_CXX=yes
12420
 
            hardcode_direct_absolute_CXX=yes
12421
 
            hardcode_minus_L_CXX=yes # Not in the search PATH,
12422
 
                                                 # but as the default
12423
 
                                                 # location of the library.
12424
 
            ;;
12425
 
        esac
12426
 
 
12427
 
        case $cc_basename in
12428
 
          CC*)
12429
 
            # FIXME: insert proper C++ library support
12430
 
            ld_shlibs_CXX=no
12431
 
            ;;
12432
 
          aCC*)
12433
 
            case $host_cpu in
12434
 
              hppa*64*)
12435
 
                archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12436
 
                ;;
12437
 
              ia64*)
12438
 
                archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12439
 
                ;;
12440
 
              *)
12441
 
                archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12442
 
                ;;
12443
 
            esac
12444
 
            # Commands to make compiler produce verbose output that lists
12445
 
            # what "hidden" libraries, object files and flags are used when
12446
 
            # linking a shared library.
12447
 
            #
12448
 
            # There doesn't appear to be a way to prevent this compiler from
12449
 
            # explicitly linking system object files so we need to strip them
12450
 
            # from the output so that they don't get included in the library
12451
 
            # dependencies.
12452
 
            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'
12453
 
            ;;
12454
 
          *)
12455
 
            if test "$GXX" = yes; then
12456
 
              if test $with_gnu_ld = no; then
12457
 
                case $host_cpu in
12458
 
                  hppa*64*)
12459
 
                    archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12460
 
                    ;;
12461
 
                  ia64*)
12462
 
                    archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12463
 
                    ;;
12464
 
                  *)
12465
 
                    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'
12466
 
                    ;;
12467
 
                esac
12468
 
              fi
12469
 
            else
12470
 
              # FIXME: insert proper C++ library support
12471
 
              ld_shlibs_CXX=no
12472
 
            fi
12473
 
            ;;
12474
 
        esac
12475
 
        ;;
12476
 
 
12477
 
      interix[3-9]*)
12478
 
        hardcode_direct_CXX=no
12479
 
        hardcode_shlibpath_var_CXX=no
12480
 
        hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12481
 
        export_dynamic_flag_spec_CXX='${wl}-E'
12482
 
        # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12483
 
        # Instead, shared libraries are loaded at an image base (0x10000000 by
12484
 
        # default) and relocated if they conflict, which is a slow very memory
12485
 
        # consuming and fragmenting process.  To avoid this, we pick a random,
12486
 
        # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12487
 
        # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
12488
 
        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'
12489
 
        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'
12490
 
        ;;
12491
 
      irix5* | irix6*)
12492
 
        case $cc_basename in
12493
 
          CC*)
12494
 
            # SGI C++
12495
 
            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'
12496
 
 
12497
 
            # Archives containing C++ object files must be created using
12498
 
            # "CC -ar", where "CC" is the IRIX C++ compiler.  This is
12499
 
            # necessary to make sure instantiated templates are included
12500
 
            # in the archive.
12501
 
            old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
12502
 
            ;;
12503
 
          *)
12504
 
            if test "$GXX" = yes; then
12505
 
              if test "$with_gnu_ld" = no; then
12506
 
                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'
12507
 
              else
12508
 
                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'
12509
 
              fi
12510
 
            fi
12511
 
            link_all_deplibs_CXX=yes
12512
 
            ;;
12513
 
        esac
12514
 
        hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12515
 
        hardcode_libdir_separator_CXX=:
12516
 
        inherit_rpath_CXX=yes
12517
 
        ;;
12518
 
 
12519
 
      linux* | k*bsd*-gnu)
12520
 
        case $cc_basename in
12521
 
          KCC*)
12522
 
            # Kuck and Associates, Inc. (KAI) C++ Compiler
12523
 
 
12524
 
            # KCC will only create a shared library if the output file
12525
 
            # ends with ".so" (or ".sl" for HP-UX), so rename the library
12526
 
            # to its proper name (with version) after linking.
12527
 
            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'
12528
 
            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'
12529
 
            # Commands to make compiler produce verbose output that lists
12530
 
            # what "hidden" libraries, object files and flags are used when
12531
 
            # linking a shared library.
12532
 
            #
12533
 
            # There doesn't appear to be a way to prevent this compiler from
12534
 
            # explicitly linking system object files so we need to strip them
12535
 
            # from the output so that they don't get included in the library
12536
 
            # dependencies.
12537
 
            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'
12538
 
 
12539
 
            hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12540
 
            export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12541
 
 
12542
 
            # Archives containing C++ object files must be created using
12543
 
            # "CC -Bstatic", where "CC" is the KAI C++ compiler.
12544
 
            old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
12545
 
            ;;
12546
 
          icpc* | ecpc* )
12547
 
            # Intel C++
12548
 
            with_gnu_ld=yes
12549
 
            # version 8.0 and above of icpc choke on multiply defined symbols
12550
 
            # if we add $predep_objects and $postdep_objects, however 7.1 and
12551
 
            # earlier do not add the objects themselves.
12552
 
            case `$CC -V 2>&1` in
12553
 
              *"Version 7."*)
12554
 
                archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12555
 
                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'
12556
 
                ;;
12557
 
              *)  # Version 8.0 or newer
12558
 
                tmp_idyn=
12559
 
                case $host_cpu in
12560
 
                  ia64*) tmp_idyn=' -i_dynamic';;
12561
 
                esac
12562
 
                archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12563
 
                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'
12564
 
                ;;
12565
 
            esac
12566
 
            archive_cmds_need_lc_CXX=no
12567
 
            hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12568
 
            export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12569
 
            whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12570
 
            ;;
12571
 
          pgCC* | pgcpp*)
12572
 
            # Portland Group C++ compiler
12573
 
            case `$CC -V` in
12574
 
            *pgCC\ [1-5]* | *pgcpp\ [1-5]*)
12575
 
              prelink_cmds_CXX='tpldir=Template.dir~
12576
 
                rm -rf $tpldir~
12577
 
                $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
12578
 
                compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
12579
 
              old_archive_cmds_CXX='tpldir=Template.dir~
12580
 
                rm -rf $tpldir~
12581
 
                $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
12582
 
                $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
12583
 
                $RANLIB $oldlib'
12584
 
              archive_cmds_CXX='tpldir=Template.dir~
12585
 
                rm -rf $tpldir~
12586
 
                $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12587
 
                $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12588
 
              archive_expsym_cmds_CXX='tpldir=Template.dir~
12589
 
                rm -rf $tpldir~
12590
 
                $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12591
 
                $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'
12592
 
              ;;
12593
 
            *) # Version 6 will use weak symbols
12594
 
              archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12595
 
              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'
12596
 
              ;;
12597
 
            esac
12598
 
 
12599
 
            hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
12600
 
            export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12601
 
            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'
12602
 
            ;;
12603
 
          cxx*)
12604
 
            # Compaq C++
12605
 
            archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12606
 
            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'
12607
 
 
12608
 
            runpath_var=LD_RUN_PATH
12609
 
            hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12610
 
            hardcode_libdir_separator_CXX=:
12611
 
 
12612
 
            # Commands to make compiler produce verbose output that lists
12613
 
            # what "hidden" libraries, object files and flags are used when
12614
 
            # linking a shared library.
12615
 
            #
12616
 
            # There doesn't appear to be a way to prevent this compiler from
12617
 
            # explicitly linking system object files so we need to strip them
12618
 
            # from the output so that they don't get included in the library
12619
 
            # dependencies.
12620
 
            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'
12621
 
            ;;
12622
 
          xl*)
12623
 
            # IBM XL 8.0 on PPC, with GNU ld
12624
 
            hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12625
 
            export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12626
 
            archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12627
 
            if test "x$supports_anon_versioning" = xyes; then
12628
 
              archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
12629
 
                cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12630
 
                echo "local: *; };" >> $output_objdir/$libname.ver~
12631
 
                $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
12632
 
            fi
12633
 
            ;;
12634
 
          *)
12635
 
            case `$CC -V 2>&1 | sed 5q` in
12636
 
            *Sun\ C*)
12637
 
              # Sun C++ 5.9
12638
 
              no_undefined_flag_CXX=' -zdefs'
12639
 
              archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12640
 
              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'
12641
 
              hardcode_libdir_flag_spec_CXX='-R$libdir'
12642
 
              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'
12643
 
              compiler_needs_object_CXX=yes
12644
 
 
12645
 
              # Not sure whether something based on
12646
 
              # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
12647
 
              # would be better.
12648
 
              output_verbose_link_cmd='echo'
12649
 
 
12650
 
              # Archives containing C++ object files must be created using
12651
 
              # "CC -xar", where "CC" is the Sun C++ compiler.  This is
12652
 
              # necessary to make sure instantiated templates are included
12653
 
              # in the archive.
12654
 
              old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
12655
 
              ;;
12656
 
            esac
12657
 
            ;;
12658
 
        esac
12659
 
        ;;
12660
 
 
12661
 
      lynxos*)
12662
 
        # FIXME: insert proper C++ library support
12663
 
        ld_shlibs_CXX=no
12664
 
        ;;
12665
 
 
12666
 
      m88k*)
12667
 
        # FIXME: insert proper C++ library support
12668
 
        ld_shlibs_CXX=no
12669
 
        ;;
12670
 
 
12671
 
      mvs*)
12672
 
        case $cc_basename in
12673
 
          cxx*)
12674
 
            # FIXME: insert proper C++ library support
12675
 
            ld_shlibs_CXX=no
12676
 
            ;;
12677
 
          *)
12678
 
            # FIXME: insert proper C++ library support
12679
 
            ld_shlibs_CXX=no
12680
 
            ;;
12681
 
        esac
12682
 
        ;;
12683
 
 
12684
 
      netbsd*)
12685
 
        if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12686
 
          archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
12687
 
          wlarc=
12688
 
          hardcode_libdir_flag_spec_CXX='-R$libdir'
12689
 
          hardcode_direct_CXX=yes
12690
 
          hardcode_shlibpath_var_CXX=no
12691
 
        fi
12692
 
        # Workaround some broken pre-1.5 toolchains
12693
 
        output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
12694
 
        ;;
12695
 
 
12696
 
      *nto* | *qnx*)
12697
 
        ld_shlibs_CXX=yes
12698
 
        ;;
12699
 
 
12700
 
      openbsd2*)
12701
 
        # C++ shared libraries are fairly broken
12702
 
        ld_shlibs_CXX=no
12703
 
        ;;
12704
 
 
12705
 
      openbsd*)
12706
 
        if test -f /usr/libexec/ld.so; then
12707
 
          hardcode_direct_CXX=yes
12708
 
          hardcode_shlibpath_var_CXX=no
12709
 
          hardcode_direct_absolute_CXX=yes
12710
 
          archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12711
 
          hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12712
 
          if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12713
 
            archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
12714
 
            export_dynamic_flag_spec_CXX='${wl}-E'
12715
 
            whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12716
 
          fi
12717
 
          output_verbose_link_cmd=echo
12718
 
        else
12719
 
          ld_shlibs_CXX=no
12720
 
        fi
12721
 
        ;;
12722
 
 
12723
 
      osf3* | osf4* | osf5*)
12724
 
        case $cc_basename in
12725
 
          KCC*)
12726
 
            # Kuck and Associates, Inc. (KAI) C++ Compiler
12727
 
 
12728
 
            # KCC will only create a shared library if the output file
12729
 
            # ends with ".so" (or ".sl" for HP-UX), so rename the library
12730
 
            # to its proper name (with version) after linking.
12731
 
            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'
12732
 
 
12733
 
            hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12734
 
            hardcode_libdir_separator_CXX=:
12735
 
 
12736
 
            # Archives containing C++ object files must be created using
12737
 
            # the KAI C++ compiler.
12738
 
            case $host in
12739
 
              osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
12740
 
              *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
12741
 
            esac
12742
 
            ;;
12743
 
          RCC*)
12744
 
            # Rational C++ 2.4.1
12745
 
            # FIXME: insert proper C++ library support
12746
 
            ld_shlibs_CXX=no
12747
 
            ;;
12748
 
          cxx*)
12749
 
            case $host in
12750
 
              osf3*)
12751
 
                allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
12752
 
                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'
12753
 
                hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12754
 
                ;;
12755
 
              *)
12756
 
                allow_undefined_flag_CXX=' -expect_unresolved \*'
12757
 
                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'
12758
 
                archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
12759
 
                  echo "-hidden">> $lib.exp~
12760
 
                  $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~
12761
 
                  $RM $lib.exp'
12762
 
                hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12763
 
                ;;
12764
 
            esac
12765
 
 
12766
 
            hardcode_libdir_separator_CXX=:
12767
 
 
12768
 
            # Commands to make compiler produce verbose output that lists
12769
 
            # what "hidden" libraries, object files and flags are used when
12770
 
            # linking a shared library.
12771
 
            #
12772
 
            # There doesn't appear to be a way to prevent this compiler from
12773
 
            # explicitly linking system object files so we need to strip them
12774
 
            # from the output so that they don't get included in the library
12775
 
            # dependencies.
12776
 
            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'
12777
 
            ;;
12778
 
          *)
12779
 
            if test "$GXX" = yes && test "$with_gnu_ld" = no; then
12780
 
              allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
12781
 
              case $host in
12782
 
                osf3*)
12783
 
                  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'
12784
 
                  ;;
12785
 
                *)
12786
 
                  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'
12787
 
                  ;;
12788
 
              esac
12789
 
 
12790
 
              hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12791
 
              hardcode_libdir_separator_CXX=:
12792
 
 
12793
 
              # Commands to make compiler produce verbose output that lists
12794
 
              # what "hidden" libraries, object files and flags are used when
12795
 
              # linking a shared library.
12796
 
              output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
12797
 
 
12798
 
            else
12799
 
              # FIXME: insert proper C++ library support
12800
 
              ld_shlibs_CXX=no
12801
 
            fi
12802
 
            ;;
12803
 
        esac
12804
 
        ;;
12805
 
 
12806
 
      psos*)
12807
 
        # FIXME: insert proper C++ library support
12808
 
        ld_shlibs_CXX=no
12809
 
        ;;
12810
 
 
12811
 
      sunos4*)
12812
 
        case $cc_basename in
12813
 
          CC*)
12814
 
            # Sun C++ 4.x
12815
 
            # FIXME: insert proper C++ library support
12816
 
            ld_shlibs_CXX=no
12817
 
            ;;
12818
 
          lcc*)
12819
 
            # Lucid
12820
 
            # FIXME: insert proper C++ library support
12821
 
            ld_shlibs_CXX=no
12822
 
            ;;
12823
 
          *)
12824
 
            # FIXME: insert proper C++ library support
12825
 
            ld_shlibs_CXX=no
12826
 
            ;;
12827
 
        esac
12828
 
        ;;
12829
 
 
12830
 
      solaris*)
12831
 
        case $cc_basename in
12832
 
          CC*)
12833
 
            # Sun C++ 4.2, 5.x and Centerline C++
12834
 
            archive_cmds_need_lc_CXX=yes
12835
 
            no_undefined_flag_CXX=' -zdefs'
12836
 
            archive_cmds_CXX='$CC -G${allow_undefined_flag}  -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12837
 
            archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12838
 
              $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'
12839
 
 
12840
 
            hardcode_libdir_flag_spec_CXX='-R$libdir'
12841
 
            hardcode_shlibpath_var_CXX=no
12842
 
            case $host_os in
12843
 
              solaris2.[0-5] | solaris2.[0-5].*) ;;
12844
 
              *)
12845
 
                # The compiler driver will combine and reorder linker options,
12846
 
                # but understands `-z linker_flag'.
12847
 
                # Supported since Solaris 2.6 (maybe 2.5.1?)
12848
 
                whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
12849
 
                ;;
12850
 
            esac
12851
 
            link_all_deplibs_CXX=yes
12852
 
 
12853
 
            output_verbose_link_cmd='echo'
12854
 
 
12855
 
            # Archives containing C++ object files must be created using
12856
 
            # "CC -xar", where "CC" is the Sun C++ compiler.  This is
12857
 
            # necessary to make sure instantiated templates are included
12858
 
            # in the archive.
12859
 
            old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
12860
 
            ;;
12861
 
          gcx*)
12862
 
            # Green Hills C++ Compiler
12863
 
            archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12864
 
 
12865
 
            # The C++ compiler must be used to create the archive.
12866
 
            old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
12867
 
            ;;
12868
 
          *)
12869
 
            # GNU C++ compiler with Solaris linker
12870
 
            if test "$GXX" = yes && test "$with_gnu_ld" = no; then
12871
 
              no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
12872
 
              if $CC --version | $GREP -v '^2\.7' > /dev/null; then
12873
 
                archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12874
 
                archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12875
 
                  $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
12876
 
 
12877
 
                # Commands to make compiler produce verbose output that lists
12878
 
                # what "hidden" libraries, object files and flags are used when
12879
 
                # linking a shared library.
12880
 
                output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
12881
 
              else
12882
 
                # g++ 2.7 appears to require `-G' NOT `-shared' on this
12883
 
                # platform.
12884
 
                archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12885
 
                archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12886
 
                  $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
12887
 
 
12888
 
                # Commands to make compiler produce verbose output that lists
12889
 
                # what "hidden" libraries, object files and flags are used when
12890
 
                # linking a shared library.
12891
 
                output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
12892
 
              fi
12893
 
 
12894
 
              hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
12895
 
              case $host_os in
12896
 
                solaris2.[0-5] | solaris2.[0-5].*) ;;
12897
 
                *)
12898
 
                  whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
12899
 
                  ;;
12900
 
              esac
12901
 
            fi
12902
 
            ;;
12903
 
        esac
12904
 
        ;;
12905
 
 
12906
 
    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
12907
 
      no_undefined_flag_CXX='${wl}-z,text'
12908
 
      archive_cmds_need_lc_CXX=no
12909
 
      hardcode_shlibpath_var_CXX=no
12910
 
      runpath_var='LD_RUN_PATH'
12911
 
 
12912
 
      case $cc_basename in
12913
 
        CC*)
12914
 
          archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12915
 
          archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12916
 
          ;;
12917
 
        *)
12918
 
          archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12919
 
          archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12920
 
          ;;
12921
 
      esac
12922
 
      ;;
12923
 
 
12924
 
      sysv5* | sco3.2v5* | sco5v6*)
12925
 
        # Note: We can NOT use -z defs as we might desire, because we do not
12926
 
        # link with -lc, and that would cause any symbols used from libc to
12927
 
        # always be unresolved, which means just about no library would
12928
 
        # ever link correctly.  If we're not using GNU ld we use -z text
12929
 
        # though, which does catch some bad symbols but isn't as heavy-handed
12930
 
        # as -z defs.
12931
 
        no_undefined_flag_CXX='${wl}-z,text'
12932
 
        allow_undefined_flag_CXX='${wl}-z,nodefs'
12933
 
        archive_cmds_need_lc_CXX=no
12934
 
        hardcode_shlibpath_var_CXX=no
12935
 
        hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
12936
 
        hardcode_libdir_separator_CXX=':'
12937
 
        link_all_deplibs_CXX=yes
12938
 
        export_dynamic_flag_spec_CXX='${wl}-Bexport'
12939
 
        runpath_var='LD_RUN_PATH'
12940
 
 
12941
 
        case $cc_basename in
12942
 
          CC*)
12943
 
            archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12944
 
            archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12945
 
            ;;
12946
 
          *)
12947
 
            archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12948
 
            archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12949
 
            ;;
12950
 
        esac
12951
 
      ;;
12952
 
 
12953
 
      tandem*)
12954
 
        case $cc_basename in
12955
 
          NCC*)
12956
 
            # NonStop-UX NCC 3.20
12957
 
            # FIXME: insert proper C++ library support
12958
 
            ld_shlibs_CXX=no
12959
 
            ;;
12960
 
          *)
12961
 
            # FIXME: insert proper C++ library support
12962
 
            ld_shlibs_CXX=no
12963
 
            ;;
12964
 
        esac
12965
 
        ;;
12966
 
 
12967
 
      vxworks*)
12968
 
        # FIXME: insert proper C++ library support
12969
 
        ld_shlibs_CXX=no
12970
 
        ;;
12971
 
 
12972
 
      *)
12973
 
        # FIXME: insert proper C++ library support
12974
 
        ld_shlibs_CXX=no
12975
 
        ;;
12976
 
    esac
12977
 
 
12978
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
12979
 
$as_echo "$ld_shlibs_CXX" >&6; }
12980
 
    test "$ld_shlibs_CXX" = no && can_build_shared=no
12981
 
 
12982
 
    GCC_CXX="$GXX"
12983
 
    LD_CXX="$LD"
12984
 
 
12985
 
    ## CAVEAT EMPTOR:
12986
 
    ## There is no encapsulation within the following macros, do not change
12987
 
    ## the running order or otherwise move them around unless you know exactly
12988
 
    ## what you are doing...
12989
 
    # Dependencies to place before and after the object being linked:
12990
 
predep_objects_CXX=
12991
 
postdep_objects_CXX=
12992
 
predeps_CXX=
12993
 
postdeps_CXX=
12994
 
compiler_lib_search_path_CXX=
12995
 
 
12996
 
cat > conftest.$ac_ext <<_LT_EOF
12997
 
class Foo
12998
 
{
12999
 
public:
13000
 
  Foo (void) { a = 0; }
13001
 
private:
13002
 
  int a;
13003
 
};
13004
 
_LT_EOF
13005
 
 
13006
 
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13007
 
  (eval $ac_compile) 2>&5
13008
 
  ac_status=$?
13009
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13010
 
  test $ac_status = 0; }; then
13011
 
  # Parse the compiler output and extract the necessary
13012
 
  # objects, libraries and library flags.
13013
 
 
13014
 
  # Sentinel used to keep track of whether or not we are before
13015
 
  # the conftest object file.
13016
 
  pre_test_object_deps_done=no
13017
 
 
13018
 
  for p in `eval "$output_verbose_link_cmd"`; do
13019
 
    case $p in
13020
 
 
13021
 
    -L* | -R* | -l*)
13022
 
       # Some compilers place space between "-{L,R}" and the path.
13023
 
       # Remove the space.
13024
 
       if test $p = "-L" ||
13025
 
          test $p = "-R"; then
13026
 
         prev=$p
13027
 
         continue
13028
 
       else
13029
 
         prev=
13030
 
       fi
13031
 
 
13032
 
       if test "$pre_test_object_deps_done" = no; then
13033
 
         case $p in
13034
 
         -L* | -R*)
13035
 
           # Internal compiler library paths should come after those
13036
 
           # provided the user.  The postdeps already come after the
13037
 
           # user supplied libs so there is no need to process them.
13038
 
           if test -z "$compiler_lib_search_path_CXX"; then
13039
 
             compiler_lib_search_path_CXX="${prev}${p}"
13040
 
           else
13041
 
             compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
13042
 
           fi
13043
 
           ;;
13044
 
         # The "-l" case would never come before the object being
13045
 
         # linked, so don't bother handling this case.
13046
 
         esac
13047
 
       else
13048
 
         if test -z "$postdeps_CXX"; then
13049
 
           postdeps_CXX="${prev}${p}"
13050
 
         else
13051
 
           postdeps_CXX="${postdeps_CXX} ${prev}${p}"
13052
 
         fi
13053
 
       fi
13054
 
       ;;
13055
 
 
13056
 
    *.$objext)
13057
 
       # This assumes that the test object file only shows up
13058
 
       # once in the compiler output.
13059
 
       if test "$p" = "conftest.$objext"; then
13060
 
         pre_test_object_deps_done=yes
13061
 
         continue
13062
 
       fi
13063
 
 
13064
 
       if test "$pre_test_object_deps_done" = no; then
13065
 
         if test -z "$predep_objects_CXX"; then
13066
 
           predep_objects_CXX="$p"
13067
 
         else
13068
 
           predep_objects_CXX="$predep_objects_CXX $p"
13069
 
         fi
13070
 
       else
13071
 
         if test -z "$postdep_objects_CXX"; then
13072
 
           postdep_objects_CXX="$p"
13073
 
         else
13074
 
           postdep_objects_CXX="$postdep_objects_CXX $p"
13075
 
         fi
13076
 
       fi
13077
 
       ;;
13078
 
 
13079
 
    *) ;; # Ignore the rest.
13080
 
 
13081
 
    esac
13082
 
  done
13083
 
 
13084
 
  # Clean up.
13085
 
  rm -f a.out a.exe
13086
 
else
13087
 
  echo "libtool.m4: error: problem compiling CXX test program"
13088
 
fi
13089
 
 
13090
 
$RM -f confest.$objext
13091
 
 
13092
 
# PORTME: override above test on systems where it is broken
13093
 
case $host_os in
13094
 
interix[3-9]*)
13095
 
  # Interix 3.5 installs completely hosed .la files for C++, so rather than
13096
 
  # hack all around it, let's just trust "g++" to DTRT.
13097
 
  predep_objects_CXX=
13098
 
  postdep_objects_CXX=
13099
 
  postdeps_CXX=
13100
 
  ;;
13101
 
 
13102
 
linux*)
13103
 
  case `$CC -V 2>&1 | sed 5q` in
13104
 
  *Sun\ C*)
13105
 
    # Sun C++ 5.9
13106
 
 
13107
 
    # The more standards-conforming stlport4 library is
13108
 
    # incompatible with the Cstd library. Avoid specifying
13109
 
    # it if it's in CXXFLAGS. Ignore libCrun as
13110
 
    # -library=stlport4 depends on it.
13111
 
    case " $CXX $CXXFLAGS " in
13112
 
    *" -library=stlport4 "*)
13113
 
      solaris_use_stlport4=yes
13114
 
      ;;
13115
 
    esac
13116
 
 
13117
 
    if test "$solaris_use_stlport4" != yes; then
13118
 
      postdeps_CXX='-library=Cstd -library=Crun'
13119
 
    fi
13120
 
    ;;
13121
 
  esac
13122
 
  ;;
13123
 
 
13124
 
solaris*)
13125
 
  case $cc_basename in
13126
 
  CC*)
13127
 
    # The more standards-conforming stlport4 library is
13128
 
    # incompatible with the Cstd library. Avoid specifying
13129
 
    # it if it's in CXXFLAGS. Ignore libCrun as
13130
 
    # -library=stlport4 depends on it.
13131
 
    case " $CXX $CXXFLAGS " in
13132
 
    *" -library=stlport4 "*)
13133
 
      solaris_use_stlport4=yes
13134
 
      ;;
13135
 
    esac
13136
 
 
13137
 
    # Adding this requires a known-good setup of shared libraries for
13138
 
    # Sun compiler versions before 5.6, else PIC objects from an old
13139
 
    # archive will be linked into the output, leading to subtle bugs.
13140
 
    if test "$solaris_use_stlport4" != yes; then
13141
 
      postdeps_CXX='-library=Cstd -library=Crun'
13142
 
    fi
13143
 
    ;;
13144
 
  esac
13145
 
  ;;
13146
 
esac
13147
 
 
13148
 
 
13149
 
case " $postdeps_CXX " in
13150
 
*" -lc "*) archive_cmds_need_lc_CXX=no ;;
13151
 
esac
13152
 
 compiler_lib_search_dirs_CXX=
13153
 
if test -n "${compiler_lib_search_path_CXX}"; then
13154
 
 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
13155
 
fi
13156
 
 
13157
 
 
13158
 
 
13159
 
 
13160
 
 
13161
 
 
13162
 
 
13163
 
 
13164
 
 
13165
 
 
13166
 
 
13167
 
 
13168
 
 
13169
 
 
13170
 
 
13171
 
 
13172
 
 
13173
 
 
13174
 
 
13175
 
 
13176
 
 
13177
 
 
13178
 
 
13179
 
 
13180
 
 
13181
 
 
13182
 
 
13183
 
 
13184
 
 
13185
 
 
13186
 
 
13187
 
    lt_prog_compiler_wl_CXX=
13188
 
lt_prog_compiler_pic_CXX=
13189
 
lt_prog_compiler_static_CXX=
13190
 
 
13191
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
13192
 
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
13193
 
 
13194
 
  # C++ specific cases for pic, static, wl, etc.
13195
 
  if test "$GXX" = yes; then
13196
 
    lt_prog_compiler_wl_CXX='-Wl,'
13197
 
    lt_prog_compiler_static_CXX='-static'
13198
 
 
13199
 
    case $host_os in
13200
 
    aix*)
13201
 
      # All AIX code is PIC.
13202
 
      if test "$host_cpu" = ia64; then
13203
 
        # AIX 5 now supports IA64 processor
13204
 
        lt_prog_compiler_static_CXX='-Bstatic'
13205
 
      fi
13206
 
      ;;
13207
 
 
13208
 
    amigaos*)
13209
 
      case $host_cpu in
13210
 
      powerpc)
13211
 
            # see comment about AmigaOS4 .so support
13212
 
            lt_prog_compiler_pic_CXX='-fPIC'
13213
 
        ;;
13214
 
      m68k)
13215
 
            # FIXME: we need at least 68020 code to build shared libraries, but
13216
 
            # adding the `-m68020' flag to GCC prevents building anything better,
13217
 
            # like `-m68040'.
13218
 
            lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
13219
 
        ;;
13220
 
      esac
13221
 
      ;;
13222
 
 
13223
 
    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
13224
 
      # PIC is the default for these OSes.
13225
 
      ;;
13226
 
    mingw* | cygwin* | os2* | pw32* | cegcc*)
13227
 
      # This hack is so that the source file can tell whether it is being
13228
 
      # built for inclusion in a dll (and should export symbols for example).
13229
 
      # Although the cygwin gcc ignores -fPIC, still need this for old-style
13230
 
      # (--disable-auto-import) libraries
13231
 
      lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
13232
 
      ;;
13233
 
    darwin* | rhapsody*)
13234
 
      # PIC is the default on this platform
13235
 
      # Common symbols not allowed in MH_DYLIB files
13236
 
      lt_prog_compiler_pic_CXX='-fno-common'
13237
 
      ;;
13238
 
    *djgpp*)
13239
 
      # DJGPP does not support shared libraries at all
13240
 
      lt_prog_compiler_pic_CXX=
13241
 
      ;;
13242
 
    interix[3-9]*)
13243
 
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13244
 
      # Instead, we relocate shared libraries at runtime.
13245
 
      ;;
13246
 
    sysv4*MP*)
13247
 
      if test -d /usr/nec; then
13248
 
        lt_prog_compiler_pic_CXX=-Kconform_pic
13249
 
      fi
13250
 
      ;;
13251
 
    hpux*)
13252
 
      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
13253
 
      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
13254
 
      # sets the default TLS model and affects inlining.
13255
 
      case $host_cpu in
13256
 
      hppa*64*)
13257
 
        ;;
13258
 
      *)
13259
 
        lt_prog_compiler_pic_CXX='-fPIC'
13260
 
        ;;
13261
 
      esac
13262
 
      ;;
13263
 
    *qnx* | *nto*)
13264
 
      # QNX uses GNU C++, but need to define -shared option too, otherwise
13265
 
      # it will coredump.
13266
 
      lt_prog_compiler_pic_CXX='-fPIC -shared'
13267
 
      ;;
13268
 
    *)
13269
 
      lt_prog_compiler_pic_CXX='-fPIC'
13270
 
      ;;
13271
 
    esac
13272
 
  else
13273
 
    case $host_os in
13274
 
      aix[4-9]*)
13275
 
        # All AIX code is PIC.
13276
 
        if test "$host_cpu" = ia64; then
13277
 
          # AIX 5 now supports IA64 processor
13278
 
          lt_prog_compiler_static_CXX='-Bstatic'
13279
 
        else
13280
 
          lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
13281
 
        fi
13282
 
        ;;
13283
 
      chorus*)
13284
 
        case $cc_basename in
13285
 
        cxch68*)
13286
 
          # Green Hills C++ Compiler
13287
 
          # _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"
13288
 
          ;;
13289
 
        esac
13290
 
        ;;
13291
 
      dgux*)
13292
 
        case $cc_basename in
13293
 
          ec++*)
13294
 
            lt_prog_compiler_pic_CXX='-KPIC'
13295
 
            ;;
13296
 
          ghcx*)
13297
 
            # Green Hills C++ Compiler
13298
 
            lt_prog_compiler_pic_CXX='-pic'
13299
 
            ;;
13300
 
          *)
13301
 
            ;;
13302
 
        esac
13303
 
        ;;
13304
 
      freebsd* | dragonfly*)
13305
 
        # FreeBSD uses GNU C++
13306
 
        ;;
13307
 
      hpux9* | hpux10* | hpux11*)
13308
 
        case $cc_basename in
13309
 
          CC*)
13310
 
            lt_prog_compiler_wl_CXX='-Wl,'
13311
 
            lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13312
 
            if test "$host_cpu" != ia64; then
13313
 
              lt_prog_compiler_pic_CXX='+Z'
13314
 
            fi
13315
 
            ;;
13316
 
          aCC*)
13317
 
            lt_prog_compiler_wl_CXX='-Wl,'
13318
 
            lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13319
 
            case $host_cpu in
13320
 
            hppa*64*|ia64*)
13321
 
              # +Z the default
13322
 
              ;;
13323
 
            *)
13324
 
              lt_prog_compiler_pic_CXX='+Z'
13325
 
              ;;
13326
 
            esac
13327
 
            ;;
13328
 
          *)
13329
 
            ;;
13330
 
        esac
13331
 
        ;;
13332
 
      interix*)
13333
 
        # This is c89, which is MS Visual C++ (no shared libs)
13334
 
        # Anyone wants to do a port?
13335
 
        ;;
13336
 
      irix5* | irix6* | nonstopux*)
13337
 
        case $cc_basename in
13338
 
          CC*)
13339
 
            lt_prog_compiler_wl_CXX='-Wl,'
13340
 
            lt_prog_compiler_static_CXX='-non_shared'
13341
 
            # CC pic flag -KPIC is the default.
13342
 
            ;;
13343
 
          *)
13344
 
            ;;
13345
 
        esac
13346
 
        ;;
13347
 
      linux* | k*bsd*-gnu)
13348
 
        case $cc_basename in
13349
 
          KCC*)
13350
 
            # KAI C++ Compiler
13351
 
            lt_prog_compiler_wl_CXX='--backend -Wl,'
13352
 
            lt_prog_compiler_pic_CXX='-fPIC'
13353
 
            ;;
13354
 
          ecpc* )
13355
 
            # old Intel C++ for x86_64 which still supported -KPIC.
13356
 
            lt_prog_compiler_wl_CXX='-Wl,'
13357
 
            lt_prog_compiler_pic_CXX='-KPIC'
13358
 
            lt_prog_compiler_static_CXX='-static'
13359
 
            ;;
13360
 
          icpc* )
13361
 
            # Intel C++, used to be incompatible with GCC.
13362
 
            # ICC 10 doesn't accept -KPIC any more.
13363
 
            lt_prog_compiler_wl_CXX='-Wl,'
13364
 
            lt_prog_compiler_pic_CXX='-fPIC'
13365
 
            lt_prog_compiler_static_CXX='-static'
13366
 
            ;;
13367
 
          pgCC* | pgcpp*)
13368
 
            # Portland Group C++ compiler
13369
 
            lt_prog_compiler_wl_CXX='-Wl,'
13370
 
            lt_prog_compiler_pic_CXX='-fpic'
13371
 
            lt_prog_compiler_static_CXX='-Bstatic'
13372
 
            ;;
13373
 
          cxx*)
13374
 
            # Compaq C++
13375
 
            # Make sure the PIC flag is empty.  It appears that all Alpha
13376
 
            # Linux and Compaq Tru64 Unix objects are PIC.
13377
 
            lt_prog_compiler_pic_CXX=
13378
 
            lt_prog_compiler_static_CXX='-non_shared'
13379
 
            ;;
13380
 
          xlc* | xlC*)
13381
 
            # IBM XL 8.0 on PPC
13382
 
            lt_prog_compiler_wl_CXX='-Wl,'
13383
 
            lt_prog_compiler_pic_CXX='-qpic'
13384
 
            lt_prog_compiler_static_CXX='-qstaticlink'
13385
 
            ;;
13386
 
          *)
13387
 
            case `$CC -V 2>&1 | sed 5q` in
13388
 
            *Sun\ C*)
13389
 
              # Sun C++ 5.9
13390
 
              lt_prog_compiler_pic_CXX='-KPIC'
13391
 
              lt_prog_compiler_static_CXX='-Bstatic'
13392
 
              lt_prog_compiler_wl_CXX='-Qoption ld '
13393
 
              ;;
13394
 
            esac
13395
 
            ;;
13396
 
        esac
13397
 
        ;;
13398
 
      lynxos*)
13399
 
        ;;
13400
 
      m88k*)
13401
 
        ;;
13402
 
      mvs*)
13403
 
        case $cc_basename in
13404
 
          cxx*)
13405
 
            lt_prog_compiler_pic_CXX='-W c,exportall'
13406
 
            ;;
13407
 
          *)
13408
 
            ;;
13409
 
        esac
13410
 
        ;;
13411
 
      netbsd* | netbsdelf*-gnu)
13412
 
        ;;
13413
 
      *qnx* | *nto*)
13414
 
        # QNX uses GNU C++, but need to define -shared option too, otherwise
13415
 
        # it will coredump.
13416
 
        lt_prog_compiler_pic_CXX='-fPIC -shared'
13417
 
        ;;
13418
 
      osf3* | osf4* | osf5*)
13419
 
        case $cc_basename in
13420
 
          KCC*)
13421
 
            lt_prog_compiler_wl_CXX='--backend -Wl,'
13422
 
            ;;
13423
 
          RCC*)
13424
 
            # Rational C++ 2.4.1
13425
 
            lt_prog_compiler_pic_CXX='-pic'
13426
 
            ;;
13427
 
          cxx*)
13428
 
            # Digital/Compaq C++
13429
 
            lt_prog_compiler_wl_CXX='-Wl,'
13430
 
            # Make sure the PIC flag is empty.  It appears that all Alpha
13431
 
            # Linux and Compaq Tru64 Unix objects are PIC.
13432
 
            lt_prog_compiler_pic_CXX=
13433
 
            lt_prog_compiler_static_CXX='-non_shared'
13434
 
            ;;
13435
 
          *)
13436
 
            ;;
13437
 
        esac
13438
 
        ;;
13439
 
      psos*)
13440
 
        ;;
13441
 
      solaris*)
13442
 
        case $cc_basename in
13443
 
          CC*)
13444
 
            # Sun C++ 4.2, 5.x and Centerline C++
13445
 
            lt_prog_compiler_pic_CXX='-KPIC'
13446
 
            lt_prog_compiler_static_CXX='-Bstatic'
13447
 
            lt_prog_compiler_wl_CXX='-Qoption ld '
13448
 
            ;;
13449
 
          gcx*)
13450
 
            # Green Hills C++ Compiler
13451
 
            lt_prog_compiler_pic_CXX='-PIC'
13452
 
            ;;
13453
 
          *)
13454
 
            ;;
13455
 
        esac
13456
 
        ;;
13457
 
      sunos4*)
13458
 
        case $cc_basename in
13459
 
          CC*)
13460
 
            # Sun C++ 4.x
13461
 
            lt_prog_compiler_pic_CXX='-pic'
13462
 
            lt_prog_compiler_static_CXX='-Bstatic'
13463
 
            ;;
13464
 
          lcc*)
13465
 
            # Lucid
13466
 
            lt_prog_compiler_pic_CXX='-pic'
13467
 
            ;;
13468
 
          *)
13469
 
            ;;
13470
 
        esac
13471
 
        ;;
13472
 
      sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
13473
 
        case $cc_basename in
13474
 
          CC*)
13475
 
            lt_prog_compiler_wl_CXX='-Wl,'
13476
 
            lt_prog_compiler_pic_CXX='-KPIC'
13477
 
            lt_prog_compiler_static_CXX='-Bstatic'
13478
 
            ;;
13479
 
        esac
13480
 
        ;;
13481
 
      tandem*)
13482
 
        case $cc_basename in
13483
 
          NCC*)
13484
 
            # NonStop-UX NCC 3.20
13485
 
            lt_prog_compiler_pic_CXX='-KPIC'
13486
 
            ;;
13487
 
          *)
13488
 
            ;;
13489
 
        esac
13490
 
        ;;
13491
 
      vxworks*)
13492
 
        ;;
13493
 
      *)
13494
 
        lt_prog_compiler_can_build_shared_CXX=no
13495
 
        ;;
13496
 
    esac
13497
 
  fi
13498
 
 
13499
 
case $host_os in
13500
 
  # For platforms which do not support PIC, -DPIC is meaningless:
13501
 
  *djgpp*)
13502
 
    lt_prog_compiler_pic_CXX=
13503
 
    ;;
13504
 
  *)
13505
 
    lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
13506
 
    ;;
13507
 
esac
13508
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
13509
 
$as_echo "$lt_prog_compiler_pic_CXX" >&6; }
13510
 
 
13511
 
 
13512
 
 
13513
 
#
13514
 
# Check to make sure the PIC flag actually works.
13515
 
#
13516
 
if test -n "$lt_prog_compiler_pic_CXX"; then
13517
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
13518
 
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
13519
 
if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then :
13520
 
  $as_echo_n "(cached) " >&6
13521
 
else
13522
 
  lt_cv_prog_compiler_pic_works_CXX=no
13523
 
   ac_outfile=conftest.$ac_objext
13524
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13525
 
   lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
13526
 
   # Insert the option either (1) after the last *FLAGS variable, or
13527
 
   # (2) before a word containing "conftest.", or (3) at the end.
13528
 
   # Note that $ac_compile itself does not contain backslashes and begins
13529
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
13530
 
   # The option is referenced via a variable to avoid confusing sed.
13531
 
   lt_compile=`echo "$ac_compile" | $SED \
13532
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13533
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13534
 
   -e 's:$: $lt_compiler_flag:'`
13535
 
   (eval echo "\"\$as_me:13535: $lt_compile\"" >&5)
13536
 
   (eval "$lt_compile" 2>conftest.err)
13537
 
   ac_status=$?
13538
 
   cat conftest.err >&5
13539
 
   echo "$as_me:13539: \$? = $ac_status" >&5
13540
 
   if (exit $ac_status) && test -s "$ac_outfile"; then
13541
 
     # The compiler can only warn and ignore the option if not recognized
13542
 
     # So say no if there are warnings other than the usual output.
13543
 
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
13544
 
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13545
 
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
13546
 
       lt_cv_prog_compiler_pic_works_CXX=yes
13547
 
     fi
13548
 
   fi
13549
 
   $RM conftest*
13550
 
 
13551
 
fi
13552
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
13553
 
$as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
13554
 
 
13555
 
if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
13556
 
    case $lt_prog_compiler_pic_CXX in
13557
 
     "" | " "*) ;;
13558
 
     *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
13559
 
     esac
13560
 
else
13561
 
    lt_prog_compiler_pic_CXX=
13562
 
     lt_prog_compiler_can_build_shared_CXX=no
13563
 
fi
13564
 
 
13565
 
fi
13566
 
 
13567
 
 
13568
 
 
13569
 
#
13570
 
# Check to make sure the static flag actually works.
13571
 
#
13572
 
wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
13573
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13574
 
$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
13575
 
if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then :
13576
 
  $as_echo_n "(cached) " >&6
13577
 
else
13578
 
  lt_cv_prog_compiler_static_works_CXX=no
13579
 
   save_LDFLAGS="$LDFLAGS"
13580
 
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
13581
 
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
13582
 
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
13583
 
     # The linker can only warn and ignore the option if not recognized
13584
 
     # So say no if there are warnings
13585
 
     if test -s conftest.err; then
13586
 
       # Append any errors to the config.log.
13587
 
       cat conftest.err 1>&5
13588
 
       $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
13589
 
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13590
 
       if diff conftest.exp conftest.er2 >/dev/null; then
13591
 
         lt_cv_prog_compiler_static_works_CXX=yes
13592
 
       fi
13593
 
     else
13594
 
       lt_cv_prog_compiler_static_works_CXX=yes
13595
 
     fi
13596
 
   fi
13597
 
   $RM -r conftest*
13598
 
   LDFLAGS="$save_LDFLAGS"
13599
 
 
13600
 
fi
13601
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
13602
 
$as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
13603
 
 
13604
 
if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
13605
 
    :
13606
 
else
13607
 
    lt_prog_compiler_static_CXX=
13608
 
fi
13609
 
 
13610
 
 
13611
 
 
13612
 
 
13613
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13614
 
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13615
 
if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13616
 
  $as_echo_n "(cached) " >&6
13617
 
else
13618
 
  lt_cv_prog_compiler_c_o_CXX=no
13619
 
   $RM -r conftest 2>/dev/null
13620
 
   mkdir conftest
13621
 
   cd conftest
13622
 
   mkdir out
13623
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13624
 
 
13625
 
   lt_compiler_flag="-o out/conftest2.$ac_objext"
13626
 
   # Insert the option either (1) after the last *FLAGS variable, or
13627
 
   # (2) before a word containing "conftest.", or (3) at the end.
13628
 
   # Note that $ac_compile itself does not contain backslashes and begins
13629
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
13630
 
   lt_compile=`echo "$ac_compile" | $SED \
13631
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13632
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13633
 
   -e 's:$: $lt_compiler_flag:'`
13634
 
   (eval echo "\"\$as_me:13634: $lt_compile\"" >&5)
13635
 
   (eval "$lt_compile" 2>out/conftest.err)
13636
 
   ac_status=$?
13637
 
   cat out/conftest.err >&5
13638
 
   echo "$as_me:13638: \$? = $ac_status" >&5
13639
 
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
13640
 
   then
13641
 
     # The compiler can only warn and ignore the option if not recognized
13642
 
     # So say no if there are warnings
13643
 
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
13644
 
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13645
 
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13646
 
       lt_cv_prog_compiler_c_o_CXX=yes
13647
 
     fi
13648
 
   fi
13649
 
   chmod u+w . 2>&5
13650
 
   $RM conftest*
13651
 
   # SGI C++ compiler will create directory out/ii_files/ for
13652
 
   # template instantiation
13653
 
   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
13654
 
   $RM out/* && rmdir out
13655
 
   cd ..
13656
 
   $RM -r conftest
13657
 
   $RM conftest*
13658
 
 
13659
 
fi
13660
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13661
 
$as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13662
 
 
13663
 
 
13664
 
 
13665
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13666
 
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13667
 
if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13668
 
  $as_echo_n "(cached) " >&6
13669
 
else
13670
 
  lt_cv_prog_compiler_c_o_CXX=no
13671
 
   $RM -r conftest 2>/dev/null
13672
 
   mkdir conftest
13673
 
   cd conftest
13674
 
   mkdir out
13675
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13676
 
 
13677
 
   lt_compiler_flag="-o out/conftest2.$ac_objext"
13678
 
   # Insert the option either (1) after the last *FLAGS variable, or
13679
 
   # (2) before a word containing "conftest.", or (3) at the end.
13680
 
   # Note that $ac_compile itself does not contain backslashes and begins
13681
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
13682
 
   lt_compile=`echo "$ac_compile" | $SED \
13683
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13684
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13685
 
   -e 's:$: $lt_compiler_flag:'`
13686
 
   (eval echo "\"\$as_me:13686: $lt_compile\"" >&5)
13687
 
   (eval "$lt_compile" 2>out/conftest.err)
13688
 
   ac_status=$?
13689
 
   cat out/conftest.err >&5
13690
 
   echo "$as_me:13690: \$? = $ac_status" >&5
13691
 
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
13692
 
   then
13693
 
     # The compiler can only warn and ignore the option if not recognized
13694
 
     # So say no if there are warnings
13695
 
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
13696
 
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13697
 
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13698
 
       lt_cv_prog_compiler_c_o_CXX=yes
13699
 
     fi
13700
 
   fi
13701
 
   chmod u+w . 2>&5
13702
 
   $RM conftest*
13703
 
   # SGI C++ compiler will create directory out/ii_files/ for
13704
 
   # template instantiation
13705
 
   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
13706
 
   $RM out/* && rmdir out
13707
 
   cd ..
13708
 
   $RM -r conftest
13709
 
   $RM conftest*
13710
 
 
13711
 
fi
13712
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13713
 
$as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13714
 
 
13715
 
 
13716
 
 
13717
 
 
13718
 
hard_links="nottested"
13719
 
if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
13720
 
  # do not overwrite the value of need_locks provided by the user
13721
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
13722
 
$as_echo_n "checking if we can lock with hard links... " >&6; }
13723
 
  hard_links=yes
13724
 
  $RM conftest*
13725
 
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
13726
 
  touch conftest.a
13727
 
  ln conftest.a conftest.b 2>&5 || hard_links=no
13728
 
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
13729
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
13730
 
$as_echo "$hard_links" >&6; }
13731
 
  if test "$hard_links" = no; then
13732
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13733
 
$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13734
 
    need_locks=warn
13735
 
  fi
13736
 
else
13737
 
  need_locks=no
13738
 
fi
13739
 
 
13740
 
 
13741
 
 
13742
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13743
 
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
13744
 
 
13745
 
  export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13746
 
  case $host_os in
13747
 
  aix[4-9]*)
13748
 
    # If we're using GNU nm, then we don't want the "-C" option.
13749
 
    # -C means demangle to AIX nm, but means don't demangle with GNU nm
13750
 
    if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
13751
 
      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'
13752
 
    else
13753
 
      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'
13754
 
    fi
13755
 
    ;;
13756
 
  pw32*)
13757
 
    export_symbols_cmds_CXX="$ltdll_cmds"
13758
 
  ;;
13759
 
  cygwin* | mingw* | cegcc*)
13760
 
    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'
13761
 
  ;;
13762
 
  linux* | k*bsd*-gnu)
13763
 
    link_all_deplibs_CXX=no
13764
 
  ;;
13765
 
  *)
13766
 
    export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13767
 
  ;;
13768
 
  esac
13769
 
  exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
13770
 
 
13771
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13772
 
$as_echo "$ld_shlibs_CXX" >&6; }
13773
 
test "$ld_shlibs_CXX" = no && can_build_shared=no
13774
 
 
13775
 
with_gnu_ld_CXX=$with_gnu_ld
13776
 
 
13777
 
 
13778
 
 
13779
 
 
13780
 
 
13781
 
 
13782
 
#
13783
 
# Do we need to explicitly link libc?
13784
 
#
13785
 
case "x$archive_cmds_need_lc_CXX" in
13786
 
x|xyes)
13787
 
  # Assume -lc should be added
13788
 
  archive_cmds_need_lc_CXX=yes
13789
 
 
13790
 
  if test "$enable_shared" = yes && test "$GCC" = yes; then
13791
 
    case $archive_cmds_CXX in
13792
 
    *'~'*)
13793
 
      # FIXME: we may have to deal with multi-command sequences.
13794
 
      ;;
13795
 
    '$CC '*)
13796
 
      # Test whether the compiler implicitly links with -lc since on some
13797
 
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
13798
 
      # to ld, don't add -lc before -lgcc.
13799
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
13800
 
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
13801
 
      $RM conftest*
13802
 
      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13803
 
 
13804
 
      if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13805
 
  (eval $ac_compile) 2>&5
13806
 
  ac_status=$?
13807
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13808
 
  test $ac_status = 0; } 2>conftest.err; then
13809
 
        soname=conftest
13810
 
        lib=conftest
13811
 
        libobjs=conftest.$ac_objext
13812
 
        deplibs=
13813
 
        wl=$lt_prog_compiler_wl_CXX
13814
 
        pic_flag=$lt_prog_compiler_pic_CXX
13815
 
        compiler_flags=-v
13816
 
        linker_flags=-v
13817
 
        verstring=
13818
 
        output_objdir=.
13819
 
        libname=conftest
13820
 
        lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
13821
 
        allow_undefined_flag_CXX=
13822
 
        if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
13823
 
  (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
13824
 
  ac_status=$?
13825
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13826
 
  test $ac_status = 0; }
13827
 
        then
13828
 
          archive_cmds_need_lc_CXX=no
13829
 
        else
13830
 
          archive_cmds_need_lc_CXX=yes
13831
 
        fi
13832
 
        allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
13833
 
      else
13834
 
        cat conftest.err 1>&5
13835
 
      fi
13836
 
      $RM conftest*
13837
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc_CXX" >&5
13838
 
$as_echo "$archive_cmds_need_lc_CXX" >&6; }
13839
 
      ;;
13840
 
    esac
13841
 
  fi
13842
 
  ;;
13843
 
esac
13844
 
 
13845
 
 
13846
 
 
13847
 
 
13848
 
 
13849
 
 
13850
 
 
13851
 
 
13852
 
 
13853
 
 
13854
 
 
13855
 
 
13856
 
 
13857
 
 
13858
 
 
13859
 
 
13860
 
 
13861
 
 
13862
 
 
13863
 
 
13864
 
 
13865
 
 
13866
 
 
13867
 
 
13868
 
 
13869
 
 
13870
 
 
13871
 
 
13872
 
 
13873
 
 
13874
 
 
13875
 
 
13876
 
 
13877
 
 
13878
 
 
13879
 
 
13880
 
 
13881
 
 
13882
 
 
13883
 
 
13884
 
 
13885
 
 
13886
 
 
13887
 
 
13888
 
 
13889
 
 
13890
 
 
13891
 
 
13892
 
 
13893
 
 
13894
 
 
13895
 
 
13896
 
 
13897
 
 
13898
 
 
13899
 
 
13900
 
 
13901
 
 
13902
 
 
13903
 
 
13904
 
 
13905
 
 
13906
 
 
13907
 
 
13908
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
13909
 
$as_echo_n "checking dynamic linker characteristics... " >&6; }
13910
 
 
13911
 
library_names_spec=
13912
 
libname_spec='lib$name'
13913
 
soname_spec=
13914
 
shrext_cmds=".so"
13915
 
postinstall_cmds=
13916
 
postuninstall_cmds=
13917
 
finish_cmds=
13918
 
finish_eval=
13919
 
shlibpath_var=
13920
 
shlibpath_overrides_runpath=unknown
13921
 
version_type=none
13922
 
dynamic_linker="$host_os ld.so"
13923
 
sys_lib_dlsearch_path_spec="/lib /usr/lib"
13924
 
need_lib_prefix=unknown
13925
 
hardcode_into_libs=no
13926
 
 
13927
 
# when you set need_version to no, make sure it does not cause -set_version
13928
 
# flags to be left without arguments
13929
 
need_version=unknown
13930
 
 
13931
 
case $host_os in
13932
 
aix3*)
13933
 
  version_type=linux
13934
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
13935
 
  shlibpath_var=LIBPATH
13936
 
 
13937
 
  # AIX 3 has no versioning support, so we append a major version to the name.
13938
 
  soname_spec='${libname}${release}${shared_ext}$major'
13939
 
  ;;
13940
 
 
13941
 
aix[4-9]*)
13942
 
  version_type=linux
13943
 
  need_lib_prefix=no
13944
 
  need_version=no
13945
 
  hardcode_into_libs=yes
13946
 
  if test "$host_cpu" = ia64; then
13947
 
    # AIX 5 supports IA64
13948
 
    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
13949
 
    shlibpath_var=LD_LIBRARY_PATH
13950
 
  else
13951
 
    # With GCC up to 2.95.x, collect2 would create an import file
13952
 
    # for dependence libraries.  The import file would start with
13953
 
    # the line `#! .'.  This would cause the generated library to
13954
 
    # depend on `.', always an invalid library.  This was fixed in
13955
 
    # development snapshots of GCC prior to 3.0.
13956
 
    case $host_os in
13957
 
      aix4 | aix4.[01] | aix4.[01].*)
13958
 
      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
13959
 
           echo ' yes '
13960
 
           echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
13961
 
        :
13962
 
      else
13963
 
        can_build_shared=no
13964
 
      fi
13965
 
      ;;
13966
 
    esac
13967
 
    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
13968
 
    # soname into executable. Probably we can add versioning support to
13969
 
    # collect2, so additional links can be useful in future.
13970
 
    if test "$aix_use_runtimelinking" = yes; then
13971
 
      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
13972
 
      # instead of lib<name>.a to let people know that these are not
13973
 
      # typical AIX shared libraries.
13974
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13975
 
    else
13976
 
      # We preserve .a as extension for shared libraries through AIX4.2
13977
 
      # and later when we are not doing run time linking.
13978
 
      library_names_spec='${libname}${release}.a $libname.a'
13979
 
      soname_spec='${libname}${release}${shared_ext}$major'
13980
 
    fi
13981
 
    shlibpath_var=LIBPATH
13982
 
  fi
13983
 
  ;;
13984
 
 
13985
 
amigaos*)
13986
 
  case $host_cpu in
13987
 
  powerpc)
13988
 
    # Since July 2007 AmigaOS4 officially supports .so libraries.
13989
 
    # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
13990
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13991
 
    ;;
13992
 
  m68k)
13993
 
    library_names_spec='$libname.ixlibrary $libname.a'
13994
 
    # Create ${libname}_ixlibrary.a entries in /sys/libs.
13995
 
    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'
13996
 
    ;;
13997
 
  esac
13998
 
  ;;
13999
 
 
14000
 
beos*)
14001
 
  library_names_spec='${libname}${shared_ext}'
14002
 
  dynamic_linker="$host_os ld.so"
14003
 
  shlibpath_var=LIBRARY_PATH
14004
 
  ;;
14005
 
 
14006
 
bsdi[45]*)
14007
 
  version_type=linux
14008
 
  need_version=no
14009
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14010
 
  soname_spec='${libname}${release}${shared_ext}$major'
14011
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
14012
 
  shlibpath_var=LD_LIBRARY_PATH
14013
 
  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14014
 
  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
14015
 
  # the default ld.so.conf also contains /usr/contrib/lib and
14016
 
  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14017
 
  # libtool to hard-code these into programs
14018
 
  ;;
14019
 
 
14020
 
cygwin* | mingw* | pw32* | cegcc*)
14021
 
  version_type=windows
14022
 
  shrext_cmds=".dll"
14023
 
  need_version=no
14024
 
  need_lib_prefix=no
14025
 
 
14026
 
  case $GCC,$host_os in
14027
 
  yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
14028
 
    library_names_spec='$libname.dll.a'
14029
 
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
14030
 
    postinstall_cmds='base_file=`basename \${file}`~
14031
 
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14032
 
      dldir=$destdir/`dirname \$dlpath`~
14033
 
      test -d \$dldir || mkdir -p \$dldir~
14034
 
      $install_prog $dir/$dlname \$dldir/$dlname~
14035
 
      chmod a+x \$dldir/$dlname~
14036
 
      if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
14037
 
        eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
14038
 
      fi'
14039
 
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14040
 
      dlpath=$dir/\$dldll~
14041
 
       $RM \$dlpath'
14042
 
    shlibpath_overrides_runpath=yes
14043
 
 
14044
 
    case $host_os in
14045
 
    cygwin*)
14046
 
      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14047
 
      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14048
 
      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
14049
 
      ;;
14050
 
    mingw* | cegcc*)
14051
 
      # MinGW DLLs use traditional 'lib' prefix
14052
 
      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14053
 
      sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
14054
 
      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
14055
 
        # It is most probably a Windows format PATH printed by
14056
 
        # mingw gcc, but we are running on Cygwin. Gcc prints its search
14057
 
        # path with ; separators, and with drive letters. We can handle the
14058
 
        # drive letters (cygwin fileutils understands them), so leave them,
14059
 
        # especially as we might pass files found there to a mingw objdump,
14060
 
        # which wouldn't understand a cygwinified path. Ahh.
14061
 
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
14062
 
      else
14063
 
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
14064
 
      fi
14065
 
      ;;
14066
 
    pw32*)
14067
 
      # pw32 DLLs use 'pw' prefix rather than 'lib'
14068
 
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14069
 
      ;;
14070
 
    esac
14071
 
    ;;
14072
 
 
14073
 
  *)
14074
 
    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14075
 
    ;;
14076
 
  esac
14077
 
  dynamic_linker='Win32 ld.exe'
14078
 
  # FIXME: first we should search . and the directory the executable is in
14079
 
  shlibpath_var=PATH
14080
 
  ;;
14081
 
 
14082
 
darwin* | rhapsody*)
14083
 
  dynamic_linker="$host_os dyld"
14084
 
  version_type=darwin
14085
 
  need_lib_prefix=no
14086
 
  need_version=no
14087
 
  library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14088
 
  soname_spec='${libname}${release}${major}$shared_ext'
14089
 
  shlibpath_overrides_runpath=yes
14090
 
  shlibpath_var=DYLD_LIBRARY_PATH
14091
 
  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
14092
 
 
14093
 
  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
14094
 
  ;;
14095
 
 
14096
 
dgux*)
14097
 
  version_type=linux
14098
 
  need_lib_prefix=no
14099
 
  need_version=no
14100
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14101
 
  soname_spec='${libname}${release}${shared_ext}$major'
14102
 
  shlibpath_var=LD_LIBRARY_PATH
14103
 
  ;;
14104
 
 
14105
 
freebsd1*)
14106
 
  dynamic_linker=no
14107
 
  ;;
14108
 
 
14109
 
freebsd* | dragonfly*)
14110
 
  # DragonFly does not have aout.  When/if they implement a new
14111
 
  # versioning mechanism, adjust this.
14112
 
  if test -x /usr/bin/objformat; then
14113
 
    objformat=`/usr/bin/objformat`
14114
 
  else
14115
 
    case $host_os in
14116
 
    freebsd[123]*) objformat=aout ;;
14117
 
    *) objformat=elf ;;
14118
 
    esac
14119
 
  fi
14120
 
  version_type=freebsd-$objformat
14121
 
  case $version_type in
14122
 
    freebsd-elf*)
14123
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14124
 
      need_version=no
14125
 
      need_lib_prefix=no
14126
 
      ;;
14127
 
    freebsd-*)
14128
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14129
 
      need_version=yes
14130
 
      ;;
14131
 
  esac
14132
 
  shlibpath_var=LD_LIBRARY_PATH
14133
 
  case $host_os in
14134
 
  freebsd2*)
14135
 
    shlibpath_overrides_runpath=yes
14136
 
    ;;
14137
 
  freebsd3.[01]* | freebsdelf3.[01]*)
14138
 
    shlibpath_overrides_runpath=yes
14139
 
    hardcode_into_libs=yes
14140
 
    ;;
14141
 
  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
14142
 
  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
14143
 
    shlibpath_overrides_runpath=no
14144
 
    hardcode_into_libs=yes
14145
 
    ;;
14146
 
  *) # from 4.6 on, and DragonFly
14147
 
    shlibpath_overrides_runpath=yes
14148
 
    hardcode_into_libs=yes
14149
 
    ;;
14150
 
  esac
14151
 
  ;;
14152
 
 
14153
 
gnu*)
14154
 
  version_type=linux
14155
 
  need_lib_prefix=no
14156
 
  need_version=no
14157
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14158
 
  soname_spec='${libname}${release}${shared_ext}$major'
14159
 
  shlibpath_var=LD_LIBRARY_PATH
14160
 
  hardcode_into_libs=yes
14161
 
  ;;
14162
 
 
14163
 
hpux9* | hpux10* | hpux11*)
14164
 
  # Give a soname corresponding to the major version so that dld.sl refuses to
14165
 
  # link against other versions.
14166
 
  version_type=sunos
14167
 
  need_lib_prefix=no
14168
 
  need_version=no
14169
 
  case $host_cpu in
14170
 
  ia64*)
14171
 
    shrext_cmds='.so'
14172
 
    hardcode_into_libs=yes
14173
 
    dynamic_linker="$host_os dld.so"
14174
 
    shlibpath_var=LD_LIBRARY_PATH
14175
 
    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14176
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14177
 
    soname_spec='${libname}${release}${shared_ext}$major'
14178
 
    if test "X$HPUX_IA64_MODE" = X32; then
14179
 
      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14180
 
    else
14181
 
      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
14182
 
    fi
14183
 
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14184
 
    ;;
14185
 
  hppa*64*)
14186
 
    shrext_cmds='.sl'
14187
 
    hardcode_into_libs=yes
14188
 
    dynamic_linker="$host_os dld.sl"
14189
 
    shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
14190
 
    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14191
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14192
 
    soname_spec='${libname}${release}${shared_ext}$major'
14193
 
    sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14194
 
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14195
 
    ;;
14196
 
  *)
14197
 
    shrext_cmds='.sl'
14198
 
    dynamic_linker="$host_os dld.sl"
14199
 
    shlibpath_var=SHLIB_PATH
14200
 
    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
14201
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14202
 
    soname_spec='${libname}${release}${shared_ext}$major'
14203
 
    ;;
14204
 
  esac
14205
 
  # HP-UX runs *really* slowly unless shared libraries are mode 555.
14206
 
  postinstall_cmds='chmod 555 $lib'
14207
 
  ;;
14208
 
 
14209
 
interix[3-9]*)
14210
 
  version_type=linux
14211
 
  need_lib_prefix=no
14212
 
  need_version=no
14213
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14214
 
  soname_spec='${libname}${release}${shared_ext}$major'
14215
 
  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
14216
 
  shlibpath_var=LD_LIBRARY_PATH
14217
 
  shlibpath_overrides_runpath=no
14218
 
  hardcode_into_libs=yes
14219
 
  ;;
14220
 
 
14221
 
irix5* | irix6* | nonstopux*)
14222
 
  case $host_os in
14223
 
    nonstopux*) version_type=nonstopux ;;
14224
 
    *)
14225
 
        if test "$lt_cv_prog_gnu_ld" = yes; then
14226
 
                version_type=linux
14227
 
        else
14228
 
                version_type=irix
14229
 
        fi ;;
14230
 
  esac
14231
 
  need_lib_prefix=no
14232
 
  need_version=no
14233
 
  soname_spec='${libname}${release}${shared_ext}$major'
14234
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14235
 
  case $host_os in
14236
 
  irix5* | nonstopux*)
14237
 
    libsuff= shlibsuff=
14238
 
    ;;
14239
 
  *)
14240
 
    case $LD in # libtool.m4 will add one of these switches to LD
14241
 
    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
14242
 
      libsuff= shlibsuff= libmagic=32-bit;;
14243
 
    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
14244
 
      libsuff=32 shlibsuff=N32 libmagic=N32;;
14245
 
    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
14246
 
      libsuff=64 shlibsuff=64 libmagic=64-bit;;
14247
 
    *) libsuff= shlibsuff= libmagic=never-match;;
14248
 
    esac
14249
 
    ;;
14250
 
  esac
14251
 
  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
14252
 
  shlibpath_overrides_runpath=no
14253
 
  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14254
 
  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
14255
 
  hardcode_into_libs=yes
14256
 
  ;;
14257
 
 
14258
 
# No shared lib support for Linux oldld, aout, or coff.
14259
 
linux*oldld* | linux*aout* | linux*coff*)
14260
 
  dynamic_linker=no
14261
 
  ;;
14262
 
 
14263
 
# This must be Linux ELF.
14264
 
linux* | k*bsd*-gnu)
14265
 
  version_type=linux
14266
 
  need_lib_prefix=no
14267
 
  need_version=no
14268
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14269
 
  soname_spec='${libname}${release}${shared_ext}$major'
14270
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14271
 
  shlibpath_var=LD_LIBRARY_PATH
14272
 
  shlibpath_overrides_runpath=no
14273
 
  # Some binutils ld are patched to set DT_RUNPATH
14274
 
  save_LDFLAGS=$LDFLAGS
14275
 
  save_libdir=$libdir
14276
 
  eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
14277
 
       LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
14278
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14279
 
/* end confdefs.h.  */
14280
 
 
14281
 
int
14282
 
main ()
14283
 
{
14284
 
 
14285
 
  ;
14286
 
  return 0;
14287
 
}
14288
 
_ACEOF
14289
 
if ac_fn_cxx_try_link "$LINENO"; then :
14290
 
  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
14291
 
  shlibpath_overrides_runpath=yes
14292
 
fi
14293
 
fi
14294
 
rm -f core conftest.err conftest.$ac_objext \
14295
 
    conftest$ac_exeext conftest.$ac_ext
14296
 
  LDFLAGS=$save_LDFLAGS
14297
 
  libdir=$save_libdir
14298
 
 
14299
 
  # This implies no fast_install, which is unacceptable.
14300
 
  # Some rework will be needed to allow for fast_install
14301
 
  # before this can be enabled.
14302
 
  hardcode_into_libs=yes
14303
 
 
14304
 
  # Append ld.so.conf contents to the search path
14305
 
  if test -f /etc/ld.so.conf; then
14306
 
    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' ' '`
14307
 
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
14308
 
  fi
14309
 
 
14310
 
  # We used to test for /lib/ld.so.1 and disable shared libraries on
14311
 
  # powerpc, because MkLinux only supported shared libraries with the
14312
 
  # GNU dynamic linker.  Since this was broken with cross compilers,
14313
 
  # most powerpc-linux boxes support dynamic linking these days and
14314
 
  # people can always --disable-shared, the test was removed, and we
14315
 
  # assume the GNU/Linux dynamic linker is in use.
14316
 
  dynamic_linker='GNU/Linux ld.so'
14317
 
  ;;
14318
 
 
14319
 
netbsdelf*-gnu)
14320
 
  version_type=linux
14321
 
  need_lib_prefix=no
14322
 
  need_version=no
14323
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14324
 
  soname_spec='${libname}${release}${shared_ext}$major'
14325
 
  shlibpath_var=LD_LIBRARY_PATH
14326
 
  shlibpath_overrides_runpath=no
14327
 
  hardcode_into_libs=yes
14328
 
  dynamic_linker='NetBSD ld.elf_so'
14329
 
  ;;
14330
 
 
14331
 
netbsd*)
14332
 
  version_type=sunos
14333
 
  need_lib_prefix=no
14334
 
  need_version=no
14335
 
  if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
14336
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14337
 
    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14338
 
    dynamic_linker='NetBSD (a.out) ld.so'
14339
 
  else
14340
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14341
 
    soname_spec='${libname}${release}${shared_ext}$major'
14342
 
    dynamic_linker='NetBSD ld.elf_so'
14343
 
  fi
14344
 
  shlibpath_var=LD_LIBRARY_PATH
14345
 
  shlibpath_overrides_runpath=yes
14346
 
  hardcode_into_libs=yes
14347
 
  ;;
14348
 
 
14349
 
newsos6)
14350
 
  version_type=linux
14351
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14352
 
  shlibpath_var=LD_LIBRARY_PATH
14353
 
  shlibpath_overrides_runpath=yes
14354
 
  ;;
14355
 
 
14356
 
*nto* | *qnx*)
14357
 
  version_type=qnx
14358
 
  need_lib_prefix=no
14359
 
  need_version=no
14360
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14361
 
  soname_spec='${libname}${release}${shared_ext}$major'
14362
 
  shlibpath_var=LD_LIBRARY_PATH
14363
 
  shlibpath_overrides_runpath=no
14364
 
  hardcode_into_libs=yes
14365
 
  dynamic_linker='ldqnx.so'
14366
 
  ;;
14367
 
 
14368
 
openbsd*)
14369
 
  version_type=sunos
14370
 
  sys_lib_dlsearch_path_spec="/usr/lib"
14371
 
  need_lib_prefix=no
14372
 
  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
14373
 
  case $host_os in
14374
 
    openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
14375
 
    *)                          need_version=no  ;;
14376
 
  esac
14377
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14378
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14379
 
  shlibpath_var=LD_LIBRARY_PATH
14380
 
  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14381
 
    case $host_os in
14382
 
      openbsd2.[89] | openbsd2.[89].*)
14383
 
        shlibpath_overrides_runpath=no
14384
 
        ;;
14385
 
      *)
14386
 
        shlibpath_overrides_runpath=yes
14387
 
        ;;
14388
 
      esac
14389
 
  else
14390
 
    shlibpath_overrides_runpath=yes
14391
 
  fi
14392
 
  ;;
14393
 
 
14394
 
os2*)
14395
 
  libname_spec='$name'
14396
 
  shrext_cmds=".dll"
14397
 
  need_lib_prefix=no
14398
 
  library_names_spec='$libname${shared_ext} $libname.a'
14399
 
  dynamic_linker='OS/2 ld.exe'
14400
 
  shlibpath_var=LIBPATH
14401
 
  ;;
14402
 
 
14403
 
osf3* | osf4* | osf5*)
14404
 
  version_type=osf
14405
 
  need_lib_prefix=no
14406
 
  need_version=no
14407
 
  soname_spec='${libname}${release}${shared_ext}$major'
14408
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14409
 
  shlibpath_var=LD_LIBRARY_PATH
14410
 
  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14411
 
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
14412
 
  ;;
14413
 
 
14414
 
rdos*)
14415
 
  dynamic_linker=no
14416
 
  ;;
14417
 
 
14418
 
solaris*)
14419
 
  version_type=linux
14420
 
  need_lib_prefix=no
14421
 
  need_version=no
14422
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14423
 
  soname_spec='${libname}${release}${shared_ext}$major'
14424
 
  shlibpath_var=LD_LIBRARY_PATH
14425
 
  shlibpath_overrides_runpath=yes
14426
 
  hardcode_into_libs=yes
14427
 
  # ldd complains unless libraries are executable
14428
 
  postinstall_cmds='chmod +x $lib'
14429
 
  ;;
14430
 
 
14431
 
sunos4*)
14432
 
  version_type=sunos
14433
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14434
 
  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14435
 
  shlibpath_var=LD_LIBRARY_PATH
14436
 
  shlibpath_overrides_runpath=yes
14437
 
  if test "$with_gnu_ld" = yes; then
14438
 
    need_lib_prefix=no
14439
 
  fi
14440
 
  need_version=yes
14441
 
  ;;
14442
 
 
14443
 
sysv4 | sysv4.3*)
14444
 
  version_type=linux
14445
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14446
 
  soname_spec='${libname}${release}${shared_ext}$major'
14447
 
  shlibpath_var=LD_LIBRARY_PATH
14448
 
  case $host_vendor in
14449
 
    sni)
14450
 
      shlibpath_overrides_runpath=no
14451
 
      need_lib_prefix=no
14452
 
      runpath_var=LD_RUN_PATH
14453
 
      ;;
14454
 
    siemens)
14455
 
      need_lib_prefix=no
14456
 
      ;;
14457
 
    motorola)
14458
 
      need_lib_prefix=no
14459
 
      need_version=no
14460
 
      shlibpath_overrides_runpath=no
14461
 
      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
14462
 
      ;;
14463
 
  esac
14464
 
  ;;
14465
 
 
14466
 
sysv4*MP*)
14467
 
  if test -d /usr/nec ;then
14468
 
    version_type=linux
14469
 
    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14470
 
    soname_spec='$libname${shared_ext}.$major'
14471
 
    shlibpath_var=LD_LIBRARY_PATH
14472
 
  fi
14473
 
  ;;
14474
 
 
14475
 
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
14476
 
  version_type=freebsd-elf
14477
 
  need_lib_prefix=no
14478
 
  need_version=no
14479
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14480
 
  soname_spec='${libname}${release}${shared_ext}$major'
14481
 
  shlibpath_var=LD_LIBRARY_PATH
14482
 
  shlibpath_overrides_runpath=yes
14483
 
  hardcode_into_libs=yes
14484
 
  if test "$with_gnu_ld" = yes; then
14485
 
    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
14486
 
  else
14487
 
    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
14488
 
    case $host_os in
14489
 
      sco3.2v5*)
14490
 
        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
14491
 
        ;;
14492
 
    esac
14493
 
  fi
14494
 
  sys_lib_dlsearch_path_spec='/usr/lib'
14495
 
  ;;
14496
 
 
14497
 
tpf*)
14498
 
  # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
14499
 
  version_type=linux
14500
 
  need_lib_prefix=no
14501
 
  need_version=no
14502
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14503
 
  shlibpath_var=LD_LIBRARY_PATH
14504
 
  shlibpath_overrides_runpath=no
14505
 
  hardcode_into_libs=yes
14506
 
  ;;
14507
 
 
14508
 
uts4*)
14509
 
  version_type=linux
14510
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14511
 
  soname_spec='${libname}${release}${shared_ext}$major'
14512
 
  shlibpath_var=LD_LIBRARY_PATH
14513
 
  ;;
14514
 
 
14515
 
*)
14516
 
  dynamic_linker=no
14517
 
  ;;
14518
 
esac
14519
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
14520
 
$as_echo "$dynamic_linker" >&6; }
14521
 
test "$dynamic_linker" = no && can_build_shared=no
14522
 
 
14523
 
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
14524
 
if test "$GCC" = yes; then
14525
 
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14526
 
fi
14527
 
 
14528
 
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
14529
 
  sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
14530
 
fi
14531
 
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
14532
 
  sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
14533
 
fi
14534
 
 
14535
 
 
14536
 
 
14537
 
 
14538
 
 
14539
 
 
14540
 
 
14541
 
 
14542
 
 
14543
 
 
14544
 
 
14545
 
 
14546
 
 
14547
 
 
14548
 
 
14549
 
 
14550
 
 
14551
 
 
14552
 
 
14553
 
 
14554
 
 
14555
 
 
14556
 
 
14557
 
 
14558
 
 
14559
 
 
14560
 
 
14561
 
 
14562
 
 
14563
 
 
14564
 
 
14565
 
 
14566
 
 
14567
 
 
14568
 
 
14569
 
 
14570
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
14571
 
$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
14572
 
hardcode_action_CXX=
14573
 
if test -n "$hardcode_libdir_flag_spec_CXX" ||
14574
 
   test -n "$runpath_var_CXX" ||
14575
 
   test "X$hardcode_automatic_CXX" = "Xyes" ; then
14576
 
 
14577
 
  # We can hardcode non-existent directories.
14578
 
  if test "$hardcode_direct_CXX" != no &&
14579
 
     # If the only mechanism to avoid hardcoding is shlibpath_var, we
14580
 
     # have to relink, otherwise we might link with an installed library
14581
 
     # when we should be linking with a yet-to-be-installed one
14582
 
     ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
14583
 
     test "$hardcode_minus_L_CXX" != no; then
14584
 
    # Linking always hardcodes the temporary library directory.
14585
 
    hardcode_action_CXX=relink
14586
 
  else
14587
 
    # We can link without hardcoding, and we can hardcode nonexisting dirs.
14588
 
    hardcode_action_CXX=immediate
14589
 
  fi
14590
 
else
14591
 
  # We cannot hardcode anything, or else we can only hardcode existing
14592
 
  # directories.
14593
 
  hardcode_action_CXX=unsupported
14594
 
fi
14595
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
14596
 
$as_echo "$hardcode_action_CXX" >&6; }
14597
 
 
14598
 
if test "$hardcode_action_CXX" = relink ||
14599
 
   test "$inherit_rpath_CXX" = yes; then
14600
 
  # Fast installation is not supported
14601
 
  enable_fast_install=no
14602
 
elif test "$shlibpath_overrides_runpath" = yes ||
14603
 
     test "$enable_shared" = no; then
14604
 
  # Fast installation is not necessary
14605
 
  enable_fast_install=needless
14606
 
fi
14607
 
 
14608
 
 
14609
 
 
14610
 
 
14611
 
 
14612
 
 
14613
 
 
14614
 
  fi # test -n "$compiler"
14615
 
 
14616
 
  CC=$lt_save_CC
14617
 
  LDCXX=$LD
14618
 
  LD=$lt_save_LD
14619
 
  GCC=$lt_save_GCC
14620
 
  with_gnu_ld=$lt_save_with_gnu_ld
14621
 
  lt_cv_path_LDCXX=$lt_cv_path_LD
14622
 
  lt_cv_path_LD=$lt_save_path_LD
14623
 
  lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
14624
 
  lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
14625
 
fi # test "$_lt_caught_CXX_error" != yes
14626
 
 
14627
 
ac_ext=c
14628
 
ac_cpp='$CPP $CPPFLAGS'
14629
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14630
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14631
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
14632
 
 
14633
 
 
14634
 
 
14635
 
 
14636
 
 
14637
 
 
14638
 
 
14639
 
 
14640
 
 
14641
 
 
14642
 
 
14643
 
 
14644
 
 
14645
 
        ac_config_commands="$ac_config_commands libtool"
14646
 
 
14647
 
 
14648
 
 
14649
 
 
14650
 
# Only expand once:
14651
 
 
14652
 
 
14653
 
for ac_prog in flex lex
14654
 
do
14655
 
  # Extract the first word of "$ac_prog", so it can be a program name with args.
14656
 
set dummy $ac_prog; ac_word=$2
14657
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14658
 
$as_echo_n "checking for $ac_word... " >&6; }
14659
 
if test "${ac_cv_prog_LEX+set}" = set; then :
14660
 
  $as_echo_n "(cached) " >&6
14661
 
else
14662
 
  if test -n "$LEX"; then
14663
 
  ac_cv_prog_LEX="$LEX" # Let the user override the test.
14664
 
else
14665
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14666
 
for as_dir in $PATH
14667
 
do
14668
 
  IFS=$as_save_IFS
14669
 
  test -z "$as_dir" && as_dir=.
14670
 
    for ac_exec_ext in '' $ac_executable_extensions; do
14671
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14672
 
    ac_cv_prog_LEX="$ac_prog"
14673
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14674
 
    break 2
14675
 
  fi
14676
 
done
14677
 
  done
14678
 
IFS=$as_save_IFS
14679
 
 
14680
 
fi
14681
 
fi
14682
 
LEX=$ac_cv_prog_LEX
14683
 
if test -n "$LEX"; then
14684
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LEX" >&5
14685
 
$as_echo "$LEX" >&6; }
14686
 
else
14687
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14688
 
$as_echo "no" >&6; }
14689
 
fi
14690
 
 
14691
 
 
14692
 
  test -n "$LEX" && break
14693
 
done
14694
 
test -n "$LEX" || LEX=":"
14695
 
 
14696
 
if test "x$LEX" != "x:"; then
14697
 
  cat >conftest.l <<_ACEOF
14698
 
%%
14699
 
a { ECHO; }
14700
 
b { REJECT; }
14701
 
c { yymore (); }
14702
 
d { yyless (1); }
14703
 
e { yyless (input () != 0); }
14704
 
f { unput (yytext[0]); }
14705
 
. { BEGIN INITIAL; }
14706
 
%%
14707
 
#ifdef YYTEXT_POINTER
14708
 
extern char *yytext;
14709
 
#endif
14710
 
int
14711
 
main (void)
14712
 
{
14713
 
  return ! yylex () + ! yywrap ();
14714
 
}
14715
 
_ACEOF
14716
 
{ { ac_try="$LEX conftest.l"
14717
 
case "(($ac_try" in
14718
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14719
 
  *) ac_try_echo=$ac_try;;
14720
 
esac
14721
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
14722
 
$as_echo "$ac_try_echo"; } >&5
14723
 
  (eval "$LEX conftest.l") 2>&5
14724
 
  ac_status=$?
14725
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14726
 
  test $ac_status = 0; }
14727
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking lex output file root" >&5
14728
 
$as_echo_n "checking lex output file root... " >&6; }
14729
 
if test "${ac_cv_prog_lex_root+set}" = set; then :
14730
 
  $as_echo_n "(cached) " >&6
14731
 
else
14732
 
 
14733
 
if test -f lex.yy.c; then
14734
 
  ac_cv_prog_lex_root=lex.yy
14735
 
elif test -f lexyy.c; then
14736
 
  ac_cv_prog_lex_root=lexyy
14737
 
else
14738
 
  as_fn_error "cannot find output from $LEX; giving up" "$LINENO" 5
14739
 
fi
14740
 
fi
14741
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_root" >&5
14742
 
$as_echo "$ac_cv_prog_lex_root" >&6; }
14743
 
LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
14744
 
 
14745
 
if test -z "${LEXLIB+set}"; then
14746
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex library" >&5
14747
 
$as_echo_n "checking lex library... " >&6; }
14748
 
if test "${ac_cv_lib_lex+set}" = set; then :
14749
 
  $as_echo_n "(cached) " >&6
14750
 
else
14751
 
 
14752
 
    ac_save_LIBS=$LIBS
14753
 
    ac_cv_lib_lex='none needed'
14754
 
    for ac_lib in '' -lfl -ll; do
14755
 
      LIBS="$ac_lib $ac_save_LIBS"
14756
 
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14757
 
/* end confdefs.h.  */
14758
 
`cat $LEX_OUTPUT_ROOT.c`
14759
 
_ACEOF
14760
 
if ac_fn_c_try_link "$LINENO"; then :
14761
 
  ac_cv_lib_lex=$ac_lib
14762
 
fi
14763
 
rm -f core conftest.err conftest.$ac_objext \
14764
 
    conftest$ac_exeext conftest.$ac_ext
14765
 
      test "$ac_cv_lib_lex" != 'none needed' && break
14766
 
    done
14767
 
    LIBS=$ac_save_LIBS
14768
 
 
14769
 
fi
14770
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lex" >&5
14771
 
$as_echo "$ac_cv_lib_lex" >&6; }
14772
 
  test "$ac_cv_lib_lex" != 'none needed' && LEXLIB=$ac_cv_lib_lex
14773
 
fi
14774
 
 
14775
 
 
14776
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether yytext is a pointer" >&5
14777
 
$as_echo_n "checking whether yytext is a pointer... " >&6; }
14778
 
if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then :
14779
 
  $as_echo_n "(cached) " >&6
14780
 
else
14781
 
  # POSIX says lex can declare yytext either as a pointer or an array; the
14782
 
# default is implementation-dependent.  Figure out which it is, since
14783
 
# not all implementations provide the %pointer and %array declarations.
14784
 
ac_cv_prog_lex_yytext_pointer=no
14785
 
ac_save_LIBS=$LIBS
14786
 
LIBS="$LEXLIB $ac_save_LIBS"
14787
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14788
 
/* end confdefs.h.  */
14789
 
#define YYTEXT_POINTER 1
14790
 
`cat $LEX_OUTPUT_ROOT.c`
14791
 
_ACEOF
14792
 
if ac_fn_c_try_link "$LINENO"; then :
14793
 
  ac_cv_prog_lex_yytext_pointer=yes
14794
 
fi
14795
 
rm -f core conftest.err conftest.$ac_objext \
14796
 
    conftest$ac_exeext conftest.$ac_ext
14797
 
LIBS=$ac_save_LIBS
14798
 
 
14799
 
fi
14800
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_yytext_pointer" >&5
14801
 
$as_echo "$ac_cv_prog_lex_yytext_pointer" >&6; }
14802
 
if test $ac_cv_prog_lex_yytext_pointer = yes; then
14803
 
 
14804
 
$as_echo "#define YYTEXT_POINTER 1" >>confdefs.h
14805
 
 
14806
 
fi
14807
 
rm -f conftest.l $LEX_OUTPUT_ROOT.c
14808
 
 
14809
 
fi
14810
 
if test "$LEX" = :; then
14811
 
  LEX=${am_missing_run}flex
14812
 
fi
14813
 
 
14814
 
########################################
14815
 
# ALLOCATOR
14816
 
########################################
14817
 
# Check whether --enable-new_allocator was given.
14818
 
if test "${enable_new_allocator+set}" = set; then :
14819
 
  enableval=$enable_new_allocator; use_new_allocator=$enableval
14820
 
else
14821
 
  use_new_allocator=no
14822
 
 
14823
 
fi
14824
 
 
14825
 
 
14826
 
if test $use_new_allocator = yes
14827
 
then
14828
 
 
14829
 
$as_echo "#define ENABLE_NEW_ALLOCATOR 1" >>confdefs.h
14830
 
 
14831
 
fi
14832
 
 
14833
 
########################################
14834
 
# CALLSTACK
14835
 
########################################
14836
 
use_callstack=no
14837
 
# Check whether --enable-callstack was given.
14838
 
if test "${enable_callstack+set}" = set; then :
14839
 
  enableval=$enable_callstack; use_callstack=$enableval
14840
 
else
14841
 
  use_callstack=no
14842
 
 
14843
 
fi
14844
 
 
14845
 
 
14846
 
if test $use_callstack = yes
14847
 
then
14848
 
 
14849
 
$as_echo "#define ENABLE_CALLSTACK 1" >>confdefs.h
14850
 
 
14851
 
fi
14852
 
########################################
14853
 
 
14854
 
########################################
14855
 
# BOOST
14856
 
########################################
14857
 
has_boost=false
14858
 
 
14859
 
# Check whether --with-boost was given.
14860
 
if test "${with_boost+set}" = set; then :
14861
 
  withval=$with_boost; if test $withval == "no"
14862
 
     then
14863
 
       has_boost=false
14864
 
     else
14865
 
       has_boost=true
14866
 
     fi
14867
 
else
14868
 
  has_boost=false
14869
 
 
14870
 
fi
14871
 
 
14872
 
BOOST_PREFIX=$with_boost
14873
 
 
14874
 
 
14875
 
if test $has_boost = true
14876
 
then
14877
 
    BOOST_CFLAGS="-I${BOOST_PREFIX}"
14878
 
 
14879
 
 
14880
 
$as_echo "#define HAVE_BOOST 1" >>confdefs.h
14881
 
 
14882
 
fi
14883
 
########################################
14884
 
 
14885
 
########################################
14886
 
# MYSQL
14887
 
########################################
14888
 
has_mysql=false
14889
 
 
14890
 
# Check whether --with-mysql was given.
14891
 
if test "${with_mysql+set}" = set; then :
14892
 
  withval=$with_mysql; if test $withval == "no"
14893
 
     then
14894
 
       has_mysql=false
14895
 
     else
14896
 
       has_mysql=true
14897
 
     fi
14898
 
else
14899
 
  has_mysql=false
14900
 
 
14901
 
fi
14902
 
 
14903
 
MYSQL_PREFIX=$with_mysql
14904
 
 
14905
 
 
14906
 
if test $has_mysql = true
14907
 
then
14908
 
    MYSQL_CFLAGS="-I${MYSQL_PREFIX}/include/mysql -I${MYSQL_PREFIX}/mysql/include"
14909
 
 
14910
 
    MYSQL_LIBS="-L${MYSQL_PREFIX}/lib/mysql -L${MYSQL_PREFIX}/mysql/lib -lmysqlclient"
14911
 
 
14912
 
 
14913
 
$as_echo "#define HAVE_MYSQL 1" >>confdefs.h
14914
 
 
14915
 
fi
14916
 
########################################
14917
 
 
14918
 
########################################
14919
 
# POSTGRESQL
14920
 
########################################
14921
 
has_postgresql=false
14922
 
 
14923
 
# Check whether --with-postgresql was given.
14924
 
if test "${with_postgresql+set}" = set; then :
14925
 
  withval=$with_postgresql; if test $withval == "no"
14926
 
     then
14927
 
       has_postgresql=false
14928
 
     else
14929
 
       has_postgresql=true
14930
 
     fi
14931
 
else
14932
 
  has_postgresql=false
14933
 
 
14934
 
fi
14935
 
 
14936
 
POSTGRESQL_PREFIX=$with_postgresql
14937
 
 
14938
 
 
14939
 
if test $has_postgresql = true
14940
 
then
14941
 
    POSTGRESQL_CFLAGS="-I${POSTGRESQL_PREFIX}/include -I${POSTGRESQL_PREFIX}/include/postgresql"
14942
 
 
14943
 
    POSTGRESQL_LIBS="-L${POSTGRESQL_PREFIX}/lib -lpq"
14944
 
 
14945
 
 
14946
 
$as_echo "#define HAVE_POSTGRESQL 1" >>confdefs.h
14947
 
 
14948
 
fi
14949
 
########################################
14950
 
 
14951
 
########################################
14952
 
# PYTHON
14953
 
########################################
14954
 
has_python=false
14955
 
 
14956
 
# Check whether --with-python was given.
14957
 
if test "${with_python+set}" = set; then :
14958
 
  withval=$with_python; if test $withval == "no"
14959
 
     then
14960
 
       has_python=false
14961
 
     else
14962
 
       has_python=true
14963
 
     fi
14964
 
else
14965
 
  has_python=false
14966
 
 
14967
 
fi
14968
 
 
14969
 
PYTHON_PREFIX=$with_python
14970
 
 
14971
 
 
14972
 
if test $has_python = true
14973
 
then
14974
 
    PYTHON_CFLAGS="-I${PYTHON_PREFIX}"
14975
 
 
14976
 
    PYTHON_SITE_PACKAGES=`python -c 'from distutils import sysconfig; print sysconfig.get_python_lib()'`
14977
 
 
14978
 
 
14979
 
$as_echo "#define HAVE_PYTHON 1" >>confdefs.h
14980
 
 
14981
 
fi
14982
 
 if $has_python; then
14983
 
  HAVE_PYTHON_TRUE=
14984
 
  HAVE_PYTHON_FALSE='#'
14985
 
else
14986
 
  HAVE_PYTHON_TRUE='#'
14987
 
  HAVE_PYTHON_FALSE=
14988
 
fi
14989
 
 
14990
 
########################################
14991
 
 
14992
 
########################################
14993
 
# RUBY
14994
 
########################################
14995
 
RUBY_PREFIX=`ruby -e 'require "rbconfig"; print Config::CONFIG["archdir"], "\n"'`
14996
 
 
14997
 
 
14998
 
has_ruby=false
14999
 
 
15000
 
# Check whether --with-ruby was given.
15001
 
if test "${with_ruby+set}" = set; then :
15002
 
  withval=$with_ruby; if test $withval == "no"
15003
 
     then
15004
 
       has_ruby=false
15005
 
     else
15006
 
       has_ruby=true
15007
 
     fi
15008
 
else
15009
 
  has_ruby=false
15010
 
 
15011
 
fi
15012
 
 
15013
 
 
15014
 
if test $has_ruby = true
15015
 
then
15016
 
    RUBY_CFLAGS="-I${RUBY_PREFIX}"
15017
 
 
15018
 
    RUBY_SITE_PACKAGES=`ruby -e 'require "rbconfig"; print Config::CONFIG["sitedir"], "\n"'`
15019
 
 
15020
 
 
15021
 
$as_echo "#define HAVE_RUBY 1" >>confdefs.h
15022
 
 
15023
 
fi
15024
 
 if $has_ruby; then
15025
 
  HAVE_RUBY_TRUE=
15026
 
  HAVE_RUBY_FALSE='#'
15027
 
else
15028
 
  HAVE_RUBY_TRUE='#'
15029
 
  HAVE_RUBY_FALSE=
15030
 
fi
15031
 
 
15032
 
########################################
15033
 
 
15034
 
########################################
15035
 
# JAVA
15036
 
########################################
15037
 
has_java=false
15038
 
 
15039
 
# Check whether --with-java was given.
15040
 
if test "${with_java+set}" = set; then :
15041
 
  withval=$with_java; if test $withval == "no"
15042
 
     then
15043
 
       has_java=false
15044
 
     else
15045
 
       has_java=true
15046
 
     fi
15047
 
else
15048
 
  has_java=false
15049
 
 
15050
 
fi
15051
 
 
15052
 
 
15053
 
if test $has_java = true
15054
 
then
15055
 
  jarlib=$libdir
15056
 
 
15057
 
 
15058
 
 
15059
 
 
15060
 
$as_echo "#define HAVE_JAVA 1" >>confdefs.h
15061
 
 
15062
 
fi
15063
 
 if $has_java; then
15064
 
  HAVE_JAVA_TRUE=
15065
 
  HAVE_JAVA_FALSE='#'
15066
 
else
15067
 
  HAVE_JAVA_TRUE='#'
15068
 
  HAVE_JAVA_FALSE=
15069
 
fi
15070
 
 
15071
 
########################################
15072
 
 
15073
 
########################################
15074
 
# STLport
15075
 
########################################
15076
 
has_stlport=false
15077
 
 
15078
 
# Check whether --with-stlport was given.
15079
 
if test "${with_stlport+set}" = set; then :
15080
 
  withval=$with_stlport; if test $withval == "no"
15081
 
     then
15082
 
       has_stlport=false
15083
 
     else
15084
 
       has_stlport=true
15085
 
     fi
15086
 
else
15087
 
  has_stlport=false
15088
 
 
15089
 
fi
15090
 
 
15091
 
STLPORT_PREFIX=$with_stlport
15092
 
 
15093
 
 
15094
 
if test $has_stlport = true
15095
 
then
15096
 
    as_ac_File=`$as_echo "ac_cv_file_$STLPORT_PREFIX/include/stlport/stdio.h" | $as_tr_sh`
15097
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $STLPORT_PREFIX/include/stlport/stdio.h" >&5
15098
 
$as_echo_n "checking for $STLPORT_PREFIX/include/stlport/stdio.h... " >&6; }
15099
 
if { as_var=$as_ac_File; eval "test \"\${$as_var+set}\" = set"; }; then :
15100
 
  $as_echo_n "(cached) " >&6
15101
 
else
15102
 
  test "$cross_compiling" = yes &&
15103
 
  as_fn_error "cannot check for file existence when cross compiling" "$LINENO" 5
15104
 
if test -r "$STLPORT_PREFIX/include/stlport/stdio.h"; then
15105
 
  eval "$as_ac_File=yes"
15106
 
else
15107
 
  eval "$as_ac_File=no"
15108
 
fi
15109
 
fi
15110
 
eval ac_res=\$$as_ac_File
15111
 
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15112
 
$as_echo "$ac_res" >&6; }
15113
 
eval as_val=\$$as_ac_File
15114
 
   if test "x$as_val" = x""yes; then :
15115
 
 
15116
 
          STLPORT_CFLAGS="-I${STLPORT_PREFIX}/include/stlport -pthread"
15117
 
          STLPORT_LIBS="-L${STLPORT_PREFIX}/lib -lstlport -pthread"
15118
 
 
15119
 
else
15120
 
 
15121
 
          STLPORT_CFLAGS="-I${STLPORT_PREFIX}/stlport/include"
15122
 
          STLPORT_LIBS="-L${STLPORT_PREFIX}/lib -lstlport_gcc"
15123
 
 
15124
 
fi
15125
 
 
15126
 
 
15127
 
 
15128
 
 
15129
 
 
15130
 
$as_echo "#define HAVE_STLPORT 1" >>confdefs.h
15131
 
 
15132
 
fi
15133
 
########################################
15134
 
 
15135
 
########################################
15136
 
# LIBXML
15137
 
########################################
15138
 
 
15139
 
 
15140
 
# Check whether --with-xml-prefix was given.
15141
 
if test "${with_xml_prefix+set}" = set; then :
15142
 
  withval=$with_xml_prefix; xml_config_prefix="$withval"
15143
 
else
15144
 
  xml_config_prefix=""
15145
 
fi
15146
 
 
15147
 
 
15148
 
# Check whether --with-xml-exec-prefix was given.
15149
 
if test "${with_xml_exec_prefix+set}" = set; then :
15150
 
  withval=$with_xml_exec_prefix; xml_config_exec_prefix="$withval"
15151
 
else
15152
 
  xml_config_exec_prefix=""
15153
 
fi
15154
 
 
15155
 
# Check whether --enable-xmltest was given.
15156
 
if test "${enable_xmltest+set}" = set; then :
15157
 
  enableval=$enable_xmltest;
15158
 
else
15159
 
  enable_xmltest=yes
15160
 
fi
15161
 
 
15162
 
 
15163
 
  if test x$xml_config_exec_prefix != x ; then
15164
 
     xml_config_args="$xml_config_args"
15165
 
     if test x${XML2_CONFIG+set} != xset ; then
15166
 
        XML2_CONFIG=$xml_config_exec_prefix/bin/xml2-config
15167
 
     fi
15168
 
  fi
15169
 
  if test x$xml_config_prefix != x ; then
15170
 
     xml_config_args="$xml_config_args --prefix=$xml_config_prefix"
15171
 
     if test x${XML2_CONFIG+set} != xset ; then
15172
 
        XML2_CONFIG=$xml_config_prefix/bin/xml2-config
15173
 
     fi
15174
 
  fi
15175
 
 
15176
 
  # Extract the first word of "xml2-config", so it can be a program name with args.
15177
 
set dummy xml2-config; ac_word=$2
15178
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15179
 
$as_echo_n "checking for $ac_word... " >&6; }
15180
 
if test "${ac_cv_path_XML2_CONFIG+set}" = set; then :
15181
 
  $as_echo_n "(cached) " >&6
15182
 
else
15183
 
  case $XML2_CONFIG in
15184
 
  [\\/]* | ?:[\\/]*)
15185
 
  ac_cv_path_XML2_CONFIG="$XML2_CONFIG" # Let the user override the test with a path.
15186
 
  ;;
15187
 
  *)
15188
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15189
 
for as_dir in $PATH
15190
 
do
15191
 
  IFS=$as_save_IFS
15192
 
  test -z "$as_dir" && as_dir=.
15193
 
    for ac_exec_ext in '' $ac_executable_extensions; do
15194
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15195
 
    ac_cv_path_XML2_CONFIG="$as_dir/$ac_word$ac_exec_ext"
15196
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15197
 
    break 2
15198
 
  fi
15199
 
done
15200
 
  done
15201
 
IFS=$as_save_IFS
15202
 
 
15203
 
  test -z "$ac_cv_path_XML2_CONFIG" && ac_cv_path_XML2_CONFIG="no"
15204
 
  ;;
15205
 
esac
15206
 
fi
15207
 
XML2_CONFIG=$ac_cv_path_XML2_CONFIG
15208
 
if test -n "$XML2_CONFIG"; then
15209
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XML2_CONFIG" >&5
15210
 
$as_echo "$XML2_CONFIG" >&6; }
15211
 
else
15212
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15213
 
$as_echo "no" >&6; }
15214
 
fi
15215
 
 
15216
 
 
15217
 
  min_xml_version='2.0.0'
15218
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libxml - version >= $min_xml_version" >&5
15219
 
$as_echo_n "checking for libxml - version >= $min_xml_version... " >&6; }
15220
 
  no_xml=""
15221
 
  if test "$XML2_CONFIG" = "no" ; then
15222
 
    no_xml=yes
15223
 
  else
15224
 
    XML_CPPFLAGS=`$XML2_CONFIG $xml_config_args --cflags`
15225
 
    XML_LIBS=`$XML2_CONFIG $xml_config_args --libs`
15226
 
    xml_config_major_version=`$XML2_CONFIG $xml_config_args --version | \
15227
 
           sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
15228
 
    xml_config_minor_version=`$XML2_CONFIG $xml_config_args --version | \
15229
 
           sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
15230
 
    xml_config_micro_version=`$XML2_CONFIG $xml_config_args --version | \
15231
 
           sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
15232
 
    if test "x$enable_xmltest" = "xyes" ; then
15233
 
      ac_save_CPPFLAGS="$CPPFLAGS"
15234
 
      ac_save_LIBS="$LIBS"
15235
 
      CPPFLAGS="$CPPFLAGS $XML_CPPFLAGS"
15236
 
      LIBS="$XML_LIBS $LIBS"
15237
 
      rm -f conf.xmltest
15238
 
      if test "$cross_compiling" = yes; then :
15239
 
  echo $ac_n "cross compiling; assumed OK... $ac_c"
15240
 
else
15241
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15242
 
/* end confdefs.h.  */
15243
 
 
15244
 
#include <stdlib.h>
15245
 
#include <stdio.h>
15246
 
#include <string.h>
15247
 
#include <libxml/xmlversion.h>
15248
 
 
15249
 
int
15250
 
main()
15251
 
{
15252
 
  int xml_major_version, xml_minor_version, xml_micro_version;
15253
 
  int major, minor, micro;
15254
 
  char *tmp_version;
15255
 
 
15256
 
  system("touch conf.xmltest");
15257
 
 
15258
 
  /* Capture xml2-config output via autoconf/configure variables */
15259
 
  /* HP/UX 9 (%@#!) writes to sscanf strings */
15260
 
  tmp_version = (char *)strdup("$min_xml_version");
15261
 
  if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
15262
 
     printf("%s, bad version string from xml2-config\n", "$min_xml_version");
15263
 
     exit(1);
15264
 
   }
15265
 
   free(tmp_version);
15266
 
 
15267
 
   /* Capture the version information from the header files */
15268
 
   tmp_version = (char *)strdup(LIBXML_DOTTED_VERSION);
15269
 
   if (sscanf(tmp_version, "%d.%d.%d", &xml_major_version, &xml_minor_version, &xml_micro_version) != 3) {
15270
 
     printf("%s, bad version string from libxml includes\n", "LIBXML_DOTTED_VERSION");
15271
 
     exit(1);
15272
 
   }
15273
 
   free(tmp_version);
15274
 
 
15275
 
 /* Compare xml2-config output to the libxml headers */
15276
 
  if ((xml_major_version != $xml_config_major_version) ||
15277
 
      (xml_minor_version != $xml_config_minor_version) ||
15278
 
      (xml_micro_version != $xml_config_micro_version))
15279
 
    {
15280
 
      printf("*** libxml header files (version %d.%d.%d) do not match\n",
15281
 
         xml_major_version, xml_minor_version, xml_micro_version);
15282
 
      printf("*** xml2-config (version %d.%d.%d)\n",
15283
 
         $xml_config_major_version, $xml_config_minor_version, $xml_config_micro_version);
15284
 
      return 1;
15285
 
    }
15286
 
/* Compare the headers to the library to make sure we match */
15287
 
  /* Less than ideal -- doesn't provide us with return value feedback,
15288
 
   * only exits if there's a serious mismatch between header and library.
15289
 
   */
15290
 
    LIBXML_TEST_VERSION;
15291
 
 
15292
 
    /* Test that the library is greater than our minimum version */
15293
 
    if ((xml_major_version > major) ||
15294
 
        ((xml_major_version == major) && (xml_minor_version > minor)) ||
15295
 
        ((xml_major_version == major) && (xml_minor_version == minor) &&
15296
 
        (xml_micro_version >= micro)))
15297
 
      {
15298
 
        return 0;
15299
 
       }
15300
 
     else
15301
 
      {
15302
 
        printf("\n*** An old version of libxml (%d.%d.%d) was found.\n",
15303
 
               xml_major_version, xml_minor_version, xml_micro_version);
15304
 
        printf("*** You need a version of libxml newer than %d.%d.%d. The latest version of\n",
15305
 
           major, minor, micro);
15306
 
        printf("*** libxml is always available from ftp://ftp.xmlsoft.org.\n");
15307
 
        printf("***\n");
15308
 
        printf("*** If you have already installed a sufficiently new version, this error\n");
15309
 
        printf("*** probably means that the wrong copy of the xml2-config shell script is\n");
15310
 
        printf("*** being found. The easiest way to fix this is to remove the old version\n");
15311
 
        printf("*** of LIBXML, but you can also set the XML2_CONFIG environment to point to the\n");
15312
 
        printf("*** correct copy of xml2-config. (In this case, you will have to\n");
15313
 
        printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
15314
 
        printf("*** so that the correct libraries are found at run-time))\n");
15315
 
    }
15316
 
  return 1;
15317
 
}
15318
 
 
15319
 
_ACEOF
15320
 
if ac_fn_c_try_run "$LINENO"; then :
15321
 
 
15322
 
else
15323
 
  no_xml=yes
15324
 
fi
15325
 
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
15326
 
  conftest.$ac_objext conftest.beam conftest.$ac_ext
15327
 
fi
15328
 
 
15329
 
       CPPFLAGS="$ac_save_CPPFLAGS"
15330
 
       LIBS="$ac_save_LIBS"
15331
 
     fi
15332
 
  fi
15333
 
 
15334
 
  if test "x$no_xml" = x ; then
15335
 
     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes (version $xml_config_major_version.$xml_config_minor_version.$xml_config_micro_version)" >&5
15336
 
$as_echo "yes (version $xml_config_major_version.$xml_config_minor_version.$xml_config_micro_version)" >&6; }
15337
 
     :
15338
 
  else
15339
 
     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15340
 
$as_echo "no" >&6; }
15341
 
     if test "$XML2_CONFIG" = "no" ; then
15342
 
       echo "*** The xml2-config script installed by LIBXML could not be found"
15343
 
       echo "*** If libxml was installed in PREFIX, make sure PREFIX/bin is in"
15344
 
       echo "*** your path, or set the XML2_CONFIG environment variable to the"
15345
 
       echo "*** full path to xml2-config."
15346
 
     else
15347
 
       if test -f conf.xmltest ; then
15348
 
        :
15349
 
       else
15350
 
          echo "*** Could not run libxml test program, checking why..."
15351
 
          CPPFLAGS="$CPPFLAGS $XML_CPPFLAGS"
15352
 
          LIBS="$LIBS $XML_LIBS"
15353
 
          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15354
 
/* end confdefs.h.  */
15355
 
 
15356
 
#include <libxml/xmlversion.h>
15357
 
#include <stdio.h>
15358
 
 
15359
 
int
15360
 
main ()
15361
 
{
15362
 
 LIBXML_TEST_VERSION; return 0;
15363
 
  ;
15364
 
  return 0;
15365
 
}
15366
 
_ACEOF
15367
 
if ac_fn_c_try_link "$LINENO"; then :
15368
 
   echo "*** The test program compiled, but did not run. This usually means"
15369
 
          echo "*** that the run-time linker is not finding LIBXML or finding the wrong"
15370
 
          echo "*** version of LIBXML. If it is not finding LIBXML, you'll need to set your"
15371
 
          echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
15372
 
          echo "*** to the installed location  Also, make sure you have run ldconfig if that"
15373
 
          echo "*** is required on your system"
15374
 
          echo "***"
15375
 
          echo "*** If you have an old version installed, it is best to remove it, although"
15376
 
          echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
15377
 
else
15378
 
   echo "*** The test program failed to compile or link. See the file config.log for the"
15379
 
          echo "*** exact error that occured. This usually means LIBXML was incorrectly installed"
15380
 
          echo "*** or that you have moved LIBXML since it was installed. In the latter case, you"
15381
 
          echo "*** may want to edit the xml2-config script: $XML2_CONFIG"
15382
 
fi
15383
 
rm -f core conftest.err conftest.$ac_objext \
15384
 
    conftest$ac_exeext conftest.$ac_ext
15385
 
          CPPFLAGS="$ac_save_CPPFLAGS"
15386
 
          LIBS="$ac_save_LIBS"
15387
 
       fi
15388
 
     fi
15389
 
 
15390
 
     XML_CPPFLAGS=""
15391
 
     XML_LIBS=""
15392
 
     as_fn_error "libxml2 must be installed." "$LINENO" 5
15393
 
  fi
15394
 
 
15395
 
 
15396
 
  rm -f conf.xmltest
15397
 
 
15398
 
########################################
15399
 
 
15400
 
# libs
15401
 
LIBS="$STLPORT_LIBS $XML_LIBS $MYSQL_LIBS $POSTGRESQL_LIBS $LIBS"
15402
 
# gcc flags
15403
 
SHAREDFLAGS="-Wall -ansi -Wpointer-arith -Wwrite-strings $BOOST_CFLAGS $STLPORT_CFLAGS $MYSQL_CFLAGS $POSTGRESQL_CFLAGS $XML_CPPFLAGS $XML_CFLAGS $PYTHON_CFLAGS $RUBY_CFLAGS"
15404
 
CFLAGS="$CFLAGS $SHAREDFLAGS"
15405
 
 
15406
 
CXXFLAGS="$CXXFLAGS $SHAREDFLAGS"
15407
 
 
15408
 
 
15409
 
# Checks for libraries.
15410
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for shutdown in -lc" >&5
15411
 
$as_echo_n "checking for shutdown in -lc... " >&6; }
15412
 
if test "${ac_cv_lib_c_shutdown+set}" = set; then :
15413
 
  $as_echo_n "(cached) " >&6
15414
 
else
15415
 
  ac_check_lib_save_LIBS=$LIBS
15416
 
LIBS="-lc  $LIBS"
15417
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15418
 
/* end confdefs.h.  */
15419
 
 
15420
 
/* Override any GCC internal prototype to avoid an error.
15421
 
   Use char because int might match the return type of a GCC
15422
 
   builtin and then its argument prototype would still apply.  */
15423
 
#ifdef __cplusplus
15424
 
extern "C"
15425
 
#endif
15426
 
char shutdown ();
15427
 
int
15428
 
main ()
15429
 
{
15430
 
return shutdown ();
15431
 
  ;
15432
 
  return 0;
15433
 
}
15434
 
_ACEOF
15435
 
if ac_fn_c_try_link "$LINENO"; then :
15436
 
  ac_cv_lib_c_shutdown=yes
15437
 
else
15438
 
  ac_cv_lib_c_shutdown=no
15439
 
fi
15440
 
rm -f core conftest.err conftest.$ac_objext \
15441
 
    conftest$ac_exeext conftest.$ac_ext
15442
 
LIBS=$ac_check_lib_save_LIBS
15443
 
fi
15444
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_shutdown" >&5
15445
 
$as_echo "$ac_cv_lib_c_shutdown" >&6; }
15446
 
if test "x$ac_cv_lib_c_shutdown" = x""yes; then :
15447
 
  true
15448
 
else
15449
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shutdown in -lsocket" >&5
15450
 
$as_echo_n "checking for shutdown in -lsocket... " >&6; }
15451
 
if test "${ac_cv_lib_socket_shutdown+set}" = set; then :
15452
 
  $as_echo_n "(cached) " >&6
15453
 
else
15454
 
  ac_check_lib_save_LIBS=$LIBS
15455
 
LIBS="-lsocket  $LIBS"
15456
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15457
 
/* end confdefs.h.  */
15458
 
 
15459
 
/* Override any GCC internal prototype to avoid an error.
15460
 
   Use char because int might match the return type of a GCC
15461
 
   builtin and then its argument prototype would still apply.  */
15462
 
#ifdef __cplusplus
15463
 
extern "C"
15464
 
#endif
15465
 
char shutdown ();
15466
 
int
15467
 
main ()
15468
 
{
15469
 
return shutdown ();
15470
 
  ;
15471
 
  return 0;
15472
 
}
15473
 
_ACEOF
15474
 
if ac_fn_c_try_link "$LINENO"; then :
15475
 
  ac_cv_lib_socket_shutdown=yes
15476
 
else
15477
 
  ac_cv_lib_socket_shutdown=no
15478
 
fi
15479
 
rm -f core conftest.err conftest.$ac_objext \
15480
 
    conftest$ac_exeext conftest.$ac_ext
15481
 
LIBS=$ac_check_lib_save_LIBS
15482
 
fi
15483
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_shutdown" >&5
15484
 
$as_echo "$ac_cv_lib_socket_shutdown" >&6; }
15485
 
if test "x$ac_cv_lib_socket_shutdown" = x""yes; then :
15486
 
  cat >>confdefs.h <<_ACEOF
15487
 
#define HAVE_LIBSOCKET 1
15488
 
_ACEOF
15489
 
 
15490
 
  LIBS="-lsocket $LIBS"
15491
 
 
15492
 
fi
15493
 
 
15494
 
fi
15495
 
 
15496
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for inet_addr in -lc" >&5
15497
 
$as_echo_n "checking for inet_addr in -lc... " >&6; }
15498
 
if test "${ac_cv_lib_c_inet_addr+set}" = set; then :
15499
 
  $as_echo_n "(cached) " >&6
15500
 
else
15501
 
  ac_check_lib_save_LIBS=$LIBS
15502
 
LIBS="-lc  $LIBS"
15503
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15504
 
/* end confdefs.h.  */
15505
 
 
15506
 
/* Override any GCC internal prototype to avoid an error.
15507
 
   Use char because int might match the return type of a GCC
15508
 
   builtin and then its argument prototype would still apply.  */
15509
 
#ifdef __cplusplus
15510
 
extern "C"
15511
 
#endif
15512
 
char inet_addr ();
15513
 
int
15514
 
main ()
15515
 
{
15516
 
return inet_addr ();
15517
 
  ;
15518
 
  return 0;
15519
 
}
15520
 
_ACEOF
15521
 
if ac_fn_c_try_link "$LINENO"; then :
15522
 
  ac_cv_lib_c_inet_addr=yes
15523
 
else
15524
 
  ac_cv_lib_c_inet_addr=no
15525
 
fi
15526
 
rm -f core conftest.err conftest.$ac_objext \
15527
 
    conftest$ac_exeext conftest.$ac_ext
15528
 
LIBS=$ac_check_lib_save_LIBS
15529
 
fi
15530
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_inet_addr" >&5
15531
 
$as_echo "$ac_cv_lib_c_inet_addr" >&6; }
15532
 
if test "x$ac_cv_lib_c_inet_addr" = x""yes; then :
15533
 
  true
15534
 
else
15535
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inet_addr in -lnsl" >&5
15536
 
$as_echo_n "checking for inet_addr in -lnsl... " >&6; }
15537
 
if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then :
15538
 
  $as_echo_n "(cached) " >&6
15539
 
else
15540
 
  ac_check_lib_save_LIBS=$LIBS
15541
 
LIBS="-lnsl  $LIBS"
15542
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15543
 
/* end confdefs.h.  */
15544
 
 
15545
 
/* Override any GCC internal prototype to avoid an error.
15546
 
   Use char because int might match the return type of a GCC
15547
 
   builtin and then its argument prototype would still apply.  */
15548
 
#ifdef __cplusplus
15549
 
extern "C"
15550
 
#endif
15551
 
char inet_addr ();
15552
 
int
15553
 
main ()
15554
 
{
15555
 
return inet_addr ();
15556
 
  ;
15557
 
  return 0;
15558
 
}
15559
 
_ACEOF
15560
 
if ac_fn_c_try_link "$LINENO"; then :
15561
 
  ac_cv_lib_nsl_inet_addr=yes
15562
 
else
15563
 
  ac_cv_lib_nsl_inet_addr=no
15564
 
fi
15565
 
rm -f core conftest.err conftest.$ac_objext \
15566
 
    conftest$ac_exeext conftest.$ac_ext
15567
 
LIBS=$ac_check_lib_save_LIBS
15568
 
fi
15569
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_inet_addr" >&5
15570
 
$as_echo "$ac_cv_lib_nsl_inet_addr" >&6; }
15571
 
if test "x$ac_cv_lib_nsl_inet_addr" = x""yes; then :
15572
 
  cat >>confdefs.h <<_ACEOF
15573
 
#define HAVE_LIBNSL 1
15574
 
_ACEOF
15575
 
 
15576
 
  LIBS="-lnsl $LIBS"
15577
 
 
15578
 
fi
15579
 
 
15580
 
fi
15581
 
 
15582
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for nanosleep in -lc" >&5
15583
 
$as_echo_n "checking for nanosleep in -lc... " >&6; }
15584
 
if test "${ac_cv_lib_c_nanosleep+set}" = set; then :
15585
 
  $as_echo_n "(cached) " >&6
15586
 
else
15587
 
  ac_check_lib_save_LIBS=$LIBS
15588
 
LIBS="-lc  $LIBS"
15589
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15590
 
/* end confdefs.h.  */
15591
 
 
15592
 
/* Override any GCC internal prototype to avoid an error.
15593
 
   Use char because int might match the return type of a GCC
15594
 
   builtin and then its argument prototype would still apply.  */
15595
 
#ifdef __cplusplus
15596
 
extern "C"
15597
 
#endif
15598
 
char nanosleep ();
15599
 
int
15600
 
main ()
15601
 
{
15602
 
return nanosleep ();
15603
 
  ;
15604
 
  return 0;
15605
 
}
15606
 
_ACEOF
15607
 
if ac_fn_c_try_link "$LINENO"; then :
15608
 
  ac_cv_lib_c_nanosleep=yes
15609
 
else
15610
 
  ac_cv_lib_c_nanosleep=no
15611
 
fi
15612
 
rm -f core conftest.err conftest.$ac_objext \
15613
 
    conftest$ac_exeext conftest.$ac_ext
15614
 
LIBS=$ac_check_lib_save_LIBS
15615
 
fi
15616
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_nanosleep" >&5
15617
 
$as_echo "$ac_cv_lib_c_nanosleep" >&6; }
15618
 
if test "x$ac_cv_lib_c_nanosleep" = x""yes; then :
15619
 
  true
15620
 
else
15621
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nanosleep in -lrt" >&5
15622
 
$as_echo_n "checking for nanosleep in -lrt... " >&6; }
15623
 
if test "${ac_cv_lib_rt_nanosleep+set}" = set; then :
15624
 
  $as_echo_n "(cached) " >&6
15625
 
else
15626
 
  ac_check_lib_save_LIBS=$LIBS
15627
 
LIBS="-lrt  $LIBS"
15628
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15629
 
/* end confdefs.h.  */
15630
 
 
15631
 
/* Override any GCC internal prototype to avoid an error.
15632
 
   Use char because int might match the return type of a GCC
15633
 
   builtin and then its argument prototype would still apply.  */
15634
 
#ifdef __cplusplus
15635
 
extern "C"
15636
 
#endif
15637
 
char nanosleep ();
15638
 
int
15639
 
main ()
15640
 
{
15641
 
return nanosleep ();
15642
 
  ;
15643
 
  return 0;
15644
 
}
15645
 
_ACEOF
15646
 
if ac_fn_c_try_link "$LINENO"; then :
15647
 
  ac_cv_lib_rt_nanosleep=yes
15648
 
else
15649
 
  ac_cv_lib_rt_nanosleep=no
15650
 
fi
15651
 
rm -f core conftest.err conftest.$ac_objext \
15652
 
    conftest$ac_exeext conftest.$ac_ext
15653
 
LIBS=$ac_check_lib_save_LIBS
15654
 
fi
15655
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_nanosleep" >&5
15656
 
$as_echo "$ac_cv_lib_rt_nanosleep" >&6; }
15657
 
if test "x$ac_cv_lib_rt_nanosleep" = x""yes; then :
15658
 
  cat >>confdefs.h <<_ACEOF
15659
 
#define HAVE_LIBRT 1
15660
 
_ACEOF
15661
 
 
15662
 
  LIBS="-lrt $LIBS"
15663
 
 
15664
 
fi
15665
 
 
15666
 
fi
15667
 
 
15668
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ftime in -lcompat" >&5
15669
 
$as_echo_n "checking for ftime in -lcompat... " >&6; }
15670
 
if test "${ac_cv_lib_compat_ftime+set}" = set; then :
15671
 
  $as_echo_n "(cached) " >&6
15672
 
else
15673
 
  ac_check_lib_save_LIBS=$LIBS
15674
 
LIBS="-lcompat  $LIBS"
15675
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15676
 
/* end confdefs.h.  */
15677
 
 
15678
 
/* Override any GCC internal prototype to avoid an error.
15679
 
   Use char because int might match the return type of a GCC
15680
 
   builtin and then its argument prototype would still apply.  */
15681
 
#ifdef __cplusplus
15682
 
extern "C"
15683
 
#endif
15684
 
char ftime ();
15685
 
int
15686
 
main ()
15687
 
{
15688
 
return ftime ();
15689
 
  ;
15690
 
  return 0;
15691
 
}
15692
 
_ACEOF
15693
 
if ac_fn_c_try_link "$LINENO"; then :
15694
 
  ac_cv_lib_compat_ftime=yes
15695
 
else
15696
 
  ac_cv_lib_compat_ftime=no
15697
 
fi
15698
 
rm -f core conftest.err conftest.$ac_objext \
15699
 
    conftest$ac_exeext conftest.$ac_ext
15700
 
LIBS=$ac_check_lib_save_LIBS
15701
 
fi
15702
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_compat_ftime" >&5
15703
 
$as_echo "$ac_cv_lib_compat_ftime" >&6; }
15704
 
if test "x$ac_cv_lib_compat_ftime" = x""yes; then :
15705
 
  cat >>confdefs.h <<_ACEOF
15706
 
#define HAVE_LIBCOMPAT 1
15707
 
_ACEOF
15708
 
 
15709
 
  LIBS="-lcompat $LIBS"
15710
 
 
15711
 
fi
15712
 
 
15713
 
 
15714
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking which threading environment to use" >&5
15715
 
$as_echo_n "checking which threading environment to use... " >&6; }
15716
 
# each host OS needs special threading flags
15717
 
case $build_os in
15718
 
        freebsd*|netbsd*)
15719
 
                LIBS="-pthread $LIBS"
15720
 
                { $as_echo "$as_me:${as_lineno-$LINENO}: result: -pthread" >&5
15721
 
$as_echo "-pthread" >&6; }
15722
 
                ;;
15723
 
        linux-*)
15724
 
                { $as_echo "$as_me:${as_lineno-$LINENO}: result: -lpthread" >&5
15725
 
$as_echo "-lpthread" >&6; }
15726
 
                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
15727
 
$as_echo_n "checking for pthread_create in -lpthread... " >&6; }
15728
 
if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then :
15729
 
  $as_echo_n "(cached) " >&6
15730
 
else
15731
 
  ac_check_lib_save_LIBS=$LIBS
15732
 
LIBS="-lpthread  $LIBS"
15733
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15734
 
/* end confdefs.h.  */
15735
 
 
15736
 
/* Override any GCC internal prototype to avoid an error.
15737
 
   Use char because int might match the return type of a GCC
15738
 
   builtin and then its argument prototype would still apply.  */
15739
 
#ifdef __cplusplus
15740
 
extern "C"
15741
 
#endif
15742
 
char pthread_create ();
15743
 
int
15744
 
main ()
15745
 
{
15746
 
return pthread_create ();
15747
 
  ;
15748
 
  return 0;
15749
 
}
15750
 
_ACEOF
15751
 
if ac_fn_c_try_link "$LINENO"; then :
15752
 
  ac_cv_lib_pthread_pthread_create=yes
15753
 
else
15754
 
  ac_cv_lib_pthread_pthread_create=no
15755
 
fi
15756
 
rm -f core conftest.err conftest.$ac_objext \
15757
 
    conftest$ac_exeext conftest.$ac_ext
15758
 
LIBS=$ac_check_lib_save_LIBS
15759
 
fi
15760
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
15761
 
$as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
15762
 
if test "x$ac_cv_lib_pthread_pthread_create" = x""yes; then :
15763
 
  cat >>confdefs.h <<_ACEOF
15764
 
#define HAVE_LIBPTHREAD 1
15765
 
_ACEOF
15766
 
 
15767
 
  LIBS="-lpthread $LIBS"
15768
 
 
15769
 
fi
15770
 
 
15771
 
                ;;
15772
 
        solaris*)
15773
 
                { $as_echo "$as_me:${as_lineno-$LINENO}: result: -lpthread" >&5
15774
 
$as_echo "-lpthread" >&6; }
15775
 
                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
15776
 
$as_echo_n "checking for pthread_create in -lpthread... " >&6; }
15777
 
if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then :
15778
 
  $as_echo_n "(cached) " >&6
15779
 
else
15780
 
  ac_check_lib_save_LIBS=$LIBS
15781
 
LIBS="-lpthread  $LIBS"
15782
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15783
 
/* end confdefs.h.  */
15784
 
 
15785
 
/* Override any GCC internal prototype to avoid an error.
15786
 
   Use char because int might match the return type of a GCC
15787
 
   builtin and then its argument prototype would still apply.  */
15788
 
#ifdef __cplusplus
15789
 
extern "C"
15790
 
#endif
15791
 
char pthread_create ();
15792
 
int
15793
 
main ()
15794
 
{
15795
 
return pthread_create ();
15796
 
  ;
15797
 
  return 0;
15798
 
}
15799
 
_ACEOF
15800
 
if ac_fn_c_try_link "$LINENO"; then :
15801
 
  ac_cv_lib_pthread_pthread_create=yes
15802
 
else
15803
 
  ac_cv_lib_pthread_pthread_create=no
15804
 
fi
15805
 
rm -f core conftest.err conftest.$ac_objext \
15806
 
    conftest$ac_exeext conftest.$ac_ext
15807
 
LIBS=$ac_check_lib_save_LIBS
15808
 
fi
15809
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
15810
 
$as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
15811
 
if test "x$ac_cv_lib_pthread_pthread_create" = x""yes; then :
15812
 
  cat >>confdefs.h <<_ACEOF
15813
 
#define HAVE_LIBPTHREAD 1
15814
 
_ACEOF
15815
 
 
15816
 
  LIBS="-lpthread $LIBS"
15817
 
 
15818
 
fi
15819
 
 
15820
 
                ;;
15821
 
        *)
15822
 
                # maybe we have a usable libc for other OSes
15823
 
                { $as_echo "$as_me:${as_lineno-$LINENO}: result: -lc_r" >&5
15824
 
$as_echo "-lc_r" >&6; }
15825
 
                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lc_r" >&5
15826
 
$as_echo_n "checking for pthread_create in -lc_r... " >&6; }
15827
 
if test "${ac_cv_lib_c_r_pthread_create+set}" = set; then :
15828
 
  $as_echo_n "(cached) " >&6
15829
 
else
15830
 
  ac_check_lib_save_LIBS=$LIBS
15831
 
LIBS="-lc_r  $LIBS"
15832
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15833
 
/* end confdefs.h.  */
15834
 
 
15835
 
/* Override any GCC internal prototype to avoid an error.
15836
 
   Use char because int might match the return type of a GCC
15837
 
   builtin and then its argument prototype would still apply.  */
15838
 
#ifdef __cplusplus
15839
 
extern "C"
15840
 
#endif
15841
 
char pthread_create ();
15842
 
int
15843
 
main ()
15844
 
{
15845
 
return pthread_create ();
15846
 
  ;
15847
 
  return 0;
15848
 
}
15849
 
_ACEOF
15850
 
if ac_fn_c_try_link "$LINENO"; then :
15851
 
  ac_cv_lib_c_r_pthread_create=yes
15852
 
else
15853
 
  ac_cv_lib_c_r_pthread_create=no
15854
 
fi
15855
 
rm -f core conftest.err conftest.$ac_objext \
15856
 
    conftest$ac_exeext conftest.$ac_ext
15857
 
LIBS=$ac_check_lib_save_LIBS
15858
 
fi
15859
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_r_pthread_create" >&5
15860
 
$as_echo "$ac_cv_lib_c_r_pthread_create" >&6; }
15861
 
if test "x$ac_cv_lib_c_r_pthread_create" = x""yes; then :
15862
 
  cat >>confdefs.h <<_ACEOF
15863
 
#define HAVE_LIBC_R 1
15864
 
_ACEOF
15865
 
 
15866
 
  LIBS="-lc_r $LIBS"
15867
 
 
15868
 
fi
15869
 
 
15870
 
                ;;
15871
 
esac
15872
 
 
15873
 
# Checks for header files.
15874
 
for ac_header in stdio.h
15875
 
do :
15876
 
  ac_fn_c_check_header_mongrel "$LINENO" "stdio.h" "ac_cv_header_stdio_h" "$ac_includes_default"
15877
 
if test "x$ac_cv_header_stdio_h" = x""yes; then :
15878
 
  cat >>confdefs.h <<_ACEOF
15879
 
#define HAVE_STDIO_H 1
15880
 
_ACEOF
15881
 
 
15882
 
fi
15883
 
 
15884
 
done
15885
 
 
15886
 
 
15887
 
# Checks for typedefs, structures, and compiler characteristics.
15888
 
# AC_CHECK_BROKENSOEXCEPT
15889
 
 
15890
 
 
15891
 
ac_ext=cpp
15892
 
ac_cpp='$CXXCPP $CPPFLAGS'
15893
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15894
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15895
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15896
 
 
15897
 
 
15898
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for STREAMS ioctl" >&5
15899
 
$as_echo_n "checking for STREAMS ioctl... " >&6; }
15900
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15901
 
/* end confdefs.h.  */
15902
 
#include <sys/types.h>
15903
 
         #include <stropts.h>
15904
 
         #include <sys/conf.h>
15905
 
int
15906
 
main ()
15907
 
{
15908
 
ioctl(1,I_NREAD);
15909
 
  ;
15910
 
  return 0;
15911
 
}
15912
 
_ACEOF
15913
 
if ac_fn_cxx_try_compile "$LINENO"; then :
15914
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15915
 
$as_echo "yes" >&6; }
15916
 
 
15917
 
$as_echo "#define USING_STREAMS 1" >>confdefs.h
15918
 
 
15919
 
else
15920
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15921
 
$as_echo "no" >&6; }
15922
 
fi
15923
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15924
 
 
15925
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for socklen_t" >&5
15926
 
$as_echo_n "checking for socklen_t... " >&6; }
15927
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15928
 
/* end confdefs.h.  */
15929
 
#include <unistd.h>
15930
 
         #include <sys/types.h>
15931
 
         #include <sys/socket.h>
15932
 
int
15933
 
main ()
15934
 
{
15935
 
socklen_t t = 1;
15936
 
  ;
15937
 
  return 0;
15938
 
}
15939
 
_ACEOF
15940
 
if ac_fn_cxx_try_compile "$LINENO"; then :
15941
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15942
 
$as_echo "yes" >&6; }
15943
 
else
15944
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15945
 
$as_echo "no" >&6; }
15946
 
 
15947
 
$as_echo "#define socklen_t int" >>confdefs.h
15948
 
 
15949
 
fi
15950
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15951
 
 
15952
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ftime" >&5
15953
 
$as_echo_n "checking for ftime... " >&6; }
15954
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15955
 
/* end confdefs.h.  */
15956
 
#include <sys/timeb.h>
15957
 
int
15958
 
main ()
15959
 
{
15960
 
timeb tb;
15961
 
         ftime(&tb)
15962
 
  ;
15963
 
  return 0;
15964
 
}
15965
 
_ACEOF
15966
 
if ac_fn_cxx_try_compile "$LINENO"; then :
15967
 
  has_ftime=true
15968
 
else
15969
 
  has_ftime=false
15970
 
fi
15971
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15972
 
 
15973
 
if test $has_ftime = true
15974
 
then { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15975
 
$as_echo "yes" >&6; }
15976
 
 
15977
 
$as_echo "#define HAVE_FTIME 1" >>confdefs.h
15978
 
 
15979
 
else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15980
 
$as_echo "no" >&6; }
15981
 
fi
15982
 
 if $has_ftime; then
15983
 
  HAVE_FTIME_TRUE=
15984
 
  HAVE_FTIME_FALSE='#'
15985
 
else
15986
 
  HAVE_FTIME_TRUE='#'
15987
 
  HAVE_FTIME_FALSE=
15988
 
fi
15989
 
 
15990
 
 
15991
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for set_terminate in the global namespace" >&5
15992
 
$as_echo_n "checking for set_terminate in the global namespace... " >&6; }
15993
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15994
 
/* end confdefs.h.  */
15995
 
#include <exception>
15996
 
         void term() {}
15997
 
int
15998
 
main ()
15999
 
{
16000
 
set_terminate(term);
16001
 
  ;
16002
 
  return 0;
16003
 
}
16004
 
_ACEOF
16005
 
if ac_fn_cxx_try_compile "$LINENO"; then :
16006
 
  set_terminate_is_global=true
16007
 
else
16008
 
  set_terminate_is_global=false
16009
 
fi
16010
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16011
 
 
16012
 
if test $set_terminate_is_global = true
16013
 
then { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16014
 
$as_echo "yes" >&6; }
16015
 
else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16016
 
$as_echo "no" >&6; }
16017
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for set_terminate in the std namespace" >&5
16018
 
$as_echo_n "checking for set_terminate in the std namespace... " >&6; }
16019
 
    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16020
 
/* end confdefs.h.  */
16021
 
#include <exception>
16022
 
     void term() {}
16023
 
int
16024
 
main ()
16025
 
{
16026
 
std::set_terminate(term);
16027
 
  ;
16028
 
  return 0;
16029
 
}
16030
 
_ACEOF
16031
 
if ac_fn_cxx_try_compile "$LINENO"; then :
16032
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16033
 
$as_echo "yes" >&6; }
16034
 
 
16035
 
$as_echo "#define TERMINATE_IN_STD 1" >>confdefs.h
16036
 
 
16037
 
else
16038
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16039
 
$as_echo "no" >&6; }
16040
 
    as_fn_error "unable to find set_terminate in std or global namespace" "$LINENO" 5
16041
 
fi
16042
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16043
 
fi
16044
 
 
16045
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for typeinfo in the global namespace" >&5
16046
 
$as_echo_n "checking for typeinfo in the global namespace... " >&6; }
16047
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16048
 
/* end confdefs.h.  */
16049
 
#include <typeinfo>
16050
 
int
16051
 
main ()
16052
 
{
16053
 
const typeinfo& ty = typeid(typeinfo);
16054
 
  ;
16055
 
  return 0;
16056
 
}
16057
 
_ACEOF
16058
 
if ac_fn_cxx_try_compile "$LINENO"; then :
16059
 
  typeinfo_is_global=true
16060
 
else
16061
 
  typeinfo_is_global=false
16062
 
fi
16063
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16064
 
 
16065
 
if test $typeinfo_is_global = true
16066
 
then { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16067
 
$as_echo "yes" >&6; }
16068
 
else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16069
 
$as_echo "no" >&6; }
16070
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for typeinfo in the std namespace" >&5
16071
 
$as_echo_n "checking for typeinfo in the std namespace... " >&6; }
16072
 
    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16073
 
/* end confdefs.h.  */
16074
 
#include <typeinfo>
16075
 
int
16076
 
main ()
16077
 
{
16078
 
const std::type_info& ty = typeid(std::type_info);
16079
 
  ;
16080
 
  return 0;
16081
 
}
16082
 
_ACEOF
16083
 
if ac_fn_cxx_try_compile "$LINENO"; then :
16084
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16085
 
$as_echo "yes" >&6; }
16086
 
 
16087
 
$as_echo "#define TYPEINFO_IN_STD 1" >>confdefs.h
16088
 
 
16089
 
else
16090
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16091
 
$as_echo "no" >&6; }
16092
 
    as_fn_error "type_info is required by the test library" "$LINENO" 5
16093
 
fi
16094
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16095
 
fi
16096
 
 
16097
 
# check for gethostbyname_r
16098
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname_r with input result" >&5
16099
 
$as_echo_n "checking for gethostbyname_r with input result... " >&6; }
16100
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16101
 
/* end confdefs.h.  */
16102
 
#include <netdb.h>
16103
 
int
16104
 
main ()
16105
 
{
16106
 
const char* name = "localhost";
16107
 
         hostent host;
16108
 
         char buf[1024];
16109
 
         hostent* host_ptr;
16110
 
         int error;
16111
 
         gethostbyname_r( name, &host, buf, sizeof(buf), &host_ptr, &error );
16112
 
         return 0;
16113
 
  ;
16114
 
  return 0;
16115
 
}
16116
 
_ACEOF
16117
 
if ac_fn_cxx_try_compile "$LINENO"; then :
16118
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16119
 
$as_echo "yes" >&6; }
16120
 
 
16121
 
$as_echo "#define GETHOSTBYNAME_R_INPUTS_RESULT 1" >>confdefs.h
16122
 
 
16123
 
else
16124
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16125
 
$as_echo "no" >&6; }
16126
 
fi
16127
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16128
 
 
16129
 
# check for boost::pool_allocator
16130
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for boost::pool_allocator" >&5
16131
 
$as_echo_n "checking for boost::pool_allocator... " >&6; }
16132
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16133
 
/* end confdefs.h.  */
16134
 
#include <boost/pool/pool_alloc.hpp>
16135
 
         #include<vector>
16136
 
int
16137
 
main ()
16138
 
{
16139
 
std::vector<int, boost::pool_allocator<int> > x;
16140
 
  ;
16141
 
  return 0;
16142
 
}
16143
 
_ACEOF
16144
 
if ac_fn_cxx_try_compile "$LINENO"; then :
16145
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16146
 
$as_echo "yes" >&6; }
16147
 
 
16148
 
$as_echo "#define HAVE_BOOST_POOL_ALLOCATOR 1" >>confdefs.h
16149
 
 
16150
 
else
16151
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16152
 
$as_echo "no" >&6; }
16153
 
fi
16154
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16155
 
 
16156
 
# check for boost::fast_pool_allocator
16157
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for boost::fast_pool_allocator" >&5
16158
 
$as_echo_n "checking for boost::fast_pool_allocator... " >&6; }
16159
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16160
 
/* end confdefs.h.  */
16161
 
#include <boost/pool/pool_alloc.hpp>
16162
 
         #include<vector>
16163
 
int
16164
 
main ()
16165
 
{
16166
 
std::vector<int, boost::fast_pool_allocator<int> > x;
16167
 
  ;
16168
 
  return 0;
16169
 
}
16170
 
_ACEOF
16171
 
if ac_fn_cxx_try_compile "$LINENO"; then :
16172
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16173
 
$as_echo "yes" >&6; }
16174
 
 
16175
 
$as_echo "#define HAVE_BOOST_FAST_POOL_ALLOCATOR 1" >>confdefs.h
16176
 
 
16177
 
else
16178
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16179
 
$as_echo "no" >&6; }
16180
 
fi
16181
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16182
 
 
16183
 
# check for __gnu_cxx::__pool_alloc
16184
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking __gnu_cxx::__pool_alloc" >&5
16185
 
$as_echo_n "checking __gnu_cxx::__pool_alloc... " >&6; }
16186
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16187
 
/* end confdefs.h.  */
16188
 
#include <ext/pool_allocator.h>
16189
 
         #include<vector>
16190
 
int
16191
 
main ()
16192
 
{
16193
 
std::vector<int, __gnu_cxx::__pool_alloc<int> > x;
16194
 
  ;
16195
 
  return 0;
16196
 
}
16197
 
_ACEOF
16198
 
if ac_fn_cxx_try_compile "$LINENO"; then :
16199
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16200
 
$as_echo "yes" >&6; }
16201
 
 
16202
 
$as_echo "#define HAVE_POOL_ALLOCATOR 1" >>confdefs.h
16203
 
 
16204
 
else
16205
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16206
 
$as_echo "no" >&6; }
16207
 
fi
16208
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16209
 
 
16210
 
# check for __gnu_cxx::__mt_alloc
16211
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking __gnu_cxx::__mt_alloc" >&5
16212
 
$as_echo_n "checking __gnu_cxx::__mt_alloc... " >&6; }
16213
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16214
 
/* end confdefs.h.  */
16215
 
#include <ext/mt_allocator.h>
16216
 
         #include<vector>
16217
 
int
16218
 
main ()
16219
 
{
16220
 
std::vector<int, __gnu_cxx::__mt_alloc<int> > x;
16221
 
  ;
16222
 
  return 0;
16223
 
}
16224
 
_ACEOF
16225
 
if ac_fn_cxx_try_compile "$LINENO"; then :
16226
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16227
 
$as_echo "yes" >&6; }
16228
 
 
16229
 
$as_echo "#define HAVE_MT_ALLOCATOR 1" >>confdefs.h
16230
 
 
16231
 
else
16232
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16233
 
$as_echo "no" >&6; }
16234
 
fi
16235
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16236
 
 
16237
 
# check for __gnu_cxx::bitmap_allocator
16238
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking __gnu_cxx::bitmap_allocator" >&5
16239
 
$as_echo_n "checking __gnu_cxx::bitmap_allocator... " >&6; }
16240
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16241
 
/* end confdefs.h.  */
16242
 
#include <ext/bitmap_allocator.h>
16243
 
         #include<vector>
16244
 
int
16245
 
main ()
16246
 
{
16247
 
std::vector<int, __gnu_cxx::bitmap_allocator<int> > x;
16248
 
  ;
16249
 
  return 0;
16250
 
}
16251
 
_ACEOF
16252
 
if ac_fn_cxx_try_compile "$LINENO"; then :
16253
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16254
 
$as_echo "yes" >&6; }
16255
 
 
16256
 
$as_echo "#define HAVE_BITMAP_ALLOCATOR 1" >>confdefs.h
16257
 
 
16258
 
else
16259
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16260
 
$as_echo "no" >&6; }
16261
 
fi
16262
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16263
 
 
16264
 
 
16265
 
$as_echo "#define _REENTRANT 1" >>confdefs.h
16266
 
 
16267
 
 
16268
 
# Checks for library functions.
16269
 
ac_ext=c
16270
 
ac_cpp='$CPP $CPPFLAGS'
16271
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16272
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16273
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
16274
 
 
16275
 
 
16276
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for cplus_demangle in -liberty" >&5
16277
 
$as_echo_n "checking for cplus_demangle in -liberty... " >&6; }
16278
 
if test "${ac_cv_lib_iberty_cplus_demangle+set}" = set; then :
16279
 
  $as_echo_n "(cached) " >&6
16280
 
else
16281
 
  ac_check_lib_save_LIBS=$LIBS
16282
 
LIBS="-liberty  $LIBS"
16283
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16284
 
/* end confdefs.h.  */
16285
 
 
16286
 
/* Override any GCC internal prototype to avoid an error.
16287
 
   Use char because int might match the return type of a GCC
16288
 
   builtin and then its argument prototype would still apply.  */
16289
 
#ifdef __cplusplus
16290
 
extern "C"
16291
 
#endif
16292
 
char cplus_demangle ();
16293
 
int
16294
 
main ()
16295
 
{
16296
 
return cplus_demangle ();
16297
 
  ;
16298
 
  return 0;
16299
 
}
16300
 
_ACEOF
16301
 
if ac_fn_c_try_link "$LINENO"; then :
16302
 
  ac_cv_lib_iberty_cplus_demangle=yes
16303
 
else
16304
 
  ac_cv_lib_iberty_cplus_demangle=no
16305
 
fi
16306
 
rm -f core conftest.err conftest.$ac_objext \
16307
 
    conftest$ac_exeext conftest.$ac_ext
16308
 
LIBS=$ac_check_lib_save_LIBS
16309
 
fi
16310
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_iberty_cplus_demangle" >&5
16311
 
$as_echo "$ac_cv_lib_iberty_cplus_demangle" >&6; }
16312
 
if test "x$ac_cv_lib_iberty_cplus_demangle" = x""yes; then :
16313
 
 
16314
 
$as_echo "#define HAVE_CPLUS_DEMANGLE 1" >>confdefs.h
16315
 
 
16316
 
  LIBS="$LIBS -liberty"
16317
 
fi
16318
 
 
16319
 
 
16320
 
# Checks for runtime behavior
16321
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if select modifies timeval parameter" >&5
16322
 
$as_echo_n "checking if select modifies timeval parameter... " >&6; }
16323
 
if test "$cross_compiling" = yes; then :
16324
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: unable to determine" >&5
16325
 
$as_echo "unable to determine" >&6; }
16326
 
else
16327
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16328
 
/* end confdefs.h.  */
16329
 
 
16330
 
#include <unistd.h>
16331
 
#include <sys/types.h>
16332
 
#include <sys/time.h>
16333
 
int main(int argc, char** argv)
16334
 
{
16335
 
  struct timeval tv;
16336
 
  tv.tv_sec = 0;
16337
 
  tv.tv_usec = 1;
16338
 
  select(0,0,0,0,&tv);
16339
 
  return tv.tv_usec != 1 ? 0 : 1;
16340
 
}
16341
 
 
16342
 
_ACEOF
16343
 
if ac_fn_c_try_run "$LINENO"; then :
16344
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16345
 
$as_echo "yes" >&6; }
16346
 
 
16347
 
$as_echo "#define SELECT_MODIFIES_TIMEVAL 1" >>confdefs.h
16348
 
 
16349
 
else
16350
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16351
 
$as_echo "no" >&6; }
16352
 
fi
16353
 
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
16354
 
  conftest.$ac_objext conftest.beam conftest.$ac_ext
16355
 
fi
16356
 
 
16357
 
 
16358
 
ac_config_files="$ac_config_files quickfix.pc Makefile src/Makefile src/C++/Makefile src/C++/test/Makefile src/python/Makefile src/ruby/Makefile bin/Makefile bin/cfg/Makefile spec/Makefile test/Makefile test/atrun/Makefile test/cfg/Makefile test/definitions/Makefile test/definitions/server/Makefile test/definitions/server/future/Makefile examples/Makefile examples/executor/Makefile examples/executor/C++/Makefile examples/ordermatch/Makefile examples/ordermatch/test/Makefile examples/tradeclient/Makefile examples/tradeclientgui/Makefile examples/tradeclientgui/banzai/Makefile examples/tradeclientgui/banzai/test/Makefile examples/tradeclientgui/banzai/src/Makefile examples/tradeclientgui/banzai/src/quickfix/Makefile examples/tradeclientgui/banzai/src/quickfix/banzai/Makefile examples/tradeclientgui/banzai/src/quickfix/banzai/ui/Makefile doc/Makefile doc/html/Makefile"
16359
 
 
16360
 
cat >confcache <<\_ACEOF
16361
 
# This file is a shell script that caches the results of configure
16362
 
# tests run on this system so they can be shared between configure
16363
 
# scripts and configure runs, see configure's option --config-cache.
16364
 
# It is not useful on other systems.  If it contains results you don't
16365
 
# want to keep, you may remove or edit it.
16366
 
#
16367
 
# config.status only pays attention to the cache file if you give it
16368
 
# the --recheck option to rerun configure.
16369
 
#
16370
 
# `ac_cv_env_foo' variables (set or unset) will be overridden when
16371
 
# loading this file, other *unset* `ac_cv_foo' will be assigned the
16372
 
# following values.
16373
 
 
16374
 
_ACEOF
16375
 
 
16376
 
# The following way of writing the cache mishandles newlines in values,
16377
 
# but we know of no workaround that is simple, portable, and efficient.
16378
 
# So, we kill variables containing newlines.
16379
 
# Ultrix sh set writes to stderr and can't be redirected directly,
16380
 
# and sets the high bit in the cache file unless we assign to the vars.
16381
 
(
16382
 
  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
16383
 
    eval ac_val=\$$ac_var
16384
 
    case $ac_val in #(
16385
 
    *${as_nl}*)
16386
 
      case $ac_var in #(
16387
 
      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
16388
 
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
16389
 
      esac
16390
 
      case $ac_var in #(
16391
 
      _ | IFS | as_nl) ;; #(
16392
 
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
16393
 
      *) { eval $ac_var=; unset $ac_var;} ;;
16394
 
      esac ;;
16395
 
    esac
16396
 
  done
16397
 
 
16398
 
  (set) 2>&1 |
16399
 
    case $as_nl`(ac_space=' '; set) 2>&1` in #(
16400
 
    *${as_nl}ac_space=\ *)
16401
 
      # `set' does not quote correctly, so add quotes: double-quote
16402
 
      # substitution turns \\\\ into \\, and sed turns \\ into \.
16403
 
      sed -n \
16404
 
        "s/'/'\\\\''/g;
16405
 
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
16406
 
      ;; #(
16407
 
    *)
16408
 
      # `set' quotes correctly as required by POSIX, so do not add quotes.
16409
 
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
16410
 
      ;;
16411
 
    esac |
16412
 
    sort
16413
 
) |
16414
 
  sed '
16415
 
     /^ac_cv_env_/b end
16416
 
     t clear
16417
 
     :clear
16418
 
     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
16419
 
     t end
16420
 
     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
16421
 
     :end' >>confcache
16422
 
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
16423
 
  if test -w "$cache_file"; then
16424
 
    test "x$cache_file" != "x/dev/null" &&
16425
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
16426
 
$as_echo "$as_me: updating cache $cache_file" >&6;}
16427
 
    cat confcache >$cache_file
16428
 
  else
16429
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
16430
 
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
16431
 
  fi
16432
 
fi
16433
 
rm -f confcache
16434
 
 
16435
 
test "x$prefix" = xNONE && prefix=$ac_default_prefix
16436
 
# Let make expand exec_prefix.
16437
 
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
16438
 
 
16439
 
DEFS=-DHAVE_CONFIG_H
16440
 
 
16441
 
ac_libobjs=
16442
 
ac_ltlibobjs=
16443
 
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
16444
 
  # 1. Remove the extension, and $U if already installed.
16445
 
  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
16446
 
  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
16447
 
  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
16448
 
  #    will be set to the directory where LIBOBJS objects are built.
16449
 
  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
16450
 
  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
16451
 
done
16452
 
LIBOBJS=$ac_libobjs
16453
 
 
16454
 
LTLIBOBJS=$ac_ltlibobjs
16455
 
 
16456
 
 
16457
 
 if test -n "$EXEEXT"; then
16458
 
  am__EXEEXT_TRUE=
16459
 
  am__EXEEXT_FALSE='#'
16460
 
else
16461
 
  am__EXEEXT_TRUE='#'
16462
 
  am__EXEEXT_FALSE=
16463
 
fi
16464
 
 
16465
 
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
16466
 
  as_fn_error "conditional \"AMDEP\" was never defined.
16467
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5
16468
 
fi
16469
 
if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
16470
 
  as_fn_error "conditional \"am__fastdepCXX\" was never defined.
16471
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5
16472
 
fi
16473
 
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
16474
 
  as_fn_error "conditional \"am__fastdepCC\" was never defined.
16475
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5
16476
 
fi
16477
 
if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
16478
 
  as_fn_error "conditional \"am__fastdepCXX\" was never defined.
16479
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5
16480
 
fi
16481
 
if test -z "${HAVE_PYTHON_TRUE}" && test -z "${HAVE_PYTHON_FALSE}"; then
16482
 
  as_fn_error "conditional \"HAVE_PYTHON\" was never defined.
16483
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5
16484
 
fi
16485
 
if test -z "${HAVE_RUBY_TRUE}" && test -z "${HAVE_RUBY_FALSE}"; then
16486
 
  as_fn_error "conditional \"HAVE_RUBY\" was never defined.
16487
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5
16488
 
fi
16489
 
if test -z "${HAVE_JAVA_TRUE}" && test -z "${HAVE_JAVA_FALSE}"; then
16490
 
  as_fn_error "conditional \"HAVE_JAVA\" was never defined.
16491
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5
16492
 
fi
16493
 
if test -z "${HAVE_FTIME_TRUE}" && test -z "${HAVE_FTIME_FALSE}"; then
16494
 
  as_fn_error "conditional \"HAVE_FTIME\" was never defined.
16495
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5
16496
 
fi
16497
 
 
16498
 
: ${CONFIG_STATUS=./config.status}
16499
 
ac_write_fail=0
16500
 
ac_clean_files_save=$ac_clean_files
16501
 
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
16502
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
16503
 
$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
16504
 
as_write_fail=0
16505
 
cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
16506
 
#! $SHELL
16507
 
# Generated by $as_me.
16508
 
# Run this file to recreate the current configuration.
16509
 
# Compiler output produced by configure, useful for debugging
16510
 
# configure, is in config.log if it exists.
16511
 
 
16512
 
debug=false
16513
 
ac_cs_recheck=false
16514
 
ac_cs_silent=false
16515
 
 
16516
 
SHELL=\${CONFIG_SHELL-$SHELL}
16517
 
export SHELL
16518
 
_ASEOF
16519
 
cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
16520
 
## -------------------- ##
16521
 
## M4sh Initialization. ##
16522
 
## -------------------- ##
16523
 
 
16524
 
# Be more Bourne compatible
16525
 
DUALCASE=1; export DUALCASE # for MKS sh
16526
 
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
16527
 
  emulate sh
16528
 
  NULLCMD=:
16529
 
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
16530
 
  # is contrary to our usage.  Disable this feature.
16531
 
  alias -g '${1+"$@"}'='"$@"'
16532
 
  setopt NO_GLOB_SUBST
16533
 
else
16534
 
  case `(set -o) 2>/dev/null` in #(
16535
 
  *posix*) :
16536
 
    set -o posix ;; #(
16537
 
  *) :
16538
 
     ;;
16539
 
esac
16540
 
fi
16541
 
 
16542
 
 
16543
 
as_nl='
16544
 
'
16545
 
export as_nl
16546
 
# Printing a long string crashes Solaris 7 /usr/bin/printf.
16547
 
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
16548
 
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
16549
 
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
16550
 
# Prefer a ksh shell builtin over an external printf program on Solaris,
16551
 
# but without wasting forks for bash or zsh.
16552
 
if test -z "$BASH_VERSION$ZSH_VERSION" \
16553
 
    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
16554
 
  as_echo='print -r --'
16555
 
  as_echo_n='print -rn --'
16556
 
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
16557
 
  as_echo='printf %s\n'
16558
 
  as_echo_n='printf %s'
16559
 
else
16560
 
  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
16561
 
    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
16562
 
    as_echo_n='/usr/ucb/echo -n'
16563
 
  else
16564
 
    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
16565
 
    as_echo_n_body='eval
16566
 
      arg=$1;
16567
 
      case $arg in #(
16568
 
      *"$as_nl"*)
16569
 
        expr "X$arg" : "X\\(.*\\)$as_nl";
16570
 
        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
16571
 
      esac;
16572
 
      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
16573
 
    '
16574
 
    export as_echo_n_body
16575
 
    as_echo_n='sh -c $as_echo_n_body as_echo'
16576
 
  fi
16577
 
  export as_echo_body
16578
 
  as_echo='sh -c $as_echo_body as_echo'
16579
 
fi
16580
 
 
16581
 
# The user is always right.
16582
 
if test "${PATH_SEPARATOR+set}" != set; then
16583
 
  PATH_SEPARATOR=:
16584
 
  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
16585
 
    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
16586
 
      PATH_SEPARATOR=';'
16587
 
  }
16588
 
fi
16589
 
 
16590
 
 
16591
 
# IFS
16592
 
# We need space, tab and new line, in precisely that order.  Quoting is
16593
 
# there to prevent editors from complaining about space-tab.
16594
 
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
16595
 
# splitting by setting IFS to empty value.)
16596
 
IFS=" ""        $as_nl"
16597
 
 
16598
 
# Find who we are.  Look in the path if we contain no directory separator.
16599
 
case $0 in #((
16600
 
  *[\\/]* ) as_myself=$0 ;;
16601
 
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16602
 
for as_dir in $PATH
16603
 
do
16604
 
  IFS=$as_save_IFS
16605
 
  test -z "$as_dir" && as_dir=.
16606
 
    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
16607
 
  done
16608
 
IFS=$as_save_IFS
16609
 
 
16610
 
     ;;
16611
 
esac
16612
 
# We did not find ourselves, most probably we were run as `sh COMMAND'
16613
 
# in which case we are not to be found in the path.
16614
 
if test "x$as_myself" = x; then
16615
 
  as_myself=$0
16616
 
fi
16617
 
if test ! -f "$as_myself"; then
16618
 
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
16619
 
  exit 1
16620
 
fi
16621
 
 
16622
 
# Unset variables that we do not need and which cause bugs (e.g. in
16623
 
# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
16624
 
# suppresses any "Segmentation fault" message there.  '((' could
16625
 
# trigger a bug in pdksh 5.2.14.
16626
 
for as_var in BASH_ENV ENV MAIL MAILPATH
16627
 
do eval test x\${$as_var+set} = xset \
16628
 
  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
16629
 
done
16630
 
PS1='$ '
16631
 
PS2='> '
16632
 
PS4='+ '
16633
 
 
16634
 
# NLS nuisances.
16635
 
LC_ALL=C
16636
 
export LC_ALL
16637
 
LANGUAGE=C
16638
 
export LANGUAGE
16639
 
 
16640
 
# CDPATH.
16641
 
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
16642
 
 
16643
 
 
16644
 
# as_fn_error ERROR [LINENO LOG_FD]
16645
 
# ---------------------------------
16646
 
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
16647
 
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
16648
 
# script with status $?, using 1 if that was 0.
16649
 
as_fn_error ()
16650
 
{
16651
 
  as_status=$?; test $as_status -eq 0 && as_status=1
16652
 
  if test "$3"; then
16653
 
    as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
16654
 
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
16655
 
  fi
16656
 
  $as_echo "$as_me: error: $1" >&2
16657
 
  as_fn_exit $as_status
16658
 
} # as_fn_error
16659
 
 
16660
 
 
16661
 
# as_fn_set_status STATUS
16662
 
# -----------------------
16663
 
# Set $? to STATUS, without forking.
16664
 
as_fn_set_status ()
16665
 
{
16666
 
  return $1
16667
 
} # as_fn_set_status
16668
 
 
16669
 
# as_fn_exit STATUS
16670
 
# -----------------
16671
 
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
16672
 
as_fn_exit ()
16673
 
{
16674
 
  set +e
16675
 
  as_fn_set_status $1
16676
 
  exit $1
16677
 
} # as_fn_exit
16678
 
 
16679
 
# as_fn_unset VAR
16680
 
# ---------------
16681
 
# Portably unset VAR.
16682
 
as_fn_unset ()
16683
 
{
16684
 
  { eval $1=; unset $1;}
16685
 
}
16686
 
as_unset=as_fn_unset
16687
 
# as_fn_append VAR VALUE
16688
 
# ----------------------
16689
 
# Append the text in VALUE to the end of the definition contained in VAR. Take
16690
 
# advantage of any shell optimizations that allow amortized linear growth over
16691
 
# repeated appends, instead of the typical quadratic growth present in naive
16692
 
# implementations.
16693
 
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
16694
 
  eval 'as_fn_append ()
16695
 
  {
16696
 
    eval $1+=\$2
16697
 
  }'
16698
 
else
16699
 
  as_fn_append ()
16700
 
  {
16701
 
    eval $1=\$$1\$2
16702
 
  }
16703
 
fi # as_fn_append
16704
 
 
16705
 
# as_fn_arith ARG...
16706
 
# ------------------
16707
 
# Perform arithmetic evaluation on the ARGs, and store the result in the
16708
 
# global $as_val. Take advantage of shells that can avoid forks. The arguments
16709
 
# must be portable across $(()) and expr.
16710
 
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
16711
 
  eval 'as_fn_arith ()
16712
 
  {
16713
 
    as_val=$(( $* ))
16714
 
  }'
16715
 
else
16716
 
  as_fn_arith ()
16717
 
  {
16718
 
    as_val=`expr "$@" || test $? -eq 1`
16719
 
  }
16720
 
fi # as_fn_arith
16721
 
 
16722
 
 
16723
 
if expr a : '\(a\)' >/dev/null 2>&1 &&
16724
 
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
16725
 
  as_expr=expr
16726
 
else
16727
 
  as_expr=false
16728
 
fi
16729
 
 
16730
 
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
16731
 
  as_basename=basename
16732
 
else
16733
 
  as_basename=false
16734
 
fi
16735
 
 
16736
 
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
16737
 
  as_dirname=dirname
16738
 
else
16739
 
  as_dirname=false
16740
 
fi
16741
 
 
16742
 
as_me=`$as_basename -- "$0" ||
16743
 
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
16744
 
         X"$0" : 'X\(//\)$' \| \
16745
 
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
16746
 
$as_echo X/"$0" |
16747
 
    sed '/^.*\/\([^/][^/]*\)\/*$/{
16748
 
            s//\1/
16749
 
            q
16750
 
          }
16751
 
          /^X\/\(\/\/\)$/{
16752
 
            s//\1/
16753
 
            q
16754
 
          }
16755
 
          /^X\/\(\/\).*/{
16756
 
            s//\1/
16757
 
            q
16758
 
          }
16759
 
          s/.*/./; q'`
16760
 
 
16761
 
# Avoid depending upon Character Ranges.
16762
 
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
16763
 
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
16764
 
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
16765
 
as_cr_digits='0123456789'
16766
 
as_cr_alnum=$as_cr_Letters$as_cr_digits
16767
 
 
16768
 
ECHO_C= ECHO_N= ECHO_T=
16769
 
case `echo -n x` in #(((((
16770
 
-n*)
16771
 
  case `echo 'xy\c'` in
16772
 
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
16773
 
  xy)  ECHO_C='\c';;
16774
 
  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
16775
 
       ECHO_T=' ';;
16776
 
  esac;;
16777
 
*)
16778
 
  ECHO_N='-n';;
16779
 
esac
16780
 
 
16781
 
rm -f conf$$ conf$$.exe conf$$.file
16782
 
if test -d conf$$.dir; then
16783
 
  rm -f conf$$.dir/conf$$.file
16784
 
else
16785
 
  rm -f conf$$.dir
16786
 
  mkdir conf$$.dir 2>/dev/null
16787
 
fi
16788
 
if (echo >conf$$.file) 2>/dev/null; then
16789
 
  if ln -s conf$$.file conf$$ 2>/dev/null; then
16790
 
    as_ln_s='ln -s'
16791
 
    # ... but there are two gotchas:
16792
 
    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
16793
 
    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
16794
 
    # In both cases, we have to default to `cp -p'.
16795
 
    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
16796
 
      as_ln_s='cp -p'
16797
 
  elif ln conf$$.file conf$$ 2>/dev/null; then
16798
 
    as_ln_s=ln
16799
 
  else
16800
 
    as_ln_s='cp -p'
16801
 
  fi
16802
 
else
16803
 
  as_ln_s='cp -p'
16804
 
fi
16805
 
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
16806
 
rmdir conf$$.dir 2>/dev/null
16807
 
 
16808
 
 
16809
 
# as_fn_mkdir_p
16810
 
# -------------
16811
 
# Create "$as_dir" as a directory, including parents if necessary.
16812
 
as_fn_mkdir_p ()
16813
 
{
16814
 
 
16815
 
  case $as_dir in #(
16816
 
  -*) as_dir=./$as_dir;;
16817
 
  esac
16818
 
  test -d "$as_dir" || eval $as_mkdir_p || {
16819
 
    as_dirs=
16820
 
    while :; do
16821
 
      case $as_dir in #(
16822
 
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
16823
 
      *) as_qdir=$as_dir;;
16824
 
      esac
16825
 
      as_dirs="'$as_qdir' $as_dirs"
16826
 
      as_dir=`$as_dirname -- "$as_dir" ||
16827
 
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16828
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
16829
 
         X"$as_dir" : 'X\(//\)$' \| \
16830
 
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
16831
 
$as_echo X"$as_dir" |
16832
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16833
 
            s//\1/
16834
 
            q
16835
 
          }
16836
 
          /^X\(\/\/\)[^/].*/{
16837
 
            s//\1/
16838
 
            q
16839
 
          }
16840
 
          /^X\(\/\/\)$/{
16841
 
            s//\1/
16842
 
            q
16843
 
          }
16844
 
          /^X\(\/\).*/{
16845
 
            s//\1/
16846
 
            q
16847
 
          }
16848
 
          s/.*/./; q'`
16849
 
      test -d "$as_dir" && break
16850
 
    done
16851
 
    test -z "$as_dirs" || eval "mkdir $as_dirs"
16852
 
  } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
16853
 
 
16854
 
 
16855
 
} # as_fn_mkdir_p
16856
 
if mkdir -p . 2>/dev/null; then
16857
 
  as_mkdir_p='mkdir -p "$as_dir"'
16858
 
else
16859
 
  test -d ./-p && rmdir ./-p
16860
 
  as_mkdir_p=false
16861
 
fi
16862
 
 
16863
 
if test -x / >/dev/null 2>&1; then
16864
 
  as_test_x='test -x'
16865
 
else
16866
 
  if ls -dL / >/dev/null 2>&1; then
16867
 
    as_ls_L_option=L
16868
 
  else
16869
 
    as_ls_L_option=
16870
 
  fi
16871
 
  as_test_x='
16872
 
    eval sh -c '\''
16873
 
      if test -d "$1"; then
16874
 
        test -d "$1/.";
16875
 
      else
16876
 
        case $1 in #(
16877
 
        -*)set "./$1";;
16878
 
        esac;
16879
 
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
16880
 
        ???[sx]*):;;*)false;;esac;fi
16881
 
    '\'' sh
16882
 
  '
16883
 
fi
16884
 
as_executable_p=$as_test_x
16885
 
 
16886
 
# Sed expression to map a string onto a valid CPP name.
16887
 
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
16888
 
 
16889
 
# Sed expression to map a string onto a valid variable name.
16890
 
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
16891
 
 
16892
 
 
16893
 
exec 6>&1
16894
 
## ----------------------------------- ##
16895
 
## Main body of $CONFIG_STATUS script. ##
16896
 
## ----------------------------------- ##
16897
 
_ASEOF
16898
 
test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
16899
 
 
16900
 
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16901
 
# Save the log message, to keep $0 and so on meaningful, and to
16902
 
# report actual input values of CONFIG_FILES etc. instead of their
16903
 
# values after options handling.
16904
 
ac_log="
16905
 
This file was extended by $as_me, which was
16906
 
generated by GNU Autoconf 2.64.  Invocation command line was
16907
 
 
16908
 
  CONFIG_FILES    = $CONFIG_FILES
16909
 
  CONFIG_HEADERS  = $CONFIG_HEADERS
16910
 
  CONFIG_LINKS    = $CONFIG_LINKS
16911
 
  CONFIG_COMMANDS = $CONFIG_COMMANDS
16912
 
  $ $0 $@
16913
 
 
16914
 
on `(hostname || uname -n) 2>/dev/null | sed 1q`
16915
 
"
16916
 
 
16917
 
_ACEOF
16918
 
 
16919
 
case $ac_config_files in *"
16920
 
"*) set x $ac_config_files; shift; ac_config_files=$*;;
16921
 
esac
16922
 
 
16923
 
case $ac_config_headers in *"
16924
 
"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
16925
 
esac
16926
 
 
16927
 
 
16928
 
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16929
 
# Files that config.status was made for.
16930
 
config_files="$ac_config_files"
16931
 
config_headers="$ac_config_headers"
16932
 
config_commands="$ac_config_commands"
16933
 
 
16934
 
_ACEOF
16935
 
 
16936
 
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16937
 
ac_cs_usage="\
16938
 
\`$as_me' instantiates files and other configuration actions
16939
 
from templates according to the current configuration.  Unless the files
16940
 
and actions are specified as TAGs, all are instantiated by default.
16941
 
 
16942
 
Usage: $0 [OPTION]... [TAG]...
16943
 
 
16944
 
  -h, --help       print this help, then exit
16945
 
  -V, --version    print version number and configuration settings, then exit
16946
 
  -q, --quiet, --silent
16947
 
                   do not print progress messages
16948
 
  -d, --debug      don't remove temporary files
16949
 
      --recheck    update $as_me by reconfiguring in the same conditions
16950
 
      --file=FILE[:TEMPLATE]
16951
 
                   instantiate the configuration file FILE
16952
 
      --header=FILE[:TEMPLATE]
16953
 
                   instantiate the configuration header FILE
16954
 
 
16955
 
Configuration files:
16956
 
$config_files
16957
 
 
16958
 
Configuration headers:
16959
 
$config_headers
16960
 
 
16961
 
Configuration commands:
16962
 
$config_commands
16963
 
 
16964
 
Report bugs to the package provider."
16965
 
 
16966
 
_ACEOF
16967
 
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16968
 
ac_cs_version="\\
16969
 
config.status
16970
 
configured by $0, generated by GNU Autoconf 2.64,
16971
 
  with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
16972
 
 
16973
 
Copyright (C) 2009 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=$1
16998
 
    ac_optarg=$2
16999
 
    ac_shift=shift
17000
 
    ;;
17001
 
  esac
17002
 
 
17003
 
  case $ac_option in
17004
 
  # Handling of the options.
17005
 
  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
17006
 
    ac_cs_recheck=: ;;
17007
 
  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
17008
 
    $as_echo "$ac_cs_version"; exit ;;
17009
 
  --debug | --debu | --deb | --de | --d | -d )
17010
 
    debug=: ;;
17011
 
  --file | --fil | --fi | --f )
17012
 
    $ac_shift
17013
 
    case $ac_optarg in
17014
 
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
17015
 
    esac
17016
 
    as_fn_append CONFIG_FILES " '$ac_optarg'"
17017
 
    ac_need_defaults=false;;
17018
 
  --header | --heade | --head | --hea )
17019
 
    $ac_shift
17020
 
    case $ac_optarg in
17021
 
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
17022
 
    esac
17023
 
    as_fn_append CONFIG_HEADERS " '$ac_optarg'"
17024
 
    ac_need_defaults=false;;
17025
 
  --he | --h)
17026
 
    # Conflict between --help and --header
17027
 
    as_fn_error "ambiguous option: \`$1'
17028
 
Try \`$0 --help' for more information.";;
17029
 
  --help | --hel | -h )
17030
 
    $as_echo "$ac_cs_usage"; exit ;;
17031
 
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
17032
 
  | -silent | --silent | --silen | --sile | --sil | --si | --s)
17033
 
    ac_cs_silent=: ;;
17034
 
 
17035
 
  # This is an error.
17036
 
  -*) as_fn_error "unrecognized option: \`$1'
17037
 
Try \`$0 --help' for more information." ;;
17038
 
 
17039
 
  *) as_fn_append ac_config_targets " $1"
17040
 
     ac_need_defaults=false ;;
17041
 
 
17042
 
  esac
17043
 
  shift
17044
 
done
17045
 
 
17046
 
ac_configure_extra_args=
17047
 
 
17048
 
if $ac_cs_silent; then
17049
 
  exec 6>/dev/null
17050
 
  ac_configure_extra_args="$ac_configure_extra_args --silent"
17051
 
fi
17052
 
 
17053
 
_ACEOF
17054
 
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17055
 
if \$ac_cs_recheck; then
17056
 
  set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
17057
 
  shift
17058
 
  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
17059
 
  CONFIG_SHELL='$SHELL'
17060
 
  export CONFIG_SHELL
17061
 
  exec "\$@"
17062
 
fi
17063
 
 
17064
 
_ACEOF
17065
 
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17066
 
exec 5>>config.log
17067
 
{
17068
 
  echo
17069
 
  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
17070
 
## Running $as_me. ##
17071
 
_ASBOX
17072
 
  $as_echo "$ac_log"
17073
 
} >&5
17074
 
 
17075
 
_ACEOF
17076
 
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17077
 
#
17078
 
# INIT-COMMANDS
17079
 
#
17080
 
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
17081
 
 
17082
 
 
17083
 
# The HP-UX ksh and POSIX shell print the target directory to stdout
17084
 
# if CDPATH is set.
17085
 
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
17086
 
 
17087
 
sed_quote_subst='$sed_quote_subst'
17088
 
double_quote_subst='$double_quote_subst'
17089
 
delay_variable_subst='$delay_variable_subst'
17090
 
enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
17091
 
AS='`$ECHO "X$AS" | $Xsed -e "$delay_single_quote_subst"`'
17092
 
DLLTOOL='`$ECHO "X$DLLTOOL" | $Xsed -e "$delay_single_quote_subst"`'
17093
 
OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
17094
 
macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
17095
 
macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
17096
 
enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
17097
 
pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
17098
 
enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
17099
 
host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
17100
 
host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
17101
 
host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
17102
 
build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
17103
 
build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
17104
 
build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
17105
 
SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
17106
 
Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
17107
 
GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
17108
 
EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
17109
 
FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
17110
 
LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
17111
 
NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
17112
 
LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
17113
 
max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
17114
 
ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
17115
 
exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
17116
 
lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
17117
 
lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
17118
 
lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
17119
 
reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
17120
 
reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17121
 
deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
17122
 
file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
17123
 
AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
17124
 
AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
17125
 
STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
17126
 
RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
17127
 
old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17128
 
old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17129
 
old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17130
 
CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
17131
 
CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
17132
 
compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
17133
 
GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
17134
 
lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
17135
 
lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
17136
 
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"`'
17137
 
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"`'
17138
 
objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
17139
 
SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
17140
 
ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
17141
 
MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
17142
 
lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
17143
 
lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
17144
 
lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
17145
 
lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
17146
 
lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
17147
 
need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
17148
 
DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
17149
 
NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
17150
 
LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
17151
 
OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
17152
 
OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
17153
 
libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
17154
 
shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17155
 
extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17156
 
archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
17157
 
enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
17158
 
export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
17159
 
whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
17160
 
compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
17161
 
old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17162
 
old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17163
 
archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17164
 
archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17165
 
module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17166
 
module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17167
 
with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
17168
 
allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
17169
 
no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
17170
 
hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
17171
 
hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
17172
 
hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
17173
 
hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
17174
 
hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
17175
 
hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
17176
 
hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
17177
 
hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
17178
 
inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
17179
 
link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
17180
 
fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
17181
 
always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
17182
 
export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17183
 
exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
17184
 
include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
17185
 
prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17186
 
file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
17187
 
variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
17188
 
need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
17189
 
need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
17190
 
version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
17191
 
runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
17192
 
shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
17193
 
shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
17194
 
libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
17195
 
library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
17196
 
soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
17197
 
postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17198
 
postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17199
 
finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17200
 
finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
17201
 
hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
17202
 
sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
17203
 
sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
17204
 
hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
17205
 
enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
17206
 
enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
17207
 
enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
17208
 
old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
17209
 
striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
17210
 
compiler_lib_search_dirs='`$ECHO "X$compiler_lib_search_dirs" | $Xsed -e "$delay_single_quote_subst"`'
17211
 
predep_objects='`$ECHO "X$predep_objects" | $Xsed -e "$delay_single_quote_subst"`'
17212
 
postdep_objects='`$ECHO "X$postdep_objects" | $Xsed -e "$delay_single_quote_subst"`'
17213
 
predeps='`$ECHO "X$predeps" | $Xsed -e "$delay_single_quote_subst"`'
17214
 
postdeps='`$ECHO "X$postdeps" | $Xsed -e "$delay_single_quote_subst"`'
17215
 
compiler_lib_search_path='`$ECHO "X$compiler_lib_search_path" | $Xsed -e "$delay_single_quote_subst"`'
17216
 
LD_CXX='`$ECHO "X$LD_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17217
 
old_archive_cmds_CXX='`$ECHO "X$old_archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17218
 
compiler_CXX='`$ECHO "X$compiler_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17219
 
GCC_CXX='`$ECHO "X$GCC_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17220
 
lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "X$lt_prog_compiler_no_builtin_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17221
 
lt_prog_compiler_wl_CXX='`$ECHO "X$lt_prog_compiler_wl_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17222
 
lt_prog_compiler_pic_CXX='`$ECHO "X$lt_prog_compiler_pic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17223
 
lt_prog_compiler_static_CXX='`$ECHO "X$lt_prog_compiler_static_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17224
 
lt_cv_prog_compiler_c_o_CXX='`$ECHO "X$lt_cv_prog_compiler_c_o_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17225
 
archive_cmds_need_lc_CXX='`$ECHO "X$archive_cmds_need_lc_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17226
 
enable_shared_with_static_runtimes_CXX='`$ECHO "X$enable_shared_with_static_runtimes_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17227
 
export_dynamic_flag_spec_CXX='`$ECHO "X$export_dynamic_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17228
 
whole_archive_flag_spec_CXX='`$ECHO "X$whole_archive_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17229
 
compiler_needs_object_CXX='`$ECHO "X$compiler_needs_object_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17230
 
old_archive_from_new_cmds_CXX='`$ECHO "X$old_archive_from_new_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17231
 
old_archive_from_expsyms_cmds_CXX='`$ECHO "X$old_archive_from_expsyms_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17232
 
archive_cmds_CXX='`$ECHO "X$archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17233
 
archive_expsym_cmds_CXX='`$ECHO "X$archive_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17234
 
module_cmds_CXX='`$ECHO "X$module_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17235
 
module_expsym_cmds_CXX='`$ECHO "X$module_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17236
 
with_gnu_ld_CXX='`$ECHO "X$with_gnu_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17237
 
allow_undefined_flag_CXX='`$ECHO "X$allow_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17238
 
no_undefined_flag_CXX='`$ECHO "X$no_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17239
 
hardcode_libdir_flag_spec_CXX='`$ECHO "X$hardcode_libdir_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17240
 
hardcode_libdir_flag_spec_ld_CXX='`$ECHO "X$hardcode_libdir_flag_spec_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17241
 
hardcode_libdir_separator_CXX='`$ECHO "X$hardcode_libdir_separator_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17242
 
hardcode_direct_CXX='`$ECHO "X$hardcode_direct_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17243
 
hardcode_direct_absolute_CXX='`$ECHO "X$hardcode_direct_absolute_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17244
 
hardcode_minus_L_CXX='`$ECHO "X$hardcode_minus_L_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17245
 
hardcode_shlibpath_var_CXX='`$ECHO "X$hardcode_shlibpath_var_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17246
 
hardcode_automatic_CXX='`$ECHO "X$hardcode_automatic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17247
 
inherit_rpath_CXX='`$ECHO "X$inherit_rpath_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17248
 
link_all_deplibs_CXX='`$ECHO "X$link_all_deplibs_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17249
 
fix_srcfile_path_CXX='`$ECHO "X$fix_srcfile_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17250
 
always_export_symbols_CXX='`$ECHO "X$always_export_symbols_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17251
 
export_symbols_cmds_CXX='`$ECHO "X$export_symbols_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17252
 
exclude_expsyms_CXX='`$ECHO "X$exclude_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17253
 
include_expsyms_CXX='`$ECHO "X$include_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17254
 
prelink_cmds_CXX='`$ECHO "X$prelink_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17255
 
file_list_spec_CXX='`$ECHO "X$file_list_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17256
 
hardcode_action_CXX='`$ECHO "X$hardcode_action_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17257
 
compiler_lib_search_dirs_CXX='`$ECHO "X$compiler_lib_search_dirs_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17258
 
predep_objects_CXX='`$ECHO "X$predep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17259
 
postdep_objects_CXX='`$ECHO "X$postdep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17260
 
predeps_CXX='`$ECHO "X$predeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17261
 
postdeps_CXX='`$ECHO "X$postdeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17262
 
compiler_lib_search_path_CXX='`$ECHO "X$compiler_lib_search_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17263
 
 
17264
 
LTCC='$LTCC'
17265
 
LTCFLAGS='$LTCFLAGS'
17266
 
compiler='$compiler_DEFAULT'
17267
 
 
17268
 
# Quote evaled strings.
17269
 
for var in SED \
17270
 
GREP \
17271
 
EGREP \
17272
 
FGREP \
17273
 
LD \
17274
 
NM \
17275
 
LN_S \
17276
 
lt_SP2NL \
17277
 
lt_NL2SP \
17278
 
reload_flag \
17279
 
deplibs_check_method \
17280
 
file_magic_cmd \
17281
 
AR \
17282
 
AR_FLAGS \
17283
 
STRIP \
17284
 
RANLIB \
17285
 
CC \
17286
 
CFLAGS \
17287
 
compiler \
17288
 
lt_cv_sys_global_symbol_pipe \
17289
 
lt_cv_sys_global_symbol_to_cdecl \
17290
 
lt_cv_sys_global_symbol_to_c_name_address \
17291
 
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
17292
 
SHELL \
17293
 
ECHO \
17294
 
lt_prog_compiler_no_builtin_flag \
17295
 
lt_prog_compiler_wl \
17296
 
lt_prog_compiler_pic \
17297
 
lt_prog_compiler_static \
17298
 
lt_cv_prog_compiler_c_o \
17299
 
need_locks \
17300
 
DSYMUTIL \
17301
 
NMEDIT \
17302
 
LIPO \
17303
 
OTOOL \
17304
 
OTOOL64 \
17305
 
shrext_cmds \
17306
 
export_dynamic_flag_spec \
17307
 
whole_archive_flag_spec \
17308
 
compiler_needs_object \
17309
 
with_gnu_ld \
17310
 
allow_undefined_flag \
17311
 
no_undefined_flag \
17312
 
hardcode_libdir_flag_spec \
17313
 
hardcode_libdir_flag_spec_ld \
17314
 
hardcode_libdir_separator \
17315
 
fix_srcfile_path \
17316
 
exclude_expsyms \
17317
 
include_expsyms \
17318
 
file_list_spec \
17319
 
variables_saved_for_relink \
17320
 
libname_spec \
17321
 
library_names_spec \
17322
 
soname_spec \
17323
 
finish_eval \
17324
 
old_striplib \
17325
 
striplib \
17326
 
compiler_lib_search_dirs \
17327
 
predep_objects \
17328
 
postdep_objects \
17329
 
predeps \
17330
 
postdeps \
17331
 
compiler_lib_search_path \
17332
 
LD_CXX \
17333
 
compiler_CXX \
17334
 
lt_prog_compiler_no_builtin_flag_CXX \
17335
 
lt_prog_compiler_wl_CXX \
17336
 
lt_prog_compiler_pic_CXX \
17337
 
lt_prog_compiler_static_CXX \
17338
 
lt_cv_prog_compiler_c_o_CXX \
17339
 
export_dynamic_flag_spec_CXX \
17340
 
whole_archive_flag_spec_CXX \
17341
 
compiler_needs_object_CXX \
17342
 
with_gnu_ld_CXX \
17343
 
allow_undefined_flag_CXX \
17344
 
no_undefined_flag_CXX \
17345
 
hardcode_libdir_flag_spec_CXX \
17346
 
hardcode_libdir_flag_spec_ld_CXX \
17347
 
hardcode_libdir_separator_CXX \
17348
 
fix_srcfile_path_CXX \
17349
 
exclude_expsyms_CXX \
17350
 
include_expsyms_CXX \
17351
 
file_list_spec_CXX \
17352
 
compiler_lib_search_dirs_CXX \
17353
 
predep_objects_CXX \
17354
 
postdep_objects_CXX \
17355
 
predeps_CXX \
17356
 
postdeps_CXX \
17357
 
compiler_lib_search_path_CXX; do
17358
 
    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
17359
 
    *[\\\\\\\`\\"\\\$]*)
17360
 
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
17361
 
      ;;
17362
 
    *)
17363
 
      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
17364
 
      ;;
17365
 
    esac
17366
 
done
17367
 
 
17368
 
# Double-quote double-evaled strings.
17369
 
for var in reload_cmds \
17370
 
old_postinstall_cmds \
17371
 
old_postuninstall_cmds \
17372
 
old_archive_cmds \
17373
 
extract_expsyms_cmds \
17374
 
old_archive_from_new_cmds \
17375
 
old_archive_from_expsyms_cmds \
17376
 
archive_cmds \
17377
 
archive_expsym_cmds \
17378
 
module_cmds \
17379
 
module_expsym_cmds \
17380
 
export_symbols_cmds \
17381
 
prelink_cmds \
17382
 
postinstall_cmds \
17383
 
postuninstall_cmds \
17384
 
finish_cmds \
17385
 
sys_lib_search_path_spec \
17386
 
sys_lib_dlsearch_path_spec \
17387
 
old_archive_cmds_CXX \
17388
 
old_archive_from_new_cmds_CXX \
17389
 
old_archive_from_expsyms_cmds_CXX \
17390
 
archive_cmds_CXX \
17391
 
archive_expsym_cmds_CXX \
17392
 
module_cmds_CXX \
17393
 
module_expsym_cmds_CXX \
17394
 
export_symbols_cmds_CXX \
17395
 
prelink_cmds_CXX; do
17396
 
    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
17397
 
    *[\\\\\\\`\\"\\\$]*)
17398
 
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
17399
 
      ;;
17400
 
    *)
17401
 
      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
17402
 
      ;;
17403
 
    esac
17404
 
done
17405
 
 
17406
 
# Fix-up fallback echo if it was mangled by the above quoting rules.
17407
 
case \$lt_ECHO in
17408
 
*'\\\$0 --fallback-echo"')  lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
17409
 
  ;;
17410
 
esac
17411
 
 
17412
 
ac_aux_dir='$ac_aux_dir'
17413
 
xsi_shell='$xsi_shell'
17414
 
lt_shell_append='$lt_shell_append'
17415
 
 
17416
 
# See if we are running on zsh, and set the options which allow our
17417
 
# commands through without removal of \ escapes INIT.
17418
 
if test -n "\${ZSH_VERSION+set}" ; then
17419
 
   setopt NO_GLOB_SUBST
17420
 
fi
17421
 
 
17422
 
 
17423
 
    PACKAGE='$PACKAGE'
17424
 
    VERSION='$VERSION'
17425
 
    TIMESTAMP='$TIMESTAMP'
17426
 
    RM='$RM'
17427
 
    ofile='$ofile'
17428
 
 
17429
 
 
17430
 
 
17431
 
 
17432
 
 
17433
 
 
17434
 
_ACEOF
17435
 
 
17436
 
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17437
 
 
17438
 
# Handling of arguments.
17439
 
for ac_config_target in $ac_config_targets
17440
 
do
17441
 
  case $ac_config_target in
17442
 
    "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
17443
 
    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
17444
 
    "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
17445
 
    "quickfix.pc") CONFIG_FILES="$CONFIG_FILES quickfix.pc" ;;
17446
 
    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
17447
 
    "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
17448
 
    "src/C++/Makefile") CONFIG_FILES="$CONFIG_FILES src/C++/Makefile" ;;
17449
 
    "src/C++/test/Makefile") CONFIG_FILES="$CONFIG_FILES src/C++/test/Makefile" ;;
17450
 
    "src/python/Makefile") CONFIG_FILES="$CONFIG_FILES src/python/Makefile" ;;
17451
 
    "src/ruby/Makefile") CONFIG_FILES="$CONFIG_FILES src/ruby/Makefile" ;;
17452
 
    "bin/Makefile") CONFIG_FILES="$CONFIG_FILES bin/Makefile" ;;
17453
 
    "bin/cfg/Makefile") CONFIG_FILES="$CONFIG_FILES bin/cfg/Makefile" ;;
17454
 
    "spec/Makefile") CONFIG_FILES="$CONFIG_FILES spec/Makefile" ;;
17455
 
    "test/Makefile") CONFIG_FILES="$CONFIG_FILES test/Makefile" ;;
17456
 
    "test/atrun/Makefile") CONFIG_FILES="$CONFIG_FILES test/atrun/Makefile" ;;
17457
 
    "test/cfg/Makefile") CONFIG_FILES="$CONFIG_FILES test/cfg/Makefile" ;;
17458
 
    "test/definitions/Makefile") CONFIG_FILES="$CONFIG_FILES test/definitions/Makefile" ;;
17459
 
    "test/definitions/server/Makefile") CONFIG_FILES="$CONFIG_FILES test/definitions/server/Makefile" ;;
17460
 
    "test/definitions/server/future/Makefile") CONFIG_FILES="$CONFIG_FILES test/definitions/server/future/Makefile" ;;
17461
 
    "examples/Makefile") CONFIG_FILES="$CONFIG_FILES examples/Makefile" ;;
17462
 
    "examples/executor/Makefile") CONFIG_FILES="$CONFIG_FILES examples/executor/Makefile" ;;
17463
 
    "examples/executor/C++/Makefile") CONFIG_FILES="$CONFIG_FILES examples/executor/C++/Makefile" ;;
17464
 
    "examples/ordermatch/Makefile") CONFIG_FILES="$CONFIG_FILES examples/ordermatch/Makefile" ;;
17465
 
    "examples/ordermatch/test/Makefile") CONFIG_FILES="$CONFIG_FILES examples/ordermatch/test/Makefile" ;;
17466
 
    "examples/tradeclient/Makefile") CONFIG_FILES="$CONFIG_FILES examples/tradeclient/Makefile" ;;
17467
 
    "examples/tradeclientgui/Makefile") CONFIG_FILES="$CONFIG_FILES examples/tradeclientgui/Makefile" ;;
17468
 
    "examples/tradeclientgui/banzai/Makefile") CONFIG_FILES="$CONFIG_FILES examples/tradeclientgui/banzai/Makefile" ;;
17469
 
    "examples/tradeclientgui/banzai/test/Makefile") CONFIG_FILES="$CONFIG_FILES examples/tradeclientgui/banzai/test/Makefile" ;;
17470
 
    "examples/tradeclientgui/banzai/src/Makefile") CONFIG_FILES="$CONFIG_FILES examples/tradeclientgui/banzai/src/Makefile" ;;
17471
 
    "examples/tradeclientgui/banzai/src/quickfix/Makefile") CONFIG_FILES="$CONFIG_FILES examples/tradeclientgui/banzai/src/quickfix/Makefile" ;;
17472
 
    "examples/tradeclientgui/banzai/src/quickfix/banzai/Makefile") CONFIG_FILES="$CONFIG_FILES examples/tradeclientgui/banzai/src/quickfix/banzai/Makefile" ;;
17473
 
    "examples/tradeclientgui/banzai/src/quickfix/banzai/ui/Makefile") CONFIG_FILES="$CONFIG_FILES examples/tradeclientgui/banzai/src/quickfix/banzai/ui/Makefile" ;;
17474
 
    "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
17475
 
    "doc/html/Makefile") CONFIG_FILES="$CONFIG_FILES doc/html/Makefile" ;;
17476
 
 
17477
 
  *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
17478
 
  esac
17479
 
done
17480
 
 
17481
 
 
17482
 
# If the user did not use the arguments to specify the items to instantiate,
17483
 
# then the envvar interface is used.  Set only those that are not.
17484
 
# We use the long form for the default assignment because of an extremely
17485
 
# bizarre bug on SunOS 4.1.3.
17486
 
if $ac_need_defaults; then
17487
 
  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
17488
 
  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
17489
 
  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
17490
 
fi
17491
 
 
17492
 
# Have a temporary directory for convenience.  Make it in the build tree
17493
 
# simply because there is no reason against having it here, and in addition,
17494
 
# creating and moving files from /tmp can sometimes cause problems.
17495
 
# Hook for its removal unless debugging.
17496
 
# Note that there is a small window in which the directory will not be cleaned:
17497
 
# after its creation but before its name has been assigned to `$tmp'.
17498
 
$debug ||
17499
 
{
17500
 
  tmp=
17501
 
  trap 'exit_status=$?
17502
 
  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
17503
 
' 0
17504
 
  trap 'as_fn_exit 1' 1 2 13 15
17505
 
}
17506
 
# Create a (secure) tmp directory for tmp files.
17507
 
 
17508
 
{
17509
 
  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
17510
 
  test -n "$tmp" && test -d "$tmp"
17511
 
}  ||
17512
 
{
17513
 
  tmp=./conf$$-$RANDOM
17514
 
  (umask 077 && mkdir "$tmp")
17515
 
} || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
17516
 
 
17517
 
# Set up the scripts for CONFIG_FILES section.
17518
 
# No need to generate them if there are no CONFIG_FILES.
17519
 
# This happens for instance with `./config.status config.h'.
17520
 
if test -n "$CONFIG_FILES"; then
17521
 
 
17522
 
 
17523
 
ac_cr=`echo X | tr X '\015'`
17524
 
# On cygwin, bash can eat \r inside `` if the user requested igncr.
17525
 
# But we know of no other shell where ac_cr would be empty at this
17526
 
# point, so we can use a bashism as a fallback.
17527
 
if test "x$ac_cr" = x; then
17528
 
  eval ac_cr=\$\'\\r\'
17529
 
fi
17530
 
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
17531
 
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
17532
 
  ac_cs_awk_cr='\r'
17533
 
else
17534
 
  ac_cs_awk_cr=$ac_cr
17535
 
fi
17536
 
 
17537
 
echo 'BEGIN {' >"$tmp/subs1.awk" &&
17538
 
_ACEOF
17539
 
 
17540
 
 
17541
 
{
17542
 
  echo "cat >conf$$subs.awk <<_ACEOF" &&
17543
 
  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
17544
 
  echo "_ACEOF"
17545
 
} >conf$$subs.sh ||
17546
 
  as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
17547
 
ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
17548
 
ac_delim='%!_!# '
17549
 
for ac_last_try in false false false false false :; do
17550
 
  . ./conf$$subs.sh ||
17551
 
    as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
17552
 
 
17553
 
  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
17554
 
  if test $ac_delim_n = $ac_delim_num; then
17555
 
    break
17556
 
  elif $ac_last_try; then
17557
 
    as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
17558
 
  else
17559
 
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
17560
 
  fi
17561
 
done
17562
 
rm -f conf$$subs.sh
17563
 
 
17564
 
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17565
 
cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
17566
 
_ACEOF
17567
 
sed -n '
17568
 
h
17569
 
s/^/S["/; s/!.*/"]=/
17570
 
p
17571
 
g
17572
 
s/^[^!]*!//
17573
 
:repl
17574
 
t repl
17575
 
s/'"$ac_delim"'$//
17576
 
t delim
17577
 
:nl
17578
 
h
17579
 
s/\(.\{148\}\).*/\1/
17580
 
t more1
17581
 
s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
17582
 
p
17583
 
n
17584
 
b repl
17585
 
:more1
17586
 
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
17587
 
p
17588
 
g
17589
 
s/.\{148\}//
17590
 
t nl
17591
 
:delim
17592
 
h
17593
 
s/\(.\{148\}\).*/\1/
17594
 
t more2
17595
 
s/["\\]/\\&/g; s/^/"/; s/$/"/
17596
 
p
17597
 
b
17598
 
:more2
17599
 
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
17600
 
p
17601
 
g
17602
 
s/.\{148\}//
17603
 
t delim
17604
 
' <conf$$subs.awk | sed '
17605
 
/^[^""]/{
17606
 
  N
17607
 
  s/\n//
17608
 
}
17609
 
' >>$CONFIG_STATUS || ac_write_fail=1
17610
 
rm -f conf$$subs.awk
17611
 
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17612
 
_ACAWK
17613
 
cat >>"\$tmp/subs1.awk" <<_ACAWK &&
17614
 
  for (key in S) S_is_set[key] = 1
17615
 
  FS = ""
17616
 
 
17617
 
}
17618
 
{
17619
 
  line = $ 0
17620
 
  nfields = split(line, field, "@")
17621
 
  substed = 0
17622
 
  len = length(field[1])
17623
 
  for (i = 2; i < nfields; i++) {
17624
 
    key = field[i]
17625
 
    keylen = length(key)
17626
 
    if (S_is_set[key]) {
17627
 
      value = S[key]
17628
 
      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
17629
 
      len += length(value) + length(field[++i])
17630
 
      substed = 1
17631
 
    } else
17632
 
      len += 1 + keylen
17633
 
  }
17634
 
 
17635
 
  print line
17636
 
}
17637
 
 
17638
 
_ACAWK
17639
 
_ACEOF
17640
 
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17641
 
if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
17642
 
  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
17643
 
else
17644
 
  cat
17645
 
fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
17646
 
  || as_fn_error "could not setup config files machinery" "$LINENO" 5
17647
 
_ACEOF
17648
 
 
17649
 
# VPATH may cause trouble with some makes, so we remove $(srcdir),
17650
 
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
17651
 
# trailing colons and then remove the whole line if VPATH becomes empty
17652
 
# (actually we leave an empty line to preserve line numbers).
17653
 
if test "x$srcdir" = x.; then
17654
 
  ac_vpsub='/^[  ]*VPATH[        ]*=/{
17655
 
s/:*\$(srcdir):*/:/
17656
 
s/:*\${srcdir}:*/:/
17657
 
s/:*@srcdir@:*/:/
17658
 
s/^\([^=]*=[     ]*\):*/\1/
17659
 
s/:*$//
17660
 
s/^[^=]*=[       ]*$//
17661
 
}'
17662
 
fi
17663
 
 
17664
 
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17665
 
fi # test -n "$CONFIG_FILES"
17666
 
 
17667
 
# Set up the scripts for CONFIG_HEADERS section.
17668
 
# No need to generate them if there are no CONFIG_HEADERS.
17669
 
# This happens for instance with `./config.status Makefile'.
17670
 
if test -n "$CONFIG_HEADERS"; then
17671
 
cat >"$tmp/defines.awk" <<\_ACAWK ||
17672
 
BEGIN {
17673
 
_ACEOF
17674
 
 
17675
 
# Transform confdefs.h into an awk script `defines.awk', embedded as
17676
 
# here-document in config.status, that substitutes the proper values into
17677
 
# config.h.in to produce config.h.
17678
 
 
17679
 
# Create a delimiter string that does not exist in confdefs.h, to ease
17680
 
# handling of long lines.
17681
 
ac_delim='%!_!# '
17682
 
for ac_last_try in false false :; do
17683
 
  ac_t=`sed -n "/$ac_delim/p" confdefs.h`
17684
 
  if test -z "$ac_t"; then
17685
 
    break
17686
 
  elif $ac_last_try; then
17687
 
    as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
17688
 
  else
17689
 
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
17690
 
  fi
17691
 
done
17692
 
 
17693
 
# For the awk script, D is an array of macro values keyed by name,
17694
 
# likewise P contains macro parameters if any.  Preserve backslash
17695
 
# newline sequences.
17696
 
 
17697
 
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
17698
 
sed -n '
17699
 
s/.\{148\}/&'"$ac_delim"'/g
17700
 
t rset
17701
 
:rset
17702
 
s/^[     ]*#[    ]*define[       ][      ]*/ /
17703
 
t def
17704
 
d
17705
 
:def
17706
 
s/\\$//
17707
 
t bsnl
17708
 
s/["\\]/\\&/g
17709
 
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
17710
 
D["\1"]=" \3"/p
17711
 
s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
17712
 
d
17713
 
:bsnl
17714
 
s/["\\]/\\&/g
17715
 
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
17716
 
D["\1"]=" \3\\\\\\n"\\/p
17717
 
t cont
17718
 
s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
17719
 
t cont
17720
 
d
17721
 
:cont
17722
 
n
17723
 
s/.\{148\}/&'"$ac_delim"'/g
17724
 
t clear
17725
 
:clear
17726
 
s/\\$//
17727
 
t bsnlc
17728
 
s/["\\]/\\&/g; s/^/"/; s/$/"/p
17729
 
d
17730
 
:bsnlc
17731
 
s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
17732
 
b cont
17733
 
' <confdefs.h | sed '
17734
 
s/'"$ac_delim"'/"\\\
17735
 
"/g' >>$CONFIG_STATUS || ac_write_fail=1
17736
 
 
17737
 
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17738
 
  for (key in D) D_is_set[key] = 1
17739
 
  FS = ""
17740
 
}
17741
 
/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
17742
 
  line = \$ 0
17743
 
  split(line, arg, " ")
17744
 
  if (arg[1] == "#") {
17745
 
    defundef = arg[2]
17746
 
    mac1 = arg[3]
17747
 
  } else {
17748
 
    defundef = substr(arg[1], 2)
17749
 
    mac1 = arg[2]
17750
 
  }
17751
 
  split(mac1, mac2, "(") #)
17752
 
  macro = mac2[1]
17753
 
  prefix = substr(line, 1, index(line, defundef) - 1)
17754
 
  if (D_is_set[macro]) {
17755
 
    # Preserve the white space surrounding the "#".
17756
 
    print prefix "define", macro P[macro] D[macro]
17757
 
    next
17758
 
  } else {
17759
 
    # Replace #undef with comments.  This is necessary, for example,
17760
 
    # in the case of _POSIX_SOURCE, which is predefined and required
17761
 
    # on some systems where configure will not decide to define it.
17762
 
    if (defundef == "undef") {
17763
 
      print "/*", prefix defundef, macro, "*/"
17764
 
      next
17765
 
    }
17766
 
  }
17767
 
}
17768
 
{ print }
17769
 
_ACAWK
17770
 
_ACEOF
17771
 
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17772
 
  as_fn_error "could not setup config headers machinery" "$LINENO" 5
17773
 
fi # test -n "$CONFIG_HEADERS"
17774
 
 
17775
 
 
17776
 
eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
17777
 
shift
17778
 
for ac_tag
17779
 
do
17780
 
  case $ac_tag in
17781
 
  :[FHLC]) ac_mode=$ac_tag; continue;;
17782
 
  esac
17783
 
  case $ac_mode$ac_tag in
17784
 
  :[FHL]*:*);;
17785
 
  :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
17786
 
  :[FH]-) ac_tag=-:-;;
17787
 
  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
17788
 
  esac
17789
 
  ac_save_IFS=$IFS
17790
 
  IFS=:
17791
 
  set x $ac_tag
17792
 
  IFS=$ac_save_IFS
17793
 
  shift
17794
 
  ac_file=$1
17795
 
  shift
17796
 
 
17797
 
  case $ac_mode in
17798
 
  :L) ac_source=$1;;
17799
 
  :[FH])
17800
 
    ac_file_inputs=
17801
 
    for ac_f
17802
 
    do
17803
 
      case $ac_f in
17804
 
      -) ac_f="$tmp/stdin";;
17805
 
      *) # Look for the file first in the build tree, then in the source tree
17806
 
         # (if the path is not absolute).  The absolute path cannot be DOS-style,
17807
 
         # because $ac_f cannot contain `:'.
17808
 
         test -f "$ac_f" ||
17809
 
           case $ac_f in
17810
 
           [\\/$]*) false;;
17811
 
           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
17812
 
           esac ||
17813
 
           as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
17814
 
      esac
17815
 
      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
17816
 
      as_fn_append ac_file_inputs " '$ac_f'"
17817
 
    done
17818
 
 
17819
 
    # Let's still pretend it is `configure' which instantiates (i.e., don't
17820
 
    # use $as_me), people would be surprised to read:
17821
 
    #    /* config.h.  Generated by config.status.  */
17822
 
    configure_input='Generated from '`
17823
 
          $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
17824
 
        `' by configure.'
17825
 
    if test x"$ac_file" != x-; then
17826
 
      configure_input="$ac_file.  $configure_input"
17827
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
17828
 
$as_echo "$as_me: creating $ac_file" >&6;}
17829
 
    fi
17830
 
    # Neutralize special characters interpreted by sed in replacement strings.
17831
 
    case $configure_input in #(
17832
 
    *\&* | *\|* | *\\* )
17833
 
       ac_sed_conf_input=`$as_echo "$configure_input" |
17834
 
       sed 's/[\\\\&|]/\\\\&/g'`;; #(
17835
 
    *) ac_sed_conf_input=$configure_input;;
17836
 
    esac
17837
 
 
17838
 
    case $ac_tag in
17839
 
    *:-:* | *:-) cat >"$tmp/stdin" \
17840
 
      || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
17841
 
    esac
17842
 
    ;;
17843
 
  esac
17844
 
 
17845
 
  ac_dir=`$as_dirname -- "$ac_file" ||
17846
 
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17847
 
         X"$ac_file" : 'X\(//\)[^/]' \| \
17848
 
         X"$ac_file" : 'X\(//\)$' \| \
17849
 
         X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
17850
 
$as_echo X"$ac_file" |
17851
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17852
 
            s//\1/
17853
 
            q
17854
 
          }
17855
 
          /^X\(\/\/\)[^/].*/{
17856
 
            s//\1/
17857
 
            q
17858
 
          }
17859
 
          /^X\(\/\/\)$/{
17860
 
            s//\1/
17861
 
            q
17862
 
          }
17863
 
          /^X\(\/\).*/{
17864
 
            s//\1/
17865
 
            q
17866
 
          }
17867
 
          s/.*/./; q'`
17868
 
  as_dir="$ac_dir"; as_fn_mkdir_p
17869
 
  ac_builddir=.
17870
 
 
17871
 
case "$ac_dir" in
17872
 
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
17873
 
*)
17874
 
  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
17875
 
  # A ".." for each directory in $ac_dir_suffix.
17876
 
  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
17877
 
  case $ac_top_builddir_sub in
17878
 
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
17879
 
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
17880
 
  esac ;;
17881
 
esac
17882
 
ac_abs_top_builddir=$ac_pwd
17883
 
ac_abs_builddir=$ac_pwd$ac_dir_suffix
17884
 
# for backward compatibility:
17885
 
ac_top_builddir=$ac_top_build_prefix
17886
 
 
17887
 
case $srcdir in
17888
 
  .)  # We are building in place.
17889
 
    ac_srcdir=.
17890
 
    ac_top_srcdir=$ac_top_builddir_sub
17891
 
    ac_abs_top_srcdir=$ac_pwd ;;
17892
 
  [\\/]* | ?:[\\/]* )  # Absolute name.
17893
 
    ac_srcdir=$srcdir$ac_dir_suffix;
17894
 
    ac_top_srcdir=$srcdir
17895
 
    ac_abs_top_srcdir=$srcdir ;;
17896
 
  *) # Relative name.
17897
 
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
17898
 
    ac_top_srcdir=$ac_top_build_prefix$srcdir
17899
 
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
17900
 
esac
17901
 
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
17902
 
 
17903
 
 
17904
 
  case $ac_mode in
17905
 
  :F)
17906
 
  #
17907
 
  # CONFIG_FILE
17908
 
  #
17909
 
 
17910
 
  case $INSTALL in
17911
 
  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
17912
 
  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
17913
 
  esac
17914
 
  ac_MKDIR_P=$MKDIR_P
17915
 
  case $MKDIR_P in
17916
 
  [\\/$]* | ?:[\\/]* ) ;;
17917
 
  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
17918
 
  esac
17919
 
_ACEOF
17920
 
 
17921
 
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17922
 
# If the template does not know about datarootdir, expand it.
17923
 
# FIXME: This hack should be removed a few years after 2.60.
17924
 
ac_datarootdir_hack=; ac_datarootdir_seen=
17925
 
ac_sed_dataroot='
17926
 
/datarootdir/ {
17927
 
  p
17928
 
  q
17929
 
}
17930
 
/@datadir@/p
17931
 
/@docdir@/p
17932
 
/@infodir@/p
17933
 
/@localedir@/p
17934
 
/@mandir@/p'
17935
 
case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
17936
 
*datarootdir*) ac_datarootdir_seen=yes;;
17937
 
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
17938
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
17939
 
$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
17940
 
_ACEOF
17941
 
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17942
 
  ac_datarootdir_hack='
17943
 
  s&@datadir@&$datadir&g
17944
 
  s&@docdir@&$docdir&g
17945
 
  s&@infodir@&$infodir&g
17946
 
  s&@localedir@&$localedir&g
17947
 
  s&@mandir@&$mandir&g
17948
 
  s&\\\${datarootdir}&$datarootdir&g' ;;
17949
 
esac
17950
 
_ACEOF
17951
 
 
17952
 
# Neutralize VPATH when `$srcdir' = `.'.
17953
 
# Shell code in configure.ac might set extrasub.
17954
 
# FIXME: do we really want to maintain this feature?
17955
 
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17956
 
ac_sed_extra="$ac_vpsub
17957
 
$extrasub
17958
 
_ACEOF
17959
 
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17960
 
:t
17961
 
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
17962
 
s|@configure_input@|$ac_sed_conf_input|;t t
17963
 
s&@top_builddir@&$ac_top_builddir_sub&;t t
17964
 
s&@top_build_prefix@&$ac_top_build_prefix&;t t
17965
 
s&@srcdir@&$ac_srcdir&;t t
17966
 
s&@abs_srcdir@&$ac_abs_srcdir&;t t
17967
 
s&@top_srcdir@&$ac_top_srcdir&;t t
17968
 
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
17969
 
s&@builddir@&$ac_builddir&;t t
17970
 
s&@abs_builddir@&$ac_abs_builddir&;t t
17971
 
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
17972
 
s&@INSTALL@&$ac_INSTALL&;t t
17973
 
s&@MKDIR_P@&$ac_MKDIR_P&;t t
17974
 
$ac_datarootdir_hack
17975
 
"
17976
 
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
17977
 
  || as_fn_error "could not create $ac_file" "$LINENO" 5
17978
 
 
17979
 
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
17980
 
  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
17981
 
  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
17982
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
17983
 
which seems to be undefined.  Please make sure it is defined." >&5
17984
 
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
17985
 
which seems to be undefined.  Please make sure it is defined." >&2;}
17986
 
 
17987
 
  rm -f "$tmp/stdin"
17988
 
  case $ac_file in
17989
 
  -) cat "$tmp/out" && rm -f "$tmp/out";;
17990
 
  *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
17991
 
  esac \
17992
 
  || as_fn_error "could not create $ac_file" "$LINENO" 5
17993
 
 ;;
17994
 
  :H)
17995
 
  #
17996
 
  # CONFIG_HEADER
17997
 
  #
17998
 
  if test x"$ac_file" != x-; then
17999
 
    {
18000
 
      $as_echo "/* $configure_input  */" \
18001
 
      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
18002
 
    } >"$tmp/config.h" \
18003
 
      || as_fn_error "could not create $ac_file" "$LINENO" 5
18004
 
    if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
18005
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
18006
 
$as_echo "$as_me: $ac_file is unchanged" >&6;}
18007
 
    else
18008
 
      rm -f "$ac_file"
18009
 
      mv "$tmp/config.h" "$ac_file" \
18010
 
        || as_fn_error "could not create $ac_file" "$LINENO" 5
18011
 
    fi
18012
 
  else
18013
 
    $as_echo "/* $configure_input  */" \
18014
 
      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
18015
 
      || as_fn_error "could not create -" "$LINENO" 5
18016
 
  fi
18017
 
# Compute "$ac_file"'s index in $config_headers.
18018
 
_am_arg="$ac_file"
18019
 
_am_stamp_count=1
18020
 
for _am_header in $config_headers :; do
18021
 
  case $_am_header in
18022
 
    $_am_arg | $_am_arg:* )
18023
 
      break ;;
18024
 
    * )
18025
 
      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
18026
 
  esac
18027
 
done
18028
 
echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
18029
 
$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18030
 
         X"$_am_arg" : 'X\(//\)[^/]' \| \
18031
 
         X"$_am_arg" : 'X\(//\)$' \| \
18032
 
         X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
18033
 
$as_echo X"$_am_arg" |
18034
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18035
 
            s//\1/
18036
 
            q
18037
 
          }
18038
 
          /^X\(\/\/\)[^/].*/{
18039
 
            s//\1/
18040
 
            q
18041
 
          }
18042
 
          /^X\(\/\/\)$/{
18043
 
            s//\1/
18044
 
            q
18045
 
          }
18046
 
          /^X\(\/\).*/{
18047
 
            s//\1/
18048
 
            q
18049
 
          }
18050
 
          s/.*/./; q'`/stamp-h$_am_stamp_count
18051
 
 ;;
18052
 
 
18053
 
  :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
18054
 
$as_echo "$as_me: executing $ac_file commands" >&6;}
18055
 
 ;;
18056
 
  esac
18057
 
 
18058
 
 
18059
 
  case $ac_file$ac_mode in
18060
 
    "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
18061
 
  # Autoconf 2.62 quotes --file arguments for eval, but not when files
18062
 
  # are listed without --file.  Let's play safe and only enable the eval
18063
 
  # if we detect the quoting.
18064
 
  case $CONFIG_FILES in
18065
 
  *\'*) eval set x "$CONFIG_FILES" ;;
18066
 
  *)   set x $CONFIG_FILES ;;
18067
 
  esac
18068
 
  shift
18069
 
  for mf
18070
 
  do
18071
 
    # Strip MF so we end up with the name of the file.
18072
 
    mf=`echo "$mf" | sed -e 's/:.*$//'`
18073
 
    # Check whether this is an Automake generated Makefile or not.
18074
 
    # We used to match only the files named `Makefile.in', but
18075
 
    # some people rename them; so instead we look at the file content.
18076
 
    # Grep'ing the first line is not enough: some people post-process
18077
 
    # each Makefile.in and add a new line on top of each file to say so.
18078
 
    # Grep'ing the whole file is not good either: AIX grep has a line
18079
 
    # limit of 2048, but all sed's we know have understand at least 4000.
18080
 
    if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
18081
 
      dirpart=`$as_dirname -- "$mf" ||
18082
 
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18083
 
         X"$mf" : 'X\(//\)[^/]' \| \
18084
 
         X"$mf" : 'X\(//\)$' \| \
18085
 
         X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
18086
 
$as_echo X"$mf" |
18087
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18088
 
            s//\1/
18089
 
            q
18090
 
          }
18091
 
          /^X\(\/\/\)[^/].*/{
18092
 
            s//\1/
18093
 
            q
18094
 
          }
18095
 
          /^X\(\/\/\)$/{
18096
 
            s//\1/
18097
 
            q
18098
 
          }
18099
 
          /^X\(\/\).*/{
18100
 
            s//\1/
18101
 
            q
18102
 
          }
18103
 
          s/.*/./; q'`
18104
 
    else
18105
 
      continue
18106
 
    fi
18107
 
    # Extract the definition of DEPDIR, am__include, and am__quote
18108
 
    # from the Makefile without running `make'.
18109
 
    DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
18110
 
    test -z "$DEPDIR" && continue
18111
 
    am__include=`sed -n 's/^am__include = //p' < "$mf"`
18112
 
    test -z "am__include" && continue
18113
 
    am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
18114
 
    # When using ansi2knr, U may be empty or an underscore; expand it
18115
 
    U=`sed -n 's/^U = //p' < "$mf"`
18116
 
    # Find all dependency output files, they are included files with
18117
 
    # $(DEPDIR) in their names.  We invoke sed twice because it is the
18118
 
    # simplest approach to changing $(DEPDIR) to its actual value in the
18119
 
    # expansion.
18120
 
    for file in `sed -n "
18121
 
      s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
18122
 
         sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
18123
 
      # Make sure the directory exists.
18124
 
      test -f "$dirpart/$file" && continue
18125
 
      fdir=`$as_dirname -- "$file" ||
18126
 
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18127
 
         X"$file" : 'X\(//\)[^/]' \| \
18128
 
         X"$file" : 'X\(//\)$' \| \
18129
 
         X"$file" : 'X\(/\)' \| . 2>/dev/null ||
18130
 
$as_echo X"$file" |
18131
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18132
 
            s//\1/
18133
 
            q
18134
 
          }
18135
 
          /^X\(\/\/\)[^/].*/{
18136
 
            s//\1/
18137
 
            q
18138
 
          }
18139
 
          /^X\(\/\/\)$/{
18140
 
            s//\1/
18141
 
            q
18142
 
          }
18143
 
          /^X\(\/\).*/{
18144
 
            s//\1/
18145
 
            q
18146
 
          }
18147
 
          s/.*/./; q'`
18148
 
      as_dir=$dirpart/$fdir; as_fn_mkdir_p
18149
 
      # echo "creating $dirpart/$file"
18150
 
      echo '# dummy' > "$dirpart/$file"
18151
 
    done
18152
 
  done
18153
 
}
18154
 
 ;;
18155
 
    "libtool":C)
18156
 
 
18157
 
    # See if we are running on zsh, and set the options which allow our
18158
 
    # commands through without removal of \ escapes.
18159
 
    if test -n "${ZSH_VERSION+set}" ; then
18160
 
      setopt NO_GLOB_SUBST
18161
 
    fi
18162
 
 
18163
 
    cfgfile="${ofile}T"
18164
 
    trap "$RM \"$cfgfile\"; exit 1" 1 2 15
18165
 
    $RM "$cfgfile"
18166
 
 
18167
 
    cat <<_LT_EOF >> "$cfgfile"
18168
 
#! $SHELL
18169
 
 
18170
 
# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
18171
 
# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
18172
 
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
18173
 
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
18174
 
#
18175
 
#   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
18176
 
#                 2006, 2007, 2008 Free Software Foundation, Inc.
18177
 
#   Written by Gordon Matzigkeit, 1996
18178
 
#
18179
 
#   This file is part of GNU Libtool.
18180
 
#
18181
 
# GNU Libtool is free software; you can redistribute it and/or
18182
 
# modify it under the terms of the GNU General Public License as
18183
 
# published by the Free Software Foundation; either version 2 of
18184
 
# the License, or (at your option) any later version.
18185
 
#
18186
 
# As a special exception to the GNU General Public License,
18187
 
# if you distribute this file as part of a program or library that
18188
 
# is built using GNU Libtool, you may include this file under the
18189
 
# same distribution terms that you use for the rest of that program.
18190
 
#
18191
 
# GNU Libtool is distributed in the hope that it will be useful,
18192
 
# but WITHOUT ANY WARRANTY; without even the implied warranty of
18193
 
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18194
 
# GNU General Public License for more details.
18195
 
#
18196
 
# You should have received a copy of the GNU General Public License
18197
 
# along with GNU Libtool; see the file COPYING.  If not, a copy
18198
 
# can be downloaded from http://www.gnu.org/licenses/gpl.html, or
18199
 
# obtained by writing to the Free Software Foundation, Inc.,
18200
 
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
18201
 
 
18202
 
 
18203
 
# The names of the tagged configurations supported by this script.
18204
 
available_tags="CXX "
18205
 
 
18206
 
# ### BEGIN LIBTOOL CONFIG
18207
 
 
18208
 
# Whether or not to build static libraries.
18209
 
build_old_libs=$enable_static
18210
 
 
18211
 
# Assembler program.
18212
 
AS=$AS
18213
 
 
18214
 
# DLL creation program.
18215
 
DLLTOOL=$DLLTOOL
18216
 
 
18217
 
# Object dumper program.
18218
 
OBJDUMP=$OBJDUMP
18219
 
 
18220
 
# Which release of libtool.m4 was used?
18221
 
macro_version=$macro_version
18222
 
macro_revision=$macro_revision
18223
 
 
18224
 
# Whether or not to build shared libraries.
18225
 
build_libtool_libs=$enable_shared
18226
 
 
18227
 
# What type of objects to build.
18228
 
pic_mode=$pic_mode
18229
 
 
18230
 
# Whether or not to optimize for fast installation.
18231
 
fast_install=$enable_fast_install
18232
 
 
18233
 
# The host system.
18234
 
host_alias=$host_alias
18235
 
host=$host
18236
 
host_os=$host_os
18237
 
 
18238
 
# The build system.
18239
 
build_alias=$build_alias
18240
 
build=$build
18241
 
build_os=$build_os
18242
 
 
18243
 
# A sed program that does not truncate output.
18244
 
SED=$lt_SED
18245
 
 
18246
 
# Sed that helps us avoid accidentally triggering echo(1) options like -n.
18247
 
Xsed="\$SED -e 1s/^X//"
18248
 
 
18249
 
# A grep program that handles long lines.
18250
 
GREP=$lt_GREP
18251
 
 
18252
 
# An ERE matcher.
18253
 
EGREP=$lt_EGREP
18254
 
 
18255
 
# A literal string matcher.
18256
 
FGREP=$lt_FGREP
18257
 
 
18258
 
# A BSD- or MS-compatible name lister.
18259
 
NM=$lt_NM
18260
 
 
18261
 
# Whether we need soft or hard links.
18262
 
LN_S=$lt_LN_S
18263
 
 
18264
 
# What is the maximum length of a command?
18265
 
max_cmd_len=$max_cmd_len
18266
 
 
18267
 
# Object file suffix (normally "o").
18268
 
objext=$ac_objext
18269
 
 
18270
 
# Executable file suffix (normally "").
18271
 
exeext=$exeext
18272
 
 
18273
 
# whether the shell understands "unset".
18274
 
lt_unset=$lt_unset
18275
 
 
18276
 
# turn spaces into newlines.
18277
 
SP2NL=$lt_lt_SP2NL
18278
 
 
18279
 
# turn newlines into spaces.
18280
 
NL2SP=$lt_lt_NL2SP
18281
 
 
18282
 
# How to create reloadable object files.
18283
 
reload_flag=$lt_reload_flag
18284
 
reload_cmds=$lt_reload_cmds
18285
 
 
18286
 
# Method to check whether dependent libraries are shared objects.
18287
 
deplibs_check_method=$lt_deplibs_check_method
18288
 
 
18289
 
# Command to use when deplibs_check_method == "file_magic".
18290
 
file_magic_cmd=$lt_file_magic_cmd
18291
 
 
18292
 
# The archiver.
18293
 
AR=$lt_AR
18294
 
AR_FLAGS=$lt_AR_FLAGS
18295
 
 
18296
 
# A symbol stripping program.
18297
 
STRIP=$lt_STRIP
18298
 
 
18299
 
# Commands used to install an old-style archive.
18300
 
RANLIB=$lt_RANLIB
18301
 
old_postinstall_cmds=$lt_old_postinstall_cmds
18302
 
old_postuninstall_cmds=$lt_old_postuninstall_cmds
18303
 
 
18304
 
# A C compiler.
18305
 
LTCC=$lt_CC
18306
 
 
18307
 
# LTCC compiler flags.
18308
 
LTCFLAGS=$lt_CFLAGS
18309
 
 
18310
 
# Take the output of nm and produce a listing of raw symbols and C names.
18311
 
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
18312
 
 
18313
 
# Transform the output of nm in a proper C declaration.
18314
 
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
18315
 
 
18316
 
# Transform the output of nm in a C name address pair.
18317
 
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
18318
 
 
18319
 
# Transform the output of nm in a C name address pair when lib prefix is needed.
18320
 
global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
18321
 
 
18322
 
# The name of the directory that contains temporary libtool files.
18323
 
objdir=$objdir
18324
 
 
18325
 
# Shell to use when invoking shell scripts.
18326
 
SHELL=$lt_SHELL
18327
 
 
18328
 
# An echo program that does not interpret backslashes.
18329
 
ECHO=$lt_ECHO
18330
 
 
18331
 
# Used to examine libraries when file_magic_cmd begins with "file".
18332
 
MAGIC_CMD=$MAGIC_CMD
18333
 
 
18334
 
# Must we lock files when doing compilation?
18335
 
need_locks=$lt_need_locks
18336
 
 
18337
 
# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
18338
 
DSYMUTIL=$lt_DSYMUTIL
18339
 
 
18340
 
# Tool to change global to local symbols on Mac OS X.
18341
 
NMEDIT=$lt_NMEDIT
18342
 
 
18343
 
# Tool to manipulate fat objects and archives on Mac OS X.
18344
 
LIPO=$lt_LIPO
18345
 
 
18346
 
# ldd/readelf like tool for Mach-O binaries on Mac OS X.
18347
 
OTOOL=$lt_OTOOL
18348
 
 
18349
 
# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
18350
 
OTOOL64=$lt_OTOOL64
18351
 
 
18352
 
# Old archive suffix (normally "a").
18353
 
libext=$libext
18354
 
 
18355
 
# Shared library suffix (normally ".so").
18356
 
shrext_cmds=$lt_shrext_cmds
18357
 
 
18358
 
# The commands to extract the exported symbol list from a shared archive.
18359
 
extract_expsyms_cmds=$lt_extract_expsyms_cmds
18360
 
 
18361
 
# Variables whose values should be saved in libtool wrapper scripts and
18362
 
# restored at link time.
18363
 
variables_saved_for_relink=$lt_variables_saved_for_relink
18364
 
 
18365
 
# Do we need the "lib" prefix for modules?
18366
 
need_lib_prefix=$need_lib_prefix
18367
 
 
18368
 
# Do we need a version for libraries?
18369
 
need_version=$need_version
18370
 
 
18371
 
# Library versioning type.
18372
 
version_type=$version_type
18373
 
 
18374
 
# Shared library runtime path variable.
18375
 
runpath_var=$runpath_var
18376
 
 
18377
 
# Shared library path variable.
18378
 
shlibpath_var=$shlibpath_var
18379
 
 
18380
 
# Is shlibpath searched before the hard-coded library search path?
18381
 
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
18382
 
 
18383
 
# Format of library name prefix.
18384
 
libname_spec=$lt_libname_spec
18385
 
 
18386
 
# List of archive names.  First name is the real one, the rest are links.
18387
 
# The last name is the one that the linker finds with -lNAME
18388
 
library_names_spec=$lt_library_names_spec
18389
 
 
18390
 
# The coded name of the library, if different from the real name.
18391
 
soname_spec=$lt_soname_spec
18392
 
 
18393
 
# Command to use after installation of a shared archive.
18394
 
postinstall_cmds=$lt_postinstall_cmds
18395
 
 
18396
 
# Command to use after uninstallation of a shared archive.
18397
 
postuninstall_cmds=$lt_postuninstall_cmds
18398
 
 
18399
 
# Commands used to finish a libtool library installation in a directory.
18400
 
finish_cmds=$lt_finish_cmds
18401
 
 
18402
 
# As "finish_cmds", except a single script fragment to be evaled but
18403
 
# not shown.
18404
 
finish_eval=$lt_finish_eval
18405
 
 
18406
 
# Whether we should hardcode library paths into libraries.
18407
 
hardcode_into_libs=$hardcode_into_libs
18408
 
 
18409
 
# Compile-time system search path for libraries.
18410
 
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
18411
 
 
18412
 
# Run-time system search path for libraries.
18413
 
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
18414
 
 
18415
 
# Whether dlopen is supported.
18416
 
dlopen_support=$enable_dlopen
18417
 
 
18418
 
# Whether dlopen of programs is supported.
18419
 
dlopen_self=$enable_dlopen_self
18420
 
 
18421
 
# Whether dlopen of statically linked programs is supported.
18422
 
dlopen_self_static=$enable_dlopen_self_static
18423
 
 
18424
 
# Commands to strip libraries.
18425
 
old_striplib=$lt_old_striplib
18426
 
striplib=$lt_striplib
18427
 
 
18428
 
 
18429
 
# The linker used to build libraries.
18430
 
LD=$lt_LD
18431
 
 
18432
 
# Commands used to build an old-style archive.
18433
 
old_archive_cmds=$lt_old_archive_cmds
18434
 
 
18435
 
# A language specific compiler.
18436
 
CC=$lt_compiler
18437
 
 
18438
 
# Is the compiler the GNU compiler?
18439
 
with_gcc=$GCC
18440
 
 
18441
 
# Compiler flag to turn off builtin functions.
18442
 
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
18443
 
 
18444
 
# How to pass a linker flag through the compiler.
18445
 
wl=$lt_lt_prog_compiler_wl
18446
 
 
18447
 
# Additional compiler flags for building library objects.
18448
 
pic_flag=$lt_lt_prog_compiler_pic
18449
 
 
18450
 
# Compiler flag to prevent dynamic linking.
18451
 
link_static_flag=$lt_lt_prog_compiler_static
18452
 
 
18453
 
# Does compiler simultaneously support -c and -o options?
18454
 
compiler_c_o=$lt_lt_cv_prog_compiler_c_o
18455
 
 
18456
 
# Whether or not to add -lc for building shared libraries.
18457
 
build_libtool_need_lc=$archive_cmds_need_lc
18458
 
 
18459
 
# Whether or not to disallow shared libs when runtime libs are static.
18460
 
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
18461
 
 
18462
 
# Compiler flag to allow reflexive dlopens.
18463
 
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
18464
 
 
18465
 
# Compiler flag to generate shared objects directly from archives.
18466
 
whole_archive_flag_spec=$lt_whole_archive_flag_spec
18467
 
 
18468
 
# Whether the compiler copes with passing no objects directly.
18469
 
compiler_needs_object=$lt_compiler_needs_object
18470
 
 
18471
 
# Create an old-style archive from a shared archive.
18472
 
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
18473
 
 
18474
 
# Create a temporary old-style archive to link instead of a shared archive.
18475
 
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
18476
 
 
18477
 
# Commands used to build a shared archive.
18478
 
archive_cmds=$lt_archive_cmds
18479
 
archive_expsym_cmds=$lt_archive_expsym_cmds
18480
 
 
18481
 
# Commands used to build a loadable module if different from building
18482
 
# a shared archive.
18483
 
module_cmds=$lt_module_cmds
18484
 
module_expsym_cmds=$lt_module_expsym_cmds
18485
 
 
18486
 
# Whether we are building with GNU ld or not.
18487
 
with_gnu_ld=$lt_with_gnu_ld
18488
 
 
18489
 
# Flag that allows shared libraries with undefined symbols to be built.
18490
 
allow_undefined_flag=$lt_allow_undefined_flag
18491
 
 
18492
 
# Flag that enforces no undefined symbols.
18493
 
no_undefined_flag=$lt_no_undefined_flag
18494
 
 
18495
 
# Flag to hardcode \$libdir into a binary during linking.
18496
 
# This must work even if \$libdir does not exist
18497
 
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
18498
 
 
18499
 
# If ld is used when linking, flag to hardcode \$libdir into a binary
18500
 
# during linking.  This must work even if \$libdir does not exist.
18501
 
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
18502
 
 
18503
 
# Whether we need a single "-rpath" flag with a separated argument.
18504
 
hardcode_libdir_separator=$lt_hardcode_libdir_separator
18505
 
 
18506
 
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18507
 
# DIR into the resulting binary.
18508
 
hardcode_direct=$hardcode_direct
18509
 
 
18510
 
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18511
 
# DIR into the resulting binary and the resulting library dependency is
18512
 
# "absolute",i.e impossible to change by setting \${shlibpath_var} if the
18513
 
# library is relocated.
18514
 
hardcode_direct_absolute=$hardcode_direct_absolute
18515
 
 
18516
 
# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
18517
 
# into the resulting binary.
18518
 
hardcode_minus_L=$hardcode_minus_L
18519
 
 
18520
 
# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
18521
 
# into the resulting binary.
18522
 
hardcode_shlibpath_var=$hardcode_shlibpath_var
18523
 
 
18524
 
# Set to "yes" if building a shared library automatically hardcodes DIR
18525
 
# into the library and all subsequent libraries and executables linked
18526
 
# against it.
18527
 
hardcode_automatic=$hardcode_automatic
18528
 
 
18529
 
# Set to yes if linker adds runtime paths of dependent libraries
18530
 
# to runtime path list.
18531
 
inherit_rpath=$inherit_rpath
18532
 
 
18533
 
# Whether libtool must link a program against all its dependency libraries.
18534
 
link_all_deplibs=$link_all_deplibs
18535
 
 
18536
 
# Fix the shell variable \$srcfile for the compiler.
18537
 
fix_srcfile_path=$lt_fix_srcfile_path
18538
 
 
18539
 
# Set to "yes" if exported symbols are required.
18540
 
always_export_symbols=$always_export_symbols
18541
 
 
18542
 
# The commands to list exported symbols.
18543
 
export_symbols_cmds=$lt_export_symbols_cmds
18544
 
 
18545
 
# Symbols that should not be listed in the preloaded symbols.
18546
 
exclude_expsyms=$lt_exclude_expsyms
18547
 
 
18548
 
# Symbols that must always be exported.
18549
 
include_expsyms=$lt_include_expsyms
18550
 
 
18551
 
# Commands necessary for linking programs (against libraries) with templates.
18552
 
prelink_cmds=$lt_prelink_cmds
18553
 
 
18554
 
# Specify filename containing input files.
18555
 
file_list_spec=$lt_file_list_spec
18556
 
 
18557
 
# How to hardcode a shared library path into an executable.
18558
 
hardcode_action=$hardcode_action
18559
 
 
18560
 
# The directories searched by this compiler when creating a shared library.
18561
 
compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
18562
 
 
18563
 
# Dependencies to place before and after the objects being linked to
18564
 
# create a shared library.
18565
 
predep_objects=$lt_predep_objects
18566
 
postdep_objects=$lt_postdep_objects
18567
 
predeps=$lt_predeps
18568
 
postdeps=$lt_postdeps
18569
 
 
18570
 
# The library search path used internally by the compiler when linking
18571
 
# a shared library.
18572
 
compiler_lib_search_path=$lt_compiler_lib_search_path
18573
 
 
18574
 
# ### END LIBTOOL CONFIG
18575
 
 
18576
 
_LT_EOF
18577
 
 
18578
 
  case $host_os in
18579
 
  aix3*)
18580
 
    cat <<\_LT_EOF >> "$cfgfile"
18581
 
# AIX sometimes has problems with the GCC collect2 program.  For some
18582
 
# reason, if we set the COLLECT_NAMES environment variable, the problems
18583
 
# vanish in a puff of smoke.
18584
 
if test "X${COLLECT_NAMES+set}" != Xset; then
18585
 
  COLLECT_NAMES=
18586
 
  export COLLECT_NAMES
18587
 
fi
18588
 
_LT_EOF
18589
 
    ;;
18590
 
  esac
18591
 
 
18592
 
 
18593
 
ltmain="$ac_aux_dir/ltmain.sh"
18594
 
 
18595
 
 
18596
 
  # We use sed instead of cat because bash on DJGPP gets confused if
18597
 
  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
18598
 
  # text mode, it properly converts lines to CR/LF.  This bash problem
18599
 
  # is reportedly fixed, but why not run on old versions too?
18600
 
  sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
18601
 
    || (rm -f "$cfgfile"; exit 1)
18602
 
 
18603
 
  case $xsi_shell in
18604
 
  yes)
18605
 
    cat << \_LT_EOF >> "$cfgfile"
18606
 
 
18607
 
# func_dirname file append nondir_replacement
18608
 
# Compute the dirname of FILE.  If nonempty, add APPEND to the result,
18609
 
# otherwise set result to NONDIR_REPLACEMENT.
18610
 
func_dirname ()
18611
 
{
18612
 
  case ${1} in
18613
 
    */*) func_dirname_result="${1%/*}${2}" ;;
18614
 
    *  ) func_dirname_result="${3}" ;;
18615
 
  esac
18616
 
}
18617
 
 
18618
 
# func_basename file
18619
 
func_basename ()
18620
 
{
18621
 
  func_basename_result="${1##*/}"
18622
 
}
18623
 
 
18624
 
# func_dirname_and_basename file append nondir_replacement
18625
 
# perform func_basename and func_dirname in a single function
18626
 
# call:
18627
 
#   dirname:  Compute the dirname of FILE.  If nonempty,
18628
 
#             add APPEND to the result, otherwise set result
18629
 
#             to NONDIR_REPLACEMENT.
18630
 
#             value returned in "$func_dirname_result"
18631
 
#   basename: Compute filename of FILE.
18632
 
#             value retuned in "$func_basename_result"
18633
 
# Implementation must be kept synchronized with func_dirname
18634
 
# and func_basename. For efficiency, we do not delegate to
18635
 
# those functions but instead duplicate the functionality here.
18636
 
func_dirname_and_basename ()
18637
 
{
18638
 
  case ${1} in
18639
 
    */*) func_dirname_result="${1%/*}${2}" ;;
18640
 
    *  ) func_dirname_result="${3}" ;;
18641
 
  esac
18642
 
  func_basename_result="${1##*/}"
18643
 
}
18644
 
 
18645
 
# func_stripname prefix suffix name
18646
 
# strip PREFIX and SUFFIX off of NAME.
18647
 
# PREFIX and SUFFIX must not contain globbing or regex special
18648
 
# characters, hashes, percent signs, but SUFFIX may contain a leading
18649
 
# dot (in which case that matches only a dot).
18650
 
func_stripname ()
18651
 
{
18652
 
  # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
18653
 
  # positional parameters, so assign one to ordinary parameter first.
18654
 
  func_stripname_result=${3}
18655
 
  func_stripname_result=${func_stripname_result#"${1}"}
18656
 
  func_stripname_result=${func_stripname_result%"${2}"}
18657
 
}
18658
 
 
18659
 
# func_opt_split
18660
 
func_opt_split ()
18661
 
{
18662
 
  func_opt_split_opt=${1%%=*}
18663
 
  func_opt_split_arg=${1#*=}
18664
 
}
18665
 
 
18666
 
# func_lo2o object
18667
 
func_lo2o ()
18668
 
{
18669
 
  case ${1} in
18670
 
    *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
18671
 
    *)    func_lo2o_result=${1} ;;
18672
 
  esac
18673
 
}
18674
 
 
18675
 
# func_xform libobj-or-source
18676
 
func_xform ()
18677
 
{
18678
 
  func_xform_result=${1%.*}.lo
18679
 
}
18680
 
 
18681
 
# func_arith arithmetic-term...
18682
 
func_arith ()
18683
 
{
18684
 
  func_arith_result=$(( $* ))
18685
 
}
18686
 
 
18687
 
# func_len string
18688
 
# STRING may not start with a hyphen.
18689
 
func_len ()
18690
 
{
18691
 
  func_len_result=${#1}
18692
 
}
18693
 
 
18694
 
_LT_EOF
18695
 
    ;;
18696
 
  *) # Bourne compatible functions.
18697
 
    cat << \_LT_EOF >> "$cfgfile"
18698
 
 
18699
 
# func_dirname file append nondir_replacement
18700
 
# Compute the dirname of FILE.  If nonempty, add APPEND to the result,
18701
 
# otherwise set result to NONDIR_REPLACEMENT.
18702
 
func_dirname ()
18703
 
{
18704
 
  # Extract subdirectory from the argument.
18705
 
  func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
18706
 
  if test "X$func_dirname_result" = "X${1}"; then
18707
 
    func_dirname_result="${3}"
18708
 
  else
18709
 
    func_dirname_result="$func_dirname_result${2}"
18710
 
  fi
18711
 
}
18712
 
 
18713
 
# func_basename file
18714
 
func_basename ()
18715
 
{
18716
 
  func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
18717
 
}
18718
 
 
18719
 
 
18720
 
# func_stripname prefix suffix name
18721
 
# strip PREFIX and SUFFIX off of NAME.
18722
 
# PREFIX and SUFFIX must not contain globbing or regex special
18723
 
# characters, hashes, percent signs, but SUFFIX may contain a leading
18724
 
# dot (in which case that matches only a dot).
18725
 
# func_strip_suffix prefix name
18726
 
func_stripname ()
18727
 
{
18728
 
  case ${2} in
18729
 
    .*) func_stripname_result=`$ECHO "X${3}" \
18730
 
           | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
18731
 
    *)  func_stripname_result=`$ECHO "X${3}" \
18732
 
           | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
18733
 
  esac
18734
 
}
18735
 
 
18736
 
# sed scripts:
18737
 
my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
18738
 
my_sed_long_arg='1s/^-[^=]*=//'
18739
 
 
18740
 
# func_opt_split
18741
 
func_opt_split ()
18742
 
{
18743
 
  func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
18744
 
  func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
18745
 
}
18746
 
 
18747
 
# func_lo2o object
18748
 
func_lo2o ()
18749
 
{
18750
 
  func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
18751
 
}
18752
 
 
18753
 
# func_xform libobj-or-source
18754
 
func_xform ()
18755
 
{
18756
 
  func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
18757
 
}
18758
 
 
18759
 
# func_arith arithmetic-term...
18760
 
func_arith ()
18761
 
{
18762
 
  func_arith_result=`expr "$@"`
18763
 
}
18764
 
 
18765
 
# func_len string
18766
 
# STRING may not start with a hyphen.
18767
 
func_len ()
18768
 
{
18769
 
  func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
18770
 
}
18771
 
 
18772
 
_LT_EOF
18773
 
esac
18774
 
 
18775
 
case $lt_shell_append in
18776
 
  yes)
18777
 
    cat << \_LT_EOF >> "$cfgfile"
18778
 
 
18779
 
# func_append var value
18780
 
# Append VALUE to the end of shell variable VAR.
18781
 
func_append ()
18782
 
{
18783
 
  eval "$1+=\$2"
18784
 
}
18785
 
_LT_EOF
18786
 
    ;;
18787
 
  *)
18788
 
    cat << \_LT_EOF >> "$cfgfile"
18789
 
 
18790
 
# func_append var value
18791
 
# Append VALUE to the end of shell variable VAR.
18792
 
func_append ()
18793
 
{
18794
 
  eval "$1=\$$1\$2"
18795
 
}
18796
 
 
18797
 
_LT_EOF
18798
 
    ;;
18799
 
  esac
18800
 
 
18801
 
 
18802
 
  sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
18803
 
    || (rm -f "$cfgfile"; exit 1)
18804
 
 
18805
 
  mv -f "$cfgfile" "$ofile" ||
18806
 
    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
18807
 
  chmod +x "$ofile"
18808
 
 
18809
 
 
18810
 
    cat <<_LT_EOF >> "$ofile"
18811
 
 
18812
 
# ### BEGIN LIBTOOL TAG CONFIG: CXX
18813
 
 
18814
 
# The linker used to build libraries.
18815
 
LD=$lt_LD_CXX
18816
 
 
18817
 
# Commands used to build an old-style archive.
18818
 
old_archive_cmds=$lt_old_archive_cmds_CXX
18819
 
 
18820
 
# A language specific compiler.
18821
 
CC=$lt_compiler_CXX
18822
 
 
18823
 
# Is the compiler the GNU compiler?
18824
 
with_gcc=$GCC_CXX
18825
 
 
18826
 
# Compiler flag to turn off builtin functions.
18827
 
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
18828
 
 
18829
 
# How to pass a linker flag through the compiler.
18830
 
wl=$lt_lt_prog_compiler_wl_CXX
18831
 
 
18832
 
# Additional compiler flags for building library objects.
18833
 
pic_flag=$lt_lt_prog_compiler_pic_CXX
18834
 
 
18835
 
# Compiler flag to prevent dynamic linking.
18836
 
link_static_flag=$lt_lt_prog_compiler_static_CXX
18837
 
 
18838
 
# Does compiler simultaneously support -c and -o options?
18839
 
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
18840
 
 
18841
 
# Whether or not to add -lc for building shared libraries.
18842
 
build_libtool_need_lc=$archive_cmds_need_lc_CXX
18843
 
 
18844
 
# Whether or not to disallow shared libs when runtime libs are static.
18845
 
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
18846
 
 
18847
 
# Compiler flag to allow reflexive dlopens.
18848
 
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
18849
 
 
18850
 
# Compiler flag to generate shared objects directly from archives.
18851
 
whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
18852
 
 
18853
 
# Whether the compiler copes with passing no objects directly.
18854
 
compiler_needs_object=$lt_compiler_needs_object_CXX
18855
 
 
18856
 
# Create an old-style archive from a shared archive.
18857
 
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
18858
 
 
18859
 
# Create a temporary old-style archive to link instead of a shared archive.
18860
 
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
18861
 
 
18862
 
# Commands used to build a shared archive.
18863
 
archive_cmds=$lt_archive_cmds_CXX
18864
 
archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
18865
 
 
18866
 
# Commands used to build a loadable module if different from building
18867
 
# a shared archive.
18868
 
module_cmds=$lt_module_cmds_CXX
18869
 
module_expsym_cmds=$lt_module_expsym_cmds_CXX
18870
 
 
18871
 
# Whether we are building with GNU ld or not.
18872
 
with_gnu_ld=$lt_with_gnu_ld_CXX
18873
 
 
18874
 
# Flag that allows shared libraries with undefined symbols to be built.
18875
 
allow_undefined_flag=$lt_allow_undefined_flag_CXX
18876
 
 
18877
 
# Flag that enforces no undefined symbols.
18878
 
no_undefined_flag=$lt_no_undefined_flag_CXX
18879
 
 
18880
 
# Flag to hardcode \$libdir into a binary during linking.
18881
 
# This must work even if \$libdir does not exist
18882
 
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
18883
 
 
18884
 
# If ld is used when linking, flag to hardcode \$libdir into a binary
18885
 
# during linking.  This must work even if \$libdir does not exist.
18886
 
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
18887
 
 
18888
 
# Whether we need a single "-rpath" flag with a separated argument.
18889
 
hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
18890
 
 
18891
 
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18892
 
# DIR into the resulting binary.
18893
 
hardcode_direct=$hardcode_direct_CXX
18894
 
 
18895
 
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18896
 
# DIR into the resulting binary and the resulting library dependency is
18897
 
# "absolute",i.e impossible to change by setting \${shlibpath_var} if the
18898
 
# library is relocated.
18899
 
hardcode_direct_absolute=$hardcode_direct_absolute_CXX
18900
 
 
18901
 
# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
18902
 
# into the resulting binary.
18903
 
hardcode_minus_L=$hardcode_minus_L_CXX
18904
 
 
18905
 
# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
18906
 
# into the resulting binary.
18907
 
hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
18908
 
 
18909
 
# Set to "yes" if building a shared library automatically hardcodes DIR
18910
 
# into the library and all subsequent libraries and executables linked
18911
 
# against it.
18912
 
hardcode_automatic=$hardcode_automatic_CXX
18913
 
 
18914
 
# Set to yes if linker adds runtime paths of dependent libraries
18915
 
# to runtime path list.
18916
 
inherit_rpath=$inherit_rpath_CXX
18917
 
 
18918
 
# Whether libtool must link a program against all its dependency libraries.
18919
 
link_all_deplibs=$link_all_deplibs_CXX
18920
 
 
18921
 
# Fix the shell variable \$srcfile for the compiler.
18922
 
fix_srcfile_path=$lt_fix_srcfile_path_CXX
18923
 
 
18924
 
# Set to "yes" if exported symbols are required.
18925
 
always_export_symbols=$always_export_symbols_CXX
18926
 
 
18927
 
# The commands to list exported symbols.
18928
 
export_symbols_cmds=$lt_export_symbols_cmds_CXX
18929
 
 
18930
 
# Symbols that should not be listed in the preloaded symbols.
18931
 
exclude_expsyms=$lt_exclude_expsyms_CXX
18932
 
 
18933
 
# Symbols that must always be exported.
18934
 
include_expsyms=$lt_include_expsyms_CXX
18935
 
 
18936
 
# Commands necessary for linking programs (against libraries) with templates.
18937
 
prelink_cmds=$lt_prelink_cmds_CXX
18938
 
 
18939
 
# Specify filename containing input files.
18940
 
file_list_spec=$lt_file_list_spec_CXX
18941
 
 
18942
 
# How to hardcode a shared library path into an executable.
18943
 
hardcode_action=$hardcode_action_CXX
18944
 
 
18945
 
# The directories searched by this compiler when creating a shared library.
18946
 
compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
18947
 
 
18948
 
# Dependencies to place before and after the objects being linked to
18949
 
# create a shared library.
18950
 
predep_objects=$lt_predep_objects_CXX
18951
 
postdep_objects=$lt_postdep_objects_CXX
18952
 
predeps=$lt_predeps_CXX
18953
 
postdeps=$lt_postdeps_CXX
18954
 
 
18955
 
# The library search path used internally by the compiler when linking
18956
 
# a shared library.
18957
 
compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
18958
 
 
18959
 
# ### END LIBTOOL TAG CONFIG: CXX
18960
 
_LT_EOF
18961
 
 
18962
 
 ;;
18963
 
 
18964
 
  esac
18965
 
done # for ac_tag
18966
 
 
18967
 
 
18968
 
as_fn_exit 0
18969
 
_ACEOF
18970
 
ac_clean_files=$ac_clean_files_save
18971
 
 
18972
 
test $ac_write_fail = 0 ||
18973
 
  as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
18974
 
 
18975
 
 
18976
 
# configure is writing to config.log, and then calls config.status.
18977
 
# config.status does its own redirection, appending to config.log.
18978
 
# Unfortunately, on DOS this fails, as config.log is still kept open
18979
 
# by configure, so config.status won't be able to write to it; its
18980
 
# output is simply discarded.  So we exec the FD to /dev/null,
18981
 
# effectively closing config.log, so it can be properly (re)opened and
18982
 
# appended to by config.status.  When coming back to configure, we
18983
 
# need to make the FD available again.
18984
 
if test "$no_create" != yes; then
18985
 
  ac_cs_success=:
18986
 
  ac_config_status_args=
18987
 
  test "$silent" = yes &&
18988
 
    ac_config_status_args="$ac_config_status_args --quiet"
18989
 
  exec 5>/dev/null
18990
 
  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
18991
 
  exec 5>>config.log
18992
 
  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
18993
 
  # would make configure fail if this is the last instruction.
18994
 
  $ac_cs_success || as_fn_exit $?
18995
 
fi
18996
 
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
18997
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
18998
 
$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
18999
 
fi
19000