~ubuntu-branches/ubuntu/utopic/ibutils/utopic-proposed

« back to all changes in this revision

Viewing changes to ibis/autom4te.cache/output.0

  • Committer: Package Import Robot
  • Author(s): Ana Beatriz Guerrero Lopez
  • Date: 2014-07-04 11:26:44 UTC
  • mfrom: (5.1.3 experimental)
  • Revision ID: package-import@ubuntu.com-20140704112644-en6fo4oq2wrio7a3
Tags: 1.5.7-3
* Upload to unstable.
* Add a watch file.
* Add fields Vcs-Browser/Vcs-Git.

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.65 for ibis 1.5.7.
 
4
@%:@ 
 
5
@%:@ 
 
6
@%:@ Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
 
7
@%:@ 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
 
8
@%:@ 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 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 @S|@?, using 1 if that was 0.
 
364
as_fn_error ()
 
365
{
 
366
  as_status=$?; test $as_status -eq 0 && as_status=1
 
367
  if test "$3"; then
 
368
    as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
369
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
 
370
  fi
 
371
  $as_echo "$as_me: error: $1" >&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, 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='ibis'
 
700
PACKAGE_TARNAME='ibis'
 
701
PACKAGE_VERSION='1.5.7'
 
702
PACKAGE_STRING='ibis 1.5.7'
 
703
PACKAGE_BUGREPORT=''
 
704
PACKAGE_URL=''
 
705
 
 
706
ac_unique_file="src/ibis_api.h"
 
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
OSM_BUILD
 
748
OSM_VENDOR
 
749
OSM_LDFLAGS
 
750
OSM_CFLAGS
 
751
with_osm
 
752
OSM_BUILD_OPENIB_FALSE
 
753
OSM_BUILD_OPENIB_TRUE
 
754
OSM_VENDOR_SIM_FALSE
 
755
OSM_VENDOR_SIM_TRUE
 
756
OSM_VENDOR_MTL_FALSE
 
757
OSM_VENDOR_MTL_TRUE
 
758
OSM_VENDOR_TS_FALSE
 
759
OSM_VENDOR_TS_TRUE
 
760
DEBUG_FALSE
 
761
DEBUG_TRUE
 
762
TCL_PREFIX
 
763
TCL_CPPFLAGS
 
764
TCL_LIBS
 
765
TCL_DEFS
 
766
TCLSH
 
767
CXXCPP
 
768
OTOOL64
 
769
OTOOL
 
770
LIPO
 
771
NMEDIT
 
772
DSYMUTIL
 
773
lt_ECHO
 
774
RANLIB
 
775
AR
 
776
OBJDUMP
 
777
NM
 
778
ac_ct_DUMPBIN
 
779
DUMPBIN
 
780
LD
 
781
FGREP
 
782
EGREP
 
783
GREP
 
784
SED
 
785
host_os
 
786
host_vendor
 
787
host_cpu
 
788
host
 
789
build_os
 
790
build_vendor
 
791
build_cpu
 
792
build
 
793
LIBTOOL
 
794
CPP
 
795
am__fastdepCC_FALSE
 
796
am__fastdepCC_TRUE
 
797
CCDEPMODE
 
798
ac_ct_CC
 
799
CFLAGS
 
800
CC
 
801
am__fastdepCXX_FALSE
 
802
am__fastdepCXX_TRUE
 
803
CXXDEPMODE
 
804
AMDEPBACKSLASH
 
805
AMDEP_FALSE
 
806
AMDEP_TRUE
 
807
am__quote
 
808
am__include
 
809
DEPDIR
 
810
OBJEXT
 
811
EXEEXT
 
812
ac_ct_CXX
 
813
CPPFLAGS
 
814
LDFLAGS
 
815
CXXFLAGS
 
816
CXX
 
817
SWIG_LIB
 
818
HAS_SWIG_FALSE
 
819
HAS_SWIG_TRUE
 
820
SWIG
 
821
LN_S
 
822
MAINT
 
823
MAINTAINER_MODE_FALSE
 
824
MAINTAINER_MODE_TRUE
 
825
am__untar
 
826
am__tar
 
827
AMTAR
 
828
am__leading_dot
 
829
SET_MAKE
 
830
AWK
 
831
mkdir_p
 
832
MKDIR_P
 
833
INSTALL_STRIP_PROGRAM
 
834
STRIP
 
835
install_sh
 
836
MAKEINFO
 
837
AUTOHEADER
 
838
AUTOMAKE
 
839
AUTOCONF
 
840
ACLOCAL
 
841
VERSION
 
842
PACKAGE
 
843
CYGPATH_W
 
844
am__isrc
 
845
INSTALL_DATA
 
846
INSTALL_SCRIPT
 
847
INSTALL_PROGRAM
 
848
target_alias
 
849
host_alias
 
850
build_alias
 
851
LIBS
 
852
ECHO_T
 
853
ECHO_N
 
854
ECHO_C
 
855
DEFS
 
856
mandir
 
857
localedir
 
858
libdir
 
859
psdir
 
860
pdfdir
 
861
dvidir
 
862
htmldir
 
863
infodir
 
864
docdir
 
865
oldincludedir
 
866
includedir
 
867
localstatedir
 
868
sharedstatedir
 
869
sysconfdir
 
870
datadir
 
871
datarootdir
 
872
libexecdir
 
873
sbindir
 
874
bindir
 
875
program_transform_name
 
876
prefix
 
877
exec_prefix
 
878
PACKAGE_URL
 
879
PACKAGE_BUGREPORT
 
880
PACKAGE_STRING
 
881
PACKAGE_VERSION
 
882
PACKAGE_TARNAME
 
883
PACKAGE_NAME
 
884
PATH_SEPARATOR
 
885
SHELL'
 
886
ac_subst_files=''
 
887
ac_user_opts='
 
888
enable_option_checking
 
889
enable_maintainer_mode
 
890
enable_dependency_tracking
 
891
enable_shared
 
892
enable_static
 
893
with_pic
 
894
enable_fast_install
 
895
with_gnu_ld
 
896
enable_libtool_lock
 
897
enable_libcheck
 
898
with_tclconfig
 
899
with_tcl
 
900
with_tclsh
 
901
enable_debug
 
902
with_osm
 
903
with_osm_libs
 
904
'
 
905
      ac_precious_vars='build_alias
 
906
host_alias
 
907
target_alias
 
908
CXX
 
909
CXXFLAGS
 
910
LDFLAGS
 
911
LIBS
 
912
CPPFLAGS
 
913
CCC
 
914
CC
 
915
CFLAGS
 
916
CPP
 
917
CXXCPP'
 
918
 
 
919
 
 
920
# Initialize some variables set by options.
 
921
ac_init_help=
 
922
ac_init_version=false
 
923
ac_unrecognized_opts=
 
924
ac_unrecognized_sep=
 
925
# The variables have the same names as the options, with
 
926
# dashes changed to underlines.
 
927
cache_file=/dev/null
 
928
exec_prefix=NONE
 
929
no_create=
 
930
no_recursion=
 
931
prefix=NONE
 
932
program_prefix=NONE
 
933
program_suffix=NONE
 
934
program_transform_name=s,x,x,
 
935
silent=
 
936
site=
 
937
srcdir=
 
938
verbose=
 
939
x_includes=NONE
 
940
x_libraries=NONE
 
941
 
 
942
# Installation directory options.
 
943
# These are left unexpanded so users can "make install exec_prefix=/foo"
 
944
# and all the variables that are supposed to be based on exec_prefix
 
945
# by default will actually change.
 
946
# Use braces instead of parens because sh, perl, etc. also accept them.
 
947
# (The list follows the same order as the GNU Coding Standards.)
 
948
bindir='${exec_prefix}/bin'
 
949
sbindir='${exec_prefix}/sbin'
 
950
libexecdir='${exec_prefix}/libexec'
 
951
datarootdir='${prefix}/share'
 
952
datadir='${datarootdir}'
 
953
sysconfdir='${prefix}/etc'
 
954
sharedstatedir='${prefix}/com'
 
955
localstatedir='${prefix}/var'
 
956
includedir='${prefix}/include'
 
957
oldincludedir='/usr/include'
 
958
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
 
959
infodir='${datarootdir}/info'
 
960
htmldir='${docdir}'
 
961
dvidir='${docdir}'
 
962
pdfdir='${docdir}'
 
963
psdir='${docdir}'
 
964
libdir='${exec_prefix}/lib'
 
965
localedir='${datarootdir}/locale'
 
966
mandir='${datarootdir}/man'
 
967
 
 
968
ac_prev=
 
969
ac_dashdash=
 
970
for ac_option
 
971
do
 
972
  # If the previous option needs an argument, assign it.
 
973
  if test -n "$ac_prev"; then
 
974
    eval $ac_prev=\$ac_option
 
975
    ac_prev=
 
976
    continue
 
977
  fi
 
978
 
 
979
  case $ac_option in
 
980
  *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
 
981
  *)    ac_optarg=yes ;;
 
982
  esac
 
983
 
 
984
  # Accept the important Cygnus configure options, so we can diagnose typos.
 
985
 
 
986
  case $ac_dashdash$ac_option in
 
987
  --)
 
988
    ac_dashdash=yes ;;
 
989
 
 
990
  -bindir | --bindir | --bindi | --bind | --bin | --bi)
 
991
    ac_prev=bindir ;;
 
992
  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
 
993
    bindir=$ac_optarg ;;
 
994
 
 
995
  -build | --build | --buil | --bui | --bu)
 
996
    ac_prev=build_alias ;;
 
997
  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
 
998
    build_alias=$ac_optarg ;;
 
999
 
 
1000
  -cache-file | --cache-file | --cache-fil | --cache-fi \
 
1001
  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
 
1002
    ac_prev=cache_file ;;
 
1003
  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
 
1004
  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
 
1005
    cache_file=$ac_optarg ;;
 
1006
 
 
1007
  --config-cache | -C)
 
1008
    cache_file=config.cache ;;
 
1009
 
 
1010
  -datadir | --datadir | --datadi | --datad)
 
1011
    ac_prev=datadir ;;
 
1012
  -datadir=* | --datadir=* | --datadi=* | --datad=*)
 
1013
    datadir=$ac_optarg ;;
 
1014
 
 
1015
  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
 
1016
  | --dataroo | --dataro | --datar)
 
1017
    ac_prev=datarootdir ;;
 
1018
  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
 
1019
  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
 
1020
    datarootdir=$ac_optarg ;;
 
1021
 
 
1022
  -disable-* | --disable-*)
 
1023
    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
 
1024
    # Reject names that are not valid shell variable names.
 
1025
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 
1026
      as_fn_error "invalid feature name: $ac_useropt"
 
1027
    ac_useropt_orig=$ac_useropt
 
1028
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 
1029
    case $ac_user_opts in
 
1030
      *"
 
1031
"enable_$ac_useropt"
 
1032
"*) ;;
 
1033
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
 
1034
         ac_unrecognized_sep=', ';;
 
1035
    esac
 
1036
    eval enable_$ac_useropt=no ;;
 
1037
 
 
1038
  -docdir | --docdir | --docdi | --doc | --do)
 
1039
    ac_prev=docdir ;;
 
1040
  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
 
1041
    docdir=$ac_optarg ;;
 
1042
 
 
1043
  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
 
1044
    ac_prev=dvidir ;;
 
1045
  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
 
1046
    dvidir=$ac_optarg ;;
 
1047
 
 
1048
  -enable-* | --enable-*)
 
1049
    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
 
1050
    # Reject names that are not valid shell variable names.
 
1051
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 
1052
      as_fn_error "invalid feature name: $ac_useropt"
 
1053
    ac_useropt_orig=$ac_useropt
 
1054
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 
1055
    case $ac_user_opts in
 
1056
      *"
 
1057
"enable_$ac_useropt"
 
1058
"*) ;;
 
1059
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
 
1060
         ac_unrecognized_sep=', ';;
 
1061
    esac
 
1062
    eval enable_$ac_useropt=\$ac_optarg ;;
 
1063
 
 
1064
  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
 
1065
  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
 
1066
  | --exec | --exe | --ex)
 
1067
    ac_prev=exec_prefix ;;
 
1068
  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
 
1069
  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
 
1070
  | --exec=* | --exe=* | --ex=*)
 
1071
    exec_prefix=$ac_optarg ;;
 
1072
 
 
1073
  -gas | --gas | --ga | --g)
 
1074
    # Obsolete; use --with-gas.
 
1075
    with_gas=yes ;;
 
1076
 
 
1077
  -help | --help | --hel | --he | -h)
 
1078
    ac_init_help=long ;;
 
1079
  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
 
1080
    ac_init_help=recursive ;;
 
1081
  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
 
1082
    ac_init_help=short ;;
 
1083
 
 
1084
  -host | --host | --hos | --ho)
 
1085
    ac_prev=host_alias ;;
 
1086
  -host=* | --host=* | --hos=* | --ho=*)
 
1087
    host_alias=$ac_optarg ;;
 
1088
 
 
1089
  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
 
1090
    ac_prev=htmldir ;;
 
1091
  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
 
1092
  | --ht=*)
 
1093
    htmldir=$ac_optarg ;;
 
1094
 
 
1095
  -includedir | --includedir | --includedi | --included | --include \
 
1096
  | --includ | --inclu | --incl | --inc)
 
1097
    ac_prev=includedir ;;
 
1098
  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
 
1099
  | --includ=* | --inclu=* | --incl=* | --inc=*)
 
1100
    includedir=$ac_optarg ;;
 
1101
 
 
1102
  -infodir | --infodir | --infodi | --infod | --info | --inf)
 
1103
    ac_prev=infodir ;;
 
1104
  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
 
1105
    infodir=$ac_optarg ;;
 
1106
 
 
1107
  -libdir | --libdir | --libdi | --libd)
 
1108
    ac_prev=libdir ;;
 
1109
  -libdir=* | --libdir=* | --libdi=* | --libd=*)
 
1110
    libdir=$ac_optarg ;;
 
1111
 
 
1112
  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
 
1113
  | --libexe | --libex | --libe)
 
1114
    ac_prev=libexecdir ;;
 
1115
  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
 
1116
  | --libexe=* | --libex=* | --libe=*)
 
1117
    libexecdir=$ac_optarg ;;
 
1118
 
 
1119
  -localedir | --localedir | --localedi | --localed | --locale)
 
1120
    ac_prev=localedir ;;
 
1121
  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
 
1122
    localedir=$ac_optarg ;;
 
1123
 
 
1124
  -localstatedir | --localstatedir | --localstatedi | --localstated \
 
1125
  | --localstate | --localstat | --localsta | --localst | --locals)
 
1126
    ac_prev=localstatedir ;;
 
1127
  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
 
1128
  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
 
1129
    localstatedir=$ac_optarg ;;
 
1130
 
 
1131
  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
 
1132
    ac_prev=mandir ;;
 
1133
  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
 
1134
    mandir=$ac_optarg ;;
 
1135
 
 
1136
  -nfp | --nfp | --nf)
 
1137
    # Obsolete; use --without-fp.
 
1138
    with_fp=no ;;
 
1139
 
 
1140
  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
 
1141
  | --no-cr | --no-c | -n)
 
1142
    no_create=yes ;;
 
1143
 
 
1144
  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
 
1145
  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
 
1146
    no_recursion=yes ;;
 
1147
 
 
1148
  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
 
1149
  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
 
1150
  | --oldin | --oldi | --old | --ol | --o)
 
1151
    ac_prev=oldincludedir ;;
 
1152
  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
 
1153
  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
 
1154
  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
 
1155
    oldincludedir=$ac_optarg ;;
 
1156
 
 
1157
  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
 
1158
    ac_prev=prefix ;;
 
1159
  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
 
1160
    prefix=$ac_optarg ;;
 
1161
 
 
1162
  -program-prefix | --program-prefix | --program-prefi | --program-pref \
 
1163
  | --program-pre | --program-pr | --program-p)
 
1164
    ac_prev=program_prefix ;;
 
1165
  -program-prefix=* | --program-prefix=* | --program-prefi=* \
 
1166
  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
 
1167
    program_prefix=$ac_optarg ;;
 
1168
 
 
1169
  -program-suffix | --program-suffix | --program-suffi | --program-suff \
 
1170
  | --program-suf | --program-su | --program-s)
 
1171
    ac_prev=program_suffix ;;
 
1172
  -program-suffix=* | --program-suffix=* | --program-suffi=* \
 
1173
  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
 
1174
    program_suffix=$ac_optarg ;;
 
1175
 
 
1176
  -program-transform-name | --program-transform-name \
 
1177
  | --program-transform-nam | --program-transform-na \
 
1178
  | --program-transform-n | --program-transform- \
 
1179
  | --program-transform | --program-transfor \
 
1180
  | --program-transfo | --program-transf \
 
1181
  | --program-trans | --program-tran \
 
1182
  | --progr-tra | --program-tr | --program-t)
 
1183
    ac_prev=program_transform_name ;;
 
1184
  -program-transform-name=* | --program-transform-name=* \
 
1185
  | --program-transform-nam=* | --program-transform-na=* \
 
1186
  | --program-transform-n=* | --program-transform-=* \
 
1187
  | --program-transform=* | --program-transfor=* \
 
1188
  | --program-transfo=* | --program-transf=* \
 
1189
  | --program-trans=* | --program-tran=* \
 
1190
  | --progr-tra=* | --program-tr=* | --program-t=*)
 
1191
    program_transform_name=$ac_optarg ;;
 
1192
 
 
1193
  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
 
1194
    ac_prev=pdfdir ;;
 
1195
  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
 
1196
    pdfdir=$ac_optarg ;;
 
1197
 
 
1198
  -psdir | --psdir | --psdi | --psd | --ps)
 
1199
    ac_prev=psdir ;;
 
1200
  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
 
1201
    psdir=$ac_optarg ;;
 
1202
 
 
1203
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
 
1204
  | -silent | --silent | --silen | --sile | --sil)
 
1205
    silent=yes ;;
 
1206
 
 
1207
  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
 
1208
    ac_prev=sbindir ;;
 
1209
  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
 
1210
  | --sbi=* | --sb=*)
 
1211
    sbindir=$ac_optarg ;;
 
1212
 
 
1213
  -sharedstatedir | --sharedstatedir | --sharedstatedi \
 
1214
  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
 
1215
  | --sharedst | --shareds | --shared | --share | --shar \
 
1216
  | --sha | --sh)
 
1217
    ac_prev=sharedstatedir ;;
 
1218
  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
 
1219
  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
 
1220
  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
 
1221
  | --sha=* | --sh=*)
 
1222
    sharedstatedir=$ac_optarg ;;
 
1223
 
 
1224
  -site | --site | --sit)
 
1225
    ac_prev=site ;;
 
1226
  -site=* | --site=* | --sit=*)
 
1227
    site=$ac_optarg ;;
 
1228
 
 
1229
  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
 
1230
    ac_prev=srcdir ;;
 
1231
  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
 
1232
    srcdir=$ac_optarg ;;
 
1233
 
 
1234
  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
 
1235
  | --syscon | --sysco | --sysc | --sys | --sy)
 
1236
    ac_prev=sysconfdir ;;
 
1237
  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
 
1238
  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
 
1239
    sysconfdir=$ac_optarg ;;
 
1240
 
 
1241
  -target | --target | --targe | --targ | --tar | --ta | --t)
 
1242
    ac_prev=target_alias ;;
 
1243
  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
 
1244
    target_alias=$ac_optarg ;;
 
1245
 
 
1246
  -v | -verbose | --verbose | --verbos | --verbo | --verb)
 
1247
    verbose=yes ;;
 
1248
 
 
1249
  -version | --version | --versio | --versi | --vers | -V)
 
1250
    ac_init_version=: ;;
 
1251
 
 
1252
  -with-* | --with-*)
 
1253
    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
 
1254
    # Reject names that are not valid shell variable names.
 
1255
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 
1256
      as_fn_error "invalid package name: $ac_useropt"
 
1257
    ac_useropt_orig=$ac_useropt
 
1258
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 
1259
    case $ac_user_opts in
 
1260
      *"
 
1261
"with_$ac_useropt"
 
1262
"*) ;;
 
1263
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
 
1264
         ac_unrecognized_sep=', ';;
 
1265
    esac
 
1266
    eval with_$ac_useropt=\$ac_optarg ;;
 
1267
 
 
1268
  -without-* | --without-*)
 
1269
    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
 
1270
    # Reject names that are not valid shell variable names.
 
1271
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 
1272
      as_fn_error "invalid package name: $ac_useropt"
 
1273
    ac_useropt_orig=$ac_useropt
 
1274
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 
1275
    case $ac_user_opts in
 
1276
      *"
 
1277
"with_$ac_useropt"
 
1278
"*) ;;
 
1279
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
 
1280
         ac_unrecognized_sep=', ';;
 
1281
    esac
 
1282
    eval with_$ac_useropt=no ;;
 
1283
 
 
1284
  --x)
 
1285
    # Obsolete; use --with-x.
 
1286
    with_x=yes ;;
 
1287
 
 
1288
  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
 
1289
  | --x-incl | --x-inc | --x-in | --x-i)
 
1290
    ac_prev=x_includes ;;
 
1291
  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
 
1292
  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
 
1293
    x_includes=$ac_optarg ;;
 
1294
 
 
1295
  -x-libraries | --x-libraries | --x-librarie | --x-librari \
 
1296
  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
 
1297
    ac_prev=x_libraries ;;
 
1298
  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
 
1299
  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
 
1300
    x_libraries=$ac_optarg ;;
 
1301
 
 
1302
  -*) as_fn_error "unrecognized option: \`$ac_option'
 
1303
Try \`$0 --help' for more information."
 
1304
    ;;
 
1305
 
 
1306
  *=*)
 
1307
    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
 
1308
    # Reject names that are not valid shell variable names.
 
1309
    case $ac_envvar in #(
 
1310
      '' | [0-9]* | *[!_$as_cr_alnum]* )
 
1311
      as_fn_error "invalid variable name: \`$ac_envvar'" ;;
 
1312
    esac
 
1313
    eval $ac_envvar=\$ac_optarg
 
1314
    export $ac_envvar ;;
 
1315
 
 
1316
  *)
 
1317
    # FIXME: should be removed in autoconf 3.0.
 
1318
    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
 
1319
    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
 
1320
      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
 
1321
    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
 
1322
    ;;
 
1323
 
 
1324
  esac
 
1325
done
 
1326
 
 
1327
if test -n "$ac_prev"; then
 
1328
  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
 
1329
  as_fn_error "missing argument to $ac_option"
 
1330
fi
 
1331
 
 
1332
if test -n "$ac_unrecognized_opts"; then
 
1333
  case $enable_option_checking in
 
1334
    no) ;;
 
1335
    fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
 
1336
    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
 
1337
  esac
 
1338
fi
 
1339
 
 
1340
# Check all directory arguments for consistency.
 
1341
for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
 
1342
                datadir sysconfdir sharedstatedir localstatedir includedir \
 
1343
                oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
 
1344
                libdir localedir mandir
 
1345
do
 
1346
  eval ac_val=\$$ac_var
 
1347
  # Remove trailing slashes.
 
1348
  case $ac_val in
 
1349
    */ )
 
1350
      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
 
1351
      eval $ac_var=\$ac_val;;
 
1352
  esac
 
1353
  # Be sure to have absolute directory names.
 
1354
  case $ac_val in
 
1355
    [\\/$]* | ?:[\\/]* )  continue;;
 
1356
    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
 
1357
  esac
 
1358
  as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
 
1359
done
 
1360
 
 
1361
# There might be people who depend on the old broken behavior: `$host'
 
1362
# used to hold the argument of --host etc.
 
1363
# FIXME: To remove some day.
 
1364
build=$build_alias
 
1365
host=$host_alias
 
1366
target=$target_alias
 
1367
 
 
1368
# FIXME: To remove some day.
 
1369
if test "x$host_alias" != x; then
 
1370
  if test "x$build_alias" = x; then
 
1371
    cross_compiling=maybe
 
1372
    $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
 
1373
    If a cross compiler is detected then cross compile mode will be used." >&2
 
1374
  elif test "x$build_alias" != "x$host_alias"; then
 
1375
    cross_compiling=yes
 
1376
  fi
 
1377
fi
 
1378
 
 
1379
ac_tool_prefix=
 
1380
test -n "$host_alias" && ac_tool_prefix=$host_alias-
 
1381
 
 
1382
test "$silent" = yes && exec 6>/dev/null
 
1383
 
 
1384
 
 
1385
ac_pwd=`pwd` && test -n "$ac_pwd" &&
 
1386
ac_ls_di=`ls -di .` &&
 
1387
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
 
1388
  as_fn_error "working directory cannot be determined"
 
1389
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
 
1390
  as_fn_error "pwd does not report name of working directory"
 
1391
 
 
1392
 
 
1393
# Find the source files, if location was not specified.
 
1394
if test -z "$srcdir"; then
 
1395
  ac_srcdir_defaulted=yes
 
1396
  # Try the directory containing this script, then the parent directory.
 
1397
  ac_confdir=`$as_dirname -- "$as_myself" ||
 
1398
$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
1399
         X"$as_myself" : 'X\(//\)[^/]' \| \
 
1400
         X"$as_myself" : 'X\(//\)$' \| \
 
1401
         X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
 
1402
$as_echo X"$as_myself" |
 
1403
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
1404
            s//\1/
 
1405
            q
 
1406
          }
 
1407
          /^X\(\/\/\)[^/].*/{
 
1408
            s//\1/
 
1409
            q
 
1410
          }
 
1411
          /^X\(\/\/\)$/{
 
1412
            s//\1/
 
1413
            q
 
1414
          }
 
1415
          /^X\(\/\).*/{
 
1416
            s//\1/
 
1417
            q
 
1418
          }
 
1419
          s/.*/./; q'`
 
1420
  srcdir=$ac_confdir
 
1421
  if test ! -r "$srcdir/$ac_unique_file"; then
 
1422
    srcdir=..
 
1423
  fi
 
1424
else
 
1425
  ac_srcdir_defaulted=no
 
1426
fi
 
1427
if test ! -r "$srcdir/$ac_unique_file"; then
 
1428
  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
 
1429
  as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
 
1430
fi
 
1431
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
 
1432
ac_abs_confdir=`(
 
1433
        cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
 
1434
        pwd)`
 
1435
# When building in place, set srcdir=.
 
1436
if test "$ac_abs_confdir" = "$ac_pwd"; then
 
1437
  srcdir=.
 
1438
fi
 
1439
# Remove unnecessary trailing slashes from srcdir.
 
1440
# Double slashes in file names in object file debugging info
 
1441
# mess up M-x gdb in Emacs.
 
1442
case $srcdir in
 
1443
*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
 
1444
esac
 
1445
for ac_var in $ac_precious_vars; do
 
1446
  eval ac_env_${ac_var}_set=\${${ac_var}+set}
 
1447
  eval ac_env_${ac_var}_value=\$${ac_var}
 
1448
  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
 
1449
  eval ac_cv_env_${ac_var}_value=\$${ac_var}
 
1450
done
 
1451
 
 
1452
#
 
1453
# Report the --help message.
 
1454
#
 
1455
if test "$ac_init_help" = "long"; then
 
1456
  # Omit some internal or obsolete options to make the list less imposing.
 
1457
  # This message is too long to be a string in the A/UX 3.1 sh.
 
1458
  cat <<_ACEOF
 
1459
\`configure' configures ibis 1.5.7 to adapt to many kinds of systems.
 
1460
 
 
1461
Usage: $0 [OPTION]... [VAR=VALUE]...
 
1462
 
 
1463
To assign environment variables (e.g., CC, CFLAGS...), specify them as
 
1464
VAR=VALUE.  See below for descriptions of some of the useful variables.
 
1465
 
 
1466
Defaults for the options are specified in brackets.
 
1467
 
 
1468
Configuration:
 
1469
  -h, --help              display this help and exit
 
1470
      --help=short        display options specific to this package
 
1471
      --help=recursive    display the short help of all the included packages
 
1472
  -V, --version           display version information and exit
 
1473
  -q, --quiet, --silent   do not print \`checking...' messages
 
1474
      --cache-file=FILE   cache test results in FILE [disabled]
 
1475
  -C, --config-cache      alias for \`--cache-file=config.cache'
 
1476
  -n, --no-create         do not create output files
 
1477
      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
 
1478
 
 
1479
Installation directories:
 
1480
  --prefix=PREFIX         install architecture-independent files in PREFIX
 
1481
                          @<:@@S|@ac_default_prefix@:>@
 
1482
  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
 
1483
                          @<:@PREFIX@:>@
 
1484
 
 
1485
By default, \`make install' will install all the files in
 
1486
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
 
1487
an installation prefix other than \`$ac_default_prefix' using \`--prefix',
 
1488
for instance \`--prefix=\$HOME'.
 
1489
 
 
1490
For better control, use the options below.
 
1491
 
 
1492
Fine tuning of the installation directories:
 
1493
  --bindir=DIR            user executables [EPREFIX/bin]
 
1494
  --sbindir=DIR           system admin executables [EPREFIX/sbin]
 
1495
  --libexecdir=DIR        program executables [EPREFIX/libexec]
 
1496
  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
 
1497
  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
 
1498
  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
 
1499
  --libdir=DIR            object code libraries [EPREFIX/lib]
 
1500
  --includedir=DIR        C header files [PREFIX/include]
 
1501
  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
 
1502
  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
 
1503
  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
 
1504
  --infodir=DIR           info documentation [DATAROOTDIR/info]
 
1505
  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
 
1506
  --mandir=DIR            man documentation [DATAROOTDIR/man]
 
1507
  --docdir=DIR            documentation root @<:@DATAROOTDIR/doc/ibis@:>@
 
1508
  --htmldir=DIR           html documentation [DOCDIR]
 
1509
  --dvidir=DIR            dvi documentation [DOCDIR]
 
1510
  --pdfdir=DIR            pdf documentation [DOCDIR]
 
1511
  --psdir=DIR             ps documentation [DOCDIR]
 
1512
_ACEOF
 
1513
 
 
1514
  cat <<\_ACEOF
 
1515
 
 
1516
Program names:
 
1517
  --program-prefix=PREFIX            prepend PREFIX to installed program names
 
1518
  --program-suffix=SUFFIX            append SUFFIX to installed program names
 
1519
  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
 
1520
 
 
1521
System types:
 
1522
  --build=BUILD     configure for building on BUILD [guessed]
 
1523
  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
 
1524
_ACEOF
 
1525
fi
 
1526
 
 
1527
if test -n "$ac_init_help"; then
 
1528
  case $ac_init_help in
 
1529
     short | recursive ) echo "Configuration of ibis 1.5.7:";;
 
1530
   esac
 
1531
  cat <<\_ACEOF
 
1532
 
 
1533
Optional Features:
 
1534
  --disable-option-checking  ignore unrecognized --enable/--with options
 
1535
  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
 
1536
  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
 
1537
  --enable-maintainer-mode  enable make rules and dependencies not useful
 
1538
                          (and sometimes confusing) to the casual installer
 
1539
  --disable-dependency-tracking  speeds up one-time build
 
1540
  --enable-dependency-tracking   do not reject slow dependency extractors
 
1541
  --enable-shared@<:@=PKGS@:>@  build shared libraries @<:@default=yes@:>@
 
1542
  --enable-static@<:@=PKGS@:>@  build static libraries @<:@default=yes@:>@
 
1543
  --enable-fast-install@<:@=PKGS@:>@ 
 
1544
                          optimize for fast installation @<:@default=yes@:>@
 
1545
  --disable-libtool-lock  avoid locking (might break parallel builds)
 
1546
  --enable-libcheck    Enable Dependency Checking
 
1547
  --enable-debug    Turn on debugging
 
1548
 
 
1549
Optional Packages:
 
1550
  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
 
1551
  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
 
1552
  --with-pic              try to use only PIC/non-PIC objects @<:@default=use
 
1553
                          both@:>@
 
1554
  --with-gnu-ld           assume the C compiler uses GNU ld @<:@default=no@:>@
 
1555
  --with-tclconfig=PATH   use tclConfig.sh from PATH
 
1556
                             (configure gets Tcl configuration from here)
 
1557
  --with-tcl=PATH         use Tcl from PATH
 
1558
  --with-tclsh=TCLSH      use TCLSH as the tclsh program
 
1559
                             (let configure find Tcl using this program)
 
1560
  --with-osm=<dir> define OSM prefix
 
1561
  --with-osm-libs=<dir> define where to find OSM libs
 
1562
 
 
1563
Some influential environment variables:
 
1564
  CXX         C++ compiler command
 
1565
  CXXFLAGS    C++ compiler flags
 
1566
  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
 
1567
              nonstandard directory <lib dir>
 
1568
  LIBS        libraries to pass to the linker, e.g. -l<library>
 
1569
  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
 
1570
              you have headers in a nonstandard directory <include dir>
 
1571
  CC          C compiler command
 
1572
  CFLAGS      C compiler flags
 
1573
  CPP         C preprocessor
 
1574
  CXXCPP      C++ preprocessor
 
1575
 
 
1576
Use these variables to override the choices made by `configure' or to help
 
1577
it to find libraries and programs with nonstandard names/locations.
 
1578
 
 
1579
Report bugs to the package provider.
 
1580
_ACEOF
 
1581
ac_status=$?
 
1582
fi
 
1583
 
 
1584
if test "$ac_init_help" = "recursive"; then
 
1585
  # If there are subdirs, report their specific --help.
 
1586
  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
 
1587
    test -d "$ac_dir" ||
 
1588
      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
 
1589
      continue
 
1590
    ac_builddir=.
 
1591
 
 
1592
case "$ac_dir" in
 
1593
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
1594
*)
 
1595
  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
 
1596
  # A ".." for each directory in $ac_dir_suffix.
 
1597
  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
 
1598
  case $ac_top_builddir_sub in
 
1599
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
1600
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
 
1601
  esac ;;
 
1602
esac
 
1603
ac_abs_top_builddir=$ac_pwd
 
1604
ac_abs_builddir=$ac_pwd$ac_dir_suffix
 
1605
# for backward compatibility:
 
1606
ac_top_builddir=$ac_top_build_prefix
 
1607
 
 
1608
case $srcdir in
 
1609
  .)  # We are building in place.
 
1610
    ac_srcdir=.
 
1611
    ac_top_srcdir=$ac_top_builddir_sub
 
1612
    ac_abs_top_srcdir=$ac_pwd ;;
 
1613
  [\\/]* | ?:[\\/]* )  # Absolute name.
 
1614
    ac_srcdir=$srcdir$ac_dir_suffix;
 
1615
    ac_top_srcdir=$srcdir
 
1616
    ac_abs_top_srcdir=$srcdir ;;
 
1617
  *) # Relative name.
 
1618
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
 
1619
    ac_top_srcdir=$ac_top_build_prefix$srcdir
 
1620
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
 
1621
esac
 
1622
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
 
1623
 
 
1624
    cd "$ac_dir" || { ac_status=$?; continue; }
 
1625
    # Check for guested configure.
 
1626
    if test -f "$ac_srcdir/configure.gnu"; then
 
1627
      echo &&
 
1628
      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
 
1629
    elif test -f "$ac_srcdir/configure"; then
 
1630
      echo &&
 
1631
      $SHELL "$ac_srcdir/configure" --help=recursive
 
1632
    else
 
1633
      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
 
1634
    fi || ac_status=$?
 
1635
    cd "$ac_pwd" || { ac_status=$?; break; }
 
1636
  done
 
1637
fi
 
1638
 
 
1639
test -n "$ac_init_help" && exit $ac_status
 
1640
if $ac_init_version; then
 
1641
  cat <<\_ACEOF
 
1642
ibis configure 1.5.7
 
1643
generated by GNU Autoconf 2.65
 
1644
 
 
1645
Copyright (C) 2009 Free Software Foundation, Inc.
 
1646
This configure script is free software; the Free Software Foundation
 
1647
gives unlimited permission to copy, distribute and modify it.
 
1648
_ACEOF
 
1649
  exit
 
1650
fi
 
1651
 
 
1652
## ------------------------ ##
 
1653
## Autoconf initialization. ##
 
1654
## ------------------------ ##
 
1655
 
 
1656
@%:@ ac_fn_cxx_try_compile LINENO
 
1657
@%:@ ----------------------------
 
1658
@%:@ Try to compile conftest.@S|@ac_ext, and return whether this succeeded.
 
1659
ac_fn_cxx_try_compile ()
 
1660
{
 
1661
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1662
  rm -f conftest.$ac_objext
 
1663
  if { { ac_try="$ac_compile"
 
1664
case "(($ac_try" in
 
1665
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1666
  *) ac_try_echo=$ac_try;;
 
1667
esac
 
1668
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1669
$as_echo "$ac_try_echo"; } >&5
 
1670
  (eval "$ac_compile") 2>conftest.err
 
1671
  ac_status=$?
 
1672
  if test -s conftest.err; then
 
1673
    grep -v '^ *+' conftest.err >conftest.er1
 
1674
    cat conftest.er1 >&5
 
1675
    mv -f conftest.er1 conftest.err
 
1676
  fi
 
1677
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1678
  test $ac_status = 0; } && {
 
1679
         test -z "$ac_cxx_werror_flag" ||
 
1680
         test ! -s conftest.err
 
1681
       } && test -s conftest.$ac_objext; then :
 
1682
  ac_retval=0
 
1683
else
 
1684
  $as_echo "$as_me: failed program was:" >&5
 
1685
sed 's/^/| /' conftest.$ac_ext >&5
 
1686
 
 
1687
        ac_retval=1
 
1688
fi
 
1689
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1690
  as_fn_set_status $ac_retval
 
1691
 
 
1692
} @%:@ ac_fn_cxx_try_compile
 
1693
 
 
1694
@%:@ ac_fn_c_try_compile LINENO
 
1695
@%:@ --------------------------
 
1696
@%:@ Try to compile conftest.@S|@ac_ext, and return whether this succeeded.
 
1697
ac_fn_c_try_compile ()
 
1698
{
 
1699
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1700
  rm -f conftest.$ac_objext
 
1701
  if { { ac_try="$ac_compile"
 
1702
case "(($ac_try" in
 
1703
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1704
  *) ac_try_echo=$ac_try;;
 
1705
esac
 
1706
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1707
$as_echo "$ac_try_echo"; } >&5
 
1708
  (eval "$ac_compile") 2>conftest.err
 
1709
  ac_status=$?
 
1710
  if test -s conftest.err; then
 
1711
    grep -v '^ *+' conftest.err >conftest.er1
 
1712
    cat conftest.er1 >&5
 
1713
    mv -f conftest.er1 conftest.err
 
1714
  fi
 
1715
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1716
  test $ac_status = 0; } && {
 
1717
         test -z "$ac_c_werror_flag" ||
 
1718
         test ! -s conftest.err
 
1719
       } && test -s conftest.$ac_objext; then :
 
1720
  ac_retval=0
 
1721
else
 
1722
  $as_echo "$as_me: failed program was:" >&5
 
1723
sed 's/^/| /' conftest.$ac_ext >&5
 
1724
 
 
1725
        ac_retval=1
 
1726
fi
 
1727
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1728
  as_fn_set_status $ac_retval
 
1729
 
 
1730
} @%:@ ac_fn_c_try_compile
 
1731
 
 
1732
@%:@ ac_fn_c_try_cpp LINENO
 
1733
@%:@ ----------------------
 
1734
@%:@ Try to preprocess conftest.@S|@ac_ext, and return whether this succeeded.
 
1735
ac_fn_c_try_cpp ()
 
1736
{
 
1737
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1738
  if { { ac_try="$ac_cpp conftest.$ac_ext"
 
1739
case "(($ac_try" in
 
1740
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1741
  *) ac_try_echo=$ac_try;;
 
1742
esac
 
1743
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1744
$as_echo "$ac_try_echo"; } >&5
 
1745
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
 
1746
  ac_status=$?
 
1747
  if test -s conftest.err; then
 
1748
    grep -v '^ *+' conftest.err >conftest.er1
 
1749
    cat conftest.er1 >&5
 
1750
    mv -f conftest.er1 conftest.err
 
1751
  fi
 
1752
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1753
  test $ac_status = 0; } >/dev/null && {
 
1754
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
1755
         test ! -s conftest.err
 
1756
       }; then :
 
1757
  ac_retval=0
 
1758
else
 
1759
  $as_echo "$as_me: failed program was:" >&5
 
1760
sed 's/^/| /' conftest.$ac_ext >&5
 
1761
 
 
1762
    ac_retval=1
 
1763
fi
 
1764
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1765
  as_fn_set_status $ac_retval
 
1766
 
 
1767
} @%:@ ac_fn_c_try_cpp
 
1768
 
 
1769
@%:@ ac_fn_c_try_link LINENO
 
1770
@%:@ -----------------------
 
1771
@%:@ Try to link conftest.@S|@ac_ext, and return whether this succeeded.
 
1772
ac_fn_c_try_link ()
 
1773
{
 
1774
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1775
  rm -f conftest.$ac_objext conftest$ac_exeext
 
1776
  if { { ac_try="$ac_link"
 
1777
case "(($ac_try" in
 
1778
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1779
  *) ac_try_echo=$ac_try;;
 
1780
esac
 
1781
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1782
$as_echo "$ac_try_echo"; } >&5
 
1783
  (eval "$ac_link") 2>conftest.err
 
1784
  ac_status=$?
 
1785
  if test -s conftest.err; then
 
1786
    grep -v '^ *+' conftest.err >conftest.er1
 
1787
    cat conftest.er1 >&5
 
1788
    mv -f conftest.er1 conftest.err
 
1789
  fi
 
1790
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1791
  test $ac_status = 0; } && {
 
1792
         test -z "$ac_c_werror_flag" ||
 
1793
         test ! -s conftest.err
 
1794
       } && test -s conftest$ac_exeext && {
 
1795
         test "$cross_compiling" = yes ||
 
1796
         $as_test_x conftest$ac_exeext
 
1797
       }; then :
 
1798
  ac_retval=0
 
1799
else
 
1800
  $as_echo "$as_me: failed program was:" >&5
 
1801
sed 's/^/| /' conftest.$ac_ext >&5
 
1802
 
 
1803
        ac_retval=1
 
1804
fi
 
1805
  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
 
1806
  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
 
1807
  # interfere with the next link command; also delete a directory that is
 
1808
  # left behind by Apple's compiler.  We do this before executing the actions.
 
1809
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
 
1810
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1811
  as_fn_set_status $ac_retval
 
1812
 
 
1813
} @%:@ ac_fn_c_try_link
 
1814
 
 
1815
@%:@ ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
 
1816
@%:@ -------------------------------------------------------
 
1817
@%:@ Tests whether HEADER exists and can be compiled using the include files in
 
1818
@%:@ INCLUDES, setting the cache variable VAR accordingly.
 
1819
ac_fn_c_check_header_compile ()
 
1820
{
 
1821
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1822
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 
1823
$as_echo_n "checking for $2... " >&6; }
 
1824
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 
1825
  $as_echo_n "(cached) " >&6
 
1826
else
 
1827
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
1828
/* end confdefs.h.  */
 
1829
$4
 
1830
@%:@include <$2>
 
1831
_ACEOF
 
1832
if ac_fn_c_try_compile "$LINENO"; then :
 
1833
  eval "$3=yes"
 
1834
else
 
1835
  eval "$3=no"
 
1836
fi
 
1837
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
1838
fi
 
1839
eval ac_res=\$$3
 
1840
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
1841
$as_echo "$ac_res" >&6; }
 
1842
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1843
 
 
1844
} @%:@ ac_fn_c_check_header_compile
 
1845
 
 
1846
@%:@ ac_fn_c_try_run LINENO
 
1847
@%:@ ----------------------
 
1848
@%:@ Try to link conftest.@S|@ac_ext, and return whether this succeeded. Assumes
 
1849
@%:@ that executables *can* be run.
 
1850
ac_fn_c_try_run ()
 
1851
{
 
1852
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1853
  if { { ac_try="$ac_link"
 
1854
case "(($ac_try" in
 
1855
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1856
  *) ac_try_echo=$ac_try;;
 
1857
esac
 
1858
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1859
$as_echo "$ac_try_echo"; } >&5
 
1860
  (eval "$ac_link") 2>&5
 
1861
  ac_status=$?
 
1862
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1863
  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
 
1864
  { { case "(($ac_try" in
 
1865
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1866
  *) ac_try_echo=$ac_try;;
 
1867
esac
 
1868
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1869
$as_echo "$ac_try_echo"; } >&5
 
1870
  (eval "$ac_try") 2>&5
 
1871
  ac_status=$?
 
1872
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1873
  test $ac_status = 0; }; }; then :
 
1874
  ac_retval=0
 
1875
else
 
1876
  $as_echo "$as_me: program exited with status $ac_status" >&5
 
1877
       $as_echo "$as_me: failed program was:" >&5
 
1878
sed 's/^/| /' conftest.$ac_ext >&5
 
1879
 
 
1880
       ac_retval=$ac_status
 
1881
fi
 
1882
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
 
1883
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1884
  as_fn_set_status $ac_retval
 
1885
 
 
1886
} @%:@ ac_fn_c_try_run
 
1887
 
 
1888
@%:@ ac_fn_c_check_func LINENO FUNC VAR
 
1889
@%:@ ----------------------------------
 
1890
@%:@ Tests whether FUNC exists, setting the cache variable VAR accordingly
 
1891
ac_fn_c_check_func ()
 
1892
{
 
1893
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1894
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 
1895
$as_echo_n "checking for $2... " >&6; }
 
1896
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 
1897
  $as_echo_n "(cached) " >&6
 
1898
else
 
1899
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
1900
/* end confdefs.h.  */
 
1901
/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
 
1902
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 
1903
#define $2 innocuous_$2
 
1904
 
 
1905
/* System header to define __stub macros and hopefully few prototypes,
 
1906
    which can conflict with char $2 (); below.
 
1907
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
1908
    <limits.h> exists even on freestanding compilers.  */
 
1909
 
 
1910
#ifdef __STDC__
 
1911
# include <limits.h>
 
1912
#else
 
1913
# include <assert.h>
 
1914
#endif
 
1915
 
 
1916
#undef $2
 
1917
 
 
1918
/* Override any GCC internal prototype to avoid an error.
 
1919
   Use char because int might match the return type of a GCC
 
1920
   builtin and then its argument prototype would still apply.  */
 
1921
#ifdef __cplusplus
 
1922
extern "C"
 
1923
#endif
 
1924
char $2 ();
 
1925
/* The GNU C library defines this for functions which it implements
 
1926
    to always fail with ENOSYS.  Some functions are actually named
 
1927
    something starting with __ and the normal name is an alias.  */
 
1928
#if defined __stub_$2 || defined __stub___$2
 
1929
choke me
 
1930
#endif
 
1931
 
 
1932
int
 
1933
main ()
 
1934
{
 
1935
return $2 ();
 
1936
  ;
 
1937
  return 0;
 
1938
}
 
1939
_ACEOF
 
1940
if ac_fn_c_try_link "$LINENO"; then :
 
1941
  eval "$3=yes"
 
1942
else
 
1943
  eval "$3=no"
 
1944
fi
 
1945
rm -f core conftest.err conftest.$ac_objext \
 
1946
    conftest$ac_exeext conftest.$ac_ext
 
1947
fi
 
1948
eval ac_res=\$$3
 
1949
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
1950
$as_echo "$ac_res" >&6; }
 
1951
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1952
 
 
1953
} @%:@ ac_fn_c_check_func
 
1954
 
 
1955
@%:@ ac_fn_cxx_try_cpp LINENO
 
1956
@%:@ ------------------------
 
1957
@%:@ Try to preprocess conftest.@S|@ac_ext, and return whether this succeeded.
 
1958
ac_fn_cxx_try_cpp ()
 
1959
{
 
1960
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1961
  if { { ac_try="$ac_cpp conftest.$ac_ext"
 
1962
case "(($ac_try" in
 
1963
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1964
  *) ac_try_echo=$ac_try;;
 
1965
esac
 
1966
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1967
$as_echo "$ac_try_echo"; } >&5
 
1968
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
 
1969
  ac_status=$?
 
1970
  if test -s conftest.err; then
 
1971
    grep -v '^ *+' conftest.err >conftest.er1
 
1972
    cat conftest.er1 >&5
 
1973
    mv -f conftest.er1 conftest.err
 
1974
  fi
 
1975
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1976
  test $ac_status = 0; } >/dev/null && {
 
1977
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
 
1978
         test ! -s conftest.err
 
1979
       }; then :
 
1980
  ac_retval=0
 
1981
else
 
1982
  $as_echo "$as_me: failed program was:" >&5
 
1983
sed 's/^/| /' conftest.$ac_ext >&5
 
1984
 
 
1985
    ac_retval=1
 
1986
fi
 
1987
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1988
  as_fn_set_status $ac_retval
 
1989
 
 
1990
} @%:@ ac_fn_cxx_try_cpp
 
1991
 
 
1992
@%:@ ac_fn_cxx_try_link LINENO
 
1993
@%:@ -------------------------
 
1994
@%:@ Try to link conftest.@S|@ac_ext, and return whether this succeeded.
 
1995
ac_fn_cxx_try_link ()
 
1996
{
 
1997
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1998
  rm -f conftest.$ac_objext conftest$ac_exeext
 
1999
  if { { ac_try="$ac_link"
 
2000
case "(($ac_try" in
 
2001
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2002
  *) ac_try_echo=$ac_try;;
 
2003
esac
 
2004
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
2005
$as_echo "$ac_try_echo"; } >&5
 
2006
  (eval "$ac_link") 2>conftest.err
 
2007
  ac_status=$?
 
2008
  if test -s conftest.err; then
 
2009
    grep -v '^ *+' conftest.err >conftest.er1
 
2010
    cat conftest.er1 >&5
 
2011
    mv -f conftest.er1 conftest.err
 
2012
  fi
 
2013
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
2014
  test $ac_status = 0; } && {
 
2015
         test -z "$ac_cxx_werror_flag" ||
 
2016
         test ! -s conftest.err
 
2017
       } && test -s conftest$ac_exeext && {
 
2018
         test "$cross_compiling" = yes ||
 
2019
         $as_test_x conftest$ac_exeext
 
2020
       }; then :
 
2021
  ac_retval=0
 
2022
else
 
2023
  $as_echo "$as_me: failed program was:" >&5
 
2024
sed 's/^/| /' conftest.$ac_ext >&5
 
2025
 
 
2026
        ac_retval=1
 
2027
fi
 
2028
  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
 
2029
  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
 
2030
  # interfere with the next link command; also delete a directory that is
 
2031
  # left behind by Apple's compiler.  We do this before executing the actions.
 
2032
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
 
2033
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
2034
  as_fn_set_status $ac_retval
 
2035
 
 
2036
} @%:@ ac_fn_cxx_try_link
 
2037
 
 
2038
@%:@ ac_fn_cxx_try_run LINENO
 
2039
@%:@ ------------------------
 
2040
@%:@ Try to link conftest.@S|@ac_ext, and return whether this succeeded. Assumes
 
2041
@%:@ that executables *can* be run.
 
2042
ac_fn_cxx_try_run ()
 
2043
{
 
2044
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
2045
  if { { ac_try="$ac_link"
 
2046
case "(($ac_try" in
 
2047
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2048
  *) ac_try_echo=$ac_try;;
 
2049
esac
 
2050
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
2051
$as_echo "$ac_try_echo"; } >&5
 
2052
  (eval "$ac_link") 2>&5
 
2053
  ac_status=$?
 
2054
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
2055
  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
 
2056
  { { case "(($ac_try" in
 
2057
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2058
  *) ac_try_echo=$ac_try;;
 
2059
esac
 
2060
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
2061
$as_echo "$ac_try_echo"; } >&5
 
2062
  (eval "$ac_try") 2>&5
 
2063
  ac_status=$?
 
2064
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
2065
  test $ac_status = 0; }; }; then :
 
2066
  ac_retval=0
 
2067
else
 
2068
  $as_echo "$as_me: program exited with status $ac_status" >&5
 
2069
       $as_echo "$as_me: failed program was:" >&5
 
2070
sed 's/^/| /' conftest.$ac_ext >&5
 
2071
 
 
2072
       ac_retval=$ac_status
 
2073
fi
 
2074
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
 
2075
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
2076
  as_fn_set_status $ac_retval
 
2077
 
 
2078
} @%:@ ac_fn_cxx_try_run
 
2079
 
 
2080
@%:@ ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
 
2081
@%:@ ---------------------------------------------------------
 
2082
@%:@ Tests whether HEADER exists, giving a warning if it cannot be compiled using
 
2083
@%:@ the include files in INCLUDES and setting the cache variable VAR
 
2084
@%:@ accordingly.
 
2085
ac_fn_cxx_check_header_mongrel ()
 
2086
{
 
2087
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
2088
  if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 
2089
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 
2090
$as_echo_n "checking for $2... " >&6; }
 
2091
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 
2092
  $as_echo_n "(cached) " >&6
 
2093
fi
 
2094
eval ac_res=\$$3
 
2095
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
2096
$as_echo "$ac_res" >&6; }
 
2097
else
 
2098
  # Is the header compilable?
 
2099
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
 
2100
$as_echo_n "checking $2 usability... " >&6; }
 
2101
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
2102
/* end confdefs.h.  */
 
2103
$4
 
2104
@%:@include <$2>
 
2105
_ACEOF
 
2106
if ac_fn_cxx_try_compile "$LINENO"; then :
 
2107
  ac_header_compiler=yes
 
2108
else
 
2109
  ac_header_compiler=no
 
2110
fi
 
2111
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
2112
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
 
2113
$as_echo "$ac_header_compiler" >&6; }
 
2114
 
 
2115
# Is the header present?
 
2116
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
 
2117
$as_echo_n "checking $2 presence... " >&6; }
 
2118
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
2119
/* end confdefs.h.  */
 
2120
@%:@include <$2>
 
2121
_ACEOF
 
2122
if ac_fn_cxx_try_cpp "$LINENO"; then :
 
2123
  ac_header_preproc=yes
 
2124
else
 
2125
  ac_header_preproc=no
 
2126
fi
 
2127
rm -f conftest.err conftest.$ac_ext
 
2128
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
 
2129
$as_echo "$ac_header_preproc" >&6; }
 
2130
 
 
2131
# So?  What about this header?
 
2132
case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
 
2133
  yes:no: )
 
2134
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
 
2135
$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
 
2136
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
 
2137
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
 
2138
    ;;
 
2139
  no:yes:* )
 
2140
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
 
2141
$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
 
2142
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
 
2143
$as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
 
2144
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
 
2145
$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
 
2146
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
 
2147
$as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
 
2148
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
 
2149
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
 
2150
    ;;
 
2151
esac
 
2152
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 
2153
$as_echo_n "checking for $2... " >&6; }
 
2154
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 
2155
  $as_echo_n "(cached) " >&6
 
2156
else
 
2157
  eval "$3=\$ac_header_compiler"
 
2158
fi
 
2159
eval ac_res=\$$3
 
2160
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
2161
$as_echo "$ac_res" >&6; }
 
2162
fi
 
2163
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
2164
 
 
2165
} @%:@ ac_fn_cxx_check_header_mongrel
 
2166
 
 
2167
@%:@ ac_fn_cxx_check_type LINENO TYPE VAR INCLUDES
 
2168
@%:@ ---------------------------------------------
 
2169
@%:@ Tests whether TYPE exists after having included INCLUDES, setting cache
 
2170
@%:@ variable VAR accordingly.
 
2171
ac_fn_cxx_check_type ()
 
2172
{
 
2173
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
2174
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 
2175
$as_echo_n "checking for $2... " >&6; }
 
2176
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 
2177
  $as_echo_n "(cached) " >&6
 
2178
else
 
2179
  eval "$3=no"
 
2180
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
2181
/* end confdefs.h.  */
 
2182
$4
 
2183
int
 
2184
main ()
 
2185
{
 
2186
if (sizeof ($2))
 
2187
         return 0;
 
2188
  ;
 
2189
  return 0;
 
2190
}
 
2191
_ACEOF
 
2192
if ac_fn_cxx_try_compile "$LINENO"; then :
 
2193
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
2194
/* end confdefs.h.  */
 
2195
$4
 
2196
int
 
2197
main ()
 
2198
{
 
2199
if (sizeof (($2)))
 
2200
            return 0;
 
2201
  ;
 
2202
  return 0;
 
2203
}
 
2204
_ACEOF
 
2205
if ac_fn_cxx_try_compile "$LINENO"; then :
 
2206
  
 
2207
else
 
2208
  eval "$3=yes"
 
2209
fi
 
2210
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
2211
fi
 
2212
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
2213
fi
 
2214
eval ac_res=\$$3
 
2215
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
2216
$as_echo "$ac_res" >&6; }
 
2217
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
2218
 
 
2219
} @%:@ ac_fn_cxx_check_type
 
2220
 
 
2221
@%:@ ac_fn_cxx_check_func LINENO FUNC VAR
 
2222
@%:@ ------------------------------------
 
2223
@%:@ Tests whether FUNC exists, setting the cache variable VAR accordingly
 
2224
ac_fn_cxx_check_func ()
 
2225
{
 
2226
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
2227
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 
2228
$as_echo_n "checking for $2... " >&6; }
 
2229
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 
2230
  $as_echo_n "(cached) " >&6
 
2231
else
 
2232
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
2233
/* end confdefs.h.  */
 
2234
/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
 
2235
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 
2236
#define $2 innocuous_$2
 
2237
 
 
2238
/* System header to define __stub macros and hopefully few prototypes,
 
2239
    which can conflict with char $2 (); below.
 
2240
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
2241
    <limits.h> exists even on freestanding compilers.  */
 
2242
 
 
2243
#ifdef __STDC__
 
2244
# include <limits.h>
 
2245
#else
 
2246
# include <assert.h>
 
2247
#endif
 
2248
 
 
2249
#undef $2
 
2250
 
 
2251
/* Override any GCC internal prototype to avoid an error.
 
2252
   Use char because int might match the return type of a GCC
 
2253
   builtin and then its argument prototype would still apply.  */
 
2254
#ifdef __cplusplus
 
2255
extern "C"
 
2256
#endif
 
2257
char $2 ();
 
2258
/* The GNU C library defines this for functions which it implements
 
2259
    to always fail with ENOSYS.  Some functions are actually named
 
2260
    something starting with __ and the normal name is an alias.  */
 
2261
#if defined __stub_$2 || defined __stub___$2
 
2262
choke me
 
2263
#endif
 
2264
 
 
2265
int
 
2266
main ()
 
2267
{
 
2268
return $2 ();
 
2269
  ;
 
2270
  return 0;
 
2271
}
 
2272
_ACEOF
 
2273
if ac_fn_cxx_try_link "$LINENO"; then :
 
2274
  eval "$3=yes"
 
2275
else
 
2276
  eval "$3=no"
 
2277
fi
 
2278
rm -f core conftest.err conftest.$ac_objext \
 
2279
    conftest$ac_exeext conftest.$ac_ext
 
2280
fi
 
2281
eval ac_res=\$$3
 
2282
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
2283
$as_echo "$ac_res" >&6; }
 
2284
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
2285
 
 
2286
} @%:@ ac_fn_cxx_check_func
 
2287
cat >config.log <<_ACEOF
 
2288
This file contains any messages produced by compilers while
 
2289
running configure, to aid debugging if configure makes a mistake.
 
2290
 
 
2291
It was created by ibis $as_me 1.5.7, which was
 
2292
generated by GNU Autoconf 2.65.  Invocation command line was
 
2293
 
 
2294
  $ $0 $@
 
2295
 
 
2296
_ACEOF
 
2297
exec 5>>config.log
 
2298
{
 
2299
cat <<_ASUNAME
 
2300
## --------- ##
 
2301
## Platform. ##
 
2302
## --------- ##
 
2303
 
 
2304
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
 
2305
uname -m = `(uname -m) 2>/dev/null || echo unknown`
 
2306
uname -r = `(uname -r) 2>/dev/null || echo unknown`
 
2307
uname -s = `(uname -s) 2>/dev/null || echo unknown`
 
2308
uname -v = `(uname -v) 2>/dev/null || echo unknown`
 
2309
 
 
2310
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
 
2311
/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
 
2312
 
 
2313
/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
 
2314
/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
 
2315
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
 
2316
/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
 
2317
/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
 
2318
/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
 
2319
/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
 
2320
 
 
2321
_ASUNAME
 
2322
 
 
2323
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2324
for as_dir in $PATH
 
2325
do
 
2326
  IFS=$as_save_IFS
 
2327
  test -z "$as_dir" && as_dir=.
 
2328
    $as_echo "PATH: $as_dir"
 
2329
  done
 
2330
IFS=$as_save_IFS
 
2331
 
 
2332
} >&5
 
2333
 
 
2334
cat >&5 <<_ACEOF
 
2335
 
 
2336
 
 
2337
## ----------- ##
 
2338
## Core tests. ##
 
2339
## ----------- ##
 
2340
 
 
2341
_ACEOF
 
2342
 
 
2343
 
 
2344
# Keep a trace of the command line.
 
2345
# Strip out --no-create and --no-recursion so they do not pile up.
 
2346
# Strip out --silent because we don't want to record it for future runs.
 
2347
# Also quote any args containing shell meta-characters.
 
2348
# Make two passes to allow for proper duplicate-argument suppression.
 
2349
ac_configure_args=
 
2350
ac_configure_args0=
 
2351
ac_configure_args1=
 
2352
ac_must_keep_next=false
 
2353
for ac_pass in 1 2
 
2354
do
 
2355
  for ac_arg
 
2356
  do
 
2357
    case $ac_arg in
 
2358
    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
 
2359
    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
 
2360
    | -silent | --silent | --silen | --sile | --sil)
 
2361
      continue ;;
 
2362
    *\'*)
 
2363
      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
 
2364
    esac
 
2365
    case $ac_pass in
 
2366
    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
 
2367
    2)
 
2368
      as_fn_append ac_configure_args1 " '$ac_arg'"
 
2369
      if test $ac_must_keep_next = true; then
 
2370
        ac_must_keep_next=false # Got value, back to normal.
 
2371
      else
 
2372
        case $ac_arg in
 
2373
          *=* | --config-cache | -C | -disable-* | --disable-* \
 
2374
          | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
 
2375
          | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
 
2376
          | -with-* | --with-* | -without-* | --without-* | --x)
 
2377
            case "$ac_configure_args0 " in
 
2378
              "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
 
2379
            esac
 
2380
            ;;
 
2381
          -* ) ac_must_keep_next=true ;;
 
2382
        esac
 
2383
      fi
 
2384
      as_fn_append ac_configure_args " '$ac_arg'"
 
2385
      ;;
 
2386
    esac
 
2387
  done
 
2388
done
 
2389
{ ac_configure_args0=; unset ac_configure_args0;}
 
2390
{ ac_configure_args1=; unset ac_configure_args1;}
 
2391
 
 
2392
# When interrupted or exit'd, cleanup temporary files, and complete
 
2393
# config.log.  We remove comments because anyway the quotes in there
 
2394
# would cause problems or look ugly.
 
2395
# WARNING: Use '\'' to represent an apostrophe within the trap.
 
2396
# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
 
2397
trap 'exit_status=$?
 
2398
  # Save into config.log some information that might help in debugging.
 
2399
  {
 
2400
    echo
 
2401
 
 
2402
    cat <<\_ASBOX
 
2403
## ---------------- ##
 
2404
## Cache variables. ##
 
2405
## ---------------- ##
 
2406
_ASBOX
 
2407
    echo
 
2408
    # The following way of writing the cache mishandles newlines in values,
 
2409
(
 
2410
  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
 
2411
    eval ac_val=\$$ac_var
 
2412
    case $ac_val in #(
 
2413
    *${as_nl}*)
 
2414
      case $ac_var in #(
 
2415
      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
 
2416
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
 
2417
      esac
 
2418
      case $ac_var in #(
 
2419
      _ | IFS | as_nl) ;; #(
 
2420
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
 
2421
      *) { eval $ac_var=; unset $ac_var;} ;;
 
2422
      esac ;;
 
2423
    esac
 
2424
  done
 
2425
  (set) 2>&1 |
 
2426
    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
 
2427
    *${as_nl}ac_space=\ *)
 
2428
      sed -n \
 
2429
        "s/'\''/'\''\\\\'\'''\''/g;
 
2430
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
 
2431
      ;; #(
 
2432
    *)
 
2433
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
 
2434
      ;;
 
2435
    esac |
 
2436
    sort
 
2437
)
 
2438
    echo
 
2439
 
 
2440
    cat <<\_ASBOX
 
2441
## ----------------- ##
 
2442
## Output variables. ##
 
2443
## ----------------- ##
 
2444
_ASBOX
 
2445
    echo
 
2446
    for ac_var in $ac_subst_vars
 
2447
    do
 
2448
      eval ac_val=\$$ac_var
 
2449
      case $ac_val in
 
2450
      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
 
2451
      esac
 
2452
      $as_echo "$ac_var='\''$ac_val'\''"
 
2453
    done | sort
 
2454
    echo
 
2455
 
 
2456
    if test -n "$ac_subst_files"; then
 
2457
      cat <<\_ASBOX
 
2458
## ------------------- ##
 
2459
## File substitutions. ##
 
2460
## ------------------- ##
 
2461
_ASBOX
 
2462
      echo
 
2463
      for ac_var in $ac_subst_files
 
2464
      do
 
2465
        eval ac_val=\$$ac_var
 
2466
        case $ac_val in
 
2467
        *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
 
2468
        esac
 
2469
        $as_echo "$ac_var='\''$ac_val'\''"
 
2470
      done | sort
 
2471
      echo
 
2472
    fi
 
2473
 
 
2474
    if test -s confdefs.h; then
 
2475
      cat <<\_ASBOX
 
2476
## ----------- ##
 
2477
## confdefs.h. ##
 
2478
## ----------- ##
 
2479
_ASBOX
 
2480
      echo
 
2481
      cat confdefs.h
 
2482
      echo
 
2483
    fi
 
2484
    test "$ac_signal" != 0 &&
 
2485
      $as_echo "$as_me: caught signal $ac_signal"
 
2486
    $as_echo "$as_me: exit $exit_status"
 
2487
  } >&5
 
2488
  rm -f core *.core core.conftest.* &&
 
2489
    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
 
2490
    exit $exit_status
 
2491
' 0
 
2492
for ac_signal in 1 2 13 15; do
 
2493
  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
 
2494
done
 
2495
ac_signal=0
 
2496
 
 
2497
# confdefs.h avoids OS command line length limits that DEFS can exceed.
 
2498
rm -f -r conftest* confdefs.h
 
2499
 
 
2500
$as_echo "/* confdefs.h */" > confdefs.h
 
2501
 
 
2502
# Predefined preprocessor variables.
 
2503
 
 
2504
cat >>confdefs.h <<_ACEOF
 
2505
@%:@define PACKAGE_NAME "$PACKAGE_NAME"
 
2506
_ACEOF
 
2507
 
 
2508
cat >>confdefs.h <<_ACEOF
 
2509
@%:@define PACKAGE_TARNAME "$PACKAGE_TARNAME"
 
2510
_ACEOF
 
2511
 
 
2512
cat >>confdefs.h <<_ACEOF
 
2513
@%:@define PACKAGE_VERSION "$PACKAGE_VERSION"
 
2514
_ACEOF
 
2515
 
 
2516
cat >>confdefs.h <<_ACEOF
 
2517
@%:@define PACKAGE_STRING "$PACKAGE_STRING"
 
2518
_ACEOF
 
2519
 
 
2520
cat >>confdefs.h <<_ACEOF
 
2521
@%:@define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
 
2522
_ACEOF
 
2523
 
 
2524
cat >>confdefs.h <<_ACEOF
 
2525
@%:@define PACKAGE_URL "$PACKAGE_URL"
 
2526
_ACEOF
 
2527
 
 
2528
 
 
2529
# Let the site file select an alternate cache file if it wants to.
 
2530
# Prefer an explicitly selected file to automatically selected ones.
 
2531
ac_site_file1=NONE
 
2532
ac_site_file2=NONE
 
2533
if test -n "$CONFIG_SITE"; then
 
2534
  ac_site_file1=$CONFIG_SITE
 
2535
elif test "x$prefix" != xNONE; then
 
2536
  ac_site_file1=$prefix/share/config.site
 
2537
  ac_site_file2=$prefix/etc/config.site
 
2538
else
 
2539
  ac_site_file1=$ac_default_prefix/share/config.site
 
2540
  ac_site_file2=$ac_default_prefix/etc/config.site
 
2541
fi
 
2542
for ac_site_file in "$ac_site_file1" "$ac_site_file2"
 
2543
do
 
2544
  test "x$ac_site_file" = xNONE && continue
 
2545
  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
 
2546
    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
 
2547
$as_echo "$as_me: loading site script $ac_site_file" >&6;}
 
2548
    sed 's/^/| /' "$ac_site_file" >&5
 
2549
    . "$ac_site_file"
 
2550
  fi
 
2551
done
 
2552
 
 
2553
if test -r "$cache_file"; then
 
2554
  # Some versions of bash will fail to source /dev/null (special files
 
2555
  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
 
2556
  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
 
2557
    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
 
2558
$as_echo "$as_me: loading cache $cache_file" >&6;}
 
2559
    case $cache_file in
 
2560
      [\\/]* | ?:[\\/]* ) . "$cache_file";;
 
2561
      *)                      . "./$cache_file";;
 
2562
    esac
 
2563
  fi
 
2564
else
 
2565
  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
 
2566
$as_echo "$as_me: creating cache $cache_file" >&6;}
 
2567
  >$cache_file
 
2568
fi
 
2569
 
 
2570
# Check that the precious variables saved in the cache have kept the same
 
2571
# value.
 
2572
ac_cache_corrupted=false
 
2573
for ac_var in $ac_precious_vars; do
 
2574
  eval ac_old_set=\$ac_cv_env_${ac_var}_set
 
2575
  eval ac_new_set=\$ac_env_${ac_var}_set
 
2576
  eval ac_old_val=\$ac_cv_env_${ac_var}_value
 
2577
  eval ac_new_val=\$ac_env_${ac_var}_value
 
2578
  case $ac_old_set,$ac_new_set in
 
2579
    set,)
 
2580
      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
 
2581
$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
 
2582
      ac_cache_corrupted=: ;;
 
2583
    ,set)
 
2584
      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
 
2585
$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
 
2586
      ac_cache_corrupted=: ;;
 
2587
    ,);;
 
2588
    *)
 
2589
      if test "x$ac_old_val" != "x$ac_new_val"; then
 
2590
        # differences in whitespace do not lead to failure.
 
2591
        ac_old_val_w=`echo x $ac_old_val`
 
2592
        ac_new_val_w=`echo x $ac_new_val`
 
2593
        if test "$ac_old_val_w" != "$ac_new_val_w"; then
 
2594
          { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
 
2595
$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
 
2596
          ac_cache_corrupted=:
 
2597
        else
 
2598
          { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
 
2599
$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
 
2600
          eval $ac_var=\$ac_old_val
 
2601
        fi
 
2602
        { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
 
2603
$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
 
2604
        { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
 
2605
$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
 
2606
      fi;;
 
2607
  esac
 
2608
  # Pass precious variables to config.status.
 
2609
  if test "$ac_new_set" = set; then
 
2610
    case $ac_new_val in
 
2611
    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
 
2612
    *) ac_arg=$ac_var=$ac_new_val ;;
 
2613
    esac
 
2614
    case " $ac_configure_args " in
 
2615
      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
 
2616
      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
 
2617
    esac
 
2618
  fi
 
2619
done
 
2620
if $ac_cache_corrupted; then
 
2621
  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
2622
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
2623
  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
 
2624
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
 
2625
  as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
 
2626
fi
 
2627
## -------------------- ##
 
2628
## Main body of script. ##
 
2629
## -------------------- ##
 
2630
 
 
2631
ac_ext=c
 
2632
ac_cpp='$CPP $CPPFLAGS'
 
2633
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
2634
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
2635
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
2636
 
 
2637
 
 
2638
 
 
2639
 
 
2640
ac_aux_dir=
 
2641
for ac_dir in config "$srcdir"/config; do
 
2642
  for ac_t in install-sh install.sh shtool; do
 
2643
    if test -f "$ac_dir/$ac_t"; then
 
2644
      ac_aux_dir=$ac_dir
 
2645
      ac_install_sh="$ac_aux_dir/$ac_t -c"
 
2646
      break 2
 
2647
    fi
 
2648
  done
 
2649
done
 
2650
if test -z "$ac_aux_dir"; then
 
2651
  as_fn_error "cannot find install-sh, install.sh, or shtool in config \"$srcdir\"/config" "$LINENO" 5
 
2652
fi
 
2653
 
 
2654
# These three variables are undocumented and unsupported,
 
2655
# and are intended to be withdrawn in a future Autoconf release.
 
2656
# They can cause serious problems if a builder's source tree is in a directory
 
2657
# whose full name contains unusual characters.
 
2658
ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
 
2659
ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
 
2660
ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
 
2661
 
 
2662
 
 
2663
 
 
2664
ac_ext=cpp
 
2665
ac_cpp='$CXXCPP $CPPFLAGS'
 
2666
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
2667
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
2668
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 
2669
 
 
2670
 
 
2671
ac_config_headers="$ac_config_headers config.h"
 
2672
 
 
2673
 
 
2674
am__api_version='1.11'
 
2675
 
 
2676
# Find a good install program.  We prefer a C program (faster),
 
2677
# so one script is as good as another.  But avoid the broken or
 
2678
# incompatible versions:
 
2679
# SysV /etc/install, /usr/sbin/install
 
2680
# SunOS /usr/etc/install
 
2681
# IRIX /sbin/install
 
2682
# AIX /bin/install
 
2683
# AmigaOS /C/install, which installs bootblocks on floppy discs
 
2684
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
 
2685
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
 
2686
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
 
2687
# OS/2's system install, which has a completely different semantic
 
2688
# ./install, which can be erroneously created by make from ./install.sh.
 
2689
# Reject install programs that cannot install multiple files.
 
2690
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
 
2691
$as_echo_n "checking for a BSD-compatible install... " >&6; }
 
2692
if test -z "$INSTALL"; then
 
2693
if test "${ac_cv_path_install+set}" = set; then :
 
2694
  $as_echo_n "(cached) " >&6
 
2695
else
 
2696
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2697
for as_dir in $PATH
 
2698
do
 
2699
  IFS=$as_save_IFS
 
2700
  test -z "$as_dir" && as_dir=.
 
2701
    # Account for people who put trailing slashes in PATH elements.
 
2702
case $as_dir/ in @%:@((
 
2703
  ./ | .// | /[cC]/* | \
 
2704
  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
 
2705
  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
 
2706
  /usr/ucb/* ) ;;
 
2707
  *)
 
2708
    # OSF1 and SCO ODT 3.0 have their own names for install.
 
2709
    # Don't use installbsd from OSF since it installs stuff as root
 
2710
    # by default.
 
2711
    for ac_prog in ginstall scoinst install; do
 
2712
      for ac_exec_ext in '' $ac_executable_extensions; do
 
2713
        if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
 
2714
          if test $ac_prog = install &&
 
2715
            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
 
2716
            # AIX install.  It has an incompatible calling convention.
 
2717
            :
 
2718
          elif test $ac_prog = install &&
 
2719
            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
 
2720
            # program-specific install script used by HP pwplus--don't use.
 
2721
            :
 
2722
          else
 
2723
            rm -rf conftest.one conftest.two conftest.dir
 
2724
            echo one > conftest.one
 
2725
            echo two > conftest.two
 
2726
            mkdir conftest.dir
 
2727
            if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
 
2728
              test -s conftest.one && test -s conftest.two &&
 
2729
              test -s conftest.dir/conftest.one &&
 
2730
              test -s conftest.dir/conftest.two
 
2731
            then
 
2732
              ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
 
2733
              break 3
 
2734
            fi
 
2735
          fi
 
2736
        fi
 
2737
      done
 
2738
    done
 
2739
    ;;
 
2740
esac
 
2741
 
 
2742
  done
 
2743
IFS=$as_save_IFS
 
2744
 
 
2745
rm -rf conftest.one conftest.two conftest.dir
 
2746
 
 
2747
fi
 
2748
  if test "${ac_cv_path_install+set}" = set; then
 
2749
    INSTALL=$ac_cv_path_install
 
2750
  else
 
2751
    # As a last resort, use the slow shell script.  Don't cache a
 
2752
    # value for INSTALL within a source directory, because that will
 
2753
    # break other packages using the cache if that directory is
 
2754
    # removed, or if the value is a relative name.
 
2755
    INSTALL=$ac_install_sh
 
2756
  fi
 
2757
fi
 
2758
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
 
2759
$as_echo "$INSTALL" >&6; }
 
2760
 
 
2761
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
 
2762
# It thinks the first close brace ends the variable substitution.
 
2763
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
 
2764
 
 
2765
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
 
2766
 
 
2767
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
 
2768
 
 
2769
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
 
2770
$as_echo_n "checking whether build environment is sane... " >&6; }
 
2771
# Just in case
 
2772
sleep 1
 
2773
echo timestamp > conftest.file
 
2774
# Reject unsafe characters in $srcdir or the absolute working directory
 
2775
# name.  Accept space and tab only in the latter.
 
2776
am_lf='
 
2777
'
 
2778
case `pwd` in
 
2779
  *[\\\"\#\$\&\'\`$am_lf]*)
 
2780
    as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
 
2781
esac
 
2782
case $srcdir in
 
2783
  *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
 
2784
    as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
 
2785
esac
 
2786
 
 
2787
# Do `set' in a subshell so we don't clobber the current shell's
 
2788
# arguments.  Must try -L first in case configure is actually a
 
2789
# symlink; some systems play weird games with the mod time of symlinks
 
2790
# (eg FreeBSD returns the mod time of the symlink's containing
 
2791
# directory).
 
2792
if (
 
2793
   set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
 
2794
   if test "$*" = "X"; then
 
2795
      # -L didn't work.
 
2796
      set X `ls -t "$srcdir/configure" conftest.file`
 
2797
   fi
 
2798
   rm -f conftest.file
 
2799
   if test "$*" != "X $srcdir/configure conftest.file" \
 
2800
      && test "$*" != "X conftest.file $srcdir/configure"; then
 
2801
 
 
2802
      # If neither matched, then we have a broken ls.  This can happen
 
2803
      # if, for instance, CONFIG_SHELL is bash and it inherits a
 
2804
      # broken ls alias from the environment.  This has actually
 
2805
      # happened.  Such a system could not be considered "sane".
 
2806
      as_fn_error "ls -t appears to fail.  Make sure there is not a broken
 
2807
alias in your environment" "$LINENO" 5
 
2808
   fi
 
2809
 
 
2810
   test "$2" = conftest.file
 
2811
   )
 
2812
then
 
2813
   # Ok.
 
2814
   :
 
2815
else
 
2816
   as_fn_error "newly created file is older than distributed files!
 
2817
Check your system clock" "$LINENO" 5
 
2818
fi
 
2819
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
2820
$as_echo "yes" >&6; }
 
2821
test "$program_prefix" != NONE &&
 
2822
  program_transform_name="s&^&$program_prefix&;$program_transform_name"
 
2823
# Use a double $ so make ignores it.
 
2824
test "$program_suffix" != NONE &&
 
2825
  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
 
2826
# Double any \ or $.
 
2827
# By default was `s,x,x', remove it if useless.
 
2828
ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
 
2829
program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
 
2830
 
 
2831
# expand $ac_aux_dir to an absolute path
 
2832
am_aux_dir=`cd $ac_aux_dir && pwd`
 
2833
 
 
2834
if test x"${MISSING+set}" != xset; then
 
2835
  case $am_aux_dir in
 
2836
  *\ * | *\     *)
 
2837
    MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
 
2838
  *)
 
2839
    MISSING="\${SHELL} $am_aux_dir/missing" ;;
 
2840
  esac
 
2841
fi
 
2842
# Use eval to expand $SHELL
 
2843
if eval "$MISSING --run true"; then
 
2844
  am_missing_run="$MISSING --run "
 
2845
else
 
2846
  am_missing_run=
 
2847
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
 
2848
$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
 
2849
fi
 
2850
 
 
2851
if test x"${install_sh}" != xset; then
 
2852
  case $am_aux_dir in
 
2853
  *\ * | *\     *)
 
2854
    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
 
2855
  *)
 
2856
    install_sh="\${SHELL} $am_aux_dir/install-sh"
 
2857
  esac
 
2858
fi
 
2859
 
 
2860
# Installed binaries are usually stripped using `strip' when the user
 
2861
# run `make install-strip'.  However `strip' might not be the right
 
2862
# tool to use in cross-compilation environments, therefore Automake
 
2863
# will honor the `STRIP' environment variable to overrule this program.
 
2864
if test "$cross_compiling" != no; then
 
2865
  if test -n "$ac_tool_prefix"; then
 
2866
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
 
2867
set dummy ${ac_tool_prefix}strip; ac_word=$2
 
2868
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
2869
$as_echo_n "checking for $ac_word... " >&6; }
 
2870
if test "${ac_cv_prog_STRIP+set}" = set; then :
 
2871
  $as_echo_n "(cached) " >&6
 
2872
else
 
2873
  if test -n "$STRIP"; then
 
2874
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
 
2875
else
 
2876
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2877
for as_dir in $PATH
 
2878
do
 
2879
  IFS=$as_save_IFS
 
2880
  test -z "$as_dir" && as_dir=.
 
2881
    for ac_exec_ext in '' $ac_executable_extensions; do
 
2882
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
2883
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
 
2884
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2885
    break 2
 
2886
  fi
 
2887
done
 
2888
  done
 
2889
IFS=$as_save_IFS
 
2890
 
 
2891
fi
 
2892
fi
 
2893
STRIP=$ac_cv_prog_STRIP
 
2894
if test -n "$STRIP"; then
 
2895
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
 
2896
$as_echo "$STRIP" >&6; }
 
2897
else
 
2898
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
2899
$as_echo "no" >&6; }
 
2900
fi
 
2901
 
 
2902
 
 
2903
fi
 
2904
if test -z "$ac_cv_prog_STRIP"; then
 
2905
  ac_ct_STRIP=$STRIP
 
2906
  # Extract the first word of "strip", so it can be a program name with args.
 
2907
set dummy strip; ac_word=$2
 
2908
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
2909
$as_echo_n "checking for $ac_word... " >&6; }
 
2910
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
 
2911
  $as_echo_n "(cached) " >&6
 
2912
else
 
2913
  if test -n "$ac_ct_STRIP"; then
 
2914
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
 
2915
else
 
2916
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2917
for as_dir in $PATH
 
2918
do
 
2919
  IFS=$as_save_IFS
 
2920
  test -z "$as_dir" && as_dir=.
 
2921
    for ac_exec_ext in '' $ac_executable_extensions; do
 
2922
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
2923
    ac_cv_prog_ac_ct_STRIP="strip"
 
2924
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2925
    break 2
 
2926
  fi
 
2927
done
 
2928
  done
 
2929
IFS=$as_save_IFS
 
2930
 
 
2931
fi
 
2932
fi
 
2933
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
 
2934
if test -n "$ac_ct_STRIP"; then
 
2935
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
 
2936
$as_echo "$ac_ct_STRIP" >&6; }
 
2937
else
 
2938
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
2939
$as_echo "no" >&6; }
 
2940
fi
 
2941
 
 
2942
  if test "x$ac_ct_STRIP" = x; then
 
2943
    STRIP=":"
 
2944
  else
 
2945
    case $cross_compiling:$ac_tool_warned in
 
2946
yes:)
 
2947
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
2948
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
2949
ac_tool_warned=yes ;;
 
2950
esac
 
2951
    STRIP=$ac_ct_STRIP
 
2952
  fi
 
2953
else
 
2954
  STRIP="$ac_cv_prog_STRIP"
 
2955
fi
 
2956
 
 
2957
fi
 
2958
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
 
2959
 
 
2960
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
 
2961
$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
 
2962
if test -z "$MKDIR_P"; then
 
2963
  if test "${ac_cv_path_mkdir+set}" = set; then :
 
2964
  $as_echo_n "(cached) " >&6
 
2965
else
 
2966
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2967
for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
 
2968
do
 
2969
  IFS=$as_save_IFS
 
2970
  test -z "$as_dir" && as_dir=.
 
2971
    for ac_prog in mkdir gmkdir; do
 
2972
         for ac_exec_ext in '' $ac_executable_extensions; do
 
2973
           { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
 
2974
           case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
 
2975
             'mkdir (GNU coreutils) '* | \
 
2976
             'mkdir (coreutils) '* | \
 
2977
             'mkdir (fileutils) '4.1*)
 
2978
               ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
 
2979
               break 3;;
 
2980
           esac
 
2981
         done
 
2982
       done
 
2983
  done
 
2984
IFS=$as_save_IFS
 
2985
 
 
2986
fi
 
2987
 
 
2988
  test -d ./--version && rmdir ./--version
 
2989
  if test "${ac_cv_path_mkdir+set}" = set; then
 
2990
    MKDIR_P="$ac_cv_path_mkdir -p"
 
2991
  else
 
2992
    # As a last resort, use the slow shell script.  Don't cache a
 
2993
    # value for MKDIR_P within a source directory, because that will
 
2994
    # break other packages using the cache if that directory is
 
2995
    # removed, or if the value is a relative name.
 
2996
    MKDIR_P="$ac_install_sh -d"
 
2997
  fi
 
2998
fi
 
2999
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
 
3000
$as_echo "$MKDIR_P" >&6; }
 
3001
 
 
3002
mkdir_p="$MKDIR_P"
 
3003
case $mkdir_p in
 
3004
  [\\/$]* | ?:[\\/]*) ;;
 
3005
  */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
 
3006
esac
 
3007
 
 
3008
for ac_prog in gawk mawk nawk awk
 
3009
do
 
3010
  # Extract the first word of "$ac_prog", so it can be a program name with args.
 
3011
set dummy $ac_prog; ac_word=$2
 
3012
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
3013
$as_echo_n "checking for $ac_word... " >&6; }
 
3014
if test "${ac_cv_prog_AWK+set}" = set; then :
 
3015
  $as_echo_n "(cached) " >&6
 
3016
else
 
3017
  if test -n "$AWK"; then
 
3018
  ac_cv_prog_AWK="$AWK" # Let the user override the test.
 
3019
else
 
3020
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
3021
for as_dir in $PATH
 
3022
do
 
3023
  IFS=$as_save_IFS
 
3024
  test -z "$as_dir" && as_dir=.
 
3025
    for ac_exec_ext in '' $ac_executable_extensions; do
 
3026
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
3027
    ac_cv_prog_AWK="$ac_prog"
 
3028
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3029
    break 2
 
3030
  fi
 
3031
done
 
3032
  done
 
3033
IFS=$as_save_IFS
 
3034
 
 
3035
fi
 
3036
fi
 
3037
AWK=$ac_cv_prog_AWK
 
3038
if test -n "$AWK"; then
 
3039
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
 
3040
$as_echo "$AWK" >&6; }
 
3041
else
 
3042
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
3043
$as_echo "no" >&6; }
 
3044
fi
 
3045
 
 
3046
 
 
3047
  test -n "$AWK" && break
 
3048
done
 
3049
 
 
3050
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
 
3051
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
 
3052
set x ${MAKE-make}
 
3053
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
 
3054
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
 
3055
  $as_echo_n "(cached) " >&6
 
3056
else
 
3057
  cat >conftest.make <<\_ACEOF
 
3058
SHELL = /bin/sh
 
3059
all:
 
3060
        @echo '@@@%%%=$(MAKE)=@@@%%%'
 
3061
_ACEOF
 
3062
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
 
3063
case `${MAKE-make} -f conftest.make 2>/dev/null` in
 
3064
  *@@@%%%=?*=@@@%%%*)
 
3065
    eval ac_cv_prog_make_${ac_make}_set=yes;;
 
3066
  *)
 
3067
    eval ac_cv_prog_make_${ac_make}_set=no;;
 
3068
esac
 
3069
rm -f conftest.make
 
3070
fi
 
3071
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
 
3072
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
3073
$as_echo "yes" >&6; }
 
3074
  SET_MAKE=
 
3075
else
 
3076
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
3077
$as_echo "no" >&6; }
 
3078
  SET_MAKE="MAKE=${MAKE-make}"
 
3079
fi
 
3080
 
 
3081
rm -rf .tst 2>/dev/null
 
3082
mkdir .tst 2>/dev/null
 
3083
if test -d .tst; then
 
3084
  am__leading_dot=.
 
3085
else
 
3086
  am__leading_dot=_
 
3087
fi
 
3088
rmdir .tst 2>/dev/null
 
3089
 
 
3090
if test "`cd $srcdir && pwd`" != "`pwd`"; then
 
3091
  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
 
3092
  # is not polluted with repeated "-I."
 
3093
  am__isrc=' -I$(srcdir)'
 
3094
  # test to see if srcdir already configured
 
3095
  if test -f $srcdir/config.status; then
 
3096
    as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
 
3097
  fi
 
3098
fi
 
3099
 
 
3100
# test whether we have cygpath
 
3101
if test -z "$CYGPATH_W"; then
 
3102
  if (cygpath --version) >/dev/null 2>/dev/null; then
 
3103
    CYGPATH_W='cygpath -w'
 
3104
  else
 
3105
    CYGPATH_W=echo
 
3106
  fi
 
3107
fi
 
3108
 
 
3109
 
 
3110
# Define the identity of the package.
 
3111
 PACKAGE='ibis'
 
3112
 VERSION='1.5.7'
 
3113
 
 
3114
 
 
3115
cat >>confdefs.h <<_ACEOF
 
3116
@%:@define PACKAGE "$PACKAGE"
 
3117
_ACEOF
 
3118
 
 
3119
 
 
3120
cat >>confdefs.h <<_ACEOF
 
3121
@%:@define VERSION "$VERSION"
 
3122
_ACEOF
 
3123
 
 
3124
# Some tools Automake needs.
 
3125
 
 
3126
ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
 
3127
 
 
3128
 
 
3129
AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
 
3130
 
 
3131
 
 
3132
AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
 
3133
 
 
3134
 
 
3135
AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
 
3136
 
 
3137
 
 
3138
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
 
3139
 
 
3140
# We need awk for the "check" target.  The system "awk" is bad on
 
3141
# some platforms.
 
3142
# Always define AMTAR for backward compatibility.
 
3143
 
 
3144
AMTAR=${AMTAR-"${am_missing_run}tar"}
 
3145
 
 
3146
am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
 
3147
 
 
3148
 
 
3149
 
 
3150
 
 
3151
 
 
3152
 
 
3153
 
 
3154
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
 
3155
$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
 
3156
    @%:@ Check whether --enable-maintainer-mode was given.
 
3157
if test "${enable_maintainer_mode+set}" = set; then :
 
3158
  enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
 
3159
else
 
3160
  USE_MAINTAINER_MODE=no
 
3161
fi
 
3162
 
 
3163
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
 
3164
$as_echo "$USE_MAINTAINER_MODE" >&6; }
 
3165
   if test $USE_MAINTAINER_MODE = yes; then
 
3166
  MAINTAINER_MODE_TRUE=
 
3167
  MAINTAINER_MODE_FALSE='#'
 
3168
else
 
3169
  MAINTAINER_MODE_TRUE='#'
 
3170
  MAINTAINER_MODE_FALSE=
 
3171
fi
 
3172
 
 
3173
  MAINT=$MAINTAINER_MODE_TRUE
 
3174
  
 
3175
 
 
3176
 
 
3177
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
 
3178
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
 
3179
set x ${MAKE-make}
 
3180
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
 
3181
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
 
3182
  $as_echo_n "(cached) " >&6
 
3183
else
 
3184
  cat >conftest.make <<\_ACEOF
 
3185
SHELL = /bin/sh
 
3186
all:
 
3187
        @echo '@@@%%%=$(MAKE)=@@@%%%'
 
3188
_ACEOF
 
3189
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
 
3190
case `${MAKE-make} -f conftest.make 2>/dev/null` in
 
3191
  *@@@%%%=?*=@@@%%%*)
 
3192
    eval ac_cv_prog_make_${ac_make}_set=yes;;
 
3193
  *)
 
3194
    eval ac_cv_prog_make_${ac_make}_set=no;;
 
3195
esac
 
3196
rm -f conftest.make
 
3197
fi
 
3198
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
 
3199
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
3200
$as_echo "yes" >&6; }
 
3201
  SET_MAKE=
 
3202
else
 
3203
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
3204
$as_echo "no" >&6; }
 
3205
  SET_MAKE="MAKE=${MAKE-make}"
 
3206
fi
 
3207
 
 
3208
 
 
3209
 
 
3210
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
 
3211
$as_echo_n "checking whether ln -s works... " >&6; }
 
3212
LN_S=$as_ln_s
 
3213
if test "$LN_S" = "ln -s"; then
 
3214
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
3215
$as_echo "yes" >&6; }
 
3216
else
 
3217
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
 
3218
$as_echo "no, using $LN_S" >&6; }
 
3219
fi
 
3220
 
 
3221
 
 
3222
   # Extract the first word of "swig", so it can be a program name with args.
 
3223
set dummy swig; ac_word=$2
 
3224
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
3225
$as_echo_n "checking for $ac_word... " >&6; }
 
3226
if test "${ac_cv_path_SWIG+set}" = set; then :
 
3227
  $as_echo_n "(cached) " >&6
 
3228
else
 
3229
  case $SWIG in
 
3230
  [\\/]* | ?:[\\/]*)
 
3231
  ac_cv_path_SWIG="$SWIG" # Let the user override the test with a path.
 
3232
  ;;
 
3233
  *)
 
3234
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
3235
for as_dir in $PATH
 
3236
do
 
3237
  IFS=$as_save_IFS
 
3238
  test -z "$as_dir" && as_dir=.
 
3239
    for ac_exec_ext in '' $ac_executable_extensions; do
 
3240
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
3241
    ac_cv_path_SWIG="$as_dir/$ac_word$ac_exec_ext"
 
3242
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3243
    break 2
 
3244
  fi
 
3245
done
 
3246
  done
 
3247
IFS=$as_save_IFS
 
3248
 
 
3249
  ;;
 
3250
esac
 
3251
fi
 
3252
SWIG=$ac_cv_path_SWIG
 
3253
if test -n "$SWIG"; then
 
3254
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SWIG" >&5
 
3255
$as_echo "$SWIG" >&6; }
 
3256
else
 
3257
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
3258
$as_echo "no" >&6; }
 
3259
fi
 
3260
 
 
3261
 
 
3262
   # we use this to track the existance of swig
 
3263
   has_swig=0
 
3264
   if test -z "$SWIG" ; then
 
3265
      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cannot find 'swig' program. You should look at http://www.swig.org" >&5
 
3266
$as_echo "$as_me: WARNING: cannot find 'swig' program. You should look at http://www.swig.org" >&2;}
 
3267
      SWIG='echo "Error: SWIG is not installed. You should look at http://www.swig.org" ; false'
 
3268
   elif test -n "1.1.5" ; then
 
3269
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SWIG version" >&5
 
3270
$as_echo_n "checking for SWIG version... " >&6; }
 
3271
      swig_version=`$SWIG -version 2>&1 | grep 'SWIG Version' | sed 's/.*\([0-9][0-9]*\.[0-9][0-9]*\.[0-9][0-9]*\).*/\1/g'`
 
3272
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $swig_version" >&5
 
3273
$as_echo "$swig_version" >&6; }
 
3274
      if test -n "$swig_version" ; then
 
3275
         # Calculate the required version number components
 
3276
         required=1.1.5
 
3277
         required_major=`echo $required | sed 's/[^0-9].*//'`
 
3278
         if test -z "$required_major" ; then
 
3279
            required_major=0
 
3280
         fi
 
3281
         required=`echo $required | sed 's/[0-9]*[^0-9]//'`
 
3282
         required_minor=`echo $required | sed 's/[^0-9].*//'`
 
3283
         if test -z "$required_minor" ; then
 
3284
            required_minor=0
 
3285
         fi
 
3286
         required=`echo $required | sed 's/[0-9]*[^0-9]//'`
 
3287
         required_patch=`echo $required | sed 's/[^0-9].*//'`
 
3288
         if test -z "$required_patch" ; then
 
3289
            required_patch=0
 
3290
         fi
 
3291
         # Calculate the available version number components
 
3292
         available=`echo $swig_version | sed 's/[^0-9]*//'`
 
3293
         available_major=`echo $available | sed 's/[^0-9].*//'`
 
3294
         if test -z "$available_major" ; then
 
3295
            available_major=0
 
3296
         fi
 
3297
         available=`echo $available | sed 's/[0-9]*[^0-9]//'`
 
3298
         available_minor=`echo $available | sed 's/[^0-9].*//'`
 
3299
         if test -z "$available_minor" ; then
 
3300
            available_minor=0
 
3301
         fi
 
3302
         available=`echo $available | sed 's/[0-9]*[^0-9]//'`
 
3303
         available_patch=`echo $available | sed -e 's/.*Patch[^0-9]*//' -e 's/[^0-9]*//g' `
 
3304
         if test -z "$available_patch" ; then
 
3305
            available_patch=0
 
3306
         fi
 
3307
         # we have two modes of comparison...
 
3308
         if test x"eq" == xeq; then
 
3309
            if test $available_major -ne $required_major \
 
3310
               -o $available_minor -ne $required_minor \
 
3311
               -o $available_patch -ne $required_patch ; then
 
3312
               { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: SWIG version == 1.1.5 is required.  You have $available_major.$available_minor.$available_patch. You should look at http://www.swig.org " >&5
 
3313
$as_echo "$as_me: WARNING: SWIG version == 1.1.5 is required.  You have $available_major.$available_minor.$available_patch. You should look at http://www.swig.org " >&2;}
 
3314
               SWIG='echo "Error: SWIG version == 1.1.5 is required.  You have '"$swig_version"'.  You should look at http://www.swig.org" ; false'
 
3315
            else
 
3316
               has_swig=1
 
3317
            fi
 
3318
         else
 
3319
            if test $available_major -ne $required_major \
 
3320
               -o $available_minor -ne $required_minor \
 
3321
               -o $available_patch -lt $required_patch ; then
 
3322
               { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: SWIG version >= 1.1.5 is required.  You have $swig_version.  You should look at http://www.swig.org" >&5
 
3323
$as_echo "$as_me: WARNING: SWIG version >= 1.1.5 is required.  You have $swig_version.  You should look at http://www.swig.org" >&2;}
 
3324
               SWIG='echo "Error: SWIG version >= 1.1.5 is required.  You have '"$swig_version"'.  You should look at http://www.swig.org" ; false'
 
3325
            else
 
3326
               has_swig=1
 
3327
            fi
 
3328
        fi
 
3329
      else
 
3330
         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cannot determine SWIG version" >&5
 
3331
$as_echo "$as_me: WARNING: cannot determine SWIG version" >&2;}
 
3332
         SWIG='echo "Error: Cannot determine SWIG version.  You should look at http://www.swig.org" ; false'
 
3333
      fi
 
3334
   fi
 
3335
   if test ! -z "$has_swig"; then
 
3336
                SWIG_LIB=`$SWIG -swiglib`
 
3337
                 if test 1; then
 
3338
  HAS_SWIG_TRUE=
 
3339
  HAS_SWIG_FALSE='#'
 
3340
else
 
3341
  HAS_SWIG_TRUE='#'
 
3342
  HAS_SWIG_FALSE=
 
3343
fi
 
3344
 
 
3345
   else
 
3346
         if test 0; then
 
3347
  HAS_SWIG_TRUE=
 
3348
  HAS_SWIG_FALSE='#'
 
3349
else
 
3350
  HAS_SWIG_TRUE='#'
 
3351
  HAS_SWIG_FALSE=
 
3352
fi
 
3353
 
 
3354
   fi
 
3355
   
 
3356
 
 
3357
 
 
3358
ac_ext=cpp
 
3359
ac_cpp='$CXXCPP $CPPFLAGS'
 
3360
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
3361
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
3362
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 
3363
if test -z "$CXX"; then
 
3364
  if test -n "$CCC"; then
 
3365
    CXX=$CCC
 
3366
  else
 
3367
    if test -n "$ac_tool_prefix"; then
 
3368
  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
 
3369
  do
 
3370
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 
3371
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 
3372
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
3373
$as_echo_n "checking for $ac_word... " >&6; }
 
3374
if test "${ac_cv_prog_CXX+set}" = set; then :
 
3375
  $as_echo_n "(cached) " >&6
 
3376
else
 
3377
  if test -n "$CXX"; then
 
3378
  ac_cv_prog_CXX="$CXX" # Let the user override the test.
 
3379
else
 
3380
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
3381
for as_dir in $PATH
 
3382
do
 
3383
  IFS=$as_save_IFS
 
3384
  test -z "$as_dir" && as_dir=.
 
3385
    for ac_exec_ext in '' $ac_executable_extensions; do
 
3386
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
3387
    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
 
3388
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3389
    break 2
 
3390
  fi
 
3391
done
 
3392
  done
 
3393
IFS=$as_save_IFS
 
3394
 
 
3395
fi
 
3396
fi
 
3397
CXX=$ac_cv_prog_CXX
 
3398
if test -n "$CXX"; then
 
3399
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
 
3400
$as_echo "$CXX" >&6; }
 
3401
else
 
3402
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
3403
$as_echo "no" >&6; }
 
3404
fi
 
3405
 
 
3406
 
 
3407
    test -n "$CXX" && break
 
3408
  done
 
3409
fi
 
3410
if test -z "$CXX"; then
 
3411
  ac_ct_CXX=$CXX
 
3412
  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
 
3413
do
 
3414
  # Extract the first word of "$ac_prog", so it can be a program name with args.
 
3415
set dummy $ac_prog; ac_word=$2
 
3416
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
3417
$as_echo_n "checking for $ac_word... " >&6; }
 
3418
if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
 
3419
  $as_echo_n "(cached) " >&6
 
3420
else
 
3421
  if test -n "$ac_ct_CXX"; then
 
3422
  ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
 
3423
else
 
3424
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
3425
for as_dir in $PATH
 
3426
do
 
3427
  IFS=$as_save_IFS
 
3428
  test -z "$as_dir" && as_dir=.
 
3429
    for ac_exec_ext in '' $ac_executable_extensions; do
 
3430
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
3431
    ac_cv_prog_ac_ct_CXX="$ac_prog"
 
3432
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3433
    break 2
 
3434
  fi
 
3435
done
 
3436
  done
 
3437
IFS=$as_save_IFS
 
3438
 
 
3439
fi
 
3440
fi
 
3441
ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
 
3442
if test -n "$ac_ct_CXX"; then
 
3443
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
 
3444
$as_echo "$ac_ct_CXX" >&6; }
 
3445
else
 
3446
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
3447
$as_echo "no" >&6; }
 
3448
fi
 
3449
 
 
3450
 
 
3451
  test -n "$ac_ct_CXX" && break
 
3452
done
 
3453
 
 
3454
  if test "x$ac_ct_CXX" = x; then
 
3455
    CXX="g++"
 
3456
  else
 
3457
    case $cross_compiling:$ac_tool_warned in
 
3458
yes:)
 
3459
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
3460
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
3461
ac_tool_warned=yes ;;
 
3462
esac
 
3463
    CXX=$ac_ct_CXX
 
3464
  fi
 
3465
fi
 
3466
 
 
3467
  fi
 
3468
fi
 
3469
# Provide some information about the compiler.
 
3470
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
 
3471
set X $ac_compile
 
3472
ac_compiler=$2
 
3473
for ac_option in --version -v -V -qversion; do
 
3474
  { { ac_try="$ac_compiler $ac_option >&5"
 
3475
case "(($ac_try" in
 
3476
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3477
  *) ac_try_echo=$ac_try;;
 
3478
esac
 
3479
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3480
$as_echo "$ac_try_echo"; } >&5
 
3481
  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
 
3482
  ac_status=$?
 
3483
  if test -s conftest.err; then
 
3484
    sed '10a\
 
3485
... rest of stderr output deleted ...
 
3486
         10q' conftest.err >conftest.er1
 
3487
    cat conftest.er1 >&5
 
3488
  fi
 
3489
  rm -f conftest.er1 conftest.err
 
3490
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3491
  test $ac_status = 0; }
 
3492
done
 
3493
 
 
3494
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
3495
/* end confdefs.h.  */
 
3496
 
 
3497
int
 
3498
main ()
 
3499
{
 
3500
 
 
3501
  ;
 
3502
  return 0;
 
3503
}
 
3504
_ACEOF
 
3505
ac_clean_files_save=$ac_clean_files
 
3506
ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
 
3507
# Try to create an executable without -o first, disregard a.out.
 
3508
# It will help us diagnose broken compilers, and finding out an intuition
 
3509
# of exeext.
 
3510
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler works" >&5
 
3511
$as_echo_n "checking whether the C++ compiler works... " >&6; }
 
3512
ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
 
3513
 
 
3514
# The possible output files:
 
3515
ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
 
3516
 
 
3517
ac_rmfiles=
 
3518
for ac_file in $ac_files
 
3519
do
 
3520
  case $ac_file in
 
3521
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
 
3522
    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
 
3523
  esac
 
3524
done
 
3525
rm -f $ac_rmfiles
 
3526
 
 
3527
if { { ac_try="$ac_link_default"
 
3528
case "(($ac_try" in
 
3529
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3530
  *) ac_try_echo=$ac_try;;
 
3531
esac
 
3532
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3533
$as_echo "$ac_try_echo"; } >&5
 
3534
  (eval "$ac_link_default") 2>&5
 
3535
  ac_status=$?
 
3536
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3537
  test $ac_status = 0; }; then :
 
3538
  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
 
3539
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
 
3540
# in a Makefile.  We should not override ac_cv_exeext if it was cached,
 
3541
# so that the user can short-circuit this test for compilers unknown to
 
3542
# Autoconf.
 
3543
for ac_file in $ac_files ''
 
3544
do
 
3545
  test -f "$ac_file" || continue
 
3546
  case $ac_file in
 
3547
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
 
3548
        ;;
 
3549
    [ab].out )
 
3550
        # We found the default executable, but exeext='' is most
 
3551
        # certainly right.
 
3552
        break;;
 
3553
    *.* )
 
3554
        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
 
3555
        then :; else
 
3556
           ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
 
3557
        fi
 
3558
        # We set ac_cv_exeext here because the later test for it is not
 
3559
        # safe: cross compilers may not add the suffix if given an `-o'
 
3560
        # argument, so we may need to know it at that point already.
 
3561
        # Even if this section looks crufty: it has the advantage of
 
3562
        # actually working.
 
3563
        break;;
 
3564
    * )
 
3565
        break;;
 
3566
  esac
 
3567
done
 
3568
test "$ac_cv_exeext" = no && ac_cv_exeext=
 
3569
 
 
3570
else
 
3571
  ac_file=''
 
3572
fi
 
3573
if test -z "$ac_file"; then :
 
3574
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
3575
$as_echo "no" >&6; }
 
3576
$as_echo "$as_me: failed program was:" >&5
 
3577
sed 's/^/| /' conftest.$ac_ext >&5
 
3578
 
 
3579
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
3580
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
3581
{ as_fn_set_status 77
 
3582
as_fn_error "C++ compiler cannot create executables
 
3583
See \`config.log' for more details." "$LINENO" 5; }; }
 
3584
else
 
3585
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
3586
$as_echo "yes" >&6; }
 
3587
fi
 
3588
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler default output file name" >&5
 
3589
$as_echo_n "checking for C++ compiler default output file name... " >&6; }
 
3590
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
 
3591
$as_echo "$ac_file" >&6; }
 
3592
ac_exeext=$ac_cv_exeext
 
3593
 
 
3594
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
 
3595
ac_clean_files=$ac_clean_files_save
 
3596
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
 
3597
$as_echo_n "checking for suffix of executables... " >&6; }
 
3598
if { { ac_try="$ac_link"
 
3599
case "(($ac_try" in
 
3600
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3601
  *) ac_try_echo=$ac_try;;
 
3602
esac
 
3603
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3604
$as_echo "$ac_try_echo"; } >&5
 
3605
  (eval "$ac_link") 2>&5
 
3606
  ac_status=$?
 
3607
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3608
  test $ac_status = 0; }; then :
 
3609
  # If both `conftest.exe' and `conftest' are `present' (well, observable)
 
3610
# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
 
3611
# work properly (i.e., refer to `conftest.exe'), while it won't with
 
3612
# `rm'.
 
3613
for ac_file in conftest.exe conftest conftest.*; do
 
3614
  test -f "$ac_file" || continue
 
3615
  case $ac_file in
 
3616
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
 
3617
    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
 
3618
          break;;
 
3619
    * ) break;;
 
3620
  esac
 
3621
done
 
3622
else
 
3623
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
3624
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
3625
as_fn_error "cannot compute suffix of executables: cannot compile and link
 
3626
See \`config.log' for more details." "$LINENO" 5; }
 
3627
fi
 
3628
rm -f conftest conftest$ac_cv_exeext
 
3629
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
 
3630
$as_echo "$ac_cv_exeext" >&6; }
 
3631
 
 
3632
rm -f conftest.$ac_ext
 
3633
EXEEXT=$ac_cv_exeext
 
3634
ac_exeext=$EXEEXT
 
3635
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
3636
/* end confdefs.h.  */
 
3637
@%:@include <stdio.h>
 
3638
int
 
3639
main ()
 
3640
{
 
3641
FILE *f = fopen ("conftest.out", "w");
 
3642
 return ferror (f) || fclose (f) != 0;
 
3643
 
 
3644
  ;
 
3645
  return 0;
 
3646
}
 
3647
_ACEOF
 
3648
ac_clean_files="$ac_clean_files conftest.out"
 
3649
# Check that the compiler produces executables we can run.  If not, either
 
3650
# the compiler is broken, or we cross compile.
 
3651
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
 
3652
$as_echo_n "checking whether we are cross compiling... " >&6; }
 
3653
if test "$cross_compiling" != yes; then
 
3654
  { { ac_try="$ac_link"
 
3655
case "(($ac_try" in
 
3656
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3657
  *) ac_try_echo=$ac_try;;
 
3658
esac
 
3659
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3660
$as_echo "$ac_try_echo"; } >&5
 
3661
  (eval "$ac_link") 2>&5
 
3662
  ac_status=$?
 
3663
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3664
  test $ac_status = 0; }
 
3665
  if { ac_try='./conftest$ac_cv_exeext'
 
3666
  { { case "(($ac_try" in
 
3667
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3668
  *) ac_try_echo=$ac_try;;
 
3669
esac
 
3670
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3671
$as_echo "$ac_try_echo"; } >&5
 
3672
  (eval "$ac_try") 2>&5
 
3673
  ac_status=$?
 
3674
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3675
  test $ac_status = 0; }; }; then
 
3676
    cross_compiling=no
 
3677
  else
 
3678
    if test "$cross_compiling" = maybe; then
 
3679
        cross_compiling=yes
 
3680
    else
 
3681
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
3682
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
3683
as_fn_error "cannot run C++ compiled programs.
 
3684
If you meant to cross compile, use \`--host'.
 
3685
See \`config.log' for more details." "$LINENO" 5; }
 
3686
    fi
 
3687
  fi
 
3688
fi
 
3689
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
 
3690
$as_echo "$cross_compiling" >&6; }
 
3691
 
 
3692
rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
 
3693
ac_clean_files=$ac_clean_files_save
 
3694
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
 
3695
$as_echo_n "checking for suffix of object files... " >&6; }
 
3696
if test "${ac_cv_objext+set}" = set; then :
 
3697
  $as_echo_n "(cached) " >&6
 
3698
else
 
3699
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
3700
/* end confdefs.h.  */
 
3701
 
 
3702
int
 
3703
main ()
 
3704
{
 
3705
 
 
3706
  ;
 
3707
  return 0;
 
3708
}
 
3709
_ACEOF
 
3710
rm -f conftest.o conftest.obj
 
3711
if { { ac_try="$ac_compile"
 
3712
case "(($ac_try" in
 
3713
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3714
  *) ac_try_echo=$ac_try;;
 
3715
esac
 
3716
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3717
$as_echo "$ac_try_echo"; } >&5
 
3718
  (eval "$ac_compile") 2>&5
 
3719
  ac_status=$?
 
3720
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3721
  test $ac_status = 0; }; then :
 
3722
  for ac_file in conftest.o conftest.obj conftest.*; do
 
3723
  test -f "$ac_file" || continue;
 
3724
  case $ac_file in
 
3725
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
 
3726
    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
 
3727
       break;;
 
3728
  esac
 
3729
done
 
3730
else
 
3731
  $as_echo "$as_me: failed program was:" >&5
 
3732
sed 's/^/| /' conftest.$ac_ext >&5
 
3733
 
 
3734
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
3735
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
3736
as_fn_error "cannot compute suffix of object files: cannot compile
 
3737
See \`config.log' for more details." "$LINENO" 5; }
 
3738
fi
 
3739
rm -f conftest.$ac_cv_objext conftest.$ac_ext
 
3740
fi
 
3741
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
 
3742
$as_echo "$ac_cv_objext" >&6; }
 
3743
OBJEXT=$ac_cv_objext
 
3744
ac_objext=$OBJEXT
 
3745
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
 
3746
$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
 
3747
if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
 
3748
  $as_echo_n "(cached) " >&6
 
3749
else
 
3750
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
3751
/* end confdefs.h.  */
 
3752
 
 
3753
int
 
3754
main ()
 
3755
{
 
3756
#ifndef __GNUC__
 
3757
       choke me
 
3758
#endif
 
3759
 
 
3760
  ;
 
3761
  return 0;
 
3762
}
 
3763
_ACEOF
 
3764
if ac_fn_cxx_try_compile "$LINENO"; then :
 
3765
  ac_compiler_gnu=yes
 
3766
else
 
3767
  ac_compiler_gnu=no
 
3768
fi
 
3769
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
3770
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
 
3771
 
 
3772
fi
 
3773
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
 
3774
$as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
 
3775
if test $ac_compiler_gnu = yes; then
 
3776
  GXX=yes
 
3777
else
 
3778
  GXX=
 
3779
fi
 
3780
ac_test_CXXFLAGS=${CXXFLAGS+set}
 
3781
ac_save_CXXFLAGS=$CXXFLAGS
 
3782
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
 
3783
$as_echo_n "checking whether $CXX accepts -g... " >&6; }
 
3784
if test "${ac_cv_prog_cxx_g+set}" = set; then :
 
3785
  $as_echo_n "(cached) " >&6
 
3786
else
 
3787
  ac_save_cxx_werror_flag=$ac_cxx_werror_flag
 
3788
   ac_cxx_werror_flag=yes
 
3789
   ac_cv_prog_cxx_g=no
 
3790
   CXXFLAGS="-g"
 
3791
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
3792
/* end confdefs.h.  */
 
3793
 
 
3794
int
 
3795
main ()
 
3796
{
 
3797
 
 
3798
  ;
 
3799
  return 0;
 
3800
}
 
3801
_ACEOF
 
3802
if ac_fn_cxx_try_compile "$LINENO"; then :
 
3803
  ac_cv_prog_cxx_g=yes
 
3804
else
 
3805
  CXXFLAGS=""
 
3806
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
3807
/* end confdefs.h.  */
 
3808
 
 
3809
int
 
3810
main ()
 
3811
{
 
3812
 
 
3813
  ;
 
3814
  return 0;
 
3815
}
 
3816
_ACEOF
 
3817
if ac_fn_cxx_try_compile "$LINENO"; then :
 
3818
  
 
3819
else
 
3820
  ac_cxx_werror_flag=$ac_save_cxx_werror_flag
 
3821
         CXXFLAGS="-g"
 
3822
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
3823
/* end confdefs.h.  */
 
3824
 
 
3825
int
 
3826
main ()
 
3827
{
 
3828
 
 
3829
  ;
 
3830
  return 0;
 
3831
}
 
3832
_ACEOF
 
3833
if ac_fn_cxx_try_compile "$LINENO"; then :
 
3834
  ac_cv_prog_cxx_g=yes
 
3835
fi
 
3836
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
3837
fi
 
3838
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
3839
fi
 
3840
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
3841
   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
 
3842
fi
 
3843
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
 
3844
$as_echo "$ac_cv_prog_cxx_g" >&6; }
 
3845
if test "$ac_test_CXXFLAGS" = set; then
 
3846
  CXXFLAGS=$ac_save_CXXFLAGS
 
3847
elif test $ac_cv_prog_cxx_g = yes; then
 
3848
  if test "$GXX" = yes; then
 
3849
    CXXFLAGS="-g -O2"
 
3850
  else
 
3851
    CXXFLAGS="-g"
 
3852
  fi
 
3853
else
 
3854
  if test "$GXX" = yes; then
 
3855
    CXXFLAGS="-O2"
 
3856
  else
 
3857
    CXXFLAGS=
 
3858
  fi
 
3859
fi
 
3860
ac_ext=cpp
 
3861
ac_cpp='$CXXCPP $CPPFLAGS'
 
3862
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
3863
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
3864
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 
3865
DEPDIR="${am__leading_dot}deps"
 
3866
 
 
3867
ac_config_commands="$ac_config_commands depfiles"
 
3868
 
 
3869
 
 
3870
am_make=${MAKE-make}
 
3871
cat > confinc << 'END'
 
3872
am__doit:
 
3873
        @echo this is the am__doit target
 
3874
.PHONY: am__doit
 
3875
END
 
3876
# If we don't find an include directive, just comment out the code.
 
3877
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
 
3878
$as_echo_n "checking for style of include used by $am_make... " >&6; }
 
3879
am__include="#"
 
3880
am__quote=
 
3881
_am_result=none
 
3882
# First try GNU make style include.
 
3883
echo "include confinc" > confmf
 
3884
# Ignore all kinds of additional output from `make'.
 
3885
case `$am_make -s -f confmf 2> /dev/null` in #(
 
3886
*the\ am__doit\ target*)
 
3887
  am__include=include
 
3888
  am__quote=
 
3889
  _am_result=GNU
 
3890
  ;;
 
3891
esac
 
3892
# Now try BSD make style include.
 
3893
if test "$am__include" = "#"; then
 
3894
   echo '.include "confinc"' > confmf
 
3895
   case `$am_make -s -f confmf 2> /dev/null` in #(
 
3896
   *the\ am__doit\ target*)
 
3897
     am__include=.include
 
3898
     am__quote="\""
 
3899
     _am_result=BSD
 
3900
     ;;
 
3901
   esac
 
3902
fi
 
3903
 
 
3904
 
 
3905
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
 
3906
$as_echo "$_am_result" >&6; }
 
3907
rm -f confinc confmf
 
3908
 
 
3909
@%:@ Check whether --enable-dependency-tracking was given.
 
3910
if test "${enable_dependency_tracking+set}" = set; then :
 
3911
  enableval=$enable_dependency_tracking; 
 
3912
fi
 
3913
 
 
3914
if test "x$enable_dependency_tracking" != xno; then
 
3915
  am_depcomp="$ac_aux_dir/depcomp"
 
3916
  AMDEPBACKSLASH='\'
 
3917
fi
 
3918
 if test "x$enable_dependency_tracking" != xno; then
 
3919
  AMDEP_TRUE=
 
3920
  AMDEP_FALSE='#'
 
3921
else
 
3922
  AMDEP_TRUE='#'
 
3923
  AMDEP_FALSE=
 
3924
fi
 
3925
 
 
3926
 
 
3927
 
 
3928
depcc="$CXX"  am_compiler_list=
 
3929
 
 
3930
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
 
3931
$as_echo_n "checking dependency style of $depcc... " >&6; }
 
3932
if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then :
 
3933
  $as_echo_n "(cached) " >&6
 
3934
else
 
3935
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
 
3936
  # We make a subdir and do the tests there.  Otherwise we can end up
 
3937
  # making bogus files that we don't know about and never remove.  For
 
3938
  # instance it was reported that on HP-UX the gcc test will end up
 
3939
  # making a dummy file named `D' -- because `-MD' means `put the output
 
3940
  # in D'.
 
3941
  mkdir conftest.dir
 
3942
  # Copy depcomp to subdir because otherwise we won't find it if we're
 
3943
  # using a relative directory.
 
3944
  cp "$am_depcomp" conftest.dir
 
3945
  cd conftest.dir
 
3946
  # We will build objects and dependencies in a subdirectory because
 
3947
  # it helps to detect inapplicable dependency modes.  For instance
 
3948
  # both Tru64's cc and ICC support -MD to output dependencies as a
 
3949
  # side effect of compilation, but ICC will put the dependencies in
 
3950
  # the current directory while Tru64 will put them in the object
 
3951
  # directory.
 
3952
  mkdir sub
 
3953
 
 
3954
  am_cv_CXX_dependencies_compiler_type=none
 
3955
  if test "$am_compiler_list" = ""; then
 
3956
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
 
3957
  fi
 
3958
  am__universal=false
 
3959
  case " $depcc " in #(
 
3960
     *\ -arch\ *\ -arch\ *) am__universal=true ;;
 
3961
     esac
 
3962
 
 
3963
  for depmode in $am_compiler_list; do
 
3964
    # Setup a source with many dependencies, because some compilers
 
3965
    # like to wrap large dependency lists on column 80 (with \), and
 
3966
    # we should not choose a depcomp mode which is confused by this.
 
3967
    #
 
3968
    # We need to recreate these files for each test, as the compiler may
 
3969
    # overwrite some of them when testing with obscure command lines.
 
3970
    # This happens at least with the AIX C compiler.
 
3971
    : > sub/conftest.c
 
3972
    for i in 1 2 3 4 5 6; do
 
3973
      echo '#include "conftst'$i'.h"' >> sub/conftest.c
 
3974
      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
 
3975
      # Solaris 8's {/usr,}/bin/sh.
 
3976
      touch sub/conftst$i.h
 
3977
    done
 
3978
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
 
3979
 
 
3980
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
 
3981
    # mode.  It turns out that the SunPro C++ compiler does not properly
 
3982
    # handle `-M -o', and we need to detect this.  Also, some Intel
 
3983
    # versions had trouble with output in subdirs
 
3984
    am__obj=sub/conftest.${OBJEXT-o}
 
3985
    am__minus_obj="-o $am__obj"
 
3986
    case $depmode in
 
3987
    gcc)
 
3988
      # This depmode causes a compiler race in universal mode.
 
3989
      test "$am__universal" = false || continue
 
3990
      ;;
 
3991
    nosideeffect)
 
3992
      # after this tag, mechanisms are not by side-effect, so they'll
 
3993
      # only be used when explicitly requested
 
3994
      if test "x$enable_dependency_tracking" = xyes; then
 
3995
        continue
 
3996
      else
 
3997
        break
 
3998
      fi
 
3999
      ;;
 
4000
    msvisualcpp | msvcmsys)
 
4001
      # This compiler won't grok `-c -o', but also, the minuso test has
 
4002
      # not run yet.  These depmodes are late enough in the game, and
 
4003
      # so weak that their functioning should not be impacted.
 
4004
      am__obj=conftest.${OBJEXT-o}
 
4005
      am__minus_obj=
 
4006
      ;;
 
4007
    none) break ;;
 
4008
    esac
 
4009
    if depmode=$depmode \
 
4010
       source=sub/conftest.c object=$am__obj \
 
4011
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
 
4012
       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
 
4013
         >/dev/null 2>conftest.err &&
 
4014
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
 
4015
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
 
4016
       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
 
4017
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
 
4018
      # icc doesn't choke on unknown options, it will just issue warnings
 
4019
      # or remarks (even with -Werror).  So we grep stderr for any message
 
4020
      # that says an option was ignored or not supported.
 
4021
      # When given -MP, icc 7.0 and 7.1 complain thusly:
 
4022
      #   icc: Command line warning: ignoring option '-M'; no argument required
 
4023
      # The diagnosis changed in icc 8.0:
 
4024
      #   icc: Command line remark: option '-MP' not supported
 
4025
      if (grep 'ignoring option' conftest.err ||
 
4026
          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
 
4027
        am_cv_CXX_dependencies_compiler_type=$depmode
 
4028
        break
 
4029
      fi
 
4030
    fi
 
4031
  done
 
4032
 
 
4033
  cd ..
 
4034
  rm -rf conftest.dir
 
4035
else
 
4036
  am_cv_CXX_dependencies_compiler_type=none
 
4037
fi
 
4038
 
 
4039
fi
 
4040
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
 
4041
$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
 
4042
CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
 
4043
 
 
4044
 if 
 
4045
  test "x$enable_dependency_tracking" != xno \
 
4046
  && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
 
4047
  am__fastdepCXX_TRUE=
 
4048
  am__fastdepCXX_FALSE='#'
 
4049
else
 
4050
  am__fastdepCXX_TRUE='#'
 
4051
  am__fastdepCXX_FALSE=
 
4052
fi
 
4053
 
 
4054
 
 
4055
ac_ext=c
 
4056
ac_cpp='$CPP $CPPFLAGS'
 
4057
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
4058
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
4059
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
4060
if test -n "$ac_tool_prefix"; then
 
4061
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
 
4062
set dummy ${ac_tool_prefix}gcc; ac_word=$2
 
4063
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
4064
$as_echo_n "checking for $ac_word... " >&6; }
 
4065
if test "${ac_cv_prog_CC+set}" = set; then :
 
4066
  $as_echo_n "(cached) " >&6
 
4067
else
 
4068
  if test -n "$CC"; then
 
4069
  ac_cv_prog_CC="$CC" # Let the user override the test.
 
4070
else
 
4071
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4072
for as_dir in $PATH
 
4073
do
 
4074
  IFS=$as_save_IFS
 
4075
  test -z "$as_dir" && as_dir=.
 
4076
    for ac_exec_ext in '' $ac_executable_extensions; do
 
4077
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
4078
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
 
4079
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4080
    break 2
 
4081
  fi
 
4082
done
 
4083
  done
 
4084
IFS=$as_save_IFS
 
4085
 
 
4086
fi
 
4087
fi
 
4088
CC=$ac_cv_prog_CC
 
4089
if test -n "$CC"; then
 
4090
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 
4091
$as_echo "$CC" >&6; }
 
4092
else
 
4093
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
4094
$as_echo "no" >&6; }
 
4095
fi
 
4096
 
 
4097
 
 
4098
fi
 
4099
if test -z "$ac_cv_prog_CC"; then
 
4100
  ac_ct_CC=$CC
 
4101
  # Extract the first word of "gcc", so it can be a program name with args.
 
4102
set dummy gcc; ac_word=$2
 
4103
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
4104
$as_echo_n "checking for $ac_word... " >&6; }
 
4105
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
 
4106
  $as_echo_n "(cached) " >&6
 
4107
else
 
4108
  if test -n "$ac_ct_CC"; then
 
4109
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
 
4110
else
 
4111
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4112
for as_dir in $PATH
 
4113
do
 
4114
  IFS=$as_save_IFS
 
4115
  test -z "$as_dir" && as_dir=.
 
4116
    for ac_exec_ext in '' $ac_executable_extensions; do
 
4117
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
4118
    ac_cv_prog_ac_ct_CC="gcc"
 
4119
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4120
    break 2
 
4121
  fi
 
4122
done
 
4123
  done
 
4124
IFS=$as_save_IFS
 
4125
 
 
4126
fi
 
4127
fi
 
4128
ac_ct_CC=$ac_cv_prog_ac_ct_CC
 
4129
if test -n "$ac_ct_CC"; then
 
4130
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
 
4131
$as_echo "$ac_ct_CC" >&6; }
 
4132
else
 
4133
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
4134
$as_echo "no" >&6; }
 
4135
fi
 
4136
 
 
4137
  if test "x$ac_ct_CC" = x; then
 
4138
    CC=""
 
4139
  else
 
4140
    case $cross_compiling:$ac_tool_warned in
 
4141
yes:)
 
4142
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
4143
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
4144
ac_tool_warned=yes ;;
 
4145
esac
 
4146
    CC=$ac_ct_CC
 
4147
  fi
 
4148
else
 
4149
  CC="$ac_cv_prog_CC"
 
4150
fi
 
4151
 
 
4152
if test -z "$CC"; then
 
4153
          if test -n "$ac_tool_prefix"; then
 
4154
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
 
4155
set dummy ${ac_tool_prefix}cc; ac_word=$2
 
4156
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
4157
$as_echo_n "checking for $ac_word... " >&6; }
 
4158
if test "${ac_cv_prog_CC+set}" = set; then :
 
4159
  $as_echo_n "(cached) " >&6
 
4160
else
 
4161
  if test -n "$CC"; then
 
4162
  ac_cv_prog_CC="$CC" # Let the user override the test.
 
4163
else
 
4164
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4165
for as_dir in $PATH
 
4166
do
 
4167
  IFS=$as_save_IFS
 
4168
  test -z "$as_dir" && as_dir=.
 
4169
    for ac_exec_ext in '' $ac_executable_extensions; do
 
4170
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
4171
    ac_cv_prog_CC="${ac_tool_prefix}cc"
 
4172
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4173
    break 2
 
4174
  fi
 
4175
done
 
4176
  done
 
4177
IFS=$as_save_IFS
 
4178
 
 
4179
fi
 
4180
fi
 
4181
CC=$ac_cv_prog_CC
 
4182
if test -n "$CC"; then
 
4183
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 
4184
$as_echo "$CC" >&6; }
 
4185
else
 
4186
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
4187
$as_echo "no" >&6; }
 
4188
fi
 
4189
 
 
4190
 
 
4191
  fi
 
4192
fi
 
4193
if test -z "$CC"; then
 
4194
  # Extract the first word of "cc", so it can be a program name with args.
 
4195
set dummy cc; ac_word=$2
 
4196
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
4197
$as_echo_n "checking for $ac_word... " >&6; }
 
4198
if test "${ac_cv_prog_CC+set}" = set; then :
 
4199
  $as_echo_n "(cached) " >&6
 
4200
else
 
4201
  if test -n "$CC"; then
 
4202
  ac_cv_prog_CC="$CC" # Let the user override the test.
 
4203
else
 
4204
  ac_prog_rejected=no
 
4205
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4206
for as_dir in $PATH
 
4207
do
 
4208
  IFS=$as_save_IFS
 
4209
  test -z "$as_dir" && as_dir=.
 
4210
    for ac_exec_ext in '' $ac_executable_extensions; do
 
4211
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
4212
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
 
4213
       ac_prog_rejected=yes
 
4214
       continue
 
4215
     fi
 
4216
    ac_cv_prog_CC="cc"
 
4217
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4218
    break 2
 
4219
  fi
 
4220
done
 
4221
  done
 
4222
IFS=$as_save_IFS
 
4223
 
 
4224
if test $ac_prog_rejected = yes; then
 
4225
  # We found a bogon in the path, so make sure we never use it.
 
4226
  set dummy $ac_cv_prog_CC
 
4227
  shift
 
4228
  if test $@%:@ != 0; then
 
4229
    # We chose a different compiler from the bogus one.
 
4230
    # However, it has the same basename, so the bogon will be chosen
 
4231
    # first if we set CC to just the basename; use the full file name.
 
4232
    shift
 
4233
    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
 
4234
  fi
 
4235
fi
 
4236
fi
 
4237
fi
 
4238
CC=$ac_cv_prog_CC
 
4239
if test -n "$CC"; then
 
4240
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 
4241
$as_echo "$CC" >&6; }
 
4242
else
 
4243
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
4244
$as_echo "no" >&6; }
 
4245
fi
 
4246
 
 
4247
 
 
4248
fi
 
4249
if test -z "$CC"; then
 
4250
  if test -n "$ac_tool_prefix"; then
 
4251
  for ac_prog in cl.exe
 
4252
  do
 
4253
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 
4254
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 
4255
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
4256
$as_echo_n "checking for $ac_word... " >&6; }
 
4257
if test "${ac_cv_prog_CC+set}" = set; then :
 
4258
  $as_echo_n "(cached) " >&6
 
4259
else
 
4260
  if test -n "$CC"; then
 
4261
  ac_cv_prog_CC="$CC" # Let the user override the test.
 
4262
else
 
4263
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4264
for as_dir in $PATH
 
4265
do
 
4266
  IFS=$as_save_IFS
 
4267
  test -z "$as_dir" && as_dir=.
 
4268
    for ac_exec_ext in '' $ac_executable_extensions; do
 
4269
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
4270
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
 
4271
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4272
    break 2
 
4273
  fi
 
4274
done
 
4275
  done
 
4276
IFS=$as_save_IFS
 
4277
 
 
4278
fi
 
4279
fi
 
4280
CC=$ac_cv_prog_CC
 
4281
if test -n "$CC"; then
 
4282
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 
4283
$as_echo "$CC" >&6; }
 
4284
else
 
4285
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
4286
$as_echo "no" >&6; }
 
4287
fi
 
4288
 
 
4289
 
 
4290
    test -n "$CC" && break
 
4291
  done
 
4292
fi
 
4293
if test -z "$CC"; then
 
4294
  ac_ct_CC=$CC
 
4295
  for ac_prog in cl.exe
 
4296
do
 
4297
  # Extract the first word of "$ac_prog", so it can be a program name with args.
 
4298
set dummy $ac_prog; ac_word=$2
 
4299
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
4300
$as_echo_n "checking for $ac_word... " >&6; }
 
4301
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
 
4302
  $as_echo_n "(cached) " >&6
 
4303
else
 
4304
  if test -n "$ac_ct_CC"; then
 
4305
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
 
4306
else
 
4307
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4308
for as_dir in $PATH
 
4309
do
 
4310
  IFS=$as_save_IFS
 
4311
  test -z "$as_dir" && as_dir=.
 
4312
    for ac_exec_ext in '' $ac_executable_extensions; do
 
4313
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
4314
    ac_cv_prog_ac_ct_CC="$ac_prog"
 
4315
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4316
    break 2
 
4317
  fi
 
4318
done
 
4319
  done
 
4320
IFS=$as_save_IFS
 
4321
 
 
4322
fi
 
4323
fi
 
4324
ac_ct_CC=$ac_cv_prog_ac_ct_CC
 
4325
if test -n "$ac_ct_CC"; then
 
4326
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
 
4327
$as_echo "$ac_ct_CC" >&6; }
 
4328
else
 
4329
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
4330
$as_echo "no" >&6; }
 
4331
fi
 
4332
 
 
4333
 
 
4334
  test -n "$ac_ct_CC" && break
 
4335
done
 
4336
 
 
4337
  if test "x$ac_ct_CC" = x; then
 
4338
    CC=""
 
4339
  else
 
4340
    case $cross_compiling:$ac_tool_warned in
 
4341
yes:)
 
4342
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
4343
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
4344
ac_tool_warned=yes ;;
 
4345
esac
 
4346
    CC=$ac_ct_CC
 
4347
  fi
 
4348
fi
 
4349
 
 
4350
fi
 
4351
 
 
4352
 
 
4353
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
4354
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
4355
as_fn_error "no acceptable C compiler found in \$PATH
 
4356
See \`config.log' for more details." "$LINENO" 5; }
 
4357
 
 
4358
# Provide some information about the compiler.
 
4359
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
 
4360
set X $ac_compile
 
4361
ac_compiler=$2
 
4362
for ac_option in --version -v -V -qversion; do
 
4363
  { { ac_try="$ac_compiler $ac_option >&5"
 
4364
case "(($ac_try" in
 
4365
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4366
  *) ac_try_echo=$ac_try;;
 
4367
esac
 
4368
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
4369
$as_echo "$ac_try_echo"; } >&5
 
4370
  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
 
4371
  ac_status=$?
 
4372
  if test -s conftest.err; then
 
4373
    sed '10a\
 
4374
... rest of stderr output deleted ...
 
4375
         10q' conftest.err >conftest.er1
 
4376
    cat conftest.er1 >&5
 
4377
  fi
 
4378
  rm -f conftest.er1 conftest.err
 
4379
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
4380
  test $ac_status = 0; }
 
4381
done
 
4382
 
 
4383
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
 
4384
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
 
4385
if test "${ac_cv_c_compiler_gnu+set}" = set; then :
 
4386
  $as_echo_n "(cached) " >&6
 
4387
else
 
4388
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
4389
/* end confdefs.h.  */
 
4390
 
 
4391
int
 
4392
main ()
 
4393
{
 
4394
#ifndef __GNUC__
 
4395
       choke me
 
4396
#endif
 
4397
 
 
4398
  ;
 
4399
  return 0;
 
4400
}
 
4401
_ACEOF
 
4402
if ac_fn_c_try_compile "$LINENO"; then :
 
4403
  ac_compiler_gnu=yes
 
4404
else
 
4405
  ac_compiler_gnu=no
 
4406
fi
 
4407
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
4408
ac_cv_c_compiler_gnu=$ac_compiler_gnu
 
4409
 
 
4410
fi
 
4411
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
 
4412
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
 
4413
if test $ac_compiler_gnu = yes; then
 
4414
  GCC=yes
 
4415
else
 
4416
  GCC=
 
4417
fi
 
4418
ac_test_CFLAGS=${CFLAGS+set}
 
4419
ac_save_CFLAGS=$CFLAGS
 
4420
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
 
4421
$as_echo_n "checking whether $CC accepts -g... " >&6; }
 
4422
if test "${ac_cv_prog_cc_g+set}" = set; then :
 
4423
  $as_echo_n "(cached) " >&6
 
4424
else
 
4425
  ac_save_c_werror_flag=$ac_c_werror_flag
 
4426
   ac_c_werror_flag=yes
 
4427
   ac_cv_prog_cc_g=no
 
4428
   CFLAGS="-g"
 
4429
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
4430
/* end confdefs.h.  */
 
4431
 
 
4432
int
 
4433
main ()
 
4434
{
 
4435
 
 
4436
  ;
 
4437
  return 0;
 
4438
}
 
4439
_ACEOF
 
4440
if ac_fn_c_try_compile "$LINENO"; then :
 
4441
  ac_cv_prog_cc_g=yes
 
4442
else
 
4443
  CFLAGS=""
 
4444
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
4445
/* end confdefs.h.  */
 
4446
 
 
4447
int
 
4448
main ()
 
4449
{
 
4450
 
 
4451
  ;
 
4452
  return 0;
 
4453
}
 
4454
_ACEOF
 
4455
if ac_fn_c_try_compile "$LINENO"; then :
 
4456
  
 
4457
else
 
4458
  ac_c_werror_flag=$ac_save_c_werror_flag
 
4459
         CFLAGS="-g"
 
4460
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
4461
/* end confdefs.h.  */
 
4462
 
 
4463
int
 
4464
main ()
 
4465
{
 
4466
 
 
4467
  ;
 
4468
  return 0;
 
4469
}
 
4470
_ACEOF
 
4471
if ac_fn_c_try_compile "$LINENO"; then :
 
4472
  ac_cv_prog_cc_g=yes
 
4473
fi
 
4474
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
4475
fi
 
4476
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
4477
fi
 
4478
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
4479
   ac_c_werror_flag=$ac_save_c_werror_flag
 
4480
fi
 
4481
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
 
4482
$as_echo "$ac_cv_prog_cc_g" >&6; }
 
4483
if test "$ac_test_CFLAGS" = set; then
 
4484
  CFLAGS=$ac_save_CFLAGS
 
4485
elif test $ac_cv_prog_cc_g = yes; then
 
4486
  if test "$GCC" = yes; then
 
4487
    CFLAGS="-g -O2"
 
4488
  else
 
4489
    CFLAGS="-g"
 
4490
  fi
 
4491
else
 
4492
  if test "$GCC" = yes; then
 
4493
    CFLAGS="-O2"
 
4494
  else
 
4495
    CFLAGS=
 
4496
  fi
 
4497
fi
 
4498
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
 
4499
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
 
4500
if test "${ac_cv_prog_cc_c89+set}" = set; then :
 
4501
  $as_echo_n "(cached) " >&6
 
4502
else
 
4503
  ac_cv_prog_cc_c89=no
 
4504
ac_save_CC=$CC
 
4505
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
4506
/* end confdefs.h.  */
 
4507
#include <stdarg.h>
 
4508
#include <stdio.h>
 
4509
#include <sys/types.h>
 
4510
#include <sys/stat.h>
 
4511
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
 
4512
struct buf { int x; };
 
4513
FILE * (*rcsopen) (struct buf *, struct stat *, int);
 
4514
static char *e (p, i)
 
4515
     char **p;
 
4516
     int i;
 
4517
{
 
4518
  return p[i];
 
4519
}
 
4520
static char *f (char * (*g) (char **, int), char **p, ...)
 
4521
{
 
4522
  char *s;
 
4523
  va_list v;
 
4524
  va_start (v,p);
 
4525
  s = g (p, va_arg (v,int));
 
4526
  va_end (v);
 
4527
  return s;
 
4528
}
 
4529
 
 
4530
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
 
4531
   function prototypes and stuff, but not '\xHH' hex character constants.
 
4532
   These don't provoke an error unfortunately, instead are silently treated
 
4533
   as 'x'.  The following induces an error, until -std is added to get
 
4534
   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
 
4535
   array size at least.  It's necessary to write '\x00'==0 to get something
 
4536
   that's true only with -std.  */
 
4537
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
 
4538
 
 
4539
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
 
4540
   inside strings and character constants.  */
 
4541
#define FOO(x) 'x'
 
4542
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
 
4543
 
 
4544
int test (int i, double x);
 
4545
struct s1 {int (*f) (int a);};
 
4546
struct s2 {int (*f) (double a);};
 
4547
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
 
4548
int argc;
 
4549
char **argv;
 
4550
int
 
4551
main ()
 
4552
{
 
4553
return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
 
4554
  ;
 
4555
  return 0;
 
4556
}
 
4557
_ACEOF
 
4558
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
 
4559
        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
 
4560
do
 
4561
  CC="$ac_save_CC $ac_arg"
 
4562
  if ac_fn_c_try_compile "$LINENO"; then :
 
4563
  ac_cv_prog_cc_c89=$ac_arg
 
4564
fi
 
4565
rm -f core conftest.err conftest.$ac_objext
 
4566
  test "x$ac_cv_prog_cc_c89" != "xno" && break
 
4567
done
 
4568
rm -f conftest.$ac_ext
 
4569
CC=$ac_save_CC
 
4570
 
 
4571
fi
 
4572
# AC_CACHE_VAL
 
4573
case "x$ac_cv_prog_cc_c89" in
 
4574
  x)
 
4575
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
 
4576
$as_echo "none needed" >&6; } ;;
 
4577
  xno)
 
4578
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
 
4579
$as_echo "unsupported" >&6; } ;;
 
4580
  *)
 
4581
    CC="$CC $ac_cv_prog_cc_c89"
 
4582
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
 
4583
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
 
4584
esac
 
4585
if test "x$ac_cv_prog_cc_c89" != xno; then :
 
4586
  
 
4587
fi
 
4588
 
 
4589
ac_ext=cpp
 
4590
ac_cpp='$CXXCPP $CPPFLAGS'
 
4591
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
4592
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
4593
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 
4594
 
 
4595
depcc="$CC"   am_compiler_list=
 
4596
 
 
4597
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
 
4598
$as_echo_n "checking dependency style of $depcc... " >&6; }
 
4599
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
 
4600
  $as_echo_n "(cached) " >&6
 
4601
else
 
4602
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
 
4603
  # We make a subdir and do the tests there.  Otherwise we can end up
 
4604
  # making bogus files that we don't know about and never remove.  For
 
4605
  # instance it was reported that on HP-UX the gcc test will end up
 
4606
  # making a dummy file named `D' -- because `-MD' means `put the output
 
4607
  # in D'.
 
4608
  mkdir conftest.dir
 
4609
  # Copy depcomp to subdir because otherwise we won't find it if we're
 
4610
  # using a relative directory.
 
4611
  cp "$am_depcomp" conftest.dir
 
4612
  cd conftest.dir
 
4613
  # We will build objects and dependencies in a subdirectory because
 
4614
  # it helps to detect inapplicable dependency modes.  For instance
 
4615
  # both Tru64's cc and ICC support -MD to output dependencies as a
 
4616
  # side effect of compilation, but ICC will put the dependencies in
 
4617
  # the current directory while Tru64 will put them in the object
 
4618
  # directory.
 
4619
  mkdir sub
 
4620
 
 
4621
  am_cv_CC_dependencies_compiler_type=none
 
4622
  if test "$am_compiler_list" = ""; then
 
4623
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
 
4624
  fi
 
4625
  am__universal=false
 
4626
  case " $depcc " in #(
 
4627
     *\ -arch\ *\ -arch\ *) am__universal=true ;;
 
4628
     esac
 
4629
 
 
4630
  for depmode in $am_compiler_list; do
 
4631
    # Setup a source with many dependencies, because some compilers
 
4632
    # like to wrap large dependency lists on column 80 (with \), and
 
4633
    # we should not choose a depcomp mode which is confused by this.
 
4634
    #
 
4635
    # We need to recreate these files for each test, as the compiler may
 
4636
    # overwrite some of them when testing with obscure command lines.
 
4637
    # This happens at least with the AIX C compiler.
 
4638
    : > sub/conftest.c
 
4639
    for i in 1 2 3 4 5 6; do
 
4640
      echo '#include "conftst'$i'.h"' >> sub/conftest.c
 
4641
      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
 
4642
      # Solaris 8's {/usr,}/bin/sh.
 
4643
      touch sub/conftst$i.h
 
4644
    done
 
4645
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
 
4646
 
 
4647
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
 
4648
    # mode.  It turns out that the SunPro C++ compiler does not properly
 
4649
    # handle `-M -o', and we need to detect this.  Also, some Intel
 
4650
    # versions had trouble with output in subdirs
 
4651
    am__obj=sub/conftest.${OBJEXT-o}
 
4652
    am__minus_obj="-o $am__obj"
 
4653
    case $depmode in
 
4654
    gcc)
 
4655
      # This depmode causes a compiler race in universal mode.
 
4656
      test "$am__universal" = false || continue
 
4657
      ;;
 
4658
    nosideeffect)
 
4659
      # after this tag, mechanisms are not by side-effect, so they'll
 
4660
      # only be used when explicitly requested
 
4661
      if test "x$enable_dependency_tracking" = xyes; then
 
4662
        continue
 
4663
      else
 
4664
        break
 
4665
      fi
 
4666
      ;;
 
4667
    msvisualcpp | msvcmsys)
 
4668
      # This compiler won't grok `-c -o', but also, the minuso test has
 
4669
      # not run yet.  These depmodes are late enough in the game, and
 
4670
      # so weak that their functioning should not be impacted.
 
4671
      am__obj=conftest.${OBJEXT-o}
 
4672
      am__minus_obj=
 
4673
      ;;
 
4674
    none) break ;;
 
4675
    esac
 
4676
    if depmode=$depmode \
 
4677
       source=sub/conftest.c object=$am__obj \
 
4678
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
 
4679
       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
 
4680
         >/dev/null 2>conftest.err &&
 
4681
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
 
4682
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
 
4683
       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
 
4684
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
 
4685
      # icc doesn't choke on unknown options, it will just issue warnings
 
4686
      # or remarks (even with -Werror).  So we grep stderr for any message
 
4687
      # that says an option was ignored or not supported.
 
4688
      # When given -MP, icc 7.0 and 7.1 complain thusly:
 
4689
      #   icc: Command line warning: ignoring option '-M'; no argument required
 
4690
      # The diagnosis changed in icc 8.0:
 
4691
      #   icc: Command line remark: option '-MP' not supported
 
4692
      if (grep 'ignoring option' conftest.err ||
 
4693
          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
 
4694
        am_cv_CC_dependencies_compiler_type=$depmode
 
4695
        break
 
4696
      fi
 
4697
    fi
 
4698
  done
 
4699
 
 
4700
  cd ..
 
4701
  rm -rf conftest.dir
 
4702
else
 
4703
  am_cv_CC_dependencies_compiler_type=none
 
4704
fi
 
4705
 
 
4706
fi
 
4707
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
 
4708
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
 
4709
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
 
4710
 
 
4711
 if 
 
4712
  test "x$enable_dependency_tracking" != xno \
 
4713
  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
 
4714
  am__fastdepCC_TRUE=
 
4715
  am__fastdepCC_FALSE='#'
 
4716
else
 
4717
  am__fastdepCC_TRUE='#'
 
4718
  am__fastdepCC_FALSE=
 
4719
fi
 
4720
 
 
4721
 
 
4722
ac_ext=c
 
4723
ac_cpp='$CPP $CPPFLAGS'
 
4724
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
4725
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
4726
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
4727
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
 
4728
$as_echo_n "checking how to run the C preprocessor... " >&6; }
 
4729
# On Suns, sometimes $CPP names a directory.
 
4730
if test -n "$CPP" && test -d "$CPP"; then
 
4731
  CPP=
 
4732
fi
 
4733
if test -z "$CPP"; then
 
4734
  if test "${ac_cv_prog_CPP+set}" = set; then :
 
4735
  $as_echo_n "(cached) " >&6
 
4736
else
 
4737
      # Double quotes because CPP needs to be expanded
 
4738
    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
 
4739
    do
 
4740
      ac_preproc_ok=false
 
4741
for ac_c_preproc_warn_flag in '' yes
 
4742
do
 
4743
  # Use a header file that comes with gcc, so configuring glibc
 
4744
  # with a fresh cross-compiler works.
 
4745
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
4746
  # <limits.h> exists even on freestanding compilers.
 
4747
  # On the NeXT, cc -E runs the code through the compiler's parser,
 
4748
  # not just through cpp. "Syntax error" is here to catch this case.
 
4749
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
4750
/* end confdefs.h.  */
 
4751
@%:@ifdef __STDC__
 
4752
@%:@ include <limits.h>
 
4753
@%:@else
 
4754
@%:@ include <assert.h>
 
4755
@%:@endif
 
4756
                     Syntax error
 
4757
_ACEOF
 
4758
if ac_fn_c_try_cpp "$LINENO"; then :
 
4759
  
 
4760
else
 
4761
  # Broken: fails on valid input.
 
4762
continue
 
4763
fi
 
4764
rm -f conftest.err conftest.$ac_ext
 
4765
 
 
4766
  # OK, works on sane cases.  Now check whether nonexistent headers
 
4767
  # can be detected and how.
 
4768
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
4769
/* end confdefs.h.  */
 
4770
@%:@include <ac_nonexistent.h>
 
4771
_ACEOF
 
4772
if ac_fn_c_try_cpp "$LINENO"; then :
 
4773
  # Broken: success on invalid input.
 
4774
continue
 
4775
else
 
4776
  # Passes both tests.
 
4777
ac_preproc_ok=:
 
4778
break
 
4779
fi
 
4780
rm -f conftest.err conftest.$ac_ext
 
4781
 
 
4782
done
 
4783
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
 
4784
rm -f conftest.err conftest.$ac_ext
 
4785
if $ac_preproc_ok; then :
 
4786
  break
 
4787
fi
 
4788
 
 
4789
    done
 
4790
    ac_cv_prog_CPP=$CPP
 
4791
  
 
4792
fi
 
4793
  CPP=$ac_cv_prog_CPP
 
4794
else
 
4795
  ac_cv_prog_CPP=$CPP
 
4796
fi
 
4797
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
 
4798
$as_echo "$CPP" >&6; }
 
4799
ac_preproc_ok=false
 
4800
for ac_c_preproc_warn_flag in '' yes
 
4801
do
 
4802
  # Use a header file that comes with gcc, so configuring glibc
 
4803
  # with a fresh cross-compiler works.
 
4804
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
4805
  # <limits.h> exists even on freestanding compilers.
 
4806
  # On the NeXT, cc -E runs the code through the compiler's parser,
 
4807
  # not just through cpp. "Syntax error" is here to catch this case.
 
4808
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
4809
/* end confdefs.h.  */
 
4810
@%:@ifdef __STDC__
 
4811
@%:@ include <limits.h>
 
4812
@%:@else
 
4813
@%:@ include <assert.h>
 
4814
@%:@endif
 
4815
                     Syntax error
 
4816
_ACEOF
 
4817
if ac_fn_c_try_cpp "$LINENO"; then :
 
4818
  
 
4819
else
 
4820
  # Broken: fails on valid input.
 
4821
continue
 
4822
fi
 
4823
rm -f conftest.err conftest.$ac_ext
 
4824
 
 
4825
  # OK, works on sane cases.  Now check whether nonexistent headers
 
4826
  # can be detected and how.
 
4827
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
4828
/* end confdefs.h.  */
 
4829
@%:@include <ac_nonexistent.h>
 
4830
_ACEOF
 
4831
if ac_fn_c_try_cpp "$LINENO"; then :
 
4832
  # Broken: success on invalid input.
 
4833
continue
 
4834
else
 
4835
  # Passes both tests.
 
4836
ac_preproc_ok=:
 
4837
break
 
4838
fi
 
4839
rm -f conftest.err conftest.$ac_ext
 
4840
 
 
4841
done
 
4842
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
 
4843
rm -f conftest.err conftest.$ac_ext
 
4844
if $ac_preproc_ok; then :
 
4845
  
 
4846
else
 
4847
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
4848
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
4849
as_fn_error "C preprocessor \"$CPP\" fails sanity check
 
4850
See \`config.log' for more details." "$LINENO" 5; }
 
4851
fi
 
4852
 
 
4853
ac_ext=cpp
 
4854
ac_cpp='$CXXCPP $CPPFLAGS'
 
4855
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
4856
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
4857
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 
4858
 
 
4859
case `pwd` in
 
4860
  *\ * | *\     *)
 
4861
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
 
4862
$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
 
4863
esac
 
4864
 
 
4865
 
 
4866
 
 
4867
macro_version='2.2.6b'
 
4868
macro_revision='1.3017'
 
4869
 
 
4870
    
 
4871
    
 
4872
    
 
4873
 
 
4874
 
 
4875
    
 
4876
    
 
4877
    
 
4878
 
 
4879
 
 
4880
 
 
4881
 
 
4882
ltmain="$ac_aux_dir/ltmain.sh"
 
4883
 
 
4884
# Make sure we can run config.sub.
 
4885
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
 
4886
  as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
 
4887
 
 
4888
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
 
4889
$as_echo_n "checking build system type... " >&6; }
 
4890
if test "${ac_cv_build+set}" = set; then :
 
4891
  $as_echo_n "(cached) " >&6
 
4892
else
 
4893
  ac_build_alias=$build_alias
 
4894
test "x$ac_build_alias" = x &&
 
4895
  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
 
4896
test "x$ac_build_alias" = x &&
 
4897
  as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
 
4898
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
 
4899
  as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
 
4900
 
 
4901
fi
 
4902
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
 
4903
$as_echo "$ac_cv_build" >&6; }
 
4904
case $ac_cv_build in
 
4905
*-*-*) ;;
 
4906
*) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
 
4907
esac
 
4908
build=$ac_cv_build
 
4909
ac_save_IFS=$IFS; IFS='-'
 
4910
set x $ac_cv_build
 
4911
shift
 
4912
build_cpu=$1
 
4913
build_vendor=$2
 
4914
shift; shift
 
4915
# Remember, the first character of IFS is used to create $*,
 
4916
# except with old shells:
 
4917
build_os=$*
 
4918
IFS=$ac_save_IFS
 
4919
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
 
4920
 
 
4921
 
 
4922
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
 
4923
$as_echo_n "checking host system type... " >&6; }
 
4924
if test "${ac_cv_host+set}" = set; then :
 
4925
  $as_echo_n "(cached) " >&6
 
4926
else
 
4927
  if test "x$host_alias" = x; then
 
4928
  ac_cv_host=$ac_cv_build
 
4929
else
 
4930
  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
 
4931
    as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
 
4932
fi
 
4933
 
 
4934
fi
 
4935
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
 
4936
$as_echo "$ac_cv_host" >&6; }
 
4937
case $ac_cv_host in
 
4938
*-*-*) ;;
 
4939
*) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
 
4940
esac
 
4941
host=$ac_cv_host
 
4942
ac_save_IFS=$IFS; IFS='-'
 
4943
set x $ac_cv_host
 
4944
shift
 
4945
host_cpu=$1
 
4946
host_vendor=$2
 
4947
shift; shift
 
4948
# Remember, the first character of IFS is used to create $*,
 
4949
# except with old shells:
 
4950
host_os=$*
 
4951
IFS=$ac_save_IFS
 
4952
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
 
4953
 
 
4954
 
 
4955
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
 
4956
$as_echo_n "checking for a sed that does not truncate output... " >&6; }
 
4957
if test "${ac_cv_path_SED+set}" = set; then :
 
4958
  $as_echo_n "(cached) " >&6
 
4959
else
 
4960
            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
 
4961
     for ac_i in 1 2 3 4 5 6 7; do
 
4962
       ac_script="$ac_script$as_nl$ac_script"
 
4963
     done
 
4964
     echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
 
4965
     { ac_script=; unset ac_script;}
 
4966
     if test -z "$SED"; then
 
4967
  ac_path_SED_found=false
 
4968
  # Loop through the user's path and test for each of PROGNAME-LIST
 
4969
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4970
for as_dir in $PATH
 
4971
do
 
4972
  IFS=$as_save_IFS
 
4973
  test -z "$as_dir" && as_dir=.
 
4974
    for ac_prog in sed gsed; do
 
4975
    for ac_exec_ext in '' $ac_executable_extensions; do
 
4976
      ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
 
4977
      { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
 
4978
# Check for GNU ac_path_SED and select it if it is found.
 
4979
  # Check for GNU $ac_path_SED
 
4980
case `"$ac_path_SED" --version 2>&1` in
 
4981
*GNU*)
 
4982
  ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
 
4983
*)
 
4984
  ac_count=0
 
4985
  $as_echo_n 0123456789 >"conftest.in"
 
4986
  while :
 
4987
  do
 
4988
    cat "conftest.in" "conftest.in" >"conftest.tmp"
 
4989
    mv "conftest.tmp" "conftest.in"
 
4990
    cp "conftest.in" "conftest.nl"
 
4991
    $as_echo '' >> "conftest.nl"
 
4992
    "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
 
4993
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 
4994
    as_fn_arith $ac_count + 1 && ac_count=$as_val
 
4995
    if test $ac_count -gt ${ac_path_SED_max-0}; then
 
4996
      # Best one so far, save it but keep looking for a better one
 
4997
      ac_cv_path_SED="$ac_path_SED"
 
4998
      ac_path_SED_max=$ac_count
 
4999
    fi
 
5000
    # 10*(2^10) chars as input seems more than enough
 
5001
    test $ac_count -gt 10 && break
 
5002
  done
 
5003
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 
5004
esac
 
5005
 
 
5006
      $ac_path_SED_found && break 3
 
5007
    done
 
5008
  done
 
5009
  done
 
5010
IFS=$as_save_IFS
 
5011
  if test -z "$ac_cv_path_SED"; then
 
5012
    as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
 
5013
  fi
 
5014
else
 
5015
  ac_cv_path_SED=$SED
 
5016
fi
 
5017
 
 
5018
fi
 
5019
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
 
5020
$as_echo "$ac_cv_path_SED" >&6; }
 
5021
 SED="$ac_cv_path_SED"
 
5022
  rm -f conftest.sed
 
5023
 
 
5024
test -z "$SED" && SED=sed
 
5025
Xsed="$SED -e 1s/^X//"
 
5026
 
 
5027
    
 
5028
    
 
5029
    
 
5030
 
 
5031
 
 
5032
    
 
5033
    
 
5034
    
 
5035
 
 
5036
 
 
5037
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
 
5038
$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
 
5039
if test "${ac_cv_path_GREP+set}" = set; then :
 
5040
  $as_echo_n "(cached) " >&6
 
5041
else
 
5042
  if test -z "$GREP"; then
 
5043
  ac_path_GREP_found=false
 
5044
  # Loop through the user's path and test for each of PROGNAME-LIST
 
5045
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5046
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
 
5047
do
 
5048
  IFS=$as_save_IFS
 
5049
  test -z "$as_dir" && as_dir=.
 
5050
    for ac_prog in grep ggrep; do
 
5051
    for ac_exec_ext in '' $ac_executable_extensions; do
 
5052
      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
 
5053
      { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
 
5054
# Check for GNU ac_path_GREP and select it if it is found.
 
5055
  # Check for GNU $ac_path_GREP
 
5056
case `"$ac_path_GREP" --version 2>&1` in
 
5057
*GNU*)
 
5058
  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
 
5059
*)
 
5060
  ac_count=0
 
5061
  $as_echo_n 0123456789 >"conftest.in"
 
5062
  while :
 
5063
  do
 
5064
    cat "conftest.in" "conftest.in" >"conftest.tmp"
 
5065
    mv "conftest.tmp" "conftest.in"
 
5066
    cp "conftest.in" "conftest.nl"
 
5067
    $as_echo 'GREP' >> "conftest.nl"
 
5068
    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
 
5069
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 
5070
    as_fn_arith $ac_count + 1 && ac_count=$as_val
 
5071
    if test $ac_count -gt ${ac_path_GREP_max-0}; then
 
5072
      # Best one so far, save it but keep looking for a better one
 
5073
      ac_cv_path_GREP="$ac_path_GREP"
 
5074
      ac_path_GREP_max=$ac_count
 
5075
    fi
 
5076
    # 10*(2^10) chars as input seems more than enough
 
5077
    test $ac_count -gt 10 && break
 
5078
  done
 
5079
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 
5080
esac
 
5081
 
 
5082
      $ac_path_GREP_found && break 3
 
5083
    done
 
5084
  done
 
5085
  done
 
5086
IFS=$as_save_IFS
 
5087
  if test -z "$ac_cv_path_GREP"; then
 
5088
    as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
 
5089
  fi
 
5090
else
 
5091
  ac_cv_path_GREP=$GREP
 
5092
fi
 
5093
 
 
5094
fi
 
5095
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
 
5096
$as_echo "$ac_cv_path_GREP" >&6; }
 
5097
 GREP="$ac_cv_path_GREP"
 
5098
 
 
5099
 
 
5100
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
 
5101
$as_echo_n "checking for egrep... " >&6; }
 
5102
if test "${ac_cv_path_EGREP+set}" = set; then :
 
5103
  $as_echo_n "(cached) " >&6
 
5104
else
 
5105
  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
 
5106
   then ac_cv_path_EGREP="$GREP -E"
 
5107
   else
 
5108
     if test -z "$EGREP"; then
 
5109
  ac_path_EGREP_found=false
 
5110
  # Loop through the user's path and test for each of PROGNAME-LIST
 
5111
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5112
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
 
5113
do
 
5114
  IFS=$as_save_IFS
 
5115
  test -z "$as_dir" && as_dir=.
 
5116
    for ac_prog in egrep; do
 
5117
    for ac_exec_ext in '' $ac_executable_extensions; do
 
5118
      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
 
5119
      { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
 
5120
# Check for GNU ac_path_EGREP and select it if it is found.
 
5121
  # Check for GNU $ac_path_EGREP
 
5122
case `"$ac_path_EGREP" --version 2>&1` in
 
5123
*GNU*)
 
5124
  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
 
5125
*)
 
5126
  ac_count=0
 
5127
  $as_echo_n 0123456789 >"conftest.in"
 
5128
  while :
 
5129
  do
 
5130
    cat "conftest.in" "conftest.in" >"conftest.tmp"
 
5131
    mv "conftest.tmp" "conftest.in"
 
5132
    cp "conftest.in" "conftest.nl"
 
5133
    $as_echo 'EGREP' >> "conftest.nl"
 
5134
    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
 
5135
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 
5136
    as_fn_arith $ac_count + 1 && ac_count=$as_val
 
5137
    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
 
5138
      # Best one so far, save it but keep looking for a better one
 
5139
      ac_cv_path_EGREP="$ac_path_EGREP"
 
5140
      ac_path_EGREP_max=$ac_count
 
5141
    fi
 
5142
    # 10*(2^10) chars as input seems more than enough
 
5143
    test $ac_count -gt 10 && break
 
5144
  done
 
5145
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 
5146
esac
 
5147
 
 
5148
      $ac_path_EGREP_found && break 3
 
5149
    done
 
5150
  done
 
5151
  done
 
5152
IFS=$as_save_IFS
 
5153
  if test -z "$ac_cv_path_EGREP"; then
 
5154
    as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
 
5155
  fi
 
5156
else
 
5157
  ac_cv_path_EGREP=$EGREP
 
5158
fi
 
5159
 
 
5160
   fi
 
5161
fi
 
5162
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
 
5163
$as_echo "$ac_cv_path_EGREP" >&6; }
 
5164
 EGREP="$ac_cv_path_EGREP"
 
5165
 
 
5166
 
 
5167
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
 
5168
$as_echo_n "checking for fgrep... " >&6; }
 
5169
if test "${ac_cv_path_FGREP+set}" = set; then :
 
5170
  $as_echo_n "(cached) " >&6
 
5171
else
 
5172
  if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
 
5173
   then ac_cv_path_FGREP="$GREP -F"
 
5174
   else
 
5175
     if test -z "$FGREP"; then
 
5176
  ac_path_FGREP_found=false
 
5177
  # Loop through the user's path and test for each of PROGNAME-LIST
 
5178
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5179
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
 
5180
do
 
5181
  IFS=$as_save_IFS
 
5182
  test -z "$as_dir" && as_dir=.
 
5183
    for ac_prog in fgrep; do
 
5184
    for ac_exec_ext in '' $ac_executable_extensions; do
 
5185
      ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
 
5186
      { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
 
5187
# Check for GNU ac_path_FGREP and select it if it is found.
 
5188
  # Check for GNU $ac_path_FGREP
 
5189
case `"$ac_path_FGREP" --version 2>&1` in
 
5190
*GNU*)
 
5191
  ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
 
5192
*)
 
5193
  ac_count=0
 
5194
  $as_echo_n 0123456789 >"conftest.in"
 
5195
  while :
 
5196
  do
 
5197
    cat "conftest.in" "conftest.in" >"conftest.tmp"
 
5198
    mv "conftest.tmp" "conftest.in"
 
5199
    cp "conftest.in" "conftest.nl"
 
5200
    $as_echo 'FGREP' >> "conftest.nl"
 
5201
    "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
 
5202
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 
5203
    as_fn_arith $ac_count + 1 && ac_count=$as_val
 
5204
    if test $ac_count -gt ${ac_path_FGREP_max-0}; then
 
5205
      # Best one so far, save it but keep looking for a better one
 
5206
      ac_cv_path_FGREP="$ac_path_FGREP"
 
5207
      ac_path_FGREP_max=$ac_count
 
5208
    fi
 
5209
    # 10*(2^10) chars as input seems more than enough
 
5210
    test $ac_count -gt 10 && break
 
5211
  done
 
5212
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 
5213
esac
 
5214
 
 
5215
      $ac_path_FGREP_found && break 3
 
5216
    done
 
5217
  done
 
5218
  done
 
5219
IFS=$as_save_IFS
 
5220
  if test -z "$ac_cv_path_FGREP"; then
 
5221
    as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
 
5222
  fi
 
5223
else
 
5224
  ac_cv_path_FGREP=$FGREP
 
5225
fi
 
5226
 
 
5227
   fi
 
5228
fi
 
5229
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
 
5230
$as_echo "$ac_cv_path_FGREP" >&6; }
 
5231
 FGREP="$ac_cv_path_FGREP"
 
5232
 
 
5233
 
 
5234
test -z "$GREP" && GREP=grep
 
5235
 
 
5236
    
 
5237
    
 
5238
    
 
5239
 
 
5240
 
 
5241
    
 
5242
    
 
5243
    
 
5244
 
 
5245
 
 
5246
    
 
5247
    
 
5248
    
 
5249
 
 
5250
 
 
5251
 
 
5252
 
 
5253
 
 
5254
@%:@ Check whether --with-gnu-ld was given.
 
5255
if test "${with_gnu_ld+set}" = set; then :
 
5256
  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
 
5257
else
 
5258
  with_gnu_ld=no
 
5259
fi
 
5260
 
 
5261
ac_prog=ld
 
5262
if test "$GCC" = yes; then
 
5263
  # Check if gcc -print-prog-name=ld gives a path.
 
5264
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
 
5265
$as_echo_n "checking for ld used by $CC... " >&6; }
 
5266
  case $host in
 
5267
  *-*-mingw*)
 
5268
    # gcc leaves a trailing carriage return which upsets mingw
 
5269
    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
 
5270
  *)
 
5271
    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
 
5272
  esac
 
5273
  case $ac_prog in
 
5274
    # Accept absolute paths.
 
5275
    [\\/]* | ?:[\\/]*)
 
5276
      re_direlt='/[^/][^/]*/\.\./'
 
5277
      # Canonicalize the pathname of ld
 
5278
      ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
 
5279
      while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
 
5280
        ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
 
5281
      done
 
5282
      test -z "$LD" && LD="$ac_prog"
 
5283
      ;;
 
5284
  "")
 
5285
    # If it fails, then pretend we aren't using GCC.
 
5286
    ac_prog=ld
 
5287
    ;;
 
5288
  *)
 
5289
    # If it is relative, then search for the first ld in PATH.
 
5290
    with_gnu_ld=unknown
 
5291
    ;;
 
5292
  esac
 
5293
elif test "$with_gnu_ld" = yes; then
 
5294
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
 
5295
$as_echo_n "checking for GNU ld... " >&6; }
 
5296
else
 
5297
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
 
5298
$as_echo_n "checking for non-GNU ld... " >&6; }
 
5299
fi
 
5300
if test "${lt_cv_path_LD+set}" = set; then :
 
5301
  $as_echo_n "(cached) " >&6
 
5302
else
 
5303
  if test -z "$LD"; then
 
5304
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
 
5305
  for ac_dir in $PATH; do
 
5306
    IFS="$lt_save_ifs"
 
5307
    test -z "$ac_dir" && ac_dir=.
 
5308
    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
 
5309
      lt_cv_path_LD="$ac_dir/$ac_prog"
 
5310
      # Check to see if the program is GNU ld.  I'd rather use --version,
 
5311
      # but apparently some variants of GNU ld only accept -v.
 
5312
      # Break only if it was the GNU/non-GNU ld that we prefer.
 
5313
      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
 
5314
      *GNU* | *'with BFD'*)
 
5315
        test "$with_gnu_ld" != no && break
 
5316
        ;;
 
5317
      *)
 
5318
        test "$with_gnu_ld" != yes && break
 
5319
        ;;
 
5320
      esac
 
5321
    fi
 
5322
  done
 
5323
  IFS="$lt_save_ifs"
 
5324
else
 
5325
  lt_cv_path_LD="$LD" # Let the user override the test with a path.
 
5326
fi
 
5327
fi
 
5328
 
 
5329
LD="$lt_cv_path_LD"
 
5330
if test -n "$LD"; then
 
5331
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
 
5332
$as_echo "$LD" >&6; }
 
5333
else
 
5334
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
5335
$as_echo "no" >&6; }
 
5336
fi
 
5337
test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
 
5338
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
 
5339
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
 
5340
if test "${lt_cv_prog_gnu_ld+set}" = set; then :
 
5341
  $as_echo_n "(cached) " >&6
 
5342
else
 
5343
  # I'd rather use --version here, but apparently some GNU lds only accept -v.
 
5344
case `$LD -v 2>&1 </dev/null` in
 
5345
*GNU* | *'with BFD'*)
 
5346
  lt_cv_prog_gnu_ld=yes
 
5347
  ;;
 
5348
*)
 
5349
  lt_cv_prog_gnu_ld=no
 
5350
  ;;
 
5351
esac
 
5352
fi
 
5353
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
 
5354
$as_echo "$lt_cv_prog_gnu_ld" >&6; }
 
5355
with_gnu_ld=$lt_cv_prog_gnu_ld
 
5356
 
 
5357
 
 
5358
 
 
5359
 
 
5360
    
 
5361
    
 
5362
    
 
5363
 
 
5364
 
 
5365
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
 
5366
$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
 
5367
if test "${lt_cv_path_NM+set}" = set; then :
 
5368
  $as_echo_n "(cached) " >&6
 
5369
else
 
5370
  if test -n "$NM"; then
 
5371
  # Let the user override the test.
 
5372
  lt_cv_path_NM="$NM"
 
5373
else
 
5374
  lt_nm_to_check="${ac_tool_prefix}nm"
 
5375
  if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
 
5376
    lt_nm_to_check="$lt_nm_to_check nm"
 
5377
  fi
 
5378
  for lt_tmp_nm in $lt_nm_to_check; do
 
5379
    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
 
5380
    for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
 
5381
      IFS="$lt_save_ifs"
 
5382
      test -z "$ac_dir" && ac_dir=.
 
5383
      tmp_nm="$ac_dir/$lt_tmp_nm"
 
5384
      if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
 
5385
        # Check to see if the nm accepts a BSD-compat flag.
 
5386
        # Adding the `sed 1q' prevents false positives on HP-UX, which says:
 
5387
        #   nm: unknown option "B" ignored
 
5388
        # Tru64's nm complains that /dev/null is an invalid object file
 
5389
        case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
 
5390
        */dev/null* | *'Invalid file or object type'*)
 
5391
          lt_cv_path_NM="$tmp_nm -B"
 
5392
          break
 
5393
          ;;
 
5394
        *)
 
5395
          case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
 
5396
          */dev/null*)
 
5397
            lt_cv_path_NM="$tmp_nm -p"
 
5398
            break
 
5399
            ;;
 
5400
          *)
 
5401
            lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
 
5402
            continue # so that we can try to find one that supports BSD flags
 
5403
            ;;
 
5404
          esac
 
5405
          ;;
 
5406
        esac
 
5407
      fi
 
5408
    done
 
5409
    IFS="$lt_save_ifs"
 
5410
  done
 
5411
  : ${lt_cv_path_NM=no}
 
5412
fi
 
5413
fi
 
5414
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
 
5415
$as_echo "$lt_cv_path_NM" >&6; }
 
5416
if test "$lt_cv_path_NM" != "no"; then
 
5417
  NM="$lt_cv_path_NM"
 
5418
else
 
5419
  # Didn't find any BSD compatible name lister, look for dumpbin.
 
5420
  if test -n "$ac_tool_prefix"; then
 
5421
  for ac_prog in "dumpbin -symbols" "link -dump -symbols"
 
5422
  do
 
5423
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 
5424
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 
5425
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
5426
$as_echo_n "checking for $ac_word... " >&6; }
 
5427
if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
 
5428
  $as_echo_n "(cached) " >&6
 
5429
else
 
5430
  if test -n "$DUMPBIN"; then
 
5431
  ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
 
5432
else
 
5433
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5434
for as_dir in $PATH
 
5435
do
 
5436
  IFS=$as_save_IFS
 
5437
  test -z "$as_dir" && as_dir=.
 
5438
    for ac_exec_ext in '' $ac_executable_extensions; do
 
5439
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
5440
    ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
 
5441
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5442
    break 2
 
5443
  fi
 
5444
done
 
5445
  done
 
5446
IFS=$as_save_IFS
 
5447
 
 
5448
fi
 
5449
fi
 
5450
DUMPBIN=$ac_cv_prog_DUMPBIN
 
5451
if test -n "$DUMPBIN"; then
 
5452
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
 
5453
$as_echo "$DUMPBIN" >&6; }
 
5454
else
 
5455
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
5456
$as_echo "no" >&6; }
 
5457
fi
 
5458
 
 
5459
 
 
5460
    test -n "$DUMPBIN" && break
 
5461
  done
 
5462
fi
 
5463
if test -z "$DUMPBIN"; then
 
5464
  ac_ct_DUMPBIN=$DUMPBIN
 
5465
  for ac_prog in "dumpbin -symbols" "link -dump -symbols"
 
5466
do
 
5467
  # Extract the first word of "$ac_prog", so it can be a program name with args.
 
5468
set dummy $ac_prog; ac_word=$2
 
5469
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
5470
$as_echo_n "checking for $ac_word... " >&6; }
 
5471
if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
 
5472
  $as_echo_n "(cached) " >&6
 
5473
else
 
5474
  if test -n "$ac_ct_DUMPBIN"; then
 
5475
  ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
 
5476
else
 
5477
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5478
for as_dir in $PATH
 
5479
do
 
5480
  IFS=$as_save_IFS
 
5481
  test -z "$as_dir" && as_dir=.
 
5482
    for ac_exec_ext in '' $ac_executable_extensions; do
 
5483
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
5484
    ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
 
5485
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5486
    break 2
 
5487
  fi
 
5488
done
 
5489
  done
 
5490
IFS=$as_save_IFS
 
5491
 
 
5492
fi
 
5493
fi
 
5494
ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
 
5495
if test -n "$ac_ct_DUMPBIN"; then
 
5496
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
 
5497
$as_echo "$ac_ct_DUMPBIN" >&6; }
 
5498
else
 
5499
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
5500
$as_echo "no" >&6; }
 
5501
fi
 
5502
 
 
5503
 
 
5504
  test -n "$ac_ct_DUMPBIN" && break
 
5505
done
 
5506
 
 
5507
  if test "x$ac_ct_DUMPBIN" = x; then
 
5508
    DUMPBIN=":"
 
5509
  else
 
5510
    case $cross_compiling:$ac_tool_warned in
 
5511
yes:)
 
5512
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
5513
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
5514
ac_tool_warned=yes ;;
 
5515
esac
 
5516
    DUMPBIN=$ac_ct_DUMPBIN
 
5517
  fi
 
5518
fi
 
5519
 
 
5520
  
 
5521
  if test "$DUMPBIN" != ":"; then
 
5522
    NM="$DUMPBIN"
 
5523
  fi
 
5524
fi
 
5525
test -z "$NM" && NM=nm
 
5526
 
 
5527
 
 
5528
    
 
5529
    
 
5530
    
 
5531
 
 
5532
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
 
5533
$as_echo_n "checking the name lister ($NM) interface... " >&6; }
 
5534
if test "${lt_cv_nm_interface+set}" = set; then :
 
5535
  $as_echo_n "(cached) " >&6
 
5536
else
 
5537
  lt_cv_nm_interface="BSD nm"
 
5538
  echo "int some_variable = 0;" > conftest.$ac_ext
 
5539
  (eval echo "\"\$as_me:__oline__: $ac_compile\"" >&5)
 
5540
  (eval "$ac_compile" 2>conftest.err)
 
5541
  cat conftest.err >&5
 
5542
  (eval echo "\"\$as_me:__oline__: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
 
5543
  (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
 
5544
  cat conftest.err >&5
 
5545
  (eval echo "\"\$as_me:__oline__: output\"" >&5)
 
5546
  cat conftest.out >&5
 
5547
  if $GREP 'External.*some_variable' conftest.out > /dev/null; then
 
5548
    lt_cv_nm_interface="MS dumpbin"
 
5549
  fi
 
5550
  rm -f conftest*
 
5551
fi
 
5552
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
 
5553
$as_echo "$lt_cv_nm_interface" >&6; }
 
5554
 
 
5555
# find the maximum length of command line arguments
 
5556
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
 
5557
$as_echo_n "checking the maximum length of command line arguments... " >&6; }
 
5558
if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
 
5559
  $as_echo_n "(cached) " >&6
 
5560
else
 
5561
    i=0
 
5562
  teststring="ABCD"
 
5563
 
 
5564
  case $build_os in
 
5565
  msdosdjgpp*)
 
5566
    # On DJGPP, this test can blow up pretty badly due to problems in libc
 
5567
    # (any single argument exceeding 2000 bytes causes a buffer overrun
 
5568
    # during glob expansion).  Even if it were fixed, the result of this
 
5569
    # check would be larger than it should be.
 
5570
    lt_cv_sys_max_cmd_len=12288;    # 12K is about right
 
5571
    ;;
 
5572
 
 
5573
  gnu*)
 
5574
    # Under GNU Hurd, this test is not required because there is
 
5575
    # no limit to the length of command line arguments.
 
5576
    # Libtool will interpret -1 as no limit whatsoever
 
5577
    lt_cv_sys_max_cmd_len=-1;
 
5578
    ;;
 
5579
 
 
5580
  cygwin* | mingw* | cegcc*)
 
5581
    # On Win9x/ME, this test blows up -- it succeeds, but takes
 
5582
    # about 5 minutes as the teststring grows exponentially.
 
5583
    # Worse, since 9x/ME are not pre-emptively multitasking,
 
5584
    # you end up with a "frozen" computer, even though with patience
 
5585
    # the test eventually succeeds (with a max line length of 256k).
 
5586
    # Instead, let's just punt: use the minimum linelength reported by
 
5587
    # all of the supported platforms: 8192 (on NT/2K/XP).
 
5588
    lt_cv_sys_max_cmd_len=8192;
 
5589
    ;;
 
5590
 
 
5591
  amigaos*)
 
5592
    # On AmigaOS with pdksh, this test takes hours, literally.
 
5593
    # So we just punt and use a minimum line length of 8192.
 
5594
    lt_cv_sys_max_cmd_len=8192;
 
5595
    ;;
 
5596
 
 
5597
  netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
 
5598
    # This has been around since 386BSD, at least.  Likely further.
 
5599
    if test -x /sbin/sysctl; then
 
5600
      lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
 
5601
    elif test -x /usr/sbin/sysctl; then
 
5602
      lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
 
5603
    else
 
5604
      lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
 
5605
    fi
 
5606
    # And add a safety zone
 
5607
    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
 
5608
    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
 
5609
    ;;
 
5610
 
 
5611
  interix*)
 
5612
    # We know the value 262144 and hardcode it with a safety zone (like BSD)
 
5613
    lt_cv_sys_max_cmd_len=196608
 
5614
    ;;
 
5615
 
 
5616
  osf*)
 
5617
    # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
 
5618
    # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
 
5619
    # nice to cause kernel panics so lets avoid the loop below.
 
5620
    # First set a reasonable default.
 
5621
    lt_cv_sys_max_cmd_len=16384
 
5622
    #
 
5623
    if test -x /sbin/sysconfig; then
 
5624
      case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
 
5625
        *1*) lt_cv_sys_max_cmd_len=-1 ;;
 
5626
      esac
 
5627
    fi
 
5628
    ;;
 
5629
  sco3.2v5*)
 
5630
    lt_cv_sys_max_cmd_len=102400
 
5631
    ;;
 
5632
  sysv5* | sco5v6* | sysv4.2uw2*)
 
5633
    kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
 
5634
    if test -n "$kargmax"; then
 
5635
      lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[  ]//'`
 
5636
    else
 
5637
      lt_cv_sys_max_cmd_len=32768
 
5638
    fi
 
5639
    ;;
 
5640
  *)
 
5641
    lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
 
5642
    if test -n "$lt_cv_sys_max_cmd_len"; then
 
5643
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
 
5644
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
 
5645
    else
 
5646
      # Make teststring a little bigger before we do anything with it.
 
5647
      # a 1K string should be a reasonable start.
 
5648
      for i in 1 2 3 4 5 6 7 8 ; do
 
5649
        teststring=$teststring$teststring
 
5650
      done
 
5651
      SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
 
5652
      # If test is not a shell built-in, we'll probably end up computing a
 
5653
      # maximum length that is only half of the actual maximum length, but
 
5654
      # we can't tell.
 
5655
      while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
 
5656
                 = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
 
5657
              test $i != 17 # 1/2 MB should be enough
 
5658
      do
 
5659
        i=`expr $i + 1`
 
5660
        teststring=$teststring$teststring
 
5661
      done
 
5662
      # Only check the string length outside the loop.
 
5663
      lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
 
5664
      teststring=
 
5665
      # Add a significant safety factor because C++ compilers can tack on
 
5666
      # massive amounts of additional arguments before passing them to the
 
5667
      # linker.  It appears as though 1/2 is a usable value.
 
5668
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
 
5669
    fi
 
5670
    ;;
 
5671
  esac
 
5672
 
 
5673
fi
 
5674
 
 
5675
if test -n $lt_cv_sys_max_cmd_len ; then
 
5676
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
 
5677
$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
 
5678
else
 
5679
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
 
5680
$as_echo "none" >&6; }
 
5681
fi
 
5682
max_cmd_len=$lt_cv_sys_max_cmd_len
 
5683
 
 
5684
    
 
5685
    
 
5686
    
 
5687
 
 
5688
 
 
5689
: ${CP="cp -f"}
 
5690
: ${MV="mv -f"}
 
5691
: ${RM="rm -f"}
 
5692
 
 
5693
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
 
5694
$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
 
5695
# Try some XSI features
 
5696
xsi_shell=no
 
5697
( _lt_dummy="a/b/c"
 
5698
  test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
 
5699
      = c,a/b,, \
 
5700
    && eval 'test $(( 1 + 1 )) -eq 2 \
 
5701
    && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
 
5702
  && xsi_shell=yes
 
5703
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
 
5704
$as_echo "$xsi_shell" >&6; }
 
5705
 
 
5706
 
 
5707
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
 
5708
$as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
 
5709
lt_shell_append=no
 
5710
( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
 
5711
    >/dev/null 2>&1 \
 
5712
  && lt_shell_append=yes
 
5713
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
 
5714
$as_echo "$lt_shell_append" >&6; }
 
5715
 
 
5716
 
 
5717
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
 
5718
  lt_unset=unset
 
5719
else
 
5720
  lt_unset=false
 
5721
fi
 
5722
 
 
5723
    
 
5724
    
 
5725
    
 
5726
 
 
5727
# test EBCDIC or ASCII
 
5728
case `echo X|tr X '\101'` in
 
5729
 A) # ASCII based system
 
5730
    # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
 
5731
  lt_SP2NL='tr \040 \012'
 
5732
  lt_NL2SP='tr \015\012 \040\040'
 
5733
  ;;
 
5734
 *) # EBCDIC based system
 
5735
  lt_SP2NL='tr \100 \n'
 
5736
  lt_NL2SP='tr \r\n \100\100'
 
5737
  ;;
 
5738
esac
 
5739
 
 
5740
    
 
5741
    
 
5742
    
 
5743
 
 
5744
    
 
5745
    
 
5746
    
 
5747
 
 
5748
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
 
5749
$as_echo_n "checking for $LD option to reload object files... " >&6; }
 
5750
if test "${lt_cv_ld_reload_flag+set}" = set; then :
 
5751
  $as_echo_n "(cached) " >&6
 
5752
else
 
5753
  lt_cv_ld_reload_flag='-r'
 
5754
fi
 
5755
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
 
5756
$as_echo "$lt_cv_ld_reload_flag" >&6; }
 
5757
reload_flag=$lt_cv_ld_reload_flag
 
5758
case $reload_flag in
 
5759
"" | " "*) ;;
 
5760
*) reload_flag=" $reload_flag" ;;
 
5761
esac
 
5762
reload_cmds='$LD$reload_flag -o $output$reload_objs'
 
5763
case $host_os in
 
5764
  darwin*)
 
5765
    if test "$GCC" = yes; then
 
5766
      reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
 
5767
    else
 
5768
      reload_cmds='$LD$reload_flag -o $output$reload_objs'
 
5769
    fi
 
5770
    ;;
 
5771
esac
 
5772
 
 
5773
    
 
5774
    
 
5775
    
 
5776
 
 
5777
    
 
5778
    
 
5779
    
 
5780
 
 
5781
if test -n "$ac_tool_prefix"; then
 
5782
  # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
 
5783
set dummy ${ac_tool_prefix}objdump; ac_word=$2
 
5784
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
5785
$as_echo_n "checking for $ac_word... " >&6; }
 
5786
if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
 
5787
  $as_echo_n "(cached) " >&6
 
5788
else
 
5789
  if test -n "$OBJDUMP"; then
 
5790
  ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
 
5791
else
 
5792
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5793
for as_dir in $PATH
 
5794
do
 
5795
  IFS=$as_save_IFS
 
5796
  test -z "$as_dir" && as_dir=.
 
5797
    for ac_exec_ext in '' $ac_executable_extensions; do
 
5798
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
5799
    ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
 
5800
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5801
    break 2
 
5802
  fi
 
5803
done
 
5804
  done
 
5805
IFS=$as_save_IFS
 
5806
 
 
5807
fi
 
5808
fi
 
5809
OBJDUMP=$ac_cv_prog_OBJDUMP
 
5810
if test -n "$OBJDUMP"; then
 
5811
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
 
5812
$as_echo "$OBJDUMP" >&6; }
 
5813
else
 
5814
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
5815
$as_echo "no" >&6; }
 
5816
fi
 
5817
 
 
5818
 
 
5819
fi
 
5820
if test -z "$ac_cv_prog_OBJDUMP"; then
 
5821
  ac_ct_OBJDUMP=$OBJDUMP
 
5822
  # Extract the first word of "objdump", so it can be a program name with args.
 
5823
set dummy objdump; ac_word=$2
 
5824
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
5825
$as_echo_n "checking for $ac_word... " >&6; }
 
5826
if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
 
5827
  $as_echo_n "(cached) " >&6
 
5828
else
 
5829
  if test -n "$ac_ct_OBJDUMP"; then
 
5830
  ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
 
5831
else
 
5832
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5833
for as_dir in $PATH
 
5834
do
 
5835
  IFS=$as_save_IFS
 
5836
  test -z "$as_dir" && as_dir=.
 
5837
    for ac_exec_ext in '' $ac_executable_extensions; do
 
5838
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
5839
    ac_cv_prog_ac_ct_OBJDUMP="objdump"
 
5840
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5841
    break 2
 
5842
  fi
 
5843
done
 
5844
  done
 
5845
IFS=$as_save_IFS
 
5846
 
 
5847
fi
 
5848
fi
 
5849
ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
 
5850
if test -n "$ac_ct_OBJDUMP"; then
 
5851
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
 
5852
$as_echo "$ac_ct_OBJDUMP" >&6; }
 
5853
else
 
5854
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
5855
$as_echo "no" >&6; }
 
5856
fi
 
5857
 
 
5858
  if test "x$ac_ct_OBJDUMP" = x; then
 
5859
    OBJDUMP="false"
 
5860
  else
 
5861
    case $cross_compiling:$ac_tool_warned in
 
5862
yes:)
 
5863
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
5864
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
5865
ac_tool_warned=yes ;;
 
5866
esac
 
5867
    OBJDUMP=$ac_ct_OBJDUMP
 
5868
  fi
 
5869
else
 
5870
  OBJDUMP="$ac_cv_prog_OBJDUMP"
 
5871
fi
 
5872
 
 
5873
test -z "$OBJDUMP" && OBJDUMP=objdump
 
5874
 
 
5875
    
 
5876
    
 
5877
    
 
5878
 
 
5879
 
 
5880
 
 
5881
 
 
5882
 
 
5883
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
 
5884
$as_echo_n "checking how to recognize dependent libraries... " >&6; }
 
5885
if test "${lt_cv_deplibs_check_method+set}" = set; then :
 
5886
  $as_echo_n "(cached) " >&6
 
5887
else
 
5888
  lt_cv_file_magic_cmd='$MAGIC_CMD'
 
5889
lt_cv_file_magic_test_file=
 
5890
lt_cv_deplibs_check_method='unknown'
 
5891
# Need to set the preceding variable on all platforms that support
 
5892
# interlibrary dependencies.
 
5893
# 'none' -- dependencies not supported.
 
5894
# `unknown' -- same as none, but documents that we really don't know.
 
5895
# 'pass_all' -- all dependencies passed with no checks.
 
5896
# 'test_compile' -- check by making test program.
 
5897
# 'file_magic [[regex]]' -- check by looking for files in library path
 
5898
# which responds to the $file_magic_cmd with a given extended regex.
 
5899
# If you have `file' or equivalent on your system and you're not sure
 
5900
# whether `pass_all' will *always* work, you probably want this one.
 
5901
 
 
5902
case $host_os in
 
5903
aix[4-9]*)
 
5904
  lt_cv_deplibs_check_method=pass_all
 
5905
  ;;
 
5906
 
 
5907
beos*)
 
5908
  lt_cv_deplibs_check_method=pass_all
 
5909
  ;;
 
5910
 
 
5911
bsdi[45]*)
 
5912
  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
 
5913
  lt_cv_file_magic_cmd='/usr/bin/file -L'
 
5914
  lt_cv_file_magic_test_file=/shlib/libc.so
 
5915
  ;;
 
5916
 
 
5917
cygwin*)
 
5918
  # func_win32_libid is a shell function defined in ltmain.sh
 
5919
  lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
 
5920
  lt_cv_file_magic_cmd='func_win32_libid'
 
5921
  ;;
 
5922
 
 
5923
mingw* | pw32*)
 
5924
  # Base MSYS/MinGW do not provide the 'file' command needed by
 
5925
  # func_win32_libid shell function, so use a weaker test based on 'objdump',
 
5926
  # unless we find 'file', for example because we are cross-compiling.
 
5927
  if ( file / ) >/dev/null 2>&1; then
 
5928
    lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
 
5929
    lt_cv_file_magic_cmd='func_win32_libid'
 
5930
  else
 
5931
    lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
 
5932
    lt_cv_file_magic_cmd='$OBJDUMP -f'
 
5933
  fi
 
5934
  ;;
 
5935
 
 
5936
cegcc)
 
5937
  # use the weaker test based on 'objdump'. See mingw*.
 
5938
  lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
 
5939
  lt_cv_file_magic_cmd='$OBJDUMP -f'
 
5940
  ;;
 
5941
 
 
5942
darwin* | rhapsody*)
 
5943
  lt_cv_deplibs_check_method=pass_all
 
5944
  ;;
 
5945
 
 
5946
freebsd* | dragonfly*)
 
5947
  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
 
5948
    case $host_cpu in
 
5949
    i*86 )
 
5950
      # Not sure whether the presence of OpenBSD here was a mistake.
 
5951
      # Let's accept both of them until this is cleared up.
 
5952
      lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
 
5953
      lt_cv_file_magic_cmd=/usr/bin/file
 
5954
      lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
 
5955
      ;;
 
5956
    esac
 
5957
  else
 
5958
    lt_cv_deplibs_check_method=pass_all
 
5959
  fi
 
5960
  ;;
 
5961
 
 
5962
gnu*)
 
5963
  lt_cv_deplibs_check_method=pass_all
 
5964
  ;;
 
5965
 
 
5966
hpux10.20* | hpux11*)
 
5967
  lt_cv_file_magic_cmd=/usr/bin/file
 
5968
  case $host_cpu in
 
5969
  ia64*)
 
5970
    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
 
5971
    lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
 
5972
    ;;
 
5973
  hppa*64*)
 
5974
    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]'
 
5975
    lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
 
5976
    ;;
 
5977
  *)
 
5978
    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
 
5979
    lt_cv_file_magic_test_file=/usr/lib/libc.sl
 
5980
    ;;
 
5981
  esac
 
5982
  ;;
 
5983
 
 
5984
interix[3-9]*)
 
5985
  # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
 
5986
  lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
 
5987
  ;;
 
5988
 
 
5989
irix5* | irix6* | nonstopux*)
 
5990
  case $LD in
 
5991
  *-32|*"-32 ") libmagic=32-bit;;
 
5992
  *-n32|*"-n32 ") libmagic=N32;;
 
5993
  *-64|*"-64 ") libmagic=64-bit;;
 
5994
  *) libmagic=never-match;;
 
5995
  esac
 
5996
  lt_cv_deplibs_check_method=pass_all
 
5997
  ;;
 
5998
 
 
5999
# This must be Linux ELF.
 
6000
linux* | k*bsd*-gnu | kopensolaris*-gnu)
 
6001
  lt_cv_deplibs_check_method=pass_all
 
6002
  ;;
 
6003
 
 
6004
netbsd* | netbsdelf*-gnu)
 
6005
  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
 
6006
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
 
6007
  else
 
6008
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
 
6009
  fi
 
6010
  ;;
 
6011
 
 
6012
newos6*)
 
6013
  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
 
6014
  lt_cv_file_magic_cmd=/usr/bin/file
 
6015
  lt_cv_file_magic_test_file=/usr/lib/libnls.so
 
6016
  ;;
 
6017
 
 
6018
*nto* | *qnx*)
 
6019
  lt_cv_deplibs_check_method=pass_all
 
6020
  ;;
 
6021
 
 
6022
openbsd*)
 
6023
  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
6024
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
 
6025
  else
 
6026
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
 
6027
  fi
 
6028
  ;;
 
6029
 
 
6030
osf3* | osf4* | osf5*)
 
6031
  lt_cv_deplibs_check_method=pass_all
 
6032
  ;;
 
6033
 
 
6034
rdos*)
 
6035
  lt_cv_deplibs_check_method=pass_all
 
6036
  ;;
 
6037
 
 
6038
solaris*)
 
6039
  lt_cv_deplibs_check_method=pass_all
 
6040
  ;;
 
6041
 
 
6042
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
 
6043
  lt_cv_deplibs_check_method=pass_all
 
6044
  ;;
 
6045
 
 
6046
sysv4 | sysv4.3*)
 
6047
  case $host_vendor in
 
6048
  motorola)
 
6049
    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]'
 
6050
    lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
 
6051
    ;;
 
6052
  ncr)
 
6053
    lt_cv_deplibs_check_method=pass_all
 
6054
    ;;
 
6055
  sequent)
 
6056
    lt_cv_file_magic_cmd='/bin/file'
 
6057
    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
 
6058
    ;;
 
6059
  sni)
 
6060
    lt_cv_file_magic_cmd='/bin/file'
 
6061
    lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
 
6062
    lt_cv_file_magic_test_file=/lib/libc.so
 
6063
    ;;
 
6064
  siemens)
 
6065
    lt_cv_deplibs_check_method=pass_all
 
6066
    ;;
 
6067
  pc)
 
6068
    lt_cv_deplibs_check_method=pass_all
 
6069
    ;;
 
6070
  esac
 
6071
  ;;
 
6072
 
 
6073
tpf*)
 
6074
  lt_cv_deplibs_check_method=pass_all
 
6075
  ;;
 
6076
esac
 
6077
 
 
6078
fi
 
6079
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
 
6080
$as_echo "$lt_cv_deplibs_check_method" >&6; }
 
6081
file_magic_cmd=$lt_cv_file_magic_cmd
 
6082
deplibs_check_method=$lt_cv_deplibs_check_method
 
6083
test -z "$deplibs_check_method" && deplibs_check_method=unknown
 
6084
 
 
6085
 
 
6086
    
 
6087
    
 
6088
    
 
6089
 
 
6090
 
 
6091
    
 
6092
    
 
6093
    
 
6094
 
 
6095
 
 
6096
if test -n "$ac_tool_prefix"; then
 
6097
  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
 
6098
set dummy ${ac_tool_prefix}ar; ac_word=$2
 
6099
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
6100
$as_echo_n "checking for $ac_word... " >&6; }
 
6101
if test "${ac_cv_prog_AR+set}" = set; then :
 
6102
  $as_echo_n "(cached) " >&6
 
6103
else
 
6104
  if test -n "$AR"; then
 
6105
  ac_cv_prog_AR="$AR" # Let the user override the test.
 
6106
else
 
6107
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6108
for as_dir in $PATH
 
6109
do
 
6110
  IFS=$as_save_IFS
 
6111
  test -z "$as_dir" && as_dir=.
 
6112
    for ac_exec_ext in '' $ac_executable_extensions; do
 
6113
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6114
    ac_cv_prog_AR="${ac_tool_prefix}ar"
 
6115
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6116
    break 2
 
6117
  fi
 
6118
done
 
6119
  done
 
6120
IFS=$as_save_IFS
 
6121
 
 
6122
fi
 
6123
fi
 
6124
AR=$ac_cv_prog_AR
 
6125
if test -n "$AR"; then
 
6126
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
 
6127
$as_echo "$AR" >&6; }
 
6128
else
 
6129
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
6130
$as_echo "no" >&6; }
 
6131
fi
 
6132
 
 
6133
 
 
6134
fi
 
6135
if test -z "$ac_cv_prog_AR"; then
 
6136
  ac_ct_AR=$AR
 
6137
  # Extract the first word of "ar", so it can be a program name with args.
 
6138
set dummy ar; ac_word=$2
 
6139
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
6140
$as_echo_n "checking for $ac_word... " >&6; }
 
6141
if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
 
6142
  $as_echo_n "(cached) " >&6
 
6143
else
 
6144
  if test -n "$ac_ct_AR"; then
 
6145
  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
 
6146
else
 
6147
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6148
for as_dir in $PATH
 
6149
do
 
6150
  IFS=$as_save_IFS
 
6151
  test -z "$as_dir" && as_dir=.
 
6152
    for ac_exec_ext in '' $ac_executable_extensions; do
 
6153
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6154
    ac_cv_prog_ac_ct_AR="ar"
 
6155
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6156
    break 2
 
6157
  fi
 
6158
done
 
6159
  done
 
6160
IFS=$as_save_IFS
 
6161
 
 
6162
fi
 
6163
fi
 
6164
ac_ct_AR=$ac_cv_prog_ac_ct_AR
 
6165
if test -n "$ac_ct_AR"; then
 
6166
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
 
6167
$as_echo "$ac_ct_AR" >&6; }
 
6168
else
 
6169
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
6170
$as_echo "no" >&6; }
 
6171
fi
 
6172
 
 
6173
  if test "x$ac_ct_AR" = x; then
 
6174
    AR="false"
 
6175
  else
 
6176
    case $cross_compiling:$ac_tool_warned in
 
6177
yes:)
 
6178
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
6179
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
6180
ac_tool_warned=yes ;;
 
6181
esac
 
6182
    AR=$ac_ct_AR
 
6183
  fi
 
6184
else
 
6185
  AR="$ac_cv_prog_AR"
 
6186
fi
 
6187
 
 
6188
test -z "$AR" && AR=ar
 
6189
test -z "$AR_FLAGS" && AR_FLAGS=cru
 
6190
 
 
6191
    
 
6192
    
 
6193
    
 
6194
 
 
6195
 
 
6196
    
 
6197
    
 
6198
    
 
6199
 
 
6200
 
 
6201
if test -n "$ac_tool_prefix"; then
 
6202
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
 
6203
set dummy ${ac_tool_prefix}strip; ac_word=$2
 
6204
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
6205
$as_echo_n "checking for $ac_word... " >&6; }
 
6206
if test "${ac_cv_prog_STRIP+set}" = set; then :
 
6207
  $as_echo_n "(cached) " >&6
 
6208
else
 
6209
  if test -n "$STRIP"; then
 
6210
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
 
6211
else
 
6212
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6213
for as_dir in $PATH
 
6214
do
 
6215
  IFS=$as_save_IFS
 
6216
  test -z "$as_dir" && as_dir=.
 
6217
    for ac_exec_ext in '' $ac_executable_extensions; do
 
6218
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6219
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
 
6220
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6221
    break 2
 
6222
  fi
 
6223
done
 
6224
  done
 
6225
IFS=$as_save_IFS
 
6226
 
 
6227
fi
 
6228
fi
 
6229
STRIP=$ac_cv_prog_STRIP
 
6230
if test -n "$STRIP"; then
 
6231
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
 
6232
$as_echo "$STRIP" >&6; }
 
6233
else
 
6234
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
6235
$as_echo "no" >&6; }
 
6236
fi
 
6237
 
 
6238
 
 
6239
fi
 
6240
if test -z "$ac_cv_prog_STRIP"; then
 
6241
  ac_ct_STRIP=$STRIP
 
6242
  # Extract the first word of "strip", so it can be a program name with args.
 
6243
set dummy strip; ac_word=$2
 
6244
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
6245
$as_echo_n "checking for $ac_word... " >&6; }
 
6246
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
 
6247
  $as_echo_n "(cached) " >&6
 
6248
else
 
6249
  if test -n "$ac_ct_STRIP"; then
 
6250
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
 
6251
else
 
6252
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6253
for as_dir in $PATH
 
6254
do
 
6255
  IFS=$as_save_IFS
 
6256
  test -z "$as_dir" && as_dir=.
 
6257
    for ac_exec_ext in '' $ac_executable_extensions; do
 
6258
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6259
    ac_cv_prog_ac_ct_STRIP="strip"
 
6260
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6261
    break 2
 
6262
  fi
 
6263
done
 
6264
  done
 
6265
IFS=$as_save_IFS
 
6266
 
 
6267
fi
 
6268
fi
 
6269
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
 
6270
if test -n "$ac_ct_STRIP"; then
 
6271
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
 
6272
$as_echo "$ac_ct_STRIP" >&6; }
 
6273
else
 
6274
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
6275
$as_echo "no" >&6; }
 
6276
fi
 
6277
 
 
6278
  if test "x$ac_ct_STRIP" = x; then
 
6279
    STRIP=":"
 
6280
  else
 
6281
    case $cross_compiling:$ac_tool_warned in
 
6282
yes:)
 
6283
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
6284
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
6285
ac_tool_warned=yes ;;
 
6286
esac
 
6287
    STRIP=$ac_ct_STRIP
 
6288
  fi
 
6289
else
 
6290
  STRIP="$ac_cv_prog_STRIP"
 
6291
fi
 
6292
 
 
6293
test -z "$STRIP" && STRIP=:
 
6294
 
 
6295
    
 
6296
    
 
6297
    
 
6298
 
 
6299
 
 
6300
if test -n "$ac_tool_prefix"; then
 
6301
  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
 
6302
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
 
6303
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
6304
$as_echo_n "checking for $ac_word... " >&6; }
 
6305
if test "${ac_cv_prog_RANLIB+set}" = set; then :
 
6306
  $as_echo_n "(cached) " >&6
 
6307
else
 
6308
  if test -n "$RANLIB"; then
 
6309
  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
 
6310
else
 
6311
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6312
for as_dir in $PATH
 
6313
do
 
6314
  IFS=$as_save_IFS
 
6315
  test -z "$as_dir" && as_dir=.
 
6316
    for ac_exec_ext in '' $ac_executable_extensions; do
 
6317
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6318
    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
 
6319
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6320
    break 2
 
6321
  fi
 
6322
done
 
6323
  done
 
6324
IFS=$as_save_IFS
 
6325
 
 
6326
fi
 
6327
fi
 
6328
RANLIB=$ac_cv_prog_RANLIB
 
6329
if test -n "$RANLIB"; then
 
6330
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
 
6331
$as_echo "$RANLIB" >&6; }
 
6332
else
 
6333
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
6334
$as_echo "no" >&6; }
 
6335
fi
 
6336
 
 
6337
 
 
6338
fi
 
6339
if test -z "$ac_cv_prog_RANLIB"; then
 
6340
  ac_ct_RANLIB=$RANLIB
 
6341
  # Extract the first word of "ranlib", so it can be a program name with args.
 
6342
set dummy ranlib; ac_word=$2
 
6343
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
6344
$as_echo_n "checking for $ac_word... " >&6; }
 
6345
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
 
6346
  $as_echo_n "(cached) " >&6
 
6347
else
 
6348
  if test -n "$ac_ct_RANLIB"; then
 
6349
  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
 
6350
else
 
6351
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6352
for as_dir in $PATH
 
6353
do
 
6354
  IFS=$as_save_IFS
 
6355
  test -z "$as_dir" && as_dir=.
 
6356
    for ac_exec_ext in '' $ac_executable_extensions; do
 
6357
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6358
    ac_cv_prog_ac_ct_RANLIB="ranlib"
 
6359
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6360
    break 2
 
6361
  fi
 
6362
done
 
6363
  done
 
6364
IFS=$as_save_IFS
 
6365
 
 
6366
fi
 
6367
fi
 
6368
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
 
6369
if test -n "$ac_ct_RANLIB"; then
 
6370
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
 
6371
$as_echo "$ac_ct_RANLIB" >&6; }
 
6372
else
 
6373
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
6374
$as_echo "no" >&6; }
 
6375
fi
 
6376
 
 
6377
  if test "x$ac_ct_RANLIB" = x; then
 
6378
    RANLIB=":"
 
6379
  else
 
6380
    case $cross_compiling:$ac_tool_warned in
 
6381
yes:)
 
6382
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
6383
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
6384
ac_tool_warned=yes ;;
 
6385
esac
 
6386
    RANLIB=$ac_ct_RANLIB
 
6387
  fi
 
6388
else
 
6389
  RANLIB="$ac_cv_prog_RANLIB"
 
6390
fi
 
6391
 
 
6392
test -z "$RANLIB" && RANLIB=:
 
6393
 
 
6394
    
 
6395
    
 
6396
    
 
6397
 
 
6398
 
 
6399
# Determine commands to create old-style static archives.
 
6400
old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
 
6401
old_postinstall_cmds='chmod 644 $oldlib'
 
6402
old_postuninstall_cmds=
 
6403
 
 
6404
if test -n "$RANLIB"; then
 
6405
  case $host_os in
 
6406
  openbsd*)
 
6407
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
 
6408
    ;;
 
6409
  *)
 
6410
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
 
6411
    ;;
 
6412
  esac
 
6413
  old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
 
6414
fi
 
6415
 
 
6416
    
 
6417
    
 
6418
    
 
6419
 
 
6420
 
 
6421
    
 
6422
    
 
6423
    
 
6424
 
 
6425
 
 
6426
    
 
6427
    
 
6428
    
 
6429
 
 
6430
 
 
6431
 
 
6432
 
 
6433
    
 
6434
    
 
6435
    
 
6436
 
 
6437
    
 
6438
    
 
6439
    
 
6440
 
 
6441
    
 
6442
    
 
6443
    
 
6444
 
 
6445
    
 
6446
    
 
6447
    
 
6448
 
 
6449
# If no C compiler was specified, use CC.
 
6450
LTCC=${LTCC-"$CC"}
 
6451
 
 
6452
# If no C compiler flags were specified, use CFLAGS.
 
6453
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
 
6454
 
 
6455
# Allow CC to be a program name with arguments.
 
6456
compiler=$CC
 
6457
 
 
6458
 
 
6459
# Check for command to grab the raw symbol name followed by C symbol from nm.
 
6460
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
 
6461
$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
 
6462
if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
 
6463
  $as_echo_n "(cached) " >&6
 
6464
else
 
6465
  
 
6466
# These are sane defaults that work on at least a few old systems.
 
6467
# [They come from Ultrix.  What could be older than Ultrix?!! ;)]
 
6468
 
 
6469
# Character class describing NM global symbol codes.
 
6470
symcode='[BCDEGRST]'
 
6471
 
 
6472
# Regexp to match symbols that can be accessed directly from C.
 
6473
sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
 
6474
 
 
6475
# Define system-specific variables.
 
6476
case $host_os in
 
6477
aix*)
 
6478
  symcode='[BCDT]'
 
6479
  ;;
 
6480
cygwin* | mingw* | pw32* | cegcc*)
 
6481
  symcode='[ABCDGISTW]'
 
6482
  ;;
 
6483
hpux*)
 
6484
  if test "$host_cpu" = ia64; then
 
6485
    symcode='[ABCDEGRST]'
 
6486
  fi
 
6487
  ;;
 
6488
irix* | nonstopux*)
 
6489
  symcode='[BCDEGRST]'
 
6490
  ;;
 
6491
osf*)
 
6492
  symcode='[BCDEGQRST]'
 
6493
  ;;
 
6494
solaris*)
 
6495
  symcode='[BDRT]'
 
6496
  ;;
 
6497
sco3.2v5*)
 
6498
  symcode='[DT]'
 
6499
  ;;
 
6500
sysv4.2uw2*)
 
6501
  symcode='[DT]'
 
6502
  ;;
 
6503
sysv5* | sco5v6* | unixware* | OpenUNIX*)
 
6504
  symcode='[ABDT]'
 
6505
  ;;
 
6506
sysv4)
 
6507
  symcode='[DFNSTU]'
 
6508
  ;;
 
6509
esac
 
6510
 
 
6511
# If we're using GNU nm, then use its standard symbol codes.
 
6512
case `$NM -V 2>&1` in
 
6513
*GNU* | *'with BFD'*)
 
6514
  symcode='[ABCDGIRSTW]' ;;
 
6515
esac
 
6516
 
 
6517
# Transform an extracted symbol line into a proper C declaration.
 
6518
# Some systems (esp. on ia64) link data and code symbols differently,
 
6519
# so use this general approach.
 
6520
lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
 
6521
 
 
6522
# Transform an extracted symbol line into symbol name and symbol address
 
6523
lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
 
6524
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'"
 
6525
 
 
6526
# Handle CRLF in mingw tool chain
 
6527
opt_cr=
 
6528
case $build_os in
 
6529
mingw*)
 
6530
  opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
 
6531
  ;;
 
6532
esac
 
6533
 
 
6534
# Try without a prefix underscore, then with it.
 
6535
for ac_symprfx in "" "_"; do
 
6536
 
 
6537
  # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
 
6538
  symxfrm="\\1 $ac_symprfx\\2 \\2"
 
6539
 
 
6540
  # Write the raw and C identifiers.
 
6541
  if test "$lt_cv_nm_interface" = "MS dumpbin"; then
 
6542
    # Fake it for dumpbin and say T for any non-static function
 
6543
    # and D for any global variable.
 
6544
    # Also find C++ and __fastcall symbols from MSVC++,
 
6545
    # which start with @ or ?.
 
6546
    lt_cv_sys_global_symbol_pipe="$AWK '"\
 
6547
"     {last_section=section; section=\$ 3};"\
 
6548
"     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
 
6549
"     \$ 0!~/External *\|/{next};"\
 
6550
"     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
 
6551
"     {if(hide[section]) next};"\
 
6552
"     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
 
6553
"     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
 
6554
"     s[1]~/^[@?]/{print s[1], s[1]; next};"\
 
6555
"     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
 
6556
"     ' prfx=^$ac_symprfx"
 
6557
  else
 
6558
    lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
 
6559
  fi
 
6560
 
 
6561
  # Check to see that the pipe works correctly.
 
6562
  pipe_works=no
 
6563
 
 
6564
  rm -f conftest*
 
6565
  cat > conftest.$ac_ext <<_LT_EOF
 
6566
#ifdef __cplusplus
 
6567
extern "C" {
 
6568
#endif
 
6569
char nm_test_var;
 
6570
void nm_test_func(void);
 
6571
void nm_test_func(void){}
 
6572
#ifdef __cplusplus
 
6573
}
 
6574
#endif
 
6575
int main(){nm_test_var='a';nm_test_func();return(0);}
 
6576
_LT_EOF
 
6577
 
 
6578
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
 
6579
  (eval $ac_compile) 2>&5
 
6580
  ac_status=$?
 
6581
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
6582
  test $ac_status = 0; }; then
 
6583
    # Now try to grab the symbols.
 
6584
    nlist=conftest.nm
 
6585
    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\""; } >&5
 
6586
  (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
 
6587
  ac_status=$?
 
6588
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
6589
  test $ac_status = 0; } && test -s "$nlist"; then
 
6590
      # Try sorting and uniquifying the output.
 
6591
      if sort "$nlist" | uniq > "$nlist"T; then
 
6592
        mv -f "$nlist"T "$nlist"
 
6593
      else
 
6594
        rm -f "$nlist"T
 
6595
      fi
 
6596
 
 
6597
      # Make sure that we snagged all the symbols we need.
 
6598
      if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
 
6599
        if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
 
6600
          cat <<_LT_EOF > conftest.$ac_ext
 
6601
#ifdef __cplusplus
 
6602
extern "C" {
 
6603
#endif
 
6604
 
 
6605
_LT_EOF
 
6606
          # Now generate the symbol file.
 
6607
          eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
 
6608
 
 
6609
          cat <<_LT_EOF >> conftest.$ac_ext
 
6610
 
 
6611
/* The mapping between symbol names and symbols.  */
 
6612
const struct {
 
6613
  const char *name;
 
6614
  void       *address;
 
6615
}
 
6616
lt__PROGRAM__LTX_preloaded_symbols[] =
 
6617
{
 
6618
  { "@PROGRAM@", (void *) 0 },
 
6619
_LT_EOF
 
6620
          $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
 
6621
          cat <<\_LT_EOF >> conftest.$ac_ext
 
6622
  {0, (void *) 0}
 
6623
};
 
6624
 
 
6625
/* This works around a problem in FreeBSD linker */
 
6626
#ifdef FREEBSD_WORKAROUND
 
6627
static const void *lt_preloaded_setup() {
 
6628
  return lt__PROGRAM__LTX_preloaded_symbols;
 
6629
}
 
6630
#endif
 
6631
 
 
6632
#ifdef __cplusplus
 
6633
}
 
6634
#endif
 
6635
_LT_EOF
 
6636
          # Now try linking the two files.
 
6637
          mv conftest.$ac_objext conftstm.$ac_objext
 
6638
          lt_save_LIBS="$LIBS"
 
6639
          lt_save_CFLAGS="$CFLAGS"
 
6640
          LIBS="conftstm.$ac_objext"
 
6641
          CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
 
6642
          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
 
6643
  (eval $ac_link) 2>&5
 
6644
  ac_status=$?
 
6645
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
6646
  test $ac_status = 0; } && test -s conftest${ac_exeext}; then
 
6647
            pipe_works=yes
 
6648
          fi
 
6649
          LIBS="$lt_save_LIBS"
 
6650
          CFLAGS="$lt_save_CFLAGS"
 
6651
        else
 
6652
          echo "cannot find nm_test_func in $nlist" >&5
 
6653
        fi
 
6654
      else
 
6655
        echo "cannot find nm_test_var in $nlist" >&5
 
6656
      fi
 
6657
    else
 
6658
      echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
 
6659
    fi
 
6660
  else
 
6661
    echo "$progname: failed program was:" >&5
 
6662
    cat conftest.$ac_ext >&5
 
6663
  fi
 
6664
  rm -rf conftest* conftst*
 
6665
 
 
6666
  # Do not use the global_symbol_pipe unless it works.
 
6667
  if test "$pipe_works" = yes; then
 
6668
    break
 
6669
  else
 
6670
    lt_cv_sys_global_symbol_pipe=
 
6671
  fi
 
6672
done
 
6673
 
 
6674
fi
 
6675
 
 
6676
if test -z "$lt_cv_sys_global_symbol_pipe"; then
 
6677
  lt_cv_sys_global_symbol_to_cdecl=
 
6678
fi
 
6679
if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
 
6680
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
 
6681
$as_echo "failed" >&6; }
 
6682
else
 
6683
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
 
6684
$as_echo "ok" >&6; }
 
6685
fi
 
6686
 
 
6687
 
 
6688
    
 
6689
    
 
6690
    
 
6691
 
 
6692
 
 
6693
    
 
6694
    
 
6695
    
 
6696
 
 
6697
 
 
6698
    
 
6699
    
 
6700
    
 
6701
 
 
6702
 
 
6703
    
 
6704
    
 
6705
    
 
6706
 
 
6707
 
 
6708
 
 
6709
@%:@ Check whether --enable-libtool-lock was given.
 
6710
if test "${enable_libtool_lock+set}" = set; then :
 
6711
  enableval=$enable_libtool_lock; 
 
6712
fi
 
6713
 
 
6714
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
 
6715
 
 
6716
# Some flags need to be propagated to the compiler or linker for good
 
6717
# libtool support.
 
6718
case $host in
 
6719
ia64-*-hpux*)
 
6720
  # Find out which ABI we are using.
 
6721
  echo 'int i;' > conftest.$ac_ext
 
6722
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
 
6723
  (eval $ac_compile) 2>&5
 
6724
  ac_status=$?
 
6725
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
6726
  test $ac_status = 0; }; then
 
6727
    case `/usr/bin/file conftest.$ac_objext` in
 
6728
      *ELF-32*)
 
6729
        HPUX_IA64_MODE="32"
 
6730
        ;;
 
6731
      *ELF-64*)
 
6732
        HPUX_IA64_MODE="64"
 
6733
        ;;
 
6734
    esac
 
6735
  fi
 
6736
  rm -rf conftest*
 
6737
  ;;
 
6738
*-*-irix6*)
 
6739
  # Find out which ABI we are using.
 
6740
  echo '#line __oline__ "configure"' > conftest.$ac_ext
 
6741
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
 
6742
  (eval $ac_compile) 2>&5
 
6743
  ac_status=$?
 
6744
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
6745
  test $ac_status = 0; }; then
 
6746
    if test "$lt_cv_prog_gnu_ld" = yes; then
 
6747
      case `/usr/bin/file conftest.$ac_objext` in
 
6748
        *32-bit*)
 
6749
          LD="${LD-ld} -melf32bsmip"
 
6750
          ;;
 
6751
        *N32*)
 
6752
          LD="${LD-ld} -melf32bmipn32"
 
6753
          ;;
 
6754
        *64-bit*)
 
6755
          LD="${LD-ld} -melf64bmip"
 
6756
        ;;
 
6757
      esac
 
6758
    else
 
6759
      case `/usr/bin/file conftest.$ac_objext` in
 
6760
        *32-bit*)
 
6761
          LD="${LD-ld} -32"
 
6762
          ;;
 
6763
        *N32*)
 
6764
          LD="${LD-ld} -n32"
 
6765
          ;;
 
6766
        *64-bit*)
 
6767
          LD="${LD-ld} -64"
 
6768
          ;;
 
6769
      esac
 
6770
    fi
 
6771
  fi
 
6772
  rm -rf conftest*
 
6773
  ;;
 
6774
 
 
6775
x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
 
6776
s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
 
6777
  # Find out which ABI we are using.
 
6778
  echo 'int i;' > conftest.$ac_ext
 
6779
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
 
6780
  (eval $ac_compile) 2>&5
 
6781
  ac_status=$?
 
6782
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
6783
  test $ac_status = 0; }; then
 
6784
    case `/usr/bin/file conftest.o` in
 
6785
      *32-bit*)
 
6786
        case $host in
 
6787
          x86_64-*kfreebsd*-gnu)
 
6788
            LD="${LD-ld} -m elf_i386_fbsd"
 
6789
            ;;
 
6790
          x86_64-*linux*)
 
6791
            LD="${LD-ld} -m elf_i386"
 
6792
            ;;
 
6793
          ppc64-*linux*|powerpc64-*linux*)
 
6794
            LD="${LD-ld} -m elf32ppclinux"
 
6795
            ;;
 
6796
          s390x-*linux*)
 
6797
            LD="${LD-ld} -m elf_s390"
 
6798
            ;;
 
6799
          sparc64-*linux*)
 
6800
            LD="${LD-ld} -m elf32_sparc"
 
6801
            ;;
 
6802
        esac
 
6803
        ;;
 
6804
      *64-bit*)
 
6805
        case $host in
 
6806
          x86_64-*kfreebsd*-gnu)
 
6807
            LD="${LD-ld} -m elf_x86_64_fbsd"
 
6808
            ;;
 
6809
          x86_64-*linux*)
 
6810
            LD="${LD-ld} -m elf_x86_64"
 
6811
            ;;
 
6812
          ppc*-*linux*|powerpc*-*linux*)
 
6813
            LD="${LD-ld} -m elf64ppc"
 
6814
            ;;
 
6815
          s390*-*linux*|s390*-*tpf*)
 
6816
            LD="${LD-ld} -m elf64_s390"
 
6817
            ;;
 
6818
          sparc*-*linux*)
 
6819
            LD="${LD-ld} -m elf64_sparc"
 
6820
            ;;
 
6821
        esac
 
6822
        ;;
 
6823
    esac
 
6824
  fi
 
6825
  rm -rf conftest*
 
6826
  ;;
 
6827
 
 
6828
*-*-sco3.2v5*)
 
6829
  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
 
6830
  SAVE_CFLAGS="$CFLAGS"
 
6831
  CFLAGS="$CFLAGS -belf"
 
6832
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
 
6833
$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
 
6834
if test "${lt_cv_cc_needs_belf+set}" = set; then :
 
6835
  $as_echo_n "(cached) " >&6
 
6836
else
 
6837
  ac_ext=c
 
6838
ac_cpp='$CPP $CPPFLAGS'
 
6839
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
6840
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
6841
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
6842
 
 
6843
     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
6844
/* end confdefs.h.  */
 
6845
 
 
6846
int
 
6847
main ()
 
6848
{
 
6849
 
 
6850
  ;
 
6851
  return 0;
 
6852
}
 
6853
_ACEOF
 
6854
if ac_fn_c_try_link "$LINENO"; then :
 
6855
  lt_cv_cc_needs_belf=yes
 
6856
else
 
6857
  lt_cv_cc_needs_belf=no
 
6858
fi
 
6859
rm -f core conftest.err conftest.$ac_objext \
 
6860
    conftest$ac_exeext conftest.$ac_ext
 
6861
     ac_ext=c
 
6862
ac_cpp='$CPP $CPPFLAGS'
 
6863
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
6864
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
6865
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
6866
 
 
6867
fi
 
6868
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
 
6869
$as_echo "$lt_cv_cc_needs_belf" >&6; }
 
6870
  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
 
6871
    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
 
6872
    CFLAGS="$SAVE_CFLAGS"
 
6873
  fi
 
6874
  ;;
 
6875
sparc*-*solaris*)
 
6876
  # Find out which ABI we are using.
 
6877
  echo 'int i;' > conftest.$ac_ext
 
6878
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
 
6879
  (eval $ac_compile) 2>&5
 
6880
  ac_status=$?
 
6881
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
6882
  test $ac_status = 0; }; then
 
6883
    case `/usr/bin/file conftest.o` in
 
6884
    *64-bit*)
 
6885
      case $lt_cv_prog_gnu_ld in
 
6886
      yes*) LD="${LD-ld} -m elf64_sparc" ;;
 
6887
      *)
 
6888
        if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
 
6889
          LD="${LD-ld} -64"
 
6890
        fi
 
6891
        ;;
 
6892
      esac
 
6893
      ;;
 
6894
    esac
 
6895
  fi
 
6896
  rm -rf conftest*
 
6897
  ;;
 
6898
esac
 
6899
 
 
6900
need_locks="$enable_libtool_lock"
 
6901
 
 
6902
 
 
6903
  case $host_os in
 
6904
    rhapsody* | darwin*)
 
6905
    if test -n "$ac_tool_prefix"; then
 
6906
  # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
 
6907
set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
 
6908
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
6909
$as_echo_n "checking for $ac_word... " >&6; }
 
6910
if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
 
6911
  $as_echo_n "(cached) " >&6
 
6912
else
 
6913
  if test -n "$DSYMUTIL"; then
 
6914
  ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
 
6915
else
 
6916
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6917
for as_dir in $PATH
 
6918
do
 
6919
  IFS=$as_save_IFS
 
6920
  test -z "$as_dir" && as_dir=.
 
6921
    for ac_exec_ext in '' $ac_executable_extensions; do
 
6922
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6923
    ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
 
6924
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6925
    break 2
 
6926
  fi
 
6927
done
 
6928
  done
 
6929
IFS=$as_save_IFS
 
6930
 
 
6931
fi
 
6932
fi
 
6933
DSYMUTIL=$ac_cv_prog_DSYMUTIL
 
6934
if test -n "$DSYMUTIL"; then
 
6935
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
 
6936
$as_echo "$DSYMUTIL" >&6; }
 
6937
else
 
6938
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
6939
$as_echo "no" >&6; }
 
6940
fi
 
6941
 
 
6942
 
 
6943
fi
 
6944
if test -z "$ac_cv_prog_DSYMUTIL"; then
 
6945
  ac_ct_DSYMUTIL=$DSYMUTIL
 
6946
  # Extract the first word of "dsymutil", so it can be a program name with args.
 
6947
set dummy dsymutil; ac_word=$2
 
6948
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
6949
$as_echo_n "checking for $ac_word... " >&6; }
 
6950
if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
 
6951
  $as_echo_n "(cached) " >&6
 
6952
else
 
6953
  if test -n "$ac_ct_DSYMUTIL"; then
 
6954
  ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
 
6955
else
 
6956
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6957
for as_dir in $PATH
 
6958
do
 
6959
  IFS=$as_save_IFS
 
6960
  test -z "$as_dir" && as_dir=.
 
6961
    for ac_exec_ext in '' $ac_executable_extensions; do
 
6962
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6963
    ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
 
6964
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6965
    break 2
 
6966
  fi
 
6967
done
 
6968
  done
 
6969
IFS=$as_save_IFS
 
6970
 
 
6971
fi
 
6972
fi
 
6973
ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
 
6974
if test -n "$ac_ct_DSYMUTIL"; then
 
6975
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
 
6976
$as_echo "$ac_ct_DSYMUTIL" >&6; }
 
6977
else
 
6978
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
6979
$as_echo "no" >&6; }
 
6980
fi
 
6981
 
 
6982
  if test "x$ac_ct_DSYMUTIL" = x; then
 
6983
    DSYMUTIL=":"
 
6984
  else
 
6985
    case $cross_compiling:$ac_tool_warned in
 
6986
yes:)
 
6987
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
6988
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
6989
ac_tool_warned=yes ;;
 
6990
esac
 
6991
    DSYMUTIL=$ac_ct_DSYMUTIL
 
6992
  fi
 
6993
else
 
6994
  DSYMUTIL="$ac_cv_prog_DSYMUTIL"
 
6995
fi
 
6996
 
 
6997
    if test -n "$ac_tool_prefix"; then
 
6998
  # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
 
6999
set dummy ${ac_tool_prefix}nmedit; ac_word=$2
 
7000
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
7001
$as_echo_n "checking for $ac_word... " >&6; }
 
7002
if test "${ac_cv_prog_NMEDIT+set}" = set; then :
 
7003
  $as_echo_n "(cached) " >&6
 
7004
else
 
7005
  if test -n "$NMEDIT"; then
 
7006
  ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
 
7007
else
 
7008
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
7009
for as_dir in $PATH
 
7010
do
 
7011
  IFS=$as_save_IFS
 
7012
  test -z "$as_dir" && as_dir=.
 
7013
    for ac_exec_ext in '' $ac_executable_extensions; do
 
7014
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
7015
    ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
 
7016
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7017
    break 2
 
7018
  fi
 
7019
done
 
7020
  done
 
7021
IFS=$as_save_IFS
 
7022
 
 
7023
fi
 
7024
fi
 
7025
NMEDIT=$ac_cv_prog_NMEDIT
 
7026
if test -n "$NMEDIT"; then
 
7027
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
 
7028
$as_echo "$NMEDIT" >&6; }
 
7029
else
 
7030
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
7031
$as_echo "no" >&6; }
 
7032
fi
 
7033
 
 
7034
 
 
7035
fi
 
7036
if test -z "$ac_cv_prog_NMEDIT"; then
 
7037
  ac_ct_NMEDIT=$NMEDIT
 
7038
  # Extract the first word of "nmedit", so it can be a program name with args.
 
7039
set dummy nmedit; ac_word=$2
 
7040
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
7041
$as_echo_n "checking for $ac_word... " >&6; }
 
7042
if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
 
7043
  $as_echo_n "(cached) " >&6
 
7044
else
 
7045
  if test -n "$ac_ct_NMEDIT"; then
 
7046
  ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
 
7047
else
 
7048
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
7049
for as_dir in $PATH
 
7050
do
 
7051
  IFS=$as_save_IFS
 
7052
  test -z "$as_dir" && as_dir=.
 
7053
    for ac_exec_ext in '' $ac_executable_extensions; do
 
7054
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
7055
    ac_cv_prog_ac_ct_NMEDIT="nmedit"
 
7056
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7057
    break 2
 
7058
  fi
 
7059
done
 
7060
  done
 
7061
IFS=$as_save_IFS
 
7062
 
 
7063
fi
 
7064
fi
 
7065
ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
 
7066
if test -n "$ac_ct_NMEDIT"; then
 
7067
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
 
7068
$as_echo "$ac_ct_NMEDIT" >&6; }
 
7069
else
 
7070
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
7071
$as_echo "no" >&6; }
 
7072
fi
 
7073
 
 
7074
  if test "x$ac_ct_NMEDIT" = x; then
 
7075
    NMEDIT=":"
 
7076
  else
 
7077
    case $cross_compiling:$ac_tool_warned in
 
7078
yes:)
 
7079
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
7080
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
7081
ac_tool_warned=yes ;;
 
7082
esac
 
7083
    NMEDIT=$ac_ct_NMEDIT
 
7084
  fi
 
7085
else
 
7086
  NMEDIT="$ac_cv_prog_NMEDIT"
 
7087
fi
 
7088
 
 
7089
    if test -n "$ac_tool_prefix"; then
 
7090
  # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
 
7091
set dummy ${ac_tool_prefix}lipo; ac_word=$2
 
7092
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
7093
$as_echo_n "checking for $ac_word... " >&6; }
 
7094
if test "${ac_cv_prog_LIPO+set}" = set; then :
 
7095
  $as_echo_n "(cached) " >&6
 
7096
else
 
7097
  if test -n "$LIPO"; then
 
7098
  ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
 
7099
else
 
7100
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
7101
for as_dir in $PATH
 
7102
do
 
7103
  IFS=$as_save_IFS
 
7104
  test -z "$as_dir" && as_dir=.
 
7105
    for ac_exec_ext in '' $ac_executable_extensions; do
 
7106
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
7107
    ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
 
7108
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7109
    break 2
 
7110
  fi
 
7111
done
 
7112
  done
 
7113
IFS=$as_save_IFS
 
7114
 
 
7115
fi
 
7116
fi
 
7117
LIPO=$ac_cv_prog_LIPO
 
7118
if test -n "$LIPO"; then
 
7119
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
 
7120
$as_echo "$LIPO" >&6; }
 
7121
else
 
7122
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
7123
$as_echo "no" >&6; }
 
7124
fi
 
7125
 
 
7126
 
 
7127
fi
 
7128
if test -z "$ac_cv_prog_LIPO"; then
 
7129
  ac_ct_LIPO=$LIPO
 
7130
  # Extract the first word of "lipo", so it can be a program name with args.
 
7131
set dummy lipo; ac_word=$2
 
7132
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
7133
$as_echo_n "checking for $ac_word... " >&6; }
 
7134
if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
 
7135
  $as_echo_n "(cached) " >&6
 
7136
else
 
7137
  if test -n "$ac_ct_LIPO"; then
 
7138
  ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
 
7139
else
 
7140
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
7141
for as_dir in $PATH
 
7142
do
 
7143
  IFS=$as_save_IFS
 
7144
  test -z "$as_dir" && as_dir=.
 
7145
    for ac_exec_ext in '' $ac_executable_extensions; do
 
7146
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
7147
    ac_cv_prog_ac_ct_LIPO="lipo"
 
7148
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7149
    break 2
 
7150
  fi
 
7151
done
 
7152
  done
 
7153
IFS=$as_save_IFS
 
7154
 
 
7155
fi
 
7156
fi
 
7157
ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
 
7158
if test -n "$ac_ct_LIPO"; then
 
7159
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
 
7160
$as_echo "$ac_ct_LIPO" >&6; }
 
7161
else
 
7162
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
7163
$as_echo "no" >&6; }
 
7164
fi
 
7165
 
 
7166
  if test "x$ac_ct_LIPO" = x; then
 
7167
    LIPO=":"
 
7168
  else
 
7169
    case $cross_compiling:$ac_tool_warned in
 
7170
yes:)
 
7171
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
7172
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
7173
ac_tool_warned=yes ;;
 
7174
esac
 
7175
    LIPO=$ac_ct_LIPO
 
7176
  fi
 
7177
else
 
7178
  LIPO="$ac_cv_prog_LIPO"
 
7179
fi
 
7180
 
 
7181
    if test -n "$ac_tool_prefix"; then
 
7182
  # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
 
7183
set dummy ${ac_tool_prefix}otool; ac_word=$2
 
7184
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
7185
$as_echo_n "checking for $ac_word... " >&6; }
 
7186
if test "${ac_cv_prog_OTOOL+set}" = set; then :
 
7187
  $as_echo_n "(cached) " >&6
 
7188
else
 
7189
  if test -n "$OTOOL"; then
 
7190
  ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
 
7191
else
 
7192
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
7193
for as_dir in $PATH
 
7194
do
 
7195
  IFS=$as_save_IFS
 
7196
  test -z "$as_dir" && as_dir=.
 
7197
    for ac_exec_ext in '' $ac_executable_extensions; do
 
7198
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
7199
    ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
 
7200
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7201
    break 2
 
7202
  fi
 
7203
done
 
7204
  done
 
7205
IFS=$as_save_IFS
 
7206
 
 
7207
fi
 
7208
fi
 
7209
OTOOL=$ac_cv_prog_OTOOL
 
7210
if test -n "$OTOOL"; then
 
7211
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
 
7212
$as_echo "$OTOOL" >&6; }
 
7213
else
 
7214
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
7215
$as_echo "no" >&6; }
 
7216
fi
 
7217
 
 
7218
 
 
7219
fi
 
7220
if test -z "$ac_cv_prog_OTOOL"; then
 
7221
  ac_ct_OTOOL=$OTOOL
 
7222
  # Extract the first word of "otool", so it can be a program name with args.
 
7223
set dummy otool; ac_word=$2
 
7224
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
7225
$as_echo_n "checking for $ac_word... " >&6; }
 
7226
if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
 
7227
  $as_echo_n "(cached) " >&6
 
7228
else
 
7229
  if test -n "$ac_ct_OTOOL"; then
 
7230
  ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
 
7231
else
 
7232
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
7233
for as_dir in $PATH
 
7234
do
 
7235
  IFS=$as_save_IFS
 
7236
  test -z "$as_dir" && as_dir=.
 
7237
    for ac_exec_ext in '' $ac_executable_extensions; do
 
7238
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
7239
    ac_cv_prog_ac_ct_OTOOL="otool"
 
7240
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7241
    break 2
 
7242
  fi
 
7243
done
 
7244
  done
 
7245
IFS=$as_save_IFS
 
7246
 
 
7247
fi
 
7248
fi
 
7249
ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
 
7250
if test -n "$ac_ct_OTOOL"; then
 
7251
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
 
7252
$as_echo "$ac_ct_OTOOL" >&6; }
 
7253
else
 
7254
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
7255
$as_echo "no" >&6; }
 
7256
fi
 
7257
 
 
7258
  if test "x$ac_ct_OTOOL" = x; then
 
7259
    OTOOL=":"
 
7260
  else
 
7261
    case $cross_compiling:$ac_tool_warned in
 
7262
yes:)
 
7263
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
7264
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
7265
ac_tool_warned=yes ;;
 
7266
esac
 
7267
    OTOOL=$ac_ct_OTOOL
 
7268
  fi
 
7269
else
 
7270
  OTOOL="$ac_cv_prog_OTOOL"
 
7271
fi
 
7272
 
 
7273
    if test -n "$ac_tool_prefix"; then
 
7274
  # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
 
7275
set dummy ${ac_tool_prefix}otool64; ac_word=$2
 
7276
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
7277
$as_echo_n "checking for $ac_word... " >&6; }
 
7278
if test "${ac_cv_prog_OTOOL64+set}" = set; then :
 
7279
  $as_echo_n "(cached) " >&6
 
7280
else
 
7281
  if test -n "$OTOOL64"; then
 
7282
  ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
 
7283
else
 
7284
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
7285
for as_dir in $PATH
 
7286
do
 
7287
  IFS=$as_save_IFS
 
7288
  test -z "$as_dir" && as_dir=.
 
7289
    for ac_exec_ext in '' $ac_executable_extensions; do
 
7290
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
7291
    ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
 
7292
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7293
    break 2
 
7294
  fi
 
7295
done
 
7296
  done
 
7297
IFS=$as_save_IFS
 
7298
 
 
7299
fi
 
7300
fi
 
7301
OTOOL64=$ac_cv_prog_OTOOL64
 
7302
if test -n "$OTOOL64"; then
 
7303
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
 
7304
$as_echo "$OTOOL64" >&6; }
 
7305
else
 
7306
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
7307
$as_echo "no" >&6; }
 
7308
fi
 
7309
 
 
7310
 
 
7311
fi
 
7312
if test -z "$ac_cv_prog_OTOOL64"; then
 
7313
  ac_ct_OTOOL64=$OTOOL64
 
7314
  # Extract the first word of "otool64", so it can be a program name with args.
 
7315
set dummy otool64; ac_word=$2
 
7316
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
7317
$as_echo_n "checking for $ac_word... " >&6; }
 
7318
if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
 
7319
  $as_echo_n "(cached) " >&6
 
7320
else
 
7321
  if test -n "$ac_ct_OTOOL64"; then
 
7322
  ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
 
7323
else
 
7324
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
7325
for as_dir in $PATH
 
7326
do
 
7327
  IFS=$as_save_IFS
 
7328
  test -z "$as_dir" && as_dir=.
 
7329
    for ac_exec_ext in '' $ac_executable_extensions; do
 
7330
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
7331
    ac_cv_prog_ac_ct_OTOOL64="otool64"
 
7332
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7333
    break 2
 
7334
  fi
 
7335
done
 
7336
  done
 
7337
IFS=$as_save_IFS
 
7338
 
 
7339
fi
 
7340
fi
 
7341
ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
 
7342
if test -n "$ac_ct_OTOOL64"; then
 
7343
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
 
7344
$as_echo "$ac_ct_OTOOL64" >&6; }
 
7345
else
 
7346
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
7347
$as_echo "no" >&6; }
 
7348
fi
 
7349
 
 
7350
  if test "x$ac_ct_OTOOL64" = x; then
 
7351
    OTOOL64=":"
 
7352
  else
 
7353
    case $cross_compiling:$ac_tool_warned in
 
7354
yes:)
 
7355
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
7356
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
7357
ac_tool_warned=yes ;;
 
7358
esac
 
7359
    OTOOL64=$ac_ct_OTOOL64
 
7360
  fi
 
7361
else
 
7362
  OTOOL64="$ac_cv_prog_OTOOL64"
 
7363
fi
 
7364
 
 
7365
    
 
7366
    
 
7367
    
 
7368
    
 
7369
 
 
7370
    
 
7371
    
 
7372
    
 
7373
    
 
7374
 
 
7375
    
 
7376
    
 
7377
    
 
7378
    
 
7379
 
 
7380
    
 
7381
    
 
7382
    
 
7383
    
 
7384
 
 
7385
    
 
7386
    
 
7387
    
 
7388
    
 
7389
 
 
7390
 
 
7391
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
 
7392
$as_echo_n "checking for -single_module linker flag... " >&6; }
 
7393
if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
 
7394
  $as_echo_n "(cached) " >&6
 
7395
else
 
7396
  lt_cv_apple_cc_single_mod=no
 
7397
      if test -z "${LT_MULTI_MODULE}"; then
 
7398
        # By default we will add the -single_module flag. You can override
 
7399
        # by either setting the environment variable LT_MULTI_MODULE
 
7400
        # non-empty at configure time, or by adding -multi_module to the
 
7401
        # link flags.
 
7402
        rm -rf libconftest.dylib*
 
7403
        echo "int foo(void){return 1;}" > conftest.c
 
7404
        echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
 
7405
-dynamiclib -Wl,-single_module conftest.c" >&5
 
7406
        $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
 
7407
          -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
 
7408
        _lt_result=$?
 
7409
        if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
 
7410
          lt_cv_apple_cc_single_mod=yes
 
7411
        else
 
7412
          cat conftest.err >&5
 
7413
        fi
 
7414
        rm -rf libconftest.dylib*
 
7415
        rm -f conftest.*
 
7416
      fi
 
7417
fi
 
7418
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
 
7419
$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
 
7420
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
 
7421
$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
 
7422
if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
 
7423
  $as_echo_n "(cached) " >&6
 
7424
else
 
7425
  lt_cv_ld_exported_symbols_list=no
 
7426
      save_LDFLAGS=$LDFLAGS
 
7427
      echo "_main" > conftest.sym
 
7428
      LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
 
7429
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
7430
/* end confdefs.h.  */
 
7431
 
 
7432
int
 
7433
main ()
 
7434
{
 
7435
 
 
7436
  ;
 
7437
  return 0;
 
7438
}
 
7439
_ACEOF
 
7440
if ac_fn_c_try_link "$LINENO"; then :
 
7441
  lt_cv_ld_exported_symbols_list=yes
 
7442
else
 
7443
  lt_cv_ld_exported_symbols_list=no
 
7444
fi
 
7445
rm -f core conftest.err conftest.$ac_objext \
 
7446
    conftest$ac_exeext conftest.$ac_ext
 
7447
        LDFLAGS="$save_LDFLAGS"
 
7448
    
 
7449
fi
 
7450
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
 
7451
$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
 
7452
    case $host_os in
 
7453
    rhapsody* | darwin1.[012])
 
7454
      _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
 
7455
    darwin1.*)
 
7456
      _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
 
7457
    darwin*) # darwin 5.x on
 
7458
      # if running on 10.5 or later, the deployment target defaults
 
7459
      # to the OS version, if on x86, and 10.4, the deployment
 
7460
      # target defaults to 10.4. Don't you love it?
 
7461
      case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
 
7462
        10.0,*86*-darwin8*|10.0,*-darwin[91]*)
 
7463
          _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
 
7464
        10.[012]*)
 
7465
          _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
 
7466
        10.*)
 
7467
          _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
 
7468
      esac
 
7469
    ;;
 
7470
  esac
 
7471
    if test "$lt_cv_apple_cc_single_mod" = "yes"; then
 
7472
      _lt_dar_single_mod='$single_module'
 
7473
    fi
 
7474
    if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
 
7475
      _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
 
7476
    else
 
7477
      _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
 
7478
    fi
 
7479
    if test "$DSYMUTIL" != ":"; then
 
7480
      _lt_dsymutil='~$DSYMUTIL $lib || :'
 
7481
    else
 
7482
      _lt_dsymutil=
 
7483
    fi
 
7484
    ;;
 
7485
  esac
 
7486
 
 
7487
 
 
7488
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
 
7489
$as_echo_n "checking for ANSI C header files... " >&6; }
 
7490
if test "${ac_cv_header_stdc+set}" = set; then :
 
7491
  $as_echo_n "(cached) " >&6
 
7492
else
 
7493
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
7494
/* end confdefs.h.  */
 
7495
#include <stdlib.h>
 
7496
#include <stdarg.h>
 
7497
#include <string.h>
 
7498
#include <float.h>
 
7499
 
 
7500
int
 
7501
main ()
 
7502
{
 
7503
 
 
7504
  ;
 
7505
  return 0;
 
7506
}
 
7507
_ACEOF
 
7508
if ac_fn_c_try_compile "$LINENO"; then :
 
7509
  ac_cv_header_stdc=yes
 
7510
else
 
7511
  ac_cv_header_stdc=no
 
7512
fi
 
7513
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
7514
 
 
7515
if test $ac_cv_header_stdc = yes; then
 
7516
  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
 
7517
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
7518
/* end confdefs.h.  */
 
7519
#include <string.h>
 
7520
 
 
7521
_ACEOF
 
7522
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 
7523
  $EGREP "memchr" >/dev/null 2>&1; then :
 
7524
  
 
7525
else
 
7526
  ac_cv_header_stdc=no
 
7527
fi
 
7528
rm -f conftest*
 
7529
 
 
7530
fi
 
7531
 
 
7532
if test $ac_cv_header_stdc = yes; then
 
7533
  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
 
7534
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
7535
/* end confdefs.h.  */
 
7536
#include <stdlib.h>
 
7537
 
 
7538
_ACEOF
 
7539
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 
7540
  $EGREP "free" >/dev/null 2>&1; then :
 
7541
  
 
7542
else
 
7543
  ac_cv_header_stdc=no
 
7544
fi
 
7545
rm -f conftest*
 
7546
 
 
7547
fi
 
7548
 
 
7549
if test $ac_cv_header_stdc = yes; then
 
7550
  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
 
7551
  if test "$cross_compiling" = yes; then :
 
7552
  :
 
7553
else
 
7554
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
7555
/* end confdefs.h.  */
 
7556
#include <ctype.h>
 
7557
#include <stdlib.h>
 
7558
#if ((' ' & 0x0FF) == 0x020)
 
7559
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
 
7560
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
 
7561
#else
 
7562
# define ISLOWER(c) \
 
7563
                   (('a' <= (c) && (c) <= 'i') \
 
7564
                     || ('j' <= (c) && (c) <= 'r') \
 
7565
                     || ('s' <= (c) && (c) <= 'z'))
 
7566
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
 
7567
#endif
 
7568
 
 
7569
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
 
7570
int
 
7571
main ()
 
7572
{
 
7573
  int i;
 
7574
  for (i = 0; i < 256; i++)
 
7575
    if (XOR (islower (i), ISLOWER (i))
 
7576
        || toupper (i) != TOUPPER (i))
 
7577
      return 2;
 
7578
  return 0;
 
7579
}
 
7580
_ACEOF
 
7581
if ac_fn_c_try_run "$LINENO"; then :
 
7582
  
 
7583
else
 
7584
  ac_cv_header_stdc=no
 
7585
fi
 
7586
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
 
7587
  conftest.$ac_objext conftest.beam conftest.$ac_ext
 
7588
fi
 
7589
 
 
7590
fi
 
7591
fi
 
7592
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
 
7593
$as_echo "$ac_cv_header_stdc" >&6; }
 
7594
if test $ac_cv_header_stdc = yes; then
 
7595
  
 
7596
$as_echo "@%:@define STDC_HEADERS 1" >>confdefs.h
 
7597
 
 
7598
fi
 
7599
 
 
7600
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
 
7601
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
 
7602
                  inttypes.h stdint.h unistd.h
 
7603
do :
 
7604
  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
7605
ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
 
7606
"
 
7607
eval as_val=\$$as_ac_Header
 
7608
   if test "x$as_val" = x""yes; then :
 
7609
  cat >>confdefs.h <<_ACEOF
 
7610
@%:@define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
7611
_ACEOF
 
7612
 
 
7613
fi
 
7614
 
 
7615
done
 
7616
 
 
7617
 
 
7618
for ac_header in dlfcn.h
 
7619
do :
 
7620
  ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
 
7621
"
 
7622
if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
 
7623
  cat >>confdefs.h <<_ACEOF
 
7624
@%:@define HAVE_DLFCN_H 1
 
7625
_ACEOF
 
7626
 
 
7627
fi
 
7628
 
 
7629
done
 
7630
 
 
7631
 
 
7632
 
 
7633
ac_ext=cpp
 
7634
ac_cpp='$CXXCPP $CPPFLAGS'
 
7635
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
7636
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
7637
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 
7638
if test -z "$CXX"; then
 
7639
  if test -n "$CCC"; then
 
7640
    CXX=$CCC
 
7641
  else
 
7642
    if test -n "$ac_tool_prefix"; then
 
7643
  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
 
7644
  do
 
7645
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 
7646
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 
7647
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
7648
$as_echo_n "checking for $ac_word... " >&6; }
 
7649
if test "${ac_cv_prog_CXX+set}" = set; then :
 
7650
  $as_echo_n "(cached) " >&6
 
7651
else
 
7652
  if test -n "$CXX"; then
 
7653
  ac_cv_prog_CXX="$CXX" # Let the user override the test.
 
7654
else
 
7655
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
7656
for as_dir in $PATH
 
7657
do
 
7658
  IFS=$as_save_IFS
 
7659
  test -z "$as_dir" && as_dir=.
 
7660
    for ac_exec_ext in '' $ac_executable_extensions; do
 
7661
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
7662
    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
 
7663
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7664
    break 2
 
7665
  fi
 
7666
done
 
7667
  done
 
7668
IFS=$as_save_IFS
 
7669
 
 
7670
fi
 
7671
fi
 
7672
CXX=$ac_cv_prog_CXX
 
7673
if test -n "$CXX"; then
 
7674
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
 
7675
$as_echo "$CXX" >&6; }
 
7676
else
 
7677
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
7678
$as_echo "no" >&6; }
 
7679
fi
 
7680
 
 
7681
 
 
7682
    test -n "$CXX" && break
 
7683
  done
 
7684
fi
 
7685
if test -z "$CXX"; then
 
7686
  ac_ct_CXX=$CXX
 
7687
  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
 
7688
do
 
7689
  # Extract the first word of "$ac_prog", so it can be a program name with args.
 
7690
set dummy $ac_prog; ac_word=$2
 
7691
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
7692
$as_echo_n "checking for $ac_word... " >&6; }
 
7693
if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
 
7694
  $as_echo_n "(cached) " >&6
 
7695
else
 
7696
  if test -n "$ac_ct_CXX"; then
 
7697
  ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
 
7698
else
 
7699
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
7700
for as_dir in $PATH
 
7701
do
 
7702
  IFS=$as_save_IFS
 
7703
  test -z "$as_dir" && as_dir=.
 
7704
    for ac_exec_ext in '' $ac_executable_extensions; do
 
7705
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
7706
    ac_cv_prog_ac_ct_CXX="$ac_prog"
 
7707
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7708
    break 2
 
7709
  fi
 
7710
done
 
7711
  done
 
7712
IFS=$as_save_IFS
 
7713
 
 
7714
fi
 
7715
fi
 
7716
ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
 
7717
if test -n "$ac_ct_CXX"; then
 
7718
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
 
7719
$as_echo "$ac_ct_CXX" >&6; }
 
7720
else
 
7721
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
7722
$as_echo "no" >&6; }
 
7723
fi
 
7724
 
 
7725
 
 
7726
  test -n "$ac_ct_CXX" && break
 
7727
done
 
7728
 
 
7729
  if test "x$ac_ct_CXX" = x; then
 
7730
    CXX="g++"
 
7731
  else
 
7732
    case $cross_compiling:$ac_tool_warned in
 
7733
yes:)
 
7734
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
7735
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
7736
ac_tool_warned=yes ;;
 
7737
esac
 
7738
    CXX=$ac_ct_CXX
 
7739
  fi
 
7740
fi
 
7741
 
 
7742
  fi
 
7743
fi
 
7744
# Provide some information about the compiler.
 
7745
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
 
7746
set X $ac_compile
 
7747
ac_compiler=$2
 
7748
for ac_option in --version -v -V -qversion; do
 
7749
  { { ac_try="$ac_compiler $ac_option >&5"
 
7750
case "(($ac_try" in
 
7751
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
7752
  *) ac_try_echo=$ac_try;;
 
7753
esac
 
7754
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
7755
$as_echo "$ac_try_echo"; } >&5
 
7756
  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
 
7757
  ac_status=$?
 
7758
  if test -s conftest.err; then
 
7759
    sed '10a\
 
7760
... rest of stderr output deleted ...
 
7761
         10q' conftest.err >conftest.er1
 
7762
    cat conftest.er1 >&5
 
7763
  fi
 
7764
  rm -f conftest.er1 conftest.err
 
7765
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
7766
  test $ac_status = 0; }
 
7767
done
 
7768
 
 
7769
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
 
7770
$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
 
7771
if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
 
7772
  $as_echo_n "(cached) " >&6
 
7773
else
 
7774
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
7775
/* end confdefs.h.  */
 
7776
 
 
7777
int
 
7778
main ()
 
7779
{
 
7780
#ifndef __GNUC__
 
7781
       choke me
 
7782
#endif
 
7783
 
 
7784
  ;
 
7785
  return 0;
 
7786
}
 
7787
_ACEOF
 
7788
if ac_fn_cxx_try_compile "$LINENO"; then :
 
7789
  ac_compiler_gnu=yes
 
7790
else
 
7791
  ac_compiler_gnu=no
 
7792
fi
 
7793
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
7794
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
 
7795
 
 
7796
fi
 
7797
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
 
7798
$as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
 
7799
if test $ac_compiler_gnu = yes; then
 
7800
  GXX=yes
 
7801
else
 
7802
  GXX=
 
7803
fi
 
7804
ac_test_CXXFLAGS=${CXXFLAGS+set}
 
7805
ac_save_CXXFLAGS=$CXXFLAGS
 
7806
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
 
7807
$as_echo_n "checking whether $CXX accepts -g... " >&6; }
 
7808
if test "${ac_cv_prog_cxx_g+set}" = set; then :
 
7809
  $as_echo_n "(cached) " >&6
 
7810
else
 
7811
  ac_save_cxx_werror_flag=$ac_cxx_werror_flag
 
7812
   ac_cxx_werror_flag=yes
 
7813
   ac_cv_prog_cxx_g=no
 
7814
   CXXFLAGS="-g"
 
7815
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
7816
/* end confdefs.h.  */
 
7817
 
 
7818
int
 
7819
main ()
 
7820
{
 
7821
 
 
7822
  ;
 
7823
  return 0;
 
7824
}
 
7825
_ACEOF
 
7826
if ac_fn_cxx_try_compile "$LINENO"; then :
 
7827
  ac_cv_prog_cxx_g=yes
 
7828
else
 
7829
  CXXFLAGS=""
 
7830
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
7831
/* end confdefs.h.  */
 
7832
 
 
7833
int
 
7834
main ()
 
7835
{
 
7836
 
 
7837
  ;
 
7838
  return 0;
 
7839
}
 
7840
_ACEOF
 
7841
if ac_fn_cxx_try_compile "$LINENO"; then :
 
7842
  
 
7843
else
 
7844
  ac_cxx_werror_flag=$ac_save_cxx_werror_flag
 
7845
         CXXFLAGS="-g"
 
7846
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
7847
/* end confdefs.h.  */
 
7848
 
 
7849
int
 
7850
main ()
 
7851
{
 
7852
 
 
7853
  ;
 
7854
  return 0;
 
7855
}
 
7856
_ACEOF
 
7857
if ac_fn_cxx_try_compile "$LINENO"; then :
 
7858
  ac_cv_prog_cxx_g=yes
 
7859
fi
 
7860
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
7861
fi
 
7862
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
7863
fi
 
7864
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
7865
   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
 
7866
fi
 
7867
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
 
7868
$as_echo "$ac_cv_prog_cxx_g" >&6; }
 
7869
if test "$ac_test_CXXFLAGS" = set; then
 
7870
  CXXFLAGS=$ac_save_CXXFLAGS
 
7871
elif test $ac_cv_prog_cxx_g = yes; then
 
7872
  if test "$GXX" = yes; then
 
7873
    CXXFLAGS="-g -O2"
 
7874
  else
 
7875
    CXXFLAGS="-g"
 
7876
  fi
 
7877
else
 
7878
  if test "$GXX" = yes; then
 
7879
    CXXFLAGS="-O2"
 
7880
  else
 
7881
    CXXFLAGS=
 
7882
  fi
 
7883
fi
 
7884
ac_ext=cpp
 
7885
ac_cpp='$CXXCPP $CPPFLAGS'
 
7886
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
7887
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
7888
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 
7889
 
 
7890
depcc="$CXX"  am_compiler_list=
 
7891
 
 
7892
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
 
7893
$as_echo_n "checking dependency style of $depcc... " >&6; }
 
7894
if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then :
 
7895
  $as_echo_n "(cached) " >&6
 
7896
else
 
7897
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
 
7898
  # We make a subdir and do the tests there.  Otherwise we can end up
 
7899
  # making bogus files that we don't know about and never remove.  For
 
7900
  # instance it was reported that on HP-UX the gcc test will end up
 
7901
  # making a dummy file named `D' -- because `-MD' means `put the output
 
7902
  # in D'.
 
7903
  mkdir conftest.dir
 
7904
  # Copy depcomp to subdir because otherwise we won't find it if we're
 
7905
  # using a relative directory.
 
7906
  cp "$am_depcomp" conftest.dir
 
7907
  cd conftest.dir
 
7908
  # We will build objects and dependencies in a subdirectory because
 
7909
  # it helps to detect inapplicable dependency modes.  For instance
 
7910
  # both Tru64's cc and ICC support -MD to output dependencies as a
 
7911
  # side effect of compilation, but ICC will put the dependencies in
 
7912
  # the current directory while Tru64 will put them in the object
 
7913
  # directory.
 
7914
  mkdir sub
 
7915
 
 
7916
  am_cv_CXX_dependencies_compiler_type=none
 
7917
  if test "$am_compiler_list" = ""; then
 
7918
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
 
7919
  fi
 
7920
  am__universal=false
 
7921
  case " $depcc " in #(
 
7922
     *\ -arch\ *\ -arch\ *) am__universal=true ;;
 
7923
     esac
 
7924
 
 
7925
  for depmode in $am_compiler_list; do
 
7926
    # Setup a source with many dependencies, because some compilers
 
7927
    # like to wrap large dependency lists on column 80 (with \), and
 
7928
    # we should not choose a depcomp mode which is confused by this.
 
7929
    #
 
7930
    # We need to recreate these files for each test, as the compiler may
 
7931
    # overwrite some of them when testing with obscure command lines.
 
7932
    # This happens at least with the AIX C compiler.
 
7933
    : > sub/conftest.c
 
7934
    for i in 1 2 3 4 5 6; do
 
7935
      echo '#include "conftst'$i'.h"' >> sub/conftest.c
 
7936
      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
 
7937
      # Solaris 8's {/usr,}/bin/sh.
 
7938
      touch sub/conftst$i.h
 
7939
    done
 
7940
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
 
7941
 
 
7942
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
 
7943
    # mode.  It turns out that the SunPro C++ compiler does not properly
 
7944
    # handle `-M -o', and we need to detect this.  Also, some Intel
 
7945
    # versions had trouble with output in subdirs
 
7946
    am__obj=sub/conftest.${OBJEXT-o}
 
7947
    am__minus_obj="-o $am__obj"
 
7948
    case $depmode in
 
7949
    gcc)
 
7950
      # This depmode causes a compiler race in universal mode.
 
7951
      test "$am__universal" = false || continue
 
7952
      ;;
 
7953
    nosideeffect)
 
7954
      # after this tag, mechanisms are not by side-effect, so they'll
 
7955
      # only be used when explicitly requested
 
7956
      if test "x$enable_dependency_tracking" = xyes; then
 
7957
        continue
 
7958
      else
 
7959
        break
 
7960
      fi
 
7961
      ;;
 
7962
    msvisualcpp | msvcmsys)
 
7963
      # This compiler won't grok `-c -o', but also, the minuso test has
 
7964
      # not run yet.  These depmodes are late enough in the game, and
 
7965
      # so weak that their functioning should not be impacted.
 
7966
      am__obj=conftest.${OBJEXT-o}
 
7967
      am__minus_obj=
 
7968
      ;;
 
7969
    none) break ;;
 
7970
    esac
 
7971
    if depmode=$depmode \
 
7972
       source=sub/conftest.c object=$am__obj \
 
7973
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
 
7974
       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
 
7975
         >/dev/null 2>conftest.err &&
 
7976
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
 
7977
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
 
7978
       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
 
7979
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
 
7980
      # icc doesn't choke on unknown options, it will just issue warnings
 
7981
      # or remarks (even with -Werror).  So we grep stderr for any message
 
7982
      # that says an option was ignored or not supported.
 
7983
      # When given -MP, icc 7.0 and 7.1 complain thusly:
 
7984
      #   icc: Command line warning: ignoring option '-M'; no argument required
 
7985
      # The diagnosis changed in icc 8.0:
 
7986
      #   icc: Command line remark: option '-MP' not supported
 
7987
      if (grep 'ignoring option' conftest.err ||
 
7988
          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
 
7989
        am_cv_CXX_dependencies_compiler_type=$depmode
 
7990
        break
 
7991
      fi
 
7992
    fi
 
7993
  done
 
7994
 
 
7995
  cd ..
 
7996
  rm -rf conftest.dir
 
7997
else
 
7998
  am_cv_CXX_dependencies_compiler_type=none
 
7999
fi
 
8000
 
 
8001
fi
 
8002
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
 
8003
$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
 
8004
CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
 
8005
 
 
8006
 if 
 
8007
  test "x$enable_dependency_tracking" != xno \
 
8008
  && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
 
8009
  am__fastdepCXX_TRUE=
 
8010
  am__fastdepCXX_FALSE='#'
 
8011
else
 
8012
  am__fastdepCXX_TRUE='#'
 
8013
  am__fastdepCXX_FALSE=
 
8014
fi
 
8015
 
 
8016
 
 
8017
if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
 
8018
    ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
 
8019
    (test "X$CXX" != "Xg++"))) ; then
 
8020
  ac_ext=cpp
 
8021
ac_cpp='$CXXCPP $CPPFLAGS'
 
8022
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
8023
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
8024
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 
8025
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
 
8026
$as_echo_n "checking how to run the C++ preprocessor... " >&6; }
 
8027
if test -z "$CXXCPP"; then
 
8028
  if test "${ac_cv_prog_CXXCPP+set}" = set; then :
 
8029
  $as_echo_n "(cached) " >&6
 
8030
else
 
8031
      # Double quotes because CXXCPP needs to be expanded
 
8032
    for CXXCPP in "$CXX -E" "/lib/cpp"
 
8033
    do
 
8034
      ac_preproc_ok=false
 
8035
for ac_cxx_preproc_warn_flag in '' yes
 
8036
do
 
8037
  # Use a header file that comes with gcc, so configuring glibc
 
8038
  # with a fresh cross-compiler works.
 
8039
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
8040
  # <limits.h> exists even on freestanding compilers.
 
8041
  # On the NeXT, cc -E runs the code through the compiler's parser,
 
8042
  # not just through cpp. "Syntax error" is here to catch this case.
 
8043
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
8044
/* end confdefs.h.  */
 
8045
@%:@ifdef __STDC__
 
8046
@%:@ include <limits.h>
 
8047
@%:@else
 
8048
@%:@ include <assert.h>
 
8049
@%:@endif
 
8050
                     Syntax error
 
8051
_ACEOF
 
8052
if ac_fn_cxx_try_cpp "$LINENO"; then :
 
8053
  
 
8054
else
 
8055
  # Broken: fails on valid input.
 
8056
continue
 
8057
fi
 
8058
rm -f conftest.err conftest.$ac_ext
 
8059
 
 
8060
  # OK, works on sane cases.  Now check whether nonexistent headers
 
8061
  # can be detected and how.
 
8062
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
8063
/* end confdefs.h.  */
 
8064
@%:@include <ac_nonexistent.h>
 
8065
_ACEOF
 
8066
if ac_fn_cxx_try_cpp "$LINENO"; then :
 
8067
  # Broken: success on invalid input.
 
8068
continue
 
8069
else
 
8070
  # Passes both tests.
 
8071
ac_preproc_ok=:
 
8072
break
 
8073
fi
 
8074
rm -f conftest.err conftest.$ac_ext
 
8075
 
 
8076
done
 
8077
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
 
8078
rm -f conftest.err conftest.$ac_ext
 
8079
if $ac_preproc_ok; then :
 
8080
  break
 
8081
fi
 
8082
 
 
8083
    done
 
8084
    ac_cv_prog_CXXCPP=$CXXCPP
 
8085
  
 
8086
fi
 
8087
  CXXCPP=$ac_cv_prog_CXXCPP
 
8088
else
 
8089
  ac_cv_prog_CXXCPP=$CXXCPP
 
8090
fi
 
8091
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
 
8092
$as_echo "$CXXCPP" >&6; }
 
8093
ac_preproc_ok=false
 
8094
for ac_cxx_preproc_warn_flag in '' yes
 
8095
do
 
8096
  # Use a header file that comes with gcc, so configuring glibc
 
8097
  # with a fresh cross-compiler works.
 
8098
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
8099
  # <limits.h> exists even on freestanding compilers.
 
8100
  # On the NeXT, cc -E runs the code through the compiler's parser,
 
8101
  # not just through cpp. "Syntax error" is here to catch this case.
 
8102
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
8103
/* end confdefs.h.  */
 
8104
@%:@ifdef __STDC__
 
8105
@%:@ include <limits.h>
 
8106
@%:@else
 
8107
@%:@ include <assert.h>
 
8108
@%:@endif
 
8109
                     Syntax error
 
8110
_ACEOF
 
8111
if ac_fn_cxx_try_cpp "$LINENO"; then :
 
8112
  
 
8113
else
 
8114
  # Broken: fails on valid input.
 
8115
continue
 
8116
fi
 
8117
rm -f conftest.err conftest.$ac_ext
 
8118
 
 
8119
  # OK, works on sane cases.  Now check whether nonexistent headers
 
8120
  # can be detected and how.
 
8121
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
8122
/* end confdefs.h.  */
 
8123
@%:@include <ac_nonexistent.h>
 
8124
_ACEOF
 
8125
if ac_fn_cxx_try_cpp "$LINENO"; then :
 
8126
  # Broken: success on invalid input.
 
8127
continue
 
8128
else
 
8129
  # Passes both tests.
 
8130
ac_preproc_ok=:
 
8131
break
 
8132
fi
 
8133
rm -f conftest.err conftest.$ac_ext
 
8134
 
 
8135
done
 
8136
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
 
8137
rm -f conftest.err conftest.$ac_ext
 
8138
if $ac_preproc_ok; then :
 
8139
  
 
8140
else
 
8141
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
8142
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
8143
_lt_caught_CXX_error=yes; }
 
8144
fi
 
8145
 
 
8146
ac_ext=cpp
 
8147
ac_cpp='$CXXCPP $CPPFLAGS'
 
8148
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
8149
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
8150
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 
8151
 
 
8152
else
 
8153
  _lt_caught_CXX_error=yes
 
8154
fi
 
8155
 
 
8156
 
 
8157
 
 
8158
 
 
8159
 
 
8160
# Set options
 
8161
 
 
8162
 
 
8163
 
 
8164
        enable_dlopen=no
 
8165
  
 
8166
 
 
8167
  enable_win32_dll=no
 
8168
  
 
8169
 
 
8170
            @%:@ Check whether --enable-shared was given.
 
8171
if test "${enable_shared+set}" = set; then :
 
8172
  enableval=$enable_shared; p=${PACKAGE-default}
 
8173
    case $enableval in
 
8174
    yes) enable_shared=yes ;;
 
8175
    no) enable_shared=no ;;
 
8176
    *)
 
8177
      enable_shared=no
 
8178
      # Look at the argument we got.  We use all the common list separators.
 
8179
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
 
8180
      for pkg in $enableval; do
 
8181
        IFS="$lt_save_ifs"
 
8182
        if test "X$pkg" = "X$p"; then
 
8183
          enable_shared=yes
 
8184
        fi
 
8185
      done
 
8186
      IFS="$lt_save_ifs"
 
8187
      ;;
 
8188
    esac
 
8189
else
 
8190
  enable_shared=yes
 
8191
fi
 
8192
 
 
8193
 
 
8194
    
 
8195
    
 
8196
    
 
8197
    
 
8198
 
 
8199
 
 
8200
 
 
8201
  @%:@ Check whether --enable-static was given.
 
8202
if test "${enable_static+set}" = set; then :
 
8203
  enableval=$enable_static; p=${PACKAGE-default}
 
8204
    case $enableval in
 
8205
    yes) enable_static=yes ;;
 
8206
    no) enable_static=no ;;
 
8207
    *)
 
8208
     enable_static=no
 
8209
      # Look at the argument we got.  We use all the common list separators.
 
8210
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
 
8211
      for pkg in $enableval; do
 
8212
        IFS="$lt_save_ifs"
 
8213
        if test "X$pkg" = "X$p"; then
 
8214
          enable_static=yes
 
8215
        fi
 
8216
      done
 
8217
      IFS="$lt_save_ifs"
 
8218
      ;;
 
8219
    esac
 
8220
else
 
8221
  enable_static=yes
 
8222
fi
 
8223
 
 
8224
 
 
8225
    
 
8226
    
 
8227
    
 
8228
    
 
8229
 
 
8230
 
 
8231
 
 
8232
  
 
8233
@%:@ Check whether --with-pic was given.
 
8234
if test "${with_pic+set}" = set; then :
 
8235
  withval=$with_pic; pic_mode="$withval"
 
8236
else
 
8237
  pic_mode=default
 
8238
fi
 
8239
 
 
8240
 
 
8241
test -z "$pic_mode" && pic_mode=default
 
8242
 
 
8243
 
 
8244
    
 
8245
    
 
8246
    
 
8247
 
 
8248
 
 
8249
  @%:@ Check whether --enable-fast-install was given.
 
8250
if test "${enable_fast_install+set}" = set; then :
 
8251
  enableval=$enable_fast_install; p=${PACKAGE-default}
 
8252
    case $enableval in
 
8253
    yes) enable_fast_install=yes ;;
 
8254
    no) enable_fast_install=no ;;
 
8255
    *)
 
8256
      enable_fast_install=no
 
8257
      # Look at the argument we got.  We use all the common list separators.
 
8258
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
 
8259
      for pkg in $enableval; do
 
8260
        IFS="$lt_save_ifs"
 
8261
        if test "X$pkg" = "X$p"; then
 
8262
          enable_fast_install=yes
 
8263
        fi
 
8264
      done
 
8265
      IFS="$lt_save_ifs"
 
8266
      ;;
 
8267
    esac
 
8268
else
 
8269
  enable_fast_install=yes
 
8270
fi
 
8271
 
 
8272
 
 
8273
 
 
8274
    
 
8275
    
 
8276
    
 
8277
 
 
8278
 
 
8279
  
 
8280
 
 
8281
 
 
8282
# This can be used to rebuild libtool when needed
 
8283
LIBTOOL_DEPS="$ltmain"
 
8284
 
 
8285
# Always use our own libtool.
 
8286
LIBTOOL='$(SHELL) $(top_builddir)/libtool'
 
8287
 
 
8288
 
 
8289
    
 
8290
    
 
8291
    
 
8292
 
 
8293
    
 
8294
    
 
8295
    
 
8296
 
 
8297
    
 
8298
    
 
8299
    
 
8300
 
 
8301
    
 
8302
    
 
8303
    
 
8304
 
 
8305
    
 
8306
    
 
8307
    
 
8308
 
 
8309
    
 
8310
    
 
8311
    
 
8312
test -z "$LN_S" && LN_S="ln -s"
 
8313
 
 
8314
    
 
8315
    
 
8316
    
 
8317
 
 
8318
    
 
8319
    
 
8320
    
 
8321
 
 
8322
    
 
8323
    
 
8324
    
 
8325
 
 
8326
 
 
8327
if test -n "${ZSH_VERSION+set}" ; then
 
8328
   setopt NO_GLOB_SUBST
 
8329
fi
 
8330
 
 
8331
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
 
8332
$as_echo_n "checking for objdir... " >&6; }
 
8333
if test "${lt_cv_objdir+set}" = set; then :
 
8334
  $as_echo_n "(cached) " >&6
 
8335
else
 
8336
  rm -f .libs 2>/dev/null
 
8337
mkdir .libs 2>/dev/null
 
8338
if test -d .libs; then
 
8339
  lt_cv_objdir=.libs
 
8340
else
 
8341
  # MS-DOS does not allow filenames that begin with a dot.
 
8342
  lt_cv_objdir=_libs
 
8343
fi
 
8344
rmdir .libs 2>/dev/null
 
8345
fi
 
8346
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
 
8347
$as_echo "$lt_cv_objdir" >&6; }
 
8348
objdir=$lt_cv_objdir
 
8349
 
 
8350
    
 
8351
    
 
8352
    
 
8353
 
 
8354
cat >>confdefs.h <<_ACEOF
 
8355
@%:@define LT_OBJDIR "$lt_cv_objdir/"
 
8356
_ACEOF
 
8357
 
 
8358
 
 
8359
 
 
8360
 
 
8361
 
 
8362
 
 
8363
    
 
8364
    
 
8365
    
 
8366
 
 
8367
 
 
8368
    
 
8369
    
 
8370
    
 
8371
 
 
8372
 
 
8373
 
 
8374
case $host_os in
 
8375
aix3*)
 
8376
  # AIX sometimes has problems with the GCC collect2 program.  For some
 
8377
  # reason, if we set the COLLECT_NAMES environment variable, the problems
 
8378
  # vanish in a puff of smoke.
 
8379
  if test "X${COLLECT_NAMES+set}" != Xset; then
 
8380
    COLLECT_NAMES=
 
8381
    export COLLECT_NAMES
 
8382
  fi
 
8383
  ;;
 
8384
esac
 
8385
 
 
8386
# Sed substitution that helps us do robust quoting.  It backslashifies
 
8387
# metacharacters that are still active within double-quoted strings.
 
8388
sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
 
8389
 
 
8390
# Same as above, but do not quote variable references.
 
8391
double_quote_subst='s/\(["`\\]\)/\\\1/g'
 
8392
 
 
8393
# Sed substitution to delay expansion of an escaped shell variable in a
 
8394
# double_quote_subst'ed string.
 
8395
delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
 
8396
 
 
8397
# Sed substitution to delay expansion of an escaped single quote.
 
8398
delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
 
8399
 
 
8400
# Sed substitution to avoid accidental globbing in evaled expressions
 
8401
no_glob_subst='s/\*/\\\*/g'
 
8402
 
 
8403
# Global variables:
 
8404
ofile=libtool
 
8405
can_build_shared=yes
 
8406
 
 
8407
# All known linkers require a `.a' archive for static linking (except MSVC,
 
8408
# which needs '.lib').
 
8409
libext=a
 
8410
 
 
8411
with_gnu_ld="$lt_cv_prog_gnu_ld"
 
8412
 
 
8413
old_CC="$CC"
 
8414
old_CFLAGS="$CFLAGS"
 
8415
 
 
8416
# Set sane defaults for various variables
 
8417
test -z "$CC" && CC=cc
 
8418
test -z "$LTCC" && LTCC=$CC
 
8419
test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
 
8420
test -z "$LD" && LD=ld
 
8421
test -z "$ac_objext" && ac_objext=o
 
8422
 
 
8423
for cc_temp in $compiler""; do
 
8424
  case $cc_temp in
 
8425
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
 
8426
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
 
8427
    \-*) ;;
 
8428
    *) break;;
 
8429
  esac
 
8430
done
 
8431
cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
 
8432
 
 
8433
 
 
8434
# Only perform the check for file, if the check method requires it
 
8435
test -z "$MAGIC_CMD" && MAGIC_CMD=file
 
8436
case $deplibs_check_method in
 
8437
file_magic*)
 
8438
  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
 
8439
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
 
8440
$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
 
8441
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
 
8442
  $as_echo_n "(cached) " >&6
 
8443
else
 
8444
  case $MAGIC_CMD in
 
8445
[\\/*] |  ?:[\\/]*)
 
8446
  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
 
8447
  ;;
 
8448
*)
 
8449
  lt_save_MAGIC_CMD="$MAGIC_CMD"
 
8450
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
 
8451
  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
 
8452
  for ac_dir in $ac_dummy; do
 
8453
    IFS="$lt_save_ifs"
 
8454
    test -z "$ac_dir" && ac_dir=.
 
8455
    if test -f $ac_dir/${ac_tool_prefix}file; then
 
8456
      lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
 
8457
      if test -n "$file_magic_test_file"; then
 
8458
        case $deplibs_check_method in
 
8459
        "file_magic "*)
 
8460
          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
 
8461
          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
 
8462
          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
 
8463
            $EGREP "$file_magic_regex" > /dev/null; then
 
8464
            :
 
8465
          else
 
8466
            cat <<_LT_EOF 1>&2
 
8467
 
 
8468
*** Warning: the command libtool uses to detect shared libraries,
 
8469
*** $file_magic_cmd, produces output that libtool cannot recognize.
 
8470
*** The result is that libtool may fail to recognize shared libraries
 
8471
*** as such.  This will affect the creation of libtool libraries that
 
8472
*** depend on shared libraries, but programs linked with such libtool
 
8473
*** libraries will work regardless of this problem.  Nevertheless, you
 
8474
*** may want to report the problem to your system manager and/or to
 
8475
*** bug-libtool@gnu.org
 
8476
 
 
8477
_LT_EOF
 
8478
          fi ;;
 
8479
        esac
 
8480
      fi
 
8481
      break
 
8482
    fi
 
8483
  done
 
8484
  IFS="$lt_save_ifs"
 
8485
  MAGIC_CMD="$lt_save_MAGIC_CMD"
 
8486
  ;;
 
8487
esac
 
8488
fi
 
8489
 
 
8490
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
 
8491
if test -n "$MAGIC_CMD"; then
 
8492
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
 
8493
$as_echo "$MAGIC_CMD" >&6; }
 
8494
else
 
8495
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
8496
$as_echo "no" >&6; }
 
8497
fi
 
8498
 
 
8499
    
 
8500
    
 
8501
    
 
8502
 
 
8503
if test -z "$lt_cv_path_MAGIC_CMD"; then
 
8504
  if test -n "$ac_tool_prefix"; then
 
8505
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
 
8506
$as_echo_n "checking for file... " >&6; }
 
8507
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
 
8508
  $as_echo_n "(cached) " >&6
 
8509
else
 
8510
  case $MAGIC_CMD in
 
8511
[\\/*] |  ?:[\\/]*)
 
8512
  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
 
8513
  ;;
 
8514
*)
 
8515
  lt_save_MAGIC_CMD="$MAGIC_CMD"
 
8516
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
 
8517
  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
 
8518
  for ac_dir in $ac_dummy; do
 
8519
    IFS="$lt_save_ifs"
 
8520
    test -z "$ac_dir" && ac_dir=.
 
8521
    if test -f $ac_dir/file; then
 
8522
      lt_cv_path_MAGIC_CMD="$ac_dir/file"
 
8523
      if test -n "$file_magic_test_file"; then
 
8524
        case $deplibs_check_method in
 
8525
        "file_magic "*)
 
8526
          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
 
8527
          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
 
8528
          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
 
8529
            $EGREP "$file_magic_regex" > /dev/null; then
 
8530
            :
 
8531
          else
 
8532
            cat <<_LT_EOF 1>&2
 
8533
 
 
8534
*** Warning: the command libtool uses to detect shared libraries,
 
8535
*** $file_magic_cmd, produces output that libtool cannot recognize.
 
8536
*** The result is that libtool may fail to recognize shared libraries
 
8537
*** as such.  This will affect the creation of libtool libraries that
 
8538
*** depend on shared libraries, but programs linked with such libtool
 
8539
*** libraries will work regardless of this problem.  Nevertheless, you
 
8540
*** may want to report the problem to your system manager and/or to
 
8541
*** bug-libtool@gnu.org
 
8542
 
 
8543
_LT_EOF
 
8544
          fi ;;
 
8545
        esac
 
8546
      fi
 
8547
      break
 
8548
    fi
 
8549
  done
 
8550
  IFS="$lt_save_ifs"
 
8551
  MAGIC_CMD="$lt_save_MAGIC_CMD"
 
8552
  ;;
 
8553
esac
 
8554
fi
 
8555
 
 
8556
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
 
8557
if test -n "$MAGIC_CMD"; then
 
8558
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
 
8559
$as_echo "$MAGIC_CMD" >&6; }
 
8560
else
 
8561
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
8562
$as_echo "no" >&6; }
 
8563
fi
 
8564
 
 
8565
 
 
8566
  else
 
8567
    MAGIC_CMD=:
 
8568
  fi
 
8569
fi
 
8570
 
 
8571
  fi
 
8572
  ;;
 
8573
esac
 
8574
 
 
8575
# Use C for the default configuration in the libtool script
 
8576
 
 
8577
lt_save_CC="$CC"
 
8578
ac_ext=c
 
8579
ac_cpp='$CPP $CPPFLAGS'
 
8580
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
8581
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
8582
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
8583
 
 
8584
 
 
8585
# Source file extension for C test sources.
 
8586
ac_ext=c
 
8587
 
 
8588
# Object file extension for compiled C test sources.
 
8589
objext=o
 
8590
objext=$objext
 
8591
 
 
8592
# Code to be used in simple compile tests
 
8593
lt_simple_compile_test_code="int some_variable = 0;"
 
8594
 
 
8595
# Code to be used in simple link tests
 
8596
lt_simple_link_test_code='int main(){return(0);}'
 
8597
 
 
8598
 
 
8599
 
 
8600
 
 
8601
 
 
8602
 
 
8603
 
 
8604
# If no C compiler was specified, use CC.
 
8605
LTCC=${LTCC-"$CC"}
 
8606
 
 
8607
# If no C compiler flags were specified, use CFLAGS.
 
8608
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
 
8609
 
 
8610
# Allow CC to be a program name with arguments.
 
8611
compiler=$CC
 
8612
 
 
8613
# Save the default compiler, since it gets overwritten when the other
 
8614
# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
 
8615
compiler_DEFAULT=$CC
 
8616
 
 
8617
# save warnings/boilerplate of simple test code
 
8618
ac_outfile=conftest.$ac_objext
 
8619
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
 
8620
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
 
8621
_lt_compiler_boilerplate=`cat conftest.err`
 
8622
$RM conftest*
 
8623
 
 
8624
ac_outfile=conftest.$ac_objext
 
8625
echo "$lt_simple_link_test_code" >conftest.$ac_ext
 
8626
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
 
8627
_lt_linker_boilerplate=`cat conftest.err`
 
8628
$RM -r conftest*
 
8629
 
 
8630
 
 
8631
## CAVEAT EMPTOR:
 
8632
## There is no encapsulation within the following macros, do not change
 
8633
## the running order or otherwise move them around unless you know exactly
 
8634
## what you are doing...
 
8635
if test -n "$compiler"; then
 
8636
  
 
8637
lt_prog_compiler_no_builtin_flag=
 
8638
 
 
8639
if test "$GCC" = yes; then
 
8640
  lt_prog_compiler_no_builtin_flag=' -fno-builtin'
 
8641
 
 
8642
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
 
8643
$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
 
8644
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
 
8645
  $as_echo_n "(cached) " >&6
 
8646
else
 
8647
  lt_cv_prog_compiler_rtti_exceptions=no
 
8648
   ac_outfile=conftest.$ac_objext
 
8649
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
8650
   lt_compiler_flag="-fno-rtti -fno-exceptions"
 
8651
   # Insert the option either (1) after the last *FLAGS variable, or
 
8652
   # (2) before a word containing "conftest.", or (3) at the end.
 
8653
   # Note that $ac_compile itself does not contain backslashes and begins
 
8654
   # with a dollar sign (not a hyphen), so the echo should work correctly.
 
8655
   # The option is referenced via a variable to avoid confusing sed.
 
8656
   lt_compile=`echo "$ac_compile" | $SED \
 
8657
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 
8658
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 
8659
   -e 's:$: $lt_compiler_flag:'`
 
8660
   (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
 
8661
   (eval "$lt_compile" 2>conftest.err)
 
8662
   ac_status=$?
 
8663
   cat conftest.err >&5
 
8664
   echo "$as_me:__oline__: \$? = $ac_status" >&5
 
8665
   if (exit $ac_status) && test -s "$ac_outfile"; then
 
8666
     # The compiler can only warn and ignore the option if not recognized
 
8667
     # So say no if there are warnings other than the usual output.
 
8668
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
 
8669
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 
8670
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
 
8671
       lt_cv_prog_compiler_rtti_exceptions=yes
 
8672
     fi
 
8673
   fi
 
8674
   $RM conftest*
 
8675
 
 
8676
fi
 
8677
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
 
8678
$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
 
8679
 
 
8680
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
 
8681
    lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
 
8682
else
 
8683
    :
 
8684
fi
 
8685
 
 
8686
fi
 
8687
 
 
8688
    
 
8689
    
 
8690
    
 
8691
 
 
8692
 
 
8693
  lt_prog_compiler_wl=
 
8694
lt_prog_compiler_pic=
 
8695
lt_prog_compiler_static=
 
8696
 
 
8697
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
 
8698
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
 
8699
 
 
8700
  if test "$GCC" = yes; then
 
8701
    lt_prog_compiler_wl='-Wl,'
 
8702
    lt_prog_compiler_static='-static'
 
8703
 
 
8704
    case $host_os in
 
8705
      aix*)
 
8706
      # All AIX code is PIC.
 
8707
      if test "$host_cpu" = ia64; then
 
8708
        # AIX 5 now supports IA64 processor
 
8709
        lt_prog_compiler_static='-Bstatic'
 
8710
      fi
 
8711
      ;;
 
8712
 
 
8713
    amigaos*)
 
8714
      case $host_cpu in
 
8715
      powerpc)
 
8716
            # see comment about AmigaOS4 .so support
 
8717
            lt_prog_compiler_pic='-fPIC'
 
8718
        ;;
 
8719
      m68k)
 
8720
            # FIXME: we need at least 68020 code to build shared libraries, but
 
8721
            # adding the `-m68020' flag to GCC prevents building anything better,
 
8722
            # like `-m68040'.
 
8723
            lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
 
8724
        ;;
 
8725
      esac
 
8726
      ;;
 
8727
 
 
8728
    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
 
8729
      # PIC is the default for these OSes.
 
8730
      ;;
 
8731
 
 
8732
    mingw* | cygwin* | pw32* | os2* | cegcc*)
 
8733
      # This hack is so that the source file can tell whether it is being
 
8734
      # built for inclusion in a dll (and should export symbols for example).
 
8735
      # Although the cygwin gcc ignores -fPIC, still need this for old-style
 
8736
      # (--disable-auto-import) libraries
 
8737
      lt_prog_compiler_pic='-DDLL_EXPORT'
 
8738
      ;;
 
8739
 
 
8740
    darwin* | rhapsody*)
 
8741
      # PIC is the default on this platform
 
8742
      # Common symbols not allowed in MH_DYLIB files
 
8743
      lt_prog_compiler_pic='-fno-common'
 
8744
      ;;
 
8745
 
 
8746
    hpux*)
 
8747
      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
 
8748
      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
 
8749
      # sets the default TLS model and affects inlining.
 
8750
      case $host_cpu in
 
8751
      hppa*64*)
 
8752
        # +Z the default
 
8753
        ;;
 
8754
      *)
 
8755
        lt_prog_compiler_pic='-fPIC'
 
8756
        ;;
 
8757
      esac
 
8758
      ;;
 
8759
 
 
8760
    interix[3-9]*)
 
8761
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
 
8762
      # Instead, we relocate shared libraries at runtime.
 
8763
      ;;
 
8764
 
 
8765
    msdosdjgpp*)
 
8766
      # Just because we use GCC doesn't mean we suddenly get shared libraries
 
8767
      # on systems that don't support them.
 
8768
      lt_prog_compiler_can_build_shared=no
 
8769
      enable_shared=no
 
8770
      ;;
 
8771
 
 
8772
    *nto* | *qnx*)
 
8773
      # QNX uses GNU C++, but need to define -shared option too, otherwise
 
8774
      # it will coredump.
 
8775
      lt_prog_compiler_pic='-fPIC -shared'
 
8776
      ;;
 
8777
 
 
8778
    sysv4*MP*)
 
8779
      if test -d /usr/nec; then
 
8780
        lt_prog_compiler_pic=-Kconform_pic
 
8781
      fi
 
8782
      ;;
 
8783
 
 
8784
    *)
 
8785
      lt_prog_compiler_pic='-fPIC'
 
8786
      ;;
 
8787
    esac
 
8788
  else
 
8789
    # PORTME Check for flag to pass linker flags through the system compiler.
 
8790
    case $host_os in
 
8791
    aix*)
 
8792
      lt_prog_compiler_wl='-Wl,'
 
8793
      if test "$host_cpu" = ia64; then
 
8794
        # AIX 5 now supports IA64 processor
 
8795
        lt_prog_compiler_static='-Bstatic'
 
8796
      else
 
8797
        lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
 
8798
      fi
 
8799
      ;;
 
8800
 
 
8801
    mingw* | cygwin* | pw32* | os2* | cegcc*)
 
8802
      # This hack is so that the source file can tell whether it is being
 
8803
      # built for inclusion in a dll (and should export symbols for example).
 
8804
      lt_prog_compiler_pic='-DDLL_EXPORT'
 
8805
      ;;
 
8806
 
 
8807
    hpux9* | hpux10* | hpux11*)
 
8808
      lt_prog_compiler_wl='-Wl,'
 
8809
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
 
8810
      # not for PA HP-UX.
 
8811
      case $host_cpu in
 
8812
      hppa*64*|ia64*)
 
8813
        # +Z the default
 
8814
        ;;
 
8815
      *)
 
8816
        lt_prog_compiler_pic='+Z'
 
8817
        ;;
 
8818
      esac
 
8819
      # Is there a better lt_prog_compiler_static that works with the bundled CC?
 
8820
      lt_prog_compiler_static='${wl}-a ${wl}archive'
 
8821
      ;;
 
8822
 
 
8823
    irix5* | irix6* | nonstopux*)
 
8824
      lt_prog_compiler_wl='-Wl,'
 
8825
      # PIC (with -KPIC) is the default.
 
8826
      lt_prog_compiler_static='-non_shared'
 
8827
      ;;
 
8828
 
 
8829
    linux* | k*bsd*-gnu | kopensolaris*-gnu)
 
8830
      case $cc_basename in
 
8831
      # old Intel for x86_64 which still supported -KPIC.
 
8832
      ecc*)
 
8833
        lt_prog_compiler_wl='-Wl,'
 
8834
        lt_prog_compiler_pic='-KPIC'
 
8835
        lt_prog_compiler_static='-static'
 
8836
        ;;
 
8837
      # icc used to be incompatible with GCC.
 
8838
      # ICC 10 doesn't accept -KPIC any more.
 
8839
      icc* | ifort*)
 
8840
        lt_prog_compiler_wl='-Wl,'
 
8841
        lt_prog_compiler_pic='-fPIC'
 
8842
        lt_prog_compiler_static='-static'
 
8843
        ;;
 
8844
      # Lahey Fortran 8.1.
 
8845
      lf95*)
 
8846
        lt_prog_compiler_wl='-Wl,'
 
8847
        lt_prog_compiler_pic='--shared'
 
8848
        lt_prog_compiler_static='--static'
 
8849
        ;;
 
8850
      pgcc* | pgf77* | pgf90* | pgf95*)
 
8851
        # Portland Group compilers (*not* the Pentium gcc compiler,
 
8852
        # which looks to be a dead project)
 
8853
        lt_prog_compiler_wl='-Wl,'
 
8854
        lt_prog_compiler_pic='-fpic'
 
8855
        lt_prog_compiler_static='-Bstatic'
 
8856
        ;;
 
8857
      ccc*)
 
8858
        lt_prog_compiler_wl='-Wl,'
 
8859
        # All Alpha code is PIC.
 
8860
        lt_prog_compiler_static='-non_shared'
 
8861
        ;;
 
8862
      xl*)
 
8863
        # IBM XL C 8.0/Fortran 10.1 on PPC
 
8864
        lt_prog_compiler_wl='-Wl,'
 
8865
        lt_prog_compiler_pic='-qpic'
 
8866
        lt_prog_compiler_static='-qstaticlink'
 
8867
        ;;
 
8868
      *)
 
8869
        case `$CC -V 2>&1 | sed 5q` in
 
8870
        *Sun\ C*)
 
8871
          # Sun C 5.9
 
8872
          lt_prog_compiler_pic='-KPIC'
 
8873
          lt_prog_compiler_static='-Bstatic'
 
8874
          lt_prog_compiler_wl='-Wl,'
 
8875
          ;;
 
8876
        *Sun\ F*)
 
8877
          # Sun Fortran 8.3 passes all unrecognized flags to the linker
 
8878
          lt_prog_compiler_pic='-KPIC'
 
8879
          lt_prog_compiler_static='-Bstatic'
 
8880
          lt_prog_compiler_wl=''
 
8881
          ;;
 
8882
        esac
 
8883
        ;;
 
8884
      esac
 
8885
      ;;
 
8886
 
 
8887
    newsos6)
 
8888
      lt_prog_compiler_pic='-KPIC'
 
8889
      lt_prog_compiler_static='-Bstatic'
 
8890
      ;;
 
8891
 
 
8892
    *nto* | *qnx*)
 
8893
      # QNX uses GNU C++, but need to define -shared option too, otherwise
 
8894
      # it will coredump.
 
8895
      lt_prog_compiler_pic='-fPIC -shared'
 
8896
      ;;
 
8897
 
 
8898
    osf3* | osf4* | osf5*)
 
8899
      lt_prog_compiler_wl='-Wl,'
 
8900
      # All OSF/1 code is PIC.
 
8901
      lt_prog_compiler_static='-non_shared'
 
8902
      ;;
 
8903
 
 
8904
    rdos*)
 
8905
      lt_prog_compiler_static='-non_shared'
 
8906
      ;;
 
8907
 
 
8908
    solaris*)
 
8909
      lt_prog_compiler_pic='-KPIC'
 
8910
      lt_prog_compiler_static='-Bstatic'
 
8911
      case $cc_basename in
 
8912
      f77* | f90* | f95*)
 
8913
        lt_prog_compiler_wl='-Qoption ld ';;
 
8914
      *)
 
8915
        lt_prog_compiler_wl='-Wl,';;
 
8916
      esac
 
8917
      ;;
 
8918
 
 
8919
    sunos4*)
 
8920
      lt_prog_compiler_wl='-Qoption ld '
 
8921
      lt_prog_compiler_pic='-PIC'
 
8922
      lt_prog_compiler_static='-Bstatic'
 
8923
      ;;
 
8924
 
 
8925
    sysv4 | sysv4.2uw2* | sysv4.3*)
 
8926
      lt_prog_compiler_wl='-Wl,'
 
8927
      lt_prog_compiler_pic='-KPIC'
 
8928
      lt_prog_compiler_static='-Bstatic'
 
8929
      ;;
 
8930
 
 
8931
    sysv4*MP*)
 
8932
      if test -d /usr/nec ;then
 
8933
        lt_prog_compiler_pic='-Kconform_pic'
 
8934
        lt_prog_compiler_static='-Bstatic'
 
8935
      fi
 
8936
      ;;
 
8937
 
 
8938
    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
 
8939
      lt_prog_compiler_wl='-Wl,'
 
8940
      lt_prog_compiler_pic='-KPIC'
 
8941
      lt_prog_compiler_static='-Bstatic'
 
8942
      ;;
 
8943
 
 
8944
    unicos*)
 
8945
      lt_prog_compiler_wl='-Wl,'
 
8946
      lt_prog_compiler_can_build_shared=no
 
8947
      ;;
 
8948
 
 
8949
    uts4*)
 
8950
      lt_prog_compiler_pic='-pic'
 
8951
      lt_prog_compiler_static='-Bstatic'
 
8952
      ;;
 
8953
 
 
8954
    *)
 
8955
      lt_prog_compiler_can_build_shared=no
 
8956
      ;;
 
8957
    esac
 
8958
  fi
 
8959
 
 
8960
case $host_os in
 
8961
  # For platforms which do not support PIC, -DPIC is meaningless:
 
8962
  *djgpp*)
 
8963
    lt_prog_compiler_pic=
 
8964
    ;;
 
8965
  *)
 
8966
    lt_prog_compiler_pic="$lt_prog_compiler_pic@&t@ -DPIC"
 
8967
    ;;
 
8968
esac
 
8969
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
 
8970
$as_echo "$lt_prog_compiler_pic" >&6; }
 
8971
 
 
8972
    
 
8973
    
 
8974
    
 
8975
 
 
8976
 
 
8977
#
 
8978
# Check to make sure the PIC flag actually works.
 
8979
#
 
8980
if test -n "$lt_prog_compiler_pic"; then
 
8981
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
 
8982
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
 
8983
if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
 
8984
  $as_echo_n "(cached) " >&6
 
8985
else
 
8986
  lt_cv_prog_compiler_pic_works=no
 
8987
   ac_outfile=conftest.$ac_objext
 
8988
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
8989
   lt_compiler_flag="$lt_prog_compiler_pic@&t@ -DPIC"
 
8990
   # Insert the option either (1) after the last *FLAGS variable, or
 
8991
   # (2) before a word containing "conftest.", or (3) at the end.
 
8992
   # Note that $ac_compile itself does not contain backslashes and begins
 
8993
   # with a dollar sign (not a hyphen), so the echo should work correctly.
 
8994
   # The option is referenced via a variable to avoid confusing sed.
 
8995
   lt_compile=`echo "$ac_compile" | $SED \
 
8996
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 
8997
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 
8998
   -e 's:$: $lt_compiler_flag:'`
 
8999
   (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
 
9000
   (eval "$lt_compile" 2>conftest.err)
 
9001
   ac_status=$?
 
9002
   cat conftest.err >&5
 
9003
   echo "$as_me:__oline__: \$? = $ac_status" >&5
 
9004
   if (exit $ac_status) && test -s "$ac_outfile"; then
 
9005
     # The compiler can only warn and ignore the option if not recognized
 
9006
     # So say no if there are warnings other than the usual output.
 
9007
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
 
9008
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 
9009
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
 
9010
       lt_cv_prog_compiler_pic_works=yes
 
9011
     fi
 
9012
   fi
 
9013
   $RM conftest*
 
9014
 
 
9015
fi
 
9016
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
 
9017
$as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
 
9018
 
 
9019
if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
 
9020
    case $lt_prog_compiler_pic in
 
9021
     "" | " "*) ;;
 
9022
     *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
 
9023
     esac
 
9024
else
 
9025
    lt_prog_compiler_pic=
 
9026
     lt_prog_compiler_can_build_shared=no
 
9027
fi
 
9028
 
 
9029
fi
 
9030
 
 
9031
    
 
9032
    
 
9033
    
 
9034
 
 
9035
 
 
9036
#
 
9037
# Check to make sure the static flag actually works.
 
9038
#
 
9039
wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
 
9040
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
 
9041
$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
 
9042
if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
 
9043
  $as_echo_n "(cached) " >&6
 
9044
else
 
9045
  lt_cv_prog_compiler_static_works=no
 
9046
   save_LDFLAGS="$LDFLAGS"
 
9047
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
 
9048
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
 
9049
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
 
9050
     # The linker can only warn and ignore the option if not recognized
 
9051
     # So say no if there are warnings
 
9052
     if test -s conftest.err; then
 
9053
       # Append any errors to the config.log.
 
9054
       cat conftest.err 1>&5
 
9055
       $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
 
9056
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 
9057
       if diff conftest.exp conftest.er2 >/dev/null; then
 
9058
         lt_cv_prog_compiler_static_works=yes
 
9059
       fi
 
9060
     else
 
9061
       lt_cv_prog_compiler_static_works=yes
 
9062
     fi
 
9063
   fi
 
9064
   $RM -r conftest*
 
9065
   LDFLAGS="$save_LDFLAGS"
 
9066
 
 
9067
fi
 
9068
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
 
9069
$as_echo "$lt_cv_prog_compiler_static_works" >&6; }
 
9070
 
 
9071
if test x"$lt_cv_prog_compiler_static_works" = xyes; then
 
9072
    :
 
9073
else
 
9074
    lt_prog_compiler_static=
 
9075
fi
 
9076
 
 
9077
 
 
9078
    
 
9079
    
 
9080
    
 
9081
 
 
9082
 
 
9083
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
 
9084
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
 
9085
if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
 
9086
  $as_echo_n "(cached) " >&6
 
9087
else
 
9088
  lt_cv_prog_compiler_c_o=no
 
9089
   $RM -r conftest 2>/dev/null
 
9090
   mkdir conftest
 
9091
   cd conftest
 
9092
   mkdir out
 
9093
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
9094
 
 
9095
   lt_compiler_flag="-o out/conftest2.$ac_objext"
 
9096
   # Insert the option either (1) after the last *FLAGS variable, or
 
9097
   # (2) before a word containing "conftest.", or (3) at the end.
 
9098
   # Note that $ac_compile itself does not contain backslashes and begins
 
9099
   # with a dollar sign (not a hyphen), so the echo should work correctly.
 
9100
   lt_compile=`echo "$ac_compile" | $SED \
 
9101
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 
9102
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 
9103
   -e 's:$: $lt_compiler_flag:'`
 
9104
   (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
 
9105
   (eval "$lt_compile" 2>out/conftest.err)
 
9106
   ac_status=$?
 
9107
   cat out/conftest.err >&5
 
9108
   echo "$as_me:__oline__: \$? = $ac_status" >&5
 
9109
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
 
9110
   then
 
9111
     # The compiler can only warn and ignore the option if not recognized
 
9112
     # So say no if there are warnings
 
9113
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
 
9114
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
 
9115
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
 
9116
       lt_cv_prog_compiler_c_o=yes
 
9117
     fi
 
9118
   fi
 
9119
   chmod u+w . 2>&5
 
9120
   $RM conftest*
 
9121
   # SGI C++ compiler will create directory out/ii_files/ for
 
9122
   # template instantiation
 
9123
   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
 
9124
   $RM out/* && rmdir out
 
9125
   cd ..
 
9126
   $RM -r conftest
 
9127
   $RM conftest*
 
9128
 
 
9129
fi
 
9130
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
 
9131
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
 
9132
 
 
9133
    
 
9134
    
 
9135
    
 
9136
 
 
9137
 
 
9138
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
 
9139
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
 
9140
if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
 
9141
  $as_echo_n "(cached) " >&6
 
9142
else
 
9143
  lt_cv_prog_compiler_c_o=no
 
9144
   $RM -r conftest 2>/dev/null
 
9145
   mkdir conftest
 
9146
   cd conftest
 
9147
   mkdir out
 
9148
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
9149
 
 
9150
   lt_compiler_flag="-o out/conftest2.$ac_objext"
 
9151
   # Insert the option either (1) after the last *FLAGS variable, or
 
9152
   # (2) before a word containing "conftest.", or (3) at the end.
 
9153
   # Note that $ac_compile itself does not contain backslashes and begins
 
9154
   # with a dollar sign (not a hyphen), so the echo should work correctly.
 
9155
   lt_compile=`echo "$ac_compile" | $SED \
 
9156
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 
9157
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 
9158
   -e 's:$: $lt_compiler_flag:'`
 
9159
   (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
 
9160
   (eval "$lt_compile" 2>out/conftest.err)
 
9161
   ac_status=$?
 
9162
   cat out/conftest.err >&5
 
9163
   echo "$as_me:__oline__: \$? = $ac_status" >&5
 
9164
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
 
9165
   then
 
9166
     # The compiler can only warn and ignore the option if not recognized
 
9167
     # So say no if there are warnings
 
9168
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
 
9169
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
 
9170
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
 
9171
       lt_cv_prog_compiler_c_o=yes
 
9172
     fi
 
9173
   fi
 
9174
   chmod u+w . 2>&5
 
9175
   $RM conftest*
 
9176
   # SGI C++ compiler will create directory out/ii_files/ for
 
9177
   # template instantiation
 
9178
   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
 
9179
   $RM out/* && rmdir out
 
9180
   cd ..
 
9181
   $RM -r conftest
 
9182
   $RM conftest*
 
9183
 
 
9184
fi
 
9185
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
 
9186
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
 
9187
 
 
9188
 
 
9189
 
 
9190
 
 
9191
hard_links="nottested"
 
9192
if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
 
9193
  # do not overwrite the value of need_locks provided by the user
 
9194
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
 
9195
$as_echo_n "checking if we can lock with hard links... " >&6; }
 
9196
  hard_links=yes
 
9197
  $RM conftest*
 
9198
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
 
9199
  touch conftest.a
 
9200
  ln conftest.a conftest.b 2>&5 || hard_links=no
 
9201
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
 
9202
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
 
9203
$as_echo "$hard_links" >&6; }
 
9204
  if test "$hard_links" = no; then
 
9205
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
 
9206
$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
 
9207
    need_locks=warn
 
9208
  fi
 
9209
else
 
9210
  need_locks=no
 
9211
fi
 
9212
 
 
9213
    
 
9214
    
 
9215
    
 
9216
 
 
9217
 
 
9218
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 
9219
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
 
9220
 
 
9221
  runpath_var=
 
9222
  allow_undefined_flag=
 
9223
  always_export_symbols=no
 
9224
  archive_cmds=
 
9225
  archive_expsym_cmds=
 
9226
  compiler_needs_object=no
 
9227
  enable_shared_with_static_runtimes=no
 
9228
  export_dynamic_flag_spec=
 
9229
  export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
 
9230
  hardcode_automatic=no
 
9231
  hardcode_direct=no
 
9232
  hardcode_direct_absolute=no
 
9233
  hardcode_libdir_flag_spec=
 
9234
  hardcode_libdir_flag_spec_ld=
 
9235
  hardcode_libdir_separator=
 
9236
  hardcode_minus_L=no
 
9237
  hardcode_shlibpath_var=unsupported
 
9238
  inherit_rpath=no
 
9239
  link_all_deplibs=unknown
 
9240
  module_cmds=
 
9241
  module_expsym_cmds=
 
9242
  old_archive_from_new_cmds=
 
9243
  old_archive_from_expsyms_cmds=
 
9244
  thread_safe_flag_spec=
 
9245
  whole_archive_flag_spec=
 
9246
  # include_expsyms should be a list of space-separated symbols to be *always*
 
9247
  # included in the symbol list
 
9248
  include_expsyms=
 
9249
  # exclude_expsyms can be an extended regexp of symbols to exclude
 
9250
  # it will be wrapped by ` (' and `)$', so one must not match beginning or
 
9251
  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
 
9252
  # as well as any symbol that contains `d'.
 
9253
  exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
 
9254
  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
 
9255
  # platforms (ab)use it in PIC code, but their linkers get confused if
 
9256
  # the symbol is explicitly referenced.  Since portable code cannot
 
9257
  # rely on this symbol name, it's probably fine to never include it in
 
9258
  # preloaded symbol tables.
 
9259
  # Exclude shared library initialization/finalization symbols.
 
9260
  extract_expsyms_cmds=
 
9261
 
 
9262
  case $host_os in
 
9263
  cygwin* | mingw* | pw32* | cegcc*)
 
9264
    # FIXME: the MSVC++ port hasn't been tested in a loooong time
 
9265
    # When not using gcc, we currently assume that we are using
 
9266
    # Microsoft Visual C++.
 
9267
    if test "$GCC" != yes; then
 
9268
      with_gnu_ld=no
 
9269
    fi
 
9270
    ;;
 
9271
  interix*)
 
9272
    # we just hope/assume this is gcc and not c89 (= MSVC++)
 
9273
    with_gnu_ld=yes
 
9274
    ;;
 
9275
  openbsd*)
 
9276
    with_gnu_ld=no
 
9277
    ;;
 
9278
  linux* | k*bsd*-gnu)
 
9279
    link_all_deplibs=no
 
9280
    ;;
 
9281
  esac
 
9282
 
 
9283
  ld_shlibs=yes
 
9284
  if test "$with_gnu_ld" = yes; then
 
9285
    # If archive_cmds runs LD, not CC, wlarc should be empty
 
9286
    wlarc='${wl}'
 
9287
 
 
9288
    # Set some defaults for GNU ld with shared library support. These
 
9289
    # are reset later if shared libraries are not supported. Putting them
 
9290
    # here allows them to be overridden if necessary.
 
9291
    runpath_var=LD_RUN_PATH
 
9292
    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
 
9293
    export_dynamic_flag_spec='${wl}--export-dynamic'
 
9294
    # ancient GNU ld didn't support --whole-archive et. al.
 
9295
    if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
 
9296
      whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
 
9297
    else
 
9298
      whole_archive_flag_spec=
 
9299
    fi
 
9300
    supports_anon_versioning=no
 
9301
    case `$LD -v 2>&1` in
 
9302
      *GNU\ gold*) supports_anon_versioning=yes ;;
 
9303
      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
 
9304
      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
 
9305
      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
 
9306
      *\ 2.11.*) ;; # other 2.11 versions
 
9307
      *) supports_anon_versioning=yes ;;
 
9308
    esac
 
9309
 
 
9310
    # See if GNU ld supports shared libraries.
 
9311
    case $host_os in
 
9312
    aix[3-9]*)
 
9313
      # On AIX/PPC, the GNU linker is very broken
 
9314
      if test "$host_cpu" != ia64; then
 
9315
        ld_shlibs=no
 
9316
        cat <<_LT_EOF 1>&2
 
9317
 
 
9318
*** Warning: the GNU linker, at least up to release 2.9.1, is reported
 
9319
*** to be unable to reliably create shared libraries on AIX.
 
9320
*** Therefore, libtool is disabling shared libraries support.  If you
 
9321
*** really care for shared libraries, you may want to modify your PATH
 
9322
*** so that a non-GNU linker is found, and then restart.
 
9323
 
 
9324
_LT_EOF
 
9325
      fi
 
9326
      ;;
 
9327
 
 
9328
    amigaos*)
 
9329
      case $host_cpu in
 
9330
      powerpc)
 
9331
            # see comment about AmigaOS4 .so support
 
9332
            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
9333
            archive_expsym_cmds=''
 
9334
        ;;
 
9335
      m68k)
 
9336
            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)'
 
9337
            hardcode_libdir_flag_spec='-L$libdir'
 
9338
            hardcode_minus_L=yes
 
9339
        ;;
 
9340
      esac
 
9341
      ;;
 
9342
 
 
9343
    beos*)
 
9344
      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
 
9345
        allow_undefined_flag=unsupported
 
9346
        # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
 
9347
        # support --undefined.  This deserves some investigation.  FIXME
 
9348
        archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
9349
      else
 
9350
        ld_shlibs=no
 
9351
      fi
 
9352
      ;;
 
9353
 
 
9354
    cygwin* | mingw* | pw32* | cegcc*)
 
9355
      # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
 
9356
      # as there is no search path for DLLs.
 
9357
      hardcode_libdir_flag_spec='-L$libdir'
 
9358
      allow_undefined_flag=unsupported
 
9359
      always_export_symbols=no
 
9360
      enable_shared_with_static_runtimes=yes
 
9361
      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
 
9362
 
 
9363
      if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
 
9364
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
 
9365
        # If the export-symbols file already is a .def file (1st line
 
9366
        # is EXPORTS), use it as is; otherwise, prepend...
 
9367
        archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
 
9368
          cp $export_symbols $output_objdir/$soname.def;
 
9369
        else
 
9370
          echo EXPORTS > $output_objdir/$soname.def;
 
9371
          cat $export_symbols >> $output_objdir/$soname.def;
 
9372
        fi~
 
9373
        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
 
9374
      else
 
9375
        ld_shlibs=no
 
9376
      fi
 
9377
      ;;
 
9378
 
 
9379
    interix[3-9]*)
 
9380
      hardcode_direct=no
 
9381
      hardcode_shlibpath_var=no
 
9382
      hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
 
9383
      export_dynamic_flag_spec='${wl}-E'
 
9384
      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
 
9385
      # Instead, shared libraries are loaded at an image base (0x10000000 by
 
9386
      # default) and relocated if they conflict, which is a slow very memory
 
9387
      # consuming and fragmenting process.  To avoid this, we pick a random,
 
9388
      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
 
9389
      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
 
9390
      archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
 
9391
      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'
 
9392
      ;;
 
9393
 
 
9394
    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
 
9395
      tmp_diet=no
 
9396
      if test "$host_os" = linux-dietlibc; then
 
9397
        case $cc_basename in
 
9398
          diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
 
9399
        esac
 
9400
      fi
 
9401
      if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
 
9402
         && test "$tmp_diet" = no
 
9403
      then
 
9404
        tmp_addflag=
 
9405
        tmp_sharedflag='-shared'
 
9406
        case $cc_basename,$host_cpu in
 
9407
        pgcc*)                          # Portland Group C compiler
 
9408
          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'
 
9409
          tmp_addflag=' $pic_flag'
 
9410
          ;;
 
9411
        pgf77* | pgf90* | pgf95*)       # Portland Group f77 and f90 compilers
 
9412
          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'
 
9413
          tmp_addflag=' $pic_flag -Mnomain' ;;
 
9414
        ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
 
9415
          tmp_addflag=' -i_dynamic' ;;
 
9416
        efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
 
9417
          tmp_addflag=' -i_dynamic -nofor_main' ;;
 
9418
        ifc* | ifort*)                  # Intel Fortran compiler
 
9419
          tmp_addflag=' -nofor_main' ;;
 
9420
        lf95*)                          # Lahey Fortran 8.1
 
9421
          whole_archive_flag_spec=
 
9422
          tmp_sharedflag='--shared' ;;
 
9423
        xl[cC]*)                        # IBM XL C 8.0 on PPC (deal with xlf below)
 
9424
          tmp_sharedflag='-qmkshrobj'
 
9425
          tmp_addflag= ;;
 
9426
        esac
 
9427
        case `$CC -V 2>&1 | sed 5q` in
 
9428
        *Sun\ C*)                       # Sun C 5.9
 
9429
          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'
 
9430
          compiler_needs_object=yes
 
9431
          tmp_sharedflag='-G' ;;
 
9432
        *Sun\ F*)                       # Sun Fortran 8.3
 
9433
          tmp_sharedflag='-G' ;;
 
9434
        esac
 
9435
        archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
9436
 
 
9437
        if test "x$supports_anon_versioning" = xyes; then
 
9438
          archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
 
9439
            cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
 
9440
            echo "local: *; };" >> $output_objdir/$libname.ver~
 
9441
            $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
 
9442
        fi
 
9443
 
 
9444
        case $cc_basename in
 
9445
        xlf*)
 
9446
          # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
 
9447
          whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
 
9448
          hardcode_libdir_flag_spec=
 
9449
          hardcode_libdir_flag_spec_ld='-rpath $libdir'
 
9450
          archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
 
9451
          if test "x$supports_anon_versioning" = xyes; then
 
9452
            archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
 
9453
              cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
 
9454
              echo "local: *; };" >> $output_objdir/$libname.ver~
 
9455
              $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
 
9456
          fi
 
9457
          ;;
 
9458
        esac
 
9459
      else
 
9460
        ld_shlibs=no
 
9461
      fi
 
9462
      ;;
 
9463
 
 
9464
    netbsd* | netbsdelf*-gnu)
 
9465
      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
 
9466
        archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
 
9467
        wlarc=
 
9468
      else
 
9469
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
9470
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 
9471
      fi
 
9472
      ;;
 
9473
 
 
9474
    solaris*)
 
9475
      if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
 
9476
        ld_shlibs=no
 
9477
        cat <<_LT_EOF 1>&2
 
9478
 
 
9479
*** Warning: The releases 2.8.* of the GNU linker cannot reliably
 
9480
*** create shared libraries on Solaris systems.  Therefore, libtool
 
9481
*** is disabling shared libraries support.  We urge you to upgrade GNU
 
9482
*** binutils to release 2.9.1 or newer.  Another option is to modify
 
9483
*** your PATH or compiler configuration so that the native linker is
 
9484
*** used, and then restart.
 
9485
 
 
9486
_LT_EOF
 
9487
      elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
 
9488
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
9489
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 
9490
      else
 
9491
        ld_shlibs=no
 
9492
      fi
 
9493
      ;;
 
9494
 
 
9495
    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
 
9496
      case `$LD -v 2>&1` in
 
9497
        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
 
9498
        ld_shlibs=no
 
9499
        cat <<_LT_EOF 1>&2
 
9500
 
 
9501
*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
 
9502
*** reliably create shared libraries on SCO systems.  Therefore, libtool
 
9503
*** is disabling shared libraries support.  We urge you to upgrade GNU
 
9504
*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
 
9505
*** your PATH or compiler configuration so that the native linker is
 
9506
*** used, and then restart.
 
9507
 
 
9508
_LT_EOF
 
9509
        ;;
 
9510
        *)
 
9511
          # For security reasons, it is highly recommended that you always
 
9512
          # use absolute paths for naming shared libraries, and exclude the
 
9513
          # DT_RUNPATH tag from executables and libraries.  But doing so
 
9514
          # requires that you compile everything twice, which is a pain.
 
9515
          if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
 
9516
            hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
 
9517
            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
9518
            archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 
9519
          else
 
9520
            ld_shlibs=no
 
9521
          fi
 
9522
        ;;
 
9523
      esac
 
9524
      ;;
 
9525
 
 
9526
    sunos4*)
 
9527
      archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
 
9528
      wlarc=
 
9529
      hardcode_direct=yes
 
9530
      hardcode_shlibpath_var=no
 
9531
      ;;
 
9532
 
 
9533
    *)
 
9534
      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
 
9535
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
9536
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 
9537
      else
 
9538
        ld_shlibs=no
 
9539
      fi
 
9540
      ;;
 
9541
    esac
 
9542
 
 
9543
    if test "$ld_shlibs" = no; then
 
9544
      runpath_var=
 
9545
      hardcode_libdir_flag_spec=
 
9546
      export_dynamic_flag_spec=
 
9547
      whole_archive_flag_spec=
 
9548
    fi
 
9549
  else
 
9550
    # PORTME fill in a description of your system's linker (not GNU ld)
 
9551
    case $host_os in
 
9552
    aix3*)
 
9553
      allow_undefined_flag=unsupported
 
9554
      always_export_symbols=yes
 
9555
      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'
 
9556
      # Note: this linker hardcodes the directories in LIBPATH if there
 
9557
      # are no directories specified by -L.
 
9558
      hardcode_minus_L=yes
 
9559
      if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
 
9560
        # Neither direct hardcoding nor static linking is supported with a
 
9561
        # broken collect2.
 
9562
        hardcode_direct=unsupported
 
9563
      fi
 
9564
      ;;
 
9565
 
 
9566
    aix[4-9]*)
 
9567
      if test "$host_cpu" = ia64; then
 
9568
        # On IA64, the linker does run time linking by default, so we don't
 
9569
        # have to do anything special.
 
9570
        aix_use_runtimelinking=no
 
9571
        exp_sym_flag='-Bexport'
 
9572
        no_entry_flag=""
 
9573
      else
 
9574
        # If we're using GNU nm, then we don't want the "-C" option.
 
9575
        # -C means demangle to AIX nm, but means don't demangle with GNU nm
 
9576
        if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
 
9577
          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'
 
9578
        else
 
9579
          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'
 
9580
        fi
 
9581
        aix_use_runtimelinking=no
 
9582
 
 
9583
        # Test if we are trying to use run time linking or normal
 
9584
        # AIX style linking. If -brtl is somewhere in LDFLAGS, we
 
9585
        # need to do runtime linking.
 
9586
        case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
 
9587
          for ld_flag in $LDFLAGS; do
 
9588
          if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
 
9589
            aix_use_runtimelinking=yes
 
9590
            break
 
9591
          fi
 
9592
          done
 
9593
          ;;
 
9594
        esac
 
9595
 
 
9596
        exp_sym_flag='-bexport'
 
9597
        no_entry_flag='-bnoentry'
 
9598
      fi
 
9599
 
 
9600
      # When large executables or shared objects are built, AIX ld can
 
9601
      # have problems creating the table of contents.  If linking a library
 
9602
      # or program results in "error TOC overflow" add -mminimal-toc to
 
9603
      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
 
9604
      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
 
9605
 
 
9606
      archive_cmds=''
 
9607
      hardcode_direct=yes
 
9608
      hardcode_direct_absolute=yes
 
9609
      hardcode_libdir_separator=':'
 
9610
      link_all_deplibs=yes
 
9611
      file_list_spec='${wl}-f,'
 
9612
 
 
9613
      if test "$GCC" = yes; then
 
9614
        case $host_os in aix4.[012]|aix4.[012].*)
 
9615
        # We only want to do this on AIX 4.2 and lower, the check
 
9616
        # below for broken collect2 doesn't work under 4.3+
 
9617
          collect2name=`${CC} -print-prog-name=collect2`
 
9618
          if test -f "$collect2name" &&
 
9619
           strings "$collect2name" | $GREP resolve_lib_name >/dev/null
 
9620
          then
 
9621
          # We have reworked collect2
 
9622
          :
 
9623
          else
 
9624
          # We have old collect2
 
9625
          hardcode_direct=unsupported
 
9626
          # It fails to find uninstalled libraries when the uninstalled
 
9627
          # path is not listed in the libpath.  Setting hardcode_minus_L
 
9628
          # to unsupported forces relinking
 
9629
          hardcode_minus_L=yes
 
9630
          hardcode_libdir_flag_spec='-L$libdir'
 
9631
          hardcode_libdir_separator=
 
9632
          fi
 
9633
          ;;
 
9634
        esac
 
9635
        shared_flag='-shared'
 
9636
        if test "$aix_use_runtimelinking" = yes; then
 
9637
          shared_flag="$shared_flag "'${wl}-G'
 
9638
        fi
 
9639
        link_all_deplibs=no
 
9640
      else
 
9641
        # not using gcc
 
9642
        if test "$host_cpu" = ia64; then
 
9643
        # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
 
9644
        # chokes on -Wl,-G. The following line is correct:
 
9645
          shared_flag='-G'
 
9646
        else
 
9647
          if test "$aix_use_runtimelinking" = yes; then
 
9648
            shared_flag='${wl}-G'
 
9649
          else
 
9650
            shared_flag='${wl}-bM:SRE'
 
9651
          fi
 
9652
        fi
 
9653
      fi
 
9654
 
 
9655
      export_dynamic_flag_spec='${wl}-bexpall'
 
9656
      # It seems that -bexpall does not export symbols beginning with
 
9657
      # underscore (_), so it is better to generate a list of symbols to export.
 
9658
      always_export_symbols=yes
 
9659
      if test "$aix_use_runtimelinking" = yes; then
 
9660
        # Warning - without using the other runtime loading flags (-brtl),
 
9661
        # -berok will link without error, but may produce a broken library.
 
9662
        allow_undefined_flag='-berok'
 
9663
        # Determine the default libpath from the value encoded in an
 
9664
        # empty executable.
 
9665
        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
9666
/* end confdefs.h.  */
 
9667
 
 
9668
int
 
9669
main ()
 
9670
{
 
9671
 
 
9672
  ;
 
9673
  return 0;
 
9674
}
 
9675
_ACEOF
 
9676
if ac_fn_c_try_link "$LINENO"; then :
 
9677
  
 
9678
lt_aix_libpath_sed='
 
9679
    /Import File Strings/,/^$/ {
 
9680
        /^0/ {
 
9681
            s/^0  *\(.*\)$/\1/
 
9682
            p
 
9683
        }
 
9684
    }'
 
9685
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
9686
# Check for a 64-bit object if we didn't find anything.
 
9687
if test -z "$aix_libpath"; then
 
9688
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
9689
fi
 
9690
fi
 
9691
rm -f core conftest.err conftest.$ac_objext \
 
9692
    conftest$ac_exeext conftest.$ac_ext
 
9693
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
 
9694
 
 
9695
        hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
 
9696
        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"
 
9697
      else
 
9698
        if test "$host_cpu" = ia64; then
 
9699
          hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
 
9700
          allow_undefined_flag="-z nodefs"
 
9701
          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"
 
9702
        else
 
9703
         # Determine the default libpath from the value encoded in an
 
9704
         # empty executable.
 
9705
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
9706
/* end confdefs.h.  */
 
9707
 
 
9708
int
 
9709
main ()
 
9710
{
 
9711
 
 
9712
  ;
 
9713
  return 0;
 
9714
}
 
9715
_ACEOF
 
9716
if ac_fn_c_try_link "$LINENO"; then :
 
9717
  
 
9718
lt_aix_libpath_sed='
 
9719
    /Import File Strings/,/^$/ {
 
9720
        /^0/ {
 
9721
            s/^0  *\(.*\)$/\1/
 
9722
            p
 
9723
        }
 
9724
    }'
 
9725
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
9726
# Check for a 64-bit object if we didn't find anything.
 
9727
if test -z "$aix_libpath"; then
 
9728
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
9729
fi
 
9730
fi
 
9731
rm -f core conftest.err conftest.$ac_objext \
 
9732
    conftest$ac_exeext conftest.$ac_ext
 
9733
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
 
9734
 
 
9735
         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
 
9736
          # Warning - without using the other run time loading flags,
 
9737
          # -berok will link without error, but may produce a broken library.
 
9738
          no_undefined_flag=' ${wl}-bernotok'
 
9739
          allow_undefined_flag=' ${wl}-berok'
 
9740
          # Exported symbols can be pulled into shared objects from archives
 
9741
          whole_archive_flag_spec='$convenience'
 
9742
          archive_cmds_need_lc=yes
 
9743
          # This is similar to how AIX traditionally builds its shared libraries.
 
9744
          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'
 
9745
        fi
 
9746
      fi
 
9747
      ;;
 
9748
 
 
9749
    amigaos*)
 
9750
      case $host_cpu in
 
9751
      powerpc)
 
9752
            # see comment about AmigaOS4 .so support
 
9753
            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
9754
            archive_expsym_cmds=''
 
9755
        ;;
 
9756
      m68k)
 
9757
            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)'
 
9758
            hardcode_libdir_flag_spec='-L$libdir'
 
9759
            hardcode_minus_L=yes
 
9760
        ;;
 
9761
      esac
 
9762
      ;;
 
9763
 
 
9764
    bsdi[45]*)
 
9765
      export_dynamic_flag_spec=-rdynamic
 
9766
      ;;
 
9767
 
 
9768
    cygwin* | mingw* | pw32* | cegcc*)
 
9769
      # When not using gcc, we currently assume that we are using
 
9770
      # Microsoft Visual C++.
 
9771
      # hardcode_libdir_flag_spec is actually meaningless, as there is
 
9772
      # no search path for DLLs.
 
9773
      hardcode_libdir_flag_spec=' '
 
9774
      allow_undefined_flag=unsupported
 
9775
      # Tell ltmain to make .lib files, not .a files.
 
9776
      libext=lib
 
9777
      # Tell ltmain to make .dll files, not .so files.
 
9778
      shrext_cmds=".dll"
 
9779
      # FIXME: Setting linknames here is a bad hack.
 
9780
      archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
 
9781
      # The linker will automatically build a .lib file if we build a DLL.
 
9782
      old_archive_from_new_cmds='true'
 
9783
      # FIXME: Should let the user specify the lib program.
 
9784
      old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
 
9785
      fix_srcfile_path='`cygpath -w "$srcfile"`'
 
9786
      enable_shared_with_static_runtimes=yes
 
9787
      ;;
 
9788
 
 
9789
    darwin* | rhapsody*)
 
9790
      
 
9791
  
 
9792
  archive_cmds_need_lc=no
 
9793
  hardcode_direct=no
 
9794
  hardcode_automatic=yes
 
9795
  hardcode_shlibpath_var=unsupported
 
9796
  whole_archive_flag_spec=''
 
9797
  link_all_deplibs=yes
 
9798
  allow_undefined_flag="$_lt_dar_allow_undefined"
 
9799
  case $cc_basename in
 
9800
     ifort*) _lt_dar_can_shared=yes ;;
 
9801
     *) _lt_dar_can_shared=$GCC ;;
 
9802
  esac
 
9803
  if test "$_lt_dar_can_shared" = "yes"; then
 
9804
    output_verbose_link_cmd=echo
 
9805
    archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
 
9806
    module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
 
9807
    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}"
 
9808
    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}"
 
9809
    
 
9810
  else
 
9811
  ld_shlibs=no
 
9812
  fi
 
9813
 
 
9814
      ;;
 
9815
 
 
9816
    dgux*)
 
9817
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
9818
      hardcode_libdir_flag_spec='-L$libdir'
 
9819
      hardcode_shlibpath_var=no
 
9820
      ;;
 
9821
 
 
9822
    freebsd1*)
 
9823
      ld_shlibs=no
 
9824
      ;;
 
9825
 
 
9826
    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
 
9827
    # support.  Future versions do this automatically, but an explicit c++rt0.o
 
9828
    # does not break anything, and helps significantly (at the cost of a little
 
9829
    # extra space).
 
9830
    freebsd2.2*)
 
9831
      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
 
9832
      hardcode_libdir_flag_spec='-R$libdir'
 
9833
      hardcode_direct=yes
 
9834
      hardcode_shlibpath_var=no
 
9835
      ;;
 
9836
 
 
9837
    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
 
9838
    freebsd2*)
 
9839
      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
 
9840
      hardcode_direct=yes
 
9841
      hardcode_minus_L=yes
 
9842
      hardcode_shlibpath_var=no
 
9843
      ;;
 
9844
 
 
9845
    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
 
9846
    freebsd* | dragonfly*)
 
9847
      archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
 
9848
      hardcode_libdir_flag_spec='-R$libdir'
 
9849
      hardcode_direct=yes
 
9850
      hardcode_shlibpath_var=no
 
9851
      ;;
 
9852
 
 
9853
    hpux9*)
 
9854
      if test "$GCC" = yes; then
 
9855
        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'
 
9856
      else
 
9857
        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'
 
9858
      fi
 
9859
      hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
 
9860
      hardcode_libdir_separator=:
 
9861
      hardcode_direct=yes
 
9862
 
 
9863
      # hardcode_minus_L: Not really in the search PATH,
 
9864
      # but as the default location of the library.
 
9865
      hardcode_minus_L=yes
 
9866
      export_dynamic_flag_spec='${wl}-E'
 
9867
      ;;
 
9868
 
 
9869
    hpux10*)
 
9870
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
 
9871
        archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 
9872
      else
 
9873
        archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
 
9874
      fi
 
9875
      if test "$with_gnu_ld" = no; then
 
9876
        hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
 
9877
        hardcode_libdir_flag_spec_ld='+b $libdir'
 
9878
        hardcode_libdir_separator=:
 
9879
        hardcode_direct=yes
 
9880
        hardcode_direct_absolute=yes
 
9881
        export_dynamic_flag_spec='${wl}-E'
 
9882
        # hardcode_minus_L: Not really in the search PATH,
 
9883
        # but as the default location of the library.
 
9884
        hardcode_minus_L=yes
 
9885
      fi
 
9886
      ;;
 
9887
 
 
9888
    hpux11*)
 
9889
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
 
9890
        case $host_cpu in
 
9891
        hppa*64*)
 
9892
          archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
9893
          ;;
 
9894
        ia64*)
 
9895
          archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
 
9896
          ;;
 
9897
        *)
 
9898
          archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 
9899
          ;;
 
9900
        esac
 
9901
      else
 
9902
        case $host_cpu in
 
9903
        hppa*64*)
 
9904
          archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
9905
          ;;
 
9906
        ia64*)
 
9907
          archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
 
9908
          ;;
 
9909
        *)
 
9910
          archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 
9911
          ;;
 
9912
        esac
 
9913
      fi
 
9914
      if test "$with_gnu_ld" = no; then
 
9915
        hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
 
9916
        hardcode_libdir_separator=:
 
9917
 
 
9918
        case $host_cpu in
 
9919
        hppa*64*|ia64*)
 
9920
          hardcode_direct=no
 
9921
          hardcode_shlibpath_var=no
 
9922
          ;;
 
9923
        *)
 
9924
          hardcode_direct=yes
 
9925
          hardcode_direct_absolute=yes
 
9926
          export_dynamic_flag_spec='${wl}-E'
 
9927
 
 
9928
          # hardcode_minus_L: Not really in the search PATH,
 
9929
          # but as the default location of the library.
 
9930
          hardcode_minus_L=yes
 
9931
          ;;
 
9932
        esac
 
9933
      fi
 
9934
      ;;
 
9935
 
 
9936
    irix5* | irix6* | nonstopux*)
 
9937
      if test "$GCC" = yes; then
 
9938
        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'
 
9939
        # Try to use the -exported_symbol ld option, if it does not
 
9940
        # work, assume that -exports_file does not work either and
 
9941
        # implicitly export all symbols.
 
9942
        save_LDFLAGS="$LDFLAGS"
 
9943
        LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
 
9944
        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
9945
/* end confdefs.h.  */
 
9946
int foo(void) {}
 
9947
_ACEOF
 
9948
if ac_fn_c_try_link "$LINENO"; then :
 
9949
  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'
 
9950
        
 
9951
fi
 
9952
rm -f core conftest.err conftest.$ac_objext \
 
9953
    conftest$ac_exeext conftest.$ac_ext
 
9954
        LDFLAGS="$save_LDFLAGS"
 
9955
      else
 
9956
        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'
 
9957
        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'
 
9958
      fi
 
9959
      archive_cmds_need_lc='no'
 
9960
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
 
9961
      hardcode_libdir_separator=:
 
9962
      inherit_rpath=yes
 
9963
      link_all_deplibs=yes
 
9964
      ;;
 
9965
 
 
9966
    netbsd* | netbsdelf*-gnu)
 
9967
      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
 
9968
        archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
 
9969
      else
 
9970
        archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
 
9971
      fi
 
9972
      hardcode_libdir_flag_spec='-R$libdir'
 
9973
      hardcode_direct=yes
 
9974
      hardcode_shlibpath_var=no
 
9975
      ;;
 
9976
 
 
9977
    newsos6)
 
9978
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
9979
      hardcode_direct=yes
 
9980
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
 
9981
      hardcode_libdir_separator=:
 
9982
      hardcode_shlibpath_var=no
 
9983
      ;;
 
9984
 
 
9985
    *nto* | *qnx*)
 
9986
      ;;
 
9987
 
 
9988
    openbsd*)
 
9989
      if test -f /usr/libexec/ld.so; then
 
9990
        hardcode_direct=yes
 
9991
        hardcode_shlibpath_var=no
 
9992
        hardcode_direct_absolute=yes
 
9993
        if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
9994
          archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
 
9995
          archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
 
9996
          hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
 
9997
          export_dynamic_flag_spec='${wl}-E'
 
9998
        else
 
9999
          case $host_os in
 
10000
           openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
 
10001
             archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
 
10002
             hardcode_libdir_flag_spec='-R$libdir'
 
10003
             ;;
 
10004
           *)
 
10005
             archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
 
10006
             hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
 
10007
             ;;
 
10008
          esac
 
10009
        fi
 
10010
      else
 
10011
        ld_shlibs=no
 
10012
      fi
 
10013
      ;;
 
10014
 
 
10015
    os2*)
 
10016
      hardcode_libdir_flag_spec='-L$libdir'
 
10017
      hardcode_minus_L=yes
 
10018
      allow_undefined_flag=unsupported
 
10019
      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'
 
10020
      old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
 
10021
      ;;
 
10022
 
 
10023
    osf3*)
 
10024
      if test "$GCC" = yes; then
 
10025
        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
 
10026
        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'
 
10027
      else
 
10028
        allow_undefined_flag=' -expect_unresolved \*'
 
10029
        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'
 
10030
      fi
 
10031
      archive_cmds_need_lc='no'
 
10032
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
 
10033
      hardcode_libdir_separator=:
 
10034
      ;;
 
10035
 
 
10036
    osf4* | osf5*)      # as osf3* with the addition of -msym flag
 
10037
      if test "$GCC" = yes; then
 
10038
        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
 
10039
        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'
 
10040
        hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
 
10041
      else
 
10042
        allow_undefined_flag=' -expect_unresolved \*'
 
10043
        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'
 
10044
        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~
 
10045
        $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'
 
10046
 
 
10047
        # Both c and cxx compiler support -rpath directly
 
10048
        hardcode_libdir_flag_spec='-rpath $libdir'
 
10049
      fi
 
10050
      archive_cmds_need_lc='no'
 
10051
      hardcode_libdir_separator=:
 
10052
      ;;
 
10053
 
 
10054
    solaris*)
 
10055
      no_undefined_flag=' -z defs'
 
10056
      if test "$GCC" = yes; then
 
10057
        wlarc='${wl}'
 
10058
        archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
10059
        archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
 
10060
          $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
 
10061
      else
 
10062
        case `$CC -V 2>&1` in
 
10063
        *"Compilers 5.0"*)
 
10064
          wlarc=''
 
10065
          archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
10066
          archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
 
10067
          $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
 
10068
          ;;
 
10069
        *)
 
10070
          wlarc='${wl}'
 
10071
          archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
 
10072
          archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
 
10073
          $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
 
10074
          ;;
 
10075
        esac
 
10076
      fi
 
10077
      hardcode_libdir_flag_spec='-R$libdir'
 
10078
      hardcode_shlibpath_var=no
 
10079
      case $host_os in
 
10080
      solaris2.[0-5] | solaris2.[0-5].*) ;;
 
10081
      *)
 
10082
        # The compiler driver will combine and reorder linker options,
 
10083
        # but understands `-z linker_flag'.  GCC discards it without `$wl',
 
10084
        # but is careful enough not to reorder.
 
10085
        # Supported since Solaris 2.6 (maybe 2.5.1?)
 
10086
        if test "$GCC" = yes; then
 
10087
          whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
 
10088
        else
 
10089
          whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
 
10090
        fi
 
10091
        ;;
 
10092
      esac
 
10093
      link_all_deplibs=yes
 
10094
      ;;
 
10095
 
 
10096
    sunos4*)
 
10097
      if test "x$host_vendor" = xsequent; then
 
10098
        # Use $CC to link under sequent, because it throws in some extra .o
 
10099
        # files that make .init and .fini sections work.
 
10100
        archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
 
10101
      else
 
10102
        archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
 
10103
      fi
 
10104
      hardcode_libdir_flag_spec='-L$libdir'
 
10105
      hardcode_direct=yes
 
10106
      hardcode_minus_L=yes
 
10107
      hardcode_shlibpath_var=no
 
10108
      ;;
 
10109
 
 
10110
    sysv4)
 
10111
      case $host_vendor in
 
10112
        sni)
 
10113
          archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
10114
          hardcode_direct=yes # is this really true???
 
10115
        ;;
 
10116
        siemens)
 
10117
          ## LD is ld it makes a PLAMLIB
 
10118
          ## CC just makes a GrossModule.
 
10119
          archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
 
10120
          reload_cmds='$CC -r -o $output$reload_objs'
 
10121
          hardcode_direct=no
 
10122
        ;;
 
10123
        motorola)
 
10124
          archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
10125
          hardcode_direct=no #Motorola manual says yes, but my tests say they lie
 
10126
        ;;
 
10127
      esac
 
10128
      runpath_var='LD_RUN_PATH'
 
10129
      hardcode_shlibpath_var=no
 
10130
      ;;
 
10131
 
 
10132
    sysv4.3*)
 
10133
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
10134
      hardcode_shlibpath_var=no
 
10135
      export_dynamic_flag_spec='-Bexport'
 
10136
      ;;
 
10137
 
 
10138
    sysv4*MP*)
 
10139
      if test -d /usr/nec; then
 
10140
        archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
10141
        hardcode_shlibpath_var=no
 
10142
        runpath_var=LD_RUN_PATH
 
10143
        hardcode_runpath_var=yes
 
10144
        ld_shlibs=yes
 
10145
      fi
 
10146
      ;;
 
10147
 
 
10148
    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
 
10149
      no_undefined_flag='${wl}-z,text'
 
10150
      archive_cmds_need_lc=no
 
10151
      hardcode_shlibpath_var=no
 
10152
      runpath_var='LD_RUN_PATH'
 
10153
 
 
10154
      if test "$GCC" = yes; then
 
10155
        archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
10156
        archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
10157
      else
 
10158
        archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
10159
        archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
10160
      fi
 
10161
      ;;
 
10162
 
 
10163
    sysv5* | sco3.2v5* | sco5v6*)
 
10164
      # Note: We can NOT use -z defs as we might desire, because we do not
 
10165
      # link with -lc, and that would cause any symbols used from libc to
 
10166
      # always be unresolved, which means just about no library would
 
10167
      # ever link correctly.  If we're not using GNU ld we use -z text
 
10168
      # though, which does catch some bad symbols but isn't as heavy-handed
 
10169
      # as -z defs.
 
10170
      no_undefined_flag='${wl}-z,text'
 
10171
      allow_undefined_flag='${wl}-z,nodefs'
 
10172
      archive_cmds_need_lc=no
 
10173
      hardcode_shlibpath_var=no
 
10174
      hardcode_libdir_flag_spec='${wl}-R,$libdir'
 
10175
      hardcode_libdir_separator=':'
 
10176
      link_all_deplibs=yes
 
10177
      export_dynamic_flag_spec='${wl}-Bexport'
 
10178
      runpath_var='LD_RUN_PATH'
 
10179
 
 
10180
      if test "$GCC" = yes; then
 
10181
        archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
10182
        archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
10183
      else
 
10184
        archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
10185
        archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
10186
      fi
 
10187
      ;;
 
10188
 
 
10189
    uts4*)
 
10190
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
10191
      hardcode_libdir_flag_spec='-L$libdir'
 
10192
      hardcode_shlibpath_var=no
 
10193
      ;;
 
10194
 
 
10195
    *)
 
10196
      ld_shlibs=no
 
10197
      ;;
 
10198
    esac
 
10199
 
 
10200
    if test x$host_vendor = xsni; then
 
10201
      case $host in
 
10202
      sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
 
10203
        export_dynamic_flag_spec='${wl}-Blargedynsym'
 
10204
        ;;
 
10205
      esac
 
10206
    fi
 
10207
  fi
 
10208
 
 
10209
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
 
10210
$as_echo "$ld_shlibs" >&6; }
 
10211
test "$ld_shlibs" = no && can_build_shared=no
 
10212
 
 
10213
with_gnu_ld=$with_gnu_ld
 
10214
 
 
10215
 
 
10216
    
 
10217
    
 
10218
    
 
10219
 
 
10220
    
 
10221
    
 
10222
    
 
10223
 
 
10224
    
 
10225
    
 
10226
    
 
10227
 
 
10228
 
 
10229
#
 
10230
# Do we need to explicitly link libc?
 
10231
#
 
10232
case "x$archive_cmds_need_lc" in
 
10233
x|xyes)
 
10234
  # Assume -lc should be added
 
10235
  archive_cmds_need_lc=yes
 
10236
 
 
10237
  if test "$enable_shared" = yes && test "$GCC" = yes; then
 
10238
    case $archive_cmds in
 
10239
    *'~'*)
 
10240
      # FIXME: we may have to deal with multi-command sequences.
 
10241
      ;;
 
10242
    '$CC '*)
 
10243
      # Test whether the compiler implicitly links with -lc since on some
 
10244
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
 
10245
      # to ld, don't add -lc before -lgcc.
 
10246
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
 
10247
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
 
10248
      $RM conftest*
 
10249
      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
10250
 
 
10251
      if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
 
10252
  (eval $ac_compile) 2>&5
 
10253
  ac_status=$?
 
10254
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
10255
  test $ac_status = 0; } 2>conftest.err; then
 
10256
        soname=conftest
 
10257
        lib=conftest
 
10258
        libobjs=conftest.$ac_objext
 
10259
        deplibs=
 
10260
        wl=$lt_prog_compiler_wl
 
10261
        pic_flag=$lt_prog_compiler_pic
 
10262
        compiler_flags=-v
 
10263
        linker_flags=-v
 
10264
        verstring=
 
10265
        output_objdir=.
 
10266
        libname=conftest
 
10267
        lt_save_allow_undefined_flag=$allow_undefined_flag
 
10268
        allow_undefined_flag=
 
10269
        if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
 
10270
  (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
 
10271
  ac_status=$?
 
10272
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
10273
  test $ac_status = 0; }
 
10274
        then
 
10275
          archive_cmds_need_lc=no
 
10276
        else
 
10277
          archive_cmds_need_lc=yes
 
10278
        fi
 
10279
        allow_undefined_flag=$lt_save_allow_undefined_flag
 
10280
      else
 
10281
        cat conftest.err 1>&5
 
10282
      fi
 
10283
      $RM conftest*
 
10284
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc" >&5
 
10285
$as_echo "$archive_cmds_need_lc" >&6; }
 
10286
      ;;
 
10287
    esac
 
10288
  fi
 
10289
  ;;
 
10290
esac
 
10291
 
 
10292
 
 
10293
    
 
10294
    
 
10295
    
 
10296
 
 
10297
 
 
10298
    
 
10299
    
 
10300
    
 
10301
 
 
10302
 
 
10303
    
 
10304
    
 
10305
    
 
10306
 
 
10307
 
 
10308
    
 
10309
    
 
10310
    
 
10311
 
 
10312
 
 
10313
    
 
10314
    
 
10315
    
 
10316
 
 
10317
 
 
10318
    
 
10319
    
 
10320
    
 
10321
 
 
10322
 
 
10323
    
 
10324
    
 
10325
    
 
10326
 
 
10327
 
 
10328
    
 
10329
    
 
10330
    
 
10331
 
 
10332
 
 
10333
    
 
10334
    
 
10335
    
 
10336
 
 
10337
 
 
10338
    
 
10339
    
 
10340
    
 
10341
 
 
10342
 
 
10343
    
 
10344
    
 
10345
    
 
10346
 
 
10347
 
 
10348
    
 
10349
    
 
10350
    
 
10351
 
 
10352
 
 
10353
    
 
10354
    
 
10355
    
 
10356
 
 
10357
 
 
10358
    
 
10359
    
 
10360
    
 
10361
 
 
10362
 
 
10363
    
 
10364
    
 
10365
    
 
10366
 
 
10367
 
 
10368
    
 
10369
    
 
10370
    
 
10371
 
 
10372
 
 
10373
    
 
10374
    
 
10375
    
 
10376
 
 
10377
 
 
10378
    
 
10379
    
 
10380
    
 
10381
 
 
10382
 
 
10383
    
 
10384
    
 
10385
    
 
10386
 
 
10387
 
 
10388
    
 
10389
    
 
10390
    
 
10391
 
 
10392
 
 
10393
    
 
10394
    
 
10395
    
 
10396
 
 
10397
 
 
10398
    
 
10399
    
 
10400
    
 
10401
 
 
10402
 
 
10403
    
 
10404
    
 
10405
    
 
10406
 
 
10407
 
 
10408
    
 
10409
    
 
10410
    
 
10411
 
 
10412
 
 
10413
    
 
10414
    
 
10415
    
 
10416
 
 
10417
 
 
10418
    
 
10419
    
 
10420
    
 
10421
 
 
10422
 
 
10423
    
 
10424
    
 
10425
    
 
10426
 
 
10427
 
 
10428
    
 
10429
    
 
10430
    
 
10431
 
 
10432
 
 
10433
    
 
10434
    
 
10435
    
 
10436
 
 
10437
 
 
10438
    
 
10439
    
 
10440
    
 
10441
 
 
10442
 
 
10443
    
 
10444
    
 
10445
    
 
10446
 
 
10447
 
 
10448
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
 
10449
$as_echo_n "checking dynamic linker characteristics... " >&6; }
 
10450
 
 
10451
if test "$GCC" = yes; then
 
10452
  case $host_os in
 
10453
    darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
 
10454
    *) lt_awk_arg="/^libraries:/" ;;
 
10455
  esac
 
10456
  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
 
10457
  if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
 
10458
    # if the path contains ";" then we assume it to be the separator
 
10459
    # otherwise default to the standard path separator (i.e. ":") - it is
 
10460
    # assumed that no part of a normal pathname contains ";" but that should
 
10461
    # okay in the real world where ";" in dirpaths is itself problematic.
 
10462
    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
 
10463
  else
 
10464
    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
 
10465
  fi
 
10466
  # Ok, now we have the path, separated by spaces, we can step through it
 
10467
  # and add multilib dir if necessary.
 
10468
  lt_tmp_lt_search_path_spec=
 
10469
  lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
 
10470
  for lt_sys_path in $lt_search_path_spec; do
 
10471
    if test -d "$lt_sys_path/$lt_multi_os_dir"; then
 
10472
      lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
 
10473
    else
 
10474
      test -d "$lt_sys_path" && \
 
10475
        lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
 
10476
    fi
 
10477
  done
 
10478
  lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
 
10479
BEGIN {RS=" "; FS="/|\n";} {
 
10480
  lt_foo="";
 
10481
  lt_count=0;
 
10482
  for (lt_i = NF; lt_i > 0; lt_i--) {
 
10483
    if ($lt_i != "" && $lt_i != ".") {
 
10484
      if ($lt_i == "..") {
 
10485
        lt_count++;
 
10486
      } else {
 
10487
        if (lt_count == 0) {
 
10488
          lt_foo="/" $lt_i lt_foo;
 
10489
        } else {
 
10490
          lt_count--;
 
10491
        }
 
10492
      }
 
10493
    }
 
10494
  }
 
10495
  if (lt_foo != "") { lt_freq[lt_foo]++; }
 
10496
  if (lt_freq[lt_foo] == 1) { print lt_foo; }
 
10497
}'`
 
10498
  sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
 
10499
else
 
10500
  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
 
10501
fi
 
10502
library_names_spec=
 
10503
libname_spec='lib$name'
 
10504
soname_spec=
 
10505
shrext_cmds=".so"
 
10506
postinstall_cmds=
 
10507
postuninstall_cmds=
 
10508
finish_cmds=
 
10509
finish_eval=
 
10510
shlibpath_var=
 
10511
shlibpath_overrides_runpath=unknown
 
10512
version_type=none
 
10513
dynamic_linker="$host_os ld.so"
 
10514
sys_lib_dlsearch_path_spec="/lib /usr/lib"
 
10515
need_lib_prefix=unknown
 
10516
hardcode_into_libs=no
 
10517
 
 
10518
# when you set need_version to no, make sure it does not cause -set_version
 
10519
# flags to be left without arguments
 
10520
need_version=unknown
 
10521
 
 
10522
case $host_os in
 
10523
aix3*)
 
10524
  version_type=linux
 
10525
  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
 
10526
  shlibpath_var=LIBPATH
 
10527
 
 
10528
  # AIX 3 has no versioning support, so we append a major version to the name.
 
10529
  soname_spec='${libname}${release}${shared_ext}$major'
 
10530
  ;;
 
10531
 
 
10532
aix[4-9]*)
 
10533
  version_type=linux
 
10534
  need_lib_prefix=no
 
10535
  need_version=no
 
10536
  hardcode_into_libs=yes
 
10537
  if test "$host_cpu" = ia64; then
 
10538
    # AIX 5 supports IA64
 
10539
    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
 
10540
    shlibpath_var=LD_LIBRARY_PATH
 
10541
  else
 
10542
    # With GCC up to 2.95.x, collect2 would create an import file
 
10543
    # for dependence libraries.  The import file would start with
 
10544
    # the line `#! .'.  This would cause the generated library to
 
10545
    # depend on `.', always an invalid library.  This was fixed in
 
10546
    # development snapshots of GCC prior to 3.0.
 
10547
    case $host_os in
 
10548
      aix4 | aix4.[01] | aix4.[01].*)
 
10549
      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
 
10550
           echo ' yes '
 
10551
           echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
 
10552
        :
 
10553
      else
 
10554
        can_build_shared=no
 
10555
      fi
 
10556
      ;;
 
10557
    esac
 
10558
    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
 
10559
    # soname into executable. Probably we can add versioning support to
 
10560
    # collect2, so additional links can be useful in future.
 
10561
    if test "$aix_use_runtimelinking" = yes; then
 
10562
      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
 
10563
      # instead of lib<name>.a to let people know that these are not
 
10564
      # typical AIX shared libraries.
 
10565
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
10566
    else
 
10567
      # We preserve .a as extension for shared libraries through AIX4.2
 
10568
      # and later when we are not doing run time linking.
 
10569
      library_names_spec='${libname}${release}.a $libname.a'
 
10570
      soname_spec='${libname}${release}${shared_ext}$major'
 
10571
    fi
 
10572
    shlibpath_var=LIBPATH
 
10573
  fi
 
10574
  ;;
 
10575
 
 
10576
amigaos*)
 
10577
  case $host_cpu in
 
10578
  powerpc)
 
10579
    # Since July 2007 AmigaOS4 officially supports .so libraries.
 
10580
    # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
 
10581
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
10582
    ;;
 
10583
  m68k)
 
10584
    library_names_spec='$libname.ixlibrary $libname.a'
 
10585
    # Create ${libname}_ixlibrary.a entries in /sys/libs.
 
10586
    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'
 
10587
    ;;
 
10588
  esac
 
10589
  ;;
 
10590
 
 
10591
beos*)
 
10592
  library_names_spec='${libname}${shared_ext}'
 
10593
  dynamic_linker="$host_os ld.so"
 
10594
  shlibpath_var=LIBRARY_PATH
 
10595
  ;;
 
10596
 
 
10597
bsdi[45]*)
 
10598
  version_type=linux
 
10599
  need_version=no
 
10600
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
10601
  soname_spec='${libname}${release}${shared_ext}$major'
 
10602
  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
 
10603
  shlibpath_var=LD_LIBRARY_PATH
 
10604
  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
 
10605
  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
 
10606
  # the default ld.so.conf also contains /usr/contrib/lib and
 
10607
  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
 
10608
  # libtool to hard-code these into programs
 
10609
  ;;
 
10610
 
 
10611
cygwin* | mingw* | pw32* | cegcc*)
 
10612
  version_type=windows
 
10613
  shrext_cmds=".dll"
 
10614
  need_version=no
 
10615
  need_lib_prefix=no
 
10616
 
 
10617
  case $GCC,$host_os in
 
10618
  yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
 
10619
    library_names_spec='$libname.dll.a'
 
10620
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
 
10621
    postinstall_cmds='base_file=`basename \${file}`~
 
10622
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
 
10623
      dldir=$destdir/`dirname \$dlpath`~
 
10624
      test -d \$dldir || mkdir -p \$dldir~
 
10625
      $install_prog $dir/$dlname \$dldir/$dlname~
 
10626
      chmod a+x \$dldir/$dlname~
 
10627
      if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
 
10628
        eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
 
10629
      fi'
 
10630
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
 
10631
      dlpath=$dir/\$dldll~
 
10632
       $RM \$dlpath'
 
10633
    shlibpath_overrides_runpath=yes
 
10634
 
 
10635
    case $host_os in
 
10636
    cygwin*)
 
10637
      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
 
10638
      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
 
10639
      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
 
10640
      ;;
 
10641
    mingw* | cegcc*)
 
10642
      # MinGW DLLs use traditional 'lib' prefix
 
10643
      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
 
10644
      sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
 
10645
      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
 
10646
        # It is most probably a Windows format PATH printed by
 
10647
        # mingw gcc, but we are running on Cygwin. Gcc prints its search
 
10648
        # path with ; separators, and with drive letters. We can handle the
 
10649
        # drive letters (cygwin fileutils understands them), so leave them,
 
10650
        # especially as we might pass files found there to a mingw objdump,
 
10651
        # which wouldn't understand a cygwinified path. Ahh.
 
10652
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
 
10653
      else
 
10654
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
 
10655
      fi
 
10656
      ;;
 
10657
    pw32*)
 
10658
      # pw32 DLLs use 'pw' prefix rather than 'lib'
 
10659
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
 
10660
      ;;
 
10661
    esac
 
10662
    ;;
 
10663
 
 
10664
  *)
 
10665
    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
 
10666
    ;;
 
10667
  esac
 
10668
  dynamic_linker='Win32 ld.exe'
 
10669
  # FIXME: first we should search . and the directory the executable is in
 
10670
  shlibpath_var=PATH
 
10671
  ;;
 
10672
 
 
10673
darwin* | rhapsody*)
 
10674
  dynamic_linker="$host_os dyld"
 
10675
  version_type=darwin
 
10676
  need_lib_prefix=no
 
10677
  need_version=no
 
10678
  library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
 
10679
  soname_spec='${libname}${release}${major}$shared_ext'
 
10680
  shlibpath_overrides_runpath=yes
 
10681
  shlibpath_var=DYLD_LIBRARY_PATH
 
10682
  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
 
10683
 
 
10684
  sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
 
10685
  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
 
10686
  ;;
 
10687
 
 
10688
dgux*)
 
10689
  version_type=linux
 
10690
  need_lib_prefix=no
 
10691
  need_version=no
 
10692
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
 
10693
  soname_spec='${libname}${release}${shared_ext}$major'
 
10694
  shlibpath_var=LD_LIBRARY_PATH
 
10695
  ;;
 
10696
 
 
10697
freebsd1*)
 
10698
  dynamic_linker=no
 
10699
  ;;
 
10700
 
 
10701
freebsd* | dragonfly*)
 
10702
  # DragonFly does not have aout.  When/if they implement a new
 
10703
  # versioning mechanism, adjust this.
 
10704
  if test -x /usr/bin/objformat; then
 
10705
    objformat=`/usr/bin/objformat`
 
10706
  else
 
10707
    case $host_os in
 
10708
    freebsd[123]*) objformat=aout ;;
 
10709
    *) objformat=elf ;;
 
10710
    esac
 
10711
  fi
 
10712
  version_type=freebsd-$objformat
 
10713
  case $version_type in
 
10714
    freebsd-elf*)
 
10715
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
 
10716
      need_version=no
 
10717
      need_lib_prefix=no
 
10718
      ;;
 
10719
    freebsd-*)
 
10720
      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
 
10721
      need_version=yes
 
10722
      ;;
 
10723
  esac
 
10724
  shlibpath_var=LD_LIBRARY_PATH
 
10725
  case $host_os in
 
10726
  freebsd2*)
 
10727
    shlibpath_overrides_runpath=yes
 
10728
    ;;
 
10729
  freebsd3.[01]* | freebsdelf3.[01]*)
 
10730
    shlibpath_overrides_runpath=yes
 
10731
    hardcode_into_libs=yes
 
10732
    ;;
 
10733
  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
 
10734
  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
 
10735
    shlibpath_overrides_runpath=no
 
10736
    hardcode_into_libs=yes
 
10737
    ;;
 
10738
  *) # from 4.6 on, and DragonFly
 
10739
    shlibpath_overrides_runpath=yes
 
10740
    hardcode_into_libs=yes
 
10741
    ;;
 
10742
  esac
 
10743
  ;;
 
10744
 
 
10745
gnu*)
 
10746
  version_type=linux
 
10747
  need_lib_prefix=no
 
10748
  need_version=no
 
10749
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
 
10750
  soname_spec='${libname}${release}${shared_ext}$major'
 
10751
  shlibpath_var=LD_LIBRARY_PATH
 
10752
  hardcode_into_libs=yes
 
10753
  ;;
 
10754
 
 
10755
hpux9* | hpux10* | hpux11*)
 
10756
  # Give a soname corresponding to the major version so that dld.sl refuses to
 
10757
  # link against other versions.
 
10758
  version_type=sunos
 
10759
  need_lib_prefix=no
 
10760
  need_version=no
 
10761
  case $host_cpu in
 
10762
  ia64*)
 
10763
    shrext_cmds='.so'
 
10764
    hardcode_into_libs=yes
 
10765
    dynamic_linker="$host_os dld.so"
 
10766
    shlibpath_var=LD_LIBRARY_PATH
 
10767
    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
 
10768
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
10769
    soname_spec='${libname}${release}${shared_ext}$major'
 
10770
    if test "X$HPUX_IA64_MODE" = X32; then
 
10771
      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
 
10772
    else
 
10773
      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
 
10774
    fi
 
10775
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
 
10776
    ;;
 
10777
  hppa*64*)
 
10778
    shrext_cmds='.sl'
 
10779
    hardcode_into_libs=yes
 
10780
    dynamic_linker="$host_os dld.sl"
 
10781
    shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
 
10782
    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
 
10783
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
10784
    soname_spec='${libname}${release}${shared_ext}$major'
 
10785
    sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
 
10786
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
 
10787
    ;;
 
10788
  *)
 
10789
    shrext_cmds='.sl'
 
10790
    dynamic_linker="$host_os dld.sl"
 
10791
    shlibpath_var=SHLIB_PATH
 
10792
    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
 
10793
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
10794
    soname_spec='${libname}${release}${shared_ext}$major'
 
10795
    ;;
 
10796
  esac
 
10797
  # HP-UX runs *really* slowly unless shared libraries are mode 555.
 
10798
  postinstall_cmds='chmod 555 $lib'
 
10799
  ;;
 
10800
 
 
10801
interix[3-9]*)
 
10802
  version_type=linux
 
10803
  need_lib_prefix=no
 
10804
  need_version=no
 
10805
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
 
10806
  soname_spec='${libname}${release}${shared_ext}$major'
 
10807
  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
 
10808
  shlibpath_var=LD_LIBRARY_PATH
 
10809
  shlibpath_overrides_runpath=no
 
10810
  hardcode_into_libs=yes
 
10811
  ;;
 
10812
 
 
10813
irix5* | irix6* | nonstopux*)
 
10814
  case $host_os in
 
10815
    nonstopux*) version_type=nonstopux ;;
 
10816
    *)
 
10817
        if test "$lt_cv_prog_gnu_ld" = yes; then
 
10818
                version_type=linux
 
10819
        else
 
10820
                version_type=irix
 
10821
        fi ;;
 
10822
  esac
 
10823
  need_lib_prefix=no
 
10824
  need_version=no
 
10825
  soname_spec='${libname}${release}${shared_ext}$major'
 
10826
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
 
10827
  case $host_os in
 
10828
  irix5* | nonstopux*)
 
10829
    libsuff= shlibsuff=
 
10830
    ;;
 
10831
  *)
 
10832
    case $LD in # libtool.m4 will add one of these switches to LD
 
10833
    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
 
10834
      libsuff= shlibsuff= libmagic=32-bit;;
 
10835
    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
 
10836
      libsuff=32 shlibsuff=N32 libmagic=N32;;
 
10837
    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
 
10838
      libsuff=64 shlibsuff=64 libmagic=64-bit;;
 
10839
    *) libsuff= shlibsuff= libmagic=never-match;;
 
10840
    esac
 
10841
    ;;
 
10842
  esac
 
10843
  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
 
10844
  shlibpath_overrides_runpath=no
 
10845
  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
 
10846
  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
 
10847
  hardcode_into_libs=yes
 
10848
  ;;
 
10849
 
 
10850
# No shared lib support for Linux oldld, aout, or coff.
 
10851
linux*oldld* | linux*aout* | linux*coff*)
 
10852
  dynamic_linker=no
 
10853
  ;;
 
10854
 
 
10855
# This must be Linux ELF.
 
10856
linux* | k*bsd*-gnu | kopensolaris*-gnu)
 
10857
  version_type=linux
 
10858
  need_lib_prefix=no
 
10859
  need_version=no
 
10860
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
10861
  soname_spec='${libname}${release}${shared_ext}$major'
 
10862
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
 
10863
  shlibpath_var=LD_LIBRARY_PATH
 
10864
  shlibpath_overrides_runpath=no
 
10865
  # Some binutils ld are patched to set DT_RUNPATH
 
10866
  save_LDFLAGS=$LDFLAGS
 
10867
  save_libdir=$libdir
 
10868
  eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
 
10869
       LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
 
10870
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
10871
/* end confdefs.h.  */
 
10872
 
 
10873
int
 
10874
main ()
 
10875
{
 
10876
 
 
10877
  ;
 
10878
  return 0;
 
10879
}
 
10880
_ACEOF
 
10881
if ac_fn_c_try_link "$LINENO"; then :
 
10882
  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
 
10883
  shlibpath_overrides_runpath=yes
 
10884
fi
 
10885
fi
 
10886
rm -f core conftest.err conftest.$ac_objext \
 
10887
    conftest$ac_exeext conftest.$ac_ext
 
10888
  LDFLAGS=$save_LDFLAGS
 
10889
  libdir=$save_libdir
 
10890
 
 
10891
  # This implies no fast_install, which is unacceptable.
 
10892
  # Some rework will be needed to allow for fast_install
 
10893
  # before this can be enabled.
 
10894
  hardcode_into_libs=yes
 
10895
 
 
10896
  # Append ld.so.conf contents to the search path
 
10897
  if test -f /etc/ld.so.conf; then
 
10898
    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' ' '`
 
10899
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
 
10900
  fi
 
10901
 
 
10902
  # We used to test for /lib/ld.so.1 and disable shared libraries on
 
10903
  # powerpc, because MkLinux only supported shared libraries with the
 
10904
  # GNU dynamic linker.  Since this was broken with cross compilers,
 
10905
  # most powerpc-linux boxes support dynamic linking these days and
 
10906
  # people can always --disable-shared, the test was removed, and we
 
10907
  # assume the GNU/Linux dynamic linker is in use.
 
10908
  dynamic_linker='GNU/Linux ld.so'
 
10909
  ;;
 
10910
 
 
10911
netbsdelf*-gnu)
 
10912
  version_type=linux
 
10913
  need_lib_prefix=no
 
10914
  need_version=no
 
10915
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
 
10916
  soname_spec='${libname}${release}${shared_ext}$major'
 
10917
  shlibpath_var=LD_LIBRARY_PATH
 
10918
  shlibpath_overrides_runpath=no
 
10919
  hardcode_into_libs=yes
 
10920
  dynamic_linker='NetBSD ld.elf_so'
 
10921
  ;;
 
10922
 
 
10923
netbsd*)
 
10924
  version_type=sunos
 
10925
  need_lib_prefix=no
 
10926
  need_version=no
 
10927
  if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
 
10928
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
 
10929
    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
 
10930
    dynamic_linker='NetBSD (a.out) ld.so'
 
10931
  else
 
10932
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
 
10933
    soname_spec='${libname}${release}${shared_ext}$major'
 
10934
    dynamic_linker='NetBSD ld.elf_so'
 
10935
  fi
 
10936
  shlibpath_var=LD_LIBRARY_PATH
 
10937
  shlibpath_overrides_runpath=yes
 
10938
  hardcode_into_libs=yes
 
10939
  ;;
 
10940
 
 
10941
newsos6)
 
10942
  version_type=linux
 
10943
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
10944
  shlibpath_var=LD_LIBRARY_PATH
 
10945
  shlibpath_overrides_runpath=yes
 
10946
  ;;
 
10947
 
 
10948
*nto* | *qnx*)
 
10949
  version_type=qnx
 
10950
  need_lib_prefix=no
 
10951
  need_version=no
 
10952
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
10953
  soname_spec='${libname}${release}${shared_ext}$major'
 
10954
  shlibpath_var=LD_LIBRARY_PATH
 
10955
  shlibpath_overrides_runpath=no
 
10956
  hardcode_into_libs=yes
 
10957
  dynamic_linker='ldqnx.so'
 
10958
  ;;
 
10959
 
 
10960
openbsd*)
 
10961
  version_type=sunos
 
10962
  sys_lib_dlsearch_path_spec="/usr/lib"
 
10963
  need_lib_prefix=no
 
10964
  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
 
10965
  case $host_os in
 
10966
    openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
 
10967
    *)                          need_version=no  ;;
 
10968
  esac
 
10969
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
 
10970
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
 
10971
  shlibpath_var=LD_LIBRARY_PATH
 
10972
  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
10973
    case $host_os in
 
10974
      openbsd2.[89] | openbsd2.[89].*)
 
10975
        shlibpath_overrides_runpath=no
 
10976
        ;;
 
10977
      *)
 
10978
        shlibpath_overrides_runpath=yes
 
10979
        ;;
 
10980
      esac
 
10981
  else
 
10982
    shlibpath_overrides_runpath=yes
 
10983
  fi
 
10984
  ;;
 
10985
 
 
10986
os2*)
 
10987
  libname_spec='$name'
 
10988
  shrext_cmds=".dll"
 
10989
  need_lib_prefix=no
 
10990
  library_names_spec='$libname${shared_ext} $libname.a'
 
10991
  dynamic_linker='OS/2 ld.exe'
 
10992
  shlibpath_var=LIBPATH
 
10993
  ;;
 
10994
 
 
10995
osf3* | osf4* | osf5*)
 
10996
  version_type=osf
 
10997
  need_lib_prefix=no
 
10998
  need_version=no
 
10999
  soname_spec='${libname}${release}${shared_ext}$major'
 
11000
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
11001
  shlibpath_var=LD_LIBRARY_PATH
 
11002
  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
 
11003
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
 
11004
  ;;
 
11005
 
 
11006
rdos*)
 
11007
  dynamic_linker=no
 
11008
  ;;
 
11009
 
 
11010
solaris*)
 
11011
  version_type=linux
 
11012
  need_lib_prefix=no
 
11013
  need_version=no
 
11014
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
11015
  soname_spec='${libname}${release}${shared_ext}$major'
 
11016
  shlibpath_var=LD_LIBRARY_PATH
 
11017
  shlibpath_overrides_runpath=yes
 
11018
  hardcode_into_libs=yes
 
11019
  # ldd complains unless libraries are executable
 
11020
  postinstall_cmds='chmod +x $lib'
 
11021
  ;;
 
11022
 
 
11023
sunos4*)
 
11024
  version_type=sunos
 
11025
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
 
11026
  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
 
11027
  shlibpath_var=LD_LIBRARY_PATH
 
11028
  shlibpath_overrides_runpath=yes
 
11029
  if test "$with_gnu_ld" = yes; then
 
11030
    need_lib_prefix=no
 
11031
  fi
 
11032
  need_version=yes
 
11033
  ;;
 
11034
 
 
11035
sysv4 | sysv4.3*)
 
11036
  version_type=linux
 
11037
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
11038
  soname_spec='${libname}${release}${shared_ext}$major'
 
11039
  shlibpath_var=LD_LIBRARY_PATH
 
11040
  case $host_vendor in
 
11041
    sni)
 
11042
      shlibpath_overrides_runpath=no
 
11043
      need_lib_prefix=no
 
11044
      runpath_var=LD_RUN_PATH
 
11045
      ;;
 
11046
    siemens)
 
11047
      need_lib_prefix=no
 
11048
      ;;
 
11049
    motorola)
 
11050
      need_lib_prefix=no
 
11051
      need_version=no
 
11052
      shlibpath_overrides_runpath=no
 
11053
      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
 
11054
      ;;
 
11055
  esac
 
11056
  ;;
 
11057
 
 
11058
sysv4*MP*)
 
11059
  if test -d /usr/nec ;then
 
11060
    version_type=linux
 
11061
    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
 
11062
    soname_spec='$libname${shared_ext}.$major'
 
11063
    shlibpath_var=LD_LIBRARY_PATH
 
11064
  fi
 
11065
  ;;
 
11066
 
 
11067
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
 
11068
  version_type=freebsd-elf
 
11069
  need_lib_prefix=no
 
11070
  need_version=no
 
11071
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
 
11072
  soname_spec='${libname}${release}${shared_ext}$major'
 
11073
  shlibpath_var=LD_LIBRARY_PATH
 
11074
  shlibpath_overrides_runpath=yes
 
11075
  hardcode_into_libs=yes
 
11076
  if test "$with_gnu_ld" = yes; then
 
11077
    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
 
11078
  else
 
11079
    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
 
11080
    case $host_os in
 
11081
      sco3.2v5*)
 
11082
        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
 
11083
        ;;
 
11084
    esac
 
11085
  fi
 
11086
  sys_lib_dlsearch_path_spec='/usr/lib'
 
11087
  ;;
 
11088
 
 
11089
tpf*)
 
11090
  # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
 
11091
  version_type=linux
 
11092
  need_lib_prefix=no
 
11093
  need_version=no
 
11094
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
11095
  shlibpath_var=LD_LIBRARY_PATH
 
11096
  shlibpath_overrides_runpath=no
 
11097
  hardcode_into_libs=yes
 
11098
  ;;
 
11099
 
 
11100
uts4*)
 
11101
  version_type=linux
 
11102
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
11103
  soname_spec='${libname}${release}${shared_ext}$major'
 
11104
  shlibpath_var=LD_LIBRARY_PATH
 
11105
  ;;
 
11106
 
 
11107
*)
 
11108
  dynamic_linker=no
 
11109
  ;;
 
11110
esac
 
11111
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
 
11112
$as_echo "$dynamic_linker" >&6; }
 
11113
test "$dynamic_linker" = no && can_build_shared=no
 
11114
 
 
11115
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
 
11116
if test "$GCC" = yes; then
 
11117
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
 
11118
fi
 
11119
 
 
11120
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
 
11121
  sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
 
11122
fi
 
11123
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
 
11124
  sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
 
11125
fi
 
11126
 
 
11127
 
 
11128
    
 
11129
    
 
11130
    
 
11131
 
 
11132
 
 
11133
    
 
11134
    
 
11135
    
 
11136
 
 
11137
 
 
11138
    
 
11139
    
 
11140
    
 
11141
 
 
11142
 
 
11143
    
 
11144
    
 
11145
    
 
11146
 
 
11147
 
 
11148
    
 
11149
    
 
11150
    
 
11151
 
 
11152
 
 
11153
    
 
11154
    
 
11155
    
 
11156
 
 
11157
 
 
11158
    
 
11159
    
 
11160
    
 
11161
 
 
11162
 
 
11163
    
 
11164
    
 
11165
    
 
11166
 
 
11167
 
 
11168
    
 
11169
    
 
11170
    
 
11171
 
 
11172
 
 
11173
    
 
11174
    
 
11175
    
 
11176
 
 
11177
 
 
11178
    
 
11179
    
 
11180
    
 
11181
 
 
11182
 
 
11183
    
 
11184
    
 
11185
    
 
11186
 
 
11187
 
 
11188
    
 
11189
    
 
11190
    
 
11191
 
 
11192
 
 
11193
    
 
11194
    
 
11195
    
 
11196
 
 
11197
 
 
11198
    
 
11199
    
 
11200
    
 
11201
 
 
11202
 
 
11203
    
 
11204
    
 
11205
    
 
11206
 
 
11207
 
 
11208
    
 
11209
    
 
11210
    
 
11211
 
 
11212
 
 
11213
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
 
11214
$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
 
11215
hardcode_action=
 
11216
if test -n "$hardcode_libdir_flag_spec" ||
 
11217
   test -n "$runpath_var" ||
 
11218
   test "X$hardcode_automatic" = "Xyes" ; then
 
11219
 
 
11220
  # We can hardcode non-existent directories.
 
11221
  if test "$hardcode_direct" != no &&
 
11222
     # If the only mechanism to avoid hardcoding is shlibpath_var, we
 
11223
     # have to relink, otherwise we might link with an installed library
 
11224
     # when we should be linking with a yet-to-be-installed one
 
11225
     ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
 
11226
     test "$hardcode_minus_L" != no; then
 
11227
    # Linking always hardcodes the temporary library directory.
 
11228
    hardcode_action=relink
 
11229
  else
 
11230
    # We can link without hardcoding, and we can hardcode nonexisting dirs.
 
11231
    hardcode_action=immediate
 
11232
  fi
 
11233
else
 
11234
  # We cannot hardcode anything, or else we can only hardcode existing
 
11235
  # directories.
 
11236
  hardcode_action=unsupported
 
11237
fi
 
11238
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
 
11239
$as_echo "$hardcode_action" >&6; }
 
11240
 
 
11241
if test "$hardcode_action" = relink ||
 
11242
   test "$inherit_rpath" = yes; then
 
11243
  # Fast installation is not supported
 
11244
  enable_fast_install=no
 
11245
elif test "$shlibpath_overrides_runpath" = yes ||
 
11246
     test "$enable_shared" = no; then
 
11247
  # Fast installation is not necessary
 
11248
  enable_fast_install=needless
 
11249
fi
 
11250
 
 
11251
    
 
11252
    
 
11253
    
 
11254
 
 
11255
 
 
11256
  if test "x$enable_dlopen" != xyes; then
 
11257
  enable_dlopen=unknown
 
11258
  enable_dlopen_self=unknown
 
11259
  enable_dlopen_self_static=unknown
 
11260
else
 
11261
  lt_cv_dlopen=no
 
11262
  lt_cv_dlopen_libs=
 
11263
 
 
11264
  case $host_os in
 
11265
  beos*)
 
11266
    lt_cv_dlopen="load_add_on"
 
11267
    lt_cv_dlopen_libs=
 
11268
    lt_cv_dlopen_self=yes
 
11269
    ;;
 
11270
 
 
11271
  mingw* | pw32* | cegcc*)
 
11272
    lt_cv_dlopen="LoadLibrary"
 
11273
    lt_cv_dlopen_libs=
 
11274
    ;;
 
11275
 
 
11276
  cygwin*)
 
11277
    lt_cv_dlopen="dlopen"
 
11278
    lt_cv_dlopen_libs=
 
11279
    ;;
 
11280
 
 
11281
  darwin*)
 
11282
  # if libdl is installed we need to link against it
 
11283
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
 
11284
$as_echo_n "checking for dlopen in -ldl... " >&6; }
 
11285
if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
 
11286
  $as_echo_n "(cached) " >&6
 
11287
else
 
11288
  ac_check_lib_save_LIBS=$LIBS
 
11289
LIBS="-ldl  $LIBS"
 
11290
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
11291
/* end confdefs.h.  */
 
11292
 
 
11293
/* Override any GCC internal prototype to avoid an error.
 
11294
   Use char because int might match the return type of a GCC
 
11295
   builtin and then its argument prototype would still apply.  */
 
11296
#ifdef __cplusplus
 
11297
extern "C"
 
11298
#endif
 
11299
char dlopen ();
 
11300
int
 
11301
main ()
 
11302
{
 
11303
return dlopen ();
 
11304
  ;
 
11305
  return 0;
 
11306
}
 
11307
_ACEOF
 
11308
if ac_fn_c_try_link "$LINENO"; then :
 
11309
  ac_cv_lib_dl_dlopen=yes
 
11310
else
 
11311
  ac_cv_lib_dl_dlopen=no
 
11312
fi
 
11313
rm -f core conftest.err conftest.$ac_objext \
 
11314
    conftest$ac_exeext conftest.$ac_ext
 
11315
LIBS=$ac_check_lib_save_LIBS
 
11316
fi
 
11317
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
 
11318
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
 
11319
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
 
11320
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
 
11321
else
 
11322
  
 
11323
    lt_cv_dlopen="dyld"
 
11324
    lt_cv_dlopen_libs=
 
11325
    lt_cv_dlopen_self=yes
 
11326
    
 
11327
fi
 
11328
 
 
11329
    ;;
 
11330
 
 
11331
  *)
 
11332
    ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
 
11333
if test "x$ac_cv_func_shl_load" = x""yes; then :
 
11334
  lt_cv_dlopen="shl_load"
 
11335
else
 
11336
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
 
11337
$as_echo_n "checking for shl_load in -ldld... " >&6; }
 
11338
if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
 
11339
  $as_echo_n "(cached) " >&6
 
11340
else
 
11341
  ac_check_lib_save_LIBS=$LIBS
 
11342
LIBS="-ldld  $LIBS"
 
11343
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
11344
/* end confdefs.h.  */
 
11345
 
 
11346
/* Override any GCC internal prototype to avoid an error.
 
11347
   Use char because int might match the return type of a GCC
 
11348
   builtin and then its argument prototype would still apply.  */
 
11349
#ifdef __cplusplus
 
11350
extern "C"
 
11351
#endif
 
11352
char shl_load ();
 
11353
int
 
11354
main ()
 
11355
{
 
11356
return shl_load ();
 
11357
  ;
 
11358
  return 0;
 
11359
}
 
11360
_ACEOF
 
11361
if ac_fn_c_try_link "$LINENO"; then :
 
11362
  ac_cv_lib_dld_shl_load=yes
 
11363
else
 
11364
  ac_cv_lib_dld_shl_load=no
 
11365
fi
 
11366
rm -f core conftest.err conftest.$ac_objext \
 
11367
    conftest$ac_exeext conftest.$ac_ext
 
11368
LIBS=$ac_check_lib_save_LIBS
 
11369
fi
 
11370
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
 
11371
$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
 
11372
if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
 
11373
  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
 
11374
else
 
11375
  ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
 
11376
if test "x$ac_cv_func_dlopen" = x""yes; then :
 
11377
  lt_cv_dlopen="dlopen"
 
11378
else
 
11379
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
 
11380
$as_echo_n "checking for dlopen in -ldl... " >&6; }
 
11381
if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
 
11382
  $as_echo_n "(cached) " >&6
 
11383
else
 
11384
  ac_check_lib_save_LIBS=$LIBS
 
11385
LIBS="-ldl  $LIBS"
 
11386
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
11387
/* end confdefs.h.  */
 
11388
 
 
11389
/* Override any GCC internal prototype to avoid an error.
 
11390
   Use char because int might match the return type of a GCC
 
11391
   builtin and then its argument prototype would still apply.  */
 
11392
#ifdef __cplusplus
 
11393
extern "C"
 
11394
#endif
 
11395
char dlopen ();
 
11396
int
 
11397
main ()
 
11398
{
 
11399
return dlopen ();
 
11400
  ;
 
11401
  return 0;
 
11402
}
 
11403
_ACEOF
 
11404
if ac_fn_c_try_link "$LINENO"; then :
 
11405
  ac_cv_lib_dl_dlopen=yes
 
11406
else
 
11407
  ac_cv_lib_dl_dlopen=no
 
11408
fi
 
11409
rm -f core conftest.err conftest.$ac_objext \
 
11410
    conftest$ac_exeext conftest.$ac_ext
 
11411
LIBS=$ac_check_lib_save_LIBS
 
11412
fi
 
11413
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
 
11414
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
 
11415
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
 
11416
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
 
11417
else
 
11418
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
 
11419
$as_echo_n "checking for dlopen in -lsvld... " >&6; }
 
11420
if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
 
11421
  $as_echo_n "(cached) " >&6
 
11422
else
 
11423
  ac_check_lib_save_LIBS=$LIBS
 
11424
LIBS="-lsvld  $LIBS"
 
11425
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
11426
/* end confdefs.h.  */
 
11427
 
 
11428
/* Override any GCC internal prototype to avoid an error.
 
11429
   Use char because int might match the return type of a GCC
 
11430
   builtin and then its argument prototype would still apply.  */
 
11431
#ifdef __cplusplus
 
11432
extern "C"
 
11433
#endif
 
11434
char dlopen ();
 
11435
int
 
11436
main ()
 
11437
{
 
11438
return dlopen ();
 
11439
  ;
 
11440
  return 0;
 
11441
}
 
11442
_ACEOF
 
11443
if ac_fn_c_try_link "$LINENO"; then :
 
11444
  ac_cv_lib_svld_dlopen=yes
 
11445
else
 
11446
  ac_cv_lib_svld_dlopen=no
 
11447
fi
 
11448
rm -f core conftest.err conftest.$ac_objext \
 
11449
    conftest$ac_exeext conftest.$ac_ext
 
11450
LIBS=$ac_check_lib_save_LIBS
 
11451
fi
 
11452
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
 
11453
$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
 
11454
if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
 
11455
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
 
11456
else
 
11457
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
 
11458
$as_echo_n "checking for dld_link in -ldld... " >&6; }
 
11459
if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
 
11460
  $as_echo_n "(cached) " >&6
 
11461
else
 
11462
  ac_check_lib_save_LIBS=$LIBS
 
11463
LIBS="-ldld  $LIBS"
 
11464
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
11465
/* end confdefs.h.  */
 
11466
 
 
11467
/* Override any GCC internal prototype to avoid an error.
 
11468
   Use char because int might match the return type of a GCC
 
11469
   builtin and then its argument prototype would still apply.  */
 
11470
#ifdef __cplusplus
 
11471
extern "C"
 
11472
#endif
 
11473
char dld_link ();
 
11474
int
 
11475
main ()
 
11476
{
 
11477
return dld_link ();
 
11478
  ;
 
11479
  return 0;
 
11480
}
 
11481
_ACEOF
 
11482
if ac_fn_c_try_link "$LINENO"; then :
 
11483
  ac_cv_lib_dld_dld_link=yes
 
11484
else
 
11485
  ac_cv_lib_dld_dld_link=no
 
11486
fi
 
11487
rm -f core conftest.err conftest.$ac_objext \
 
11488
    conftest$ac_exeext conftest.$ac_ext
 
11489
LIBS=$ac_check_lib_save_LIBS
 
11490
fi
 
11491
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
 
11492
$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
 
11493
if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
 
11494
  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
 
11495
fi
 
11496
 
 
11497
              
 
11498
fi
 
11499
 
 
11500
            
 
11501
fi
 
11502
 
 
11503
          
 
11504
fi
 
11505
 
 
11506
        
 
11507
fi
 
11508
 
 
11509
      
 
11510
fi
 
11511
 
 
11512
    ;;
 
11513
  esac
 
11514
 
 
11515
  if test "x$lt_cv_dlopen" != xno; then
 
11516
    enable_dlopen=yes
 
11517
  else
 
11518
    enable_dlopen=no
 
11519
  fi
 
11520
 
 
11521
  case $lt_cv_dlopen in
 
11522
  dlopen)
 
11523
    save_CPPFLAGS="$CPPFLAGS"
 
11524
    test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
 
11525
 
 
11526
    save_LDFLAGS="$LDFLAGS"
 
11527
    wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
 
11528
 
 
11529
    save_LIBS="$LIBS"
 
11530
    LIBS="$lt_cv_dlopen_libs $LIBS"
 
11531
 
 
11532
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
 
11533
$as_echo_n "checking whether a program can dlopen itself... " >&6; }
 
11534
if test "${lt_cv_dlopen_self+set}" = set; then :
 
11535
  $as_echo_n "(cached) " >&6
 
11536
else
 
11537
          if test "$cross_compiling" = yes; then :
 
11538
  lt_cv_dlopen_self=cross
 
11539
else
 
11540
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
 
11541
  lt_status=$lt_dlunknown
 
11542
  cat > conftest.$ac_ext <<_LT_EOF
 
11543
#line __oline__ "configure"
 
11544
#include "confdefs.h"
 
11545
 
 
11546
#if HAVE_DLFCN_H
 
11547
#include <dlfcn.h>
 
11548
#endif
 
11549
 
 
11550
#include <stdio.h>
 
11551
 
 
11552
#ifdef RTLD_GLOBAL
 
11553
#  define LT_DLGLOBAL           RTLD_GLOBAL
 
11554
#else
 
11555
#  ifdef DL_GLOBAL
 
11556
#    define LT_DLGLOBAL         DL_GLOBAL
 
11557
#  else
 
11558
#    define LT_DLGLOBAL         0
 
11559
#  endif
 
11560
#endif
 
11561
 
 
11562
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
 
11563
   find out it does not work in some platform. */
 
11564
#ifndef LT_DLLAZY_OR_NOW
 
11565
#  ifdef RTLD_LAZY
 
11566
#    define LT_DLLAZY_OR_NOW            RTLD_LAZY
 
11567
#  else
 
11568
#    ifdef DL_LAZY
 
11569
#      define LT_DLLAZY_OR_NOW          DL_LAZY
 
11570
#    else
 
11571
#      ifdef RTLD_NOW
 
11572
#        define LT_DLLAZY_OR_NOW        RTLD_NOW
 
11573
#      else
 
11574
#        ifdef DL_NOW
 
11575
#          define LT_DLLAZY_OR_NOW      DL_NOW
 
11576
#        else
 
11577
#          define LT_DLLAZY_OR_NOW      0
 
11578
#        endif
 
11579
#      endif
 
11580
#    endif
 
11581
#  endif
 
11582
#endif
 
11583
 
 
11584
void fnord() { int i=42;}
 
11585
int main ()
 
11586
{
 
11587
  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
 
11588
  int status = $lt_dlunknown;
 
11589
 
 
11590
  if (self)
 
11591
    {
 
11592
      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
 
11593
      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
 
11594
      /* dlclose (self); */
 
11595
    }
 
11596
  else
 
11597
    puts (dlerror ());
 
11598
 
 
11599
  return status;
 
11600
}
 
11601
_LT_EOF
 
11602
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
 
11603
  (eval $ac_link) 2>&5
 
11604
  ac_status=$?
 
11605
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
11606
  test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
 
11607
    (./conftest; exit; ) >&5 2>/dev/null
 
11608
    lt_status=$?
 
11609
    case x$lt_status in
 
11610
      x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
 
11611
      x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
 
11612
      x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
 
11613
    esac
 
11614
  else :
 
11615
    # compilation failed
 
11616
    lt_cv_dlopen_self=no
 
11617
  fi
 
11618
fi
 
11619
rm -fr conftest*
 
11620
 
 
11621
    
 
11622
fi
 
11623
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
 
11624
$as_echo "$lt_cv_dlopen_self" >&6; }
 
11625
 
 
11626
    if test "x$lt_cv_dlopen_self" = xyes; then
 
11627
      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
 
11628
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
 
11629
$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
 
11630
if test "${lt_cv_dlopen_self_static+set}" = set; then :
 
11631
  $as_echo_n "(cached) " >&6
 
11632
else
 
11633
          if test "$cross_compiling" = yes; then :
 
11634
  lt_cv_dlopen_self_static=cross
 
11635
else
 
11636
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
 
11637
  lt_status=$lt_dlunknown
 
11638
  cat > conftest.$ac_ext <<_LT_EOF
 
11639
#line __oline__ "configure"
 
11640
#include "confdefs.h"
 
11641
 
 
11642
#if HAVE_DLFCN_H
 
11643
#include <dlfcn.h>
 
11644
#endif
 
11645
 
 
11646
#include <stdio.h>
 
11647
 
 
11648
#ifdef RTLD_GLOBAL
 
11649
#  define LT_DLGLOBAL           RTLD_GLOBAL
 
11650
#else
 
11651
#  ifdef DL_GLOBAL
 
11652
#    define LT_DLGLOBAL         DL_GLOBAL
 
11653
#  else
 
11654
#    define LT_DLGLOBAL         0
 
11655
#  endif
 
11656
#endif
 
11657
 
 
11658
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
 
11659
   find out it does not work in some platform. */
 
11660
#ifndef LT_DLLAZY_OR_NOW
 
11661
#  ifdef RTLD_LAZY
 
11662
#    define LT_DLLAZY_OR_NOW            RTLD_LAZY
 
11663
#  else
 
11664
#    ifdef DL_LAZY
 
11665
#      define LT_DLLAZY_OR_NOW          DL_LAZY
 
11666
#    else
 
11667
#      ifdef RTLD_NOW
 
11668
#        define LT_DLLAZY_OR_NOW        RTLD_NOW
 
11669
#      else
 
11670
#        ifdef DL_NOW
 
11671
#          define LT_DLLAZY_OR_NOW      DL_NOW
 
11672
#        else
 
11673
#          define LT_DLLAZY_OR_NOW      0
 
11674
#        endif
 
11675
#      endif
 
11676
#    endif
 
11677
#  endif
 
11678
#endif
 
11679
 
 
11680
void fnord() { int i=42;}
 
11681
int main ()
 
11682
{
 
11683
  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
 
11684
  int status = $lt_dlunknown;
 
11685
 
 
11686
  if (self)
 
11687
    {
 
11688
      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
 
11689
      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
 
11690
      /* dlclose (self); */
 
11691
    }
 
11692
  else
 
11693
    puts (dlerror ());
 
11694
 
 
11695
  return status;
 
11696
}
 
11697
_LT_EOF
 
11698
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
 
11699
  (eval $ac_link) 2>&5
 
11700
  ac_status=$?
 
11701
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
11702
  test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
 
11703
    (./conftest; exit; ) >&5 2>/dev/null
 
11704
    lt_status=$?
 
11705
    case x$lt_status in
 
11706
      x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
 
11707
      x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
 
11708
      x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
 
11709
    esac
 
11710
  else :
 
11711
    # compilation failed
 
11712
    lt_cv_dlopen_self_static=no
 
11713
  fi
 
11714
fi
 
11715
rm -fr conftest*
 
11716
 
 
11717
      
 
11718
fi
 
11719
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
 
11720
$as_echo "$lt_cv_dlopen_self_static" >&6; }
 
11721
    fi
 
11722
 
 
11723
    CPPFLAGS="$save_CPPFLAGS"
 
11724
    LDFLAGS="$save_LDFLAGS"
 
11725
    LIBS="$save_LIBS"
 
11726
    ;;
 
11727
  esac
 
11728
 
 
11729
  case $lt_cv_dlopen_self in
 
11730
  yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
 
11731
  *) enable_dlopen_self=unknown ;;
 
11732
  esac
 
11733
 
 
11734
  case $lt_cv_dlopen_self_static in
 
11735
  yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
 
11736
  *) enable_dlopen_self_static=unknown ;;
 
11737
  esac
 
11738
fi
 
11739
 
 
11740
    
 
11741
    
 
11742
    
 
11743
 
 
11744
 
 
11745
    
 
11746
    
 
11747
    
 
11748
 
 
11749
 
 
11750
    
 
11751
    
 
11752
    
 
11753
 
 
11754
 
 
11755
  
 
11756
striplib=
 
11757
old_striplib=
 
11758
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
 
11759
$as_echo_n "checking whether stripping libraries is possible... " >&6; }
 
11760
if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
 
11761
  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
 
11762
  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
 
11763
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
11764
$as_echo "yes" >&6; }
 
11765
else
 
11766
# FIXME - insert some real tests, host_os isn't really good enough
 
11767
  case $host_os in
 
11768
  darwin*)
 
11769
    if test -n "$STRIP" ; then
 
11770
      striplib="$STRIP -x"
 
11771
      old_striplib="$STRIP -S"
 
11772
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
11773
$as_echo "yes" >&6; }
 
11774
    else
 
11775
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
11776
$as_echo "no" >&6; }
 
11777
    fi
 
11778
    ;;
 
11779
  *)
 
11780
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
11781
$as_echo "no" >&6; }
 
11782
    ;;
 
11783
  esac
 
11784
fi
 
11785
 
 
11786
    
 
11787
    
 
11788
    
 
11789
 
 
11790
 
 
11791
    
 
11792
    
 
11793
    
 
11794
 
 
11795
 
 
11796
 
 
11797
  # Report which library types will actually be built
 
11798
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
 
11799
$as_echo_n "checking if libtool supports shared libraries... " >&6; }
 
11800
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
 
11801
$as_echo "$can_build_shared" >&6; }
 
11802
 
 
11803
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
 
11804
$as_echo_n "checking whether to build shared libraries... " >&6; }
 
11805
  test "$can_build_shared" = "no" && enable_shared=no
 
11806
 
 
11807
  # On AIX, shared libraries and static libraries use the same namespace, and
 
11808
  # are all built from PIC.
 
11809
  case $host_os in
 
11810
  aix3*)
 
11811
    test "$enable_shared" = yes && enable_static=no
 
11812
    if test -n "$RANLIB"; then
 
11813
      archive_cmds="$archive_cmds~\$RANLIB \$lib"
 
11814
      postinstall_cmds='$RANLIB $lib'
 
11815
    fi
 
11816
    ;;
 
11817
 
 
11818
  aix[4-9]*)
 
11819
    if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
 
11820
      test "$enable_shared" = yes && enable_static=no
 
11821
    fi
 
11822
    ;;
 
11823
  esac
 
11824
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
 
11825
$as_echo "$enable_shared" >&6; }
 
11826
 
 
11827
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
 
11828
$as_echo_n "checking whether to build static libraries... " >&6; }
 
11829
  # Make sure either enable_shared or enable_static is yes.
 
11830
  test "$enable_shared" = yes || enable_static=yes
 
11831
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
 
11832
$as_echo "$enable_static" >&6; }
 
11833
 
 
11834
  
 
11835
 
 
11836
 
 
11837
fi
 
11838
ac_ext=cpp
 
11839
ac_cpp='$CXXCPP $CPPFLAGS'
 
11840
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
11841
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
11842
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 
11843
 
 
11844
CC="$lt_save_CC"
 
11845
 
 
11846
      
 
11847
ac_ext=cpp
 
11848
ac_cpp='$CXXCPP $CPPFLAGS'
 
11849
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
11850
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
11851
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 
11852
 
 
11853
archive_cmds_need_lc_CXX=no
 
11854
allow_undefined_flag_CXX=
 
11855
always_export_symbols_CXX=no
 
11856
archive_expsym_cmds_CXX=
 
11857
compiler_needs_object_CXX=no
 
11858
export_dynamic_flag_spec_CXX=
 
11859
hardcode_direct_CXX=no
 
11860
hardcode_direct_absolute_CXX=no
 
11861
hardcode_libdir_flag_spec_CXX=
 
11862
hardcode_libdir_flag_spec_ld_CXX=
 
11863
hardcode_libdir_separator_CXX=
 
11864
hardcode_minus_L_CXX=no
 
11865
hardcode_shlibpath_var_CXX=unsupported
 
11866
hardcode_automatic_CXX=no
 
11867
inherit_rpath_CXX=no
 
11868
module_cmds_CXX=
 
11869
module_expsym_cmds_CXX=
 
11870
link_all_deplibs_CXX=unknown
 
11871
old_archive_cmds_CXX=$old_archive_cmds
 
11872
no_undefined_flag_CXX=
 
11873
whole_archive_flag_spec_CXX=
 
11874
enable_shared_with_static_runtimes_CXX=no
 
11875
 
 
11876
# Source file extension for C++ test sources.
 
11877
ac_ext=cpp
 
11878
 
 
11879
# Object file extension for compiled C++ test sources.
 
11880
objext=o
 
11881
objext_CXX=$objext
 
11882
 
 
11883
# No sense in running all these tests if we already determined that
 
11884
# the CXX compiler isn't working.  Some variables (like enable_shared)
 
11885
# are currently assumed to apply to all compilers on this platform,
 
11886
# and will be corrupted by setting them based on a non-working compiler.
 
11887
if test "$_lt_caught_CXX_error" != yes; then
 
11888
  # Code to be used in simple compile tests
 
11889
  lt_simple_compile_test_code="int some_variable = 0;"
 
11890
 
 
11891
  # Code to be used in simple link tests
 
11892
  lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
 
11893
 
 
11894
  # ltmain only uses $CC for tagged configurations so make sure $CC is set.
 
11895
  
 
11896
 
 
11897
 
 
11898
 
 
11899
 
 
11900
 
 
11901
# If no C compiler was specified, use CC.
 
11902
LTCC=${LTCC-"$CC"}
 
11903
 
 
11904
# If no C compiler flags were specified, use CFLAGS.
 
11905
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
 
11906
 
 
11907
# Allow CC to be a program name with arguments.
 
11908
compiler=$CC
 
11909
 
 
11910
 
 
11911
  # save warnings/boilerplate of simple test code
 
11912
  ac_outfile=conftest.$ac_objext
 
11913
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
 
11914
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
 
11915
_lt_compiler_boilerplate=`cat conftest.err`
 
11916
$RM conftest*
 
11917
 
 
11918
  ac_outfile=conftest.$ac_objext
 
11919
echo "$lt_simple_link_test_code" >conftest.$ac_ext
 
11920
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
 
11921
_lt_linker_boilerplate=`cat conftest.err`
 
11922
$RM -r conftest*
 
11923
 
 
11924
 
 
11925
  # Allow CC to be a program name with arguments.
 
11926
  lt_save_CC=$CC
 
11927
  lt_save_LD=$LD
 
11928
  lt_save_GCC=$GCC
 
11929
  GCC=$GXX
 
11930
  lt_save_with_gnu_ld=$with_gnu_ld
 
11931
  lt_save_path_LD=$lt_cv_path_LD
 
11932
  if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
 
11933
    lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
 
11934
  else
 
11935
    $as_unset lt_cv_prog_gnu_ld
 
11936
  fi
 
11937
  if test -n "${lt_cv_path_LDCXX+set}"; then
 
11938
    lt_cv_path_LD=$lt_cv_path_LDCXX
 
11939
  else
 
11940
    $as_unset lt_cv_path_LD
 
11941
  fi
 
11942
  test -z "${LDCXX+set}" || LD=$LDCXX
 
11943
  CC=${CXX-"c++"}
 
11944
  compiler=$CC
 
11945
  compiler_CXX=$CC
 
11946
  for cc_temp in $compiler""; do
 
11947
  case $cc_temp in
 
11948
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
 
11949
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
 
11950
    \-*) ;;
 
11951
    *) break;;
 
11952
  esac
 
11953
done
 
11954
cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
 
11955
 
 
11956
 
 
11957
  if test -n "$compiler"; then
 
11958
    # We don't want -fno-exception when compiling C++ code, so set the
 
11959
    # no_builtin_flag separately
 
11960
    if test "$GXX" = yes; then
 
11961
      lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
 
11962
    else
 
11963
      lt_prog_compiler_no_builtin_flag_CXX=
 
11964
    fi
 
11965
 
 
11966
    if test "$GXX" = yes; then
 
11967
      # Set up default GNU C++ configuration
 
11968
 
 
11969
      
 
11970
 
 
11971
@%:@ Check whether --with-gnu-ld was given.
 
11972
if test "${with_gnu_ld+set}" = set; then :
 
11973
  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
 
11974
else
 
11975
  with_gnu_ld=no
 
11976
fi
 
11977
 
 
11978
ac_prog=ld
 
11979
if test "$GCC" = yes; then
 
11980
  # Check if gcc -print-prog-name=ld gives a path.
 
11981
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
 
11982
$as_echo_n "checking for ld used by $CC... " >&6; }
 
11983
  case $host in
 
11984
  *-*-mingw*)
 
11985
    # gcc leaves a trailing carriage return which upsets mingw
 
11986
    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
 
11987
  *)
 
11988
    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
 
11989
  esac
 
11990
  case $ac_prog in
 
11991
    # Accept absolute paths.
 
11992
    [\\/]* | ?:[\\/]*)
 
11993
      re_direlt='/[^/][^/]*/\.\./'
 
11994
      # Canonicalize the pathname of ld
 
11995
      ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
 
11996
      while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
 
11997
        ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
 
11998
      done
 
11999
      test -z "$LD" && LD="$ac_prog"
 
12000
      ;;
 
12001
  "")
 
12002
    # If it fails, then pretend we aren't using GCC.
 
12003
    ac_prog=ld
 
12004
    ;;
 
12005
  *)
 
12006
    # If it is relative, then search for the first ld in PATH.
 
12007
    with_gnu_ld=unknown
 
12008
    ;;
 
12009
  esac
 
12010
elif test "$with_gnu_ld" = yes; then
 
12011
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
 
12012
$as_echo_n "checking for GNU ld... " >&6; }
 
12013
else
 
12014
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
 
12015
$as_echo_n "checking for non-GNU ld... " >&6; }
 
12016
fi
 
12017
if test "${lt_cv_path_LD+set}" = set; then :
 
12018
  $as_echo_n "(cached) " >&6
 
12019
else
 
12020
  if test -z "$LD"; then
 
12021
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
 
12022
  for ac_dir in $PATH; do
 
12023
    IFS="$lt_save_ifs"
 
12024
    test -z "$ac_dir" && ac_dir=.
 
12025
    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
 
12026
      lt_cv_path_LD="$ac_dir/$ac_prog"
 
12027
      # Check to see if the program is GNU ld.  I'd rather use --version,
 
12028
      # but apparently some variants of GNU ld only accept -v.
 
12029
      # Break only if it was the GNU/non-GNU ld that we prefer.
 
12030
      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
 
12031
      *GNU* | *'with BFD'*)
 
12032
        test "$with_gnu_ld" != no && break
 
12033
        ;;
 
12034
      *)
 
12035
        test "$with_gnu_ld" != yes && break
 
12036
        ;;
 
12037
      esac
 
12038
    fi
 
12039
  done
 
12040
  IFS="$lt_save_ifs"
 
12041
else
 
12042
  lt_cv_path_LD="$LD" # Let the user override the test with a path.
 
12043
fi
 
12044
fi
 
12045
 
 
12046
LD="$lt_cv_path_LD"
 
12047
if test -n "$LD"; then
 
12048
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
 
12049
$as_echo "$LD" >&6; }
 
12050
else
 
12051
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
12052
$as_echo "no" >&6; }
 
12053
fi
 
12054
test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
 
12055
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
 
12056
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
 
12057
if test "${lt_cv_prog_gnu_ld+set}" = set; then :
 
12058
  $as_echo_n "(cached) " >&6
 
12059
else
 
12060
  # I'd rather use --version here, but apparently some GNU lds only accept -v.
 
12061
case `$LD -v 2>&1 </dev/null` in
 
12062
*GNU* | *'with BFD'*)
 
12063
  lt_cv_prog_gnu_ld=yes
 
12064
  ;;
 
12065
*)
 
12066
  lt_cv_prog_gnu_ld=no
 
12067
  ;;
 
12068
esac
 
12069
fi
 
12070
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
 
12071
$as_echo "$lt_cv_prog_gnu_ld" >&6; }
 
12072
with_gnu_ld=$lt_cv_prog_gnu_ld
 
12073
 
 
12074
 
 
12075
 
 
12076
 
 
12077
 
 
12078
 
 
12079
 
 
12080
      # Check if GNU C++ uses GNU ld as the underlying linker, since the
 
12081
      # archiving commands below assume that GNU ld is being used.
 
12082
      if test "$with_gnu_ld" = yes; then
 
12083
        archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
12084
        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'
 
12085
 
 
12086
        hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
 
12087
        export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
 
12088
 
 
12089
        # If archive_cmds runs LD, not CC, wlarc should be empty
 
12090
        # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
 
12091
        #     investigate it a little bit more. (MM)
 
12092
        wlarc='${wl}'
 
12093
 
 
12094
        # ancient GNU ld didn't support --whole-archive et. al.
 
12095
        if eval "`$CC -print-prog-name=ld` --help 2>&1" |
 
12096
          $GREP 'no-whole-archive' > /dev/null; then
 
12097
          whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
 
12098
        else
 
12099
          whole_archive_flag_spec_CXX=
 
12100
        fi
 
12101
      else
 
12102
        with_gnu_ld=no
 
12103
        wlarc=
 
12104
 
 
12105
        # A generic and very simple default shared library creation
 
12106
        # command for GNU C++ for the case where it uses the native
 
12107
        # linker, instead of GNU ld.  If possible, this setting should
 
12108
        # overridden to take advantage of the native linker features on
 
12109
        # the platform it is being used on.
 
12110
        archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
 
12111
      fi
 
12112
 
 
12113
      # Commands to make compiler produce verbose output that lists
 
12114
      # what "hidden" libraries, object files and flags are used when
 
12115
      # linking a shared library.
 
12116
      output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
 
12117
 
 
12118
    else
 
12119
      GXX=no
 
12120
      with_gnu_ld=no
 
12121
      wlarc=
 
12122
    fi
 
12123
 
 
12124
    # PORTME: fill in a description of your system's C++ link characteristics
 
12125
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 
12126
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
 
12127
    ld_shlibs_CXX=yes
 
12128
    case $host_os in
 
12129
      aix3*)
 
12130
        # FIXME: insert proper C++ library support
 
12131
        ld_shlibs_CXX=no
 
12132
        ;;
 
12133
      aix[4-9]*)
 
12134
        if test "$host_cpu" = ia64; then
 
12135
          # On IA64, the linker does run time linking by default, so we don't
 
12136
          # have to do anything special.
 
12137
          aix_use_runtimelinking=no
 
12138
          exp_sym_flag='-Bexport'
 
12139
          no_entry_flag=""
 
12140
        else
 
12141
          aix_use_runtimelinking=no
 
12142
 
 
12143
          # Test if we are trying to use run time linking or normal
 
12144
          # AIX style linking. If -brtl is somewhere in LDFLAGS, we
 
12145
          # need to do runtime linking.
 
12146
          case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
 
12147
            for ld_flag in $LDFLAGS; do
 
12148
              case $ld_flag in
 
12149
              *-brtl*)
 
12150
                aix_use_runtimelinking=yes
 
12151
                break
 
12152
                ;;
 
12153
              esac
 
12154
            done
 
12155
            ;;
 
12156
          esac
 
12157
 
 
12158
          exp_sym_flag='-bexport'
 
12159
          no_entry_flag='-bnoentry'
 
12160
        fi
 
12161
 
 
12162
        # When large executables or shared objects are built, AIX ld can
 
12163
        # have problems creating the table of contents.  If linking a library
 
12164
        # or program results in "error TOC overflow" add -mminimal-toc to
 
12165
        # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
 
12166
        # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
 
12167
 
 
12168
        archive_cmds_CXX=''
 
12169
        hardcode_direct_CXX=yes
 
12170
        hardcode_direct_absolute_CXX=yes
 
12171
        hardcode_libdir_separator_CXX=':'
 
12172
        link_all_deplibs_CXX=yes
 
12173
        file_list_spec_CXX='${wl}-f,'
 
12174
 
 
12175
        if test "$GXX" = yes; then
 
12176
          case $host_os in aix4.[012]|aix4.[012].*)
 
12177
          # We only want to do this on AIX 4.2 and lower, the check
 
12178
          # below for broken collect2 doesn't work under 4.3+
 
12179
          collect2name=`${CC} -print-prog-name=collect2`
 
12180
          if test -f "$collect2name" &&
 
12181
             strings "$collect2name" | $GREP resolve_lib_name >/dev/null
 
12182
          then
 
12183
            # We have reworked collect2
 
12184
            :
 
12185
          else
 
12186
            # We have old collect2
 
12187
            hardcode_direct_CXX=unsupported
 
12188
            # It fails to find uninstalled libraries when the uninstalled
 
12189
            # path is not listed in the libpath.  Setting hardcode_minus_L
 
12190
            # to unsupported forces relinking
 
12191
            hardcode_minus_L_CXX=yes
 
12192
            hardcode_libdir_flag_spec_CXX='-L$libdir'
 
12193
            hardcode_libdir_separator_CXX=
 
12194
          fi
 
12195
          esac
 
12196
          shared_flag='-shared'
 
12197
          if test "$aix_use_runtimelinking" = yes; then
 
12198
            shared_flag="$shared_flag "'${wl}-G'
 
12199
          fi
 
12200
        else
 
12201
          # not using gcc
 
12202
          if test "$host_cpu" = ia64; then
 
12203
          # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
 
12204
          # chokes on -Wl,-G. The following line is correct:
 
12205
          shared_flag='-G'
 
12206
          else
 
12207
            if test "$aix_use_runtimelinking" = yes; then
 
12208
              shared_flag='${wl}-G'
 
12209
            else
 
12210
              shared_flag='${wl}-bM:SRE'
 
12211
            fi
 
12212
          fi
 
12213
        fi
 
12214
 
 
12215
        export_dynamic_flag_spec_CXX='${wl}-bexpall'
 
12216
        # It seems that -bexpall does not export symbols beginning with
 
12217
        # underscore (_), so it is better to generate a list of symbols to
 
12218
        # export.
 
12219
        always_export_symbols_CXX=yes
 
12220
        if test "$aix_use_runtimelinking" = yes; then
 
12221
          # Warning - without using the other runtime loading flags (-brtl),
 
12222
          # -berok will link without error, but may produce a broken library.
 
12223
          allow_undefined_flag_CXX='-berok'
 
12224
          # Determine the default libpath from the value encoded in an empty
 
12225
          # executable.
 
12226
          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
12227
/* end confdefs.h.  */
 
12228
 
 
12229
int
 
12230
main ()
 
12231
{
 
12232
 
 
12233
  ;
 
12234
  return 0;
 
12235
}
 
12236
_ACEOF
 
12237
if ac_fn_cxx_try_link "$LINENO"; then :
 
12238
  
 
12239
lt_aix_libpath_sed='
 
12240
    /Import File Strings/,/^$/ {
 
12241
        /^0/ {
 
12242
            s/^0  *\(.*\)$/\1/
 
12243
            p
 
12244
        }
 
12245
    }'
 
12246
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
12247
# Check for a 64-bit object if we didn't find anything.
 
12248
if test -z "$aix_libpath"; then
 
12249
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
12250
fi
 
12251
fi
 
12252
rm -f core conftest.err conftest.$ac_objext \
 
12253
    conftest$ac_exeext conftest.$ac_ext
 
12254
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
 
12255
 
 
12256
          hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
 
12257
 
 
12258
          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"
 
12259
        else
 
12260
          if test "$host_cpu" = ia64; then
 
12261
            hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
 
12262
            allow_undefined_flag_CXX="-z nodefs"
 
12263
            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"
 
12264
          else
 
12265
            # Determine the default libpath from the value encoded in an
 
12266
            # empty executable.
 
12267
            cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
12268
/* end confdefs.h.  */
 
12269
 
 
12270
int
 
12271
main ()
 
12272
{
 
12273
 
 
12274
  ;
 
12275
  return 0;
 
12276
}
 
12277
_ACEOF
 
12278
if ac_fn_cxx_try_link "$LINENO"; then :
 
12279
  
 
12280
lt_aix_libpath_sed='
 
12281
    /Import File Strings/,/^$/ {
 
12282
        /^0/ {
 
12283
            s/^0  *\(.*\)$/\1/
 
12284
            p
 
12285
        }
 
12286
    }'
 
12287
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
12288
# Check for a 64-bit object if we didn't find anything.
 
12289
if test -z "$aix_libpath"; then
 
12290
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
12291
fi
 
12292
fi
 
12293
rm -f core conftest.err conftest.$ac_objext \
 
12294
    conftest$ac_exeext conftest.$ac_ext
 
12295
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
 
12296
 
 
12297
            hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
 
12298
            # Warning - without using the other run time loading flags,
 
12299
            # -berok will link without error, but may produce a broken library.
 
12300
            no_undefined_flag_CXX=' ${wl}-bernotok'
 
12301
            allow_undefined_flag_CXX=' ${wl}-berok'
 
12302
            # Exported symbols can be pulled into shared objects from archives
 
12303
            whole_archive_flag_spec_CXX='$convenience'
 
12304
            archive_cmds_need_lc_CXX=yes
 
12305
            # This is similar to how AIX traditionally builds its shared
 
12306
            # libraries.
 
12307
            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'
 
12308
          fi
 
12309
        fi
 
12310
        ;;
 
12311
 
 
12312
      beos*)
 
12313
        if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
 
12314
          allow_undefined_flag_CXX=unsupported
 
12315
          # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
 
12316
          # support --undefined.  This deserves some investigation.  FIXME
 
12317
          archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
12318
        else
 
12319
          ld_shlibs_CXX=no
 
12320
        fi
 
12321
        ;;
 
12322
 
 
12323
      chorus*)
 
12324
        case $cc_basename in
 
12325
          *)
 
12326
          # FIXME: insert proper C++ library support
 
12327
          ld_shlibs_CXX=no
 
12328
          ;;
 
12329
        esac
 
12330
        ;;
 
12331
 
 
12332
      cygwin* | mingw* | pw32* | cegcc*)
 
12333
        # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
 
12334
        # as there is no search path for DLLs.
 
12335
        hardcode_libdir_flag_spec_CXX='-L$libdir'
 
12336
        allow_undefined_flag_CXX=unsupported
 
12337
        always_export_symbols_CXX=no
 
12338
        enable_shared_with_static_runtimes_CXX=yes
 
12339
 
 
12340
        if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
 
12341
          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'
 
12342
          # If the export-symbols file already is a .def file (1st line
 
12343
          # is EXPORTS), use it as is; otherwise, prepend...
 
12344
          archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
 
12345
            cp $export_symbols $output_objdir/$soname.def;
 
12346
          else
 
12347
            echo EXPORTS > $output_objdir/$soname.def;
 
12348
            cat $export_symbols >> $output_objdir/$soname.def;
 
12349
          fi~
 
12350
          $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'
 
12351
        else
 
12352
          ld_shlibs_CXX=no
 
12353
        fi
 
12354
        ;;
 
12355
      darwin* | rhapsody*)
 
12356
        
 
12357
  
 
12358
  archive_cmds_need_lc_CXX=no
 
12359
  hardcode_direct_CXX=no
 
12360
  hardcode_automatic_CXX=yes
 
12361
  hardcode_shlibpath_var_CXX=unsupported
 
12362
  whole_archive_flag_spec_CXX=''
 
12363
  link_all_deplibs_CXX=yes
 
12364
  allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
 
12365
  case $cc_basename in
 
12366
     ifort*) _lt_dar_can_shared=yes ;;
 
12367
     *) _lt_dar_can_shared=$GCC ;;
 
12368
  esac
 
12369
  if test "$_lt_dar_can_shared" = "yes"; then
 
12370
    output_verbose_link_cmd=echo
 
12371
    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}"
 
12372
    module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
 
12373
    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}"
 
12374
    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}"
 
12375
       if test "$lt_cv_apple_cc_single_mod" != "yes"; then
 
12376
      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}"
 
12377
      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}"
 
12378
    fi
 
12379
 
 
12380
  else
 
12381
  ld_shlibs_CXX=no
 
12382
  fi
 
12383
 
 
12384
        ;;
 
12385
 
 
12386
      dgux*)
 
12387
        case $cc_basename in
 
12388
          ec++*)
 
12389
            # FIXME: insert proper C++ library support
 
12390
            ld_shlibs_CXX=no
 
12391
            ;;
 
12392
          ghcx*)
 
12393
            # Green Hills C++ Compiler
 
12394
            # FIXME: insert proper C++ library support
 
12395
            ld_shlibs_CXX=no
 
12396
            ;;
 
12397
          *)
 
12398
            # FIXME: insert proper C++ library support
 
12399
            ld_shlibs_CXX=no
 
12400
            ;;
 
12401
        esac
 
12402
        ;;
 
12403
 
 
12404
      freebsd[12]*)
 
12405
        # C++ shared libraries reported to be fairly broken before
 
12406
        # switch to ELF
 
12407
        ld_shlibs_CXX=no
 
12408
        ;;
 
12409
 
 
12410
      freebsd-elf*)
 
12411
        archive_cmds_need_lc_CXX=no
 
12412
        ;;
 
12413
 
 
12414
      freebsd* | dragonfly*)
 
12415
        # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
 
12416
        # conventions
 
12417
        ld_shlibs_CXX=yes
 
12418
        ;;
 
12419
 
 
12420
      gnu*)
 
12421
        ;;
 
12422
 
 
12423
      hpux9*)
 
12424
        hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
 
12425
        hardcode_libdir_separator_CXX=:
 
12426
        export_dynamic_flag_spec_CXX='${wl}-E'
 
12427
        hardcode_direct_CXX=yes
 
12428
        hardcode_minus_L_CXX=yes # Not in the search PATH,
 
12429
                                             # but as the default
 
12430
                                             # location of the library.
 
12431
 
 
12432
        case $cc_basename in
 
12433
          CC*)
 
12434
            # FIXME: insert proper C++ library support
 
12435
            ld_shlibs_CXX=no
 
12436
            ;;
 
12437
          aCC*)
 
12438
            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'
 
12439
            # Commands to make compiler produce verbose output that lists
 
12440
            # what "hidden" libraries, object files and flags are used when
 
12441
            # linking a shared library.
 
12442
            #
 
12443
            # There doesn't appear to be a way to prevent this compiler from
 
12444
            # explicitly linking system object files so we need to strip them
 
12445
            # from the output so that they don't get included in the library
 
12446
            # dependencies.
 
12447
            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'
 
12448
            ;;
 
12449
          *)
 
12450
            if test "$GXX" = yes; then
 
12451
              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'
 
12452
            else
 
12453
              # FIXME: insert proper C++ library support
 
12454
              ld_shlibs_CXX=no
 
12455
            fi
 
12456
            ;;
 
12457
        esac
 
12458
        ;;
 
12459
 
 
12460
      hpux10*|hpux11*)
 
12461
        if test $with_gnu_ld = no; then
 
12462
          hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
 
12463
          hardcode_libdir_separator_CXX=:
 
12464
 
 
12465
          case $host_cpu in
 
12466
            hppa*64*|ia64*)
 
12467
              ;;
 
12468
            *)
 
12469
              export_dynamic_flag_spec_CXX='${wl}-E'
 
12470
              ;;
 
12471
          esac
 
12472
        fi
 
12473
        case $host_cpu in
 
12474
          hppa*64*|ia64*)
 
12475
            hardcode_direct_CXX=no
 
12476
            hardcode_shlibpath_var_CXX=no
 
12477
            ;;
 
12478
          *)
 
12479
            hardcode_direct_CXX=yes
 
12480
            hardcode_direct_absolute_CXX=yes
 
12481
            hardcode_minus_L_CXX=yes # Not in the search PATH,
 
12482
                                                 # but as the default
 
12483
                                                 # location of the library.
 
12484
            ;;
 
12485
        esac
 
12486
 
 
12487
        case $cc_basename in
 
12488
          CC*)
 
12489
            # FIXME: insert proper C++ library support
 
12490
            ld_shlibs_CXX=no
 
12491
            ;;
 
12492
          aCC*)
 
12493
            case $host_cpu in
 
12494
              hppa*64*)
 
12495
                archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
 
12496
                ;;
 
12497
              ia64*)
 
12498
                archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
 
12499
                ;;
 
12500
              *)
 
12501
                archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
 
12502
                ;;
 
12503
            esac
 
12504
            # Commands to make compiler produce verbose output that lists
 
12505
            # what "hidden" libraries, object files and flags are used when
 
12506
            # linking a shared library.
 
12507
            #
 
12508
            # There doesn't appear to be a way to prevent this compiler from
 
12509
            # explicitly linking system object files so we need to strip them
 
12510
            # from the output so that they don't get included in the library
 
12511
            # dependencies.
 
12512
            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'
 
12513
            ;;
 
12514
          *)
 
12515
            if test "$GXX" = yes; then
 
12516
              if test $with_gnu_ld = no; then
 
12517
                case $host_cpu in
 
12518
                  hppa*64*)
 
12519
                    archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
 
12520
                    ;;
 
12521
                  ia64*)
 
12522
                    archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
 
12523
                    ;;
 
12524
                  *)
 
12525
                    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'
 
12526
                    ;;
 
12527
                esac
 
12528
              fi
 
12529
            else
 
12530
              # FIXME: insert proper C++ library support
 
12531
              ld_shlibs_CXX=no
 
12532
            fi
 
12533
            ;;
 
12534
        esac
 
12535
        ;;
 
12536
 
 
12537
      interix[3-9]*)
 
12538
        hardcode_direct_CXX=no
 
12539
        hardcode_shlibpath_var_CXX=no
 
12540
        hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
 
12541
        export_dynamic_flag_spec_CXX='${wl}-E'
 
12542
        # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
 
12543
        # Instead, shared libraries are loaded at an image base (0x10000000 by
 
12544
        # default) and relocated if they conflict, which is a slow very memory
 
12545
        # consuming and fragmenting process.  To avoid this, we pick a random,
 
12546
        # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
 
12547
        # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
 
12548
        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'
 
12549
        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'
 
12550
        ;;
 
12551
      irix5* | irix6*)
 
12552
        case $cc_basename in
 
12553
          CC*)
 
12554
            # SGI C++
 
12555
            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'
 
12556
 
 
12557
            # Archives containing C++ object files must be created using
 
12558
            # "CC -ar", where "CC" is the IRIX C++ compiler.  This is
 
12559
            # necessary to make sure instantiated templates are included
 
12560
            # in the archive.
 
12561
            old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
 
12562
            ;;
 
12563
          *)
 
12564
            if test "$GXX" = yes; then
 
12565
              if test "$with_gnu_ld" = no; then
 
12566
                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'
 
12567
              else
 
12568
                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'
 
12569
              fi
 
12570
            fi
 
12571
            link_all_deplibs_CXX=yes
 
12572
            ;;
 
12573
        esac
 
12574
        hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
 
12575
        hardcode_libdir_separator_CXX=:
 
12576
        inherit_rpath_CXX=yes
 
12577
        ;;
 
12578
 
 
12579
      linux* | k*bsd*-gnu | kopensolaris*-gnu)
 
12580
        case $cc_basename in
 
12581
          KCC*)
 
12582
            # Kuck and Associates, Inc. (KAI) C++ Compiler
 
12583
 
 
12584
            # KCC will only create a shared library if the output file
 
12585
            # ends with ".so" (or ".sl" for HP-UX), so rename the library
 
12586
            # to its proper name (with version) after linking.
 
12587
            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'
 
12588
            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'
 
12589
            # Commands to make compiler produce verbose output that lists
 
12590
            # what "hidden" libraries, object files and flags are used when
 
12591
            # linking a shared library.
 
12592
            #
 
12593
            # There doesn't appear to be a way to prevent this compiler from
 
12594
            # explicitly linking system object files so we need to strip them
 
12595
            # from the output so that they don't get included in the library
 
12596
            # dependencies.
 
12597
            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'
 
12598
 
 
12599
            hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
 
12600
            export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
 
12601
 
 
12602
            # Archives containing C++ object files must be created using
 
12603
            # "CC -Bstatic", where "CC" is the KAI C++ compiler.
 
12604
            old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
 
12605
            ;;
 
12606
          icpc* | ecpc* )
 
12607
            # Intel C++
 
12608
            with_gnu_ld=yes
 
12609
            # version 8.0 and above of icpc choke on multiply defined symbols
 
12610
            # if we add $predep_objects and $postdep_objects, however 7.1 and
 
12611
            # earlier do not add the objects themselves.
 
12612
            case `$CC -V 2>&1` in
 
12613
              *"Version 7."*)
 
12614
                archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
12615
                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'
 
12616
                ;;
 
12617
              *)  # Version 8.0 or newer
 
12618
                tmp_idyn=
 
12619
                case $host_cpu in
 
12620
                  ia64*) tmp_idyn=' -i_dynamic';;
 
12621
                esac
 
12622
                archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
12623
                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'
 
12624
                ;;
 
12625
            esac
 
12626
            archive_cmds_need_lc_CXX=no
 
12627
            hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
 
12628
            export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
 
12629
            whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
 
12630
            ;;
 
12631
          pgCC* | pgcpp*)
 
12632
            # Portland Group C++ compiler
 
12633
            case `$CC -V` in
 
12634
            *pgCC\ [1-5]* | *pgcpp\ [1-5]*)
 
12635
              prelink_cmds_CXX='tpldir=Template.dir~
 
12636
                rm -rf $tpldir~
 
12637
                $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
 
12638
                compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
 
12639
              old_archive_cmds_CXX='tpldir=Template.dir~
 
12640
                rm -rf $tpldir~
 
12641
                $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
 
12642
                $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
 
12643
                $RANLIB $oldlib'
 
12644
              archive_cmds_CXX='tpldir=Template.dir~
 
12645
                rm -rf $tpldir~
 
12646
                $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
 
12647
                $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
 
12648
              archive_expsym_cmds_CXX='tpldir=Template.dir~
 
12649
                rm -rf $tpldir~
 
12650
                $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
 
12651
                $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'
 
12652
              ;;
 
12653
            *) # Version 6 will use weak symbols
 
12654
              archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
 
12655
              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'
 
12656
              ;;
 
12657
            esac
 
12658
 
 
12659
            hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
 
12660
            export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
 
12661
            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'
 
12662
            ;;
 
12663
          cxx*)
 
12664
            # Compaq C++
 
12665
            archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
12666
            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'
 
12667
 
 
12668
            runpath_var=LD_RUN_PATH
 
12669
            hardcode_libdir_flag_spec_CXX='-rpath $libdir'
 
12670
            hardcode_libdir_separator_CXX=:
 
12671
 
 
12672
            # Commands to make compiler produce verbose output that lists
 
12673
            # what "hidden" libraries, object files and flags are used when
 
12674
            # linking a shared library.
 
12675
            #
 
12676
            # There doesn't appear to be a way to prevent this compiler from
 
12677
            # explicitly linking system object files so we need to strip them
 
12678
            # from the output so that they don't get included in the library
 
12679
            # dependencies.
 
12680
            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'
 
12681
            ;;
 
12682
          xl*)
 
12683
            # IBM XL 8.0 on PPC, with GNU ld
 
12684
            hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
 
12685
            export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
 
12686
            archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
12687
            if test "x$supports_anon_versioning" = xyes; then
 
12688
              archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
 
12689
                cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
 
12690
                echo "local: *; };" >> $output_objdir/$libname.ver~
 
12691
                $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
 
12692
            fi
 
12693
            ;;
 
12694
          *)
 
12695
            case `$CC -V 2>&1 | sed 5q` in
 
12696
            *Sun\ C*)
 
12697
              # Sun C++ 5.9
 
12698
              no_undefined_flag_CXX=' -zdefs'
 
12699
              archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
 
12700
              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'
 
12701
              hardcode_libdir_flag_spec_CXX='-R$libdir'
 
12702
              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'
 
12703
              compiler_needs_object_CXX=yes
 
12704
 
 
12705
              # Not sure whether something based on
 
12706
              # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
 
12707
              # would be better.
 
12708
              output_verbose_link_cmd='echo'
 
12709
 
 
12710
              # Archives containing C++ object files must be created using
 
12711
              # "CC -xar", where "CC" is the Sun C++ compiler.  This is
 
12712
              # necessary to make sure instantiated templates are included
 
12713
              # in the archive.
 
12714
              old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
 
12715
              ;;
 
12716
            esac
 
12717
            ;;
 
12718
        esac
 
12719
        ;;
 
12720
 
 
12721
      lynxos*)
 
12722
        # FIXME: insert proper C++ library support
 
12723
        ld_shlibs_CXX=no
 
12724
        ;;
 
12725
 
 
12726
      m88k*)
 
12727
        # FIXME: insert proper C++ library support
 
12728
        ld_shlibs_CXX=no
 
12729
        ;;
 
12730
 
 
12731
      mvs*)
 
12732
        case $cc_basename in
 
12733
          cxx*)
 
12734
            # FIXME: insert proper C++ library support
 
12735
            ld_shlibs_CXX=no
 
12736
            ;;
 
12737
          *)
 
12738
            # FIXME: insert proper C++ library support
 
12739
            ld_shlibs_CXX=no
 
12740
            ;;
 
12741
        esac
 
12742
        ;;
 
12743
 
 
12744
      netbsd*)
 
12745
        if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
 
12746
          archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
 
12747
          wlarc=
 
12748
          hardcode_libdir_flag_spec_CXX='-R$libdir'
 
12749
          hardcode_direct_CXX=yes
 
12750
          hardcode_shlibpath_var_CXX=no
 
12751
        fi
 
12752
        # Workaround some broken pre-1.5 toolchains
 
12753
        output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
 
12754
        ;;
 
12755
 
 
12756
      *nto* | *qnx*)
 
12757
        ld_shlibs_CXX=yes
 
12758
        ;;
 
12759
 
 
12760
      openbsd2*)
 
12761
        # C++ shared libraries are fairly broken
 
12762
        ld_shlibs_CXX=no
 
12763
        ;;
 
12764
 
 
12765
      openbsd*)
 
12766
        if test -f /usr/libexec/ld.so; then
 
12767
          hardcode_direct_CXX=yes
 
12768
          hardcode_shlibpath_var_CXX=no
 
12769
          hardcode_direct_absolute_CXX=yes
 
12770
          archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
 
12771
          hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
 
12772
          if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
12773
            archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
 
12774
            export_dynamic_flag_spec_CXX='${wl}-E'
 
12775
            whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
 
12776
          fi
 
12777
          output_verbose_link_cmd=echo
 
12778
        else
 
12779
          ld_shlibs_CXX=no
 
12780
        fi
 
12781
        ;;
 
12782
 
 
12783
      osf3* | osf4* | osf5*)
 
12784
        case $cc_basename in
 
12785
          KCC*)
 
12786
            # Kuck and Associates, Inc. (KAI) C++ Compiler
 
12787
 
 
12788
            # KCC will only create a shared library if the output file
 
12789
            # ends with ".so" (or ".sl" for HP-UX), so rename the library
 
12790
            # to its proper name (with version) after linking.
 
12791
            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'
 
12792
 
 
12793
            hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
 
12794
            hardcode_libdir_separator_CXX=:
 
12795
 
 
12796
            # Archives containing C++ object files must be created using
 
12797
            # the KAI C++ compiler.
 
12798
            case $host in
 
12799
              osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
 
12800
              *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
 
12801
            esac
 
12802
            ;;
 
12803
          RCC*)
 
12804
            # Rational C++ 2.4.1
 
12805
            # FIXME: insert proper C++ library support
 
12806
            ld_shlibs_CXX=no
 
12807
            ;;
 
12808
          cxx*)
 
12809
            case $host in
 
12810
              osf3*)
 
12811
                allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
 
12812
                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'
 
12813
                hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
 
12814
                ;;
 
12815
              *)
 
12816
                allow_undefined_flag_CXX=' -expect_unresolved \*'
 
12817
                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'
 
12818
                archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
 
12819
                  echo "-hidden">> $lib.exp~
 
12820
                  $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~
 
12821
                  $RM $lib.exp'
 
12822
                hardcode_libdir_flag_spec_CXX='-rpath $libdir'
 
12823
                ;;
 
12824
            esac
 
12825
 
 
12826
            hardcode_libdir_separator_CXX=:
 
12827
 
 
12828
            # Commands to make compiler produce verbose output that lists
 
12829
            # what "hidden" libraries, object files and flags are used when
 
12830
            # linking a shared library.
 
12831
            #
 
12832
            # There doesn't appear to be a way to prevent this compiler from
 
12833
            # explicitly linking system object files so we need to strip them
 
12834
            # from the output so that they don't get included in the library
 
12835
            # dependencies.
 
12836
            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'
 
12837
            ;;
 
12838
          *)
 
12839
            if test "$GXX" = yes && test "$with_gnu_ld" = no; then
 
12840
              allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
 
12841
              case $host in
 
12842
                osf3*)
 
12843
                  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'
 
12844
                  ;;
 
12845
                *)
 
12846
                  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'
 
12847
                  ;;
 
12848
              esac
 
12849
 
 
12850
              hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
 
12851
              hardcode_libdir_separator_CXX=:
 
12852
 
 
12853
              # Commands to make compiler produce verbose output that lists
 
12854
              # what "hidden" libraries, object files and flags are used when
 
12855
              # linking a shared library.
 
12856
              output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
 
12857
 
 
12858
            else
 
12859
              # FIXME: insert proper C++ library support
 
12860
              ld_shlibs_CXX=no
 
12861
            fi
 
12862
            ;;
 
12863
        esac
 
12864
        ;;
 
12865
 
 
12866
      psos*)
 
12867
        # FIXME: insert proper C++ library support
 
12868
        ld_shlibs_CXX=no
 
12869
        ;;
 
12870
 
 
12871
      sunos4*)
 
12872
        case $cc_basename in
 
12873
          CC*)
 
12874
            # Sun C++ 4.x
 
12875
            # FIXME: insert proper C++ library support
 
12876
            ld_shlibs_CXX=no
 
12877
            ;;
 
12878
          lcc*)
 
12879
            # Lucid
 
12880
            # FIXME: insert proper C++ library support
 
12881
            ld_shlibs_CXX=no
 
12882
            ;;
 
12883
          *)
 
12884
            # FIXME: insert proper C++ library support
 
12885
            ld_shlibs_CXX=no
 
12886
            ;;
 
12887
        esac
 
12888
        ;;
 
12889
 
 
12890
      solaris*)
 
12891
        case $cc_basename in
 
12892
          CC*)
 
12893
            # Sun C++ 4.2, 5.x and Centerline C++
 
12894
            archive_cmds_need_lc_CXX=yes
 
12895
            no_undefined_flag_CXX=' -zdefs'
 
12896
            archive_cmds_CXX='$CC -G${allow_undefined_flag}  -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
 
12897
            archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
 
12898
              $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'
 
12899
 
 
12900
            hardcode_libdir_flag_spec_CXX='-R$libdir'
 
12901
            hardcode_shlibpath_var_CXX=no
 
12902
            case $host_os in
 
12903
              solaris2.[0-5] | solaris2.[0-5].*) ;;
 
12904
              *)
 
12905
                # The compiler driver will combine and reorder linker options,
 
12906
                # but understands `-z linker_flag'.
 
12907
                # Supported since Solaris 2.6 (maybe 2.5.1?)
 
12908
                whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
 
12909
                ;;
 
12910
            esac
 
12911
            link_all_deplibs_CXX=yes
 
12912
 
 
12913
            output_verbose_link_cmd='echo'
 
12914
 
 
12915
            # Archives containing C++ object files must be created using
 
12916
            # "CC -xar", where "CC" is the Sun C++ compiler.  This is
 
12917
            # necessary to make sure instantiated templates are included
 
12918
            # in the archive.
 
12919
            old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
 
12920
            ;;
 
12921
          gcx*)
 
12922
            # Green Hills C++ Compiler
 
12923
            archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
 
12924
 
 
12925
            # The C++ compiler must be used to create the archive.
 
12926
            old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
 
12927
            ;;
 
12928
          *)
 
12929
            # GNU C++ compiler with Solaris linker
 
12930
            if test "$GXX" = yes && test "$with_gnu_ld" = no; then
 
12931
              no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
 
12932
              if $CC --version | $GREP -v '^2\.7' > /dev/null; then
 
12933
                archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
 
12934
                archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
 
12935
                  $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
 
12936
 
 
12937
                # Commands to make compiler produce verbose output that lists
 
12938
                # what "hidden" libraries, object files and flags are used when
 
12939
                # linking a shared library.
 
12940
                output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
 
12941
              else
 
12942
                # g++ 2.7 appears to require `-G' NOT `-shared' on this
 
12943
                # platform.
 
12944
                archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
 
12945
                archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
 
12946
                  $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
 
12947
 
 
12948
                # Commands to make compiler produce verbose output that lists
 
12949
                # what "hidden" libraries, object files and flags are used when
 
12950
                # linking a shared library.
 
12951
                output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
 
12952
              fi
 
12953
 
 
12954
              hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
 
12955
              case $host_os in
 
12956
                solaris2.[0-5] | solaris2.[0-5].*) ;;
 
12957
                *)
 
12958
                  whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
 
12959
                  ;;
 
12960
              esac
 
12961
            fi
 
12962
            ;;
 
12963
        esac
 
12964
        ;;
 
12965
 
 
12966
    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
 
12967
      no_undefined_flag_CXX='${wl}-z,text'
 
12968
      archive_cmds_need_lc_CXX=no
 
12969
      hardcode_shlibpath_var_CXX=no
 
12970
      runpath_var='LD_RUN_PATH'
 
12971
 
 
12972
      case $cc_basename in
 
12973
        CC*)
 
12974
          archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
12975
          archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
12976
          ;;
 
12977
        *)
 
12978
          archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
12979
          archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
12980
          ;;
 
12981
      esac
 
12982
      ;;
 
12983
 
 
12984
      sysv5* | sco3.2v5* | sco5v6*)
 
12985
        # Note: We can NOT use -z defs as we might desire, because we do not
 
12986
        # link with -lc, and that would cause any symbols used from libc to
 
12987
        # always be unresolved, which means just about no library would
 
12988
        # ever link correctly.  If we're not using GNU ld we use -z text
 
12989
        # though, which does catch some bad symbols but isn't as heavy-handed
 
12990
        # as -z defs.
 
12991
        no_undefined_flag_CXX='${wl}-z,text'
 
12992
        allow_undefined_flag_CXX='${wl}-z,nodefs'
 
12993
        archive_cmds_need_lc_CXX=no
 
12994
        hardcode_shlibpath_var_CXX=no
 
12995
        hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
 
12996
        hardcode_libdir_separator_CXX=':'
 
12997
        link_all_deplibs_CXX=yes
 
12998
        export_dynamic_flag_spec_CXX='${wl}-Bexport'
 
12999
        runpath_var='LD_RUN_PATH'
 
13000
 
 
13001
        case $cc_basename in
 
13002
          CC*)
 
13003
            archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
13004
            archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
13005
            ;;
 
13006
          *)
 
13007
            archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
13008
            archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
13009
            ;;
 
13010
        esac
 
13011
      ;;
 
13012
 
 
13013
      tandem*)
 
13014
        case $cc_basename in
 
13015
          NCC*)
 
13016
            # NonStop-UX NCC 3.20
 
13017
            # FIXME: insert proper C++ library support
 
13018
            ld_shlibs_CXX=no
 
13019
            ;;
 
13020
          *)
 
13021
            # FIXME: insert proper C++ library support
 
13022
            ld_shlibs_CXX=no
 
13023
            ;;
 
13024
        esac
 
13025
        ;;
 
13026
 
 
13027
      vxworks*)
 
13028
        # FIXME: insert proper C++ library support
 
13029
        ld_shlibs_CXX=no
 
13030
        ;;
 
13031
 
 
13032
      *)
 
13033
        # FIXME: insert proper C++ library support
 
13034
        ld_shlibs_CXX=no
 
13035
        ;;
 
13036
    esac
 
13037
 
 
13038
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
 
13039
$as_echo "$ld_shlibs_CXX" >&6; }
 
13040
    test "$ld_shlibs_CXX" = no && can_build_shared=no
 
13041
 
 
13042
    GCC_CXX="$GXX"
 
13043
    LD_CXX="$LD"
 
13044
 
 
13045
    ## CAVEAT EMPTOR:
 
13046
    ## There is no encapsulation within the following macros, do not change
 
13047
    ## the running order or otherwise move them around unless you know exactly
 
13048
    ## what you are doing...
 
13049
    # Dependencies to place before and after the object being linked:
 
13050
predep_objects_CXX=
 
13051
postdep_objects_CXX=
 
13052
predeps_CXX=
 
13053
postdeps_CXX=
 
13054
compiler_lib_search_path_CXX=
 
13055
 
 
13056
cat > conftest.$ac_ext <<_LT_EOF
 
13057
class Foo
 
13058
{
 
13059
public:
 
13060
  Foo (void) { a = 0; }
 
13061
private:
 
13062
  int a;
 
13063
};
 
13064
_LT_EOF
 
13065
 
 
13066
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
 
13067
  (eval $ac_compile) 2>&5
 
13068
  ac_status=$?
 
13069
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
13070
  test $ac_status = 0; }; then
 
13071
  # Parse the compiler output and extract the necessary
 
13072
  # objects, libraries and library flags.
 
13073
 
 
13074
  # Sentinel used to keep track of whether or not we are before
 
13075
  # the conftest object file.
 
13076
  pre_test_object_deps_done=no
 
13077
 
 
13078
  for p in `eval "$output_verbose_link_cmd"`; do
 
13079
    case $p in
 
13080
 
 
13081
    -L* | -R* | -l*)
 
13082
       # Some compilers place space between "-{L,R}" and the path.
 
13083
       # Remove the space.
 
13084
       if test $p = "-L" ||
 
13085
          test $p = "-R"; then
 
13086
         prev=$p
 
13087
         continue
 
13088
       else
 
13089
         prev=
 
13090
       fi
 
13091
 
 
13092
       if test "$pre_test_object_deps_done" = no; then
 
13093
         case $p in
 
13094
         -L* | -R*)
 
13095
           # Internal compiler library paths should come after those
 
13096
           # provided the user.  The postdeps already come after the
 
13097
           # user supplied libs so there is no need to process them.
 
13098
           if test -z "$compiler_lib_search_path_CXX"; then
 
13099
             compiler_lib_search_path_CXX="${prev}${p}"
 
13100
           else
 
13101
             compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
 
13102
           fi
 
13103
           ;;
 
13104
         # The "-l" case would never come before the object being
 
13105
         # linked, so don't bother handling this case.
 
13106
         esac
 
13107
       else
 
13108
         if test -z "$postdeps_CXX"; then
 
13109
           postdeps_CXX="${prev}${p}"
 
13110
         else
 
13111
           postdeps_CXX="${postdeps_CXX} ${prev}${p}"
 
13112
         fi
 
13113
       fi
 
13114
       ;;
 
13115
 
 
13116
    *.$objext)
 
13117
       # This assumes that the test object file only shows up
 
13118
       # once in the compiler output.
 
13119
       if test "$p" = "conftest.$objext"; then
 
13120
         pre_test_object_deps_done=yes
 
13121
         continue
 
13122
       fi
 
13123
 
 
13124
       if test "$pre_test_object_deps_done" = no; then
 
13125
         if test -z "$predep_objects_CXX"; then
 
13126
           predep_objects_CXX="$p"
 
13127
         else
 
13128
           predep_objects_CXX="$predep_objects_CXX $p"
 
13129
         fi
 
13130
       else
 
13131
         if test -z "$postdep_objects_CXX"; then
 
13132
           postdep_objects_CXX="$p"
 
13133
         else
 
13134
           postdep_objects_CXX="$postdep_objects_CXX $p"
 
13135
         fi
 
13136
       fi
 
13137
       ;;
 
13138
 
 
13139
    *) ;; # Ignore the rest.
 
13140
 
 
13141
    esac
 
13142
  done
 
13143
 
 
13144
  # Clean up.
 
13145
  rm -f a.out a.exe
 
13146
else
 
13147
  echo "libtool.m4: error: problem compiling CXX test program"
 
13148
fi
 
13149
 
 
13150
$RM -f confest.$objext
 
13151
 
 
13152
# PORTME: override above test on systems where it is broken
 
13153
case $host_os in
 
13154
interix[3-9]*)
 
13155
  # Interix 3.5 installs completely hosed .la files for C++, so rather than
 
13156
  # hack all around it, let's just trust "g++" to DTRT.
 
13157
  predep_objects_CXX=
 
13158
  postdep_objects_CXX=
 
13159
  postdeps_CXX=
 
13160
  ;;
 
13161
 
 
13162
linux*)
 
13163
  case `$CC -V 2>&1 | sed 5q` in
 
13164
  *Sun\ C*)
 
13165
    # Sun C++ 5.9
 
13166
 
 
13167
    # The more standards-conforming stlport4 library is
 
13168
    # incompatible with the Cstd library. Avoid specifying
 
13169
    # it if it's in CXXFLAGS. Ignore libCrun as
 
13170
    # -library=stlport4 depends on it.
 
13171
    case " $CXX $CXXFLAGS " in
 
13172
    *" -library=stlport4 "*)
 
13173
      solaris_use_stlport4=yes
 
13174
      ;;
 
13175
    esac
 
13176
 
 
13177
    if test "$solaris_use_stlport4" != yes; then
 
13178
      postdeps_CXX='-library=Cstd -library=Crun'
 
13179
    fi
 
13180
    ;;
 
13181
  esac
 
13182
  ;;
 
13183
 
 
13184
solaris*)
 
13185
  case $cc_basename in
 
13186
  CC*)
 
13187
    # The more standards-conforming stlport4 library is
 
13188
    # incompatible with the Cstd library. Avoid specifying
 
13189
    # it if it's in CXXFLAGS. Ignore libCrun as
 
13190
    # -library=stlport4 depends on it.
 
13191
    case " $CXX $CXXFLAGS " in
 
13192
    *" -library=stlport4 "*)
 
13193
      solaris_use_stlport4=yes
 
13194
      ;;
 
13195
    esac
 
13196
 
 
13197
    # Adding this requires a known-good setup of shared libraries for
 
13198
    # Sun compiler versions before 5.6, else PIC objects from an old
 
13199
    # archive will be linked into the output, leading to subtle bugs.
 
13200
    if test "$solaris_use_stlport4" != yes; then
 
13201
      postdeps_CXX='-library=Cstd -library=Crun'
 
13202
    fi
 
13203
    ;;
 
13204
  esac
 
13205
  ;;
 
13206
esac
 
13207
 
 
13208
 
 
13209
case " $postdeps_CXX " in
 
13210
*" -lc "*) archive_cmds_need_lc_CXX=no ;;
 
13211
esac
 
13212
 compiler_lib_search_dirs_CXX=
 
13213
if test -n "${compiler_lib_search_path_CXX}"; then
 
13214
 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
 
13215
fi
 
13216
 
 
13217
    
 
13218
    
 
13219
    
 
13220
 
 
13221
 
 
13222
    
 
13223
    
 
13224
    
 
13225
 
 
13226
 
 
13227
    
 
13228
    
 
13229
    
 
13230
 
 
13231
 
 
13232
    
 
13233
    
 
13234
    
 
13235
 
 
13236
 
 
13237
    
 
13238
    
 
13239
    
 
13240
 
 
13241
 
 
13242
    
 
13243
    
 
13244
    
 
13245
 
 
13246
 
 
13247
    lt_prog_compiler_wl_CXX=
 
13248
lt_prog_compiler_pic_CXX=
 
13249
lt_prog_compiler_static_CXX=
 
13250
 
 
13251
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
 
13252
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
 
13253
 
 
13254
  # C++ specific cases for pic, static, wl, etc.
 
13255
  if test "$GXX" = yes; then
 
13256
    lt_prog_compiler_wl_CXX='-Wl,'
 
13257
    lt_prog_compiler_static_CXX='-static'
 
13258
 
 
13259
    case $host_os in
 
13260
    aix*)
 
13261
      # All AIX code is PIC.
 
13262
      if test "$host_cpu" = ia64; then
 
13263
        # AIX 5 now supports IA64 processor
 
13264
        lt_prog_compiler_static_CXX='-Bstatic'
 
13265
      fi
 
13266
      ;;
 
13267
 
 
13268
    amigaos*)
 
13269
      case $host_cpu in
 
13270
      powerpc)
 
13271
            # see comment about AmigaOS4 .so support
 
13272
            lt_prog_compiler_pic_CXX='-fPIC'
 
13273
        ;;
 
13274
      m68k)
 
13275
            # FIXME: we need at least 68020 code to build shared libraries, but
 
13276
            # adding the `-m68020' flag to GCC prevents building anything better,
 
13277
            # like `-m68040'.
 
13278
            lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
 
13279
        ;;
 
13280
      esac
 
13281
      ;;
 
13282
 
 
13283
    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
 
13284
      # PIC is the default for these OSes.
 
13285
      ;;
 
13286
    mingw* | cygwin* | os2* | pw32* | cegcc*)
 
13287
      # This hack is so that the source file can tell whether it is being
 
13288
      # built for inclusion in a dll (and should export symbols for example).
 
13289
      # Although the cygwin gcc ignores -fPIC, still need this for old-style
 
13290
      # (--disable-auto-import) libraries
 
13291
      lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
 
13292
      ;;
 
13293
    darwin* | rhapsody*)
 
13294
      # PIC is the default on this platform
 
13295
      # Common symbols not allowed in MH_DYLIB files
 
13296
      lt_prog_compiler_pic_CXX='-fno-common'
 
13297
      ;;
 
13298
    *djgpp*)
 
13299
      # DJGPP does not support shared libraries at all
 
13300
      lt_prog_compiler_pic_CXX=
 
13301
      ;;
 
13302
    interix[3-9]*)
 
13303
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
 
13304
      # Instead, we relocate shared libraries at runtime.
 
13305
      ;;
 
13306
    sysv4*MP*)
 
13307
      if test -d /usr/nec; then
 
13308
        lt_prog_compiler_pic_CXX=-Kconform_pic
 
13309
      fi
 
13310
      ;;
 
13311
    hpux*)
 
13312
      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
 
13313
      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
 
13314
      # sets the default TLS model and affects inlining.
 
13315
      case $host_cpu in
 
13316
      hppa*64*)
 
13317
        ;;
 
13318
      *)
 
13319
        lt_prog_compiler_pic_CXX='-fPIC'
 
13320
        ;;
 
13321
      esac
 
13322
      ;;
 
13323
    *qnx* | *nto*)
 
13324
      # QNX uses GNU C++, but need to define -shared option too, otherwise
 
13325
      # it will coredump.
 
13326
      lt_prog_compiler_pic_CXX='-fPIC -shared'
 
13327
      ;;
 
13328
    *)
 
13329
      lt_prog_compiler_pic_CXX='-fPIC'
 
13330
      ;;
 
13331
    esac
 
13332
  else
 
13333
    case $host_os in
 
13334
      aix[4-9]*)
 
13335
        # All AIX code is PIC.
 
13336
        if test "$host_cpu" = ia64; then
 
13337
          # AIX 5 now supports IA64 processor
 
13338
          lt_prog_compiler_static_CXX='-Bstatic'
 
13339
        else
 
13340
          lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
 
13341
        fi
 
13342
        ;;
 
13343
      chorus*)
 
13344
        case $cc_basename in
 
13345
        cxch68*)
 
13346
          # Green Hills C++ Compiler
 
13347
          # _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"
 
13348
          ;;
 
13349
        esac
 
13350
        ;;
 
13351
      dgux*)
 
13352
        case $cc_basename in
 
13353
          ec++*)
 
13354
            lt_prog_compiler_pic_CXX='-KPIC'
 
13355
            ;;
 
13356
          ghcx*)
 
13357
            # Green Hills C++ Compiler
 
13358
            lt_prog_compiler_pic_CXX='-pic'
 
13359
            ;;
 
13360
          *)
 
13361
            ;;
 
13362
        esac
 
13363
        ;;
 
13364
      freebsd* | dragonfly*)
 
13365
        # FreeBSD uses GNU C++
 
13366
        ;;
 
13367
      hpux9* | hpux10* | hpux11*)
 
13368
        case $cc_basename in
 
13369
          CC*)
 
13370
            lt_prog_compiler_wl_CXX='-Wl,'
 
13371
            lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
 
13372
            if test "$host_cpu" != ia64; then
 
13373
              lt_prog_compiler_pic_CXX='+Z'
 
13374
            fi
 
13375
            ;;
 
13376
          aCC*)
 
13377
            lt_prog_compiler_wl_CXX='-Wl,'
 
13378
            lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
 
13379
            case $host_cpu in
 
13380
            hppa*64*|ia64*)
 
13381
              # +Z the default
 
13382
              ;;
 
13383
            *)
 
13384
              lt_prog_compiler_pic_CXX='+Z'
 
13385
              ;;
 
13386
            esac
 
13387
            ;;
 
13388
          *)
 
13389
            ;;
 
13390
        esac
 
13391
        ;;
 
13392
      interix*)
 
13393
        # This is c89, which is MS Visual C++ (no shared libs)
 
13394
        # Anyone wants to do a port?
 
13395
        ;;
 
13396
      irix5* | irix6* | nonstopux*)
 
13397
        case $cc_basename in
 
13398
          CC*)
 
13399
            lt_prog_compiler_wl_CXX='-Wl,'
 
13400
            lt_prog_compiler_static_CXX='-non_shared'
 
13401
            # CC pic flag -KPIC is the default.
 
13402
            ;;
 
13403
          *)
 
13404
            ;;
 
13405
        esac
 
13406
        ;;
 
13407
      linux* | k*bsd*-gnu | kopensolaris*-gnu)
 
13408
        case $cc_basename in
 
13409
          KCC*)
 
13410
            # KAI C++ Compiler
 
13411
            lt_prog_compiler_wl_CXX='--backend -Wl,'
 
13412
            lt_prog_compiler_pic_CXX='-fPIC'
 
13413
            ;;
 
13414
          ecpc* )
 
13415
            # old Intel C++ for x86_64 which still supported -KPIC.
 
13416
            lt_prog_compiler_wl_CXX='-Wl,'
 
13417
            lt_prog_compiler_pic_CXX='-KPIC'
 
13418
            lt_prog_compiler_static_CXX='-static'
 
13419
            ;;
 
13420
          icpc* )
 
13421
            # Intel C++, used to be incompatible with GCC.
 
13422
            # ICC 10 doesn't accept -KPIC any more.
 
13423
            lt_prog_compiler_wl_CXX='-Wl,'
 
13424
            lt_prog_compiler_pic_CXX='-fPIC'
 
13425
            lt_prog_compiler_static_CXX='-static'
 
13426
            ;;
 
13427
          pgCC* | pgcpp*)
 
13428
            # Portland Group C++ compiler
 
13429
            lt_prog_compiler_wl_CXX='-Wl,'
 
13430
            lt_prog_compiler_pic_CXX='-fpic'
 
13431
            lt_prog_compiler_static_CXX='-Bstatic'
 
13432
            ;;
 
13433
          cxx*)
 
13434
            # Compaq C++
 
13435
            # Make sure the PIC flag is empty.  It appears that all Alpha
 
13436
            # Linux and Compaq Tru64 Unix objects are PIC.
 
13437
            lt_prog_compiler_pic_CXX=
 
13438
            lt_prog_compiler_static_CXX='-non_shared'
 
13439
            ;;
 
13440
          xlc* | xlC*)
 
13441
            # IBM XL 8.0 on PPC
 
13442
            lt_prog_compiler_wl_CXX='-Wl,'
 
13443
            lt_prog_compiler_pic_CXX='-qpic'
 
13444
            lt_prog_compiler_static_CXX='-qstaticlink'
 
13445
            ;;
 
13446
          *)
 
13447
            case `$CC -V 2>&1 | sed 5q` in
 
13448
            *Sun\ C*)
 
13449
              # Sun C++ 5.9
 
13450
              lt_prog_compiler_pic_CXX='-KPIC'
 
13451
              lt_prog_compiler_static_CXX='-Bstatic'
 
13452
              lt_prog_compiler_wl_CXX='-Qoption ld '
 
13453
              ;;
 
13454
            esac
 
13455
            ;;
 
13456
        esac
 
13457
        ;;
 
13458
      lynxos*)
 
13459
        ;;
 
13460
      m88k*)
 
13461
        ;;
 
13462
      mvs*)
 
13463
        case $cc_basename in
 
13464
          cxx*)
 
13465
            lt_prog_compiler_pic_CXX='-W c,exportall'
 
13466
            ;;
 
13467
          *)
 
13468
            ;;
 
13469
        esac
 
13470
        ;;
 
13471
      netbsd* | netbsdelf*-gnu)
 
13472
        ;;
 
13473
      *qnx* | *nto*)
 
13474
        # QNX uses GNU C++, but need to define -shared option too, otherwise
 
13475
        # it will coredump.
 
13476
        lt_prog_compiler_pic_CXX='-fPIC -shared'
 
13477
        ;;
 
13478
      osf3* | osf4* | osf5*)
 
13479
        case $cc_basename in
 
13480
          KCC*)
 
13481
            lt_prog_compiler_wl_CXX='--backend -Wl,'
 
13482
            ;;
 
13483
          RCC*)
 
13484
            # Rational C++ 2.4.1
 
13485
            lt_prog_compiler_pic_CXX='-pic'
 
13486
            ;;
 
13487
          cxx*)
 
13488
            # Digital/Compaq C++
 
13489
            lt_prog_compiler_wl_CXX='-Wl,'
 
13490
            # Make sure the PIC flag is empty.  It appears that all Alpha
 
13491
            # Linux and Compaq Tru64 Unix objects are PIC.
 
13492
            lt_prog_compiler_pic_CXX=
 
13493
            lt_prog_compiler_static_CXX='-non_shared'
 
13494
            ;;
 
13495
          *)
 
13496
            ;;
 
13497
        esac
 
13498
        ;;
 
13499
      psos*)
 
13500
        ;;
 
13501
      solaris*)
 
13502
        case $cc_basename in
 
13503
          CC*)
 
13504
            # Sun C++ 4.2, 5.x and Centerline C++
 
13505
            lt_prog_compiler_pic_CXX='-KPIC'
 
13506
            lt_prog_compiler_static_CXX='-Bstatic'
 
13507
            lt_prog_compiler_wl_CXX='-Qoption ld '
 
13508
            ;;
 
13509
          gcx*)
 
13510
            # Green Hills C++ Compiler
 
13511
            lt_prog_compiler_pic_CXX='-PIC'
 
13512
            ;;
 
13513
          *)
 
13514
            ;;
 
13515
        esac
 
13516
        ;;
 
13517
      sunos4*)
 
13518
        case $cc_basename in
 
13519
          CC*)
 
13520
            # Sun C++ 4.x
 
13521
            lt_prog_compiler_pic_CXX='-pic'
 
13522
            lt_prog_compiler_static_CXX='-Bstatic'
 
13523
            ;;
 
13524
          lcc*)
 
13525
            # Lucid
 
13526
            lt_prog_compiler_pic_CXX='-pic'
 
13527
            ;;
 
13528
          *)
 
13529
            ;;
 
13530
        esac
 
13531
        ;;
 
13532
      sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
 
13533
        case $cc_basename in
 
13534
          CC*)
 
13535
            lt_prog_compiler_wl_CXX='-Wl,'
 
13536
            lt_prog_compiler_pic_CXX='-KPIC'
 
13537
            lt_prog_compiler_static_CXX='-Bstatic'
 
13538
            ;;
 
13539
        esac
 
13540
        ;;
 
13541
      tandem*)
 
13542
        case $cc_basename in
 
13543
          NCC*)
 
13544
            # NonStop-UX NCC 3.20
 
13545
            lt_prog_compiler_pic_CXX='-KPIC'
 
13546
            ;;
 
13547
          *)
 
13548
            ;;
 
13549
        esac
 
13550
        ;;
 
13551
      vxworks*)
 
13552
        ;;
 
13553
      *)
 
13554
        lt_prog_compiler_can_build_shared_CXX=no
 
13555
        ;;
 
13556
    esac
 
13557
  fi
 
13558
 
 
13559
case $host_os in
 
13560
  # For platforms which do not support PIC, -DPIC is meaningless:
 
13561
  *djgpp*)
 
13562
    lt_prog_compiler_pic_CXX=
 
13563
    ;;
 
13564
  *)
 
13565
    lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX@&t@ -DPIC"
 
13566
    ;;
 
13567
esac
 
13568
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
 
13569
$as_echo "$lt_prog_compiler_pic_CXX" >&6; }
 
13570
 
 
13571
 
 
13572
 
 
13573
#
 
13574
# Check to make sure the PIC flag actually works.
 
13575
#
 
13576
if test -n "$lt_prog_compiler_pic_CXX"; then
 
13577
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
 
13578
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
 
13579
if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then :
 
13580
  $as_echo_n "(cached) " >&6
 
13581
else
 
13582
  lt_cv_prog_compiler_pic_works_CXX=no
 
13583
   ac_outfile=conftest.$ac_objext
 
13584
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
13585
   lt_compiler_flag="$lt_prog_compiler_pic_CXX@&t@ -DPIC"
 
13586
   # Insert the option either (1) after the last *FLAGS variable, or
 
13587
   # (2) before a word containing "conftest.", or (3) at the end.
 
13588
   # Note that $ac_compile itself does not contain backslashes and begins
 
13589
   # with a dollar sign (not a hyphen), so the echo should work correctly.
 
13590
   # The option is referenced via a variable to avoid confusing sed.
 
13591
   lt_compile=`echo "$ac_compile" | $SED \
 
13592
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 
13593
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 
13594
   -e 's:$: $lt_compiler_flag:'`
 
13595
   (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
 
13596
   (eval "$lt_compile" 2>conftest.err)
 
13597
   ac_status=$?
 
13598
   cat conftest.err >&5
 
13599
   echo "$as_me:__oline__: \$? = $ac_status" >&5
 
13600
   if (exit $ac_status) && test -s "$ac_outfile"; then
 
13601
     # The compiler can only warn and ignore the option if not recognized
 
13602
     # So say no if there are warnings other than the usual output.
 
13603
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
 
13604
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 
13605
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
 
13606
       lt_cv_prog_compiler_pic_works_CXX=yes
 
13607
     fi
 
13608
   fi
 
13609
   $RM conftest*
 
13610
 
 
13611
fi
 
13612
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
 
13613
$as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
 
13614
 
 
13615
if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
 
13616
    case $lt_prog_compiler_pic_CXX in
 
13617
     "" | " "*) ;;
 
13618
     *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
 
13619
     esac
 
13620
else
 
13621
    lt_prog_compiler_pic_CXX=
 
13622
     lt_prog_compiler_can_build_shared_CXX=no
 
13623
fi
 
13624
 
 
13625
fi
 
13626
 
 
13627
 
 
13628
 
 
13629
#
 
13630
# Check to make sure the static flag actually works.
 
13631
#
 
13632
wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
 
13633
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
 
13634
$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
 
13635
if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then :
 
13636
  $as_echo_n "(cached) " >&6
 
13637
else
 
13638
  lt_cv_prog_compiler_static_works_CXX=no
 
13639
   save_LDFLAGS="$LDFLAGS"
 
13640
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
 
13641
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
 
13642
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
 
13643
     # The linker can only warn and ignore the option if not recognized
 
13644
     # So say no if there are warnings
 
13645
     if test -s conftest.err; then
 
13646
       # Append any errors to the config.log.
 
13647
       cat conftest.err 1>&5
 
13648
       $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
 
13649
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 
13650
       if diff conftest.exp conftest.er2 >/dev/null; then
 
13651
         lt_cv_prog_compiler_static_works_CXX=yes
 
13652
       fi
 
13653
     else
 
13654
       lt_cv_prog_compiler_static_works_CXX=yes
 
13655
     fi
 
13656
   fi
 
13657
   $RM -r conftest*
 
13658
   LDFLAGS="$save_LDFLAGS"
 
13659
 
 
13660
fi
 
13661
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
 
13662
$as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
 
13663
 
 
13664
if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
 
13665
    :
 
13666
else
 
13667
    lt_prog_compiler_static_CXX=
 
13668
fi
 
13669
 
 
13670
 
 
13671
 
 
13672
 
 
13673
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
 
13674
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
 
13675
if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
 
13676
  $as_echo_n "(cached) " >&6
 
13677
else
 
13678
  lt_cv_prog_compiler_c_o_CXX=no
 
13679
   $RM -r conftest 2>/dev/null
 
13680
   mkdir conftest
 
13681
   cd conftest
 
13682
   mkdir out
 
13683
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
13684
 
 
13685
   lt_compiler_flag="-o out/conftest2.$ac_objext"
 
13686
   # Insert the option either (1) after the last *FLAGS variable, or
 
13687
   # (2) before a word containing "conftest.", or (3) at the end.
 
13688
   # Note that $ac_compile itself does not contain backslashes and begins
 
13689
   # with a dollar sign (not a hyphen), so the echo should work correctly.
 
13690
   lt_compile=`echo "$ac_compile" | $SED \
 
13691
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 
13692
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 
13693
   -e 's:$: $lt_compiler_flag:'`
 
13694
   (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
 
13695
   (eval "$lt_compile" 2>out/conftest.err)
 
13696
   ac_status=$?
 
13697
   cat out/conftest.err >&5
 
13698
   echo "$as_me:__oline__: \$? = $ac_status" >&5
 
13699
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
 
13700
   then
 
13701
     # The compiler can only warn and ignore the option if not recognized
 
13702
     # So say no if there are warnings
 
13703
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
 
13704
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
 
13705
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
 
13706
       lt_cv_prog_compiler_c_o_CXX=yes
 
13707
     fi
 
13708
   fi
 
13709
   chmod u+w . 2>&5
 
13710
   $RM conftest*
 
13711
   # SGI C++ compiler will create directory out/ii_files/ for
 
13712
   # template instantiation
 
13713
   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
 
13714
   $RM out/* && rmdir out
 
13715
   cd ..
 
13716
   $RM -r conftest
 
13717
   $RM conftest*
 
13718
 
 
13719
fi
 
13720
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
 
13721
$as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
 
13722
 
 
13723
 
 
13724
 
 
13725
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
 
13726
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
 
13727
if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
 
13728
  $as_echo_n "(cached) " >&6
 
13729
else
 
13730
  lt_cv_prog_compiler_c_o_CXX=no
 
13731
   $RM -r conftest 2>/dev/null
 
13732
   mkdir conftest
 
13733
   cd conftest
 
13734
   mkdir out
 
13735
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
13736
 
 
13737
   lt_compiler_flag="-o out/conftest2.$ac_objext"
 
13738
   # Insert the option either (1) after the last *FLAGS variable, or
 
13739
   # (2) before a word containing "conftest.", or (3) at the end.
 
13740
   # Note that $ac_compile itself does not contain backslashes and begins
 
13741
   # with a dollar sign (not a hyphen), so the echo should work correctly.
 
13742
   lt_compile=`echo "$ac_compile" | $SED \
 
13743
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 
13744
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 
13745
   -e 's:$: $lt_compiler_flag:'`
 
13746
   (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
 
13747
   (eval "$lt_compile" 2>out/conftest.err)
 
13748
   ac_status=$?
 
13749
   cat out/conftest.err >&5
 
13750
   echo "$as_me:__oline__: \$? = $ac_status" >&5
 
13751
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
 
13752
   then
 
13753
     # The compiler can only warn and ignore the option if not recognized
 
13754
     # So say no if there are warnings
 
13755
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
 
13756
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
 
13757
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
 
13758
       lt_cv_prog_compiler_c_o_CXX=yes
 
13759
     fi
 
13760
   fi
 
13761
   chmod u+w . 2>&5
 
13762
   $RM conftest*
 
13763
   # SGI C++ compiler will create directory out/ii_files/ for
 
13764
   # template instantiation
 
13765
   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
 
13766
   $RM out/* && rmdir out
 
13767
   cd ..
 
13768
   $RM -r conftest
 
13769
   $RM conftest*
 
13770
 
 
13771
fi
 
13772
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
 
13773
$as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
 
13774
 
 
13775
 
 
13776
 
 
13777
 
 
13778
hard_links="nottested"
 
13779
if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
 
13780
  # do not overwrite the value of need_locks provided by the user
 
13781
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
 
13782
$as_echo_n "checking if we can lock with hard links... " >&6; }
 
13783
  hard_links=yes
 
13784
  $RM conftest*
 
13785
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
 
13786
  touch conftest.a
 
13787
  ln conftest.a conftest.b 2>&5 || hard_links=no
 
13788
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
 
13789
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
 
13790
$as_echo "$hard_links" >&6; }
 
13791
  if test "$hard_links" = no; then
 
13792
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
 
13793
$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
 
13794
    need_locks=warn
 
13795
  fi
 
13796
else
 
13797
  need_locks=no
 
13798
fi
 
13799
 
 
13800
 
 
13801
 
 
13802
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 
13803
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
 
13804
 
 
13805
  export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
 
13806
  case $host_os in
 
13807
  aix[4-9]*)
 
13808
    # If we're using GNU nm, then we don't want the "-C" option.
 
13809
    # -C means demangle to AIX nm, but means don't demangle with GNU nm
 
13810
    if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
 
13811
      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'
 
13812
    else
 
13813
      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'
 
13814
    fi
 
13815
    ;;
 
13816
  pw32*)
 
13817
    export_symbols_cmds_CXX="$ltdll_cmds"
 
13818
  ;;
 
13819
  cygwin* | mingw* | cegcc*)
 
13820
    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'
 
13821
  ;;
 
13822
  linux* | k*bsd*-gnu)
 
13823
    link_all_deplibs_CXX=no
 
13824
  ;;
 
13825
  *)
 
13826
    export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
 
13827
  ;;
 
13828
  esac
 
13829
  exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
 
13830
 
 
13831
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
 
13832
$as_echo "$ld_shlibs_CXX" >&6; }
 
13833
test "$ld_shlibs_CXX" = no && can_build_shared=no
 
13834
 
 
13835
with_gnu_ld_CXX=$with_gnu_ld
 
13836
 
 
13837
 
 
13838
 
 
13839
 
 
13840
 
 
13841
 
 
13842
#
 
13843
# Do we need to explicitly link libc?
 
13844
#
 
13845
case "x$archive_cmds_need_lc_CXX" in
 
13846
x|xyes)
 
13847
  # Assume -lc should be added
 
13848
  archive_cmds_need_lc_CXX=yes
 
13849
 
 
13850
  if test "$enable_shared" = yes && test "$GCC" = yes; then
 
13851
    case $archive_cmds_CXX in
 
13852
    *'~'*)
 
13853
      # FIXME: we may have to deal with multi-command sequences.
 
13854
      ;;
 
13855
    '$CC '*)
 
13856
      # Test whether the compiler implicitly links with -lc since on some
 
13857
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
 
13858
      # to ld, don't add -lc before -lgcc.
 
13859
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
 
13860
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
 
13861
      $RM conftest*
 
13862
      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
13863
 
 
13864
      if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
 
13865
  (eval $ac_compile) 2>&5
 
13866
  ac_status=$?
 
13867
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
13868
  test $ac_status = 0; } 2>conftest.err; then
 
13869
        soname=conftest
 
13870
        lib=conftest
 
13871
        libobjs=conftest.$ac_objext
 
13872
        deplibs=
 
13873
        wl=$lt_prog_compiler_wl_CXX
 
13874
        pic_flag=$lt_prog_compiler_pic_CXX
 
13875
        compiler_flags=-v
 
13876
        linker_flags=-v
 
13877
        verstring=
 
13878
        output_objdir=.
 
13879
        libname=conftest
 
13880
        lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
 
13881
        allow_undefined_flag_CXX=
 
13882
        if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
 
13883
  (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
 
13884
  ac_status=$?
 
13885
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
13886
  test $ac_status = 0; }
 
13887
        then
 
13888
          archive_cmds_need_lc_CXX=no
 
13889
        else
 
13890
          archive_cmds_need_lc_CXX=yes
 
13891
        fi
 
13892
        allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
 
13893
      else
 
13894
        cat conftest.err 1>&5
 
13895
      fi
 
13896
      $RM conftest*
 
13897
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc_CXX" >&5
 
13898
$as_echo "$archive_cmds_need_lc_CXX" >&6; }
 
13899
      ;;
 
13900
    esac
 
13901
  fi
 
13902
  ;;
 
13903
esac
 
13904
 
 
13905
 
 
13906
 
 
13907
 
 
13908
 
 
13909
 
 
13910
 
 
13911
 
 
13912
 
 
13913
 
 
13914
 
 
13915
 
 
13916
 
 
13917
 
 
13918
 
 
13919
 
 
13920
 
 
13921
 
 
13922
 
 
13923
 
 
13924
 
 
13925
 
 
13926
 
 
13927
 
 
13928
 
 
13929
 
 
13930
 
 
13931
 
 
13932
 
 
13933
 
 
13934
 
 
13935
 
 
13936
 
 
13937
 
 
13938
 
 
13939
 
 
13940
 
 
13941
 
 
13942
 
 
13943
 
 
13944
 
 
13945
 
 
13946
 
 
13947
 
 
13948
 
 
13949
 
 
13950
 
 
13951
 
 
13952
 
 
13953
 
 
13954
 
 
13955
 
 
13956
 
 
13957
 
 
13958
 
 
13959
 
 
13960
 
 
13961
 
 
13962
 
 
13963
 
 
13964
 
 
13965
 
 
13966
 
 
13967
 
 
13968
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
 
13969
$as_echo_n "checking dynamic linker characteristics... " >&6; }
 
13970
 
 
13971
library_names_spec=
 
13972
libname_spec='lib$name'
 
13973
soname_spec=
 
13974
shrext_cmds=".so"
 
13975
postinstall_cmds=
 
13976
postuninstall_cmds=
 
13977
finish_cmds=
 
13978
finish_eval=
 
13979
shlibpath_var=
 
13980
shlibpath_overrides_runpath=unknown
 
13981
version_type=none
 
13982
dynamic_linker="$host_os ld.so"
 
13983
sys_lib_dlsearch_path_spec="/lib /usr/lib"
 
13984
need_lib_prefix=unknown
 
13985
hardcode_into_libs=no
 
13986
 
 
13987
# when you set need_version to no, make sure it does not cause -set_version
 
13988
# flags to be left without arguments
 
13989
need_version=unknown
 
13990
 
 
13991
case $host_os in
 
13992
aix3*)
 
13993
  version_type=linux
 
13994
  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
 
13995
  shlibpath_var=LIBPATH
 
13996
 
 
13997
  # AIX 3 has no versioning support, so we append a major version to the name.
 
13998
  soname_spec='${libname}${release}${shared_ext}$major'
 
13999
  ;;
 
14000
 
 
14001
aix[4-9]*)
 
14002
  version_type=linux
 
14003
  need_lib_prefix=no
 
14004
  need_version=no
 
14005
  hardcode_into_libs=yes
 
14006
  if test "$host_cpu" = ia64; then
 
14007
    # AIX 5 supports IA64
 
14008
    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
 
14009
    shlibpath_var=LD_LIBRARY_PATH
 
14010
  else
 
14011
    # With GCC up to 2.95.x, collect2 would create an import file
 
14012
    # for dependence libraries.  The import file would start with
 
14013
    # the line `#! .'.  This would cause the generated library to
 
14014
    # depend on `.', always an invalid library.  This was fixed in
 
14015
    # development snapshots of GCC prior to 3.0.
 
14016
    case $host_os in
 
14017
      aix4 | aix4.[01] | aix4.[01].*)
 
14018
      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
 
14019
           echo ' yes '
 
14020
           echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
 
14021
        :
 
14022
      else
 
14023
        can_build_shared=no
 
14024
      fi
 
14025
      ;;
 
14026
    esac
 
14027
    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
 
14028
    # soname into executable. Probably we can add versioning support to
 
14029
    # collect2, so additional links can be useful in future.
 
14030
    if test "$aix_use_runtimelinking" = yes; then
 
14031
      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
 
14032
      # instead of lib<name>.a to let people know that these are not
 
14033
      # typical AIX shared libraries.
 
14034
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
14035
    else
 
14036
      # We preserve .a as extension for shared libraries through AIX4.2
 
14037
      # and later when we are not doing run time linking.
 
14038
      library_names_spec='${libname}${release}.a $libname.a'
 
14039
      soname_spec='${libname}${release}${shared_ext}$major'
 
14040
    fi
 
14041
    shlibpath_var=LIBPATH
 
14042
  fi
 
14043
  ;;
 
14044
 
 
14045
amigaos*)
 
14046
  case $host_cpu in
 
14047
  powerpc)
 
14048
    # Since July 2007 AmigaOS4 officially supports .so libraries.
 
14049
    # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
 
14050
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
14051
    ;;
 
14052
  m68k)
 
14053
    library_names_spec='$libname.ixlibrary $libname.a'
 
14054
    # Create ${libname}_ixlibrary.a entries in /sys/libs.
 
14055
    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'
 
14056
    ;;
 
14057
  esac
 
14058
  ;;
 
14059
 
 
14060
beos*)
 
14061
  library_names_spec='${libname}${shared_ext}'
 
14062
  dynamic_linker="$host_os ld.so"
 
14063
  shlibpath_var=LIBRARY_PATH
 
14064
  ;;
 
14065
 
 
14066
bsdi[45]*)
 
14067
  version_type=linux
 
14068
  need_version=no
 
14069
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
14070
  soname_spec='${libname}${release}${shared_ext}$major'
 
14071
  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
 
14072
  shlibpath_var=LD_LIBRARY_PATH
 
14073
  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
 
14074
  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
 
14075
  # the default ld.so.conf also contains /usr/contrib/lib and
 
14076
  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
 
14077
  # libtool to hard-code these into programs
 
14078
  ;;
 
14079
 
 
14080
cygwin* | mingw* | pw32* | cegcc*)
 
14081
  version_type=windows
 
14082
  shrext_cmds=".dll"
 
14083
  need_version=no
 
14084
  need_lib_prefix=no
 
14085
 
 
14086
  case $GCC,$host_os in
 
14087
  yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
 
14088
    library_names_spec='$libname.dll.a'
 
14089
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
 
14090
    postinstall_cmds='base_file=`basename \${file}`~
 
14091
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
 
14092
      dldir=$destdir/`dirname \$dlpath`~
 
14093
      test -d \$dldir || mkdir -p \$dldir~
 
14094
      $install_prog $dir/$dlname \$dldir/$dlname~
 
14095
      chmod a+x \$dldir/$dlname~
 
14096
      if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
 
14097
        eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
 
14098
      fi'
 
14099
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
 
14100
      dlpath=$dir/\$dldll~
 
14101
       $RM \$dlpath'
 
14102
    shlibpath_overrides_runpath=yes
 
14103
 
 
14104
    case $host_os in
 
14105
    cygwin*)
 
14106
      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
 
14107
      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
 
14108
      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
 
14109
      ;;
 
14110
    mingw* | cegcc*)
 
14111
      # MinGW DLLs use traditional 'lib' prefix
 
14112
      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
 
14113
      sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
 
14114
      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
 
14115
        # It is most probably a Windows format PATH printed by
 
14116
        # mingw gcc, but we are running on Cygwin. Gcc prints its search
 
14117
        # path with ; separators, and with drive letters. We can handle the
 
14118
        # drive letters (cygwin fileutils understands them), so leave them,
 
14119
        # especially as we might pass files found there to a mingw objdump,
 
14120
        # which wouldn't understand a cygwinified path. Ahh.
 
14121
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
 
14122
      else
 
14123
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
 
14124
      fi
 
14125
      ;;
 
14126
    pw32*)
 
14127
      # pw32 DLLs use 'pw' prefix rather than 'lib'
 
14128
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
 
14129
      ;;
 
14130
    esac
 
14131
    ;;
 
14132
 
 
14133
  *)
 
14134
    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
 
14135
    ;;
 
14136
  esac
 
14137
  dynamic_linker='Win32 ld.exe'
 
14138
  # FIXME: first we should search . and the directory the executable is in
 
14139
  shlibpath_var=PATH
 
14140
  ;;
 
14141
 
 
14142
darwin* | rhapsody*)
 
14143
  dynamic_linker="$host_os dyld"
 
14144
  version_type=darwin
 
14145
  need_lib_prefix=no
 
14146
  need_version=no
 
14147
  library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
 
14148
  soname_spec='${libname}${release}${major}$shared_ext'
 
14149
  shlibpath_overrides_runpath=yes
 
14150
  shlibpath_var=DYLD_LIBRARY_PATH
 
14151
  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
 
14152
 
 
14153
  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
 
14154
  ;;
 
14155
 
 
14156
dgux*)
 
14157
  version_type=linux
 
14158
  need_lib_prefix=no
 
14159
  need_version=no
 
14160
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
 
14161
  soname_spec='${libname}${release}${shared_ext}$major'
 
14162
  shlibpath_var=LD_LIBRARY_PATH
 
14163
  ;;
 
14164
 
 
14165
freebsd1*)
 
14166
  dynamic_linker=no
 
14167
  ;;
 
14168
 
 
14169
freebsd* | dragonfly*)
 
14170
  # DragonFly does not have aout.  When/if they implement a new
 
14171
  # versioning mechanism, adjust this.
 
14172
  if test -x /usr/bin/objformat; then
 
14173
    objformat=`/usr/bin/objformat`
 
14174
  else
 
14175
    case $host_os in
 
14176
    freebsd[123]*) objformat=aout ;;
 
14177
    *) objformat=elf ;;
 
14178
    esac
 
14179
  fi
 
14180
  version_type=freebsd-$objformat
 
14181
  case $version_type in
 
14182
    freebsd-elf*)
 
14183
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
 
14184
      need_version=no
 
14185
      need_lib_prefix=no
 
14186
      ;;
 
14187
    freebsd-*)
 
14188
      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
 
14189
      need_version=yes
 
14190
      ;;
 
14191
  esac
 
14192
  shlibpath_var=LD_LIBRARY_PATH
 
14193
  case $host_os in
 
14194
  freebsd2*)
 
14195
    shlibpath_overrides_runpath=yes
 
14196
    ;;
 
14197
  freebsd3.[01]* | freebsdelf3.[01]*)
 
14198
    shlibpath_overrides_runpath=yes
 
14199
    hardcode_into_libs=yes
 
14200
    ;;
 
14201
  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
 
14202
  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
 
14203
    shlibpath_overrides_runpath=no
 
14204
    hardcode_into_libs=yes
 
14205
    ;;
 
14206
  *) # from 4.6 on, and DragonFly
 
14207
    shlibpath_overrides_runpath=yes
 
14208
    hardcode_into_libs=yes
 
14209
    ;;
 
14210
  esac
 
14211
  ;;
 
14212
 
 
14213
gnu*)
 
14214
  version_type=linux
 
14215
  need_lib_prefix=no
 
14216
  need_version=no
 
14217
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
 
14218
  soname_spec='${libname}${release}${shared_ext}$major'
 
14219
  shlibpath_var=LD_LIBRARY_PATH
 
14220
  hardcode_into_libs=yes
 
14221
  ;;
 
14222
 
 
14223
hpux9* | hpux10* | hpux11*)
 
14224
  # Give a soname corresponding to the major version so that dld.sl refuses to
 
14225
  # link against other versions.
 
14226
  version_type=sunos
 
14227
  need_lib_prefix=no
 
14228
  need_version=no
 
14229
  case $host_cpu in
 
14230
  ia64*)
 
14231
    shrext_cmds='.so'
 
14232
    hardcode_into_libs=yes
 
14233
    dynamic_linker="$host_os dld.so"
 
14234
    shlibpath_var=LD_LIBRARY_PATH
 
14235
    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
 
14236
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
14237
    soname_spec='${libname}${release}${shared_ext}$major'
 
14238
    if test "X$HPUX_IA64_MODE" = X32; then
 
14239
      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
 
14240
    else
 
14241
      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
 
14242
    fi
 
14243
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
 
14244
    ;;
 
14245
  hppa*64*)
 
14246
    shrext_cmds='.sl'
 
14247
    hardcode_into_libs=yes
 
14248
    dynamic_linker="$host_os dld.sl"
 
14249
    shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
 
14250
    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
 
14251
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
14252
    soname_spec='${libname}${release}${shared_ext}$major'
 
14253
    sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
 
14254
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
 
14255
    ;;
 
14256
  *)
 
14257
    shrext_cmds='.sl'
 
14258
    dynamic_linker="$host_os dld.sl"
 
14259
    shlibpath_var=SHLIB_PATH
 
14260
    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
 
14261
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
14262
    soname_spec='${libname}${release}${shared_ext}$major'
 
14263
    ;;
 
14264
  esac
 
14265
  # HP-UX runs *really* slowly unless shared libraries are mode 555.
 
14266
  postinstall_cmds='chmod 555 $lib'
 
14267
  ;;
 
14268
 
 
14269
interix[3-9]*)
 
14270
  version_type=linux
 
14271
  need_lib_prefix=no
 
14272
  need_version=no
 
14273
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
 
14274
  soname_spec='${libname}${release}${shared_ext}$major'
 
14275
  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
 
14276
  shlibpath_var=LD_LIBRARY_PATH
 
14277
  shlibpath_overrides_runpath=no
 
14278
  hardcode_into_libs=yes
 
14279
  ;;
 
14280
 
 
14281
irix5* | irix6* | nonstopux*)
 
14282
  case $host_os in
 
14283
    nonstopux*) version_type=nonstopux ;;
 
14284
    *)
 
14285
        if test "$lt_cv_prog_gnu_ld" = yes; then
 
14286
                version_type=linux
 
14287
        else
 
14288
                version_type=irix
 
14289
        fi ;;
 
14290
  esac
 
14291
  need_lib_prefix=no
 
14292
  need_version=no
 
14293
  soname_spec='${libname}${release}${shared_ext}$major'
 
14294
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
 
14295
  case $host_os in
 
14296
  irix5* | nonstopux*)
 
14297
    libsuff= shlibsuff=
 
14298
    ;;
 
14299
  *)
 
14300
    case $LD in # libtool.m4 will add one of these switches to LD
 
14301
    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
 
14302
      libsuff= shlibsuff= libmagic=32-bit;;
 
14303
    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
 
14304
      libsuff=32 shlibsuff=N32 libmagic=N32;;
 
14305
    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
 
14306
      libsuff=64 shlibsuff=64 libmagic=64-bit;;
 
14307
    *) libsuff= shlibsuff= libmagic=never-match;;
 
14308
    esac
 
14309
    ;;
 
14310
  esac
 
14311
  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
 
14312
  shlibpath_overrides_runpath=no
 
14313
  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
 
14314
  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
 
14315
  hardcode_into_libs=yes
 
14316
  ;;
 
14317
 
 
14318
# No shared lib support for Linux oldld, aout, or coff.
 
14319
linux*oldld* | linux*aout* | linux*coff*)
 
14320
  dynamic_linker=no
 
14321
  ;;
 
14322
 
 
14323
# This must be Linux ELF.
 
14324
linux* | k*bsd*-gnu | kopensolaris*-gnu)
 
14325
  version_type=linux
 
14326
  need_lib_prefix=no
 
14327
  need_version=no
 
14328
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
14329
  soname_spec='${libname}${release}${shared_ext}$major'
 
14330
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
 
14331
  shlibpath_var=LD_LIBRARY_PATH
 
14332
  shlibpath_overrides_runpath=no
 
14333
  # Some binutils ld are patched to set DT_RUNPATH
 
14334
  save_LDFLAGS=$LDFLAGS
 
14335
  save_libdir=$libdir
 
14336
  eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
 
14337
       LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
 
14338
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
14339
/* end confdefs.h.  */
 
14340
 
 
14341
int
 
14342
main ()
 
14343
{
 
14344
 
 
14345
  ;
 
14346
  return 0;
 
14347
}
 
14348
_ACEOF
 
14349
if ac_fn_cxx_try_link "$LINENO"; then :
 
14350
  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
 
14351
  shlibpath_overrides_runpath=yes
 
14352
fi
 
14353
fi
 
14354
rm -f core conftest.err conftest.$ac_objext \
 
14355
    conftest$ac_exeext conftest.$ac_ext
 
14356
  LDFLAGS=$save_LDFLAGS
 
14357
  libdir=$save_libdir
 
14358
 
 
14359
  # This implies no fast_install, which is unacceptable.
 
14360
  # Some rework will be needed to allow for fast_install
 
14361
  # before this can be enabled.
 
14362
  hardcode_into_libs=yes
 
14363
 
 
14364
  # Append ld.so.conf contents to the search path
 
14365
  if test -f /etc/ld.so.conf; then
 
14366
    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' ' '`
 
14367
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
 
14368
  fi
 
14369
 
 
14370
  # We used to test for /lib/ld.so.1 and disable shared libraries on
 
14371
  # powerpc, because MkLinux only supported shared libraries with the
 
14372
  # GNU dynamic linker.  Since this was broken with cross compilers,
 
14373
  # most powerpc-linux boxes support dynamic linking these days and
 
14374
  # people can always --disable-shared, the test was removed, and we
 
14375
  # assume the GNU/Linux dynamic linker is in use.
 
14376
  dynamic_linker='GNU/Linux ld.so'
 
14377
  ;;
 
14378
 
 
14379
netbsdelf*-gnu)
 
14380
  version_type=linux
 
14381
  need_lib_prefix=no
 
14382
  need_version=no
 
14383
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
 
14384
  soname_spec='${libname}${release}${shared_ext}$major'
 
14385
  shlibpath_var=LD_LIBRARY_PATH
 
14386
  shlibpath_overrides_runpath=no
 
14387
  hardcode_into_libs=yes
 
14388
  dynamic_linker='NetBSD ld.elf_so'
 
14389
  ;;
 
14390
 
 
14391
netbsd*)
 
14392
  version_type=sunos
 
14393
  need_lib_prefix=no
 
14394
  need_version=no
 
14395
  if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
 
14396
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
 
14397
    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
 
14398
    dynamic_linker='NetBSD (a.out) ld.so'
 
14399
  else
 
14400
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
 
14401
    soname_spec='${libname}${release}${shared_ext}$major'
 
14402
    dynamic_linker='NetBSD ld.elf_so'
 
14403
  fi
 
14404
  shlibpath_var=LD_LIBRARY_PATH
 
14405
  shlibpath_overrides_runpath=yes
 
14406
  hardcode_into_libs=yes
 
14407
  ;;
 
14408
 
 
14409
newsos6)
 
14410
  version_type=linux
 
14411
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
14412
  shlibpath_var=LD_LIBRARY_PATH
 
14413
  shlibpath_overrides_runpath=yes
 
14414
  ;;
 
14415
 
 
14416
*nto* | *qnx*)
 
14417
  version_type=qnx
 
14418
  need_lib_prefix=no
 
14419
  need_version=no
 
14420
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
14421
  soname_spec='${libname}${release}${shared_ext}$major'
 
14422
  shlibpath_var=LD_LIBRARY_PATH
 
14423
  shlibpath_overrides_runpath=no
 
14424
  hardcode_into_libs=yes
 
14425
  dynamic_linker='ldqnx.so'
 
14426
  ;;
 
14427
 
 
14428
openbsd*)
 
14429
  version_type=sunos
 
14430
  sys_lib_dlsearch_path_spec="/usr/lib"
 
14431
  need_lib_prefix=no
 
14432
  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
 
14433
  case $host_os in
 
14434
    openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
 
14435
    *)                          need_version=no  ;;
 
14436
  esac
 
14437
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
 
14438
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
 
14439
  shlibpath_var=LD_LIBRARY_PATH
 
14440
  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
14441
    case $host_os in
 
14442
      openbsd2.[89] | openbsd2.[89].*)
 
14443
        shlibpath_overrides_runpath=no
 
14444
        ;;
 
14445
      *)
 
14446
        shlibpath_overrides_runpath=yes
 
14447
        ;;
 
14448
      esac
 
14449
  else
 
14450
    shlibpath_overrides_runpath=yes
 
14451
  fi
 
14452
  ;;
 
14453
 
 
14454
os2*)
 
14455
  libname_spec='$name'
 
14456
  shrext_cmds=".dll"
 
14457
  need_lib_prefix=no
 
14458
  library_names_spec='$libname${shared_ext} $libname.a'
 
14459
  dynamic_linker='OS/2 ld.exe'
 
14460
  shlibpath_var=LIBPATH
 
14461
  ;;
 
14462
 
 
14463
osf3* | osf4* | osf5*)
 
14464
  version_type=osf
 
14465
  need_lib_prefix=no
 
14466
  need_version=no
 
14467
  soname_spec='${libname}${release}${shared_ext}$major'
 
14468
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
14469
  shlibpath_var=LD_LIBRARY_PATH
 
14470
  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
 
14471
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
 
14472
  ;;
 
14473
 
 
14474
rdos*)
 
14475
  dynamic_linker=no
 
14476
  ;;
 
14477
 
 
14478
solaris*)
 
14479
  version_type=linux
 
14480
  need_lib_prefix=no
 
14481
  need_version=no
 
14482
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
14483
  soname_spec='${libname}${release}${shared_ext}$major'
 
14484
  shlibpath_var=LD_LIBRARY_PATH
 
14485
  shlibpath_overrides_runpath=yes
 
14486
  hardcode_into_libs=yes
 
14487
  # ldd complains unless libraries are executable
 
14488
  postinstall_cmds='chmod +x $lib'
 
14489
  ;;
 
14490
 
 
14491
sunos4*)
 
14492
  version_type=sunos
 
14493
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
 
14494
  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
 
14495
  shlibpath_var=LD_LIBRARY_PATH
 
14496
  shlibpath_overrides_runpath=yes
 
14497
  if test "$with_gnu_ld" = yes; then
 
14498
    need_lib_prefix=no
 
14499
  fi
 
14500
  need_version=yes
 
14501
  ;;
 
14502
 
 
14503
sysv4 | sysv4.3*)
 
14504
  version_type=linux
 
14505
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
14506
  soname_spec='${libname}${release}${shared_ext}$major'
 
14507
  shlibpath_var=LD_LIBRARY_PATH
 
14508
  case $host_vendor in
 
14509
    sni)
 
14510
      shlibpath_overrides_runpath=no
 
14511
      need_lib_prefix=no
 
14512
      runpath_var=LD_RUN_PATH
 
14513
      ;;
 
14514
    siemens)
 
14515
      need_lib_prefix=no
 
14516
      ;;
 
14517
    motorola)
 
14518
      need_lib_prefix=no
 
14519
      need_version=no
 
14520
      shlibpath_overrides_runpath=no
 
14521
      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
 
14522
      ;;
 
14523
  esac
 
14524
  ;;
 
14525
 
 
14526
sysv4*MP*)
 
14527
  if test -d /usr/nec ;then
 
14528
    version_type=linux
 
14529
    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
 
14530
    soname_spec='$libname${shared_ext}.$major'
 
14531
    shlibpath_var=LD_LIBRARY_PATH
 
14532
  fi
 
14533
  ;;
 
14534
 
 
14535
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
 
14536
  version_type=freebsd-elf
 
14537
  need_lib_prefix=no
 
14538
  need_version=no
 
14539
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
 
14540
  soname_spec='${libname}${release}${shared_ext}$major'
 
14541
  shlibpath_var=LD_LIBRARY_PATH
 
14542
  shlibpath_overrides_runpath=yes
 
14543
  hardcode_into_libs=yes
 
14544
  if test "$with_gnu_ld" = yes; then
 
14545
    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
 
14546
  else
 
14547
    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
 
14548
    case $host_os in
 
14549
      sco3.2v5*)
 
14550
        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
 
14551
        ;;
 
14552
    esac
 
14553
  fi
 
14554
  sys_lib_dlsearch_path_spec='/usr/lib'
 
14555
  ;;
 
14556
 
 
14557
tpf*)
 
14558
  # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
 
14559
  version_type=linux
 
14560
  need_lib_prefix=no
 
14561
  need_version=no
 
14562
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
14563
  shlibpath_var=LD_LIBRARY_PATH
 
14564
  shlibpath_overrides_runpath=no
 
14565
  hardcode_into_libs=yes
 
14566
  ;;
 
14567
 
 
14568
uts4*)
 
14569
  version_type=linux
 
14570
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
14571
  soname_spec='${libname}${release}${shared_ext}$major'
 
14572
  shlibpath_var=LD_LIBRARY_PATH
 
14573
  ;;
 
14574
 
 
14575
*)
 
14576
  dynamic_linker=no
 
14577
  ;;
 
14578
esac
 
14579
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
 
14580
$as_echo "$dynamic_linker" >&6; }
 
14581
test "$dynamic_linker" = no && can_build_shared=no
 
14582
 
 
14583
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
 
14584
if test "$GCC" = yes; then
 
14585
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
 
14586
fi
 
14587
 
 
14588
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
 
14589
  sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
 
14590
fi
 
14591
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
 
14592
  sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
 
14593
fi
 
14594
 
 
14595
 
 
14596
 
 
14597
 
 
14598
 
 
14599
 
 
14600
 
 
14601
 
 
14602
 
 
14603
 
 
14604
 
 
14605
 
 
14606
 
 
14607
 
 
14608
 
 
14609
 
 
14610
 
 
14611
 
 
14612
 
 
14613
 
 
14614
 
 
14615
 
 
14616
 
 
14617
 
 
14618
 
 
14619
 
 
14620
 
 
14621
 
 
14622
 
 
14623
 
 
14624
 
 
14625
 
 
14626
 
 
14627
 
 
14628
 
 
14629
 
 
14630
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
 
14631
$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
 
14632
hardcode_action_CXX=
 
14633
if test -n "$hardcode_libdir_flag_spec_CXX" ||
 
14634
   test -n "$runpath_var_CXX" ||
 
14635
   test "X$hardcode_automatic_CXX" = "Xyes" ; then
 
14636
 
 
14637
  # We can hardcode non-existent directories.
 
14638
  if test "$hardcode_direct_CXX" != no &&
 
14639
     # If the only mechanism to avoid hardcoding is shlibpath_var, we
 
14640
     # have to relink, otherwise we might link with an installed library
 
14641
     # when we should be linking with a yet-to-be-installed one
 
14642
     ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
 
14643
     test "$hardcode_minus_L_CXX" != no; then
 
14644
    # Linking always hardcodes the temporary library directory.
 
14645
    hardcode_action_CXX=relink
 
14646
  else
 
14647
    # We can link without hardcoding, and we can hardcode nonexisting dirs.
 
14648
    hardcode_action_CXX=immediate
 
14649
  fi
 
14650
else
 
14651
  # We cannot hardcode anything, or else we can only hardcode existing
 
14652
  # directories.
 
14653
  hardcode_action_CXX=unsupported
 
14654
fi
 
14655
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
 
14656
$as_echo "$hardcode_action_CXX" >&6; }
 
14657
 
 
14658
if test "$hardcode_action_CXX" = relink ||
 
14659
   test "$inherit_rpath_CXX" = yes; then
 
14660
  # Fast installation is not supported
 
14661
  enable_fast_install=no
 
14662
elif test "$shlibpath_overrides_runpath" = yes ||
 
14663
     test "$enable_shared" = no; then
 
14664
  # Fast installation is not necessary
 
14665
  enable_fast_install=needless
 
14666
fi
 
14667
 
 
14668
 
 
14669
 
 
14670
 
 
14671
    
 
14672
 
 
14673
 
 
14674
  fi # test -n "$compiler"
 
14675
 
 
14676
  CC=$lt_save_CC
 
14677
  LDCXX=$LD
 
14678
  LD=$lt_save_LD
 
14679
  GCC=$lt_save_GCC
 
14680
  with_gnu_ld=$lt_save_with_gnu_ld
 
14681
  lt_cv_path_LDCXX=$lt_cv_path_LD
 
14682
  lt_cv_path_LD=$lt_save_path_LD
 
14683
  lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
 
14684
  lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
 
14685
fi # test "$_lt_caught_CXX_error" != yes
 
14686
 
 
14687
ac_ext=cpp
 
14688
ac_cpp='$CXXCPP $CPPFLAGS'
 
14689
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
14690
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
14691
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 
14692
 
 
14693
 
 
14694
 
 
14695
 
 
14696
 
 
14697
 
 
14698
 
 
14699
 
 
14700
       
 
14701
       
 
14702
 
 
14703
 
 
14704
 
 
14705
        ac_config_commands="$ac_config_commands libtool"
 
14706
 
 
14707
 
 
14708
 
 
14709
 
 
14710
# Only expand once:
 
14711
 
 
14712
 
 
14713
 
 
14714
@%:@ Check whether --enable-libcheck was given.
 
14715
if test "${enable_libcheck+set}" = set; then :
 
14716
  enableval=$enable_libcheck; case "${enableval}" in
 
14717
  yes) libcheck=true ;;
 
14718
  no)  libcheck=false ;;
 
14719
  *) as_fn_error "bad value ${enableval} for --enable-libcheck" "$LINENO" 5 ;; esac
 
14720
else
 
14721
  libcheck=true
 
14722
fi
 
14723
 
 
14724
 
 
14725
 
 
14726
# --- BEGIN MLX_LANG_TCL ---
 
14727
 
 
14728
if test "x$libcheck" = "xtrue"; then
 
14729
 
 
14730
      
 
14731
@%:@ Check whether --with-tclconfig was given.
 
14732
if test "${with_tclconfig+set}" = set; then :
 
14733
  withval=$with_tclconfig;      TclLibBase=`echo ${withval} | sed s/tclConfig.sh\$//`
 
14734
fi
 
14735
 
 
14736
   
 
14737
@%:@ Check whether --with-tcl was given.
 
14738
if test "${with_tcl+set}" = set; then :
 
14739
  withval=$with_tcl; TclLibBase="${withval}/lib"
 
14740
fi
 
14741
 
 
14742
   
 
14743
@%:@ Check whether --with-tclsh was given.
 
14744
if test "${with_tclsh+set}" = set; then :
 
14745
  withval=$with_tclsh; TCLSH="${withval}"
 
14746
fi
 
14747
 
 
14748
 
 
14749
   if test "x$TCLSH" = "xno" -o "x$with_tclconfig" = "xno" ; then
 
14750
     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Tcl disabled because tclsh or tclconfig specified as \"no\"" >&5
 
14751
$as_echo "$as_me: WARNING: Tcl disabled because tclsh or tclconfig specified as \"no\"" >&2;}
 
14752
     with_tcl=no
 
14753
   fi
 
14754
 
 
14755
   if test "x$with_tcl" != xno; then
 
14756
     if test \! -z "$with_tclconfig" -a \! -d "$with_tclconfig" ; then
 
14757
       as_fn_error "--with-tclconfig requires a directory argument." "$LINENO" 5
 
14758
     fi
 
14759
 
 
14760
     if test \! -z "$TCLSH" -a \! -x "$TCLSH" ; then
 
14761
       as_fn_error "--with-tclsh must specify an executable file." "$LINENO" 5
 
14762
     fi
 
14763
 
 
14764
     if test X"$TclLibBase" = X; then # do we already know?
 
14765
       # No? Run tclsh and ask it where it lives.
 
14766
 
 
14767
       # Do we know where a tclsh lives?
 
14768
       if test X"$TCLSH" = X; then
 
14769
         # Try and find tclsh.  Any tclsh.
 
14770
         # If a new version of tcl comes out and unfortunately adds another
 
14771
         # filename, it should be safe to add it (to the front of the line --
 
14772
         # somef vendors have older, badly installed tclshs that we want to avoid
 
14773
         # if we can)
 
14774
         for ac_prog in tclsh tclsh8.3 tclsh8.4
 
14775
do
 
14776
  # Extract the first word of "$ac_prog", so it can be a program name with args.
 
14777
set dummy $ac_prog; ac_word=$2
 
14778
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
14779
$as_echo_n "checking for $ac_word... " >&6; }
 
14780
if test "${ac_cv_path_TCLSH+set}" = set; then :
 
14781
  $as_echo_n "(cached) " >&6
 
14782
else
 
14783
  case $TCLSH in
 
14784
  [\\/]* | ?:[\\/]*)
 
14785
  ac_cv_path_TCLSH="$TCLSH" # Let the user override the test with a path.
 
14786
  ;;
 
14787
  *)
 
14788
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
14789
for as_dir in $PATH
 
14790
do
 
14791
  IFS=$as_save_IFS
 
14792
  test -z "$as_dir" && as_dir=.
 
14793
    for ac_exec_ext in '' $ac_executable_extensions; do
 
14794
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
14795
    ac_cv_path_TCLSH="$as_dir/$ac_word$ac_exec_ext"
 
14796
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
14797
    break 2
 
14798
  fi
 
14799
done
 
14800
  done
 
14801
IFS=$as_save_IFS
 
14802
 
 
14803
  ;;
 
14804
esac
 
14805
fi
 
14806
TCLSH=$ac_cv_path_TCLSH
 
14807
if test -n "$TCLSH"; then
 
14808
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TCLSH" >&5
 
14809
$as_echo "$TCLSH" >&6; }
 
14810
else
 
14811
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
14812
$as_echo "no" >&6; }
 
14813
fi
 
14814
 
 
14815
 
 
14816
  test -n "$TCLSH" && break
 
14817
done
 
14818
test -n "$TCLSH" || TCLSH=""unknown""
 
14819
 
 
14820
       fi
 
14821
 
 
14822
       # Do we know where to get a tclsh?
 
14823
       if test "X${TCLSH}" != "Xunknown"; then
 
14824
         { $as_echo "$as_me:${as_lineno-$LINENO}: checking where Tcl says it lives" >&5
 
14825
$as_echo_n "checking where Tcl says it lives... " >&6; }
 
14826
                  echo "puts \$tcl_library" > /tmp/tcl.conf.$$
 
14827
         TclLibBase=`${TCLSH} /tmp/tcl.conf.$$ | sed -e 's,^/*$,,'`
 
14828
         rm /tmp/tcl.conf.$$
 
14829
          { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TclLibBase" >&5
 
14830
$as_echo "$TclLibBase" >&6; }
 
14831
       fi
 
14832
     fi
 
14833
 
 
14834
     if test -z "$TclLibBase" ; then
 
14835
       { $as_echo "$as_me:${as_lineno-$LINENO}: result: can't find tclsh" >&5
 
14836
$as_echo "can't find tclsh" >&6; }
 
14837
       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: can't find Tcl installtion; use of Tcl disabled." >&5
 
14838
$as_echo "$as_me: WARNING: can't find Tcl installtion; use of Tcl disabled." >&2;}
 
14839
       with_tcl=no
 
14840
     else
 
14841
       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tclConfig.sh" >&5
 
14842
$as_echo_n "checking for tclConfig.sh... " >&6; }
 
14843
       # Check a list of places where the tclConfig.sh file might be.
 
14844
       # Note we prefer the 64 bit version if exists
 
14845
       tclCondifSearchPath="$tclCondifSearchPath ${TclLibBase}"
 
14846
       tclCondifSearchPath="$tclCondifSearchPath ${TclLibBase}/.."
 
14847
       tclCondifSearchPath="$tclCondifSearchPath `echo ${TCLSH} | sed s/sh//`"
 
14848
       tclCondifSearchPath="$tclCondifSearchPath /usr/lib64"
 
14849
       tclCondifSearchPath="$tclCondifSearchPath /usr/lib"
 
14850
       tclCondifSearchPath="$tclCondifSearchPath /usr/local/lib"
 
14851
       for tcldir in $tclCondifSearchPath; do
 
14852
         if test -f "${tcldir}/tclConfig.sh"; then
 
14853
           TclLibBase="${tcldir}"
 
14854
           break
 
14855
         fi
 
14856
       done
 
14857
 
 
14858
       if test -z "${TclLibBase}" ; then
 
14859
         { $as_echo "$as_me:${as_lineno-$LINENO}: result: \"unknown\"" >&5
 
14860
$as_echo "\"unknown\"" >&6; }
 
14861
         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: can't find Tcl configuration; use of Tcl disabled." >&5
 
14862
$as_echo "$as_me: WARNING: can't find Tcl configuration; use of Tcl disabled." >&2;}
 
14863
         with_tcl=no
 
14864
       else
 
14865
         { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${TclLibBase}/" >&5
 
14866
$as_echo "${TclLibBase}/" >&6; }
 
14867
       fi
 
14868
 
 
14869
       if test "X${with_tcl}" != Xno ; then
 
14870
         { $as_echo "$as_me:${as_lineno-$LINENO}: checking Tcl configuration on what Tcl needs to compile" >&5
 
14871
$as_echo_n "checking Tcl configuration on what Tcl needs to compile... " >&6; }
 
14872
         . ${TclLibBase}/tclConfig.sh
 
14873
         { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
 
14874
$as_echo "ok" >&6; }
 
14875
                         fi
 
14876
 
 
14877
                     if test -d /usr/lib64 ; then
 
14878
          TCL_LIB_SPEC=`echo ${TCL_LIB_SPEC} | sed 's=/usr/lib =/usr/lib64 =g'`
 
14879
       fi
 
14880
 
 
14881
       if test "X${with_tcl}" != Xno ; then
 
14882
                                             { $as_echo "$as_me:${as_lineno-$LINENO}: checking where Tcl includes are" >&5
 
14883
$as_echo_n "checking where Tcl includes are... " >&6; }
 
14884
         for tclinclude in "${TCL_PREFIX}/include/tcl${TCL_VERSION}" \
 
14885
                           "${TCL_PREFIX}/include/tcl" \
 
14886
                           "${TCL_PREFIX}/include" ; do
 
14887
           if test -r "${tclinclude}/tcl.h" ; then
 
14888
             TCL_CPPFLAGS="-I${tclinclude}"
 
14889
             break
 
14890
           fi
 
14891
         done
 
14892
         if test X"${TCL_CPPFLAGS}" = X ; then
 
14893
           { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: can't find Tcl includes; use of Tcl disabled." >&5
 
14894
$as_echo "$as_me: WARNING: can't find Tcl includes; use of Tcl disabled." >&2;}
 
14895
           with_tcl=no
 
14896
         fi
 
14897
         { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${TCL_CPPFLAGS}" >&5
 
14898
$as_echo "${TCL_CPPFLAGS}" >&6; }
 
14899
       fi
 
14900
 
 
14901
       # Finally, pick up the Tcl configuration if we haven't found an
 
14902
       # excuse not to.
 
14903
       if test "X${with_tcl}" != Xno; then
 
14904
                           TCL_SEARCH=`echo ${TCL_LD_SEARCH_FLAGS} | sed 's/-Wl,-rpath,/-rpath/'`
 
14905
 
 
14906
                  if test X"$TCL_LIBS" = X; then
 
14907
                      TCL_LIBS=`echo ${TCL_LIB_FILE} | sed 's/lib\([^ \t]*\)\.\(so\|a\)/-l\1/'`
 
14908
         fi
 
14909
 
 
14910
                  if test X"$TCL_LIB_SPEC" = X; then
 
14911
                      TCL_LIB_SPEC='-L/usr/lib'
 
14912
         fi
 
14913
 
 
14914
         TCL_LIBS1="${TCL_LIB_SPEC} ${TCL_LIBS}"
 
14915
                  TCL_LIBS=`echo ${TCL_LIBS1} | sed 's/-lieee//'`
 
14916
       fi
 
14917
     fi
 
14918
   fi
 
14919
else
 
14920
   TCL_DEFS=disabled
 
14921
   TCL_LIBS=disabled
 
14922
   TCL_CPPFLAGS=disabled
 
14923
   TCL_PREFIX=disabled
 
14924
fi
 
14925
 
 
14926
 
 
14927
 
 
14928
 
 
14929
 
 
14930
 
 
14931
# --- END MLX_LANG_TCL ---
 
14932
 
 
14933
 
 
14934
 
 
14935
 
 
14936
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
 
14937
$as_echo_n "checking for ANSI C header files... " >&6; }
 
14938
if test "${ac_cv_header_stdc+set}" = set; then :
 
14939
  $as_echo_n "(cached) " >&6
 
14940
else
 
14941
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
14942
/* end confdefs.h.  */
 
14943
#include <stdlib.h>
 
14944
#include <stdarg.h>
 
14945
#include <string.h>
 
14946
#include <float.h>
 
14947
 
 
14948
int
 
14949
main ()
 
14950
{
 
14951
 
 
14952
  ;
 
14953
  return 0;
 
14954
}
 
14955
_ACEOF
 
14956
if ac_fn_cxx_try_compile "$LINENO"; then :
 
14957
  ac_cv_header_stdc=yes
 
14958
else
 
14959
  ac_cv_header_stdc=no
 
14960
fi
 
14961
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
14962
 
 
14963
if test $ac_cv_header_stdc = yes; then
 
14964
  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
 
14965
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
14966
/* end confdefs.h.  */
 
14967
#include <string.h>
 
14968
 
 
14969
_ACEOF
 
14970
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 
14971
  $EGREP "memchr" >/dev/null 2>&1; then :
 
14972
  
 
14973
else
 
14974
  ac_cv_header_stdc=no
 
14975
fi
 
14976
rm -f conftest*
 
14977
 
 
14978
fi
 
14979
 
 
14980
if test $ac_cv_header_stdc = yes; then
 
14981
  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
 
14982
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
14983
/* end confdefs.h.  */
 
14984
#include <stdlib.h>
 
14985
 
 
14986
_ACEOF
 
14987
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 
14988
  $EGREP "free" >/dev/null 2>&1; then :
 
14989
  
 
14990
else
 
14991
  ac_cv_header_stdc=no
 
14992
fi
 
14993
rm -f conftest*
 
14994
 
 
14995
fi
 
14996
 
 
14997
if test $ac_cv_header_stdc = yes; then
 
14998
  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
 
14999
  if test "$cross_compiling" = yes; then :
 
15000
  :
 
15001
else
 
15002
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
15003
/* end confdefs.h.  */
 
15004
#include <ctype.h>
 
15005
#include <stdlib.h>
 
15006
#if ((' ' & 0x0FF) == 0x020)
 
15007
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
 
15008
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
 
15009
#else
 
15010
# define ISLOWER(c) \
 
15011
                   (('a' <= (c) && (c) <= 'i') \
 
15012
                     || ('j' <= (c) && (c) <= 'r') \
 
15013
                     || ('s' <= (c) && (c) <= 'z'))
 
15014
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
 
15015
#endif
 
15016
 
 
15017
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
 
15018
int
 
15019
main ()
 
15020
{
 
15021
  int i;
 
15022
  for (i = 0; i < 256; i++)
 
15023
    if (XOR (islower (i), ISLOWER (i))
 
15024
        || toupper (i) != TOUPPER (i))
 
15025
      return 2;
 
15026
  return 0;
 
15027
}
 
15028
_ACEOF
 
15029
if ac_fn_cxx_try_run "$LINENO"; then :
 
15030
  
 
15031
else
 
15032
  ac_cv_header_stdc=no
 
15033
fi
 
15034
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
 
15035
  conftest.$ac_objext conftest.beam conftest.$ac_ext
 
15036
fi
 
15037
 
 
15038
fi
 
15039
fi
 
15040
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
 
15041
$as_echo "$ac_cv_header_stdc" >&6; }
 
15042
if test $ac_cv_header_stdc = yes; then
 
15043
  
 
15044
$as_echo "@%:@define STDC_HEADERS 1" >>confdefs.h
 
15045
 
 
15046
fi
 
15047
 
 
15048
for ac_header in inttypes.h stdlib.h string.h
 
15049
do :
 
15050
  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
15051
ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
 
15052
eval as_val=\$$as_ac_Header
 
15053
   if test "x$as_val" = x""yes; then :
 
15054
  cat >>confdefs.h <<_ACEOF
 
15055
@%:@define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
15056
_ACEOF
 
15057
 
 
15058
fi
 
15059
 
 
15060
done
 
15061
 
 
15062
 
 
15063
 
 
15064
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
 
15065
$as_echo_n "checking for an ANSI C-conforming const... " >&6; }
 
15066
if test "${ac_cv_c_const+set}" = set; then :
 
15067
  $as_echo_n "(cached) " >&6
 
15068
else
 
15069
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
15070
/* end confdefs.h.  */
 
15071
 
 
15072
int
 
15073
main ()
 
15074
{
 
15075
/* FIXME: Include the comments suggested by Paul. */
 
15076
#ifndef __cplusplus
 
15077
  /* Ultrix mips cc rejects this.  */
 
15078
  typedef int charset[2];
 
15079
  const charset cs;
 
15080
  /* SunOS 4.1.1 cc rejects this.  */
 
15081
  char const *const *pcpcc;
 
15082
  char **ppc;
 
15083
  /* NEC SVR4.0.2 mips cc rejects this.  */
 
15084
  struct point {int x, y;};
 
15085
  static struct point const zero = {0,0};
 
15086
  /* AIX XL C 1.02.0.0 rejects this.
 
15087
     It does not let you subtract one const X* pointer from another in
 
15088
     an arm of an if-expression whose if-part is not a constant
 
15089
     expression */
 
15090
  const char *g = "string";
 
15091
  pcpcc = &g + (g ? g-g : 0);
 
15092
  /* HPUX 7.0 cc rejects these. */
 
15093
  ++pcpcc;
 
15094
  ppc = (char**) pcpcc;
 
15095
  pcpcc = (char const *const *) ppc;
 
15096
  { /* SCO 3.2v4 cc rejects this.  */
 
15097
    char *t;
 
15098
    char const *s = 0 ? (char *) 0 : (char const *) 0;
 
15099
 
 
15100
    *t++ = 0;
 
15101
    if (s) return 0;
 
15102
  }
 
15103
  { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
 
15104
    int x[] = {25, 17};
 
15105
    const int *foo = &x[0];
 
15106
    ++foo;
 
15107
  }
 
15108
  { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
 
15109
    typedef const int *iptr;
 
15110
    iptr p = 0;
 
15111
    ++p;
 
15112
  }
 
15113
  { /* AIX XL C 1.02.0.0 rejects this saying
 
15114
       "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
 
15115
    struct s { int j; const int *ap[3]; };
 
15116
    struct s *b; b->j = 5;
 
15117
  }
 
15118
  { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
 
15119
    const int foo = 10;
 
15120
    if (!foo) return 0;
 
15121
  }
 
15122
  return !cs[0] && !zero.x;
 
15123
#endif
 
15124
 
 
15125
  ;
 
15126
  return 0;
 
15127
}
 
15128
_ACEOF
 
15129
if ac_fn_cxx_try_compile "$LINENO"; then :
 
15130
  ac_cv_c_const=yes
 
15131
else
 
15132
  ac_cv_c_const=no
 
15133
fi
 
15134
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
15135
fi
 
15136
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
 
15137
$as_echo "$ac_cv_c_const" >&6; }
 
15138
if test $ac_cv_c_const = no; then
 
15139
  
 
15140
$as_echo "@%:@define const /**/" >>confdefs.h
 
15141
 
 
15142
fi
 
15143
 
 
15144
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
 
15145
$as_echo_n "checking for inline... " >&6; }
 
15146
if test "${ac_cv_c_inline+set}" = set; then :
 
15147
  $as_echo_n "(cached) " >&6
 
15148
else
 
15149
  ac_cv_c_inline=no
 
15150
for ac_kw in inline __inline__ __inline; do
 
15151
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
15152
/* end confdefs.h.  */
 
15153
#ifndef __cplusplus
 
15154
typedef int foo_t;
 
15155
static $ac_kw foo_t static_foo () {return 0; }
 
15156
$ac_kw foo_t foo () {return 0; }
 
15157
#endif
 
15158
 
 
15159
_ACEOF
 
15160
if ac_fn_cxx_try_compile "$LINENO"; then :
 
15161
  ac_cv_c_inline=$ac_kw
 
15162
fi
 
15163
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
15164
  test "$ac_cv_c_inline" != no && break
 
15165
done
 
15166
 
 
15167
fi
 
15168
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
 
15169
$as_echo "$ac_cv_c_inline" >&6; }
 
15170
 
 
15171
case $ac_cv_c_inline in
 
15172
  inline | yes) ;;
 
15173
  *)
 
15174
    case $ac_cv_c_inline in
 
15175
      no) ac_val=;;
 
15176
      *) ac_val=$ac_cv_c_inline;;
 
15177
    esac
 
15178
    cat >>confdefs.h <<_ACEOF
 
15179
#ifndef __cplusplus
 
15180
#define inline $ac_val
 
15181
#endif
 
15182
_ACEOF
 
15183
    ;;
 
15184
esac
 
15185
 
 
15186
ac_fn_cxx_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
 
15187
if test "x$ac_cv_type_size_t" = x""yes; then :
 
15188
  
 
15189
else
 
15190
  
 
15191
cat >>confdefs.h <<_ACEOF
 
15192
@%:@define size_t unsigned int
 
15193
_ACEOF
 
15194
 
 
15195
fi
 
15196
 
 
15197
 
 
15198
for ac_func in strchr strstr strtol strtoull regcomp regexec
 
15199
do :
 
15200
  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
 
15201
ac_fn_cxx_check_func "$LINENO" "$ac_func" "$as_ac_var"
 
15202
eval as_val=\$$as_ac_var
 
15203
   if test "x$as_val" = x""yes; then :
 
15204
  cat >>confdefs.h <<_ACEOF
 
15205
@%:@define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
 
15206
_ACEOF
 
15207
 
 
15208
fi
 
15209
done
 
15210
 
 
15211
 
 
15212
@%:@ Check whether --enable-debug was given.
 
15213
if test "${enable_debug+set}" = set; then :
 
15214
  enableval=$enable_debug; case "${enableval}" in
 
15215
  yes) debug=true ;;
 
15216
  no)  debug=false ;;
 
15217
  *) as_fn_error "bad value ${enableval} for --enable-debug" "$LINENO" 5 ;;
 
15218
esac
 
15219
else
 
15220
  debug=false
 
15221
fi
 
15222
 
 
15223
 if test x$debug = xtrue; then
 
15224
  DEBUG_TRUE=
 
15225
  DEBUG_FALSE='#'
 
15226
else
 
15227
  DEBUG_TRUE='#'
 
15228
  DEBUG_FALSE=
 
15229
fi
 
15230
 
 
15231
 
 
15232
 
 
15233
# --- BEGIN OPENIB_APP_OSM ---
 
15234
 
 
15235
 
 
15236
@%:@ Check whether --with-osm was given.
 
15237
if test "${with_osm+set}" = set; then :
 
15238
  withval=$with_osm; { $as_echo "$as_me:${as_lineno-$LINENO}: Using OSM from:$with_osm" >&5
 
15239
$as_echo "$as_me: Using OSM from:$with_osm" >&6;}
 
15240
else
 
15241
  with_osm="none"
 
15242
fi
 
15243
 
 
15244
 
 
15245
 
 
15246
@%:@ Check whether --with-osm-libs was given.
 
15247
if test "${with_osm_libs+set}" = set; then :
 
15248
  withval=$with_osm_libs; { $as_echo "$as_me:${as_lineno-$LINENO}: Using OSM libs from:$with_osm_libs" >&5
 
15249
$as_echo "$as_me: Using OSM libs from:$with_osm_libs" >&6;}
 
15250
else
 
15251
  with_osm_libs="none"
 
15252
fi
 
15253
 
 
15254
 
 
15255
osm_lib_dir="none"
 
15256
 
 
15257
if test "x$libcheck" = "xtrue"; then
 
15258
      if test "x$with_osm" = xnone; then
 
15259
      if test -d /usr/local/ibgd/apps/osm; then
 
15260
         with_osm=/usr/local/ibgd/apps/osm
 
15261
      elif test -d /usr/mellanox/osm; then
 
15262
         with_osm=/usr/mellanox
 
15263
            elif test -f /etc/infiniband/info; then
 
15264
         ofed_dir=`/etc/infiniband/info | grep prefix | cut -d = -f 2`
 
15265
         if (test -f $ofed_dir/lib/libopensm.so ||
 
15266
                                test -f $ofed_dir/lib64/libopensm.so); then
 
15267
            with_osm=$ofed_dir
 
15268
         fi
 
15269
      elif (test -f /usr/local/lib64/libopensm.so ||
 
15270
                                test -f /usr/local/lib/libopensm.so); then
 
15271
         with_osm=/usr/local
 
15272
      elif (test -f /usr/lib64/libopensm.so ||
 
15273
                                test -f /usr/lib/libopensm.so); then
 
15274
         with_osm=/usr
 
15275
      else
 
15276
         as_fn_error "OSM: --with-osm must be provided - fail to find standard OpenSM installation" "$LINENO" 5
 
15277
      fi
 
15278
   fi
 
15279
   { $as_echo "$as_me:${as_lineno-$LINENO}: OSM: used from $with_osm" >&5
 
15280
$as_echo "$as_me: OSM: used from $with_osm" >&6;}
 
15281
 
 
15282
   if test "x$with_osm_libs" = "xnone"; then
 
15283
         if (test -f $with_osm/lib64/libosmvendor_gen1.so ||
 
15284
                         test -f $with_osm/lib64/libosmvendor_vapi.so ||
 
15285
         test -f $with_osm/lib64/libopensm.so         ||
 
15286
                         test -f $with_osm/lib64/libosmvendor_sim.so); then
 
15287
         osm_lib_dir=lib64
 
15288
      else
 
15289
         osm_lib_dir=lib
 
15290
      fi
 
15291
   fi
 
15292
   with_osm_libs=$with_osm/$osm_lib_dir
 
15293
 
 
15294
      if test -d $with_osm/include/infiniband; then
 
15295
      OSM_BUILD=openib
 
15296
   else
 
15297
      OSM_BUILD=gen1
 
15298
   fi
 
15299
   { $as_echo "$as_me:${as_lineno-$LINENO}: OSM: build type $OSM_BUILD" >&5
 
15300
$as_echo "$as_me: OSM: build type $OSM_BUILD" >&6;}
 
15301
 
 
15302
   OSM_LDFLAGS="-Wl,-rpath -Wl,$with_osm_libs -L$with_osm_libs"
 
15303
         if test $OSM_BUILD = openib; then
 
15304
            osm_include_dir="$with_osm/include/infiniband"
 
15305
      osm_extra_includes="-I$with_osm/include"
 
15306
 
 
15307
      if test -L $with_osm_libs/libosmvendor_gen1.so; then
 
15308
         OSM_VENDOR=ts
 
15309
         osm_vendor_sel="-DOSM_VENDOR_INTF_TS"
 
15310
         OSM_LDFLAGS="$OSM_LDFLAGS -lopensm -losmvendor -losmcomp"
 
15311
      elif test -L $with_osm_libs/libosmvendor_vapi.so; then
 
15312
         OSM_VENDOR=mtl
 
15313
         osm_vendor_sel="-DOSM_VENDOR_INTF_MTL"
 
15314
         OSM_LDFLAGS="$OSM_LDFLAGS -lopensm -losmvendor -losmcomp -lvapi -lib_mgt"
 
15315
      elif test -L $with_osm_libs/libosmvendor_sim.so; then
 
15316
         OSM_VENDOR=sim
 
15317
         osm_vendor_sel="-DOSM_VENDOR_INTF_SIM"
 
15318
         OSM_LDFLAGS="$OSM_LDFLAGS -lopensm -losmvendor -libmscli -losmcomp"
 
15319
      elif test -L $with_osm_libs/libopensm.so; then
 
15320
         OSM_VENDOR=openib
 
15321
         osm_vendor_sel="-DOSM_VENDOR_INTF_OPENIB "
 
15322
         OSM_LDFLAGS="$OSM_LDFLAGS -lopensm -losmvendor -losmcomp -libumad"
 
15323
      else
 
15324
         as_fn_error "OSM: Fail to recognize vendor type" "$LINENO" 5
 
15325
      fi
 
15326
      osm_vendor_sel="$osm_vendor_sel -DOSM_BUILD_OPENIB"
 
15327
   else
 
15328
      # we are in gen1 build
 
15329
      osm_include_dir="$with_osm/include"
 
15330
 
 
15331
      if test -L $with_osm_libs/libosmsvc_ts.so; then
 
15332
         OSM_VENDOR=ts
 
15333
         OSM_LDFLAGS="$OSM_LDFLAGS -losmsvc_ts -lcomplib"
 
15334
         osm_vendor_sel="-DOSM_VENDOR_INTF_TS"
 
15335
      elif test -L $with_osm_libs/libosmsvc_mtl.so; then
 
15336
         OSM_VENDOR=mtl
 
15337
         OSM_LDFLAGS="$OSM_LDFLAGS -losmsvc_mtl -lcomplib -lvapi -lib_mgt"
 
15338
         osm_vendor_sel="-DOSM_VENDOR_INTF_MTL"
 
15339
      elif test -L $with_osm_libs/libosmsvc_sim.so; then
 
15340
         OSM_VENDOR=sim
 
15341
         OSM_LDFLAGS="$OSM_LDFLAGS -losmsvc_sim -lcomplib"
 
15342
         osm_vendor_sel="-DOSM_VENDOR_INTF_SIM"
 
15343
      else
 
15344
         as_fn_error "OSM: Fail to recognize vendor type" "$LINENO" 5
 
15345
      fi
 
15346
   fi
 
15347
   { $as_echo "$as_me:${as_lineno-$LINENO}: OSM: vendor type $OSM_VENDOR" >&5
 
15348
$as_echo "$as_me: OSM: vendor type $OSM_VENDOR" >&6;}
 
15349
 
 
15350
 
 
15351
      as_ac_File=`$as_echo "ac_cv_file_$osm_include_dir/opensm/osm_config.h" | $as_tr_sh`
 
15352
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $osm_include_dir/opensm/osm_config.h" >&5
 
15353
$as_echo_n "checking for $osm_include_dir/opensm/osm_config.h... " >&6; }
 
15354
if { as_var=$as_ac_File; eval "test \"\${$as_var+set}\" = set"; }; then :
 
15355
  $as_echo_n "(cached) " >&6
 
15356
else
 
15357
  test "$cross_compiling" = yes &&
 
15358
  as_fn_error "cannot check for file existence when cross compiling" "$LINENO" 5
 
15359
if test -r "$osm_include_dir/opensm/osm_config.h"; then
 
15360
  eval "$as_ac_File=yes"
 
15361
else
 
15362
  eval "$as_ac_File=no"
 
15363
fi
 
15364
fi
 
15365
eval ac_res=\$$as_ac_File
 
15366
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
15367
$as_echo "$ac_res" >&6; }
 
15368
eval as_val=\$$as_ac_File
 
15369
   if test "x$as_val" = x""yes; then :
 
15370
  
 
15371
else
 
15372
  as_fn_error "OSM: could not find $with_osm/include/opensm/osm_config.h" "$LINENO" 5
 
15373
fi
 
15374
 
 
15375
 
 
15376
      grep '#define OSM_DEBUG 1' $osm_include_dir/opensm/osm_config.h > /dev/null
 
15377
   if test $? -eq 0 ; then
 
15378
            osm_debug_flags='-DDEBUG -D_DEBUG -D_DEBUG_ -DDBG'
 
15379
      { $as_echo "$as_me:${as_lineno-$LINENO}: OSM: compiled in DEBUG mode" >&5
 
15380
$as_echo "$as_me: OSM: compiled in DEBUG mode" >&6;}
 
15381
   else
 
15382
      osm_debug_flags=
 
15383
   fi
 
15384
 
 
15385
   OSM_CFLAGS="-I$osm_include_dir $osm_extra_includes $osm_debug_flags $osm_vendor_sel -D_XOPEN_SOURCE=600 -D_BSD_SOURCE=1"
 
15386
else
 
15387
      with_osm=disabled
 
15388
   OSM_CLFAGS=disabled
 
15389
   OSM_LDFLAGS=disabled
 
15390
   OSM_VEDNOR=disabled
 
15391
   OSM_BUILD=disabled
 
15392
fi
 
15393
 
 
15394
 if test "x$OSM_VENDOR" = xts; then
 
15395
  OSM_VENDOR_TS_TRUE=
 
15396
  OSM_VENDOR_TS_FALSE='#'
 
15397
else
 
15398
  OSM_VENDOR_TS_TRUE='#'
 
15399
  OSM_VENDOR_TS_FALSE=
 
15400
fi
 
15401
 
 
15402
 if test "x$OSM_VENDOR" = xmtl; then
 
15403
  OSM_VENDOR_MTL_TRUE=
 
15404
  OSM_VENDOR_MTL_FALSE='#'
 
15405
else
 
15406
  OSM_VENDOR_MTL_TRUE='#'
 
15407
  OSM_VENDOR_MTL_FALSE=
 
15408
fi
 
15409
 
 
15410
 if test "x$OSM_VENDOR" = xsim; then
 
15411
  OSM_VENDOR_SIM_TRUE=
 
15412
  OSM_VENDOR_SIM_FALSE='#'
 
15413
else
 
15414
  OSM_VENDOR_SIM_TRUE='#'
 
15415
  OSM_VENDOR_SIM_FALSE=
 
15416
fi
 
15417
 
 
15418
 if test "x$OSM_BUILD" = xopenib; then
 
15419
  OSM_BUILD_OPENIB_TRUE=
 
15420
  OSM_BUILD_OPENIB_FALSE='#'
 
15421
else
 
15422
  OSM_BUILD_OPENIB_TRUE='#'
 
15423
  OSM_BUILD_OPENIB_FALSE=
 
15424
fi
 
15425
 
 
15426
 
 
15427
 
 
15428
 
 
15429
 
 
15430
 
 
15431
 
 
15432
 
 
15433
# --- OPENIB_APP_OSM ---
 
15434
 
 
15435
 
 
15436
ac_config_files="$ac_config_files Makefile src/Makefile tests/Makefile doc/Makefile"
 
15437
 
 
15438
cat >confcache <<\_ACEOF
 
15439
# This file is a shell script that caches the results of configure
 
15440
# tests run on this system so they can be shared between configure
 
15441
# scripts and configure runs, see configure's option --config-cache.
 
15442
# It is not useful on other systems.  If it contains results you don't
 
15443
# want to keep, you may remove or edit it.
 
15444
#
 
15445
# config.status only pays attention to the cache file if you give it
 
15446
# the --recheck option to rerun configure.
 
15447
#
 
15448
# `ac_cv_env_foo' variables (set or unset) will be overridden when
 
15449
# loading this file, other *unset* `ac_cv_foo' will be assigned the
 
15450
# following values.
 
15451
 
 
15452
_ACEOF
 
15453
 
 
15454
# The following way of writing the cache mishandles newlines in values,
 
15455
# but we know of no workaround that is simple, portable, and efficient.
 
15456
# So, we kill variables containing newlines.
 
15457
# Ultrix sh set writes to stderr and can't be redirected directly,
 
15458
# and sets the high bit in the cache file unless we assign to the vars.
 
15459
(
 
15460
  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
 
15461
    eval ac_val=\$$ac_var
 
15462
    case $ac_val in #(
 
15463
    *${as_nl}*)
 
15464
      case $ac_var in #(
 
15465
      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
 
15466
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
 
15467
      esac
 
15468
      case $ac_var in #(
 
15469
      _ | IFS | as_nl) ;; #(
 
15470
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
 
15471
      *) { eval $ac_var=; unset $ac_var;} ;;
 
15472
      esac ;;
 
15473
    esac
 
15474
  done
 
15475
 
 
15476
  (set) 2>&1 |
 
15477
    case $as_nl`(ac_space=' '; set) 2>&1` in #(
 
15478
    *${as_nl}ac_space=\ *)
 
15479
      # `set' does not quote correctly, so add quotes: double-quote
 
15480
      # substitution turns \\\\ into \\, and sed turns \\ into \.
 
15481
      sed -n \
 
15482
        "s/'/'\\\\''/g;
 
15483
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
 
15484
      ;; #(
 
15485
    *)
 
15486
      # `set' quotes correctly as required by POSIX, so do not add quotes.
 
15487
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
 
15488
      ;;
 
15489
    esac |
 
15490
    sort
 
15491
) |
 
15492
  sed '
 
15493
     /^ac_cv_env_/b end
 
15494
     t clear
 
15495
     :clear
 
15496
     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
 
15497
     t end
 
15498
     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
 
15499
     :end' >>confcache
 
15500
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
 
15501
  if test -w "$cache_file"; then
 
15502
    test "x$cache_file" != "x/dev/null" &&
 
15503
      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
 
15504
$as_echo "$as_me: updating cache $cache_file" >&6;}
 
15505
    cat confcache >$cache_file
 
15506
  else
 
15507
    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
 
15508
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
 
15509
  fi
 
15510
fi
 
15511
rm -f confcache
 
15512
 
 
15513
test "x$prefix" = xNONE && prefix=$ac_default_prefix
 
15514
# Let make expand exec_prefix.
 
15515
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
 
15516
 
 
15517
DEFS=-DHAVE_CONFIG_H
 
15518
 
 
15519
ac_libobjs=
 
15520
ac_ltlibobjs=
 
15521
for ac_i in : $LIB@&t@OBJS; do test "x$ac_i" = x: && continue
 
15522
  # 1. Remove the extension, and $U if already installed.
 
15523
  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
 
15524
  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
 
15525
  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
 
15526
  #    will be set to the directory where LIBOBJS objects are built.
 
15527
  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
 
15528
  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
 
15529
done
 
15530
LIB@&t@OBJS=$ac_libobjs
 
15531
 
 
15532
LTLIBOBJS=$ac_ltlibobjs
 
15533
 
 
15534
 
 
15535
 if test -n "$EXEEXT"; then
 
15536
  am__EXEEXT_TRUE=
 
15537
  am__EXEEXT_FALSE='#'
 
15538
else
 
15539
  am__EXEEXT_TRUE='#'
 
15540
  am__EXEEXT_FALSE=
 
15541
fi
 
15542
 
 
15543
if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
 
15544
  as_fn_error "conditional \"MAINTAINER_MODE\" was never defined.
 
15545
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
15546
fi
 
15547
if test -z "${HAS_SWIG_TRUE}" && test -z "${HAS_SWIG_FALSE}"; then
 
15548
  as_fn_error "conditional \"HAS_SWIG\" was never defined.
 
15549
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
15550
fi
 
15551
if test -z "${HAS_SWIG_TRUE}" && test -z "${HAS_SWIG_FALSE}"; then
 
15552
  as_fn_error "conditional \"HAS_SWIG\" was never defined.
 
15553
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
15554
fi
 
15555
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
 
15556
  as_fn_error "conditional \"AMDEP\" was never defined.
 
15557
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
15558
fi
 
15559
if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
 
15560
  as_fn_error "conditional \"am__fastdepCXX\" was never defined.
 
15561
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
15562
fi
 
15563
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
 
15564
  as_fn_error "conditional \"am__fastdepCC\" was never defined.
 
15565
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
15566
fi
 
15567
if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
 
15568
  as_fn_error "conditional \"am__fastdepCXX\" was never defined.
 
15569
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
15570
fi
 
15571
if test -z "${DEBUG_TRUE}" && test -z "${DEBUG_FALSE}"; then
 
15572
  as_fn_error "conditional \"DEBUG\" was never defined.
 
15573
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
15574
fi
 
15575
if test -z "${OSM_VENDOR_TS_TRUE}" && test -z "${OSM_VENDOR_TS_FALSE}"; then
 
15576
  as_fn_error "conditional \"OSM_VENDOR_TS\" was never defined.
 
15577
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
15578
fi
 
15579
if test -z "${OSM_VENDOR_MTL_TRUE}" && test -z "${OSM_VENDOR_MTL_FALSE}"; then
 
15580
  as_fn_error "conditional \"OSM_VENDOR_MTL\" was never defined.
 
15581
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
15582
fi
 
15583
if test -z "${OSM_VENDOR_SIM_TRUE}" && test -z "${OSM_VENDOR_SIM_FALSE}"; then
 
15584
  as_fn_error "conditional \"OSM_VENDOR_SIM\" was never defined.
 
15585
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
15586
fi
 
15587
if test -z "${OSM_BUILD_OPENIB_TRUE}" && test -z "${OSM_BUILD_OPENIB_FALSE}"; then
 
15588
  as_fn_error "conditional \"OSM_BUILD_OPENIB\" was never defined.
 
15589
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
15590
fi
 
15591
 
 
15592
: ${CONFIG_STATUS=./config.status}
 
15593
ac_write_fail=0
 
15594
ac_clean_files_save=$ac_clean_files
 
15595
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
 
15596
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
 
15597
$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
 
15598
as_write_fail=0
 
15599
cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
 
15600
#! $SHELL
 
15601
# Generated by $as_me.
 
15602
# Run this file to recreate the current configuration.
 
15603
# Compiler output produced by configure, useful for debugging
 
15604
# configure, is in config.log if it exists.
 
15605
 
 
15606
debug=false
 
15607
ac_cs_recheck=false
 
15608
ac_cs_silent=false
 
15609
 
 
15610
SHELL=\${CONFIG_SHELL-$SHELL}
 
15611
export SHELL
 
15612
_ASEOF
 
15613
cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
 
15614
## -------------------- ##
 
15615
## M4sh Initialization. ##
 
15616
## -------------------- ##
 
15617
 
 
15618
# Be more Bourne compatible
 
15619
DUALCASE=1; export DUALCASE # for MKS sh
 
15620
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
 
15621
  emulate sh
 
15622
  NULLCMD=:
 
15623
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
 
15624
  # is contrary to our usage.  Disable this feature.
 
15625
  alias -g '${1+"$@"}'='"$@"'
 
15626
  setopt NO_GLOB_SUBST
 
15627
else
 
15628
  case `(set -o) 2>/dev/null` in @%:@(
 
15629
  *posix*) :
 
15630
    set -o posix ;; @%:@(
 
15631
  *) :
 
15632
     ;;
 
15633
esac
 
15634
fi
 
15635
 
 
15636
 
 
15637
as_nl='
 
15638
'
 
15639
export as_nl
 
15640
# Printing a long string crashes Solaris 7 /usr/bin/printf.
 
15641
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
 
15642
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
 
15643
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
 
15644
# Prefer a ksh shell builtin over an external printf program on Solaris,
 
15645
# but without wasting forks for bash or zsh.
 
15646
if test -z "$BASH_VERSION$ZSH_VERSION" \
 
15647
    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
 
15648
  as_echo='print -r --'
 
15649
  as_echo_n='print -rn --'
 
15650
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
 
15651
  as_echo='printf %s\n'
 
15652
  as_echo_n='printf %s'
 
15653
else
 
15654
  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
 
15655
    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
 
15656
    as_echo_n='/usr/ucb/echo -n'
 
15657
  else
 
15658
    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
 
15659
    as_echo_n_body='eval
 
15660
      arg=$1;
 
15661
      case $arg in @%:@(
 
15662
      *"$as_nl"*)
 
15663
        expr "X$arg" : "X\\(.*\\)$as_nl";
 
15664
        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
 
15665
      esac;
 
15666
      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
 
15667
    '
 
15668
    export as_echo_n_body
 
15669
    as_echo_n='sh -c $as_echo_n_body as_echo'
 
15670
  fi
 
15671
  export as_echo_body
 
15672
  as_echo='sh -c $as_echo_body as_echo'
 
15673
fi
 
15674
 
 
15675
# The user is always right.
 
15676
if test "${PATH_SEPARATOR+set}" != set; then
 
15677
  PATH_SEPARATOR=:
 
15678
  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
 
15679
    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
 
15680
      PATH_SEPARATOR=';'
 
15681
  }
 
15682
fi
 
15683
 
 
15684
 
 
15685
# IFS
 
15686
# We need space, tab and new line, in precisely that order.  Quoting is
 
15687
# there to prevent editors from complaining about space-tab.
 
15688
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
 
15689
# splitting by setting IFS to empty value.)
 
15690
IFS=" ""        $as_nl"
 
15691
 
 
15692
# Find who we are.  Look in the path if we contain no directory separator.
 
15693
case $0 in @%:@((
 
15694
  *[\\/]* ) as_myself=$0 ;;
 
15695
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
15696
for as_dir in $PATH
 
15697
do
 
15698
  IFS=$as_save_IFS
 
15699
  test -z "$as_dir" && as_dir=.
 
15700
    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
 
15701
  done
 
15702
IFS=$as_save_IFS
 
15703
 
 
15704
     ;;
 
15705
esac
 
15706
# We did not find ourselves, most probably we were run as `sh COMMAND'
 
15707
# in which case we are not to be found in the path.
 
15708
if test "x$as_myself" = x; then
 
15709
  as_myself=$0
 
15710
fi
 
15711
if test ! -f "$as_myself"; then
 
15712
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
 
15713
  exit 1
 
15714
fi
 
15715
 
 
15716
# Unset variables that we do not need and which cause bugs (e.g. in
 
15717
# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
 
15718
# suppresses any "Segmentation fault" message there.  '((' could
 
15719
# trigger a bug in pdksh 5.2.14.
 
15720
for as_var in BASH_ENV ENV MAIL MAILPATH
 
15721
do eval test x\${$as_var+set} = xset \
 
15722
  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
 
15723
done
 
15724
PS1='$ '
 
15725
PS2='> '
 
15726
PS4='+ '
 
15727
 
 
15728
# NLS nuisances.
 
15729
LC_ALL=C
 
15730
export LC_ALL
 
15731
LANGUAGE=C
 
15732
export LANGUAGE
 
15733
 
 
15734
# CDPATH.
 
15735
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
 
15736
 
 
15737
 
 
15738
@%:@ as_fn_error ERROR [LINENO LOG_FD]
 
15739
@%:@ ---------------------------------
 
15740
@%:@ Output "`basename @S|@0`: error: ERROR" to stderr. If LINENO and LOG_FD are
 
15741
@%:@ provided, also output the error to LOG_FD, referencing LINENO. Then exit the
 
15742
@%:@ script with status @S|@?, using 1 if that was 0.
 
15743
as_fn_error ()
 
15744
{
 
15745
  as_status=$?; test $as_status -eq 0 && as_status=1
 
15746
  if test "$3"; then
 
15747
    as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
15748
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
 
15749
  fi
 
15750
  $as_echo "$as_me: error: $1" >&2
 
15751
  as_fn_exit $as_status
 
15752
} @%:@ as_fn_error
 
15753
 
 
15754
 
 
15755
@%:@ as_fn_set_status STATUS
 
15756
@%:@ -----------------------
 
15757
@%:@ Set @S|@? to STATUS, without forking.
 
15758
as_fn_set_status ()
 
15759
{
 
15760
  return $1
 
15761
} @%:@ as_fn_set_status
 
15762
 
 
15763
@%:@ as_fn_exit STATUS
 
15764
@%:@ -----------------
 
15765
@%:@ Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
 
15766
as_fn_exit ()
 
15767
{
 
15768
  set +e
 
15769
  as_fn_set_status $1
 
15770
  exit $1
 
15771
} @%:@ as_fn_exit
 
15772
 
 
15773
@%:@ as_fn_unset VAR
 
15774
@%:@ ---------------
 
15775
@%:@ Portably unset VAR.
 
15776
as_fn_unset ()
 
15777
{
 
15778
  { eval $1=; unset $1;}
 
15779
}
 
15780
as_unset=as_fn_unset
 
15781
@%:@ as_fn_append VAR VALUE
 
15782
@%:@ ----------------------
 
15783
@%:@ Append the text in VALUE to the end of the definition contained in VAR. Take
 
15784
@%:@ advantage of any shell optimizations that allow amortized linear growth over
 
15785
@%:@ repeated appends, instead of the typical quadratic growth present in naive
 
15786
@%:@ implementations.
 
15787
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
 
15788
  eval 'as_fn_append ()
 
15789
  {
 
15790
    eval $1+=\$2
 
15791
  }'
 
15792
else
 
15793
  as_fn_append ()
 
15794
  {
 
15795
    eval $1=\$$1\$2
 
15796
  }
 
15797
fi # as_fn_append
 
15798
 
 
15799
@%:@ as_fn_arith ARG...
 
15800
@%:@ ------------------
 
15801
@%:@ Perform arithmetic evaluation on the ARGs, and store the result in the
 
15802
@%:@ global @S|@as_val. Take advantage of shells that can avoid forks. The arguments
 
15803
@%:@ must be portable across @S|@(()) and expr.
 
15804
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
 
15805
  eval 'as_fn_arith ()
 
15806
  {
 
15807
    as_val=$(( $* ))
 
15808
  }'
 
15809
else
 
15810
  as_fn_arith ()
 
15811
  {
 
15812
    as_val=`expr "$@" || test $? -eq 1`
 
15813
  }
 
15814
fi # as_fn_arith
 
15815
 
 
15816
 
 
15817
if expr a : '\(a\)' >/dev/null 2>&1 &&
 
15818
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
 
15819
  as_expr=expr
 
15820
else
 
15821
  as_expr=false
 
15822
fi
 
15823
 
 
15824
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
 
15825
  as_basename=basename
 
15826
else
 
15827
  as_basename=false
 
15828
fi
 
15829
 
 
15830
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
 
15831
  as_dirname=dirname
 
15832
else
 
15833
  as_dirname=false
 
15834
fi
 
15835
 
 
15836
as_me=`$as_basename -- "$0" ||
 
15837
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
 
15838
         X"$0" : 'X\(//\)$' \| \
 
15839
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
 
15840
$as_echo X/"$0" |
 
15841
    sed '/^.*\/\([^/][^/]*\)\/*$/{
 
15842
            s//\1/
 
15843
            q
 
15844
          }
 
15845
          /^X\/\(\/\/\)$/{
 
15846
            s//\1/
 
15847
            q
 
15848
          }
 
15849
          /^X\/\(\/\).*/{
 
15850
            s//\1/
 
15851
            q
 
15852
          }
 
15853
          s/.*/./; q'`
 
15854
 
 
15855
# Avoid depending upon Character Ranges.
 
15856
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
 
15857
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
 
15858
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
 
15859
as_cr_digits='0123456789'
 
15860
as_cr_alnum=$as_cr_Letters$as_cr_digits
 
15861
 
 
15862
ECHO_C= ECHO_N= ECHO_T=
 
15863
case `echo -n x` in @%:@(((((
 
15864
-n*)
 
15865
  case `echo 'xy\c'` in
 
15866
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
 
15867
  xy)  ECHO_C='\c';;
 
15868
  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
 
15869
       ECHO_T=' ';;
 
15870
  esac;;
 
15871
*)
 
15872
  ECHO_N='-n';;
 
15873
esac
 
15874
 
 
15875
rm -f conf$$ conf$$.exe conf$$.file
 
15876
if test -d conf$$.dir; then
 
15877
  rm -f conf$$.dir/conf$$.file
 
15878
else
 
15879
  rm -f conf$$.dir
 
15880
  mkdir conf$$.dir 2>/dev/null
 
15881
fi
 
15882
if (echo >conf$$.file) 2>/dev/null; then
 
15883
  if ln -s conf$$.file conf$$ 2>/dev/null; then
 
15884
    as_ln_s='ln -s'
 
15885
    # ... but there are two gotchas:
 
15886
    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
 
15887
    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
 
15888
    # In both cases, we have to default to `cp -p'.
 
15889
    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
 
15890
      as_ln_s='cp -p'
 
15891
  elif ln conf$$.file conf$$ 2>/dev/null; then
 
15892
    as_ln_s=ln
 
15893
  else
 
15894
    as_ln_s='cp -p'
 
15895
  fi
 
15896
else
 
15897
  as_ln_s='cp -p'
 
15898
fi
 
15899
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
 
15900
rmdir conf$$.dir 2>/dev/null
 
15901
 
 
15902
 
 
15903
@%:@ as_fn_mkdir_p
 
15904
@%:@ -------------
 
15905
@%:@ Create "@S|@as_dir" as a directory, including parents if necessary.
 
15906
as_fn_mkdir_p ()
 
15907
{
 
15908
 
 
15909
  case $as_dir in #(
 
15910
  -*) as_dir=./$as_dir;;
 
15911
  esac
 
15912
  test -d "$as_dir" || eval $as_mkdir_p || {
 
15913
    as_dirs=
 
15914
    while :; do
 
15915
      case $as_dir in #(
 
15916
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
 
15917
      *) as_qdir=$as_dir;;
 
15918
      esac
 
15919
      as_dirs="'$as_qdir' $as_dirs"
 
15920
      as_dir=`$as_dirname -- "$as_dir" ||
 
15921
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
15922
         X"$as_dir" : 'X\(//\)[^/]' \| \
 
15923
         X"$as_dir" : 'X\(//\)$' \| \
 
15924
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
 
15925
$as_echo X"$as_dir" |
 
15926
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
15927
            s//\1/
 
15928
            q
 
15929
          }
 
15930
          /^X\(\/\/\)[^/].*/{
 
15931
            s//\1/
 
15932
            q
 
15933
          }
 
15934
          /^X\(\/\/\)$/{
 
15935
            s//\1/
 
15936
            q
 
15937
          }
 
15938
          /^X\(\/\).*/{
 
15939
            s//\1/
 
15940
            q
 
15941
          }
 
15942
          s/.*/./; q'`
 
15943
      test -d "$as_dir" && break
 
15944
    done
 
15945
    test -z "$as_dirs" || eval "mkdir $as_dirs"
 
15946
  } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
 
15947
 
 
15948
 
 
15949
} @%:@ as_fn_mkdir_p
 
15950
if mkdir -p . 2>/dev/null; then
 
15951
  as_mkdir_p='mkdir -p "$as_dir"'
 
15952
else
 
15953
  test -d ./-p && rmdir ./-p
 
15954
  as_mkdir_p=false
 
15955
fi
 
15956
 
 
15957
if test -x / >/dev/null 2>&1; then
 
15958
  as_test_x='test -x'
 
15959
else
 
15960
  if ls -dL / >/dev/null 2>&1; then
 
15961
    as_ls_L_option=L
 
15962
  else
 
15963
    as_ls_L_option=
 
15964
  fi
 
15965
  as_test_x='
 
15966
    eval sh -c '\''
 
15967
      if test -d "$1"; then
 
15968
        test -d "$1/.";
 
15969
      else
 
15970
        case $1 in @%:@(
 
15971
        -*)set "./$1";;
 
15972
        esac;
 
15973
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in @%:@((
 
15974
        ???[sx]*):;;*)false;;esac;fi
 
15975
    '\'' sh
 
15976
  '
 
15977
fi
 
15978
as_executable_p=$as_test_x
 
15979
 
 
15980
# Sed expression to map a string onto a valid CPP name.
 
15981
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
 
15982
 
 
15983
# Sed expression to map a string onto a valid variable name.
 
15984
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
 
15985
 
 
15986
 
 
15987
exec 6>&1
 
15988
## ----------------------------------- ##
 
15989
## Main body of $CONFIG_STATUS script. ##
 
15990
## ----------------------------------- ##
 
15991
_ASEOF
 
15992
test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
 
15993
 
 
15994
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
15995
# Save the log message, to keep $0 and so on meaningful, and to
 
15996
# report actual input values of CONFIG_FILES etc. instead of their
 
15997
# values after options handling.
 
15998
ac_log="
 
15999
This file was extended by ibis $as_me 1.5.7, which was
 
16000
generated by GNU Autoconf 2.65.  Invocation command line was
 
16001
 
 
16002
  CONFIG_FILES    = $CONFIG_FILES
 
16003
  CONFIG_HEADERS  = $CONFIG_HEADERS
 
16004
  CONFIG_LINKS    = $CONFIG_LINKS
 
16005
  CONFIG_COMMANDS = $CONFIG_COMMANDS
 
16006
  $ $0 $@
 
16007
 
 
16008
on `(hostname || uname -n) 2>/dev/null | sed 1q`
 
16009
"
 
16010
 
 
16011
_ACEOF
 
16012
 
 
16013
case $ac_config_files in *"
 
16014
"*) set x $ac_config_files; shift; ac_config_files=$*;;
 
16015
esac
 
16016
 
 
16017
case $ac_config_headers in *"
 
16018
"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
 
16019
esac
 
16020
 
 
16021
 
 
16022
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
16023
# Files that config.status was made for.
 
16024
config_files="$ac_config_files"
 
16025
config_headers="$ac_config_headers"
 
16026
config_commands="$ac_config_commands"
 
16027
 
 
16028
_ACEOF
 
16029
 
 
16030
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
16031
ac_cs_usage="\
 
16032
\`$as_me' instantiates files and other configuration actions
 
16033
from templates according to the current configuration.  Unless the files
 
16034
and actions are specified as TAGs, all are instantiated by default.
 
16035
 
 
16036
Usage: $0 [OPTION]... [TAG]...
 
16037
 
 
16038
  -h, --help       print this help, then exit
 
16039
  -V, --version    print version number and configuration settings, then exit
 
16040
      --config     print configuration, then exit
 
16041
  -q, --quiet, --silent
 
16042
                   do not print progress messages
 
16043
  -d, --debug      don't remove temporary files
 
16044
      --recheck    update $as_me by reconfiguring in the same conditions
 
16045
      --file=FILE[:TEMPLATE] 
 
16046
                   instantiate the configuration file FILE
 
16047
      --header=FILE[:TEMPLATE] 
 
16048
                   instantiate the configuration header FILE
 
16049
 
 
16050
Configuration files:
 
16051
$config_files
 
16052
 
 
16053
Configuration headers:
 
16054
$config_headers
 
16055
 
 
16056
Configuration commands:
 
16057
$config_commands
 
16058
 
 
16059
Report bugs to the package provider."
 
16060
 
 
16061
_ACEOF
 
16062
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
16063
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
 
16064
ac_cs_version="\\
 
16065
ibis config.status 1.5.7
 
16066
configured by $0, generated by GNU Autoconf 2.65,
 
16067
  with options \\"\$ac_cs_config\\"
 
16068
 
 
16069
Copyright (C) 2009 Free Software Foundation, Inc.
 
16070
This config.status script is free software; the Free Software Foundation
 
16071
gives unlimited permission to copy, distribute and modify it."
 
16072
 
 
16073
ac_pwd='$ac_pwd'
 
16074
srcdir='$srcdir'
 
16075
INSTALL='$INSTALL'
 
16076
MKDIR_P='$MKDIR_P'
 
16077
AWK='$AWK'
 
16078
test -n "\$AWK" || AWK=awk
 
16079
_ACEOF
 
16080
 
 
16081
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
16082
# The default lists apply if the user does not specify any file.
 
16083
ac_need_defaults=:
 
16084
while test $# != 0
 
16085
do
 
16086
  case $1 in
 
16087
  --*=*)
 
16088
    ac_option=`expr "X$1" : 'X\([^=]*\)='`
 
16089
    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
 
16090
    ac_shift=:
 
16091
    ;;
 
16092
  *)
 
16093
    ac_option=$1
 
16094
    ac_optarg=$2
 
16095
    ac_shift=shift
 
16096
    ;;
 
16097
  esac
 
16098
 
 
16099
  case $ac_option in
 
16100
  # Handling of the options.
 
16101
  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
 
16102
    ac_cs_recheck=: ;;
 
16103
  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
 
16104
    $as_echo "$ac_cs_version"; exit ;;
 
16105
  --config | --confi | --conf | --con | --co | --c )
 
16106
    $as_echo "$ac_cs_config"; exit ;;
 
16107
  --debug | --debu | --deb | --de | --d | -d )
 
16108
    debug=: ;;
 
16109
  --file | --fil | --fi | --f )
 
16110
    $ac_shift
 
16111
    case $ac_optarg in
 
16112
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
 
16113
    esac
 
16114
    as_fn_append CONFIG_FILES " '$ac_optarg'"
 
16115
    ac_need_defaults=false;;
 
16116
  --header | --heade | --head | --hea )
 
16117
    $ac_shift
 
16118
    case $ac_optarg in
 
16119
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
 
16120
    esac
 
16121
    as_fn_append CONFIG_HEADERS " '$ac_optarg'"
 
16122
    ac_need_defaults=false;;
 
16123
  --he | --h)
 
16124
    # Conflict between --help and --header
 
16125
    as_fn_error "ambiguous option: \`$1'
 
16126
Try \`$0 --help' for more information.";;
 
16127
  --help | --hel | -h )
 
16128
    $as_echo "$ac_cs_usage"; exit ;;
 
16129
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
 
16130
  | -silent | --silent | --silen | --sile | --sil | --si | --s)
 
16131
    ac_cs_silent=: ;;
 
16132
 
 
16133
  # This is an error.
 
16134
  -*) as_fn_error "unrecognized option: \`$1'
 
16135
Try \`$0 --help' for more information." ;;
 
16136
 
 
16137
  *) as_fn_append ac_config_targets " $1"
 
16138
     ac_need_defaults=false ;;
 
16139
 
 
16140
  esac
 
16141
  shift
 
16142
done
 
16143
 
 
16144
ac_configure_extra_args=
 
16145
 
 
16146
if $ac_cs_silent; then
 
16147
  exec 6>/dev/null
 
16148
  ac_configure_extra_args="$ac_configure_extra_args --silent"
 
16149
fi
 
16150
 
 
16151
_ACEOF
 
16152
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
16153
if \$ac_cs_recheck; then
 
16154
  set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
 
16155
  shift
 
16156
  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
 
16157
  CONFIG_SHELL='$SHELL'
 
16158
  export CONFIG_SHELL
 
16159
  exec "\$@"
 
16160
fi
 
16161
 
 
16162
_ACEOF
 
16163
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
16164
exec 5>>config.log
 
16165
{
 
16166
  echo
 
16167
  sed 'h;s/./-/g;s/^.../@%:@@%:@ /;s/...$/ @%:@@%:@/;p;x;p;x' <<_ASBOX
 
16168
@%:@@%:@ Running $as_me. @%:@@%:@
 
16169
_ASBOX
 
16170
  $as_echo "$ac_log"
 
16171
} >&5
 
16172
 
 
16173
_ACEOF
 
16174
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
16175
#
 
16176
# INIT-COMMANDS
 
16177
#
 
16178
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
 
16179
 
 
16180
 
 
16181
# The HP-UX ksh and POSIX shell print the target directory to stdout
 
16182
# if CDPATH is set.
 
16183
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
 
16184
 
 
16185
sed_quote_subst='$sed_quote_subst'
 
16186
double_quote_subst='$double_quote_subst'
 
16187
delay_variable_subst='$delay_variable_subst'
 
16188
macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
 
16189
macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
 
16190
enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
 
16191
enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
 
16192
pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
 
16193
enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
 
16194
host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
 
16195
host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
 
16196
host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
 
16197
build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
 
16198
build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
 
16199
build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
 
16200
SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
 
16201
Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
 
16202
GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
 
16203
EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
 
16204
FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
 
16205
LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
 
16206
NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
 
16207
LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
 
16208
max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
 
16209
ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
 
16210
exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
 
16211
lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
 
16212
lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
 
16213
lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
 
16214
reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
 
16215
reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
16216
OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
 
16217
deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
 
16218
file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
 
16219
AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
 
16220
AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
 
16221
STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
 
16222
RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
 
16223
old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
16224
old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
16225
old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
16226
CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
 
16227
CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
 
16228
compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
 
16229
GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
 
16230
lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
 
16231
lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
 
16232
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"`'
 
16233
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"`'
 
16234
objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
 
16235
SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
 
16236
ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
 
16237
MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
 
16238
lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
 
16239
lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
 
16240
lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
 
16241
lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
 
16242
lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
 
16243
need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
 
16244
DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
 
16245
NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
 
16246
LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
 
16247
OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
 
16248
OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
 
16249
libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
 
16250
shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
16251
extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
16252
archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
 
16253
enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
 
16254
export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
16255
whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
16256
compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
 
16257
old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
16258
old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
16259
archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
16260
archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
16261
module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
16262
module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
16263
with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
 
16264
allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
 
16265
no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
 
16266
hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
16267
hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
 
16268
hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
 
16269
hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
 
16270
hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
 
16271
hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
 
16272
hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
 
16273
hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
 
16274
inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
 
16275
link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
 
16276
fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
 
16277
always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
 
16278
export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
16279
exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
 
16280
include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
 
16281
prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
16282
file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
16283
variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
 
16284
need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
 
16285
need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
 
16286
version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
 
16287
runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
 
16288
shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
 
16289
shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
 
16290
libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
16291
library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
16292
soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
16293
postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
16294
postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
16295
finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
16296
finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
 
16297
hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
 
16298
sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
16299
sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
16300
hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
 
16301
enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
 
16302
enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
 
16303
enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
 
16304
old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
 
16305
striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
 
16306
compiler_lib_search_dirs='`$ECHO "X$compiler_lib_search_dirs" | $Xsed -e "$delay_single_quote_subst"`'
 
16307
predep_objects='`$ECHO "X$predep_objects" | $Xsed -e "$delay_single_quote_subst"`'
 
16308
postdep_objects='`$ECHO "X$postdep_objects" | $Xsed -e "$delay_single_quote_subst"`'
 
16309
predeps='`$ECHO "X$predeps" | $Xsed -e "$delay_single_quote_subst"`'
 
16310
postdeps='`$ECHO "X$postdeps" | $Xsed -e "$delay_single_quote_subst"`'
 
16311
compiler_lib_search_path='`$ECHO "X$compiler_lib_search_path" | $Xsed -e "$delay_single_quote_subst"`'
 
16312
LD_CXX='`$ECHO "X$LD_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
16313
old_archive_cmds_CXX='`$ECHO "X$old_archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
16314
compiler_CXX='`$ECHO "X$compiler_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
16315
GCC_CXX='`$ECHO "X$GCC_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
16316
lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "X$lt_prog_compiler_no_builtin_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
16317
lt_prog_compiler_wl_CXX='`$ECHO "X$lt_prog_compiler_wl_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
16318
lt_prog_compiler_pic_CXX='`$ECHO "X$lt_prog_compiler_pic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
16319
lt_prog_compiler_static_CXX='`$ECHO "X$lt_prog_compiler_static_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
16320
lt_cv_prog_compiler_c_o_CXX='`$ECHO "X$lt_cv_prog_compiler_c_o_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
16321
archive_cmds_need_lc_CXX='`$ECHO "X$archive_cmds_need_lc_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
16322
enable_shared_with_static_runtimes_CXX='`$ECHO "X$enable_shared_with_static_runtimes_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
16323
export_dynamic_flag_spec_CXX='`$ECHO "X$export_dynamic_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
16324
whole_archive_flag_spec_CXX='`$ECHO "X$whole_archive_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
16325
compiler_needs_object_CXX='`$ECHO "X$compiler_needs_object_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
16326
old_archive_from_new_cmds_CXX='`$ECHO "X$old_archive_from_new_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
16327
old_archive_from_expsyms_cmds_CXX='`$ECHO "X$old_archive_from_expsyms_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
16328
archive_cmds_CXX='`$ECHO "X$archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
16329
archive_expsym_cmds_CXX='`$ECHO "X$archive_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
16330
module_cmds_CXX='`$ECHO "X$module_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
16331
module_expsym_cmds_CXX='`$ECHO "X$module_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
16332
with_gnu_ld_CXX='`$ECHO "X$with_gnu_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
16333
allow_undefined_flag_CXX='`$ECHO "X$allow_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
16334
no_undefined_flag_CXX='`$ECHO "X$no_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
16335
hardcode_libdir_flag_spec_CXX='`$ECHO "X$hardcode_libdir_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
16336
hardcode_libdir_flag_spec_ld_CXX='`$ECHO "X$hardcode_libdir_flag_spec_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
16337
hardcode_libdir_separator_CXX='`$ECHO "X$hardcode_libdir_separator_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
16338
hardcode_direct_CXX='`$ECHO "X$hardcode_direct_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
16339
hardcode_direct_absolute_CXX='`$ECHO "X$hardcode_direct_absolute_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
16340
hardcode_minus_L_CXX='`$ECHO "X$hardcode_minus_L_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
16341
hardcode_shlibpath_var_CXX='`$ECHO "X$hardcode_shlibpath_var_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
16342
hardcode_automatic_CXX='`$ECHO "X$hardcode_automatic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
16343
inherit_rpath_CXX='`$ECHO "X$inherit_rpath_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
16344
link_all_deplibs_CXX='`$ECHO "X$link_all_deplibs_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
16345
fix_srcfile_path_CXX='`$ECHO "X$fix_srcfile_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
16346
always_export_symbols_CXX='`$ECHO "X$always_export_symbols_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
16347
export_symbols_cmds_CXX='`$ECHO "X$export_symbols_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
16348
exclude_expsyms_CXX='`$ECHO "X$exclude_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
16349
include_expsyms_CXX='`$ECHO "X$include_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
16350
prelink_cmds_CXX='`$ECHO "X$prelink_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
16351
file_list_spec_CXX='`$ECHO "X$file_list_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
16352
hardcode_action_CXX='`$ECHO "X$hardcode_action_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
16353
compiler_lib_search_dirs_CXX='`$ECHO "X$compiler_lib_search_dirs_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
16354
predep_objects_CXX='`$ECHO "X$predep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
16355
postdep_objects_CXX='`$ECHO "X$postdep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
16356
predeps_CXX='`$ECHO "X$predeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
16357
postdeps_CXX='`$ECHO "X$postdeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
16358
compiler_lib_search_path_CXX='`$ECHO "X$compiler_lib_search_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
16359
 
 
16360
LTCC='$LTCC'
 
16361
LTCFLAGS='$LTCFLAGS'
 
16362
compiler='$compiler_DEFAULT'
 
16363
 
 
16364
# Quote evaled strings.
 
16365
for var in SED \
 
16366
GREP \
 
16367
EGREP \
 
16368
FGREP \
 
16369
LD \
 
16370
NM \
 
16371
LN_S \
 
16372
lt_SP2NL \
 
16373
lt_NL2SP \
 
16374
reload_flag \
 
16375
OBJDUMP \
 
16376
deplibs_check_method \
 
16377
file_magic_cmd \
 
16378
AR \
 
16379
AR_FLAGS \
 
16380
STRIP \
 
16381
RANLIB \
 
16382
CC \
 
16383
CFLAGS \
 
16384
compiler \
 
16385
lt_cv_sys_global_symbol_pipe \
 
16386
lt_cv_sys_global_symbol_to_cdecl \
 
16387
lt_cv_sys_global_symbol_to_c_name_address \
 
16388
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
 
16389
SHELL \
 
16390
ECHO \
 
16391
lt_prog_compiler_no_builtin_flag \
 
16392
lt_prog_compiler_wl \
 
16393
lt_prog_compiler_pic \
 
16394
lt_prog_compiler_static \
 
16395
lt_cv_prog_compiler_c_o \
 
16396
need_locks \
 
16397
DSYMUTIL \
 
16398
NMEDIT \
 
16399
LIPO \
 
16400
OTOOL \
 
16401
OTOOL64 \
 
16402
shrext_cmds \
 
16403
export_dynamic_flag_spec \
 
16404
whole_archive_flag_spec \
 
16405
compiler_needs_object \
 
16406
with_gnu_ld \
 
16407
allow_undefined_flag \
 
16408
no_undefined_flag \
 
16409
hardcode_libdir_flag_spec \
 
16410
hardcode_libdir_flag_spec_ld \
 
16411
hardcode_libdir_separator \
 
16412
fix_srcfile_path \
 
16413
exclude_expsyms \
 
16414
include_expsyms \
 
16415
file_list_spec \
 
16416
variables_saved_for_relink \
 
16417
libname_spec \
 
16418
library_names_spec \
 
16419
soname_spec \
 
16420
finish_eval \
 
16421
old_striplib \
 
16422
striplib \
 
16423
compiler_lib_search_dirs \
 
16424
predep_objects \
 
16425
postdep_objects \
 
16426
predeps \
 
16427
postdeps \
 
16428
compiler_lib_search_path \
 
16429
LD_CXX \
 
16430
compiler_CXX \
 
16431
lt_prog_compiler_no_builtin_flag_CXX \
 
16432
lt_prog_compiler_wl_CXX \
 
16433
lt_prog_compiler_pic_CXX \
 
16434
lt_prog_compiler_static_CXX \
 
16435
lt_cv_prog_compiler_c_o_CXX \
 
16436
export_dynamic_flag_spec_CXX \
 
16437
whole_archive_flag_spec_CXX \
 
16438
compiler_needs_object_CXX \
 
16439
with_gnu_ld_CXX \
 
16440
allow_undefined_flag_CXX \
 
16441
no_undefined_flag_CXX \
 
16442
hardcode_libdir_flag_spec_CXX \
 
16443
hardcode_libdir_flag_spec_ld_CXX \
 
16444
hardcode_libdir_separator_CXX \
 
16445
fix_srcfile_path_CXX \
 
16446
exclude_expsyms_CXX \
 
16447
include_expsyms_CXX \
 
16448
file_list_spec_CXX \
 
16449
compiler_lib_search_dirs_CXX \
 
16450
predep_objects_CXX \
 
16451
postdep_objects_CXX \
 
16452
predeps_CXX \
 
16453
postdeps_CXX \
 
16454
compiler_lib_search_path_CXX; do
 
16455
    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
 
16456
    *[\\\\\\\`\\"\\\$]*)
 
16457
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
 
16458
      ;;
 
16459
    *)
 
16460
      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
 
16461
      ;;
 
16462
    esac
 
16463
done
 
16464
 
 
16465
# Double-quote double-evaled strings.
 
16466
for var in reload_cmds \
 
16467
old_postinstall_cmds \
 
16468
old_postuninstall_cmds \
 
16469
old_archive_cmds \
 
16470
extract_expsyms_cmds \
 
16471
old_archive_from_new_cmds \
 
16472
old_archive_from_expsyms_cmds \
 
16473
archive_cmds \
 
16474
archive_expsym_cmds \
 
16475
module_cmds \
 
16476
module_expsym_cmds \
 
16477
export_symbols_cmds \
 
16478
prelink_cmds \
 
16479
postinstall_cmds \
 
16480
postuninstall_cmds \
 
16481
finish_cmds \
 
16482
sys_lib_search_path_spec \
 
16483
sys_lib_dlsearch_path_spec \
 
16484
old_archive_cmds_CXX \
 
16485
old_archive_from_new_cmds_CXX \
 
16486
old_archive_from_expsyms_cmds_CXX \
 
16487
archive_cmds_CXX \
 
16488
archive_expsym_cmds_CXX \
 
16489
module_cmds_CXX \
 
16490
module_expsym_cmds_CXX \
 
16491
export_symbols_cmds_CXX \
 
16492
prelink_cmds_CXX; do
 
16493
    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
 
16494
    *[\\\\\\\`\\"\\\$]*)
 
16495
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
 
16496
      ;;
 
16497
    *)
 
16498
      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
 
16499
      ;;
 
16500
    esac
 
16501
done
 
16502
 
 
16503
# Fix-up fallback echo if it was mangled by the above quoting rules.
 
16504
case \$lt_ECHO in
 
16505
*'\\\$0 --fallback-echo"')  lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
 
16506
  ;;
 
16507
esac
 
16508
 
 
16509
ac_aux_dir='$ac_aux_dir'
 
16510
xsi_shell='$xsi_shell'
 
16511
lt_shell_append='$lt_shell_append'
 
16512
 
 
16513
# See if we are running on zsh, and set the options which allow our
 
16514
# commands through without removal of \ escapes INIT.
 
16515
if test -n "\${ZSH_VERSION+set}" ; then
 
16516
   setopt NO_GLOB_SUBST
 
16517
fi
 
16518
 
 
16519
 
 
16520
    PACKAGE='$PACKAGE'
 
16521
    VERSION='$VERSION'
 
16522
    TIMESTAMP='$TIMESTAMP'
 
16523
    RM='$RM'
 
16524
    ofile='$ofile'
 
16525
 
 
16526
 
 
16527
 
 
16528
 
 
16529
 
 
16530
 
 
16531
_ACEOF
 
16532
 
 
16533
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
16534
 
 
16535
# Handling of arguments.
 
16536
for ac_config_target in $ac_config_targets
 
16537
do
 
16538
  case $ac_config_target in
 
16539
    "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
 
16540
    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
 
16541
    "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
 
16542
    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
 
16543
    "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
 
16544
    "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
 
16545
    "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
 
16546
 
 
16547
  *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
 
16548
  esac
 
16549
done
 
16550
 
 
16551
 
 
16552
# If the user did not use the arguments to specify the items to instantiate,
 
16553
# then the envvar interface is used.  Set only those that are not.
 
16554
# We use the long form for the default assignment because of an extremely
 
16555
# bizarre bug on SunOS 4.1.3.
 
16556
if $ac_need_defaults; then
 
16557
  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
 
16558
  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
 
16559
  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
 
16560
fi
 
16561
 
 
16562
# Have a temporary directory for convenience.  Make it in the build tree
 
16563
# simply because there is no reason against having it here, and in addition,
 
16564
# creating and moving files from /tmp can sometimes cause problems.
 
16565
# Hook for its removal unless debugging.
 
16566
# Note that there is a small window in which the directory will not be cleaned:
 
16567
# after its creation but before its name has been assigned to `$tmp'.
 
16568
$debug ||
 
16569
{
 
16570
  tmp=
 
16571
  trap 'exit_status=$?
 
16572
  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
 
16573
' 0
 
16574
  trap 'as_fn_exit 1' 1 2 13 15
 
16575
}
 
16576
# Create a (secure) tmp directory for tmp files.
 
16577
 
 
16578
{
 
16579
  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
 
16580
  test -n "$tmp" && test -d "$tmp"
 
16581
}  ||
 
16582
{
 
16583
  tmp=./conf$$-$RANDOM
 
16584
  (umask 077 && mkdir "$tmp")
 
16585
} || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
 
16586
 
 
16587
# Set up the scripts for CONFIG_FILES section.
 
16588
# No need to generate them if there are no CONFIG_FILES.
 
16589
# This happens for instance with `./config.status config.h'.
 
16590
if test -n "$CONFIG_FILES"; then
 
16591
 
 
16592
 
 
16593
ac_cr=`echo X | tr X '\015'`
 
16594
# On cygwin, bash can eat \r inside `` if the user requested igncr.
 
16595
# But we know of no other shell where ac_cr would be empty at this
 
16596
# point, so we can use a bashism as a fallback.
 
16597
if test "x$ac_cr" = x; then
 
16598
  eval ac_cr=\$\'\\r\'
 
16599
fi
 
16600
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
 
16601
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
 
16602
  ac_cs_awk_cr='\r'
 
16603
else
 
16604
  ac_cs_awk_cr=$ac_cr
 
16605
fi
 
16606
 
 
16607
echo 'BEGIN {' >"$tmp/subs1.awk" &&
 
16608
_ACEOF
 
16609
 
 
16610
 
 
16611
{
 
16612
  echo "cat >conf$$subs.awk <<_ACEOF" &&
 
16613
  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
 
16614
  echo "_ACEOF"
 
16615
} >conf$$subs.sh ||
 
16616
  as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
 
16617
ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
 
16618
ac_delim='%!_!# '
 
16619
for ac_last_try in false false false false false :; do
 
16620
  . ./conf$$subs.sh ||
 
16621
    as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
 
16622
 
 
16623
  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
 
16624
  if test $ac_delim_n = $ac_delim_num; then
 
16625
    break
 
16626
  elif $ac_last_try; then
 
16627
    as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
 
16628
  else
 
16629
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
 
16630
  fi
 
16631
done
 
16632
rm -f conf$$subs.sh
 
16633
 
 
16634
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
16635
cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
 
16636
_ACEOF
 
16637
sed -n '
 
16638
h
 
16639
s/^/S["/; s/!.*/"]=/
 
16640
p
 
16641
g
 
16642
s/^[^!]*!//
 
16643
:repl
 
16644
t repl
 
16645
s/'"$ac_delim"'$//
 
16646
t delim
 
16647
:nl
 
16648
h
 
16649
s/\(.\{148\}\)..*/\1/
 
16650
t more1
 
16651
s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
 
16652
p
 
16653
n
 
16654
b repl
 
16655
:more1
 
16656
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
 
16657
p
 
16658
g
 
16659
s/.\{148\}//
 
16660
t nl
 
16661
:delim
 
16662
h
 
16663
s/\(.\{148\}\)..*/\1/
 
16664
t more2
 
16665
s/["\\]/\\&/g; s/^/"/; s/$/"/
 
16666
p
 
16667
b
 
16668
:more2
 
16669
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
 
16670
p
 
16671
g
 
16672
s/.\{148\}//
 
16673
t delim
 
16674
' <conf$$subs.awk | sed '
 
16675
/^[^""]/{
 
16676
  N
 
16677
  s/\n//
 
16678
}
 
16679
' >>$CONFIG_STATUS || ac_write_fail=1
 
16680
rm -f conf$$subs.awk
 
16681
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
16682
_ACAWK
 
16683
cat >>"\$tmp/subs1.awk" <<_ACAWK &&
 
16684
  for (key in S) S_is_set[key] = 1
 
16685
  FS = ""
 
16686
 
 
16687
}
 
16688
{
 
16689
  line = $ 0
 
16690
  nfields = split(line, field, "@")
 
16691
  substed = 0
 
16692
  len = length(field[1])
 
16693
  for (i = 2; i < nfields; i++) {
 
16694
    key = field[i]
 
16695
    keylen = length(key)
 
16696
    if (S_is_set[key]) {
 
16697
      value = S[key]
 
16698
      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
 
16699
      len += length(value) + length(field[++i])
 
16700
      substed = 1
 
16701
    } else
 
16702
      len += 1 + keylen
 
16703
  }
 
16704
 
 
16705
  print line
 
16706
}
 
16707
 
 
16708
_ACAWK
 
16709
_ACEOF
 
16710
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
16711
if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
 
16712
  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
 
16713
else
 
16714
  cat
 
16715
fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
 
16716
  || as_fn_error "could not setup config files machinery" "$LINENO" 5
 
16717
_ACEOF
 
16718
 
 
16719
# VPATH may cause trouble with some makes, so we remove $(srcdir),
 
16720
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
 
16721
# trailing colons and then remove the whole line if VPATH becomes empty
 
16722
# (actually we leave an empty line to preserve line numbers).
 
16723
if test "x$srcdir" = x.; then
 
16724
  ac_vpsub='/^[  ]*VPATH[        ]*=/{
 
16725
s/:*\$(srcdir):*/:/
 
16726
s/:*\${srcdir}:*/:/
 
16727
s/:*@srcdir@:*/:/
 
16728
s/^\([^=]*=[     ]*\):*/\1/
 
16729
s/:*$//
 
16730
s/^[^=]*=[       ]*$//
 
16731
}'
 
16732
fi
 
16733
 
 
16734
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
16735
fi # test -n "$CONFIG_FILES"
 
16736
 
 
16737
# Set up the scripts for CONFIG_HEADERS section.
 
16738
# No need to generate them if there are no CONFIG_HEADERS.
 
16739
# This happens for instance with `./config.status Makefile'.
 
16740
if test -n "$CONFIG_HEADERS"; then
 
16741
cat >"$tmp/defines.awk" <<\_ACAWK ||
 
16742
BEGIN {
 
16743
_ACEOF
 
16744
 
 
16745
# Transform confdefs.h into an awk script `defines.awk', embedded as
 
16746
# here-document in config.status, that substitutes the proper values into
 
16747
# config.h.in to produce config.h.
 
16748
 
 
16749
# Create a delimiter string that does not exist in confdefs.h, to ease
 
16750
# handling of long lines.
 
16751
ac_delim='%!_!# '
 
16752
for ac_last_try in false false :; do
 
16753
  ac_t=`sed -n "/$ac_delim/p" confdefs.h`
 
16754
  if test -z "$ac_t"; then
 
16755
    break
 
16756
  elif $ac_last_try; then
 
16757
    as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
 
16758
  else
 
16759
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
 
16760
  fi
 
16761
done
 
16762
 
 
16763
# For the awk script, D is an array of macro values keyed by name,
 
16764
# likewise P contains macro parameters if any.  Preserve backslash
 
16765
# newline sequences.
 
16766
 
 
16767
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
 
16768
sed -n '
 
16769
s/.\{148\}/&'"$ac_delim"'/g
 
16770
t rset
 
16771
:rset
 
16772
s/^[     ]*#[    ]*define[       ][      ]*/ /
 
16773
t def
 
16774
d
 
16775
:def
 
16776
s/\\$//
 
16777
t bsnl
 
16778
s/["\\]/\\&/g
 
16779
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
 
16780
D["\1"]=" \3"/p
 
16781
s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
 
16782
d
 
16783
:bsnl
 
16784
s/["\\]/\\&/g
 
16785
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
 
16786
D["\1"]=" \3\\\\\\n"\\/p
 
16787
t cont
 
16788
s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
 
16789
t cont
 
16790
d
 
16791
:cont
 
16792
n
 
16793
s/.\{148\}/&'"$ac_delim"'/g
 
16794
t clear
 
16795
:clear
 
16796
s/\\$//
 
16797
t bsnlc
 
16798
s/["\\]/\\&/g; s/^/"/; s/$/"/p
 
16799
d
 
16800
:bsnlc
 
16801
s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
 
16802
b cont
 
16803
' <confdefs.h | sed '
 
16804
s/'"$ac_delim"'/"\\\
 
16805
"/g' >>$CONFIG_STATUS || ac_write_fail=1
 
16806
 
 
16807
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
16808
  for (key in D) D_is_set[key] = 1
 
16809
  FS = ""
 
16810
}
 
16811
/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
 
16812
  line = \$ 0
 
16813
  split(line, arg, " ")
 
16814
  if (arg[1] == "#") {
 
16815
    defundef = arg[2]
 
16816
    mac1 = arg[3]
 
16817
  } else {
 
16818
    defundef = substr(arg[1], 2)
 
16819
    mac1 = arg[2]
 
16820
  }
 
16821
  split(mac1, mac2, "(") #)
 
16822
  macro = mac2[1]
 
16823
  prefix = substr(line, 1, index(line, defundef) - 1)
 
16824
  if (D_is_set[macro]) {
 
16825
    # Preserve the white space surrounding the "#".
 
16826
    print prefix "define", macro P[macro] D[macro]
 
16827
    next
 
16828
  } else {
 
16829
    # Replace #undef with comments.  This is necessary, for example,
 
16830
    # in the case of _POSIX_SOURCE, which is predefined and required
 
16831
    # on some systems where configure will not decide to define it.
 
16832
    if (defundef == "undef") {
 
16833
      print "/*", prefix defundef, macro, "*/"
 
16834
      next
 
16835
    }
 
16836
  }
 
16837
}
 
16838
{ print }
 
16839
_ACAWK
 
16840
_ACEOF
 
16841
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
16842
  as_fn_error "could not setup config headers machinery" "$LINENO" 5
 
16843
fi # test -n "$CONFIG_HEADERS"
 
16844
 
 
16845
 
 
16846
eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
 
16847
shift
 
16848
for ac_tag
 
16849
do
 
16850
  case $ac_tag in
 
16851
  :[FHLC]) ac_mode=$ac_tag; continue;;
 
16852
  esac
 
16853
  case $ac_mode$ac_tag in
 
16854
  :[FHL]*:*);;
 
16855
  :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
 
16856
  :[FH]-) ac_tag=-:-;;
 
16857
  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
 
16858
  esac
 
16859
  ac_save_IFS=$IFS
 
16860
  IFS=:
 
16861
  set x $ac_tag
 
16862
  IFS=$ac_save_IFS
 
16863
  shift
 
16864
  ac_file=$1
 
16865
  shift
 
16866
 
 
16867
  case $ac_mode in
 
16868
  :L) ac_source=$1;;
 
16869
  :[FH])
 
16870
    ac_file_inputs=
 
16871
    for ac_f
 
16872
    do
 
16873
      case $ac_f in
 
16874
      -) ac_f="$tmp/stdin";;
 
16875
      *) # Look for the file first in the build tree, then in the source tree
 
16876
         # (if the path is not absolute).  The absolute path cannot be DOS-style,
 
16877
         # because $ac_f cannot contain `:'.
 
16878
         test -f "$ac_f" ||
 
16879
           case $ac_f in
 
16880
           [\\/$]*) false;;
 
16881
           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
 
16882
           esac ||
 
16883
           as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
 
16884
      esac
 
16885
      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
 
16886
      as_fn_append ac_file_inputs " '$ac_f'"
 
16887
    done
 
16888
 
 
16889
    # Let's still pretend it is `configure' which instantiates (i.e., don't
 
16890
    # use $as_me), people would be surprised to read:
 
16891
    #    /* config.h.  Generated by config.status.  */
 
16892
    configure_input='Generated from '`
 
16893
          $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
 
16894
        `' by configure.'
 
16895
    if test x"$ac_file" != x-; then
 
16896
      configure_input="$ac_file.  $configure_input"
 
16897
      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
 
16898
$as_echo "$as_me: creating $ac_file" >&6;}
 
16899
    fi
 
16900
    # Neutralize special characters interpreted by sed in replacement strings.
 
16901
    case $configure_input in #(
 
16902
    *\&* | *\|* | *\\* )
 
16903
       ac_sed_conf_input=`$as_echo "$configure_input" |
 
16904
       sed 's/[\\\\&|]/\\\\&/g'`;; #(
 
16905
    *) ac_sed_conf_input=$configure_input;;
 
16906
    esac
 
16907
 
 
16908
    case $ac_tag in
 
16909
    *:-:* | *:-) cat >"$tmp/stdin" \
 
16910
      || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
 
16911
    esac
 
16912
    ;;
 
16913
  esac
 
16914
 
 
16915
  ac_dir=`$as_dirname -- "$ac_file" ||
 
16916
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
16917
         X"$ac_file" : 'X\(//\)[^/]' \| \
 
16918
         X"$ac_file" : 'X\(//\)$' \| \
 
16919
         X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
 
16920
$as_echo X"$ac_file" |
 
16921
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
16922
            s//\1/
 
16923
            q
 
16924
          }
 
16925
          /^X\(\/\/\)[^/].*/{
 
16926
            s//\1/
 
16927
            q
 
16928
          }
 
16929
          /^X\(\/\/\)$/{
 
16930
            s//\1/
 
16931
            q
 
16932
          }
 
16933
          /^X\(\/\).*/{
 
16934
            s//\1/
 
16935
            q
 
16936
          }
 
16937
          s/.*/./; q'`
 
16938
  as_dir="$ac_dir"; as_fn_mkdir_p
 
16939
  ac_builddir=.
 
16940
 
 
16941
case "$ac_dir" in
 
16942
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
16943
*)
 
16944
  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
 
16945
  # A ".." for each directory in $ac_dir_suffix.
 
16946
  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
 
16947
  case $ac_top_builddir_sub in
 
16948
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
16949
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
 
16950
  esac ;;
 
16951
esac
 
16952
ac_abs_top_builddir=$ac_pwd
 
16953
ac_abs_builddir=$ac_pwd$ac_dir_suffix
 
16954
# for backward compatibility:
 
16955
ac_top_builddir=$ac_top_build_prefix
 
16956
 
 
16957
case $srcdir in
 
16958
  .)  # We are building in place.
 
16959
    ac_srcdir=.
 
16960
    ac_top_srcdir=$ac_top_builddir_sub
 
16961
    ac_abs_top_srcdir=$ac_pwd ;;
 
16962
  [\\/]* | ?:[\\/]* )  # Absolute name.
 
16963
    ac_srcdir=$srcdir$ac_dir_suffix;
 
16964
    ac_top_srcdir=$srcdir
 
16965
    ac_abs_top_srcdir=$srcdir ;;
 
16966
  *) # Relative name.
 
16967
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
 
16968
    ac_top_srcdir=$ac_top_build_prefix$srcdir
 
16969
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
 
16970
esac
 
16971
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
 
16972
 
 
16973
 
 
16974
  case $ac_mode in
 
16975
  :F)
 
16976
  #
 
16977
  # CONFIG_FILE
 
16978
  #
 
16979
 
 
16980
  case $INSTALL in
 
16981
  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
 
16982
  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
 
16983
  esac
 
16984
  ac_MKDIR_P=$MKDIR_P
 
16985
  case $MKDIR_P in
 
16986
  [\\/$]* | ?:[\\/]* ) ;;
 
16987
  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
 
16988
  esac
 
16989
_ACEOF
 
16990
 
 
16991
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
16992
# If the template does not know about datarootdir, expand it.
 
16993
# FIXME: This hack should be removed a few years after 2.60.
 
16994
ac_datarootdir_hack=; ac_datarootdir_seen=
 
16995
ac_sed_dataroot='
 
16996
/datarootdir/ {
 
16997
  p
 
16998
  q
 
16999
}
 
17000
/@datadir@/p
 
17001
/@docdir@/p
 
17002
/@infodir@/p
 
17003
/@localedir@/p
 
17004
/@mandir@/p'
 
17005
case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
 
17006
*datarootdir*) ac_datarootdir_seen=yes;;
 
17007
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
 
17008
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
 
17009
$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
 
17010
_ACEOF
 
17011
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
17012
  ac_datarootdir_hack='
 
17013
  s&@datadir@&$datadir&g
 
17014
  s&@docdir@&$docdir&g
 
17015
  s&@infodir@&$infodir&g
 
17016
  s&@localedir@&$localedir&g
 
17017
  s&@mandir@&$mandir&g
 
17018
  s&\\\${datarootdir}&$datarootdir&g' ;;
 
17019
esac
 
17020
_ACEOF
 
17021
 
 
17022
# Neutralize VPATH when `$srcdir' = `.'.
 
17023
# Shell code in configure.ac might set extrasub.
 
17024
# FIXME: do we really want to maintain this feature?
 
17025
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
17026
ac_sed_extra="$ac_vpsub
 
17027
$extrasub
 
17028
_ACEOF
 
17029
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
17030
:t
 
17031
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
 
17032
s|@configure_input@|$ac_sed_conf_input|;t t
 
17033
s&@top_builddir@&$ac_top_builddir_sub&;t t
 
17034
s&@top_build_prefix@&$ac_top_build_prefix&;t t
 
17035
s&@srcdir@&$ac_srcdir&;t t
 
17036
s&@abs_srcdir@&$ac_abs_srcdir&;t t
 
17037
s&@top_srcdir@&$ac_top_srcdir&;t t
 
17038
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
 
17039
s&@builddir@&$ac_builddir&;t t
 
17040
s&@abs_builddir@&$ac_abs_builddir&;t t
 
17041
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
 
17042
s&@INSTALL@&$ac_INSTALL&;t t
 
17043
s&@MKDIR_P@&$ac_MKDIR_P&;t t
 
17044
$ac_datarootdir_hack
 
17045
"
 
17046
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
 
17047
  || as_fn_error "could not create $ac_file" "$LINENO" 5
 
17048
 
 
17049
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
 
17050
  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
 
17051
  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
 
17052
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 
17053
which seems to be undefined.  Please make sure it is defined." >&5
 
17054
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 
17055
which seems to be undefined.  Please make sure it is defined." >&2;}
 
17056
 
 
17057
  rm -f "$tmp/stdin"
 
17058
  case $ac_file in
 
17059
  -) cat "$tmp/out" && rm -f "$tmp/out";;
 
17060
  *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
 
17061
  esac \
 
17062
  || as_fn_error "could not create $ac_file" "$LINENO" 5
 
17063
 ;;
 
17064
  :H)
 
17065
  #
 
17066
  # CONFIG_HEADER
 
17067
  #
 
17068
  if test x"$ac_file" != x-; then
 
17069
    {
 
17070
      $as_echo "/* $configure_input  */" \
 
17071
      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
 
17072
    } >"$tmp/config.h" \
 
17073
      || as_fn_error "could not create $ac_file" "$LINENO" 5
 
17074
    if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
 
17075
      { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
 
17076
$as_echo "$as_me: $ac_file is unchanged" >&6;}
 
17077
    else
 
17078
      rm -f "$ac_file"
 
17079
      mv "$tmp/config.h" "$ac_file" \
 
17080
        || as_fn_error "could not create $ac_file" "$LINENO" 5
 
17081
    fi
 
17082
  else
 
17083
    $as_echo "/* $configure_input  */" \
 
17084
      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
 
17085
      || as_fn_error "could not create -" "$LINENO" 5
 
17086
  fi
 
17087
# Compute "$ac_file"'s index in $config_headers.
 
17088
_am_arg="$ac_file"
 
17089
_am_stamp_count=1
 
17090
for _am_header in $config_headers :; do
 
17091
  case $_am_header in
 
17092
    $_am_arg | $_am_arg:* )
 
17093
      break ;;
 
17094
    * )
 
17095
      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
 
17096
  esac
 
17097
done
 
17098
echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
 
17099
$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
17100
         X"$_am_arg" : 'X\(//\)[^/]' \| \
 
17101
         X"$_am_arg" : 'X\(//\)$' \| \
 
17102
         X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
 
17103
$as_echo X"$_am_arg" |
 
17104
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
17105
            s//\1/
 
17106
            q
 
17107
          }
 
17108
          /^X\(\/\/\)[^/].*/{
 
17109
            s//\1/
 
17110
            q
 
17111
          }
 
17112
          /^X\(\/\/\)$/{
 
17113
            s//\1/
 
17114
            q
 
17115
          }
 
17116
          /^X\(\/\).*/{
 
17117
            s//\1/
 
17118
            q
 
17119
          }
 
17120
          s/.*/./; q'`/stamp-h$_am_stamp_count
 
17121
 ;;
 
17122
  
 
17123
  :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
 
17124
$as_echo "$as_me: executing $ac_file commands" >&6;}
 
17125
 ;;
 
17126
  esac
 
17127
 
 
17128
 
 
17129
  case $ac_file$ac_mode in
 
17130
    "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
 
17131
  # Autoconf 2.62 quotes --file arguments for eval, but not when files
 
17132
  # are listed without --file.  Let's play safe and only enable the eval
 
17133
  # if we detect the quoting.
 
17134
  case $CONFIG_FILES in
 
17135
  *\'*) eval set x "$CONFIG_FILES" ;;
 
17136
  *)   set x $CONFIG_FILES ;;
 
17137
  esac
 
17138
  shift
 
17139
  for mf
 
17140
  do
 
17141
    # Strip MF so we end up with the name of the file.
 
17142
    mf=`echo "$mf" | sed -e 's/:.*$//'`
 
17143
    # Check whether this is an Automake generated Makefile or not.
 
17144
    # We used to match only the files named `Makefile.in', but
 
17145
    # some people rename them; so instead we look at the file content.
 
17146
    # Grep'ing the first line is not enough: some people post-process
 
17147
    # each Makefile.in and add a new line on top of each file to say so.
 
17148
    # Grep'ing the whole file is not good either: AIX grep has a line
 
17149
    # limit of 2048, but all sed's we know have understand at least 4000.
 
17150
    if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
 
17151
      dirpart=`$as_dirname -- "$mf" ||
 
17152
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
17153
         X"$mf" : 'X\(//\)[^/]' \| \
 
17154
         X"$mf" : 'X\(//\)$' \| \
 
17155
         X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
 
17156
$as_echo X"$mf" |
 
17157
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
17158
            s//\1/
 
17159
            q
 
17160
          }
 
17161
          /^X\(\/\/\)[^/].*/{
 
17162
            s//\1/
 
17163
            q
 
17164
          }
 
17165
          /^X\(\/\/\)$/{
 
17166
            s//\1/
 
17167
            q
 
17168
          }
 
17169
          /^X\(\/\).*/{
 
17170
            s//\1/
 
17171
            q
 
17172
          }
 
17173
          s/.*/./; q'`
 
17174
    else
 
17175
      continue
 
17176
    fi
 
17177
    # Extract the definition of DEPDIR, am__include, and am__quote
 
17178
    # from the Makefile without running `make'.
 
17179
    DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
 
17180
    test -z "$DEPDIR" && continue
 
17181
    am__include=`sed -n 's/^am__include = //p' < "$mf"`
 
17182
    test -z "am__include" && continue
 
17183
    am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
 
17184
    # When using ansi2knr, U may be empty or an underscore; expand it
 
17185
    U=`sed -n 's/^U = //p' < "$mf"`
 
17186
    # Find all dependency output files, they are included files with
 
17187
    # $(DEPDIR) in their names.  We invoke sed twice because it is the
 
17188
    # simplest approach to changing $(DEPDIR) to its actual value in the
 
17189
    # expansion.
 
17190
    for file in `sed -n "
 
17191
      s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
 
17192
         sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
 
17193
      # Make sure the directory exists.
 
17194
      test -f "$dirpart/$file" && continue
 
17195
      fdir=`$as_dirname -- "$file" ||
 
17196
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
17197
         X"$file" : 'X\(//\)[^/]' \| \
 
17198
         X"$file" : 'X\(//\)$' \| \
 
17199
         X"$file" : 'X\(/\)' \| . 2>/dev/null ||
 
17200
$as_echo X"$file" |
 
17201
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
17202
            s//\1/
 
17203
            q
 
17204
          }
 
17205
          /^X\(\/\/\)[^/].*/{
 
17206
            s//\1/
 
17207
            q
 
17208
          }
 
17209
          /^X\(\/\/\)$/{
 
17210
            s//\1/
 
17211
            q
 
17212
          }
 
17213
          /^X\(\/\).*/{
 
17214
            s//\1/
 
17215
            q
 
17216
          }
 
17217
          s/.*/./; q'`
 
17218
      as_dir=$dirpart/$fdir; as_fn_mkdir_p
 
17219
      # echo "creating $dirpart/$file"
 
17220
      echo '# dummy' > "$dirpart/$file"
 
17221
    done
 
17222
  done
 
17223
}
 
17224
 ;;
 
17225
    "libtool":C) 
 
17226
    
 
17227
    # See if we are running on zsh, and set the options which allow our
 
17228
    # commands through without removal of \ escapes.
 
17229
    if test -n "${ZSH_VERSION+set}" ; then
 
17230
      setopt NO_GLOB_SUBST
 
17231
    fi
 
17232
 
 
17233
    cfgfile="${ofile}T"
 
17234
    trap "$RM \"$cfgfile\"; exit 1" 1 2 15
 
17235
    $RM "$cfgfile"
 
17236
 
 
17237
    cat <<_LT_EOF >> "$cfgfile"
 
17238
#! $SHELL
 
17239
 
 
17240
# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
 
17241
# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
 
17242
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
 
17243
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
 
17244
#
 
17245
#   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
 
17246
#                 2006, 2007, 2008 Free Software Foundation, Inc.
 
17247
#   Written by Gordon Matzigkeit, 1996
 
17248
#
 
17249
#   This file is part of GNU Libtool.
 
17250
#
 
17251
# GNU Libtool is free software; you can redistribute it and/or
 
17252
# modify it under the terms of the GNU General Public License as
 
17253
# published by the Free Software Foundation; either version 2 of
 
17254
# the License, or (at your option) any later version.
 
17255
#
 
17256
# As a special exception to the GNU General Public License,
 
17257
# if you distribute this file as part of a program or library that
 
17258
# is built using GNU Libtool, you may include this file under the
 
17259
# same distribution terms that you use for the rest of that program.
 
17260
#
 
17261
# GNU Libtool is distributed in the hope that it will be useful,
 
17262
# but WITHOUT ANY WARRANTY; without even the implied warranty of
 
17263
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
17264
# GNU General Public License for more details.
 
17265
#
 
17266
# You should have received a copy of the GNU General Public License
 
17267
# along with GNU Libtool; see the file COPYING.  If not, a copy
 
17268
# can be downloaded from http://www.gnu.org/licenses/gpl.html, or
 
17269
# obtained by writing to the Free Software Foundation, Inc.,
 
17270
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
 
17271
 
 
17272
 
 
17273
# The names of the tagged configurations supported by this script.
 
17274
available_tags="CXX "
 
17275
 
 
17276
# ### BEGIN LIBTOOL CONFIG
 
17277
 
 
17278
# Which release of libtool.m4 was used?
 
17279
macro_version=$macro_version
 
17280
macro_revision=$macro_revision
 
17281
 
 
17282
# Whether or not to build shared libraries.
 
17283
build_libtool_libs=$enable_shared
 
17284
 
 
17285
# Whether or not to build static libraries.
 
17286
build_old_libs=$enable_static
 
17287
 
 
17288
# What type of objects to build.
 
17289
pic_mode=$pic_mode
 
17290
 
 
17291
# Whether or not to optimize for fast installation.
 
17292
fast_install=$enable_fast_install
 
17293
 
 
17294
# The host system.
 
17295
host_alias=$host_alias
 
17296
host=$host
 
17297
host_os=$host_os
 
17298
 
 
17299
# The build system.
 
17300
build_alias=$build_alias
 
17301
build=$build
 
17302
build_os=$build_os
 
17303
 
 
17304
# A sed program that does not truncate output.
 
17305
SED=$lt_SED
 
17306
 
 
17307
# Sed that helps us avoid accidentally triggering echo(1) options like -n.
 
17308
Xsed="\$SED -e 1s/^X//"
 
17309
 
 
17310
# A grep program that handles long lines.
 
17311
GREP=$lt_GREP
 
17312
 
 
17313
# An ERE matcher.
 
17314
EGREP=$lt_EGREP
 
17315
 
 
17316
# A literal string matcher.
 
17317
FGREP=$lt_FGREP
 
17318
 
 
17319
# A BSD- or MS-compatible name lister.
 
17320
NM=$lt_NM
 
17321
 
 
17322
# Whether we need soft or hard links.
 
17323
LN_S=$lt_LN_S
 
17324
 
 
17325
# What is the maximum length of a command?
 
17326
max_cmd_len=$max_cmd_len
 
17327
 
 
17328
# Object file suffix (normally "o").
 
17329
objext=$ac_objext
 
17330
 
 
17331
# Executable file suffix (normally "").
 
17332
exeext=$exeext
 
17333
 
 
17334
# whether the shell understands "unset".
 
17335
lt_unset=$lt_unset
 
17336
 
 
17337
# turn spaces into newlines.
 
17338
SP2NL=$lt_lt_SP2NL
 
17339
 
 
17340
# turn newlines into spaces.
 
17341
NL2SP=$lt_lt_NL2SP
 
17342
 
 
17343
# How to create reloadable object files.
 
17344
reload_flag=$lt_reload_flag
 
17345
reload_cmds=$lt_reload_cmds
 
17346
 
 
17347
# An object symbol dumper.
 
17348
OBJDUMP=$lt_OBJDUMP
 
17349
 
 
17350
# Method to check whether dependent libraries are shared objects.
 
17351
deplibs_check_method=$lt_deplibs_check_method
 
17352
 
 
17353
# Command to use when deplibs_check_method == "file_magic".
 
17354
file_magic_cmd=$lt_file_magic_cmd
 
17355
 
 
17356
# The archiver.
 
17357
AR=$lt_AR
 
17358
AR_FLAGS=$lt_AR_FLAGS
 
17359
 
 
17360
# A symbol stripping program.
 
17361
STRIP=$lt_STRIP
 
17362
 
 
17363
# Commands used to install an old-style archive.
 
17364
RANLIB=$lt_RANLIB
 
17365
old_postinstall_cmds=$lt_old_postinstall_cmds
 
17366
old_postuninstall_cmds=$lt_old_postuninstall_cmds
 
17367
 
 
17368
# A C compiler.
 
17369
LTCC=$lt_CC
 
17370
 
 
17371
# LTCC compiler flags.
 
17372
LTCFLAGS=$lt_CFLAGS
 
17373
 
 
17374
# Take the output of nm and produce a listing of raw symbols and C names.
 
17375
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
 
17376
 
 
17377
# Transform the output of nm in a proper C declaration.
 
17378
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
 
17379
 
 
17380
# Transform the output of nm in a C name address pair.
 
17381
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
 
17382
 
 
17383
# Transform the output of nm in a C name address pair when lib prefix is needed.
 
17384
global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
 
17385
 
 
17386
# The name of the directory that contains temporary libtool files.
 
17387
objdir=$objdir
 
17388
 
 
17389
# Shell to use when invoking shell scripts.
 
17390
SHELL=$lt_SHELL
 
17391
 
 
17392
# An echo program that does not interpret backslashes.
 
17393
ECHO=$lt_ECHO
 
17394
 
 
17395
# Used to examine libraries when file_magic_cmd begins with "file".
 
17396
MAGIC_CMD=$MAGIC_CMD
 
17397
 
 
17398
# Must we lock files when doing compilation?
 
17399
need_locks=$lt_need_locks
 
17400
 
 
17401
# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
 
17402
DSYMUTIL=$lt_DSYMUTIL
 
17403
 
 
17404
# Tool to change global to local symbols on Mac OS X.
 
17405
NMEDIT=$lt_NMEDIT
 
17406
 
 
17407
# Tool to manipulate fat objects and archives on Mac OS X.
 
17408
LIPO=$lt_LIPO
 
17409
 
 
17410
# ldd/readelf like tool for Mach-O binaries on Mac OS X.
 
17411
OTOOL=$lt_OTOOL
 
17412
 
 
17413
# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
 
17414
OTOOL64=$lt_OTOOL64
 
17415
 
 
17416
# Old archive suffix (normally "a").
 
17417
libext=$libext
 
17418
 
 
17419
# Shared library suffix (normally ".so").
 
17420
shrext_cmds=$lt_shrext_cmds
 
17421
 
 
17422
# The commands to extract the exported symbol list from a shared archive.
 
17423
extract_expsyms_cmds=$lt_extract_expsyms_cmds
 
17424
 
 
17425
# Variables whose values should be saved in libtool wrapper scripts and
 
17426
# restored at link time.
 
17427
variables_saved_for_relink=$lt_variables_saved_for_relink
 
17428
 
 
17429
# Do we need the "lib" prefix for modules?
 
17430
need_lib_prefix=$need_lib_prefix
 
17431
 
 
17432
# Do we need a version for libraries?
 
17433
need_version=$need_version
 
17434
 
 
17435
# Library versioning type.
 
17436
version_type=$version_type
 
17437
 
 
17438
# Shared library runtime path variable.
 
17439
runpath_var=$runpath_var
 
17440
 
 
17441
# Shared library path variable.
 
17442
shlibpath_var=$shlibpath_var
 
17443
 
 
17444
# Is shlibpath searched before the hard-coded library search path?
 
17445
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
 
17446
 
 
17447
# Format of library name prefix.
 
17448
libname_spec=$lt_libname_spec
 
17449
 
 
17450
# List of archive names.  First name is the real one, the rest are links.
 
17451
# The last name is the one that the linker finds with -lNAME
 
17452
library_names_spec=$lt_library_names_spec
 
17453
 
 
17454
# The coded name of the library, if different from the real name.
 
17455
soname_spec=$lt_soname_spec
 
17456
 
 
17457
# Command to use after installation of a shared archive.
 
17458
postinstall_cmds=$lt_postinstall_cmds
 
17459
 
 
17460
# Command to use after uninstallation of a shared archive.
 
17461
postuninstall_cmds=$lt_postuninstall_cmds
 
17462
 
 
17463
# Commands used to finish a libtool library installation in a directory.
 
17464
finish_cmds=$lt_finish_cmds
 
17465
 
 
17466
# As "finish_cmds", except a single script fragment to be evaled but
 
17467
# not shown.
 
17468
finish_eval=$lt_finish_eval
 
17469
 
 
17470
# Whether we should hardcode library paths into libraries.
 
17471
hardcode_into_libs=$hardcode_into_libs
 
17472
 
 
17473
# Compile-time system search path for libraries.
 
17474
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
 
17475
 
 
17476
# Run-time system search path for libraries.
 
17477
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
 
17478
 
 
17479
# Whether dlopen is supported.
 
17480
dlopen_support=$enable_dlopen
 
17481
 
 
17482
# Whether dlopen of programs is supported.
 
17483
dlopen_self=$enable_dlopen_self
 
17484
 
 
17485
# Whether dlopen of statically linked programs is supported.
 
17486
dlopen_self_static=$enable_dlopen_self_static
 
17487
 
 
17488
# Commands to strip libraries.
 
17489
old_striplib=$lt_old_striplib
 
17490
striplib=$lt_striplib
 
17491
 
 
17492
 
 
17493
# The linker used to build libraries.
 
17494
LD=$lt_LD
 
17495
 
 
17496
# Commands used to build an old-style archive.
 
17497
old_archive_cmds=$lt_old_archive_cmds
 
17498
 
 
17499
# A language specific compiler.
 
17500
CC=$lt_compiler
 
17501
 
 
17502
# Is the compiler the GNU compiler?
 
17503
with_gcc=$GCC
 
17504
 
 
17505
# Compiler flag to turn off builtin functions.
 
17506
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
 
17507
 
 
17508
# How to pass a linker flag through the compiler.
 
17509
wl=$lt_lt_prog_compiler_wl
 
17510
 
 
17511
# Additional compiler flags for building library objects.
 
17512
pic_flag=$lt_lt_prog_compiler_pic
 
17513
 
 
17514
# Compiler flag to prevent dynamic linking.
 
17515
link_static_flag=$lt_lt_prog_compiler_static
 
17516
 
 
17517
# Does compiler simultaneously support -c and -o options?
 
17518
compiler_c_o=$lt_lt_cv_prog_compiler_c_o
 
17519
 
 
17520
# Whether or not to add -lc for building shared libraries.
 
17521
build_libtool_need_lc=$archive_cmds_need_lc
 
17522
 
 
17523
# Whether or not to disallow shared libs when runtime libs are static.
 
17524
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
 
17525
 
 
17526
# Compiler flag to allow reflexive dlopens.
 
17527
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
 
17528
 
 
17529
# Compiler flag to generate shared objects directly from archives.
 
17530
whole_archive_flag_spec=$lt_whole_archive_flag_spec
 
17531
 
 
17532
# Whether the compiler copes with passing no objects directly.
 
17533
compiler_needs_object=$lt_compiler_needs_object
 
17534
 
 
17535
# Create an old-style archive from a shared archive.
 
17536
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
 
17537
 
 
17538
# Create a temporary old-style archive to link instead of a shared archive.
 
17539
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
 
17540
 
 
17541
# Commands used to build a shared archive.
 
17542
archive_cmds=$lt_archive_cmds
 
17543
archive_expsym_cmds=$lt_archive_expsym_cmds
 
17544
 
 
17545
# Commands used to build a loadable module if different from building
 
17546
# a shared archive.
 
17547
module_cmds=$lt_module_cmds
 
17548
module_expsym_cmds=$lt_module_expsym_cmds
 
17549
 
 
17550
# Whether we are building with GNU ld or not.
 
17551
with_gnu_ld=$lt_with_gnu_ld
 
17552
 
 
17553
# Flag that allows shared libraries with undefined symbols to be built.
 
17554
allow_undefined_flag=$lt_allow_undefined_flag
 
17555
 
 
17556
# Flag that enforces no undefined symbols.
 
17557
no_undefined_flag=$lt_no_undefined_flag
 
17558
 
 
17559
# Flag to hardcode \$libdir into a binary during linking.
 
17560
# This must work even if \$libdir does not exist
 
17561
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
 
17562
 
 
17563
# If ld is used when linking, flag to hardcode \$libdir into a binary
 
17564
# during linking.  This must work even if \$libdir does not exist.
 
17565
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
 
17566
 
 
17567
# Whether we need a single "-rpath" flag with a separated argument.
 
17568
hardcode_libdir_separator=$lt_hardcode_libdir_separator
 
17569
 
 
17570
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
 
17571
# DIR into the resulting binary.
 
17572
hardcode_direct=$hardcode_direct
 
17573
 
 
17574
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
 
17575
# DIR into the resulting binary and the resulting library dependency is
 
17576
# "absolute",i.e impossible to change by setting \${shlibpath_var} if the
 
17577
# library is relocated.
 
17578
hardcode_direct_absolute=$hardcode_direct_absolute
 
17579
 
 
17580
# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
 
17581
# into the resulting binary.
 
17582
hardcode_minus_L=$hardcode_minus_L
 
17583
 
 
17584
# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
 
17585
# into the resulting binary.
 
17586
hardcode_shlibpath_var=$hardcode_shlibpath_var
 
17587
 
 
17588
# Set to "yes" if building a shared library automatically hardcodes DIR
 
17589
# into the library and all subsequent libraries and executables linked
 
17590
# against it.
 
17591
hardcode_automatic=$hardcode_automatic
 
17592
 
 
17593
# Set to yes if linker adds runtime paths of dependent libraries
 
17594
# to runtime path list.
 
17595
inherit_rpath=$inherit_rpath
 
17596
 
 
17597
# Whether libtool must link a program against all its dependency libraries.
 
17598
link_all_deplibs=$link_all_deplibs
 
17599
 
 
17600
# Fix the shell variable \$srcfile for the compiler.
 
17601
fix_srcfile_path=$lt_fix_srcfile_path
 
17602
 
 
17603
# Set to "yes" if exported symbols are required.
 
17604
always_export_symbols=$always_export_symbols
 
17605
 
 
17606
# The commands to list exported symbols.
 
17607
export_symbols_cmds=$lt_export_symbols_cmds
 
17608
 
 
17609
# Symbols that should not be listed in the preloaded symbols.
 
17610
exclude_expsyms=$lt_exclude_expsyms
 
17611
 
 
17612
# Symbols that must always be exported.
 
17613
include_expsyms=$lt_include_expsyms
 
17614
 
 
17615
# Commands necessary for linking programs (against libraries) with templates.
 
17616
prelink_cmds=$lt_prelink_cmds
 
17617
 
 
17618
# Specify filename containing input files.
 
17619
file_list_spec=$lt_file_list_spec
 
17620
 
 
17621
# How to hardcode a shared library path into an executable.
 
17622
hardcode_action=$hardcode_action
 
17623
 
 
17624
# The directories searched by this compiler when creating a shared library.
 
17625
compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
 
17626
 
 
17627
# Dependencies to place before and after the objects being linked to
 
17628
# create a shared library.
 
17629
predep_objects=$lt_predep_objects
 
17630
postdep_objects=$lt_postdep_objects
 
17631
predeps=$lt_predeps
 
17632
postdeps=$lt_postdeps
 
17633
 
 
17634
# The library search path used internally by the compiler when linking
 
17635
# a shared library.
 
17636
compiler_lib_search_path=$lt_compiler_lib_search_path
 
17637
 
 
17638
# ### END LIBTOOL CONFIG
 
17639
 
 
17640
_LT_EOF
 
17641
 
 
17642
  case $host_os in
 
17643
  aix3*)
 
17644
    cat <<\_LT_EOF >> "$cfgfile"
 
17645
# AIX sometimes has problems with the GCC collect2 program.  For some
 
17646
# reason, if we set the COLLECT_NAMES environment variable, the problems
 
17647
# vanish in a puff of smoke.
 
17648
if test "X${COLLECT_NAMES+set}" != Xset; then
 
17649
  COLLECT_NAMES=
 
17650
  export COLLECT_NAMES
 
17651
fi
 
17652
_LT_EOF
 
17653
    ;;
 
17654
  esac
 
17655
 
 
17656
  
 
17657
ltmain="$ac_aux_dir/ltmain.sh"
 
17658
 
 
17659
 
 
17660
  # We use sed instead of cat because bash on DJGPP gets confused if
 
17661
  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
 
17662
  # text mode, it properly converts lines to CR/LF.  This bash problem
 
17663
  # is reportedly fixed, but why not run on old versions too?
 
17664
  sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
 
17665
    || (rm -f "$cfgfile"; exit 1)
 
17666
 
 
17667
  case $xsi_shell in
 
17668
  yes)
 
17669
    cat << \_LT_EOF >> "$cfgfile"
 
17670
 
 
17671
# func_dirname file append nondir_replacement
 
17672
# Compute the dirname of FILE.  If nonempty, add APPEND to the result,
 
17673
# otherwise set result to NONDIR_REPLACEMENT.
 
17674
func_dirname ()
 
17675
{
 
17676
  case ${1} in
 
17677
    */*) func_dirname_result="${1%/*}${2}" ;;
 
17678
    *  ) func_dirname_result="${3}" ;;
 
17679
  esac
 
17680
}
 
17681
 
 
17682
# func_basename file
 
17683
func_basename ()
 
17684
{
 
17685
  func_basename_result="${1##*/}"
 
17686
}
 
17687
 
 
17688
# func_dirname_and_basename file append nondir_replacement
 
17689
# perform func_basename and func_dirname in a single function
 
17690
# call:
 
17691
#   dirname:  Compute the dirname of FILE.  If nonempty,
 
17692
#             add APPEND to the result, otherwise set result
 
17693
#             to NONDIR_REPLACEMENT.
 
17694
#             value returned in "$func_dirname_result"
 
17695
#   basename: Compute filename of FILE.
 
17696
#             value retuned in "$func_basename_result"
 
17697
# Implementation must be kept synchronized with func_dirname
 
17698
# and func_basename. For efficiency, we do not delegate to
 
17699
# those functions but instead duplicate the functionality here.
 
17700
func_dirname_and_basename ()
 
17701
{
 
17702
  case ${1} in
 
17703
    */*) func_dirname_result="${1%/*}${2}" ;;
 
17704
    *  ) func_dirname_result="${3}" ;;
 
17705
  esac
 
17706
  func_basename_result="${1##*/}"
 
17707
}
 
17708
 
 
17709
# func_stripname prefix suffix name
 
17710
# strip PREFIX and SUFFIX off of NAME.
 
17711
# PREFIX and SUFFIX must not contain globbing or regex special
 
17712
# characters, hashes, percent signs, but SUFFIX may contain a leading
 
17713
# dot (in which case that matches only a dot).
 
17714
func_stripname ()
 
17715
{
 
17716
  # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
 
17717
  # positional parameters, so assign one to ordinary parameter first.
 
17718
  func_stripname_result=${3}
 
17719
  func_stripname_result=${func_stripname_result#"${1}"}
 
17720
  func_stripname_result=${func_stripname_result%"${2}"}
 
17721
}
 
17722
 
 
17723
# func_opt_split
 
17724
func_opt_split ()
 
17725
{
 
17726
  func_opt_split_opt=${1%%=*}
 
17727
  func_opt_split_arg=${1#*=}
 
17728
}
 
17729
 
 
17730
# func_lo2o object
 
17731
func_lo2o ()
 
17732
{
 
17733
  case ${1} in
 
17734
    *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
 
17735
    *)    func_lo2o_result=${1} ;;
 
17736
  esac
 
17737
}
 
17738
 
 
17739
# func_xform libobj-or-source
 
17740
func_xform ()
 
17741
{
 
17742
  func_xform_result=${1%.*}.lo
 
17743
}
 
17744
 
 
17745
# func_arith arithmetic-term...
 
17746
func_arith ()
 
17747
{
 
17748
  func_arith_result=$(( $* ))
 
17749
}
 
17750
 
 
17751
# func_len string
 
17752
# STRING may not start with a hyphen.
 
17753
func_len ()
 
17754
{
 
17755
  func_len_result=${#1}
 
17756
}
 
17757
 
 
17758
_LT_EOF
 
17759
    ;;
 
17760
  *) # Bourne compatible functions.
 
17761
    cat << \_LT_EOF >> "$cfgfile"
 
17762
 
 
17763
# func_dirname file append nondir_replacement
 
17764
# Compute the dirname of FILE.  If nonempty, add APPEND to the result,
 
17765
# otherwise set result to NONDIR_REPLACEMENT.
 
17766
func_dirname ()
 
17767
{
 
17768
  # Extract subdirectory from the argument.
 
17769
  func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
 
17770
  if test "X$func_dirname_result" = "X${1}"; then
 
17771
    func_dirname_result="${3}"
 
17772
  else
 
17773
    func_dirname_result="$func_dirname_result${2}"
 
17774
  fi
 
17775
}
 
17776
 
 
17777
# func_basename file
 
17778
func_basename ()
 
17779
{
 
17780
  func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
 
17781
}
 
17782
 
 
17783
 
 
17784
# func_stripname prefix suffix name
 
17785
# strip PREFIX and SUFFIX off of NAME.
 
17786
# PREFIX and SUFFIX must not contain globbing or regex special
 
17787
# characters, hashes, percent signs, but SUFFIX may contain a leading
 
17788
# dot (in which case that matches only a dot).
 
17789
# func_strip_suffix prefix name
 
17790
func_stripname ()
 
17791
{
 
17792
  case ${2} in
 
17793
    .*) func_stripname_result=`$ECHO "X${3}" \
 
17794
           | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
 
17795
    *)  func_stripname_result=`$ECHO "X${3}" \
 
17796
           | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
 
17797
  esac
 
17798
}
 
17799
 
 
17800
# sed scripts:
 
17801
my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
 
17802
my_sed_long_arg='1s/^-[^=]*=//'
 
17803
 
 
17804
# func_opt_split
 
17805
func_opt_split ()
 
17806
{
 
17807
  func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
 
17808
  func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
 
17809
}
 
17810
 
 
17811
# func_lo2o object
 
17812
func_lo2o ()
 
17813
{
 
17814
  func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
 
17815
}
 
17816
 
 
17817
# func_xform libobj-or-source
 
17818
func_xform ()
 
17819
{
 
17820
  func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
 
17821
}
 
17822
 
 
17823
# func_arith arithmetic-term...
 
17824
func_arith ()
 
17825
{
 
17826
  func_arith_result=`expr "$@"`
 
17827
}
 
17828
 
 
17829
# func_len string
 
17830
# STRING may not start with a hyphen.
 
17831
func_len ()
 
17832
{
 
17833
  func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
 
17834
}
 
17835
 
 
17836
_LT_EOF
 
17837
esac
 
17838
 
 
17839
case $lt_shell_append in
 
17840
  yes)
 
17841
    cat << \_LT_EOF >> "$cfgfile"
 
17842
 
 
17843
# func_append var value
 
17844
# Append VALUE to the end of shell variable VAR.
 
17845
func_append ()
 
17846
{
 
17847
  eval "$1+=\$2"
 
17848
}
 
17849
_LT_EOF
 
17850
    ;;
 
17851
  *)
 
17852
    cat << \_LT_EOF >> "$cfgfile"
 
17853
 
 
17854
# func_append var value
 
17855
# Append VALUE to the end of shell variable VAR.
 
17856
func_append ()
 
17857
{
 
17858
  eval "$1=\$$1\$2"
 
17859
}
 
17860
 
 
17861
_LT_EOF
 
17862
    ;;
 
17863
  esac
 
17864
 
 
17865
 
 
17866
  sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
 
17867
    || (rm -f "$cfgfile"; exit 1)
 
17868
 
 
17869
  mv -f "$cfgfile" "$ofile" ||
 
17870
    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
 
17871
  chmod +x "$ofile"
 
17872
 
 
17873
 
 
17874
    cat <<_LT_EOF >> "$ofile"
 
17875
 
 
17876
# ### BEGIN LIBTOOL TAG CONFIG: CXX
 
17877
 
 
17878
# The linker used to build libraries.
 
17879
LD=$lt_LD_CXX
 
17880
 
 
17881
# Commands used to build an old-style archive.
 
17882
old_archive_cmds=$lt_old_archive_cmds_CXX
 
17883
 
 
17884
# A language specific compiler.
 
17885
CC=$lt_compiler_CXX
 
17886
 
 
17887
# Is the compiler the GNU compiler?
 
17888
with_gcc=$GCC_CXX
 
17889
 
 
17890
# Compiler flag to turn off builtin functions.
 
17891
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
 
17892
 
 
17893
# How to pass a linker flag through the compiler.
 
17894
wl=$lt_lt_prog_compiler_wl_CXX
 
17895
 
 
17896
# Additional compiler flags for building library objects.
 
17897
pic_flag=$lt_lt_prog_compiler_pic_CXX
 
17898
 
 
17899
# Compiler flag to prevent dynamic linking.
 
17900
link_static_flag=$lt_lt_prog_compiler_static_CXX
 
17901
 
 
17902
# Does compiler simultaneously support -c and -o options?
 
17903
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
 
17904
 
 
17905
# Whether or not to add -lc for building shared libraries.
 
17906
build_libtool_need_lc=$archive_cmds_need_lc_CXX
 
17907
 
 
17908
# Whether or not to disallow shared libs when runtime libs are static.
 
17909
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
 
17910
 
 
17911
# Compiler flag to allow reflexive dlopens.
 
17912
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
 
17913
 
 
17914
# Compiler flag to generate shared objects directly from archives.
 
17915
whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
 
17916
 
 
17917
# Whether the compiler copes with passing no objects directly.
 
17918
compiler_needs_object=$lt_compiler_needs_object_CXX
 
17919
 
 
17920
# Create an old-style archive from a shared archive.
 
17921
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
 
17922
 
 
17923
# Create a temporary old-style archive to link instead of a shared archive.
 
17924
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
 
17925
 
 
17926
# Commands used to build a shared archive.
 
17927
archive_cmds=$lt_archive_cmds_CXX
 
17928
archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
 
17929
 
 
17930
# Commands used to build a loadable module if different from building
 
17931
# a shared archive.
 
17932
module_cmds=$lt_module_cmds_CXX
 
17933
module_expsym_cmds=$lt_module_expsym_cmds_CXX
 
17934
 
 
17935
# Whether we are building with GNU ld or not.
 
17936
with_gnu_ld=$lt_with_gnu_ld_CXX
 
17937
 
 
17938
# Flag that allows shared libraries with undefined symbols to be built.
 
17939
allow_undefined_flag=$lt_allow_undefined_flag_CXX
 
17940
 
 
17941
# Flag that enforces no undefined symbols.
 
17942
no_undefined_flag=$lt_no_undefined_flag_CXX
 
17943
 
 
17944
# Flag to hardcode \$libdir into a binary during linking.
 
17945
# This must work even if \$libdir does not exist
 
17946
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
 
17947
 
 
17948
# If ld is used when linking, flag to hardcode \$libdir into a binary
 
17949
# during linking.  This must work even if \$libdir does not exist.
 
17950
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
 
17951
 
 
17952
# Whether we need a single "-rpath" flag with a separated argument.
 
17953
hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
 
17954
 
 
17955
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
 
17956
# DIR into the resulting binary.
 
17957
hardcode_direct=$hardcode_direct_CXX
 
17958
 
 
17959
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
 
17960
# DIR into the resulting binary and the resulting library dependency is
 
17961
# "absolute",i.e impossible to change by setting \${shlibpath_var} if the
 
17962
# library is relocated.
 
17963
hardcode_direct_absolute=$hardcode_direct_absolute_CXX
 
17964
 
 
17965
# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
 
17966
# into the resulting binary.
 
17967
hardcode_minus_L=$hardcode_minus_L_CXX
 
17968
 
 
17969
# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
 
17970
# into the resulting binary.
 
17971
hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
 
17972
 
 
17973
# Set to "yes" if building a shared library automatically hardcodes DIR
 
17974
# into the library and all subsequent libraries and executables linked
 
17975
# against it.
 
17976
hardcode_automatic=$hardcode_automatic_CXX
 
17977
 
 
17978
# Set to yes if linker adds runtime paths of dependent libraries
 
17979
# to runtime path list.
 
17980
inherit_rpath=$inherit_rpath_CXX
 
17981
 
 
17982
# Whether libtool must link a program against all its dependency libraries.
 
17983
link_all_deplibs=$link_all_deplibs_CXX
 
17984
 
 
17985
# Fix the shell variable \$srcfile for the compiler.
 
17986
fix_srcfile_path=$lt_fix_srcfile_path_CXX
 
17987
 
 
17988
# Set to "yes" if exported symbols are required.
 
17989
always_export_symbols=$always_export_symbols_CXX
 
17990
 
 
17991
# The commands to list exported symbols.
 
17992
export_symbols_cmds=$lt_export_symbols_cmds_CXX
 
17993
 
 
17994
# Symbols that should not be listed in the preloaded symbols.
 
17995
exclude_expsyms=$lt_exclude_expsyms_CXX
 
17996
 
 
17997
# Symbols that must always be exported.
 
17998
include_expsyms=$lt_include_expsyms_CXX
 
17999
 
 
18000
# Commands necessary for linking programs (against libraries) with templates.
 
18001
prelink_cmds=$lt_prelink_cmds_CXX
 
18002
 
 
18003
# Specify filename containing input files.
 
18004
file_list_spec=$lt_file_list_spec_CXX
 
18005
 
 
18006
# How to hardcode a shared library path into an executable.
 
18007
hardcode_action=$hardcode_action_CXX
 
18008
 
 
18009
# The directories searched by this compiler when creating a shared library.
 
18010
compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
 
18011
 
 
18012
# Dependencies to place before and after the objects being linked to
 
18013
# create a shared library.
 
18014
predep_objects=$lt_predep_objects_CXX
 
18015
postdep_objects=$lt_postdep_objects_CXX
 
18016
predeps=$lt_predeps_CXX
 
18017
postdeps=$lt_postdeps_CXX
 
18018
 
 
18019
# The library search path used internally by the compiler when linking
 
18020
# a shared library.
 
18021
compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
 
18022
 
 
18023
# ### END LIBTOOL TAG CONFIG: CXX
 
18024
_LT_EOF
 
18025
 
 
18026
 ;;
 
18027
 
 
18028
  esac
 
18029
done # for ac_tag
 
18030
 
 
18031
 
 
18032
as_fn_exit 0
 
18033
_ACEOF
 
18034
ac_clean_files=$ac_clean_files_save
 
18035
 
 
18036
test $ac_write_fail = 0 ||
 
18037
  as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
 
18038
 
 
18039
 
 
18040
# configure is writing to config.log, and then calls config.status.
 
18041
# config.status does its own redirection, appending to config.log.
 
18042
# Unfortunately, on DOS this fails, as config.log is still kept open
 
18043
# by configure, so config.status won't be able to write to it; its
 
18044
# output is simply discarded.  So we exec the FD to /dev/null,
 
18045
# effectively closing config.log, so it can be properly (re)opened and
 
18046
# appended to by config.status.  When coming back to configure, we
 
18047
# need to make the FD available again.
 
18048
if test "$no_create" != yes; then
 
18049
  ac_cs_success=:
 
18050
  ac_config_status_args=
 
18051
  test "$silent" = yes &&
 
18052
    ac_config_status_args="$ac_config_status_args --quiet"
 
18053
  exec 5>/dev/null
 
18054
  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
 
18055
  exec 5>>config.log
 
18056
  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
 
18057
  # would make configure fail if this is the last instruction.
 
18058
  $ac_cs_success || as_fn_exit $?
 
18059
fi
 
18060
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
 
18061
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
 
18062
$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
 
18063
fi
 
18064
 
 
18065