~ubuntu-branches/ubuntu/wily/styx/wily

« back to all changes in this revision

Viewing changes to autom4te.cache/output.0

  • Committer: Package Import Robot
  • Author(s): Frederik Schüler
  • Date: 2013-12-28 18:20:37 UTC
  • mfrom: (0.1.5)
  • Revision ID: package-import@ubuntu.com-20131228182037-ihsf1de5y1oe24nf
Tags: 2.0.1-1
New upstream release

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
@%:@! /bin/sh
2
 
@%:@ Guess values for system-dependent variables and create Makefiles.
3
 
@%:@ Generated by GNU Autoconf 2.67.
4
 
@%:@ 
5
 
@%:@ 
6
 
@%:@ Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
7
 
@%:@ 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
8
 
@%:@ Foundation, Inc.
9
 
@%:@ 
10
 
@%:@ 
11
 
@%:@ This configure script is free software; the Free Software Foundation
12
 
@%:@ gives unlimited permission to copy, distribute and modify it.
13
 
## -------------------- ##
14
 
## M4sh Initialization. ##
15
 
## -------------------- ##
16
 
 
17
 
# Be more Bourne compatible
18
 
DUALCASE=1; export DUALCASE # for MKS sh
19
 
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20
 
  emulate sh
21
 
  NULLCMD=:
22
 
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23
 
  # is contrary to our usage.  Disable this feature.
24
 
  alias -g '${1+"$@"}'='"$@"'
25
 
  setopt NO_GLOB_SUBST
26
 
else
27
 
  case `(set -o) 2>/dev/null` in @%:@(
28
 
  *posix*) :
29
 
    set -o posix ;; @%:@(
30
 
  *) :
31
 
     ;;
32
 
esac
33
 
fi
34
 
 
35
 
 
36
 
as_nl='
37
 
'
38
 
export as_nl
39
 
# Printing a long string crashes Solaris 7 /usr/bin/printf.
40
 
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41
 
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42
 
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43
 
# Prefer a ksh shell builtin over an external printf program on Solaris,
44
 
# but without wasting forks for bash or zsh.
45
 
if test -z "$BASH_VERSION$ZSH_VERSION" \
46
 
    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
47
 
  as_echo='print -r --'
48
 
  as_echo_n='print -rn --'
49
 
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
50
 
  as_echo='printf %s\n'
51
 
  as_echo_n='printf %s'
52
 
else
53
 
  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54
 
    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55
 
    as_echo_n='/usr/ucb/echo -n'
56
 
  else
57
 
    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
58
 
    as_echo_n_body='eval
59
 
      arg=$1;
60
 
      case $arg in @%:@(
61
 
      *"$as_nl"*)
62
 
        expr "X$arg" : "X\\(.*\\)$as_nl";
63
 
        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
64
 
      esac;
65
 
      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
66
 
    '
67
 
    export as_echo_n_body
68
 
    as_echo_n='sh -c $as_echo_n_body as_echo'
69
 
  fi
70
 
  export as_echo_body
71
 
  as_echo='sh -c $as_echo_body as_echo'
72
 
fi
73
 
 
74
 
# The user is always right.
75
 
if test "${PATH_SEPARATOR+set}" != set; then
76
 
  PATH_SEPARATOR=:
77
 
  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78
 
    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
79
 
      PATH_SEPARATOR=';'
80
 
  }
81
 
fi
82
 
 
83
 
 
84
 
# IFS
85
 
# We need space, tab and new line, in precisely that order.  Quoting is
86
 
# there to prevent editors from complaining about space-tab.
87
 
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
88
 
# splitting by setting IFS to empty value.)
89
 
IFS=" ""        $as_nl"
90
 
 
91
 
# Find who we are.  Look in the path if we contain no directory separator.
92
 
case $0 in @%:@((
93
 
  *[\\/]* ) as_myself=$0 ;;
94
 
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
95
 
for as_dir in $PATH
96
 
do
97
 
  IFS=$as_save_IFS
98
 
  test -z "$as_dir" && as_dir=.
99
 
    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
100
 
  done
101
 
IFS=$as_save_IFS
102
 
 
103
 
     ;;
104
 
esac
105
 
# We did not find ourselves, most probably we were run as `sh COMMAND'
106
 
# in which case we are not to be found in the path.
107
 
if test "x$as_myself" = x; then
108
 
  as_myself=$0
109
 
fi
110
 
if test ! -f "$as_myself"; then
111
 
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
112
 
  exit 1
113
 
fi
114
 
 
115
 
# Unset variables that we do not need and which cause bugs (e.g. in
116
 
# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
117
 
# suppresses any "Segmentation fault" message there.  '((' could
118
 
# trigger a bug in pdksh 5.2.14.
119
 
for as_var in BASH_ENV ENV MAIL MAILPATH
120
 
do eval test x\${$as_var+set} = xset \
121
 
  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
122
 
done
123
 
PS1='$ '
124
 
PS2='> '
125
 
PS4='+ '
126
 
 
127
 
# NLS nuisances.
128
 
LC_ALL=C
129
 
export LC_ALL
130
 
LANGUAGE=C
131
 
export LANGUAGE
132
 
 
133
 
# CDPATH.
134
 
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
135
 
 
136
 
if test "x$CONFIG_SHELL" = x; then
137
 
  as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
138
 
  emulate sh
139
 
  NULLCMD=:
140
 
  # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
141
 
  # is contrary to our usage.  Disable this feature.
142
 
  alias -g '\${1+\"\$@\"}'='\"\$@\"'
143
 
  setopt NO_GLOB_SUBST
144
 
else
145
 
  case \`(set -o) 2>/dev/null\` in @%:@(
146
 
  *posix*) :
147
 
    set -o posix ;; @%:@(
148
 
  *) :
149
 
     ;;
150
 
esac
151
 
fi
152
 
"
153
 
  as_required="as_fn_return () { (exit \$1); }
154
 
as_fn_success () { as_fn_return 0; }
155
 
as_fn_failure () { as_fn_return 1; }
156
 
as_fn_ret_success () { return 0; }
157
 
as_fn_ret_failure () { return 1; }
158
 
 
159
 
exitcode=0
160
 
as_fn_success || { exitcode=1; echo as_fn_success failed.; }
161
 
as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
162
 
as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
163
 
as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
164
 
if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
165
 
  
166
 
else
167
 
  exitcode=1; echo positional parameters were not saved.
168
 
fi
169
 
test x\$exitcode = x0 || exit 1"
170
 
  as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
171
 
  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
172
 
  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
173
 
  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
174
 
test \$(( 1 + 1 )) = 2 || exit 1"
175
 
  if (eval "$as_required") 2>/dev/null; then :
176
 
  as_have_required=yes
177
 
else
178
 
  as_have_required=no
179
 
fi
180
 
  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
181
 
  
182
 
else
183
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
184
 
as_found=false
185
 
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
186
 
do
187
 
  IFS=$as_save_IFS
188
 
  test -z "$as_dir" && as_dir=.
189
 
  as_found=:
190
 
  case $as_dir in @%:@(
191
 
         /*)
192
 
           for as_base in sh bash ksh sh5; do
193
 
             # Try only shells that exist, to save several forks.
194
 
             as_shell=$as_dir/$as_base
195
 
             if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
196
 
                    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
197
 
  CONFIG_SHELL=$as_shell as_have_required=yes
198
 
                   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
199
 
  break 2
200
 
fi
201
 
fi
202
 
           done;;
203
 
       esac
204
 
  as_found=false
205
 
done
206
 
$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
207
 
              { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
208
 
  CONFIG_SHELL=$SHELL as_have_required=yes
209
 
fi; }
210
 
IFS=$as_save_IFS
211
 
 
212
 
 
213
 
      if test "x$CONFIG_SHELL" != x; then :
214
 
  # We cannot yet assume a decent shell, so we have to provide a
215
 
        # neutralization value for shells without unset; and this also
216
 
        # works around shells that cannot unset nonexistent variables.
217
 
        BASH_ENV=/dev/null
218
 
        ENV=/dev/null
219
 
        (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
220
 
        export CONFIG_SHELL
221
 
        exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
222
 
fi
223
 
 
224
 
    if test x$as_have_required = xno; then :
225
 
  $as_echo "$0: This script requires a shell more modern than all"
226
 
  $as_echo "$0: the shells that I found on your system."
227
 
  if test x${ZSH_VERSION+set} = xset ; then
228
 
    $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
229
 
    $as_echo "$0: be upgraded to zsh 4.3.4 or later."
230
 
  else
231
 
    $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
232
 
$0: including any error possibly output before this
233
 
$0: message. Then install a modern shell, or manually run
234
 
$0: the script under such a shell if you do have one."
235
 
  fi
236
 
  exit 1
237
 
fi
238
 
fi
239
 
fi
240
 
SHELL=${CONFIG_SHELL-/bin/sh}
241
 
export SHELL
242
 
# Unset more variables known to interfere with behavior of common tools.
243
 
CLICOLOR_FORCE= GREP_OPTIONS=
244
 
unset CLICOLOR_FORCE GREP_OPTIONS
245
 
 
246
 
## --------------------- ##
247
 
## M4sh Shell Functions. ##
248
 
## --------------------- ##
249
 
@%:@ as_fn_unset VAR
250
 
@%:@ ---------------
251
 
@%:@ Portably unset VAR.
252
 
as_fn_unset ()
253
 
{
254
 
  { eval $1=; unset $1;}
255
 
}
256
 
as_unset=as_fn_unset
257
 
 
258
 
@%:@ as_fn_set_status STATUS
259
 
@%:@ -----------------------
260
 
@%:@ Set @S|@? to STATUS, without forking.
261
 
as_fn_set_status ()
262
 
{
263
 
  return $1
264
 
} @%:@ as_fn_set_status
265
 
 
266
 
@%:@ as_fn_exit STATUS
267
 
@%:@ -----------------
268
 
@%:@ Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
269
 
as_fn_exit ()
270
 
{
271
 
  set +e
272
 
  as_fn_set_status $1
273
 
  exit $1
274
 
} @%:@ as_fn_exit
275
 
 
276
 
@%:@ as_fn_mkdir_p
277
 
@%:@ -------------
278
 
@%:@ Create "@S|@as_dir" as a directory, including parents if necessary.
279
 
as_fn_mkdir_p ()
280
 
{
281
 
 
282
 
  case $as_dir in #(
283
 
  -*) as_dir=./$as_dir;;
284
 
  esac
285
 
  test -d "$as_dir" || eval $as_mkdir_p || {
286
 
    as_dirs=
287
 
    while :; do
288
 
      case $as_dir in #(
289
 
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
290
 
      *) as_qdir=$as_dir;;
291
 
      esac
292
 
      as_dirs="'$as_qdir' $as_dirs"
293
 
      as_dir=`$as_dirname -- "$as_dir" ||
294
 
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
295
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
296
 
         X"$as_dir" : 'X\(//\)$' \| \
297
 
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
298
 
$as_echo X"$as_dir" |
299
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
300
 
            s//\1/
301
 
            q
302
 
          }
303
 
          /^X\(\/\/\)[^/].*/{
304
 
            s//\1/
305
 
            q
306
 
          }
307
 
          /^X\(\/\/\)$/{
308
 
            s//\1/
309
 
            q
310
 
          }
311
 
          /^X\(\/\).*/{
312
 
            s//\1/
313
 
            q
314
 
          }
315
 
          s/.*/./; q'`
316
 
      test -d "$as_dir" && break
317
 
    done
318
 
    test -z "$as_dirs" || eval "mkdir $as_dirs"
319
 
  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
320
 
 
321
 
 
322
 
} @%:@ as_fn_mkdir_p
323
 
@%:@ as_fn_append VAR VALUE
324
 
@%:@ ----------------------
325
 
@%:@ Append the text in VALUE to the end of the definition contained in VAR. Take
326
 
@%:@ advantage of any shell optimizations that allow amortized linear growth over
327
 
@%:@ repeated appends, instead of the typical quadratic growth present in naive
328
 
@%:@ implementations.
329
 
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
330
 
  eval 'as_fn_append ()
331
 
  {
332
 
    eval $1+=\$2
333
 
  }'
334
 
else
335
 
  as_fn_append ()
336
 
  {
337
 
    eval $1=\$$1\$2
338
 
  }
339
 
fi # as_fn_append
340
 
 
341
 
@%:@ as_fn_arith ARG...
342
 
@%:@ ------------------
343
 
@%:@ Perform arithmetic evaluation on the ARGs, and store the result in the
344
 
@%:@ global @S|@as_val. Take advantage of shells that can avoid forks. The arguments
345
 
@%:@ must be portable across @S|@(()) and expr.
346
 
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
347
 
  eval 'as_fn_arith ()
348
 
  {
349
 
    as_val=$(( $* ))
350
 
  }'
351
 
else
352
 
  as_fn_arith ()
353
 
  {
354
 
    as_val=`expr "$@" || test $? -eq 1`
355
 
  }
356
 
fi # as_fn_arith
357
 
 
358
 
 
359
 
@%:@ as_fn_error STATUS ERROR [LINENO LOG_FD]
360
 
@%:@ ----------------------------------------
361
 
@%:@ Output "`basename @S|@0`: error: ERROR" to stderr. If LINENO and LOG_FD are
362
 
@%:@ provided, also output the error to LOG_FD, referencing LINENO. Then exit the
363
 
@%:@ script with STATUS, using 1 if that was 0.
364
 
as_fn_error ()
365
 
{
366
 
  as_status=$1; test $as_status -eq 0 && as_status=1
367
 
  if test "$4"; then
368
 
    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
369
 
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
370
 
  fi
371
 
  $as_echo "$as_me: error: $2" >&2
372
 
  as_fn_exit $as_status
373
 
} @%:@ as_fn_error
374
 
 
375
 
if expr a : '\(a\)' >/dev/null 2>&1 &&
376
 
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
377
 
  as_expr=expr
378
 
else
379
 
  as_expr=false
380
 
fi
381
 
 
382
 
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
383
 
  as_basename=basename
384
 
else
385
 
  as_basename=false
386
 
fi
387
 
 
388
 
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
389
 
  as_dirname=dirname
390
 
else
391
 
  as_dirname=false
392
 
fi
393
 
 
394
 
as_me=`$as_basename -- "$0" ||
395
 
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
396
 
         X"$0" : 'X\(//\)$' \| \
397
 
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
398
 
$as_echo X/"$0" |
399
 
    sed '/^.*\/\([^/][^/]*\)\/*$/{
400
 
            s//\1/
401
 
            q
402
 
          }
403
 
          /^X\/\(\/\/\)$/{
404
 
            s//\1/
405
 
            q
406
 
          }
407
 
          /^X\/\(\/\).*/{
408
 
            s//\1/
409
 
            q
410
 
          }
411
 
          s/.*/./; q'`
412
 
 
413
 
# Avoid depending upon Character Ranges.
414
 
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
415
 
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
416
 
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
417
 
as_cr_digits='0123456789'
418
 
as_cr_alnum=$as_cr_Letters$as_cr_digits
419
 
 
420
 
 
421
 
  as_lineno_1=$LINENO as_lineno_1a=$LINENO
422
 
  as_lineno_2=$LINENO as_lineno_2a=$LINENO
423
 
  eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
424
 
  test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
425
 
  # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
426
 
  sed -n '
427
 
    p
428
 
    /[$]LINENO/=
429
 
  ' <$as_myself |
430
 
    sed '
431
 
      s/[$]LINENO.*/&-/
432
 
      t lineno
433
 
      b
434
 
      :lineno
435
 
      N
436
 
      :loop
437
 
      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
438
 
      t loop
439
 
      s/-\n.*//
440
 
    ' >$as_me.lineno &&
441
 
  chmod +x "$as_me.lineno" ||
442
 
    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
443
 
 
444
 
  # Don't try to exec as it changes $[0], causing all sort of problems
445
 
  # (the dirname of $[0] is not the place where we might find the
446
 
  # original and so on.  Autoconf is especially sensitive to this).
447
 
  . "./$as_me.lineno"
448
 
  # Exit status is that of the last command.
449
 
  exit
450
 
}
451
 
 
452
 
ECHO_C= ECHO_N= ECHO_T=
453
 
case `echo -n x` in @%:@(((((
454
 
-n*)
455
 
  case `echo 'xy\c'` in
456
 
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
457
 
  xy)  ECHO_C='\c';;
458
 
  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
459
 
       ECHO_T=' ';;
460
 
  esac;;
461
 
*)
462
 
  ECHO_N='-n';;
463
 
esac
464
 
 
465
 
rm -f conf$$ conf$$.exe conf$$.file
466
 
if test -d conf$$.dir; then
467
 
  rm -f conf$$.dir/conf$$.file
468
 
else
469
 
  rm -f conf$$.dir
470
 
  mkdir conf$$.dir 2>/dev/null
471
 
fi
472
 
if (echo >conf$$.file) 2>/dev/null; then
473
 
  if ln -s conf$$.file conf$$ 2>/dev/null; then
474
 
    as_ln_s='ln -s'
475
 
    # ... but there are two gotchas:
476
 
    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
477
 
    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
478
 
    # In both cases, we have to default to `cp -p'.
479
 
    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
480
 
      as_ln_s='cp -p'
481
 
  elif ln conf$$.file conf$$ 2>/dev/null; then
482
 
    as_ln_s=ln
483
 
  else
484
 
    as_ln_s='cp -p'
485
 
  fi
486
 
else
487
 
  as_ln_s='cp -p'
488
 
fi
489
 
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
490
 
rmdir conf$$.dir 2>/dev/null
491
 
 
492
 
if mkdir -p . 2>/dev/null; then
493
 
  as_mkdir_p='mkdir -p "$as_dir"'
494
 
else
495
 
  test -d ./-p && rmdir ./-p
496
 
  as_mkdir_p=false
497
 
fi
498
 
 
499
 
if test -x / >/dev/null 2>&1; then
500
 
  as_test_x='test -x'
501
 
else
502
 
  if ls -dL / >/dev/null 2>&1; then
503
 
    as_ls_L_option=L
504
 
  else
505
 
    as_ls_L_option=
506
 
  fi
507
 
  as_test_x='
508
 
    eval sh -c '\''
509
 
      if test -d "$1"; then
510
 
        test -d "$1/.";
511
 
      else
512
 
        case $1 in @%:@(
513
 
        -*)set "./$1";;
514
 
        esac;
515
 
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in @%:@((
516
 
        ???[sx]*):;;*)false;;esac;fi
517
 
    '\'' sh
518
 
  '
519
 
fi
520
 
as_executable_p=$as_test_x
521
 
 
522
 
# Sed expression to map a string onto a valid CPP name.
523
 
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
524
 
 
525
 
# Sed expression to map a string onto a valid variable name.
526
 
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
527
 
 
528
 
 
529
 
 
530
 
# Check that we are running under the correct shell.
531
 
SHELL=${CONFIG_SHELL-/bin/sh}
532
 
 
533
 
case X$lt_ECHO in
534
 
X*--fallback-echo)
535
 
  # Remove one level of quotation (which was required for Make).
536
 
  ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
537
 
  ;;
538
 
esac
539
 
 
540
 
ECHO=${lt_ECHO-echo}
541
 
if test "X$1" = X--no-reexec; then
542
 
  # Discard the --no-reexec flag, and continue.
543
 
  shift
544
 
elif test "X$1" = X--fallback-echo; then
545
 
  # Avoid inline document here, it may be left over
546
 
  :
547
 
elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
548
 
  # Yippee, $ECHO works!
549
 
  :
550
 
else
551
 
  # Restart under the correct shell.
552
 
  exec $SHELL "$0" --no-reexec ${1+"$@"}
553
 
fi
554
 
 
555
 
if test "X$1" = X--fallback-echo; then
556
 
  # used as fallback echo
557
 
  shift
558
 
  cat <<_LT_EOF
559
 
$*
560
 
_LT_EOF
561
 
  exit 0
562
 
fi
563
 
 
564
 
# The HP-UX ksh and POSIX shell print the target directory to stdout
565
 
# if CDPATH is set.
566
 
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
567
 
 
568
 
if test -z "$lt_ECHO"; then
569
 
  if test "X${echo_test_string+set}" != Xset; then
570
 
    # find a string as large as possible, as long as the shell can cope with it
571
 
    for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
572
 
      # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
573
 
      if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
574
 
         { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
575
 
      then
576
 
        break
577
 
      fi
578
 
    done
579
 
  fi
580
 
 
581
 
  if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
582
 
     echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
583
 
     test "X$echo_testing_string" = "X$echo_test_string"; then
584
 
    :
585
 
  else
586
 
    # The Solaris, AIX, and Digital Unix default echo programs unquote
587
 
    # backslashes.  This makes it impossible to quote backslashes using
588
 
    #   echo "$something" | sed 's/\\/\\\\/g'
589
 
    #
590
 
    # So, first we look for a working echo in the user's PATH.
591
 
 
592
 
    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
593
 
    for dir in $PATH /usr/ucb; do
594
 
      IFS="$lt_save_ifs"
595
 
      if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
596
 
         test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
597
 
         echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
598
 
         test "X$echo_testing_string" = "X$echo_test_string"; then
599
 
        ECHO="$dir/echo"
600
 
        break
601
 
      fi
602
 
    done
603
 
    IFS="$lt_save_ifs"
604
 
 
605
 
    if test "X$ECHO" = Xecho; then
606
 
      # We didn't find a better echo, so look for alternatives.
607
 
      if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
608
 
         echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
609
 
         test "X$echo_testing_string" = "X$echo_test_string"; then
610
 
        # This shell has a builtin print -r that does the trick.
611
 
        ECHO='print -r'
612
 
      elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
613
 
           test "X$CONFIG_SHELL" != X/bin/ksh; then
614
 
        # If we have ksh, try running configure again with it.
615
 
        ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
616
 
        export ORIGINAL_CONFIG_SHELL
617
 
        CONFIG_SHELL=/bin/ksh
618
 
        export CONFIG_SHELL
619
 
        exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
620
 
      else
621
 
        # Try using printf.
622
 
        ECHO='printf %s\n'
623
 
        if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
624
 
           echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
625
 
           test "X$echo_testing_string" = "X$echo_test_string"; then
626
 
          # Cool, printf works
627
 
          :
628
 
        elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
629
 
             test "X$echo_testing_string" = 'X\t' &&
630
 
             echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
631
 
             test "X$echo_testing_string" = "X$echo_test_string"; then
632
 
          CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
633
 
          export CONFIG_SHELL
634
 
          SHELL="$CONFIG_SHELL"
635
 
          export SHELL
636
 
          ECHO="$CONFIG_SHELL $0 --fallback-echo"
637
 
        elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
638
 
             test "X$echo_testing_string" = 'X\t' &&
639
 
             echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
640
 
             test "X$echo_testing_string" = "X$echo_test_string"; then
641
 
          ECHO="$CONFIG_SHELL $0 --fallback-echo"
642
 
        else
643
 
          # maybe with a smaller string...
644
 
          prev=:
645
 
 
646
 
          for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
647
 
            if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
648
 
            then
649
 
              break
650
 
            fi
651
 
            prev="$cmd"
652
 
          done
653
 
 
654
 
          if test "$prev" != 'sed 50q "$0"'; then
655
 
            echo_test_string=`eval $prev`
656
 
            export echo_test_string
657
 
            exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
658
 
          else
659
 
            # Oops.  We lost completely, so just stick with echo.
660
 
            ECHO=echo
661
 
          fi
662
 
        fi
663
 
      fi
664
 
    fi
665
 
  fi
666
 
fi
667
 
 
668
 
# Copy echo and quote the copy suitably for passing to libtool from
669
 
# the Makefile, instead of quoting the original, which is used later.
670
 
lt_ECHO=$ECHO
671
 
if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
672
 
   lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
673
 
fi
674
 
 
675
 
 
676
 
 
677
 
 
678
 
test -n "$DJDIR" || exec 7<&0 </dev/null
679
 
exec 6>&1
680
 
 
681
 
# Name of the host.
682
 
# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
683
 
# so uname gets run too.
684
 
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
685
 
 
686
 
#
687
 
# Initializations.
688
 
#
689
 
ac_default_prefix=/usr/local
690
 
ac_clean_files=
691
 
ac_config_libobj_dir=.
692
 
LIB@&t@OBJS=
693
 
cross_compiling=no
694
 
subdirs=
695
 
MFLAGS=
696
 
MAKEFLAGS=
697
 
 
698
 
# Identity of this package.
699
 
PACKAGE_NAME=
700
 
PACKAGE_TARNAME=
701
 
PACKAGE_VERSION=
702
 
PACKAGE_STRING=
703
 
PACKAGE_BUGREPORT=
704
 
PACKAGE_URL=
705
 
 
706
 
ac_unique_file="pgm/Makefile.in"
707
 
# Factoring default headers for most tests.
708
 
ac_includes_default="\
709
 
#include <stdio.h>
710
 
#ifdef HAVE_SYS_TYPES_H
711
 
# include <sys/types.h>
712
 
#endif
713
 
#ifdef HAVE_SYS_STAT_H
714
 
# include <sys/stat.h>
715
 
#endif
716
 
#ifdef STDC_HEADERS
717
 
# include <stdlib.h>
718
 
# include <stddef.h>
719
 
#else
720
 
# ifdef HAVE_STDLIB_H
721
 
#  include <stdlib.h>
722
 
# endif
723
 
#endif
724
 
#ifdef HAVE_STRING_H
725
 
# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
726
 
#  include <memory.h>
727
 
# endif
728
 
# include <string.h>
729
 
#endif
730
 
#ifdef HAVE_STRINGS_H
731
 
# include <strings.h>
732
 
#endif
733
 
#ifdef HAVE_INTTYPES_H
734
 
# include <inttypes.h>
735
 
#endif
736
 
#ifdef HAVE_STDINT_H
737
 
# include <stdint.h>
738
 
#endif
739
 
#ifdef HAVE_UNISTD_H
740
 
# include <unistd.h>
741
 
#endif"
742
 
 
743
 
ac_subst_vars='am__EXEEXT_FALSE
744
 
am__EXEEXT_TRUE
745
 
LTLIBOBJS
746
 
LIB@&t@OBJS
747
 
sampledir
748
 
sgmldir
749
 
CXXCPP
750
 
OTOOL64
751
 
OTOOL
752
 
LIPO
753
 
NMEDIT
754
 
DSYMUTIL
755
 
lt_ECHO
756
 
RANLIB
757
 
AR
758
 
OBJDUMP
759
 
LN_S
760
 
NM
761
 
ac_ct_DUMPBIN
762
 
DUMPBIN
763
 
LD
764
 
FGREP
765
 
EGREP
766
 
GREP
767
 
SED
768
 
host_os
769
 
host_vendor
770
 
host_cpu
771
 
host
772
 
build_os
773
 
build_vendor
774
 
build_cpu
775
 
build
776
 
LIBTOOL
777
 
CPP
778
 
am__fastdepCXX_FALSE
779
 
am__fastdepCXX_TRUE
780
 
CXXDEPMODE
781
 
ac_ct_CXX
782
 
CXXFLAGS
783
 
CXX
784
 
am__fastdepCC_FALSE
785
 
am__fastdepCC_TRUE
786
 
CCDEPMODE
787
 
AMDEPBACKSLASH
788
 
AMDEP_FALSE
789
 
AMDEP_TRUE
790
 
am__quote
791
 
am__include
792
 
DEPDIR
793
 
OBJEXT
794
 
EXEEXT
795
 
ac_ct_CC
796
 
CPPFLAGS
797
 
LDFLAGS
798
 
CFLAGS
799
 
CC
800
 
am__untar
801
 
am__tar
802
 
AMTAR
803
 
am__leading_dot
804
 
SET_MAKE
805
 
AWK
806
 
mkdir_p
807
 
MKDIR_P
808
 
INSTALL_STRIP_PROGRAM
809
 
STRIP
810
 
install_sh
811
 
MAKEINFO
812
 
AUTOHEADER
813
 
AUTOMAKE
814
 
AUTOCONF
815
 
ACLOCAL
816
 
VERSION
817
 
PACKAGE
818
 
CYGPATH_W
819
 
am__isrc
820
 
INSTALL_DATA
821
 
INSTALL_SCRIPT
822
 
INSTALL_PROGRAM
823
 
target_alias
824
 
host_alias
825
 
build_alias
826
 
LIBS
827
 
ECHO_T
828
 
ECHO_N
829
 
ECHO_C
830
 
DEFS
831
 
mandir
832
 
localedir
833
 
libdir
834
 
psdir
835
 
pdfdir
836
 
dvidir
837
 
htmldir
838
 
infodir
839
 
docdir
840
 
oldincludedir
841
 
includedir
842
 
localstatedir
843
 
sharedstatedir
844
 
sysconfdir
845
 
datadir
846
 
datarootdir
847
 
libexecdir
848
 
sbindir
849
 
bindir
850
 
program_transform_name
851
 
prefix
852
 
exec_prefix
853
 
PACKAGE_URL
854
 
PACKAGE_BUGREPORT
855
 
PACKAGE_STRING
856
 
PACKAGE_VERSION
857
 
PACKAGE_TARNAME
858
 
PACKAGE_NAME
859
 
PATH_SEPARATOR
860
 
SHELL'
861
 
ac_subst_files=''
862
 
ac_user_opts='
863
 
enable_option_checking
864
 
enable_dependency_tracking
865
 
enable_shared
866
 
enable_static
867
 
with_pic
868
 
enable_fast_install
869
 
with_gnu_ld
870
 
enable_libtool_lock
871
 
'
872
 
      ac_precious_vars='build_alias
873
 
host_alias
874
 
target_alias
875
 
CC
876
 
CFLAGS
877
 
LDFLAGS
878
 
LIBS
879
 
CPPFLAGS
880
 
CXX
881
 
CXXFLAGS
882
 
CCC
883
 
CPP
884
 
CXXCPP'
885
 
 
886
 
 
887
 
# Initialize some variables set by options.
888
 
ac_init_help=
889
 
ac_init_version=false
890
 
ac_unrecognized_opts=
891
 
ac_unrecognized_sep=
892
 
# The variables have the same names as the options, with
893
 
# dashes changed to underlines.
894
 
cache_file=/dev/null
895
 
exec_prefix=NONE
896
 
no_create=
897
 
no_recursion=
898
 
prefix=NONE
899
 
program_prefix=NONE
900
 
program_suffix=NONE
901
 
program_transform_name=s,x,x,
902
 
silent=
903
 
site=
904
 
srcdir=
905
 
verbose=
906
 
x_includes=NONE
907
 
x_libraries=NONE
908
 
 
909
 
# Installation directory options.
910
 
# These are left unexpanded so users can "make install exec_prefix=/foo"
911
 
# and all the variables that are supposed to be based on exec_prefix
912
 
# by default will actually change.
913
 
# Use braces instead of parens because sh, perl, etc. also accept them.
914
 
# (The list follows the same order as the GNU Coding Standards.)
915
 
bindir='${exec_prefix}/bin'
916
 
sbindir='${exec_prefix}/sbin'
917
 
libexecdir='${exec_prefix}/libexec'
918
 
datarootdir='${prefix}/share'
919
 
datadir='${datarootdir}'
920
 
sysconfdir='${prefix}/etc'
921
 
sharedstatedir='${prefix}/com'
922
 
localstatedir='${prefix}/var'
923
 
includedir='${prefix}/include'
924
 
oldincludedir='/usr/include'
925
 
docdir='${datarootdir}/doc/${PACKAGE}'
926
 
infodir='${datarootdir}/info'
927
 
htmldir='${docdir}'
928
 
dvidir='${docdir}'
929
 
pdfdir='${docdir}'
930
 
psdir='${docdir}'
931
 
libdir='${exec_prefix}/lib'
932
 
localedir='${datarootdir}/locale'
933
 
mandir='${datarootdir}/man'
934
 
 
935
 
ac_prev=
936
 
ac_dashdash=
937
 
for ac_option
938
 
do
939
 
  # If the previous option needs an argument, assign it.
940
 
  if test -n "$ac_prev"; then
941
 
    eval $ac_prev=\$ac_option
942
 
    ac_prev=
943
 
    continue
944
 
  fi
945
 
 
946
 
  case $ac_option in
947
 
  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
948
 
  *=)   ac_optarg= ;;
949
 
  *)    ac_optarg=yes ;;
950
 
  esac
951
 
 
952
 
  # Accept the important Cygnus configure options, so we can diagnose typos.
953
 
 
954
 
  case $ac_dashdash$ac_option in
955
 
  --)
956
 
    ac_dashdash=yes ;;
957
 
 
958
 
  -bindir | --bindir | --bindi | --bind | --bin | --bi)
959
 
    ac_prev=bindir ;;
960
 
  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
961
 
    bindir=$ac_optarg ;;
962
 
 
963
 
  -build | --build | --buil | --bui | --bu)
964
 
    ac_prev=build_alias ;;
965
 
  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
966
 
    build_alias=$ac_optarg ;;
967
 
 
968
 
  -cache-file | --cache-file | --cache-fil | --cache-fi \
969
 
  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
970
 
    ac_prev=cache_file ;;
971
 
  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
972
 
  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
973
 
    cache_file=$ac_optarg ;;
974
 
 
975
 
  --config-cache | -C)
976
 
    cache_file=config.cache ;;
977
 
 
978
 
  -datadir | --datadir | --datadi | --datad)
979
 
    ac_prev=datadir ;;
980
 
  -datadir=* | --datadir=* | --datadi=* | --datad=*)
981
 
    datadir=$ac_optarg ;;
982
 
 
983
 
  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
984
 
  | --dataroo | --dataro | --datar)
985
 
    ac_prev=datarootdir ;;
986
 
  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
987
 
  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
988
 
    datarootdir=$ac_optarg ;;
989
 
 
990
 
  -disable-* | --disable-*)
991
 
    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
992
 
    # Reject names that are not valid shell variable names.
993
 
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
994
 
      as_fn_error $? "invalid feature name: $ac_useropt"
995
 
    ac_useropt_orig=$ac_useropt
996
 
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
997
 
    case $ac_user_opts in
998
 
      *"
999
 
"enable_$ac_useropt"
1000
 
"*) ;;
1001
 
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1002
 
         ac_unrecognized_sep=', ';;
1003
 
    esac
1004
 
    eval enable_$ac_useropt=no ;;
1005
 
 
1006
 
  -docdir | --docdir | --docdi | --doc | --do)
1007
 
    ac_prev=docdir ;;
1008
 
  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1009
 
    docdir=$ac_optarg ;;
1010
 
 
1011
 
  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1012
 
    ac_prev=dvidir ;;
1013
 
  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1014
 
    dvidir=$ac_optarg ;;
1015
 
 
1016
 
  -enable-* | --enable-*)
1017
 
    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1018
 
    # Reject names that are not valid shell variable names.
1019
 
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1020
 
      as_fn_error $? "invalid feature name: $ac_useropt"
1021
 
    ac_useropt_orig=$ac_useropt
1022
 
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1023
 
    case $ac_user_opts in
1024
 
      *"
1025
 
"enable_$ac_useropt"
1026
 
"*) ;;
1027
 
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1028
 
         ac_unrecognized_sep=', ';;
1029
 
    esac
1030
 
    eval enable_$ac_useropt=\$ac_optarg ;;
1031
 
 
1032
 
  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1033
 
  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1034
 
  | --exec | --exe | --ex)
1035
 
    ac_prev=exec_prefix ;;
1036
 
  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1037
 
  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1038
 
  | --exec=* | --exe=* | --ex=*)
1039
 
    exec_prefix=$ac_optarg ;;
1040
 
 
1041
 
  -gas | --gas | --ga | --g)
1042
 
    # Obsolete; use --with-gas.
1043
 
    with_gas=yes ;;
1044
 
 
1045
 
  -help | --help | --hel | --he | -h)
1046
 
    ac_init_help=long ;;
1047
 
  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1048
 
    ac_init_help=recursive ;;
1049
 
  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1050
 
    ac_init_help=short ;;
1051
 
 
1052
 
  -host | --host | --hos | --ho)
1053
 
    ac_prev=host_alias ;;
1054
 
  -host=* | --host=* | --hos=* | --ho=*)
1055
 
    host_alias=$ac_optarg ;;
1056
 
 
1057
 
  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1058
 
    ac_prev=htmldir ;;
1059
 
  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1060
 
  | --ht=*)
1061
 
    htmldir=$ac_optarg ;;
1062
 
 
1063
 
  -includedir | --includedir | --includedi | --included | --include \
1064
 
  | --includ | --inclu | --incl | --inc)
1065
 
    ac_prev=includedir ;;
1066
 
  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1067
 
  | --includ=* | --inclu=* | --incl=* | --inc=*)
1068
 
    includedir=$ac_optarg ;;
1069
 
 
1070
 
  -infodir | --infodir | --infodi | --infod | --info | --inf)
1071
 
    ac_prev=infodir ;;
1072
 
  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1073
 
    infodir=$ac_optarg ;;
1074
 
 
1075
 
  -libdir | --libdir | --libdi | --libd)
1076
 
    ac_prev=libdir ;;
1077
 
  -libdir=* | --libdir=* | --libdi=* | --libd=*)
1078
 
    libdir=$ac_optarg ;;
1079
 
 
1080
 
  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1081
 
  | --libexe | --libex | --libe)
1082
 
    ac_prev=libexecdir ;;
1083
 
  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1084
 
  | --libexe=* | --libex=* | --libe=*)
1085
 
    libexecdir=$ac_optarg ;;
1086
 
 
1087
 
  -localedir | --localedir | --localedi | --localed | --locale)
1088
 
    ac_prev=localedir ;;
1089
 
  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1090
 
    localedir=$ac_optarg ;;
1091
 
 
1092
 
  -localstatedir | --localstatedir | --localstatedi | --localstated \
1093
 
  | --localstate | --localstat | --localsta | --localst | --locals)
1094
 
    ac_prev=localstatedir ;;
1095
 
  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1096
 
  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1097
 
    localstatedir=$ac_optarg ;;
1098
 
 
1099
 
  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1100
 
    ac_prev=mandir ;;
1101
 
  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1102
 
    mandir=$ac_optarg ;;
1103
 
 
1104
 
  -nfp | --nfp | --nf)
1105
 
    # Obsolete; use --without-fp.
1106
 
    with_fp=no ;;
1107
 
 
1108
 
  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1109
 
  | --no-cr | --no-c | -n)
1110
 
    no_create=yes ;;
1111
 
 
1112
 
  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1113
 
  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1114
 
    no_recursion=yes ;;
1115
 
 
1116
 
  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1117
 
  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1118
 
  | --oldin | --oldi | --old | --ol | --o)
1119
 
    ac_prev=oldincludedir ;;
1120
 
  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1121
 
  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1122
 
  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1123
 
    oldincludedir=$ac_optarg ;;
1124
 
 
1125
 
  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1126
 
    ac_prev=prefix ;;
1127
 
  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1128
 
    prefix=$ac_optarg ;;
1129
 
 
1130
 
  -program-prefix | --program-prefix | --program-prefi | --program-pref \
1131
 
  | --program-pre | --program-pr | --program-p)
1132
 
    ac_prev=program_prefix ;;
1133
 
  -program-prefix=* | --program-prefix=* | --program-prefi=* \
1134
 
  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1135
 
    program_prefix=$ac_optarg ;;
1136
 
 
1137
 
  -program-suffix | --program-suffix | --program-suffi | --program-suff \
1138
 
  | --program-suf | --program-su | --program-s)
1139
 
    ac_prev=program_suffix ;;
1140
 
  -program-suffix=* | --program-suffix=* | --program-suffi=* \
1141
 
  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1142
 
    program_suffix=$ac_optarg ;;
1143
 
 
1144
 
  -program-transform-name | --program-transform-name \
1145
 
  | --program-transform-nam | --program-transform-na \
1146
 
  | --program-transform-n | --program-transform- \
1147
 
  | --program-transform | --program-transfor \
1148
 
  | --program-transfo | --program-transf \
1149
 
  | --program-trans | --program-tran \
1150
 
  | --progr-tra | --program-tr | --program-t)
1151
 
    ac_prev=program_transform_name ;;
1152
 
  -program-transform-name=* | --program-transform-name=* \
1153
 
  | --program-transform-nam=* | --program-transform-na=* \
1154
 
  | --program-transform-n=* | --program-transform-=* \
1155
 
  | --program-transform=* | --program-transfor=* \
1156
 
  | --program-transfo=* | --program-transf=* \
1157
 
  | --program-trans=* | --program-tran=* \
1158
 
  | --progr-tra=* | --program-tr=* | --program-t=*)
1159
 
    program_transform_name=$ac_optarg ;;
1160
 
 
1161
 
  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1162
 
    ac_prev=pdfdir ;;
1163
 
  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1164
 
    pdfdir=$ac_optarg ;;
1165
 
 
1166
 
  -psdir | --psdir | --psdi | --psd | --ps)
1167
 
    ac_prev=psdir ;;
1168
 
  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1169
 
    psdir=$ac_optarg ;;
1170
 
 
1171
 
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1172
 
  | -silent | --silent | --silen | --sile | --sil)
1173
 
    silent=yes ;;
1174
 
 
1175
 
  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1176
 
    ac_prev=sbindir ;;
1177
 
  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1178
 
  | --sbi=* | --sb=*)
1179
 
    sbindir=$ac_optarg ;;
1180
 
 
1181
 
  -sharedstatedir | --sharedstatedir | --sharedstatedi \
1182
 
  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1183
 
  | --sharedst | --shareds | --shared | --share | --shar \
1184
 
  | --sha | --sh)
1185
 
    ac_prev=sharedstatedir ;;
1186
 
  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1187
 
  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1188
 
  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1189
 
  | --sha=* | --sh=*)
1190
 
    sharedstatedir=$ac_optarg ;;
1191
 
 
1192
 
  -site | --site | --sit)
1193
 
    ac_prev=site ;;
1194
 
  -site=* | --site=* | --sit=*)
1195
 
    site=$ac_optarg ;;
1196
 
 
1197
 
  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1198
 
    ac_prev=srcdir ;;
1199
 
  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1200
 
    srcdir=$ac_optarg ;;
1201
 
 
1202
 
  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1203
 
  | --syscon | --sysco | --sysc | --sys | --sy)
1204
 
    ac_prev=sysconfdir ;;
1205
 
  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1206
 
  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1207
 
    sysconfdir=$ac_optarg ;;
1208
 
 
1209
 
  -target | --target | --targe | --targ | --tar | --ta | --t)
1210
 
    ac_prev=target_alias ;;
1211
 
  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1212
 
    target_alias=$ac_optarg ;;
1213
 
 
1214
 
  -v | -verbose | --verbose | --verbos | --verbo | --verb)
1215
 
    verbose=yes ;;
1216
 
 
1217
 
  -version | --version | --versio | --versi | --vers | -V)
1218
 
    ac_init_version=: ;;
1219
 
 
1220
 
  -with-* | --with-*)
1221
 
    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1222
 
    # Reject names that are not valid shell variable names.
1223
 
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1224
 
      as_fn_error $? "invalid package name: $ac_useropt"
1225
 
    ac_useropt_orig=$ac_useropt
1226
 
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1227
 
    case $ac_user_opts in
1228
 
      *"
1229
 
"with_$ac_useropt"
1230
 
"*) ;;
1231
 
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1232
 
         ac_unrecognized_sep=', ';;
1233
 
    esac
1234
 
    eval with_$ac_useropt=\$ac_optarg ;;
1235
 
 
1236
 
  -without-* | --without-*)
1237
 
    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1238
 
    # Reject names that are not valid shell variable names.
1239
 
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1240
 
      as_fn_error $? "invalid package name: $ac_useropt"
1241
 
    ac_useropt_orig=$ac_useropt
1242
 
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1243
 
    case $ac_user_opts in
1244
 
      *"
1245
 
"with_$ac_useropt"
1246
 
"*) ;;
1247
 
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1248
 
         ac_unrecognized_sep=', ';;
1249
 
    esac
1250
 
    eval with_$ac_useropt=no ;;
1251
 
 
1252
 
  --x)
1253
 
    # Obsolete; use --with-x.
1254
 
    with_x=yes ;;
1255
 
 
1256
 
  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1257
 
  | --x-incl | --x-inc | --x-in | --x-i)
1258
 
    ac_prev=x_includes ;;
1259
 
  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1260
 
  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1261
 
    x_includes=$ac_optarg ;;
1262
 
 
1263
 
  -x-libraries | --x-libraries | --x-librarie | --x-librari \
1264
 
  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1265
 
    ac_prev=x_libraries ;;
1266
 
  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1267
 
  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1268
 
    x_libraries=$ac_optarg ;;
1269
 
 
1270
 
  -*) as_fn_error $? "unrecognized option: \`$ac_option'
1271
 
Try \`$0 --help' for more information"
1272
 
    ;;
1273
 
 
1274
 
  *=*)
1275
 
    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1276
 
    # Reject names that are not valid shell variable names.
1277
 
    case $ac_envvar in #(
1278
 
      '' | [0-9]* | *[!_$as_cr_alnum]* )
1279
 
      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1280
 
    esac
1281
 
    eval $ac_envvar=\$ac_optarg
1282
 
    export $ac_envvar ;;
1283
 
 
1284
 
  *)
1285
 
    # FIXME: should be removed in autoconf 3.0.
1286
 
    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1287
 
    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1288
 
      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1289
 
    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1290
 
    ;;
1291
 
 
1292
 
  esac
1293
 
done
1294
 
 
1295
 
if test -n "$ac_prev"; then
1296
 
  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1297
 
  as_fn_error $? "missing argument to $ac_option"
1298
 
fi
1299
 
 
1300
 
if test -n "$ac_unrecognized_opts"; then
1301
 
  case $enable_option_checking in
1302
 
    no) ;;
1303
 
    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1304
 
    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1305
 
  esac
1306
 
fi
1307
 
 
1308
 
# Check all directory arguments for consistency.
1309
 
for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1310
 
                datadir sysconfdir sharedstatedir localstatedir includedir \
1311
 
                oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1312
 
                libdir localedir mandir
1313
 
do
1314
 
  eval ac_val=\$$ac_var
1315
 
  # Remove trailing slashes.
1316
 
  case $ac_val in
1317
 
    */ )
1318
 
      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1319
 
      eval $ac_var=\$ac_val;;
1320
 
  esac
1321
 
  # Be sure to have absolute directory names.
1322
 
  case $ac_val in
1323
 
    [\\/$]* | ?:[\\/]* )  continue;;
1324
 
    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1325
 
  esac
1326
 
  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1327
 
done
1328
 
 
1329
 
# There might be people who depend on the old broken behavior: `$host'
1330
 
# used to hold the argument of --host etc.
1331
 
# FIXME: To remove some day.
1332
 
build=$build_alias
1333
 
host=$host_alias
1334
 
target=$target_alias
1335
 
 
1336
 
# FIXME: To remove some day.
1337
 
if test "x$host_alias" != x; then
1338
 
  if test "x$build_alias" = x; then
1339
 
    cross_compiling=maybe
1340
 
    $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1341
 
    If a cross compiler is detected then cross compile mode will be used" >&2
1342
 
  elif test "x$build_alias" != "x$host_alias"; then
1343
 
    cross_compiling=yes
1344
 
  fi
1345
 
fi
1346
 
 
1347
 
ac_tool_prefix=
1348
 
test -n "$host_alias" && ac_tool_prefix=$host_alias-
1349
 
 
1350
 
test "$silent" = yes && exec 6>/dev/null
1351
 
 
1352
 
 
1353
 
ac_pwd=`pwd` && test -n "$ac_pwd" &&
1354
 
ac_ls_di=`ls -di .` &&
1355
 
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1356
 
  as_fn_error $? "working directory cannot be determined"
1357
 
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1358
 
  as_fn_error $? "pwd does not report name of working directory"
1359
 
 
1360
 
 
1361
 
# Find the source files, if location was not specified.
1362
 
if test -z "$srcdir"; then
1363
 
  ac_srcdir_defaulted=yes
1364
 
  # Try the directory containing this script, then the parent directory.
1365
 
  ac_confdir=`$as_dirname -- "$as_myself" ||
1366
 
$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1367
 
         X"$as_myself" : 'X\(//\)[^/]' \| \
1368
 
         X"$as_myself" : 'X\(//\)$' \| \
1369
 
         X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1370
 
$as_echo X"$as_myself" |
1371
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1372
 
            s//\1/
1373
 
            q
1374
 
          }
1375
 
          /^X\(\/\/\)[^/].*/{
1376
 
            s//\1/
1377
 
            q
1378
 
          }
1379
 
          /^X\(\/\/\)$/{
1380
 
            s//\1/
1381
 
            q
1382
 
          }
1383
 
          /^X\(\/\).*/{
1384
 
            s//\1/
1385
 
            q
1386
 
          }
1387
 
          s/.*/./; q'`
1388
 
  srcdir=$ac_confdir
1389
 
  if test ! -r "$srcdir/$ac_unique_file"; then
1390
 
    srcdir=..
1391
 
  fi
1392
 
else
1393
 
  ac_srcdir_defaulted=no
1394
 
fi
1395
 
if test ! -r "$srcdir/$ac_unique_file"; then
1396
 
  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1397
 
  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1398
 
fi
1399
 
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1400
 
ac_abs_confdir=`(
1401
 
        cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1402
 
        pwd)`
1403
 
# When building in place, set srcdir=.
1404
 
if test "$ac_abs_confdir" = "$ac_pwd"; then
1405
 
  srcdir=.
1406
 
fi
1407
 
# Remove unnecessary trailing slashes from srcdir.
1408
 
# Double slashes in file names in object file debugging info
1409
 
# mess up M-x gdb in Emacs.
1410
 
case $srcdir in
1411
 
*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1412
 
esac
1413
 
for ac_var in $ac_precious_vars; do
1414
 
  eval ac_env_${ac_var}_set=\${${ac_var}+set}
1415
 
  eval ac_env_${ac_var}_value=\$${ac_var}
1416
 
  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1417
 
  eval ac_cv_env_${ac_var}_value=\$${ac_var}
1418
 
done
1419
 
 
1420
 
#
1421
 
# Report the --help message.
1422
 
#
1423
 
if test "$ac_init_help" = "long"; then
1424
 
  # Omit some internal or obsolete options to make the list less imposing.
1425
 
  # This message is too long to be a string in the A/UX 3.1 sh.
1426
 
  cat <<_ACEOF
1427
 
\`configure' configures this package to adapt to many kinds of systems.
1428
 
 
1429
 
Usage: $0 [OPTION]... [VAR=VALUE]...
1430
 
 
1431
 
To assign environment variables (e.g., CC, CFLAGS...), specify them as
1432
 
VAR=VALUE.  See below for descriptions of some of the useful variables.
1433
 
 
1434
 
Defaults for the options are specified in brackets.
1435
 
 
1436
 
Configuration:
1437
 
  -h, --help              display this help and exit
1438
 
      --help=short        display options specific to this package
1439
 
      --help=recursive    display the short help of all the included packages
1440
 
  -V, --version           display version information and exit
1441
 
  -q, --quiet, --silent   do not print \`checking ...' messages
1442
 
      --cache-file=FILE   cache test results in FILE [disabled]
1443
 
  -C, --config-cache      alias for \`--cache-file=config.cache'
1444
 
  -n, --no-create         do not create output files
1445
 
      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1446
 
 
1447
 
Installation directories:
1448
 
  --prefix=PREFIX         install architecture-independent files in PREFIX
1449
 
                          @<:@@S|@ac_default_prefix@:>@
1450
 
  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1451
 
                          @<:@PREFIX@:>@
1452
 
 
1453
 
By default, \`make install' will install all the files in
1454
 
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1455
 
an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1456
 
for instance \`--prefix=\$HOME'.
1457
 
 
1458
 
For better control, use the options below.
1459
 
 
1460
 
Fine tuning of the installation directories:
1461
 
  --bindir=DIR            user executables [EPREFIX/bin]
1462
 
  --sbindir=DIR           system admin executables [EPREFIX/sbin]
1463
 
  --libexecdir=DIR        program executables [EPREFIX/libexec]
1464
 
  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1465
 
  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1466
 
  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1467
 
  --libdir=DIR            object code libraries [EPREFIX/lib]
1468
 
  --includedir=DIR        C header files [PREFIX/include]
1469
 
  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1470
 
  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1471
 
  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1472
 
  --infodir=DIR           info documentation [DATAROOTDIR/info]
1473
 
  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1474
 
  --mandir=DIR            man documentation [DATAROOTDIR/man]
1475
 
  --docdir=DIR            documentation root @<:@DATAROOTDIR/doc/PACKAGE@:>@
1476
 
  --htmldir=DIR           html documentation [DOCDIR]
1477
 
  --dvidir=DIR            dvi documentation [DOCDIR]
1478
 
  --pdfdir=DIR            pdf documentation [DOCDIR]
1479
 
  --psdir=DIR             ps documentation [DOCDIR]
1480
 
_ACEOF
1481
 
 
1482
 
  cat <<\_ACEOF
1483
 
 
1484
 
Program names:
1485
 
  --program-prefix=PREFIX            prepend PREFIX to installed program names
1486
 
  --program-suffix=SUFFIX            append SUFFIX to installed program names
1487
 
  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1488
 
 
1489
 
System types:
1490
 
  --build=BUILD     configure for building on BUILD [guessed]
1491
 
  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1492
 
_ACEOF
1493
 
fi
1494
 
 
1495
 
if test -n "$ac_init_help"; then
1496
 
 
1497
 
  cat <<\_ACEOF
1498
 
 
1499
 
Optional Features:
1500
 
  --disable-option-checking  ignore unrecognized --enable/--with options
1501
 
  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1502
 
  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1503
 
  --disable-dependency-tracking  speeds up one-time build
1504
 
  --enable-dependency-tracking   do not reject slow dependency extractors
1505
 
  --enable-shared@<:@=PKGS@:>@  build shared libraries @<:@default=yes@:>@
1506
 
  --enable-static@<:@=PKGS@:>@  build static libraries @<:@default=yes@:>@
1507
 
  --enable-fast-install@<:@=PKGS@:>@ 
1508
 
                          optimize for fast installation @<:@default=yes@:>@
1509
 
  --disable-libtool-lock  avoid locking (might break parallel builds)
1510
 
 
1511
 
Optional Packages:
1512
 
  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1513
 
  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1514
 
  --with-pic              try to use only PIC/non-PIC objects @<:@default=use
1515
 
                          both@:>@
1516
 
  --with-gnu-ld           assume the C compiler uses GNU ld @<:@default=no@:>@
1517
 
 
1518
 
Some influential environment variables:
1519
 
  CC          C compiler command
1520
 
  CFLAGS      C compiler flags
1521
 
  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1522
 
              nonstandard directory <lib dir>
1523
 
  LIBS        libraries to pass to the linker, e.g. -l<library>
1524
 
  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1525
 
              you have headers in a nonstandard directory <include dir>
1526
 
  CXX         C++ compiler command
1527
 
  CXXFLAGS    C++ compiler flags
1528
 
  CPP         C preprocessor
1529
 
  CXXCPP      C++ preprocessor
1530
 
 
1531
 
Use these variables to override the choices made by `configure' or to help
1532
 
it to find libraries and programs with nonstandard names/locations.
1533
 
 
1534
 
Report bugs to the package provider.
1535
 
_ACEOF
1536
 
ac_status=$?
1537
 
fi
1538
 
 
1539
 
if test "$ac_init_help" = "recursive"; then
1540
 
  # If there are subdirs, report their specific --help.
1541
 
  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1542
 
    test -d "$ac_dir" ||
1543
 
      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1544
 
      continue
1545
 
    ac_builddir=.
1546
 
 
1547
 
case "$ac_dir" in
1548
 
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1549
 
*)
1550
 
  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1551
 
  # A ".." for each directory in $ac_dir_suffix.
1552
 
  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1553
 
  case $ac_top_builddir_sub in
1554
 
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1555
 
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1556
 
  esac ;;
1557
 
esac
1558
 
ac_abs_top_builddir=$ac_pwd
1559
 
ac_abs_builddir=$ac_pwd$ac_dir_suffix
1560
 
# for backward compatibility:
1561
 
ac_top_builddir=$ac_top_build_prefix
1562
 
 
1563
 
case $srcdir in
1564
 
  .)  # We are building in place.
1565
 
    ac_srcdir=.
1566
 
    ac_top_srcdir=$ac_top_builddir_sub
1567
 
    ac_abs_top_srcdir=$ac_pwd ;;
1568
 
  [\\/]* | ?:[\\/]* )  # Absolute name.
1569
 
    ac_srcdir=$srcdir$ac_dir_suffix;
1570
 
    ac_top_srcdir=$srcdir
1571
 
    ac_abs_top_srcdir=$srcdir ;;
1572
 
  *) # Relative name.
1573
 
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1574
 
    ac_top_srcdir=$ac_top_build_prefix$srcdir
1575
 
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1576
 
esac
1577
 
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1578
 
 
1579
 
    cd "$ac_dir" || { ac_status=$?; continue; }
1580
 
    # Check for guested configure.
1581
 
    if test -f "$ac_srcdir/configure.gnu"; then
1582
 
      echo &&
1583
 
      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1584
 
    elif test -f "$ac_srcdir/configure"; then
1585
 
      echo &&
1586
 
      $SHELL "$ac_srcdir/configure" --help=recursive
1587
 
    else
1588
 
      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1589
 
    fi || ac_status=$?
1590
 
    cd "$ac_pwd" || { ac_status=$?; break; }
1591
 
  done
1592
 
fi
1593
 
 
1594
 
test -n "$ac_init_help" && exit $ac_status
1595
 
if $ac_init_version; then
1596
 
  cat <<\_ACEOF
1597
 
configure
1598
 
generated by GNU Autoconf 2.67
1599
 
 
1600
 
Copyright (C) 2010 Free Software Foundation, Inc.
1601
 
This configure script is free software; the Free Software Foundation
1602
 
gives unlimited permission to copy, distribute and modify it.
1603
 
_ACEOF
1604
 
  exit
1605
 
fi
1606
 
 
1607
 
## ------------------------ ##
1608
 
## Autoconf initialization. ##
1609
 
## ------------------------ ##
1610
 
 
1611
 
@%:@ ac_fn_c_try_compile LINENO
1612
 
@%:@ --------------------------
1613
 
@%:@ Try to compile conftest.@S|@ac_ext, and return whether this succeeded.
1614
 
ac_fn_c_try_compile ()
1615
 
{
1616
 
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1617
 
  rm -f conftest.$ac_objext
1618
 
  if { { ac_try="$ac_compile"
1619
 
case "(($ac_try" in
1620
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1621
 
  *) ac_try_echo=$ac_try;;
1622
 
esac
1623
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1624
 
$as_echo "$ac_try_echo"; } >&5
1625
 
  (eval "$ac_compile") 2>conftest.err
1626
 
  ac_status=$?
1627
 
  if test -s conftest.err; then
1628
 
    grep -v '^ *+' conftest.err >conftest.er1
1629
 
    cat conftest.er1 >&5
1630
 
    mv -f conftest.er1 conftest.err
1631
 
  fi
1632
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1633
 
  test $ac_status = 0; } && {
1634
 
         test -z "$ac_c_werror_flag" ||
1635
 
         test ! -s conftest.err
1636
 
       } && test -s conftest.$ac_objext; then :
1637
 
  ac_retval=0
1638
 
else
1639
 
  $as_echo "$as_me: failed program was:" >&5
1640
 
sed 's/^/| /' conftest.$ac_ext >&5
1641
 
 
1642
 
        ac_retval=1
1643
 
fi
1644
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1645
 
  as_fn_set_status $ac_retval
1646
 
 
1647
 
} @%:@ ac_fn_c_try_compile
1648
 
 
1649
 
@%:@ ac_fn_cxx_try_compile LINENO
1650
 
@%:@ ----------------------------
1651
 
@%:@ Try to compile conftest.@S|@ac_ext, and return whether this succeeded.
1652
 
ac_fn_cxx_try_compile ()
1653
 
{
1654
 
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1655
 
  rm -f conftest.$ac_objext
1656
 
  if { { ac_try="$ac_compile"
1657
 
case "(($ac_try" in
1658
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1659
 
  *) ac_try_echo=$ac_try;;
1660
 
esac
1661
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1662
 
$as_echo "$ac_try_echo"; } >&5
1663
 
  (eval "$ac_compile") 2>conftest.err
1664
 
  ac_status=$?
1665
 
  if test -s conftest.err; then
1666
 
    grep -v '^ *+' conftest.err >conftest.er1
1667
 
    cat conftest.er1 >&5
1668
 
    mv -f conftest.er1 conftest.err
1669
 
  fi
1670
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1671
 
  test $ac_status = 0; } && {
1672
 
         test -z "$ac_cxx_werror_flag" ||
1673
 
         test ! -s conftest.err
1674
 
       } && test -s conftest.$ac_objext; then :
1675
 
  ac_retval=0
1676
 
else
1677
 
  $as_echo "$as_me: failed program was:" >&5
1678
 
sed 's/^/| /' conftest.$ac_ext >&5
1679
 
 
1680
 
        ac_retval=1
1681
 
fi
1682
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1683
 
  as_fn_set_status $ac_retval
1684
 
 
1685
 
} @%:@ ac_fn_cxx_try_compile
1686
 
 
1687
 
@%:@ ac_fn_c_try_cpp LINENO
1688
 
@%:@ ----------------------
1689
 
@%:@ Try to preprocess conftest.@S|@ac_ext, and return whether this succeeded.
1690
 
ac_fn_c_try_cpp ()
1691
 
{
1692
 
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1693
 
  if { { ac_try="$ac_cpp conftest.$ac_ext"
1694
 
case "(($ac_try" in
1695
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1696
 
  *) ac_try_echo=$ac_try;;
1697
 
esac
1698
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1699
 
$as_echo "$ac_try_echo"; } >&5
1700
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1701
 
  ac_status=$?
1702
 
  if test -s conftest.err; then
1703
 
    grep -v '^ *+' conftest.err >conftest.er1
1704
 
    cat conftest.er1 >&5
1705
 
    mv -f conftest.er1 conftest.err
1706
 
  fi
1707
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1708
 
  test $ac_status = 0; } > conftest.i && {
1709
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1710
 
         test ! -s conftest.err
1711
 
       }; then :
1712
 
  ac_retval=0
1713
 
else
1714
 
  $as_echo "$as_me: failed program was:" >&5
1715
 
sed 's/^/| /' conftest.$ac_ext >&5
1716
 
 
1717
 
    ac_retval=1
1718
 
fi
1719
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1720
 
  as_fn_set_status $ac_retval
1721
 
 
1722
 
} @%:@ ac_fn_c_try_cpp
1723
 
 
1724
 
@%:@ ac_fn_c_try_link LINENO
1725
 
@%:@ -----------------------
1726
 
@%:@ Try to link conftest.@S|@ac_ext, and return whether this succeeded.
1727
 
ac_fn_c_try_link ()
1728
 
{
1729
 
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1730
 
  rm -f conftest.$ac_objext conftest$ac_exeext
1731
 
  if { { ac_try="$ac_link"
1732
 
case "(($ac_try" in
1733
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1734
 
  *) ac_try_echo=$ac_try;;
1735
 
esac
1736
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1737
 
$as_echo "$ac_try_echo"; } >&5
1738
 
  (eval "$ac_link") 2>conftest.err
1739
 
  ac_status=$?
1740
 
  if test -s conftest.err; then
1741
 
    grep -v '^ *+' conftest.err >conftest.er1
1742
 
    cat conftest.er1 >&5
1743
 
    mv -f conftest.er1 conftest.err
1744
 
  fi
1745
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1746
 
  test $ac_status = 0; } && {
1747
 
         test -z "$ac_c_werror_flag" ||
1748
 
         test ! -s conftest.err
1749
 
       } && test -s conftest$ac_exeext && {
1750
 
         test "$cross_compiling" = yes ||
1751
 
         $as_test_x conftest$ac_exeext
1752
 
       }; then :
1753
 
  ac_retval=0
1754
 
else
1755
 
  $as_echo "$as_me: failed program was:" >&5
1756
 
sed 's/^/| /' conftest.$ac_ext >&5
1757
 
 
1758
 
        ac_retval=1
1759
 
fi
1760
 
  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1761
 
  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1762
 
  # interfere with the next link command; also delete a directory that is
1763
 
  # left behind by Apple's compiler.  We do this before executing the actions.
1764
 
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1765
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1766
 
  as_fn_set_status $ac_retval
1767
 
 
1768
 
} @%:@ ac_fn_c_try_link
1769
 
 
1770
 
@%:@ ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1771
 
@%:@ -------------------------------------------------------
1772
 
@%:@ Tests whether HEADER exists and can be compiled using the include files in
1773
 
@%:@ INCLUDES, setting the cache variable VAR accordingly.
1774
 
ac_fn_c_check_header_compile ()
1775
 
{
1776
 
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1777
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1778
 
$as_echo_n "checking for $2... " >&6; }
1779
 
if eval "test \"\${$3+set}\"" = set; then :
1780
 
  $as_echo_n "(cached) " >&6
1781
 
else
1782
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1783
 
/* end confdefs.h.  */
1784
 
$4
1785
 
@%:@include <$2>
1786
 
_ACEOF
1787
 
if ac_fn_c_try_compile "$LINENO"; then :
1788
 
  eval "$3=yes"
1789
 
else
1790
 
  eval "$3=no"
1791
 
fi
1792
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1793
 
fi
1794
 
eval ac_res=\$$3
1795
 
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1796
 
$as_echo "$ac_res" >&6; }
1797
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1798
 
 
1799
 
} @%:@ ac_fn_c_check_header_compile
1800
 
 
1801
 
@%:@ ac_fn_c_try_run LINENO
1802
 
@%:@ ----------------------
1803
 
@%:@ Try to link conftest.@S|@ac_ext, and return whether this succeeded. Assumes
1804
 
@%:@ that executables *can* be run.
1805
 
ac_fn_c_try_run ()
1806
 
{
1807
 
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1808
 
  if { { ac_try="$ac_link"
1809
 
case "(($ac_try" in
1810
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1811
 
  *) ac_try_echo=$ac_try;;
1812
 
esac
1813
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1814
 
$as_echo "$ac_try_echo"; } >&5
1815
 
  (eval "$ac_link") 2>&5
1816
 
  ac_status=$?
1817
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1818
 
  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1819
 
  { { case "(($ac_try" in
1820
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1821
 
  *) ac_try_echo=$ac_try;;
1822
 
esac
1823
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1824
 
$as_echo "$ac_try_echo"; } >&5
1825
 
  (eval "$ac_try") 2>&5
1826
 
  ac_status=$?
1827
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1828
 
  test $ac_status = 0; }; }; then :
1829
 
  ac_retval=0
1830
 
else
1831
 
  $as_echo "$as_me: program exited with status $ac_status" >&5
1832
 
       $as_echo "$as_me: failed program was:" >&5
1833
 
sed 's/^/| /' conftest.$ac_ext >&5
1834
 
 
1835
 
       ac_retval=$ac_status
1836
 
fi
1837
 
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1838
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1839
 
  as_fn_set_status $ac_retval
1840
 
 
1841
 
} @%:@ ac_fn_c_try_run
1842
 
 
1843
 
@%:@ ac_fn_c_check_func LINENO FUNC VAR
1844
 
@%:@ ----------------------------------
1845
 
@%:@ Tests whether FUNC exists, setting the cache variable VAR accordingly
1846
 
ac_fn_c_check_func ()
1847
 
{
1848
 
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1849
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1850
 
$as_echo_n "checking for $2... " >&6; }
1851
 
if eval "test \"\${$3+set}\"" = set; then :
1852
 
  $as_echo_n "(cached) " >&6
1853
 
else
1854
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1855
 
/* end confdefs.h.  */
1856
 
/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1857
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
1858
 
#define $2 innocuous_$2
1859
 
 
1860
 
/* System header to define __stub macros and hopefully few prototypes,
1861
 
    which can conflict with char $2 (); below.
1862
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1863
 
    <limits.h> exists even on freestanding compilers.  */
1864
 
 
1865
 
#ifdef __STDC__
1866
 
# include <limits.h>
1867
 
#else
1868
 
# include <assert.h>
1869
 
#endif
1870
 
 
1871
 
#undef $2
1872
 
 
1873
 
/* Override any GCC internal prototype to avoid an error.
1874
 
   Use char because int might match the return type of a GCC
1875
 
   builtin and then its argument prototype would still apply.  */
1876
 
#ifdef __cplusplus
1877
 
extern "C"
1878
 
#endif
1879
 
char $2 ();
1880
 
/* The GNU C library defines this for functions which it implements
1881
 
    to always fail with ENOSYS.  Some functions are actually named
1882
 
    something starting with __ and the normal name is an alias.  */
1883
 
#if defined __stub_$2 || defined __stub___$2
1884
 
choke me
1885
 
#endif
1886
 
 
1887
 
int
1888
 
main ()
1889
 
{
1890
 
return $2 ();
1891
 
  ;
1892
 
  return 0;
1893
 
}
1894
 
_ACEOF
1895
 
if ac_fn_c_try_link "$LINENO"; then :
1896
 
  eval "$3=yes"
1897
 
else
1898
 
  eval "$3=no"
1899
 
fi
1900
 
rm -f core conftest.err conftest.$ac_objext \
1901
 
    conftest$ac_exeext conftest.$ac_ext
1902
 
fi
1903
 
eval ac_res=\$$3
1904
 
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1905
 
$as_echo "$ac_res" >&6; }
1906
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1907
 
 
1908
 
} @%:@ ac_fn_c_check_func
1909
 
 
1910
 
@%:@ ac_fn_cxx_try_cpp LINENO
1911
 
@%:@ ------------------------
1912
 
@%:@ Try to preprocess conftest.@S|@ac_ext, and return whether this succeeded.
1913
 
ac_fn_cxx_try_cpp ()
1914
 
{
1915
 
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1916
 
  if { { ac_try="$ac_cpp conftest.$ac_ext"
1917
 
case "(($ac_try" in
1918
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1919
 
  *) ac_try_echo=$ac_try;;
1920
 
esac
1921
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1922
 
$as_echo "$ac_try_echo"; } >&5
1923
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1924
 
  ac_status=$?
1925
 
  if test -s conftest.err; then
1926
 
    grep -v '^ *+' conftest.err >conftest.er1
1927
 
    cat conftest.er1 >&5
1928
 
    mv -f conftest.er1 conftest.err
1929
 
  fi
1930
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1931
 
  test $ac_status = 0; } > conftest.i && {
1932
 
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1933
 
         test ! -s conftest.err
1934
 
       }; then :
1935
 
  ac_retval=0
1936
 
else
1937
 
  $as_echo "$as_me: failed program was:" >&5
1938
 
sed 's/^/| /' conftest.$ac_ext >&5
1939
 
 
1940
 
    ac_retval=1
1941
 
fi
1942
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1943
 
  as_fn_set_status $ac_retval
1944
 
 
1945
 
} @%:@ ac_fn_cxx_try_cpp
1946
 
 
1947
 
@%:@ ac_fn_cxx_try_link LINENO
1948
 
@%:@ -------------------------
1949
 
@%:@ Try to link conftest.@S|@ac_ext, and return whether this succeeded.
1950
 
ac_fn_cxx_try_link ()
1951
 
{
1952
 
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1953
 
  rm -f conftest.$ac_objext conftest$ac_exeext
1954
 
  if { { ac_try="$ac_link"
1955
 
case "(($ac_try" in
1956
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1957
 
  *) ac_try_echo=$ac_try;;
1958
 
esac
1959
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1960
 
$as_echo "$ac_try_echo"; } >&5
1961
 
  (eval "$ac_link") 2>conftest.err
1962
 
  ac_status=$?
1963
 
  if test -s conftest.err; then
1964
 
    grep -v '^ *+' conftest.err >conftest.er1
1965
 
    cat conftest.er1 >&5
1966
 
    mv -f conftest.er1 conftest.err
1967
 
  fi
1968
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1969
 
  test $ac_status = 0; } && {
1970
 
         test -z "$ac_cxx_werror_flag" ||
1971
 
         test ! -s conftest.err
1972
 
       } && test -s conftest$ac_exeext && {
1973
 
         test "$cross_compiling" = yes ||
1974
 
         $as_test_x conftest$ac_exeext
1975
 
       }; then :
1976
 
  ac_retval=0
1977
 
else
1978
 
  $as_echo "$as_me: failed program was:" >&5
1979
 
sed 's/^/| /' conftest.$ac_ext >&5
1980
 
 
1981
 
        ac_retval=1
1982
 
fi
1983
 
  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1984
 
  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1985
 
  # interfere with the next link command; also delete a directory that is
1986
 
  # left behind by Apple's compiler.  We do this before executing the actions.
1987
 
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1988
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1989
 
  as_fn_set_status $ac_retval
1990
 
 
1991
 
} @%:@ ac_fn_cxx_try_link
1992
 
 
1993
 
@%:@ ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1994
 
@%:@ -------------------------------------------
1995
 
@%:@ Tests whether TYPE exists after having included INCLUDES, setting cache
1996
 
@%:@ variable VAR accordingly.
1997
 
ac_fn_c_check_type ()
1998
 
{
1999
 
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2000
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2001
 
$as_echo_n "checking for $2... " >&6; }
2002
 
if eval "test \"\${$3+set}\"" = set; then :
2003
 
  $as_echo_n "(cached) " >&6
2004
 
else
2005
 
  eval "$3=no"
2006
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2007
 
/* end confdefs.h.  */
2008
 
$4
2009
 
int
2010
 
main ()
2011
 
{
2012
 
if (sizeof ($2))
2013
 
         return 0;
2014
 
  ;
2015
 
  return 0;
2016
 
}
2017
 
_ACEOF
2018
 
if ac_fn_c_try_compile "$LINENO"; then :
2019
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2020
 
/* end confdefs.h.  */
2021
 
$4
2022
 
int
2023
 
main ()
2024
 
{
2025
 
if (sizeof (($2)))
2026
 
            return 0;
2027
 
  ;
2028
 
  return 0;
2029
 
}
2030
 
_ACEOF
2031
 
if ac_fn_c_try_compile "$LINENO"; then :
2032
 
  
2033
 
else
2034
 
  eval "$3=yes"
2035
 
fi
2036
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2037
 
fi
2038
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2039
 
fi
2040
 
eval ac_res=\$$3
2041
 
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2042
 
$as_echo "$ac_res" >&6; }
2043
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2044
 
 
2045
 
} @%:@ ac_fn_c_check_type
2046
 
 
2047
 
@%:@ ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2048
 
@%:@ -------------------------------------------------------
2049
 
@%:@ Tests whether HEADER exists, giving a warning if it cannot be compiled using
2050
 
@%:@ the include files in INCLUDES and setting the cache variable VAR
2051
 
@%:@ accordingly.
2052
 
ac_fn_c_check_header_mongrel ()
2053
 
{
2054
 
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2055
 
  if eval "test \"\${$3+set}\"" = set; then :
2056
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2057
 
$as_echo_n "checking for $2... " >&6; }
2058
 
if eval "test \"\${$3+set}\"" = set; then :
2059
 
  $as_echo_n "(cached) " >&6
2060
 
fi
2061
 
eval ac_res=\$$3
2062
 
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2063
 
$as_echo "$ac_res" >&6; }
2064
 
else
2065
 
  # Is the header compilable?
2066
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2067
 
$as_echo_n "checking $2 usability... " >&6; }
2068
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2069
 
/* end confdefs.h.  */
2070
 
$4
2071
 
@%:@include <$2>
2072
 
_ACEOF
2073
 
if ac_fn_c_try_compile "$LINENO"; then :
2074
 
  ac_header_compiler=yes
2075
 
else
2076
 
  ac_header_compiler=no
2077
 
fi
2078
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2079
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2080
 
$as_echo "$ac_header_compiler" >&6; }
2081
 
 
2082
 
# Is the header present?
2083
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2084
 
$as_echo_n "checking $2 presence... " >&6; }
2085
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2086
 
/* end confdefs.h.  */
2087
 
@%:@include <$2>
2088
 
_ACEOF
2089
 
if ac_fn_c_try_cpp "$LINENO"; then :
2090
 
  ac_header_preproc=yes
2091
 
else
2092
 
  ac_header_preproc=no
2093
 
fi
2094
 
rm -f conftest.err conftest.i conftest.$ac_ext
2095
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2096
 
$as_echo "$ac_header_preproc" >&6; }
2097
 
 
2098
 
# So?  What about this header?
2099
 
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2100
 
  yes:no: )
2101
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2102
 
$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2103
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2104
 
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2105
 
    ;;
2106
 
  no:yes:* )
2107
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2108
 
$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2109
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
2110
 
$as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
2111
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2112
 
$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2113
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
2114
 
$as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
2115
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2116
 
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2117
 
    ;;
2118
 
esac
2119
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2120
 
$as_echo_n "checking for $2... " >&6; }
2121
 
if eval "test \"\${$3+set}\"" = set; then :
2122
 
  $as_echo_n "(cached) " >&6
2123
 
else
2124
 
  eval "$3=\$ac_header_compiler"
2125
 
fi
2126
 
eval ac_res=\$$3
2127
 
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2128
 
$as_echo "$ac_res" >&6; }
2129
 
fi
2130
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2131
 
 
2132
 
} @%:@ ac_fn_c_check_header_mongrel
2133
 
cat >config.log <<_ACEOF
2134
 
This file contains any messages produced by compilers while
2135
 
running configure, to aid debugging if configure makes a mistake.
2136
 
 
2137
 
It was created by $as_me, which was
2138
 
generated by GNU Autoconf 2.67.  Invocation command line was
2139
 
 
2140
 
  $ $0 $@
2141
 
 
2142
 
_ACEOF
2143
 
exec 5>>config.log
2144
 
{
2145
 
cat <<_ASUNAME
2146
 
## --------- ##
2147
 
## Platform. ##
2148
 
## --------- ##
2149
 
 
2150
 
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2151
 
uname -m = `(uname -m) 2>/dev/null || echo unknown`
2152
 
uname -r = `(uname -r) 2>/dev/null || echo unknown`
2153
 
uname -s = `(uname -s) 2>/dev/null || echo unknown`
2154
 
uname -v = `(uname -v) 2>/dev/null || echo unknown`
2155
 
 
2156
 
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2157
 
/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
2158
 
 
2159
 
/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
2160
 
/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
2161
 
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2162
 
/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
2163
 
/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
2164
 
/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
2165
 
/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
2166
 
 
2167
 
_ASUNAME
2168
 
 
2169
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2170
 
for as_dir in $PATH
2171
 
do
2172
 
  IFS=$as_save_IFS
2173
 
  test -z "$as_dir" && as_dir=.
2174
 
    $as_echo "PATH: $as_dir"
2175
 
  done
2176
 
IFS=$as_save_IFS
2177
 
 
2178
 
} >&5
2179
 
 
2180
 
cat >&5 <<_ACEOF
2181
 
 
2182
 
 
2183
 
## ----------- ##
2184
 
## Core tests. ##
2185
 
## ----------- ##
2186
 
 
2187
 
_ACEOF
2188
 
 
2189
 
 
2190
 
# Keep a trace of the command line.
2191
 
# Strip out --no-create and --no-recursion so they do not pile up.
2192
 
# Strip out --silent because we don't want to record it for future runs.
2193
 
# Also quote any args containing shell meta-characters.
2194
 
# Make two passes to allow for proper duplicate-argument suppression.
2195
 
ac_configure_args=
2196
 
ac_configure_args0=
2197
 
ac_configure_args1=
2198
 
ac_must_keep_next=false
2199
 
for ac_pass in 1 2
2200
 
do
2201
 
  for ac_arg
2202
 
  do
2203
 
    case $ac_arg in
2204
 
    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2205
 
    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2206
 
    | -silent | --silent | --silen | --sile | --sil)
2207
 
      continue ;;
2208
 
    *\'*)
2209
 
      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2210
 
    esac
2211
 
    case $ac_pass in
2212
 
    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2213
 
    2)
2214
 
      as_fn_append ac_configure_args1 " '$ac_arg'"
2215
 
      if test $ac_must_keep_next = true; then
2216
 
        ac_must_keep_next=false # Got value, back to normal.
2217
 
      else
2218
 
        case $ac_arg in
2219
 
          *=* | --config-cache | -C | -disable-* | --disable-* \
2220
 
          | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2221
 
          | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2222
 
          | -with-* | --with-* | -without-* | --without-* | --x)
2223
 
            case "$ac_configure_args0 " in
2224
 
              "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2225
 
            esac
2226
 
            ;;
2227
 
          -* ) ac_must_keep_next=true ;;
2228
 
        esac
2229
 
      fi
2230
 
      as_fn_append ac_configure_args " '$ac_arg'"
2231
 
      ;;
2232
 
    esac
2233
 
  done
2234
 
done
2235
 
{ ac_configure_args0=; unset ac_configure_args0;}
2236
 
{ ac_configure_args1=; unset ac_configure_args1;}
2237
 
 
2238
 
# When interrupted or exit'd, cleanup temporary files, and complete
2239
 
# config.log.  We remove comments because anyway the quotes in there
2240
 
# would cause problems or look ugly.
2241
 
# WARNING: Use '\'' to represent an apostrophe within the trap.
2242
 
# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2243
 
trap 'exit_status=$?
2244
 
  # Save into config.log some information that might help in debugging.
2245
 
  {
2246
 
    echo
2247
 
 
2248
 
    $as_echo "## ---------------- ##
2249
 
## Cache variables. ##
2250
 
## ---------------- ##"
2251
 
    echo
2252
 
    # The following way of writing the cache mishandles newlines in values,
2253
 
(
2254
 
  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2255
 
    eval ac_val=\$$ac_var
2256
 
    case $ac_val in #(
2257
 
    *${as_nl}*)
2258
 
      case $ac_var in #(
2259
 
      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2260
 
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2261
 
      esac
2262
 
      case $ac_var in #(
2263
 
      _ | IFS | as_nl) ;; #(
2264
 
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2265
 
      *) { eval $ac_var=; unset $ac_var;} ;;
2266
 
      esac ;;
2267
 
    esac
2268
 
  done
2269
 
  (set) 2>&1 |
2270
 
    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2271
 
    *${as_nl}ac_space=\ *)
2272
 
      sed -n \
2273
 
        "s/'\''/'\''\\\\'\'''\''/g;
2274
 
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2275
 
      ;; #(
2276
 
    *)
2277
 
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2278
 
      ;;
2279
 
    esac |
2280
 
    sort
2281
 
)
2282
 
    echo
2283
 
 
2284
 
    $as_echo "## ----------------- ##
2285
 
## Output variables. ##
2286
 
## ----------------- ##"
2287
 
    echo
2288
 
    for ac_var in $ac_subst_vars
2289
 
    do
2290
 
      eval ac_val=\$$ac_var
2291
 
      case $ac_val in
2292
 
      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2293
 
      esac
2294
 
      $as_echo "$ac_var='\''$ac_val'\''"
2295
 
    done | sort
2296
 
    echo
2297
 
 
2298
 
    if test -n "$ac_subst_files"; then
2299
 
      $as_echo "## ------------------- ##
2300
 
## File substitutions. ##
2301
 
## ------------------- ##"
2302
 
      echo
2303
 
      for ac_var in $ac_subst_files
2304
 
      do
2305
 
        eval ac_val=\$$ac_var
2306
 
        case $ac_val in
2307
 
        *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2308
 
        esac
2309
 
        $as_echo "$ac_var='\''$ac_val'\''"
2310
 
      done | sort
2311
 
      echo
2312
 
    fi
2313
 
 
2314
 
    if test -s confdefs.h; then
2315
 
      $as_echo "## ----------- ##
2316
 
## confdefs.h. ##
2317
 
## ----------- ##"
2318
 
      echo
2319
 
      cat confdefs.h
2320
 
      echo
2321
 
    fi
2322
 
    test "$ac_signal" != 0 &&
2323
 
      $as_echo "$as_me: caught signal $ac_signal"
2324
 
    $as_echo "$as_me: exit $exit_status"
2325
 
  } >&5
2326
 
  rm -f core *.core core.conftest.* &&
2327
 
    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2328
 
    exit $exit_status
2329
 
' 0
2330
 
for ac_signal in 1 2 13 15; do
2331
 
  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2332
 
done
2333
 
ac_signal=0
2334
 
 
2335
 
# confdefs.h avoids OS command line length limits that DEFS can exceed.
2336
 
rm -f -r conftest* confdefs.h
2337
 
 
2338
 
$as_echo "/* confdefs.h */" > confdefs.h
2339
 
 
2340
 
# Predefined preprocessor variables.
2341
 
 
2342
 
cat >>confdefs.h <<_ACEOF
2343
 
@%:@define PACKAGE_NAME "$PACKAGE_NAME"
2344
 
_ACEOF
2345
 
 
2346
 
cat >>confdefs.h <<_ACEOF
2347
 
@%:@define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2348
 
_ACEOF
2349
 
 
2350
 
cat >>confdefs.h <<_ACEOF
2351
 
@%:@define PACKAGE_VERSION "$PACKAGE_VERSION"
2352
 
_ACEOF
2353
 
 
2354
 
cat >>confdefs.h <<_ACEOF
2355
 
@%:@define PACKAGE_STRING "$PACKAGE_STRING"
2356
 
_ACEOF
2357
 
 
2358
 
cat >>confdefs.h <<_ACEOF
2359
 
@%:@define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2360
 
_ACEOF
2361
 
 
2362
 
cat >>confdefs.h <<_ACEOF
2363
 
@%:@define PACKAGE_URL "$PACKAGE_URL"
2364
 
_ACEOF
2365
 
 
2366
 
 
2367
 
# Let the site file select an alternate cache file if it wants to.
2368
 
# Prefer an explicitly selected file to automatically selected ones.
2369
 
ac_site_file1=NONE
2370
 
ac_site_file2=NONE
2371
 
if test -n "$CONFIG_SITE"; then
2372
 
  # We do not want a PATH search for config.site.
2373
 
  case $CONFIG_SITE in @%:@((
2374
 
    -*)  ac_site_file1=./$CONFIG_SITE;;
2375
 
    */*) ac_site_file1=$CONFIG_SITE;;
2376
 
    *)   ac_site_file1=./$CONFIG_SITE;;
2377
 
  esac
2378
 
elif test "x$prefix" != xNONE; then
2379
 
  ac_site_file1=$prefix/share/config.site
2380
 
  ac_site_file2=$prefix/etc/config.site
2381
 
else
2382
 
  ac_site_file1=$ac_default_prefix/share/config.site
2383
 
  ac_site_file2=$ac_default_prefix/etc/config.site
2384
 
fi
2385
 
for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2386
 
do
2387
 
  test "x$ac_site_file" = xNONE && continue
2388
 
  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2389
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2390
 
$as_echo "$as_me: loading site script $ac_site_file" >&6;}
2391
 
    sed 's/^/| /' "$ac_site_file" >&5
2392
 
    . "$ac_site_file" \
2393
 
      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2394
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2395
 
as_fn_error $? "failed to load site script $ac_site_file
2396
 
See \`config.log' for more details" "$LINENO" 5 ; }
2397
 
  fi
2398
 
done
2399
 
 
2400
 
if test -r "$cache_file"; then
2401
 
  # Some versions of bash will fail to source /dev/null (special files
2402
 
  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2403
 
  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2404
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2405
 
$as_echo "$as_me: loading cache $cache_file" >&6;}
2406
 
    case $cache_file in
2407
 
      [\\/]* | ?:[\\/]* ) . "$cache_file";;
2408
 
      *)                      . "./$cache_file";;
2409
 
    esac
2410
 
  fi
2411
 
else
2412
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2413
 
$as_echo "$as_me: creating cache $cache_file" >&6;}
2414
 
  >$cache_file
2415
 
fi
2416
 
 
2417
 
# Check that the precious variables saved in the cache have kept the same
2418
 
# value.
2419
 
ac_cache_corrupted=false
2420
 
for ac_var in $ac_precious_vars; do
2421
 
  eval ac_old_set=\$ac_cv_env_${ac_var}_set
2422
 
  eval ac_new_set=\$ac_env_${ac_var}_set
2423
 
  eval ac_old_val=\$ac_cv_env_${ac_var}_value
2424
 
  eval ac_new_val=\$ac_env_${ac_var}_value
2425
 
  case $ac_old_set,$ac_new_set in
2426
 
    set,)
2427
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2428
 
$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2429
 
      ac_cache_corrupted=: ;;
2430
 
    ,set)
2431
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2432
 
$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2433
 
      ac_cache_corrupted=: ;;
2434
 
    ,);;
2435
 
    *)
2436
 
      if test "x$ac_old_val" != "x$ac_new_val"; then
2437
 
        # differences in whitespace do not lead to failure.
2438
 
        ac_old_val_w=`echo x $ac_old_val`
2439
 
        ac_new_val_w=`echo x $ac_new_val`
2440
 
        if test "$ac_old_val_w" != "$ac_new_val_w"; then
2441
 
          { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2442
 
$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2443
 
          ac_cache_corrupted=:
2444
 
        else
2445
 
          { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2446
 
$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2447
 
          eval $ac_var=\$ac_old_val
2448
 
        fi
2449
 
        { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2450
 
$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2451
 
        { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2452
 
$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2453
 
      fi;;
2454
 
  esac
2455
 
  # Pass precious variables to config.status.
2456
 
  if test "$ac_new_set" = set; then
2457
 
    case $ac_new_val in
2458
 
    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2459
 
    *) ac_arg=$ac_var=$ac_new_val ;;
2460
 
    esac
2461
 
    case " $ac_configure_args " in
2462
 
      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2463
 
      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2464
 
    esac
2465
 
  fi
2466
 
done
2467
 
if $ac_cache_corrupted; then
2468
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2469
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2470
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2471
 
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2472
 
  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 
2473
 
fi
2474
 
## -------------------- ##
2475
 
## Main body of script. ##
2476
 
## -------------------- ##
2477
 
 
2478
 
ac_ext=c
2479
 
ac_cpp='$CPP $CPPFLAGS'
2480
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2481
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2482
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2483
 
 
2484
 
 
2485
 
am__api_version='1.11'
2486
 
 
2487
 
ac_aux_dir=
2488
 
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2489
 
  if test -f "$ac_dir/install-sh"; then
2490
 
    ac_aux_dir=$ac_dir
2491
 
    ac_install_sh="$ac_aux_dir/install-sh -c"
2492
 
    break
2493
 
  elif test -f "$ac_dir/install.sh"; then
2494
 
    ac_aux_dir=$ac_dir
2495
 
    ac_install_sh="$ac_aux_dir/install.sh -c"
2496
 
    break
2497
 
  elif test -f "$ac_dir/shtool"; then
2498
 
    ac_aux_dir=$ac_dir
2499
 
    ac_install_sh="$ac_aux_dir/shtool install -c"
2500
 
    break
2501
 
  fi
2502
 
done
2503
 
if test -z "$ac_aux_dir"; then
2504
 
  as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 
2505
 
fi
2506
 
 
2507
 
# These three variables are undocumented and unsupported,
2508
 
# and are intended to be withdrawn in a future Autoconf release.
2509
 
# They can cause serious problems if a builder's source tree is in a directory
2510
 
# whose full name contains unusual characters.
2511
 
ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2512
 
ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2513
 
ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2514
 
 
2515
 
 
2516
 
# Find a good install program.  We prefer a C program (faster),
2517
 
# so one script is as good as another.  But avoid the broken or
2518
 
# incompatible versions:
2519
 
# SysV /etc/install, /usr/sbin/install
2520
 
# SunOS /usr/etc/install
2521
 
# IRIX /sbin/install
2522
 
# AIX /bin/install
2523
 
# AmigaOS /C/install, which installs bootblocks on floppy discs
2524
 
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2525
 
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
2526
 
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2527
 
# OS/2's system install, which has a completely different semantic
2528
 
# ./install, which can be erroneously created by make from ./install.sh.
2529
 
# Reject install programs that cannot install multiple files.
2530
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2531
 
$as_echo_n "checking for a BSD-compatible install... " >&6; }
2532
 
if test -z "$INSTALL"; then
2533
 
if test "${ac_cv_path_install+set}" = set; then :
2534
 
  $as_echo_n "(cached) " >&6
2535
 
else
2536
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2537
 
for as_dir in $PATH
2538
 
do
2539
 
  IFS=$as_save_IFS
2540
 
  test -z "$as_dir" && as_dir=.
2541
 
    # Account for people who put trailing slashes in PATH elements.
2542
 
case $as_dir/ in @%:@((
2543
 
  ./ | .// | /[cC]/* | \
2544
 
  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2545
 
  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2546
 
  /usr/ucb/* ) ;;
2547
 
  *)
2548
 
    # OSF1 and SCO ODT 3.0 have their own names for install.
2549
 
    # Don't use installbsd from OSF since it installs stuff as root
2550
 
    # by default.
2551
 
    for ac_prog in ginstall scoinst install; do
2552
 
      for ac_exec_ext in '' $ac_executable_extensions; do
2553
 
        if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2554
 
          if test $ac_prog = install &&
2555
 
            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2556
 
            # AIX install.  It has an incompatible calling convention.
2557
 
            :
2558
 
          elif test $ac_prog = install &&
2559
 
            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2560
 
            # program-specific install script used by HP pwplus--don't use.
2561
 
            :
2562
 
          else
2563
 
            rm -rf conftest.one conftest.two conftest.dir
2564
 
            echo one > conftest.one
2565
 
            echo two > conftest.two
2566
 
            mkdir conftest.dir
2567
 
            if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2568
 
              test -s conftest.one && test -s conftest.two &&
2569
 
              test -s conftest.dir/conftest.one &&
2570
 
              test -s conftest.dir/conftest.two
2571
 
            then
2572
 
              ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2573
 
              break 3
2574
 
            fi
2575
 
          fi
2576
 
        fi
2577
 
      done
2578
 
    done
2579
 
    ;;
2580
 
esac
2581
 
 
2582
 
  done
2583
 
IFS=$as_save_IFS
2584
 
 
2585
 
rm -rf conftest.one conftest.two conftest.dir
2586
 
 
2587
 
fi
2588
 
  if test "${ac_cv_path_install+set}" = set; then
2589
 
    INSTALL=$ac_cv_path_install
2590
 
  else
2591
 
    # As a last resort, use the slow shell script.  Don't cache a
2592
 
    # value for INSTALL within a source directory, because that will
2593
 
    # break other packages using the cache if that directory is
2594
 
    # removed, or if the value is a relative name.
2595
 
    INSTALL=$ac_install_sh
2596
 
  fi
2597
 
fi
2598
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2599
 
$as_echo "$INSTALL" >&6; }
2600
 
 
2601
 
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2602
 
# It thinks the first close brace ends the variable substitution.
2603
 
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2604
 
 
2605
 
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2606
 
 
2607
 
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2608
 
 
2609
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2610
 
$as_echo_n "checking whether build environment is sane... " >&6; }
2611
 
# Just in case
2612
 
sleep 1
2613
 
echo timestamp > conftest.file
2614
 
# Reject unsafe characters in $srcdir or the absolute working directory
2615
 
# name.  Accept space and tab only in the latter.
2616
 
am_lf='
2617
 
'
2618
 
case `pwd` in
2619
 
  *[\\\"\#\$\&\'\`$am_lf]*)
2620
 
    as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5 ;;
2621
 
esac
2622
 
case $srcdir in
2623
 
  *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
2624
 
    as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5 ;;
2625
 
esac
2626
 
 
2627
 
# Do `set' in a subshell so we don't clobber the current shell's
2628
 
# arguments.  Must try -L first in case configure is actually a
2629
 
# symlink; some systems play weird games with the mod time of symlinks
2630
 
# (eg FreeBSD returns the mod time of the symlink's containing
2631
 
# directory).
2632
 
if (
2633
 
   set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2634
 
   if test "$*" = "X"; then
2635
 
      # -L didn't work.
2636
 
      set X `ls -t "$srcdir/configure" conftest.file`
2637
 
   fi
2638
 
   rm -f conftest.file
2639
 
   if test "$*" != "X $srcdir/configure conftest.file" \
2640
 
      && test "$*" != "X conftest.file $srcdir/configure"; then
2641
 
 
2642
 
      # If neither matched, then we have a broken ls.  This can happen
2643
 
      # if, for instance, CONFIG_SHELL is bash and it inherits a
2644
 
      # broken ls alias from the environment.  This has actually
2645
 
      # happened.  Such a system could not be considered "sane".
2646
 
      as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
2647
 
alias in your environment" "$LINENO" 5 
2648
 
   fi
2649
 
 
2650
 
   test "$2" = conftest.file
2651
 
   )
2652
 
then
2653
 
   # Ok.
2654
 
   :
2655
 
else
2656
 
   as_fn_error $? "newly created file is older than distributed files!
2657
 
Check your system clock" "$LINENO" 5 
2658
 
fi
2659
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2660
 
$as_echo "yes" >&6; }
2661
 
test "$program_prefix" != NONE &&
2662
 
  program_transform_name="s&^&$program_prefix&;$program_transform_name"
2663
 
# Use a double $ so make ignores it.
2664
 
test "$program_suffix" != NONE &&
2665
 
  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2666
 
# Double any \ or $.
2667
 
# By default was `s,x,x', remove it if useless.
2668
 
ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2669
 
program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2670
 
 
2671
 
# expand $ac_aux_dir to an absolute path
2672
 
am_aux_dir=`cd $ac_aux_dir && pwd`
2673
 
 
2674
 
if test x"${MISSING+set}" != xset; then
2675
 
  case $am_aux_dir in
2676
 
  *\ * | *\     *)
2677
 
    MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2678
 
  *)
2679
 
    MISSING="\${SHELL} $am_aux_dir/missing" ;;
2680
 
  esac
2681
 
fi
2682
 
# Use eval to expand $SHELL
2683
 
if eval "$MISSING --run true"; then
2684
 
  am_missing_run="$MISSING --run "
2685
 
else
2686
 
  am_missing_run=
2687
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2688
 
$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2689
 
fi
2690
 
 
2691
 
if test x"${install_sh}" != xset; then
2692
 
  case $am_aux_dir in
2693
 
  *\ * | *\     *)
2694
 
    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2695
 
  *)
2696
 
    install_sh="\${SHELL} $am_aux_dir/install-sh"
2697
 
  esac
2698
 
fi
2699
 
 
2700
 
# Installed binaries are usually stripped using `strip' when the user
2701
 
# run `make install-strip'.  However `strip' might not be the right
2702
 
# tool to use in cross-compilation environments, therefore Automake
2703
 
# will honor the `STRIP' environment variable to overrule this program.
2704
 
if test "$cross_compiling" != no; then
2705
 
  if test -n "$ac_tool_prefix"; then
2706
 
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2707
 
set dummy ${ac_tool_prefix}strip; ac_word=$2
2708
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2709
 
$as_echo_n "checking for $ac_word... " >&6; }
2710
 
if test "${ac_cv_prog_STRIP+set}" = set; then :
2711
 
  $as_echo_n "(cached) " >&6
2712
 
else
2713
 
  if test -n "$STRIP"; then
2714
 
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2715
 
else
2716
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2717
 
for as_dir in $PATH
2718
 
do
2719
 
  IFS=$as_save_IFS
2720
 
  test -z "$as_dir" && as_dir=.
2721
 
    for ac_exec_ext in '' $ac_executable_extensions; do
2722
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2723
 
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2724
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2725
 
    break 2
2726
 
  fi
2727
 
done
2728
 
  done
2729
 
IFS=$as_save_IFS
2730
 
 
2731
 
fi
2732
 
fi
2733
 
STRIP=$ac_cv_prog_STRIP
2734
 
if test -n "$STRIP"; then
2735
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2736
 
$as_echo "$STRIP" >&6; }
2737
 
else
2738
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2739
 
$as_echo "no" >&6; }
2740
 
fi
2741
 
 
2742
 
 
2743
 
fi
2744
 
if test -z "$ac_cv_prog_STRIP"; then
2745
 
  ac_ct_STRIP=$STRIP
2746
 
  # Extract the first word of "strip", so it can be a program name with args.
2747
 
set dummy strip; ac_word=$2
2748
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2749
 
$as_echo_n "checking for $ac_word... " >&6; }
2750
 
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
2751
 
  $as_echo_n "(cached) " >&6
2752
 
else
2753
 
  if test -n "$ac_ct_STRIP"; then
2754
 
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2755
 
else
2756
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2757
 
for as_dir in $PATH
2758
 
do
2759
 
  IFS=$as_save_IFS
2760
 
  test -z "$as_dir" && as_dir=.
2761
 
    for ac_exec_ext in '' $ac_executable_extensions; do
2762
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2763
 
    ac_cv_prog_ac_ct_STRIP="strip"
2764
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2765
 
    break 2
2766
 
  fi
2767
 
done
2768
 
  done
2769
 
IFS=$as_save_IFS
2770
 
 
2771
 
fi
2772
 
fi
2773
 
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2774
 
if test -n "$ac_ct_STRIP"; then
2775
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2776
 
$as_echo "$ac_ct_STRIP" >&6; }
2777
 
else
2778
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2779
 
$as_echo "no" >&6; }
2780
 
fi
2781
 
 
2782
 
  if test "x$ac_ct_STRIP" = x; then
2783
 
    STRIP=":"
2784
 
  else
2785
 
    case $cross_compiling:$ac_tool_warned in
2786
 
yes:)
2787
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2788
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2789
 
ac_tool_warned=yes ;;
2790
 
esac
2791
 
    STRIP=$ac_ct_STRIP
2792
 
  fi
2793
 
else
2794
 
  STRIP="$ac_cv_prog_STRIP"
2795
 
fi
2796
 
 
2797
 
fi
2798
 
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2799
 
 
2800
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2801
 
$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2802
 
if test -z "$MKDIR_P"; then
2803
 
  if test "${ac_cv_path_mkdir+set}" = set; then :
2804
 
  $as_echo_n "(cached) " >&6
2805
 
else
2806
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2807
 
for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2808
 
do
2809
 
  IFS=$as_save_IFS
2810
 
  test -z "$as_dir" && as_dir=.
2811
 
    for ac_prog in mkdir gmkdir; do
2812
 
         for ac_exec_ext in '' $ac_executable_extensions; do
2813
 
           { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2814
 
           case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2815
 
             'mkdir (GNU coreutils) '* | \
2816
 
             'mkdir (coreutils) '* | \
2817
 
             'mkdir (fileutils) '4.1*)
2818
 
               ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2819
 
               break 3;;
2820
 
           esac
2821
 
         done
2822
 
       done
2823
 
  done
2824
 
IFS=$as_save_IFS
2825
 
 
2826
 
fi
2827
 
 
2828
 
  test -d ./--version && rmdir ./--version
2829
 
  if test "${ac_cv_path_mkdir+set}" = set; then
2830
 
    MKDIR_P="$ac_cv_path_mkdir -p"
2831
 
  else
2832
 
    # As a last resort, use the slow shell script.  Don't cache a
2833
 
    # value for MKDIR_P within a source directory, because that will
2834
 
    # break other packages using the cache if that directory is
2835
 
    # removed, or if the value is a relative name.
2836
 
    MKDIR_P="$ac_install_sh -d"
2837
 
  fi
2838
 
fi
2839
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2840
 
$as_echo "$MKDIR_P" >&6; }
2841
 
 
2842
 
mkdir_p="$MKDIR_P"
2843
 
case $mkdir_p in
2844
 
  [\\/$]* | ?:[\\/]*) ;;
2845
 
  */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2846
 
esac
2847
 
 
2848
 
for ac_prog in gawk mawk nawk awk
2849
 
do
2850
 
  # Extract the first word of "$ac_prog", so it can be a program name with args.
2851
 
set dummy $ac_prog; ac_word=$2
2852
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2853
 
$as_echo_n "checking for $ac_word... " >&6; }
2854
 
if test "${ac_cv_prog_AWK+set}" = set; then :
2855
 
  $as_echo_n "(cached) " >&6
2856
 
else
2857
 
  if test -n "$AWK"; then
2858
 
  ac_cv_prog_AWK="$AWK" # Let the user override the test.
2859
 
else
2860
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2861
 
for as_dir in $PATH
2862
 
do
2863
 
  IFS=$as_save_IFS
2864
 
  test -z "$as_dir" && as_dir=.
2865
 
    for ac_exec_ext in '' $ac_executable_extensions; do
2866
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2867
 
    ac_cv_prog_AWK="$ac_prog"
2868
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2869
 
    break 2
2870
 
  fi
2871
 
done
2872
 
  done
2873
 
IFS=$as_save_IFS
2874
 
 
2875
 
fi
2876
 
fi
2877
 
AWK=$ac_cv_prog_AWK
2878
 
if test -n "$AWK"; then
2879
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2880
 
$as_echo "$AWK" >&6; }
2881
 
else
2882
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2883
 
$as_echo "no" >&6; }
2884
 
fi
2885
 
 
2886
 
 
2887
 
  test -n "$AWK" && break
2888
 
done
2889
 
 
2890
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2891
 
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2892
 
set x ${MAKE-make}
2893
 
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2894
 
if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then :
2895
 
  $as_echo_n "(cached) " >&6
2896
 
else
2897
 
  cat >conftest.make <<\_ACEOF
2898
 
SHELL = /bin/sh
2899
 
all:
2900
 
        @echo '@@@%%%=$(MAKE)=@@@%%%'
2901
 
_ACEOF
2902
 
# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2903
 
case `${MAKE-make} -f conftest.make 2>/dev/null` in
2904
 
  *@@@%%%=?*=@@@%%%*)
2905
 
    eval ac_cv_prog_make_${ac_make}_set=yes;;
2906
 
  *)
2907
 
    eval ac_cv_prog_make_${ac_make}_set=no;;
2908
 
esac
2909
 
rm -f conftest.make
2910
 
fi
2911
 
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2912
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2913
 
$as_echo "yes" >&6; }
2914
 
  SET_MAKE=
2915
 
else
2916
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2917
 
$as_echo "no" >&6; }
2918
 
  SET_MAKE="MAKE=${MAKE-make}"
2919
 
fi
2920
 
 
2921
 
rm -rf .tst 2>/dev/null
2922
 
mkdir .tst 2>/dev/null
2923
 
if test -d .tst; then
2924
 
  am__leading_dot=.
2925
 
else
2926
 
  am__leading_dot=_
2927
 
fi
2928
 
rmdir .tst 2>/dev/null
2929
 
 
2930
 
if test "`cd $srcdir && pwd`" != "`pwd`"; then
2931
 
  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2932
 
  # is not polluted with repeated "-I."
2933
 
  am__isrc=' -I$(srcdir)'
2934
 
  # test to see if srcdir already configured
2935
 
  if test -f $srcdir/config.status; then
2936
 
    as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 
2937
 
  fi
2938
 
fi
2939
 
 
2940
 
# test whether we have cygpath
2941
 
if test -z "$CYGPATH_W"; then
2942
 
  if (cygpath --version) >/dev/null 2>/dev/null; then
2943
 
    CYGPATH_W='cygpath -w'
2944
 
  else
2945
 
    CYGPATH_W=echo
2946
 
  fi
2947
 
fi
2948
 
 
2949
 
 
2950
 
# Define the identity of the package.
2951
 
 PACKAGE=styx
2952
 
 VERSION=1.8.0
2953
 
 
2954
 
 
2955
 
cat >>confdefs.h <<_ACEOF
2956
 
@%:@define PACKAGE "$PACKAGE"
2957
 
_ACEOF
2958
 
 
2959
 
 
2960
 
cat >>confdefs.h <<_ACEOF
2961
 
@%:@define VERSION "$VERSION"
2962
 
_ACEOF
2963
 
 
2964
 
# Some tools Automake needs.
2965
 
 
2966
 
ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2967
 
 
2968
 
 
2969
 
AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2970
 
 
2971
 
 
2972
 
AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2973
 
 
2974
 
 
2975
 
AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2976
 
 
2977
 
 
2978
 
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2979
 
 
2980
 
# We need awk for the "check" target.  The system "awk" is bad on
2981
 
# some platforms.
2982
 
# Always define AMTAR for backward compatibility.
2983
 
 
2984
 
AMTAR=${AMTAR-"${am_missing_run}tar"}
2985
 
 
2986
 
am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2987
 
 
2988
 
 
2989
 
 
2990
 
 
2991
 
 
2992
 
ac_config_headers="$ac_config_headers config.h"
2993
 
 
2994
 
for ac_prog in gawk mawk nawk awk
2995
 
do
2996
 
  # Extract the first word of "$ac_prog", so it can be a program name with args.
2997
 
set dummy $ac_prog; ac_word=$2
2998
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2999
 
$as_echo_n "checking for $ac_word... " >&6; }
3000
 
if test "${ac_cv_prog_AWK+set}" = set; then :
3001
 
  $as_echo_n "(cached) " >&6
3002
 
else
3003
 
  if test -n "$AWK"; then
3004
 
  ac_cv_prog_AWK="$AWK" # Let the user override the test.
3005
 
else
3006
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3007
 
for as_dir in $PATH
3008
 
do
3009
 
  IFS=$as_save_IFS
3010
 
  test -z "$as_dir" && as_dir=.
3011
 
    for ac_exec_ext in '' $ac_executable_extensions; do
3012
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3013
 
    ac_cv_prog_AWK="$ac_prog"
3014
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3015
 
    break 2
3016
 
  fi
3017
 
done
3018
 
  done
3019
 
IFS=$as_save_IFS
3020
 
 
3021
 
fi
3022
 
fi
3023
 
AWK=$ac_cv_prog_AWK
3024
 
if test -n "$AWK"; then
3025
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3026
 
$as_echo "$AWK" >&6; }
3027
 
else
3028
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3029
 
$as_echo "no" >&6; }
3030
 
fi
3031
 
 
3032
 
 
3033
 
  test -n "$AWK" && break
3034
 
done
3035
 
 
3036
 
ac_ext=c
3037
 
ac_cpp='$CPP $CPPFLAGS'
3038
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3039
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3040
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3041
 
if test -n "$ac_tool_prefix"; then
3042
 
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3043
 
set dummy ${ac_tool_prefix}gcc; ac_word=$2
3044
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3045
 
$as_echo_n "checking for $ac_word... " >&6; }
3046
 
if test "${ac_cv_prog_CC+set}" = set; then :
3047
 
  $as_echo_n "(cached) " >&6
3048
 
else
3049
 
  if test -n "$CC"; then
3050
 
  ac_cv_prog_CC="$CC" # Let the user override the test.
3051
 
else
3052
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3053
 
for as_dir in $PATH
3054
 
do
3055
 
  IFS=$as_save_IFS
3056
 
  test -z "$as_dir" && as_dir=.
3057
 
    for ac_exec_ext in '' $ac_executable_extensions; do
3058
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3059
 
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
3060
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3061
 
    break 2
3062
 
  fi
3063
 
done
3064
 
  done
3065
 
IFS=$as_save_IFS
3066
 
 
3067
 
fi
3068
 
fi
3069
 
CC=$ac_cv_prog_CC
3070
 
if test -n "$CC"; then
3071
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3072
 
$as_echo "$CC" >&6; }
3073
 
else
3074
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3075
 
$as_echo "no" >&6; }
3076
 
fi
3077
 
 
3078
 
 
3079
 
fi
3080
 
if test -z "$ac_cv_prog_CC"; then
3081
 
  ac_ct_CC=$CC
3082
 
  # Extract the first word of "gcc", so it can be a program name with args.
3083
 
set dummy gcc; ac_word=$2
3084
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3085
 
$as_echo_n "checking for $ac_word... " >&6; }
3086
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3087
 
  $as_echo_n "(cached) " >&6
3088
 
else
3089
 
  if test -n "$ac_ct_CC"; then
3090
 
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3091
 
else
3092
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3093
 
for as_dir in $PATH
3094
 
do
3095
 
  IFS=$as_save_IFS
3096
 
  test -z "$as_dir" && as_dir=.
3097
 
    for ac_exec_ext in '' $ac_executable_extensions; do
3098
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3099
 
    ac_cv_prog_ac_ct_CC="gcc"
3100
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3101
 
    break 2
3102
 
  fi
3103
 
done
3104
 
  done
3105
 
IFS=$as_save_IFS
3106
 
 
3107
 
fi
3108
 
fi
3109
 
ac_ct_CC=$ac_cv_prog_ac_ct_CC
3110
 
if test -n "$ac_ct_CC"; then
3111
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3112
 
$as_echo "$ac_ct_CC" >&6; }
3113
 
else
3114
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3115
 
$as_echo "no" >&6; }
3116
 
fi
3117
 
 
3118
 
  if test "x$ac_ct_CC" = x; then
3119
 
    CC=""
3120
 
  else
3121
 
    case $cross_compiling:$ac_tool_warned in
3122
 
yes:)
3123
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3124
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3125
 
ac_tool_warned=yes ;;
3126
 
esac
3127
 
    CC=$ac_ct_CC
3128
 
  fi
3129
 
else
3130
 
  CC="$ac_cv_prog_CC"
3131
 
fi
3132
 
 
3133
 
if test -z "$CC"; then
3134
 
          if test -n "$ac_tool_prefix"; then
3135
 
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3136
 
set dummy ${ac_tool_prefix}cc; ac_word=$2
3137
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3138
 
$as_echo_n "checking for $ac_word... " >&6; }
3139
 
if test "${ac_cv_prog_CC+set}" = set; then :
3140
 
  $as_echo_n "(cached) " >&6
3141
 
else
3142
 
  if test -n "$CC"; then
3143
 
  ac_cv_prog_CC="$CC" # Let the user override the test.
3144
 
else
3145
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3146
 
for as_dir in $PATH
3147
 
do
3148
 
  IFS=$as_save_IFS
3149
 
  test -z "$as_dir" && as_dir=.
3150
 
    for ac_exec_ext in '' $ac_executable_extensions; do
3151
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3152
 
    ac_cv_prog_CC="${ac_tool_prefix}cc"
3153
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3154
 
    break 2
3155
 
  fi
3156
 
done
3157
 
  done
3158
 
IFS=$as_save_IFS
3159
 
 
3160
 
fi
3161
 
fi
3162
 
CC=$ac_cv_prog_CC
3163
 
if test -n "$CC"; then
3164
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3165
 
$as_echo "$CC" >&6; }
3166
 
else
3167
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3168
 
$as_echo "no" >&6; }
3169
 
fi
3170
 
 
3171
 
 
3172
 
  fi
3173
 
fi
3174
 
if test -z "$CC"; then
3175
 
  # Extract the first word of "cc", so it can be a program name with args.
3176
 
set dummy cc; ac_word=$2
3177
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3178
 
$as_echo_n "checking for $ac_word... " >&6; }
3179
 
if test "${ac_cv_prog_CC+set}" = set; then :
3180
 
  $as_echo_n "(cached) " >&6
3181
 
else
3182
 
  if test -n "$CC"; then
3183
 
  ac_cv_prog_CC="$CC" # Let the user override the test.
3184
 
else
3185
 
  ac_prog_rejected=no
3186
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3187
 
for as_dir in $PATH
3188
 
do
3189
 
  IFS=$as_save_IFS
3190
 
  test -z "$as_dir" && as_dir=.
3191
 
    for ac_exec_ext in '' $ac_executable_extensions; do
3192
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3193
 
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3194
 
       ac_prog_rejected=yes
3195
 
       continue
3196
 
     fi
3197
 
    ac_cv_prog_CC="cc"
3198
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3199
 
    break 2
3200
 
  fi
3201
 
done
3202
 
  done
3203
 
IFS=$as_save_IFS
3204
 
 
3205
 
if test $ac_prog_rejected = yes; then
3206
 
  # We found a bogon in the path, so make sure we never use it.
3207
 
  set dummy $ac_cv_prog_CC
3208
 
  shift
3209
 
  if test $@%:@ != 0; then
3210
 
    # We chose a different compiler from the bogus one.
3211
 
    # However, it has the same basename, so the bogon will be chosen
3212
 
    # first if we set CC to just the basename; use the full file name.
3213
 
    shift
3214
 
    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3215
 
  fi
3216
 
fi
3217
 
fi
3218
 
fi
3219
 
CC=$ac_cv_prog_CC
3220
 
if test -n "$CC"; then
3221
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3222
 
$as_echo "$CC" >&6; }
3223
 
else
3224
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3225
 
$as_echo "no" >&6; }
3226
 
fi
3227
 
 
3228
 
 
3229
 
fi
3230
 
if test -z "$CC"; then
3231
 
  if test -n "$ac_tool_prefix"; then
3232
 
  for ac_prog in cl.exe
3233
 
  do
3234
 
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3235
 
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3236
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3237
 
$as_echo_n "checking for $ac_word... " >&6; }
3238
 
if test "${ac_cv_prog_CC+set}" = set; then :
3239
 
  $as_echo_n "(cached) " >&6
3240
 
else
3241
 
  if test -n "$CC"; then
3242
 
  ac_cv_prog_CC="$CC" # Let the user override the test.
3243
 
else
3244
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3245
 
for as_dir in $PATH
3246
 
do
3247
 
  IFS=$as_save_IFS
3248
 
  test -z "$as_dir" && as_dir=.
3249
 
    for ac_exec_ext in '' $ac_executable_extensions; do
3250
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3251
 
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3252
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3253
 
    break 2
3254
 
  fi
3255
 
done
3256
 
  done
3257
 
IFS=$as_save_IFS
3258
 
 
3259
 
fi
3260
 
fi
3261
 
CC=$ac_cv_prog_CC
3262
 
if test -n "$CC"; then
3263
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3264
 
$as_echo "$CC" >&6; }
3265
 
else
3266
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3267
 
$as_echo "no" >&6; }
3268
 
fi
3269
 
 
3270
 
 
3271
 
    test -n "$CC" && break
3272
 
  done
3273
 
fi
3274
 
if test -z "$CC"; then
3275
 
  ac_ct_CC=$CC
3276
 
  for ac_prog in cl.exe
3277
 
do
3278
 
  # Extract the first word of "$ac_prog", so it can be a program name with args.
3279
 
set dummy $ac_prog; ac_word=$2
3280
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3281
 
$as_echo_n "checking for $ac_word... " >&6; }
3282
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3283
 
  $as_echo_n "(cached) " >&6
3284
 
else
3285
 
  if test -n "$ac_ct_CC"; then
3286
 
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3287
 
else
3288
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3289
 
for as_dir in $PATH
3290
 
do
3291
 
  IFS=$as_save_IFS
3292
 
  test -z "$as_dir" && as_dir=.
3293
 
    for ac_exec_ext in '' $ac_executable_extensions; do
3294
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3295
 
    ac_cv_prog_ac_ct_CC="$ac_prog"
3296
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3297
 
    break 2
3298
 
  fi
3299
 
done
3300
 
  done
3301
 
IFS=$as_save_IFS
3302
 
 
3303
 
fi
3304
 
fi
3305
 
ac_ct_CC=$ac_cv_prog_ac_ct_CC
3306
 
if test -n "$ac_ct_CC"; then
3307
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3308
 
$as_echo "$ac_ct_CC" >&6; }
3309
 
else
3310
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3311
 
$as_echo "no" >&6; }
3312
 
fi
3313
 
 
3314
 
 
3315
 
  test -n "$ac_ct_CC" && break
3316
 
done
3317
 
 
3318
 
  if test "x$ac_ct_CC" = x; then
3319
 
    CC=""
3320
 
  else
3321
 
    case $cross_compiling:$ac_tool_warned in
3322
 
yes:)
3323
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3324
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3325
 
ac_tool_warned=yes ;;
3326
 
esac
3327
 
    CC=$ac_ct_CC
3328
 
  fi
3329
 
fi
3330
 
 
3331
 
fi
3332
 
 
3333
 
 
3334
 
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3335
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3336
 
as_fn_error $? "no acceptable C compiler found in \$PATH
3337
 
See \`config.log' for more details" "$LINENO" 5 ; }
3338
 
 
3339
 
# Provide some information about the compiler.
3340
 
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3341
 
set X $ac_compile
3342
 
ac_compiler=$2
3343
 
for ac_option in --version -v -V -qversion; do
3344
 
  { { ac_try="$ac_compiler $ac_option >&5"
3345
 
case "(($ac_try" in
3346
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3347
 
  *) ac_try_echo=$ac_try;;
3348
 
esac
3349
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3350
 
$as_echo "$ac_try_echo"; } >&5
3351
 
  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3352
 
  ac_status=$?
3353
 
  if test -s conftest.err; then
3354
 
    sed '10a\
3355
 
... rest of stderr output deleted ...
3356
 
         10q' conftest.err >conftest.er1
3357
 
    cat conftest.er1 >&5
3358
 
  fi
3359
 
  rm -f conftest.er1 conftest.err
3360
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3361
 
  test $ac_status = 0; }
3362
 
done
3363
 
 
3364
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3365
 
/* end confdefs.h.  */
3366
 
 
3367
 
int
3368
 
main ()
3369
 
{
3370
 
 
3371
 
  ;
3372
 
  return 0;
3373
 
}
3374
 
_ACEOF
3375
 
ac_clean_files_save=$ac_clean_files
3376
 
ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3377
 
# Try to create an executable without -o first, disregard a.out.
3378
 
# It will help us diagnose broken compilers, and finding out an intuition
3379
 
# of exeext.
3380
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3381
 
$as_echo_n "checking whether the C compiler works... " >&6; }
3382
 
ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3383
 
 
3384
 
# The possible output files:
3385
 
ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3386
 
 
3387
 
ac_rmfiles=
3388
 
for ac_file in $ac_files
3389
 
do
3390
 
  case $ac_file in
3391
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3392
 
    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3393
 
  esac
3394
 
done
3395
 
rm -f $ac_rmfiles
3396
 
 
3397
 
if { { ac_try="$ac_link_default"
3398
 
case "(($ac_try" in
3399
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3400
 
  *) ac_try_echo=$ac_try;;
3401
 
esac
3402
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3403
 
$as_echo "$ac_try_echo"; } >&5
3404
 
  (eval "$ac_link_default") 2>&5
3405
 
  ac_status=$?
3406
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3407
 
  test $ac_status = 0; }; then :
3408
 
  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3409
 
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3410
 
# in a Makefile.  We should not override ac_cv_exeext if it was cached,
3411
 
# so that the user can short-circuit this test for compilers unknown to
3412
 
# Autoconf.
3413
 
for ac_file in $ac_files ''
3414
 
do
3415
 
  test -f "$ac_file" || continue
3416
 
  case $ac_file in
3417
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3418
 
        ;;
3419
 
    [ab].out )
3420
 
        # We found the default executable, but exeext='' is most
3421
 
        # certainly right.
3422
 
        break;;
3423
 
    *.* )
3424
 
        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3425
 
        then :; else
3426
 
           ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3427
 
        fi
3428
 
        # We set ac_cv_exeext here because the later test for it is not
3429
 
        # safe: cross compilers may not add the suffix if given an `-o'
3430
 
        # argument, so we may need to know it at that point already.
3431
 
        # Even if this section looks crufty: it has the advantage of
3432
 
        # actually working.
3433
 
        break;;
3434
 
    * )
3435
 
        break;;
3436
 
  esac
3437
 
done
3438
 
test "$ac_cv_exeext" = no && ac_cv_exeext=
3439
 
 
3440
 
else
3441
 
  ac_file=''
3442
 
fi
3443
 
if test -z "$ac_file"; then :
3444
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3445
 
$as_echo "no" >&6; }
3446
 
$as_echo "$as_me: failed program was:" >&5
3447
 
sed 's/^/| /' conftest.$ac_ext >&5
3448
 
 
3449
 
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3450
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3451
 
as_fn_error 77 "C compiler cannot create executables
3452
 
See \`config.log' for more details" "$LINENO" 5 ; }
3453
 
else
3454
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3455
 
$as_echo "yes" >&6; }
3456
 
fi
3457
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3458
 
$as_echo_n "checking for C compiler default output file name... " >&6; }
3459
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3460
 
$as_echo "$ac_file" >&6; }
3461
 
ac_exeext=$ac_cv_exeext
3462
 
 
3463
 
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3464
 
ac_clean_files=$ac_clean_files_save
3465
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3466
 
$as_echo_n "checking for suffix of executables... " >&6; }
3467
 
if { { ac_try="$ac_link"
3468
 
case "(($ac_try" in
3469
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3470
 
  *) ac_try_echo=$ac_try;;
3471
 
esac
3472
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3473
 
$as_echo "$ac_try_echo"; } >&5
3474
 
  (eval "$ac_link") 2>&5
3475
 
  ac_status=$?
3476
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3477
 
  test $ac_status = 0; }; then :
3478
 
  # If both `conftest.exe' and `conftest' are `present' (well, observable)
3479
 
# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3480
 
# work properly (i.e., refer to `conftest.exe'), while it won't with
3481
 
# `rm'.
3482
 
for ac_file in conftest.exe conftest conftest.*; do
3483
 
  test -f "$ac_file" || continue
3484
 
  case $ac_file in
3485
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3486
 
    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3487
 
          break;;
3488
 
    * ) break;;
3489
 
  esac
3490
 
done
3491
 
else
3492
 
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3493
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3494
 
as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3495
 
See \`config.log' for more details" "$LINENO" 5 ; }
3496
 
fi
3497
 
rm -f conftest conftest$ac_cv_exeext
3498
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3499
 
$as_echo "$ac_cv_exeext" >&6; }
3500
 
 
3501
 
rm -f conftest.$ac_ext
3502
 
EXEEXT=$ac_cv_exeext
3503
 
ac_exeext=$EXEEXT
3504
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3505
 
/* end confdefs.h.  */
3506
 
@%:@include <stdio.h>
3507
 
int
3508
 
main ()
3509
 
{
3510
 
FILE *f = fopen ("conftest.out", "w");
3511
 
 return ferror (f) || fclose (f) != 0;
3512
 
 
3513
 
  ;
3514
 
  return 0;
3515
 
}
3516
 
_ACEOF
3517
 
ac_clean_files="$ac_clean_files conftest.out"
3518
 
# Check that the compiler produces executables we can run.  If not, either
3519
 
# the compiler is broken, or we cross compile.
3520
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3521
 
$as_echo_n "checking whether we are cross compiling... " >&6; }
3522
 
if test "$cross_compiling" != yes; then
3523
 
  { { ac_try="$ac_link"
3524
 
case "(($ac_try" in
3525
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3526
 
  *) ac_try_echo=$ac_try;;
3527
 
esac
3528
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3529
 
$as_echo "$ac_try_echo"; } >&5
3530
 
  (eval "$ac_link") 2>&5
3531
 
  ac_status=$?
3532
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3533
 
  test $ac_status = 0; }
3534
 
  if { ac_try='./conftest$ac_cv_exeext'
3535
 
  { { case "(($ac_try" in
3536
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3537
 
  *) ac_try_echo=$ac_try;;
3538
 
esac
3539
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3540
 
$as_echo "$ac_try_echo"; } >&5
3541
 
  (eval "$ac_try") 2>&5
3542
 
  ac_status=$?
3543
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3544
 
  test $ac_status = 0; }; }; then
3545
 
    cross_compiling=no
3546
 
  else
3547
 
    if test "$cross_compiling" = maybe; then
3548
 
        cross_compiling=yes
3549
 
    else
3550
 
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3551
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3552
 
as_fn_error $? "cannot run C compiled programs.
3553
 
If you meant to cross compile, use \`--host'.
3554
 
See \`config.log' for more details" "$LINENO" 5 ; }
3555
 
    fi
3556
 
  fi
3557
 
fi
3558
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3559
 
$as_echo "$cross_compiling" >&6; }
3560
 
 
3561
 
rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3562
 
ac_clean_files=$ac_clean_files_save
3563
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3564
 
$as_echo_n "checking for suffix of object files... " >&6; }
3565
 
if test "${ac_cv_objext+set}" = set; then :
3566
 
  $as_echo_n "(cached) " >&6
3567
 
else
3568
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3569
 
/* end confdefs.h.  */
3570
 
 
3571
 
int
3572
 
main ()
3573
 
{
3574
 
 
3575
 
  ;
3576
 
  return 0;
3577
 
}
3578
 
_ACEOF
3579
 
rm -f conftest.o conftest.obj
3580
 
if { { ac_try="$ac_compile"
3581
 
case "(($ac_try" in
3582
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3583
 
  *) ac_try_echo=$ac_try;;
3584
 
esac
3585
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3586
 
$as_echo "$ac_try_echo"; } >&5
3587
 
  (eval "$ac_compile") 2>&5
3588
 
  ac_status=$?
3589
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3590
 
  test $ac_status = 0; }; then :
3591
 
  for ac_file in conftest.o conftest.obj conftest.*; do
3592
 
  test -f "$ac_file" || continue;
3593
 
  case $ac_file in
3594
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3595
 
    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3596
 
       break;;
3597
 
  esac
3598
 
done
3599
 
else
3600
 
  $as_echo "$as_me: failed program was:" >&5
3601
 
sed 's/^/| /' conftest.$ac_ext >&5
3602
 
 
3603
 
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3604
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3605
 
as_fn_error $? "cannot compute suffix of object files: cannot compile
3606
 
See \`config.log' for more details" "$LINENO" 5 ; }
3607
 
fi
3608
 
rm -f conftest.$ac_cv_objext conftest.$ac_ext
3609
 
fi
3610
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3611
 
$as_echo "$ac_cv_objext" >&6; }
3612
 
OBJEXT=$ac_cv_objext
3613
 
ac_objext=$OBJEXT
3614
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3615
 
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3616
 
if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3617
 
  $as_echo_n "(cached) " >&6
3618
 
else
3619
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3620
 
/* end confdefs.h.  */
3621
 
 
3622
 
int
3623
 
main ()
3624
 
{
3625
 
#ifndef __GNUC__
3626
 
       choke me
3627
 
#endif
3628
 
 
3629
 
  ;
3630
 
  return 0;
3631
 
}
3632
 
_ACEOF
3633
 
if ac_fn_c_try_compile "$LINENO"; then :
3634
 
  ac_compiler_gnu=yes
3635
 
else
3636
 
  ac_compiler_gnu=no
3637
 
fi
3638
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3639
 
ac_cv_c_compiler_gnu=$ac_compiler_gnu
3640
 
 
3641
 
fi
3642
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3643
 
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
3644
 
if test $ac_compiler_gnu = yes; then
3645
 
  GCC=yes
3646
 
else
3647
 
  GCC=
3648
 
fi
3649
 
ac_test_CFLAGS=${CFLAGS+set}
3650
 
ac_save_CFLAGS=$CFLAGS
3651
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3652
 
$as_echo_n "checking whether $CC accepts -g... " >&6; }
3653
 
if test "${ac_cv_prog_cc_g+set}" = set; then :
3654
 
  $as_echo_n "(cached) " >&6
3655
 
else
3656
 
  ac_save_c_werror_flag=$ac_c_werror_flag
3657
 
   ac_c_werror_flag=yes
3658
 
   ac_cv_prog_cc_g=no
3659
 
   CFLAGS="-g"
3660
 
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3661
 
/* end confdefs.h.  */
3662
 
 
3663
 
int
3664
 
main ()
3665
 
{
3666
 
 
3667
 
  ;
3668
 
  return 0;
3669
 
}
3670
 
_ACEOF
3671
 
if ac_fn_c_try_compile "$LINENO"; then :
3672
 
  ac_cv_prog_cc_g=yes
3673
 
else
3674
 
  CFLAGS=""
3675
 
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3676
 
/* end confdefs.h.  */
3677
 
 
3678
 
int
3679
 
main ()
3680
 
{
3681
 
 
3682
 
  ;
3683
 
  return 0;
3684
 
}
3685
 
_ACEOF
3686
 
if ac_fn_c_try_compile "$LINENO"; then :
3687
 
  
3688
 
else
3689
 
  ac_c_werror_flag=$ac_save_c_werror_flag
3690
 
         CFLAGS="-g"
3691
 
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3692
 
/* end confdefs.h.  */
3693
 
 
3694
 
int
3695
 
main ()
3696
 
{
3697
 
 
3698
 
  ;
3699
 
  return 0;
3700
 
}
3701
 
_ACEOF
3702
 
if ac_fn_c_try_compile "$LINENO"; then :
3703
 
  ac_cv_prog_cc_g=yes
3704
 
fi
3705
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3706
 
fi
3707
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3708
 
fi
3709
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3710
 
   ac_c_werror_flag=$ac_save_c_werror_flag
3711
 
fi
3712
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3713
 
$as_echo "$ac_cv_prog_cc_g" >&6; }
3714
 
if test "$ac_test_CFLAGS" = set; then
3715
 
  CFLAGS=$ac_save_CFLAGS
3716
 
elif test $ac_cv_prog_cc_g = yes; then
3717
 
  if test "$GCC" = yes; then
3718
 
    CFLAGS="-g -O2"
3719
 
  else
3720
 
    CFLAGS="-g"
3721
 
  fi
3722
 
else
3723
 
  if test "$GCC" = yes; then
3724
 
    CFLAGS="-O2"
3725
 
  else
3726
 
    CFLAGS=
3727
 
  fi
3728
 
fi
3729
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3730
 
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3731
 
if test "${ac_cv_prog_cc_c89+set}" = set; then :
3732
 
  $as_echo_n "(cached) " >&6
3733
 
else
3734
 
  ac_cv_prog_cc_c89=no
3735
 
ac_save_CC=$CC
3736
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3737
 
/* end confdefs.h.  */
3738
 
#include <stdarg.h>
3739
 
#include <stdio.h>
3740
 
#include <sys/types.h>
3741
 
#include <sys/stat.h>
3742
 
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3743
 
struct buf { int x; };
3744
 
FILE * (*rcsopen) (struct buf *, struct stat *, int);
3745
 
static char *e (p, i)
3746
 
     char **p;
3747
 
     int i;
3748
 
{
3749
 
  return p[i];
3750
 
}
3751
 
static char *f (char * (*g) (char **, int), char **p, ...)
3752
 
{
3753
 
  char *s;
3754
 
  va_list v;
3755
 
  va_start (v,p);
3756
 
  s = g (p, va_arg (v,int));
3757
 
  va_end (v);
3758
 
  return s;
3759
 
}
3760
 
 
3761
 
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
3762
 
   function prototypes and stuff, but not '\xHH' hex character constants.
3763
 
   These don't provoke an error unfortunately, instead are silently treated
3764
 
   as 'x'.  The following induces an error, until -std is added to get
3765
 
   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
3766
 
   array size at least.  It's necessary to write '\x00'==0 to get something
3767
 
   that's true only with -std.  */
3768
 
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3769
 
 
3770
 
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3771
 
   inside strings and character constants.  */
3772
 
#define FOO(x) 'x'
3773
 
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3774
 
 
3775
 
int test (int i, double x);
3776
 
struct s1 {int (*f) (int a);};
3777
 
struct s2 {int (*f) (double a);};
3778
 
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3779
 
int argc;
3780
 
char **argv;
3781
 
int
3782
 
main ()
3783
 
{
3784
 
return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
3785
 
  ;
3786
 
  return 0;
3787
 
}
3788
 
_ACEOF
3789
 
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3790
 
        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3791
 
do
3792
 
  CC="$ac_save_CC $ac_arg"
3793
 
  if ac_fn_c_try_compile "$LINENO"; then :
3794
 
  ac_cv_prog_cc_c89=$ac_arg
3795
 
fi
3796
 
rm -f core conftest.err conftest.$ac_objext
3797
 
  test "x$ac_cv_prog_cc_c89" != "xno" && break
3798
 
done
3799
 
rm -f conftest.$ac_ext
3800
 
CC=$ac_save_CC
3801
 
 
3802
 
fi
3803
 
# AC_CACHE_VAL
3804
 
case "x$ac_cv_prog_cc_c89" in
3805
 
  x)
3806
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3807
 
$as_echo "none needed" >&6; } ;;
3808
 
  xno)
3809
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3810
 
$as_echo "unsupported" >&6; } ;;
3811
 
  *)
3812
 
    CC="$CC $ac_cv_prog_cc_c89"
3813
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3814
 
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3815
 
esac
3816
 
if test "x$ac_cv_prog_cc_c89" != xno; then :
3817
 
  
3818
 
fi
3819
 
 
3820
 
ac_ext=c
3821
 
ac_cpp='$CPP $CPPFLAGS'
3822
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3823
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3824
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3825
 
DEPDIR="${am__leading_dot}deps"
3826
 
 
3827
 
ac_config_commands="$ac_config_commands depfiles"
3828
 
 
3829
 
 
3830
 
am_make=${MAKE-make}
3831
 
cat > confinc << 'END'
3832
 
am__doit:
3833
 
        @echo this is the am__doit target
3834
 
.PHONY: am__doit
3835
 
END
3836
 
# If we don't find an include directive, just comment out the code.
3837
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3838
 
$as_echo_n "checking for style of include used by $am_make... " >&6; }
3839
 
am__include="#"
3840
 
am__quote=
3841
 
_am_result=none
3842
 
# First try GNU make style include.
3843
 
echo "include confinc" > confmf
3844
 
# Ignore all kinds of additional output from `make'.
3845
 
case `$am_make -s -f confmf 2> /dev/null` in #(
3846
 
*the\ am__doit\ target*)
3847
 
  am__include=include
3848
 
  am__quote=
3849
 
  _am_result=GNU
3850
 
  ;;
3851
 
esac
3852
 
# Now try BSD make style include.
3853
 
if test "$am__include" = "#"; then
3854
 
   echo '.include "confinc"' > confmf
3855
 
   case `$am_make -s -f confmf 2> /dev/null` in #(
3856
 
   *the\ am__doit\ target*)
3857
 
     am__include=.include
3858
 
     am__quote="\""
3859
 
     _am_result=BSD
3860
 
     ;;
3861
 
   esac
3862
 
fi
3863
 
 
3864
 
 
3865
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3866
 
$as_echo "$_am_result" >&6; }
3867
 
rm -f confinc confmf
3868
 
 
3869
 
@%:@ Check whether --enable-dependency-tracking was given.
3870
 
if test "${enable_dependency_tracking+set}" = set; then :
3871
 
  enableval=$enable_dependency_tracking; 
3872
 
fi
3873
 
 
3874
 
if test "x$enable_dependency_tracking" != xno; then
3875
 
  am_depcomp="$ac_aux_dir/depcomp"
3876
 
  AMDEPBACKSLASH='\'
3877
 
fi
3878
 
 if test "x$enable_dependency_tracking" != xno; then
3879
 
  AMDEP_TRUE=
3880
 
  AMDEP_FALSE='#'
3881
 
else
3882
 
  AMDEP_TRUE='#'
3883
 
  AMDEP_FALSE=
3884
 
fi
3885
 
 
3886
 
 
3887
 
 
3888
 
depcc="$CC"   am_compiler_list=
3889
 
 
3890
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3891
 
$as_echo_n "checking dependency style of $depcc... " >&6; }
3892
 
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
3893
 
  $as_echo_n "(cached) " >&6
3894
 
else
3895
 
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3896
 
  # We make a subdir and do the tests there.  Otherwise we can end up
3897
 
  # making bogus files that we don't know about and never remove.  For
3898
 
  # instance it was reported that on HP-UX the gcc test will end up
3899
 
  # making a dummy file named `D' -- because `-MD' means `put the output
3900
 
  # in D'.
3901
 
  mkdir conftest.dir
3902
 
  # Copy depcomp to subdir because otherwise we won't find it if we're
3903
 
  # using a relative directory.
3904
 
  cp "$am_depcomp" conftest.dir
3905
 
  cd conftest.dir
3906
 
  # We will build objects and dependencies in a subdirectory because
3907
 
  # it helps to detect inapplicable dependency modes.  For instance
3908
 
  # both Tru64's cc and ICC support -MD to output dependencies as a
3909
 
  # side effect of compilation, but ICC will put the dependencies in
3910
 
  # the current directory while Tru64 will put them in the object
3911
 
  # directory.
3912
 
  mkdir sub
3913
 
 
3914
 
  am_cv_CC_dependencies_compiler_type=none
3915
 
  if test "$am_compiler_list" = ""; then
3916
 
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3917
 
  fi
3918
 
  am__universal=false
3919
 
  case " $depcc " in #(
3920
 
     *\ -arch\ *\ -arch\ *) am__universal=true ;;
3921
 
     esac
3922
 
 
3923
 
  for depmode in $am_compiler_list; do
3924
 
    # Setup a source with many dependencies, because some compilers
3925
 
    # like to wrap large dependency lists on column 80 (with \), and
3926
 
    # we should not choose a depcomp mode which is confused by this.
3927
 
    #
3928
 
    # We need to recreate these files for each test, as the compiler may
3929
 
    # overwrite some of them when testing with obscure command lines.
3930
 
    # This happens at least with the AIX C compiler.
3931
 
    : > sub/conftest.c
3932
 
    for i in 1 2 3 4 5 6; do
3933
 
      echo '#include "conftst'$i'.h"' >> sub/conftest.c
3934
 
      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3935
 
      # Solaris 8's {/usr,}/bin/sh.
3936
 
      touch sub/conftst$i.h
3937
 
    done
3938
 
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3939
 
 
3940
 
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
3941
 
    # mode.  It turns out that the SunPro C++ compiler does not properly
3942
 
    # handle `-M -o', and we need to detect this.  Also, some Intel
3943
 
    # versions had trouble with output in subdirs
3944
 
    am__obj=sub/conftest.${OBJEXT-o}
3945
 
    am__minus_obj="-o $am__obj"
3946
 
    case $depmode in
3947
 
    gcc)
3948
 
      # This depmode causes a compiler race in universal mode.
3949
 
      test "$am__universal" = false || continue
3950
 
      ;;
3951
 
    nosideeffect)
3952
 
      # after this tag, mechanisms are not by side-effect, so they'll
3953
 
      # only be used when explicitly requested
3954
 
      if test "x$enable_dependency_tracking" = xyes; then
3955
 
        continue
3956
 
      else
3957
 
        break
3958
 
      fi
3959
 
      ;;
3960
 
    msvisualcpp | msvcmsys)
3961
 
      # This compiler won't grok `-c -o', but also, the minuso test has
3962
 
      # not run yet.  These depmodes are late enough in the game, and
3963
 
      # so weak that their functioning should not be impacted.
3964
 
      am__obj=conftest.${OBJEXT-o}
3965
 
      am__minus_obj=
3966
 
      ;;
3967
 
    none) break ;;
3968
 
    esac
3969
 
    if depmode=$depmode \
3970
 
       source=sub/conftest.c object=$am__obj \
3971
 
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3972
 
       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3973
 
         >/dev/null 2>conftest.err &&
3974
 
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3975
 
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3976
 
       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3977
 
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3978
 
      # icc doesn't choke on unknown options, it will just issue warnings
3979
 
      # or remarks (even with -Werror).  So we grep stderr for any message
3980
 
      # that says an option was ignored or not supported.
3981
 
      # When given -MP, icc 7.0 and 7.1 complain thusly:
3982
 
      #   icc: Command line warning: ignoring option '-M'; no argument required
3983
 
      # The diagnosis changed in icc 8.0:
3984
 
      #   icc: Command line remark: option '-MP' not supported
3985
 
      if (grep 'ignoring option' conftest.err ||
3986
 
          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3987
 
        am_cv_CC_dependencies_compiler_type=$depmode
3988
 
        break
3989
 
      fi
3990
 
    fi
3991
 
  done
3992
 
 
3993
 
  cd ..
3994
 
  rm -rf conftest.dir
3995
 
else
3996
 
  am_cv_CC_dependencies_compiler_type=none
3997
 
fi
3998
 
 
3999
 
fi
4000
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4001
 
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4002
 
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4003
 
 
4004
 
 if 
4005
 
  test "x$enable_dependency_tracking" != xno \
4006
 
  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4007
 
  am__fastdepCC_TRUE=
4008
 
  am__fastdepCC_FALSE='#'
4009
 
else
4010
 
  am__fastdepCC_TRUE='#'
4011
 
  am__fastdepCC_FALSE=
4012
 
fi
4013
 
 
4014
 
 
4015
 
ac_ext=cpp
4016
 
ac_cpp='$CXXCPP $CPPFLAGS'
4017
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4018
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4019
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4020
 
if test -z "$CXX"; then
4021
 
  if test -n "$CCC"; then
4022
 
    CXX=$CCC
4023
 
  else
4024
 
    if test -n "$ac_tool_prefix"; then
4025
 
  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4026
 
  do
4027
 
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4028
 
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4029
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4030
 
$as_echo_n "checking for $ac_word... " >&6; }
4031
 
if test "${ac_cv_prog_CXX+set}" = set; then :
4032
 
  $as_echo_n "(cached) " >&6
4033
 
else
4034
 
  if test -n "$CXX"; then
4035
 
  ac_cv_prog_CXX="$CXX" # Let the user override the test.
4036
 
else
4037
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4038
 
for as_dir in $PATH
4039
 
do
4040
 
  IFS=$as_save_IFS
4041
 
  test -z "$as_dir" && as_dir=.
4042
 
    for ac_exec_ext in '' $ac_executable_extensions; do
4043
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4044
 
    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4045
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4046
 
    break 2
4047
 
  fi
4048
 
done
4049
 
  done
4050
 
IFS=$as_save_IFS
4051
 
 
4052
 
fi
4053
 
fi
4054
 
CXX=$ac_cv_prog_CXX
4055
 
if test -n "$CXX"; then
4056
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4057
 
$as_echo "$CXX" >&6; }
4058
 
else
4059
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4060
 
$as_echo "no" >&6; }
4061
 
fi
4062
 
 
4063
 
 
4064
 
    test -n "$CXX" && break
4065
 
  done
4066
 
fi
4067
 
if test -z "$CXX"; then
4068
 
  ac_ct_CXX=$CXX
4069
 
  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4070
 
do
4071
 
  # Extract the first word of "$ac_prog", so it can be a program name with args.
4072
 
set dummy $ac_prog; ac_word=$2
4073
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4074
 
$as_echo_n "checking for $ac_word... " >&6; }
4075
 
if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
4076
 
  $as_echo_n "(cached) " >&6
4077
 
else
4078
 
  if test -n "$ac_ct_CXX"; then
4079
 
  ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4080
 
else
4081
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4082
 
for as_dir in $PATH
4083
 
do
4084
 
  IFS=$as_save_IFS
4085
 
  test -z "$as_dir" && as_dir=.
4086
 
    for ac_exec_ext in '' $ac_executable_extensions; do
4087
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4088
 
    ac_cv_prog_ac_ct_CXX="$ac_prog"
4089
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4090
 
    break 2
4091
 
  fi
4092
 
done
4093
 
  done
4094
 
IFS=$as_save_IFS
4095
 
 
4096
 
fi
4097
 
fi
4098
 
ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4099
 
if test -n "$ac_ct_CXX"; then
4100
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4101
 
$as_echo "$ac_ct_CXX" >&6; }
4102
 
else
4103
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4104
 
$as_echo "no" >&6; }
4105
 
fi
4106
 
 
4107
 
 
4108
 
  test -n "$ac_ct_CXX" && break
4109
 
done
4110
 
 
4111
 
  if test "x$ac_ct_CXX" = x; then
4112
 
    CXX="g++"
4113
 
  else
4114
 
    case $cross_compiling:$ac_tool_warned in
4115
 
yes:)
4116
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4117
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4118
 
ac_tool_warned=yes ;;
4119
 
esac
4120
 
    CXX=$ac_ct_CXX
4121
 
  fi
4122
 
fi
4123
 
 
4124
 
  fi
4125
 
fi
4126
 
# Provide some information about the compiler.
4127
 
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4128
 
set X $ac_compile
4129
 
ac_compiler=$2
4130
 
for ac_option in --version -v -V -qversion; do
4131
 
  { { ac_try="$ac_compiler $ac_option >&5"
4132
 
case "(($ac_try" in
4133
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4134
 
  *) ac_try_echo=$ac_try;;
4135
 
esac
4136
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4137
 
$as_echo "$ac_try_echo"; } >&5
4138
 
  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4139
 
  ac_status=$?
4140
 
  if test -s conftest.err; then
4141
 
    sed '10a\
4142
 
... rest of stderr output deleted ...
4143
 
         10q' conftest.err >conftest.er1
4144
 
    cat conftest.er1 >&5
4145
 
  fi
4146
 
  rm -f conftest.er1 conftest.err
4147
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4148
 
  test $ac_status = 0; }
4149
 
done
4150
 
 
4151
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4152
 
$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4153
 
if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
4154
 
  $as_echo_n "(cached) " >&6
4155
 
else
4156
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4157
 
/* end confdefs.h.  */
4158
 
 
4159
 
int
4160
 
main ()
4161
 
{
4162
 
#ifndef __GNUC__
4163
 
       choke me
4164
 
#endif
4165
 
 
4166
 
  ;
4167
 
  return 0;
4168
 
}
4169
 
_ACEOF
4170
 
if ac_fn_cxx_try_compile "$LINENO"; then :
4171
 
  ac_compiler_gnu=yes
4172
 
else
4173
 
  ac_compiler_gnu=no
4174
 
fi
4175
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4176
 
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4177
 
 
4178
 
fi
4179
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4180
 
$as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4181
 
if test $ac_compiler_gnu = yes; then
4182
 
  GXX=yes
4183
 
else
4184
 
  GXX=
4185
 
fi
4186
 
ac_test_CXXFLAGS=${CXXFLAGS+set}
4187
 
ac_save_CXXFLAGS=$CXXFLAGS
4188
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4189
 
$as_echo_n "checking whether $CXX accepts -g... " >&6; }
4190
 
if test "${ac_cv_prog_cxx_g+set}" = set; then :
4191
 
  $as_echo_n "(cached) " >&6
4192
 
else
4193
 
  ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4194
 
   ac_cxx_werror_flag=yes
4195
 
   ac_cv_prog_cxx_g=no
4196
 
   CXXFLAGS="-g"
4197
 
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4198
 
/* end confdefs.h.  */
4199
 
 
4200
 
int
4201
 
main ()
4202
 
{
4203
 
 
4204
 
  ;
4205
 
  return 0;
4206
 
}
4207
 
_ACEOF
4208
 
if ac_fn_cxx_try_compile "$LINENO"; then :
4209
 
  ac_cv_prog_cxx_g=yes
4210
 
else
4211
 
  CXXFLAGS=""
4212
 
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4213
 
/* end confdefs.h.  */
4214
 
 
4215
 
int
4216
 
main ()
4217
 
{
4218
 
 
4219
 
  ;
4220
 
  return 0;
4221
 
}
4222
 
_ACEOF
4223
 
if ac_fn_cxx_try_compile "$LINENO"; then :
4224
 
  
4225
 
else
4226
 
  ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4227
 
         CXXFLAGS="-g"
4228
 
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4229
 
/* end confdefs.h.  */
4230
 
 
4231
 
int
4232
 
main ()
4233
 
{
4234
 
 
4235
 
  ;
4236
 
  return 0;
4237
 
}
4238
 
_ACEOF
4239
 
if ac_fn_cxx_try_compile "$LINENO"; then :
4240
 
  ac_cv_prog_cxx_g=yes
4241
 
fi
4242
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4243
 
fi
4244
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4245
 
fi
4246
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4247
 
   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4248
 
fi
4249
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4250
 
$as_echo "$ac_cv_prog_cxx_g" >&6; }
4251
 
if test "$ac_test_CXXFLAGS" = set; then
4252
 
  CXXFLAGS=$ac_save_CXXFLAGS
4253
 
elif test $ac_cv_prog_cxx_g = yes; then
4254
 
  if test "$GXX" = yes; then
4255
 
    CXXFLAGS="-g -O2"
4256
 
  else
4257
 
    CXXFLAGS="-g"
4258
 
  fi
4259
 
else
4260
 
  if test "$GXX" = yes; then
4261
 
    CXXFLAGS="-O2"
4262
 
  else
4263
 
    CXXFLAGS=
4264
 
  fi
4265
 
fi
4266
 
ac_ext=c
4267
 
ac_cpp='$CPP $CPPFLAGS'
4268
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4269
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4270
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4271
 
 
4272
 
depcc="$CXX"  am_compiler_list=
4273
 
 
4274
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4275
 
$as_echo_n "checking dependency style of $depcc... " >&6; }
4276
 
if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then :
4277
 
  $as_echo_n "(cached) " >&6
4278
 
else
4279
 
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4280
 
  # We make a subdir and do the tests there.  Otherwise we can end up
4281
 
  # making bogus files that we don't know about and never remove.  For
4282
 
  # instance it was reported that on HP-UX the gcc test will end up
4283
 
  # making a dummy file named `D' -- because `-MD' means `put the output
4284
 
  # in D'.
4285
 
  mkdir conftest.dir
4286
 
  # Copy depcomp to subdir because otherwise we won't find it if we're
4287
 
  # using a relative directory.
4288
 
  cp "$am_depcomp" conftest.dir
4289
 
  cd conftest.dir
4290
 
  # We will build objects and dependencies in a subdirectory because
4291
 
  # it helps to detect inapplicable dependency modes.  For instance
4292
 
  # both Tru64's cc and ICC support -MD to output dependencies as a
4293
 
  # side effect of compilation, but ICC will put the dependencies in
4294
 
  # the current directory while Tru64 will put them in the object
4295
 
  # directory.
4296
 
  mkdir sub
4297
 
 
4298
 
  am_cv_CXX_dependencies_compiler_type=none
4299
 
  if test "$am_compiler_list" = ""; then
4300
 
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4301
 
  fi
4302
 
  am__universal=false
4303
 
  case " $depcc " in #(
4304
 
     *\ -arch\ *\ -arch\ *) am__universal=true ;;
4305
 
     esac
4306
 
 
4307
 
  for depmode in $am_compiler_list; do
4308
 
    # Setup a source with many dependencies, because some compilers
4309
 
    # like to wrap large dependency lists on column 80 (with \), and
4310
 
    # we should not choose a depcomp mode which is confused by this.
4311
 
    #
4312
 
    # We need to recreate these files for each test, as the compiler may
4313
 
    # overwrite some of them when testing with obscure command lines.
4314
 
    # This happens at least with the AIX C compiler.
4315
 
    : > sub/conftest.c
4316
 
    for i in 1 2 3 4 5 6; do
4317
 
      echo '#include "conftst'$i'.h"' >> sub/conftest.c
4318
 
      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4319
 
      # Solaris 8's {/usr,}/bin/sh.
4320
 
      touch sub/conftst$i.h
4321
 
    done
4322
 
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4323
 
 
4324
 
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
4325
 
    # mode.  It turns out that the SunPro C++ compiler does not properly
4326
 
    # handle `-M -o', and we need to detect this.  Also, some Intel
4327
 
    # versions had trouble with output in subdirs
4328
 
    am__obj=sub/conftest.${OBJEXT-o}
4329
 
    am__minus_obj="-o $am__obj"
4330
 
    case $depmode in
4331
 
    gcc)
4332
 
      # This depmode causes a compiler race in universal mode.
4333
 
      test "$am__universal" = false || continue
4334
 
      ;;
4335
 
    nosideeffect)
4336
 
      # after this tag, mechanisms are not by side-effect, so they'll
4337
 
      # only be used when explicitly requested
4338
 
      if test "x$enable_dependency_tracking" = xyes; then
4339
 
        continue
4340
 
      else
4341
 
        break
4342
 
      fi
4343
 
      ;;
4344
 
    msvisualcpp | msvcmsys)
4345
 
      # This compiler won't grok `-c -o', but also, the minuso test has
4346
 
      # not run yet.  These depmodes are late enough in the game, and
4347
 
      # so weak that their functioning should not be impacted.
4348
 
      am__obj=conftest.${OBJEXT-o}
4349
 
      am__minus_obj=
4350
 
      ;;
4351
 
    none) break ;;
4352
 
    esac
4353
 
    if depmode=$depmode \
4354
 
       source=sub/conftest.c object=$am__obj \
4355
 
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4356
 
       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4357
 
         >/dev/null 2>conftest.err &&
4358
 
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4359
 
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4360
 
       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4361
 
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4362
 
      # icc doesn't choke on unknown options, it will just issue warnings
4363
 
      # or remarks (even with -Werror).  So we grep stderr for any message
4364
 
      # that says an option was ignored or not supported.
4365
 
      # When given -MP, icc 7.0 and 7.1 complain thusly:
4366
 
      #   icc: Command line warning: ignoring option '-M'; no argument required
4367
 
      # The diagnosis changed in icc 8.0:
4368
 
      #   icc: Command line remark: option '-MP' not supported
4369
 
      if (grep 'ignoring option' conftest.err ||
4370
 
          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4371
 
        am_cv_CXX_dependencies_compiler_type=$depmode
4372
 
        break
4373
 
      fi
4374
 
    fi
4375
 
  done
4376
 
 
4377
 
  cd ..
4378
 
  rm -rf conftest.dir
4379
 
else
4380
 
  am_cv_CXX_dependencies_compiler_type=none
4381
 
fi
4382
 
 
4383
 
fi
4384
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
4385
 
$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
4386
 
CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
4387
 
 
4388
 
 if 
4389
 
  test "x$enable_dependency_tracking" != xno \
4390
 
  && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
4391
 
  am__fastdepCXX_TRUE=
4392
 
  am__fastdepCXX_FALSE='#'
4393
 
else
4394
 
  am__fastdepCXX_TRUE='#'
4395
 
  am__fastdepCXX_FALSE=
4396
 
fi
4397
 
 
4398
 
 
4399
 
ac_ext=c
4400
 
ac_cpp='$CPP $CPPFLAGS'
4401
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4402
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4403
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4404
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4405
 
$as_echo_n "checking how to run the C preprocessor... " >&6; }
4406
 
# On Suns, sometimes $CPP names a directory.
4407
 
if test -n "$CPP" && test -d "$CPP"; then
4408
 
  CPP=
4409
 
fi
4410
 
if test -z "$CPP"; then
4411
 
  if test "${ac_cv_prog_CPP+set}" = set; then :
4412
 
  $as_echo_n "(cached) " >&6
4413
 
else
4414
 
      # Double quotes because CPP needs to be expanded
4415
 
    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4416
 
    do
4417
 
      ac_preproc_ok=false
4418
 
for ac_c_preproc_warn_flag in '' yes
4419
 
do
4420
 
  # Use a header file that comes with gcc, so configuring glibc
4421
 
  # with a fresh cross-compiler works.
4422
 
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4423
 
  # <limits.h> exists even on freestanding compilers.
4424
 
  # On the NeXT, cc -E runs the code through the compiler's parser,
4425
 
  # not just through cpp. "Syntax error" is here to catch this case.
4426
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4427
 
/* end confdefs.h.  */
4428
 
@%:@ifdef __STDC__
4429
 
@%:@ include <limits.h>
4430
 
@%:@else
4431
 
@%:@ include <assert.h>
4432
 
@%:@endif
4433
 
                     Syntax error
4434
 
_ACEOF
4435
 
if ac_fn_c_try_cpp "$LINENO"; then :
4436
 
  
4437
 
else
4438
 
  # Broken: fails on valid input.
4439
 
continue
4440
 
fi
4441
 
rm -f conftest.err conftest.i conftest.$ac_ext
4442
 
 
4443
 
  # OK, works on sane cases.  Now check whether nonexistent headers
4444
 
  # can be detected and how.
4445
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4446
 
/* end confdefs.h.  */
4447
 
@%:@include <ac_nonexistent.h>
4448
 
_ACEOF
4449
 
if ac_fn_c_try_cpp "$LINENO"; then :
4450
 
  # Broken: success on invalid input.
4451
 
continue
4452
 
else
4453
 
  # Passes both tests.
4454
 
ac_preproc_ok=:
4455
 
break
4456
 
fi
4457
 
rm -f conftest.err conftest.i conftest.$ac_ext
4458
 
 
4459
 
done
4460
 
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4461
 
rm -f conftest.i conftest.err conftest.$ac_ext
4462
 
if $ac_preproc_ok; then :
4463
 
  break
4464
 
fi
4465
 
 
4466
 
    done
4467
 
    ac_cv_prog_CPP=$CPP
4468
 
  
4469
 
fi
4470
 
  CPP=$ac_cv_prog_CPP
4471
 
else
4472
 
  ac_cv_prog_CPP=$CPP
4473
 
fi
4474
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4475
 
$as_echo "$CPP" >&6; }
4476
 
ac_preproc_ok=false
4477
 
for ac_c_preproc_warn_flag in '' yes
4478
 
do
4479
 
  # Use a header file that comes with gcc, so configuring glibc
4480
 
  # with a fresh cross-compiler works.
4481
 
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4482
 
  # <limits.h> exists even on freestanding compilers.
4483
 
  # On the NeXT, cc -E runs the code through the compiler's parser,
4484
 
  # not just through cpp. "Syntax error" is here to catch this case.
4485
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4486
 
/* end confdefs.h.  */
4487
 
@%:@ifdef __STDC__
4488
 
@%:@ include <limits.h>
4489
 
@%:@else
4490
 
@%:@ include <assert.h>
4491
 
@%:@endif
4492
 
                     Syntax error
4493
 
_ACEOF
4494
 
if ac_fn_c_try_cpp "$LINENO"; then :
4495
 
  
4496
 
else
4497
 
  # Broken: fails on valid input.
4498
 
continue
4499
 
fi
4500
 
rm -f conftest.err conftest.i conftest.$ac_ext
4501
 
 
4502
 
  # OK, works on sane cases.  Now check whether nonexistent headers
4503
 
  # can be detected and how.
4504
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4505
 
/* end confdefs.h.  */
4506
 
@%:@include <ac_nonexistent.h>
4507
 
_ACEOF
4508
 
if ac_fn_c_try_cpp "$LINENO"; then :
4509
 
  # Broken: success on invalid input.
4510
 
continue
4511
 
else
4512
 
  # Passes both tests.
4513
 
ac_preproc_ok=:
4514
 
break
4515
 
fi
4516
 
rm -f conftest.err conftest.i conftest.$ac_ext
4517
 
 
4518
 
done
4519
 
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4520
 
rm -f conftest.i conftest.err conftest.$ac_ext
4521
 
if $ac_preproc_ok; then :
4522
 
  
4523
 
else
4524
 
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4525
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4526
 
as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
4527
 
See \`config.log' for more details" "$LINENO" 5 ; }
4528
 
fi
4529
 
 
4530
 
ac_ext=c
4531
 
ac_cpp='$CPP $CPPFLAGS'
4532
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4533
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4534
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4535
 
 
4536
 
case `pwd` in
4537
 
  *\ * | *\     *)
4538
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4539
 
$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4540
 
esac
4541
 
 
4542
 
 
4543
 
 
4544
 
macro_version='2.2.6b'
4545
 
macro_revision='1.3017'
4546
 
 
4547
 
    
4548
 
    
4549
 
    
4550
 
 
4551
 
 
4552
 
    
4553
 
    
4554
 
    
4555
 
 
4556
 
 
4557
 
 
4558
 
 
4559
 
ltmain="$ac_aux_dir/ltmain.sh"
4560
 
 
4561
 
# Make sure we can run config.sub.
4562
 
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4563
 
  as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 
4564
 
 
4565
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4566
 
$as_echo_n "checking build system type... " >&6; }
4567
 
if test "${ac_cv_build+set}" = set; then :
4568
 
  $as_echo_n "(cached) " >&6
4569
 
else
4570
 
  ac_build_alias=$build_alias
4571
 
test "x$ac_build_alias" = x &&
4572
 
  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4573
 
test "x$ac_build_alias" = x &&
4574
 
  as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5 
4575
 
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4576
 
  as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 
4577
 
 
4578
 
fi
4579
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4580
 
$as_echo "$ac_cv_build" >&6; }
4581
 
case $ac_cv_build in
4582
 
*-*-*) ;;
4583
 
*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5 ;;
4584
 
esac
4585
 
build=$ac_cv_build
4586
 
ac_save_IFS=$IFS; IFS='-'
4587
 
set x $ac_cv_build
4588
 
shift
4589
 
build_cpu=$1
4590
 
build_vendor=$2
4591
 
shift; shift
4592
 
# Remember, the first character of IFS is used to create $*,
4593
 
# except with old shells:
4594
 
build_os=$*
4595
 
IFS=$ac_save_IFS
4596
 
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4597
 
 
4598
 
 
4599
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4600
 
$as_echo_n "checking host system type... " >&6; }
4601
 
if test "${ac_cv_host+set}" = set; then :
4602
 
  $as_echo_n "(cached) " >&6
4603
 
else
4604
 
  if test "x$host_alias" = x; then
4605
 
  ac_cv_host=$ac_cv_build
4606
 
else
4607
 
  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4608
 
    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 
4609
 
fi
4610
 
 
4611
 
fi
4612
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4613
 
$as_echo "$ac_cv_host" >&6; }
4614
 
case $ac_cv_host in
4615
 
*-*-*) ;;
4616
 
*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5 ;;
4617
 
esac
4618
 
host=$ac_cv_host
4619
 
ac_save_IFS=$IFS; IFS='-'
4620
 
set x $ac_cv_host
4621
 
shift
4622
 
host_cpu=$1
4623
 
host_vendor=$2
4624
 
shift; shift
4625
 
# Remember, the first character of IFS is used to create $*,
4626
 
# except with old shells:
4627
 
host_os=$*
4628
 
IFS=$ac_save_IFS
4629
 
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4630
 
 
4631
 
 
4632
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4633
 
$as_echo_n "checking for a sed that does not truncate output... " >&6; }
4634
 
if test "${ac_cv_path_SED+set}" = set; then :
4635
 
  $as_echo_n "(cached) " >&6
4636
 
else
4637
 
            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4638
 
     for ac_i in 1 2 3 4 5 6 7; do
4639
 
       ac_script="$ac_script$as_nl$ac_script"
4640
 
     done
4641
 
     echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4642
 
     { ac_script=; unset ac_script;}
4643
 
     if test -z "$SED"; then
4644
 
  ac_path_SED_found=false
4645
 
  # Loop through the user's path and test for each of PROGNAME-LIST
4646
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4647
 
for as_dir in $PATH
4648
 
do
4649
 
  IFS=$as_save_IFS
4650
 
  test -z "$as_dir" && as_dir=.
4651
 
    for ac_prog in sed gsed; do
4652
 
    for ac_exec_ext in '' $ac_executable_extensions; do
4653
 
      ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4654
 
      { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
4655
 
# Check for GNU ac_path_SED and select it if it is found.
4656
 
  # Check for GNU $ac_path_SED
4657
 
case `"$ac_path_SED" --version 2>&1` in
4658
 
*GNU*)
4659
 
  ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4660
 
*)
4661
 
  ac_count=0
4662
 
  $as_echo_n 0123456789 >"conftest.in"
4663
 
  while :
4664
 
  do
4665
 
    cat "conftest.in" "conftest.in" >"conftest.tmp"
4666
 
    mv "conftest.tmp" "conftest.in"
4667
 
    cp "conftest.in" "conftest.nl"
4668
 
    $as_echo '' >> "conftest.nl"
4669
 
    "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4670
 
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4671
 
    as_fn_arith $ac_count + 1 && ac_count=$as_val
4672
 
    if test $ac_count -gt ${ac_path_SED_max-0}; then
4673
 
      # Best one so far, save it but keep looking for a better one
4674
 
      ac_cv_path_SED="$ac_path_SED"
4675
 
      ac_path_SED_max=$ac_count
4676
 
    fi
4677
 
    # 10*(2^10) chars as input seems more than enough
4678
 
    test $ac_count -gt 10 && break
4679
 
  done
4680
 
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4681
 
esac
4682
 
 
4683
 
      $ac_path_SED_found && break 3
4684
 
    done
4685
 
  done
4686
 
  done
4687
 
IFS=$as_save_IFS
4688
 
  if test -z "$ac_cv_path_SED"; then
4689
 
    as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5 
4690
 
  fi
4691
 
else
4692
 
  ac_cv_path_SED=$SED
4693
 
fi
4694
 
 
4695
 
fi
4696
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4697
 
$as_echo "$ac_cv_path_SED" >&6; }
4698
 
 SED="$ac_cv_path_SED"
4699
 
  rm -f conftest.sed
4700
 
 
4701
 
test -z "$SED" && SED=sed
4702
 
Xsed="$SED -e 1s/^X//"
4703
 
 
4704
 
    
4705
 
    
4706
 
    
4707
 
 
4708
 
 
4709
 
    
4710
 
    
4711
 
    
4712
 
 
4713
 
 
4714
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4715
 
$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4716
 
if test "${ac_cv_path_GREP+set}" = set; then :
4717
 
  $as_echo_n "(cached) " >&6
4718
 
else
4719
 
  if test -z "$GREP"; then
4720
 
  ac_path_GREP_found=false
4721
 
  # Loop through the user's path and test for each of PROGNAME-LIST
4722
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4723
 
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4724
 
do
4725
 
  IFS=$as_save_IFS
4726
 
  test -z "$as_dir" && as_dir=.
4727
 
    for ac_prog in grep ggrep; do
4728
 
    for ac_exec_ext in '' $ac_executable_extensions; do
4729
 
      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4730
 
      { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4731
 
# Check for GNU ac_path_GREP and select it if it is found.
4732
 
  # Check for GNU $ac_path_GREP
4733
 
case `"$ac_path_GREP" --version 2>&1` in
4734
 
*GNU*)
4735
 
  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4736
 
*)
4737
 
  ac_count=0
4738
 
  $as_echo_n 0123456789 >"conftest.in"
4739
 
  while :
4740
 
  do
4741
 
    cat "conftest.in" "conftest.in" >"conftest.tmp"
4742
 
    mv "conftest.tmp" "conftest.in"
4743
 
    cp "conftest.in" "conftest.nl"
4744
 
    $as_echo 'GREP' >> "conftest.nl"
4745
 
    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4746
 
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4747
 
    as_fn_arith $ac_count + 1 && ac_count=$as_val
4748
 
    if test $ac_count -gt ${ac_path_GREP_max-0}; then
4749
 
      # Best one so far, save it but keep looking for a better one
4750
 
      ac_cv_path_GREP="$ac_path_GREP"
4751
 
      ac_path_GREP_max=$ac_count
4752
 
    fi
4753
 
    # 10*(2^10) chars as input seems more than enough
4754
 
    test $ac_count -gt 10 && break
4755
 
  done
4756
 
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4757
 
esac
4758
 
 
4759
 
      $ac_path_GREP_found && break 3
4760
 
    done
4761
 
  done
4762
 
  done
4763
 
IFS=$as_save_IFS
4764
 
  if test -z "$ac_cv_path_GREP"; then
4765
 
    as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 
4766
 
  fi
4767
 
else
4768
 
  ac_cv_path_GREP=$GREP
4769
 
fi
4770
 
 
4771
 
fi
4772
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4773
 
$as_echo "$ac_cv_path_GREP" >&6; }
4774
 
 GREP="$ac_cv_path_GREP"
4775
 
 
4776
 
 
4777
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4778
 
$as_echo_n "checking for egrep... " >&6; }
4779
 
if test "${ac_cv_path_EGREP+set}" = set; then :
4780
 
  $as_echo_n "(cached) " >&6
4781
 
else
4782
 
  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4783
 
   then ac_cv_path_EGREP="$GREP -E"
4784
 
   else
4785
 
     if test -z "$EGREP"; then
4786
 
  ac_path_EGREP_found=false
4787
 
  # Loop through the user's path and test for each of PROGNAME-LIST
4788
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4789
 
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4790
 
do
4791
 
  IFS=$as_save_IFS
4792
 
  test -z "$as_dir" && as_dir=.
4793
 
    for ac_prog in egrep; do
4794
 
    for ac_exec_ext in '' $ac_executable_extensions; do
4795
 
      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4796
 
      { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4797
 
# Check for GNU ac_path_EGREP and select it if it is found.
4798
 
  # Check for GNU $ac_path_EGREP
4799
 
case `"$ac_path_EGREP" --version 2>&1` in
4800
 
*GNU*)
4801
 
  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4802
 
*)
4803
 
  ac_count=0
4804
 
  $as_echo_n 0123456789 >"conftest.in"
4805
 
  while :
4806
 
  do
4807
 
    cat "conftest.in" "conftest.in" >"conftest.tmp"
4808
 
    mv "conftest.tmp" "conftest.in"
4809
 
    cp "conftest.in" "conftest.nl"
4810
 
    $as_echo 'EGREP' >> "conftest.nl"
4811
 
    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4812
 
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4813
 
    as_fn_arith $ac_count + 1 && ac_count=$as_val
4814
 
    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4815
 
      # Best one so far, save it but keep looking for a better one
4816
 
      ac_cv_path_EGREP="$ac_path_EGREP"
4817
 
      ac_path_EGREP_max=$ac_count
4818
 
    fi
4819
 
    # 10*(2^10) chars as input seems more than enough
4820
 
    test $ac_count -gt 10 && break
4821
 
  done
4822
 
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4823
 
esac
4824
 
 
4825
 
      $ac_path_EGREP_found && break 3
4826
 
    done
4827
 
  done
4828
 
  done
4829
 
IFS=$as_save_IFS
4830
 
  if test -z "$ac_cv_path_EGREP"; then
4831
 
    as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 
4832
 
  fi
4833
 
else
4834
 
  ac_cv_path_EGREP=$EGREP
4835
 
fi
4836
 
 
4837
 
   fi
4838
 
fi
4839
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4840
 
$as_echo "$ac_cv_path_EGREP" >&6; }
4841
 
 EGREP="$ac_cv_path_EGREP"
4842
 
 
4843
 
 
4844
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4845
 
$as_echo_n "checking for fgrep... " >&6; }
4846
 
if test "${ac_cv_path_FGREP+set}" = set; then :
4847
 
  $as_echo_n "(cached) " >&6
4848
 
else
4849
 
  if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4850
 
   then ac_cv_path_FGREP="$GREP -F"
4851
 
   else
4852
 
     if test -z "$FGREP"; then
4853
 
  ac_path_FGREP_found=false
4854
 
  # Loop through the user's path and test for each of PROGNAME-LIST
4855
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4856
 
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4857
 
do
4858
 
  IFS=$as_save_IFS
4859
 
  test -z "$as_dir" && as_dir=.
4860
 
    for ac_prog in fgrep; do
4861
 
    for ac_exec_ext in '' $ac_executable_extensions; do
4862
 
      ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4863
 
      { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
4864
 
# Check for GNU ac_path_FGREP and select it if it is found.
4865
 
  # Check for GNU $ac_path_FGREP
4866
 
case `"$ac_path_FGREP" --version 2>&1` in
4867
 
*GNU*)
4868
 
  ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4869
 
*)
4870
 
  ac_count=0
4871
 
  $as_echo_n 0123456789 >"conftest.in"
4872
 
  while :
4873
 
  do
4874
 
    cat "conftest.in" "conftest.in" >"conftest.tmp"
4875
 
    mv "conftest.tmp" "conftest.in"
4876
 
    cp "conftest.in" "conftest.nl"
4877
 
    $as_echo 'FGREP' >> "conftest.nl"
4878
 
    "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4879
 
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4880
 
    as_fn_arith $ac_count + 1 && ac_count=$as_val
4881
 
    if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4882
 
      # Best one so far, save it but keep looking for a better one
4883
 
      ac_cv_path_FGREP="$ac_path_FGREP"
4884
 
      ac_path_FGREP_max=$ac_count
4885
 
    fi
4886
 
    # 10*(2^10) chars as input seems more than enough
4887
 
    test $ac_count -gt 10 && break
4888
 
  done
4889
 
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4890
 
esac
4891
 
 
4892
 
      $ac_path_FGREP_found && break 3
4893
 
    done
4894
 
  done
4895
 
  done
4896
 
IFS=$as_save_IFS
4897
 
  if test -z "$ac_cv_path_FGREP"; then
4898
 
    as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 
4899
 
  fi
4900
 
else
4901
 
  ac_cv_path_FGREP=$FGREP
4902
 
fi
4903
 
 
4904
 
   fi
4905
 
fi
4906
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4907
 
$as_echo "$ac_cv_path_FGREP" >&6; }
4908
 
 FGREP="$ac_cv_path_FGREP"
4909
 
 
4910
 
 
4911
 
test -z "$GREP" && GREP=grep
4912
 
 
4913
 
    
4914
 
    
4915
 
    
4916
 
 
4917
 
 
4918
 
    
4919
 
    
4920
 
    
4921
 
 
4922
 
 
4923
 
    
4924
 
    
4925
 
    
4926
 
 
4927
 
 
4928
 
 
4929
 
 
4930
 
 
4931
 
@%:@ Check whether --with-gnu-ld was given.
4932
 
if test "${with_gnu_ld+set}" = set; then :
4933
 
  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4934
 
else
4935
 
  with_gnu_ld=no
4936
 
fi
4937
 
 
4938
 
ac_prog=ld
4939
 
if test "$GCC" = yes; then
4940
 
  # Check if gcc -print-prog-name=ld gives a path.
4941
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4942
 
$as_echo_n "checking for ld used by $CC... " >&6; }
4943
 
  case $host in
4944
 
  *-*-mingw*)
4945
 
    # gcc leaves a trailing carriage return which upsets mingw
4946
 
    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4947
 
  *)
4948
 
    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4949
 
  esac
4950
 
  case $ac_prog in
4951
 
    # Accept absolute paths.
4952
 
    [\\/]* | ?:[\\/]*)
4953
 
      re_direlt='/[^/][^/]*/\.\./'
4954
 
      # Canonicalize the pathname of ld
4955
 
      ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4956
 
      while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4957
 
        ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4958
 
      done
4959
 
      test -z "$LD" && LD="$ac_prog"
4960
 
      ;;
4961
 
  "")
4962
 
    # If it fails, then pretend we aren't using GCC.
4963
 
    ac_prog=ld
4964
 
    ;;
4965
 
  *)
4966
 
    # If it is relative, then search for the first ld in PATH.
4967
 
    with_gnu_ld=unknown
4968
 
    ;;
4969
 
  esac
4970
 
elif test "$with_gnu_ld" = yes; then
4971
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4972
 
$as_echo_n "checking for GNU ld... " >&6; }
4973
 
else
4974
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4975
 
$as_echo_n "checking for non-GNU ld... " >&6; }
4976
 
fi
4977
 
if test "${lt_cv_path_LD+set}" = set; then :
4978
 
  $as_echo_n "(cached) " >&6
4979
 
else
4980
 
  if test -z "$LD"; then
4981
 
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4982
 
  for ac_dir in $PATH; do
4983
 
    IFS="$lt_save_ifs"
4984
 
    test -z "$ac_dir" && ac_dir=.
4985
 
    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4986
 
      lt_cv_path_LD="$ac_dir/$ac_prog"
4987
 
      # Check to see if the program is GNU ld.  I'd rather use --version,
4988
 
      # but apparently some variants of GNU ld only accept -v.
4989
 
      # Break only if it was the GNU/non-GNU ld that we prefer.
4990
 
      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4991
 
      *GNU* | *'with BFD'*)
4992
 
        test "$with_gnu_ld" != no && break
4993
 
        ;;
4994
 
      *)
4995
 
        test "$with_gnu_ld" != yes && break
4996
 
        ;;
4997
 
      esac
4998
 
    fi
4999
 
  done
5000
 
  IFS="$lt_save_ifs"
5001
 
else
5002
 
  lt_cv_path_LD="$LD" # Let the user override the test with a path.
5003
 
fi
5004
 
fi
5005
 
 
5006
 
LD="$lt_cv_path_LD"
5007
 
if test -n "$LD"; then
5008
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5009
 
$as_echo "$LD" >&6; }
5010
 
else
5011
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5012
 
$as_echo "no" >&6; }
5013
 
fi
5014
 
test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5 
5015
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5016
 
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5017
 
if test "${lt_cv_prog_gnu_ld+set}" = set; then :
5018
 
  $as_echo_n "(cached) " >&6
5019
 
else
5020
 
  # I'd rather use --version here, but apparently some GNU lds only accept -v.
5021
 
case `$LD -v 2>&1 </dev/null` in
5022
 
*GNU* | *'with BFD'*)
5023
 
  lt_cv_prog_gnu_ld=yes
5024
 
  ;;
5025
 
*)
5026
 
  lt_cv_prog_gnu_ld=no
5027
 
  ;;
5028
 
esac
5029
 
fi
5030
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5031
 
$as_echo "$lt_cv_prog_gnu_ld" >&6; }
5032
 
with_gnu_ld=$lt_cv_prog_gnu_ld
5033
 
 
5034
 
 
5035
 
 
5036
 
 
5037
 
    
5038
 
    
5039
 
    
5040
 
 
5041
 
 
5042
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5043
 
$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5044
 
if test "${lt_cv_path_NM+set}" = set; then :
5045
 
  $as_echo_n "(cached) " >&6
5046
 
else
5047
 
  if test -n "$NM"; then
5048
 
  # Let the user override the test.
5049
 
  lt_cv_path_NM="$NM"
5050
 
else
5051
 
  lt_nm_to_check="${ac_tool_prefix}nm"
5052
 
  if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5053
 
    lt_nm_to_check="$lt_nm_to_check nm"
5054
 
  fi
5055
 
  for lt_tmp_nm in $lt_nm_to_check; do
5056
 
    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5057
 
    for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5058
 
      IFS="$lt_save_ifs"
5059
 
      test -z "$ac_dir" && ac_dir=.
5060
 
      tmp_nm="$ac_dir/$lt_tmp_nm"
5061
 
      if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5062
 
        # Check to see if the nm accepts a BSD-compat flag.
5063
 
        # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5064
 
        #   nm: unknown option "B" ignored
5065
 
        # Tru64's nm complains that /dev/null is an invalid object file
5066
 
        case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5067
 
        */dev/null* | *'Invalid file or object type'*)
5068
 
          lt_cv_path_NM="$tmp_nm -B"
5069
 
          break
5070
 
          ;;
5071
 
        *)
5072
 
          case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5073
 
          */dev/null*)
5074
 
            lt_cv_path_NM="$tmp_nm -p"
5075
 
            break
5076
 
            ;;
5077
 
          *)
5078
 
            lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5079
 
            continue # so that we can try to find one that supports BSD flags
5080
 
            ;;
5081
 
          esac
5082
 
          ;;
5083
 
        esac
5084
 
      fi
5085
 
    done
5086
 
    IFS="$lt_save_ifs"
5087
 
  done
5088
 
  : ${lt_cv_path_NM=no}
5089
 
fi
5090
 
fi
5091
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5092
 
$as_echo "$lt_cv_path_NM" >&6; }
5093
 
if test "$lt_cv_path_NM" != "no"; then
5094
 
  NM="$lt_cv_path_NM"
5095
 
else
5096
 
  # Didn't find any BSD compatible name lister, look for dumpbin.
5097
 
  if test -n "$ac_tool_prefix"; then
5098
 
  for ac_prog in "dumpbin -symbols" "link -dump -symbols"
5099
 
  do
5100
 
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5101
 
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5102
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5103
 
$as_echo_n "checking for $ac_word... " >&6; }
5104
 
if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
5105
 
  $as_echo_n "(cached) " >&6
5106
 
else
5107
 
  if test -n "$DUMPBIN"; then
5108
 
  ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5109
 
else
5110
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5111
 
for as_dir in $PATH
5112
 
do
5113
 
  IFS=$as_save_IFS
5114
 
  test -z "$as_dir" && as_dir=.
5115
 
    for ac_exec_ext in '' $ac_executable_extensions; do
5116
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5117
 
    ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5118
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5119
 
    break 2
5120
 
  fi
5121
 
done
5122
 
  done
5123
 
IFS=$as_save_IFS
5124
 
 
5125
 
fi
5126
 
fi
5127
 
DUMPBIN=$ac_cv_prog_DUMPBIN
5128
 
if test -n "$DUMPBIN"; then
5129
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5130
 
$as_echo "$DUMPBIN" >&6; }
5131
 
else
5132
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5133
 
$as_echo "no" >&6; }
5134
 
fi
5135
 
 
5136
 
 
5137
 
    test -n "$DUMPBIN" && break
5138
 
  done
5139
 
fi
5140
 
if test -z "$DUMPBIN"; then
5141
 
  ac_ct_DUMPBIN=$DUMPBIN
5142
 
  for ac_prog in "dumpbin -symbols" "link -dump -symbols"
5143
 
do
5144
 
  # Extract the first word of "$ac_prog", so it can be a program name with args.
5145
 
set dummy $ac_prog; ac_word=$2
5146
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5147
 
$as_echo_n "checking for $ac_word... " >&6; }
5148
 
if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
5149
 
  $as_echo_n "(cached) " >&6
5150
 
else
5151
 
  if test -n "$ac_ct_DUMPBIN"; then
5152
 
  ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5153
 
else
5154
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5155
 
for as_dir in $PATH
5156
 
do
5157
 
  IFS=$as_save_IFS
5158
 
  test -z "$as_dir" && as_dir=.
5159
 
    for ac_exec_ext in '' $ac_executable_extensions; do
5160
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5161
 
    ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5162
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5163
 
    break 2
5164
 
  fi
5165
 
done
5166
 
  done
5167
 
IFS=$as_save_IFS
5168
 
 
5169
 
fi
5170
 
fi
5171
 
ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5172
 
if test -n "$ac_ct_DUMPBIN"; then
5173
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5174
 
$as_echo "$ac_ct_DUMPBIN" >&6; }
5175
 
else
5176
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5177
 
$as_echo "no" >&6; }
5178
 
fi
5179
 
 
5180
 
 
5181
 
  test -n "$ac_ct_DUMPBIN" && break
5182
 
done
5183
 
 
5184
 
  if test "x$ac_ct_DUMPBIN" = x; then
5185
 
    DUMPBIN=":"
5186
 
  else
5187
 
    case $cross_compiling:$ac_tool_warned in
5188
 
yes:)
5189
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5190
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5191
 
ac_tool_warned=yes ;;
5192
 
esac
5193
 
    DUMPBIN=$ac_ct_DUMPBIN
5194
 
  fi
5195
 
fi
5196
 
 
5197
 
  
5198
 
  if test "$DUMPBIN" != ":"; then
5199
 
    NM="$DUMPBIN"
5200
 
  fi
5201
 
fi
5202
 
test -z "$NM" && NM=nm
5203
 
 
5204
 
 
5205
 
    
5206
 
    
5207
 
    
5208
 
 
5209
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5210
 
$as_echo_n "checking the name lister ($NM) interface... " >&6; }
5211
 
if test "${lt_cv_nm_interface+set}" = set; then :
5212
 
  $as_echo_n "(cached) " >&6
5213
 
else
5214
 
  lt_cv_nm_interface="BSD nm"
5215
 
  echo "int some_variable = 0;" > conftest.$ac_ext
5216
 
  (eval echo "\"\$as_me:__oline__: $ac_compile\"" >&5)
5217
 
  (eval "$ac_compile" 2>conftest.err)
5218
 
  cat conftest.err >&5
5219
 
  (eval echo "\"\$as_me:__oline__: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5220
 
  (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5221
 
  cat conftest.err >&5
5222
 
  (eval echo "\"\$as_me:__oline__: output\"" >&5)
5223
 
  cat conftest.out >&5
5224
 
  if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5225
 
    lt_cv_nm_interface="MS dumpbin"
5226
 
  fi
5227
 
  rm -f conftest*
5228
 
fi
5229
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5230
 
$as_echo "$lt_cv_nm_interface" >&6; }
5231
 
 
5232
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5233
 
$as_echo_n "checking whether ln -s works... " >&6; }
5234
 
LN_S=$as_ln_s
5235
 
if test "$LN_S" = "ln -s"; then
5236
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5237
 
$as_echo "yes" >&6; }
5238
 
else
5239
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5240
 
$as_echo "no, using $LN_S" >&6; }
5241
 
fi
5242
 
 
5243
 
# find the maximum length of command line arguments
5244
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5245
 
$as_echo_n "checking the maximum length of command line arguments... " >&6; }
5246
 
if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
5247
 
  $as_echo_n "(cached) " >&6
5248
 
else
5249
 
    i=0
5250
 
  teststring="ABCD"
5251
 
 
5252
 
  case $build_os in
5253
 
  msdosdjgpp*)
5254
 
    # On DJGPP, this test can blow up pretty badly due to problems in libc
5255
 
    # (any single argument exceeding 2000 bytes causes a buffer overrun
5256
 
    # during glob expansion).  Even if it were fixed, the result of this
5257
 
    # check would be larger than it should be.
5258
 
    lt_cv_sys_max_cmd_len=12288;    # 12K is about right
5259
 
    ;;
5260
 
 
5261
 
  gnu*)
5262
 
    # Under GNU Hurd, this test is not required because there is
5263
 
    # no limit to the length of command line arguments.
5264
 
    # Libtool will interpret -1 as no limit whatsoever
5265
 
    lt_cv_sys_max_cmd_len=-1;
5266
 
    ;;
5267
 
 
5268
 
  cygwin* | mingw* | cegcc*)
5269
 
    # On Win9x/ME, this test blows up -- it succeeds, but takes
5270
 
    # about 5 minutes as the teststring grows exponentially.
5271
 
    # Worse, since 9x/ME are not pre-emptively multitasking,
5272
 
    # you end up with a "frozen" computer, even though with patience
5273
 
    # the test eventually succeeds (with a max line length of 256k).
5274
 
    # Instead, let's just punt: use the minimum linelength reported by
5275
 
    # all of the supported platforms: 8192 (on NT/2K/XP).
5276
 
    lt_cv_sys_max_cmd_len=8192;
5277
 
    ;;
5278
 
 
5279
 
  amigaos*)
5280
 
    # On AmigaOS with pdksh, this test takes hours, literally.
5281
 
    # So we just punt and use a minimum line length of 8192.
5282
 
    lt_cv_sys_max_cmd_len=8192;
5283
 
    ;;
5284
 
 
5285
 
  netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5286
 
    # This has been around since 386BSD, at least.  Likely further.
5287
 
    if test -x /sbin/sysctl; then
5288
 
      lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5289
 
    elif test -x /usr/sbin/sysctl; then
5290
 
      lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5291
 
    else
5292
 
      lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
5293
 
    fi
5294
 
    # And add a safety zone
5295
 
    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5296
 
    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5297
 
    ;;
5298
 
 
5299
 
  interix*)
5300
 
    # We know the value 262144 and hardcode it with a safety zone (like BSD)
5301
 
    lt_cv_sys_max_cmd_len=196608
5302
 
    ;;
5303
 
 
5304
 
  osf*)
5305
 
    # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5306
 
    # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5307
 
    # nice to cause kernel panics so lets avoid the loop below.
5308
 
    # First set a reasonable default.
5309
 
    lt_cv_sys_max_cmd_len=16384
5310
 
    #
5311
 
    if test -x /sbin/sysconfig; then
5312
 
      case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5313
 
        *1*) lt_cv_sys_max_cmd_len=-1 ;;
5314
 
      esac
5315
 
    fi
5316
 
    ;;
5317
 
  sco3.2v5*)
5318
 
    lt_cv_sys_max_cmd_len=102400
5319
 
    ;;
5320
 
  sysv5* | sco5v6* | sysv4.2uw2*)
5321
 
    kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5322
 
    if test -n "$kargmax"; then
5323
 
      lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[  ]//'`
5324
 
    else
5325
 
      lt_cv_sys_max_cmd_len=32768
5326
 
    fi
5327
 
    ;;
5328
 
  *)
5329
 
    lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5330
 
    if test -n "$lt_cv_sys_max_cmd_len"; then
5331
 
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5332
 
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5333
 
    else
5334
 
      # Make teststring a little bigger before we do anything with it.
5335
 
      # a 1K string should be a reasonable start.
5336
 
      for i in 1 2 3 4 5 6 7 8 ; do
5337
 
        teststring=$teststring$teststring
5338
 
      done
5339
 
      SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5340
 
      # If test is not a shell built-in, we'll probably end up computing a
5341
 
      # maximum length that is only half of the actual maximum length, but
5342
 
      # we can't tell.
5343
 
      while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
5344
 
                 = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
5345
 
              test $i != 17 # 1/2 MB should be enough
5346
 
      do
5347
 
        i=`expr $i + 1`
5348
 
        teststring=$teststring$teststring
5349
 
      done
5350
 
      # Only check the string length outside the loop.
5351
 
      lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5352
 
      teststring=
5353
 
      # Add a significant safety factor because C++ compilers can tack on
5354
 
      # massive amounts of additional arguments before passing them to the
5355
 
      # linker.  It appears as though 1/2 is a usable value.
5356
 
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5357
 
    fi
5358
 
    ;;
5359
 
  esac
5360
 
 
5361
 
fi
5362
 
 
5363
 
if test -n $lt_cv_sys_max_cmd_len ; then
5364
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5365
 
$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5366
 
else
5367
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5368
 
$as_echo "none" >&6; }
5369
 
fi
5370
 
max_cmd_len=$lt_cv_sys_max_cmd_len
5371
 
 
5372
 
    
5373
 
    
5374
 
    
5375
 
 
5376
 
 
5377
 
: ${CP="cp -f"}
5378
 
: ${MV="mv -f"}
5379
 
: ${RM="rm -f"}
5380
 
 
5381
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5382
 
$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5383
 
# Try some XSI features
5384
 
xsi_shell=no
5385
 
( _lt_dummy="a/b/c"
5386
 
  test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
5387
 
      = c,a/b,, \
5388
 
    && eval 'test $(( 1 + 1 )) -eq 2 \
5389
 
    && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5390
 
  && xsi_shell=yes
5391
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5392
 
$as_echo "$xsi_shell" >&6; }
5393
 
 
5394
 
 
5395
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5396
 
$as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5397
 
lt_shell_append=no
5398
 
( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5399
 
    >/dev/null 2>&1 \
5400
 
  && lt_shell_append=yes
5401
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5402
 
$as_echo "$lt_shell_append" >&6; }
5403
 
 
5404
 
 
5405
 
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5406
 
  lt_unset=unset
5407
 
else
5408
 
  lt_unset=false
5409
 
fi
5410
 
 
5411
 
    
5412
 
    
5413
 
    
5414
 
 
5415
 
# test EBCDIC or ASCII
5416
 
case `echo X|tr X '\101'` in
5417
 
 A) # ASCII based system
5418
 
    # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5419
 
  lt_SP2NL='tr \040 \012'
5420
 
  lt_NL2SP='tr \015\012 \040\040'
5421
 
  ;;
5422
 
 *) # EBCDIC based system
5423
 
  lt_SP2NL='tr \100 \n'
5424
 
  lt_NL2SP='tr \r\n \100\100'
5425
 
  ;;
5426
 
esac
5427
 
 
5428
 
    
5429
 
    
5430
 
    
5431
 
 
5432
 
    
5433
 
    
5434
 
    
5435
 
 
5436
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5437
 
$as_echo_n "checking for $LD option to reload object files... " >&6; }
5438
 
if test "${lt_cv_ld_reload_flag+set}" = set; then :
5439
 
  $as_echo_n "(cached) " >&6
5440
 
else
5441
 
  lt_cv_ld_reload_flag='-r'
5442
 
fi
5443
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5444
 
$as_echo "$lt_cv_ld_reload_flag" >&6; }
5445
 
reload_flag=$lt_cv_ld_reload_flag
5446
 
case $reload_flag in
5447
 
"" | " "*) ;;
5448
 
*) reload_flag=" $reload_flag" ;;
5449
 
esac
5450
 
reload_cmds='$LD$reload_flag -o $output$reload_objs'
5451
 
case $host_os in
5452
 
  darwin*)
5453
 
    if test "$GCC" = yes; then
5454
 
      reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5455
 
    else
5456
 
      reload_cmds='$LD$reload_flag -o $output$reload_objs'
5457
 
    fi
5458
 
    ;;
5459
 
esac
5460
 
 
5461
 
    
5462
 
    
5463
 
    
5464
 
 
5465
 
    
5466
 
    
5467
 
    
5468
 
 
5469
 
if test -n "$ac_tool_prefix"; then
5470
 
  # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5471
 
set dummy ${ac_tool_prefix}objdump; ac_word=$2
5472
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5473
 
$as_echo_n "checking for $ac_word... " >&6; }
5474
 
if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
5475
 
  $as_echo_n "(cached) " >&6
5476
 
else
5477
 
  if test -n "$OBJDUMP"; then
5478
 
  ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5479
 
else
5480
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5481
 
for as_dir in $PATH
5482
 
do
5483
 
  IFS=$as_save_IFS
5484
 
  test -z "$as_dir" && as_dir=.
5485
 
    for ac_exec_ext in '' $ac_executable_extensions; do
5486
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5487
 
    ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5488
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5489
 
    break 2
5490
 
  fi
5491
 
done
5492
 
  done
5493
 
IFS=$as_save_IFS
5494
 
 
5495
 
fi
5496
 
fi
5497
 
OBJDUMP=$ac_cv_prog_OBJDUMP
5498
 
if test -n "$OBJDUMP"; then
5499
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5500
 
$as_echo "$OBJDUMP" >&6; }
5501
 
else
5502
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5503
 
$as_echo "no" >&6; }
5504
 
fi
5505
 
 
5506
 
 
5507
 
fi
5508
 
if test -z "$ac_cv_prog_OBJDUMP"; then
5509
 
  ac_ct_OBJDUMP=$OBJDUMP
5510
 
  # Extract the first word of "objdump", so it can be a program name with args.
5511
 
set dummy objdump; ac_word=$2
5512
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5513
 
$as_echo_n "checking for $ac_word... " >&6; }
5514
 
if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
5515
 
  $as_echo_n "(cached) " >&6
5516
 
else
5517
 
  if test -n "$ac_ct_OBJDUMP"; then
5518
 
  ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5519
 
else
5520
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5521
 
for as_dir in $PATH
5522
 
do
5523
 
  IFS=$as_save_IFS
5524
 
  test -z "$as_dir" && as_dir=.
5525
 
    for ac_exec_ext in '' $ac_executable_extensions; do
5526
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5527
 
    ac_cv_prog_ac_ct_OBJDUMP="objdump"
5528
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5529
 
    break 2
5530
 
  fi
5531
 
done
5532
 
  done
5533
 
IFS=$as_save_IFS
5534
 
 
5535
 
fi
5536
 
fi
5537
 
ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5538
 
if test -n "$ac_ct_OBJDUMP"; then
5539
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5540
 
$as_echo "$ac_ct_OBJDUMP" >&6; }
5541
 
else
5542
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5543
 
$as_echo "no" >&6; }
5544
 
fi
5545
 
 
5546
 
  if test "x$ac_ct_OBJDUMP" = x; then
5547
 
    OBJDUMP="false"
5548
 
  else
5549
 
    case $cross_compiling:$ac_tool_warned in
5550
 
yes:)
5551
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5552
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5553
 
ac_tool_warned=yes ;;
5554
 
esac
5555
 
    OBJDUMP=$ac_ct_OBJDUMP
5556
 
  fi
5557
 
else
5558
 
  OBJDUMP="$ac_cv_prog_OBJDUMP"
5559
 
fi
5560
 
 
5561
 
test -z "$OBJDUMP" && OBJDUMP=objdump
5562
 
 
5563
 
    
5564
 
    
5565
 
    
5566
 
 
5567
 
 
5568
 
 
5569
 
 
5570
 
 
5571
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5572
 
$as_echo_n "checking how to recognize dependent libraries... " >&6; }
5573
 
if test "${lt_cv_deplibs_check_method+set}" = set; then :
5574
 
  $as_echo_n "(cached) " >&6
5575
 
else
5576
 
  lt_cv_file_magic_cmd='$MAGIC_CMD'
5577
 
lt_cv_file_magic_test_file=
5578
 
lt_cv_deplibs_check_method='unknown'
5579
 
# Need to set the preceding variable on all platforms that support
5580
 
# interlibrary dependencies.
5581
 
# 'none' -- dependencies not supported.
5582
 
# `unknown' -- same as none, but documents that we really don't know.
5583
 
# 'pass_all' -- all dependencies passed with no checks.
5584
 
# 'test_compile' -- check by making test program.
5585
 
# 'file_magic [[regex]]' -- check by looking for files in library path
5586
 
# which responds to the $file_magic_cmd with a given extended regex.
5587
 
# If you have `file' or equivalent on your system and you're not sure
5588
 
# whether `pass_all' will *always* work, you probably want this one.
5589
 
 
5590
 
case $host_os in
5591
 
aix[4-9]*)
5592
 
  lt_cv_deplibs_check_method=pass_all
5593
 
  ;;
5594
 
 
5595
 
beos*)
5596
 
  lt_cv_deplibs_check_method=pass_all
5597
 
  ;;
5598
 
 
5599
 
bsdi[45]*)
5600
 
  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5601
 
  lt_cv_file_magic_cmd='/usr/bin/file -L'
5602
 
  lt_cv_file_magic_test_file=/shlib/libc.so
5603
 
  ;;
5604
 
 
5605
 
cygwin*)
5606
 
  # func_win32_libid is a shell function defined in ltmain.sh
5607
 
  lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5608
 
  lt_cv_file_magic_cmd='func_win32_libid'
5609
 
  ;;
5610
 
 
5611
 
mingw* | pw32*)
5612
 
  # Base MSYS/MinGW do not provide the 'file' command needed by
5613
 
  # func_win32_libid shell function, so use a weaker test based on 'objdump',
5614
 
  # unless we find 'file', for example because we are cross-compiling.
5615
 
  if ( file / ) >/dev/null 2>&1; then
5616
 
    lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5617
 
    lt_cv_file_magic_cmd='func_win32_libid'
5618
 
  else
5619
 
    lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
5620
 
    lt_cv_file_magic_cmd='$OBJDUMP -f'
5621
 
  fi
5622
 
  ;;
5623
 
 
5624
 
cegcc)
5625
 
  # use the weaker test based on 'objdump'. See mingw*.
5626
 
  lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5627
 
  lt_cv_file_magic_cmd='$OBJDUMP -f'
5628
 
  ;;
5629
 
 
5630
 
darwin* | rhapsody*)
5631
 
  lt_cv_deplibs_check_method=pass_all
5632
 
  ;;
5633
 
 
5634
 
freebsd* | dragonfly*)
5635
 
  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5636
 
    case $host_cpu in
5637
 
    i*86 )
5638
 
      # Not sure whether the presence of OpenBSD here was a mistake.
5639
 
      # Let's accept both of them until this is cleared up.
5640
 
      lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5641
 
      lt_cv_file_magic_cmd=/usr/bin/file
5642
 
      lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5643
 
      ;;
5644
 
    esac
5645
 
  else
5646
 
    lt_cv_deplibs_check_method=pass_all
5647
 
  fi
5648
 
  ;;
5649
 
 
5650
 
gnu*)
5651
 
  lt_cv_deplibs_check_method=pass_all
5652
 
  ;;
5653
 
 
5654
 
hpux10.20* | hpux11*)
5655
 
  lt_cv_file_magic_cmd=/usr/bin/file
5656
 
  case $host_cpu in
5657
 
  ia64*)
5658
 
    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5659
 
    lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5660
 
    ;;
5661
 
  hppa*64*)
5662
 
    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]'
5663
 
    lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5664
 
    ;;
5665
 
  *)
5666
 
    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
5667
 
    lt_cv_file_magic_test_file=/usr/lib/libc.sl
5668
 
    ;;
5669
 
  esac
5670
 
  ;;
5671
 
 
5672
 
interix[3-9]*)
5673
 
  # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5674
 
  lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5675
 
  ;;
5676
 
 
5677
 
irix5* | irix6* | nonstopux*)
5678
 
  case $LD in
5679
 
  *-32|*"-32 ") libmagic=32-bit;;
5680
 
  *-n32|*"-n32 ") libmagic=N32;;
5681
 
  *-64|*"-64 ") libmagic=64-bit;;
5682
 
  *) libmagic=never-match;;
5683
 
  esac
5684
 
  lt_cv_deplibs_check_method=pass_all
5685
 
  ;;
5686
 
 
5687
 
# This must be Linux ELF.
5688
 
linux* | k*bsd*-gnu | kopensolaris*-gnu)
5689
 
  lt_cv_deplibs_check_method=pass_all
5690
 
  ;;
5691
 
 
5692
 
netbsd* | netbsdelf*-gnu)
5693
 
  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5694
 
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5695
 
  else
5696
 
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5697
 
  fi
5698
 
  ;;
5699
 
 
5700
 
newos6*)
5701
 
  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5702
 
  lt_cv_file_magic_cmd=/usr/bin/file
5703
 
  lt_cv_file_magic_test_file=/usr/lib/libnls.so
5704
 
  ;;
5705
 
 
5706
 
*nto* | *qnx*)
5707
 
  lt_cv_deplibs_check_method=pass_all
5708
 
  ;;
5709
 
 
5710
 
openbsd*)
5711
 
  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5712
 
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5713
 
  else
5714
 
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5715
 
  fi
5716
 
  ;;
5717
 
 
5718
 
osf3* | osf4* | osf5*)
5719
 
  lt_cv_deplibs_check_method=pass_all
5720
 
  ;;
5721
 
 
5722
 
rdos*)
5723
 
  lt_cv_deplibs_check_method=pass_all
5724
 
  ;;
5725
 
 
5726
 
solaris*)
5727
 
  lt_cv_deplibs_check_method=pass_all
5728
 
  ;;
5729
 
 
5730
 
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5731
 
  lt_cv_deplibs_check_method=pass_all
5732
 
  ;;
5733
 
 
5734
 
sysv4 | sysv4.3*)
5735
 
  case $host_vendor in
5736
 
  motorola)
5737
 
    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]'
5738
 
    lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5739
 
    ;;
5740
 
  ncr)
5741
 
    lt_cv_deplibs_check_method=pass_all
5742
 
    ;;
5743
 
  sequent)
5744
 
    lt_cv_file_magic_cmd='/bin/file'
5745
 
    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5746
 
    ;;
5747
 
  sni)
5748
 
    lt_cv_file_magic_cmd='/bin/file'
5749
 
    lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5750
 
    lt_cv_file_magic_test_file=/lib/libc.so
5751
 
    ;;
5752
 
  siemens)
5753
 
    lt_cv_deplibs_check_method=pass_all
5754
 
    ;;
5755
 
  pc)
5756
 
    lt_cv_deplibs_check_method=pass_all
5757
 
    ;;
5758
 
  esac
5759
 
  ;;
5760
 
 
5761
 
tpf*)
5762
 
  lt_cv_deplibs_check_method=pass_all
5763
 
  ;;
5764
 
esac
5765
 
 
5766
 
fi
5767
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5768
 
$as_echo "$lt_cv_deplibs_check_method" >&6; }
5769
 
file_magic_cmd=$lt_cv_file_magic_cmd
5770
 
deplibs_check_method=$lt_cv_deplibs_check_method
5771
 
test -z "$deplibs_check_method" && deplibs_check_method=unknown
5772
 
 
5773
 
 
5774
 
    
5775
 
    
5776
 
    
5777
 
 
5778
 
 
5779
 
    
5780
 
    
5781
 
    
5782
 
 
5783
 
 
5784
 
if test -n "$ac_tool_prefix"; then
5785
 
  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5786
 
set dummy ${ac_tool_prefix}ar; ac_word=$2
5787
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5788
 
$as_echo_n "checking for $ac_word... " >&6; }
5789
 
if test "${ac_cv_prog_AR+set}" = set; then :
5790
 
  $as_echo_n "(cached) " >&6
5791
 
else
5792
 
  if test -n "$AR"; then
5793
 
  ac_cv_prog_AR="$AR" # Let the user override the test.
5794
 
else
5795
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5796
 
for as_dir in $PATH
5797
 
do
5798
 
  IFS=$as_save_IFS
5799
 
  test -z "$as_dir" && as_dir=.
5800
 
    for ac_exec_ext in '' $ac_executable_extensions; do
5801
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5802
 
    ac_cv_prog_AR="${ac_tool_prefix}ar"
5803
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5804
 
    break 2
5805
 
  fi
5806
 
done
5807
 
  done
5808
 
IFS=$as_save_IFS
5809
 
 
5810
 
fi
5811
 
fi
5812
 
AR=$ac_cv_prog_AR
5813
 
if test -n "$AR"; then
5814
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5815
 
$as_echo "$AR" >&6; }
5816
 
else
5817
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5818
 
$as_echo "no" >&6; }
5819
 
fi
5820
 
 
5821
 
 
5822
 
fi
5823
 
if test -z "$ac_cv_prog_AR"; then
5824
 
  ac_ct_AR=$AR
5825
 
  # Extract the first word of "ar", so it can be a program name with args.
5826
 
set dummy ar; ac_word=$2
5827
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5828
 
$as_echo_n "checking for $ac_word... " >&6; }
5829
 
if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
5830
 
  $as_echo_n "(cached) " >&6
5831
 
else
5832
 
  if test -n "$ac_ct_AR"; then
5833
 
  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5834
 
else
5835
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5836
 
for as_dir in $PATH
5837
 
do
5838
 
  IFS=$as_save_IFS
5839
 
  test -z "$as_dir" && as_dir=.
5840
 
    for ac_exec_ext in '' $ac_executable_extensions; do
5841
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5842
 
    ac_cv_prog_ac_ct_AR="ar"
5843
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5844
 
    break 2
5845
 
  fi
5846
 
done
5847
 
  done
5848
 
IFS=$as_save_IFS
5849
 
 
5850
 
fi
5851
 
fi
5852
 
ac_ct_AR=$ac_cv_prog_ac_ct_AR
5853
 
if test -n "$ac_ct_AR"; then
5854
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5855
 
$as_echo "$ac_ct_AR" >&6; }
5856
 
else
5857
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5858
 
$as_echo "no" >&6; }
5859
 
fi
5860
 
 
5861
 
  if test "x$ac_ct_AR" = x; then
5862
 
    AR="false"
5863
 
  else
5864
 
    case $cross_compiling:$ac_tool_warned in
5865
 
yes:)
5866
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5867
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5868
 
ac_tool_warned=yes ;;
5869
 
esac
5870
 
    AR=$ac_ct_AR
5871
 
  fi
5872
 
else
5873
 
  AR="$ac_cv_prog_AR"
5874
 
fi
5875
 
 
5876
 
test -z "$AR" && AR=ar
5877
 
test -z "$AR_FLAGS" && AR_FLAGS=cru
5878
 
 
5879
 
    
5880
 
    
5881
 
    
5882
 
 
5883
 
 
5884
 
    
5885
 
    
5886
 
    
5887
 
 
5888
 
 
5889
 
if test -n "$ac_tool_prefix"; then
5890
 
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5891
 
set dummy ${ac_tool_prefix}strip; ac_word=$2
5892
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5893
 
$as_echo_n "checking for $ac_word... " >&6; }
5894
 
if test "${ac_cv_prog_STRIP+set}" = set; then :
5895
 
  $as_echo_n "(cached) " >&6
5896
 
else
5897
 
  if test -n "$STRIP"; then
5898
 
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5899
 
else
5900
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5901
 
for as_dir in $PATH
5902
 
do
5903
 
  IFS=$as_save_IFS
5904
 
  test -z "$as_dir" && as_dir=.
5905
 
    for ac_exec_ext in '' $ac_executable_extensions; do
5906
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5907
 
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5908
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5909
 
    break 2
5910
 
  fi
5911
 
done
5912
 
  done
5913
 
IFS=$as_save_IFS
5914
 
 
5915
 
fi
5916
 
fi
5917
 
STRIP=$ac_cv_prog_STRIP
5918
 
if test -n "$STRIP"; then
5919
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5920
 
$as_echo "$STRIP" >&6; }
5921
 
else
5922
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5923
 
$as_echo "no" >&6; }
5924
 
fi
5925
 
 
5926
 
 
5927
 
fi
5928
 
if test -z "$ac_cv_prog_STRIP"; then
5929
 
  ac_ct_STRIP=$STRIP
5930
 
  # Extract the first word of "strip", so it can be a program name with args.
5931
 
set dummy strip; ac_word=$2
5932
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5933
 
$as_echo_n "checking for $ac_word... " >&6; }
5934
 
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
5935
 
  $as_echo_n "(cached) " >&6
5936
 
else
5937
 
  if test -n "$ac_ct_STRIP"; then
5938
 
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5939
 
else
5940
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5941
 
for as_dir in $PATH
5942
 
do
5943
 
  IFS=$as_save_IFS
5944
 
  test -z "$as_dir" && as_dir=.
5945
 
    for ac_exec_ext in '' $ac_executable_extensions; do
5946
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5947
 
    ac_cv_prog_ac_ct_STRIP="strip"
5948
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5949
 
    break 2
5950
 
  fi
5951
 
done
5952
 
  done
5953
 
IFS=$as_save_IFS
5954
 
 
5955
 
fi
5956
 
fi
5957
 
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5958
 
if test -n "$ac_ct_STRIP"; then
5959
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5960
 
$as_echo "$ac_ct_STRIP" >&6; }
5961
 
else
5962
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5963
 
$as_echo "no" >&6; }
5964
 
fi
5965
 
 
5966
 
  if test "x$ac_ct_STRIP" = x; then
5967
 
    STRIP=":"
5968
 
  else
5969
 
    case $cross_compiling:$ac_tool_warned in
5970
 
yes:)
5971
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5972
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5973
 
ac_tool_warned=yes ;;
5974
 
esac
5975
 
    STRIP=$ac_ct_STRIP
5976
 
  fi
5977
 
else
5978
 
  STRIP="$ac_cv_prog_STRIP"
5979
 
fi
5980
 
 
5981
 
test -z "$STRIP" && STRIP=:
5982
 
 
5983
 
    
5984
 
    
5985
 
    
5986
 
 
5987
 
 
5988
 
if test -n "$ac_tool_prefix"; then
5989
 
  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5990
 
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5991
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5992
 
$as_echo_n "checking for $ac_word... " >&6; }
5993
 
if test "${ac_cv_prog_RANLIB+set}" = set; then :
5994
 
  $as_echo_n "(cached) " >&6
5995
 
else
5996
 
  if test -n "$RANLIB"; then
5997
 
  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5998
 
else
5999
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6000
 
for as_dir in $PATH
6001
 
do
6002
 
  IFS=$as_save_IFS
6003
 
  test -z "$as_dir" && as_dir=.
6004
 
    for ac_exec_ext in '' $ac_executable_extensions; do
6005
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6006
 
    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6007
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6008
 
    break 2
6009
 
  fi
6010
 
done
6011
 
  done
6012
 
IFS=$as_save_IFS
6013
 
 
6014
 
fi
6015
 
fi
6016
 
RANLIB=$ac_cv_prog_RANLIB
6017
 
if test -n "$RANLIB"; then
6018
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6019
 
$as_echo "$RANLIB" >&6; }
6020
 
else
6021
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6022
 
$as_echo "no" >&6; }
6023
 
fi
6024
 
 
6025
 
 
6026
 
fi
6027
 
if test -z "$ac_cv_prog_RANLIB"; then
6028
 
  ac_ct_RANLIB=$RANLIB
6029
 
  # Extract the first word of "ranlib", so it can be a program name with args.
6030
 
set dummy ranlib; ac_word=$2
6031
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6032
 
$as_echo_n "checking for $ac_word... " >&6; }
6033
 
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6034
 
  $as_echo_n "(cached) " >&6
6035
 
else
6036
 
  if test -n "$ac_ct_RANLIB"; then
6037
 
  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6038
 
else
6039
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6040
 
for as_dir in $PATH
6041
 
do
6042
 
  IFS=$as_save_IFS
6043
 
  test -z "$as_dir" && as_dir=.
6044
 
    for ac_exec_ext in '' $ac_executable_extensions; do
6045
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6046
 
    ac_cv_prog_ac_ct_RANLIB="ranlib"
6047
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6048
 
    break 2
6049
 
  fi
6050
 
done
6051
 
  done
6052
 
IFS=$as_save_IFS
6053
 
 
6054
 
fi
6055
 
fi
6056
 
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6057
 
if test -n "$ac_ct_RANLIB"; then
6058
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6059
 
$as_echo "$ac_ct_RANLIB" >&6; }
6060
 
else
6061
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6062
 
$as_echo "no" >&6; }
6063
 
fi
6064
 
 
6065
 
  if test "x$ac_ct_RANLIB" = x; then
6066
 
    RANLIB=":"
6067
 
  else
6068
 
    case $cross_compiling:$ac_tool_warned in
6069
 
yes:)
6070
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6071
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6072
 
ac_tool_warned=yes ;;
6073
 
esac
6074
 
    RANLIB=$ac_ct_RANLIB
6075
 
  fi
6076
 
else
6077
 
  RANLIB="$ac_cv_prog_RANLIB"
6078
 
fi
6079
 
 
6080
 
test -z "$RANLIB" && RANLIB=:
6081
 
 
6082
 
    
6083
 
    
6084
 
    
6085
 
 
6086
 
 
6087
 
# Determine commands to create old-style static archives.
6088
 
old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6089
 
old_postinstall_cmds='chmod 644 $oldlib'
6090
 
old_postuninstall_cmds=
6091
 
 
6092
 
if test -n "$RANLIB"; then
6093
 
  case $host_os in
6094
 
  openbsd*)
6095
 
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6096
 
    ;;
6097
 
  *)
6098
 
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
6099
 
    ;;
6100
 
  esac
6101
 
  old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6102
 
fi
6103
 
 
6104
 
    
6105
 
    
6106
 
    
6107
 
 
6108
 
 
6109
 
    
6110
 
    
6111
 
    
6112
 
 
6113
 
 
6114
 
    
6115
 
    
6116
 
    
6117
 
 
6118
 
 
6119
 
 
6120
 
 
6121
 
    
6122
 
    
6123
 
    
6124
 
 
6125
 
    
6126
 
    
6127
 
    
6128
 
 
6129
 
    
6130
 
    
6131
 
    
6132
 
 
6133
 
    
6134
 
    
6135
 
    
6136
 
 
6137
 
# If no C compiler was specified, use CC.
6138
 
LTCC=${LTCC-"$CC"}
6139
 
 
6140
 
# If no C compiler flags were specified, use CFLAGS.
6141
 
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6142
 
 
6143
 
# Allow CC to be a program name with arguments.
6144
 
compiler=$CC
6145
 
 
6146
 
 
6147
 
# Check for command to grab the raw symbol name followed by C symbol from nm.
6148
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6149
 
$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6150
 
if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
6151
 
  $as_echo_n "(cached) " >&6
6152
 
else
6153
 
  
6154
 
# These are sane defaults that work on at least a few old systems.
6155
 
# [They come from Ultrix.  What could be older than Ultrix?!! ;)]
6156
 
 
6157
 
# Character class describing NM global symbol codes.
6158
 
symcode='[BCDEGRST]'
6159
 
 
6160
 
# Regexp to match symbols that can be accessed directly from C.
6161
 
sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6162
 
 
6163
 
# Define system-specific variables.
6164
 
case $host_os in
6165
 
aix*)
6166
 
  symcode='[BCDT]'
6167
 
  ;;
6168
 
cygwin* | mingw* | pw32* | cegcc*)
6169
 
  symcode='[ABCDGISTW]'
6170
 
  ;;
6171
 
hpux*)
6172
 
  if test "$host_cpu" = ia64; then
6173
 
    symcode='[ABCDEGRST]'
6174
 
  fi
6175
 
  ;;
6176
 
irix* | nonstopux*)
6177
 
  symcode='[BCDEGRST]'
6178
 
  ;;
6179
 
osf*)
6180
 
  symcode='[BCDEGQRST]'
6181
 
  ;;
6182
 
solaris*)
6183
 
  symcode='[BDRT]'
6184
 
  ;;
6185
 
sco3.2v5*)
6186
 
  symcode='[DT]'
6187
 
  ;;
6188
 
sysv4.2uw2*)
6189
 
  symcode='[DT]'
6190
 
  ;;
6191
 
sysv5* | sco5v6* | unixware* | OpenUNIX*)
6192
 
  symcode='[ABDT]'
6193
 
  ;;
6194
 
sysv4)
6195
 
  symcode='[DFNSTU]'
6196
 
  ;;
6197
 
esac
6198
 
 
6199
 
# If we're using GNU nm, then use its standard symbol codes.
6200
 
case `$NM -V 2>&1` in
6201
 
*GNU* | *'with BFD'*)
6202
 
  symcode='[ABCDGIRSTW]' ;;
6203
 
esac
6204
 
 
6205
 
# Transform an extracted symbol line into a proper C declaration.
6206
 
# Some systems (esp. on ia64) link data and code symbols differently,
6207
 
# so use this general approach.
6208
 
lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6209
 
 
6210
 
# Transform an extracted symbol line into symbol name and symbol address
6211
 
lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
6212
 
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'"
6213
 
 
6214
 
# Handle CRLF in mingw tool chain
6215
 
opt_cr=
6216
 
case $build_os in
6217
 
mingw*)
6218
 
  opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6219
 
  ;;
6220
 
esac
6221
 
 
6222
 
# Try without a prefix underscore, then with it.
6223
 
for ac_symprfx in "" "_"; do
6224
 
 
6225
 
  # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6226
 
  symxfrm="\\1 $ac_symprfx\\2 \\2"
6227
 
 
6228
 
  # Write the raw and C identifiers.
6229
 
  if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6230
 
    # Fake it for dumpbin and say T for any non-static function
6231
 
    # and D for any global variable.
6232
 
    # Also find C++ and __fastcall symbols from MSVC++,
6233
 
    # which start with @ or ?.
6234
 
    lt_cv_sys_global_symbol_pipe="$AWK '"\
6235
 
"     {last_section=section; section=\$ 3};"\
6236
 
"     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6237
 
"     \$ 0!~/External *\|/{next};"\
6238
 
"     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6239
 
"     {if(hide[section]) next};"\
6240
 
"     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6241
 
"     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6242
 
"     s[1]~/^[@?]/{print s[1], s[1]; next};"\
6243
 
"     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6244
 
"     ' prfx=^$ac_symprfx"
6245
 
  else
6246
 
    lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6247
 
  fi
6248
 
 
6249
 
  # Check to see that the pipe works correctly.
6250
 
  pipe_works=no
6251
 
 
6252
 
  rm -f conftest*
6253
 
  cat > conftest.$ac_ext <<_LT_EOF
6254
 
#ifdef __cplusplus
6255
 
extern "C" {
6256
 
#endif
6257
 
char nm_test_var;
6258
 
void nm_test_func(void);
6259
 
void nm_test_func(void){}
6260
 
#ifdef __cplusplus
6261
 
}
6262
 
#endif
6263
 
int main(){nm_test_var='a';nm_test_func();return(0);}
6264
 
_LT_EOF
6265
 
 
6266
 
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6267
 
  (eval $ac_compile) 2>&5
6268
 
  ac_status=$?
6269
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6270
 
  test $ac_status = 0; }; then
6271
 
    # Now try to grab the symbols.
6272
 
    nlist=conftest.nm
6273
 
    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\""; } >&5
6274
 
  (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
6275
 
  ac_status=$?
6276
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6277
 
  test $ac_status = 0; } && test -s "$nlist"; then
6278
 
      # Try sorting and uniquifying the output.
6279
 
      if sort "$nlist" | uniq > "$nlist"T; then
6280
 
        mv -f "$nlist"T "$nlist"
6281
 
      else
6282
 
        rm -f "$nlist"T
6283
 
      fi
6284
 
 
6285
 
      # Make sure that we snagged all the symbols we need.
6286
 
      if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6287
 
        if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6288
 
          cat <<_LT_EOF > conftest.$ac_ext
6289
 
#ifdef __cplusplus
6290
 
extern "C" {
6291
 
#endif
6292
 
 
6293
 
_LT_EOF
6294
 
          # Now generate the symbol file.
6295
 
          eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6296
 
 
6297
 
          cat <<_LT_EOF >> conftest.$ac_ext
6298
 
 
6299
 
/* The mapping between symbol names and symbols.  */
6300
 
const struct {
6301
 
  const char *name;
6302
 
  void       *address;
6303
 
}
6304
 
lt__PROGRAM__LTX_preloaded_symbols[] =
6305
 
{
6306
 
  { "@PROGRAM@", (void *) 0 },
6307
 
_LT_EOF
6308
 
          $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6309
 
          cat <<\_LT_EOF >> conftest.$ac_ext
6310
 
  {0, (void *) 0}
6311
 
};
6312
 
 
6313
 
/* This works around a problem in FreeBSD linker */
6314
 
#ifdef FREEBSD_WORKAROUND
6315
 
static const void *lt_preloaded_setup() {
6316
 
  return lt__PROGRAM__LTX_preloaded_symbols;
6317
 
}
6318
 
#endif
6319
 
 
6320
 
#ifdef __cplusplus
6321
 
}
6322
 
#endif
6323
 
_LT_EOF
6324
 
          # Now try linking the two files.
6325
 
          mv conftest.$ac_objext conftstm.$ac_objext
6326
 
          lt_save_LIBS="$LIBS"
6327
 
          lt_save_CFLAGS="$CFLAGS"
6328
 
          LIBS="conftstm.$ac_objext"
6329
 
          CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6330
 
          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6331
 
  (eval $ac_link) 2>&5
6332
 
  ac_status=$?
6333
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6334
 
  test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6335
 
            pipe_works=yes
6336
 
          fi
6337
 
          LIBS="$lt_save_LIBS"
6338
 
          CFLAGS="$lt_save_CFLAGS"
6339
 
        else
6340
 
          echo "cannot find nm_test_func in $nlist" >&5
6341
 
        fi
6342
 
      else
6343
 
        echo "cannot find nm_test_var in $nlist" >&5
6344
 
      fi
6345
 
    else
6346
 
      echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6347
 
    fi
6348
 
  else
6349
 
    echo "$progname: failed program was:" >&5
6350
 
    cat conftest.$ac_ext >&5
6351
 
  fi
6352
 
  rm -rf conftest* conftst*
6353
 
 
6354
 
  # Do not use the global_symbol_pipe unless it works.
6355
 
  if test "$pipe_works" = yes; then
6356
 
    break
6357
 
  else
6358
 
    lt_cv_sys_global_symbol_pipe=
6359
 
  fi
6360
 
done
6361
 
 
6362
 
fi
6363
 
 
6364
 
if test -z "$lt_cv_sys_global_symbol_pipe"; then
6365
 
  lt_cv_sys_global_symbol_to_cdecl=
6366
 
fi
6367
 
if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6368
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6369
 
$as_echo "failed" >&6; }
6370
 
else
6371
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6372
 
$as_echo "ok" >&6; }
6373
 
fi
6374
 
 
6375
 
 
6376
 
    
6377
 
    
6378
 
    
6379
 
 
6380
 
 
6381
 
    
6382
 
    
6383
 
    
6384
 
 
6385
 
 
6386
 
    
6387
 
    
6388
 
    
6389
 
 
6390
 
 
6391
 
    
6392
 
    
6393
 
    
6394
 
 
6395
 
 
6396
 
 
6397
 
@%:@ Check whether --enable-libtool-lock was given.
6398
 
if test "${enable_libtool_lock+set}" = set; then :
6399
 
  enableval=$enable_libtool_lock; 
6400
 
fi
6401
 
 
6402
 
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6403
 
 
6404
 
# Some flags need to be propagated to the compiler or linker for good
6405
 
# libtool support.
6406
 
case $host in
6407
 
ia64-*-hpux*)
6408
 
  # Find out which ABI we are using.
6409
 
  echo 'int i;' > conftest.$ac_ext
6410
 
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6411
 
  (eval $ac_compile) 2>&5
6412
 
  ac_status=$?
6413
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6414
 
  test $ac_status = 0; }; then
6415
 
    case `/usr/bin/file conftest.$ac_objext` in
6416
 
      *ELF-32*)
6417
 
        HPUX_IA64_MODE="32"
6418
 
        ;;
6419
 
      *ELF-64*)
6420
 
        HPUX_IA64_MODE="64"
6421
 
        ;;
6422
 
    esac
6423
 
  fi
6424
 
  rm -rf conftest*
6425
 
  ;;
6426
 
*-*-irix6*)
6427
 
  # Find out which ABI we are using.
6428
 
  echo '#line __oline__ "configure"' > conftest.$ac_ext
6429
 
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6430
 
  (eval $ac_compile) 2>&5
6431
 
  ac_status=$?
6432
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6433
 
  test $ac_status = 0; }; then
6434
 
    if test "$lt_cv_prog_gnu_ld" = yes; then
6435
 
      case `/usr/bin/file conftest.$ac_objext` in
6436
 
        *32-bit*)
6437
 
          LD="${LD-ld} -melf32bsmip"
6438
 
          ;;
6439
 
        *N32*)
6440
 
          LD="${LD-ld} -melf32bmipn32"
6441
 
          ;;
6442
 
        *64-bit*)
6443
 
          LD="${LD-ld} -melf64bmip"
6444
 
        ;;
6445
 
      esac
6446
 
    else
6447
 
      case `/usr/bin/file conftest.$ac_objext` in
6448
 
        *32-bit*)
6449
 
          LD="${LD-ld} -32"
6450
 
          ;;
6451
 
        *N32*)
6452
 
          LD="${LD-ld} -n32"
6453
 
          ;;
6454
 
        *64-bit*)
6455
 
          LD="${LD-ld} -64"
6456
 
          ;;
6457
 
      esac
6458
 
    fi
6459
 
  fi
6460
 
  rm -rf conftest*
6461
 
  ;;
6462
 
 
6463
 
x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6464
 
s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6465
 
  # Find out which ABI we are using.
6466
 
  echo 'int i;' > conftest.$ac_ext
6467
 
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6468
 
  (eval $ac_compile) 2>&5
6469
 
  ac_status=$?
6470
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6471
 
  test $ac_status = 0; }; then
6472
 
    case `/usr/bin/file conftest.o` in
6473
 
      *32-bit*)
6474
 
        case $host in
6475
 
          x86_64-*kfreebsd*-gnu)
6476
 
            LD="${LD-ld} -m elf_i386_fbsd"
6477
 
            ;;
6478
 
          x86_64-*linux*)
6479
 
            LD="${LD-ld} -m elf_i386"
6480
 
            ;;
6481
 
          ppc64-*linux*|powerpc64-*linux*)
6482
 
            LD="${LD-ld} -m elf32ppclinux"
6483
 
            ;;
6484
 
          s390x-*linux*)
6485
 
            LD="${LD-ld} -m elf_s390"
6486
 
            ;;
6487
 
          sparc64-*linux*)
6488
 
            LD="${LD-ld} -m elf32_sparc"
6489
 
            ;;
6490
 
        esac
6491
 
        ;;
6492
 
      *64-bit*)
6493
 
        case $host in
6494
 
          x86_64-*kfreebsd*-gnu)
6495
 
            LD="${LD-ld} -m elf_x86_64_fbsd"
6496
 
            ;;
6497
 
          x86_64-*linux*)
6498
 
            LD="${LD-ld} -m elf_x86_64"
6499
 
            ;;
6500
 
          ppc*-*linux*|powerpc*-*linux*)
6501
 
            LD="${LD-ld} -m elf64ppc"
6502
 
            ;;
6503
 
          s390*-*linux*|s390*-*tpf*)
6504
 
            LD="${LD-ld} -m elf64_s390"
6505
 
            ;;
6506
 
          sparc*-*linux*)
6507
 
            LD="${LD-ld} -m elf64_sparc"
6508
 
            ;;
6509
 
        esac
6510
 
        ;;
6511
 
    esac
6512
 
  fi
6513
 
  rm -rf conftest*
6514
 
  ;;
6515
 
 
6516
 
*-*-sco3.2v5*)
6517
 
  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6518
 
  SAVE_CFLAGS="$CFLAGS"
6519
 
  CFLAGS="$CFLAGS -belf"
6520
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6521
 
$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6522
 
if test "${lt_cv_cc_needs_belf+set}" = set; then :
6523
 
  $as_echo_n "(cached) " >&6
6524
 
else
6525
 
  ac_ext=c
6526
 
ac_cpp='$CPP $CPPFLAGS'
6527
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6528
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6529
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
6530
 
 
6531
 
     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6532
 
/* end confdefs.h.  */
6533
 
 
6534
 
int
6535
 
main ()
6536
 
{
6537
 
 
6538
 
  ;
6539
 
  return 0;
6540
 
}
6541
 
_ACEOF
6542
 
if ac_fn_c_try_link "$LINENO"; then :
6543
 
  lt_cv_cc_needs_belf=yes
6544
 
else
6545
 
  lt_cv_cc_needs_belf=no
6546
 
fi
6547
 
rm -f core conftest.err conftest.$ac_objext \
6548
 
    conftest$ac_exeext conftest.$ac_ext
6549
 
     ac_ext=c
6550
 
ac_cpp='$CPP $CPPFLAGS'
6551
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6552
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6553
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
6554
 
 
6555
 
fi
6556
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6557
 
$as_echo "$lt_cv_cc_needs_belf" >&6; }
6558
 
  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6559
 
    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6560
 
    CFLAGS="$SAVE_CFLAGS"
6561
 
  fi
6562
 
  ;;
6563
 
sparc*-*solaris*)
6564
 
  # Find out which ABI we are using.
6565
 
  echo 'int i;' > conftest.$ac_ext
6566
 
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6567
 
  (eval $ac_compile) 2>&5
6568
 
  ac_status=$?
6569
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6570
 
  test $ac_status = 0; }; then
6571
 
    case `/usr/bin/file conftest.o` in
6572
 
    *64-bit*)
6573
 
      case $lt_cv_prog_gnu_ld in
6574
 
      yes*) LD="${LD-ld} -m elf64_sparc" ;;
6575
 
      *)
6576
 
        if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6577
 
          LD="${LD-ld} -64"
6578
 
        fi
6579
 
        ;;
6580
 
      esac
6581
 
      ;;
6582
 
    esac
6583
 
  fi
6584
 
  rm -rf conftest*
6585
 
  ;;
6586
 
esac
6587
 
 
6588
 
need_locks="$enable_libtool_lock"
6589
 
 
6590
 
 
6591
 
  case $host_os in
6592
 
    rhapsody* | darwin*)
6593
 
    if test -n "$ac_tool_prefix"; then
6594
 
  # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6595
 
set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6596
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6597
 
$as_echo_n "checking for $ac_word... " >&6; }
6598
 
if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
6599
 
  $as_echo_n "(cached) " >&6
6600
 
else
6601
 
  if test -n "$DSYMUTIL"; then
6602
 
  ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6603
 
else
6604
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6605
 
for as_dir in $PATH
6606
 
do
6607
 
  IFS=$as_save_IFS
6608
 
  test -z "$as_dir" && as_dir=.
6609
 
    for ac_exec_ext in '' $ac_executable_extensions; do
6610
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6611
 
    ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
6612
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6613
 
    break 2
6614
 
  fi
6615
 
done
6616
 
  done
6617
 
IFS=$as_save_IFS
6618
 
 
6619
 
fi
6620
 
fi
6621
 
DSYMUTIL=$ac_cv_prog_DSYMUTIL
6622
 
if test -n "$DSYMUTIL"; then
6623
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
6624
 
$as_echo "$DSYMUTIL" >&6; }
6625
 
else
6626
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6627
 
$as_echo "no" >&6; }
6628
 
fi
6629
 
 
6630
 
 
6631
 
fi
6632
 
if test -z "$ac_cv_prog_DSYMUTIL"; then
6633
 
  ac_ct_DSYMUTIL=$DSYMUTIL
6634
 
  # Extract the first word of "dsymutil", so it can be a program name with args.
6635
 
set dummy dsymutil; ac_word=$2
6636
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6637
 
$as_echo_n "checking for $ac_word... " >&6; }
6638
 
if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
6639
 
  $as_echo_n "(cached) " >&6
6640
 
else
6641
 
  if test -n "$ac_ct_DSYMUTIL"; then
6642
 
  ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6643
 
else
6644
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6645
 
for as_dir in $PATH
6646
 
do
6647
 
  IFS=$as_save_IFS
6648
 
  test -z "$as_dir" && as_dir=.
6649
 
    for ac_exec_ext in '' $ac_executable_extensions; do
6650
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6651
 
    ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
6652
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6653
 
    break 2
6654
 
  fi
6655
 
done
6656
 
  done
6657
 
IFS=$as_save_IFS
6658
 
 
6659
 
fi
6660
 
fi
6661
 
ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6662
 
if test -n "$ac_ct_DSYMUTIL"; then
6663
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
6664
 
$as_echo "$ac_ct_DSYMUTIL" >&6; }
6665
 
else
6666
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6667
 
$as_echo "no" >&6; }
6668
 
fi
6669
 
 
6670
 
  if test "x$ac_ct_DSYMUTIL" = x; then
6671
 
    DSYMUTIL=":"
6672
 
  else
6673
 
    case $cross_compiling:$ac_tool_warned in
6674
 
yes:)
6675
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6676
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6677
 
ac_tool_warned=yes ;;
6678
 
esac
6679
 
    DSYMUTIL=$ac_ct_DSYMUTIL
6680
 
  fi
6681
 
else
6682
 
  DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6683
 
fi
6684
 
 
6685
 
    if test -n "$ac_tool_prefix"; then
6686
 
  # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
6687
 
set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6688
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6689
 
$as_echo_n "checking for $ac_word... " >&6; }
6690
 
if test "${ac_cv_prog_NMEDIT+set}" = set; then :
6691
 
  $as_echo_n "(cached) " >&6
6692
 
else
6693
 
  if test -n "$NMEDIT"; then
6694
 
  ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6695
 
else
6696
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6697
 
for as_dir in $PATH
6698
 
do
6699
 
  IFS=$as_save_IFS
6700
 
  test -z "$as_dir" && as_dir=.
6701
 
    for ac_exec_ext in '' $ac_executable_extensions; do
6702
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6703
 
    ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
6704
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6705
 
    break 2
6706
 
  fi
6707
 
done
6708
 
  done
6709
 
IFS=$as_save_IFS
6710
 
 
6711
 
fi
6712
 
fi
6713
 
NMEDIT=$ac_cv_prog_NMEDIT
6714
 
if test -n "$NMEDIT"; then
6715
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
6716
 
$as_echo "$NMEDIT" >&6; }
6717
 
else
6718
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6719
 
$as_echo "no" >&6; }
6720
 
fi
6721
 
 
6722
 
 
6723
 
fi
6724
 
if test -z "$ac_cv_prog_NMEDIT"; then
6725
 
  ac_ct_NMEDIT=$NMEDIT
6726
 
  # Extract the first word of "nmedit", so it can be a program name with args.
6727
 
set dummy nmedit; ac_word=$2
6728
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6729
 
$as_echo_n "checking for $ac_word... " >&6; }
6730
 
if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
6731
 
  $as_echo_n "(cached) " >&6
6732
 
else
6733
 
  if test -n "$ac_ct_NMEDIT"; then
6734
 
  ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
6735
 
else
6736
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6737
 
for as_dir in $PATH
6738
 
do
6739
 
  IFS=$as_save_IFS
6740
 
  test -z "$as_dir" && as_dir=.
6741
 
    for ac_exec_ext in '' $ac_executable_extensions; do
6742
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6743
 
    ac_cv_prog_ac_ct_NMEDIT="nmedit"
6744
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6745
 
    break 2
6746
 
  fi
6747
 
done
6748
 
  done
6749
 
IFS=$as_save_IFS
6750
 
 
6751
 
fi
6752
 
fi
6753
 
ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
6754
 
if test -n "$ac_ct_NMEDIT"; then
6755
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
6756
 
$as_echo "$ac_ct_NMEDIT" >&6; }
6757
 
else
6758
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6759
 
$as_echo "no" >&6; }
6760
 
fi
6761
 
 
6762
 
  if test "x$ac_ct_NMEDIT" = x; then
6763
 
    NMEDIT=":"
6764
 
  else
6765
 
    case $cross_compiling:$ac_tool_warned in
6766
 
yes:)
6767
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6768
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6769
 
ac_tool_warned=yes ;;
6770
 
esac
6771
 
    NMEDIT=$ac_ct_NMEDIT
6772
 
  fi
6773
 
else
6774
 
  NMEDIT="$ac_cv_prog_NMEDIT"
6775
 
fi
6776
 
 
6777
 
    if test -n "$ac_tool_prefix"; then
6778
 
  # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
6779
 
set dummy ${ac_tool_prefix}lipo; ac_word=$2
6780
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6781
 
$as_echo_n "checking for $ac_word... " >&6; }
6782
 
if test "${ac_cv_prog_LIPO+set}" = set; then :
6783
 
  $as_echo_n "(cached) " >&6
6784
 
else
6785
 
  if test -n "$LIPO"; then
6786
 
  ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
6787
 
else
6788
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6789
 
for as_dir in $PATH
6790
 
do
6791
 
  IFS=$as_save_IFS
6792
 
  test -z "$as_dir" && as_dir=.
6793
 
    for ac_exec_ext in '' $ac_executable_extensions; do
6794
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6795
 
    ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
6796
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6797
 
    break 2
6798
 
  fi
6799
 
done
6800
 
  done
6801
 
IFS=$as_save_IFS
6802
 
 
6803
 
fi
6804
 
fi
6805
 
LIPO=$ac_cv_prog_LIPO
6806
 
if test -n "$LIPO"; then
6807
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
6808
 
$as_echo "$LIPO" >&6; }
6809
 
else
6810
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6811
 
$as_echo "no" >&6; }
6812
 
fi
6813
 
 
6814
 
 
6815
 
fi
6816
 
if test -z "$ac_cv_prog_LIPO"; then
6817
 
  ac_ct_LIPO=$LIPO
6818
 
  # Extract the first word of "lipo", so it can be a program name with args.
6819
 
set dummy lipo; ac_word=$2
6820
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6821
 
$as_echo_n "checking for $ac_word... " >&6; }
6822
 
if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
6823
 
  $as_echo_n "(cached) " >&6
6824
 
else
6825
 
  if test -n "$ac_ct_LIPO"; then
6826
 
  ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
6827
 
else
6828
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6829
 
for as_dir in $PATH
6830
 
do
6831
 
  IFS=$as_save_IFS
6832
 
  test -z "$as_dir" && as_dir=.
6833
 
    for ac_exec_ext in '' $ac_executable_extensions; do
6834
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6835
 
    ac_cv_prog_ac_ct_LIPO="lipo"
6836
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6837
 
    break 2
6838
 
  fi
6839
 
done
6840
 
  done
6841
 
IFS=$as_save_IFS
6842
 
 
6843
 
fi
6844
 
fi
6845
 
ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
6846
 
if test -n "$ac_ct_LIPO"; then
6847
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
6848
 
$as_echo "$ac_ct_LIPO" >&6; }
6849
 
else
6850
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6851
 
$as_echo "no" >&6; }
6852
 
fi
6853
 
 
6854
 
  if test "x$ac_ct_LIPO" = x; then
6855
 
    LIPO=":"
6856
 
  else
6857
 
    case $cross_compiling:$ac_tool_warned in
6858
 
yes:)
6859
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6860
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6861
 
ac_tool_warned=yes ;;
6862
 
esac
6863
 
    LIPO=$ac_ct_LIPO
6864
 
  fi
6865
 
else
6866
 
  LIPO="$ac_cv_prog_LIPO"
6867
 
fi
6868
 
 
6869
 
    if test -n "$ac_tool_prefix"; then
6870
 
  # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
6871
 
set dummy ${ac_tool_prefix}otool; ac_word=$2
6872
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6873
 
$as_echo_n "checking for $ac_word... " >&6; }
6874
 
if test "${ac_cv_prog_OTOOL+set}" = set; then :
6875
 
  $as_echo_n "(cached) " >&6
6876
 
else
6877
 
  if test -n "$OTOOL"; then
6878
 
  ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
6879
 
else
6880
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6881
 
for as_dir in $PATH
6882
 
do
6883
 
  IFS=$as_save_IFS
6884
 
  test -z "$as_dir" && as_dir=.
6885
 
    for ac_exec_ext in '' $ac_executable_extensions; do
6886
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6887
 
    ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
6888
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6889
 
    break 2
6890
 
  fi
6891
 
done
6892
 
  done
6893
 
IFS=$as_save_IFS
6894
 
 
6895
 
fi
6896
 
fi
6897
 
OTOOL=$ac_cv_prog_OTOOL
6898
 
if test -n "$OTOOL"; then
6899
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
6900
 
$as_echo "$OTOOL" >&6; }
6901
 
else
6902
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6903
 
$as_echo "no" >&6; }
6904
 
fi
6905
 
 
6906
 
 
6907
 
fi
6908
 
if test -z "$ac_cv_prog_OTOOL"; then
6909
 
  ac_ct_OTOOL=$OTOOL
6910
 
  # Extract the first word of "otool", so it can be a program name with args.
6911
 
set dummy otool; ac_word=$2
6912
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6913
 
$as_echo_n "checking for $ac_word... " >&6; }
6914
 
if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
6915
 
  $as_echo_n "(cached) " >&6
6916
 
else
6917
 
  if test -n "$ac_ct_OTOOL"; then
6918
 
  ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
6919
 
else
6920
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6921
 
for as_dir in $PATH
6922
 
do
6923
 
  IFS=$as_save_IFS
6924
 
  test -z "$as_dir" && as_dir=.
6925
 
    for ac_exec_ext in '' $ac_executable_extensions; do
6926
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6927
 
    ac_cv_prog_ac_ct_OTOOL="otool"
6928
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6929
 
    break 2
6930
 
  fi
6931
 
done
6932
 
  done
6933
 
IFS=$as_save_IFS
6934
 
 
6935
 
fi
6936
 
fi
6937
 
ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
6938
 
if test -n "$ac_ct_OTOOL"; then
6939
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
6940
 
$as_echo "$ac_ct_OTOOL" >&6; }
6941
 
else
6942
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6943
 
$as_echo "no" >&6; }
6944
 
fi
6945
 
 
6946
 
  if test "x$ac_ct_OTOOL" = x; then
6947
 
    OTOOL=":"
6948
 
  else
6949
 
    case $cross_compiling:$ac_tool_warned in
6950
 
yes:)
6951
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6952
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6953
 
ac_tool_warned=yes ;;
6954
 
esac
6955
 
    OTOOL=$ac_ct_OTOOL
6956
 
  fi
6957
 
else
6958
 
  OTOOL="$ac_cv_prog_OTOOL"
6959
 
fi
6960
 
 
6961
 
    if test -n "$ac_tool_prefix"; then
6962
 
  # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
6963
 
set dummy ${ac_tool_prefix}otool64; ac_word=$2
6964
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6965
 
$as_echo_n "checking for $ac_word... " >&6; }
6966
 
if test "${ac_cv_prog_OTOOL64+set}" = set; then :
6967
 
  $as_echo_n "(cached) " >&6
6968
 
else
6969
 
  if test -n "$OTOOL64"; then
6970
 
  ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
6971
 
else
6972
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6973
 
for as_dir in $PATH
6974
 
do
6975
 
  IFS=$as_save_IFS
6976
 
  test -z "$as_dir" && as_dir=.
6977
 
    for ac_exec_ext in '' $ac_executable_extensions; do
6978
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6979
 
    ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
6980
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6981
 
    break 2
6982
 
  fi
6983
 
done
6984
 
  done
6985
 
IFS=$as_save_IFS
6986
 
 
6987
 
fi
6988
 
fi
6989
 
OTOOL64=$ac_cv_prog_OTOOL64
6990
 
if test -n "$OTOOL64"; then
6991
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
6992
 
$as_echo "$OTOOL64" >&6; }
6993
 
else
6994
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6995
 
$as_echo "no" >&6; }
6996
 
fi
6997
 
 
6998
 
 
6999
 
fi
7000
 
if test -z "$ac_cv_prog_OTOOL64"; then
7001
 
  ac_ct_OTOOL64=$OTOOL64
7002
 
  # Extract the first word of "otool64", so it can be a program name with args.
7003
 
set dummy otool64; ac_word=$2
7004
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7005
 
$as_echo_n "checking for $ac_word... " >&6; }
7006
 
if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
7007
 
  $as_echo_n "(cached) " >&6
7008
 
else
7009
 
  if test -n "$ac_ct_OTOOL64"; then
7010
 
  ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7011
 
else
7012
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7013
 
for as_dir in $PATH
7014
 
do
7015
 
  IFS=$as_save_IFS
7016
 
  test -z "$as_dir" && as_dir=.
7017
 
    for ac_exec_ext in '' $ac_executable_extensions; do
7018
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7019
 
    ac_cv_prog_ac_ct_OTOOL64="otool64"
7020
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7021
 
    break 2
7022
 
  fi
7023
 
done
7024
 
  done
7025
 
IFS=$as_save_IFS
7026
 
 
7027
 
fi
7028
 
fi
7029
 
ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7030
 
if test -n "$ac_ct_OTOOL64"; then
7031
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7032
 
$as_echo "$ac_ct_OTOOL64" >&6; }
7033
 
else
7034
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7035
 
$as_echo "no" >&6; }
7036
 
fi
7037
 
 
7038
 
  if test "x$ac_ct_OTOOL64" = x; then
7039
 
    OTOOL64=":"
7040
 
  else
7041
 
    case $cross_compiling:$ac_tool_warned in
7042
 
yes:)
7043
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7044
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7045
 
ac_tool_warned=yes ;;
7046
 
esac
7047
 
    OTOOL64=$ac_ct_OTOOL64
7048
 
  fi
7049
 
else
7050
 
  OTOOL64="$ac_cv_prog_OTOOL64"
7051
 
fi
7052
 
 
7053
 
    
7054
 
    
7055
 
    
7056
 
    
7057
 
 
7058
 
    
7059
 
    
7060
 
    
7061
 
    
7062
 
 
7063
 
    
7064
 
    
7065
 
    
7066
 
    
7067
 
 
7068
 
    
7069
 
    
7070
 
    
7071
 
    
7072
 
 
7073
 
    
7074
 
    
7075
 
    
7076
 
    
7077
 
 
7078
 
 
7079
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7080
 
$as_echo_n "checking for -single_module linker flag... " >&6; }
7081
 
if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
7082
 
  $as_echo_n "(cached) " >&6
7083
 
else
7084
 
  lt_cv_apple_cc_single_mod=no
7085
 
      if test -z "${LT_MULTI_MODULE}"; then
7086
 
        # By default we will add the -single_module flag. You can override
7087
 
        # by either setting the environment variable LT_MULTI_MODULE
7088
 
        # non-empty at configure time, or by adding -multi_module to the
7089
 
        # link flags.
7090
 
        rm -rf libconftest.dylib*
7091
 
        echo "int foo(void){return 1;}" > conftest.c
7092
 
        echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7093
 
-dynamiclib -Wl,-single_module conftest.c" >&5
7094
 
        $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7095
 
          -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7096
 
        _lt_result=$?
7097
 
        if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7098
 
          lt_cv_apple_cc_single_mod=yes
7099
 
        else
7100
 
          cat conftest.err >&5
7101
 
        fi
7102
 
        rm -rf libconftest.dylib*
7103
 
        rm -f conftest.*
7104
 
      fi
7105
 
fi
7106
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7107
 
$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7108
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7109
 
$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7110
 
if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
7111
 
  $as_echo_n "(cached) " >&6
7112
 
else
7113
 
  lt_cv_ld_exported_symbols_list=no
7114
 
      save_LDFLAGS=$LDFLAGS
7115
 
      echo "_main" > conftest.sym
7116
 
      LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7117
 
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7118
 
/* end confdefs.h.  */
7119
 
 
7120
 
int
7121
 
main ()
7122
 
{
7123
 
 
7124
 
  ;
7125
 
  return 0;
7126
 
}
7127
 
_ACEOF
7128
 
if ac_fn_c_try_link "$LINENO"; then :
7129
 
  lt_cv_ld_exported_symbols_list=yes
7130
 
else
7131
 
  lt_cv_ld_exported_symbols_list=no
7132
 
fi
7133
 
rm -f core conftest.err conftest.$ac_objext \
7134
 
    conftest$ac_exeext conftest.$ac_ext
7135
 
        LDFLAGS="$save_LDFLAGS"
7136
 
    
7137
 
fi
7138
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7139
 
$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7140
 
    case $host_os in
7141
 
    rhapsody* | darwin1.[012])
7142
 
      _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7143
 
    darwin1.*)
7144
 
      _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7145
 
    darwin*) # darwin 5.x on
7146
 
      # if running on 10.5 or later, the deployment target defaults
7147
 
      # to the OS version, if on x86, and 10.4, the deployment
7148
 
      # target defaults to 10.4. Don't you love it?
7149
 
      case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7150
 
        10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7151
 
          _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7152
 
        10.[012]*)
7153
 
          _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7154
 
        10.*)
7155
 
          _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7156
 
      esac
7157
 
    ;;
7158
 
  esac
7159
 
    if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7160
 
      _lt_dar_single_mod='$single_module'
7161
 
    fi
7162
 
    if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7163
 
      _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7164
 
    else
7165
 
      _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7166
 
    fi
7167
 
    if test "$DSYMUTIL" != ":"; then
7168
 
      _lt_dsymutil='~$DSYMUTIL $lib || :'
7169
 
    else
7170
 
      _lt_dsymutil=
7171
 
    fi
7172
 
    ;;
7173
 
  esac
7174
 
 
7175
 
 
7176
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7177
 
$as_echo_n "checking for ANSI C header files... " >&6; }
7178
 
if test "${ac_cv_header_stdc+set}" = set; then :
7179
 
  $as_echo_n "(cached) " >&6
7180
 
else
7181
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7182
 
/* end confdefs.h.  */
7183
 
#include <stdlib.h>
7184
 
#include <stdarg.h>
7185
 
#include <string.h>
7186
 
#include <float.h>
7187
 
 
7188
 
int
7189
 
main ()
7190
 
{
7191
 
 
7192
 
  ;
7193
 
  return 0;
7194
 
}
7195
 
_ACEOF
7196
 
if ac_fn_c_try_compile "$LINENO"; then :
7197
 
  ac_cv_header_stdc=yes
7198
 
else
7199
 
  ac_cv_header_stdc=no
7200
 
fi
7201
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7202
 
 
7203
 
if test $ac_cv_header_stdc = yes; then
7204
 
  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7205
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7206
 
/* end confdefs.h.  */
7207
 
#include <string.h>
7208
 
 
7209
 
_ACEOF
7210
 
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7211
 
  $EGREP "memchr" >/dev/null 2>&1; then :
7212
 
  
7213
 
else
7214
 
  ac_cv_header_stdc=no
7215
 
fi
7216
 
rm -f conftest*
7217
 
 
7218
 
fi
7219
 
 
7220
 
if test $ac_cv_header_stdc = yes; then
7221
 
  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7222
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7223
 
/* end confdefs.h.  */
7224
 
#include <stdlib.h>
7225
 
 
7226
 
_ACEOF
7227
 
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7228
 
  $EGREP "free" >/dev/null 2>&1; then :
7229
 
  
7230
 
else
7231
 
  ac_cv_header_stdc=no
7232
 
fi
7233
 
rm -f conftest*
7234
 
 
7235
 
fi
7236
 
 
7237
 
if test $ac_cv_header_stdc = yes; then
7238
 
  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7239
 
  if test "$cross_compiling" = yes; then :
7240
 
  :
7241
 
else
7242
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7243
 
/* end confdefs.h.  */
7244
 
#include <ctype.h>
7245
 
#include <stdlib.h>
7246
 
#if ((' ' & 0x0FF) == 0x020)
7247
 
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7248
 
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7249
 
#else
7250
 
# define ISLOWER(c) \
7251
 
                   (('a' <= (c) && (c) <= 'i') \
7252
 
                     || ('j' <= (c) && (c) <= 'r') \
7253
 
                     || ('s' <= (c) && (c) <= 'z'))
7254
 
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7255
 
#endif
7256
 
 
7257
 
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7258
 
int
7259
 
main ()
7260
 
{
7261
 
  int i;
7262
 
  for (i = 0; i < 256; i++)
7263
 
    if (XOR (islower (i), ISLOWER (i))
7264
 
        || toupper (i) != TOUPPER (i))
7265
 
      return 2;
7266
 
  return 0;
7267
 
}
7268
 
_ACEOF
7269
 
if ac_fn_c_try_run "$LINENO"; then :
7270
 
  
7271
 
else
7272
 
  ac_cv_header_stdc=no
7273
 
fi
7274
 
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7275
 
  conftest.$ac_objext conftest.beam conftest.$ac_ext
7276
 
fi
7277
 
 
7278
 
fi
7279
 
fi
7280
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7281
 
$as_echo "$ac_cv_header_stdc" >&6; }
7282
 
if test $ac_cv_header_stdc = yes; then
7283
 
  
7284
 
$as_echo "@%:@define STDC_HEADERS 1" >>confdefs.h
7285
 
 
7286
 
fi
7287
 
 
7288
 
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
7289
 
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7290
 
                  inttypes.h stdint.h unistd.h
7291
 
do :
7292
 
  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7293
 
ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7294
 
"
7295
 
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7296
 
  cat >>confdefs.h <<_ACEOF
7297
 
@%:@define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7298
 
_ACEOF
7299
 
 
7300
 
fi
7301
 
 
7302
 
done
7303
 
 
7304
 
 
7305
 
for ac_header in dlfcn.h
7306
 
do :
7307
 
  ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7308
 
"
7309
 
if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
7310
 
  cat >>confdefs.h <<_ACEOF
7311
 
@%:@define HAVE_DLFCN_H 1
7312
 
_ACEOF
7313
 
 
7314
 
fi
7315
 
 
7316
 
done
7317
 
 
7318
 
 
7319
 
 
7320
 
ac_ext=cpp
7321
 
ac_cpp='$CXXCPP $CPPFLAGS'
7322
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7323
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7324
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
7325
 
if test -z "$CXX"; then
7326
 
  if test -n "$CCC"; then
7327
 
    CXX=$CCC
7328
 
  else
7329
 
    if test -n "$ac_tool_prefix"; then
7330
 
  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
7331
 
  do
7332
 
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
7333
 
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
7334
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7335
 
$as_echo_n "checking for $ac_word... " >&6; }
7336
 
if test "${ac_cv_prog_CXX+set}" = set; then :
7337
 
  $as_echo_n "(cached) " >&6
7338
 
else
7339
 
  if test -n "$CXX"; then
7340
 
  ac_cv_prog_CXX="$CXX" # Let the user override the test.
7341
 
else
7342
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7343
 
for as_dir in $PATH
7344
 
do
7345
 
  IFS=$as_save_IFS
7346
 
  test -z "$as_dir" && as_dir=.
7347
 
    for ac_exec_ext in '' $ac_executable_extensions; do
7348
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7349
 
    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
7350
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7351
 
    break 2
7352
 
  fi
7353
 
done
7354
 
  done
7355
 
IFS=$as_save_IFS
7356
 
 
7357
 
fi
7358
 
fi
7359
 
CXX=$ac_cv_prog_CXX
7360
 
if test -n "$CXX"; then
7361
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
7362
 
$as_echo "$CXX" >&6; }
7363
 
else
7364
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7365
 
$as_echo "no" >&6; }
7366
 
fi
7367
 
 
7368
 
 
7369
 
    test -n "$CXX" && break
7370
 
  done
7371
 
fi
7372
 
if test -z "$CXX"; then
7373
 
  ac_ct_CXX=$CXX
7374
 
  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
7375
 
do
7376
 
  # Extract the first word of "$ac_prog", so it can be a program name with args.
7377
 
set dummy $ac_prog; ac_word=$2
7378
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7379
 
$as_echo_n "checking for $ac_word... " >&6; }
7380
 
if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
7381
 
  $as_echo_n "(cached) " >&6
7382
 
else
7383
 
  if test -n "$ac_ct_CXX"; then
7384
 
  ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
7385
 
else
7386
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7387
 
for as_dir in $PATH
7388
 
do
7389
 
  IFS=$as_save_IFS
7390
 
  test -z "$as_dir" && as_dir=.
7391
 
    for ac_exec_ext in '' $ac_executable_extensions; do
7392
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7393
 
    ac_cv_prog_ac_ct_CXX="$ac_prog"
7394
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7395
 
    break 2
7396
 
  fi
7397
 
done
7398
 
  done
7399
 
IFS=$as_save_IFS
7400
 
 
7401
 
fi
7402
 
fi
7403
 
ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
7404
 
if test -n "$ac_ct_CXX"; then
7405
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
7406
 
$as_echo "$ac_ct_CXX" >&6; }
7407
 
else
7408
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7409
 
$as_echo "no" >&6; }
7410
 
fi
7411
 
 
7412
 
 
7413
 
  test -n "$ac_ct_CXX" && break
7414
 
done
7415
 
 
7416
 
  if test "x$ac_ct_CXX" = x; then
7417
 
    CXX="g++"
7418
 
  else
7419
 
    case $cross_compiling:$ac_tool_warned in
7420
 
yes:)
7421
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7422
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7423
 
ac_tool_warned=yes ;;
7424
 
esac
7425
 
    CXX=$ac_ct_CXX
7426
 
  fi
7427
 
fi
7428
 
 
7429
 
  fi
7430
 
fi
7431
 
# Provide some information about the compiler.
7432
 
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
7433
 
set X $ac_compile
7434
 
ac_compiler=$2
7435
 
for ac_option in --version -v -V -qversion; do
7436
 
  { { ac_try="$ac_compiler $ac_option >&5"
7437
 
case "(($ac_try" in
7438
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7439
 
  *) ac_try_echo=$ac_try;;
7440
 
esac
7441
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
7442
 
$as_echo "$ac_try_echo"; } >&5
7443
 
  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
7444
 
  ac_status=$?
7445
 
  if test -s conftest.err; then
7446
 
    sed '10a\
7447
 
... rest of stderr output deleted ...
7448
 
         10q' conftest.err >conftest.er1
7449
 
    cat conftest.er1 >&5
7450
 
  fi
7451
 
  rm -f conftest.er1 conftest.err
7452
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7453
 
  test $ac_status = 0; }
7454
 
done
7455
 
 
7456
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
7457
 
$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
7458
 
if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
7459
 
  $as_echo_n "(cached) " >&6
7460
 
else
7461
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7462
 
/* end confdefs.h.  */
7463
 
 
7464
 
int
7465
 
main ()
7466
 
{
7467
 
#ifndef __GNUC__
7468
 
       choke me
7469
 
#endif
7470
 
 
7471
 
  ;
7472
 
  return 0;
7473
 
}
7474
 
_ACEOF
7475
 
if ac_fn_cxx_try_compile "$LINENO"; then :
7476
 
  ac_compiler_gnu=yes
7477
 
else
7478
 
  ac_compiler_gnu=no
7479
 
fi
7480
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7481
 
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
7482
 
 
7483
 
fi
7484
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
7485
 
$as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
7486
 
if test $ac_compiler_gnu = yes; then
7487
 
  GXX=yes
7488
 
else
7489
 
  GXX=
7490
 
fi
7491
 
ac_test_CXXFLAGS=${CXXFLAGS+set}
7492
 
ac_save_CXXFLAGS=$CXXFLAGS
7493
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
7494
 
$as_echo_n "checking whether $CXX accepts -g... " >&6; }
7495
 
if test "${ac_cv_prog_cxx_g+set}" = set; then :
7496
 
  $as_echo_n "(cached) " >&6
7497
 
else
7498
 
  ac_save_cxx_werror_flag=$ac_cxx_werror_flag
7499
 
   ac_cxx_werror_flag=yes
7500
 
   ac_cv_prog_cxx_g=no
7501
 
   CXXFLAGS="-g"
7502
 
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7503
 
/* end confdefs.h.  */
7504
 
 
7505
 
int
7506
 
main ()
7507
 
{
7508
 
 
7509
 
  ;
7510
 
  return 0;
7511
 
}
7512
 
_ACEOF
7513
 
if ac_fn_cxx_try_compile "$LINENO"; then :
7514
 
  ac_cv_prog_cxx_g=yes
7515
 
else
7516
 
  CXXFLAGS=""
7517
 
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7518
 
/* end confdefs.h.  */
7519
 
 
7520
 
int
7521
 
main ()
7522
 
{
7523
 
 
7524
 
  ;
7525
 
  return 0;
7526
 
}
7527
 
_ACEOF
7528
 
if ac_fn_cxx_try_compile "$LINENO"; then :
7529
 
  
7530
 
else
7531
 
  ac_cxx_werror_flag=$ac_save_cxx_werror_flag
7532
 
         CXXFLAGS="-g"
7533
 
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7534
 
/* end confdefs.h.  */
7535
 
 
7536
 
int
7537
 
main ()
7538
 
{
7539
 
 
7540
 
  ;
7541
 
  return 0;
7542
 
}
7543
 
_ACEOF
7544
 
if ac_fn_cxx_try_compile "$LINENO"; then :
7545
 
  ac_cv_prog_cxx_g=yes
7546
 
fi
7547
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7548
 
fi
7549
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7550
 
fi
7551
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7552
 
   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
7553
 
fi
7554
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
7555
 
$as_echo "$ac_cv_prog_cxx_g" >&6; }
7556
 
if test "$ac_test_CXXFLAGS" = set; then
7557
 
  CXXFLAGS=$ac_save_CXXFLAGS
7558
 
elif test $ac_cv_prog_cxx_g = yes; then
7559
 
  if test "$GXX" = yes; then
7560
 
    CXXFLAGS="-g -O2"
7561
 
  else
7562
 
    CXXFLAGS="-g"
7563
 
  fi
7564
 
else
7565
 
  if test "$GXX" = yes; then
7566
 
    CXXFLAGS="-O2"
7567
 
  else
7568
 
    CXXFLAGS=
7569
 
  fi
7570
 
fi
7571
 
ac_ext=c
7572
 
ac_cpp='$CPP $CPPFLAGS'
7573
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7574
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7575
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
7576
 
 
7577
 
depcc="$CXX"  am_compiler_list=
7578
 
 
7579
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
7580
 
$as_echo_n "checking dependency style of $depcc... " >&6; }
7581
 
if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then :
7582
 
  $as_echo_n "(cached) " >&6
7583
 
else
7584
 
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
7585
 
  # We make a subdir and do the tests there.  Otherwise we can end up
7586
 
  # making bogus files that we don't know about and never remove.  For
7587
 
  # instance it was reported that on HP-UX the gcc test will end up
7588
 
  # making a dummy file named `D' -- because `-MD' means `put the output
7589
 
  # in D'.
7590
 
  mkdir conftest.dir
7591
 
  # Copy depcomp to subdir because otherwise we won't find it if we're
7592
 
  # using a relative directory.
7593
 
  cp "$am_depcomp" conftest.dir
7594
 
  cd conftest.dir
7595
 
  # We will build objects and dependencies in a subdirectory because
7596
 
  # it helps to detect inapplicable dependency modes.  For instance
7597
 
  # both Tru64's cc and ICC support -MD to output dependencies as a
7598
 
  # side effect of compilation, but ICC will put the dependencies in
7599
 
  # the current directory while Tru64 will put them in the object
7600
 
  # directory.
7601
 
  mkdir sub
7602
 
 
7603
 
  am_cv_CXX_dependencies_compiler_type=none
7604
 
  if test "$am_compiler_list" = ""; then
7605
 
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
7606
 
  fi
7607
 
  am__universal=false
7608
 
  case " $depcc " in #(
7609
 
     *\ -arch\ *\ -arch\ *) am__universal=true ;;
7610
 
     esac
7611
 
 
7612
 
  for depmode in $am_compiler_list; do
7613
 
    # Setup a source with many dependencies, because some compilers
7614
 
    # like to wrap large dependency lists on column 80 (with \), and
7615
 
    # we should not choose a depcomp mode which is confused by this.
7616
 
    #
7617
 
    # We need to recreate these files for each test, as the compiler may
7618
 
    # overwrite some of them when testing with obscure command lines.
7619
 
    # This happens at least with the AIX C compiler.
7620
 
    : > sub/conftest.c
7621
 
    for i in 1 2 3 4 5 6; do
7622
 
      echo '#include "conftst'$i'.h"' >> sub/conftest.c
7623
 
      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
7624
 
      # Solaris 8's {/usr,}/bin/sh.
7625
 
      touch sub/conftst$i.h
7626
 
    done
7627
 
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
7628
 
 
7629
 
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
7630
 
    # mode.  It turns out that the SunPro C++ compiler does not properly
7631
 
    # handle `-M -o', and we need to detect this.  Also, some Intel
7632
 
    # versions had trouble with output in subdirs
7633
 
    am__obj=sub/conftest.${OBJEXT-o}
7634
 
    am__minus_obj="-o $am__obj"
7635
 
    case $depmode in
7636
 
    gcc)
7637
 
      # This depmode causes a compiler race in universal mode.
7638
 
      test "$am__universal" = false || continue
7639
 
      ;;
7640
 
    nosideeffect)
7641
 
      # after this tag, mechanisms are not by side-effect, so they'll
7642
 
      # only be used when explicitly requested
7643
 
      if test "x$enable_dependency_tracking" = xyes; then
7644
 
        continue
7645
 
      else
7646
 
        break
7647
 
      fi
7648
 
      ;;
7649
 
    msvisualcpp | msvcmsys)
7650
 
      # This compiler won't grok `-c -o', but also, the minuso test has
7651
 
      # not run yet.  These depmodes are late enough in the game, and
7652
 
      # so weak that their functioning should not be impacted.
7653
 
      am__obj=conftest.${OBJEXT-o}
7654
 
      am__minus_obj=
7655
 
      ;;
7656
 
    none) break ;;
7657
 
    esac
7658
 
    if depmode=$depmode \
7659
 
       source=sub/conftest.c object=$am__obj \
7660
 
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
7661
 
       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
7662
 
         >/dev/null 2>conftest.err &&
7663
 
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
7664
 
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
7665
 
       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
7666
 
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
7667
 
      # icc doesn't choke on unknown options, it will just issue warnings
7668
 
      # or remarks (even with -Werror).  So we grep stderr for any message
7669
 
      # that says an option was ignored or not supported.
7670
 
      # When given -MP, icc 7.0 and 7.1 complain thusly:
7671
 
      #   icc: Command line warning: ignoring option '-M'; no argument required
7672
 
      # The diagnosis changed in icc 8.0:
7673
 
      #   icc: Command line remark: option '-MP' not supported
7674
 
      if (grep 'ignoring option' conftest.err ||
7675
 
          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
7676
 
        am_cv_CXX_dependencies_compiler_type=$depmode
7677
 
        break
7678
 
      fi
7679
 
    fi
7680
 
  done
7681
 
 
7682
 
  cd ..
7683
 
  rm -rf conftest.dir
7684
 
else
7685
 
  am_cv_CXX_dependencies_compiler_type=none
7686
 
fi
7687
 
 
7688
 
fi
7689
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
7690
 
$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
7691
 
CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
7692
 
 
7693
 
 if 
7694
 
  test "x$enable_dependency_tracking" != xno \
7695
 
  && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
7696
 
  am__fastdepCXX_TRUE=
7697
 
  am__fastdepCXX_FALSE='#'
7698
 
else
7699
 
  am__fastdepCXX_TRUE='#'
7700
 
  am__fastdepCXX_FALSE=
7701
 
fi
7702
 
 
7703
 
 
7704
 
if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
7705
 
    ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
7706
 
    (test "X$CXX" != "Xg++"))) ; then
7707
 
  ac_ext=cpp
7708
 
ac_cpp='$CXXCPP $CPPFLAGS'
7709
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7710
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7711
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
7712
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
7713
 
$as_echo_n "checking how to run the C++ preprocessor... " >&6; }
7714
 
if test -z "$CXXCPP"; then
7715
 
  if test "${ac_cv_prog_CXXCPP+set}" = set; then :
7716
 
  $as_echo_n "(cached) " >&6
7717
 
else
7718
 
      # Double quotes because CXXCPP needs to be expanded
7719
 
    for CXXCPP in "$CXX -E" "/lib/cpp"
7720
 
    do
7721
 
      ac_preproc_ok=false
7722
 
for ac_cxx_preproc_warn_flag in '' yes
7723
 
do
7724
 
  # Use a header file that comes with gcc, so configuring glibc
7725
 
  # with a fresh cross-compiler works.
7726
 
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7727
 
  # <limits.h> exists even on freestanding compilers.
7728
 
  # On the NeXT, cc -E runs the code through the compiler's parser,
7729
 
  # not just through cpp. "Syntax error" is here to catch this case.
7730
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7731
 
/* end confdefs.h.  */
7732
 
@%:@ifdef __STDC__
7733
 
@%:@ include <limits.h>
7734
 
@%:@else
7735
 
@%:@ include <assert.h>
7736
 
@%:@endif
7737
 
                     Syntax error
7738
 
_ACEOF
7739
 
if ac_fn_cxx_try_cpp "$LINENO"; then :
7740
 
  
7741
 
else
7742
 
  # Broken: fails on valid input.
7743
 
continue
7744
 
fi
7745
 
rm -f conftest.err conftest.i conftest.$ac_ext
7746
 
 
7747
 
  # OK, works on sane cases.  Now check whether nonexistent headers
7748
 
  # can be detected and how.
7749
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7750
 
/* end confdefs.h.  */
7751
 
@%:@include <ac_nonexistent.h>
7752
 
_ACEOF
7753
 
if ac_fn_cxx_try_cpp "$LINENO"; then :
7754
 
  # Broken: success on invalid input.
7755
 
continue
7756
 
else
7757
 
  # Passes both tests.
7758
 
ac_preproc_ok=:
7759
 
break
7760
 
fi
7761
 
rm -f conftest.err conftest.i conftest.$ac_ext
7762
 
 
7763
 
done
7764
 
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7765
 
rm -f conftest.i conftest.err conftest.$ac_ext
7766
 
if $ac_preproc_ok; then :
7767
 
  break
7768
 
fi
7769
 
 
7770
 
    done
7771
 
    ac_cv_prog_CXXCPP=$CXXCPP
7772
 
  
7773
 
fi
7774
 
  CXXCPP=$ac_cv_prog_CXXCPP
7775
 
else
7776
 
  ac_cv_prog_CXXCPP=$CXXCPP
7777
 
fi
7778
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
7779
 
$as_echo "$CXXCPP" >&6; }
7780
 
ac_preproc_ok=false
7781
 
for ac_cxx_preproc_warn_flag in '' yes
7782
 
do
7783
 
  # Use a header file that comes with gcc, so configuring glibc
7784
 
  # with a fresh cross-compiler works.
7785
 
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7786
 
  # <limits.h> exists even on freestanding compilers.
7787
 
  # On the NeXT, cc -E runs the code through the compiler's parser,
7788
 
  # not just through cpp. "Syntax error" is here to catch this case.
7789
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7790
 
/* end confdefs.h.  */
7791
 
@%:@ifdef __STDC__
7792
 
@%:@ include <limits.h>
7793
 
@%:@else
7794
 
@%:@ include <assert.h>
7795
 
@%:@endif
7796
 
                     Syntax error
7797
 
_ACEOF
7798
 
if ac_fn_cxx_try_cpp "$LINENO"; then :
7799
 
  
7800
 
else
7801
 
  # Broken: fails on valid input.
7802
 
continue
7803
 
fi
7804
 
rm -f conftest.err conftest.i conftest.$ac_ext
7805
 
 
7806
 
  # OK, works on sane cases.  Now check whether nonexistent headers
7807
 
  # can be detected and how.
7808
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7809
 
/* end confdefs.h.  */
7810
 
@%:@include <ac_nonexistent.h>
7811
 
_ACEOF
7812
 
if ac_fn_cxx_try_cpp "$LINENO"; then :
7813
 
  # Broken: success on invalid input.
7814
 
continue
7815
 
else
7816
 
  # Passes both tests.
7817
 
ac_preproc_ok=:
7818
 
break
7819
 
fi
7820
 
rm -f conftest.err conftest.i conftest.$ac_ext
7821
 
 
7822
 
done
7823
 
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7824
 
rm -f conftest.i conftest.err conftest.$ac_ext
7825
 
if $ac_preproc_ok; then :
7826
 
  
7827
 
else
7828
 
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7829
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7830
 
_lt_caught_CXX_error=yes; }
7831
 
fi
7832
 
 
7833
 
ac_ext=c
7834
 
ac_cpp='$CPP $CPPFLAGS'
7835
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7836
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7837
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
7838
 
 
7839
 
else
7840
 
  _lt_caught_CXX_error=yes
7841
 
fi
7842
 
 
7843
 
 
7844
 
 
7845
 
 
7846
 
 
7847
 
# Set options
7848
 
 
7849
 
 
7850
 
 
7851
 
        enable_dlopen=no
7852
 
  
7853
 
 
7854
 
  enable_win32_dll=no
7855
 
  
7856
 
 
7857
 
            @%:@ Check whether --enable-shared was given.
7858
 
if test "${enable_shared+set}" = set; then :
7859
 
  enableval=$enable_shared; p=${PACKAGE-default}
7860
 
    case $enableval in
7861
 
    yes) enable_shared=yes ;;
7862
 
    no) enable_shared=no ;;
7863
 
    *)
7864
 
      enable_shared=no
7865
 
      # Look at the argument we got.  We use all the common list separators.
7866
 
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7867
 
      for pkg in $enableval; do
7868
 
        IFS="$lt_save_ifs"
7869
 
        if test "X$pkg" = "X$p"; then
7870
 
          enable_shared=yes
7871
 
        fi
7872
 
      done
7873
 
      IFS="$lt_save_ifs"
7874
 
      ;;
7875
 
    esac
7876
 
else
7877
 
  enable_shared=yes
7878
 
fi
7879
 
 
7880
 
 
7881
 
    
7882
 
    
7883
 
    
7884
 
    
7885
 
 
7886
 
 
7887
 
 
7888
 
  @%:@ Check whether --enable-static was given.
7889
 
if test "${enable_static+set}" = set; then :
7890
 
  enableval=$enable_static; p=${PACKAGE-default}
7891
 
    case $enableval in
7892
 
    yes) enable_static=yes ;;
7893
 
    no) enable_static=no ;;
7894
 
    *)
7895
 
     enable_static=no
7896
 
      # Look at the argument we got.  We use all the common list separators.
7897
 
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7898
 
      for pkg in $enableval; do
7899
 
        IFS="$lt_save_ifs"
7900
 
        if test "X$pkg" = "X$p"; then
7901
 
          enable_static=yes
7902
 
        fi
7903
 
      done
7904
 
      IFS="$lt_save_ifs"
7905
 
      ;;
7906
 
    esac
7907
 
else
7908
 
  enable_static=yes
7909
 
fi
7910
 
 
7911
 
 
7912
 
    
7913
 
    
7914
 
    
7915
 
    
7916
 
 
7917
 
 
7918
 
 
7919
 
  
7920
 
@%:@ Check whether --with-pic was given.
7921
 
if test "${with_pic+set}" = set; then :
7922
 
  withval=$with_pic; pic_mode="$withval"
7923
 
else
7924
 
  pic_mode=default
7925
 
fi
7926
 
 
7927
 
 
7928
 
test -z "$pic_mode" && pic_mode=default
7929
 
 
7930
 
 
7931
 
    
7932
 
    
7933
 
    
7934
 
 
7935
 
 
7936
 
  @%:@ Check whether --enable-fast-install was given.
7937
 
if test "${enable_fast_install+set}" = set; then :
7938
 
  enableval=$enable_fast_install; p=${PACKAGE-default}
7939
 
    case $enableval in
7940
 
    yes) enable_fast_install=yes ;;
7941
 
    no) enable_fast_install=no ;;
7942
 
    *)
7943
 
      enable_fast_install=no
7944
 
      # Look at the argument we got.  We use all the common list separators.
7945
 
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7946
 
      for pkg in $enableval; do
7947
 
        IFS="$lt_save_ifs"
7948
 
        if test "X$pkg" = "X$p"; then
7949
 
          enable_fast_install=yes
7950
 
        fi
7951
 
      done
7952
 
      IFS="$lt_save_ifs"
7953
 
      ;;
7954
 
    esac
7955
 
else
7956
 
  enable_fast_install=yes
7957
 
fi
7958
 
 
7959
 
 
7960
 
 
7961
 
    
7962
 
    
7963
 
    
7964
 
 
7965
 
 
7966
 
  
7967
 
 
7968
 
 
7969
 
# This can be used to rebuild libtool when needed
7970
 
LIBTOOL_DEPS="$ltmain"
7971
 
 
7972
 
# Always use our own libtool.
7973
 
LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7974
 
 
7975
 
 
7976
 
    
7977
 
    
7978
 
    
7979
 
 
7980
 
    
7981
 
    
7982
 
    
7983
 
 
7984
 
    
7985
 
    
7986
 
    
7987
 
 
7988
 
    
7989
 
    
7990
 
    
7991
 
 
7992
 
    
7993
 
    
7994
 
    
7995
 
 
7996
 
    
7997
 
    
7998
 
    
7999
 
test -z "$LN_S" && LN_S="ln -s"
8000
 
 
8001
 
    
8002
 
    
8003
 
    
8004
 
 
8005
 
    
8006
 
    
8007
 
    
8008
 
 
8009
 
    
8010
 
    
8011
 
    
8012
 
 
8013
 
 
8014
 
if test -n "${ZSH_VERSION+set}" ; then
8015
 
   setopt NO_GLOB_SUBST
8016
 
fi
8017
 
 
8018
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8019
 
$as_echo_n "checking for objdir... " >&6; }
8020
 
if test "${lt_cv_objdir+set}" = set; then :
8021
 
  $as_echo_n "(cached) " >&6
8022
 
else
8023
 
  rm -f .libs 2>/dev/null
8024
 
mkdir .libs 2>/dev/null
8025
 
if test -d .libs; then
8026
 
  lt_cv_objdir=.libs
8027
 
else
8028
 
  # MS-DOS does not allow filenames that begin with a dot.
8029
 
  lt_cv_objdir=_libs
8030
 
fi
8031
 
rmdir .libs 2>/dev/null
8032
 
fi
8033
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8034
 
$as_echo "$lt_cv_objdir" >&6; }
8035
 
objdir=$lt_cv_objdir
8036
 
 
8037
 
    
8038
 
    
8039
 
    
8040
 
 
8041
 
cat >>confdefs.h <<_ACEOF
8042
 
@%:@define LT_OBJDIR "$lt_cv_objdir/"
8043
 
_ACEOF
8044
 
 
8045
 
 
8046
 
 
8047
 
 
8048
 
 
8049
 
 
8050
 
    
8051
 
    
8052
 
    
8053
 
 
8054
 
 
8055
 
    
8056
 
    
8057
 
    
8058
 
 
8059
 
 
8060
 
 
8061
 
case $host_os in
8062
 
aix3*)
8063
 
  # AIX sometimes has problems with the GCC collect2 program.  For some
8064
 
  # reason, if we set the COLLECT_NAMES environment variable, the problems
8065
 
  # vanish in a puff of smoke.
8066
 
  if test "X${COLLECT_NAMES+set}" != Xset; then
8067
 
    COLLECT_NAMES=
8068
 
    export COLLECT_NAMES
8069
 
  fi
8070
 
  ;;
8071
 
esac
8072
 
 
8073
 
# Sed substitution that helps us do robust quoting.  It backslashifies
8074
 
# metacharacters that are still active within double-quoted strings.
8075
 
sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
8076
 
 
8077
 
# Same as above, but do not quote variable references.
8078
 
double_quote_subst='s/\(["`\\]\)/\\\1/g'
8079
 
 
8080
 
# Sed substitution to delay expansion of an escaped shell variable in a
8081
 
# double_quote_subst'ed string.
8082
 
delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
8083
 
 
8084
 
# Sed substitution to delay expansion of an escaped single quote.
8085
 
delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
8086
 
 
8087
 
# Sed substitution to avoid accidental globbing in evaled expressions
8088
 
no_glob_subst='s/\*/\\\*/g'
8089
 
 
8090
 
# Global variables:
8091
 
ofile=libtool
8092
 
can_build_shared=yes
8093
 
 
8094
 
# All known linkers require a `.a' archive for static linking (except MSVC,
8095
 
# which needs '.lib').
8096
 
libext=a
8097
 
 
8098
 
with_gnu_ld="$lt_cv_prog_gnu_ld"
8099
 
 
8100
 
old_CC="$CC"
8101
 
old_CFLAGS="$CFLAGS"
8102
 
 
8103
 
# Set sane defaults for various variables
8104
 
test -z "$CC" && CC=cc
8105
 
test -z "$LTCC" && LTCC=$CC
8106
 
test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8107
 
test -z "$LD" && LD=ld
8108
 
test -z "$ac_objext" && ac_objext=o
8109
 
 
8110
 
for cc_temp in $compiler""; do
8111
 
  case $cc_temp in
8112
 
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8113
 
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8114
 
    \-*) ;;
8115
 
    *) break;;
8116
 
  esac
8117
 
done
8118
 
cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
8119
 
 
8120
 
 
8121
 
# Only perform the check for file, if the check method requires it
8122
 
test -z "$MAGIC_CMD" && MAGIC_CMD=file
8123
 
case $deplibs_check_method in
8124
 
file_magic*)
8125
 
  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8126
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8127
 
$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8128
 
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8129
 
  $as_echo_n "(cached) " >&6
8130
 
else
8131
 
  case $MAGIC_CMD in
8132
 
[\\/*] |  ?:[\\/]*)
8133
 
  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8134
 
  ;;
8135
 
*)
8136
 
  lt_save_MAGIC_CMD="$MAGIC_CMD"
8137
 
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8138
 
  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8139
 
  for ac_dir in $ac_dummy; do
8140
 
    IFS="$lt_save_ifs"
8141
 
    test -z "$ac_dir" && ac_dir=.
8142
 
    if test -f $ac_dir/${ac_tool_prefix}file; then
8143
 
      lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8144
 
      if test -n "$file_magic_test_file"; then
8145
 
        case $deplibs_check_method in
8146
 
        "file_magic "*)
8147
 
          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8148
 
          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8149
 
          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8150
 
            $EGREP "$file_magic_regex" > /dev/null; then
8151
 
            :
8152
 
          else
8153
 
            cat <<_LT_EOF 1>&2
8154
 
 
8155
 
*** Warning: the command libtool uses to detect shared libraries,
8156
 
*** $file_magic_cmd, produces output that libtool cannot recognize.
8157
 
*** The result is that libtool may fail to recognize shared libraries
8158
 
*** as such.  This will affect the creation of libtool libraries that
8159
 
*** depend on shared libraries, but programs linked with such libtool
8160
 
*** libraries will work regardless of this problem.  Nevertheless, you
8161
 
*** may want to report the problem to your system manager and/or to
8162
 
*** bug-libtool@gnu.org
8163
 
 
8164
 
_LT_EOF
8165
 
          fi ;;
8166
 
        esac
8167
 
      fi
8168
 
      break
8169
 
    fi
8170
 
  done
8171
 
  IFS="$lt_save_ifs"
8172
 
  MAGIC_CMD="$lt_save_MAGIC_CMD"
8173
 
  ;;
8174
 
esac
8175
 
fi
8176
 
 
8177
 
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8178
 
if test -n "$MAGIC_CMD"; then
8179
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8180
 
$as_echo "$MAGIC_CMD" >&6; }
8181
 
else
8182
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8183
 
$as_echo "no" >&6; }
8184
 
fi
8185
 
 
8186
 
    
8187
 
    
8188
 
    
8189
 
 
8190
 
if test -z "$lt_cv_path_MAGIC_CMD"; then
8191
 
  if test -n "$ac_tool_prefix"; then
8192
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8193
 
$as_echo_n "checking for file... " >&6; }
8194
 
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8195
 
  $as_echo_n "(cached) " >&6
8196
 
else
8197
 
  case $MAGIC_CMD in
8198
 
[\\/*] |  ?:[\\/]*)
8199
 
  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8200
 
  ;;
8201
 
*)
8202
 
  lt_save_MAGIC_CMD="$MAGIC_CMD"
8203
 
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8204
 
  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8205
 
  for ac_dir in $ac_dummy; do
8206
 
    IFS="$lt_save_ifs"
8207
 
    test -z "$ac_dir" && ac_dir=.
8208
 
    if test -f $ac_dir/file; then
8209
 
      lt_cv_path_MAGIC_CMD="$ac_dir/file"
8210
 
      if test -n "$file_magic_test_file"; then
8211
 
        case $deplibs_check_method in
8212
 
        "file_magic "*)
8213
 
          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8214
 
          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8215
 
          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8216
 
            $EGREP "$file_magic_regex" > /dev/null; then
8217
 
            :
8218
 
          else
8219
 
            cat <<_LT_EOF 1>&2
8220
 
 
8221
 
*** Warning: the command libtool uses to detect shared libraries,
8222
 
*** $file_magic_cmd, produces output that libtool cannot recognize.
8223
 
*** The result is that libtool may fail to recognize shared libraries
8224
 
*** as such.  This will affect the creation of libtool libraries that
8225
 
*** depend on shared libraries, but programs linked with such libtool
8226
 
*** libraries will work regardless of this problem.  Nevertheless, you
8227
 
*** may want to report the problem to your system manager and/or to
8228
 
*** bug-libtool@gnu.org
8229
 
 
8230
 
_LT_EOF
8231
 
          fi ;;
8232
 
        esac
8233
 
      fi
8234
 
      break
8235
 
    fi
8236
 
  done
8237
 
  IFS="$lt_save_ifs"
8238
 
  MAGIC_CMD="$lt_save_MAGIC_CMD"
8239
 
  ;;
8240
 
esac
8241
 
fi
8242
 
 
8243
 
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8244
 
if test -n "$MAGIC_CMD"; then
8245
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8246
 
$as_echo "$MAGIC_CMD" >&6; }
8247
 
else
8248
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8249
 
$as_echo "no" >&6; }
8250
 
fi
8251
 
 
8252
 
 
8253
 
  else
8254
 
    MAGIC_CMD=:
8255
 
  fi
8256
 
fi
8257
 
 
8258
 
  fi
8259
 
  ;;
8260
 
esac
8261
 
 
8262
 
# Use C for the default configuration in the libtool script
8263
 
 
8264
 
lt_save_CC="$CC"
8265
 
ac_ext=c
8266
 
ac_cpp='$CPP $CPPFLAGS'
8267
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8268
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8269
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
8270
 
 
8271
 
 
8272
 
# Source file extension for C test sources.
8273
 
ac_ext=c
8274
 
 
8275
 
# Object file extension for compiled C test sources.
8276
 
objext=o
8277
 
objext=$objext
8278
 
 
8279
 
# Code to be used in simple compile tests
8280
 
lt_simple_compile_test_code="int some_variable = 0;"
8281
 
 
8282
 
# Code to be used in simple link tests
8283
 
lt_simple_link_test_code='int main(){return(0);}'
8284
 
 
8285
 
 
8286
 
 
8287
 
 
8288
 
 
8289
 
 
8290
 
 
8291
 
# If no C compiler was specified, use CC.
8292
 
LTCC=${LTCC-"$CC"}
8293
 
 
8294
 
# If no C compiler flags were specified, use CFLAGS.
8295
 
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8296
 
 
8297
 
# Allow CC to be a program name with arguments.
8298
 
compiler=$CC
8299
 
 
8300
 
# Save the default compiler, since it gets overwritten when the other
8301
 
# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8302
 
compiler_DEFAULT=$CC
8303
 
 
8304
 
# save warnings/boilerplate of simple test code
8305
 
ac_outfile=conftest.$ac_objext
8306
 
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8307
 
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8308
 
_lt_compiler_boilerplate=`cat conftest.err`
8309
 
$RM conftest*
8310
 
 
8311
 
ac_outfile=conftest.$ac_objext
8312
 
echo "$lt_simple_link_test_code" >conftest.$ac_ext
8313
 
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8314
 
_lt_linker_boilerplate=`cat conftest.err`
8315
 
$RM -r conftest*
8316
 
 
8317
 
 
8318
 
if test -n "$compiler"; then
8319
 
  
8320
 
lt_prog_compiler_no_builtin_flag=
8321
 
 
8322
 
if test "$GCC" = yes; then
8323
 
  lt_prog_compiler_no_builtin_flag=' -fno-builtin'
8324
 
 
8325
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8326
 
$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8327
 
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
8328
 
  $as_echo_n "(cached) " >&6
8329
 
else
8330
 
  lt_cv_prog_compiler_rtti_exceptions=no
8331
 
   ac_outfile=conftest.$ac_objext
8332
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8333
 
   lt_compiler_flag="-fno-rtti -fno-exceptions"
8334
 
   # Insert the option either (1) after the last *FLAGS variable, or
8335
 
   # (2) before a word containing "conftest.", or (3) at the end.
8336
 
   # Note that $ac_compile itself does not contain backslashes and begins
8337
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
8338
 
   # The option is referenced via a variable to avoid confusing sed.
8339
 
   lt_compile=`echo "$ac_compile" | $SED \
8340
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8341
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8342
 
   -e 's:$: $lt_compiler_flag:'`
8343
 
   (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
8344
 
   (eval "$lt_compile" 2>conftest.err)
8345
 
   ac_status=$?
8346
 
   cat conftest.err >&5
8347
 
   echo "$as_me:__oline__: \$? = $ac_status" >&5
8348
 
   if (exit $ac_status) && test -s "$ac_outfile"; then
8349
 
     # The compiler can only warn and ignore the option if not recognized
8350
 
     # So say no if there are warnings other than the usual output.
8351
 
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
8352
 
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8353
 
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8354
 
       lt_cv_prog_compiler_rtti_exceptions=yes
8355
 
     fi
8356
 
   fi
8357
 
   $RM conftest*
8358
 
 
8359
 
fi
8360
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8361
 
$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8362
 
 
8363
 
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8364
 
    lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8365
 
else
8366
 
    :
8367
 
fi
8368
 
 
8369
 
fi
8370
 
 
8371
 
    
8372
 
    
8373
 
    
8374
 
 
8375
 
 
8376
 
  lt_prog_compiler_wl=
8377
 
lt_prog_compiler_pic=
8378
 
lt_prog_compiler_static=
8379
 
 
8380
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8381
 
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8382
 
 
8383
 
  if test "$GCC" = yes; then
8384
 
    lt_prog_compiler_wl='-Wl,'
8385
 
    lt_prog_compiler_static='-static'
8386
 
 
8387
 
    case $host_os in
8388
 
      aix*)
8389
 
      # All AIX code is PIC.
8390
 
      if test "$host_cpu" = ia64; then
8391
 
        # AIX 5 now supports IA64 processor
8392
 
        lt_prog_compiler_static='-Bstatic'
8393
 
      fi
8394
 
      ;;
8395
 
 
8396
 
    amigaos*)
8397
 
      case $host_cpu in
8398
 
      powerpc)
8399
 
            # see comment about AmigaOS4 .so support
8400
 
            lt_prog_compiler_pic='-fPIC'
8401
 
        ;;
8402
 
      m68k)
8403
 
            # FIXME: we need at least 68020 code to build shared libraries, but
8404
 
            # adding the `-m68020' flag to GCC prevents building anything better,
8405
 
            # like `-m68040'.
8406
 
            lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8407
 
        ;;
8408
 
      esac
8409
 
      ;;
8410
 
 
8411
 
    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8412
 
      # PIC is the default for these OSes.
8413
 
      ;;
8414
 
 
8415
 
    mingw* | cygwin* | pw32* | os2* | cegcc*)
8416
 
      # This hack is so that the source file can tell whether it is being
8417
 
      # built for inclusion in a dll (and should export symbols for example).
8418
 
      # Although the cygwin gcc ignores -fPIC, still need this for old-style
8419
 
      # (--disable-auto-import) libraries
8420
 
      lt_prog_compiler_pic='-DDLL_EXPORT'
8421
 
      ;;
8422
 
 
8423
 
    darwin* | rhapsody*)
8424
 
      # PIC is the default on this platform
8425
 
      # Common symbols not allowed in MH_DYLIB files
8426
 
      lt_prog_compiler_pic='-fno-common'
8427
 
      ;;
8428
 
 
8429
 
    hpux*)
8430
 
      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8431
 
      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
8432
 
      # sets the default TLS model and affects inlining.
8433
 
      case $host_cpu in
8434
 
      hppa*64*)
8435
 
        # +Z the default
8436
 
        ;;
8437
 
      *)
8438
 
        lt_prog_compiler_pic='-fPIC'
8439
 
        ;;
8440
 
      esac
8441
 
      ;;
8442
 
 
8443
 
    interix[3-9]*)
8444
 
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8445
 
      # Instead, we relocate shared libraries at runtime.
8446
 
      ;;
8447
 
 
8448
 
    msdosdjgpp*)
8449
 
      # Just because we use GCC doesn't mean we suddenly get shared libraries
8450
 
      # on systems that don't support them.
8451
 
      lt_prog_compiler_can_build_shared=no
8452
 
      enable_shared=no
8453
 
      ;;
8454
 
 
8455
 
    *nto* | *qnx*)
8456
 
      # QNX uses GNU C++, but need to define -shared option too, otherwise
8457
 
      # it will coredump.
8458
 
      lt_prog_compiler_pic='-fPIC -shared'
8459
 
      ;;
8460
 
 
8461
 
    sysv4*MP*)
8462
 
      if test -d /usr/nec; then
8463
 
        lt_prog_compiler_pic=-Kconform_pic
8464
 
      fi
8465
 
      ;;
8466
 
 
8467
 
    *)
8468
 
      lt_prog_compiler_pic='-fPIC'
8469
 
      ;;
8470
 
    esac
8471
 
  else
8472
 
    # PORTME Check for flag to pass linker flags through the system compiler.
8473
 
    case $host_os in
8474
 
    aix*)
8475
 
      lt_prog_compiler_wl='-Wl,'
8476
 
      if test "$host_cpu" = ia64; then
8477
 
        # AIX 5 now supports IA64 processor
8478
 
        lt_prog_compiler_static='-Bstatic'
8479
 
      else
8480
 
        lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8481
 
      fi
8482
 
      ;;
8483
 
 
8484
 
    mingw* | cygwin* | pw32* | os2* | cegcc*)
8485
 
      # This hack is so that the source file can tell whether it is being
8486
 
      # built for inclusion in a dll (and should export symbols for example).
8487
 
      lt_prog_compiler_pic='-DDLL_EXPORT'
8488
 
      ;;
8489
 
 
8490
 
    hpux9* | hpux10* | hpux11*)
8491
 
      lt_prog_compiler_wl='-Wl,'
8492
 
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8493
 
      # not for PA HP-UX.
8494
 
      case $host_cpu in
8495
 
      hppa*64*|ia64*)
8496
 
        # +Z the default
8497
 
        ;;
8498
 
      *)
8499
 
        lt_prog_compiler_pic='+Z'
8500
 
        ;;
8501
 
      esac
8502
 
      # Is there a better lt_prog_compiler_static that works with the bundled CC?
8503
 
      lt_prog_compiler_static='${wl}-a ${wl}archive'
8504
 
      ;;
8505
 
 
8506
 
    irix5* | irix6* | nonstopux*)
8507
 
      lt_prog_compiler_wl='-Wl,'
8508
 
      # PIC (with -KPIC) is the default.
8509
 
      lt_prog_compiler_static='-non_shared'
8510
 
      ;;
8511
 
 
8512
 
    linux* | k*bsd*-gnu | kopensolaris*-gnu)
8513
 
      case $cc_basename in
8514
 
      # old Intel for x86_64 which still supported -KPIC.
8515
 
      ecc*)
8516
 
        lt_prog_compiler_wl='-Wl,'
8517
 
        lt_prog_compiler_pic='-KPIC'
8518
 
        lt_prog_compiler_static='-static'
8519
 
        ;;
8520
 
      # icc used to be incompatible with GCC.
8521
 
      # ICC 10 doesn't accept -KPIC any more.
8522
 
      icc* | ifort*)
8523
 
        lt_prog_compiler_wl='-Wl,'
8524
 
        lt_prog_compiler_pic='-fPIC'
8525
 
        lt_prog_compiler_static='-static'
8526
 
        ;;
8527
 
      # Lahey Fortran 8.1.
8528
 
      lf95*)
8529
 
        lt_prog_compiler_wl='-Wl,'
8530
 
        lt_prog_compiler_pic='--shared'
8531
 
        lt_prog_compiler_static='--static'
8532
 
        ;;
8533
 
      pgcc* | pgf77* | pgf90* | pgf95*)
8534
 
        # Portland Group compilers (*not* the Pentium gcc compiler,
8535
 
        # which looks to be a dead project)
8536
 
        lt_prog_compiler_wl='-Wl,'
8537
 
        lt_prog_compiler_pic='-fpic'
8538
 
        lt_prog_compiler_static='-Bstatic'
8539
 
        ;;
8540
 
      ccc*)
8541
 
        lt_prog_compiler_wl='-Wl,'
8542
 
        # All Alpha code is PIC.
8543
 
        lt_prog_compiler_static='-non_shared'
8544
 
        ;;
8545
 
      xl*)
8546
 
        # IBM XL C 8.0/Fortran 10.1 on PPC
8547
 
        lt_prog_compiler_wl='-Wl,'
8548
 
        lt_prog_compiler_pic='-qpic'
8549
 
        lt_prog_compiler_static='-qstaticlink'
8550
 
        ;;
8551
 
      *)
8552
 
        case `$CC -V 2>&1 | sed 5q` in
8553
 
        *Sun\ C*)
8554
 
          # Sun C 5.9
8555
 
          lt_prog_compiler_pic='-KPIC'
8556
 
          lt_prog_compiler_static='-Bstatic'
8557
 
          lt_prog_compiler_wl='-Wl,'
8558
 
          ;;
8559
 
        *Sun\ F*)
8560
 
          # Sun Fortran 8.3 passes all unrecognized flags to the linker
8561
 
          lt_prog_compiler_pic='-KPIC'
8562
 
          lt_prog_compiler_static='-Bstatic'
8563
 
          lt_prog_compiler_wl=''
8564
 
          ;;
8565
 
        esac
8566
 
        ;;
8567
 
      esac
8568
 
      ;;
8569
 
 
8570
 
    newsos6)
8571
 
      lt_prog_compiler_pic='-KPIC'
8572
 
      lt_prog_compiler_static='-Bstatic'
8573
 
      ;;
8574
 
 
8575
 
    *nto* | *qnx*)
8576
 
      # QNX uses GNU C++, but need to define -shared option too, otherwise
8577
 
      # it will coredump.
8578
 
      lt_prog_compiler_pic='-fPIC -shared'
8579
 
      ;;
8580
 
 
8581
 
    osf3* | osf4* | osf5*)
8582
 
      lt_prog_compiler_wl='-Wl,'
8583
 
      # All OSF/1 code is PIC.
8584
 
      lt_prog_compiler_static='-non_shared'
8585
 
      ;;
8586
 
 
8587
 
    rdos*)
8588
 
      lt_prog_compiler_static='-non_shared'
8589
 
      ;;
8590
 
 
8591
 
    solaris*)
8592
 
      lt_prog_compiler_pic='-KPIC'
8593
 
      lt_prog_compiler_static='-Bstatic'
8594
 
      case $cc_basename in
8595
 
      f77* | f90* | f95*)
8596
 
        lt_prog_compiler_wl='-Qoption ld ';;
8597
 
      *)
8598
 
        lt_prog_compiler_wl='-Wl,';;
8599
 
      esac
8600
 
      ;;
8601
 
 
8602
 
    sunos4*)
8603
 
      lt_prog_compiler_wl='-Qoption ld '
8604
 
      lt_prog_compiler_pic='-PIC'
8605
 
      lt_prog_compiler_static='-Bstatic'
8606
 
      ;;
8607
 
 
8608
 
    sysv4 | sysv4.2uw2* | sysv4.3*)
8609
 
      lt_prog_compiler_wl='-Wl,'
8610
 
      lt_prog_compiler_pic='-KPIC'
8611
 
      lt_prog_compiler_static='-Bstatic'
8612
 
      ;;
8613
 
 
8614
 
    sysv4*MP*)
8615
 
      if test -d /usr/nec ;then
8616
 
        lt_prog_compiler_pic='-Kconform_pic'
8617
 
        lt_prog_compiler_static='-Bstatic'
8618
 
      fi
8619
 
      ;;
8620
 
 
8621
 
    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8622
 
      lt_prog_compiler_wl='-Wl,'
8623
 
      lt_prog_compiler_pic='-KPIC'
8624
 
      lt_prog_compiler_static='-Bstatic'
8625
 
      ;;
8626
 
 
8627
 
    unicos*)
8628
 
      lt_prog_compiler_wl='-Wl,'
8629
 
      lt_prog_compiler_can_build_shared=no
8630
 
      ;;
8631
 
 
8632
 
    uts4*)
8633
 
      lt_prog_compiler_pic='-pic'
8634
 
      lt_prog_compiler_static='-Bstatic'
8635
 
      ;;
8636
 
 
8637
 
    *)
8638
 
      lt_prog_compiler_can_build_shared=no
8639
 
      ;;
8640
 
    esac
8641
 
  fi
8642
 
 
8643
 
case $host_os in
8644
 
  # For platforms which do not support PIC, -DPIC is meaningless:
8645
 
  *djgpp*)
8646
 
    lt_prog_compiler_pic=
8647
 
    ;;
8648
 
  *)
8649
 
    lt_prog_compiler_pic="$lt_prog_compiler_pic@&t@ -DPIC"
8650
 
    ;;
8651
 
esac
8652
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8653
 
$as_echo "$lt_prog_compiler_pic" >&6; }
8654
 
 
8655
 
    
8656
 
    
8657
 
    
8658
 
 
8659
 
 
8660
 
#
8661
 
# Check to make sure the PIC flag actually works.
8662
 
#
8663
 
if test -n "$lt_prog_compiler_pic"; then
8664
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8665
 
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8666
 
if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
8667
 
  $as_echo_n "(cached) " >&6
8668
 
else
8669
 
  lt_cv_prog_compiler_pic_works=no
8670
 
   ac_outfile=conftest.$ac_objext
8671
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8672
 
   lt_compiler_flag="$lt_prog_compiler_pic@&t@ -DPIC"
8673
 
   # Insert the option either (1) after the last *FLAGS variable, or
8674
 
   # (2) before a word containing "conftest.", or (3) at the end.
8675
 
   # Note that $ac_compile itself does not contain backslashes and begins
8676
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
8677
 
   # The option is referenced via a variable to avoid confusing sed.
8678
 
   lt_compile=`echo "$ac_compile" | $SED \
8679
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8680
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8681
 
   -e 's:$: $lt_compiler_flag:'`
8682
 
   (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
8683
 
   (eval "$lt_compile" 2>conftest.err)
8684
 
   ac_status=$?
8685
 
   cat conftest.err >&5
8686
 
   echo "$as_me:__oline__: \$? = $ac_status" >&5
8687
 
   if (exit $ac_status) && test -s "$ac_outfile"; then
8688
 
     # The compiler can only warn and ignore the option if not recognized
8689
 
     # So say no if there are warnings other than the usual output.
8690
 
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
8691
 
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8692
 
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8693
 
       lt_cv_prog_compiler_pic_works=yes
8694
 
     fi
8695
 
   fi
8696
 
   $RM conftest*
8697
 
 
8698
 
fi
8699
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8700
 
$as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8701
 
 
8702
 
if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8703
 
    case $lt_prog_compiler_pic in
8704
 
     "" | " "*) ;;
8705
 
     *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8706
 
     esac
8707
 
else
8708
 
    lt_prog_compiler_pic=
8709
 
     lt_prog_compiler_can_build_shared=no
8710
 
fi
8711
 
 
8712
 
fi
8713
 
 
8714
 
    
8715
 
    
8716
 
    
8717
 
 
8718
 
 
8719
 
#
8720
 
# Check to make sure the static flag actually works.
8721
 
#
8722
 
wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8723
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8724
 
$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8725
 
if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
8726
 
  $as_echo_n "(cached) " >&6
8727
 
else
8728
 
  lt_cv_prog_compiler_static_works=no
8729
 
   save_LDFLAGS="$LDFLAGS"
8730
 
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8731
 
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
8732
 
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8733
 
     # The linker can only warn and ignore the option if not recognized
8734
 
     # So say no if there are warnings
8735
 
     if test -s conftest.err; then
8736
 
       # Append any errors to the config.log.
8737
 
       cat conftest.err 1>&5
8738
 
       $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
8739
 
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8740
 
       if diff conftest.exp conftest.er2 >/dev/null; then
8741
 
         lt_cv_prog_compiler_static_works=yes
8742
 
       fi
8743
 
     else
8744
 
       lt_cv_prog_compiler_static_works=yes
8745
 
     fi
8746
 
   fi
8747
 
   $RM -r conftest*
8748
 
   LDFLAGS="$save_LDFLAGS"
8749
 
 
8750
 
fi
8751
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8752
 
$as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8753
 
 
8754
 
if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8755
 
    :
8756
 
else
8757
 
    lt_prog_compiler_static=
8758
 
fi
8759
 
 
8760
 
 
8761
 
    
8762
 
    
8763
 
    
8764
 
 
8765
 
 
8766
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8767
 
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8768
 
if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8769
 
  $as_echo_n "(cached) " >&6
8770
 
else
8771
 
  lt_cv_prog_compiler_c_o=no
8772
 
   $RM -r conftest 2>/dev/null
8773
 
   mkdir conftest
8774
 
   cd conftest
8775
 
   mkdir out
8776
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8777
 
 
8778
 
   lt_compiler_flag="-o out/conftest2.$ac_objext"
8779
 
   # Insert the option either (1) after the last *FLAGS variable, or
8780
 
   # (2) before a word containing "conftest.", or (3) at the end.
8781
 
   # Note that $ac_compile itself does not contain backslashes and begins
8782
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
8783
 
   lt_compile=`echo "$ac_compile" | $SED \
8784
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8785
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8786
 
   -e 's:$: $lt_compiler_flag:'`
8787
 
   (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
8788
 
   (eval "$lt_compile" 2>out/conftest.err)
8789
 
   ac_status=$?
8790
 
   cat out/conftest.err >&5
8791
 
   echo "$as_me:__oline__: \$? = $ac_status" >&5
8792
 
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
8793
 
   then
8794
 
     # The compiler can only warn and ignore the option if not recognized
8795
 
     # So say no if there are warnings
8796
 
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
8797
 
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8798
 
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8799
 
       lt_cv_prog_compiler_c_o=yes
8800
 
     fi
8801
 
   fi
8802
 
   chmod u+w . 2>&5
8803
 
   $RM conftest*
8804
 
   # SGI C++ compiler will create directory out/ii_files/ for
8805
 
   # template instantiation
8806
 
   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8807
 
   $RM out/* && rmdir out
8808
 
   cd ..
8809
 
   $RM -r conftest
8810
 
   $RM conftest*
8811
 
 
8812
 
fi
8813
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8814
 
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8815
 
 
8816
 
    
8817
 
    
8818
 
    
8819
 
 
8820
 
 
8821
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8822
 
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8823
 
if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8824
 
  $as_echo_n "(cached) " >&6
8825
 
else
8826
 
  lt_cv_prog_compiler_c_o=no
8827
 
   $RM -r conftest 2>/dev/null
8828
 
   mkdir conftest
8829
 
   cd conftest
8830
 
   mkdir out
8831
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8832
 
 
8833
 
   lt_compiler_flag="-o out/conftest2.$ac_objext"
8834
 
   # Insert the option either (1) after the last *FLAGS variable, or
8835
 
   # (2) before a word containing "conftest.", or (3) at the end.
8836
 
   # Note that $ac_compile itself does not contain backslashes and begins
8837
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
8838
 
   lt_compile=`echo "$ac_compile" | $SED \
8839
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8840
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8841
 
   -e 's:$: $lt_compiler_flag:'`
8842
 
   (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
8843
 
   (eval "$lt_compile" 2>out/conftest.err)
8844
 
   ac_status=$?
8845
 
   cat out/conftest.err >&5
8846
 
   echo "$as_me:__oline__: \$? = $ac_status" >&5
8847
 
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
8848
 
   then
8849
 
     # The compiler can only warn and ignore the option if not recognized
8850
 
     # So say no if there are warnings
8851
 
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
8852
 
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8853
 
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8854
 
       lt_cv_prog_compiler_c_o=yes
8855
 
     fi
8856
 
   fi
8857
 
   chmod u+w . 2>&5
8858
 
   $RM conftest*
8859
 
   # SGI C++ compiler will create directory out/ii_files/ for
8860
 
   # template instantiation
8861
 
   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8862
 
   $RM out/* && rmdir out
8863
 
   cd ..
8864
 
   $RM -r conftest
8865
 
   $RM conftest*
8866
 
 
8867
 
fi
8868
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8869
 
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8870
 
 
8871
 
 
8872
 
 
8873
 
 
8874
 
hard_links="nottested"
8875
 
if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8876
 
  # do not overwrite the value of need_locks provided by the user
8877
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8878
 
$as_echo_n "checking if we can lock with hard links... " >&6; }
8879
 
  hard_links=yes
8880
 
  $RM conftest*
8881
 
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
8882
 
  touch conftest.a
8883
 
  ln conftest.a conftest.b 2>&5 || hard_links=no
8884
 
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
8885
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8886
 
$as_echo "$hard_links" >&6; }
8887
 
  if test "$hard_links" = no; then
8888
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8889
 
$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8890
 
    need_locks=warn
8891
 
  fi
8892
 
else
8893
 
  need_locks=no
8894
 
fi
8895
 
 
8896
 
    
8897
 
    
8898
 
    
8899
 
 
8900
 
 
8901
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8902
 
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8903
 
 
8904
 
  runpath_var=
8905
 
  allow_undefined_flag=
8906
 
  always_export_symbols=no
8907
 
  archive_cmds=
8908
 
  archive_expsym_cmds=
8909
 
  compiler_needs_object=no
8910
 
  enable_shared_with_static_runtimes=no
8911
 
  export_dynamic_flag_spec=
8912
 
  export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8913
 
  hardcode_automatic=no
8914
 
  hardcode_direct=no
8915
 
  hardcode_direct_absolute=no
8916
 
  hardcode_libdir_flag_spec=
8917
 
  hardcode_libdir_flag_spec_ld=
8918
 
  hardcode_libdir_separator=
8919
 
  hardcode_minus_L=no
8920
 
  hardcode_shlibpath_var=unsupported
8921
 
  inherit_rpath=no
8922
 
  link_all_deplibs=unknown
8923
 
  module_cmds=
8924
 
  module_expsym_cmds=
8925
 
  old_archive_from_new_cmds=
8926
 
  old_archive_from_expsyms_cmds=
8927
 
  thread_safe_flag_spec=
8928
 
  whole_archive_flag_spec=
8929
 
  # include_expsyms should be a list of space-separated symbols to be *always*
8930
 
  # included in the symbol list
8931
 
  include_expsyms=
8932
 
  # exclude_expsyms can be an extended regexp of symbols to exclude
8933
 
  # it will be wrapped by ` (' and `)$', so one must not match beginning or
8934
 
  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8935
 
  # as well as any symbol that contains `d'.
8936
 
  exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8937
 
  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8938
 
  # platforms (ab)use it in PIC code, but their linkers get confused if
8939
 
  # the symbol is explicitly referenced.  Since portable code cannot
8940
 
  # rely on this symbol name, it's probably fine to never include it in
8941
 
  # preloaded symbol tables.
8942
 
  # Exclude shared library initialization/finalization symbols.
8943
 
  extract_expsyms_cmds=
8944
 
 
8945
 
  case $host_os in
8946
 
  cygwin* | mingw* | pw32* | cegcc*)
8947
 
    # FIXME: the MSVC++ port hasn't been tested in a loooong time
8948
 
    # When not using gcc, we currently assume that we are using
8949
 
    # Microsoft Visual C++.
8950
 
    if test "$GCC" != yes; then
8951
 
      with_gnu_ld=no
8952
 
    fi
8953
 
    ;;
8954
 
  interix*)
8955
 
    # we just hope/assume this is gcc and not c89 (= MSVC++)
8956
 
    with_gnu_ld=yes
8957
 
    ;;
8958
 
  openbsd*)
8959
 
    with_gnu_ld=no
8960
 
    ;;
8961
 
  linux* | k*bsd*-gnu)
8962
 
    link_all_deplibs=no
8963
 
    ;;
8964
 
  esac
8965
 
 
8966
 
  ld_shlibs=yes
8967
 
  if test "$with_gnu_ld" = yes; then
8968
 
    # If archive_cmds runs LD, not CC, wlarc should be empty
8969
 
    wlarc='${wl}'
8970
 
 
8971
 
    # Set some defaults for GNU ld with shared library support. These
8972
 
    # are reset later if shared libraries are not supported. Putting them
8973
 
    # here allows them to be overridden if necessary.
8974
 
    runpath_var=LD_RUN_PATH
8975
 
    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8976
 
    export_dynamic_flag_spec='${wl}--export-dynamic'
8977
 
    # ancient GNU ld didn't support --whole-archive et. al.
8978
 
    if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
8979
 
      whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8980
 
    else
8981
 
      whole_archive_flag_spec=
8982
 
    fi
8983
 
    supports_anon_versioning=no
8984
 
    case `$LD -v 2>&1` in
8985
 
      *GNU\ gold*) supports_anon_versioning=yes ;;
8986
 
      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8987
 
      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8988
 
      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8989
 
      *\ 2.11.*) ;; # other 2.11 versions
8990
 
      *) supports_anon_versioning=yes ;;
8991
 
    esac
8992
 
 
8993
 
    # See if GNU ld supports shared libraries.
8994
 
    case $host_os in
8995
 
    aix[3-9]*)
8996
 
      # On AIX/PPC, the GNU linker is very broken
8997
 
      if test "$host_cpu" != ia64; then
8998
 
        ld_shlibs=no
8999
 
        cat <<_LT_EOF 1>&2
9000
 
 
9001
 
*** Warning: the GNU linker, at least up to release 2.9.1, is reported
9002
 
*** to be unable to reliably create shared libraries on AIX.
9003
 
*** Therefore, libtool is disabling shared libraries support.  If you
9004
 
*** really care for shared libraries, you may want to modify your PATH
9005
 
*** so that a non-GNU linker is found, and then restart.
9006
 
 
9007
 
_LT_EOF
9008
 
      fi
9009
 
      ;;
9010
 
 
9011
 
    amigaos*)
9012
 
      case $host_cpu in
9013
 
      powerpc)
9014
 
            # see comment about AmigaOS4 .so support
9015
 
            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9016
 
            archive_expsym_cmds=''
9017
 
        ;;
9018
 
      m68k)
9019
 
            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)'
9020
 
            hardcode_libdir_flag_spec='-L$libdir'
9021
 
            hardcode_minus_L=yes
9022
 
        ;;
9023
 
      esac
9024
 
      ;;
9025
 
 
9026
 
    beos*)
9027
 
      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9028
 
        allow_undefined_flag=unsupported
9029
 
        # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9030
 
        # support --undefined.  This deserves some investigation.  FIXME
9031
 
        archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9032
 
      else
9033
 
        ld_shlibs=no
9034
 
      fi
9035
 
      ;;
9036
 
 
9037
 
    cygwin* | mingw* | pw32* | cegcc*)
9038
 
      # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9039
 
      # as there is no search path for DLLs.
9040
 
      hardcode_libdir_flag_spec='-L$libdir'
9041
 
      allow_undefined_flag=unsupported
9042
 
      always_export_symbols=no
9043
 
      enable_shared_with_static_runtimes=yes
9044
 
      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9045
 
 
9046
 
      if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9047
 
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9048
 
        # If the export-symbols file already is a .def file (1st line
9049
 
        # is EXPORTS), use it as is; otherwise, prepend...
9050
 
        archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9051
 
          cp $export_symbols $output_objdir/$soname.def;
9052
 
        else
9053
 
          echo EXPORTS > $output_objdir/$soname.def;
9054
 
          cat $export_symbols >> $output_objdir/$soname.def;
9055
 
        fi~
9056
 
        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9057
 
      else
9058
 
        ld_shlibs=no
9059
 
      fi
9060
 
      ;;
9061
 
 
9062
 
    interix[3-9]*)
9063
 
      hardcode_direct=no
9064
 
      hardcode_shlibpath_var=no
9065
 
      hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9066
 
      export_dynamic_flag_spec='${wl}-E'
9067
 
      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9068
 
      # Instead, shared libraries are loaded at an image base (0x10000000 by
9069
 
      # default) and relocated if they conflict, which is a slow very memory
9070
 
      # consuming and fragmenting process.  To avoid this, we pick a random,
9071
 
      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9072
 
      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
9073
 
      archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9074
 
      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'
9075
 
      ;;
9076
 
 
9077
 
    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9078
 
      tmp_diet=no
9079
 
      if test "$host_os" = linux-dietlibc; then
9080
 
        case $cc_basename in
9081
 
          diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
9082
 
        esac
9083
 
      fi
9084
 
      if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9085
 
         && test "$tmp_diet" = no
9086
 
      then
9087
 
        tmp_addflag=
9088
 
        tmp_sharedflag='-shared'
9089
 
        case $cc_basename,$host_cpu in
9090
 
        pgcc*)                          # Portland Group C compiler
9091
 
          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'
9092
 
          tmp_addflag=' $pic_flag'
9093
 
          ;;
9094
 
        pgf77* | pgf90* | pgf95*)       # Portland Group f77 and f90 compilers
9095
 
          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'
9096
 
          tmp_addflag=' $pic_flag -Mnomain' ;;
9097
 
        ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
9098
 
          tmp_addflag=' -i_dynamic' ;;
9099
 
        efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
9100
 
          tmp_addflag=' -i_dynamic -nofor_main' ;;
9101
 
        ifc* | ifort*)                  # Intel Fortran compiler
9102
 
          tmp_addflag=' -nofor_main' ;;
9103
 
        lf95*)                          # Lahey Fortran 8.1
9104
 
          whole_archive_flag_spec=
9105
 
          tmp_sharedflag='--shared' ;;
9106
 
        xl[cC]*)                        # IBM XL C 8.0 on PPC (deal with xlf below)
9107
 
          tmp_sharedflag='-qmkshrobj'
9108
 
          tmp_addflag= ;;
9109
 
        esac
9110
 
        case `$CC -V 2>&1 | sed 5q` in
9111
 
        *Sun\ C*)                       # Sun C 5.9
9112
 
          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'
9113
 
          compiler_needs_object=yes
9114
 
          tmp_sharedflag='-G' ;;
9115
 
        *Sun\ F*)                       # Sun Fortran 8.3
9116
 
          tmp_sharedflag='-G' ;;
9117
 
        esac
9118
 
        archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9119
 
 
9120
 
        if test "x$supports_anon_versioning" = xyes; then
9121
 
          archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9122
 
            cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9123
 
            echo "local: *; };" >> $output_objdir/$libname.ver~
9124
 
            $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9125
 
        fi
9126
 
 
9127
 
        case $cc_basename in
9128
 
        xlf*)
9129
 
          # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9130
 
          whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9131
 
          hardcode_libdir_flag_spec=
9132
 
          hardcode_libdir_flag_spec_ld='-rpath $libdir'
9133
 
          archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9134
 
          if test "x$supports_anon_versioning" = xyes; then
9135
 
            archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9136
 
              cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9137
 
              echo "local: *; };" >> $output_objdir/$libname.ver~
9138
 
              $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9139
 
          fi
9140
 
          ;;
9141
 
        esac
9142
 
      else
9143
 
        ld_shlibs=no
9144
 
      fi
9145
 
      ;;
9146
 
 
9147
 
    netbsd* | netbsdelf*-gnu)
9148
 
      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9149
 
        archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9150
 
        wlarc=
9151
 
      else
9152
 
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9153
 
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9154
 
      fi
9155
 
      ;;
9156
 
 
9157
 
    solaris*)
9158
 
      if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9159
 
        ld_shlibs=no
9160
 
        cat <<_LT_EOF 1>&2
9161
 
 
9162
 
*** Warning: The releases 2.8.* of the GNU linker cannot reliably
9163
 
*** create shared libraries on Solaris systems.  Therefore, libtool
9164
 
*** is disabling shared libraries support.  We urge you to upgrade GNU
9165
 
*** binutils to release 2.9.1 or newer.  Another option is to modify
9166
 
*** your PATH or compiler configuration so that the native linker is
9167
 
*** used, and then restart.
9168
 
 
9169
 
_LT_EOF
9170
 
      elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9171
 
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9172
 
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9173
 
      else
9174
 
        ld_shlibs=no
9175
 
      fi
9176
 
      ;;
9177
 
 
9178
 
    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9179
 
      case `$LD -v 2>&1` in
9180
 
        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9181
 
        ld_shlibs=no
9182
 
        cat <<_LT_EOF 1>&2
9183
 
 
9184
 
*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9185
 
*** reliably create shared libraries on SCO systems.  Therefore, libtool
9186
 
*** is disabling shared libraries support.  We urge you to upgrade GNU
9187
 
*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
9188
 
*** your PATH or compiler configuration so that the native linker is
9189
 
*** used, and then restart.
9190
 
 
9191
 
_LT_EOF
9192
 
        ;;
9193
 
        *)
9194
 
          # For security reasons, it is highly recommended that you always
9195
 
          # use absolute paths for naming shared libraries, and exclude the
9196
 
          # DT_RUNPATH tag from executables and libraries.  But doing so
9197
 
          # requires that you compile everything twice, which is a pain.
9198
 
          if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9199
 
            hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9200
 
            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9201
 
            archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9202
 
          else
9203
 
            ld_shlibs=no
9204
 
          fi
9205
 
        ;;
9206
 
      esac
9207
 
      ;;
9208
 
 
9209
 
    sunos4*)
9210
 
      archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9211
 
      wlarc=
9212
 
      hardcode_direct=yes
9213
 
      hardcode_shlibpath_var=no
9214
 
      ;;
9215
 
 
9216
 
    *)
9217
 
      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9218
 
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9219
 
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9220
 
      else
9221
 
        ld_shlibs=no
9222
 
      fi
9223
 
      ;;
9224
 
    esac
9225
 
 
9226
 
    if test "$ld_shlibs" = no; then
9227
 
      runpath_var=
9228
 
      hardcode_libdir_flag_spec=
9229
 
      export_dynamic_flag_spec=
9230
 
      whole_archive_flag_spec=
9231
 
    fi
9232
 
  else
9233
 
    # PORTME fill in a description of your system's linker (not GNU ld)
9234
 
    case $host_os in
9235
 
    aix3*)
9236
 
      allow_undefined_flag=unsupported
9237
 
      always_export_symbols=yes
9238
 
      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'
9239
 
      # Note: this linker hardcodes the directories in LIBPATH if there
9240
 
      # are no directories specified by -L.
9241
 
      hardcode_minus_L=yes
9242
 
      if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9243
 
        # Neither direct hardcoding nor static linking is supported with a
9244
 
        # broken collect2.
9245
 
        hardcode_direct=unsupported
9246
 
      fi
9247
 
      ;;
9248
 
 
9249
 
    aix[4-9]*)
9250
 
      if test "$host_cpu" = ia64; then
9251
 
        # On IA64, the linker does run time linking by default, so we don't
9252
 
        # have to do anything special.
9253
 
        aix_use_runtimelinking=no
9254
 
        exp_sym_flag='-Bexport'
9255
 
        no_entry_flag=""
9256
 
      else
9257
 
        # If we're using GNU nm, then we don't want the "-C" option.
9258
 
        # -C means demangle to AIX nm, but means don't demangle with GNU nm
9259
 
        if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9260
 
          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'
9261
 
        else
9262
 
          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'
9263
 
        fi
9264
 
        aix_use_runtimelinking=no
9265
 
 
9266
 
        # Test if we are trying to use run time linking or normal
9267
 
        # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9268
 
        # need to do runtime linking.
9269
 
        case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9270
 
          for ld_flag in $LDFLAGS; do
9271
 
          if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9272
 
            aix_use_runtimelinking=yes
9273
 
            break
9274
 
          fi
9275
 
          done
9276
 
          ;;
9277
 
        esac
9278
 
 
9279
 
        exp_sym_flag='-bexport'
9280
 
        no_entry_flag='-bnoentry'
9281
 
      fi
9282
 
 
9283
 
      # When large executables or shared objects are built, AIX ld can
9284
 
      # have problems creating the table of contents.  If linking a library
9285
 
      # or program results in "error TOC overflow" add -mminimal-toc to
9286
 
      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
9287
 
      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9288
 
 
9289
 
      archive_cmds=''
9290
 
      hardcode_direct=yes
9291
 
      hardcode_direct_absolute=yes
9292
 
      hardcode_libdir_separator=':'
9293
 
      link_all_deplibs=yes
9294
 
      file_list_spec='${wl}-f,'
9295
 
 
9296
 
      if test "$GCC" = yes; then
9297
 
        case $host_os in aix4.[012]|aix4.[012].*)
9298
 
        # We only want to do this on AIX 4.2 and lower, the check
9299
 
        # below for broken collect2 doesn't work under 4.3+
9300
 
          collect2name=`${CC} -print-prog-name=collect2`
9301
 
          if test -f "$collect2name" &&
9302
 
           strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9303
 
          then
9304
 
          # We have reworked collect2
9305
 
          :
9306
 
          else
9307
 
          # We have old collect2
9308
 
          hardcode_direct=unsupported
9309
 
          # It fails to find uninstalled libraries when the uninstalled
9310
 
          # path is not listed in the libpath.  Setting hardcode_minus_L
9311
 
          # to unsupported forces relinking
9312
 
          hardcode_minus_L=yes
9313
 
          hardcode_libdir_flag_spec='-L$libdir'
9314
 
          hardcode_libdir_separator=
9315
 
          fi
9316
 
          ;;
9317
 
        esac
9318
 
        shared_flag='-shared'
9319
 
        if test "$aix_use_runtimelinking" = yes; then
9320
 
          shared_flag="$shared_flag "'${wl}-G'
9321
 
        fi
9322
 
        link_all_deplibs=no
9323
 
      else
9324
 
        # not using gcc
9325
 
        if test "$host_cpu" = ia64; then
9326
 
        # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9327
 
        # chokes on -Wl,-G. The following line is correct:
9328
 
          shared_flag='-G'
9329
 
        else
9330
 
          if test "$aix_use_runtimelinking" = yes; then
9331
 
            shared_flag='${wl}-G'
9332
 
          else
9333
 
            shared_flag='${wl}-bM:SRE'
9334
 
          fi
9335
 
        fi
9336
 
      fi
9337
 
 
9338
 
      export_dynamic_flag_spec='${wl}-bexpall'
9339
 
      # It seems that -bexpall does not export symbols beginning with
9340
 
      # underscore (_), so it is better to generate a list of symbols to export.
9341
 
      always_export_symbols=yes
9342
 
      if test "$aix_use_runtimelinking" = yes; then
9343
 
        # Warning - without using the other runtime loading flags (-brtl),
9344
 
        # -berok will link without error, but may produce a broken library.
9345
 
        allow_undefined_flag='-berok'
9346
 
        # Determine the default libpath from the value encoded in an
9347
 
        # empty executable.
9348
 
        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9349
 
/* end confdefs.h.  */
9350
 
 
9351
 
int
9352
 
main ()
9353
 
{
9354
 
 
9355
 
  ;
9356
 
  return 0;
9357
 
}
9358
 
_ACEOF
9359
 
if ac_fn_c_try_link "$LINENO"; then :
9360
 
  
9361
 
lt_aix_libpath_sed='
9362
 
    /Import File Strings/,/^$/ {
9363
 
        /^0/ {
9364
 
            s/^0  *\(.*\)$/\1/
9365
 
            p
9366
 
        }
9367
 
    }'
9368
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9369
 
# Check for a 64-bit object if we didn't find anything.
9370
 
if test -z "$aix_libpath"; then
9371
 
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9372
 
fi
9373
 
fi
9374
 
rm -f core conftest.err conftest.$ac_objext \
9375
 
    conftest$ac_exeext conftest.$ac_ext
9376
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9377
 
 
9378
 
        hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9379
 
        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"
9380
 
      else
9381
 
        if test "$host_cpu" = ia64; then
9382
 
          hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9383
 
          allow_undefined_flag="-z nodefs"
9384
 
          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"
9385
 
        else
9386
 
         # Determine the default libpath from the value encoded in an
9387
 
         # empty executable.
9388
 
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9389
 
/* end confdefs.h.  */
9390
 
 
9391
 
int
9392
 
main ()
9393
 
{
9394
 
 
9395
 
  ;
9396
 
  return 0;
9397
 
}
9398
 
_ACEOF
9399
 
if ac_fn_c_try_link "$LINENO"; then :
9400
 
  
9401
 
lt_aix_libpath_sed='
9402
 
    /Import File Strings/,/^$/ {
9403
 
        /^0/ {
9404
 
            s/^0  *\(.*\)$/\1/
9405
 
            p
9406
 
        }
9407
 
    }'
9408
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9409
 
# Check for a 64-bit object if we didn't find anything.
9410
 
if test -z "$aix_libpath"; then
9411
 
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9412
 
fi
9413
 
fi
9414
 
rm -f core conftest.err conftest.$ac_objext \
9415
 
    conftest$ac_exeext conftest.$ac_ext
9416
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9417
 
 
9418
 
         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9419
 
          # Warning - without using the other run time loading flags,
9420
 
          # -berok will link without error, but may produce a broken library.
9421
 
          no_undefined_flag=' ${wl}-bernotok'
9422
 
          allow_undefined_flag=' ${wl}-berok'
9423
 
          # Exported symbols can be pulled into shared objects from archives
9424
 
          whole_archive_flag_spec='$convenience'
9425
 
          archive_cmds_need_lc=yes
9426
 
          # This is similar to how AIX traditionally builds its shared libraries.
9427
 
          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'
9428
 
        fi
9429
 
      fi
9430
 
      ;;
9431
 
 
9432
 
    amigaos*)
9433
 
      case $host_cpu in
9434
 
      powerpc)
9435
 
            # see comment about AmigaOS4 .so support
9436
 
            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9437
 
            archive_expsym_cmds=''
9438
 
        ;;
9439
 
      m68k)
9440
 
            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)'
9441
 
            hardcode_libdir_flag_spec='-L$libdir'
9442
 
            hardcode_minus_L=yes
9443
 
        ;;
9444
 
      esac
9445
 
      ;;
9446
 
 
9447
 
    bsdi[45]*)
9448
 
      export_dynamic_flag_spec=-rdynamic
9449
 
      ;;
9450
 
 
9451
 
    cygwin* | mingw* | pw32* | cegcc*)
9452
 
      # When not using gcc, we currently assume that we are using
9453
 
      # Microsoft Visual C++.
9454
 
      # hardcode_libdir_flag_spec is actually meaningless, as there is
9455
 
      # no search path for DLLs.
9456
 
      hardcode_libdir_flag_spec=' '
9457
 
      allow_undefined_flag=unsupported
9458
 
      # Tell ltmain to make .lib files, not .a files.
9459
 
      libext=lib
9460
 
      # Tell ltmain to make .dll files, not .so files.
9461
 
      shrext_cmds=".dll"
9462
 
      # FIXME: Setting linknames here is a bad hack.
9463
 
      archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
9464
 
      # The linker will automatically build a .lib file if we build a DLL.
9465
 
      old_archive_from_new_cmds='true'
9466
 
      # FIXME: Should let the user specify the lib program.
9467
 
      old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9468
 
      fix_srcfile_path='`cygpath -w "$srcfile"`'
9469
 
      enable_shared_with_static_runtimes=yes
9470
 
      ;;
9471
 
 
9472
 
    darwin* | rhapsody*)
9473
 
      
9474
 
  
9475
 
  archive_cmds_need_lc=no
9476
 
  hardcode_direct=no
9477
 
  hardcode_automatic=yes
9478
 
  hardcode_shlibpath_var=unsupported
9479
 
  whole_archive_flag_spec=''
9480
 
  link_all_deplibs=yes
9481
 
  allow_undefined_flag="$_lt_dar_allow_undefined"
9482
 
  case $cc_basename in
9483
 
     ifort*) _lt_dar_can_shared=yes ;;
9484
 
     *) _lt_dar_can_shared=$GCC ;;
9485
 
  esac
9486
 
  if test "$_lt_dar_can_shared" = "yes"; then
9487
 
    output_verbose_link_cmd=echo
9488
 
    archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9489
 
    module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9490
 
    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}"
9491
 
    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}"
9492
 
    
9493
 
  else
9494
 
  ld_shlibs=no
9495
 
  fi
9496
 
 
9497
 
      ;;
9498
 
 
9499
 
    dgux*)
9500
 
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9501
 
      hardcode_libdir_flag_spec='-L$libdir'
9502
 
      hardcode_shlibpath_var=no
9503
 
      ;;
9504
 
 
9505
 
    freebsd1*)
9506
 
      ld_shlibs=no
9507
 
      ;;
9508
 
 
9509
 
    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9510
 
    # support.  Future versions do this automatically, but an explicit c++rt0.o
9511
 
    # does not break anything, and helps significantly (at the cost of a little
9512
 
    # extra space).
9513
 
    freebsd2.2*)
9514
 
      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9515
 
      hardcode_libdir_flag_spec='-R$libdir'
9516
 
      hardcode_direct=yes
9517
 
      hardcode_shlibpath_var=no
9518
 
      ;;
9519
 
 
9520
 
    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9521
 
    freebsd2*)
9522
 
      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9523
 
      hardcode_direct=yes
9524
 
      hardcode_minus_L=yes
9525
 
      hardcode_shlibpath_var=no
9526
 
      ;;
9527
 
 
9528
 
    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9529
 
    freebsd* | dragonfly*)
9530
 
      archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9531
 
      hardcode_libdir_flag_spec='-R$libdir'
9532
 
      hardcode_direct=yes
9533
 
      hardcode_shlibpath_var=no
9534
 
      ;;
9535
 
 
9536
 
    hpux9*)
9537
 
      if test "$GCC" = yes; then
9538
 
        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'
9539
 
      else
9540
 
        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'
9541
 
      fi
9542
 
      hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9543
 
      hardcode_libdir_separator=:
9544
 
      hardcode_direct=yes
9545
 
 
9546
 
      # hardcode_minus_L: Not really in the search PATH,
9547
 
      # but as the default location of the library.
9548
 
      hardcode_minus_L=yes
9549
 
      export_dynamic_flag_spec='${wl}-E'
9550
 
      ;;
9551
 
 
9552
 
    hpux10*)
9553
 
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
9554
 
        archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9555
 
      else
9556
 
        archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9557
 
      fi
9558
 
      if test "$with_gnu_ld" = no; then
9559
 
        hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9560
 
        hardcode_libdir_flag_spec_ld='+b $libdir'
9561
 
        hardcode_libdir_separator=:
9562
 
        hardcode_direct=yes
9563
 
        hardcode_direct_absolute=yes
9564
 
        export_dynamic_flag_spec='${wl}-E'
9565
 
        # hardcode_minus_L: Not really in the search PATH,
9566
 
        # but as the default location of the library.
9567
 
        hardcode_minus_L=yes
9568
 
      fi
9569
 
      ;;
9570
 
 
9571
 
    hpux11*)
9572
 
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
9573
 
        case $host_cpu in
9574
 
        hppa*64*)
9575
 
          archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9576
 
          ;;
9577
 
        ia64*)
9578
 
          archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9579
 
          ;;
9580
 
        *)
9581
 
          archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9582
 
          ;;
9583
 
        esac
9584
 
      else
9585
 
        case $host_cpu in
9586
 
        hppa*64*)
9587
 
          archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9588
 
          ;;
9589
 
        ia64*)
9590
 
          archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9591
 
          ;;
9592
 
        *)
9593
 
          archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9594
 
          ;;
9595
 
        esac
9596
 
      fi
9597
 
      if test "$with_gnu_ld" = no; then
9598
 
        hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9599
 
        hardcode_libdir_separator=:
9600
 
 
9601
 
        case $host_cpu in
9602
 
        hppa*64*|ia64*)
9603
 
          hardcode_direct=no
9604
 
          hardcode_shlibpath_var=no
9605
 
          ;;
9606
 
        *)
9607
 
          hardcode_direct=yes
9608
 
          hardcode_direct_absolute=yes
9609
 
          export_dynamic_flag_spec='${wl}-E'
9610
 
 
9611
 
          # hardcode_minus_L: Not really in the search PATH,
9612
 
          # but as the default location of the library.
9613
 
          hardcode_minus_L=yes
9614
 
          ;;
9615
 
        esac
9616
 
      fi
9617
 
      ;;
9618
 
 
9619
 
    irix5* | irix6* | nonstopux*)
9620
 
      if test "$GCC" = yes; then
9621
 
        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'
9622
 
        # Try to use the -exported_symbol ld option, if it does not
9623
 
        # work, assume that -exports_file does not work either and
9624
 
        # implicitly export all symbols.
9625
 
        save_LDFLAGS="$LDFLAGS"
9626
 
        LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9627
 
        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9628
 
/* end confdefs.h.  */
9629
 
int foo(void) {}
9630
 
_ACEOF
9631
 
if ac_fn_c_try_link "$LINENO"; then :
9632
 
  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'
9633
 
        
9634
 
fi
9635
 
rm -f core conftest.err conftest.$ac_objext \
9636
 
    conftest$ac_exeext conftest.$ac_ext
9637
 
        LDFLAGS="$save_LDFLAGS"
9638
 
      else
9639
 
        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'
9640
 
        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'
9641
 
      fi
9642
 
      archive_cmds_need_lc='no'
9643
 
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9644
 
      hardcode_libdir_separator=:
9645
 
      inherit_rpath=yes
9646
 
      link_all_deplibs=yes
9647
 
      ;;
9648
 
 
9649
 
    netbsd* | netbsdelf*-gnu)
9650
 
      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9651
 
        archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
9652
 
      else
9653
 
        archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
9654
 
      fi
9655
 
      hardcode_libdir_flag_spec='-R$libdir'
9656
 
      hardcode_direct=yes
9657
 
      hardcode_shlibpath_var=no
9658
 
      ;;
9659
 
 
9660
 
    newsos6)
9661
 
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9662
 
      hardcode_direct=yes
9663
 
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9664
 
      hardcode_libdir_separator=:
9665
 
      hardcode_shlibpath_var=no
9666
 
      ;;
9667
 
 
9668
 
    *nto* | *qnx*)
9669
 
      ;;
9670
 
 
9671
 
    openbsd*)
9672
 
      if test -f /usr/libexec/ld.so; then
9673
 
        hardcode_direct=yes
9674
 
        hardcode_shlibpath_var=no
9675
 
        hardcode_direct_absolute=yes
9676
 
        if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9677
 
          archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9678
 
          archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9679
 
          hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9680
 
          export_dynamic_flag_spec='${wl}-E'
9681
 
        else
9682
 
          case $host_os in
9683
 
           openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9684
 
             archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9685
 
             hardcode_libdir_flag_spec='-R$libdir'
9686
 
             ;;
9687
 
           *)
9688
 
             archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9689
 
             hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9690
 
             ;;
9691
 
          esac
9692
 
        fi
9693
 
      else
9694
 
        ld_shlibs=no
9695
 
      fi
9696
 
      ;;
9697
 
 
9698
 
    os2*)
9699
 
      hardcode_libdir_flag_spec='-L$libdir'
9700
 
      hardcode_minus_L=yes
9701
 
      allow_undefined_flag=unsupported
9702
 
      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'
9703
 
      old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9704
 
      ;;
9705
 
 
9706
 
    osf3*)
9707
 
      if test "$GCC" = yes; then
9708
 
        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9709
 
        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'
9710
 
      else
9711
 
        allow_undefined_flag=' -expect_unresolved \*'
9712
 
        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'
9713
 
      fi
9714
 
      archive_cmds_need_lc='no'
9715
 
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9716
 
      hardcode_libdir_separator=:
9717
 
      ;;
9718
 
 
9719
 
    osf4* | osf5*)      # as osf3* with the addition of -msym flag
9720
 
      if test "$GCC" = yes; then
9721
 
        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9722
 
        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'
9723
 
        hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9724
 
      else
9725
 
        allow_undefined_flag=' -expect_unresolved \*'
9726
 
        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'
9727
 
        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~
9728
 
        $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'
9729
 
 
9730
 
        # Both c and cxx compiler support -rpath directly
9731
 
        hardcode_libdir_flag_spec='-rpath $libdir'
9732
 
      fi
9733
 
      archive_cmds_need_lc='no'
9734
 
      hardcode_libdir_separator=:
9735
 
      ;;
9736
 
 
9737
 
    solaris*)
9738
 
      no_undefined_flag=' -z defs'
9739
 
      if test "$GCC" = yes; then
9740
 
        wlarc='${wl}'
9741
 
        archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9742
 
        archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9743
 
          $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9744
 
      else
9745
 
        case `$CC -V 2>&1` in
9746
 
        *"Compilers 5.0"*)
9747
 
          wlarc=''
9748
 
          archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9749
 
          archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9750
 
          $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9751
 
          ;;
9752
 
        *)
9753
 
          wlarc='${wl}'
9754
 
          archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9755
 
          archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9756
 
          $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9757
 
          ;;
9758
 
        esac
9759
 
      fi
9760
 
      hardcode_libdir_flag_spec='-R$libdir'
9761
 
      hardcode_shlibpath_var=no
9762
 
      case $host_os in
9763
 
      solaris2.[0-5] | solaris2.[0-5].*) ;;
9764
 
      *)
9765
 
        # The compiler driver will combine and reorder linker options,
9766
 
        # but understands `-z linker_flag'.  GCC discards it without `$wl',
9767
 
        # but is careful enough not to reorder.
9768
 
        # Supported since Solaris 2.6 (maybe 2.5.1?)
9769
 
        if test "$GCC" = yes; then
9770
 
          whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9771
 
        else
9772
 
          whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
9773
 
        fi
9774
 
        ;;
9775
 
      esac
9776
 
      link_all_deplibs=yes
9777
 
      ;;
9778
 
 
9779
 
    sunos4*)
9780
 
      if test "x$host_vendor" = xsequent; then
9781
 
        # Use $CC to link under sequent, because it throws in some extra .o
9782
 
        # files that make .init and .fini sections work.
9783
 
        archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9784
 
      else
9785
 
        archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9786
 
      fi
9787
 
      hardcode_libdir_flag_spec='-L$libdir'
9788
 
      hardcode_direct=yes
9789
 
      hardcode_minus_L=yes
9790
 
      hardcode_shlibpath_var=no
9791
 
      ;;
9792
 
 
9793
 
    sysv4)
9794
 
      case $host_vendor in
9795
 
        sni)
9796
 
          archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9797
 
          hardcode_direct=yes # is this really true???
9798
 
        ;;
9799
 
        siemens)
9800
 
          ## LD is ld it makes a PLAMLIB
9801
 
          ## CC just makes a GrossModule.
9802
 
          archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9803
 
          reload_cmds='$CC -r -o $output$reload_objs'
9804
 
          hardcode_direct=no
9805
 
        ;;
9806
 
        motorola)
9807
 
          archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9808
 
          hardcode_direct=no #Motorola manual says yes, but my tests say they lie
9809
 
        ;;
9810
 
      esac
9811
 
      runpath_var='LD_RUN_PATH'
9812
 
      hardcode_shlibpath_var=no
9813
 
      ;;
9814
 
 
9815
 
    sysv4.3*)
9816
 
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9817
 
      hardcode_shlibpath_var=no
9818
 
      export_dynamic_flag_spec='-Bexport'
9819
 
      ;;
9820
 
 
9821
 
    sysv4*MP*)
9822
 
      if test -d /usr/nec; then
9823
 
        archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9824
 
        hardcode_shlibpath_var=no
9825
 
        runpath_var=LD_RUN_PATH
9826
 
        hardcode_runpath_var=yes
9827
 
        ld_shlibs=yes
9828
 
      fi
9829
 
      ;;
9830
 
 
9831
 
    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
9832
 
      no_undefined_flag='${wl}-z,text'
9833
 
      archive_cmds_need_lc=no
9834
 
      hardcode_shlibpath_var=no
9835
 
      runpath_var='LD_RUN_PATH'
9836
 
 
9837
 
      if test "$GCC" = yes; then
9838
 
        archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9839
 
        archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9840
 
      else
9841
 
        archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9842
 
        archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9843
 
      fi
9844
 
      ;;
9845
 
 
9846
 
    sysv5* | sco3.2v5* | sco5v6*)
9847
 
      # Note: We can NOT use -z defs as we might desire, because we do not
9848
 
      # link with -lc, and that would cause any symbols used from libc to
9849
 
      # always be unresolved, which means just about no library would
9850
 
      # ever link correctly.  If we're not using GNU ld we use -z text
9851
 
      # though, which does catch some bad symbols but isn't as heavy-handed
9852
 
      # as -z defs.
9853
 
      no_undefined_flag='${wl}-z,text'
9854
 
      allow_undefined_flag='${wl}-z,nodefs'
9855
 
      archive_cmds_need_lc=no
9856
 
      hardcode_shlibpath_var=no
9857
 
      hardcode_libdir_flag_spec='${wl}-R,$libdir'
9858
 
      hardcode_libdir_separator=':'
9859
 
      link_all_deplibs=yes
9860
 
      export_dynamic_flag_spec='${wl}-Bexport'
9861
 
      runpath_var='LD_RUN_PATH'
9862
 
 
9863
 
      if test "$GCC" = yes; then
9864
 
        archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9865
 
        archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9866
 
      else
9867
 
        archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9868
 
        archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9869
 
      fi
9870
 
      ;;
9871
 
 
9872
 
    uts4*)
9873
 
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9874
 
      hardcode_libdir_flag_spec='-L$libdir'
9875
 
      hardcode_shlibpath_var=no
9876
 
      ;;
9877
 
 
9878
 
    *)
9879
 
      ld_shlibs=no
9880
 
      ;;
9881
 
    esac
9882
 
 
9883
 
    if test x$host_vendor = xsni; then
9884
 
      case $host in
9885
 
      sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
9886
 
        export_dynamic_flag_spec='${wl}-Blargedynsym'
9887
 
        ;;
9888
 
      esac
9889
 
    fi
9890
 
  fi
9891
 
 
9892
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9893
 
$as_echo "$ld_shlibs" >&6; }
9894
 
test "$ld_shlibs" = no && can_build_shared=no
9895
 
 
9896
 
with_gnu_ld=$with_gnu_ld
9897
 
 
9898
 
 
9899
 
    
9900
 
    
9901
 
    
9902
 
 
9903
 
    
9904
 
    
9905
 
    
9906
 
 
9907
 
    
9908
 
    
9909
 
    
9910
 
 
9911
 
 
9912
 
#
9913
 
# Do we need to explicitly link libc?
9914
 
#
9915
 
case "x$archive_cmds_need_lc" in
9916
 
x|xyes)
9917
 
  # Assume -lc should be added
9918
 
  archive_cmds_need_lc=yes
9919
 
 
9920
 
  if test "$enable_shared" = yes && test "$GCC" = yes; then
9921
 
    case $archive_cmds in
9922
 
    *'~'*)
9923
 
      # FIXME: we may have to deal with multi-command sequences.
9924
 
      ;;
9925
 
    '$CC '*)
9926
 
      # Test whether the compiler implicitly links with -lc since on some
9927
 
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
9928
 
      # to ld, don't add -lc before -lgcc.
9929
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9930
 
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9931
 
      $RM conftest*
9932
 
      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9933
 
 
9934
 
      if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9935
 
  (eval $ac_compile) 2>&5
9936
 
  ac_status=$?
9937
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9938
 
  test $ac_status = 0; } 2>conftest.err; then
9939
 
        soname=conftest
9940
 
        lib=conftest
9941
 
        libobjs=conftest.$ac_objext
9942
 
        deplibs=
9943
 
        wl=$lt_prog_compiler_wl
9944
 
        pic_flag=$lt_prog_compiler_pic
9945
 
        compiler_flags=-v
9946
 
        linker_flags=-v
9947
 
        verstring=
9948
 
        output_objdir=.
9949
 
        libname=conftest
9950
 
        lt_save_allow_undefined_flag=$allow_undefined_flag
9951
 
        allow_undefined_flag=
9952
 
        if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
9953
 
  (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
9954
 
  ac_status=$?
9955
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9956
 
  test $ac_status = 0; }
9957
 
        then
9958
 
          archive_cmds_need_lc=no
9959
 
        else
9960
 
          archive_cmds_need_lc=yes
9961
 
        fi
9962
 
        allow_undefined_flag=$lt_save_allow_undefined_flag
9963
 
      else
9964
 
        cat conftest.err 1>&5
9965
 
      fi
9966
 
      $RM conftest*
9967
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc" >&5
9968
 
$as_echo "$archive_cmds_need_lc" >&6; }
9969
 
      ;;
9970
 
    esac
9971
 
  fi
9972
 
  ;;
9973
 
esac
9974
 
 
9975
 
 
9976
 
    
9977
 
    
9978
 
    
9979
 
 
9980
 
 
9981
 
    
9982
 
    
9983
 
    
9984
 
 
9985
 
 
9986
 
    
9987
 
    
9988
 
    
9989
 
 
9990
 
 
9991
 
    
9992
 
    
9993
 
    
9994
 
 
9995
 
 
9996
 
    
9997
 
    
9998
 
    
9999
 
 
10000
 
 
10001
 
    
10002
 
    
10003
 
    
10004
 
 
10005
 
 
10006
 
    
10007
 
    
10008
 
    
10009
 
 
10010
 
 
10011
 
    
10012
 
    
10013
 
    
10014
 
 
10015
 
 
10016
 
    
10017
 
    
10018
 
    
10019
 
 
10020
 
 
10021
 
    
10022
 
    
10023
 
    
10024
 
 
10025
 
 
10026
 
    
10027
 
    
10028
 
    
10029
 
 
10030
 
 
10031
 
    
10032
 
    
10033
 
    
10034
 
 
10035
 
 
10036
 
    
10037
 
    
10038
 
    
10039
 
 
10040
 
 
10041
 
    
10042
 
    
10043
 
    
10044
 
 
10045
 
 
10046
 
    
10047
 
    
10048
 
    
10049
 
 
10050
 
 
10051
 
    
10052
 
    
10053
 
    
10054
 
 
10055
 
 
10056
 
    
10057
 
    
10058
 
    
10059
 
 
10060
 
 
10061
 
    
10062
 
    
10063
 
    
10064
 
 
10065
 
 
10066
 
    
10067
 
    
10068
 
    
10069
 
 
10070
 
 
10071
 
    
10072
 
    
10073
 
    
10074
 
 
10075
 
 
10076
 
    
10077
 
    
10078
 
    
10079
 
 
10080
 
 
10081
 
    
10082
 
    
10083
 
    
10084
 
 
10085
 
 
10086
 
    
10087
 
    
10088
 
    
10089
 
 
10090
 
 
10091
 
    
10092
 
    
10093
 
    
10094
 
 
10095
 
 
10096
 
    
10097
 
    
10098
 
    
10099
 
 
10100
 
 
10101
 
    
10102
 
    
10103
 
    
10104
 
 
10105
 
 
10106
 
    
10107
 
    
10108
 
    
10109
 
 
10110
 
 
10111
 
    
10112
 
    
10113
 
    
10114
 
 
10115
 
 
10116
 
    
10117
 
    
10118
 
    
10119
 
 
10120
 
 
10121
 
    
10122
 
    
10123
 
    
10124
 
 
10125
 
 
10126
 
    
10127
 
    
10128
 
    
10129
 
 
10130
 
 
10131
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10132
 
$as_echo_n "checking dynamic linker characteristics... " >&6; }
10133
 
 
10134
 
if test "$GCC" = yes; then
10135
 
  case $host_os in
10136
 
    darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10137
 
    *) lt_awk_arg="/^libraries:/" ;;
10138
 
  esac
10139
 
  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
10140
 
  if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
10141
 
    # if the path contains ";" then we assume it to be the separator
10142
 
    # otherwise default to the standard path separator (i.e. ":") - it is
10143
 
    # assumed that no part of a normal pathname contains ";" but that should
10144
 
    # okay in the real world where ";" in dirpaths is itself problematic.
10145
 
    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
10146
 
  else
10147
 
    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
10148
 
  fi
10149
 
  # Ok, now we have the path, separated by spaces, we can step through it
10150
 
  # and add multilib dir if necessary.
10151
 
  lt_tmp_lt_search_path_spec=
10152
 
  lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10153
 
  for lt_sys_path in $lt_search_path_spec; do
10154
 
    if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10155
 
      lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10156
 
    else
10157
 
      test -d "$lt_sys_path" && \
10158
 
        lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10159
 
    fi
10160
 
  done
10161
 
  lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
10162
 
BEGIN {RS=" "; FS="/|\n";} {
10163
 
  lt_foo="";
10164
 
  lt_count=0;
10165
 
  for (lt_i = NF; lt_i > 0; lt_i--) {
10166
 
    if ($lt_i != "" && $lt_i != ".") {
10167
 
      if ($lt_i == "..") {
10168
 
        lt_count++;
10169
 
      } else {
10170
 
        if (lt_count == 0) {
10171
 
          lt_foo="/" $lt_i lt_foo;
10172
 
        } else {
10173
 
          lt_count--;
10174
 
        }
10175
 
      }
10176
 
    }
10177
 
  }
10178
 
  if (lt_foo != "") { lt_freq[lt_foo]++; }
10179
 
  if (lt_freq[lt_foo] == 1) { print lt_foo; }
10180
 
}'`
10181
 
  sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
10182
 
else
10183
 
  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10184
 
fi
10185
 
library_names_spec=
10186
 
libname_spec='lib$name'
10187
 
soname_spec=
10188
 
shrext_cmds=".so"
10189
 
postinstall_cmds=
10190
 
postuninstall_cmds=
10191
 
finish_cmds=
10192
 
finish_eval=
10193
 
shlibpath_var=
10194
 
shlibpath_overrides_runpath=unknown
10195
 
version_type=none
10196
 
dynamic_linker="$host_os ld.so"
10197
 
sys_lib_dlsearch_path_spec="/lib /usr/lib"
10198
 
need_lib_prefix=unknown
10199
 
hardcode_into_libs=no
10200
 
 
10201
 
# when you set need_version to no, make sure it does not cause -set_version
10202
 
# flags to be left without arguments
10203
 
need_version=unknown
10204
 
 
10205
 
case $host_os in
10206
 
aix3*)
10207
 
  version_type=linux
10208
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10209
 
  shlibpath_var=LIBPATH
10210
 
 
10211
 
  # AIX 3 has no versioning support, so we append a major version to the name.
10212
 
  soname_spec='${libname}${release}${shared_ext}$major'
10213
 
  ;;
10214
 
 
10215
 
aix[4-9]*)
10216
 
  version_type=linux
10217
 
  need_lib_prefix=no
10218
 
  need_version=no
10219
 
  hardcode_into_libs=yes
10220
 
  if test "$host_cpu" = ia64; then
10221
 
    # AIX 5 supports IA64
10222
 
    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10223
 
    shlibpath_var=LD_LIBRARY_PATH
10224
 
  else
10225
 
    # With GCC up to 2.95.x, collect2 would create an import file
10226
 
    # for dependence libraries.  The import file would start with
10227
 
    # the line `#! .'.  This would cause the generated library to
10228
 
    # depend on `.', always an invalid library.  This was fixed in
10229
 
    # development snapshots of GCC prior to 3.0.
10230
 
    case $host_os in
10231
 
      aix4 | aix4.[01] | aix4.[01].*)
10232
 
      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10233
 
           echo ' yes '
10234
 
           echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10235
 
        :
10236
 
      else
10237
 
        can_build_shared=no
10238
 
      fi
10239
 
      ;;
10240
 
    esac
10241
 
    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10242
 
    # soname into executable. Probably we can add versioning support to
10243
 
    # collect2, so additional links can be useful in future.
10244
 
    if test "$aix_use_runtimelinking" = yes; then
10245
 
      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10246
 
      # instead of lib<name>.a to let people know that these are not
10247
 
      # typical AIX shared libraries.
10248
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10249
 
    else
10250
 
      # We preserve .a as extension for shared libraries through AIX4.2
10251
 
      # and later when we are not doing run time linking.
10252
 
      library_names_spec='${libname}${release}.a $libname.a'
10253
 
      soname_spec='${libname}${release}${shared_ext}$major'
10254
 
    fi
10255
 
    shlibpath_var=LIBPATH
10256
 
  fi
10257
 
  ;;
10258
 
 
10259
 
amigaos*)
10260
 
  case $host_cpu in
10261
 
  powerpc)
10262
 
    # Since July 2007 AmigaOS4 officially supports .so libraries.
10263
 
    # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10264
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10265
 
    ;;
10266
 
  m68k)
10267
 
    library_names_spec='$libname.ixlibrary $libname.a'
10268
 
    # Create ${libname}_ixlibrary.a entries in /sys/libs.
10269
 
    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'
10270
 
    ;;
10271
 
  esac
10272
 
  ;;
10273
 
 
10274
 
beos*)
10275
 
  library_names_spec='${libname}${shared_ext}'
10276
 
  dynamic_linker="$host_os ld.so"
10277
 
  shlibpath_var=LIBRARY_PATH
10278
 
  ;;
10279
 
 
10280
 
bsdi[45]*)
10281
 
  version_type=linux
10282
 
  need_version=no
10283
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10284
 
  soname_spec='${libname}${release}${shared_ext}$major'
10285
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10286
 
  shlibpath_var=LD_LIBRARY_PATH
10287
 
  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10288
 
  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10289
 
  # the default ld.so.conf also contains /usr/contrib/lib and
10290
 
  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10291
 
  # libtool to hard-code these into programs
10292
 
  ;;
10293
 
 
10294
 
cygwin* | mingw* | pw32* | cegcc*)
10295
 
  version_type=windows
10296
 
  shrext_cmds=".dll"
10297
 
  need_version=no
10298
 
  need_lib_prefix=no
10299
 
 
10300
 
  case $GCC,$host_os in
10301
 
  yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
10302
 
    library_names_spec='$libname.dll.a'
10303
 
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
10304
 
    postinstall_cmds='base_file=`basename \${file}`~
10305
 
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10306
 
      dldir=$destdir/`dirname \$dlpath`~
10307
 
      test -d \$dldir || mkdir -p \$dldir~
10308
 
      $install_prog $dir/$dlname \$dldir/$dlname~
10309
 
      chmod a+x \$dldir/$dlname~
10310
 
      if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10311
 
        eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10312
 
      fi'
10313
 
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10314
 
      dlpath=$dir/\$dldll~
10315
 
       $RM \$dlpath'
10316
 
    shlibpath_overrides_runpath=yes
10317
 
 
10318
 
    case $host_os in
10319
 
    cygwin*)
10320
 
      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10321
 
      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10322
 
      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
10323
 
      ;;
10324
 
    mingw* | cegcc*)
10325
 
      # MinGW DLLs use traditional 'lib' prefix
10326
 
      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10327
 
      sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
10328
 
      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10329
 
        # It is most probably a Windows format PATH printed by
10330
 
        # mingw gcc, but we are running on Cygwin. Gcc prints its search
10331
 
        # path with ; separators, and with drive letters. We can handle the
10332
 
        # drive letters (cygwin fileutils understands them), so leave them,
10333
 
        # especially as we might pass files found there to a mingw objdump,
10334
 
        # which wouldn't understand a cygwinified path. Ahh.
10335
 
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10336
 
      else
10337
 
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
10338
 
      fi
10339
 
      ;;
10340
 
    pw32*)
10341
 
      # pw32 DLLs use 'pw' prefix rather than 'lib'
10342
 
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10343
 
      ;;
10344
 
    esac
10345
 
    ;;
10346
 
 
10347
 
  *)
10348
 
    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10349
 
    ;;
10350
 
  esac
10351
 
  dynamic_linker='Win32 ld.exe'
10352
 
  # FIXME: first we should search . and the directory the executable is in
10353
 
  shlibpath_var=PATH
10354
 
  ;;
10355
 
 
10356
 
darwin* | rhapsody*)
10357
 
  dynamic_linker="$host_os dyld"
10358
 
  version_type=darwin
10359
 
  need_lib_prefix=no
10360
 
  need_version=no
10361
 
  library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10362
 
  soname_spec='${libname}${release}${major}$shared_ext'
10363
 
  shlibpath_overrides_runpath=yes
10364
 
  shlibpath_var=DYLD_LIBRARY_PATH
10365
 
  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10366
 
 
10367
 
  sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10368
 
  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10369
 
  ;;
10370
 
 
10371
 
dgux*)
10372
 
  version_type=linux
10373
 
  need_lib_prefix=no
10374
 
  need_version=no
10375
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10376
 
  soname_spec='${libname}${release}${shared_ext}$major'
10377
 
  shlibpath_var=LD_LIBRARY_PATH
10378
 
  ;;
10379
 
 
10380
 
freebsd1*)
10381
 
  dynamic_linker=no
10382
 
  ;;
10383
 
 
10384
 
freebsd* | dragonfly*)
10385
 
  # DragonFly does not have aout.  When/if they implement a new
10386
 
  # versioning mechanism, adjust this.
10387
 
  if test -x /usr/bin/objformat; then
10388
 
    objformat=`/usr/bin/objformat`
10389
 
  else
10390
 
    case $host_os in
10391
 
    freebsd[123]*) objformat=aout ;;
10392
 
    *) objformat=elf ;;
10393
 
    esac
10394
 
  fi
10395
 
  version_type=freebsd-$objformat
10396
 
  case $version_type in
10397
 
    freebsd-elf*)
10398
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10399
 
      need_version=no
10400
 
      need_lib_prefix=no
10401
 
      ;;
10402
 
    freebsd-*)
10403
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10404
 
      need_version=yes
10405
 
      ;;
10406
 
  esac
10407
 
  shlibpath_var=LD_LIBRARY_PATH
10408
 
  case $host_os in
10409
 
  freebsd2*)
10410
 
    shlibpath_overrides_runpath=yes
10411
 
    ;;
10412
 
  freebsd3.[01]* | freebsdelf3.[01]*)
10413
 
    shlibpath_overrides_runpath=yes
10414
 
    hardcode_into_libs=yes
10415
 
    ;;
10416
 
  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10417
 
  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10418
 
    shlibpath_overrides_runpath=no
10419
 
    hardcode_into_libs=yes
10420
 
    ;;
10421
 
  *) # from 4.6 on, and DragonFly
10422
 
    shlibpath_overrides_runpath=yes
10423
 
    hardcode_into_libs=yes
10424
 
    ;;
10425
 
  esac
10426
 
  ;;
10427
 
 
10428
 
gnu*)
10429
 
  version_type=linux
10430
 
  need_lib_prefix=no
10431
 
  need_version=no
10432
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10433
 
  soname_spec='${libname}${release}${shared_ext}$major'
10434
 
  shlibpath_var=LD_LIBRARY_PATH
10435
 
  hardcode_into_libs=yes
10436
 
  ;;
10437
 
 
10438
 
hpux9* | hpux10* | hpux11*)
10439
 
  # Give a soname corresponding to the major version so that dld.sl refuses to
10440
 
  # link against other versions.
10441
 
  version_type=sunos
10442
 
  need_lib_prefix=no
10443
 
  need_version=no
10444
 
  case $host_cpu in
10445
 
  ia64*)
10446
 
    shrext_cmds='.so'
10447
 
    hardcode_into_libs=yes
10448
 
    dynamic_linker="$host_os dld.so"
10449
 
    shlibpath_var=LD_LIBRARY_PATH
10450
 
    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10451
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10452
 
    soname_spec='${libname}${release}${shared_ext}$major'
10453
 
    if test "X$HPUX_IA64_MODE" = X32; then
10454
 
      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10455
 
    else
10456
 
      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10457
 
    fi
10458
 
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10459
 
    ;;
10460
 
  hppa*64*)
10461
 
    shrext_cmds='.sl'
10462
 
    hardcode_into_libs=yes
10463
 
    dynamic_linker="$host_os dld.sl"
10464
 
    shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10465
 
    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10466
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10467
 
    soname_spec='${libname}${release}${shared_ext}$major'
10468
 
    sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10469
 
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10470
 
    ;;
10471
 
  *)
10472
 
    shrext_cmds='.sl'
10473
 
    dynamic_linker="$host_os dld.sl"
10474
 
    shlibpath_var=SHLIB_PATH
10475
 
    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10476
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10477
 
    soname_spec='${libname}${release}${shared_ext}$major'
10478
 
    ;;
10479
 
  esac
10480
 
  # HP-UX runs *really* slowly unless shared libraries are mode 555.
10481
 
  postinstall_cmds='chmod 555 $lib'
10482
 
  ;;
10483
 
 
10484
 
interix[3-9]*)
10485
 
  version_type=linux
10486
 
  need_lib_prefix=no
10487
 
  need_version=no
10488
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10489
 
  soname_spec='${libname}${release}${shared_ext}$major'
10490
 
  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10491
 
  shlibpath_var=LD_LIBRARY_PATH
10492
 
  shlibpath_overrides_runpath=no
10493
 
  hardcode_into_libs=yes
10494
 
  ;;
10495
 
 
10496
 
irix5* | irix6* | nonstopux*)
10497
 
  case $host_os in
10498
 
    nonstopux*) version_type=nonstopux ;;
10499
 
    *)
10500
 
        if test "$lt_cv_prog_gnu_ld" = yes; then
10501
 
                version_type=linux
10502
 
        else
10503
 
                version_type=irix
10504
 
        fi ;;
10505
 
  esac
10506
 
  need_lib_prefix=no
10507
 
  need_version=no
10508
 
  soname_spec='${libname}${release}${shared_ext}$major'
10509
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10510
 
  case $host_os in
10511
 
  irix5* | nonstopux*)
10512
 
    libsuff= shlibsuff=
10513
 
    ;;
10514
 
  *)
10515
 
    case $LD in # libtool.m4 will add one of these switches to LD
10516
 
    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10517
 
      libsuff= shlibsuff= libmagic=32-bit;;
10518
 
    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10519
 
      libsuff=32 shlibsuff=N32 libmagic=N32;;
10520
 
    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10521
 
      libsuff=64 shlibsuff=64 libmagic=64-bit;;
10522
 
    *) libsuff= shlibsuff= libmagic=never-match;;
10523
 
    esac
10524
 
    ;;
10525
 
  esac
10526
 
  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10527
 
  shlibpath_overrides_runpath=no
10528
 
  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10529
 
  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10530
 
  hardcode_into_libs=yes
10531
 
  ;;
10532
 
 
10533
 
# No shared lib support for Linux oldld, aout, or coff.
10534
 
linux*oldld* | linux*aout* | linux*coff*)
10535
 
  dynamic_linker=no
10536
 
  ;;
10537
 
 
10538
 
# This must be Linux ELF.
10539
 
linux* | k*bsd*-gnu | kopensolaris*-gnu)
10540
 
  version_type=linux
10541
 
  need_lib_prefix=no
10542
 
  need_version=no
10543
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10544
 
  soname_spec='${libname}${release}${shared_ext}$major'
10545
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10546
 
  shlibpath_var=LD_LIBRARY_PATH
10547
 
  shlibpath_overrides_runpath=no
10548
 
  # Some binutils ld are patched to set DT_RUNPATH
10549
 
  save_LDFLAGS=$LDFLAGS
10550
 
  save_libdir=$libdir
10551
 
  eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10552
 
       LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10553
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10554
 
/* end confdefs.h.  */
10555
 
 
10556
 
int
10557
 
main ()
10558
 
{
10559
 
 
10560
 
  ;
10561
 
  return 0;
10562
 
}
10563
 
_ACEOF
10564
 
if ac_fn_c_try_link "$LINENO"; then :
10565
 
  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10566
 
  shlibpath_overrides_runpath=yes
10567
 
fi
10568
 
fi
10569
 
rm -f core conftest.err conftest.$ac_objext \
10570
 
    conftest$ac_exeext conftest.$ac_ext
10571
 
  LDFLAGS=$save_LDFLAGS
10572
 
  libdir=$save_libdir
10573
 
 
10574
 
  # This implies no fast_install, which is unacceptable.
10575
 
  # Some rework will be needed to allow for fast_install
10576
 
  # before this can be enabled.
10577
 
  hardcode_into_libs=yes
10578
 
 
10579
 
  # Append ld.so.conf contents to the search path
10580
 
  if test -f /etc/ld.so.conf; then
10581
 
    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' ' '`
10582
 
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10583
 
  fi
10584
 
 
10585
 
  # We used to test for /lib/ld.so.1 and disable shared libraries on
10586
 
  # powerpc, because MkLinux only supported shared libraries with the
10587
 
  # GNU dynamic linker.  Since this was broken with cross compilers,
10588
 
  # most powerpc-linux boxes support dynamic linking these days and
10589
 
  # people can always --disable-shared, the test was removed, and we
10590
 
  # assume the GNU/Linux dynamic linker is in use.
10591
 
  dynamic_linker='GNU/Linux ld.so'
10592
 
  ;;
10593
 
 
10594
 
netbsdelf*-gnu)
10595
 
  version_type=linux
10596
 
  need_lib_prefix=no
10597
 
  need_version=no
10598
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10599
 
  soname_spec='${libname}${release}${shared_ext}$major'
10600
 
  shlibpath_var=LD_LIBRARY_PATH
10601
 
  shlibpath_overrides_runpath=no
10602
 
  hardcode_into_libs=yes
10603
 
  dynamic_linker='NetBSD ld.elf_so'
10604
 
  ;;
10605
 
 
10606
 
netbsd*)
10607
 
  version_type=sunos
10608
 
  need_lib_prefix=no
10609
 
  need_version=no
10610
 
  if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10611
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10612
 
    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10613
 
    dynamic_linker='NetBSD (a.out) ld.so'
10614
 
  else
10615
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10616
 
    soname_spec='${libname}${release}${shared_ext}$major'
10617
 
    dynamic_linker='NetBSD ld.elf_so'
10618
 
  fi
10619
 
  shlibpath_var=LD_LIBRARY_PATH
10620
 
  shlibpath_overrides_runpath=yes
10621
 
  hardcode_into_libs=yes
10622
 
  ;;
10623
 
 
10624
 
newsos6)
10625
 
  version_type=linux
10626
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10627
 
  shlibpath_var=LD_LIBRARY_PATH
10628
 
  shlibpath_overrides_runpath=yes
10629
 
  ;;
10630
 
 
10631
 
*nto* | *qnx*)
10632
 
  version_type=qnx
10633
 
  need_lib_prefix=no
10634
 
  need_version=no
10635
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10636
 
  soname_spec='${libname}${release}${shared_ext}$major'
10637
 
  shlibpath_var=LD_LIBRARY_PATH
10638
 
  shlibpath_overrides_runpath=no
10639
 
  hardcode_into_libs=yes
10640
 
  dynamic_linker='ldqnx.so'
10641
 
  ;;
10642
 
 
10643
 
openbsd*)
10644
 
  version_type=sunos
10645
 
  sys_lib_dlsearch_path_spec="/usr/lib"
10646
 
  need_lib_prefix=no
10647
 
  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10648
 
  case $host_os in
10649
 
    openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
10650
 
    *)                          need_version=no  ;;
10651
 
  esac
10652
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10653
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10654
 
  shlibpath_var=LD_LIBRARY_PATH
10655
 
  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10656
 
    case $host_os in
10657
 
      openbsd2.[89] | openbsd2.[89].*)
10658
 
        shlibpath_overrides_runpath=no
10659
 
        ;;
10660
 
      *)
10661
 
        shlibpath_overrides_runpath=yes
10662
 
        ;;
10663
 
      esac
10664
 
  else
10665
 
    shlibpath_overrides_runpath=yes
10666
 
  fi
10667
 
  ;;
10668
 
 
10669
 
os2*)
10670
 
  libname_spec='$name'
10671
 
  shrext_cmds=".dll"
10672
 
  need_lib_prefix=no
10673
 
  library_names_spec='$libname${shared_ext} $libname.a'
10674
 
  dynamic_linker='OS/2 ld.exe'
10675
 
  shlibpath_var=LIBPATH
10676
 
  ;;
10677
 
 
10678
 
osf3* | osf4* | osf5*)
10679
 
  version_type=osf
10680
 
  need_lib_prefix=no
10681
 
  need_version=no
10682
 
  soname_spec='${libname}${release}${shared_ext}$major'
10683
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10684
 
  shlibpath_var=LD_LIBRARY_PATH
10685
 
  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10686
 
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10687
 
  ;;
10688
 
 
10689
 
rdos*)
10690
 
  dynamic_linker=no
10691
 
  ;;
10692
 
 
10693
 
solaris*)
10694
 
  version_type=linux
10695
 
  need_lib_prefix=no
10696
 
  need_version=no
10697
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10698
 
  soname_spec='${libname}${release}${shared_ext}$major'
10699
 
  shlibpath_var=LD_LIBRARY_PATH
10700
 
  shlibpath_overrides_runpath=yes
10701
 
  hardcode_into_libs=yes
10702
 
  # ldd complains unless libraries are executable
10703
 
  postinstall_cmds='chmod +x $lib'
10704
 
  ;;
10705
 
 
10706
 
sunos4*)
10707
 
  version_type=sunos
10708
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10709
 
  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10710
 
  shlibpath_var=LD_LIBRARY_PATH
10711
 
  shlibpath_overrides_runpath=yes
10712
 
  if test "$with_gnu_ld" = yes; then
10713
 
    need_lib_prefix=no
10714
 
  fi
10715
 
  need_version=yes
10716
 
  ;;
10717
 
 
10718
 
sysv4 | sysv4.3*)
10719
 
  version_type=linux
10720
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10721
 
  soname_spec='${libname}${release}${shared_ext}$major'
10722
 
  shlibpath_var=LD_LIBRARY_PATH
10723
 
  case $host_vendor in
10724
 
    sni)
10725
 
      shlibpath_overrides_runpath=no
10726
 
      need_lib_prefix=no
10727
 
      runpath_var=LD_RUN_PATH
10728
 
      ;;
10729
 
    siemens)
10730
 
      need_lib_prefix=no
10731
 
      ;;
10732
 
    motorola)
10733
 
      need_lib_prefix=no
10734
 
      need_version=no
10735
 
      shlibpath_overrides_runpath=no
10736
 
      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10737
 
      ;;
10738
 
  esac
10739
 
  ;;
10740
 
 
10741
 
sysv4*MP*)
10742
 
  if test -d /usr/nec ;then
10743
 
    version_type=linux
10744
 
    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10745
 
    soname_spec='$libname${shared_ext}.$major'
10746
 
    shlibpath_var=LD_LIBRARY_PATH
10747
 
  fi
10748
 
  ;;
10749
 
 
10750
 
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10751
 
  version_type=freebsd-elf
10752
 
  need_lib_prefix=no
10753
 
  need_version=no
10754
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10755
 
  soname_spec='${libname}${release}${shared_ext}$major'
10756
 
  shlibpath_var=LD_LIBRARY_PATH
10757
 
  shlibpath_overrides_runpath=yes
10758
 
  hardcode_into_libs=yes
10759
 
  if test "$with_gnu_ld" = yes; then
10760
 
    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10761
 
  else
10762
 
    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
10763
 
    case $host_os in
10764
 
      sco3.2v5*)
10765
 
        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
10766
 
        ;;
10767
 
    esac
10768
 
  fi
10769
 
  sys_lib_dlsearch_path_spec='/usr/lib'
10770
 
  ;;
10771
 
 
10772
 
tpf*)
10773
 
  # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
10774
 
  version_type=linux
10775
 
  need_lib_prefix=no
10776
 
  need_version=no
10777
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10778
 
  shlibpath_var=LD_LIBRARY_PATH
10779
 
  shlibpath_overrides_runpath=no
10780
 
  hardcode_into_libs=yes
10781
 
  ;;
10782
 
 
10783
 
uts4*)
10784
 
  version_type=linux
10785
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10786
 
  soname_spec='${libname}${release}${shared_ext}$major'
10787
 
  shlibpath_var=LD_LIBRARY_PATH
10788
 
  ;;
10789
 
 
10790
 
*)
10791
 
  dynamic_linker=no
10792
 
  ;;
10793
 
esac
10794
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10795
 
$as_echo "$dynamic_linker" >&6; }
10796
 
test "$dynamic_linker" = no && can_build_shared=no
10797
 
 
10798
 
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10799
 
if test "$GCC" = yes; then
10800
 
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10801
 
fi
10802
 
 
10803
 
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10804
 
  sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
10805
 
fi
10806
 
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10807
 
  sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
10808
 
fi
10809
 
 
10810
 
 
10811
 
    
10812
 
    
10813
 
    
10814
 
 
10815
 
 
10816
 
    
10817
 
    
10818
 
    
10819
 
 
10820
 
 
10821
 
    
10822
 
    
10823
 
    
10824
 
 
10825
 
 
10826
 
    
10827
 
    
10828
 
    
10829
 
 
10830
 
 
10831
 
    
10832
 
    
10833
 
    
10834
 
 
10835
 
 
10836
 
    
10837
 
    
10838
 
    
10839
 
 
10840
 
 
10841
 
    
10842
 
    
10843
 
    
10844
 
 
10845
 
 
10846
 
    
10847
 
    
10848
 
    
10849
 
 
10850
 
 
10851
 
    
10852
 
    
10853
 
    
10854
 
 
10855
 
 
10856
 
    
10857
 
    
10858
 
    
10859
 
 
10860
 
 
10861
 
    
10862
 
    
10863
 
    
10864
 
 
10865
 
 
10866
 
    
10867
 
    
10868
 
    
10869
 
 
10870
 
 
10871
 
    
10872
 
    
10873
 
    
10874
 
 
10875
 
 
10876
 
    
10877
 
    
10878
 
    
10879
 
 
10880
 
 
10881
 
    
10882
 
    
10883
 
    
10884
 
 
10885
 
 
10886
 
    
10887
 
    
10888
 
    
10889
 
 
10890
 
 
10891
 
    
10892
 
    
10893
 
    
10894
 
 
10895
 
 
10896
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
10897
 
$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10898
 
hardcode_action=
10899
 
if test -n "$hardcode_libdir_flag_spec" ||
10900
 
   test -n "$runpath_var" ||
10901
 
   test "X$hardcode_automatic" = "Xyes" ; then
10902
 
 
10903
 
  # We can hardcode non-existent directories.
10904
 
  if test "$hardcode_direct" != no &&
10905
 
     # If the only mechanism to avoid hardcoding is shlibpath_var, we
10906
 
     # have to relink, otherwise we might link with an installed library
10907
 
     # when we should be linking with a yet-to-be-installed one
10908
 
     ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10909
 
     test "$hardcode_minus_L" != no; then
10910
 
    # Linking always hardcodes the temporary library directory.
10911
 
    hardcode_action=relink
10912
 
  else
10913
 
    # We can link without hardcoding, and we can hardcode nonexisting dirs.
10914
 
    hardcode_action=immediate
10915
 
  fi
10916
 
else
10917
 
  # We cannot hardcode anything, or else we can only hardcode existing
10918
 
  # directories.
10919
 
  hardcode_action=unsupported
10920
 
fi
10921
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
10922
 
$as_echo "$hardcode_action" >&6; }
10923
 
 
10924
 
if test "$hardcode_action" = relink ||
10925
 
   test "$inherit_rpath" = yes; then
10926
 
  # Fast installation is not supported
10927
 
  enable_fast_install=no
10928
 
elif test "$shlibpath_overrides_runpath" = yes ||
10929
 
     test "$enable_shared" = no; then
10930
 
  # Fast installation is not necessary
10931
 
  enable_fast_install=needless
10932
 
fi
10933
 
 
10934
 
    
10935
 
    
10936
 
    
10937
 
 
10938
 
 
10939
 
  if test "x$enable_dlopen" != xyes; then
10940
 
  enable_dlopen=unknown
10941
 
  enable_dlopen_self=unknown
10942
 
  enable_dlopen_self_static=unknown
10943
 
else
10944
 
  lt_cv_dlopen=no
10945
 
  lt_cv_dlopen_libs=
10946
 
 
10947
 
  case $host_os in
10948
 
  beos*)
10949
 
    lt_cv_dlopen="load_add_on"
10950
 
    lt_cv_dlopen_libs=
10951
 
    lt_cv_dlopen_self=yes
10952
 
    ;;
10953
 
 
10954
 
  mingw* | pw32* | cegcc*)
10955
 
    lt_cv_dlopen="LoadLibrary"
10956
 
    lt_cv_dlopen_libs=
10957
 
    ;;
10958
 
 
10959
 
  cygwin*)
10960
 
    lt_cv_dlopen="dlopen"
10961
 
    lt_cv_dlopen_libs=
10962
 
    ;;
10963
 
 
10964
 
  darwin*)
10965
 
  # if libdl is installed we need to link against it
10966
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10967
 
$as_echo_n "checking for dlopen in -ldl... " >&6; }
10968
 
if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
10969
 
  $as_echo_n "(cached) " >&6
10970
 
else
10971
 
  ac_check_lib_save_LIBS=$LIBS
10972
 
LIBS="-ldl  $LIBS"
10973
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10974
 
/* end confdefs.h.  */
10975
 
 
10976
 
/* Override any GCC internal prototype to avoid an error.
10977
 
   Use char because int might match the return type of a GCC
10978
 
   builtin and then its argument prototype would still apply.  */
10979
 
#ifdef __cplusplus
10980
 
extern "C"
10981
 
#endif
10982
 
char dlopen ();
10983
 
int
10984
 
main ()
10985
 
{
10986
 
return dlopen ();
10987
 
  ;
10988
 
  return 0;
10989
 
}
10990
 
_ACEOF
10991
 
if ac_fn_c_try_link "$LINENO"; then :
10992
 
  ac_cv_lib_dl_dlopen=yes
10993
 
else
10994
 
  ac_cv_lib_dl_dlopen=no
10995
 
fi
10996
 
rm -f core conftest.err conftest.$ac_objext \
10997
 
    conftest$ac_exeext conftest.$ac_ext
10998
 
LIBS=$ac_check_lib_save_LIBS
10999
 
fi
11000
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11001
 
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11002
 
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11003
 
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11004
 
else
11005
 
  
11006
 
    lt_cv_dlopen="dyld"
11007
 
    lt_cv_dlopen_libs=
11008
 
    lt_cv_dlopen_self=yes
11009
 
    
11010
 
fi
11011
 
 
11012
 
    ;;
11013
 
 
11014
 
  *)
11015
 
    ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11016
 
if test "x$ac_cv_func_shl_load" = x""yes; then :
11017
 
  lt_cv_dlopen="shl_load"
11018
 
else
11019
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11020
 
$as_echo_n "checking for shl_load in -ldld... " >&6; }
11021
 
if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
11022
 
  $as_echo_n "(cached) " >&6
11023
 
else
11024
 
  ac_check_lib_save_LIBS=$LIBS
11025
 
LIBS="-ldld  $LIBS"
11026
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11027
 
/* end confdefs.h.  */
11028
 
 
11029
 
/* Override any GCC internal prototype to avoid an error.
11030
 
   Use char because int might match the return type of a GCC
11031
 
   builtin and then its argument prototype would still apply.  */
11032
 
#ifdef __cplusplus
11033
 
extern "C"
11034
 
#endif
11035
 
char shl_load ();
11036
 
int
11037
 
main ()
11038
 
{
11039
 
return shl_load ();
11040
 
  ;
11041
 
  return 0;
11042
 
}
11043
 
_ACEOF
11044
 
if ac_fn_c_try_link "$LINENO"; then :
11045
 
  ac_cv_lib_dld_shl_load=yes
11046
 
else
11047
 
  ac_cv_lib_dld_shl_load=no
11048
 
fi
11049
 
rm -f core conftest.err conftest.$ac_objext \
11050
 
    conftest$ac_exeext conftest.$ac_ext
11051
 
LIBS=$ac_check_lib_save_LIBS
11052
 
fi
11053
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11054
 
$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11055
 
if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
11056
 
  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11057
 
else
11058
 
  ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11059
 
if test "x$ac_cv_func_dlopen" = x""yes; then :
11060
 
  lt_cv_dlopen="dlopen"
11061
 
else
11062
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11063
 
$as_echo_n "checking for dlopen in -ldl... " >&6; }
11064
 
if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11065
 
  $as_echo_n "(cached) " >&6
11066
 
else
11067
 
  ac_check_lib_save_LIBS=$LIBS
11068
 
LIBS="-ldl  $LIBS"
11069
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11070
 
/* end confdefs.h.  */
11071
 
 
11072
 
/* Override any GCC internal prototype to avoid an error.
11073
 
   Use char because int might match the return type of a GCC
11074
 
   builtin and then its argument prototype would still apply.  */
11075
 
#ifdef __cplusplus
11076
 
extern "C"
11077
 
#endif
11078
 
char dlopen ();
11079
 
int
11080
 
main ()
11081
 
{
11082
 
return dlopen ();
11083
 
  ;
11084
 
  return 0;
11085
 
}
11086
 
_ACEOF
11087
 
if ac_fn_c_try_link "$LINENO"; then :
11088
 
  ac_cv_lib_dl_dlopen=yes
11089
 
else
11090
 
  ac_cv_lib_dl_dlopen=no
11091
 
fi
11092
 
rm -f core conftest.err conftest.$ac_objext \
11093
 
    conftest$ac_exeext conftest.$ac_ext
11094
 
LIBS=$ac_check_lib_save_LIBS
11095
 
fi
11096
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11097
 
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11098
 
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11099
 
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11100
 
else
11101
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11102
 
$as_echo_n "checking for dlopen in -lsvld... " >&6; }
11103
 
if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
11104
 
  $as_echo_n "(cached) " >&6
11105
 
else
11106
 
  ac_check_lib_save_LIBS=$LIBS
11107
 
LIBS="-lsvld  $LIBS"
11108
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11109
 
/* end confdefs.h.  */
11110
 
 
11111
 
/* Override any GCC internal prototype to avoid an error.
11112
 
   Use char because int might match the return type of a GCC
11113
 
   builtin and then its argument prototype would still apply.  */
11114
 
#ifdef __cplusplus
11115
 
extern "C"
11116
 
#endif
11117
 
char dlopen ();
11118
 
int
11119
 
main ()
11120
 
{
11121
 
return dlopen ();
11122
 
  ;
11123
 
  return 0;
11124
 
}
11125
 
_ACEOF
11126
 
if ac_fn_c_try_link "$LINENO"; then :
11127
 
  ac_cv_lib_svld_dlopen=yes
11128
 
else
11129
 
  ac_cv_lib_svld_dlopen=no
11130
 
fi
11131
 
rm -f core conftest.err conftest.$ac_objext \
11132
 
    conftest$ac_exeext conftest.$ac_ext
11133
 
LIBS=$ac_check_lib_save_LIBS
11134
 
fi
11135
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11136
 
$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11137
 
if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
11138
 
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11139
 
else
11140
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11141
 
$as_echo_n "checking for dld_link in -ldld... " >&6; }
11142
 
if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
11143
 
  $as_echo_n "(cached) " >&6
11144
 
else
11145
 
  ac_check_lib_save_LIBS=$LIBS
11146
 
LIBS="-ldld  $LIBS"
11147
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11148
 
/* end confdefs.h.  */
11149
 
 
11150
 
/* Override any GCC internal prototype to avoid an error.
11151
 
   Use char because int might match the return type of a GCC
11152
 
   builtin and then its argument prototype would still apply.  */
11153
 
#ifdef __cplusplus
11154
 
extern "C"
11155
 
#endif
11156
 
char dld_link ();
11157
 
int
11158
 
main ()
11159
 
{
11160
 
return dld_link ();
11161
 
  ;
11162
 
  return 0;
11163
 
}
11164
 
_ACEOF
11165
 
if ac_fn_c_try_link "$LINENO"; then :
11166
 
  ac_cv_lib_dld_dld_link=yes
11167
 
else
11168
 
  ac_cv_lib_dld_dld_link=no
11169
 
fi
11170
 
rm -f core conftest.err conftest.$ac_objext \
11171
 
    conftest$ac_exeext conftest.$ac_ext
11172
 
LIBS=$ac_check_lib_save_LIBS
11173
 
fi
11174
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11175
 
$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11176
 
if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
11177
 
  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11178
 
fi
11179
 
 
11180
 
              
11181
 
fi
11182
 
 
11183
 
            
11184
 
fi
11185
 
 
11186
 
          
11187
 
fi
11188
 
 
11189
 
        
11190
 
fi
11191
 
 
11192
 
      
11193
 
fi
11194
 
 
11195
 
    ;;
11196
 
  esac
11197
 
 
11198
 
  if test "x$lt_cv_dlopen" != xno; then
11199
 
    enable_dlopen=yes
11200
 
  else
11201
 
    enable_dlopen=no
11202
 
  fi
11203
 
 
11204
 
  case $lt_cv_dlopen in
11205
 
  dlopen)
11206
 
    save_CPPFLAGS="$CPPFLAGS"
11207
 
    test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11208
 
 
11209
 
    save_LDFLAGS="$LDFLAGS"
11210
 
    wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11211
 
 
11212
 
    save_LIBS="$LIBS"
11213
 
    LIBS="$lt_cv_dlopen_libs $LIBS"
11214
 
 
11215
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11216
 
$as_echo_n "checking whether a program can dlopen itself... " >&6; }
11217
 
if test "${lt_cv_dlopen_self+set}" = set; then :
11218
 
  $as_echo_n "(cached) " >&6
11219
 
else
11220
 
          if test "$cross_compiling" = yes; then :
11221
 
  lt_cv_dlopen_self=cross
11222
 
else
11223
 
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11224
 
  lt_status=$lt_dlunknown
11225
 
  cat > conftest.$ac_ext <<_LT_EOF
11226
 
#line __oline__ "configure"
11227
 
#include "confdefs.h"
11228
 
 
11229
 
#if HAVE_DLFCN_H
11230
 
#include <dlfcn.h>
11231
 
#endif
11232
 
 
11233
 
#include <stdio.h>
11234
 
 
11235
 
#ifdef RTLD_GLOBAL
11236
 
#  define LT_DLGLOBAL           RTLD_GLOBAL
11237
 
#else
11238
 
#  ifdef DL_GLOBAL
11239
 
#    define LT_DLGLOBAL         DL_GLOBAL
11240
 
#  else
11241
 
#    define LT_DLGLOBAL         0
11242
 
#  endif
11243
 
#endif
11244
 
 
11245
 
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11246
 
   find out it does not work in some platform. */
11247
 
#ifndef LT_DLLAZY_OR_NOW
11248
 
#  ifdef RTLD_LAZY
11249
 
#    define LT_DLLAZY_OR_NOW            RTLD_LAZY
11250
 
#  else
11251
 
#    ifdef DL_LAZY
11252
 
#      define LT_DLLAZY_OR_NOW          DL_LAZY
11253
 
#    else
11254
 
#      ifdef RTLD_NOW
11255
 
#        define LT_DLLAZY_OR_NOW        RTLD_NOW
11256
 
#      else
11257
 
#        ifdef DL_NOW
11258
 
#          define LT_DLLAZY_OR_NOW      DL_NOW
11259
 
#        else
11260
 
#          define LT_DLLAZY_OR_NOW      0
11261
 
#        endif
11262
 
#      endif
11263
 
#    endif
11264
 
#  endif
11265
 
#endif
11266
 
 
11267
 
void fnord() { int i=42;}
11268
 
int main ()
11269
 
{
11270
 
  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11271
 
  int status = $lt_dlunknown;
11272
 
 
11273
 
  if (self)
11274
 
    {
11275
 
      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11276
 
      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11277
 
      /* dlclose (self); */
11278
 
    }
11279
 
  else
11280
 
    puts (dlerror ());
11281
 
 
11282
 
  return status;
11283
 
}
11284
 
_LT_EOF
11285
 
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11286
 
  (eval $ac_link) 2>&5
11287
 
  ac_status=$?
11288
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11289
 
  test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11290
 
    (./conftest; exit; ) >&5 2>/dev/null
11291
 
    lt_status=$?
11292
 
    case x$lt_status in
11293
 
      x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11294
 
      x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11295
 
      x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11296
 
    esac
11297
 
  else :
11298
 
    # compilation failed
11299
 
    lt_cv_dlopen_self=no
11300
 
  fi
11301
 
fi
11302
 
rm -fr conftest*
11303
 
 
11304
 
    
11305
 
fi
11306
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11307
 
$as_echo "$lt_cv_dlopen_self" >&6; }
11308
 
 
11309
 
    if test "x$lt_cv_dlopen_self" = xyes; then
11310
 
      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11311
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11312
 
$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11313
 
if test "${lt_cv_dlopen_self_static+set}" = set; then :
11314
 
  $as_echo_n "(cached) " >&6
11315
 
else
11316
 
          if test "$cross_compiling" = yes; then :
11317
 
  lt_cv_dlopen_self_static=cross
11318
 
else
11319
 
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11320
 
  lt_status=$lt_dlunknown
11321
 
  cat > conftest.$ac_ext <<_LT_EOF
11322
 
#line __oline__ "configure"
11323
 
#include "confdefs.h"
11324
 
 
11325
 
#if HAVE_DLFCN_H
11326
 
#include <dlfcn.h>
11327
 
#endif
11328
 
 
11329
 
#include <stdio.h>
11330
 
 
11331
 
#ifdef RTLD_GLOBAL
11332
 
#  define LT_DLGLOBAL           RTLD_GLOBAL
11333
 
#else
11334
 
#  ifdef DL_GLOBAL
11335
 
#    define LT_DLGLOBAL         DL_GLOBAL
11336
 
#  else
11337
 
#    define LT_DLGLOBAL         0
11338
 
#  endif
11339
 
#endif
11340
 
 
11341
 
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11342
 
   find out it does not work in some platform. */
11343
 
#ifndef LT_DLLAZY_OR_NOW
11344
 
#  ifdef RTLD_LAZY
11345
 
#    define LT_DLLAZY_OR_NOW            RTLD_LAZY
11346
 
#  else
11347
 
#    ifdef DL_LAZY
11348
 
#      define LT_DLLAZY_OR_NOW          DL_LAZY
11349
 
#    else
11350
 
#      ifdef RTLD_NOW
11351
 
#        define LT_DLLAZY_OR_NOW        RTLD_NOW
11352
 
#      else
11353
 
#        ifdef DL_NOW
11354
 
#          define LT_DLLAZY_OR_NOW      DL_NOW
11355
 
#        else
11356
 
#          define LT_DLLAZY_OR_NOW      0
11357
 
#        endif
11358
 
#      endif
11359
 
#    endif
11360
 
#  endif
11361
 
#endif
11362
 
 
11363
 
void fnord() { int i=42;}
11364
 
int main ()
11365
 
{
11366
 
  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11367
 
  int status = $lt_dlunknown;
11368
 
 
11369
 
  if (self)
11370
 
    {
11371
 
      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11372
 
      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11373
 
      /* dlclose (self); */
11374
 
    }
11375
 
  else
11376
 
    puts (dlerror ());
11377
 
 
11378
 
  return status;
11379
 
}
11380
 
_LT_EOF
11381
 
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11382
 
  (eval $ac_link) 2>&5
11383
 
  ac_status=$?
11384
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11385
 
  test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11386
 
    (./conftest; exit; ) >&5 2>/dev/null
11387
 
    lt_status=$?
11388
 
    case x$lt_status in
11389
 
      x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11390
 
      x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11391
 
      x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11392
 
    esac
11393
 
  else :
11394
 
    # compilation failed
11395
 
    lt_cv_dlopen_self_static=no
11396
 
  fi
11397
 
fi
11398
 
rm -fr conftest*
11399
 
 
11400
 
      
11401
 
fi
11402
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11403
 
$as_echo "$lt_cv_dlopen_self_static" >&6; }
11404
 
    fi
11405
 
 
11406
 
    CPPFLAGS="$save_CPPFLAGS"
11407
 
    LDFLAGS="$save_LDFLAGS"
11408
 
    LIBS="$save_LIBS"
11409
 
    ;;
11410
 
  esac
11411
 
 
11412
 
  case $lt_cv_dlopen_self in
11413
 
  yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11414
 
  *) enable_dlopen_self=unknown ;;
11415
 
  esac
11416
 
 
11417
 
  case $lt_cv_dlopen_self_static in
11418
 
  yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11419
 
  *) enable_dlopen_self_static=unknown ;;
11420
 
  esac
11421
 
fi
11422
 
 
11423
 
    
11424
 
    
11425
 
    
11426
 
 
11427
 
 
11428
 
    
11429
 
    
11430
 
    
11431
 
 
11432
 
 
11433
 
    
11434
 
    
11435
 
    
11436
 
 
11437
 
 
11438
 
  
11439
 
striplib=
11440
 
old_striplib=
11441
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11442
 
$as_echo_n "checking whether stripping libraries is possible... " >&6; }
11443
 
if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11444
 
  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11445
 
  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11446
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11447
 
$as_echo "yes" >&6; }
11448
 
else
11449
 
# FIXME - insert some real tests, host_os isn't really good enough
11450
 
  case $host_os in
11451
 
  darwin*)
11452
 
    if test -n "$STRIP" ; then
11453
 
      striplib="$STRIP -x"
11454
 
      old_striplib="$STRIP -S"
11455
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11456
 
$as_echo "yes" >&6; }
11457
 
    else
11458
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11459
 
$as_echo "no" >&6; }
11460
 
    fi
11461
 
    ;;
11462
 
  *)
11463
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11464
 
$as_echo "no" >&6; }
11465
 
    ;;
11466
 
  esac
11467
 
fi
11468
 
 
11469
 
    
11470
 
    
11471
 
    
11472
 
 
11473
 
 
11474
 
    
11475
 
    
11476
 
    
11477
 
 
11478
 
 
11479
 
 
11480
 
  # Report which library types will actually be built
11481
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11482
 
$as_echo_n "checking if libtool supports shared libraries... " >&6; }
11483
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11484
 
$as_echo "$can_build_shared" >&6; }
11485
 
 
11486
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11487
 
$as_echo_n "checking whether to build shared libraries... " >&6; }
11488
 
  test "$can_build_shared" = "no" && enable_shared=no
11489
 
 
11490
 
  # On AIX, shared libraries and static libraries use the same namespace, and
11491
 
  # are all built from PIC.
11492
 
  case $host_os in
11493
 
  aix3*)
11494
 
    test "$enable_shared" = yes && enable_static=no
11495
 
    if test -n "$RANLIB"; then
11496
 
      archive_cmds="$archive_cmds~\$RANLIB \$lib"
11497
 
      postinstall_cmds='$RANLIB $lib'
11498
 
    fi
11499
 
    ;;
11500
 
 
11501
 
  aix[4-9]*)
11502
 
    if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11503
 
      test "$enable_shared" = yes && enable_static=no
11504
 
    fi
11505
 
    ;;
11506
 
  esac
11507
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11508
 
$as_echo "$enable_shared" >&6; }
11509
 
 
11510
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11511
 
$as_echo_n "checking whether to build static libraries... " >&6; }
11512
 
  # Make sure either enable_shared or enable_static is yes.
11513
 
  test "$enable_shared" = yes || enable_static=yes
11514
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11515
 
$as_echo "$enable_static" >&6; }
11516
 
 
11517
 
  
11518
 
 
11519
 
 
11520
 
fi
11521
 
ac_ext=c
11522
 
ac_cpp='$CPP $CPPFLAGS'
11523
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11524
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11525
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
11526
 
 
11527
 
CC="$lt_save_CC"
11528
 
 
11529
 
      
11530
 
ac_ext=cpp
11531
 
ac_cpp='$CXXCPP $CPPFLAGS'
11532
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11533
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11534
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11535
 
 
11536
 
archive_cmds_need_lc_CXX=no
11537
 
allow_undefined_flag_CXX=
11538
 
always_export_symbols_CXX=no
11539
 
archive_expsym_cmds_CXX=
11540
 
compiler_needs_object_CXX=no
11541
 
export_dynamic_flag_spec_CXX=
11542
 
hardcode_direct_CXX=no
11543
 
hardcode_direct_absolute_CXX=no
11544
 
hardcode_libdir_flag_spec_CXX=
11545
 
hardcode_libdir_flag_spec_ld_CXX=
11546
 
hardcode_libdir_separator_CXX=
11547
 
hardcode_minus_L_CXX=no
11548
 
hardcode_shlibpath_var_CXX=unsupported
11549
 
hardcode_automatic_CXX=no
11550
 
inherit_rpath_CXX=no
11551
 
module_cmds_CXX=
11552
 
module_expsym_cmds_CXX=
11553
 
link_all_deplibs_CXX=unknown
11554
 
old_archive_cmds_CXX=$old_archive_cmds
11555
 
no_undefined_flag_CXX=
11556
 
whole_archive_flag_spec_CXX=
11557
 
enable_shared_with_static_runtimes_CXX=no
11558
 
 
11559
 
# Source file extension for C++ test sources.
11560
 
ac_ext=cpp
11561
 
 
11562
 
# Object file extension for compiled C++ test sources.
11563
 
objext=o
11564
 
objext_CXX=$objext
11565
 
 
11566
 
# No sense in running all these tests if we already determined that
11567
 
# the CXX compiler isn't working.  Some variables (like enable_shared)
11568
 
# are currently assumed to apply to all compilers on this platform,
11569
 
# and will be corrupted by setting them based on a non-working compiler.
11570
 
if test "$_lt_caught_CXX_error" != yes; then
11571
 
  # Code to be used in simple compile tests
11572
 
  lt_simple_compile_test_code="int some_variable = 0;"
11573
 
 
11574
 
  # Code to be used in simple link tests
11575
 
  lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
11576
 
 
11577
 
  # ltmain only uses $CC for tagged configurations so make sure $CC is set.
11578
 
  
11579
 
 
11580
 
 
11581
 
 
11582
 
 
11583
 
 
11584
 
# If no C compiler was specified, use CC.
11585
 
LTCC=${LTCC-"$CC"}
11586
 
 
11587
 
# If no C compiler flags were specified, use CFLAGS.
11588
 
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
11589
 
 
11590
 
# Allow CC to be a program name with arguments.
11591
 
compiler=$CC
11592
 
 
11593
 
 
11594
 
  # save warnings/boilerplate of simple test code
11595
 
  ac_outfile=conftest.$ac_objext
11596
 
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
11597
 
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
11598
 
_lt_compiler_boilerplate=`cat conftest.err`
11599
 
$RM conftest*
11600
 
 
11601
 
  ac_outfile=conftest.$ac_objext
11602
 
echo "$lt_simple_link_test_code" >conftest.$ac_ext
11603
 
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
11604
 
_lt_linker_boilerplate=`cat conftest.err`
11605
 
$RM -r conftest*
11606
 
 
11607
 
 
11608
 
  # Allow CC to be a program name with arguments.
11609
 
  lt_save_CC=$CC
11610
 
  lt_save_LD=$LD
11611
 
  lt_save_GCC=$GCC
11612
 
  GCC=$GXX
11613
 
  lt_save_with_gnu_ld=$with_gnu_ld
11614
 
  lt_save_path_LD=$lt_cv_path_LD
11615
 
  if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
11616
 
    lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
11617
 
  else
11618
 
    $as_unset lt_cv_prog_gnu_ld
11619
 
  fi
11620
 
  if test -n "${lt_cv_path_LDCXX+set}"; then
11621
 
    lt_cv_path_LD=$lt_cv_path_LDCXX
11622
 
  else
11623
 
    $as_unset lt_cv_path_LD
11624
 
  fi
11625
 
  test -z "${LDCXX+set}" || LD=$LDCXX
11626
 
  CC=${CXX-"c++"}
11627
 
  compiler=$CC
11628
 
  compiler_CXX=$CC
11629
 
  for cc_temp in $compiler""; do
11630
 
  case $cc_temp in
11631
 
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
11632
 
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
11633
 
    \-*) ;;
11634
 
    *) break;;
11635
 
  esac
11636
 
done
11637
 
cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
11638
 
 
11639
 
 
11640
 
  if test -n "$compiler"; then
11641
 
    # We don't want -fno-exception when compiling C++ code, so set the
11642
 
    # no_builtin_flag separately
11643
 
    if test "$GXX" = yes; then
11644
 
      lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
11645
 
    else
11646
 
      lt_prog_compiler_no_builtin_flag_CXX=
11647
 
    fi
11648
 
 
11649
 
    if test "$GXX" = yes; then
11650
 
      # Set up default GNU C++ configuration
11651
 
 
11652
 
      
11653
 
 
11654
 
@%:@ Check whether --with-gnu-ld was given.
11655
 
if test "${with_gnu_ld+set}" = set; then :
11656
 
  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
11657
 
else
11658
 
  with_gnu_ld=no
11659
 
fi
11660
 
 
11661
 
ac_prog=ld
11662
 
if test "$GCC" = yes; then
11663
 
  # Check if gcc -print-prog-name=ld gives a path.
11664
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
11665
 
$as_echo_n "checking for ld used by $CC... " >&6; }
11666
 
  case $host in
11667
 
  *-*-mingw*)
11668
 
    # gcc leaves a trailing carriage return which upsets mingw
11669
 
    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
11670
 
  *)
11671
 
    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
11672
 
  esac
11673
 
  case $ac_prog in
11674
 
    # Accept absolute paths.
11675
 
    [\\/]* | ?:[\\/]*)
11676
 
      re_direlt='/[^/][^/]*/\.\./'
11677
 
      # Canonicalize the pathname of ld
11678
 
      ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
11679
 
      while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
11680
 
        ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
11681
 
      done
11682
 
      test -z "$LD" && LD="$ac_prog"
11683
 
      ;;
11684
 
  "")
11685
 
    # If it fails, then pretend we aren't using GCC.
11686
 
    ac_prog=ld
11687
 
    ;;
11688
 
  *)
11689
 
    # If it is relative, then search for the first ld in PATH.
11690
 
    with_gnu_ld=unknown
11691
 
    ;;
11692
 
  esac
11693
 
elif test "$with_gnu_ld" = yes; then
11694
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
11695
 
$as_echo_n "checking for GNU ld... " >&6; }
11696
 
else
11697
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
11698
 
$as_echo_n "checking for non-GNU ld... " >&6; }
11699
 
fi
11700
 
if test "${lt_cv_path_LD+set}" = set; then :
11701
 
  $as_echo_n "(cached) " >&6
11702
 
else
11703
 
  if test -z "$LD"; then
11704
 
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
11705
 
  for ac_dir in $PATH; do
11706
 
    IFS="$lt_save_ifs"
11707
 
    test -z "$ac_dir" && ac_dir=.
11708
 
    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
11709
 
      lt_cv_path_LD="$ac_dir/$ac_prog"
11710
 
      # Check to see if the program is GNU ld.  I'd rather use --version,
11711
 
      # but apparently some variants of GNU ld only accept -v.
11712
 
      # Break only if it was the GNU/non-GNU ld that we prefer.
11713
 
      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
11714
 
      *GNU* | *'with BFD'*)
11715
 
        test "$with_gnu_ld" != no && break
11716
 
        ;;
11717
 
      *)
11718
 
        test "$with_gnu_ld" != yes && break
11719
 
        ;;
11720
 
      esac
11721
 
    fi
11722
 
  done
11723
 
  IFS="$lt_save_ifs"
11724
 
else
11725
 
  lt_cv_path_LD="$LD" # Let the user override the test with a path.
11726
 
fi
11727
 
fi
11728
 
 
11729
 
LD="$lt_cv_path_LD"
11730
 
if test -n "$LD"; then
11731
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
11732
 
$as_echo "$LD" >&6; }
11733
 
else
11734
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11735
 
$as_echo "no" >&6; }
11736
 
fi
11737
 
test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5 
11738
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
11739
 
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
11740
 
if test "${lt_cv_prog_gnu_ld+set}" = set; then :
11741
 
  $as_echo_n "(cached) " >&6
11742
 
else
11743
 
  # I'd rather use --version here, but apparently some GNU lds only accept -v.
11744
 
case `$LD -v 2>&1 </dev/null` in
11745
 
*GNU* | *'with BFD'*)
11746
 
  lt_cv_prog_gnu_ld=yes
11747
 
  ;;
11748
 
*)
11749
 
  lt_cv_prog_gnu_ld=no
11750
 
  ;;
11751
 
esac
11752
 
fi
11753
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
11754
 
$as_echo "$lt_cv_prog_gnu_ld" >&6; }
11755
 
with_gnu_ld=$lt_cv_prog_gnu_ld
11756
 
 
11757
 
 
11758
 
 
11759
 
 
11760
 
 
11761
 
 
11762
 
 
11763
 
      # Check if GNU C++ uses GNU ld as the underlying linker, since the
11764
 
      # archiving commands below assume that GNU ld is being used.
11765
 
      if test "$with_gnu_ld" = yes; then
11766
 
        archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11767
 
        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'
11768
 
 
11769
 
        hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
11770
 
        export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
11771
 
 
11772
 
        # If archive_cmds runs LD, not CC, wlarc should be empty
11773
 
        # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
11774
 
        #     investigate it a little bit more. (MM)
11775
 
        wlarc='${wl}'
11776
 
 
11777
 
        # ancient GNU ld didn't support --whole-archive et. al.
11778
 
        if eval "`$CC -print-prog-name=ld` --help 2>&1" |
11779
 
          $GREP 'no-whole-archive' > /dev/null; then
11780
 
          whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
11781
 
        else
11782
 
          whole_archive_flag_spec_CXX=
11783
 
        fi
11784
 
      else
11785
 
        with_gnu_ld=no
11786
 
        wlarc=
11787
 
 
11788
 
        # A generic and very simple default shared library creation
11789
 
        # command for GNU C++ for the case where it uses the native
11790
 
        # linker, instead of GNU ld.  If possible, this setting should
11791
 
        # overridden to take advantage of the native linker features on
11792
 
        # the platform it is being used on.
11793
 
        archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
11794
 
      fi
11795
 
 
11796
 
      # Commands to make compiler produce verbose output that lists
11797
 
      # what "hidden" libraries, object files and flags are used when
11798
 
      # linking a shared library.
11799
 
      output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
11800
 
 
11801
 
    else
11802
 
      GXX=no
11803
 
      with_gnu_ld=no
11804
 
      wlarc=
11805
 
    fi
11806
 
 
11807
 
    # PORTME: fill in a description of your system's C++ link characteristics
11808
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
11809
 
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
11810
 
    ld_shlibs_CXX=yes
11811
 
    case $host_os in
11812
 
      aix3*)
11813
 
        # FIXME: insert proper C++ library support
11814
 
        ld_shlibs_CXX=no
11815
 
        ;;
11816
 
      aix[4-9]*)
11817
 
        if test "$host_cpu" = ia64; then
11818
 
          # On IA64, the linker does run time linking by default, so we don't
11819
 
          # have to do anything special.
11820
 
          aix_use_runtimelinking=no
11821
 
          exp_sym_flag='-Bexport'
11822
 
          no_entry_flag=""
11823
 
        else
11824
 
          aix_use_runtimelinking=no
11825
 
 
11826
 
          # Test if we are trying to use run time linking or normal
11827
 
          # AIX style linking. If -brtl is somewhere in LDFLAGS, we
11828
 
          # need to do runtime linking.
11829
 
          case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
11830
 
            for ld_flag in $LDFLAGS; do
11831
 
              case $ld_flag in
11832
 
              *-brtl*)
11833
 
                aix_use_runtimelinking=yes
11834
 
                break
11835
 
                ;;
11836
 
              esac
11837
 
            done
11838
 
            ;;
11839
 
          esac
11840
 
 
11841
 
          exp_sym_flag='-bexport'
11842
 
          no_entry_flag='-bnoentry'
11843
 
        fi
11844
 
 
11845
 
        # When large executables or shared objects are built, AIX ld can
11846
 
        # have problems creating the table of contents.  If linking a library
11847
 
        # or program results in "error TOC overflow" add -mminimal-toc to
11848
 
        # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
11849
 
        # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
11850
 
 
11851
 
        archive_cmds_CXX=''
11852
 
        hardcode_direct_CXX=yes
11853
 
        hardcode_direct_absolute_CXX=yes
11854
 
        hardcode_libdir_separator_CXX=':'
11855
 
        link_all_deplibs_CXX=yes
11856
 
        file_list_spec_CXX='${wl}-f,'
11857
 
 
11858
 
        if test "$GXX" = yes; then
11859
 
          case $host_os in aix4.[012]|aix4.[012].*)
11860
 
          # We only want to do this on AIX 4.2 and lower, the check
11861
 
          # below for broken collect2 doesn't work under 4.3+
11862
 
          collect2name=`${CC} -print-prog-name=collect2`
11863
 
          if test -f "$collect2name" &&
11864
 
             strings "$collect2name" | $GREP resolve_lib_name >/dev/null
11865
 
          then
11866
 
            # We have reworked collect2
11867
 
            :
11868
 
          else
11869
 
            # We have old collect2
11870
 
            hardcode_direct_CXX=unsupported
11871
 
            # It fails to find uninstalled libraries when the uninstalled
11872
 
            # path is not listed in the libpath.  Setting hardcode_minus_L
11873
 
            # to unsupported forces relinking
11874
 
            hardcode_minus_L_CXX=yes
11875
 
            hardcode_libdir_flag_spec_CXX='-L$libdir'
11876
 
            hardcode_libdir_separator_CXX=
11877
 
          fi
11878
 
          esac
11879
 
          shared_flag='-shared'
11880
 
          if test "$aix_use_runtimelinking" = yes; then
11881
 
            shared_flag="$shared_flag "'${wl}-G'
11882
 
          fi
11883
 
        else
11884
 
          # not using gcc
11885
 
          if test "$host_cpu" = ia64; then
11886
 
          # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
11887
 
          # chokes on -Wl,-G. The following line is correct:
11888
 
          shared_flag='-G'
11889
 
          else
11890
 
            if test "$aix_use_runtimelinking" = yes; then
11891
 
              shared_flag='${wl}-G'
11892
 
            else
11893
 
              shared_flag='${wl}-bM:SRE'
11894
 
            fi
11895
 
          fi
11896
 
        fi
11897
 
 
11898
 
        export_dynamic_flag_spec_CXX='${wl}-bexpall'
11899
 
        # It seems that -bexpall does not export symbols beginning with
11900
 
        # underscore (_), so it is better to generate a list of symbols to
11901
 
        # export.
11902
 
        always_export_symbols_CXX=yes
11903
 
        if test "$aix_use_runtimelinking" = yes; then
11904
 
          # Warning - without using the other runtime loading flags (-brtl),
11905
 
          # -berok will link without error, but may produce a broken library.
11906
 
          allow_undefined_flag_CXX='-berok'
11907
 
          # Determine the default libpath from the value encoded in an empty
11908
 
          # executable.
11909
 
          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11910
 
/* end confdefs.h.  */
11911
 
 
11912
 
int
11913
 
main ()
11914
 
{
11915
 
 
11916
 
  ;
11917
 
  return 0;
11918
 
}
11919
 
_ACEOF
11920
 
if ac_fn_cxx_try_link "$LINENO"; then :
11921
 
  
11922
 
lt_aix_libpath_sed='
11923
 
    /Import File Strings/,/^$/ {
11924
 
        /^0/ {
11925
 
            s/^0  *\(.*\)$/\1/
11926
 
            p
11927
 
        }
11928
 
    }'
11929
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11930
 
# Check for a 64-bit object if we didn't find anything.
11931
 
if test -z "$aix_libpath"; then
11932
 
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11933
 
fi
11934
 
fi
11935
 
rm -f core conftest.err conftest.$ac_objext \
11936
 
    conftest$ac_exeext conftest.$ac_ext
11937
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
11938
 
 
11939
 
          hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
11940
 
 
11941
 
          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"
11942
 
        else
11943
 
          if test "$host_cpu" = ia64; then
11944
 
            hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
11945
 
            allow_undefined_flag_CXX="-z nodefs"
11946
 
            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"
11947
 
          else
11948
 
            # Determine the default libpath from the value encoded in an
11949
 
            # empty executable.
11950
 
            cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11951
 
/* end confdefs.h.  */
11952
 
 
11953
 
int
11954
 
main ()
11955
 
{
11956
 
 
11957
 
  ;
11958
 
  return 0;
11959
 
}
11960
 
_ACEOF
11961
 
if ac_fn_cxx_try_link "$LINENO"; then :
11962
 
  
11963
 
lt_aix_libpath_sed='
11964
 
    /Import File Strings/,/^$/ {
11965
 
        /^0/ {
11966
 
            s/^0  *\(.*\)$/\1/
11967
 
            p
11968
 
        }
11969
 
    }'
11970
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11971
 
# Check for a 64-bit object if we didn't find anything.
11972
 
if test -z "$aix_libpath"; then
11973
 
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11974
 
fi
11975
 
fi
11976
 
rm -f core conftest.err conftest.$ac_objext \
11977
 
    conftest$ac_exeext conftest.$ac_ext
11978
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
11979
 
 
11980
 
            hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
11981
 
            # Warning - without using the other run time loading flags,
11982
 
            # -berok will link without error, but may produce a broken library.
11983
 
            no_undefined_flag_CXX=' ${wl}-bernotok'
11984
 
            allow_undefined_flag_CXX=' ${wl}-berok'
11985
 
            # Exported symbols can be pulled into shared objects from archives
11986
 
            whole_archive_flag_spec_CXX='$convenience'
11987
 
            archive_cmds_need_lc_CXX=yes
11988
 
            # This is similar to how AIX traditionally builds its shared
11989
 
            # libraries.
11990
 
            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'
11991
 
          fi
11992
 
        fi
11993
 
        ;;
11994
 
 
11995
 
      beos*)
11996
 
        if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
11997
 
          allow_undefined_flag_CXX=unsupported
11998
 
          # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
11999
 
          # support --undefined.  This deserves some investigation.  FIXME
12000
 
          archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12001
 
        else
12002
 
          ld_shlibs_CXX=no
12003
 
        fi
12004
 
        ;;
12005
 
 
12006
 
      chorus*)
12007
 
        case $cc_basename in
12008
 
          *)
12009
 
          # FIXME: insert proper C++ library support
12010
 
          ld_shlibs_CXX=no
12011
 
          ;;
12012
 
        esac
12013
 
        ;;
12014
 
 
12015
 
      cygwin* | mingw* | pw32* | cegcc*)
12016
 
        # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
12017
 
        # as there is no search path for DLLs.
12018
 
        hardcode_libdir_flag_spec_CXX='-L$libdir'
12019
 
        allow_undefined_flag_CXX=unsupported
12020
 
        always_export_symbols_CXX=no
12021
 
        enable_shared_with_static_runtimes_CXX=yes
12022
 
 
12023
 
        if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
12024
 
          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'
12025
 
          # If the export-symbols file already is a .def file (1st line
12026
 
          # is EXPORTS), use it as is; otherwise, prepend...
12027
 
          archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12028
 
            cp $export_symbols $output_objdir/$soname.def;
12029
 
          else
12030
 
            echo EXPORTS > $output_objdir/$soname.def;
12031
 
            cat $export_symbols >> $output_objdir/$soname.def;
12032
 
          fi~
12033
 
          $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'
12034
 
        else
12035
 
          ld_shlibs_CXX=no
12036
 
        fi
12037
 
        ;;
12038
 
      darwin* | rhapsody*)
12039
 
        
12040
 
  
12041
 
  archive_cmds_need_lc_CXX=no
12042
 
  hardcode_direct_CXX=no
12043
 
  hardcode_automatic_CXX=yes
12044
 
  hardcode_shlibpath_var_CXX=unsupported
12045
 
  whole_archive_flag_spec_CXX=''
12046
 
  link_all_deplibs_CXX=yes
12047
 
  allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
12048
 
  case $cc_basename in
12049
 
     ifort*) _lt_dar_can_shared=yes ;;
12050
 
     *) _lt_dar_can_shared=$GCC ;;
12051
 
  esac
12052
 
  if test "$_lt_dar_can_shared" = "yes"; then
12053
 
    output_verbose_link_cmd=echo
12054
 
    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}"
12055
 
    module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
12056
 
    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}"
12057
 
    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}"
12058
 
       if test "$lt_cv_apple_cc_single_mod" != "yes"; then
12059
 
      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}"
12060
 
      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}"
12061
 
    fi
12062
 
 
12063
 
  else
12064
 
  ld_shlibs_CXX=no
12065
 
  fi
12066
 
 
12067
 
        ;;
12068
 
 
12069
 
      dgux*)
12070
 
        case $cc_basename in
12071
 
          ec++*)
12072
 
            # FIXME: insert proper C++ library support
12073
 
            ld_shlibs_CXX=no
12074
 
            ;;
12075
 
          ghcx*)
12076
 
            # Green Hills C++ Compiler
12077
 
            # FIXME: insert proper C++ library support
12078
 
            ld_shlibs_CXX=no
12079
 
            ;;
12080
 
          *)
12081
 
            # FIXME: insert proper C++ library support
12082
 
            ld_shlibs_CXX=no
12083
 
            ;;
12084
 
        esac
12085
 
        ;;
12086
 
 
12087
 
      freebsd[12]*)
12088
 
        # C++ shared libraries reported to be fairly broken before
12089
 
        # switch to ELF
12090
 
        ld_shlibs_CXX=no
12091
 
        ;;
12092
 
 
12093
 
      freebsd-elf*)
12094
 
        archive_cmds_need_lc_CXX=no
12095
 
        ;;
12096
 
 
12097
 
      freebsd* | dragonfly*)
12098
 
        # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
12099
 
        # conventions
12100
 
        ld_shlibs_CXX=yes
12101
 
        ;;
12102
 
 
12103
 
      gnu*)
12104
 
        ;;
12105
 
 
12106
 
      hpux9*)
12107
 
        hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12108
 
        hardcode_libdir_separator_CXX=:
12109
 
        export_dynamic_flag_spec_CXX='${wl}-E'
12110
 
        hardcode_direct_CXX=yes
12111
 
        hardcode_minus_L_CXX=yes # Not in the search PATH,
12112
 
                                             # but as the default
12113
 
                                             # location of the library.
12114
 
 
12115
 
        case $cc_basename in
12116
 
          CC*)
12117
 
            # FIXME: insert proper C++ library support
12118
 
            ld_shlibs_CXX=no
12119
 
            ;;
12120
 
          aCC*)
12121
 
            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'
12122
 
            # Commands to make compiler produce verbose output that lists
12123
 
            # what "hidden" libraries, object files and flags are used when
12124
 
            # linking a shared library.
12125
 
            #
12126
 
            # There doesn't appear to be a way to prevent this compiler from
12127
 
            # explicitly linking system object files so we need to strip them
12128
 
            # from the output so that they don't get included in the library
12129
 
            # dependencies.
12130
 
            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'
12131
 
            ;;
12132
 
          *)
12133
 
            if test "$GXX" = yes; then
12134
 
              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'
12135
 
            else
12136
 
              # FIXME: insert proper C++ library support
12137
 
              ld_shlibs_CXX=no
12138
 
            fi
12139
 
            ;;
12140
 
        esac
12141
 
        ;;
12142
 
 
12143
 
      hpux10*|hpux11*)
12144
 
        if test $with_gnu_ld = no; then
12145
 
          hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12146
 
          hardcode_libdir_separator_CXX=:
12147
 
 
12148
 
          case $host_cpu in
12149
 
            hppa*64*|ia64*)
12150
 
              ;;
12151
 
            *)
12152
 
              export_dynamic_flag_spec_CXX='${wl}-E'
12153
 
              ;;
12154
 
          esac
12155
 
        fi
12156
 
        case $host_cpu in
12157
 
          hppa*64*|ia64*)
12158
 
            hardcode_direct_CXX=no
12159
 
            hardcode_shlibpath_var_CXX=no
12160
 
            ;;
12161
 
          *)
12162
 
            hardcode_direct_CXX=yes
12163
 
            hardcode_direct_absolute_CXX=yes
12164
 
            hardcode_minus_L_CXX=yes # Not in the search PATH,
12165
 
                                                 # but as the default
12166
 
                                                 # location of the library.
12167
 
            ;;
12168
 
        esac
12169
 
 
12170
 
        case $cc_basename in
12171
 
          CC*)
12172
 
            # FIXME: insert proper C++ library support
12173
 
            ld_shlibs_CXX=no
12174
 
            ;;
12175
 
          aCC*)
12176
 
            case $host_cpu in
12177
 
              hppa*64*)
12178
 
                archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12179
 
                ;;
12180
 
              ia64*)
12181
 
                archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12182
 
                ;;
12183
 
              *)
12184
 
                archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12185
 
                ;;
12186
 
            esac
12187
 
            # Commands to make compiler produce verbose output that lists
12188
 
            # what "hidden" libraries, object files and flags are used when
12189
 
            # linking a shared library.
12190
 
            #
12191
 
            # There doesn't appear to be a way to prevent this compiler from
12192
 
            # explicitly linking system object files so we need to strip them
12193
 
            # from the output so that they don't get included in the library
12194
 
            # dependencies.
12195
 
            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'
12196
 
            ;;
12197
 
          *)
12198
 
            if test "$GXX" = yes; then
12199
 
              if test $with_gnu_ld = no; then
12200
 
                case $host_cpu in
12201
 
                  hppa*64*)
12202
 
                    archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12203
 
                    ;;
12204
 
                  ia64*)
12205
 
                    archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12206
 
                    ;;
12207
 
                  *)
12208
 
                    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'
12209
 
                    ;;
12210
 
                esac
12211
 
              fi
12212
 
            else
12213
 
              # FIXME: insert proper C++ library support
12214
 
              ld_shlibs_CXX=no
12215
 
            fi
12216
 
            ;;
12217
 
        esac
12218
 
        ;;
12219
 
 
12220
 
      interix[3-9]*)
12221
 
        hardcode_direct_CXX=no
12222
 
        hardcode_shlibpath_var_CXX=no
12223
 
        hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12224
 
        export_dynamic_flag_spec_CXX='${wl}-E'
12225
 
        # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12226
 
        # Instead, shared libraries are loaded at an image base (0x10000000 by
12227
 
        # default) and relocated if they conflict, which is a slow very memory
12228
 
        # consuming and fragmenting process.  To avoid this, we pick a random,
12229
 
        # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12230
 
        # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
12231
 
        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'
12232
 
        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'
12233
 
        ;;
12234
 
      irix5* | irix6*)
12235
 
        case $cc_basename in
12236
 
          CC*)
12237
 
            # SGI C++
12238
 
            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'
12239
 
 
12240
 
            # Archives containing C++ object files must be created using
12241
 
            # "CC -ar", where "CC" is the IRIX C++ compiler.  This is
12242
 
            # necessary to make sure instantiated templates are included
12243
 
            # in the archive.
12244
 
            old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
12245
 
            ;;
12246
 
          *)
12247
 
            if test "$GXX" = yes; then
12248
 
              if test "$with_gnu_ld" = no; then
12249
 
                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'
12250
 
              else
12251
 
                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'
12252
 
              fi
12253
 
            fi
12254
 
            link_all_deplibs_CXX=yes
12255
 
            ;;
12256
 
        esac
12257
 
        hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12258
 
        hardcode_libdir_separator_CXX=:
12259
 
        inherit_rpath_CXX=yes
12260
 
        ;;
12261
 
 
12262
 
      linux* | k*bsd*-gnu | kopensolaris*-gnu)
12263
 
        case $cc_basename in
12264
 
          KCC*)
12265
 
            # Kuck and Associates, Inc. (KAI) C++ Compiler
12266
 
 
12267
 
            # KCC will only create a shared library if the output file
12268
 
            # ends with ".so" (or ".sl" for HP-UX), so rename the library
12269
 
            # to its proper name (with version) after linking.
12270
 
            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'
12271
 
            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'
12272
 
            # Commands to make compiler produce verbose output that lists
12273
 
            # what "hidden" libraries, object files and flags are used when
12274
 
            # linking a shared library.
12275
 
            #
12276
 
            # There doesn't appear to be a way to prevent this compiler from
12277
 
            # explicitly linking system object files so we need to strip them
12278
 
            # from the output so that they don't get included in the library
12279
 
            # dependencies.
12280
 
            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'
12281
 
 
12282
 
            hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12283
 
            export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12284
 
 
12285
 
            # Archives containing C++ object files must be created using
12286
 
            # "CC -Bstatic", where "CC" is the KAI C++ compiler.
12287
 
            old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
12288
 
            ;;
12289
 
          icpc* | ecpc* )
12290
 
            # Intel C++
12291
 
            with_gnu_ld=yes
12292
 
            # version 8.0 and above of icpc choke on multiply defined symbols
12293
 
            # if we add $predep_objects and $postdep_objects, however 7.1 and
12294
 
            # earlier do not add the objects themselves.
12295
 
            case `$CC -V 2>&1` in
12296
 
              *"Version 7."*)
12297
 
                archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12298
 
                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'
12299
 
                ;;
12300
 
              *)  # Version 8.0 or newer
12301
 
                tmp_idyn=
12302
 
                case $host_cpu in
12303
 
                  ia64*) tmp_idyn=' -i_dynamic';;
12304
 
                esac
12305
 
                archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12306
 
                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'
12307
 
                ;;
12308
 
            esac
12309
 
            archive_cmds_need_lc_CXX=no
12310
 
            hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12311
 
            export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12312
 
            whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12313
 
            ;;
12314
 
          pgCC* | pgcpp*)
12315
 
            # Portland Group C++ compiler
12316
 
            case `$CC -V` in
12317
 
            *pgCC\ [1-5]* | *pgcpp\ [1-5]*)
12318
 
              prelink_cmds_CXX='tpldir=Template.dir~
12319
 
                rm -rf $tpldir~
12320
 
                $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
12321
 
                compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
12322
 
              old_archive_cmds_CXX='tpldir=Template.dir~
12323
 
                rm -rf $tpldir~
12324
 
                $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
12325
 
                $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
12326
 
                $RANLIB $oldlib'
12327
 
              archive_cmds_CXX='tpldir=Template.dir~
12328
 
                rm -rf $tpldir~
12329
 
                $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12330
 
                $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12331
 
              archive_expsym_cmds_CXX='tpldir=Template.dir~
12332
 
                rm -rf $tpldir~
12333
 
                $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12334
 
                $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'
12335
 
              ;;
12336
 
            *) # Version 6 will use weak symbols
12337
 
              archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12338
 
              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'
12339
 
              ;;
12340
 
            esac
12341
 
 
12342
 
            hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
12343
 
            export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12344
 
            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'
12345
 
            ;;
12346
 
          cxx*)
12347
 
            # Compaq C++
12348
 
            archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12349
 
            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'
12350
 
 
12351
 
            runpath_var=LD_RUN_PATH
12352
 
            hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12353
 
            hardcode_libdir_separator_CXX=:
12354
 
 
12355
 
            # Commands to make compiler produce verbose output that lists
12356
 
            # what "hidden" libraries, object files and flags are used when
12357
 
            # linking a shared library.
12358
 
            #
12359
 
            # There doesn't appear to be a way to prevent this compiler from
12360
 
            # explicitly linking system object files so we need to strip them
12361
 
            # from the output so that they don't get included in the library
12362
 
            # dependencies.
12363
 
            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'
12364
 
            ;;
12365
 
          xl*)
12366
 
            # IBM XL 8.0 on PPC, with GNU ld
12367
 
            hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12368
 
            export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12369
 
            archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12370
 
            if test "x$supports_anon_versioning" = xyes; then
12371
 
              archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
12372
 
                cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12373
 
                echo "local: *; };" >> $output_objdir/$libname.ver~
12374
 
                $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
12375
 
            fi
12376
 
            ;;
12377
 
          *)
12378
 
            case `$CC -V 2>&1 | sed 5q` in
12379
 
            *Sun\ C*)
12380
 
              # Sun C++ 5.9
12381
 
              no_undefined_flag_CXX=' -zdefs'
12382
 
              archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12383
 
              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'
12384
 
              hardcode_libdir_flag_spec_CXX='-R$libdir'
12385
 
              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'
12386
 
              compiler_needs_object_CXX=yes
12387
 
 
12388
 
              # Not sure whether something based on
12389
 
              # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
12390
 
              # would be better.
12391
 
              output_verbose_link_cmd='echo'
12392
 
 
12393
 
              # Archives containing C++ object files must be created using
12394
 
              # "CC -xar", where "CC" is the Sun C++ compiler.  This is
12395
 
              # necessary to make sure instantiated templates are included
12396
 
              # in the archive.
12397
 
              old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
12398
 
              ;;
12399
 
            esac
12400
 
            ;;
12401
 
        esac
12402
 
        ;;
12403
 
 
12404
 
      lynxos*)
12405
 
        # FIXME: insert proper C++ library support
12406
 
        ld_shlibs_CXX=no
12407
 
        ;;
12408
 
 
12409
 
      m88k*)
12410
 
        # FIXME: insert proper C++ library support
12411
 
        ld_shlibs_CXX=no
12412
 
        ;;
12413
 
 
12414
 
      mvs*)
12415
 
        case $cc_basename in
12416
 
          cxx*)
12417
 
            # FIXME: insert proper C++ library support
12418
 
            ld_shlibs_CXX=no
12419
 
            ;;
12420
 
          *)
12421
 
            # FIXME: insert proper C++ library support
12422
 
            ld_shlibs_CXX=no
12423
 
            ;;
12424
 
        esac
12425
 
        ;;
12426
 
 
12427
 
      netbsd*)
12428
 
        if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12429
 
          archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
12430
 
          wlarc=
12431
 
          hardcode_libdir_flag_spec_CXX='-R$libdir'
12432
 
          hardcode_direct_CXX=yes
12433
 
          hardcode_shlibpath_var_CXX=no
12434
 
        fi
12435
 
        # Workaround some broken pre-1.5 toolchains
12436
 
        output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
12437
 
        ;;
12438
 
 
12439
 
      *nto* | *qnx*)
12440
 
        ld_shlibs_CXX=yes
12441
 
        ;;
12442
 
 
12443
 
      openbsd2*)
12444
 
        # C++ shared libraries are fairly broken
12445
 
        ld_shlibs_CXX=no
12446
 
        ;;
12447
 
 
12448
 
      openbsd*)
12449
 
        if test -f /usr/libexec/ld.so; then
12450
 
          hardcode_direct_CXX=yes
12451
 
          hardcode_shlibpath_var_CXX=no
12452
 
          hardcode_direct_absolute_CXX=yes
12453
 
          archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12454
 
          hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12455
 
          if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12456
 
            archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
12457
 
            export_dynamic_flag_spec_CXX='${wl}-E'
12458
 
            whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12459
 
          fi
12460
 
          output_verbose_link_cmd=echo
12461
 
        else
12462
 
          ld_shlibs_CXX=no
12463
 
        fi
12464
 
        ;;
12465
 
 
12466
 
      osf3* | osf4* | osf5*)
12467
 
        case $cc_basename in
12468
 
          KCC*)
12469
 
            # Kuck and Associates, Inc. (KAI) C++ Compiler
12470
 
 
12471
 
            # KCC will only create a shared library if the output file
12472
 
            # ends with ".so" (or ".sl" for HP-UX), so rename the library
12473
 
            # to its proper name (with version) after linking.
12474
 
            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'
12475
 
 
12476
 
            hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12477
 
            hardcode_libdir_separator_CXX=:
12478
 
 
12479
 
            # Archives containing C++ object files must be created using
12480
 
            # the KAI C++ compiler.
12481
 
            case $host in
12482
 
              osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
12483
 
              *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
12484
 
            esac
12485
 
            ;;
12486
 
          RCC*)
12487
 
            # Rational C++ 2.4.1
12488
 
            # FIXME: insert proper C++ library support
12489
 
            ld_shlibs_CXX=no
12490
 
            ;;
12491
 
          cxx*)
12492
 
            case $host in
12493
 
              osf3*)
12494
 
                allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
12495
 
                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'
12496
 
                hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12497
 
                ;;
12498
 
              *)
12499
 
                allow_undefined_flag_CXX=' -expect_unresolved \*'
12500
 
                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'
12501
 
                archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
12502
 
                  echo "-hidden">> $lib.exp~
12503
 
                  $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~
12504
 
                  $RM $lib.exp'
12505
 
                hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12506
 
                ;;
12507
 
            esac
12508
 
 
12509
 
            hardcode_libdir_separator_CXX=:
12510
 
 
12511
 
            # Commands to make compiler produce verbose output that lists
12512
 
            # what "hidden" libraries, object files and flags are used when
12513
 
            # linking a shared library.
12514
 
            #
12515
 
            # There doesn't appear to be a way to prevent this compiler from
12516
 
            # explicitly linking system object files so we need to strip them
12517
 
            # from the output so that they don't get included in the library
12518
 
            # dependencies.
12519
 
            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'
12520
 
            ;;
12521
 
          *)
12522
 
            if test "$GXX" = yes && test "$with_gnu_ld" = no; then
12523
 
              allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
12524
 
              case $host in
12525
 
                osf3*)
12526
 
                  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'
12527
 
                  ;;
12528
 
                *)
12529
 
                  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'
12530
 
                  ;;
12531
 
              esac
12532
 
 
12533
 
              hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12534
 
              hardcode_libdir_separator_CXX=:
12535
 
 
12536
 
              # Commands to make compiler produce verbose output that lists
12537
 
              # what "hidden" libraries, object files and flags are used when
12538
 
              # linking a shared library.
12539
 
              output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
12540
 
 
12541
 
            else
12542
 
              # FIXME: insert proper C++ library support
12543
 
              ld_shlibs_CXX=no
12544
 
            fi
12545
 
            ;;
12546
 
        esac
12547
 
        ;;
12548
 
 
12549
 
      psos*)
12550
 
        # FIXME: insert proper C++ library support
12551
 
        ld_shlibs_CXX=no
12552
 
        ;;
12553
 
 
12554
 
      sunos4*)
12555
 
        case $cc_basename in
12556
 
          CC*)
12557
 
            # Sun C++ 4.x
12558
 
            # FIXME: insert proper C++ library support
12559
 
            ld_shlibs_CXX=no
12560
 
            ;;
12561
 
          lcc*)
12562
 
            # Lucid
12563
 
            # FIXME: insert proper C++ library support
12564
 
            ld_shlibs_CXX=no
12565
 
            ;;
12566
 
          *)
12567
 
            # FIXME: insert proper C++ library support
12568
 
            ld_shlibs_CXX=no
12569
 
            ;;
12570
 
        esac
12571
 
        ;;
12572
 
 
12573
 
      solaris*)
12574
 
        case $cc_basename in
12575
 
          CC*)
12576
 
            # Sun C++ 4.2, 5.x and Centerline C++
12577
 
            archive_cmds_need_lc_CXX=yes
12578
 
            no_undefined_flag_CXX=' -zdefs'
12579
 
            archive_cmds_CXX='$CC -G${allow_undefined_flag}  -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12580
 
            archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12581
 
              $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'
12582
 
 
12583
 
            hardcode_libdir_flag_spec_CXX='-R$libdir'
12584
 
            hardcode_shlibpath_var_CXX=no
12585
 
            case $host_os in
12586
 
              solaris2.[0-5] | solaris2.[0-5].*) ;;
12587
 
              *)
12588
 
                # The compiler driver will combine and reorder linker options,
12589
 
                # but understands `-z linker_flag'.
12590
 
                # Supported since Solaris 2.6 (maybe 2.5.1?)
12591
 
                whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
12592
 
                ;;
12593
 
            esac
12594
 
            link_all_deplibs_CXX=yes
12595
 
 
12596
 
            output_verbose_link_cmd='echo'
12597
 
 
12598
 
            # Archives containing C++ object files must be created using
12599
 
            # "CC -xar", where "CC" is the Sun C++ compiler.  This is
12600
 
            # necessary to make sure instantiated templates are included
12601
 
            # in the archive.
12602
 
            old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
12603
 
            ;;
12604
 
          gcx*)
12605
 
            # Green Hills C++ Compiler
12606
 
            archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12607
 
 
12608
 
            # The C++ compiler must be used to create the archive.
12609
 
            old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
12610
 
            ;;
12611
 
          *)
12612
 
            # GNU C++ compiler with Solaris linker
12613
 
            if test "$GXX" = yes && test "$with_gnu_ld" = no; then
12614
 
              no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
12615
 
              if $CC --version | $GREP -v '^2\.7' > /dev/null; then
12616
 
                archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12617
 
                archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12618
 
                  $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
12619
 
 
12620
 
                # Commands to make compiler produce verbose output that lists
12621
 
                # what "hidden" libraries, object files and flags are used when
12622
 
                # linking a shared library.
12623
 
                output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
12624
 
              else
12625
 
                # g++ 2.7 appears to require `-G' NOT `-shared' on this
12626
 
                # platform.
12627
 
                archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12628
 
                archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12629
 
                  $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
12630
 
 
12631
 
                # Commands to make compiler produce verbose output that lists
12632
 
                # what "hidden" libraries, object files and flags are used when
12633
 
                # linking a shared library.
12634
 
                output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
12635
 
              fi
12636
 
 
12637
 
              hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
12638
 
              case $host_os in
12639
 
                solaris2.[0-5] | solaris2.[0-5].*) ;;
12640
 
                *)
12641
 
                  whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
12642
 
                  ;;
12643
 
              esac
12644
 
            fi
12645
 
            ;;
12646
 
        esac
12647
 
        ;;
12648
 
 
12649
 
    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
12650
 
      no_undefined_flag_CXX='${wl}-z,text'
12651
 
      archive_cmds_need_lc_CXX=no
12652
 
      hardcode_shlibpath_var_CXX=no
12653
 
      runpath_var='LD_RUN_PATH'
12654
 
 
12655
 
      case $cc_basename in
12656
 
        CC*)
12657
 
          archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12658
 
          archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12659
 
          ;;
12660
 
        *)
12661
 
          archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12662
 
          archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12663
 
          ;;
12664
 
      esac
12665
 
      ;;
12666
 
 
12667
 
      sysv5* | sco3.2v5* | sco5v6*)
12668
 
        # Note: We can NOT use -z defs as we might desire, because we do not
12669
 
        # link with -lc, and that would cause any symbols used from libc to
12670
 
        # always be unresolved, which means just about no library would
12671
 
        # ever link correctly.  If we're not using GNU ld we use -z text
12672
 
        # though, which does catch some bad symbols but isn't as heavy-handed
12673
 
        # as -z defs.
12674
 
        no_undefined_flag_CXX='${wl}-z,text'
12675
 
        allow_undefined_flag_CXX='${wl}-z,nodefs'
12676
 
        archive_cmds_need_lc_CXX=no
12677
 
        hardcode_shlibpath_var_CXX=no
12678
 
        hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
12679
 
        hardcode_libdir_separator_CXX=':'
12680
 
        link_all_deplibs_CXX=yes
12681
 
        export_dynamic_flag_spec_CXX='${wl}-Bexport'
12682
 
        runpath_var='LD_RUN_PATH'
12683
 
 
12684
 
        case $cc_basename in
12685
 
          CC*)
12686
 
            archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12687
 
            archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12688
 
            ;;
12689
 
          *)
12690
 
            archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12691
 
            archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12692
 
            ;;
12693
 
        esac
12694
 
      ;;
12695
 
 
12696
 
      tandem*)
12697
 
        case $cc_basename in
12698
 
          NCC*)
12699
 
            # NonStop-UX NCC 3.20
12700
 
            # FIXME: insert proper C++ library support
12701
 
            ld_shlibs_CXX=no
12702
 
            ;;
12703
 
          *)
12704
 
            # FIXME: insert proper C++ library support
12705
 
            ld_shlibs_CXX=no
12706
 
            ;;
12707
 
        esac
12708
 
        ;;
12709
 
 
12710
 
      vxworks*)
12711
 
        # FIXME: insert proper C++ library support
12712
 
        ld_shlibs_CXX=no
12713
 
        ;;
12714
 
 
12715
 
      *)
12716
 
        # FIXME: insert proper C++ library support
12717
 
        ld_shlibs_CXX=no
12718
 
        ;;
12719
 
    esac
12720
 
 
12721
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
12722
 
$as_echo "$ld_shlibs_CXX" >&6; }
12723
 
    test "$ld_shlibs_CXX" = no && can_build_shared=no
12724
 
 
12725
 
    GCC_CXX="$GXX"
12726
 
    LD_CXX="$LD"
12727
 
 
12728
 
    ## CAVEAT EMPTOR:
12729
 
    ## There is no encapsulation within the following macros, do not change
12730
 
    ## the running order or otherwise move them around unless you know exactly
12731
 
    ## what you are doing...
12732
 
    # Dependencies to place before and after the object being linked:
12733
 
predep_objects_CXX=
12734
 
postdep_objects_CXX=
12735
 
predeps_CXX=
12736
 
postdeps_CXX=
12737
 
compiler_lib_search_path_CXX=
12738
 
 
12739
 
cat > conftest.$ac_ext <<_LT_EOF
12740
 
class Foo
12741
 
{
12742
 
public:
12743
 
  Foo (void) { a = 0; }
12744
 
private:
12745
 
  int a;
12746
 
};
12747
 
_LT_EOF
12748
 
 
12749
 
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
12750
 
  (eval $ac_compile) 2>&5
12751
 
  ac_status=$?
12752
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12753
 
  test $ac_status = 0; }; then
12754
 
  # Parse the compiler output and extract the necessary
12755
 
  # objects, libraries and library flags.
12756
 
 
12757
 
  # Sentinel used to keep track of whether or not we are before
12758
 
  # the conftest object file.
12759
 
  pre_test_object_deps_done=no
12760
 
 
12761
 
  for p in `eval "$output_verbose_link_cmd"`; do
12762
 
    case $p in
12763
 
 
12764
 
    -L* | -R* | -l*)
12765
 
       # Some compilers place space between "-{L,R}" and the path.
12766
 
       # Remove the space.
12767
 
       if test $p = "-L" ||
12768
 
          test $p = "-R"; then
12769
 
         prev=$p
12770
 
         continue
12771
 
       else
12772
 
         prev=
12773
 
       fi
12774
 
 
12775
 
       if test "$pre_test_object_deps_done" = no; then
12776
 
         case $p in
12777
 
         -L* | -R*)
12778
 
           # Internal compiler library paths should come after those
12779
 
           # provided the user.  The postdeps already come after the
12780
 
           # user supplied libs so there is no need to process them.
12781
 
           if test -z "$compiler_lib_search_path_CXX"; then
12782
 
             compiler_lib_search_path_CXX="${prev}${p}"
12783
 
           else
12784
 
             compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
12785
 
           fi
12786
 
           ;;
12787
 
         # The "-l" case would never come before the object being
12788
 
         # linked, so don't bother handling this case.
12789
 
         esac
12790
 
       else
12791
 
         if test -z "$postdeps_CXX"; then
12792
 
           postdeps_CXX="${prev}${p}"
12793
 
         else
12794
 
           postdeps_CXX="${postdeps_CXX} ${prev}${p}"
12795
 
         fi
12796
 
       fi
12797
 
       ;;
12798
 
 
12799
 
    *.$objext)
12800
 
       # This assumes that the test object file only shows up
12801
 
       # once in the compiler output.
12802
 
       if test "$p" = "conftest.$objext"; then
12803
 
         pre_test_object_deps_done=yes
12804
 
         continue
12805
 
       fi
12806
 
 
12807
 
       if test "$pre_test_object_deps_done" = no; then
12808
 
         if test -z "$predep_objects_CXX"; then
12809
 
           predep_objects_CXX="$p"
12810
 
         else
12811
 
           predep_objects_CXX="$predep_objects_CXX $p"
12812
 
         fi
12813
 
       else
12814
 
         if test -z "$postdep_objects_CXX"; then
12815
 
           postdep_objects_CXX="$p"
12816
 
         else
12817
 
           postdep_objects_CXX="$postdep_objects_CXX $p"
12818
 
         fi
12819
 
       fi
12820
 
       ;;
12821
 
 
12822
 
    *) ;; # Ignore the rest.
12823
 
 
12824
 
    esac
12825
 
  done
12826
 
 
12827
 
  # Clean up.
12828
 
  rm -f a.out a.exe
12829
 
else
12830
 
  echo "libtool.m4: error: problem compiling CXX test program"
12831
 
fi
12832
 
 
12833
 
$RM -f confest.$objext
12834
 
 
12835
 
# PORTME: override above test on systems where it is broken
12836
 
case $host_os in
12837
 
interix[3-9]*)
12838
 
  # Interix 3.5 installs completely hosed .la files for C++, so rather than
12839
 
  # hack all around it, let's just trust "g++" to DTRT.
12840
 
  predep_objects_CXX=
12841
 
  postdep_objects_CXX=
12842
 
  postdeps_CXX=
12843
 
  ;;
12844
 
 
12845
 
linux*)
12846
 
  case `$CC -V 2>&1 | sed 5q` in
12847
 
  *Sun\ C*)
12848
 
    # Sun C++ 5.9
12849
 
 
12850
 
    # The more standards-conforming stlport4 library is
12851
 
    # incompatible with the Cstd library. Avoid specifying
12852
 
    # it if it's in CXXFLAGS. Ignore libCrun as
12853
 
    # -library=stlport4 depends on it.
12854
 
    case " $CXX $CXXFLAGS " in
12855
 
    *" -library=stlport4 "*)
12856
 
      solaris_use_stlport4=yes
12857
 
      ;;
12858
 
    esac
12859
 
 
12860
 
    if test "$solaris_use_stlport4" != yes; then
12861
 
      postdeps_CXX='-library=Cstd -library=Crun'
12862
 
    fi
12863
 
    ;;
12864
 
  esac
12865
 
  ;;
12866
 
 
12867
 
solaris*)
12868
 
  case $cc_basename in
12869
 
  CC*)
12870
 
    # The more standards-conforming stlport4 library is
12871
 
    # incompatible with the Cstd library. Avoid specifying
12872
 
    # it if it's in CXXFLAGS. Ignore libCrun as
12873
 
    # -library=stlport4 depends on it.
12874
 
    case " $CXX $CXXFLAGS " in
12875
 
    *" -library=stlport4 "*)
12876
 
      solaris_use_stlport4=yes
12877
 
      ;;
12878
 
    esac
12879
 
 
12880
 
    # Adding this requires a known-good setup of shared libraries for
12881
 
    # Sun compiler versions before 5.6, else PIC objects from an old
12882
 
    # archive will be linked into the output, leading to subtle bugs.
12883
 
    if test "$solaris_use_stlport4" != yes; then
12884
 
      postdeps_CXX='-library=Cstd -library=Crun'
12885
 
    fi
12886
 
    ;;
12887
 
  esac
12888
 
  ;;
12889
 
esac
12890
 
 
12891
 
 
12892
 
case " $postdeps_CXX " in
12893
 
*" -lc "*) archive_cmds_need_lc_CXX=no ;;
12894
 
esac
12895
 
 compiler_lib_search_dirs_CXX=
12896
 
if test -n "${compiler_lib_search_path_CXX}"; then
12897
 
 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
12898
 
fi
12899
 
 
12900
 
    
12901
 
    
12902
 
    
12903
 
 
12904
 
 
12905
 
    
12906
 
    
12907
 
    
12908
 
 
12909
 
 
12910
 
    
12911
 
    
12912
 
    
12913
 
 
12914
 
 
12915
 
    
12916
 
    
12917
 
    
12918
 
 
12919
 
 
12920
 
    
12921
 
    
12922
 
    
12923
 
 
12924
 
 
12925
 
    
12926
 
    
12927
 
    
12928
 
 
12929
 
 
12930
 
    lt_prog_compiler_wl_CXX=
12931
 
lt_prog_compiler_pic_CXX=
12932
 
lt_prog_compiler_static_CXX=
12933
 
 
12934
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
12935
 
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
12936
 
 
12937
 
  # C++ specific cases for pic, static, wl, etc.
12938
 
  if test "$GXX" = yes; then
12939
 
    lt_prog_compiler_wl_CXX='-Wl,'
12940
 
    lt_prog_compiler_static_CXX='-static'
12941
 
 
12942
 
    case $host_os in
12943
 
    aix*)
12944
 
      # All AIX code is PIC.
12945
 
      if test "$host_cpu" = ia64; then
12946
 
        # AIX 5 now supports IA64 processor
12947
 
        lt_prog_compiler_static_CXX='-Bstatic'
12948
 
      fi
12949
 
      ;;
12950
 
 
12951
 
    amigaos*)
12952
 
      case $host_cpu in
12953
 
      powerpc)
12954
 
            # see comment about AmigaOS4 .so support
12955
 
            lt_prog_compiler_pic_CXX='-fPIC'
12956
 
        ;;
12957
 
      m68k)
12958
 
            # FIXME: we need at least 68020 code to build shared libraries, but
12959
 
            # adding the `-m68020' flag to GCC prevents building anything better,
12960
 
            # like `-m68040'.
12961
 
            lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
12962
 
        ;;
12963
 
      esac
12964
 
      ;;
12965
 
 
12966
 
    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
12967
 
      # PIC is the default for these OSes.
12968
 
      ;;
12969
 
    mingw* | cygwin* | os2* | pw32* | cegcc*)
12970
 
      # This hack is so that the source file can tell whether it is being
12971
 
      # built for inclusion in a dll (and should export symbols for example).
12972
 
      # Although the cygwin gcc ignores -fPIC, still need this for old-style
12973
 
      # (--disable-auto-import) libraries
12974
 
      lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
12975
 
      ;;
12976
 
    darwin* | rhapsody*)
12977
 
      # PIC is the default on this platform
12978
 
      # Common symbols not allowed in MH_DYLIB files
12979
 
      lt_prog_compiler_pic_CXX='-fno-common'
12980
 
      ;;
12981
 
    *djgpp*)
12982
 
      # DJGPP does not support shared libraries at all
12983
 
      lt_prog_compiler_pic_CXX=
12984
 
      ;;
12985
 
    interix[3-9]*)
12986
 
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
12987
 
      # Instead, we relocate shared libraries at runtime.
12988
 
      ;;
12989
 
    sysv4*MP*)
12990
 
      if test -d /usr/nec; then
12991
 
        lt_prog_compiler_pic_CXX=-Kconform_pic
12992
 
      fi
12993
 
      ;;
12994
 
    hpux*)
12995
 
      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
12996
 
      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
12997
 
      # sets the default TLS model and affects inlining.
12998
 
      case $host_cpu in
12999
 
      hppa*64*)
13000
 
        ;;
13001
 
      *)
13002
 
        lt_prog_compiler_pic_CXX='-fPIC'
13003
 
        ;;
13004
 
      esac
13005
 
      ;;
13006
 
    *qnx* | *nto*)
13007
 
      # QNX uses GNU C++, but need to define -shared option too, otherwise
13008
 
      # it will coredump.
13009
 
      lt_prog_compiler_pic_CXX='-fPIC -shared'
13010
 
      ;;
13011
 
    *)
13012
 
      lt_prog_compiler_pic_CXX='-fPIC'
13013
 
      ;;
13014
 
    esac
13015
 
  else
13016
 
    case $host_os in
13017
 
      aix[4-9]*)
13018
 
        # All AIX code is PIC.
13019
 
        if test "$host_cpu" = ia64; then
13020
 
          # AIX 5 now supports IA64 processor
13021
 
          lt_prog_compiler_static_CXX='-Bstatic'
13022
 
        else
13023
 
          lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
13024
 
        fi
13025
 
        ;;
13026
 
      chorus*)
13027
 
        case $cc_basename in
13028
 
        cxch68*)
13029
 
          # Green Hills C++ Compiler
13030
 
          # _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"
13031
 
          ;;
13032
 
        esac
13033
 
        ;;
13034
 
      dgux*)
13035
 
        case $cc_basename in
13036
 
          ec++*)
13037
 
            lt_prog_compiler_pic_CXX='-KPIC'
13038
 
            ;;
13039
 
          ghcx*)
13040
 
            # Green Hills C++ Compiler
13041
 
            lt_prog_compiler_pic_CXX='-pic'
13042
 
            ;;
13043
 
          *)
13044
 
            ;;
13045
 
        esac
13046
 
        ;;
13047
 
      freebsd* | dragonfly*)
13048
 
        # FreeBSD uses GNU C++
13049
 
        ;;
13050
 
      hpux9* | hpux10* | hpux11*)
13051
 
        case $cc_basename in
13052
 
          CC*)
13053
 
            lt_prog_compiler_wl_CXX='-Wl,'
13054
 
            lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13055
 
            if test "$host_cpu" != ia64; then
13056
 
              lt_prog_compiler_pic_CXX='+Z'
13057
 
            fi
13058
 
            ;;
13059
 
          aCC*)
13060
 
            lt_prog_compiler_wl_CXX='-Wl,'
13061
 
            lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13062
 
            case $host_cpu in
13063
 
            hppa*64*|ia64*)
13064
 
              # +Z the default
13065
 
              ;;
13066
 
            *)
13067
 
              lt_prog_compiler_pic_CXX='+Z'
13068
 
              ;;
13069
 
            esac
13070
 
            ;;
13071
 
          *)
13072
 
            ;;
13073
 
        esac
13074
 
        ;;
13075
 
      interix*)
13076
 
        # This is c89, which is MS Visual C++ (no shared libs)
13077
 
        # Anyone wants to do a port?
13078
 
        ;;
13079
 
      irix5* | irix6* | nonstopux*)
13080
 
        case $cc_basename in
13081
 
          CC*)
13082
 
            lt_prog_compiler_wl_CXX='-Wl,'
13083
 
            lt_prog_compiler_static_CXX='-non_shared'
13084
 
            # CC pic flag -KPIC is the default.
13085
 
            ;;
13086
 
          *)
13087
 
            ;;
13088
 
        esac
13089
 
        ;;
13090
 
      linux* | k*bsd*-gnu | kopensolaris*-gnu)
13091
 
        case $cc_basename in
13092
 
          KCC*)
13093
 
            # KAI C++ Compiler
13094
 
            lt_prog_compiler_wl_CXX='--backend -Wl,'
13095
 
            lt_prog_compiler_pic_CXX='-fPIC'
13096
 
            ;;
13097
 
          ecpc* )
13098
 
            # old Intel C++ for x86_64 which still supported -KPIC.
13099
 
            lt_prog_compiler_wl_CXX='-Wl,'
13100
 
            lt_prog_compiler_pic_CXX='-KPIC'
13101
 
            lt_prog_compiler_static_CXX='-static'
13102
 
            ;;
13103
 
          icpc* )
13104
 
            # Intel C++, used to be incompatible with GCC.
13105
 
            # ICC 10 doesn't accept -KPIC any more.
13106
 
            lt_prog_compiler_wl_CXX='-Wl,'
13107
 
            lt_prog_compiler_pic_CXX='-fPIC'
13108
 
            lt_prog_compiler_static_CXX='-static'
13109
 
            ;;
13110
 
          pgCC* | pgcpp*)
13111
 
            # Portland Group C++ compiler
13112
 
            lt_prog_compiler_wl_CXX='-Wl,'
13113
 
            lt_prog_compiler_pic_CXX='-fpic'
13114
 
            lt_prog_compiler_static_CXX='-Bstatic'
13115
 
            ;;
13116
 
          cxx*)
13117
 
            # Compaq C++
13118
 
            # Make sure the PIC flag is empty.  It appears that all Alpha
13119
 
            # Linux and Compaq Tru64 Unix objects are PIC.
13120
 
            lt_prog_compiler_pic_CXX=
13121
 
            lt_prog_compiler_static_CXX='-non_shared'
13122
 
            ;;
13123
 
          xlc* | xlC*)
13124
 
            # IBM XL 8.0 on PPC
13125
 
            lt_prog_compiler_wl_CXX='-Wl,'
13126
 
            lt_prog_compiler_pic_CXX='-qpic'
13127
 
            lt_prog_compiler_static_CXX='-qstaticlink'
13128
 
            ;;
13129
 
          *)
13130
 
            case `$CC -V 2>&1 | sed 5q` in
13131
 
            *Sun\ C*)
13132
 
              # Sun C++ 5.9
13133
 
              lt_prog_compiler_pic_CXX='-KPIC'
13134
 
              lt_prog_compiler_static_CXX='-Bstatic'
13135
 
              lt_prog_compiler_wl_CXX='-Qoption ld '
13136
 
              ;;
13137
 
            esac
13138
 
            ;;
13139
 
        esac
13140
 
        ;;
13141
 
      lynxos*)
13142
 
        ;;
13143
 
      m88k*)
13144
 
        ;;
13145
 
      mvs*)
13146
 
        case $cc_basename in
13147
 
          cxx*)
13148
 
            lt_prog_compiler_pic_CXX='-W c,exportall'
13149
 
            ;;
13150
 
          *)
13151
 
            ;;
13152
 
        esac
13153
 
        ;;
13154
 
      netbsd* | netbsdelf*-gnu)
13155
 
        ;;
13156
 
      *qnx* | *nto*)
13157
 
        # QNX uses GNU C++, but need to define -shared option too, otherwise
13158
 
        # it will coredump.
13159
 
        lt_prog_compiler_pic_CXX='-fPIC -shared'
13160
 
        ;;
13161
 
      osf3* | osf4* | osf5*)
13162
 
        case $cc_basename in
13163
 
          KCC*)
13164
 
            lt_prog_compiler_wl_CXX='--backend -Wl,'
13165
 
            ;;
13166
 
          RCC*)
13167
 
            # Rational C++ 2.4.1
13168
 
            lt_prog_compiler_pic_CXX='-pic'
13169
 
            ;;
13170
 
          cxx*)
13171
 
            # Digital/Compaq C++
13172
 
            lt_prog_compiler_wl_CXX='-Wl,'
13173
 
            # Make sure the PIC flag is empty.  It appears that all Alpha
13174
 
            # Linux and Compaq Tru64 Unix objects are PIC.
13175
 
            lt_prog_compiler_pic_CXX=
13176
 
            lt_prog_compiler_static_CXX='-non_shared'
13177
 
            ;;
13178
 
          *)
13179
 
            ;;
13180
 
        esac
13181
 
        ;;
13182
 
      psos*)
13183
 
        ;;
13184
 
      solaris*)
13185
 
        case $cc_basename in
13186
 
          CC*)
13187
 
            # Sun C++ 4.2, 5.x and Centerline C++
13188
 
            lt_prog_compiler_pic_CXX='-KPIC'
13189
 
            lt_prog_compiler_static_CXX='-Bstatic'
13190
 
            lt_prog_compiler_wl_CXX='-Qoption ld '
13191
 
            ;;
13192
 
          gcx*)
13193
 
            # Green Hills C++ Compiler
13194
 
            lt_prog_compiler_pic_CXX='-PIC'
13195
 
            ;;
13196
 
          *)
13197
 
            ;;
13198
 
        esac
13199
 
        ;;
13200
 
      sunos4*)
13201
 
        case $cc_basename in
13202
 
          CC*)
13203
 
            # Sun C++ 4.x
13204
 
            lt_prog_compiler_pic_CXX='-pic'
13205
 
            lt_prog_compiler_static_CXX='-Bstatic'
13206
 
            ;;
13207
 
          lcc*)
13208
 
            # Lucid
13209
 
            lt_prog_compiler_pic_CXX='-pic'
13210
 
            ;;
13211
 
          *)
13212
 
            ;;
13213
 
        esac
13214
 
        ;;
13215
 
      sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
13216
 
        case $cc_basename in
13217
 
          CC*)
13218
 
            lt_prog_compiler_wl_CXX='-Wl,'
13219
 
            lt_prog_compiler_pic_CXX='-KPIC'
13220
 
            lt_prog_compiler_static_CXX='-Bstatic'
13221
 
            ;;
13222
 
        esac
13223
 
        ;;
13224
 
      tandem*)
13225
 
        case $cc_basename in
13226
 
          NCC*)
13227
 
            # NonStop-UX NCC 3.20
13228
 
            lt_prog_compiler_pic_CXX='-KPIC'
13229
 
            ;;
13230
 
          *)
13231
 
            ;;
13232
 
        esac
13233
 
        ;;
13234
 
      vxworks*)
13235
 
        ;;
13236
 
      *)
13237
 
        lt_prog_compiler_can_build_shared_CXX=no
13238
 
        ;;
13239
 
    esac
13240
 
  fi
13241
 
 
13242
 
case $host_os in
13243
 
  # For platforms which do not support PIC, -DPIC is meaningless:
13244
 
  *djgpp*)
13245
 
    lt_prog_compiler_pic_CXX=
13246
 
    ;;
13247
 
  *)
13248
 
    lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX@&t@ -DPIC"
13249
 
    ;;
13250
 
esac
13251
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
13252
 
$as_echo "$lt_prog_compiler_pic_CXX" >&6; }
13253
 
 
13254
 
 
13255
 
 
13256
 
#
13257
 
# Check to make sure the PIC flag actually works.
13258
 
#
13259
 
if test -n "$lt_prog_compiler_pic_CXX"; then
13260
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
13261
 
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
13262
 
if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then :
13263
 
  $as_echo_n "(cached) " >&6
13264
 
else
13265
 
  lt_cv_prog_compiler_pic_works_CXX=no
13266
 
   ac_outfile=conftest.$ac_objext
13267
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13268
 
   lt_compiler_flag="$lt_prog_compiler_pic_CXX@&t@ -DPIC"
13269
 
   # Insert the option either (1) after the last *FLAGS variable, or
13270
 
   # (2) before a word containing "conftest.", or (3) at the end.
13271
 
   # Note that $ac_compile itself does not contain backslashes and begins
13272
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
13273
 
   # The option is referenced via a variable to avoid confusing sed.
13274
 
   lt_compile=`echo "$ac_compile" | $SED \
13275
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13276
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13277
 
   -e 's:$: $lt_compiler_flag:'`
13278
 
   (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
13279
 
   (eval "$lt_compile" 2>conftest.err)
13280
 
   ac_status=$?
13281
 
   cat conftest.err >&5
13282
 
   echo "$as_me:__oline__: \$? = $ac_status" >&5
13283
 
   if (exit $ac_status) && test -s "$ac_outfile"; then
13284
 
     # The compiler can only warn and ignore the option if not recognized
13285
 
     # So say no if there are warnings other than the usual output.
13286
 
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
13287
 
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13288
 
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
13289
 
       lt_cv_prog_compiler_pic_works_CXX=yes
13290
 
     fi
13291
 
   fi
13292
 
   $RM conftest*
13293
 
 
13294
 
fi
13295
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
13296
 
$as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
13297
 
 
13298
 
if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
13299
 
    case $lt_prog_compiler_pic_CXX in
13300
 
     "" | " "*) ;;
13301
 
     *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
13302
 
     esac
13303
 
else
13304
 
    lt_prog_compiler_pic_CXX=
13305
 
     lt_prog_compiler_can_build_shared_CXX=no
13306
 
fi
13307
 
 
13308
 
fi
13309
 
 
13310
 
 
13311
 
 
13312
 
#
13313
 
# Check to make sure the static flag actually works.
13314
 
#
13315
 
wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
13316
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13317
 
$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
13318
 
if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then :
13319
 
  $as_echo_n "(cached) " >&6
13320
 
else
13321
 
  lt_cv_prog_compiler_static_works_CXX=no
13322
 
   save_LDFLAGS="$LDFLAGS"
13323
 
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
13324
 
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
13325
 
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
13326
 
     # The linker can only warn and ignore the option if not recognized
13327
 
     # So say no if there are warnings
13328
 
     if test -s conftest.err; then
13329
 
       # Append any errors to the config.log.
13330
 
       cat conftest.err 1>&5
13331
 
       $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
13332
 
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13333
 
       if diff conftest.exp conftest.er2 >/dev/null; then
13334
 
         lt_cv_prog_compiler_static_works_CXX=yes
13335
 
       fi
13336
 
     else
13337
 
       lt_cv_prog_compiler_static_works_CXX=yes
13338
 
     fi
13339
 
   fi
13340
 
   $RM -r conftest*
13341
 
   LDFLAGS="$save_LDFLAGS"
13342
 
 
13343
 
fi
13344
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
13345
 
$as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
13346
 
 
13347
 
if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
13348
 
    :
13349
 
else
13350
 
    lt_prog_compiler_static_CXX=
13351
 
fi
13352
 
 
13353
 
 
13354
 
 
13355
 
 
13356
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13357
 
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13358
 
if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13359
 
  $as_echo_n "(cached) " >&6
13360
 
else
13361
 
  lt_cv_prog_compiler_c_o_CXX=no
13362
 
   $RM -r conftest 2>/dev/null
13363
 
   mkdir conftest
13364
 
   cd conftest
13365
 
   mkdir out
13366
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13367
 
 
13368
 
   lt_compiler_flag="-o out/conftest2.$ac_objext"
13369
 
   # Insert the option either (1) after the last *FLAGS variable, or
13370
 
   # (2) before a word containing "conftest.", or (3) at the end.
13371
 
   # Note that $ac_compile itself does not contain backslashes and begins
13372
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
13373
 
   lt_compile=`echo "$ac_compile" | $SED \
13374
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13375
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13376
 
   -e 's:$: $lt_compiler_flag:'`
13377
 
   (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
13378
 
   (eval "$lt_compile" 2>out/conftest.err)
13379
 
   ac_status=$?
13380
 
   cat out/conftest.err >&5
13381
 
   echo "$as_me:__oline__: \$? = $ac_status" >&5
13382
 
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
13383
 
   then
13384
 
     # The compiler can only warn and ignore the option if not recognized
13385
 
     # So say no if there are warnings
13386
 
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
13387
 
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13388
 
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13389
 
       lt_cv_prog_compiler_c_o_CXX=yes
13390
 
     fi
13391
 
   fi
13392
 
   chmod u+w . 2>&5
13393
 
   $RM conftest*
13394
 
   # SGI C++ compiler will create directory out/ii_files/ for
13395
 
   # template instantiation
13396
 
   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
13397
 
   $RM out/* && rmdir out
13398
 
   cd ..
13399
 
   $RM -r conftest
13400
 
   $RM conftest*
13401
 
 
13402
 
fi
13403
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13404
 
$as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13405
 
 
13406
 
 
13407
 
 
13408
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13409
 
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13410
 
if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13411
 
  $as_echo_n "(cached) " >&6
13412
 
else
13413
 
  lt_cv_prog_compiler_c_o_CXX=no
13414
 
   $RM -r conftest 2>/dev/null
13415
 
   mkdir conftest
13416
 
   cd conftest
13417
 
   mkdir out
13418
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13419
 
 
13420
 
   lt_compiler_flag="-o out/conftest2.$ac_objext"
13421
 
   # Insert the option either (1) after the last *FLAGS variable, or
13422
 
   # (2) before a word containing "conftest.", or (3) at the end.
13423
 
   # Note that $ac_compile itself does not contain backslashes and begins
13424
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
13425
 
   lt_compile=`echo "$ac_compile" | $SED \
13426
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13427
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13428
 
   -e 's:$: $lt_compiler_flag:'`
13429
 
   (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
13430
 
   (eval "$lt_compile" 2>out/conftest.err)
13431
 
   ac_status=$?
13432
 
   cat out/conftest.err >&5
13433
 
   echo "$as_me:__oline__: \$? = $ac_status" >&5
13434
 
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
13435
 
   then
13436
 
     # The compiler can only warn and ignore the option if not recognized
13437
 
     # So say no if there are warnings
13438
 
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
13439
 
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13440
 
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13441
 
       lt_cv_prog_compiler_c_o_CXX=yes
13442
 
     fi
13443
 
   fi
13444
 
   chmod u+w . 2>&5
13445
 
   $RM conftest*
13446
 
   # SGI C++ compiler will create directory out/ii_files/ for
13447
 
   # template instantiation
13448
 
   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
13449
 
   $RM out/* && rmdir out
13450
 
   cd ..
13451
 
   $RM -r conftest
13452
 
   $RM conftest*
13453
 
 
13454
 
fi
13455
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13456
 
$as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13457
 
 
13458
 
 
13459
 
 
13460
 
 
13461
 
hard_links="nottested"
13462
 
if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
13463
 
  # do not overwrite the value of need_locks provided by the user
13464
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
13465
 
$as_echo_n "checking if we can lock with hard links... " >&6; }
13466
 
  hard_links=yes
13467
 
  $RM conftest*
13468
 
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
13469
 
  touch conftest.a
13470
 
  ln conftest.a conftest.b 2>&5 || hard_links=no
13471
 
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
13472
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
13473
 
$as_echo "$hard_links" >&6; }
13474
 
  if test "$hard_links" = no; then
13475
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13476
 
$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13477
 
    need_locks=warn
13478
 
  fi
13479
 
else
13480
 
  need_locks=no
13481
 
fi
13482
 
 
13483
 
 
13484
 
 
13485
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13486
 
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
13487
 
 
13488
 
  export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13489
 
  case $host_os in
13490
 
  aix[4-9]*)
13491
 
    # If we're using GNU nm, then we don't want the "-C" option.
13492
 
    # -C means demangle to AIX nm, but means don't demangle with GNU nm
13493
 
    if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
13494
 
      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'
13495
 
    else
13496
 
      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'
13497
 
    fi
13498
 
    ;;
13499
 
  pw32*)
13500
 
    export_symbols_cmds_CXX="$ltdll_cmds"
13501
 
  ;;
13502
 
  cygwin* | mingw* | cegcc*)
13503
 
    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'
13504
 
  ;;
13505
 
  linux* | k*bsd*-gnu)
13506
 
    link_all_deplibs_CXX=no
13507
 
  ;;
13508
 
  *)
13509
 
    export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13510
 
  ;;
13511
 
  esac
13512
 
  exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
13513
 
 
13514
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13515
 
$as_echo "$ld_shlibs_CXX" >&6; }
13516
 
test "$ld_shlibs_CXX" = no && can_build_shared=no
13517
 
 
13518
 
with_gnu_ld_CXX=$with_gnu_ld
13519
 
 
13520
 
 
13521
 
 
13522
 
 
13523
 
 
13524
 
 
13525
 
#
13526
 
# Do we need to explicitly link libc?
13527
 
#
13528
 
case "x$archive_cmds_need_lc_CXX" in
13529
 
x|xyes)
13530
 
  # Assume -lc should be added
13531
 
  archive_cmds_need_lc_CXX=yes
13532
 
 
13533
 
  if test "$enable_shared" = yes && test "$GCC" = yes; then
13534
 
    case $archive_cmds_CXX in
13535
 
    *'~'*)
13536
 
      # FIXME: we may have to deal with multi-command sequences.
13537
 
      ;;
13538
 
    '$CC '*)
13539
 
      # Test whether the compiler implicitly links with -lc since on some
13540
 
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
13541
 
      # to ld, don't add -lc before -lgcc.
13542
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
13543
 
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
13544
 
      $RM conftest*
13545
 
      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13546
 
 
13547
 
      if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13548
 
  (eval $ac_compile) 2>&5
13549
 
  ac_status=$?
13550
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13551
 
  test $ac_status = 0; } 2>conftest.err; then
13552
 
        soname=conftest
13553
 
        lib=conftest
13554
 
        libobjs=conftest.$ac_objext
13555
 
        deplibs=
13556
 
        wl=$lt_prog_compiler_wl_CXX
13557
 
        pic_flag=$lt_prog_compiler_pic_CXX
13558
 
        compiler_flags=-v
13559
 
        linker_flags=-v
13560
 
        verstring=
13561
 
        output_objdir=.
13562
 
        libname=conftest
13563
 
        lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
13564
 
        allow_undefined_flag_CXX=
13565
 
        if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
13566
 
  (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
13567
 
  ac_status=$?
13568
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13569
 
  test $ac_status = 0; }
13570
 
        then
13571
 
          archive_cmds_need_lc_CXX=no
13572
 
        else
13573
 
          archive_cmds_need_lc_CXX=yes
13574
 
        fi
13575
 
        allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
13576
 
      else
13577
 
        cat conftest.err 1>&5
13578
 
      fi
13579
 
      $RM conftest*
13580
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc_CXX" >&5
13581
 
$as_echo "$archive_cmds_need_lc_CXX" >&6; }
13582
 
      ;;
13583
 
    esac
13584
 
  fi
13585
 
  ;;
13586
 
esac
13587
 
 
13588
 
 
13589
 
 
13590
 
 
13591
 
 
13592
 
 
13593
 
 
13594
 
 
13595
 
 
13596
 
 
13597
 
 
13598
 
 
13599
 
 
13600
 
 
13601
 
 
13602
 
 
13603
 
 
13604
 
 
13605
 
 
13606
 
 
13607
 
 
13608
 
 
13609
 
 
13610
 
 
13611
 
 
13612
 
 
13613
 
 
13614
 
 
13615
 
 
13616
 
 
13617
 
 
13618
 
 
13619
 
 
13620
 
 
13621
 
 
13622
 
 
13623
 
 
13624
 
 
13625
 
 
13626
 
 
13627
 
 
13628
 
 
13629
 
 
13630
 
 
13631
 
 
13632
 
 
13633
 
 
13634
 
 
13635
 
 
13636
 
 
13637
 
 
13638
 
 
13639
 
 
13640
 
 
13641
 
 
13642
 
 
13643
 
 
13644
 
 
13645
 
 
13646
 
 
13647
 
 
13648
 
 
13649
 
 
13650
 
 
13651
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
13652
 
$as_echo_n "checking dynamic linker characteristics... " >&6; }
13653
 
 
13654
 
library_names_spec=
13655
 
libname_spec='lib$name'
13656
 
soname_spec=
13657
 
shrext_cmds=".so"
13658
 
postinstall_cmds=
13659
 
postuninstall_cmds=
13660
 
finish_cmds=
13661
 
finish_eval=
13662
 
shlibpath_var=
13663
 
shlibpath_overrides_runpath=unknown
13664
 
version_type=none
13665
 
dynamic_linker="$host_os ld.so"
13666
 
sys_lib_dlsearch_path_spec="/lib /usr/lib"
13667
 
need_lib_prefix=unknown
13668
 
hardcode_into_libs=no
13669
 
 
13670
 
# when you set need_version to no, make sure it does not cause -set_version
13671
 
# flags to be left without arguments
13672
 
need_version=unknown
13673
 
 
13674
 
case $host_os in
13675
 
aix3*)
13676
 
  version_type=linux
13677
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
13678
 
  shlibpath_var=LIBPATH
13679
 
 
13680
 
  # AIX 3 has no versioning support, so we append a major version to the name.
13681
 
  soname_spec='${libname}${release}${shared_ext}$major'
13682
 
  ;;
13683
 
 
13684
 
aix[4-9]*)
13685
 
  version_type=linux
13686
 
  need_lib_prefix=no
13687
 
  need_version=no
13688
 
  hardcode_into_libs=yes
13689
 
  if test "$host_cpu" = ia64; then
13690
 
    # AIX 5 supports IA64
13691
 
    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
13692
 
    shlibpath_var=LD_LIBRARY_PATH
13693
 
  else
13694
 
    # With GCC up to 2.95.x, collect2 would create an import file
13695
 
    # for dependence libraries.  The import file would start with
13696
 
    # the line `#! .'.  This would cause the generated library to
13697
 
    # depend on `.', always an invalid library.  This was fixed in
13698
 
    # development snapshots of GCC prior to 3.0.
13699
 
    case $host_os in
13700
 
      aix4 | aix4.[01] | aix4.[01].*)
13701
 
      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
13702
 
           echo ' yes '
13703
 
           echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
13704
 
        :
13705
 
      else
13706
 
        can_build_shared=no
13707
 
      fi
13708
 
      ;;
13709
 
    esac
13710
 
    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
13711
 
    # soname into executable. Probably we can add versioning support to
13712
 
    # collect2, so additional links can be useful in future.
13713
 
    if test "$aix_use_runtimelinking" = yes; then
13714
 
      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
13715
 
      # instead of lib<name>.a to let people know that these are not
13716
 
      # typical AIX shared libraries.
13717
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13718
 
    else
13719
 
      # We preserve .a as extension for shared libraries through AIX4.2
13720
 
      # and later when we are not doing run time linking.
13721
 
      library_names_spec='${libname}${release}.a $libname.a'
13722
 
      soname_spec='${libname}${release}${shared_ext}$major'
13723
 
    fi
13724
 
    shlibpath_var=LIBPATH
13725
 
  fi
13726
 
  ;;
13727
 
 
13728
 
amigaos*)
13729
 
  case $host_cpu in
13730
 
  powerpc)
13731
 
    # Since July 2007 AmigaOS4 officially supports .so libraries.
13732
 
    # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
13733
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13734
 
    ;;
13735
 
  m68k)
13736
 
    library_names_spec='$libname.ixlibrary $libname.a'
13737
 
    # Create ${libname}_ixlibrary.a entries in /sys/libs.
13738
 
    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'
13739
 
    ;;
13740
 
  esac
13741
 
  ;;
13742
 
 
13743
 
beos*)
13744
 
  library_names_spec='${libname}${shared_ext}'
13745
 
  dynamic_linker="$host_os ld.so"
13746
 
  shlibpath_var=LIBRARY_PATH
13747
 
  ;;
13748
 
 
13749
 
bsdi[45]*)
13750
 
  version_type=linux
13751
 
  need_version=no
13752
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13753
 
  soname_spec='${libname}${release}${shared_ext}$major'
13754
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
13755
 
  shlibpath_var=LD_LIBRARY_PATH
13756
 
  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
13757
 
  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
13758
 
  # the default ld.so.conf also contains /usr/contrib/lib and
13759
 
  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
13760
 
  # libtool to hard-code these into programs
13761
 
  ;;
13762
 
 
13763
 
cygwin* | mingw* | pw32* | cegcc*)
13764
 
  version_type=windows
13765
 
  shrext_cmds=".dll"
13766
 
  need_version=no
13767
 
  need_lib_prefix=no
13768
 
 
13769
 
  case $GCC,$host_os in
13770
 
  yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
13771
 
    library_names_spec='$libname.dll.a'
13772
 
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
13773
 
    postinstall_cmds='base_file=`basename \${file}`~
13774
 
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
13775
 
      dldir=$destdir/`dirname \$dlpath`~
13776
 
      test -d \$dldir || mkdir -p \$dldir~
13777
 
      $install_prog $dir/$dlname \$dldir/$dlname~
13778
 
      chmod a+x \$dldir/$dlname~
13779
 
      if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
13780
 
        eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
13781
 
      fi'
13782
 
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
13783
 
      dlpath=$dir/\$dldll~
13784
 
       $RM \$dlpath'
13785
 
    shlibpath_overrides_runpath=yes
13786
 
 
13787
 
    case $host_os in
13788
 
    cygwin*)
13789
 
      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
13790
 
      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13791
 
      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
13792
 
      ;;
13793
 
    mingw* | cegcc*)
13794
 
      # MinGW DLLs use traditional 'lib' prefix
13795
 
      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13796
 
      sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
13797
 
      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
13798
 
        # It is most probably a Windows format PATH printed by
13799
 
        # mingw gcc, but we are running on Cygwin. Gcc prints its search
13800
 
        # path with ; separators, and with drive letters. We can handle the
13801
 
        # drive letters (cygwin fileutils understands them), so leave them,
13802
 
        # especially as we might pass files found there to a mingw objdump,
13803
 
        # which wouldn't understand a cygwinified path. Ahh.
13804
 
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
13805
 
      else
13806
 
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
13807
 
      fi
13808
 
      ;;
13809
 
    pw32*)
13810
 
      # pw32 DLLs use 'pw' prefix rather than 'lib'
13811
 
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13812
 
      ;;
13813
 
    esac
13814
 
    ;;
13815
 
 
13816
 
  *)
13817
 
    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
13818
 
    ;;
13819
 
  esac
13820
 
  dynamic_linker='Win32 ld.exe'
13821
 
  # FIXME: first we should search . and the directory the executable is in
13822
 
  shlibpath_var=PATH
13823
 
  ;;
13824
 
 
13825
 
darwin* | rhapsody*)
13826
 
  dynamic_linker="$host_os dyld"
13827
 
  version_type=darwin
13828
 
  need_lib_prefix=no
13829
 
  need_version=no
13830
 
  library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
13831
 
  soname_spec='${libname}${release}${major}$shared_ext'
13832
 
  shlibpath_overrides_runpath=yes
13833
 
  shlibpath_var=DYLD_LIBRARY_PATH
13834
 
  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
13835
 
 
13836
 
  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
13837
 
  ;;
13838
 
 
13839
 
dgux*)
13840
 
  version_type=linux
13841
 
  need_lib_prefix=no
13842
 
  need_version=no
13843
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
13844
 
  soname_spec='${libname}${release}${shared_ext}$major'
13845
 
  shlibpath_var=LD_LIBRARY_PATH
13846
 
  ;;
13847
 
 
13848
 
freebsd1*)
13849
 
  dynamic_linker=no
13850
 
  ;;
13851
 
 
13852
 
freebsd* | dragonfly*)
13853
 
  # DragonFly does not have aout.  When/if they implement a new
13854
 
  # versioning mechanism, adjust this.
13855
 
  if test -x /usr/bin/objformat; then
13856
 
    objformat=`/usr/bin/objformat`
13857
 
  else
13858
 
    case $host_os in
13859
 
    freebsd[123]*) objformat=aout ;;
13860
 
    *) objformat=elf ;;
13861
 
    esac
13862
 
  fi
13863
 
  version_type=freebsd-$objformat
13864
 
  case $version_type in
13865
 
    freebsd-elf*)
13866
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
13867
 
      need_version=no
13868
 
      need_lib_prefix=no
13869
 
      ;;
13870
 
    freebsd-*)
13871
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
13872
 
      need_version=yes
13873
 
      ;;
13874
 
  esac
13875
 
  shlibpath_var=LD_LIBRARY_PATH
13876
 
  case $host_os in
13877
 
  freebsd2*)
13878
 
    shlibpath_overrides_runpath=yes
13879
 
    ;;
13880
 
  freebsd3.[01]* | freebsdelf3.[01]*)
13881
 
    shlibpath_overrides_runpath=yes
13882
 
    hardcode_into_libs=yes
13883
 
    ;;
13884
 
  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
13885
 
  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
13886
 
    shlibpath_overrides_runpath=no
13887
 
    hardcode_into_libs=yes
13888
 
    ;;
13889
 
  *) # from 4.6 on, and DragonFly
13890
 
    shlibpath_overrides_runpath=yes
13891
 
    hardcode_into_libs=yes
13892
 
    ;;
13893
 
  esac
13894
 
  ;;
13895
 
 
13896
 
gnu*)
13897
 
  version_type=linux
13898
 
  need_lib_prefix=no
13899
 
  need_version=no
13900
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
13901
 
  soname_spec='${libname}${release}${shared_ext}$major'
13902
 
  shlibpath_var=LD_LIBRARY_PATH
13903
 
  hardcode_into_libs=yes
13904
 
  ;;
13905
 
 
13906
 
hpux9* | hpux10* | hpux11*)
13907
 
  # Give a soname corresponding to the major version so that dld.sl refuses to
13908
 
  # link against other versions.
13909
 
  version_type=sunos
13910
 
  need_lib_prefix=no
13911
 
  need_version=no
13912
 
  case $host_cpu in
13913
 
  ia64*)
13914
 
    shrext_cmds='.so'
13915
 
    hardcode_into_libs=yes
13916
 
    dynamic_linker="$host_os dld.so"
13917
 
    shlibpath_var=LD_LIBRARY_PATH
13918
 
    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
13919
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13920
 
    soname_spec='${libname}${release}${shared_ext}$major'
13921
 
    if test "X$HPUX_IA64_MODE" = X32; then
13922
 
      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
13923
 
    else
13924
 
      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
13925
 
    fi
13926
 
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
13927
 
    ;;
13928
 
  hppa*64*)
13929
 
    shrext_cmds='.sl'
13930
 
    hardcode_into_libs=yes
13931
 
    dynamic_linker="$host_os dld.sl"
13932
 
    shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
13933
 
    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
13934
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13935
 
    soname_spec='${libname}${release}${shared_ext}$major'
13936
 
    sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
13937
 
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
13938
 
    ;;
13939
 
  *)
13940
 
    shrext_cmds='.sl'
13941
 
    dynamic_linker="$host_os dld.sl"
13942
 
    shlibpath_var=SHLIB_PATH
13943
 
    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
13944
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13945
 
    soname_spec='${libname}${release}${shared_ext}$major'
13946
 
    ;;
13947
 
  esac
13948
 
  # HP-UX runs *really* slowly unless shared libraries are mode 555.
13949
 
  postinstall_cmds='chmod 555 $lib'
13950
 
  ;;
13951
 
 
13952
 
interix[3-9]*)
13953
 
  version_type=linux
13954
 
  need_lib_prefix=no
13955
 
  need_version=no
13956
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13957
 
  soname_spec='${libname}${release}${shared_ext}$major'
13958
 
  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
13959
 
  shlibpath_var=LD_LIBRARY_PATH
13960
 
  shlibpath_overrides_runpath=no
13961
 
  hardcode_into_libs=yes
13962
 
  ;;
13963
 
 
13964
 
irix5* | irix6* | nonstopux*)
13965
 
  case $host_os in
13966
 
    nonstopux*) version_type=nonstopux ;;
13967
 
    *)
13968
 
        if test "$lt_cv_prog_gnu_ld" = yes; then
13969
 
                version_type=linux
13970
 
        else
13971
 
                version_type=irix
13972
 
        fi ;;
13973
 
  esac
13974
 
  need_lib_prefix=no
13975
 
  need_version=no
13976
 
  soname_spec='${libname}${release}${shared_ext}$major'
13977
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
13978
 
  case $host_os in
13979
 
  irix5* | nonstopux*)
13980
 
    libsuff= shlibsuff=
13981
 
    ;;
13982
 
  *)
13983
 
    case $LD in # libtool.m4 will add one of these switches to LD
13984
 
    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
13985
 
      libsuff= shlibsuff= libmagic=32-bit;;
13986
 
    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
13987
 
      libsuff=32 shlibsuff=N32 libmagic=N32;;
13988
 
    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
13989
 
      libsuff=64 shlibsuff=64 libmagic=64-bit;;
13990
 
    *) libsuff= shlibsuff= libmagic=never-match;;
13991
 
    esac
13992
 
    ;;
13993
 
  esac
13994
 
  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
13995
 
  shlibpath_overrides_runpath=no
13996
 
  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
13997
 
  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
13998
 
  hardcode_into_libs=yes
13999
 
  ;;
14000
 
 
14001
 
# No shared lib support for Linux oldld, aout, or coff.
14002
 
linux*oldld* | linux*aout* | linux*coff*)
14003
 
  dynamic_linker=no
14004
 
  ;;
14005
 
 
14006
 
# This must be Linux ELF.
14007
 
linux* | k*bsd*-gnu | kopensolaris*-gnu)
14008
 
  version_type=linux
14009
 
  need_lib_prefix=no
14010
 
  need_version=no
14011
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14012
 
  soname_spec='${libname}${release}${shared_ext}$major'
14013
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14014
 
  shlibpath_var=LD_LIBRARY_PATH
14015
 
  shlibpath_overrides_runpath=no
14016
 
  # Some binutils ld are patched to set DT_RUNPATH
14017
 
  save_LDFLAGS=$LDFLAGS
14018
 
  save_libdir=$libdir
14019
 
  eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
14020
 
       LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
14021
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14022
 
/* end confdefs.h.  */
14023
 
 
14024
 
int
14025
 
main ()
14026
 
{
14027
 
 
14028
 
  ;
14029
 
  return 0;
14030
 
}
14031
 
_ACEOF
14032
 
if ac_fn_cxx_try_link "$LINENO"; then :
14033
 
  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
14034
 
  shlibpath_overrides_runpath=yes
14035
 
fi
14036
 
fi
14037
 
rm -f core conftest.err conftest.$ac_objext \
14038
 
    conftest$ac_exeext conftest.$ac_ext
14039
 
  LDFLAGS=$save_LDFLAGS
14040
 
  libdir=$save_libdir
14041
 
 
14042
 
  # This implies no fast_install, which is unacceptable.
14043
 
  # Some rework will be needed to allow for fast_install
14044
 
  # before this can be enabled.
14045
 
  hardcode_into_libs=yes
14046
 
 
14047
 
  # Append ld.so.conf contents to the search path
14048
 
  if test -f /etc/ld.so.conf; then
14049
 
    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' ' '`
14050
 
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
14051
 
  fi
14052
 
 
14053
 
  # We used to test for /lib/ld.so.1 and disable shared libraries on
14054
 
  # powerpc, because MkLinux only supported shared libraries with the
14055
 
  # GNU dynamic linker.  Since this was broken with cross compilers,
14056
 
  # most powerpc-linux boxes support dynamic linking these days and
14057
 
  # people can always --disable-shared, the test was removed, and we
14058
 
  # assume the GNU/Linux dynamic linker is in use.
14059
 
  dynamic_linker='GNU/Linux ld.so'
14060
 
  ;;
14061
 
 
14062
 
netbsdelf*-gnu)
14063
 
  version_type=linux
14064
 
  need_lib_prefix=no
14065
 
  need_version=no
14066
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14067
 
  soname_spec='${libname}${release}${shared_ext}$major'
14068
 
  shlibpath_var=LD_LIBRARY_PATH
14069
 
  shlibpath_overrides_runpath=no
14070
 
  hardcode_into_libs=yes
14071
 
  dynamic_linker='NetBSD ld.elf_so'
14072
 
  ;;
14073
 
 
14074
 
netbsd*)
14075
 
  version_type=sunos
14076
 
  need_lib_prefix=no
14077
 
  need_version=no
14078
 
  if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
14079
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14080
 
    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14081
 
    dynamic_linker='NetBSD (a.out) ld.so'
14082
 
  else
14083
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14084
 
    soname_spec='${libname}${release}${shared_ext}$major'
14085
 
    dynamic_linker='NetBSD ld.elf_so'
14086
 
  fi
14087
 
  shlibpath_var=LD_LIBRARY_PATH
14088
 
  shlibpath_overrides_runpath=yes
14089
 
  hardcode_into_libs=yes
14090
 
  ;;
14091
 
 
14092
 
newsos6)
14093
 
  version_type=linux
14094
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14095
 
  shlibpath_var=LD_LIBRARY_PATH
14096
 
  shlibpath_overrides_runpath=yes
14097
 
  ;;
14098
 
 
14099
 
*nto* | *qnx*)
14100
 
  version_type=qnx
14101
 
  need_lib_prefix=no
14102
 
  need_version=no
14103
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14104
 
  soname_spec='${libname}${release}${shared_ext}$major'
14105
 
  shlibpath_var=LD_LIBRARY_PATH
14106
 
  shlibpath_overrides_runpath=no
14107
 
  hardcode_into_libs=yes
14108
 
  dynamic_linker='ldqnx.so'
14109
 
  ;;
14110
 
 
14111
 
openbsd*)
14112
 
  version_type=sunos
14113
 
  sys_lib_dlsearch_path_spec="/usr/lib"
14114
 
  need_lib_prefix=no
14115
 
  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
14116
 
  case $host_os in
14117
 
    openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
14118
 
    *)                          need_version=no  ;;
14119
 
  esac
14120
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14121
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14122
 
  shlibpath_var=LD_LIBRARY_PATH
14123
 
  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14124
 
    case $host_os in
14125
 
      openbsd2.[89] | openbsd2.[89].*)
14126
 
        shlibpath_overrides_runpath=no
14127
 
        ;;
14128
 
      *)
14129
 
        shlibpath_overrides_runpath=yes
14130
 
        ;;
14131
 
      esac
14132
 
  else
14133
 
    shlibpath_overrides_runpath=yes
14134
 
  fi
14135
 
  ;;
14136
 
 
14137
 
os2*)
14138
 
  libname_spec='$name'
14139
 
  shrext_cmds=".dll"
14140
 
  need_lib_prefix=no
14141
 
  library_names_spec='$libname${shared_ext} $libname.a'
14142
 
  dynamic_linker='OS/2 ld.exe'
14143
 
  shlibpath_var=LIBPATH
14144
 
  ;;
14145
 
 
14146
 
osf3* | osf4* | osf5*)
14147
 
  version_type=osf
14148
 
  need_lib_prefix=no
14149
 
  need_version=no
14150
 
  soname_spec='${libname}${release}${shared_ext}$major'
14151
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14152
 
  shlibpath_var=LD_LIBRARY_PATH
14153
 
  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14154
 
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
14155
 
  ;;
14156
 
 
14157
 
rdos*)
14158
 
  dynamic_linker=no
14159
 
  ;;
14160
 
 
14161
 
solaris*)
14162
 
  version_type=linux
14163
 
  need_lib_prefix=no
14164
 
  need_version=no
14165
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14166
 
  soname_spec='${libname}${release}${shared_ext}$major'
14167
 
  shlibpath_var=LD_LIBRARY_PATH
14168
 
  shlibpath_overrides_runpath=yes
14169
 
  hardcode_into_libs=yes
14170
 
  # ldd complains unless libraries are executable
14171
 
  postinstall_cmds='chmod +x $lib'
14172
 
  ;;
14173
 
 
14174
 
sunos4*)
14175
 
  version_type=sunos
14176
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14177
 
  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14178
 
  shlibpath_var=LD_LIBRARY_PATH
14179
 
  shlibpath_overrides_runpath=yes
14180
 
  if test "$with_gnu_ld" = yes; then
14181
 
    need_lib_prefix=no
14182
 
  fi
14183
 
  need_version=yes
14184
 
  ;;
14185
 
 
14186
 
sysv4 | sysv4.3*)
14187
 
  version_type=linux
14188
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14189
 
  soname_spec='${libname}${release}${shared_ext}$major'
14190
 
  shlibpath_var=LD_LIBRARY_PATH
14191
 
  case $host_vendor in
14192
 
    sni)
14193
 
      shlibpath_overrides_runpath=no
14194
 
      need_lib_prefix=no
14195
 
      runpath_var=LD_RUN_PATH
14196
 
      ;;
14197
 
    siemens)
14198
 
      need_lib_prefix=no
14199
 
      ;;
14200
 
    motorola)
14201
 
      need_lib_prefix=no
14202
 
      need_version=no
14203
 
      shlibpath_overrides_runpath=no
14204
 
      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
14205
 
      ;;
14206
 
  esac
14207
 
  ;;
14208
 
 
14209
 
sysv4*MP*)
14210
 
  if test -d /usr/nec ;then
14211
 
    version_type=linux
14212
 
    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14213
 
    soname_spec='$libname${shared_ext}.$major'
14214
 
    shlibpath_var=LD_LIBRARY_PATH
14215
 
  fi
14216
 
  ;;
14217
 
 
14218
 
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
14219
 
  version_type=freebsd-elf
14220
 
  need_lib_prefix=no
14221
 
  need_version=no
14222
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14223
 
  soname_spec='${libname}${release}${shared_ext}$major'
14224
 
  shlibpath_var=LD_LIBRARY_PATH
14225
 
  shlibpath_overrides_runpath=yes
14226
 
  hardcode_into_libs=yes
14227
 
  if test "$with_gnu_ld" = yes; then
14228
 
    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
14229
 
  else
14230
 
    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
14231
 
    case $host_os in
14232
 
      sco3.2v5*)
14233
 
        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
14234
 
        ;;
14235
 
    esac
14236
 
  fi
14237
 
  sys_lib_dlsearch_path_spec='/usr/lib'
14238
 
  ;;
14239
 
 
14240
 
tpf*)
14241
 
  # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
14242
 
  version_type=linux
14243
 
  need_lib_prefix=no
14244
 
  need_version=no
14245
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14246
 
  shlibpath_var=LD_LIBRARY_PATH
14247
 
  shlibpath_overrides_runpath=no
14248
 
  hardcode_into_libs=yes
14249
 
  ;;
14250
 
 
14251
 
uts4*)
14252
 
  version_type=linux
14253
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14254
 
  soname_spec='${libname}${release}${shared_ext}$major'
14255
 
  shlibpath_var=LD_LIBRARY_PATH
14256
 
  ;;
14257
 
 
14258
 
*)
14259
 
  dynamic_linker=no
14260
 
  ;;
14261
 
esac
14262
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
14263
 
$as_echo "$dynamic_linker" >&6; }
14264
 
test "$dynamic_linker" = no && can_build_shared=no
14265
 
 
14266
 
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
14267
 
if test "$GCC" = yes; then
14268
 
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14269
 
fi
14270
 
 
14271
 
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
14272
 
  sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
14273
 
fi
14274
 
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
14275
 
  sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
14276
 
fi
14277
 
 
14278
 
 
14279
 
 
14280
 
 
14281
 
 
14282
 
 
14283
 
 
14284
 
 
14285
 
 
14286
 
 
14287
 
 
14288
 
 
14289
 
 
14290
 
 
14291
 
 
14292
 
 
14293
 
 
14294
 
 
14295
 
 
14296
 
 
14297
 
 
14298
 
 
14299
 
 
14300
 
 
14301
 
 
14302
 
 
14303
 
 
14304
 
 
14305
 
 
14306
 
 
14307
 
 
14308
 
 
14309
 
 
14310
 
 
14311
 
 
14312
 
 
14313
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
14314
 
$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
14315
 
hardcode_action_CXX=
14316
 
if test -n "$hardcode_libdir_flag_spec_CXX" ||
14317
 
   test -n "$runpath_var_CXX" ||
14318
 
   test "X$hardcode_automatic_CXX" = "Xyes" ; then
14319
 
 
14320
 
  # We can hardcode non-existent directories.
14321
 
  if test "$hardcode_direct_CXX" != no &&
14322
 
     # If the only mechanism to avoid hardcoding is shlibpath_var, we
14323
 
     # have to relink, otherwise we might link with an installed library
14324
 
     # when we should be linking with a yet-to-be-installed one
14325
 
     ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
14326
 
     test "$hardcode_minus_L_CXX" != no; then
14327
 
    # Linking always hardcodes the temporary library directory.
14328
 
    hardcode_action_CXX=relink
14329
 
  else
14330
 
    # We can link without hardcoding, and we can hardcode nonexisting dirs.
14331
 
    hardcode_action_CXX=immediate
14332
 
  fi
14333
 
else
14334
 
  # We cannot hardcode anything, or else we can only hardcode existing
14335
 
  # directories.
14336
 
  hardcode_action_CXX=unsupported
14337
 
fi
14338
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
14339
 
$as_echo "$hardcode_action_CXX" >&6; }
14340
 
 
14341
 
if test "$hardcode_action_CXX" = relink ||
14342
 
   test "$inherit_rpath_CXX" = yes; then
14343
 
  # Fast installation is not supported
14344
 
  enable_fast_install=no
14345
 
elif test "$shlibpath_overrides_runpath" = yes ||
14346
 
     test "$enable_shared" = no; then
14347
 
  # Fast installation is not necessary
14348
 
  enable_fast_install=needless
14349
 
fi
14350
 
 
14351
 
 
14352
 
 
14353
 
 
14354
 
    
14355
 
 
14356
 
 
14357
 
  fi # test -n "$compiler"
14358
 
 
14359
 
  CC=$lt_save_CC
14360
 
  LDCXX=$LD
14361
 
  LD=$lt_save_LD
14362
 
  GCC=$lt_save_GCC
14363
 
  with_gnu_ld=$lt_save_with_gnu_ld
14364
 
  lt_cv_path_LDCXX=$lt_cv_path_LD
14365
 
  lt_cv_path_LD=$lt_save_path_LD
14366
 
  lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
14367
 
  lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
14368
 
fi # test "$_lt_caught_CXX_error" != yes
14369
 
 
14370
 
ac_ext=c
14371
 
ac_cpp='$CPP $CPPFLAGS'
14372
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14373
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14374
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
14375
 
 
14376
 
 
14377
 
 
14378
 
 
14379
 
 
14380
 
 
14381
 
 
14382
 
 
14383
 
       
14384
 
       
14385
 
 
14386
 
 
14387
 
 
14388
 
        ac_config_commands="$ac_config_commands libtool"
14389
 
 
14390
 
 
14391
 
 
14392
 
 
14393
 
# Only expand once:
14394
 
 
14395
 
 
14396
 
 
14397
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
14398
 
$as_echo_n "checking whether ln -s works... " >&6; }
14399
 
LN_S=$as_ln_s
14400
 
if test "$LN_S" = "ln -s"; then
14401
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14402
 
$as_echo "yes" >&6; }
14403
 
else
14404
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
14405
 
$as_echo "no, using $LN_S" >&6; }
14406
 
fi
14407
 
 
14408
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
14409
 
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
14410
 
set x ${MAKE-make}
14411
 
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
14412
 
if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then :
14413
 
  $as_echo_n "(cached) " >&6
14414
 
else
14415
 
  cat >conftest.make <<\_ACEOF
14416
 
SHELL = /bin/sh
14417
 
all:
14418
 
        @echo '@@@%%%=$(MAKE)=@@@%%%'
14419
 
_ACEOF
14420
 
# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
14421
 
case `${MAKE-make} -f conftest.make 2>/dev/null` in
14422
 
  *@@@%%%=?*=@@@%%%*)
14423
 
    eval ac_cv_prog_make_${ac_make}_set=yes;;
14424
 
  *)
14425
 
    eval ac_cv_prog_make_${ac_make}_set=no;;
14426
 
esac
14427
 
rm -f conftest.make
14428
 
fi
14429
 
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
14430
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14431
 
$as_echo "yes" >&6; }
14432
 
  SET_MAKE=
14433
 
else
14434
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14435
 
$as_echo "no" >&6; }
14436
 
  SET_MAKE="MAKE=${MAKE-make}"
14437
 
fi
14438
 
 
14439
 
# Extract the first word of "sed", so it can be a program name with args.
14440
 
set dummy sed; ac_word=$2
14441
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14442
 
$as_echo_n "checking for $ac_word... " >&6; }
14443
 
if test "${ac_cv_prog_SED+set}" = set; then :
14444
 
  $as_echo_n "(cached) " >&6
14445
 
else
14446
 
  if test -n "$SED"; then
14447
 
  ac_cv_prog_SED="$SED" # Let the user override the test.
14448
 
else
14449
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14450
 
for as_dir in $PATH
14451
 
do
14452
 
  IFS=$as_save_IFS
14453
 
  test -z "$as_dir" && as_dir=.
14454
 
    for ac_exec_ext in '' $ac_executable_extensions; do
14455
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14456
 
    ac_cv_prog_SED="$(which sed)"
14457
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14458
 
    break 2
14459
 
  fi
14460
 
done
14461
 
  done
14462
 
IFS=$as_save_IFS
14463
 
 
14464
 
fi
14465
 
fi
14466
 
SED=$ac_cv_prog_SED
14467
 
if test -n "$SED"; then
14468
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SED" >&5
14469
 
$as_echo "$SED" >&6; }
14470
 
else
14471
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14472
 
$as_echo "no" >&6; }
14473
 
fi
14474
 
 
14475
 
 
14476
 
 
14477
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
14478
 
$as_echo_n "checking for dlopen in -ldl... " >&6; }
14479
 
if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
14480
 
  $as_echo_n "(cached) " >&6
14481
 
else
14482
 
  ac_check_lib_save_LIBS=$LIBS
14483
 
LIBS="-ldl  $LIBS"
14484
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14485
 
/* end confdefs.h.  */
14486
 
 
14487
 
/* Override any GCC internal prototype to avoid an error.
14488
 
   Use char because int might match the return type of a GCC
14489
 
   builtin and then its argument prototype would still apply.  */
14490
 
#ifdef __cplusplus
14491
 
extern "C"
14492
 
#endif
14493
 
char dlopen ();
14494
 
int
14495
 
main ()
14496
 
{
14497
 
return dlopen ();
14498
 
  ;
14499
 
  return 0;
14500
 
}
14501
 
_ACEOF
14502
 
if ac_fn_c_try_link "$LINENO"; then :
14503
 
  ac_cv_lib_dl_dlopen=yes
14504
 
else
14505
 
  ac_cv_lib_dl_dlopen=no
14506
 
fi
14507
 
rm -f core conftest.err conftest.$ac_objext \
14508
 
    conftest$ac_exeext conftest.$ac_ext
14509
 
LIBS=$ac_check_lib_save_LIBS
14510
 
fi
14511
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
14512
 
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
14513
 
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
14514
 
  cat >>confdefs.h <<_ACEOF
14515
 
@%:@define HAVE_LIBDL 1
14516
 
_ACEOF
14517
 
 
14518
 
  LIBS="-ldl $LIBS"
14519
 
 
14520
 
fi
14521
 
 
14522
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sem_init in -lrt" >&5
14523
 
$as_echo_n "checking for sem_init in -lrt... " >&6; }
14524
 
if test "${ac_cv_lib_rt_sem_init+set}" = set; then :
14525
 
  $as_echo_n "(cached) " >&6
14526
 
else
14527
 
  ac_check_lib_save_LIBS=$LIBS
14528
 
LIBS="-lrt  $LIBS"
14529
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14530
 
/* end confdefs.h.  */
14531
 
 
14532
 
/* Override any GCC internal prototype to avoid an error.
14533
 
   Use char because int might match the return type of a GCC
14534
 
   builtin and then its argument prototype would still apply.  */
14535
 
#ifdef __cplusplus
14536
 
extern "C"
14537
 
#endif
14538
 
char sem_init ();
14539
 
int
14540
 
main ()
14541
 
{
14542
 
return sem_init ();
14543
 
  ;
14544
 
  return 0;
14545
 
}
14546
 
_ACEOF
14547
 
if ac_fn_c_try_link "$LINENO"; then :
14548
 
  ac_cv_lib_rt_sem_init=yes
14549
 
else
14550
 
  ac_cv_lib_rt_sem_init=no
14551
 
fi
14552
 
rm -f core conftest.err conftest.$ac_objext \
14553
 
    conftest$ac_exeext conftest.$ac_ext
14554
 
LIBS=$ac_check_lib_save_LIBS
14555
 
fi
14556
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_sem_init" >&5
14557
 
$as_echo "$ac_cv_lib_rt_sem_init" >&6; }
14558
 
if test "x$ac_cv_lib_rt_sem_init" = x""yes; then :
14559
 
  cat >>confdefs.h <<_ACEOF
14560
 
@%:@define HAVE_LIBRT 1
14561
 
_ACEOF
14562
 
 
14563
 
  LIBS="-lrt $LIBS"
14564
 
 
14565
 
fi
14566
 
 
14567
 
 
14568
 
if test "x$GCC" = "xyes"
14569
 
then
14570
 
CFLAGS="-funsigned-char $CFLAGS"
14571
 
fi
14572
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
14573
 
$as_echo_n "checking for an ANSI C-conforming const... " >&6; }
14574
 
if test "${ac_cv_c_const+set}" = set; then :
14575
 
  $as_echo_n "(cached) " >&6
14576
 
else
14577
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14578
 
/* end confdefs.h.  */
14579
 
 
14580
 
int
14581
 
main ()
14582
 
{
14583
 
/* FIXME: Include the comments suggested by Paul. */
14584
 
#ifndef __cplusplus
14585
 
  /* Ultrix mips cc rejects this.  */
14586
 
  typedef int charset[2];
14587
 
  const charset cs;
14588
 
  /* SunOS 4.1.1 cc rejects this.  */
14589
 
  char const *const *pcpcc;
14590
 
  char **ppc;
14591
 
  /* NEC SVR4.0.2 mips cc rejects this.  */
14592
 
  struct point {int x, y;};
14593
 
  static struct point const zero = {0,0};
14594
 
  /* AIX XL C 1.02.0.0 rejects this.
14595
 
     It does not let you subtract one const X* pointer from another in
14596
 
     an arm of an if-expression whose if-part is not a constant
14597
 
     expression */
14598
 
  const char *g = "string";
14599
 
  pcpcc = &g + (g ? g-g : 0);
14600
 
  /* HPUX 7.0 cc rejects these. */
14601
 
  ++pcpcc;
14602
 
  ppc = (char**) pcpcc;
14603
 
  pcpcc = (char const *const *) ppc;
14604
 
  { /* SCO 3.2v4 cc rejects this.  */
14605
 
    char *t;
14606
 
    char const *s = 0 ? (char *) 0 : (char const *) 0;
14607
 
 
14608
 
    *t++ = 0;
14609
 
    if (s) return 0;
14610
 
  }
14611
 
  { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
14612
 
    int x[] = {25, 17};
14613
 
    const int *foo = &x[0];
14614
 
    ++foo;
14615
 
  }
14616
 
  { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
14617
 
    typedef const int *iptr;
14618
 
    iptr p = 0;
14619
 
    ++p;
14620
 
  }
14621
 
  { /* AIX XL C 1.02.0.0 rejects this saying
14622
 
       "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
14623
 
    struct s { int j; const int *ap[3]; };
14624
 
    struct s *b; b->j = 5;
14625
 
  }
14626
 
  { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
14627
 
    const int foo = 10;
14628
 
    if (!foo) return 0;
14629
 
  }
14630
 
  return !cs[0] && !zero.x;
14631
 
#endif
14632
 
 
14633
 
  ;
14634
 
  return 0;
14635
 
}
14636
 
_ACEOF
14637
 
if ac_fn_c_try_compile "$LINENO"; then :
14638
 
  ac_cv_c_const=yes
14639
 
else
14640
 
  ac_cv_c_const=no
14641
 
fi
14642
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14643
 
fi
14644
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
14645
 
$as_echo "$ac_cv_c_const" >&6; }
14646
 
if test $ac_cv_c_const = no; then
14647
 
  
14648
 
$as_echo "@%:@define const /**/" >>confdefs.h
14649
 
 
14650
 
fi
14651
 
 
14652
 
ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
14653
 
if test "x$ac_cv_type_size_t" = x""yes; then :
14654
 
  
14655
 
else
14656
 
  
14657
 
cat >>confdefs.h <<_ACEOF
14658
 
@%:@define size_t unsigned int
14659
 
_ACEOF
14660
 
 
14661
 
fi
14662
 
 
14663
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5
14664
 
$as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; }
14665
 
if test "${ac_cv_struct_tm+set}" = set; then :
14666
 
  $as_echo_n "(cached) " >&6
14667
 
else
14668
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14669
 
/* end confdefs.h.  */
14670
 
#include <sys/types.h>
14671
 
#include <time.h>
14672
 
 
14673
 
int
14674
 
main ()
14675
 
{
14676
 
struct tm tm;
14677
 
                                     int *p = &tm.tm_sec;
14678
 
                                     return !p;
14679
 
  ;
14680
 
  return 0;
14681
 
}
14682
 
_ACEOF
14683
 
if ac_fn_c_try_compile "$LINENO"; then :
14684
 
  ac_cv_struct_tm=time.h
14685
 
else
14686
 
  ac_cv_struct_tm=sys/time.h
14687
 
fi
14688
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14689
 
fi
14690
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5
14691
 
$as_echo "$ac_cv_struct_tm" >&6; }
14692
 
if test $ac_cv_struct_tm = sys/time.h; then
14693
 
  
14694
 
$as_echo "@%:@define TM_IN_SYS_TIME 1" >>confdefs.h
14695
 
 
14696
 
fi
14697
 
 
14698
 
 
14699
 
for ac_header in net/errno.h sys/errno.h errno.h
14700
 
do :
14701
 
  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
14702
 
ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
14703
 
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
14704
 
  cat >>confdefs.h <<_ACEOF
14705
 
@%:@define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
14706
 
_ACEOF
14707
 
 
14708
 
fi
14709
 
 
14710
 
done
14711
 
 
14712
 
for ac_header in sys/fcntl.h fcntl.h
14713
 
do :
14714
 
  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
14715
 
ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
14716
 
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
14717
 
  cat >>confdefs.h <<_ACEOF
14718
 
@%:@define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
14719
 
_ACEOF
14720
 
 
14721
 
fi
14722
 
 
14723
 
done
14724
 
 
14725
 
for ac_header in sys/stat.h stat.h
14726
 
do :
14727
 
  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
14728
 
ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
14729
 
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
14730
 
  cat >>confdefs.h <<_ACEOF
14731
 
@%:@define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
14732
 
_ACEOF
14733
 
 
14734
 
fi
14735
 
 
14736
 
done
14737
 
 
14738
 
for ac_header in sys/time.h time.h
14739
 
do :
14740
 
  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
14741
 
ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
14742
 
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
14743
 
  cat >>confdefs.h <<_ACEOF
14744
 
@%:@define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
14745
 
_ACEOF
14746
 
 
14747
 
fi
14748
 
 
14749
 
done
14750
 
 
14751
 
for ac_header in sys/types.h types.h
14752
 
do :
14753
 
  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
14754
 
ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
14755
 
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
14756
 
  cat >>confdefs.h <<_ACEOF
14757
 
@%:@define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
14758
 
_ACEOF
14759
 
 
14760
 
fi
14761
 
 
14762
 
done
14763
 
 
14764
 
for ac_header in sys/unistd.h unistd.h
14765
 
do :
14766
 
  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
14767
 
ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
14768
 
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
14769
 
  cat >>confdefs.h <<_ACEOF
14770
 
@%:@define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
14771
 
_ACEOF
14772
 
 
14773
 
fi
14774
 
 
14775
 
done
14776
 
 
14777
 
for ac_header in ctype.h
14778
 
do :
14779
 
  ac_fn_c_check_header_mongrel "$LINENO" "ctype.h" "ac_cv_header_ctype_h" "$ac_includes_default"
14780
 
if test "x$ac_cv_header_ctype_h" = x""yes; then :
14781
 
  cat >>confdefs.h <<_ACEOF
14782
 
@%:@define HAVE_CTYPE_H 1
14783
 
_ACEOF
14784
 
 
14785
 
fi
14786
 
 
14787
 
done
14788
 
 
14789
 
for ac_header in wchar.h
14790
 
do :
14791
 
  ac_fn_c_check_header_mongrel "$LINENO" "wchar.h" "ac_cv_header_wchar_h" "$ac_includes_default"
14792
 
if test "x$ac_cv_header_wchar_h" = x""yes; then :
14793
 
  cat >>confdefs.h <<_ACEOF
14794
 
@%:@define HAVE_WCHAR_H 1
14795
 
_ACEOF
14796
 
 
14797
 
fi
14798
 
 
14799
 
done
14800
 
 
14801
 
for ac_header in wctype.h
14802
 
do :
14803
 
  ac_fn_c_check_header_mongrel "$LINENO" "wctype.h" "ac_cv_header_wctype_h" "$ac_includes_default"
14804
 
if test "x$ac_cv_header_wctype_h" = x""yes; then :
14805
 
  cat >>confdefs.h <<_ACEOF
14806
 
@%:@define HAVE_WCTYPE_H 1
14807
 
_ACEOF
14808
 
 
14809
 
fi
14810
 
 
14811
 
done
14812
 
 
14813
 
for ac_header in iconv.h
14814
 
do :
14815
 
  ac_fn_c_check_header_mongrel "$LINENO" "iconv.h" "ac_cv_header_iconv_h" "$ac_includes_default"
14816
 
if test "x$ac_cv_header_iconv_h" = x""yes; then :
14817
 
  cat >>confdefs.h <<_ACEOF
14818
 
@%:@define HAVE_ICONV_H 1
14819
 
_ACEOF
14820
 
 
14821
 
fi
14822
 
 
14823
 
done
14824
 
 
14825
 
for ac_header in semaphore.h
14826
 
do :
14827
 
  ac_fn_c_check_header_mongrel "$LINENO" "semaphore.h" "ac_cv_header_semaphore_h" "$ac_includes_default"
14828
 
if test "x$ac_cv_header_semaphore_h" = x""yes; then :
14829
 
  cat >>confdefs.h <<_ACEOF
14830
 
@%:@define HAVE_SEMAPHORE_H 1
14831
 
_ACEOF
14832
 
 
14833
 
fi
14834
 
 
14835
 
done
14836
 
 
14837
 
for ac_header in malloc.h
14838
 
do :
14839
 
  ac_fn_c_check_header_mongrel "$LINENO" "malloc.h" "ac_cv_header_malloc_h" "$ac_includes_default"
14840
 
if test "x$ac_cv_header_malloc_h" = x""yes; then :
14841
 
  cat >>confdefs.h <<_ACEOF
14842
 
@%:@define HAVE_MALLOC_H 1
14843
 
_ACEOF
14844
 
 
14845
 
fi
14846
 
 
14847
 
done
14848
 
 
14849
 
for ac_header in memory.h
14850
 
do :
14851
 
  ac_fn_c_check_header_mongrel "$LINENO" "memory.h" "ac_cv_header_memory_h" "$ac_includes_default"
14852
 
if test "x$ac_cv_header_memory_h" = x""yes; then :
14853
 
  cat >>confdefs.h <<_ACEOF
14854
 
@%:@define HAVE_MEMORY_H 1
14855
 
_ACEOF
14856
 
 
14857
 
fi
14858
 
 
14859
 
done
14860
 
 
14861
 
for ac_header in stdio.h
14862
 
do :
14863
 
  ac_fn_c_check_header_mongrel "$LINENO" "stdio.h" "ac_cv_header_stdio_h" "$ac_includes_default"
14864
 
if test "x$ac_cv_header_stdio_h" = x""yes; then :
14865
 
  cat >>confdefs.h <<_ACEOF
14866
 
@%:@define HAVE_STDIO_H 1
14867
 
_ACEOF
14868
 
 
14869
 
fi
14870
 
 
14871
 
done
14872
 
 
14873
 
for ac_header in stdlib.h
14874
 
do :
14875
 
  ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
14876
 
if test "x$ac_cv_header_stdlib_h" = x""yes; then :
14877
 
  cat >>confdefs.h <<_ACEOF
14878
 
@%:@define HAVE_STDLIB_H 1
14879
 
_ACEOF
14880
 
 
14881
 
fi
14882
 
 
14883
 
done
14884
 
 
14885
 
for ac_header in string.h strings.h
14886
 
do :
14887
 
  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
14888
 
ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
14889
 
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
14890
 
  cat >>confdefs.h <<_ACEOF
14891
 
@%:@define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
14892
 
_ACEOF
14893
 
 
14894
 
fi
14895
 
 
14896
 
done
14897
 
 
14898
 
for ac_header in libc.h
14899
 
do :
14900
 
  ac_fn_c_check_header_mongrel "$LINENO" "libc.h" "ac_cv_header_libc_h" "$ac_includes_default"
14901
 
if test "x$ac_cv_header_libc_h" = x""yes; then :
14902
 
  cat >>confdefs.h <<_ACEOF
14903
 
@%:@define HAVE_LIBC_H 1
14904
 
_ACEOF
14905
 
 
14906
 
fi
14907
 
 
14908
 
done
14909
 
 
14910
 
for ac_header in dlfcn.h
14911
 
do :
14912
 
  ac_fn_c_check_header_mongrel "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default"
14913
 
if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
14914
 
  cat >>confdefs.h <<_ACEOF
14915
 
@%:@define HAVE_DLFCN_H 1
14916
 
_ACEOF
14917
 
 
14918
 
fi
14919
 
 
14920
 
done
14921
 
 
14922
 
ac_header_dirent=no
14923
 
for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
14924
 
  as_ac_Header=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
14925
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5
14926
 
$as_echo_n "checking for $ac_hdr that defines DIR... " >&6; }
14927
 
if eval "test \"\${$as_ac_Header+set}\"" = set; then :
14928
 
  $as_echo_n "(cached) " >&6
14929
 
else
14930
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14931
 
/* end confdefs.h.  */
14932
 
#include <sys/types.h>
14933
 
#include <$ac_hdr>
14934
 
 
14935
 
int
14936
 
main ()
14937
 
{
14938
 
if ((DIR *) 0)
14939
 
return 0;
14940
 
  ;
14941
 
  return 0;
14942
 
}
14943
 
_ACEOF
14944
 
if ac_fn_c_try_compile "$LINENO"; then :
14945
 
  eval "$as_ac_Header=yes"
14946
 
else
14947
 
  eval "$as_ac_Header=no"
14948
 
fi
14949
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14950
 
fi
14951
 
eval ac_res=\$$as_ac_Header
14952
 
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14953
 
$as_echo "$ac_res" >&6; }
14954
 
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
14955
 
  cat >>confdefs.h <<_ACEOF
14956
 
@%:@define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
14957
 
_ACEOF
14958
 
 
14959
 
ac_header_dirent=$ac_hdr; break
14960
 
fi
14961
 
 
14962
 
done
14963
 
# Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
14964
 
if test $ac_header_dirent = dirent.h; then
14965
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
14966
 
$as_echo_n "checking for library containing opendir... " >&6; }
14967
 
if test "${ac_cv_search_opendir+set}" = set; then :
14968
 
  $as_echo_n "(cached) " >&6
14969
 
else
14970
 
  ac_func_search_save_LIBS=$LIBS
14971
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14972
 
/* end confdefs.h.  */
14973
 
 
14974
 
/* Override any GCC internal prototype to avoid an error.
14975
 
   Use char because int might match the return type of a GCC
14976
 
   builtin and then its argument prototype would still apply.  */
14977
 
#ifdef __cplusplus
14978
 
extern "C"
14979
 
#endif
14980
 
char opendir ();
14981
 
int
14982
 
main ()
14983
 
{
14984
 
return opendir ();
14985
 
  ;
14986
 
  return 0;
14987
 
}
14988
 
_ACEOF
14989
 
for ac_lib in '' dir; do
14990
 
  if test -z "$ac_lib"; then
14991
 
    ac_res="none required"
14992
 
  else
14993
 
    ac_res=-l$ac_lib
14994
 
    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
14995
 
  fi
14996
 
  if ac_fn_c_try_link "$LINENO"; then :
14997
 
  ac_cv_search_opendir=$ac_res
14998
 
fi
14999
 
rm -f core conftest.err conftest.$ac_objext \
15000
 
    conftest$ac_exeext
15001
 
  if test "${ac_cv_search_opendir+set}" = set; then :
15002
 
  break
15003
 
fi
15004
 
done
15005
 
if test "${ac_cv_search_opendir+set}" = set; then :
15006
 
  
15007
 
else
15008
 
  ac_cv_search_opendir=no
15009
 
fi
15010
 
rm conftest.$ac_ext
15011
 
LIBS=$ac_func_search_save_LIBS
15012
 
fi
15013
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
15014
 
$as_echo "$ac_cv_search_opendir" >&6; }
15015
 
ac_res=$ac_cv_search_opendir
15016
 
if test "$ac_res" != no; then :
15017
 
  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15018
 
  
15019
 
fi
15020
 
 
15021
 
else
15022
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
15023
 
$as_echo_n "checking for library containing opendir... " >&6; }
15024
 
if test "${ac_cv_search_opendir+set}" = set; then :
15025
 
  $as_echo_n "(cached) " >&6
15026
 
else
15027
 
  ac_func_search_save_LIBS=$LIBS
15028
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15029
 
/* end confdefs.h.  */
15030
 
 
15031
 
/* Override any GCC internal prototype to avoid an error.
15032
 
   Use char because int might match the return type of a GCC
15033
 
   builtin and then its argument prototype would still apply.  */
15034
 
#ifdef __cplusplus
15035
 
extern "C"
15036
 
#endif
15037
 
char opendir ();
15038
 
int
15039
 
main ()
15040
 
{
15041
 
return opendir ();
15042
 
  ;
15043
 
  return 0;
15044
 
}
15045
 
_ACEOF
15046
 
for ac_lib in '' x; do
15047
 
  if test -z "$ac_lib"; then
15048
 
    ac_res="none required"
15049
 
  else
15050
 
    ac_res=-l$ac_lib
15051
 
    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
15052
 
  fi
15053
 
  if ac_fn_c_try_link "$LINENO"; then :
15054
 
  ac_cv_search_opendir=$ac_res
15055
 
fi
15056
 
rm -f core conftest.err conftest.$ac_objext \
15057
 
    conftest$ac_exeext
15058
 
  if test "${ac_cv_search_opendir+set}" = set; then :
15059
 
  break
15060
 
fi
15061
 
done
15062
 
if test "${ac_cv_search_opendir+set}" = set; then :
15063
 
  
15064
 
else
15065
 
  ac_cv_search_opendir=no
15066
 
fi
15067
 
rm conftest.$ac_ext
15068
 
LIBS=$ac_func_search_save_LIBS
15069
 
fi
15070
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
15071
 
$as_echo "$ac_cv_search_opendir" >&6; }
15072
 
ac_res=$ac_cv_search_opendir
15073
 
if test "$ac_res" != no; then :
15074
 
  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15075
 
  
15076
 
fi
15077
 
 
15078
 
fi
15079
 
 
15080
 
for ac_header in dir.h direct.h
15081
 
do :
15082
 
  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15083
 
ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15084
 
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15085
 
  cat >>confdefs.h <<_ACEOF
15086
 
@%:@define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15087
 
_ACEOF
15088
 
 
15089
 
fi
15090
 
 
15091
 
done
15092
 
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
15093
 
$as_echo_n "checking for ANSI C header files... " >&6; }
15094
 
if test "${ac_cv_header_stdc+set}" = set; then :
15095
 
  $as_echo_n "(cached) " >&6
15096
 
else
15097
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15098
 
/* end confdefs.h.  */
15099
 
#include <stdlib.h>
15100
 
#include <stdarg.h>
15101
 
#include <string.h>
15102
 
#include <float.h>
15103
 
 
15104
 
int
15105
 
main ()
15106
 
{
15107
 
 
15108
 
  ;
15109
 
  return 0;
15110
 
}
15111
 
_ACEOF
15112
 
if ac_fn_c_try_compile "$LINENO"; then :
15113
 
  ac_cv_header_stdc=yes
15114
 
else
15115
 
  ac_cv_header_stdc=no
15116
 
fi
15117
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15118
 
 
15119
 
if test $ac_cv_header_stdc = yes; then
15120
 
  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
15121
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15122
 
/* end confdefs.h.  */
15123
 
#include <string.h>
15124
 
 
15125
 
_ACEOF
15126
 
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15127
 
  $EGREP "memchr" >/dev/null 2>&1; then :
15128
 
  
15129
 
else
15130
 
  ac_cv_header_stdc=no
15131
 
fi
15132
 
rm -f conftest*
15133
 
 
15134
 
fi
15135
 
 
15136
 
if test $ac_cv_header_stdc = yes; then
15137
 
  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
15138
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15139
 
/* end confdefs.h.  */
15140
 
#include <stdlib.h>
15141
 
 
15142
 
_ACEOF
15143
 
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15144
 
  $EGREP "free" >/dev/null 2>&1; then :
15145
 
  
15146
 
else
15147
 
  ac_cv_header_stdc=no
15148
 
fi
15149
 
rm -f conftest*
15150
 
 
15151
 
fi
15152
 
 
15153
 
if test $ac_cv_header_stdc = yes; then
15154
 
  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
15155
 
  if test "$cross_compiling" = yes; then :
15156
 
  :
15157
 
else
15158
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15159
 
/* end confdefs.h.  */
15160
 
#include <ctype.h>
15161
 
#include <stdlib.h>
15162
 
#if ((' ' & 0x0FF) == 0x020)
15163
 
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
15164
 
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
15165
 
#else
15166
 
# define ISLOWER(c) \
15167
 
                   (('a' <= (c) && (c) <= 'i') \
15168
 
                     || ('j' <= (c) && (c) <= 'r') \
15169
 
                     || ('s' <= (c) && (c) <= 'z'))
15170
 
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
15171
 
#endif
15172
 
 
15173
 
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
15174
 
int
15175
 
main ()
15176
 
{
15177
 
  int i;
15178
 
  for (i = 0; i < 256; i++)
15179
 
    if (XOR (islower (i), ISLOWER (i))
15180
 
        || toupper (i) != TOUPPER (i))
15181
 
      return 2;
15182
 
  return 0;
15183
 
}
15184
 
_ACEOF
15185
 
if ac_fn_c_try_run "$LINENO"; then :
15186
 
  
15187
 
else
15188
 
  ac_cv_header_stdc=no
15189
 
fi
15190
 
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
15191
 
  conftest.$ac_objext conftest.beam conftest.$ac_ext
15192
 
fi
15193
 
 
15194
 
fi
15195
 
fi
15196
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
15197
 
$as_echo "$ac_cv_header_stdc" >&6; }
15198
 
if test $ac_cv_header_stdc = yes; then
15199
 
  
15200
 
$as_echo "@%:@define STDC_HEADERS 1" >>confdefs.h
15201
 
 
15202
 
fi
15203
 
 
15204
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
15205
 
$as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
15206
 
if test "${ac_cv_header_time+set}" = set; then :
15207
 
  $as_echo_n "(cached) " >&6
15208
 
else
15209
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15210
 
/* end confdefs.h.  */
15211
 
#include <sys/types.h>
15212
 
#include <sys/time.h>
15213
 
#include <time.h>
15214
 
 
15215
 
int
15216
 
main ()
15217
 
{
15218
 
if ((struct tm *) 0)
15219
 
return 0;
15220
 
  ;
15221
 
  return 0;
15222
 
}
15223
 
_ACEOF
15224
 
if ac_fn_c_try_compile "$LINENO"; then :
15225
 
  ac_cv_header_time=yes
15226
 
else
15227
 
  ac_cv_header_time=no
15228
 
fi
15229
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15230
 
fi
15231
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
15232
 
$as_echo "$ac_cv_header_time" >&6; }
15233
 
if test $ac_cv_header_time = yes; then
15234
 
  
15235
 
$as_echo "@%:@define TIME_WITH_SYS_TIME 1" >>confdefs.h
15236
 
 
15237
 
fi
15238
 
 
15239
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
15240
 
$as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
15241
 
if test "${ac_cv_header_stat_broken+set}" = set; then :
15242
 
  $as_echo_n "(cached) " >&6
15243
 
else
15244
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15245
 
/* end confdefs.h.  */
15246
 
#include <sys/types.h>
15247
 
#include <sys/stat.h>
15248
 
 
15249
 
#if defined S_ISBLK && defined S_IFDIR
15250
 
extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
15251
 
#endif
15252
 
 
15253
 
#if defined S_ISBLK && defined S_IFCHR
15254
 
extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
15255
 
#endif
15256
 
 
15257
 
#if defined S_ISLNK && defined S_IFREG
15258
 
extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
15259
 
#endif
15260
 
 
15261
 
#if defined S_ISSOCK && defined S_IFREG
15262
 
extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
15263
 
#endif
15264
 
 
15265
 
_ACEOF
15266
 
if ac_fn_c_try_compile "$LINENO"; then :
15267
 
  ac_cv_header_stat_broken=no
15268
 
else
15269
 
  ac_cv_header_stat_broken=yes
15270
 
fi
15271
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15272
 
fi
15273
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
15274
 
$as_echo "$ac_cv_header_stat_broken" >&6; }
15275
 
if test $ac_cv_header_stat_broken = yes; then
15276
 
  
15277
 
$as_echo "@%:@define STAT_MACROS_BROKEN 1" >>confdefs.h
15278
 
 
15279
 
fi
15280
 
 
15281
 
 
15282
 
for ac_func in vprintf
15283
 
do :
15284
 
  ac_fn_c_check_func "$LINENO" "vprintf" "ac_cv_func_vprintf"
15285
 
if test "x$ac_cv_func_vprintf" = x""yes; then :
15286
 
  cat >>confdefs.h <<_ACEOF
15287
 
@%:@define HAVE_VPRINTF 1
15288
 
_ACEOF
15289
 
 
15290
 
ac_fn_c_check_func "$LINENO" "_doprnt" "ac_cv_func__doprnt"
15291
 
if test "x$ac_cv_func__doprnt" = x""yes; then :
15292
 
  
15293
 
$as_echo "@%:@define HAVE_DOPRNT 1" >>confdefs.h
15294
 
 
15295
 
fi
15296
 
 
15297
 
fi
15298
 
done
15299
 
 
15300
 
 
15301
 
for ac_func in getcwd strcspn strdup strerror strstr strchr strrchr index rindex memcpy memcmp
15302
 
do :
15303
 
  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15304
 
ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15305
 
if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15306
 
  cat >>confdefs.h <<_ACEOF
15307
 
@%:@define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15308
 
_ACEOF
15309
 
 
15310
 
fi
15311
 
done
15312
 
 
15313
 
for ac_func in vsnprintf
15314
 
do :
15315
 
  ac_fn_c_check_func "$LINENO" "vsnprintf" "ac_cv_func_vsnprintf"
15316
 
if test "x$ac_cv_func_vsnprintf" = x""yes; then :
15317
 
  cat >>confdefs.h <<_ACEOF
15318
 
@%:@define HAVE_VSNPRINTF 1
15319
 
_ACEOF
15320
 
 
15321
 
fi
15322
 
done
15323
 
 
15324
 
for ac_func in dlerror
15325
 
do :
15326
 
  ac_fn_c_check_func "$LINENO" "dlerror" "ac_cv_func_dlerror"
15327
 
if test "x$ac_cv_func_dlerror" = x""yes; then :
15328
 
  cat >>confdefs.h <<_ACEOF
15329
 
@%:@define HAVE_DLERROR 1
15330
 
_ACEOF
15331
 
 
15332
 
fi
15333
 
done
15334
 
 
15335
 
 
15336
 
 
15337
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking where to install HTML documents" >&5
15338
 
$as_echo_n "checking where to install HTML documents... " >&6; }
15339
 
if test "${ac_cv_htmldir+set}" = set; then :
15340
 
  $as_echo_n "(cached) " >&6
15341
 
else
15342
 
  ac_cv_htmldir='$(datadir)/doc'
15343
 
fi
15344
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_htmldir" >&5
15345
 
$as_echo "$ac_cv_htmldir" >&6; }
15346
 
htmldir=$ac_cv_htmldir
15347
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking where to install SGML documents" >&5
15348
 
$as_echo_n "checking where to install SGML documents... " >&6; }
15349
 
if test "${ac_cv_sgmldir+set}" = set; then :
15350
 
  $as_echo_n "(cached) " >&6
15351
 
else
15352
 
  ac_cv_sgmldir='$(datadir)/doc'
15353
 
fi
15354
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sgmldir" >&5
15355
 
$as_echo "$ac_cv_sgmldir" >&6; }
15356
 
sgmldir=$ac_cv_sgmldir
15357
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking where to install examples" >&5
15358
 
$as_echo_n "checking where to install examples... " >&6; }
15359
 
if test "${ac_cv_sampledir+set}" = set; then :
15360
 
  $as_echo_n "(cached) " >&6
15361
 
else
15362
 
  ac_cv_sampledir='$(datadir)/examples'
15363
 
fi
15364
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sampledir" >&5
15365
 
$as_echo "$ac_cv_sampledir" >&6; }
15366
 
sampledir=$ac_cv_sampledir
15367
 
 
15368
 
 
15369
 
 
15370
 
 
15371
 
 
15372
 
ac_config_files="$ac_config_files Makefile gen/Makefile genxml/Makefile libbase/Makefile libstyx/Makefile libutil/Makefile libxml/Makefile modstd/Makefile modext/Makefile pgm/Makefile pgmxml/Makefile inc/Makefile incxml/Makefile doc/Makefile examples/Makefile examples/example01/Makefile examples/example01/mx examples/example02/Makefile examples/example02/mx examples/example03/Makefile examples/example03/mx examples/example04/Makefile examples/example04/mx examples/example05/Makefile examples/example05/mx examples/example06/Makefile examples/example06/mx examples/example07/Makefile examples/example07/mx spe/Makefile spe/xsty.in spexml/Makefile spexml/xxml.in pat/Makefile libspe/Makefile"
15373
 
 
15374
 
cat >confcache <<\_ACEOF
15375
 
# This file is a shell script that caches the results of configure
15376
 
# tests run on this system so they can be shared between configure
15377
 
# scripts and configure runs, see configure's option --config-cache.
15378
 
# It is not useful on other systems.  If it contains results you don't
15379
 
# want to keep, you may remove or edit it.
15380
 
#
15381
 
# config.status only pays attention to the cache file if you give it
15382
 
# the --recheck option to rerun configure.
15383
 
#
15384
 
# `ac_cv_env_foo' variables (set or unset) will be overridden when
15385
 
# loading this file, other *unset* `ac_cv_foo' will be assigned the
15386
 
# following values.
15387
 
 
15388
 
_ACEOF
15389
 
 
15390
 
# The following way of writing the cache mishandles newlines in values,
15391
 
# but we know of no workaround that is simple, portable, and efficient.
15392
 
# So, we kill variables containing newlines.
15393
 
# Ultrix sh set writes to stderr and can't be redirected directly,
15394
 
# and sets the high bit in the cache file unless we assign to the vars.
15395
 
(
15396
 
  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
15397
 
    eval ac_val=\$$ac_var
15398
 
    case $ac_val in #(
15399
 
    *${as_nl}*)
15400
 
      case $ac_var in #(
15401
 
      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
15402
 
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
15403
 
      esac
15404
 
      case $ac_var in #(
15405
 
      _ | IFS | as_nl) ;; #(
15406
 
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
15407
 
      *) { eval $ac_var=; unset $ac_var;} ;;
15408
 
      esac ;;
15409
 
    esac
15410
 
  done
15411
 
 
15412
 
  (set) 2>&1 |
15413
 
    case $as_nl`(ac_space=' '; set) 2>&1` in #(
15414
 
    *${as_nl}ac_space=\ *)
15415
 
      # `set' does not quote correctly, so add quotes: double-quote
15416
 
      # substitution turns \\\\ into \\, and sed turns \\ into \.
15417
 
      sed -n \
15418
 
        "s/'/'\\\\''/g;
15419
 
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
15420
 
      ;; #(
15421
 
    *)
15422
 
      # `set' quotes correctly as required by POSIX, so do not add quotes.
15423
 
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
15424
 
      ;;
15425
 
    esac |
15426
 
    sort
15427
 
) |
15428
 
  sed '
15429
 
     /^ac_cv_env_/b end
15430
 
     t clear
15431
 
     :clear
15432
 
     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
15433
 
     t end
15434
 
     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
15435
 
     :end' >>confcache
15436
 
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
15437
 
  if test -w "$cache_file"; then
15438
 
    test "x$cache_file" != "x/dev/null" &&
15439
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
15440
 
$as_echo "$as_me: updating cache $cache_file" >&6;}
15441
 
    cat confcache >$cache_file
15442
 
  else
15443
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
15444
 
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
15445
 
  fi
15446
 
fi
15447
 
rm -f confcache
15448
 
 
15449
 
test "x$prefix" = xNONE && prefix=$ac_default_prefix
15450
 
# Let make expand exec_prefix.
15451
 
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
15452
 
 
15453
 
DEFS=-DHAVE_CONFIG_H
15454
 
 
15455
 
ac_libobjs=
15456
 
ac_ltlibobjs=
15457
 
U=
15458
 
for ac_i in : $LIB@&t@OBJS; do test "x$ac_i" = x: && continue
15459
 
  # 1. Remove the extension, and $U if already installed.
15460
 
  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
15461
 
  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
15462
 
  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
15463
 
  #    will be set to the directory where LIBOBJS objects are built.
15464
 
  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
15465
 
  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
15466
 
done
15467
 
LIB@&t@OBJS=$ac_libobjs
15468
 
 
15469
 
LTLIBOBJS=$ac_ltlibobjs
15470
 
 
15471
 
 
15472
 
 if test -n "$EXEEXT"; then
15473
 
  am__EXEEXT_TRUE=
15474
 
  am__EXEEXT_FALSE='#'
15475
 
else
15476
 
  am__EXEEXT_TRUE='#'
15477
 
  am__EXEEXT_FALSE=
15478
 
fi
15479
 
 
15480
 
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
15481
 
  as_fn_error $? "conditional \"AMDEP\" was never defined.
15482
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5 
15483
 
fi
15484
 
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
15485
 
  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
15486
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5 
15487
 
fi
15488
 
if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
15489
 
  as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
15490
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5 
15491
 
fi
15492
 
if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
15493
 
  as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
15494
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5 
15495
 
fi
15496
 
 
15497
 
: ${CONFIG_STATUS=./config.status}
15498
 
ac_write_fail=0
15499
 
ac_clean_files_save=$ac_clean_files
15500
 
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
15501
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
15502
 
$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
15503
 
as_write_fail=0
15504
 
cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
15505
 
#! $SHELL
15506
 
# Generated by $as_me.
15507
 
# Run this file to recreate the current configuration.
15508
 
# Compiler output produced by configure, useful for debugging
15509
 
# configure, is in config.log if it exists.
15510
 
 
15511
 
debug=false
15512
 
ac_cs_recheck=false
15513
 
ac_cs_silent=false
15514
 
 
15515
 
SHELL=\${CONFIG_SHELL-$SHELL}
15516
 
export SHELL
15517
 
_ASEOF
15518
 
cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
15519
 
## -------------------- ##
15520
 
## M4sh Initialization. ##
15521
 
## -------------------- ##
15522
 
 
15523
 
# Be more Bourne compatible
15524
 
DUALCASE=1; export DUALCASE # for MKS sh
15525
 
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
15526
 
  emulate sh
15527
 
  NULLCMD=:
15528
 
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
15529
 
  # is contrary to our usage.  Disable this feature.
15530
 
  alias -g '${1+"$@"}'='"$@"'
15531
 
  setopt NO_GLOB_SUBST
15532
 
else
15533
 
  case `(set -o) 2>/dev/null` in @%:@(
15534
 
  *posix*) :
15535
 
    set -o posix ;; @%:@(
15536
 
  *) :
15537
 
     ;;
15538
 
esac
15539
 
fi
15540
 
 
15541
 
 
15542
 
as_nl='
15543
 
'
15544
 
export as_nl
15545
 
# Printing a long string crashes Solaris 7 /usr/bin/printf.
15546
 
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
15547
 
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
15548
 
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
15549
 
# Prefer a ksh shell builtin over an external printf program on Solaris,
15550
 
# but without wasting forks for bash or zsh.
15551
 
if test -z "$BASH_VERSION$ZSH_VERSION" \
15552
 
    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
15553
 
  as_echo='print -r --'
15554
 
  as_echo_n='print -rn --'
15555
 
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
15556
 
  as_echo='printf %s\n'
15557
 
  as_echo_n='printf %s'
15558
 
else
15559
 
  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
15560
 
    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
15561
 
    as_echo_n='/usr/ucb/echo -n'
15562
 
  else
15563
 
    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
15564
 
    as_echo_n_body='eval
15565
 
      arg=$1;
15566
 
      case $arg in @%:@(
15567
 
      *"$as_nl"*)
15568
 
        expr "X$arg" : "X\\(.*\\)$as_nl";
15569
 
        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
15570
 
      esac;
15571
 
      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
15572
 
    '
15573
 
    export as_echo_n_body
15574
 
    as_echo_n='sh -c $as_echo_n_body as_echo'
15575
 
  fi
15576
 
  export as_echo_body
15577
 
  as_echo='sh -c $as_echo_body as_echo'
15578
 
fi
15579
 
 
15580
 
# The user is always right.
15581
 
if test "${PATH_SEPARATOR+set}" != set; then
15582
 
  PATH_SEPARATOR=:
15583
 
  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
15584
 
    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
15585
 
      PATH_SEPARATOR=';'
15586
 
  }
15587
 
fi
15588
 
 
15589
 
 
15590
 
# IFS
15591
 
# We need space, tab and new line, in precisely that order.  Quoting is
15592
 
# there to prevent editors from complaining about space-tab.
15593
 
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
15594
 
# splitting by setting IFS to empty value.)
15595
 
IFS=" ""        $as_nl"
15596
 
 
15597
 
# Find who we are.  Look in the path if we contain no directory separator.
15598
 
case $0 in @%:@((
15599
 
  *[\\/]* ) as_myself=$0 ;;
15600
 
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15601
 
for as_dir in $PATH
15602
 
do
15603
 
  IFS=$as_save_IFS
15604
 
  test -z "$as_dir" && as_dir=.
15605
 
    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
15606
 
  done
15607
 
IFS=$as_save_IFS
15608
 
 
15609
 
     ;;
15610
 
esac
15611
 
# We did not find ourselves, most probably we were run as `sh COMMAND'
15612
 
# in which case we are not to be found in the path.
15613
 
if test "x$as_myself" = x; then
15614
 
  as_myself=$0
15615
 
fi
15616
 
if test ! -f "$as_myself"; then
15617
 
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
15618
 
  exit 1
15619
 
fi
15620
 
 
15621
 
# Unset variables that we do not need and which cause bugs (e.g. in
15622
 
# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
15623
 
# suppresses any "Segmentation fault" message there.  '((' could
15624
 
# trigger a bug in pdksh 5.2.14.
15625
 
for as_var in BASH_ENV ENV MAIL MAILPATH
15626
 
do eval test x\${$as_var+set} = xset \
15627
 
  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
15628
 
done
15629
 
PS1='$ '
15630
 
PS2='> '
15631
 
PS4='+ '
15632
 
 
15633
 
# NLS nuisances.
15634
 
LC_ALL=C
15635
 
export LC_ALL
15636
 
LANGUAGE=C
15637
 
export LANGUAGE
15638
 
 
15639
 
# CDPATH.
15640
 
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
15641
 
 
15642
 
 
15643
 
@%:@ as_fn_error STATUS ERROR [LINENO LOG_FD]
15644
 
@%:@ ----------------------------------------
15645
 
@%:@ Output "`basename @S|@0`: error: ERROR" to stderr. If LINENO and LOG_FD are
15646
 
@%:@ provided, also output the error to LOG_FD, referencing LINENO. Then exit the
15647
 
@%:@ script with STATUS, using 1 if that was 0.
15648
 
as_fn_error ()
15649
 
{
15650
 
  as_status=$1; test $as_status -eq 0 && as_status=1
15651
 
  if test "$4"; then
15652
 
    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
15653
 
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
15654
 
  fi
15655
 
  $as_echo "$as_me: error: $2" >&2
15656
 
  as_fn_exit $as_status
15657
 
} @%:@ as_fn_error
15658
 
 
15659
 
 
15660
 
@%:@ as_fn_set_status STATUS
15661
 
@%:@ -----------------------
15662
 
@%:@ Set @S|@? to STATUS, without forking.
15663
 
as_fn_set_status ()
15664
 
{
15665
 
  return $1
15666
 
} @%:@ as_fn_set_status
15667
 
 
15668
 
@%:@ as_fn_exit STATUS
15669
 
@%:@ -----------------
15670
 
@%:@ Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
15671
 
as_fn_exit ()
15672
 
{
15673
 
  set +e
15674
 
  as_fn_set_status $1
15675
 
  exit $1
15676
 
} @%:@ as_fn_exit
15677
 
 
15678
 
@%:@ as_fn_unset VAR
15679
 
@%:@ ---------------
15680
 
@%:@ Portably unset VAR.
15681
 
as_fn_unset ()
15682
 
{
15683
 
  { eval $1=; unset $1;}
15684
 
}
15685
 
as_unset=as_fn_unset
15686
 
@%:@ as_fn_append VAR VALUE
15687
 
@%:@ ----------------------
15688
 
@%:@ Append the text in VALUE to the end of the definition contained in VAR. Take
15689
 
@%:@ advantage of any shell optimizations that allow amortized linear growth over
15690
 
@%:@ repeated appends, instead of the typical quadratic growth present in naive
15691
 
@%:@ implementations.
15692
 
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
15693
 
  eval 'as_fn_append ()
15694
 
  {
15695
 
    eval $1+=\$2
15696
 
  }'
15697
 
else
15698
 
  as_fn_append ()
15699
 
  {
15700
 
    eval $1=\$$1\$2
15701
 
  }
15702
 
fi # as_fn_append
15703
 
 
15704
 
@%:@ as_fn_arith ARG...
15705
 
@%:@ ------------------
15706
 
@%:@ Perform arithmetic evaluation on the ARGs, and store the result in the
15707
 
@%:@ global @S|@as_val. Take advantage of shells that can avoid forks. The arguments
15708
 
@%:@ must be portable across @S|@(()) and expr.
15709
 
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
15710
 
  eval 'as_fn_arith ()
15711
 
  {
15712
 
    as_val=$(( $* ))
15713
 
  }'
15714
 
else
15715
 
  as_fn_arith ()
15716
 
  {
15717
 
    as_val=`expr "$@" || test $? -eq 1`
15718
 
  }
15719
 
fi # as_fn_arith
15720
 
 
15721
 
 
15722
 
if expr a : '\(a\)' >/dev/null 2>&1 &&
15723
 
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
15724
 
  as_expr=expr
15725
 
else
15726
 
  as_expr=false
15727
 
fi
15728
 
 
15729
 
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
15730
 
  as_basename=basename
15731
 
else
15732
 
  as_basename=false
15733
 
fi
15734
 
 
15735
 
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
15736
 
  as_dirname=dirname
15737
 
else
15738
 
  as_dirname=false
15739
 
fi
15740
 
 
15741
 
as_me=`$as_basename -- "$0" ||
15742
 
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
15743
 
         X"$0" : 'X\(//\)$' \| \
15744
 
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
15745
 
$as_echo X/"$0" |
15746
 
    sed '/^.*\/\([^/][^/]*\)\/*$/{
15747
 
            s//\1/
15748
 
            q
15749
 
          }
15750
 
          /^X\/\(\/\/\)$/{
15751
 
            s//\1/
15752
 
            q
15753
 
          }
15754
 
          /^X\/\(\/\).*/{
15755
 
            s//\1/
15756
 
            q
15757
 
          }
15758
 
          s/.*/./; q'`
15759
 
 
15760
 
# Avoid depending upon Character Ranges.
15761
 
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
15762
 
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
15763
 
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
15764
 
as_cr_digits='0123456789'
15765
 
as_cr_alnum=$as_cr_Letters$as_cr_digits
15766
 
 
15767
 
ECHO_C= ECHO_N= ECHO_T=
15768
 
case `echo -n x` in @%:@(((((
15769
 
-n*)
15770
 
  case `echo 'xy\c'` in
15771
 
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
15772
 
  xy)  ECHO_C='\c';;
15773
 
  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
15774
 
       ECHO_T=' ';;
15775
 
  esac;;
15776
 
*)
15777
 
  ECHO_N='-n';;
15778
 
esac
15779
 
 
15780
 
rm -f conf$$ conf$$.exe conf$$.file
15781
 
if test -d conf$$.dir; then
15782
 
  rm -f conf$$.dir/conf$$.file
15783
 
else
15784
 
  rm -f conf$$.dir
15785
 
  mkdir conf$$.dir 2>/dev/null
15786
 
fi
15787
 
if (echo >conf$$.file) 2>/dev/null; then
15788
 
  if ln -s conf$$.file conf$$ 2>/dev/null; then
15789
 
    as_ln_s='ln -s'
15790
 
    # ... but there are two gotchas:
15791
 
    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
15792
 
    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
15793
 
    # In both cases, we have to default to `cp -p'.
15794
 
    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
15795
 
      as_ln_s='cp -p'
15796
 
  elif ln conf$$.file conf$$ 2>/dev/null; then
15797
 
    as_ln_s=ln
15798
 
  else
15799
 
    as_ln_s='cp -p'
15800
 
  fi
15801
 
else
15802
 
  as_ln_s='cp -p'
15803
 
fi
15804
 
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
15805
 
rmdir conf$$.dir 2>/dev/null
15806
 
 
15807
 
 
15808
 
@%:@ as_fn_mkdir_p
15809
 
@%:@ -------------
15810
 
@%:@ Create "@S|@as_dir" as a directory, including parents if necessary.
15811
 
as_fn_mkdir_p ()
15812
 
{
15813
 
 
15814
 
  case $as_dir in #(
15815
 
  -*) as_dir=./$as_dir;;
15816
 
  esac
15817
 
  test -d "$as_dir" || eval $as_mkdir_p || {
15818
 
    as_dirs=
15819
 
    while :; do
15820
 
      case $as_dir in #(
15821
 
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
15822
 
      *) as_qdir=$as_dir;;
15823
 
      esac
15824
 
      as_dirs="'$as_qdir' $as_dirs"
15825
 
      as_dir=`$as_dirname -- "$as_dir" ||
15826
 
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15827
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
15828
 
         X"$as_dir" : 'X\(//\)$' \| \
15829
 
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
15830
 
$as_echo X"$as_dir" |
15831
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15832
 
            s//\1/
15833
 
            q
15834
 
          }
15835
 
          /^X\(\/\/\)[^/].*/{
15836
 
            s//\1/
15837
 
            q
15838
 
          }
15839
 
          /^X\(\/\/\)$/{
15840
 
            s//\1/
15841
 
            q
15842
 
          }
15843
 
          /^X\(\/\).*/{
15844
 
            s//\1/
15845
 
            q
15846
 
          }
15847
 
          s/.*/./; q'`
15848
 
      test -d "$as_dir" && break
15849
 
    done
15850
 
    test -z "$as_dirs" || eval "mkdir $as_dirs"
15851
 
  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
15852
 
 
15853
 
 
15854
 
} @%:@ as_fn_mkdir_p
15855
 
if mkdir -p . 2>/dev/null; then
15856
 
  as_mkdir_p='mkdir -p "$as_dir"'
15857
 
else
15858
 
  test -d ./-p && rmdir ./-p
15859
 
  as_mkdir_p=false
15860
 
fi
15861
 
 
15862
 
if test -x / >/dev/null 2>&1; then
15863
 
  as_test_x='test -x'
15864
 
else
15865
 
  if ls -dL / >/dev/null 2>&1; then
15866
 
    as_ls_L_option=L
15867
 
  else
15868
 
    as_ls_L_option=
15869
 
  fi
15870
 
  as_test_x='
15871
 
    eval sh -c '\''
15872
 
      if test -d "$1"; then
15873
 
        test -d "$1/.";
15874
 
      else
15875
 
        case $1 in @%:@(
15876
 
        -*)set "./$1";;
15877
 
        esac;
15878
 
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in @%:@((
15879
 
        ???[sx]*):;;*)false;;esac;fi
15880
 
    '\'' sh
15881
 
  '
15882
 
fi
15883
 
as_executable_p=$as_test_x
15884
 
 
15885
 
# Sed expression to map a string onto a valid CPP name.
15886
 
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
15887
 
 
15888
 
# Sed expression to map a string onto a valid variable name.
15889
 
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
15890
 
 
15891
 
 
15892
 
exec 6>&1
15893
 
## ----------------------------------- ##
15894
 
## Main body of $CONFIG_STATUS script. ##
15895
 
## ----------------------------------- ##
15896
 
_ASEOF
15897
 
test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
15898
 
 
15899
 
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15900
 
# Save the log message, to keep $0 and so on meaningful, and to
15901
 
# report actual input values of CONFIG_FILES etc. instead of their
15902
 
# values after options handling.
15903
 
ac_log="
15904
 
This file was extended by $as_me, which was
15905
 
generated by GNU Autoconf 2.67.  Invocation command line was
15906
 
 
15907
 
  CONFIG_FILES    = $CONFIG_FILES
15908
 
  CONFIG_HEADERS  = $CONFIG_HEADERS
15909
 
  CONFIG_LINKS    = $CONFIG_LINKS
15910
 
  CONFIG_COMMANDS = $CONFIG_COMMANDS
15911
 
  $ $0 $@
15912
 
 
15913
 
on `(hostname || uname -n) 2>/dev/null | sed 1q`
15914
 
"
15915
 
 
15916
 
_ACEOF
15917
 
 
15918
 
case $ac_config_files in *"
15919
 
"*) set x $ac_config_files; shift; ac_config_files=$*;;
15920
 
esac
15921
 
 
15922
 
case $ac_config_headers in *"
15923
 
"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
15924
 
esac
15925
 
 
15926
 
 
15927
 
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15928
 
# Files that config.status was made for.
15929
 
config_files="$ac_config_files"
15930
 
config_headers="$ac_config_headers"
15931
 
config_commands="$ac_config_commands"
15932
 
 
15933
 
_ACEOF
15934
 
 
15935
 
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15936
 
ac_cs_usage="\
15937
 
\`$as_me' instantiates files and other configuration actions
15938
 
from templates according to the current configuration.  Unless the files
15939
 
and actions are specified as TAGs, all are instantiated by default.
15940
 
 
15941
 
Usage: $0 [OPTION]... [TAG]...
15942
 
 
15943
 
  -h, --help       print this help, then exit
15944
 
  -V, --version    print version number and configuration settings, then exit
15945
 
      --config     print configuration, then exit
15946
 
  -q, --quiet, --silent
15947
 
                   do not print progress messages
15948
 
  -d, --debug      don't remove temporary files
15949
 
      --recheck    update $as_me by reconfiguring in the same conditions
15950
 
      --file=FILE[:TEMPLATE] 
15951
 
                   instantiate the configuration file FILE
15952
 
      --header=FILE[:TEMPLATE] 
15953
 
                   instantiate the configuration header FILE
15954
 
 
15955
 
Configuration files:
15956
 
$config_files
15957
 
 
15958
 
Configuration headers:
15959
 
$config_headers
15960
 
 
15961
 
Configuration commands:
15962
 
$config_commands
15963
 
 
15964
 
Report bugs to the package provider."
15965
 
 
15966
 
_ACEOF
15967
 
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15968
 
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
15969
 
ac_cs_version="\\
15970
 
config.status
15971
 
configured by $0, generated by GNU Autoconf 2.67,
15972
 
  with options \\"\$ac_cs_config\\"
15973
 
 
15974
 
Copyright (C) 2010 Free Software Foundation, Inc.
15975
 
This config.status script is free software; the Free Software Foundation
15976
 
gives unlimited permission to copy, distribute and modify it."
15977
 
 
15978
 
ac_pwd='$ac_pwd'
15979
 
srcdir='$srcdir'
15980
 
INSTALL='$INSTALL'
15981
 
MKDIR_P='$MKDIR_P'
15982
 
AWK='$AWK'
15983
 
test -n "\$AWK" || AWK=awk
15984
 
_ACEOF
15985
 
 
15986
 
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15987
 
# The default lists apply if the user does not specify any file.
15988
 
ac_need_defaults=:
15989
 
while test $# != 0
15990
 
do
15991
 
  case $1 in
15992
 
  --*=?*)
15993
 
    ac_option=`expr "X$1" : 'X\([^=]*\)='`
15994
 
    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
15995
 
    ac_shift=:
15996
 
    ;;
15997
 
  --*=)
15998
 
    ac_option=`expr "X$1" : 'X\([^=]*\)='`
15999
 
    ac_optarg=
16000
 
    ac_shift=:
16001
 
    ;;
16002
 
  *)
16003
 
    ac_option=$1
16004
 
    ac_optarg=$2
16005
 
    ac_shift=shift
16006
 
    ;;
16007
 
  esac
16008
 
 
16009
 
  case $ac_option in
16010
 
  # Handling of the options.
16011
 
  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
16012
 
    ac_cs_recheck=: ;;
16013
 
  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
16014
 
    $as_echo "$ac_cs_version"; exit ;;
16015
 
  --config | --confi | --conf | --con | --co | --c )
16016
 
    $as_echo "$ac_cs_config"; exit ;;
16017
 
  --debug | --debu | --deb | --de | --d | -d )
16018
 
    debug=: ;;
16019
 
  --file | --fil | --fi | --f )
16020
 
    $ac_shift
16021
 
    case $ac_optarg in
16022
 
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16023
 
    '') as_fn_error $? "missing file argument" ;;
16024
 
    esac
16025
 
    as_fn_append CONFIG_FILES " '$ac_optarg'"
16026
 
    ac_need_defaults=false;;
16027
 
  --header | --heade | --head | --hea )
16028
 
    $ac_shift
16029
 
    case $ac_optarg in
16030
 
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16031
 
    esac
16032
 
    as_fn_append CONFIG_HEADERS " '$ac_optarg'"
16033
 
    ac_need_defaults=false;;
16034
 
  --he | --h)
16035
 
    # Conflict between --help and --header
16036
 
    as_fn_error $? "ambiguous option: \`$1'
16037
 
Try \`$0 --help' for more information.";;
16038
 
  --help | --hel | -h )
16039
 
    $as_echo "$ac_cs_usage"; exit ;;
16040
 
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
16041
 
  | -silent | --silent | --silen | --sile | --sil | --si | --s)
16042
 
    ac_cs_silent=: ;;
16043
 
 
16044
 
  # This is an error.
16045
 
  -*) as_fn_error $? "unrecognized option: \`$1'
16046
 
Try \`$0 --help' for more information." ;;
16047
 
 
16048
 
  *) as_fn_append ac_config_targets " $1"
16049
 
     ac_need_defaults=false ;;
16050
 
 
16051
 
  esac
16052
 
  shift
16053
 
done
16054
 
 
16055
 
ac_configure_extra_args=
16056
 
 
16057
 
if $ac_cs_silent; then
16058
 
  exec 6>/dev/null
16059
 
  ac_configure_extra_args="$ac_configure_extra_args --silent"
16060
 
fi
16061
 
 
16062
 
_ACEOF
16063
 
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16064
 
if \$ac_cs_recheck; then
16065
 
  set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
16066
 
  shift
16067
 
  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
16068
 
  CONFIG_SHELL='$SHELL'
16069
 
  export CONFIG_SHELL
16070
 
  exec "\$@"
16071
 
fi
16072
 
 
16073
 
_ACEOF
16074
 
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16075
 
exec 5>>config.log
16076
 
{
16077
 
  echo
16078
 
  sed 'h;s/./-/g;s/^.../@%:@@%:@ /;s/...$/ @%:@@%:@/;p;x;p;x' <<_ASBOX
16079
 
@%:@@%:@ Running $as_me. @%:@@%:@
16080
 
_ASBOX
16081
 
  $as_echo "$ac_log"
16082
 
} >&5
16083
 
 
16084
 
_ACEOF
16085
 
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16086
 
#
16087
 
# INIT-COMMANDS
16088
 
#
16089
 
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
16090
 
 
16091
 
 
16092
 
# The HP-UX ksh and POSIX shell print the target directory to stdout
16093
 
# if CDPATH is set.
16094
 
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
16095
 
 
16096
 
sed_quote_subst='$sed_quote_subst'
16097
 
double_quote_subst='$double_quote_subst'
16098
 
delay_variable_subst='$delay_variable_subst'
16099
 
macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
16100
 
macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
16101
 
enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
16102
 
enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
16103
 
pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
16104
 
enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
16105
 
host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
16106
 
host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
16107
 
host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
16108
 
build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
16109
 
build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
16110
 
build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
16111
 
SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
16112
 
Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
16113
 
GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
16114
 
EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
16115
 
FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
16116
 
LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
16117
 
NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
16118
 
LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
16119
 
max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
16120
 
ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
16121
 
exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
16122
 
lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
16123
 
lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
16124
 
lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
16125
 
reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
16126
 
reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16127
 
OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
16128
 
deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
16129
 
file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
16130
 
AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
16131
 
AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
16132
 
STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
16133
 
RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
16134
 
old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16135
 
old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16136
 
old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16137
 
CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
16138
 
CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
16139
 
compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
16140
 
GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
16141
 
lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
16142
 
lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
16143
 
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"`'
16144
 
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"`'
16145
 
objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
16146
 
SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
16147
 
ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
16148
 
MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
16149
 
lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
16150
 
lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
16151
 
lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
16152
 
lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
16153
 
lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
16154
 
need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
16155
 
DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
16156
 
NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
16157
 
LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
16158
 
OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
16159
 
OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
16160
 
libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
16161
 
shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16162
 
extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16163
 
archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
16164
 
enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
16165
 
export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
16166
 
whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
16167
 
compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
16168
 
old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16169
 
old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16170
 
archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16171
 
archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16172
 
module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16173
 
module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16174
 
with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
16175
 
allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
16176
 
no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
16177
 
hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
16178
 
hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
16179
 
hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
16180
 
hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
16181
 
hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
16182
 
hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
16183
 
hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
16184
 
hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
16185
 
inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
16186
 
link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
16187
 
fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
16188
 
always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
16189
 
export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16190
 
exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
16191
 
include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
16192
 
prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16193
 
file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
16194
 
variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
16195
 
need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
16196
 
need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
16197
 
version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
16198
 
runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
16199
 
shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
16200
 
shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
16201
 
libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
16202
 
library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
16203
 
soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
16204
 
postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16205
 
postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16206
 
finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16207
 
finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
16208
 
hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
16209
 
sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
16210
 
sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
16211
 
hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
16212
 
enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
16213
 
enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
16214
 
enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
16215
 
old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
16216
 
striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
16217
 
compiler_lib_search_dirs='`$ECHO "X$compiler_lib_search_dirs" | $Xsed -e "$delay_single_quote_subst"`'
16218
 
predep_objects='`$ECHO "X$predep_objects" | $Xsed -e "$delay_single_quote_subst"`'
16219
 
postdep_objects='`$ECHO "X$postdep_objects" | $Xsed -e "$delay_single_quote_subst"`'
16220
 
predeps='`$ECHO "X$predeps" | $Xsed -e "$delay_single_quote_subst"`'
16221
 
postdeps='`$ECHO "X$postdeps" | $Xsed -e "$delay_single_quote_subst"`'
16222
 
compiler_lib_search_path='`$ECHO "X$compiler_lib_search_path" | $Xsed -e "$delay_single_quote_subst"`'
16223
 
LD_CXX='`$ECHO "X$LD_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16224
 
old_archive_cmds_CXX='`$ECHO "X$old_archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16225
 
compiler_CXX='`$ECHO "X$compiler_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16226
 
GCC_CXX='`$ECHO "X$GCC_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16227
 
lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "X$lt_prog_compiler_no_builtin_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16228
 
lt_prog_compiler_wl_CXX='`$ECHO "X$lt_prog_compiler_wl_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16229
 
lt_prog_compiler_pic_CXX='`$ECHO "X$lt_prog_compiler_pic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16230
 
lt_prog_compiler_static_CXX='`$ECHO "X$lt_prog_compiler_static_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16231
 
lt_cv_prog_compiler_c_o_CXX='`$ECHO "X$lt_cv_prog_compiler_c_o_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16232
 
archive_cmds_need_lc_CXX='`$ECHO "X$archive_cmds_need_lc_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16233
 
enable_shared_with_static_runtimes_CXX='`$ECHO "X$enable_shared_with_static_runtimes_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16234
 
export_dynamic_flag_spec_CXX='`$ECHO "X$export_dynamic_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16235
 
whole_archive_flag_spec_CXX='`$ECHO "X$whole_archive_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16236
 
compiler_needs_object_CXX='`$ECHO "X$compiler_needs_object_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16237
 
old_archive_from_new_cmds_CXX='`$ECHO "X$old_archive_from_new_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16238
 
old_archive_from_expsyms_cmds_CXX='`$ECHO "X$old_archive_from_expsyms_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16239
 
archive_cmds_CXX='`$ECHO "X$archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16240
 
archive_expsym_cmds_CXX='`$ECHO "X$archive_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16241
 
module_cmds_CXX='`$ECHO "X$module_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16242
 
module_expsym_cmds_CXX='`$ECHO "X$module_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16243
 
with_gnu_ld_CXX='`$ECHO "X$with_gnu_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16244
 
allow_undefined_flag_CXX='`$ECHO "X$allow_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16245
 
no_undefined_flag_CXX='`$ECHO "X$no_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16246
 
hardcode_libdir_flag_spec_CXX='`$ECHO "X$hardcode_libdir_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16247
 
hardcode_libdir_flag_spec_ld_CXX='`$ECHO "X$hardcode_libdir_flag_spec_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16248
 
hardcode_libdir_separator_CXX='`$ECHO "X$hardcode_libdir_separator_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16249
 
hardcode_direct_CXX='`$ECHO "X$hardcode_direct_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16250
 
hardcode_direct_absolute_CXX='`$ECHO "X$hardcode_direct_absolute_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16251
 
hardcode_minus_L_CXX='`$ECHO "X$hardcode_minus_L_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16252
 
hardcode_shlibpath_var_CXX='`$ECHO "X$hardcode_shlibpath_var_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16253
 
hardcode_automatic_CXX='`$ECHO "X$hardcode_automatic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16254
 
inherit_rpath_CXX='`$ECHO "X$inherit_rpath_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16255
 
link_all_deplibs_CXX='`$ECHO "X$link_all_deplibs_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16256
 
fix_srcfile_path_CXX='`$ECHO "X$fix_srcfile_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16257
 
always_export_symbols_CXX='`$ECHO "X$always_export_symbols_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16258
 
export_symbols_cmds_CXX='`$ECHO "X$export_symbols_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16259
 
exclude_expsyms_CXX='`$ECHO "X$exclude_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16260
 
include_expsyms_CXX='`$ECHO "X$include_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16261
 
prelink_cmds_CXX='`$ECHO "X$prelink_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16262
 
file_list_spec_CXX='`$ECHO "X$file_list_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16263
 
hardcode_action_CXX='`$ECHO "X$hardcode_action_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16264
 
compiler_lib_search_dirs_CXX='`$ECHO "X$compiler_lib_search_dirs_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16265
 
predep_objects_CXX='`$ECHO "X$predep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16266
 
postdep_objects_CXX='`$ECHO "X$postdep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16267
 
predeps_CXX='`$ECHO "X$predeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16268
 
postdeps_CXX='`$ECHO "X$postdeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16269
 
compiler_lib_search_path_CXX='`$ECHO "X$compiler_lib_search_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16270
 
 
16271
 
LTCC='$LTCC'
16272
 
LTCFLAGS='$LTCFLAGS'
16273
 
compiler='$compiler_DEFAULT'
16274
 
 
16275
 
# Quote evaled strings.
16276
 
for var in SED \
16277
 
GREP \
16278
 
EGREP \
16279
 
FGREP \
16280
 
LD \
16281
 
NM \
16282
 
LN_S \
16283
 
lt_SP2NL \
16284
 
lt_NL2SP \
16285
 
reload_flag \
16286
 
OBJDUMP \
16287
 
deplibs_check_method \
16288
 
file_magic_cmd \
16289
 
AR \
16290
 
AR_FLAGS \
16291
 
STRIP \
16292
 
RANLIB \
16293
 
CC \
16294
 
CFLAGS \
16295
 
compiler \
16296
 
lt_cv_sys_global_symbol_pipe \
16297
 
lt_cv_sys_global_symbol_to_cdecl \
16298
 
lt_cv_sys_global_symbol_to_c_name_address \
16299
 
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
16300
 
SHELL \
16301
 
ECHO \
16302
 
lt_prog_compiler_no_builtin_flag \
16303
 
lt_prog_compiler_wl \
16304
 
lt_prog_compiler_pic \
16305
 
lt_prog_compiler_static \
16306
 
lt_cv_prog_compiler_c_o \
16307
 
need_locks \
16308
 
DSYMUTIL \
16309
 
NMEDIT \
16310
 
LIPO \
16311
 
OTOOL \
16312
 
OTOOL64 \
16313
 
shrext_cmds \
16314
 
export_dynamic_flag_spec \
16315
 
whole_archive_flag_spec \
16316
 
compiler_needs_object \
16317
 
with_gnu_ld \
16318
 
allow_undefined_flag \
16319
 
no_undefined_flag \
16320
 
hardcode_libdir_flag_spec \
16321
 
hardcode_libdir_flag_spec_ld \
16322
 
hardcode_libdir_separator \
16323
 
fix_srcfile_path \
16324
 
exclude_expsyms \
16325
 
include_expsyms \
16326
 
file_list_spec \
16327
 
variables_saved_for_relink \
16328
 
libname_spec \
16329
 
library_names_spec \
16330
 
soname_spec \
16331
 
finish_eval \
16332
 
old_striplib \
16333
 
striplib \
16334
 
compiler_lib_search_dirs \
16335
 
predep_objects \
16336
 
postdep_objects \
16337
 
predeps \
16338
 
postdeps \
16339
 
compiler_lib_search_path \
16340
 
LD_CXX \
16341
 
compiler_CXX \
16342
 
lt_prog_compiler_no_builtin_flag_CXX \
16343
 
lt_prog_compiler_wl_CXX \
16344
 
lt_prog_compiler_pic_CXX \
16345
 
lt_prog_compiler_static_CXX \
16346
 
lt_cv_prog_compiler_c_o_CXX \
16347
 
export_dynamic_flag_spec_CXX \
16348
 
whole_archive_flag_spec_CXX \
16349
 
compiler_needs_object_CXX \
16350
 
with_gnu_ld_CXX \
16351
 
allow_undefined_flag_CXX \
16352
 
no_undefined_flag_CXX \
16353
 
hardcode_libdir_flag_spec_CXX \
16354
 
hardcode_libdir_flag_spec_ld_CXX \
16355
 
hardcode_libdir_separator_CXX \
16356
 
fix_srcfile_path_CXX \
16357
 
exclude_expsyms_CXX \
16358
 
include_expsyms_CXX \
16359
 
file_list_spec_CXX \
16360
 
compiler_lib_search_dirs_CXX \
16361
 
predep_objects_CXX \
16362
 
postdep_objects_CXX \
16363
 
predeps_CXX \
16364
 
postdeps_CXX \
16365
 
compiler_lib_search_path_CXX; do
16366
 
    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
16367
 
    *[\\\\\\\`\\"\\\$]*)
16368
 
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
16369
 
      ;;
16370
 
    *)
16371
 
      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16372
 
      ;;
16373
 
    esac
16374
 
done
16375
 
 
16376
 
# Double-quote double-evaled strings.
16377
 
for var in reload_cmds \
16378
 
old_postinstall_cmds \
16379
 
old_postuninstall_cmds \
16380
 
old_archive_cmds \
16381
 
extract_expsyms_cmds \
16382
 
old_archive_from_new_cmds \
16383
 
old_archive_from_expsyms_cmds \
16384
 
archive_cmds \
16385
 
archive_expsym_cmds \
16386
 
module_cmds \
16387
 
module_expsym_cmds \
16388
 
export_symbols_cmds \
16389
 
prelink_cmds \
16390
 
postinstall_cmds \
16391
 
postuninstall_cmds \
16392
 
finish_cmds \
16393
 
sys_lib_search_path_spec \
16394
 
sys_lib_dlsearch_path_spec \
16395
 
old_archive_cmds_CXX \
16396
 
old_archive_from_new_cmds_CXX \
16397
 
old_archive_from_expsyms_cmds_CXX \
16398
 
archive_cmds_CXX \
16399
 
archive_expsym_cmds_CXX \
16400
 
module_cmds_CXX \
16401
 
module_expsym_cmds_CXX \
16402
 
export_symbols_cmds_CXX \
16403
 
prelink_cmds_CXX; do
16404
 
    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
16405
 
    *[\\\\\\\`\\"\\\$]*)
16406
 
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
16407
 
      ;;
16408
 
    *)
16409
 
      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16410
 
      ;;
16411
 
    esac
16412
 
done
16413
 
 
16414
 
# Fix-up fallback echo if it was mangled by the above quoting rules.
16415
 
case \$lt_ECHO in
16416
 
*'\\\$0 --fallback-echo"')  lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
16417
 
  ;;
16418
 
esac
16419
 
 
16420
 
ac_aux_dir='$ac_aux_dir'
16421
 
xsi_shell='$xsi_shell'
16422
 
lt_shell_append='$lt_shell_append'
16423
 
 
16424
 
# See if we are running on zsh, and set the options which allow our
16425
 
# commands through without removal of \ escapes INIT.
16426
 
if test -n "\${ZSH_VERSION+set}" ; then
16427
 
   setopt NO_GLOB_SUBST
16428
 
fi
16429
 
 
16430
 
 
16431
 
    PACKAGE='$PACKAGE'
16432
 
    VERSION='$VERSION'
16433
 
    TIMESTAMP='$TIMESTAMP'
16434
 
    RM='$RM'
16435
 
    ofile='$ofile'
16436
 
 
16437
 
 
16438
 
 
16439
 
 
16440
 
 
16441
 
 
16442
 
_ACEOF
16443
 
 
16444
 
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16445
 
 
16446
 
# Handling of arguments.
16447
 
for ac_config_target in $ac_config_targets
16448
 
do
16449
 
  case $ac_config_target in
16450
 
    "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
16451
 
    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
16452
 
    "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
16453
 
    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
16454
 
    "gen/Makefile") CONFIG_FILES="$CONFIG_FILES gen/Makefile" ;;
16455
 
    "genxml/Makefile") CONFIG_FILES="$CONFIG_FILES genxml/Makefile" ;;
16456
 
    "libbase/Makefile") CONFIG_FILES="$CONFIG_FILES libbase/Makefile" ;;
16457
 
    "libstyx/Makefile") CONFIG_FILES="$CONFIG_FILES libstyx/Makefile" ;;
16458
 
    "libutil/Makefile") CONFIG_FILES="$CONFIG_FILES libutil/Makefile" ;;
16459
 
    "libxml/Makefile") CONFIG_FILES="$CONFIG_FILES libxml/Makefile" ;;
16460
 
    "modstd/Makefile") CONFIG_FILES="$CONFIG_FILES modstd/Makefile" ;;
16461
 
    "modext/Makefile") CONFIG_FILES="$CONFIG_FILES modext/Makefile" ;;
16462
 
    "pgm/Makefile") CONFIG_FILES="$CONFIG_FILES pgm/Makefile" ;;
16463
 
    "pgmxml/Makefile") CONFIG_FILES="$CONFIG_FILES pgmxml/Makefile" ;;
16464
 
    "inc/Makefile") CONFIG_FILES="$CONFIG_FILES inc/Makefile" ;;
16465
 
    "incxml/Makefile") CONFIG_FILES="$CONFIG_FILES incxml/Makefile" ;;
16466
 
    "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
16467
 
    "examples/Makefile") CONFIG_FILES="$CONFIG_FILES examples/Makefile" ;;
16468
 
    "examples/example01/Makefile") CONFIG_FILES="$CONFIG_FILES examples/example01/Makefile" ;;
16469
 
    "examples/example01/mx") CONFIG_FILES="$CONFIG_FILES examples/example01/mx" ;;
16470
 
    "examples/example02/Makefile") CONFIG_FILES="$CONFIG_FILES examples/example02/Makefile" ;;
16471
 
    "examples/example02/mx") CONFIG_FILES="$CONFIG_FILES examples/example02/mx" ;;
16472
 
    "examples/example03/Makefile") CONFIG_FILES="$CONFIG_FILES examples/example03/Makefile" ;;
16473
 
    "examples/example03/mx") CONFIG_FILES="$CONFIG_FILES examples/example03/mx" ;;
16474
 
    "examples/example04/Makefile") CONFIG_FILES="$CONFIG_FILES examples/example04/Makefile" ;;
16475
 
    "examples/example04/mx") CONFIG_FILES="$CONFIG_FILES examples/example04/mx" ;;
16476
 
    "examples/example05/Makefile") CONFIG_FILES="$CONFIG_FILES examples/example05/Makefile" ;;
16477
 
    "examples/example05/mx") CONFIG_FILES="$CONFIG_FILES examples/example05/mx" ;;
16478
 
    "examples/example06/Makefile") CONFIG_FILES="$CONFIG_FILES examples/example06/Makefile" ;;
16479
 
    "examples/example06/mx") CONFIG_FILES="$CONFIG_FILES examples/example06/mx" ;;
16480
 
    "examples/example07/Makefile") CONFIG_FILES="$CONFIG_FILES examples/example07/Makefile" ;;
16481
 
    "examples/example07/mx") CONFIG_FILES="$CONFIG_FILES examples/example07/mx" ;;
16482
 
    "spe/Makefile") CONFIG_FILES="$CONFIG_FILES spe/Makefile" ;;
16483
 
    "spe/xsty.in") CONFIG_FILES="$CONFIG_FILES spe/xsty.in" ;;
16484
 
    "spexml/Makefile") CONFIG_FILES="$CONFIG_FILES spexml/Makefile" ;;
16485
 
    "spexml/xxml.in") CONFIG_FILES="$CONFIG_FILES spexml/xxml.in" ;;
16486
 
    "pat/Makefile") CONFIG_FILES="$CONFIG_FILES pat/Makefile" ;;
16487
 
    "libspe/Makefile") CONFIG_FILES="$CONFIG_FILES libspe/Makefile" ;;
16488
 
 
16489
 
  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5 ;;
16490
 
  esac
16491
 
done
16492
 
 
16493
 
 
16494
 
# If the user did not use the arguments to specify the items to instantiate,
16495
 
# then the envvar interface is used.  Set only those that are not.
16496
 
# We use the long form for the default assignment because of an extremely
16497
 
# bizarre bug on SunOS 4.1.3.
16498
 
if $ac_need_defaults; then
16499
 
  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
16500
 
  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
16501
 
  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
16502
 
fi
16503
 
 
16504
 
# Have a temporary directory for convenience.  Make it in the build tree
16505
 
# simply because there is no reason against having it here, and in addition,
16506
 
# creating and moving files from /tmp can sometimes cause problems.
16507
 
# Hook for its removal unless debugging.
16508
 
# Note that there is a small window in which the directory will not be cleaned:
16509
 
# after its creation but before its name has been assigned to `$tmp'.
16510
 
$debug ||
16511
 
{
16512
 
  tmp=
16513
 
  trap 'exit_status=$?
16514
 
  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
16515
 
' 0
16516
 
  trap 'as_fn_exit 1' 1 2 13 15
16517
 
}
16518
 
# Create a (secure) tmp directory for tmp files.
16519
 
 
16520
 
{
16521
 
  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
16522
 
  test -n "$tmp" && test -d "$tmp"
16523
 
}  ||
16524
 
{
16525
 
  tmp=./conf$$-$RANDOM
16526
 
  (umask 077 && mkdir "$tmp")
16527
 
} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 
16528
 
 
16529
 
# Set up the scripts for CONFIG_FILES section.
16530
 
# No need to generate them if there are no CONFIG_FILES.
16531
 
# This happens for instance with `./config.status config.h'.
16532
 
if test -n "$CONFIG_FILES"; then
16533
 
 
16534
 
 
16535
 
ac_cr=`echo X | tr X '\015'`
16536
 
# On cygwin, bash can eat \r inside `` if the user requested igncr.
16537
 
# But we know of no other shell where ac_cr would be empty at this
16538
 
# point, so we can use a bashism as a fallback.
16539
 
if test "x$ac_cr" = x; then
16540
 
  eval ac_cr=\$\'\\r\'
16541
 
fi
16542
 
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
16543
 
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
16544
 
  ac_cs_awk_cr='\\r'
16545
 
else
16546
 
  ac_cs_awk_cr=$ac_cr
16547
 
fi
16548
 
 
16549
 
echo 'BEGIN {' >"$tmp/subs1.awk" &&
16550
 
_ACEOF
16551
 
 
16552
 
 
16553
 
{
16554
 
  echo "cat >conf$$subs.awk <<_ACEOF" &&
16555
 
  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
16556
 
  echo "_ACEOF"
16557
 
} >conf$$subs.sh ||
16558
 
  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 
16559
 
ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
16560
 
ac_delim='%!_!# '
16561
 
for ac_last_try in false false false false false :; do
16562
 
  . ./conf$$subs.sh ||
16563
 
    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 
16564
 
 
16565
 
  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
16566
 
  if test $ac_delim_n = $ac_delim_num; then
16567
 
    break
16568
 
  elif $ac_last_try; then
16569
 
    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 
16570
 
  else
16571
 
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
16572
 
  fi
16573
 
done
16574
 
rm -f conf$$subs.sh
16575
 
 
16576
 
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16577
 
cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
16578
 
_ACEOF
16579
 
sed -n '
16580
 
h
16581
 
s/^/S["/; s/!.*/"]=/
16582
 
p
16583
 
g
16584
 
s/^[^!]*!//
16585
 
:repl
16586
 
t repl
16587
 
s/'"$ac_delim"'$//
16588
 
t delim
16589
 
:nl
16590
 
h
16591
 
s/\(.\{148\}\)..*/\1/
16592
 
t more1
16593
 
s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
16594
 
p
16595
 
n
16596
 
b repl
16597
 
:more1
16598
 
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
16599
 
p
16600
 
g
16601
 
s/.\{148\}//
16602
 
t nl
16603
 
:delim
16604
 
h
16605
 
s/\(.\{148\}\)..*/\1/
16606
 
t more2
16607
 
s/["\\]/\\&/g; s/^/"/; s/$/"/
16608
 
p
16609
 
b
16610
 
:more2
16611
 
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
16612
 
p
16613
 
g
16614
 
s/.\{148\}//
16615
 
t delim
16616
 
' <conf$$subs.awk | sed '
16617
 
/^[^""]/{
16618
 
  N
16619
 
  s/\n//
16620
 
}
16621
 
' >>$CONFIG_STATUS || ac_write_fail=1
16622
 
rm -f conf$$subs.awk
16623
 
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16624
 
_ACAWK
16625
 
cat >>"\$tmp/subs1.awk" <<_ACAWK &&
16626
 
  for (key in S) S_is_set[key] = 1
16627
 
  FS = ""
16628
 
 
16629
 
}
16630
 
{
16631
 
  line = $ 0
16632
 
  nfields = split(line, field, "@")
16633
 
  substed = 0
16634
 
  len = length(field[1])
16635
 
  for (i = 2; i < nfields; i++) {
16636
 
    key = field[i]
16637
 
    keylen = length(key)
16638
 
    if (S_is_set[key]) {
16639
 
      value = S[key]
16640
 
      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
16641
 
      len += length(value) + length(field[++i])
16642
 
      substed = 1
16643
 
    } else
16644
 
      len += 1 + keylen
16645
 
  }
16646
 
 
16647
 
  print line
16648
 
}
16649
 
 
16650
 
_ACAWK
16651
 
_ACEOF
16652
 
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16653
 
if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
16654
 
  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
16655
 
else
16656
 
  cat
16657
 
fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
16658
 
  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 
16659
 
_ACEOF
16660
 
 
16661
 
# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
16662
 
# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
16663
 
# trailing colons and then remove the whole line if VPATH becomes empty
16664
 
# (actually we leave an empty line to preserve line numbers).
16665
 
if test "x$srcdir" = x.; then
16666
 
  ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
16667
 
h
16668
 
s///
16669
 
s/^/:/
16670
 
s/[      ]*$/:/
16671
 
s/:\$(srcdir):/:/g
16672
 
s/:\${srcdir}:/:/g
16673
 
s/:@srcdir@:/:/g
16674
 
s/^:*//
16675
 
s/:*$//
16676
 
x
16677
 
s/\(=[   ]*\).*/\1/
16678
 
G
16679
 
s/\n//
16680
 
s/^[^=]*=[       ]*$//
16681
 
}'
16682
 
fi
16683
 
 
16684
 
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16685
 
fi # test -n "$CONFIG_FILES"
16686
 
 
16687
 
# Set up the scripts for CONFIG_HEADERS section.
16688
 
# No need to generate them if there are no CONFIG_HEADERS.
16689
 
# This happens for instance with `./config.status Makefile'.
16690
 
if test -n "$CONFIG_HEADERS"; then
16691
 
cat >"$tmp/defines.awk" <<\_ACAWK ||
16692
 
BEGIN {
16693
 
_ACEOF
16694
 
 
16695
 
# Transform confdefs.h into an awk script `defines.awk', embedded as
16696
 
# here-document in config.status, that substitutes the proper values into
16697
 
# config.h.in to produce config.h.
16698
 
 
16699
 
# Create a delimiter string that does not exist in confdefs.h, to ease
16700
 
# handling of long lines.
16701
 
ac_delim='%!_!# '
16702
 
for ac_last_try in false false :; do
16703
 
  ac_t=`sed -n "/$ac_delim/p" confdefs.h`
16704
 
  if test -z "$ac_t"; then
16705
 
    break
16706
 
  elif $ac_last_try; then
16707
 
    as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 
16708
 
  else
16709
 
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
16710
 
  fi
16711
 
done
16712
 
 
16713
 
# For the awk script, D is an array of macro values keyed by name,
16714
 
# likewise P contains macro parameters if any.  Preserve backslash
16715
 
# newline sequences.
16716
 
 
16717
 
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
16718
 
sed -n '
16719
 
s/.\{148\}/&'"$ac_delim"'/g
16720
 
t rset
16721
 
:rset
16722
 
s/^[     ]*#[    ]*define[       ][      ]*/ /
16723
 
t def
16724
 
d
16725
 
:def
16726
 
s/\\$//
16727
 
t bsnl
16728
 
s/["\\]/\\&/g
16729
 
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
16730
 
D["\1"]=" \3"/p
16731
 
s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
16732
 
d
16733
 
:bsnl
16734
 
s/["\\]/\\&/g
16735
 
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
16736
 
D["\1"]=" \3\\\\\\n"\\/p
16737
 
t cont
16738
 
s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
16739
 
t cont
16740
 
d
16741
 
:cont
16742
 
n
16743
 
s/.\{148\}/&'"$ac_delim"'/g
16744
 
t clear
16745
 
:clear
16746
 
s/\\$//
16747
 
t bsnlc
16748
 
s/["\\]/\\&/g; s/^/"/; s/$/"/p
16749
 
d
16750
 
:bsnlc
16751
 
s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
16752
 
b cont
16753
 
' <confdefs.h | sed '
16754
 
s/'"$ac_delim"'/"\\\
16755
 
"/g' >>$CONFIG_STATUS || ac_write_fail=1
16756
 
 
16757
 
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16758
 
  for (key in D) D_is_set[key] = 1
16759
 
  FS = ""
16760
 
}
16761
 
/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
16762
 
  line = \$ 0
16763
 
  split(line, arg, " ")
16764
 
  if (arg[1] == "#") {
16765
 
    defundef = arg[2]
16766
 
    mac1 = arg[3]
16767
 
  } else {
16768
 
    defundef = substr(arg[1], 2)
16769
 
    mac1 = arg[2]
16770
 
  }
16771
 
  split(mac1, mac2, "(") #)
16772
 
  macro = mac2[1]
16773
 
  prefix = substr(line, 1, index(line, defundef) - 1)
16774
 
  if (D_is_set[macro]) {
16775
 
    # Preserve the white space surrounding the "#".
16776
 
    print prefix "define", macro P[macro] D[macro]
16777
 
    next
16778
 
  } else {
16779
 
    # Replace #undef with comments.  This is necessary, for example,
16780
 
    # in the case of _POSIX_SOURCE, which is predefined and required
16781
 
    # on some systems where configure will not decide to define it.
16782
 
    if (defundef == "undef") {
16783
 
      print "/*", prefix defundef, macro, "*/"
16784
 
      next
16785
 
    }
16786
 
  }
16787
 
}
16788
 
{ print }
16789
 
_ACAWK
16790
 
_ACEOF
16791
 
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16792
 
  as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 
16793
 
fi # test -n "$CONFIG_HEADERS"
16794
 
 
16795
 
 
16796
 
eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
16797
 
shift
16798
 
for ac_tag
16799
 
do
16800
 
  case $ac_tag in
16801
 
  :[FHLC]) ac_mode=$ac_tag; continue;;
16802
 
  esac
16803
 
  case $ac_mode$ac_tag in
16804
 
  :[FHL]*:*);;
16805
 
  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5 ;;
16806
 
  :[FH]-) ac_tag=-:-;;
16807
 
  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
16808
 
  esac
16809
 
  ac_save_IFS=$IFS
16810
 
  IFS=:
16811
 
  set x $ac_tag
16812
 
  IFS=$ac_save_IFS
16813
 
  shift
16814
 
  ac_file=$1
16815
 
  shift
16816
 
 
16817
 
  case $ac_mode in
16818
 
  :L) ac_source=$1;;
16819
 
  :[FH])
16820
 
    ac_file_inputs=
16821
 
    for ac_f
16822
 
    do
16823
 
      case $ac_f in
16824
 
      -) ac_f="$tmp/stdin";;
16825
 
      *) # Look for the file first in the build tree, then in the source tree
16826
 
         # (if the path is not absolute).  The absolute path cannot be DOS-style,
16827
 
         # because $ac_f cannot contain `:'.
16828
 
         test -f "$ac_f" ||
16829
 
           case $ac_f in
16830
 
           [\\/$]*) false;;
16831
 
           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
16832
 
           esac ||
16833
 
           as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5 ;;
16834
 
      esac
16835
 
      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
16836
 
      as_fn_append ac_file_inputs " '$ac_f'"
16837
 
    done
16838
 
 
16839
 
    # Let's still pretend it is `configure' which instantiates (i.e., don't
16840
 
    # use $as_me), people would be surprised to read:
16841
 
    #    /* config.h.  Generated by config.status.  */
16842
 
    configure_input='Generated from '`
16843
 
          $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
16844
 
        `' by configure.'
16845
 
    if test x"$ac_file" != x-; then
16846
 
      configure_input="$ac_file.  $configure_input"
16847
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
16848
 
$as_echo "$as_me: creating $ac_file" >&6;}
16849
 
    fi
16850
 
    # Neutralize special characters interpreted by sed in replacement strings.
16851
 
    case $configure_input in #(
16852
 
    *\&* | *\|* | *\\* )
16853
 
       ac_sed_conf_input=`$as_echo "$configure_input" |
16854
 
       sed 's/[\\\\&|]/\\\\&/g'`;; #(
16855
 
    *) ac_sed_conf_input=$configure_input;;
16856
 
    esac
16857
 
 
16858
 
    case $ac_tag in
16859
 
    *:-:* | *:-) cat >"$tmp/stdin" \
16860
 
      || as_fn_error $? "could not create $ac_file" "$LINENO" 5  ;;
16861
 
    esac
16862
 
    ;;
16863
 
  esac
16864
 
 
16865
 
  ac_dir=`$as_dirname -- "$ac_file" ||
16866
 
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16867
 
         X"$ac_file" : 'X\(//\)[^/]' \| \
16868
 
         X"$ac_file" : 'X\(//\)$' \| \
16869
 
         X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
16870
 
$as_echo X"$ac_file" |
16871
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16872
 
            s//\1/
16873
 
            q
16874
 
          }
16875
 
          /^X\(\/\/\)[^/].*/{
16876
 
            s//\1/
16877
 
            q
16878
 
          }
16879
 
          /^X\(\/\/\)$/{
16880
 
            s//\1/
16881
 
            q
16882
 
          }
16883
 
          /^X\(\/\).*/{
16884
 
            s//\1/
16885
 
            q
16886
 
          }
16887
 
          s/.*/./; q'`
16888
 
  as_dir="$ac_dir"; as_fn_mkdir_p
16889
 
  ac_builddir=.
16890
 
 
16891
 
case "$ac_dir" in
16892
 
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
16893
 
*)
16894
 
  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
16895
 
  # A ".." for each directory in $ac_dir_suffix.
16896
 
  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
16897
 
  case $ac_top_builddir_sub in
16898
 
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
16899
 
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
16900
 
  esac ;;
16901
 
esac
16902
 
ac_abs_top_builddir=$ac_pwd
16903
 
ac_abs_builddir=$ac_pwd$ac_dir_suffix
16904
 
# for backward compatibility:
16905
 
ac_top_builddir=$ac_top_build_prefix
16906
 
 
16907
 
case $srcdir in
16908
 
  .)  # We are building in place.
16909
 
    ac_srcdir=.
16910
 
    ac_top_srcdir=$ac_top_builddir_sub
16911
 
    ac_abs_top_srcdir=$ac_pwd ;;
16912
 
  [\\/]* | ?:[\\/]* )  # Absolute name.
16913
 
    ac_srcdir=$srcdir$ac_dir_suffix;
16914
 
    ac_top_srcdir=$srcdir
16915
 
    ac_abs_top_srcdir=$srcdir ;;
16916
 
  *) # Relative name.
16917
 
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
16918
 
    ac_top_srcdir=$ac_top_build_prefix$srcdir
16919
 
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
16920
 
esac
16921
 
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
16922
 
 
16923
 
 
16924
 
  case $ac_mode in
16925
 
  :F)
16926
 
  #
16927
 
  # CONFIG_FILE
16928
 
  #
16929
 
 
16930
 
  case $INSTALL in
16931
 
  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
16932
 
  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
16933
 
  esac
16934
 
  ac_MKDIR_P=$MKDIR_P
16935
 
  case $MKDIR_P in
16936
 
  [\\/$]* | ?:[\\/]* ) ;;
16937
 
  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
16938
 
  esac
16939
 
_ACEOF
16940
 
 
16941
 
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16942
 
# If the template does not know about datarootdir, expand it.
16943
 
# FIXME: This hack should be removed a few years after 2.60.
16944
 
ac_datarootdir_hack=; ac_datarootdir_seen=
16945
 
ac_sed_dataroot='
16946
 
/datarootdir/ {
16947
 
  p
16948
 
  q
16949
 
}
16950
 
/@datadir@/p
16951
 
/@docdir@/p
16952
 
/@infodir@/p
16953
 
/@localedir@/p
16954
 
/@mandir@/p'
16955
 
case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
16956
 
*datarootdir*) ac_datarootdir_seen=yes;;
16957
 
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
16958
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
16959
 
$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
16960
 
_ACEOF
16961
 
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16962
 
  ac_datarootdir_hack='
16963
 
  s&@datadir@&$datadir&g
16964
 
  s&@docdir@&$docdir&g
16965
 
  s&@infodir@&$infodir&g
16966
 
  s&@localedir@&$localedir&g
16967
 
  s&@mandir@&$mandir&g
16968
 
  s&\\\${datarootdir}&$datarootdir&g' ;;
16969
 
esac
16970
 
_ACEOF
16971
 
 
16972
 
# Neutralize VPATH when `$srcdir' = `.'.
16973
 
# Shell code in configure.ac might set extrasub.
16974
 
# FIXME: do we really want to maintain this feature?
16975
 
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16976
 
ac_sed_extra="$ac_vpsub
16977
 
$extrasub
16978
 
_ACEOF
16979
 
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16980
 
:t
16981
 
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
16982
 
s|@configure_input@|$ac_sed_conf_input|;t t
16983
 
s&@top_builddir@&$ac_top_builddir_sub&;t t
16984
 
s&@top_build_prefix@&$ac_top_build_prefix&;t t
16985
 
s&@srcdir@&$ac_srcdir&;t t
16986
 
s&@abs_srcdir@&$ac_abs_srcdir&;t t
16987
 
s&@top_srcdir@&$ac_top_srcdir&;t t
16988
 
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
16989
 
s&@builddir@&$ac_builddir&;t t
16990
 
s&@abs_builddir@&$ac_abs_builddir&;t t
16991
 
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
16992
 
s&@INSTALL@&$ac_INSTALL&;t t
16993
 
s&@MKDIR_P@&$ac_MKDIR_P&;t t
16994
 
$ac_datarootdir_hack
16995
 
"
16996
 
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
16997
 
  || as_fn_error $? "could not create $ac_file" "$LINENO" 5 
16998
 
 
16999
 
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
17000
 
  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
17001
 
  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
17002
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
17003
 
which seems to be undefined.  Please make sure it is defined" >&5
17004
 
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
17005
 
which seems to be undefined.  Please make sure it is defined" >&2;}
17006
 
 
17007
 
  rm -f "$tmp/stdin"
17008
 
  case $ac_file in
17009
 
  -) cat "$tmp/out" && rm -f "$tmp/out";;
17010
 
  *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
17011
 
  esac \
17012
 
  || as_fn_error $? "could not create $ac_file" "$LINENO" 5 
17013
 
 ;;
17014
 
  :H)
17015
 
  #
17016
 
  # CONFIG_HEADER
17017
 
  #
17018
 
  if test x"$ac_file" != x-; then
17019
 
    {
17020
 
      $as_echo "/* $configure_input  */" \
17021
 
      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
17022
 
    } >"$tmp/config.h" \
17023
 
      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 
17024
 
    if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
17025
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
17026
 
$as_echo "$as_me: $ac_file is unchanged" >&6;}
17027
 
    else
17028
 
      rm -f "$ac_file"
17029
 
      mv "$tmp/config.h" "$ac_file" \
17030
 
        || as_fn_error $? "could not create $ac_file" "$LINENO" 5 
17031
 
    fi
17032
 
  else
17033
 
    $as_echo "/* $configure_input  */" \
17034
 
      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
17035
 
      || as_fn_error $? "could not create -" "$LINENO" 5 
17036
 
  fi
17037
 
# Compute "$ac_file"'s index in $config_headers.
17038
 
_am_arg="$ac_file"
17039
 
_am_stamp_count=1
17040
 
for _am_header in $config_headers :; do
17041
 
  case $_am_header in
17042
 
    $_am_arg | $_am_arg:* )
17043
 
      break ;;
17044
 
    * )
17045
 
      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
17046
 
  esac
17047
 
done
17048
 
echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
17049
 
$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17050
 
         X"$_am_arg" : 'X\(//\)[^/]' \| \
17051
 
         X"$_am_arg" : 'X\(//\)$' \| \
17052
 
         X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
17053
 
$as_echo X"$_am_arg" |
17054
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17055
 
            s//\1/
17056
 
            q
17057
 
          }
17058
 
          /^X\(\/\/\)[^/].*/{
17059
 
            s//\1/
17060
 
            q
17061
 
          }
17062
 
          /^X\(\/\/\)$/{
17063
 
            s//\1/
17064
 
            q
17065
 
          }
17066
 
          /^X\(\/\).*/{
17067
 
            s//\1/
17068
 
            q
17069
 
          }
17070
 
          s/.*/./; q'`/stamp-h$_am_stamp_count
17071
 
 ;;
17072
 
  
17073
 
  :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
17074
 
$as_echo "$as_me: executing $ac_file commands" >&6;}
17075
 
 ;;
17076
 
  esac
17077
 
 
17078
 
 
17079
 
  case $ac_file$ac_mode in
17080
 
    "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
17081
 
  # Autoconf 2.62 quotes --file arguments for eval, but not when files
17082
 
  # are listed without --file.  Let's play safe and only enable the eval
17083
 
  # if we detect the quoting.
17084
 
  case $CONFIG_FILES in
17085
 
  *\'*) eval set x "$CONFIG_FILES" ;;
17086
 
  *)   set x $CONFIG_FILES ;;
17087
 
  esac
17088
 
  shift
17089
 
  for mf
17090
 
  do
17091
 
    # Strip MF so we end up with the name of the file.
17092
 
    mf=`echo "$mf" | sed -e 's/:.*$//'`
17093
 
    # Check whether this is an Automake generated Makefile or not.
17094
 
    # We used to match only the files named `Makefile.in', but
17095
 
    # some people rename them; so instead we look at the file content.
17096
 
    # Grep'ing the first line is not enough: some people post-process
17097
 
    # each Makefile.in and add a new line on top of each file to say so.
17098
 
    # Grep'ing the whole file is not good either: AIX grep has a line
17099
 
    # limit of 2048, but all sed's we know have understand at least 4000.
17100
 
    if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
17101
 
      dirpart=`$as_dirname -- "$mf" ||
17102
 
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17103
 
         X"$mf" : 'X\(//\)[^/]' \| \
17104
 
         X"$mf" : 'X\(//\)$' \| \
17105
 
         X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
17106
 
$as_echo X"$mf" |
17107
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17108
 
            s//\1/
17109
 
            q
17110
 
          }
17111
 
          /^X\(\/\/\)[^/].*/{
17112
 
            s//\1/
17113
 
            q
17114
 
          }
17115
 
          /^X\(\/\/\)$/{
17116
 
            s//\1/
17117
 
            q
17118
 
          }
17119
 
          /^X\(\/\).*/{
17120
 
            s//\1/
17121
 
            q
17122
 
          }
17123
 
          s/.*/./; q'`
17124
 
    else
17125
 
      continue
17126
 
    fi
17127
 
    # Extract the definition of DEPDIR, am__include, and am__quote
17128
 
    # from the Makefile without running `make'.
17129
 
    DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
17130
 
    test -z "$DEPDIR" && continue
17131
 
    am__include=`sed -n 's/^am__include = //p' < "$mf"`
17132
 
    test -z "am__include" && continue
17133
 
    am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
17134
 
    # When using ansi2knr, U may be empty or an underscore; expand it
17135
 
    U=`sed -n 's/^U = //p' < "$mf"`
17136
 
    # Find all dependency output files, they are included files with
17137
 
    # $(DEPDIR) in their names.  We invoke sed twice because it is the
17138
 
    # simplest approach to changing $(DEPDIR) to its actual value in the
17139
 
    # expansion.
17140
 
    for file in `sed -n "
17141
 
      s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
17142
 
         sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
17143
 
      # Make sure the directory exists.
17144
 
      test -f "$dirpart/$file" && continue
17145
 
      fdir=`$as_dirname -- "$file" ||
17146
 
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17147
 
         X"$file" : 'X\(//\)[^/]' \| \
17148
 
         X"$file" : 'X\(//\)$' \| \
17149
 
         X"$file" : 'X\(/\)' \| . 2>/dev/null ||
17150
 
$as_echo X"$file" |
17151
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17152
 
            s//\1/
17153
 
            q
17154
 
          }
17155
 
          /^X\(\/\/\)[^/].*/{
17156
 
            s//\1/
17157
 
            q
17158
 
          }
17159
 
          /^X\(\/\/\)$/{
17160
 
            s//\1/
17161
 
            q
17162
 
          }
17163
 
          /^X\(\/\).*/{
17164
 
            s//\1/
17165
 
            q
17166
 
          }
17167
 
          s/.*/./; q'`
17168
 
      as_dir=$dirpart/$fdir; as_fn_mkdir_p
17169
 
      # echo "creating $dirpart/$file"
17170
 
      echo '# dummy' > "$dirpart/$file"
17171
 
    done
17172
 
  done
17173
 
}
17174
 
 ;;
17175
 
    "libtool":C) 
17176
 
    
17177
 
    # See if we are running on zsh, and set the options which allow our
17178
 
    # commands through without removal of \ escapes.
17179
 
    if test -n "${ZSH_VERSION+set}" ; then
17180
 
      setopt NO_GLOB_SUBST
17181
 
    fi
17182
 
 
17183
 
    cfgfile="${ofile}T"
17184
 
    trap "$RM \"$cfgfile\"; exit 1" 1 2 15
17185
 
    $RM "$cfgfile"
17186
 
 
17187
 
    cat <<_LT_EOF >> "$cfgfile"
17188
 
#! $SHELL
17189
 
 
17190
 
# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
17191
 
# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
17192
 
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
17193
 
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
17194
 
#
17195
 
#   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
17196
 
#                 2006, 2007, 2008 Free Software Foundation, Inc.
17197
 
#   Written by Gordon Matzigkeit, 1996
17198
 
#
17199
 
#   This file is part of GNU Libtool.
17200
 
#
17201
 
# GNU Libtool is free software; you can redistribute it and/or
17202
 
# modify it under the terms of the GNU General Public License as
17203
 
# published by the Free Software Foundation; either version 2 of
17204
 
# the License, or (at your option) any later version.
17205
 
#
17206
 
# As a special exception to the GNU General Public License,
17207
 
# if you distribute this file as part of a program or library that
17208
 
# is built using GNU Libtool, you may include this file under the
17209
 
# same distribution terms that you use for the rest of that program.
17210
 
#
17211
 
# GNU Libtool is distributed in the hope that it will be useful,
17212
 
# but WITHOUT ANY WARRANTY; without even the implied warranty of
17213
 
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
17214
 
# GNU General Public License for more details.
17215
 
#
17216
 
# You should have received a copy of the GNU General Public License
17217
 
# along with GNU Libtool; see the file COPYING.  If not, a copy
17218
 
# can be downloaded from http://www.gnu.org/licenses/gpl.html, or
17219
 
# obtained by writing to the Free Software Foundation, Inc.,
17220
 
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
17221
 
 
17222
 
 
17223
 
# The names of the tagged configurations supported by this script.
17224
 
available_tags="CXX "
17225
 
 
17226
 
# ### BEGIN LIBTOOL CONFIG
17227
 
 
17228
 
# Which release of libtool.m4 was used?
17229
 
macro_version=$macro_version
17230
 
macro_revision=$macro_revision
17231
 
 
17232
 
# Whether or not to build shared libraries.
17233
 
build_libtool_libs=$enable_shared
17234
 
 
17235
 
# Whether or not to build static libraries.
17236
 
build_old_libs=$enable_static
17237
 
 
17238
 
# What type of objects to build.
17239
 
pic_mode=$pic_mode
17240
 
 
17241
 
# Whether or not to optimize for fast installation.
17242
 
fast_install=$enable_fast_install
17243
 
 
17244
 
# The host system.
17245
 
host_alias=$host_alias
17246
 
host=$host
17247
 
host_os=$host_os
17248
 
 
17249
 
# The build system.
17250
 
build_alias=$build_alias
17251
 
build=$build
17252
 
build_os=$build_os
17253
 
 
17254
 
# A sed program that does not truncate output.
17255
 
SED=$lt_SED
17256
 
 
17257
 
# Sed that helps us avoid accidentally triggering echo(1) options like -n.
17258
 
Xsed="\$SED -e 1s/^X//"
17259
 
 
17260
 
# A grep program that handles long lines.
17261
 
GREP=$lt_GREP
17262
 
 
17263
 
# An ERE matcher.
17264
 
EGREP=$lt_EGREP
17265
 
 
17266
 
# A literal string matcher.
17267
 
FGREP=$lt_FGREP
17268
 
 
17269
 
# A BSD- or MS-compatible name lister.
17270
 
NM=$lt_NM
17271
 
 
17272
 
# Whether we need soft or hard links.
17273
 
LN_S=$lt_LN_S
17274
 
 
17275
 
# What is the maximum length of a command?
17276
 
max_cmd_len=$max_cmd_len
17277
 
 
17278
 
# Object file suffix (normally "o").
17279
 
objext=$ac_objext
17280
 
 
17281
 
# Executable file suffix (normally "").
17282
 
exeext=$exeext
17283
 
 
17284
 
# whether the shell understands "unset".
17285
 
lt_unset=$lt_unset
17286
 
 
17287
 
# turn spaces into newlines.
17288
 
SP2NL=$lt_lt_SP2NL
17289
 
 
17290
 
# turn newlines into spaces.
17291
 
NL2SP=$lt_lt_NL2SP
17292
 
 
17293
 
# How to create reloadable object files.
17294
 
reload_flag=$lt_reload_flag
17295
 
reload_cmds=$lt_reload_cmds
17296
 
 
17297
 
# An object symbol dumper.
17298
 
OBJDUMP=$lt_OBJDUMP
17299
 
 
17300
 
# Method to check whether dependent libraries are shared objects.
17301
 
deplibs_check_method=$lt_deplibs_check_method
17302
 
 
17303
 
# Command to use when deplibs_check_method == "file_magic".
17304
 
file_magic_cmd=$lt_file_magic_cmd
17305
 
 
17306
 
# The archiver.
17307
 
AR=$lt_AR
17308
 
AR_FLAGS=$lt_AR_FLAGS
17309
 
 
17310
 
# A symbol stripping program.
17311
 
STRIP=$lt_STRIP
17312
 
 
17313
 
# Commands used to install an old-style archive.
17314
 
RANLIB=$lt_RANLIB
17315
 
old_postinstall_cmds=$lt_old_postinstall_cmds
17316
 
old_postuninstall_cmds=$lt_old_postuninstall_cmds
17317
 
 
17318
 
# A C compiler.
17319
 
LTCC=$lt_CC
17320
 
 
17321
 
# LTCC compiler flags.
17322
 
LTCFLAGS=$lt_CFLAGS
17323
 
 
17324
 
# Take the output of nm and produce a listing of raw symbols and C names.
17325
 
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
17326
 
 
17327
 
# Transform the output of nm in a proper C declaration.
17328
 
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
17329
 
 
17330
 
# Transform the output of nm in a C name address pair.
17331
 
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
17332
 
 
17333
 
# Transform the output of nm in a C name address pair when lib prefix is needed.
17334
 
global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
17335
 
 
17336
 
# The name of the directory that contains temporary libtool files.
17337
 
objdir=$objdir
17338
 
 
17339
 
# Shell to use when invoking shell scripts.
17340
 
SHELL=$lt_SHELL
17341
 
 
17342
 
# An echo program that does not interpret backslashes.
17343
 
ECHO=$lt_ECHO
17344
 
 
17345
 
# Used to examine libraries when file_magic_cmd begins with "file".
17346
 
MAGIC_CMD=$MAGIC_CMD
17347
 
 
17348
 
# Must we lock files when doing compilation?
17349
 
need_locks=$lt_need_locks
17350
 
 
17351
 
# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
17352
 
DSYMUTIL=$lt_DSYMUTIL
17353
 
 
17354
 
# Tool to change global to local symbols on Mac OS X.
17355
 
NMEDIT=$lt_NMEDIT
17356
 
 
17357
 
# Tool to manipulate fat objects and archives on Mac OS X.
17358
 
LIPO=$lt_LIPO
17359
 
 
17360
 
# ldd/readelf like tool for Mach-O binaries on Mac OS X.
17361
 
OTOOL=$lt_OTOOL
17362
 
 
17363
 
# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
17364
 
OTOOL64=$lt_OTOOL64
17365
 
 
17366
 
# Old archive suffix (normally "a").
17367
 
libext=$libext
17368
 
 
17369
 
# Shared library suffix (normally ".so").
17370
 
shrext_cmds=$lt_shrext_cmds
17371
 
 
17372
 
# The commands to extract the exported symbol list from a shared archive.
17373
 
extract_expsyms_cmds=$lt_extract_expsyms_cmds
17374
 
 
17375
 
# Variables whose values should be saved in libtool wrapper scripts and
17376
 
# restored at link time.
17377
 
variables_saved_for_relink=$lt_variables_saved_for_relink
17378
 
 
17379
 
# Do we need the "lib" prefix for modules?
17380
 
need_lib_prefix=$need_lib_prefix
17381
 
 
17382
 
# Do we need a version for libraries?
17383
 
need_version=$need_version
17384
 
 
17385
 
# Library versioning type.
17386
 
version_type=$version_type
17387
 
 
17388
 
# Shared library runtime path variable.
17389
 
runpath_var=$runpath_var
17390
 
 
17391
 
# Shared library path variable.
17392
 
shlibpath_var=$shlibpath_var
17393
 
 
17394
 
# Is shlibpath searched before the hard-coded library search path?
17395
 
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
17396
 
 
17397
 
# Format of library name prefix.
17398
 
libname_spec=$lt_libname_spec
17399
 
 
17400
 
# List of archive names.  First name is the real one, the rest are links.
17401
 
# The last name is the one that the linker finds with -lNAME
17402
 
library_names_spec=$lt_library_names_spec
17403
 
 
17404
 
# The coded name of the library, if different from the real name.
17405
 
soname_spec=$lt_soname_spec
17406
 
 
17407
 
# Command to use after installation of a shared archive.
17408
 
postinstall_cmds=$lt_postinstall_cmds
17409
 
 
17410
 
# Command to use after uninstallation of a shared archive.
17411
 
postuninstall_cmds=$lt_postuninstall_cmds
17412
 
 
17413
 
# Commands used to finish a libtool library installation in a directory.
17414
 
finish_cmds=$lt_finish_cmds
17415
 
 
17416
 
# As "finish_cmds", except a single script fragment to be evaled but
17417
 
# not shown.
17418
 
finish_eval=$lt_finish_eval
17419
 
 
17420
 
# Whether we should hardcode library paths into libraries.
17421
 
hardcode_into_libs=$hardcode_into_libs
17422
 
 
17423
 
# Compile-time system search path for libraries.
17424
 
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
17425
 
 
17426
 
# Run-time system search path for libraries.
17427
 
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
17428
 
 
17429
 
# Whether dlopen is supported.
17430
 
dlopen_support=$enable_dlopen
17431
 
 
17432
 
# Whether dlopen of programs is supported.
17433
 
dlopen_self=$enable_dlopen_self
17434
 
 
17435
 
# Whether dlopen of statically linked programs is supported.
17436
 
dlopen_self_static=$enable_dlopen_self_static
17437
 
 
17438
 
# Commands to strip libraries.
17439
 
old_striplib=$lt_old_striplib
17440
 
striplib=$lt_striplib
17441
 
 
17442
 
 
17443
 
# The linker used to build libraries.
17444
 
LD=$lt_LD
17445
 
 
17446
 
# Commands used to build an old-style archive.
17447
 
old_archive_cmds=$lt_old_archive_cmds
17448
 
 
17449
 
# A language specific compiler.
17450
 
CC=$lt_compiler
17451
 
 
17452
 
# Is the compiler the GNU compiler?
17453
 
with_gcc=$GCC
17454
 
 
17455
 
# Compiler flag to turn off builtin functions.
17456
 
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
17457
 
 
17458
 
# How to pass a linker flag through the compiler.
17459
 
wl=$lt_lt_prog_compiler_wl
17460
 
 
17461
 
# Additional compiler flags for building library objects.
17462
 
pic_flag=$lt_lt_prog_compiler_pic
17463
 
 
17464
 
# Compiler flag to prevent dynamic linking.
17465
 
link_static_flag=$lt_lt_prog_compiler_static
17466
 
 
17467
 
# Does compiler simultaneously support -c and -o options?
17468
 
compiler_c_o=$lt_lt_cv_prog_compiler_c_o
17469
 
 
17470
 
# Whether or not to add -lc for building shared libraries.
17471
 
build_libtool_need_lc=$archive_cmds_need_lc
17472
 
 
17473
 
# Whether or not to disallow shared libs when runtime libs are static.
17474
 
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
17475
 
 
17476
 
# Compiler flag to allow reflexive dlopens.
17477
 
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
17478
 
 
17479
 
# Compiler flag to generate shared objects directly from archives.
17480
 
whole_archive_flag_spec=$lt_whole_archive_flag_spec
17481
 
 
17482
 
# Whether the compiler copes with passing no objects directly.
17483
 
compiler_needs_object=$lt_compiler_needs_object
17484
 
 
17485
 
# Create an old-style archive from a shared archive.
17486
 
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
17487
 
 
17488
 
# Create a temporary old-style archive to link instead of a shared archive.
17489
 
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
17490
 
 
17491
 
# Commands used to build a shared archive.
17492
 
archive_cmds=$lt_archive_cmds
17493
 
archive_expsym_cmds=$lt_archive_expsym_cmds
17494
 
 
17495
 
# Commands used to build a loadable module if different from building
17496
 
# a shared archive.
17497
 
module_cmds=$lt_module_cmds
17498
 
module_expsym_cmds=$lt_module_expsym_cmds
17499
 
 
17500
 
# Whether we are building with GNU ld or not.
17501
 
with_gnu_ld=$lt_with_gnu_ld
17502
 
 
17503
 
# Flag that allows shared libraries with undefined symbols to be built.
17504
 
allow_undefined_flag=$lt_allow_undefined_flag
17505
 
 
17506
 
# Flag that enforces no undefined symbols.
17507
 
no_undefined_flag=$lt_no_undefined_flag
17508
 
 
17509
 
# Flag to hardcode \$libdir into a binary during linking.
17510
 
# This must work even if \$libdir does not exist
17511
 
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
17512
 
 
17513
 
# If ld is used when linking, flag to hardcode \$libdir into a binary
17514
 
# during linking.  This must work even if \$libdir does not exist.
17515
 
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
17516
 
 
17517
 
# Whether we need a single "-rpath" flag with a separated argument.
17518
 
hardcode_libdir_separator=$lt_hardcode_libdir_separator
17519
 
 
17520
 
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17521
 
# DIR into the resulting binary.
17522
 
hardcode_direct=$hardcode_direct
17523
 
 
17524
 
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17525
 
# DIR into the resulting binary and the resulting library dependency is
17526
 
# "absolute",i.e impossible to change by setting \${shlibpath_var} if the
17527
 
# library is relocated.
17528
 
hardcode_direct_absolute=$hardcode_direct_absolute
17529
 
 
17530
 
# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
17531
 
# into the resulting binary.
17532
 
hardcode_minus_L=$hardcode_minus_L
17533
 
 
17534
 
# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
17535
 
# into the resulting binary.
17536
 
hardcode_shlibpath_var=$hardcode_shlibpath_var
17537
 
 
17538
 
# Set to "yes" if building a shared library automatically hardcodes DIR
17539
 
# into the library and all subsequent libraries and executables linked
17540
 
# against it.
17541
 
hardcode_automatic=$hardcode_automatic
17542
 
 
17543
 
# Set to yes if linker adds runtime paths of dependent libraries
17544
 
# to runtime path list.
17545
 
inherit_rpath=$inherit_rpath
17546
 
 
17547
 
# Whether libtool must link a program against all its dependency libraries.
17548
 
link_all_deplibs=$link_all_deplibs
17549
 
 
17550
 
# Fix the shell variable \$srcfile for the compiler.
17551
 
fix_srcfile_path=$lt_fix_srcfile_path
17552
 
 
17553
 
# Set to "yes" if exported symbols are required.
17554
 
always_export_symbols=$always_export_symbols
17555
 
 
17556
 
# The commands to list exported symbols.
17557
 
export_symbols_cmds=$lt_export_symbols_cmds
17558
 
 
17559
 
# Symbols that should not be listed in the preloaded symbols.
17560
 
exclude_expsyms=$lt_exclude_expsyms
17561
 
 
17562
 
# Symbols that must always be exported.
17563
 
include_expsyms=$lt_include_expsyms
17564
 
 
17565
 
# Commands necessary for linking programs (against libraries) with templates.
17566
 
prelink_cmds=$lt_prelink_cmds
17567
 
 
17568
 
# Specify filename containing input files.
17569
 
file_list_spec=$lt_file_list_spec
17570
 
 
17571
 
# How to hardcode a shared library path into an executable.
17572
 
hardcode_action=$hardcode_action
17573
 
 
17574
 
# The directories searched by this compiler when creating a shared library.
17575
 
compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
17576
 
 
17577
 
# Dependencies to place before and after the objects being linked to
17578
 
# create a shared library.
17579
 
predep_objects=$lt_predep_objects
17580
 
postdep_objects=$lt_postdep_objects
17581
 
predeps=$lt_predeps
17582
 
postdeps=$lt_postdeps
17583
 
 
17584
 
# The library search path used internally by the compiler when linking
17585
 
# a shared library.
17586
 
compiler_lib_search_path=$lt_compiler_lib_search_path
17587
 
 
17588
 
# ### END LIBTOOL CONFIG
17589
 
 
17590
 
_LT_EOF
17591
 
 
17592
 
  case $host_os in
17593
 
  aix3*)
17594
 
    cat <<\_LT_EOF >> "$cfgfile"
17595
 
# AIX sometimes has problems with the GCC collect2 program.  For some
17596
 
# reason, if we set the COLLECT_NAMES environment variable, the problems
17597
 
# vanish in a puff of smoke.
17598
 
if test "X${COLLECT_NAMES+set}" != Xset; then
17599
 
  COLLECT_NAMES=
17600
 
  export COLLECT_NAMES
17601
 
fi
17602
 
_LT_EOF
17603
 
    ;;
17604
 
  esac
17605
 
 
17606
 
  
17607
 
ltmain="$ac_aux_dir/ltmain.sh"
17608
 
 
17609
 
 
17610
 
  # We use sed instead of cat because bash on DJGPP gets confused if
17611
 
  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
17612
 
  # text mode, it properly converts lines to CR/LF.  This bash problem
17613
 
  # is reportedly fixed, but why not run on old versions too?
17614
 
  sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
17615
 
    || (rm -f "$cfgfile"; exit 1)
17616
 
 
17617
 
  case $xsi_shell in
17618
 
  yes)
17619
 
    cat << \_LT_EOF >> "$cfgfile"
17620
 
 
17621
 
# func_dirname file append nondir_replacement
17622
 
# Compute the dirname of FILE.  If nonempty, add APPEND to the result,
17623
 
# otherwise set result to NONDIR_REPLACEMENT.
17624
 
func_dirname ()
17625
 
{
17626
 
  case ${1} in
17627
 
    */*) func_dirname_result="${1%/*}${2}" ;;
17628
 
    *  ) func_dirname_result="${3}" ;;
17629
 
  esac
17630
 
}
17631
 
 
17632
 
# func_basename file
17633
 
func_basename ()
17634
 
{
17635
 
  func_basename_result="${1##*/}"
17636
 
}
17637
 
 
17638
 
# func_dirname_and_basename file append nondir_replacement
17639
 
# perform func_basename and func_dirname in a single function
17640
 
# call:
17641
 
#   dirname:  Compute the dirname of FILE.  If nonempty,
17642
 
#             add APPEND to the result, otherwise set result
17643
 
#             to NONDIR_REPLACEMENT.
17644
 
#             value returned in "$func_dirname_result"
17645
 
#   basename: Compute filename of FILE.
17646
 
#             value retuned in "$func_basename_result"
17647
 
# Implementation must be kept synchronized with func_dirname
17648
 
# and func_basename. For efficiency, we do not delegate to
17649
 
# those functions but instead duplicate the functionality here.
17650
 
func_dirname_and_basename ()
17651
 
{
17652
 
  case ${1} in
17653
 
    */*) func_dirname_result="${1%/*}${2}" ;;
17654
 
    *  ) func_dirname_result="${3}" ;;
17655
 
  esac
17656
 
  func_basename_result="${1##*/}"
17657
 
}
17658
 
 
17659
 
# func_stripname prefix suffix name
17660
 
# strip PREFIX and SUFFIX off of NAME.
17661
 
# PREFIX and SUFFIX must not contain globbing or regex special
17662
 
# characters, hashes, percent signs, but SUFFIX may contain a leading
17663
 
# dot (in which case that matches only a dot).
17664
 
func_stripname ()
17665
 
{
17666
 
  # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
17667
 
  # positional parameters, so assign one to ordinary parameter first.
17668
 
  func_stripname_result=${3}
17669
 
  func_stripname_result=${func_stripname_result#"${1}"}
17670
 
  func_stripname_result=${func_stripname_result%"${2}"}
17671
 
}
17672
 
 
17673
 
# func_opt_split
17674
 
func_opt_split ()
17675
 
{
17676
 
  func_opt_split_opt=${1%%=*}
17677
 
  func_opt_split_arg=${1#*=}
17678
 
}
17679
 
 
17680
 
# func_lo2o object
17681
 
func_lo2o ()
17682
 
{
17683
 
  case ${1} in
17684
 
    *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
17685
 
    *)    func_lo2o_result=${1} ;;
17686
 
  esac
17687
 
}
17688
 
 
17689
 
# func_xform libobj-or-source
17690
 
func_xform ()
17691
 
{
17692
 
  func_xform_result=${1%.*}.lo
17693
 
}
17694
 
 
17695
 
# func_arith arithmetic-term...
17696
 
func_arith ()
17697
 
{
17698
 
  func_arith_result=$(( $* ))
17699
 
}
17700
 
 
17701
 
# func_len string
17702
 
# STRING may not start with a hyphen.
17703
 
func_len ()
17704
 
{
17705
 
  func_len_result=${#1}
17706
 
}
17707
 
 
17708
 
_LT_EOF
17709
 
    ;;
17710
 
  *) # Bourne compatible functions.
17711
 
    cat << \_LT_EOF >> "$cfgfile"
17712
 
 
17713
 
# func_dirname file append nondir_replacement
17714
 
# Compute the dirname of FILE.  If nonempty, add APPEND to the result,
17715
 
# otherwise set result to NONDIR_REPLACEMENT.
17716
 
func_dirname ()
17717
 
{
17718
 
  # Extract subdirectory from the argument.
17719
 
  func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
17720
 
  if test "X$func_dirname_result" = "X${1}"; then
17721
 
    func_dirname_result="${3}"
17722
 
  else
17723
 
    func_dirname_result="$func_dirname_result${2}"
17724
 
  fi
17725
 
}
17726
 
 
17727
 
# func_basename file
17728
 
func_basename ()
17729
 
{
17730
 
  func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
17731
 
}
17732
 
 
17733
 
 
17734
 
# func_stripname prefix suffix name
17735
 
# strip PREFIX and SUFFIX off of NAME.
17736
 
# PREFIX and SUFFIX must not contain globbing or regex special
17737
 
# characters, hashes, percent signs, but SUFFIX may contain a leading
17738
 
# dot (in which case that matches only a dot).
17739
 
# func_strip_suffix prefix name
17740
 
func_stripname ()
17741
 
{
17742
 
  case ${2} in
17743
 
    .*) func_stripname_result=`$ECHO "X${3}" \
17744
 
           | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
17745
 
    *)  func_stripname_result=`$ECHO "X${3}" \
17746
 
           | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
17747
 
  esac
17748
 
}
17749
 
 
17750
 
# sed scripts:
17751
 
my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
17752
 
my_sed_long_arg='1s/^-[^=]*=//'
17753
 
 
17754
 
# func_opt_split
17755
 
func_opt_split ()
17756
 
{
17757
 
  func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
17758
 
  func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
17759
 
}
17760
 
 
17761
 
# func_lo2o object
17762
 
func_lo2o ()
17763
 
{
17764
 
  func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
17765
 
}
17766
 
 
17767
 
# func_xform libobj-or-source
17768
 
func_xform ()
17769
 
{
17770
 
  func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
17771
 
}
17772
 
 
17773
 
# func_arith arithmetic-term...
17774
 
func_arith ()
17775
 
{
17776
 
  func_arith_result=`expr "$@"`
17777
 
}
17778
 
 
17779
 
# func_len string
17780
 
# STRING may not start with a hyphen.
17781
 
func_len ()
17782
 
{
17783
 
  func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
17784
 
}
17785
 
 
17786
 
_LT_EOF
17787
 
esac
17788
 
 
17789
 
case $lt_shell_append in
17790
 
  yes)
17791
 
    cat << \_LT_EOF >> "$cfgfile"
17792
 
 
17793
 
# func_append var value
17794
 
# Append VALUE to the end of shell variable VAR.
17795
 
func_append ()
17796
 
{
17797
 
  eval "$1+=\$2"
17798
 
}
17799
 
_LT_EOF
17800
 
    ;;
17801
 
  *)
17802
 
    cat << \_LT_EOF >> "$cfgfile"
17803
 
 
17804
 
# func_append var value
17805
 
# Append VALUE to the end of shell variable VAR.
17806
 
func_append ()
17807
 
{
17808
 
  eval "$1=\$$1\$2"
17809
 
}
17810
 
 
17811
 
_LT_EOF
17812
 
    ;;
17813
 
  esac
17814
 
 
17815
 
 
17816
 
  sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
17817
 
    || (rm -f "$cfgfile"; exit 1)
17818
 
 
17819
 
  mv -f "$cfgfile" "$ofile" ||
17820
 
    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
17821
 
  chmod +x "$ofile"
17822
 
 
17823
 
 
17824
 
    cat <<_LT_EOF >> "$ofile"
17825
 
 
17826
 
# ### BEGIN LIBTOOL TAG CONFIG: CXX
17827
 
 
17828
 
# The linker used to build libraries.
17829
 
LD=$lt_LD_CXX
17830
 
 
17831
 
# Commands used to build an old-style archive.
17832
 
old_archive_cmds=$lt_old_archive_cmds_CXX
17833
 
 
17834
 
# A language specific compiler.
17835
 
CC=$lt_compiler_CXX
17836
 
 
17837
 
# Is the compiler the GNU compiler?
17838
 
with_gcc=$GCC_CXX
17839
 
 
17840
 
# Compiler flag to turn off builtin functions.
17841
 
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
17842
 
 
17843
 
# How to pass a linker flag through the compiler.
17844
 
wl=$lt_lt_prog_compiler_wl_CXX
17845
 
 
17846
 
# Additional compiler flags for building library objects.
17847
 
pic_flag=$lt_lt_prog_compiler_pic_CXX
17848
 
 
17849
 
# Compiler flag to prevent dynamic linking.
17850
 
link_static_flag=$lt_lt_prog_compiler_static_CXX
17851
 
 
17852
 
# Does compiler simultaneously support -c and -o options?
17853
 
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
17854
 
 
17855
 
# Whether or not to add -lc for building shared libraries.
17856
 
build_libtool_need_lc=$archive_cmds_need_lc_CXX
17857
 
 
17858
 
# Whether or not to disallow shared libs when runtime libs are static.
17859
 
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
17860
 
 
17861
 
# Compiler flag to allow reflexive dlopens.
17862
 
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
17863
 
 
17864
 
# Compiler flag to generate shared objects directly from archives.
17865
 
whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
17866
 
 
17867
 
# Whether the compiler copes with passing no objects directly.
17868
 
compiler_needs_object=$lt_compiler_needs_object_CXX
17869
 
 
17870
 
# Create an old-style archive from a shared archive.
17871
 
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
17872
 
 
17873
 
# Create a temporary old-style archive to link instead of a shared archive.
17874
 
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
17875
 
 
17876
 
# Commands used to build a shared archive.
17877
 
archive_cmds=$lt_archive_cmds_CXX
17878
 
archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
17879
 
 
17880
 
# Commands used to build a loadable module if different from building
17881
 
# a shared archive.
17882
 
module_cmds=$lt_module_cmds_CXX
17883
 
module_expsym_cmds=$lt_module_expsym_cmds_CXX
17884
 
 
17885
 
# Whether we are building with GNU ld or not.
17886
 
with_gnu_ld=$lt_with_gnu_ld_CXX
17887
 
 
17888
 
# Flag that allows shared libraries with undefined symbols to be built.
17889
 
allow_undefined_flag=$lt_allow_undefined_flag_CXX
17890
 
 
17891
 
# Flag that enforces no undefined symbols.
17892
 
no_undefined_flag=$lt_no_undefined_flag_CXX
17893
 
 
17894
 
# Flag to hardcode \$libdir into a binary during linking.
17895
 
# This must work even if \$libdir does not exist
17896
 
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
17897
 
 
17898
 
# If ld is used when linking, flag to hardcode \$libdir into a binary
17899
 
# during linking.  This must work even if \$libdir does not exist.
17900
 
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
17901
 
 
17902
 
# Whether we need a single "-rpath" flag with a separated argument.
17903
 
hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
17904
 
 
17905
 
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17906
 
# DIR into the resulting binary.
17907
 
hardcode_direct=$hardcode_direct_CXX
17908
 
 
17909
 
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17910
 
# DIR into the resulting binary and the resulting library dependency is
17911
 
# "absolute",i.e impossible to change by setting \${shlibpath_var} if the
17912
 
# library is relocated.
17913
 
hardcode_direct_absolute=$hardcode_direct_absolute_CXX
17914
 
 
17915
 
# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
17916
 
# into the resulting binary.
17917
 
hardcode_minus_L=$hardcode_minus_L_CXX
17918
 
 
17919
 
# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
17920
 
# into the resulting binary.
17921
 
hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
17922
 
 
17923
 
# Set to "yes" if building a shared library automatically hardcodes DIR
17924
 
# into the library and all subsequent libraries and executables linked
17925
 
# against it.
17926
 
hardcode_automatic=$hardcode_automatic_CXX
17927
 
 
17928
 
# Set to yes if linker adds runtime paths of dependent libraries
17929
 
# to runtime path list.
17930
 
inherit_rpath=$inherit_rpath_CXX
17931
 
 
17932
 
# Whether libtool must link a program against all its dependency libraries.
17933
 
link_all_deplibs=$link_all_deplibs_CXX
17934
 
 
17935
 
# Fix the shell variable \$srcfile for the compiler.
17936
 
fix_srcfile_path=$lt_fix_srcfile_path_CXX
17937
 
 
17938
 
# Set to "yes" if exported symbols are required.
17939
 
always_export_symbols=$always_export_symbols_CXX
17940
 
 
17941
 
# The commands to list exported symbols.
17942
 
export_symbols_cmds=$lt_export_symbols_cmds_CXX
17943
 
 
17944
 
# Symbols that should not be listed in the preloaded symbols.
17945
 
exclude_expsyms=$lt_exclude_expsyms_CXX
17946
 
 
17947
 
# Symbols that must always be exported.
17948
 
include_expsyms=$lt_include_expsyms_CXX
17949
 
 
17950
 
# Commands necessary for linking programs (against libraries) with templates.
17951
 
prelink_cmds=$lt_prelink_cmds_CXX
17952
 
 
17953
 
# Specify filename containing input files.
17954
 
file_list_spec=$lt_file_list_spec_CXX
17955
 
 
17956
 
# How to hardcode a shared library path into an executable.
17957
 
hardcode_action=$hardcode_action_CXX
17958
 
 
17959
 
# The directories searched by this compiler when creating a shared library.
17960
 
compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
17961
 
 
17962
 
# Dependencies to place before and after the objects being linked to
17963
 
# create a shared library.
17964
 
predep_objects=$lt_predep_objects_CXX
17965
 
postdep_objects=$lt_postdep_objects_CXX
17966
 
predeps=$lt_predeps_CXX
17967
 
postdeps=$lt_postdeps_CXX
17968
 
 
17969
 
# The library search path used internally by the compiler when linking
17970
 
# a shared library.
17971
 
compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
17972
 
 
17973
 
# ### END LIBTOOL TAG CONFIG: CXX
17974
 
_LT_EOF
17975
 
 
17976
 
 ;;
17977
 
 
17978
 
  esac
17979
 
done # for ac_tag
17980
 
 
17981
 
 
17982
 
as_fn_exit 0
17983
 
_ACEOF
17984
 
ac_clean_files=$ac_clean_files_save
17985
 
 
17986
 
test $ac_write_fail = 0 ||
17987
 
  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 
17988
 
 
17989
 
 
17990
 
# configure is writing to config.log, and then calls config.status.
17991
 
# config.status does its own redirection, appending to config.log.
17992
 
# Unfortunately, on DOS this fails, as config.log is still kept open
17993
 
# by configure, so config.status won't be able to write to it; its
17994
 
# output is simply discarded.  So we exec the FD to /dev/null,
17995
 
# effectively closing config.log, so it can be properly (re)opened and
17996
 
# appended to by config.status.  When coming back to configure, we
17997
 
# need to make the FD available again.
17998
 
if test "$no_create" != yes; then
17999
 
  ac_cs_success=:
18000
 
  ac_config_status_args=
18001
 
  test "$silent" = yes &&
18002
 
    ac_config_status_args="$ac_config_status_args --quiet"
18003
 
  exec 5>/dev/null
18004
 
  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
18005
 
  exec 5>>config.log
18006
 
  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
18007
 
  # would make configure fail if this is the last instruction.
18008
 
  $ac_cs_success || as_fn_exit 1
18009
 
fi
18010
 
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
18011
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
18012
 
$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
18013
 
fi
18014