~ubuntu-branches/ubuntu/utopic/trousers/utopic-proposed

« back to all changes in this revision

Viewing changes to autom4te.cache/output.0

  • Committer: Package Import Robot
  • Author(s): Pierre Chifflier
  • Date: 2013-08-20 18:01:47 UTC
  • mfrom: (1.1.7)
  • Revision ID: package-import@ubuntu.com-20130820180147-ucz33jh8z2qx47ya
Tags: 0.3.11.2-1
* Imported Upstream version 0.3.11.2
* Upstream license changed to BSD
* Example tools are not shipped anymore
* Remove 05-gcc47.patch, not needed anymore
* Updated symbols file

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
@%:@! /bin/sh
2
 
@%:@ Guess values for system-dependent variables and create Makefiles.
3
 
@%:@ Generated by GNU Autoconf 2.68 for trousers 0.3.10.
4
 
@%:@
5
 
@%:@ Report bugs to <trousers-tech@lists.sf.net>.
6
 
@%:@ 
7
 
@%:@ 
8
 
@%:@ Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9
 
@%:@ 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
10
 
@%:@ Foundation, Inc.
11
 
@%:@ 
12
 
@%:@ 
13
 
@%:@ This configure script is free software; the Free Software Foundation
14
 
@%:@ gives unlimited permission to copy, distribute and modify it.
15
 
## -------------------- ##
16
 
## M4sh Initialization. ##
17
 
## -------------------- ##
18
 
 
19
 
# Be more Bourne compatible
20
 
DUALCASE=1; export DUALCASE # for MKS sh
21
 
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
22
 
  emulate sh
23
 
  NULLCMD=:
24
 
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
25
 
  # is contrary to our usage.  Disable this feature.
26
 
  alias -g '${1+"$@"}'='"$@"'
27
 
  setopt NO_GLOB_SUBST
28
 
else
29
 
  case `(set -o) 2>/dev/null` in @%:@(
30
 
  *posix*) :
31
 
    set -o posix ;; @%:@(
32
 
  *) :
33
 
     ;;
34
 
esac
35
 
fi
36
 
 
37
 
 
38
 
as_nl='
39
 
'
40
 
export as_nl
41
 
# Printing a long string crashes Solaris 7 /usr/bin/printf.
42
 
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
43
 
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
44
 
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
45
 
# Prefer a ksh shell builtin over an external printf program on Solaris,
46
 
# but without wasting forks for bash or zsh.
47
 
if test -z "$BASH_VERSION$ZSH_VERSION" \
48
 
    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
49
 
  as_echo='print -r --'
50
 
  as_echo_n='print -rn --'
51
 
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
52
 
  as_echo='printf %s\n'
53
 
  as_echo_n='printf %s'
54
 
else
55
 
  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
56
 
    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
57
 
    as_echo_n='/usr/ucb/echo -n'
58
 
  else
59
 
    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60
 
    as_echo_n_body='eval
61
 
      arg=$1;
62
 
      case $arg in @%:@(
63
 
      *"$as_nl"*)
64
 
        expr "X$arg" : "X\\(.*\\)$as_nl";
65
 
        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
66
 
      esac;
67
 
      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
68
 
    '
69
 
    export as_echo_n_body
70
 
    as_echo_n='sh -c $as_echo_n_body as_echo'
71
 
  fi
72
 
  export as_echo_body
73
 
  as_echo='sh -c $as_echo_body as_echo'
74
 
fi
75
 
 
76
 
# The user is always right.
77
 
if test "${PATH_SEPARATOR+set}" != set; then
78
 
  PATH_SEPARATOR=:
79
 
  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
80
 
    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
81
 
      PATH_SEPARATOR=';'
82
 
  }
83
 
fi
84
 
 
85
 
 
86
 
# IFS
87
 
# We need space, tab and new line, in precisely that order.  Quoting is
88
 
# there to prevent editors from complaining about space-tab.
89
 
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
90
 
# splitting by setting IFS to empty value.)
91
 
IFS=" ""        $as_nl"
92
 
 
93
 
# Find who we are.  Look in the path if we contain no directory separator.
94
 
as_myself=
95
 
case $0 in @%:@((
96
 
  *[\\/]* ) as_myself=$0 ;;
97
 
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
98
 
for as_dir in $PATH
99
 
do
100
 
  IFS=$as_save_IFS
101
 
  test -z "$as_dir" && as_dir=.
102
 
    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
103
 
  done
104
 
IFS=$as_save_IFS
105
 
 
106
 
     ;;
107
 
esac
108
 
# We did not find ourselves, most probably we were run as `sh COMMAND'
109
 
# in which case we are not to be found in the path.
110
 
if test "x$as_myself" = x; then
111
 
  as_myself=$0
112
 
fi
113
 
if test ! -f "$as_myself"; then
114
 
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
115
 
  exit 1
116
 
fi
117
 
 
118
 
# Unset variables that we do not need and which cause bugs (e.g. in
119
 
# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
120
 
# suppresses any "Segmentation fault" message there.  '((' could
121
 
# trigger a bug in pdksh 5.2.14.
122
 
for as_var in BASH_ENV ENV MAIL MAILPATH
123
 
do eval test x\${$as_var+set} = xset \
124
 
  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
125
 
done
126
 
PS1='$ '
127
 
PS2='> '
128
 
PS4='+ '
129
 
 
130
 
# NLS nuisances.
131
 
LC_ALL=C
132
 
export LC_ALL
133
 
LANGUAGE=C
134
 
export LANGUAGE
135
 
 
136
 
# CDPATH.
137
 
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
138
 
 
139
 
if test "x$CONFIG_SHELL" = x; then
140
 
  as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
141
 
  emulate sh
142
 
  NULLCMD=:
143
 
  # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
144
 
  # is contrary to our usage.  Disable this feature.
145
 
  alias -g '\${1+\"\$@\"}'='\"\$@\"'
146
 
  setopt NO_GLOB_SUBST
147
 
else
148
 
  case \`(set -o) 2>/dev/null\` in @%:@(
149
 
  *posix*) :
150
 
    set -o posix ;; @%:@(
151
 
  *) :
152
 
     ;;
153
 
esac
154
 
fi
155
 
"
156
 
  as_required="as_fn_return () { (exit \$1); }
157
 
as_fn_success () { as_fn_return 0; }
158
 
as_fn_failure () { as_fn_return 1; }
159
 
as_fn_ret_success () { return 0; }
160
 
as_fn_ret_failure () { return 1; }
161
 
 
162
 
exitcode=0
163
 
as_fn_success || { exitcode=1; echo as_fn_success failed.; }
164
 
as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
165
 
as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
166
 
as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
167
 
if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
168
 
  
169
 
else
170
 
  exitcode=1; echo positional parameters were not saved.
171
 
fi
172
 
test x\$exitcode = x0 || exit 1"
173
 
  as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
174
 
  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
175
 
  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
176
 
  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
177
 
test \$(( 1 + 1 )) = 2 || exit 1
178
 
 
179
 
  test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
180
 
    ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
181
 
    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
182
 
    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
183
 
    PATH=/empty FPATH=/empty; export PATH FPATH
184
 
    test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
185
 
      || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
186
 
  if (eval "$as_required") 2>/dev/null; then :
187
 
  as_have_required=yes
188
 
else
189
 
  as_have_required=no
190
 
fi
191
 
  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
192
 
  
193
 
else
194
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
195
 
as_found=false
196
 
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
197
 
do
198
 
  IFS=$as_save_IFS
199
 
  test -z "$as_dir" && as_dir=.
200
 
  as_found=:
201
 
  case $as_dir in @%:@(
202
 
         /*)
203
 
           for as_base in sh bash ksh sh5; do
204
 
             # Try only shells that exist, to save several forks.
205
 
             as_shell=$as_dir/$as_base
206
 
             if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
207
 
                    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
208
 
  CONFIG_SHELL=$as_shell as_have_required=yes
209
 
                   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
210
 
  break 2
211
 
fi
212
 
fi
213
 
           done;;
214
 
       esac
215
 
  as_found=false
216
 
done
217
 
$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
218
 
              { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
219
 
  CONFIG_SHELL=$SHELL as_have_required=yes
220
 
fi; }
221
 
IFS=$as_save_IFS
222
 
 
223
 
 
224
 
      if test "x$CONFIG_SHELL" != x; then :
225
 
  # We cannot yet assume a decent shell, so we have to provide a
226
 
        # neutralization value for shells without unset; and this also
227
 
        # works around shells that cannot unset nonexistent variables.
228
 
        # Preserve -v and -x to the replacement shell.
229
 
        BASH_ENV=/dev/null
230
 
        ENV=/dev/null
231
 
        (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
232
 
        export CONFIG_SHELL
233
 
        case $- in @%:@ ((((
234
 
          *v*x* | *x*v* ) as_opts=-vx ;;
235
 
          *v* ) as_opts=-v ;;
236
 
          *x* ) as_opts=-x ;;
237
 
          * ) as_opts= ;;
238
 
        esac
239
 
        exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
240
 
fi
241
 
 
242
 
    if test x$as_have_required = xno; then :
243
 
  $as_echo "$0: This script requires a shell more modern than all"
244
 
  $as_echo "$0: the shells that I found on your system."
245
 
  if test x${ZSH_VERSION+set} = xset ; then
246
 
    $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
247
 
    $as_echo "$0: be upgraded to zsh 4.3.4 or later."
248
 
  else
249
 
    $as_echo "$0: Please tell bug-autoconf@gnu.org and
250
 
$0: trousers-tech@lists.sf.net about your system, including
251
 
$0: any error possibly output before this message. Then
252
 
$0: install a modern shell, or manually run the script
253
 
$0: under such a shell if you do have one."
254
 
  fi
255
 
  exit 1
256
 
fi
257
 
fi
258
 
fi
259
 
SHELL=${CONFIG_SHELL-/bin/sh}
260
 
export SHELL
261
 
# Unset more variables known to interfere with behavior of common tools.
262
 
CLICOLOR_FORCE= GREP_OPTIONS=
263
 
unset CLICOLOR_FORCE GREP_OPTIONS
264
 
 
265
 
## --------------------- ##
266
 
## M4sh Shell Functions. ##
267
 
## --------------------- ##
268
 
@%:@ as_fn_unset VAR
269
 
@%:@ ---------------
270
 
@%:@ Portably unset VAR.
271
 
as_fn_unset ()
272
 
{
273
 
  { eval $1=; unset $1;}
274
 
}
275
 
as_unset=as_fn_unset
276
 
 
277
 
@%:@ as_fn_set_status STATUS
278
 
@%:@ -----------------------
279
 
@%:@ Set @S|@? to STATUS, without forking.
280
 
as_fn_set_status ()
281
 
{
282
 
  return $1
283
 
} @%:@ as_fn_set_status
284
 
 
285
 
@%:@ as_fn_exit STATUS
286
 
@%:@ -----------------
287
 
@%:@ Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
288
 
as_fn_exit ()
289
 
{
290
 
  set +e
291
 
  as_fn_set_status $1
292
 
  exit $1
293
 
} @%:@ as_fn_exit
294
 
 
295
 
@%:@ as_fn_mkdir_p
296
 
@%:@ -------------
297
 
@%:@ Create "@S|@as_dir" as a directory, including parents if necessary.
298
 
as_fn_mkdir_p ()
299
 
{
300
 
 
301
 
  case $as_dir in #(
302
 
  -*) as_dir=./$as_dir;;
303
 
  esac
304
 
  test -d "$as_dir" || eval $as_mkdir_p || {
305
 
    as_dirs=
306
 
    while :; do
307
 
      case $as_dir in #(
308
 
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
309
 
      *) as_qdir=$as_dir;;
310
 
      esac
311
 
      as_dirs="'$as_qdir' $as_dirs"
312
 
      as_dir=`$as_dirname -- "$as_dir" ||
313
 
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
314
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
315
 
         X"$as_dir" : 'X\(//\)$' \| \
316
 
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
317
 
$as_echo X"$as_dir" |
318
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
319
 
            s//\1/
320
 
            q
321
 
          }
322
 
          /^X\(\/\/\)[^/].*/{
323
 
            s//\1/
324
 
            q
325
 
          }
326
 
          /^X\(\/\/\)$/{
327
 
            s//\1/
328
 
            q
329
 
          }
330
 
          /^X\(\/\).*/{
331
 
            s//\1/
332
 
            q
333
 
          }
334
 
          s/.*/./; q'`
335
 
      test -d "$as_dir" && break
336
 
    done
337
 
    test -z "$as_dirs" || eval "mkdir $as_dirs"
338
 
  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
339
 
 
340
 
 
341
 
} @%:@ as_fn_mkdir_p
342
 
@%:@ as_fn_append VAR VALUE
343
 
@%:@ ----------------------
344
 
@%:@ Append the text in VALUE to the end of the definition contained in VAR. Take
345
 
@%:@ advantage of any shell optimizations that allow amortized linear growth over
346
 
@%:@ repeated appends, instead of the typical quadratic growth present in naive
347
 
@%:@ implementations.
348
 
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
349
 
  eval 'as_fn_append ()
350
 
  {
351
 
    eval $1+=\$2
352
 
  }'
353
 
else
354
 
  as_fn_append ()
355
 
  {
356
 
    eval $1=\$$1\$2
357
 
  }
358
 
fi # as_fn_append
359
 
 
360
 
@%:@ as_fn_arith ARG...
361
 
@%:@ ------------------
362
 
@%:@ Perform arithmetic evaluation on the ARGs, and store the result in the
363
 
@%:@ global @S|@as_val. Take advantage of shells that can avoid forks. The arguments
364
 
@%:@ must be portable across @S|@(()) and expr.
365
 
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
366
 
  eval 'as_fn_arith ()
367
 
  {
368
 
    as_val=$(( $* ))
369
 
  }'
370
 
else
371
 
  as_fn_arith ()
372
 
  {
373
 
    as_val=`expr "$@" || test $? -eq 1`
374
 
  }
375
 
fi # as_fn_arith
376
 
 
377
 
 
378
 
@%:@ as_fn_error STATUS ERROR [LINENO LOG_FD]
379
 
@%:@ ----------------------------------------
380
 
@%:@ Output "`basename @S|@0`: error: ERROR" to stderr. If LINENO and LOG_FD are
381
 
@%:@ provided, also output the error to LOG_FD, referencing LINENO. Then exit the
382
 
@%:@ script with STATUS, using 1 if that was 0.
383
 
as_fn_error ()
384
 
{
385
 
  as_status=$1; test $as_status -eq 0 && as_status=1
386
 
  if test "$4"; then
387
 
    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
388
 
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
389
 
  fi
390
 
  $as_echo "$as_me: error: $2" >&2
391
 
  as_fn_exit $as_status
392
 
} @%:@ as_fn_error
393
 
 
394
 
if expr a : '\(a\)' >/dev/null 2>&1 &&
395
 
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
396
 
  as_expr=expr
397
 
else
398
 
  as_expr=false
399
 
fi
400
 
 
401
 
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
402
 
  as_basename=basename
403
 
else
404
 
  as_basename=false
405
 
fi
406
 
 
407
 
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
408
 
  as_dirname=dirname
409
 
else
410
 
  as_dirname=false
411
 
fi
412
 
 
413
 
as_me=`$as_basename -- "$0" ||
414
 
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
415
 
         X"$0" : 'X\(//\)$' \| \
416
 
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
417
 
$as_echo X/"$0" |
418
 
    sed '/^.*\/\([^/][^/]*\)\/*$/{
419
 
            s//\1/
420
 
            q
421
 
          }
422
 
          /^X\/\(\/\/\)$/{
423
 
            s//\1/
424
 
            q
425
 
          }
426
 
          /^X\/\(\/\).*/{
427
 
            s//\1/
428
 
            q
429
 
          }
430
 
          s/.*/./; q'`
431
 
 
432
 
# Avoid depending upon Character Ranges.
433
 
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
434
 
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
435
 
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
436
 
as_cr_digits='0123456789'
437
 
as_cr_alnum=$as_cr_Letters$as_cr_digits
438
 
 
439
 
 
440
 
  as_lineno_1=$LINENO as_lineno_1a=$LINENO
441
 
  as_lineno_2=$LINENO as_lineno_2a=$LINENO
442
 
  eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
443
 
  test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
444
 
  # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
445
 
  sed -n '
446
 
    p
447
 
    /[$]LINENO/=
448
 
  ' <$as_myself |
449
 
    sed '
450
 
      s/[$]LINENO.*/&-/
451
 
      t lineno
452
 
      b
453
 
      :lineno
454
 
      N
455
 
      :loop
456
 
      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
457
 
      t loop
458
 
      s/-\n.*//
459
 
    ' >$as_me.lineno &&
460
 
  chmod +x "$as_me.lineno" ||
461
 
    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
462
 
 
463
 
  # Don't try to exec as it changes $[0], causing all sort of problems
464
 
  # (the dirname of $[0] is not the place where we might find the
465
 
  # original and so on.  Autoconf is especially sensitive to this).
466
 
  . "./$as_me.lineno"
467
 
  # Exit status is that of the last command.
468
 
  exit
469
 
}
470
 
 
471
 
ECHO_C= ECHO_N= ECHO_T=
472
 
case `echo -n x` in @%:@(((((
473
 
-n*)
474
 
  case `echo 'xy\c'` in
475
 
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
476
 
  xy)  ECHO_C='\c';;
477
 
  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
478
 
       ECHO_T=' ';;
479
 
  esac;;
480
 
*)
481
 
  ECHO_N='-n';;
482
 
esac
483
 
 
484
 
rm -f conf$$ conf$$.exe conf$$.file
485
 
if test -d conf$$.dir; then
486
 
  rm -f conf$$.dir/conf$$.file
487
 
else
488
 
  rm -f conf$$.dir
489
 
  mkdir conf$$.dir 2>/dev/null
490
 
fi
491
 
if (echo >conf$$.file) 2>/dev/null; then
492
 
  if ln -s conf$$.file conf$$ 2>/dev/null; then
493
 
    as_ln_s='ln -s'
494
 
    # ... but there are two gotchas:
495
 
    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
496
 
    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
497
 
    # In both cases, we have to default to `cp -p'.
498
 
    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
499
 
      as_ln_s='cp -p'
500
 
  elif ln conf$$.file conf$$ 2>/dev/null; then
501
 
    as_ln_s=ln
502
 
  else
503
 
    as_ln_s='cp -p'
504
 
  fi
505
 
else
506
 
  as_ln_s='cp -p'
507
 
fi
508
 
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
509
 
rmdir conf$$.dir 2>/dev/null
510
 
 
511
 
if mkdir -p . 2>/dev/null; then
512
 
  as_mkdir_p='mkdir -p "$as_dir"'
513
 
else
514
 
  test -d ./-p && rmdir ./-p
515
 
  as_mkdir_p=false
516
 
fi
517
 
 
518
 
if test -x / >/dev/null 2>&1; then
519
 
  as_test_x='test -x'
520
 
else
521
 
  if ls -dL / >/dev/null 2>&1; then
522
 
    as_ls_L_option=L
523
 
  else
524
 
    as_ls_L_option=
525
 
  fi
526
 
  as_test_x='
527
 
    eval sh -c '\''
528
 
      if test -d "$1"; then
529
 
        test -d "$1/.";
530
 
      else
531
 
        case $1 in @%:@(
532
 
        -*)set "./$1";;
533
 
        esac;
534
 
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in @%:@((
535
 
        ???[sx]*):;;*)false;;esac;fi
536
 
    '\'' sh
537
 
  '
538
 
fi
539
 
as_executable_p=$as_test_x
540
 
 
541
 
# Sed expression to map a string onto a valid CPP name.
542
 
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
543
 
 
544
 
# Sed expression to map a string onto a valid variable name.
545
 
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
546
 
 
547
 
SHELL=${CONFIG_SHELL-/bin/sh}
548
 
 
549
 
 
550
 
test -n "$DJDIR" || exec 7<&0 </dev/null
551
 
exec 6>&1
552
 
 
553
 
# Name of the host.
554
 
# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
555
 
# so uname gets run too.
556
 
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
557
 
 
558
 
#
559
 
# Initializations.
560
 
#
561
 
ac_default_prefix=/usr/local
562
 
ac_clean_files=
563
 
ac_config_libobj_dir=.
564
 
LIB@&t@OBJS=
565
 
cross_compiling=no
566
 
subdirs=
567
 
MFLAGS=
568
 
MAKEFLAGS=
569
 
 
570
 
# Identity of this package.
571
 
PACKAGE_NAME='trousers'
572
 
PACKAGE_TARNAME='trousers'
573
 
PACKAGE_VERSION='0.3.10'
574
 
PACKAGE_STRING='trousers 0.3.10'
575
 
PACKAGE_BUGREPORT='trousers-tech@lists.sf.net'
576
 
PACKAGE_URL=''
577
 
 
578
 
# Factoring default headers for most tests.
579
 
ac_includes_default="\
580
 
#include <stdio.h>
581
 
#ifdef HAVE_SYS_TYPES_H
582
 
# include <sys/types.h>
583
 
#endif
584
 
#ifdef HAVE_SYS_STAT_H
585
 
# include <sys/stat.h>
586
 
#endif
587
 
#ifdef STDC_HEADERS
588
 
# include <stdlib.h>
589
 
# include <stddef.h>
590
 
#else
591
 
# ifdef HAVE_STDLIB_H
592
 
#  include <stdlib.h>
593
 
# endif
594
 
#endif
595
 
#ifdef HAVE_STRING_H
596
 
# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
597
 
#  include <memory.h>
598
 
# endif
599
 
# include <string.h>
600
 
#endif
601
 
#ifdef HAVE_STRINGS_H
602
 
# include <strings.h>
603
 
#endif
604
 
#ifdef HAVE_INTTYPES_H
605
 
# include <inttypes.h>
606
 
#endif
607
 
#ifdef HAVE_STDINT_H
608
 
# include <stdint.h>
609
 
#endif
610
 
#ifdef HAVE_UNISTD_H
611
 
# include <unistd.h>
612
 
#endif"
613
 
 
614
 
ac_subst_vars='am__EXEEXT_FALSE
615
 
am__EXEEXT_TRUE
616
 
LTLIBOBJS
617
 
LIB@&t@OBJS
618
 
OTOOL64
619
 
OTOOL
620
 
LIPO
621
 
NMEDIT
622
 
DSYMUTIL
623
 
MANIFEST_TOOL
624
 
RANLIB
625
 
ac_ct_AR
626
 
AR
627
 
DLLTOOL
628
 
OBJDUMP
629
 
LN_S
630
 
NM
631
 
ac_ct_DUMPBIN
632
 
DUMPBIN
633
 
LD
634
 
FGREP
635
 
SED
636
 
LIBTOOL
637
 
TSS_BUILD_SYM_CRYPTO_FALSE
638
 
TSS_BUILD_SYM_CRYPTO_TRUE
639
 
TSS_BUILD_ASYM_CRYPTO_FALSE
640
 
TSS_BUILD_ASYM_CRYPTO_TRUE
641
 
TSS_BUILD_AUTH_FALSE
642
 
TSS_BUILD_AUTH_TRUE
643
 
TSS_BUILD_RSAKEY_LIST_FALSE
644
 
TSS_BUILD_RSAKEY_LIST_TRUE
645
 
TSS_BUILD_ENCDATA_LIST_FALSE
646
 
TSS_BUILD_ENCDATA_LIST_TRUE
647
 
TSS_BUILD_HASH_LIST_FALSE
648
 
TSS_BUILD_HASH_LIST_TRUE
649
 
TSS_BUILD_PCRS_LIST_FALSE
650
 
TSS_BUILD_PCRS_LIST_TRUE
651
 
TSS_BUILD_GET_FLAGS_FALSE
652
 
TSS_BUILD_GET_FLAGS_TRUE
653
 
TSS_BUILD_NV_SUPPORT_FALSE
654
 
TSS_BUILD_NV_SUPPORT_TRUE
655
 
TSS_BUILD_NV_LIST_FALSE
656
 
TSS_BUILD_NV_LIST_TRUE
657
 
TSS_BUILD_CMK_FALSE
658
 
TSS_BUILD_CMK_TRUE
659
 
TSS_BUILD_QUOTE2_FALSE
660
 
TSS_BUILD_QUOTE2_TRUE
661
 
TSS_BUILD_DELEGATION_FALSE
662
 
TSS_BUILD_DELEGATION_TRUE
663
 
TSS_BUILD_SEALX_FALSE
664
 
TSS_BUILD_SEALX_TRUE
665
 
TSS_BUILD_AUDIT_FALSE
666
 
TSS_BUILD_AUDIT_TRUE
667
 
TSS_BUILD_NV_FALSE
668
 
TSS_BUILD_NV_TRUE
669
 
TSS_BUILD_ASN1_FALSE
670
 
TSS_BUILD_ASN1_TRUE
671
 
TSS_BUILD_TRANSPORT_FALSE
672
 
TSS_BUILD_TRANSPORT_TRUE
673
 
TSS_BUILD_TICK_FALSE
674
 
TSS_BUILD_TICK_TRUE
675
 
TSS_BUILD_COUNTER_FALSE
676
 
TSS_BUILD_COUNTER_TRUE
677
 
TSS_BUILD_PCR_COMP12_FALSE
678
 
TSS_BUILD_PCR_COMP12_TRUE
679
 
TSS_BUILD_DAA_FALSE
680
 
TSS_BUILD_DAA_TRUE
681
 
TSS_BUILD_TSS12_FALSE
682
 
TSS_BUILD_TSS12_TRUE
683
 
TSS_BUILD_SELFTEST_FALSE
684
 
TSS_BUILD_SELFTEST_TRUE
685
 
TSS_BUILD_PCR_EXTEND_FALSE
686
 
TSS_BUILD_PCR_EXTEND_TRUE
687
 
TSS_BUILD_KEY_FALSE
688
 
TSS_BUILD_KEY_TRUE
689
 
TSS_BUILD_MIGRATION_FALSE
690
 
TSS_BUILD_MIGRATION_TRUE
691
 
TSS_BUILD_MAINT_FALSE
692
 
TSS_BUILD_MAINT_TRUE
693
 
TSS_BUILD_CERTIFY_FALSE
694
 
TSS_BUILD_CERTIFY_TRUE
695
 
TSS_BUILD_AIK_FALSE
696
 
TSS_BUILD_AIK_TRUE
697
 
TSS_BUILD_ADMIN_FALSE
698
 
TSS_BUILD_ADMIN_TRUE
699
 
TSS_BUILD_PS_FALSE
700
 
TSS_BUILD_PS_TRUE
701
 
TSS_BUILD_EK_FALSE
702
 
TSS_BUILD_EK_TRUE
703
 
TSS_BUILD_OWN_FALSE
704
 
TSS_BUILD_OWN_TRUE
705
 
TSS_BUILD_BIND_FALSE
706
 
TSS_BUILD_BIND_TRUE
707
 
TSS_BUILD_CHANGEAUTH_FALSE
708
 
TSS_BUILD_CHANGEAUTH_TRUE
709
 
TSS_BUILD_SEAL_FALSE
710
 
TSS_BUILD_SEAL_TRUE
711
 
TSS_BUILD_PCR_COMP_FALSE
712
 
TSS_BUILD_PCR_COMP_TRUE
713
 
TSS_BUILD_QUOTE_FALSE
714
 
TSS_BUILD_QUOTE_TRUE
715
 
TSS_BUILD_SIGN_FALSE
716
 
TSS_BUILD_SIGN_TRUE
717
 
TSS_BUILD_PCR_EVENTS_FALSE
718
 
TSS_BUILD_PCR_EVENTS_TRUE
719
 
TSS_BUILD_DIR_FALSE
720
 
TSS_BUILD_DIR_TRUE
721
 
TSS_BUILD_POLICY_FALSE
722
 
TSS_BUILD_POLICY_TRUE
723
 
TSS_BUILD_CAPS_TPM_FALSE
724
 
TSS_BUILD_CAPS_TPM_TRUE
725
 
TSS_BUILD_CAPS_FALSE
726
 
TSS_BUILD_CAPS_TRUE
727
 
TSS_BUILD_RANDOM_FALSE
728
 
TSS_BUILD_RANDOM_TRUE
729
 
TSS_BUILD_GETSET_FALSE
730
 
TSS_BUILD_GETSET_TRUE
731
 
TSS_BUILD_HASH_FALSE
732
 
TSS_BUILD_HASH_TRUE
733
 
RPC
734
 
TCSD_DEFAULT_PORT
735
 
OPENSSL_UI_FALSE
736
 
OPENSSL_UI_TRUE
737
 
GTK_LIBS
738
 
GTK_CFLAGS
739
 
PKG_CONFIG_LIBDIR
740
 
PKG_CONFIG_PATH
741
 
PKG_CONFIG
742
 
HAVE_GTK_FALSE
743
 
HAVE_GTK_TRUE
744
 
EGREP
745
 
GREP
746
 
CPP
747
 
CRYPTOLIB
748
 
CRYPTO_PACKAGE
749
 
am__fastdepCC_FALSE
750
 
am__fastdepCC_TRUE
751
 
CCDEPMODE
752
 
am__nodep
753
 
AMDEPBACKSLASH
754
 
AMDEP_FALSE
755
 
AMDEP_TRUE
756
 
am__quote
757
 
am__include
758
 
DEPDIR
759
 
OBJEXT
760
 
EXEEXT
761
 
ac_ct_CC
762
 
CPPFLAGS
763
 
LDFLAGS
764
 
CFLAGS
765
 
CC
766
 
OPENSSL_LIB_DIR
767
 
am__untar
768
 
am__tar
769
 
AMTAR
770
 
am__leading_dot
771
 
SET_MAKE
772
 
AWK
773
 
mkdir_p
774
 
MKDIR_P
775
 
INSTALL_STRIP_PROGRAM
776
 
STRIP
777
 
install_sh
778
 
MAKEINFO
779
 
AUTOHEADER
780
 
AUTOMAKE
781
 
AUTOCONF
782
 
ACLOCAL
783
 
VERSION
784
 
PACKAGE
785
 
CYGPATH_W
786
 
am__isrc
787
 
INSTALL_DATA
788
 
INSTALL_SCRIPT
789
 
INSTALL_PROGRAM
790
 
target_os
791
 
target_vendor
792
 
target_cpu
793
 
target
794
 
host_os
795
 
host_vendor
796
 
host_cpu
797
 
host
798
 
build_os
799
 
build_vendor
800
 
build_cpu
801
 
build
802
 
target_alias
803
 
host_alias
804
 
build_alias
805
 
LIBS
806
 
ECHO_T
807
 
ECHO_N
808
 
ECHO_C
809
 
DEFS
810
 
mandir
811
 
localedir
812
 
libdir
813
 
psdir
814
 
pdfdir
815
 
dvidir
816
 
htmldir
817
 
infodir
818
 
docdir
819
 
oldincludedir
820
 
includedir
821
 
localstatedir
822
 
sharedstatedir
823
 
sysconfdir
824
 
datadir
825
 
datarootdir
826
 
libexecdir
827
 
sbindir
828
 
bindir
829
 
program_transform_name
830
 
prefix
831
 
exec_prefix
832
 
PACKAGE_URL
833
 
PACKAGE_BUGREPORT
834
 
PACKAGE_STRING
835
 
PACKAGE_VERSION
836
 
PACKAGE_TARNAME
837
 
PACKAGE_NAME
838
 
PATH_SEPARATOR
839
 
SHELL'
840
 
ac_subst_files=''
841
 
ac_user_opts='
842
 
enable_option_checking
843
 
enable_debug
844
 
with_openssl
845
 
enable_dependency_tracking
846
 
enable_gcov
847
 
enable_gprof
848
 
enable_strict_spec_compliance
849
 
with_gmp
850
 
with_gui
851
 
with_api
852
 
enable_static
853
 
enable_shared
854
 
with_pic
855
 
enable_fast_install
856
 
with_gnu_ld
857
 
with_sysroot
858
 
enable_libtool_lock
859
 
'
860
 
      ac_precious_vars='build_alias
861
 
host_alias
862
 
target_alias
863
 
CC
864
 
CFLAGS
865
 
LDFLAGS
866
 
LIBS
867
 
CPPFLAGS
868
 
CPP
869
 
PKG_CONFIG
870
 
PKG_CONFIG_PATH
871
 
PKG_CONFIG_LIBDIR
872
 
GTK_CFLAGS
873
 
GTK_LIBS'
874
 
 
875
 
 
876
 
# Initialize some variables set by options.
877
 
ac_init_help=
878
 
ac_init_version=false
879
 
ac_unrecognized_opts=
880
 
ac_unrecognized_sep=
881
 
# The variables have the same names as the options, with
882
 
# dashes changed to underlines.
883
 
cache_file=/dev/null
884
 
exec_prefix=NONE
885
 
no_create=
886
 
no_recursion=
887
 
prefix=NONE
888
 
program_prefix=NONE
889
 
program_suffix=NONE
890
 
program_transform_name=s,x,x,
891
 
silent=
892
 
site=
893
 
srcdir=
894
 
verbose=
895
 
x_includes=NONE
896
 
x_libraries=NONE
897
 
 
898
 
# Installation directory options.
899
 
# These are left unexpanded so users can "make install exec_prefix=/foo"
900
 
# and all the variables that are supposed to be based on exec_prefix
901
 
# by default will actually change.
902
 
# Use braces instead of parens because sh, perl, etc. also accept them.
903
 
# (The list follows the same order as the GNU Coding Standards.)
904
 
bindir='${exec_prefix}/bin'
905
 
sbindir='${exec_prefix}/sbin'
906
 
libexecdir='${exec_prefix}/libexec'
907
 
datarootdir='${prefix}/share'
908
 
datadir='${datarootdir}'
909
 
sysconfdir='${prefix}/etc'
910
 
sharedstatedir='${prefix}/com'
911
 
localstatedir='${prefix}/var'
912
 
includedir='${prefix}/include'
913
 
oldincludedir='/usr/include'
914
 
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
915
 
infodir='${datarootdir}/info'
916
 
htmldir='${docdir}'
917
 
dvidir='${docdir}'
918
 
pdfdir='${docdir}'
919
 
psdir='${docdir}'
920
 
libdir='${exec_prefix}/lib'
921
 
localedir='${datarootdir}/locale'
922
 
mandir='${datarootdir}/man'
923
 
 
924
 
ac_prev=
925
 
ac_dashdash=
926
 
for ac_option
927
 
do
928
 
  # If the previous option needs an argument, assign it.
929
 
  if test -n "$ac_prev"; then
930
 
    eval $ac_prev=\$ac_option
931
 
    ac_prev=
932
 
    continue
933
 
  fi
934
 
 
935
 
  case $ac_option in
936
 
  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
937
 
  *=)   ac_optarg= ;;
938
 
  *)    ac_optarg=yes ;;
939
 
  esac
940
 
 
941
 
  # Accept the important Cygnus configure options, so we can diagnose typos.
942
 
 
943
 
  case $ac_dashdash$ac_option in
944
 
  --)
945
 
    ac_dashdash=yes ;;
946
 
 
947
 
  -bindir | --bindir | --bindi | --bind | --bin | --bi)
948
 
    ac_prev=bindir ;;
949
 
  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
950
 
    bindir=$ac_optarg ;;
951
 
 
952
 
  -build | --build | --buil | --bui | --bu)
953
 
    ac_prev=build_alias ;;
954
 
  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
955
 
    build_alias=$ac_optarg ;;
956
 
 
957
 
  -cache-file | --cache-file | --cache-fil | --cache-fi \
958
 
  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
959
 
    ac_prev=cache_file ;;
960
 
  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
961
 
  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
962
 
    cache_file=$ac_optarg ;;
963
 
 
964
 
  --config-cache | -C)
965
 
    cache_file=config.cache ;;
966
 
 
967
 
  -datadir | --datadir | --datadi | --datad)
968
 
    ac_prev=datadir ;;
969
 
  -datadir=* | --datadir=* | --datadi=* | --datad=*)
970
 
    datadir=$ac_optarg ;;
971
 
 
972
 
  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
973
 
  | --dataroo | --dataro | --datar)
974
 
    ac_prev=datarootdir ;;
975
 
  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
976
 
  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
977
 
    datarootdir=$ac_optarg ;;
978
 
 
979
 
  -disable-* | --disable-*)
980
 
    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
981
 
    # Reject names that are not valid shell variable names.
982
 
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
983
 
      as_fn_error $? "invalid feature name: $ac_useropt"
984
 
    ac_useropt_orig=$ac_useropt
985
 
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
986
 
    case $ac_user_opts in
987
 
      *"
988
 
"enable_$ac_useropt"
989
 
"*) ;;
990
 
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
991
 
         ac_unrecognized_sep=', ';;
992
 
    esac
993
 
    eval enable_$ac_useropt=no ;;
994
 
 
995
 
  -docdir | --docdir | --docdi | --doc | --do)
996
 
    ac_prev=docdir ;;
997
 
  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
998
 
    docdir=$ac_optarg ;;
999
 
 
1000
 
  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1001
 
    ac_prev=dvidir ;;
1002
 
  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1003
 
    dvidir=$ac_optarg ;;
1004
 
 
1005
 
  -enable-* | --enable-*)
1006
 
    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1007
 
    # Reject names that are not valid shell variable names.
1008
 
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1009
 
      as_fn_error $? "invalid feature name: $ac_useropt"
1010
 
    ac_useropt_orig=$ac_useropt
1011
 
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1012
 
    case $ac_user_opts in
1013
 
      *"
1014
 
"enable_$ac_useropt"
1015
 
"*) ;;
1016
 
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1017
 
         ac_unrecognized_sep=', ';;
1018
 
    esac
1019
 
    eval enable_$ac_useropt=\$ac_optarg ;;
1020
 
 
1021
 
  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1022
 
  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1023
 
  | --exec | --exe | --ex)
1024
 
    ac_prev=exec_prefix ;;
1025
 
  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1026
 
  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1027
 
  | --exec=* | --exe=* | --ex=*)
1028
 
    exec_prefix=$ac_optarg ;;
1029
 
 
1030
 
  -gas | --gas | --ga | --g)
1031
 
    # Obsolete; use --with-gas.
1032
 
    with_gas=yes ;;
1033
 
 
1034
 
  -help | --help | --hel | --he | -h)
1035
 
    ac_init_help=long ;;
1036
 
  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1037
 
    ac_init_help=recursive ;;
1038
 
  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1039
 
    ac_init_help=short ;;
1040
 
 
1041
 
  -host | --host | --hos | --ho)
1042
 
    ac_prev=host_alias ;;
1043
 
  -host=* | --host=* | --hos=* | --ho=*)
1044
 
    host_alias=$ac_optarg ;;
1045
 
 
1046
 
  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1047
 
    ac_prev=htmldir ;;
1048
 
  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1049
 
  | --ht=*)
1050
 
    htmldir=$ac_optarg ;;
1051
 
 
1052
 
  -includedir | --includedir | --includedi | --included | --include \
1053
 
  | --includ | --inclu | --incl | --inc)
1054
 
    ac_prev=includedir ;;
1055
 
  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1056
 
  | --includ=* | --inclu=* | --incl=* | --inc=*)
1057
 
    includedir=$ac_optarg ;;
1058
 
 
1059
 
  -infodir | --infodir | --infodi | --infod | --info | --inf)
1060
 
    ac_prev=infodir ;;
1061
 
  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1062
 
    infodir=$ac_optarg ;;
1063
 
 
1064
 
  -libdir | --libdir | --libdi | --libd)
1065
 
    ac_prev=libdir ;;
1066
 
  -libdir=* | --libdir=* | --libdi=* | --libd=*)
1067
 
    libdir=$ac_optarg ;;
1068
 
 
1069
 
  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1070
 
  | --libexe | --libex | --libe)
1071
 
    ac_prev=libexecdir ;;
1072
 
  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1073
 
  | --libexe=* | --libex=* | --libe=*)
1074
 
    libexecdir=$ac_optarg ;;
1075
 
 
1076
 
  -localedir | --localedir | --localedi | --localed | --locale)
1077
 
    ac_prev=localedir ;;
1078
 
  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1079
 
    localedir=$ac_optarg ;;
1080
 
 
1081
 
  -localstatedir | --localstatedir | --localstatedi | --localstated \
1082
 
  | --localstate | --localstat | --localsta | --localst | --locals)
1083
 
    ac_prev=localstatedir ;;
1084
 
  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1085
 
  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1086
 
    localstatedir=$ac_optarg ;;
1087
 
 
1088
 
  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1089
 
    ac_prev=mandir ;;
1090
 
  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1091
 
    mandir=$ac_optarg ;;
1092
 
 
1093
 
  -nfp | --nfp | --nf)
1094
 
    # Obsolete; use --without-fp.
1095
 
    with_fp=no ;;
1096
 
 
1097
 
  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1098
 
  | --no-cr | --no-c | -n)
1099
 
    no_create=yes ;;
1100
 
 
1101
 
  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1102
 
  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1103
 
    no_recursion=yes ;;
1104
 
 
1105
 
  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1106
 
  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1107
 
  | --oldin | --oldi | --old | --ol | --o)
1108
 
    ac_prev=oldincludedir ;;
1109
 
  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1110
 
  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1111
 
  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1112
 
    oldincludedir=$ac_optarg ;;
1113
 
 
1114
 
  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1115
 
    ac_prev=prefix ;;
1116
 
  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1117
 
    prefix=$ac_optarg ;;
1118
 
 
1119
 
  -program-prefix | --program-prefix | --program-prefi | --program-pref \
1120
 
  | --program-pre | --program-pr | --program-p)
1121
 
    ac_prev=program_prefix ;;
1122
 
  -program-prefix=* | --program-prefix=* | --program-prefi=* \
1123
 
  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1124
 
    program_prefix=$ac_optarg ;;
1125
 
 
1126
 
  -program-suffix | --program-suffix | --program-suffi | --program-suff \
1127
 
  | --program-suf | --program-su | --program-s)
1128
 
    ac_prev=program_suffix ;;
1129
 
  -program-suffix=* | --program-suffix=* | --program-suffi=* \
1130
 
  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1131
 
    program_suffix=$ac_optarg ;;
1132
 
 
1133
 
  -program-transform-name | --program-transform-name \
1134
 
  | --program-transform-nam | --program-transform-na \
1135
 
  | --program-transform-n | --program-transform- \
1136
 
  | --program-transform | --program-transfor \
1137
 
  | --program-transfo | --program-transf \
1138
 
  | --program-trans | --program-tran \
1139
 
  | --progr-tra | --program-tr | --program-t)
1140
 
    ac_prev=program_transform_name ;;
1141
 
  -program-transform-name=* | --program-transform-name=* \
1142
 
  | --program-transform-nam=* | --program-transform-na=* \
1143
 
  | --program-transform-n=* | --program-transform-=* \
1144
 
  | --program-transform=* | --program-transfor=* \
1145
 
  | --program-transfo=* | --program-transf=* \
1146
 
  | --program-trans=* | --program-tran=* \
1147
 
  | --progr-tra=* | --program-tr=* | --program-t=*)
1148
 
    program_transform_name=$ac_optarg ;;
1149
 
 
1150
 
  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1151
 
    ac_prev=pdfdir ;;
1152
 
  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1153
 
    pdfdir=$ac_optarg ;;
1154
 
 
1155
 
  -psdir | --psdir | --psdi | --psd | --ps)
1156
 
    ac_prev=psdir ;;
1157
 
  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1158
 
    psdir=$ac_optarg ;;
1159
 
 
1160
 
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1161
 
  | -silent | --silent | --silen | --sile | --sil)
1162
 
    silent=yes ;;
1163
 
 
1164
 
  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1165
 
    ac_prev=sbindir ;;
1166
 
  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1167
 
  | --sbi=* | --sb=*)
1168
 
    sbindir=$ac_optarg ;;
1169
 
 
1170
 
  -sharedstatedir | --sharedstatedir | --sharedstatedi \
1171
 
  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1172
 
  | --sharedst | --shareds | --shared | --share | --shar \
1173
 
  | --sha | --sh)
1174
 
    ac_prev=sharedstatedir ;;
1175
 
  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1176
 
  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1177
 
  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1178
 
  | --sha=* | --sh=*)
1179
 
    sharedstatedir=$ac_optarg ;;
1180
 
 
1181
 
  -site | --site | --sit)
1182
 
    ac_prev=site ;;
1183
 
  -site=* | --site=* | --sit=*)
1184
 
    site=$ac_optarg ;;
1185
 
 
1186
 
  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1187
 
    ac_prev=srcdir ;;
1188
 
  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1189
 
    srcdir=$ac_optarg ;;
1190
 
 
1191
 
  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1192
 
  | --syscon | --sysco | --sysc | --sys | --sy)
1193
 
    ac_prev=sysconfdir ;;
1194
 
  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1195
 
  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1196
 
    sysconfdir=$ac_optarg ;;
1197
 
 
1198
 
  -target | --target | --targe | --targ | --tar | --ta | --t)
1199
 
    ac_prev=target_alias ;;
1200
 
  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1201
 
    target_alias=$ac_optarg ;;
1202
 
 
1203
 
  -v | -verbose | --verbose | --verbos | --verbo | --verb)
1204
 
    verbose=yes ;;
1205
 
 
1206
 
  -version | --version | --versio | --versi | --vers | -V)
1207
 
    ac_init_version=: ;;
1208
 
 
1209
 
  -with-* | --with-*)
1210
 
    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1211
 
    # Reject names that are not valid shell variable names.
1212
 
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1213
 
      as_fn_error $? "invalid package name: $ac_useropt"
1214
 
    ac_useropt_orig=$ac_useropt
1215
 
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1216
 
    case $ac_user_opts in
1217
 
      *"
1218
 
"with_$ac_useropt"
1219
 
"*) ;;
1220
 
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1221
 
         ac_unrecognized_sep=', ';;
1222
 
    esac
1223
 
    eval with_$ac_useropt=\$ac_optarg ;;
1224
 
 
1225
 
  -without-* | --without-*)
1226
 
    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1227
 
    # Reject names that are not valid shell variable names.
1228
 
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1229
 
      as_fn_error $? "invalid package name: $ac_useropt"
1230
 
    ac_useropt_orig=$ac_useropt
1231
 
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1232
 
    case $ac_user_opts in
1233
 
      *"
1234
 
"with_$ac_useropt"
1235
 
"*) ;;
1236
 
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1237
 
         ac_unrecognized_sep=', ';;
1238
 
    esac
1239
 
    eval with_$ac_useropt=no ;;
1240
 
 
1241
 
  --x)
1242
 
    # Obsolete; use --with-x.
1243
 
    with_x=yes ;;
1244
 
 
1245
 
  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1246
 
  | --x-incl | --x-inc | --x-in | --x-i)
1247
 
    ac_prev=x_includes ;;
1248
 
  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1249
 
  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1250
 
    x_includes=$ac_optarg ;;
1251
 
 
1252
 
  -x-libraries | --x-libraries | --x-librarie | --x-librari \
1253
 
  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1254
 
    ac_prev=x_libraries ;;
1255
 
  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1256
 
  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1257
 
    x_libraries=$ac_optarg ;;
1258
 
 
1259
 
  -*) as_fn_error $? "unrecognized option: \`$ac_option'
1260
 
Try \`$0 --help' for more information"
1261
 
    ;;
1262
 
 
1263
 
  *=*)
1264
 
    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1265
 
    # Reject names that are not valid shell variable names.
1266
 
    case $ac_envvar in #(
1267
 
      '' | [0-9]* | *[!_$as_cr_alnum]* )
1268
 
      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1269
 
    esac
1270
 
    eval $ac_envvar=\$ac_optarg
1271
 
    export $ac_envvar ;;
1272
 
 
1273
 
  *)
1274
 
    # FIXME: should be removed in autoconf 3.0.
1275
 
    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1276
 
    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1277
 
      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1278
 
    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1279
 
    ;;
1280
 
 
1281
 
  esac
1282
 
done
1283
 
 
1284
 
if test -n "$ac_prev"; then
1285
 
  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1286
 
  as_fn_error $? "missing argument to $ac_option"
1287
 
fi
1288
 
 
1289
 
if test -n "$ac_unrecognized_opts"; then
1290
 
  case $enable_option_checking in
1291
 
    no) ;;
1292
 
    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1293
 
    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1294
 
  esac
1295
 
fi
1296
 
 
1297
 
# Check all directory arguments for consistency.
1298
 
for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1299
 
                datadir sysconfdir sharedstatedir localstatedir includedir \
1300
 
                oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1301
 
                libdir localedir mandir
1302
 
do
1303
 
  eval ac_val=\$$ac_var
1304
 
  # Remove trailing slashes.
1305
 
  case $ac_val in
1306
 
    */ )
1307
 
      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1308
 
      eval $ac_var=\$ac_val;;
1309
 
  esac
1310
 
  # Be sure to have absolute directory names.
1311
 
  case $ac_val in
1312
 
    [\\/$]* | ?:[\\/]* )  continue;;
1313
 
    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1314
 
  esac
1315
 
  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1316
 
done
1317
 
 
1318
 
# There might be people who depend on the old broken behavior: `$host'
1319
 
# used to hold the argument of --host etc.
1320
 
# FIXME: To remove some day.
1321
 
build=$build_alias
1322
 
host=$host_alias
1323
 
target=$target_alias
1324
 
 
1325
 
# FIXME: To remove some day.
1326
 
if test "x$host_alias" != x; then
1327
 
  if test "x$build_alias" = x; then
1328
 
    cross_compiling=maybe
1329
 
    $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1330
 
    If a cross compiler is detected then cross compile mode will be used" >&2
1331
 
  elif test "x$build_alias" != "x$host_alias"; then
1332
 
    cross_compiling=yes
1333
 
  fi
1334
 
fi
1335
 
 
1336
 
ac_tool_prefix=
1337
 
test -n "$host_alias" && ac_tool_prefix=$host_alias-
1338
 
 
1339
 
test "$silent" = yes && exec 6>/dev/null
1340
 
 
1341
 
 
1342
 
ac_pwd=`pwd` && test -n "$ac_pwd" &&
1343
 
ac_ls_di=`ls -di .` &&
1344
 
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1345
 
  as_fn_error $? "working directory cannot be determined"
1346
 
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1347
 
  as_fn_error $? "pwd does not report name of working directory"
1348
 
 
1349
 
 
1350
 
# Find the source files, if location was not specified.
1351
 
if test -z "$srcdir"; then
1352
 
  ac_srcdir_defaulted=yes
1353
 
  # Try the directory containing this script, then the parent directory.
1354
 
  ac_confdir=`$as_dirname -- "$as_myself" ||
1355
 
$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1356
 
         X"$as_myself" : 'X\(//\)[^/]' \| \
1357
 
         X"$as_myself" : 'X\(//\)$' \| \
1358
 
         X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1359
 
$as_echo X"$as_myself" |
1360
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1361
 
            s//\1/
1362
 
            q
1363
 
          }
1364
 
          /^X\(\/\/\)[^/].*/{
1365
 
            s//\1/
1366
 
            q
1367
 
          }
1368
 
          /^X\(\/\/\)$/{
1369
 
            s//\1/
1370
 
            q
1371
 
          }
1372
 
          /^X\(\/\).*/{
1373
 
            s//\1/
1374
 
            q
1375
 
          }
1376
 
          s/.*/./; q'`
1377
 
  srcdir=$ac_confdir
1378
 
  if test ! -r "$srcdir/$ac_unique_file"; then
1379
 
    srcdir=..
1380
 
  fi
1381
 
else
1382
 
  ac_srcdir_defaulted=no
1383
 
fi
1384
 
if test ! -r "$srcdir/$ac_unique_file"; then
1385
 
  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1386
 
  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1387
 
fi
1388
 
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1389
 
ac_abs_confdir=`(
1390
 
        cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1391
 
        pwd)`
1392
 
# When building in place, set srcdir=.
1393
 
if test "$ac_abs_confdir" = "$ac_pwd"; then
1394
 
  srcdir=.
1395
 
fi
1396
 
# Remove unnecessary trailing slashes from srcdir.
1397
 
# Double slashes in file names in object file debugging info
1398
 
# mess up M-x gdb in Emacs.
1399
 
case $srcdir in
1400
 
*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1401
 
esac
1402
 
for ac_var in $ac_precious_vars; do
1403
 
  eval ac_env_${ac_var}_set=\${${ac_var}+set}
1404
 
  eval ac_env_${ac_var}_value=\$${ac_var}
1405
 
  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1406
 
  eval ac_cv_env_${ac_var}_value=\$${ac_var}
1407
 
done
1408
 
 
1409
 
#
1410
 
# Report the --help message.
1411
 
#
1412
 
if test "$ac_init_help" = "long"; then
1413
 
  # Omit some internal or obsolete options to make the list less imposing.
1414
 
  # This message is too long to be a string in the A/UX 3.1 sh.
1415
 
  cat <<_ACEOF
1416
 
\`configure' configures trousers 0.3.10 to adapt to many kinds of systems.
1417
 
 
1418
 
Usage: $0 [OPTION]... [VAR=VALUE]...
1419
 
 
1420
 
To assign environment variables (e.g., CC, CFLAGS...), specify them as
1421
 
VAR=VALUE.  See below for descriptions of some of the useful variables.
1422
 
 
1423
 
Defaults for the options are specified in brackets.
1424
 
 
1425
 
Configuration:
1426
 
  -h, --help              display this help and exit
1427
 
      --help=short        display options specific to this package
1428
 
      --help=recursive    display the short help of all the included packages
1429
 
  -V, --version           display version information and exit
1430
 
  -q, --quiet, --silent   do not print \`checking ...' messages
1431
 
      --cache-file=FILE   cache test results in FILE [disabled]
1432
 
  -C, --config-cache      alias for \`--cache-file=config.cache'
1433
 
  -n, --no-create         do not create output files
1434
 
      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1435
 
 
1436
 
Installation directories:
1437
 
  --prefix=PREFIX         install architecture-independent files in PREFIX
1438
 
                          @<:@@S|@ac_default_prefix@:>@
1439
 
  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1440
 
                          @<:@PREFIX@:>@
1441
 
 
1442
 
By default, \`make install' will install all the files in
1443
 
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1444
 
an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1445
 
for instance \`--prefix=\$HOME'.
1446
 
 
1447
 
For better control, use the options below.
1448
 
 
1449
 
Fine tuning of the installation directories:
1450
 
  --bindir=DIR            user executables [EPREFIX/bin]
1451
 
  --sbindir=DIR           system admin executables [EPREFIX/sbin]
1452
 
  --libexecdir=DIR        program executables [EPREFIX/libexec]
1453
 
  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1454
 
  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1455
 
  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1456
 
  --libdir=DIR            object code libraries [EPREFIX/lib]
1457
 
  --includedir=DIR        C header files [PREFIX/include]
1458
 
  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1459
 
  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1460
 
  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1461
 
  --infodir=DIR           info documentation [DATAROOTDIR/info]
1462
 
  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1463
 
  --mandir=DIR            man documentation [DATAROOTDIR/man]
1464
 
  --docdir=DIR            documentation root @<:@DATAROOTDIR/doc/trousers@:>@
1465
 
  --htmldir=DIR           html documentation [DOCDIR]
1466
 
  --dvidir=DIR            dvi documentation [DOCDIR]
1467
 
  --pdfdir=DIR            pdf documentation [DOCDIR]
1468
 
  --psdir=DIR             ps documentation [DOCDIR]
1469
 
_ACEOF
1470
 
 
1471
 
  cat <<\_ACEOF
1472
 
 
1473
 
Program names:
1474
 
  --program-prefix=PREFIX            prepend PREFIX to installed program names
1475
 
  --program-suffix=SUFFIX            append SUFFIX to installed program names
1476
 
  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1477
 
 
1478
 
System types:
1479
 
  --build=BUILD     configure for building on BUILD [guessed]
1480
 
  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1481
 
  --target=TARGET   configure for building compilers for TARGET [HOST]
1482
 
_ACEOF
1483
 
fi
1484
 
 
1485
 
if test -n "$ac_init_help"; then
1486
 
  case $ac_init_help in
1487
 
     short | recursive ) echo "Configuration of trousers 0.3.10:";;
1488
 
   esac
1489
 
  cat <<\_ACEOF
1490
 
 
1491
 
Optional Features:
1492
 
  --disable-option-checking  ignore unrecognized --enable/--with options
1493
 
  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1494
 
  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1495
 
  --enable-debug          turn on all trousers debugging flags @<:@default=off@:>@
1496
 
  --disable-dependency-tracking  speeds up one-time build
1497
 
  --enable-dependency-tracking   do not reject slow dependency extractors
1498
 
  --enable-gcov           turn on gcov code coverage flags @<:@default=off@:>@
1499
 
  --enable-gprof          enable profiling with gprof @<:@default=off@:>@
1500
 
  --enable-strict-spec-compliance 
1501
 
                          build TrouSerS as strictly spec compliant
1502
 
                          @<:@default=off@:>@
1503
 
  --enable-static@<:@=PKGS@:>@  build static libraries @<:@default=no@:>@
1504
 
  --enable-shared@<:@=PKGS@:>@  build shared libraries @<:@default=yes@:>@
1505
 
  --enable-fast-install@<:@=PKGS@:>@ 
1506
 
                          optimize for fast installation @<:@default=yes@:>@
1507
 
  --disable-libtool-lock  avoid locking (might break parallel builds)
1508
 
 
1509
 
Optional Packages:
1510
 
  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1511
 
  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1512
 
  --with-openssl=PATH     Location of openssl libs/includes
1513
 
  --with-gmp              build TrouSerS with the GMP math lib (used in DAA)
1514
 
  --with-gui              type of gui popup (gtk/none) @<:@default=gtk@:>@
1515
 
  --with-api              Version of the TSS API to build @<:@default=1.2@:>@
1516
 
  --with-pic@<:@=PKGS@:>@       try to use only PIC/non-PIC objects @<:@default=use
1517
 
                          both@:>@
1518
 
  --with-gnu-ld           assume the C compiler uses GNU ld @<:@default=no@:>@
1519
 
  --with-sysroot=DIR Search for dependent libraries within DIR
1520
 
                        (or the compiler's sysroot if not specified).
1521
 
 
1522
 
Some influential environment variables:
1523
 
  CC          C compiler command
1524
 
  CFLAGS      C compiler flags
1525
 
  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1526
 
              nonstandard directory <lib dir>
1527
 
  LIBS        libraries to pass to the linker, e.g. -l<library>
1528
 
  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1529
 
              you have headers in a nonstandard directory <include dir>
1530
 
  CPP         C preprocessor
1531
 
  PKG_CONFIG  path to pkg-config utility
1532
 
  PKG_CONFIG_PATH 
1533
 
              directories to add to pkg-config's search path
1534
 
  PKG_CONFIG_LIBDIR 
1535
 
              path overriding pkg-config's built-in search path
1536
 
  GTK_CFLAGS  C compiler flags for GTK, overriding pkg-config
1537
 
  GTK_LIBS    linker flags for GTK, overriding pkg-config
1538
 
 
1539
 
Use these variables to override the choices made by `configure' or to help
1540
 
it to find libraries and programs with nonstandard names/locations.
1541
 
 
1542
 
Report bugs to <trousers-tech@lists.sf.net>.
1543
 
_ACEOF
1544
 
ac_status=$?
1545
 
fi
1546
 
 
1547
 
if test "$ac_init_help" = "recursive"; then
1548
 
  # If there are subdirs, report their specific --help.
1549
 
  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1550
 
    test -d "$ac_dir" ||
1551
 
      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1552
 
      continue
1553
 
    ac_builddir=.
1554
 
 
1555
 
case "$ac_dir" in
1556
 
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1557
 
*)
1558
 
  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1559
 
  # A ".." for each directory in $ac_dir_suffix.
1560
 
  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1561
 
  case $ac_top_builddir_sub in
1562
 
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1563
 
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1564
 
  esac ;;
1565
 
esac
1566
 
ac_abs_top_builddir=$ac_pwd
1567
 
ac_abs_builddir=$ac_pwd$ac_dir_suffix
1568
 
# for backward compatibility:
1569
 
ac_top_builddir=$ac_top_build_prefix
1570
 
 
1571
 
case $srcdir in
1572
 
  .)  # We are building in place.
1573
 
    ac_srcdir=.
1574
 
    ac_top_srcdir=$ac_top_builddir_sub
1575
 
    ac_abs_top_srcdir=$ac_pwd ;;
1576
 
  [\\/]* | ?:[\\/]* )  # Absolute name.
1577
 
    ac_srcdir=$srcdir$ac_dir_suffix;
1578
 
    ac_top_srcdir=$srcdir
1579
 
    ac_abs_top_srcdir=$srcdir ;;
1580
 
  *) # Relative name.
1581
 
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1582
 
    ac_top_srcdir=$ac_top_build_prefix$srcdir
1583
 
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1584
 
esac
1585
 
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1586
 
 
1587
 
    cd "$ac_dir" || { ac_status=$?; continue; }
1588
 
    # Check for guested configure.
1589
 
    if test -f "$ac_srcdir/configure.gnu"; then
1590
 
      echo &&
1591
 
      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1592
 
    elif test -f "$ac_srcdir/configure"; then
1593
 
      echo &&
1594
 
      $SHELL "$ac_srcdir/configure" --help=recursive
1595
 
    else
1596
 
      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1597
 
    fi || ac_status=$?
1598
 
    cd "$ac_pwd" || { ac_status=$?; break; }
1599
 
  done
1600
 
fi
1601
 
 
1602
 
test -n "$ac_init_help" && exit $ac_status
1603
 
if $ac_init_version; then
1604
 
  cat <<\_ACEOF
1605
 
trousers configure 0.3.10
1606
 
generated by GNU Autoconf 2.68
1607
 
 
1608
 
Copyright (C) 2010 Free Software Foundation, Inc.
1609
 
This configure script is free software; the Free Software Foundation
1610
 
gives unlimited permission to copy, distribute and modify it.
1611
 
_ACEOF
1612
 
  exit
1613
 
fi
1614
 
 
1615
 
## ------------------------ ##
1616
 
## Autoconf initialization. ##
1617
 
## ------------------------ ##
1618
 
 
1619
 
@%:@ ac_fn_c_try_compile LINENO
1620
 
@%:@ --------------------------
1621
 
@%:@ Try to compile conftest.@S|@ac_ext, and return whether this succeeded.
1622
 
ac_fn_c_try_compile ()
1623
 
{
1624
 
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1625
 
  rm -f conftest.$ac_objext
1626
 
  if { { ac_try="$ac_compile"
1627
 
case "(($ac_try" in
1628
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1629
 
  *) ac_try_echo=$ac_try;;
1630
 
esac
1631
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1632
 
$as_echo "$ac_try_echo"; } >&5
1633
 
  (eval "$ac_compile") 2>conftest.err
1634
 
  ac_status=$?
1635
 
  if test -s conftest.err; then
1636
 
    grep -v '^ *+' conftest.err >conftest.er1
1637
 
    cat conftest.er1 >&5
1638
 
    mv -f conftest.er1 conftest.err
1639
 
  fi
1640
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1641
 
  test $ac_status = 0; } && {
1642
 
         test -z "$ac_c_werror_flag" ||
1643
 
         test ! -s conftest.err
1644
 
       } && test -s conftest.$ac_objext; then :
1645
 
  ac_retval=0
1646
 
else
1647
 
  $as_echo "$as_me: failed program was:" >&5
1648
 
sed 's/^/| /' conftest.$ac_ext >&5
1649
 
 
1650
 
        ac_retval=1
1651
 
fi
1652
 
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1653
 
  as_fn_set_status $ac_retval
1654
 
 
1655
 
} @%:@ ac_fn_c_try_compile
1656
 
 
1657
 
@%:@ ac_fn_c_try_link LINENO
1658
 
@%:@ -----------------------
1659
 
@%:@ Try to link conftest.@S|@ac_ext, and return whether this succeeded.
1660
 
ac_fn_c_try_link ()
1661
 
{
1662
 
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1663
 
  rm -f conftest.$ac_objext conftest$ac_exeext
1664
 
  if { { ac_try="$ac_link"
1665
 
case "(($ac_try" in
1666
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1667
 
  *) ac_try_echo=$ac_try;;
1668
 
esac
1669
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1670
 
$as_echo "$ac_try_echo"; } >&5
1671
 
  (eval "$ac_link") 2>conftest.err
1672
 
  ac_status=$?
1673
 
  if test -s conftest.err; then
1674
 
    grep -v '^ *+' conftest.err >conftest.er1
1675
 
    cat conftest.er1 >&5
1676
 
    mv -f conftest.er1 conftest.err
1677
 
  fi
1678
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1679
 
  test $ac_status = 0; } && {
1680
 
         test -z "$ac_c_werror_flag" ||
1681
 
         test ! -s conftest.err
1682
 
       } && test -s conftest$ac_exeext && {
1683
 
         test "$cross_compiling" = yes ||
1684
 
         $as_test_x conftest$ac_exeext
1685
 
       }; then :
1686
 
  ac_retval=0
1687
 
else
1688
 
  $as_echo "$as_me: failed program was:" >&5
1689
 
sed 's/^/| /' conftest.$ac_ext >&5
1690
 
 
1691
 
        ac_retval=1
1692
 
fi
1693
 
  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1694
 
  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1695
 
  # interfere with the next link command; also delete a directory that is
1696
 
  # left behind by Apple's compiler.  We do this before executing the actions.
1697
 
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1698
 
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1699
 
  as_fn_set_status $ac_retval
1700
 
 
1701
 
} @%:@ ac_fn_c_try_link
1702
 
 
1703
 
@%:@ ac_fn_c_try_cpp LINENO
1704
 
@%:@ ----------------------
1705
 
@%:@ Try to preprocess conftest.@S|@ac_ext, and return whether this succeeded.
1706
 
ac_fn_c_try_cpp ()
1707
 
{
1708
 
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1709
 
  if { { ac_try="$ac_cpp conftest.$ac_ext"
1710
 
case "(($ac_try" in
1711
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1712
 
  *) ac_try_echo=$ac_try;;
1713
 
esac
1714
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1715
 
$as_echo "$ac_try_echo"; } >&5
1716
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1717
 
  ac_status=$?
1718
 
  if test -s conftest.err; then
1719
 
    grep -v '^ *+' conftest.err >conftest.er1
1720
 
    cat conftest.er1 >&5
1721
 
    mv -f conftest.er1 conftest.err
1722
 
  fi
1723
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1724
 
  test $ac_status = 0; } > conftest.i && {
1725
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1726
 
         test ! -s conftest.err
1727
 
       }; then :
1728
 
  ac_retval=0
1729
 
else
1730
 
  $as_echo "$as_me: failed program was:" >&5
1731
 
sed 's/^/| /' conftest.$ac_ext >&5
1732
 
 
1733
 
    ac_retval=1
1734
 
fi
1735
 
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1736
 
  as_fn_set_status $ac_retval
1737
 
 
1738
 
} @%:@ ac_fn_c_try_cpp
1739
 
 
1740
 
@%:@ ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1741
 
@%:@ -------------------------------------------------------
1742
 
@%:@ Tests whether HEADER exists, giving a warning if it cannot be compiled using
1743
 
@%:@ the include files in INCLUDES and setting the cache variable VAR
1744
 
@%:@ accordingly.
1745
 
ac_fn_c_check_header_mongrel ()
1746
 
{
1747
 
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1748
 
  if eval \${$3+:} false; then :
1749
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1750
 
$as_echo_n "checking for $2... " >&6; }
1751
 
if eval \${$3+:} false; then :
1752
 
  $as_echo_n "(cached) " >&6
1753
 
fi
1754
 
eval ac_res=\$$3
1755
 
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1756
 
$as_echo "$ac_res" >&6; }
1757
 
else
1758
 
  # Is the header compilable?
1759
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1760
 
$as_echo_n "checking $2 usability... " >&6; }
1761
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1762
 
/* end confdefs.h.  */
1763
 
$4
1764
 
@%:@include <$2>
1765
 
_ACEOF
1766
 
if ac_fn_c_try_compile "$LINENO"; then :
1767
 
  ac_header_compiler=yes
1768
 
else
1769
 
  ac_header_compiler=no
1770
 
fi
1771
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1772
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1773
 
$as_echo "$ac_header_compiler" >&6; }
1774
 
 
1775
 
# Is the header present?
1776
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1777
 
$as_echo_n "checking $2 presence... " >&6; }
1778
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1779
 
/* end confdefs.h.  */
1780
 
@%:@include <$2>
1781
 
_ACEOF
1782
 
if ac_fn_c_try_cpp "$LINENO"; then :
1783
 
  ac_header_preproc=yes
1784
 
else
1785
 
  ac_header_preproc=no
1786
 
fi
1787
 
rm -f conftest.err conftest.i conftest.$ac_ext
1788
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1789
 
$as_echo "$ac_header_preproc" >&6; }
1790
 
 
1791
 
# So?  What about this header?
1792
 
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1793
 
  yes:no: )
1794
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1795
 
$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1796
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1797
 
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1798
 
    ;;
1799
 
  no:yes:* )
1800
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1801
 
$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1802
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
1803
 
$as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
1804
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1805
 
$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1806
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
1807
 
$as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
1808
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1809
 
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1810
 
( $as_echo "## ----------------------------------------- ##
1811
 
## Report this to trousers-tech@lists.sf.net ##
1812
 
## ----------------------------------------- ##"
1813
 
     ) | sed "s/^/$as_me: WARNING:     /" >&2
1814
 
    ;;
1815
 
esac
1816
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1817
 
$as_echo_n "checking for $2... " >&6; }
1818
 
if eval \${$3+:} false; then :
1819
 
  $as_echo_n "(cached) " >&6
1820
 
else
1821
 
  eval "$3=\$ac_header_compiler"
1822
 
fi
1823
 
eval ac_res=\$$3
1824
 
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1825
 
$as_echo "$ac_res" >&6; }
1826
 
fi
1827
 
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1828
 
 
1829
 
} @%:@ ac_fn_c_check_header_mongrel
1830
 
 
1831
 
@%:@ ac_fn_c_try_run LINENO
1832
 
@%:@ ----------------------
1833
 
@%:@ Try to link conftest.@S|@ac_ext, and return whether this succeeded. Assumes
1834
 
@%:@ that executables *can* be run.
1835
 
ac_fn_c_try_run ()
1836
 
{
1837
 
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1838
 
  if { { ac_try="$ac_link"
1839
 
case "(($ac_try" in
1840
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1841
 
  *) ac_try_echo=$ac_try;;
1842
 
esac
1843
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1844
 
$as_echo "$ac_try_echo"; } >&5
1845
 
  (eval "$ac_link") 2>&5
1846
 
  ac_status=$?
1847
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1848
 
  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1849
 
  { { case "(($ac_try" in
1850
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1851
 
  *) ac_try_echo=$ac_try;;
1852
 
esac
1853
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1854
 
$as_echo "$ac_try_echo"; } >&5
1855
 
  (eval "$ac_try") 2>&5
1856
 
  ac_status=$?
1857
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1858
 
  test $ac_status = 0; }; }; then :
1859
 
  ac_retval=0
1860
 
else
1861
 
  $as_echo "$as_me: program exited with status $ac_status" >&5
1862
 
       $as_echo "$as_me: failed program was:" >&5
1863
 
sed 's/^/| /' conftest.$ac_ext >&5
1864
 
 
1865
 
       ac_retval=$ac_status
1866
 
fi
1867
 
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1868
 
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1869
 
  as_fn_set_status $ac_retval
1870
 
 
1871
 
} @%:@ ac_fn_c_try_run
1872
 
 
1873
 
@%:@ ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1874
 
@%:@ -------------------------------------------------------
1875
 
@%:@ Tests whether HEADER exists and can be compiled using the include files in
1876
 
@%:@ INCLUDES, setting the cache variable VAR accordingly.
1877
 
ac_fn_c_check_header_compile ()
1878
 
{
1879
 
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1880
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1881
 
$as_echo_n "checking for $2... " >&6; }
1882
 
if eval \${$3+:} false; then :
1883
 
  $as_echo_n "(cached) " >&6
1884
 
else
1885
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1886
 
/* end confdefs.h.  */
1887
 
$4
1888
 
@%:@include <$2>
1889
 
_ACEOF
1890
 
if ac_fn_c_try_compile "$LINENO"; then :
1891
 
  eval "$3=yes"
1892
 
else
1893
 
  eval "$3=no"
1894
 
fi
1895
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1896
 
fi
1897
 
eval ac_res=\$$3
1898
 
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1899
 
$as_echo "$ac_res" >&6; }
1900
 
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1901
 
 
1902
 
} @%:@ ac_fn_c_check_header_compile
1903
 
 
1904
 
@%:@ ac_fn_c_check_func LINENO FUNC VAR
1905
 
@%:@ ----------------------------------
1906
 
@%:@ Tests whether FUNC exists, setting the cache variable VAR accordingly
1907
 
ac_fn_c_check_func ()
1908
 
{
1909
 
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1910
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1911
 
$as_echo_n "checking for $2... " >&6; }
1912
 
if eval \${$3+:} false; then :
1913
 
  $as_echo_n "(cached) " >&6
1914
 
else
1915
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1916
 
/* end confdefs.h.  */
1917
 
/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1918
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
1919
 
#define $2 innocuous_$2
1920
 
 
1921
 
/* System header to define __stub macros and hopefully few prototypes,
1922
 
    which can conflict with char $2 (); below.
1923
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1924
 
    <limits.h> exists even on freestanding compilers.  */
1925
 
 
1926
 
#ifdef __STDC__
1927
 
# include <limits.h>
1928
 
#else
1929
 
# include <assert.h>
1930
 
#endif
1931
 
 
1932
 
#undef $2
1933
 
 
1934
 
/* Override any GCC internal prototype to avoid an error.
1935
 
   Use char because int might match the return type of a GCC
1936
 
   builtin and then its argument prototype would still apply.  */
1937
 
#ifdef __cplusplus
1938
 
extern "C"
1939
 
#endif
1940
 
char $2 ();
1941
 
/* The GNU C library defines this for functions which it implements
1942
 
    to always fail with ENOSYS.  Some functions are actually named
1943
 
    something starting with __ and the normal name is an alias.  */
1944
 
#if defined __stub_$2 || defined __stub___$2
1945
 
choke me
1946
 
#endif
1947
 
 
1948
 
int
1949
 
main ()
1950
 
{
1951
 
return $2 ();
1952
 
  ;
1953
 
  return 0;
1954
 
}
1955
 
_ACEOF
1956
 
if ac_fn_c_try_link "$LINENO"; then :
1957
 
  eval "$3=yes"
1958
 
else
1959
 
  eval "$3=no"
1960
 
fi
1961
 
rm -f core conftest.err conftest.$ac_objext \
1962
 
    conftest$ac_exeext conftest.$ac_ext
1963
 
fi
1964
 
eval ac_res=\$$3
1965
 
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1966
 
$as_echo "$ac_res" >&6; }
1967
 
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1968
 
 
1969
 
} @%:@ ac_fn_c_check_func
1970
 
 
1971
 
@%:@ ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
1972
 
@%:@ ---------------------------------------------
1973
 
@%:@ Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
1974
 
@%:@ accordingly.
1975
 
ac_fn_c_check_decl ()
1976
 
{
1977
 
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1978
 
  as_decl_name=`echo $2|sed 's/ *(.*//'`
1979
 
  as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
1980
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
1981
 
$as_echo_n "checking whether $as_decl_name is declared... " >&6; }
1982
 
if eval \${$3+:} false; then :
1983
 
  $as_echo_n "(cached) " >&6
1984
 
else
1985
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1986
 
/* end confdefs.h.  */
1987
 
$4
1988
 
int
1989
 
main ()
1990
 
{
1991
 
@%:@ifndef $as_decl_name
1992
 
@%:@ifdef __cplusplus
1993
 
  (void) $as_decl_use;
1994
 
@%:@else
1995
 
  (void) $as_decl_name;
1996
 
@%:@endif
1997
 
@%:@endif
1998
 
 
1999
 
  ;
2000
 
  return 0;
2001
 
}
2002
 
_ACEOF
2003
 
if ac_fn_c_try_compile "$LINENO"; then :
2004
 
  eval "$3=yes"
2005
 
else
2006
 
  eval "$3=no"
2007
 
fi
2008
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2009
 
fi
2010
 
eval ac_res=\$$3
2011
 
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2012
 
$as_echo "$ac_res" >&6; }
2013
 
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2014
 
 
2015
 
} @%:@ ac_fn_c_check_decl
2016
 
cat >config.log <<_ACEOF
2017
 
This file contains any messages produced by compilers while
2018
 
running configure, to aid debugging if configure makes a mistake.
2019
 
 
2020
 
It was created by trousers $as_me 0.3.10, which was
2021
 
generated by GNU Autoconf 2.68.  Invocation command line was
2022
 
 
2023
 
  $ $0 $@
2024
 
 
2025
 
_ACEOF
2026
 
exec 5>>config.log
2027
 
{
2028
 
cat <<_ASUNAME
2029
 
## --------- ##
2030
 
## Platform. ##
2031
 
## --------- ##
2032
 
 
2033
 
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2034
 
uname -m = `(uname -m) 2>/dev/null || echo unknown`
2035
 
uname -r = `(uname -r) 2>/dev/null || echo unknown`
2036
 
uname -s = `(uname -s) 2>/dev/null || echo unknown`
2037
 
uname -v = `(uname -v) 2>/dev/null || echo unknown`
2038
 
 
2039
 
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2040
 
/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
2041
 
 
2042
 
/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
2043
 
/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
2044
 
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2045
 
/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
2046
 
/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
2047
 
/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
2048
 
/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
2049
 
 
2050
 
_ASUNAME
2051
 
 
2052
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2053
 
for as_dir in $PATH
2054
 
do
2055
 
  IFS=$as_save_IFS
2056
 
  test -z "$as_dir" && as_dir=.
2057
 
    $as_echo "PATH: $as_dir"
2058
 
  done
2059
 
IFS=$as_save_IFS
2060
 
 
2061
 
} >&5
2062
 
 
2063
 
cat >&5 <<_ACEOF
2064
 
 
2065
 
 
2066
 
## ----------- ##
2067
 
## Core tests. ##
2068
 
## ----------- ##
2069
 
 
2070
 
_ACEOF
2071
 
 
2072
 
 
2073
 
# Keep a trace of the command line.
2074
 
# Strip out --no-create and --no-recursion so they do not pile up.
2075
 
# Strip out --silent because we don't want to record it for future runs.
2076
 
# Also quote any args containing shell meta-characters.
2077
 
# Make two passes to allow for proper duplicate-argument suppression.
2078
 
ac_configure_args=
2079
 
ac_configure_args0=
2080
 
ac_configure_args1=
2081
 
ac_must_keep_next=false
2082
 
for ac_pass in 1 2
2083
 
do
2084
 
  for ac_arg
2085
 
  do
2086
 
    case $ac_arg in
2087
 
    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2088
 
    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2089
 
    | -silent | --silent | --silen | --sile | --sil)
2090
 
      continue ;;
2091
 
    *\'*)
2092
 
      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2093
 
    esac
2094
 
    case $ac_pass in
2095
 
    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2096
 
    2)
2097
 
      as_fn_append ac_configure_args1 " '$ac_arg'"
2098
 
      if test $ac_must_keep_next = true; then
2099
 
        ac_must_keep_next=false # Got value, back to normal.
2100
 
      else
2101
 
        case $ac_arg in
2102
 
          *=* | --config-cache | -C | -disable-* | --disable-* \
2103
 
          | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2104
 
          | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2105
 
          | -with-* | --with-* | -without-* | --without-* | --x)
2106
 
            case "$ac_configure_args0 " in
2107
 
              "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2108
 
            esac
2109
 
            ;;
2110
 
          -* ) ac_must_keep_next=true ;;
2111
 
        esac
2112
 
      fi
2113
 
      as_fn_append ac_configure_args " '$ac_arg'"
2114
 
      ;;
2115
 
    esac
2116
 
  done
2117
 
done
2118
 
{ ac_configure_args0=; unset ac_configure_args0;}
2119
 
{ ac_configure_args1=; unset ac_configure_args1;}
2120
 
 
2121
 
# When interrupted or exit'd, cleanup temporary files, and complete
2122
 
# config.log.  We remove comments because anyway the quotes in there
2123
 
# would cause problems or look ugly.
2124
 
# WARNING: Use '\'' to represent an apostrophe within the trap.
2125
 
# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2126
 
trap 'exit_status=$?
2127
 
  # Save into config.log some information that might help in debugging.
2128
 
  {
2129
 
    echo
2130
 
 
2131
 
    $as_echo "## ---------------- ##
2132
 
## Cache variables. ##
2133
 
## ---------------- ##"
2134
 
    echo
2135
 
    # The following way of writing the cache mishandles newlines in values,
2136
 
(
2137
 
  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2138
 
    eval ac_val=\$$ac_var
2139
 
    case $ac_val in #(
2140
 
    *${as_nl}*)
2141
 
      case $ac_var in #(
2142
 
      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2143
 
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2144
 
      esac
2145
 
      case $ac_var in #(
2146
 
      _ | IFS | as_nl) ;; #(
2147
 
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2148
 
      *) { eval $ac_var=; unset $ac_var;} ;;
2149
 
      esac ;;
2150
 
    esac
2151
 
  done
2152
 
  (set) 2>&1 |
2153
 
    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2154
 
    *${as_nl}ac_space=\ *)
2155
 
      sed -n \
2156
 
        "s/'\''/'\''\\\\'\'''\''/g;
2157
 
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2158
 
      ;; #(
2159
 
    *)
2160
 
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2161
 
      ;;
2162
 
    esac |
2163
 
    sort
2164
 
)
2165
 
    echo
2166
 
 
2167
 
    $as_echo "## ----------------- ##
2168
 
## Output variables. ##
2169
 
## ----------------- ##"
2170
 
    echo
2171
 
    for ac_var in $ac_subst_vars
2172
 
    do
2173
 
      eval ac_val=\$$ac_var
2174
 
      case $ac_val in
2175
 
      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2176
 
      esac
2177
 
      $as_echo "$ac_var='\''$ac_val'\''"
2178
 
    done | sort
2179
 
    echo
2180
 
 
2181
 
    if test -n "$ac_subst_files"; then
2182
 
      $as_echo "## ------------------- ##
2183
 
## File substitutions. ##
2184
 
## ------------------- ##"
2185
 
      echo
2186
 
      for ac_var in $ac_subst_files
2187
 
      do
2188
 
        eval ac_val=\$$ac_var
2189
 
        case $ac_val in
2190
 
        *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2191
 
        esac
2192
 
        $as_echo "$ac_var='\''$ac_val'\''"
2193
 
      done | sort
2194
 
      echo
2195
 
    fi
2196
 
 
2197
 
    if test -s confdefs.h; then
2198
 
      $as_echo "## ----------- ##
2199
 
## confdefs.h. ##
2200
 
## ----------- ##"
2201
 
      echo
2202
 
      cat confdefs.h
2203
 
      echo
2204
 
    fi
2205
 
    test "$ac_signal" != 0 &&
2206
 
      $as_echo "$as_me: caught signal $ac_signal"
2207
 
    $as_echo "$as_me: exit $exit_status"
2208
 
  } >&5
2209
 
  rm -f core *.core core.conftest.* &&
2210
 
    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2211
 
    exit $exit_status
2212
 
' 0
2213
 
for ac_signal in 1 2 13 15; do
2214
 
  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2215
 
done
2216
 
ac_signal=0
2217
 
 
2218
 
# confdefs.h avoids OS command line length limits that DEFS can exceed.
2219
 
rm -f -r conftest* confdefs.h
2220
 
 
2221
 
$as_echo "/* confdefs.h */" > confdefs.h
2222
 
 
2223
 
# Predefined preprocessor variables.
2224
 
 
2225
 
cat >>confdefs.h <<_ACEOF
2226
 
@%:@define PACKAGE_NAME "$PACKAGE_NAME"
2227
 
_ACEOF
2228
 
 
2229
 
cat >>confdefs.h <<_ACEOF
2230
 
@%:@define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2231
 
_ACEOF
2232
 
 
2233
 
cat >>confdefs.h <<_ACEOF
2234
 
@%:@define PACKAGE_VERSION "$PACKAGE_VERSION"
2235
 
_ACEOF
2236
 
 
2237
 
cat >>confdefs.h <<_ACEOF
2238
 
@%:@define PACKAGE_STRING "$PACKAGE_STRING"
2239
 
_ACEOF
2240
 
 
2241
 
cat >>confdefs.h <<_ACEOF
2242
 
@%:@define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2243
 
_ACEOF
2244
 
 
2245
 
cat >>confdefs.h <<_ACEOF
2246
 
@%:@define PACKAGE_URL "$PACKAGE_URL"
2247
 
_ACEOF
2248
 
 
2249
 
 
2250
 
# Let the site file select an alternate cache file if it wants to.
2251
 
# Prefer an explicitly selected file to automatically selected ones.
2252
 
ac_site_file1=NONE
2253
 
ac_site_file2=NONE
2254
 
if test -n "$CONFIG_SITE"; then
2255
 
  # We do not want a PATH search for config.site.
2256
 
  case $CONFIG_SITE in @%:@((
2257
 
    -*)  ac_site_file1=./$CONFIG_SITE;;
2258
 
    */*) ac_site_file1=$CONFIG_SITE;;
2259
 
    *)   ac_site_file1=./$CONFIG_SITE;;
2260
 
  esac
2261
 
elif test "x$prefix" != xNONE; then
2262
 
  ac_site_file1=$prefix/share/config.site
2263
 
  ac_site_file2=$prefix/etc/config.site
2264
 
else
2265
 
  ac_site_file1=$ac_default_prefix/share/config.site
2266
 
  ac_site_file2=$ac_default_prefix/etc/config.site
2267
 
fi
2268
 
for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2269
 
do
2270
 
  test "x$ac_site_file" = xNONE && continue
2271
 
  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2272
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2273
 
$as_echo "$as_me: loading site script $ac_site_file" >&6;}
2274
 
    sed 's/^/| /' "$ac_site_file" >&5
2275
 
    . "$ac_site_file" \
2276
 
      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2277
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2278
 
as_fn_error $? "failed to load site script $ac_site_file
2279
 
See \`config.log' for more details" "$LINENO" 5; }
2280
 
  fi
2281
 
done
2282
 
 
2283
 
if test -r "$cache_file"; then
2284
 
  # Some versions of bash will fail to source /dev/null (special files
2285
 
  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2286
 
  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2287
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2288
 
$as_echo "$as_me: loading cache $cache_file" >&6;}
2289
 
    case $cache_file in
2290
 
      [\\/]* | ?:[\\/]* ) . "$cache_file";;
2291
 
      *)                      . "./$cache_file";;
2292
 
    esac
2293
 
  fi
2294
 
else
2295
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2296
 
$as_echo "$as_me: creating cache $cache_file" >&6;}
2297
 
  >$cache_file
2298
 
fi
2299
 
 
2300
 
# Check that the precious variables saved in the cache have kept the same
2301
 
# value.
2302
 
ac_cache_corrupted=false
2303
 
for ac_var in $ac_precious_vars; do
2304
 
  eval ac_old_set=\$ac_cv_env_${ac_var}_set
2305
 
  eval ac_new_set=\$ac_env_${ac_var}_set
2306
 
  eval ac_old_val=\$ac_cv_env_${ac_var}_value
2307
 
  eval ac_new_val=\$ac_env_${ac_var}_value
2308
 
  case $ac_old_set,$ac_new_set in
2309
 
    set,)
2310
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2311
 
$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2312
 
      ac_cache_corrupted=: ;;
2313
 
    ,set)
2314
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2315
 
$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2316
 
      ac_cache_corrupted=: ;;
2317
 
    ,);;
2318
 
    *)
2319
 
      if test "x$ac_old_val" != "x$ac_new_val"; then
2320
 
        # differences in whitespace do not lead to failure.
2321
 
        ac_old_val_w=`echo x $ac_old_val`
2322
 
        ac_new_val_w=`echo x $ac_new_val`
2323
 
        if test "$ac_old_val_w" != "$ac_new_val_w"; then
2324
 
          { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2325
 
$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2326
 
          ac_cache_corrupted=:
2327
 
        else
2328
 
          { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2329
 
$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2330
 
          eval $ac_var=\$ac_old_val
2331
 
        fi
2332
 
        { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2333
 
$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2334
 
        { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2335
 
$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2336
 
      fi;;
2337
 
  esac
2338
 
  # Pass precious variables to config.status.
2339
 
  if test "$ac_new_set" = set; then
2340
 
    case $ac_new_val in
2341
 
    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2342
 
    *) ac_arg=$ac_var=$ac_new_val ;;
2343
 
    esac
2344
 
    case " $ac_configure_args " in
2345
 
      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2346
 
      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2347
 
    esac
2348
 
  fi
2349
 
done
2350
 
if $ac_cache_corrupted; then
2351
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2352
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2353
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2354
 
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2355
 
  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2356
 
fi
2357
 
## -------------------- ##
2358
 
## Main body of script. ##
2359
 
## -------------------- ##
2360
 
 
2361
 
ac_ext=c
2362
 
ac_cpp='$CPP $CPPFLAGS'
2363
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2364
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2365
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2366
 
 
2367
 
 
2368
 
 
2369
 
TSS_SPEC_MAJOR=1
2370
 
TSS_SPEC_MINOR=2
2371
 
TSS_VER_MAJOR=0
2372
 
TSS_VER_MINOR=3
2373
 
 
2374
 
# compute $target
2375
 
ac_aux_dir=
2376
 
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2377
 
  if test -f "$ac_dir/install-sh"; then
2378
 
    ac_aux_dir=$ac_dir
2379
 
    ac_install_sh="$ac_aux_dir/install-sh -c"
2380
 
    break
2381
 
  elif test -f "$ac_dir/install.sh"; then
2382
 
    ac_aux_dir=$ac_dir
2383
 
    ac_install_sh="$ac_aux_dir/install.sh -c"
2384
 
    break
2385
 
  elif test -f "$ac_dir/shtool"; then
2386
 
    ac_aux_dir=$ac_dir
2387
 
    ac_install_sh="$ac_aux_dir/shtool install -c"
2388
 
    break
2389
 
  fi
2390
 
done
2391
 
if test -z "$ac_aux_dir"; then
2392
 
  as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2393
 
fi
2394
 
 
2395
 
# These three variables are undocumented and unsupported,
2396
 
# and are intended to be withdrawn in a future Autoconf release.
2397
 
# They can cause serious problems if a builder's source tree is in a directory
2398
 
# whose full name contains unusual characters.
2399
 
ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2400
 
ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2401
 
ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2402
 
 
2403
 
 
2404
 
# Make sure we can run config.sub.
2405
 
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2406
 
  as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2407
 
 
2408
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2409
 
$as_echo_n "checking build system type... " >&6; }
2410
 
if ${ac_cv_build+:} false; then :
2411
 
  $as_echo_n "(cached) " >&6
2412
 
else
2413
 
  ac_build_alias=$build_alias
2414
 
test "x$ac_build_alias" = x &&
2415
 
  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2416
 
test "x$ac_build_alias" = x &&
2417
 
  as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2418
 
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2419
 
  as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2420
 
 
2421
 
fi
2422
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2423
 
$as_echo "$ac_cv_build" >&6; }
2424
 
case $ac_cv_build in
2425
 
*-*-*) ;;
2426
 
*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2427
 
esac
2428
 
build=$ac_cv_build
2429
 
ac_save_IFS=$IFS; IFS='-'
2430
 
set x $ac_cv_build
2431
 
shift
2432
 
build_cpu=$1
2433
 
build_vendor=$2
2434
 
shift; shift
2435
 
# Remember, the first character of IFS is used to create $*,
2436
 
# except with old shells:
2437
 
build_os=$*
2438
 
IFS=$ac_save_IFS
2439
 
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2440
 
 
2441
 
 
2442
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2443
 
$as_echo_n "checking host system type... " >&6; }
2444
 
if ${ac_cv_host+:} false; then :
2445
 
  $as_echo_n "(cached) " >&6
2446
 
else
2447
 
  if test "x$host_alias" = x; then
2448
 
  ac_cv_host=$ac_cv_build
2449
 
else
2450
 
  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2451
 
    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2452
 
fi
2453
 
 
2454
 
fi
2455
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2456
 
$as_echo "$ac_cv_host" >&6; }
2457
 
case $ac_cv_host in
2458
 
*-*-*) ;;
2459
 
*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2460
 
esac
2461
 
host=$ac_cv_host
2462
 
ac_save_IFS=$IFS; IFS='-'
2463
 
set x $ac_cv_host
2464
 
shift
2465
 
host_cpu=$1
2466
 
host_vendor=$2
2467
 
shift; shift
2468
 
# Remember, the first character of IFS is used to create $*,
2469
 
# except with old shells:
2470
 
host_os=$*
2471
 
IFS=$ac_save_IFS
2472
 
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2473
 
 
2474
 
 
2475
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2476
 
$as_echo_n "checking target system type... " >&6; }
2477
 
if ${ac_cv_target+:} false; then :
2478
 
  $as_echo_n "(cached) " >&6
2479
 
else
2480
 
  if test "x$target_alias" = x; then
2481
 
  ac_cv_target=$ac_cv_host
2482
 
else
2483
 
  ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2484
 
    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2485
 
fi
2486
 
 
2487
 
fi
2488
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2489
 
$as_echo "$ac_cv_target" >&6; }
2490
 
case $ac_cv_target in
2491
 
*-*-*) ;;
2492
 
*) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;;
2493
 
esac
2494
 
target=$ac_cv_target
2495
 
ac_save_IFS=$IFS; IFS='-'
2496
 
set x $ac_cv_target
2497
 
shift
2498
 
target_cpu=$1
2499
 
target_vendor=$2
2500
 
shift; shift
2501
 
# Remember, the first character of IFS is used to create $*,
2502
 
# except with old shells:
2503
 
target_os=$*
2504
 
IFS=$ac_save_IFS
2505
 
case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2506
 
 
2507
 
 
2508
 
# The aliases save the names the user supplied, while $host etc.
2509
 
# will get canonicalized.
2510
 
test -n "$target_alias" &&
2511
 
  test "$program_prefix$program_suffix$program_transform_name" = \
2512
 
    NONENONEs,x,x, &&
2513
 
  program_prefix=${target_alias}-
2514
 
am__api_version='1.11'
2515
 
 
2516
 
# Find a good install program.  We prefer a C program (faster),
2517
 
# so one script is as good as another.  But avoid the broken or
2518
 
# incompatible versions:
2519
 
# SysV /etc/install, /usr/sbin/install
2520
 
# SunOS /usr/etc/install
2521
 
# IRIX /sbin/install
2522
 
# AIX /bin/install
2523
 
# AmigaOS /C/install, which installs bootblocks on floppy discs
2524
 
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2525
 
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
2526
 
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2527
 
# OS/2's system install, which has a completely different semantic
2528
 
# ./install, which can be erroneously created by make from ./install.sh.
2529
 
# Reject install programs that cannot install multiple files.
2530
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2531
 
$as_echo_n "checking for a BSD-compatible install... " >&6; }
2532
 
if test -z "$INSTALL"; then
2533
 
if ${ac_cv_path_install+:} false; then :
2534
 
  $as_echo_n "(cached) " >&6
2535
 
else
2536
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2537
 
for as_dir in $PATH
2538
 
do
2539
 
  IFS=$as_save_IFS
2540
 
  test -z "$as_dir" && as_dir=.
2541
 
    # Account for people who put trailing slashes in PATH elements.
2542
 
case $as_dir/ in @%:@((
2543
 
  ./ | .// | /[cC]/* | \
2544
 
  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2545
 
  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2546
 
  /usr/ucb/* ) ;;
2547
 
  *)
2548
 
    # OSF1 and SCO ODT 3.0 have their own names for install.
2549
 
    # Don't use installbsd from OSF since it installs stuff as root
2550
 
    # by default.
2551
 
    for ac_prog in ginstall scoinst install; do
2552
 
      for ac_exec_ext in '' $ac_executable_extensions; do
2553
 
        if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2554
 
          if test $ac_prog = install &&
2555
 
            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2556
 
            # AIX install.  It has an incompatible calling convention.
2557
 
            :
2558
 
          elif test $ac_prog = install &&
2559
 
            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2560
 
            # program-specific install script used by HP pwplus--don't use.
2561
 
            :
2562
 
          else
2563
 
            rm -rf conftest.one conftest.two conftest.dir
2564
 
            echo one > conftest.one
2565
 
            echo two > conftest.two
2566
 
            mkdir conftest.dir
2567
 
            if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2568
 
              test -s conftest.one && test -s conftest.two &&
2569
 
              test -s conftest.dir/conftest.one &&
2570
 
              test -s conftest.dir/conftest.two
2571
 
            then
2572
 
              ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2573
 
              break 3
2574
 
            fi
2575
 
          fi
2576
 
        fi
2577
 
      done
2578
 
    done
2579
 
    ;;
2580
 
esac
2581
 
 
2582
 
  done
2583
 
IFS=$as_save_IFS
2584
 
 
2585
 
rm -rf conftest.one conftest.two conftest.dir
2586
 
 
2587
 
fi
2588
 
  if test "${ac_cv_path_install+set}" = set; then
2589
 
    INSTALL=$ac_cv_path_install
2590
 
  else
2591
 
    # As a last resort, use the slow shell script.  Don't cache a
2592
 
    # value for INSTALL within a source directory, because that will
2593
 
    # break other packages using the cache if that directory is
2594
 
    # removed, or if the value is a relative name.
2595
 
    INSTALL=$ac_install_sh
2596
 
  fi
2597
 
fi
2598
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2599
 
$as_echo "$INSTALL" >&6; }
2600
 
 
2601
 
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2602
 
# It thinks the first close brace ends the variable substitution.
2603
 
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2604
 
 
2605
 
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2606
 
 
2607
 
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2608
 
 
2609
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2610
 
$as_echo_n "checking whether build environment is sane... " >&6; }
2611
 
# Just in case
2612
 
sleep 1
2613
 
echo timestamp > conftest.file
2614
 
# Reject unsafe characters in $srcdir or the absolute working directory
2615
 
# name.  Accept space and tab only in the latter.
2616
 
am_lf='
2617
 
'
2618
 
case `pwd` in
2619
 
  *[\\\"\#\$\&\'\`$am_lf]*)
2620
 
    as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2621
 
esac
2622
 
case $srcdir in
2623
 
  *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
2624
 
    as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2625
 
esac
2626
 
 
2627
 
# Do `set' in a subshell so we don't clobber the current shell's
2628
 
# arguments.  Must try -L first in case configure is actually a
2629
 
# symlink; some systems play weird games with the mod time of symlinks
2630
 
# (eg FreeBSD returns the mod time of the symlink's containing
2631
 
# directory).
2632
 
if (
2633
 
   set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2634
 
   if test "$*" = "X"; then
2635
 
      # -L didn't work.
2636
 
      set X `ls -t "$srcdir/configure" conftest.file`
2637
 
   fi
2638
 
   rm -f conftest.file
2639
 
   if test "$*" != "X $srcdir/configure conftest.file" \
2640
 
      && test "$*" != "X conftest.file $srcdir/configure"; then
2641
 
 
2642
 
      # If neither matched, then we have a broken ls.  This can happen
2643
 
      # if, for instance, CONFIG_SHELL is bash and it inherits a
2644
 
      # broken ls alias from the environment.  This has actually
2645
 
      # happened.  Such a system could not be considered "sane".
2646
 
      as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
2647
 
alias in your environment" "$LINENO" 5
2648
 
   fi
2649
 
 
2650
 
   test "$2" = conftest.file
2651
 
   )
2652
 
then
2653
 
   # Ok.
2654
 
   :
2655
 
else
2656
 
   as_fn_error $? "newly created file is older than distributed files!
2657
 
Check your system clock" "$LINENO" 5
2658
 
fi
2659
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2660
 
$as_echo "yes" >&6; }
2661
 
test "$program_prefix" != NONE &&
2662
 
  program_transform_name="s&^&$program_prefix&;$program_transform_name"
2663
 
# Use a double $ so make ignores it.
2664
 
test "$program_suffix" != NONE &&
2665
 
  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2666
 
# Double any \ or $.
2667
 
# By default was `s,x,x', remove it if useless.
2668
 
ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2669
 
program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2670
 
 
2671
 
# expand $ac_aux_dir to an absolute path
2672
 
am_aux_dir=`cd $ac_aux_dir && pwd`
2673
 
 
2674
 
if test x"${MISSING+set}" != xset; then
2675
 
  case $am_aux_dir in
2676
 
  *\ * | *\     *)
2677
 
    MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2678
 
  *)
2679
 
    MISSING="\${SHELL} $am_aux_dir/missing" ;;
2680
 
  esac
2681
 
fi
2682
 
# Use eval to expand $SHELL
2683
 
if eval "$MISSING --run true"; then
2684
 
  am_missing_run="$MISSING --run "
2685
 
else
2686
 
  am_missing_run=
2687
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2688
 
$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2689
 
fi
2690
 
 
2691
 
if test x"${install_sh}" != xset; then
2692
 
  case $am_aux_dir in
2693
 
  *\ * | *\     *)
2694
 
    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2695
 
  *)
2696
 
    install_sh="\${SHELL} $am_aux_dir/install-sh"
2697
 
  esac
2698
 
fi
2699
 
 
2700
 
# Installed binaries are usually stripped using `strip' when the user
2701
 
# run `make install-strip'.  However `strip' might not be the right
2702
 
# tool to use in cross-compilation environments, therefore Automake
2703
 
# will honor the `STRIP' environment variable to overrule this program.
2704
 
if test "$cross_compiling" != no; then
2705
 
  if test -n "$ac_tool_prefix"; then
2706
 
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2707
 
set dummy ${ac_tool_prefix}strip; ac_word=$2
2708
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2709
 
$as_echo_n "checking for $ac_word... " >&6; }
2710
 
if ${ac_cv_prog_STRIP+:} false; then :
2711
 
  $as_echo_n "(cached) " >&6
2712
 
else
2713
 
  if test -n "$STRIP"; then
2714
 
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2715
 
else
2716
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2717
 
for as_dir in $PATH
2718
 
do
2719
 
  IFS=$as_save_IFS
2720
 
  test -z "$as_dir" && as_dir=.
2721
 
    for ac_exec_ext in '' $ac_executable_extensions; do
2722
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2723
 
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2724
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2725
 
    break 2
2726
 
  fi
2727
 
done
2728
 
  done
2729
 
IFS=$as_save_IFS
2730
 
 
2731
 
fi
2732
 
fi
2733
 
STRIP=$ac_cv_prog_STRIP
2734
 
if test -n "$STRIP"; then
2735
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2736
 
$as_echo "$STRIP" >&6; }
2737
 
else
2738
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2739
 
$as_echo "no" >&6; }
2740
 
fi
2741
 
 
2742
 
 
2743
 
fi
2744
 
if test -z "$ac_cv_prog_STRIP"; then
2745
 
  ac_ct_STRIP=$STRIP
2746
 
  # Extract the first word of "strip", so it can be a program name with args.
2747
 
set dummy strip; ac_word=$2
2748
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2749
 
$as_echo_n "checking for $ac_word... " >&6; }
2750
 
if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2751
 
  $as_echo_n "(cached) " >&6
2752
 
else
2753
 
  if test -n "$ac_ct_STRIP"; then
2754
 
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2755
 
else
2756
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2757
 
for as_dir in $PATH
2758
 
do
2759
 
  IFS=$as_save_IFS
2760
 
  test -z "$as_dir" && as_dir=.
2761
 
    for ac_exec_ext in '' $ac_executable_extensions; do
2762
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2763
 
    ac_cv_prog_ac_ct_STRIP="strip"
2764
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2765
 
    break 2
2766
 
  fi
2767
 
done
2768
 
  done
2769
 
IFS=$as_save_IFS
2770
 
 
2771
 
fi
2772
 
fi
2773
 
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2774
 
if test -n "$ac_ct_STRIP"; then
2775
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2776
 
$as_echo "$ac_ct_STRIP" >&6; }
2777
 
else
2778
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2779
 
$as_echo "no" >&6; }
2780
 
fi
2781
 
 
2782
 
  if test "x$ac_ct_STRIP" = x; then
2783
 
    STRIP=":"
2784
 
  else
2785
 
    case $cross_compiling:$ac_tool_warned in
2786
 
yes:)
2787
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2788
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2789
 
ac_tool_warned=yes ;;
2790
 
esac
2791
 
    STRIP=$ac_ct_STRIP
2792
 
  fi
2793
 
else
2794
 
  STRIP="$ac_cv_prog_STRIP"
2795
 
fi
2796
 
 
2797
 
fi
2798
 
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2799
 
 
2800
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2801
 
$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2802
 
if test -z "$MKDIR_P"; then
2803
 
  if ${ac_cv_path_mkdir+:} false; then :
2804
 
  $as_echo_n "(cached) " >&6
2805
 
else
2806
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2807
 
for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2808
 
do
2809
 
  IFS=$as_save_IFS
2810
 
  test -z "$as_dir" && as_dir=.
2811
 
    for ac_prog in mkdir gmkdir; do
2812
 
         for ac_exec_ext in '' $ac_executable_extensions; do
2813
 
           { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2814
 
           case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2815
 
             'mkdir (GNU coreutils) '* | \
2816
 
             'mkdir (coreutils) '* | \
2817
 
             'mkdir (fileutils) '4.1*)
2818
 
               ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2819
 
               break 3;;
2820
 
           esac
2821
 
         done
2822
 
       done
2823
 
  done
2824
 
IFS=$as_save_IFS
2825
 
 
2826
 
fi
2827
 
 
2828
 
  test -d ./--version && rmdir ./--version
2829
 
  if test "${ac_cv_path_mkdir+set}" = set; then
2830
 
    MKDIR_P="$ac_cv_path_mkdir -p"
2831
 
  else
2832
 
    # As a last resort, use the slow shell script.  Don't cache a
2833
 
    # value for MKDIR_P within a source directory, because that will
2834
 
    # break other packages using the cache if that directory is
2835
 
    # removed, or if the value is a relative name.
2836
 
    MKDIR_P="$ac_install_sh -d"
2837
 
  fi
2838
 
fi
2839
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2840
 
$as_echo "$MKDIR_P" >&6; }
2841
 
 
2842
 
mkdir_p="$MKDIR_P"
2843
 
case $mkdir_p in
2844
 
  [\\/$]* | ?:[\\/]*) ;;
2845
 
  */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2846
 
esac
2847
 
 
2848
 
for ac_prog in gawk mawk nawk awk
2849
 
do
2850
 
  # Extract the first word of "$ac_prog", so it can be a program name with args.
2851
 
set dummy $ac_prog; ac_word=$2
2852
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2853
 
$as_echo_n "checking for $ac_word... " >&6; }
2854
 
if ${ac_cv_prog_AWK+:} false; then :
2855
 
  $as_echo_n "(cached) " >&6
2856
 
else
2857
 
  if test -n "$AWK"; then
2858
 
  ac_cv_prog_AWK="$AWK" # Let the user override the test.
2859
 
else
2860
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2861
 
for as_dir in $PATH
2862
 
do
2863
 
  IFS=$as_save_IFS
2864
 
  test -z "$as_dir" && as_dir=.
2865
 
    for ac_exec_ext in '' $ac_executable_extensions; do
2866
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2867
 
    ac_cv_prog_AWK="$ac_prog"
2868
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2869
 
    break 2
2870
 
  fi
2871
 
done
2872
 
  done
2873
 
IFS=$as_save_IFS
2874
 
 
2875
 
fi
2876
 
fi
2877
 
AWK=$ac_cv_prog_AWK
2878
 
if test -n "$AWK"; then
2879
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2880
 
$as_echo "$AWK" >&6; }
2881
 
else
2882
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2883
 
$as_echo "no" >&6; }
2884
 
fi
2885
 
 
2886
 
 
2887
 
  test -n "$AWK" && break
2888
 
done
2889
 
 
2890
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2891
 
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2892
 
set x ${MAKE-make}
2893
 
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2894
 
if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2895
 
  $as_echo_n "(cached) " >&6
2896
 
else
2897
 
  cat >conftest.make <<\_ACEOF
2898
 
SHELL = /bin/sh
2899
 
all:
2900
 
        @echo '@@@%%%=$(MAKE)=@@@%%%'
2901
 
_ACEOF
2902
 
# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2903
 
case `${MAKE-make} -f conftest.make 2>/dev/null` in
2904
 
  *@@@%%%=?*=@@@%%%*)
2905
 
    eval ac_cv_prog_make_${ac_make}_set=yes;;
2906
 
  *)
2907
 
    eval ac_cv_prog_make_${ac_make}_set=no;;
2908
 
esac
2909
 
rm -f conftest.make
2910
 
fi
2911
 
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2912
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2913
 
$as_echo "yes" >&6; }
2914
 
  SET_MAKE=
2915
 
else
2916
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2917
 
$as_echo "no" >&6; }
2918
 
  SET_MAKE="MAKE=${MAKE-make}"
2919
 
fi
2920
 
 
2921
 
rm -rf .tst 2>/dev/null
2922
 
mkdir .tst 2>/dev/null
2923
 
if test -d .tst; then
2924
 
  am__leading_dot=.
2925
 
else
2926
 
  am__leading_dot=_
2927
 
fi
2928
 
rmdir .tst 2>/dev/null
2929
 
 
2930
 
if test "`cd $srcdir && pwd`" != "`pwd`"; then
2931
 
  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2932
 
  # is not polluted with repeated "-I."
2933
 
  am__isrc=' -I$(srcdir)'
2934
 
  # test to see if srcdir already configured
2935
 
  if test -f $srcdir/config.status; then
2936
 
    as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2937
 
  fi
2938
 
fi
2939
 
 
2940
 
# test whether we have cygpath
2941
 
if test -z "$CYGPATH_W"; then
2942
 
  if (cygpath --version) >/dev/null 2>/dev/null; then
2943
 
    CYGPATH_W='cygpath -w'
2944
 
  else
2945
 
    CYGPATH_W=echo
2946
 
  fi
2947
 
fi
2948
 
 
2949
 
 
2950
 
# Define the identity of the package.
2951
 
 PACKAGE='trousers'
2952
 
 VERSION='0.3.10'
2953
 
 
2954
 
 
2955
 
cat >>confdefs.h <<_ACEOF
2956
 
@%:@define PACKAGE "$PACKAGE"
2957
 
_ACEOF
2958
 
 
2959
 
 
2960
 
cat >>confdefs.h <<_ACEOF
2961
 
@%:@define VERSION "$VERSION"
2962
 
_ACEOF
2963
 
 
2964
 
# Some tools Automake needs.
2965
 
 
2966
 
ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2967
 
 
2968
 
 
2969
 
AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2970
 
 
2971
 
 
2972
 
AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2973
 
 
2974
 
 
2975
 
AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2976
 
 
2977
 
 
2978
 
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2979
 
 
2980
 
# We need awk for the "check" target.  The system "awk" is bad on
2981
 
# some platforms.
2982
 
# Always define AMTAR for backward compatibility.  Yes, it's still used
2983
 
# in the wild :-(  We should find a proper way to deprecate it ...
2984
 
AMTAR='$${TAR-tar}'
2985
 
 
2986
 
am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2987
 
 
2988
 
 
2989
 
 
2990
 
 
2991
 
 
2992
 
 
2993
 
# Debugging support
2994
 
@%:@ Check whether --enable-debug was given.
2995
 
if test "${enable_debug+set}" = set; then :
2996
 
  enableval=$enable_debug; { $as_echo "$as_me:${as_lineno-$LINENO}: result: *** Enabling debugging at user request ***" >&5
2997
 
$as_echo "*** Enabling debugging at user request ***" >&6; }
2998
 
fi
2999
 
 
3000
 
 
3001
 
# If the user has not set CFLAGS, do something appropriate
3002
 
test_CFLAGS=${CFLAGS+set}
3003
 
if test "$test_CFLAGS" != set; then
3004
 
        if test "x$enable_debug" = "xyes"; then
3005
 
                CFLAGS="-O0 -g -DTSS_DEBUG -Wreturn-type"
3006
 
#               CFLAGS="-O0 -g -DTSS_DEBUG -Wreturn-type -DTCSD_SINGLE_THREAD_DEBUG"
3007
 
        else
3008
 
                CFLAGS="-O2"
3009
 
        fi
3010
 
else
3011
 
        if test "x$enable_debug" = "xyes"; then
3012
 
                CFLAGS="${CFLAGS} -O0 -g -DTSS_DEBUG -Wreturn-type"
3013
 
        fi
3014
 
fi
3015
 
 
3016
 
# Arch specific stuff
3017
 
case $target in
3018
 
        *solaris*)
3019
 
                CFLAGS="$CFLAGS -DSOLARIS"
3020
 
                ;;
3021
 
        *)
3022
 
                ;;
3023
 
esac
3024
 
 
3025
 
# Non-standard OpenSSL location
3026
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking Non-standard OpenSSL location" >&5
3027
 
$as_echo_n "checking Non-standard OpenSSL location... " >&6; }
3028
 
 
3029
 
@%:@ Check whether --with-openssl was given.
3030
 
if test "${with_openssl+set}" = set; then :
3031
 
  withval=$with_openssl; OPENSSL_INCLUDE_DIR="$withval/include"
3032
 
         OPENSSL_LIB_DIR="$withval/lib"
3033
 
         if [ ! -d $OPENSSL_INCLUDE_DIR -o ! -d $OPENSSL_LIB_DIR ]; then
3034
 
                as_fn_error $? "$OPENSSL_INCLUDE_DIR or $OPENSSL_LIB_DIR doen't exist!" "$LINENO" 5
3035
 
         else
3036
 
                { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3037
 
$as_echo "yes" >&6; }
3038
 
                CFLAGS="$CFLAGS -L$OPENSSL_LIB_DIR -I$OPENSSL_INCLUDE_DIR"
3039
 
                
3040
 
         fi
3041
 
else
3042
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3043
 
$as_echo "no" >&6; }
3044
 
           
3045
 
fi
3046
 
 
3047
 
 
3048
 
# The tspi Makefile will look for trspi/crypto/@CRYPTO_PACKAGE@/crypto.c
3049
 
# Future crypto packages can go in their own subdir of trspi/crypto
3050
 
# and a check for them should be made here
3051
 
DEPDIR="${am__leading_dot}deps"
3052
 
 
3053
 
ac_config_commands="$ac_config_commands depfiles"
3054
 
 
3055
 
 
3056
 
am_make=${MAKE-make}
3057
 
cat > confinc << 'END'
3058
 
am__doit:
3059
 
        @echo this is the am__doit target
3060
 
.PHONY: am__doit
3061
 
END
3062
 
# If we don't find an include directive, just comment out the code.
3063
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3064
 
$as_echo_n "checking for style of include used by $am_make... " >&6; }
3065
 
am__include="#"
3066
 
am__quote=
3067
 
_am_result=none
3068
 
# First try GNU make style include.
3069
 
echo "include confinc" > confmf
3070
 
# Ignore all kinds of additional output from `make'.
3071
 
case `$am_make -s -f confmf 2> /dev/null` in #(
3072
 
*the\ am__doit\ target*)
3073
 
  am__include=include
3074
 
  am__quote=
3075
 
  _am_result=GNU
3076
 
  ;;
3077
 
esac
3078
 
# Now try BSD make style include.
3079
 
if test "$am__include" = "#"; then
3080
 
   echo '.include "confinc"' > confmf
3081
 
   case `$am_make -s -f confmf 2> /dev/null` in #(
3082
 
   *the\ am__doit\ target*)
3083
 
     am__include=.include
3084
 
     am__quote="\""
3085
 
     _am_result=BSD
3086
 
     ;;
3087
 
   esac
3088
 
fi
3089
 
 
3090
 
 
3091
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3092
 
$as_echo "$_am_result" >&6; }
3093
 
rm -f confinc confmf
3094
 
 
3095
 
@%:@ Check whether --enable-dependency-tracking was given.
3096
 
if test "${enable_dependency_tracking+set}" = set; then :
3097
 
  enableval=$enable_dependency_tracking; 
3098
 
fi
3099
 
 
3100
 
if test "x$enable_dependency_tracking" != xno; then
3101
 
  am_depcomp="$ac_aux_dir/depcomp"
3102
 
  AMDEPBACKSLASH='\'
3103
 
  am__nodep='_no'
3104
 
fi
3105
 
 if test "x$enable_dependency_tracking" != xno; then
3106
 
  AMDEP_TRUE=
3107
 
  AMDEP_FALSE='#'
3108
 
else
3109
 
  AMDEP_TRUE='#'
3110
 
  AMDEP_FALSE=
3111
 
fi
3112
 
 
3113
 
 
3114
 
ac_ext=c
3115
 
ac_cpp='$CPP $CPPFLAGS'
3116
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3117
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3118
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3119
 
if test -n "$ac_tool_prefix"; then
3120
 
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3121
 
set dummy ${ac_tool_prefix}gcc; ac_word=$2
3122
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3123
 
$as_echo_n "checking for $ac_word... " >&6; }
3124
 
if ${ac_cv_prog_CC+:} false; then :
3125
 
  $as_echo_n "(cached) " >&6
3126
 
else
3127
 
  if test -n "$CC"; then
3128
 
  ac_cv_prog_CC="$CC" # Let the user override the test.
3129
 
else
3130
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3131
 
for as_dir in $PATH
3132
 
do
3133
 
  IFS=$as_save_IFS
3134
 
  test -z "$as_dir" && as_dir=.
3135
 
    for ac_exec_ext in '' $ac_executable_extensions; do
3136
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3137
 
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
3138
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3139
 
    break 2
3140
 
  fi
3141
 
done
3142
 
  done
3143
 
IFS=$as_save_IFS
3144
 
 
3145
 
fi
3146
 
fi
3147
 
CC=$ac_cv_prog_CC
3148
 
if test -n "$CC"; then
3149
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3150
 
$as_echo "$CC" >&6; }
3151
 
else
3152
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3153
 
$as_echo "no" >&6; }
3154
 
fi
3155
 
 
3156
 
 
3157
 
fi
3158
 
if test -z "$ac_cv_prog_CC"; then
3159
 
  ac_ct_CC=$CC
3160
 
  # Extract the first word of "gcc", so it can be a program name with args.
3161
 
set dummy gcc; ac_word=$2
3162
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3163
 
$as_echo_n "checking for $ac_word... " >&6; }
3164
 
if ${ac_cv_prog_ac_ct_CC+:} false; then :
3165
 
  $as_echo_n "(cached) " >&6
3166
 
else
3167
 
  if test -n "$ac_ct_CC"; then
3168
 
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3169
 
else
3170
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3171
 
for as_dir in $PATH
3172
 
do
3173
 
  IFS=$as_save_IFS
3174
 
  test -z "$as_dir" && as_dir=.
3175
 
    for ac_exec_ext in '' $ac_executable_extensions; do
3176
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3177
 
    ac_cv_prog_ac_ct_CC="gcc"
3178
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3179
 
    break 2
3180
 
  fi
3181
 
done
3182
 
  done
3183
 
IFS=$as_save_IFS
3184
 
 
3185
 
fi
3186
 
fi
3187
 
ac_ct_CC=$ac_cv_prog_ac_ct_CC
3188
 
if test -n "$ac_ct_CC"; then
3189
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3190
 
$as_echo "$ac_ct_CC" >&6; }
3191
 
else
3192
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3193
 
$as_echo "no" >&6; }
3194
 
fi
3195
 
 
3196
 
  if test "x$ac_ct_CC" = x; then
3197
 
    CC=""
3198
 
  else
3199
 
    case $cross_compiling:$ac_tool_warned in
3200
 
yes:)
3201
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3202
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3203
 
ac_tool_warned=yes ;;
3204
 
esac
3205
 
    CC=$ac_ct_CC
3206
 
  fi
3207
 
else
3208
 
  CC="$ac_cv_prog_CC"
3209
 
fi
3210
 
 
3211
 
if test -z "$CC"; then
3212
 
          if test -n "$ac_tool_prefix"; then
3213
 
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3214
 
set dummy ${ac_tool_prefix}cc; ac_word=$2
3215
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3216
 
$as_echo_n "checking for $ac_word... " >&6; }
3217
 
if ${ac_cv_prog_CC+:} false; then :
3218
 
  $as_echo_n "(cached) " >&6
3219
 
else
3220
 
  if test -n "$CC"; then
3221
 
  ac_cv_prog_CC="$CC" # Let the user override the test.
3222
 
else
3223
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3224
 
for as_dir in $PATH
3225
 
do
3226
 
  IFS=$as_save_IFS
3227
 
  test -z "$as_dir" && as_dir=.
3228
 
    for ac_exec_ext in '' $ac_executable_extensions; do
3229
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3230
 
    ac_cv_prog_CC="${ac_tool_prefix}cc"
3231
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3232
 
    break 2
3233
 
  fi
3234
 
done
3235
 
  done
3236
 
IFS=$as_save_IFS
3237
 
 
3238
 
fi
3239
 
fi
3240
 
CC=$ac_cv_prog_CC
3241
 
if test -n "$CC"; then
3242
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3243
 
$as_echo "$CC" >&6; }
3244
 
else
3245
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3246
 
$as_echo "no" >&6; }
3247
 
fi
3248
 
 
3249
 
 
3250
 
  fi
3251
 
fi
3252
 
if test -z "$CC"; then
3253
 
  # Extract the first word of "cc", so it can be a program name with args.
3254
 
set dummy cc; ac_word=$2
3255
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3256
 
$as_echo_n "checking for $ac_word... " >&6; }
3257
 
if ${ac_cv_prog_CC+:} false; then :
3258
 
  $as_echo_n "(cached) " >&6
3259
 
else
3260
 
  if test -n "$CC"; then
3261
 
  ac_cv_prog_CC="$CC" # Let the user override the test.
3262
 
else
3263
 
  ac_prog_rejected=no
3264
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3265
 
for as_dir in $PATH
3266
 
do
3267
 
  IFS=$as_save_IFS
3268
 
  test -z "$as_dir" && as_dir=.
3269
 
    for ac_exec_ext in '' $ac_executable_extensions; do
3270
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3271
 
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3272
 
       ac_prog_rejected=yes
3273
 
       continue
3274
 
     fi
3275
 
    ac_cv_prog_CC="cc"
3276
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3277
 
    break 2
3278
 
  fi
3279
 
done
3280
 
  done
3281
 
IFS=$as_save_IFS
3282
 
 
3283
 
if test $ac_prog_rejected = yes; then
3284
 
  # We found a bogon in the path, so make sure we never use it.
3285
 
  set dummy $ac_cv_prog_CC
3286
 
  shift
3287
 
  if test $@%:@ != 0; then
3288
 
    # We chose a different compiler from the bogus one.
3289
 
    # However, it has the same basename, so the bogon will be chosen
3290
 
    # first if we set CC to just the basename; use the full file name.
3291
 
    shift
3292
 
    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3293
 
  fi
3294
 
fi
3295
 
fi
3296
 
fi
3297
 
CC=$ac_cv_prog_CC
3298
 
if test -n "$CC"; then
3299
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3300
 
$as_echo "$CC" >&6; }
3301
 
else
3302
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3303
 
$as_echo "no" >&6; }
3304
 
fi
3305
 
 
3306
 
 
3307
 
fi
3308
 
if test -z "$CC"; then
3309
 
  if test -n "$ac_tool_prefix"; then
3310
 
  for ac_prog in cl.exe
3311
 
  do
3312
 
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3313
 
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3314
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3315
 
$as_echo_n "checking for $ac_word... " >&6; }
3316
 
if ${ac_cv_prog_CC+:} false; then :
3317
 
  $as_echo_n "(cached) " >&6
3318
 
else
3319
 
  if test -n "$CC"; then
3320
 
  ac_cv_prog_CC="$CC" # Let the user override the test.
3321
 
else
3322
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3323
 
for as_dir in $PATH
3324
 
do
3325
 
  IFS=$as_save_IFS
3326
 
  test -z "$as_dir" && as_dir=.
3327
 
    for ac_exec_ext in '' $ac_executable_extensions; do
3328
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3329
 
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3330
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3331
 
    break 2
3332
 
  fi
3333
 
done
3334
 
  done
3335
 
IFS=$as_save_IFS
3336
 
 
3337
 
fi
3338
 
fi
3339
 
CC=$ac_cv_prog_CC
3340
 
if test -n "$CC"; then
3341
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3342
 
$as_echo "$CC" >&6; }
3343
 
else
3344
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3345
 
$as_echo "no" >&6; }
3346
 
fi
3347
 
 
3348
 
 
3349
 
    test -n "$CC" && break
3350
 
  done
3351
 
fi
3352
 
if test -z "$CC"; then
3353
 
  ac_ct_CC=$CC
3354
 
  for ac_prog in cl.exe
3355
 
do
3356
 
  # Extract the first word of "$ac_prog", so it can be a program name with args.
3357
 
set dummy $ac_prog; ac_word=$2
3358
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3359
 
$as_echo_n "checking for $ac_word... " >&6; }
3360
 
if ${ac_cv_prog_ac_ct_CC+:} false; then :
3361
 
  $as_echo_n "(cached) " >&6
3362
 
else
3363
 
  if test -n "$ac_ct_CC"; then
3364
 
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3365
 
else
3366
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3367
 
for as_dir in $PATH
3368
 
do
3369
 
  IFS=$as_save_IFS
3370
 
  test -z "$as_dir" && as_dir=.
3371
 
    for ac_exec_ext in '' $ac_executable_extensions; do
3372
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3373
 
    ac_cv_prog_ac_ct_CC="$ac_prog"
3374
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3375
 
    break 2
3376
 
  fi
3377
 
done
3378
 
  done
3379
 
IFS=$as_save_IFS
3380
 
 
3381
 
fi
3382
 
fi
3383
 
ac_ct_CC=$ac_cv_prog_ac_ct_CC
3384
 
if test -n "$ac_ct_CC"; then
3385
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3386
 
$as_echo "$ac_ct_CC" >&6; }
3387
 
else
3388
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3389
 
$as_echo "no" >&6; }
3390
 
fi
3391
 
 
3392
 
 
3393
 
  test -n "$ac_ct_CC" && break
3394
 
done
3395
 
 
3396
 
  if test "x$ac_ct_CC" = x; then
3397
 
    CC=""
3398
 
  else
3399
 
    case $cross_compiling:$ac_tool_warned in
3400
 
yes:)
3401
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3402
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3403
 
ac_tool_warned=yes ;;
3404
 
esac
3405
 
    CC=$ac_ct_CC
3406
 
  fi
3407
 
fi
3408
 
 
3409
 
fi
3410
 
 
3411
 
 
3412
 
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3413
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3414
 
as_fn_error $? "no acceptable C compiler found in \$PATH
3415
 
See \`config.log' for more details" "$LINENO" 5; }
3416
 
 
3417
 
# Provide some information about the compiler.
3418
 
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3419
 
set X $ac_compile
3420
 
ac_compiler=$2
3421
 
for ac_option in --version -v -V -qversion; do
3422
 
  { { ac_try="$ac_compiler $ac_option >&5"
3423
 
case "(($ac_try" in
3424
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3425
 
  *) ac_try_echo=$ac_try;;
3426
 
esac
3427
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3428
 
$as_echo "$ac_try_echo"; } >&5
3429
 
  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3430
 
  ac_status=$?
3431
 
  if test -s conftest.err; then
3432
 
    sed '10a\
3433
 
... rest of stderr output deleted ...
3434
 
         10q' conftest.err >conftest.er1
3435
 
    cat conftest.er1 >&5
3436
 
  fi
3437
 
  rm -f conftest.er1 conftest.err
3438
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3439
 
  test $ac_status = 0; }
3440
 
done
3441
 
 
3442
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3443
 
/* end confdefs.h.  */
3444
 
 
3445
 
int
3446
 
main ()
3447
 
{
3448
 
 
3449
 
  ;
3450
 
  return 0;
3451
 
}
3452
 
_ACEOF
3453
 
ac_clean_files_save=$ac_clean_files
3454
 
ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3455
 
# Try to create an executable without -o first, disregard a.out.
3456
 
# It will help us diagnose broken compilers, and finding out an intuition
3457
 
# of exeext.
3458
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3459
 
$as_echo_n "checking whether the C compiler works... " >&6; }
3460
 
ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3461
 
 
3462
 
# The possible output files:
3463
 
ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3464
 
 
3465
 
ac_rmfiles=
3466
 
for ac_file in $ac_files
3467
 
do
3468
 
  case $ac_file in
3469
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3470
 
    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3471
 
  esac
3472
 
done
3473
 
rm -f $ac_rmfiles
3474
 
 
3475
 
if { { ac_try="$ac_link_default"
3476
 
case "(($ac_try" in
3477
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3478
 
  *) ac_try_echo=$ac_try;;
3479
 
esac
3480
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3481
 
$as_echo "$ac_try_echo"; } >&5
3482
 
  (eval "$ac_link_default") 2>&5
3483
 
  ac_status=$?
3484
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3485
 
  test $ac_status = 0; }; then :
3486
 
  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3487
 
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3488
 
# in a Makefile.  We should not override ac_cv_exeext if it was cached,
3489
 
# so that the user can short-circuit this test for compilers unknown to
3490
 
# Autoconf.
3491
 
for ac_file in $ac_files ''
3492
 
do
3493
 
  test -f "$ac_file" || continue
3494
 
  case $ac_file in
3495
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3496
 
        ;;
3497
 
    [ab].out )
3498
 
        # We found the default executable, but exeext='' is most
3499
 
        # certainly right.
3500
 
        break;;
3501
 
    *.* )
3502
 
        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3503
 
        then :; else
3504
 
           ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3505
 
        fi
3506
 
        # We set ac_cv_exeext here because the later test for it is not
3507
 
        # safe: cross compilers may not add the suffix if given an `-o'
3508
 
        # argument, so we may need to know it at that point already.
3509
 
        # Even if this section looks crufty: it has the advantage of
3510
 
        # actually working.
3511
 
        break;;
3512
 
    * )
3513
 
        break;;
3514
 
  esac
3515
 
done
3516
 
test "$ac_cv_exeext" = no && ac_cv_exeext=
3517
 
 
3518
 
else
3519
 
  ac_file=''
3520
 
fi
3521
 
if test -z "$ac_file"; then :
3522
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3523
 
$as_echo "no" >&6; }
3524
 
$as_echo "$as_me: failed program was:" >&5
3525
 
sed 's/^/| /' conftest.$ac_ext >&5
3526
 
 
3527
 
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3528
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3529
 
as_fn_error 77 "C compiler cannot create executables
3530
 
See \`config.log' for more details" "$LINENO" 5; }
3531
 
else
3532
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3533
 
$as_echo "yes" >&6; }
3534
 
fi
3535
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3536
 
$as_echo_n "checking for C compiler default output file name... " >&6; }
3537
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3538
 
$as_echo "$ac_file" >&6; }
3539
 
ac_exeext=$ac_cv_exeext
3540
 
 
3541
 
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3542
 
ac_clean_files=$ac_clean_files_save
3543
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3544
 
$as_echo_n "checking for suffix of executables... " >&6; }
3545
 
if { { ac_try="$ac_link"
3546
 
case "(($ac_try" in
3547
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3548
 
  *) ac_try_echo=$ac_try;;
3549
 
esac
3550
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3551
 
$as_echo "$ac_try_echo"; } >&5
3552
 
  (eval "$ac_link") 2>&5
3553
 
  ac_status=$?
3554
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3555
 
  test $ac_status = 0; }; then :
3556
 
  # If both `conftest.exe' and `conftest' are `present' (well, observable)
3557
 
# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3558
 
# work properly (i.e., refer to `conftest.exe'), while it won't with
3559
 
# `rm'.
3560
 
for ac_file in conftest.exe conftest conftest.*; do
3561
 
  test -f "$ac_file" || continue
3562
 
  case $ac_file in
3563
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3564
 
    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3565
 
          break;;
3566
 
    * ) break;;
3567
 
  esac
3568
 
done
3569
 
else
3570
 
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3571
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3572
 
as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3573
 
See \`config.log' for more details" "$LINENO" 5; }
3574
 
fi
3575
 
rm -f conftest conftest$ac_cv_exeext
3576
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3577
 
$as_echo "$ac_cv_exeext" >&6; }
3578
 
 
3579
 
rm -f conftest.$ac_ext
3580
 
EXEEXT=$ac_cv_exeext
3581
 
ac_exeext=$EXEEXT
3582
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3583
 
/* end confdefs.h.  */
3584
 
@%:@include <stdio.h>
3585
 
int
3586
 
main ()
3587
 
{
3588
 
FILE *f = fopen ("conftest.out", "w");
3589
 
 return ferror (f) || fclose (f) != 0;
3590
 
 
3591
 
  ;
3592
 
  return 0;
3593
 
}
3594
 
_ACEOF
3595
 
ac_clean_files="$ac_clean_files conftest.out"
3596
 
# Check that the compiler produces executables we can run.  If not, either
3597
 
# the compiler is broken, or we cross compile.
3598
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3599
 
$as_echo_n "checking whether we are cross compiling... " >&6; }
3600
 
if test "$cross_compiling" != yes; then
3601
 
  { { ac_try="$ac_link"
3602
 
case "(($ac_try" in
3603
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3604
 
  *) ac_try_echo=$ac_try;;
3605
 
esac
3606
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3607
 
$as_echo "$ac_try_echo"; } >&5
3608
 
  (eval "$ac_link") 2>&5
3609
 
  ac_status=$?
3610
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3611
 
  test $ac_status = 0; }
3612
 
  if { ac_try='./conftest$ac_cv_exeext'
3613
 
  { { case "(($ac_try" in
3614
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3615
 
  *) ac_try_echo=$ac_try;;
3616
 
esac
3617
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3618
 
$as_echo "$ac_try_echo"; } >&5
3619
 
  (eval "$ac_try") 2>&5
3620
 
  ac_status=$?
3621
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3622
 
  test $ac_status = 0; }; }; then
3623
 
    cross_compiling=no
3624
 
  else
3625
 
    if test "$cross_compiling" = maybe; then
3626
 
        cross_compiling=yes
3627
 
    else
3628
 
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3629
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3630
 
as_fn_error $? "cannot run C compiled programs.
3631
 
If you meant to cross compile, use \`--host'.
3632
 
See \`config.log' for more details" "$LINENO" 5; }
3633
 
    fi
3634
 
  fi
3635
 
fi
3636
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3637
 
$as_echo "$cross_compiling" >&6; }
3638
 
 
3639
 
rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3640
 
ac_clean_files=$ac_clean_files_save
3641
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3642
 
$as_echo_n "checking for suffix of object files... " >&6; }
3643
 
if ${ac_cv_objext+:} false; then :
3644
 
  $as_echo_n "(cached) " >&6
3645
 
else
3646
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3647
 
/* end confdefs.h.  */
3648
 
 
3649
 
int
3650
 
main ()
3651
 
{
3652
 
 
3653
 
  ;
3654
 
  return 0;
3655
 
}
3656
 
_ACEOF
3657
 
rm -f conftest.o conftest.obj
3658
 
if { { ac_try="$ac_compile"
3659
 
case "(($ac_try" in
3660
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3661
 
  *) ac_try_echo=$ac_try;;
3662
 
esac
3663
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3664
 
$as_echo "$ac_try_echo"; } >&5
3665
 
  (eval "$ac_compile") 2>&5
3666
 
  ac_status=$?
3667
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3668
 
  test $ac_status = 0; }; then :
3669
 
  for ac_file in conftest.o conftest.obj conftest.*; do
3670
 
  test -f "$ac_file" || continue;
3671
 
  case $ac_file in
3672
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3673
 
    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3674
 
       break;;
3675
 
  esac
3676
 
done
3677
 
else
3678
 
  $as_echo "$as_me: failed program was:" >&5
3679
 
sed 's/^/| /' conftest.$ac_ext >&5
3680
 
 
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 compute suffix of object files: cannot compile
3684
 
See \`config.log' for more details" "$LINENO" 5; }
3685
 
fi
3686
 
rm -f conftest.$ac_cv_objext conftest.$ac_ext
3687
 
fi
3688
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3689
 
$as_echo "$ac_cv_objext" >&6; }
3690
 
OBJEXT=$ac_cv_objext
3691
 
ac_objext=$OBJEXT
3692
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3693
 
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3694
 
if ${ac_cv_c_compiler_gnu+:} false; then :
3695
 
  $as_echo_n "(cached) " >&6
3696
 
else
3697
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3698
 
/* end confdefs.h.  */
3699
 
 
3700
 
int
3701
 
main ()
3702
 
{
3703
 
#ifndef __GNUC__
3704
 
       choke me
3705
 
#endif
3706
 
 
3707
 
  ;
3708
 
  return 0;
3709
 
}
3710
 
_ACEOF
3711
 
if ac_fn_c_try_compile "$LINENO"; then :
3712
 
  ac_compiler_gnu=yes
3713
 
else
3714
 
  ac_compiler_gnu=no
3715
 
fi
3716
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3717
 
ac_cv_c_compiler_gnu=$ac_compiler_gnu
3718
 
 
3719
 
fi
3720
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3721
 
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
3722
 
if test $ac_compiler_gnu = yes; then
3723
 
  GCC=yes
3724
 
else
3725
 
  GCC=
3726
 
fi
3727
 
ac_test_CFLAGS=${CFLAGS+set}
3728
 
ac_save_CFLAGS=$CFLAGS
3729
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3730
 
$as_echo_n "checking whether $CC accepts -g... " >&6; }
3731
 
if ${ac_cv_prog_cc_g+:} false; then :
3732
 
  $as_echo_n "(cached) " >&6
3733
 
else
3734
 
  ac_save_c_werror_flag=$ac_c_werror_flag
3735
 
   ac_c_werror_flag=yes
3736
 
   ac_cv_prog_cc_g=no
3737
 
   CFLAGS="-g"
3738
 
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3739
 
/* end confdefs.h.  */
3740
 
 
3741
 
int
3742
 
main ()
3743
 
{
3744
 
 
3745
 
  ;
3746
 
  return 0;
3747
 
}
3748
 
_ACEOF
3749
 
if ac_fn_c_try_compile "$LINENO"; then :
3750
 
  ac_cv_prog_cc_g=yes
3751
 
else
3752
 
  CFLAGS=""
3753
 
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3754
 
/* end confdefs.h.  */
3755
 
 
3756
 
int
3757
 
main ()
3758
 
{
3759
 
 
3760
 
  ;
3761
 
  return 0;
3762
 
}
3763
 
_ACEOF
3764
 
if ac_fn_c_try_compile "$LINENO"; then :
3765
 
  
3766
 
else
3767
 
  ac_c_werror_flag=$ac_save_c_werror_flag
3768
 
         CFLAGS="-g"
3769
 
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3770
 
/* end confdefs.h.  */
3771
 
 
3772
 
int
3773
 
main ()
3774
 
{
3775
 
 
3776
 
  ;
3777
 
  return 0;
3778
 
}
3779
 
_ACEOF
3780
 
if ac_fn_c_try_compile "$LINENO"; then :
3781
 
  ac_cv_prog_cc_g=yes
3782
 
fi
3783
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3784
 
fi
3785
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3786
 
fi
3787
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3788
 
   ac_c_werror_flag=$ac_save_c_werror_flag
3789
 
fi
3790
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3791
 
$as_echo "$ac_cv_prog_cc_g" >&6; }
3792
 
if test "$ac_test_CFLAGS" = set; then
3793
 
  CFLAGS=$ac_save_CFLAGS
3794
 
elif test $ac_cv_prog_cc_g = yes; then
3795
 
  if test "$GCC" = yes; then
3796
 
    CFLAGS="-g -O2"
3797
 
  else
3798
 
    CFLAGS="-g"
3799
 
  fi
3800
 
else
3801
 
  if test "$GCC" = yes; then
3802
 
    CFLAGS="-O2"
3803
 
  else
3804
 
    CFLAGS=
3805
 
  fi
3806
 
fi
3807
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3808
 
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3809
 
if ${ac_cv_prog_cc_c89+:} false; then :
3810
 
  $as_echo_n "(cached) " >&6
3811
 
else
3812
 
  ac_cv_prog_cc_c89=no
3813
 
ac_save_CC=$CC
3814
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3815
 
/* end confdefs.h.  */
3816
 
#include <stdarg.h>
3817
 
#include <stdio.h>
3818
 
#include <sys/types.h>
3819
 
#include <sys/stat.h>
3820
 
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3821
 
struct buf { int x; };
3822
 
FILE * (*rcsopen) (struct buf *, struct stat *, int);
3823
 
static char *e (p, i)
3824
 
     char **p;
3825
 
     int i;
3826
 
{
3827
 
  return p[i];
3828
 
}
3829
 
static char *f (char * (*g) (char **, int), char **p, ...)
3830
 
{
3831
 
  char *s;
3832
 
  va_list v;
3833
 
  va_start (v,p);
3834
 
  s = g (p, va_arg (v,int));
3835
 
  va_end (v);
3836
 
  return s;
3837
 
}
3838
 
 
3839
 
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
3840
 
   function prototypes and stuff, but not '\xHH' hex character constants.
3841
 
   These don't provoke an error unfortunately, instead are silently treated
3842
 
   as 'x'.  The following induces an error, until -std is added to get
3843
 
   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
3844
 
   array size at least.  It's necessary to write '\x00'==0 to get something
3845
 
   that's true only with -std.  */
3846
 
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3847
 
 
3848
 
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3849
 
   inside strings and character constants.  */
3850
 
#define FOO(x) 'x'
3851
 
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3852
 
 
3853
 
int test (int i, double x);
3854
 
struct s1 {int (*f) (int a);};
3855
 
struct s2 {int (*f) (double a);};
3856
 
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3857
 
int argc;
3858
 
char **argv;
3859
 
int
3860
 
main ()
3861
 
{
3862
 
return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
3863
 
  ;
3864
 
  return 0;
3865
 
}
3866
 
_ACEOF
3867
 
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3868
 
        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3869
 
do
3870
 
  CC="$ac_save_CC $ac_arg"
3871
 
  if ac_fn_c_try_compile "$LINENO"; then :
3872
 
  ac_cv_prog_cc_c89=$ac_arg
3873
 
fi
3874
 
rm -f core conftest.err conftest.$ac_objext
3875
 
  test "x$ac_cv_prog_cc_c89" != "xno" && break
3876
 
done
3877
 
rm -f conftest.$ac_ext
3878
 
CC=$ac_save_CC
3879
 
 
3880
 
fi
3881
 
# AC_CACHE_VAL
3882
 
case "x$ac_cv_prog_cc_c89" in
3883
 
  x)
3884
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3885
 
$as_echo "none needed" >&6; } ;;
3886
 
  xno)
3887
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3888
 
$as_echo "unsupported" >&6; } ;;
3889
 
  *)
3890
 
    CC="$CC $ac_cv_prog_cc_c89"
3891
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3892
 
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3893
 
esac
3894
 
if test "x$ac_cv_prog_cc_c89" != xno; then :
3895
 
  
3896
 
fi
3897
 
 
3898
 
ac_ext=c
3899
 
ac_cpp='$CPP $CPPFLAGS'
3900
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3901
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3902
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3903
 
 
3904
 
depcc="$CC"   am_compiler_list=
3905
 
 
3906
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3907
 
$as_echo_n "checking dependency style of $depcc... " >&6; }
3908
 
if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3909
 
  $as_echo_n "(cached) " >&6
3910
 
else
3911
 
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3912
 
  # We make a subdir and do the tests there.  Otherwise we can end up
3913
 
  # making bogus files that we don't know about and never remove.  For
3914
 
  # instance it was reported that on HP-UX the gcc test will end up
3915
 
  # making a dummy file named `D' -- because `-MD' means `put the output
3916
 
  # in D'.
3917
 
  rm -rf conftest.dir
3918
 
  mkdir conftest.dir
3919
 
  # Copy depcomp to subdir because otherwise we won't find it if we're
3920
 
  # using a relative directory.
3921
 
  cp "$am_depcomp" conftest.dir
3922
 
  cd conftest.dir
3923
 
  # We will build objects and dependencies in a subdirectory because
3924
 
  # it helps to detect inapplicable dependency modes.  For instance
3925
 
  # both Tru64's cc and ICC support -MD to output dependencies as a
3926
 
  # side effect of compilation, but ICC will put the dependencies in
3927
 
  # the current directory while Tru64 will put them in the object
3928
 
  # directory.
3929
 
  mkdir sub
3930
 
 
3931
 
  am_cv_CC_dependencies_compiler_type=none
3932
 
  if test "$am_compiler_list" = ""; then
3933
 
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3934
 
  fi
3935
 
  am__universal=false
3936
 
  case " $depcc " in #(
3937
 
     *\ -arch\ *\ -arch\ *) am__universal=true ;;
3938
 
     esac
3939
 
 
3940
 
  for depmode in $am_compiler_list; do
3941
 
    # Setup a source with many dependencies, because some compilers
3942
 
    # like to wrap large dependency lists on column 80 (with \), and
3943
 
    # we should not choose a depcomp mode which is confused by this.
3944
 
    #
3945
 
    # We need to recreate these files for each test, as the compiler may
3946
 
    # overwrite some of them when testing with obscure command lines.
3947
 
    # This happens at least with the AIX C compiler.
3948
 
    : > sub/conftest.c
3949
 
    for i in 1 2 3 4 5 6; do
3950
 
      echo '#include "conftst'$i'.h"' >> sub/conftest.c
3951
 
      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3952
 
      # Solaris 8's {/usr,}/bin/sh.
3953
 
      touch sub/conftst$i.h
3954
 
    done
3955
 
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3956
 
 
3957
 
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
3958
 
    # mode.  It turns out that the SunPro C++ compiler does not properly
3959
 
    # handle `-M -o', and we need to detect this.  Also, some Intel
3960
 
    # versions had trouble with output in subdirs
3961
 
    am__obj=sub/conftest.${OBJEXT-o}
3962
 
    am__minus_obj="-o $am__obj"
3963
 
    case $depmode in
3964
 
    gcc)
3965
 
      # This depmode causes a compiler race in universal mode.
3966
 
      test "$am__universal" = false || continue
3967
 
      ;;
3968
 
    nosideeffect)
3969
 
      # after this tag, mechanisms are not by side-effect, so they'll
3970
 
      # only be used when explicitly requested
3971
 
      if test "x$enable_dependency_tracking" = xyes; then
3972
 
        continue
3973
 
      else
3974
 
        break
3975
 
      fi
3976
 
      ;;
3977
 
    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3978
 
      # This compiler won't grok `-c -o', but also, the minuso test has
3979
 
      # not run yet.  These depmodes are late enough in the game, and
3980
 
      # so weak that their functioning should not be impacted.
3981
 
      am__obj=conftest.${OBJEXT-o}
3982
 
      am__minus_obj=
3983
 
      ;;
3984
 
    none) break ;;
3985
 
    esac
3986
 
    if depmode=$depmode \
3987
 
       source=sub/conftest.c object=$am__obj \
3988
 
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3989
 
       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3990
 
         >/dev/null 2>conftest.err &&
3991
 
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3992
 
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3993
 
       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3994
 
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3995
 
      # icc doesn't choke on unknown options, it will just issue warnings
3996
 
      # or remarks (even with -Werror).  So we grep stderr for any message
3997
 
      # that says an option was ignored or not supported.
3998
 
      # When given -MP, icc 7.0 and 7.1 complain thusly:
3999
 
      #   icc: Command line warning: ignoring option '-M'; no argument required
4000
 
      # The diagnosis changed in icc 8.0:
4001
 
      #   icc: Command line remark: option '-MP' not supported
4002
 
      if (grep 'ignoring option' conftest.err ||
4003
 
          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4004
 
        am_cv_CC_dependencies_compiler_type=$depmode
4005
 
        break
4006
 
      fi
4007
 
    fi
4008
 
  done
4009
 
 
4010
 
  cd ..
4011
 
  rm -rf conftest.dir
4012
 
else
4013
 
  am_cv_CC_dependencies_compiler_type=none
4014
 
fi
4015
 
 
4016
 
fi
4017
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4018
 
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4019
 
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4020
 
 
4021
 
 if 
4022
 
  test "x$enable_dependency_tracking" != xno \
4023
 
  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4024
 
  am__fastdepCC_TRUE=
4025
 
  am__fastdepCC_FALSE='#'
4026
 
else
4027
 
  am__fastdepCC_TRUE='#'
4028
 
  am__fastdepCC_FALSE=
4029
 
fi
4030
 
 
4031
 
 
4032
 
 
4033
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVP_DigestUpdate in -lcrypto" >&5
4034
 
$as_echo_n "checking for EVP_DigestUpdate in -lcrypto... " >&6; }
4035
 
if ${ac_cv_lib_crypto_EVP_DigestUpdate+:} false; then :
4036
 
  $as_echo_n "(cached) " >&6
4037
 
else
4038
 
  ac_check_lib_save_LIBS=$LIBS
4039
 
LIBS="-lcrypto  $LIBS"
4040
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4041
 
/* end confdefs.h.  */
4042
 
 
4043
 
/* Override any GCC internal prototype to avoid an error.
4044
 
   Use char because int might match the return type of a GCC
4045
 
   builtin and then its argument prototype would still apply.  */
4046
 
#ifdef __cplusplus
4047
 
extern "C"
4048
 
#endif
4049
 
char EVP_DigestUpdate ();
4050
 
int
4051
 
main ()
4052
 
{
4053
 
return EVP_DigestUpdate ();
4054
 
  ;
4055
 
  return 0;
4056
 
}
4057
 
_ACEOF
4058
 
if ac_fn_c_try_link "$LINENO"; then :
4059
 
  ac_cv_lib_crypto_EVP_DigestUpdate=yes
4060
 
else
4061
 
  ac_cv_lib_crypto_EVP_DigestUpdate=no
4062
 
fi
4063
 
rm -f core conftest.err conftest.$ac_objext \
4064
 
    conftest$ac_exeext conftest.$ac_ext
4065
 
LIBS=$ac_check_lib_save_LIBS
4066
 
fi
4067
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_EVP_DigestUpdate" >&5
4068
 
$as_echo "$ac_cv_lib_crypto_EVP_DigestUpdate" >&6; }
4069
 
if test "x$ac_cv_lib_crypto_EVP_DigestUpdate" = xyes; then :
4070
 
  CRYPTO_PACKAGE='openssl'
4071
 
else
4072
 
  as_fn_error $? "openssl is currently the only supported crypto library for trousers. Please install openssl from http://www.openssl.org or the -devel package from your distro" "$LINENO" 5
4073
 
fi
4074
 
 
4075
 
 
4076
 
CRYPTOLIB=-lcrypto
4077
 
 
4078
 
 
4079
 
@%:@ Check whether --enable-gcov was given.
4080
 
if test "${enable_gcov+set}" = set; then :
4081
 
  enableval=$enable_gcov; CFLAGS="$CFLAGS -ftest-coverage -fprofile-arcs"
4082
 
                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: *** Enabling gcov at user request ***" >&5
4083
 
$as_echo "*** Enabling gcov at user request ***" >&6; }
4084
 
fi
4085
 
 
4086
 
 
4087
 
# profiling support
4088
 
@%:@ Check whether --enable-gprof was given.
4089
 
if test "${enable_gprof+set}" = set; then :
4090
 
  enableval=$enable_gprof; CFLAGS="$CFLAGS -pg"
4091
 
                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: *** Enabling profiling at user request ***" >&5
4092
 
$as_echo "*** Enabling profiling at user request ***" >&6; }
4093
 
fi
4094
 
 
4095
 
 
4096
 
SPEC_COMP=0
4097
 
# strict spec compliance
4098
 
@%:@ Check whether --enable-strict-spec-compliance was given.
4099
 
if test "${enable_strict_spec_compliance+set}" = set; then :
4100
 
  enableval=$enable_strict_spec_compliance; CFLAGS="$CFLAGS -DTSS_SPEC_COMPLIANCE"
4101
 
                 SPEC_COMP=1
4102
 
                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: *** Enabling spec compliance at user request ***" >&5
4103
 
$as_echo "*** Enabling spec compliance at user request ***" >&6; }
4104
 
fi
4105
 
 
4106
 
 
4107
 
# daa math lib: gmp or openssl (default openssl)
4108
 
MATH_DEFINE=BI_OPENSSL
4109
 
ac_ext=c
4110
 
ac_cpp='$CPP $CPPFLAGS'
4111
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4112
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4113
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4114
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4115
 
$as_echo_n "checking how to run the C preprocessor... " >&6; }
4116
 
# On Suns, sometimes $CPP names a directory.
4117
 
if test -n "$CPP" && test -d "$CPP"; then
4118
 
  CPP=
4119
 
fi
4120
 
if test -z "$CPP"; then
4121
 
  if ${ac_cv_prog_CPP+:} false; then :
4122
 
  $as_echo_n "(cached) " >&6
4123
 
else
4124
 
      # Double quotes because CPP needs to be expanded
4125
 
    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4126
 
    do
4127
 
      ac_preproc_ok=false
4128
 
for ac_c_preproc_warn_flag in '' yes
4129
 
do
4130
 
  # Use a header file that comes with gcc, so configuring glibc
4131
 
  # with a fresh cross-compiler works.
4132
 
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4133
 
  # <limits.h> exists even on freestanding compilers.
4134
 
  # On the NeXT, cc -E runs the code through the compiler's parser,
4135
 
  # not just through cpp. "Syntax error" is here to catch this case.
4136
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4137
 
/* end confdefs.h.  */
4138
 
@%:@ifdef __STDC__
4139
 
@%:@ include <limits.h>
4140
 
@%:@else
4141
 
@%:@ include <assert.h>
4142
 
@%:@endif
4143
 
                     Syntax error
4144
 
_ACEOF
4145
 
if ac_fn_c_try_cpp "$LINENO"; then :
4146
 
  
4147
 
else
4148
 
  # Broken: fails on valid input.
4149
 
continue
4150
 
fi
4151
 
rm -f conftest.err conftest.i conftest.$ac_ext
4152
 
 
4153
 
  # OK, works on sane cases.  Now check whether nonexistent headers
4154
 
  # can be detected and how.
4155
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4156
 
/* end confdefs.h.  */
4157
 
@%:@include <ac_nonexistent.h>
4158
 
_ACEOF
4159
 
if ac_fn_c_try_cpp "$LINENO"; then :
4160
 
  # Broken: success on invalid input.
4161
 
continue
4162
 
else
4163
 
  # Passes both tests.
4164
 
ac_preproc_ok=:
4165
 
break
4166
 
fi
4167
 
rm -f conftest.err conftest.i conftest.$ac_ext
4168
 
 
4169
 
done
4170
 
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4171
 
rm -f conftest.i conftest.err conftest.$ac_ext
4172
 
if $ac_preproc_ok; then :
4173
 
  break
4174
 
fi
4175
 
 
4176
 
    done
4177
 
    ac_cv_prog_CPP=$CPP
4178
 
  
4179
 
fi
4180
 
  CPP=$ac_cv_prog_CPP
4181
 
else
4182
 
  ac_cv_prog_CPP=$CPP
4183
 
fi
4184
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4185
 
$as_echo "$CPP" >&6; }
4186
 
ac_preproc_ok=false
4187
 
for ac_c_preproc_warn_flag in '' yes
4188
 
do
4189
 
  # Use a header file that comes with gcc, so configuring glibc
4190
 
  # with a fresh cross-compiler works.
4191
 
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4192
 
  # <limits.h> exists even on freestanding compilers.
4193
 
  # On the NeXT, cc -E runs the code through the compiler's parser,
4194
 
  # not just through cpp. "Syntax error" is here to catch this case.
4195
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4196
 
/* end confdefs.h.  */
4197
 
@%:@ifdef __STDC__
4198
 
@%:@ include <limits.h>
4199
 
@%:@else
4200
 
@%:@ include <assert.h>
4201
 
@%:@endif
4202
 
                     Syntax error
4203
 
_ACEOF
4204
 
if ac_fn_c_try_cpp "$LINENO"; then :
4205
 
  
4206
 
else
4207
 
  # Broken: fails on valid input.
4208
 
continue
4209
 
fi
4210
 
rm -f conftest.err conftest.i conftest.$ac_ext
4211
 
 
4212
 
  # OK, works on sane cases.  Now check whether nonexistent headers
4213
 
  # can be detected and how.
4214
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4215
 
/* end confdefs.h.  */
4216
 
@%:@include <ac_nonexistent.h>
4217
 
_ACEOF
4218
 
if ac_fn_c_try_cpp "$LINENO"; then :
4219
 
  # Broken: success on invalid input.
4220
 
continue
4221
 
else
4222
 
  # Passes both tests.
4223
 
ac_preproc_ok=:
4224
 
break
4225
 
fi
4226
 
rm -f conftest.err conftest.i conftest.$ac_ext
4227
 
 
4228
 
done
4229
 
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4230
 
rm -f conftest.i conftest.err conftest.$ac_ext
4231
 
if $ac_preproc_ok; then :
4232
 
  
4233
 
else
4234
 
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4235
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4236
 
as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
4237
 
See \`config.log' for more details" "$LINENO" 5; }
4238
 
fi
4239
 
 
4240
 
ac_ext=c
4241
 
ac_cpp='$CPP $CPPFLAGS'
4242
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4243
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4244
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4245
 
 
4246
 
 
4247
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4248
 
$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4249
 
if ${ac_cv_path_GREP+:} false; then :
4250
 
  $as_echo_n "(cached) " >&6
4251
 
else
4252
 
  if test -z "$GREP"; then
4253
 
  ac_path_GREP_found=false
4254
 
  # Loop through the user's path and test for each of PROGNAME-LIST
4255
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4256
 
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4257
 
do
4258
 
  IFS=$as_save_IFS
4259
 
  test -z "$as_dir" && as_dir=.
4260
 
    for ac_prog in grep ggrep; do
4261
 
    for ac_exec_ext in '' $ac_executable_extensions; do
4262
 
      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4263
 
      { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4264
 
# Check for GNU ac_path_GREP and select it if it is found.
4265
 
  # Check for GNU $ac_path_GREP
4266
 
case `"$ac_path_GREP" --version 2>&1` in
4267
 
*GNU*)
4268
 
  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4269
 
*)
4270
 
  ac_count=0
4271
 
  $as_echo_n 0123456789 >"conftest.in"
4272
 
  while :
4273
 
  do
4274
 
    cat "conftest.in" "conftest.in" >"conftest.tmp"
4275
 
    mv "conftest.tmp" "conftest.in"
4276
 
    cp "conftest.in" "conftest.nl"
4277
 
    $as_echo 'GREP' >> "conftest.nl"
4278
 
    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4279
 
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4280
 
    as_fn_arith $ac_count + 1 && ac_count=$as_val
4281
 
    if test $ac_count -gt ${ac_path_GREP_max-0}; then
4282
 
      # Best one so far, save it but keep looking for a better one
4283
 
      ac_cv_path_GREP="$ac_path_GREP"
4284
 
      ac_path_GREP_max=$ac_count
4285
 
    fi
4286
 
    # 10*(2^10) chars as input seems more than enough
4287
 
    test $ac_count -gt 10 && break
4288
 
  done
4289
 
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4290
 
esac
4291
 
 
4292
 
      $ac_path_GREP_found && break 3
4293
 
    done
4294
 
  done
4295
 
  done
4296
 
IFS=$as_save_IFS
4297
 
  if test -z "$ac_cv_path_GREP"; then
4298
 
    as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4299
 
  fi
4300
 
else
4301
 
  ac_cv_path_GREP=$GREP
4302
 
fi
4303
 
 
4304
 
fi
4305
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4306
 
$as_echo "$ac_cv_path_GREP" >&6; }
4307
 
 GREP="$ac_cv_path_GREP"
4308
 
 
4309
 
 
4310
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4311
 
$as_echo_n "checking for egrep... " >&6; }
4312
 
if ${ac_cv_path_EGREP+:} false; then :
4313
 
  $as_echo_n "(cached) " >&6
4314
 
else
4315
 
  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4316
 
   then ac_cv_path_EGREP="$GREP -E"
4317
 
   else
4318
 
     if test -z "$EGREP"; then
4319
 
  ac_path_EGREP_found=false
4320
 
  # Loop through the user's path and test for each of PROGNAME-LIST
4321
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4322
 
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4323
 
do
4324
 
  IFS=$as_save_IFS
4325
 
  test -z "$as_dir" && as_dir=.
4326
 
    for ac_prog in egrep; do
4327
 
    for ac_exec_ext in '' $ac_executable_extensions; do
4328
 
      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4329
 
      { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4330
 
# Check for GNU ac_path_EGREP and select it if it is found.
4331
 
  # Check for GNU $ac_path_EGREP
4332
 
case `"$ac_path_EGREP" --version 2>&1` in
4333
 
*GNU*)
4334
 
  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4335
 
*)
4336
 
  ac_count=0
4337
 
  $as_echo_n 0123456789 >"conftest.in"
4338
 
  while :
4339
 
  do
4340
 
    cat "conftest.in" "conftest.in" >"conftest.tmp"
4341
 
    mv "conftest.tmp" "conftest.in"
4342
 
    cp "conftest.in" "conftest.nl"
4343
 
    $as_echo 'EGREP' >> "conftest.nl"
4344
 
    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4345
 
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4346
 
    as_fn_arith $ac_count + 1 && ac_count=$as_val
4347
 
    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4348
 
      # Best one so far, save it but keep looking for a better one
4349
 
      ac_cv_path_EGREP="$ac_path_EGREP"
4350
 
      ac_path_EGREP_max=$ac_count
4351
 
    fi
4352
 
    # 10*(2^10) chars as input seems more than enough
4353
 
    test $ac_count -gt 10 && break
4354
 
  done
4355
 
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4356
 
esac
4357
 
 
4358
 
      $ac_path_EGREP_found && break 3
4359
 
    done
4360
 
  done
4361
 
  done
4362
 
IFS=$as_save_IFS
4363
 
  if test -z "$ac_cv_path_EGREP"; then
4364
 
    as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4365
 
  fi
4366
 
else
4367
 
  ac_cv_path_EGREP=$EGREP
4368
 
fi
4369
 
 
4370
 
   fi
4371
 
fi
4372
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4373
 
$as_echo "$ac_cv_path_EGREP" >&6; }
4374
 
 EGREP="$ac_cv_path_EGREP"
4375
 
 
4376
 
 
4377
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4378
 
$as_echo_n "checking for ANSI C header files... " >&6; }
4379
 
if ${ac_cv_header_stdc+:} false; then :
4380
 
  $as_echo_n "(cached) " >&6
4381
 
else
4382
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4383
 
/* end confdefs.h.  */
4384
 
#include <stdlib.h>
4385
 
#include <stdarg.h>
4386
 
#include <string.h>
4387
 
#include <float.h>
4388
 
 
4389
 
int
4390
 
main ()
4391
 
{
4392
 
 
4393
 
  ;
4394
 
  return 0;
4395
 
}
4396
 
_ACEOF
4397
 
if ac_fn_c_try_compile "$LINENO"; then :
4398
 
  ac_cv_header_stdc=yes
4399
 
else
4400
 
  ac_cv_header_stdc=no
4401
 
fi
4402
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4403
 
 
4404
 
if test $ac_cv_header_stdc = yes; then
4405
 
  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4406
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4407
 
/* end confdefs.h.  */
4408
 
#include <string.h>
4409
 
 
4410
 
_ACEOF
4411
 
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4412
 
  $EGREP "memchr" >/dev/null 2>&1; then :
4413
 
  
4414
 
else
4415
 
  ac_cv_header_stdc=no
4416
 
fi
4417
 
rm -f conftest*
4418
 
 
4419
 
fi
4420
 
 
4421
 
if test $ac_cv_header_stdc = yes; then
4422
 
  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4423
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4424
 
/* end confdefs.h.  */
4425
 
#include <stdlib.h>
4426
 
 
4427
 
_ACEOF
4428
 
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4429
 
  $EGREP "free" >/dev/null 2>&1; then :
4430
 
  
4431
 
else
4432
 
  ac_cv_header_stdc=no
4433
 
fi
4434
 
rm -f conftest*
4435
 
 
4436
 
fi
4437
 
 
4438
 
if test $ac_cv_header_stdc = yes; then
4439
 
  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4440
 
  if test "$cross_compiling" = yes; then :
4441
 
  :
4442
 
else
4443
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4444
 
/* end confdefs.h.  */
4445
 
#include <ctype.h>
4446
 
#include <stdlib.h>
4447
 
#if ((' ' & 0x0FF) == 0x020)
4448
 
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4449
 
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4450
 
#else
4451
 
# define ISLOWER(c) \
4452
 
                   (('a' <= (c) && (c) <= 'i') \
4453
 
                     || ('j' <= (c) && (c) <= 'r') \
4454
 
                     || ('s' <= (c) && (c) <= 'z'))
4455
 
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4456
 
#endif
4457
 
 
4458
 
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4459
 
int
4460
 
main ()
4461
 
{
4462
 
  int i;
4463
 
  for (i = 0; i < 256; i++)
4464
 
    if (XOR (islower (i), ISLOWER (i))
4465
 
        || toupper (i) != TOUPPER (i))
4466
 
      return 2;
4467
 
  return 0;
4468
 
}
4469
 
_ACEOF
4470
 
if ac_fn_c_try_run "$LINENO"; then :
4471
 
  
4472
 
else
4473
 
  ac_cv_header_stdc=no
4474
 
fi
4475
 
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4476
 
  conftest.$ac_objext conftest.beam conftest.$ac_ext
4477
 
fi
4478
 
 
4479
 
fi
4480
 
fi
4481
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4482
 
$as_echo "$ac_cv_header_stdc" >&6; }
4483
 
if test $ac_cv_header_stdc = yes; then
4484
 
  
4485
 
$as_echo "@%:@define STDC_HEADERS 1" >>confdefs.h
4486
 
 
4487
 
fi
4488
 
 
4489
 
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
4490
 
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4491
 
                  inttypes.h stdint.h unistd.h
4492
 
do :
4493
 
  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4494
 
ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4495
 
"
4496
 
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
4497
 
  cat >>confdefs.h <<_ACEOF
4498
 
@%:@define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4499
 
_ACEOF
4500
 
 
4501
 
fi
4502
 
 
4503
 
done
4504
 
 
4505
 
 
4506
 
 
4507
 
@%:@ Check whether --with-gmp was given.
4508
 
if test "${with_gmp+set}" = set; then :
4509
 
  withval=$with_gmp; { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __gmp_rand in -lgmp" >&5
4510
 
$as_echo_n "checking for __gmp_rand in -lgmp... " >&6; }
4511
 
if ${ac_cv_lib_gmp___gmp_rand+:} false; then :
4512
 
  $as_echo_n "(cached) " >&6
4513
 
else
4514
 
  ac_check_lib_save_LIBS=$LIBS
4515
 
LIBS="-lgmp  $LIBS"
4516
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4517
 
/* end confdefs.h.  */
4518
 
 
4519
 
/* Override any GCC internal prototype to avoid an error.
4520
 
   Use char because int might match the return type of a GCC
4521
 
   builtin and then its argument prototype would still apply.  */
4522
 
#ifdef __cplusplus
4523
 
extern "C"
4524
 
#endif
4525
 
char __gmp_rand ();
4526
 
int
4527
 
main ()
4528
 
{
4529
 
return __gmp_rand ();
4530
 
  ;
4531
 
  return 0;
4532
 
}
4533
 
_ACEOF
4534
 
if ac_fn_c_try_link "$LINENO"; then :
4535
 
  ac_cv_lib_gmp___gmp_rand=yes
4536
 
else
4537
 
  ac_cv_lib_gmp___gmp_rand=no
4538
 
fi
4539
 
rm -f core conftest.err conftest.$ac_objext \
4540
 
    conftest$ac_exeext conftest.$ac_ext
4541
 
LIBS=$ac_check_lib_save_LIBS
4542
 
fi
4543
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gmp___gmp_rand" >&5
4544
 
$as_echo "$ac_cv_lib_gmp___gmp_rand" >&6; }
4545
 
if test "x$ac_cv_lib_gmp___gmp_rand" = xyes; then :
4546
 
  cat >>confdefs.h <<_ACEOF
4547
 
@%:@define HAVE_LIBGMP 1
4548
 
_ACEOF
4549
 
 
4550
 
  LIBS="-lgmp $LIBS"
4551
 
 
4552
 
fi
4553
 
 
4554
 
                for ac_header in gmp.h
4555
 
do :
4556
 
  ac_fn_c_check_header_mongrel "$LINENO" "gmp.h" "ac_cv_header_gmp_h" "$ac_includes_default"
4557
 
if test "x$ac_cv_header_gmp_h" = xyes; then :
4558
 
  cat >>confdefs.h <<_ACEOF
4559
 
@%:@define HAVE_GMP_H 1
4560
 
_ACEOF
4561
 
 
4562
 
fi
4563
 
 
4564
 
done
4565
 
 
4566
 
            MATH_DEFINE=BI_GMP
4567
 
                { $as_echo "$as_me:${as_lineno-$LINENO}: result: *** Enabling GMP lib at user request ***" >&5
4568
 
$as_echo "*** Enabling GMP lib at user request ***" >&6; } 
4569
 
 
4570
 
fi
4571
 
 
4572
 
 
4573
 
case "$MATH_DEFINE" in
4574
 
BI_OPENSSL)
4575
 
        for ac_header in  openssl/bn.h openssl/engine.h
4576
 
do :
4577
 
  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4578
 
ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
4579
 
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
4580
 
  cat >>confdefs.h <<_ACEOF
4581
 
@%:@define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4582
 
_ACEOF
4583
 
 
4584
 
fi
4585
 
 
4586
 
done
4587
 
 
4588
 
        ;;
4589
 
esac
4590
 
CFLAGS="$CFLAGS -D$MATH_DEFINE"
4591
 
 
4592
 
GUI=openssl
4593
 
 
4594
 
@%:@ Check whether --with-gui was given.
4595
 
if test "${with_gui+set}" = set; then :
4596
 
  withval=$with_gui; GUI=$withval
4597
 
fi
4598
 
 
4599
 
 
4600
 
if test "x$GUI" = "xgtk"; then
4601
 
        # section imported from Glade compile
4602
 
        pkg_modules="gtk+-2.0 >= 2.0.0"
4603
 
        
4604
 
 
4605
 
 
4606
 
 
4607
 
 
4608
 
 
4609
 
if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
4610
 
        if test -n "$ac_tool_prefix"; then
4611
 
  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
4612
 
set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
4613
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4614
 
$as_echo_n "checking for $ac_word... " >&6; }
4615
 
if ${ac_cv_path_PKG_CONFIG+:} false; then :
4616
 
  $as_echo_n "(cached) " >&6
4617
 
else
4618
 
  case $PKG_CONFIG in
4619
 
  [\\/]* | ?:[\\/]*)
4620
 
  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
4621
 
  ;;
4622
 
  *)
4623
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4624
 
for as_dir in $PATH
4625
 
do
4626
 
  IFS=$as_save_IFS
4627
 
  test -z "$as_dir" && as_dir=.
4628
 
    for ac_exec_ext in '' $ac_executable_extensions; do
4629
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4630
 
    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
4631
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4632
 
    break 2
4633
 
  fi
4634
 
done
4635
 
  done
4636
 
IFS=$as_save_IFS
4637
 
 
4638
 
  ;;
4639
 
esac
4640
 
fi
4641
 
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
4642
 
if test -n "$PKG_CONFIG"; then
4643
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
4644
 
$as_echo "$PKG_CONFIG" >&6; }
4645
 
else
4646
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4647
 
$as_echo "no" >&6; }
4648
 
fi
4649
 
 
4650
 
 
4651
 
fi
4652
 
if test -z "$ac_cv_path_PKG_CONFIG"; then
4653
 
  ac_pt_PKG_CONFIG=$PKG_CONFIG
4654
 
  # Extract the first word of "pkg-config", so it can be a program name with args.
4655
 
set dummy pkg-config; ac_word=$2
4656
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4657
 
$as_echo_n "checking for $ac_word... " >&6; }
4658
 
if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
4659
 
  $as_echo_n "(cached) " >&6
4660
 
else
4661
 
  case $ac_pt_PKG_CONFIG in
4662
 
  [\\/]* | ?:[\\/]*)
4663
 
  ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
4664
 
  ;;
4665
 
  *)
4666
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4667
 
for as_dir in $PATH
4668
 
do
4669
 
  IFS=$as_save_IFS
4670
 
  test -z "$as_dir" && as_dir=.
4671
 
    for ac_exec_ext in '' $ac_executable_extensions; do
4672
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4673
 
    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
4674
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4675
 
    break 2
4676
 
  fi
4677
 
done
4678
 
  done
4679
 
IFS=$as_save_IFS
4680
 
 
4681
 
  ;;
4682
 
esac
4683
 
fi
4684
 
ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
4685
 
if test -n "$ac_pt_PKG_CONFIG"; then
4686
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
4687
 
$as_echo "$ac_pt_PKG_CONFIG" >&6; }
4688
 
else
4689
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4690
 
$as_echo "no" >&6; }
4691
 
fi
4692
 
 
4693
 
  if test "x$ac_pt_PKG_CONFIG" = x; then
4694
 
    PKG_CONFIG=""
4695
 
  else
4696
 
    case $cross_compiling:$ac_tool_warned in
4697
 
yes:)
4698
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4699
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4700
 
ac_tool_warned=yes ;;
4701
 
esac
4702
 
    PKG_CONFIG=$ac_pt_PKG_CONFIG
4703
 
  fi
4704
 
else
4705
 
  PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
4706
 
fi
4707
 
 
4708
 
fi
4709
 
if test -n "$PKG_CONFIG"; then
4710
 
        _pkg_min_version=0.9.0
4711
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
4712
 
$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
4713
 
        if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
4714
 
                { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4715
 
$as_echo "yes" >&6; }
4716
 
        else
4717
 
                { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4718
 
$as_echo "no" >&6; }
4719
 
                PKG_CONFIG=""
4720
 
        fi
4721
 
fi
4722
 
 
4723
 
pkg_failed=no
4724
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK" >&5
4725
 
$as_echo_n "checking for GTK... " >&6; }
4726
 
 
4727
 
if test -n "$GTK_CFLAGS"; then
4728
 
    pkg_cv_GTK_CFLAGS="$GTK_CFLAGS"
4729
 
 elif test -n "$PKG_CONFIG"; then
4730
 
    if test -n "$PKG_CONFIG" && \
4731
 
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$pkg_modules\""; } >&5
4732
 
  ($PKG_CONFIG --exists --print-errors "$pkg_modules") 2>&5
4733
 
  ac_status=$?
4734
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4735
 
  test $ac_status = 0; }; then
4736
 
  pkg_cv_GTK_CFLAGS=`$PKG_CONFIG --cflags "$pkg_modules" 2>/dev/null`
4737
 
else
4738
 
  pkg_failed=yes
4739
 
fi
4740
 
 else
4741
 
    pkg_failed=untried
4742
 
fi
4743
 
if test -n "$GTK_LIBS"; then
4744
 
    pkg_cv_GTK_LIBS="$GTK_LIBS"
4745
 
 elif test -n "$PKG_CONFIG"; then
4746
 
    if test -n "$PKG_CONFIG" && \
4747
 
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$pkg_modules\""; } >&5
4748
 
  ($PKG_CONFIG --exists --print-errors "$pkg_modules") 2>&5
4749
 
  ac_status=$?
4750
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4751
 
  test $ac_status = 0; }; then
4752
 
  pkg_cv_GTK_LIBS=`$PKG_CONFIG --libs "$pkg_modules" 2>/dev/null`
4753
 
else
4754
 
  pkg_failed=yes
4755
 
fi
4756
 
 else
4757
 
    pkg_failed=untried
4758
 
fi
4759
 
 
4760
 
 
4761
 
 
4762
 
if test $pkg_failed = yes; then
4763
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4764
 
$as_echo "no" >&6; }
4765
 
        
4766
 
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
4767
 
        _pkg_short_errors_supported=yes
4768
 
else
4769
 
        _pkg_short_errors_supported=no
4770
 
fi
4771
 
        if test $_pkg_short_errors_supported = yes; then
4772
 
                GTK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "$pkg_modules" 2>&1`
4773
 
        else 
4774
 
                GTK_PKG_ERRORS=`$PKG_CONFIG --print-errors "$pkg_modules" 2>&1`
4775
 
        fi
4776
 
        # Put the nasty error message in config.log where it belongs
4777
 
        echo "$GTK_PKG_ERRORS" >&5
4778
 
 
4779
 
         if false; then
4780
 
  HAVE_GTK_TRUE=
4781
 
  HAVE_GTK_FALSE='#'
4782
 
else
4783
 
  HAVE_GTK_TRUE='#'
4784
 
  HAVE_GTK_FALSE=
4785
 
fi
4786
 
 
4787
 
                as_fn_error $? "Please install the gtk2-devel package for your distro or select another gui option." "$LINENO" 5 
4788
 
elif test $pkg_failed = untried; then
4789
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4790
 
$as_echo "no" >&6; }
4791
 
         if false; then
4792
 
  HAVE_GTK_TRUE=
4793
 
  HAVE_GTK_FALSE='#'
4794
 
else
4795
 
  HAVE_GTK_TRUE='#'
4796
 
  HAVE_GTK_FALSE=
4797
 
fi
4798
 
 
4799
 
                as_fn_error $? "Please install the gtk2-devel package for your distro or select another gui option." "$LINENO" 5 
4800
 
else
4801
 
        GTK_CFLAGS=$pkg_cv_GTK_CFLAGS
4802
 
        GTK_LIBS=$pkg_cv_GTK_LIBS
4803
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4804
 
$as_echo "yes" >&6; }
4805
 
         if true; then
4806
 
  HAVE_GTK_TRUE=
4807
 
  HAVE_GTK_FALSE='#'
4808
 
else
4809
 
  HAVE_GTK_TRUE='#'
4810
 
  HAVE_GTK_FALSE=
4811
 
fi
4812
 
 
4813
 
fi
4814
 
         if false; then
4815
 
  OPENSSL_UI_TRUE=
4816
 
  OPENSSL_UI_FALSE='#'
4817
 
else
4818
 
  OPENSSL_UI_TRUE='#'
4819
 
  OPENSSL_UI_FALSE=
4820
 
fi
4821
 
 
4822
 
        
4823
 
        
4824
 
elif test "x$GUI" = "xopenssl"; then
4825
 
        # We know we have OpenSSL
4826
 
         if true; then
4827
 
  OPENSSL_UI_TRUE=
4828
 
  OPENSSL_UI_FALSE='#'
4829
 
else
4830
 
  OPENSSL_UI_TRUE='#'
4831
 
  OPENSSL_UI_FALSE=
4832
 
fi
4833
 
 
4834
 
         if false; then
4835
 
  HAVE_GTK_TRUE=
4836
 
  HAVE_GTK_FALSE='#'
4837
 
else
4838
 
  HAVE_GTK_TRUE='#'
4839
 
  HAVE_GTK_FALSE=
4840
 
fi
4841
 
 
4842
 
elif test "x$GUI" = "xnone"; then
4843
 
        if test $SPEC_COMP -eq 1; then
4844
 
                as_fn_error $? "Popups must be enabled in strict spec compliance mode" "$LINENO" 5
4845
 
        fi
4846
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: *** Disabling GUI popups at user request ***" >&5
4847
 
$as_echo "*** Disabling GUI popups at user request ***" >&6; }
4848
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: *** WARNING: This may break apps! ***" >&5
4849
 
$as_echo "*** WARNING: This may break apps! ***" >&6; }
4850
 
        CFLAGS="$CFLAGS -DTSS_NO_GUI"
4851
 
         if false; then
4852
 
  HAVE_GTK_TRUE=
4853
 
  HAVE_GTK_FALSE='#'
4854
 
else
4855
 
  HAVE_GTK_TRUE='#'
4856
 
  HAVE_GTK_FALSE=
4857
 
fi
4858
 
 
4859
 
         if false; then
4860
 
  OPENSSL_UI_TRUE=
4861
 
  OPENSSL_UI_FALSE='#'
4862
 
else
4863
 
  OPENSSL_UI_TRUE='#'
4864
 
  OPENSSL_UI_FALSE=
4865
 
fi
4866
 
 
4867
 
else
4868
 
        as_fn_error $? "\"gtk\", \"openssl\" and \"none\" are the only supported gui options for trousers" "$LINENO" 5
4869
 
fi
4870
 
 
4871
 
#
4872
 
# The default port that the TCS daemon listens on
4873
 
#
4874
 
TCSD_DEFAULT_PORT=30003
4875
 
 
4876
 
#
4877
 
# The RPC mechanism to build into both libtspi and the tcsd
4878
 
#
4879
 
# AC_SUBST(RPC, "soap")
4880
 
RPC="tcstp"
4881
 
 
4882
 
 
4883
 
#
4884
 
# API= The TSS API level to build by default.
4885
 
#
4886
 
# To build a 1.1 TSS, set API=1.1 (./configure --with-api=1.1)
4887
 
# To build a 1.2 TSS, set API=1.2 (./configure --with-api=1.2)
4888
 
#
4889
 
# In order to build a custom TSS API, set API to the lowest API level that
4890
 
# contains the APIs you need. For instance, if you need only APIs that are
4891
 
# a subset of the TSS 1.1 API, set this to 1.1. If you need any of the 1.2
4892
 
# APIs, you'll need to set this to 1.2. Send mail to trousers-tech@lists.sf.net
4893
 
# if you have questions.
4894
 
#
4895
 
API=1.2
4896
 
 
4897
 
@%:@ Check whether --with-api was given.
4898
 
if test "${with_api+set}" = set; then :
4899
 
  withval=$with_api; API=$withval
4900
 
fi
4901
 
 
4902
 
 
4903
 
if test "x$API" != "x1.1" && test "x$API" != "x1.2"; then
4904
 
        as_fn_error $? "\"1.1\" and \"1.2\" are the only supported API versions for trousers.
4905
 
                      Custom API build options are available by editing 'configure.in'." "$LINENO" 5
4906
 
fi
4907
 
 
4908
 
if test "x$API" = "x1.1" || test "x$API" = "x1.2"; then
4909
 
        # Tspi_Hash_GetHashValue,SetHashValue,UpdateHashValue
4910
 
         if true; then
4911
 
  TSS_BUILD_HASH_TRUE=
4912
 
  TSS_BUILD_HASH_FALSE='#'
4913
 
else
4914
 
  TSS_BUILD_HASH_TRUE='#'
4915
 
  TSS_BUILD_HASH_FALSE=
4916
 
fi
4917
 
 
4918
 
        # Tspi_{Get|Set}Attribdata,{Get|Set}AttribUint32
4919
 
         if true; then
4920
 
  TSS_BUILD_GETSET_TRUE=
4921
 
  TSS_BUILD_GETSET_FALSE='#'
4922
 
else
4923
 
  TSS_BUILD_GETSET_TRUE='#'
4924
 
  TSS_BUILD_GETSET_FALSE=
4925
 
fi
4926
 
 
4927
 
        # Tspi_TPM_GetRandom,StirRandom
4928
 
         if true; then
4929
 
  TSS_BUILD_RANDOM_TRUE=
4930
 
  TSS_BUILD_RANDOM_FALSE='#'
4931
 
else
4932
 
  TSS_BUILD_RANDOM_TRUE='#'
4933
 
  TSS_BUILD_RANDOM_FALSE=
4934
 
fi
4935
 
 
4936
 
        # Tspi_GetCapability (for TSP and TCS capabilities)
4937
 
         if true; then
4938
 
  TSS_BUILD_CAPS_TRUE=
4939
 
  TSS_BUILD_CAPS_FALSE='#'
4940
 
else
4941
 
  TSS_BUILD_CAPS_TRUE='#'
4942
 
  TSS_BUILD_CAPS_FALSE=
4943
 
fi
4944
 
 
4945
 
        # Tspi_TPM_GetCapability (for TPM chip capabilities)
4946
 
         if true; then
4947
 
  TSS_BUILD_CAPS_TPM_TRUE=
4948
 
  TSS_BUILD_CAPS_TPM_FALSE='#'
4949
 
else
4950
 
  TSS_BUILD_CAPS_TPM_TRUE='#'
4951
 
  TSS_BUILD_CAPS_TPM_FALSE=
4952
 
fi
4953
 
 
4954
 
        # Tspi_GetPolicyObject, Tspi_Policy_SetSecret,FlushSecret,AssignToObject
4955
 
         if true; then
4956
 
  TSS_BUILD_POLICY_TRUE=
4957
 
  TSS_BUILD_POLICY_FALSE='#'
4958
 
else
4959
 
  TSS_BUILD_POLICY_TRUE='#'
4960
 
  TSS_BUILD_POLICY_FALSE=
4961
 
fi
4962
 
 
4963
 
        # Tspi_TPM_DirWrite,DirRead
4964
 
         if true; then
4965
 
  TSS_BUILD_DIR_TRUE=
4966
 
  TSS_BUILD_DIR_FALSE='#'
4967
 
else
4968
 
  TSS_BUILD_DIR_TRUE='#'
4969
 
  TSS_BUILD_DIR_FALSE=
4970
 
fi
4971
 
 
4972
 
        # Tspi_TPM_GetEvent,GetEvents,GetEventLog
4973
 
         if true; then
4974
 
  TSS_BUILD_PCR_EVENTS_TRUE=
4975
 
  TSS_BUILD_PCR_EVENTS_FALSE='#'
4976
 
else
4977
 
  TSS_BUILD_PCR_EVENTS_TRUE='#'
4978
 
  TSS_BUILD_PCR_EVENTS_FALSE=
4979
 
fi
4980
 
 
4981
 
        # Tspi_Hash_Sign,VerifySignature
4982
 
         if true; then
4983
 
  TSS_BUILD_SIGN_TRUE=
4984
 
  TSS_BUILD_SIGN_FALSE='#'
4985
 
else
4986
 
  TSS_BUILD_SIGN_TRUE='#'
4987
 
  TSS_BUILD_SIGN_FALSE=
4988
 
fi
4989
 
 
4990
 
        # Tspi_TPM_Quote
4991
 
         if true; then
4992
 
  TSS_BUILD_QUOTE_TRUE=
4993
 
  TSS_BUILD_QUOTE_FALSE='#'
4994
 
else
4995
 
  TSS_BUILD_QUOTE_TRUE='#'
4996
 
  TSS_BUILD_QUOTE_FALSE=
4997
 
fi
4998
 
 
4999
 
        # Tspi_PcrComposite_{Set|Get}PcrValue,SelectPcrIndex
5000
 
         if true; then
5001
 
  TSS_BUILD_PCR_COMP_TRUE=
5002
 
  TSS_BUILD_PCR_COMP_FALSE='#'
5003
 
else
5004
 
  TSS_BUILD_PCR_COMP_TRUE='#'
5005
 
  TSS_BUILD_PCR_COMP_FALSE=
5006
 
fi
5007
 
 
5008
 
        # Tspi_Data_Seal,Unseal
5009
 
         if true; then
5010
 
  TSS_BUILD_SEAL_TRUE=
5011
 
  TSS_BUILD_SEAL_FALSE='#'
5012
 
else
5013
 
  TSS_BUILD_SEAL_TRUE='#'
5014
 
  TSS_BUILD_SEAL_FALSE=
5015
 
fi
5016
 
 
5017
 
        # Tspi_ChangeAuth,ChangeAuthAsym
5018
 
         if true; then
5019
 
  TSS_BUILD_CHANGEAUTH_TRUE=
5020
 
  TSS_BUILD_CHANGEAUTH_FALSE='#'
5021
 
else
5022
 
  TSS_BUILD_CHANGEAUTH_TRUE='#'
5023
 
  TSS_BUILD_CHANGEAUTH_FALSE=
5024
 
fi
5025
 
 
5026
 
        # Tspi_Data_Bind,Unbind
5027
 
         if true; then
5028
 
  TSS_BUILD_BIND_TRUE=
5029
 
  TSS_BUILD_BIND_FALSE='#'
5030
 
else
5031
 
  TSS_BUILD_BIND_TRUE='#'
5032
 
  TSS_BUILD_BIND_FALSE=
5033
 
fi
5034
 
 
5035
 
        # Tspi_TPM_TakeOwnership,ClearOwner (REQ: EK)
5036
 
         if true; then
5037
 
  TSS_BUILD_OWN_TRUE=
5038
 
  TSS_BUILD_OWN_FALSE='#'
5039
 
else
5040
 
  TSS_BUILD_OWN_TRUE='#'
5041
 
  TSS_BUILD_OWN_FALSE=
5042
 
fi
5043
 
 
5044
 
        # Tspi_TPM_CreateEndorsementKey,GetPubEndorsementKey
5045
 
         if true; then
5046
 
  TSS_BUILD_EK_TRUE=
5047
 
  TSS_BUILD_EK_FALSE='#'
5048
 
else
5049
 
  TSS_BUILD_EK_TRUE='#'
5050
 
  TSS_BUILD_EK_FALSE=
5051
 
fi
5052
 
 
5053
 
        # Tspi_Context_RegisterKey,UnregisterKey,LoadKeyByUUID,GetKeyByUUID,GetKeyByPublicInfo,
5054
 
        # GetRegisteredKeysByUUID
5055
 
         if true; then
5056
 
  TSS_BUILD_PS_TRUE=
5057
 
  TSS_BUILD_PS_FALSE='#'
5058
 
else
5059
 
  TSS_BUILD_PS_TRUE='#'
5060
 
  TSS_BUILD_PS_FALSE=
5061
 
fi
5062
 
 
5063
 
        # Tspi_TPM_{Set|Get}Status
5064
 
         if true; then
5065
 
  TSS_BUILD_ADMIN_TRUE=
5066
 
  TSS_BUILD_ADMIN_FALSE='#'
5067
 
else
5068
 
  TSS_BUILD_ADMIN_TRUE='#'
5069
 
  TSS_BUILD_ADMIN_FALSE=
5070
 
fi
5071
 
 
5072
 
        # Tspi_TPM_CollateIdentityRequest,ActivateIdentity
5073
 
         if true; then
5074
 
  TSS_BUILD_AIK_TRUE=
5075
 
  TSS_BUILD_AIK_FALSE='#'
5076
 
else
5077
 
  TSS_BUILD_AIK_TRUE='#'
5078
 
  TSS_BUILD_AIK_FALSE=
5079
 
fi
5080
 
 
5081
 
        # Tspi_Key_CertifyKey
5082
 
         if true; then
5083
 
  TSS_BUILD_CERTIFY_TRUE=
5084
 
  TSS_BUILD_CERTIFY_FALSE='#'
5085
 
else
5086
 
  TSS_BUILD_CERTIFY_TRUE='#'
5087
 
  TSS_BUILD_CERTIFY_FALSE=
5088
 
fi
5089
 
 
5090
 
        # Tspi_TPM_CreateMaintenanceArchive,KillMaintenanceFeature,LoadMaintenancePubKey,
5091
 
        # CheckMaintenancePubKey
5092
 
         if true; then
5093
 
  TSS_BUILD_MAINT_TRUE=
5094
 
  TSS_BUILD_MAINT_FALSE='#'
5095
 
else
5096
 
  TSS_BUILD_MAINT_TRUE='#'
5097
 
  TSS_BUILD_MAINT_FALSE=
5098
 
fi
5099
 
 
5100
 
        # Tspi_TPM_AuthorizeMigrationTicket,Key_CreateMigrationBlob,ConvertMigrationBlob
5101
 
         if true; then
5102
 
  TSS_BUILD_MIGRATION_TRUE=
5103
 
  TSS_BUILD_MIGRATION_FALSE='#'
5104
 
else
5105
 
  TSS_BUILD_MIGRATION_TRUE='#'
5106
 
  TSS_BUILD_MIGRATION_FALSE=
5107
 
fi
5108
 
 
5109
 
        # Tspi_Context_LoadKeyByBlob,Key_LoadKey,UnloadKey,CreateKey,WrapKey,GetPubKey
5110
 
         if true; then
5111
 
  TSS_BUILD_KEY_TRUE=
5112
 
  TSS_BUILD_KEY_FALSE='#'
5113
 
else
5114
 
  TSS_BUILD_KEY_TRUE='#'
5115
 
  TSS_BUILD_KEY_FALSE=
5116
 
fi
5117
 
 
5118
 
        # Tspi_TPM_PcrExtend,PcrRead,PcrReset
5119
 
         if true; then
5120
 
  TSS_BUILD_PCR_EXTEND_TRUE=
5121
 
  TSS_BUILD_PCR_EXTEND_FALSE='#'
5122
 
else
5123
 
  TSS_BUILD_PCR_EXTEND_TRUE='#'
5124
 
  TSS_BUILD_PCR_EXTEND_FALSE=
5125
 
fi
5126
 
 
5127
 
        # Tspi_TPM_SelfTestFull,CertifySelfTest,GetTestResult
5128
 
         if true; then
5129
 
  TSS_BUILD_SELFTEST_TRUE=
5130
 
  TSS_BUILD_SELFTEST_FALSE='#'
5131
 
else
5132
 
  TSS_BUILD_SELFTEST_TRUE='#'
5133
 
  TSS_BUILD_SELFTEST_FALSE=
5134
 
fi
5135
 
 
5136
 
fi
5137
 
 
5138
 
if test "x$API" = "x1.2"; then
5139
 
         if true; then
5140
 
  TSS_BUILD_TSS12_TRUE=
5141
 
  TSS_BUILD_TSS12_FALSE='#'
5142
 
else
5143
 
  TSS_BUILD_TSS12_TRUE='#'
5144
 
  TSS_BUILD_TSS12_FALSE=
5145
 
fi
5146
 
 
5147
 
        # Don't build DAA until the API is fixed - KEY
5148
 
         if false; then
5149
 
  TSS_BUILD_DAA_TRUE=
5150
 
  TSS_BUILD_DAA_FALSE='#'
5151
 
else
5152
 
  TSS_BUILD_DAA_TRUE='#'
5153
 
  TSS_BUILD_DAA_FALSE=
5154
 
fi
5155
 
 
5156
 
         if true; then
5157
 
  TSS_BUILD_PCR_COMP12_TRUE=
5158
 
  TSS_BUILD_PCR_COMP12_FALSE='#'
5159
 
else
5160
 
  TSS_BUILD_PCR_COMP12_TRUE='#'
5161
 
  TSS_BUILD_PCR_COMP12_FALSE=
5162
 
fi
5163
 
 
5164
 
         if true; then
5165
 
  TSS_BUILD_COUNTER_TRUE=
5166
 
  TSS_BUILD_COUNTER_FALSE='#'
5167
 
else
5168
 
  TSS_BUILD_COUNTER_TRUE='#'
5169
 
  TSS_BUILD_COUNTER_FALSE=
5170
 
fi
5171
 
 
5172
 
         if true; then
5173
 
  TSS_BUILD_TICK_TRUE=
5174
 
  TSS_BUILD_TICK_FALSE='#'
5175
 
else
5176
 
  TSS_BUILD_TICK_TRUE='#'
5177
 
  TSS_BUILD_TICK_FALSE=
5178
 
fi
5179
 
 
5180
 
         if true; then
5181
 
  TSS_BUILD_TRANSPORT_TRUE=
5182
 
  TSS_BUILD_TRANSPORT_FALSE='#'
5183
 
else
5184
 
  TSS_BUILD_TRANSPORT_TRUE='#'
5185
 
  TSS_BUILD_TRANSPORT_FALSE=
5186
 
fi
5187
 
 
5188
 
         if true; then
5189
 
  TSS_BUILD_ASN1_TRUE=
5190
 
  TSS_BUILD_ASN1_FALSE='#'
5191
 
else
5192
 
  TSS_BUILD_ASN1_TRUE='#'
5193
 
  TSS_BUILD_ASN1_FALSE=
5194
 
fi
5195
 
 
5196
 
         if true; then
5197
 
  TSS_BUILD_NV_TRUE=
5198
 
  TSS_BUILD_NV_FALSE='#'
5199
 
else
5200
 
  TSS_BUILD_NV_TRUE='#'
5201
 
  TSS_BUILD_NV_FALSE=
5202
 
fi
5203
 
 
5204
 
         if true; then
5205
 
  TSS_BUILD_AUDIT_TRUE=
5206
 
  TSS_BUILD_AUDIT_FALSE='#'
5207
 
else
5208
 
  TSS_BUILD_AUDIT_TRUE='#'
5209
 
  TSS_BUILD_AUDIT_FALSE=
5210
 
fi
5211
 
 
5212
 
         if true; then
5213
 
  TSS_BUILD_SEALX_TRUE=
5214
 
  TSS_BUILD_SEALX_FALSE='#'
5215
 
else
5216
 
  TSS_BUILD_SEALX_TRUE='#'
5217
 
  TSS_BUILD_SEALX_FALSE=
5218
 
fi
5219
 
 
5220
 
         if true; then
5221
 
  TSS_BUILD_DELEGATION_TRUE=
5222
 
  TSS_BUILD_DELEGATION_FALSE='#'
5223
 
else
5224
 
  TSS_BUILD_DELEGATION_TRUE='#'
5225
 
  TSS_BUILD_DELEGATION_FALSE=
5226
 
fi
5227
 
 
5228
 
         if true; then
5229
 
  TSS_BUILD_QUOTE2_TRUE=
5230
 
  TSS_BUILD_QUOTE2_FALSE='#'
5231
 
else
5232
 
  TSS_BUILD_QUOTE2_TRUE='#'
5233
 
  TSS_BUILD_QUOTE2_FALSE=
5234
 
fi
5235
 
 
5236
 
        # CMK depends on MIGRATION
5237
 
         if true; then
5238
 
  TSS_BUILD_CMK_TRUE=
5239
 
  TSS_BUILD_CMK_FALSE='#'
5240
 
else
5241
 
  TSS_BUILD_CMK_TRUE='#'
5242
 
  TSS_BUILD_CMK_FALSE=
5243
 
fi
5244
 
 
5245
 
else
5246
 
         if false; then
5247
 
  TSS_BUILD_TSS12_TRUE=
5248
 
  TSS_BUILD_TSS12_FALSE='#'
5249
 
else
5250
 
  TSS_BUILD_TSS12_TRUE='#'
5251
 
  TSS_BUILD_TSS12_FALSE=
5252
 
fi
5253
 
 
5254
 
         if false; then
5255
 
  TSS_BUILD_DAA_TRUE=
5256
 
  TSS_BUILD_DAA_FALSE='#'
5257
 
else
5258
 
  TSS_BUILD_DAA_TRUE='#'
5259
 
  TSS_BUILD_DAA_FALSE=
5260
 
fi
5261
 
 
5262
 
         if false; then
5263
 
  TSS_BUILD_PCR_COMP12_TRUE=
5264
 
  TSS_BUILD_PCR_COMP12_FALSE='#'
5265
 
else
5266
 
  TSS_BUILD_PCR_COMP12_TRUE='#'
5267
 
  TSS_BUILD_PCR_COMP12_FALSE=
5268
 
fi
5269
 
 
5270
 
         if false; then
5271
 
  TSS_BUILD_COUNTER_TRUE=
5272
 
  TSS_BUILD_COUNTER_FALSE='#'
5273
 
else
5274
 
  TSS_BUILD_COUNTER_TRUE='#'
5275
 
  TSS_BUILD_COUNTER_FALSE=
5276
 
fi
5277
 
 
5278
 
         if false; then
5279
 
  TSS_BUILD_TICK_TRUE=
5280
 
  TSS_BUILD_TICK_FALSE='#'
5281
 
else
5282
 
  TSS_BUILD_TICK_TRUE='#'
5283
 
  TSS_BUILD_TICK_FALSE=
5284
 
fi
5285
 
 
5286
 
         if false; then
5287
 
  TSS_BUILD_TRANSPORT_TRUE=
5288
 
  TSS_BUILD_TRANSPORT_FALSE='#'
5289
 
else
5290
 
  TSS_BUILD_TRANSPORT_TRUE='#'
5291
 
  TSS_BUILD_TRANSPORT_FALSE=
5292
 
fi
5293
 
 
5294
 
         if false; then
5295
 
  TSS_BUILD_ASN1_TRUE=
5296
 
  TSS_BUILD_ASN1_FALSE='#'
5297
 
else
5298
 
  TSS_BUILD_ASN1_TRUE='#'
5299
 
  TSS_BUILD_ASN1_FALSE=
5300
 
fi
5301
 
 
5302
 
         if false; then
5303
 
  TSS_BUILD_NV_TRUE=
5304
 
  TSS_BUILD_NV_FALSE='#'
5305
 
else
5306
 
  TSS_BUILD_NV_TRUE='#'
5307
 
  TSS_BUILD_NV_FALSE=
5308
 
fi
5309
 
 
5310
 
         if false; then
5311
 
  TSS_BUILD_AUDIT_TRUE=
5312
 
  TSS_BUILD_AUDIT_FALSE='#'
5313
 
else
5314
 
  TSS_BUILD_AUDIT_TRUE='#'
5315
 
  TSS_BUILD_AUDIT_FALSE=
5316
 
fi
5317
 
 
5318
 
         if false; then
5319
 
  TSS_BUILD_SEALX_TRUE=
5320
 
  TSS_BUILD_SEALX_FALSE='#'
5321
 
else
5322
 
  TSS_BUILD_SEALX_TRUE='#'
5323
 
  TSS_BUILD_SEALX_FALSE=
5324
 
fi
5325
 
 
5326
 
         if false; then
5327
 
  TSS_BUILD_DELEGATION_TRUE=
5328
 
  TSS_BUILD_DELEGATION_FALSE='#'
5329
 
else
5330
 
  TSS_BUILD_DELEGATION_TRUE='#'
5331
 
  TSS_BUILD_DELEGATION_FALSE=
5332
 
fi
5333
 
 
5334
 
         if false; then
5335
 
  TSS_BUILD_QUOTE2_TRUE=
5336
 
  TSS_BUILD_QUOTE2_FALSE='#'
5337
 
else
5338
 
  TSS_BUILD_QUOTE2_TRUE='#'
5339
 
  TSS_BUILD_QUOTE2_FALSE=
5340
 
fi
5341
 
 
5342
 
         if false; then
5343
 
  TSS_BUILD_CMK_TRUE=
5344
 
  TSS_BUILD_CMK_FALSE='#'
5345
 
else
5346
 
  TSS_BUILD_CMK_TRUE='#'
5347
 
  TSS_BUILD_CMK_FALSE=
5348
 
fi
5349
 
 
5350
 
fi
5351
 
 
5352
 
#
5353
 
# There's no need to edit anything below, these conditionals control the building
5354
 
# of files that support the files above, which all contain TSS APIs
5355
 
#
5356
 
 if test -z $TSS_BUILD_NV_TRUE; then
5357
 
  TSS_BUILD_NV_LIST_TRUE=
5358
 
  TSS_BUILD_NV_LIST_FALSE='#'
5359
 
else
5360
 
  TSS_BUILD_NV_LIST_TRUE='#'
5361
 
  TSS_BUILD_NV_LIST_FALSE=
5362
 
fi
5363
 
 
5364
 
 if test -z $TSS_BUILD_NV_TRUE; then
5365
 
  TSS_BUILD_NV_SUPPORT_TRUE=
5366
 
  TSS_BUILD_NV_SUPPORT_FALSE='#'
5367
 
else
5368
 
  TSS_BUILD_NV_SUPPORT_TRUE='#'
5369
 
  TSS_BUILD_NV_SUPPORT_FALSE=
5370
 
fi
5371
 
 
5372
 
 if test -z $TSS_BUILD_ADMIN_TRUE || \
5373
 
                                    test -z $TSS_BUILD_CAPS_TPM_TRUE; then
5374
 
  TSS_BUILD_GET_FLAGS_TRUE=
5375
 
  TSS_BUILD_GET_FLAGS_FALSE='#'
5376
 
else
5377
 
  TSS_BUILD_GET_FLAGS_TRUE='#'
5378
 
  TSS_BUILD_GET_FLAGS_FALSE=
5379
 
fi
5380
 
 
5381
 
 if test -z $TSS_BUILD_SEAL_TRUE || \
5382
 
                                    test -z $TSS_BUILD_QUOTE_TRUE || \
5383
 
                                    test -z $TSS_BUILD_PCRS_TRUE || \
5384
 
                                    test -z $TSS_BUILD_PCR_COMP_TRUE || \
5385
 
                                    test -z $TSS_BUILD_SEALX_TRUE; then
5386
 
  TSS_BUILD_PCRS_LIST_TRUE=
5387
 
  TSS_BUILD_PCRS_LIST_FALSE='#'
5388
 
else
5389
 
  TSS_BUILD_PCRS_LIST_TRUE='#'
5390
 
  TSS_BUILD_PCRS_LIST_FALSE=
5391
 
fi
5392
 
 
5393
 
 if test -z $TSS_BUILD_SIGN_TRUE || test -z $TSS_BUILD_HASH_TRUE; then
5394
 
  TSS_BUILD_HASH_LIST_TRUE=
5395
 
  TSS_BUILD_HASH_LIST_FALSE='#'
5396
 
else
5397
 
  TSS_BUILD_HASH_LIST_TRUE='#'
5398
 
  TSS_BUILD_HASH_LIST_FALSE=
5399
 
fi
5400
 
 
5401
 
 if test -z $TSS_BUILD_SEAL_TRUE || \
5402
 
                                       test -z $TSS_BUILD_CHANGEAUTH_TRUE || \
5403
 
                                       test -z $TSS_BUILD_BIND_TRUE || \
5404
 
                                       test -z $TSS_BUILD_SEALX_TRUE; then
5405
 
  TSS_BUILD_ENCDATA_LIST_TRUE=
5406
 
  TSS_BUILD_ENCDATA_LIST_FALSE='#'
5407
 
else
5408
 
  TSS_BUILD_ENCDATA_LIST_TRUE='#'
5409
 
  TSS_BUILD_ENCDATA_LIST_FALSE=
5410
 
fi
5411
 
 
5412
 
 if test -z $TSS_BUILD_ADMIN_TRUE || \
5413
 
                                      test -z $TSS_BUILD_EK_TRUE || \
5414
 
                                      test -z $TSS_BUILD_MIGRATION_TRUE || \
5415
 
                                      test -z $TSS_BUILD_MAINT_TRUE || \
5416
 
                                      test -z $TSS_BUILD_CERTIFY_TRUE || \
5417
 
                                      test -z $TSS_BUILD_AIK_TRUE || \
5418
 
                                      test -z $TSS_BUILD_QUOTE_TRUE || \
5419
 
                                      test -z $TSS_BUILD_BIND_TRUE || \
5420
 
                                      test -z $TSS_BUILD_CHANGEAUTH_TRUE || \
5421
 
                                      test -z $TSS_BUILD_OWN_TRUE || \
5422
 
                                      test -z $TSS_BUILD_SIGN_TRUE || \
5423
 
                                      test -z $TSS_BUILD_PS_TRUE || \
5424
 
                                      test -z $TSS_BUILD_SEAL_TRUE || \
5425
 
                                      test -z $TSS_BUILD_DAA_TRUE || \
5426
 
                                      test -z $TSS_BUILD_KEY_TRUE || \
5427
 
                                      test -z $TSS_BUILD_SEALX_TRUE; then
5428
 
  TSS_BUILD_RSAKEY_LIST_TRUE=
5429
 
  TSS_BUILD_RSAKEY_LIST_FALSE='#'
5430
 
else
5431
 
  TSS_BUILD_RSAKEY_LIST_TRUE='#'
5432
 
  TSS_BUILD_RSAKEY_LIST_FALSE=
5433
 
fi
5434
 
 
5435
 
 if test -z $TSS_BUILD_HASH_TRUE || \
5436
 
                               test -z $TSS_BUILD_CAPS_TRUE || \
5437
 
                               test -z $TSS_BUILD_CAPS_TPM_TRUE || \
5438
 
                               test -z $TSS_BUILD_POLICY_TRUE || \
5439
 
                               test -z $TSS_BUILD_DIR_TRUE || \
5440
 
                               test -z $TSS_BUILD_PCR_EVENTS_TRUE || \
5441
 
                               test -z $TSS_BUILD_SIGN_TRUE || \
5442
 
                               test -z $TSS_BUILD_QUOTE_TRUE || \
5443
 
                               test -z $TSS_BUILD_PCR_COMP_TRUE || \
5444
 
                               test -z $TSS_BUILD_SEAL_TRUE || \
5445
 
                               test -z $TSS_BUILD_SEALX_TRUE || \
5446
 
                               test -z $TSS_BUILD_CHANGEAUTH_TRUE || \
5447
 
                               test -z $TSS_BUILD_BIND_TRUE || \
5448
 
                               test -z $TSS_BUILD_OWN_TRUE || \
5449
 
                               test -z $TSS_BUILD_PS_TRUE || \
5450
 
                               test -z $TSS_BUILD_ADMIN_TRUE || \
5451
 
                               test -z $TSS_BUILD_AIK_TRUE || \
5452
 
                               test -z $TSS_BUILD_EK_TRUE || \
5453
 
                               test -z $TSS_BUILD_CERTIFY_TRUE || \
5454
 
                               test -z $TSS_BUILD_MAINT_TRUE || \
5455
 
                               test -z $TSS_BUILD_MIGRATION_TRUE || \
5456
 
                               test -z $TSS_BUILD_KEY_TRUE || \
5457
 
                               test -z $TSS_BUILD_PCR_EXTEND_TRUE || \
5458
 
                               test -z $TSS_BUILD_SELFTEST_TRUE || \
5459
 
                               test -z $TSS_BUILD_DAA_TRUE; then
5460
 
  TSS_BUILD_AUTH_TRUE=
5461
 
  TSS_BUILD_AUTH_FALSE='#'
5462
 
else
5463
 
  TSS_BUILD_AUTH_TRUE='#'
5464
 
  TSS_BUILD_AUTH_FALSE=
5465
 
fi
5466
 
 
5467
 
 if test -z $TSS_BUILD_AIK_TRUE || \
5468
 
                                      test -z $TSS_BUILD_CERTIFY_TRUE || \
5469
 
                                      test -z $TSS_BUILD_QUOTE_TRUE || \
5470
 
                                      test -z $TSS_BUILD_EK_TRUE || \
5471
 
                                      test -z $TSS_BUILD_CHANGEAUTH_TRUE || \
5472
 
                                      test -z $TSS_BUILD_BIND_TRUE || \
5473
 
                                      test -z $TSS_BUILD_OWN_TRUE || \
5474
 
                                      test -z $TSS_BUILD_SELFTEST_TRUE || \
5475
 
                                      test -z $TSS_BUILD_SIGN_TRUE || \
5476
 
                                      test -z $TSS_BUILD_KEY_TRUE || \
5477
 
                                      test -z $TSS_BUILD_DAA_TRUE; then
5478
 
  TSS_BUILD_ASYM_CRYPTO_TRUE=
5479
 
  TSS_BUILD_ASYM_CRYPTO_FALSE='#'
5480
 
else
5481
 
  TSS_BUILD_ASYM_CRYPTO_TRUE='#'
5482
 
  TSS_BUILD_ASYM_CRYPTO_FALSE=
5483
 
fi
5484
 
 
5485
 
 if test -z $TSS_BUILD_AIK_TRUE || \
5486
 
                                     test -z $TSS_BUILD_TRANSPORT_TRUE; then
5487
 
  TSS_BUILD_SYM_CRYPTO_TRUE=
5488
 
  TSS_BUILD_SYM_CRYPTO_FALSE='#'
5489
 
else
5490
 
  TSS_BUILD_SYM_CRYPTO_TRUE='#'
5491
 
  TSS_BUILD_SYM_CRYPTO_FALSE=
5492
 
fi
5493
 
 
5494
 
 
5495
 
#GETTEXT_PACKAGE=trousers
5496
 
#AC_SUBST(GETTEXT_PACKAGE)
5497
 
#AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE,"$GETTEXT_PACKAGE")
5498
 
 
5499
 
#ALL_LINGUAS=""
5500
 
#AM_GLIB_GNU_GETTEXT
5501
 
 
5502
 
# end Glade section
5503
 
 
5504
 
ac_fn_c_check_header_mongrel "$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default"
5505
 
if test "x$ac_cv_header_pthread_h" = xyes; then :
5506
 
  
5507
 
$as_echo "@%:@define HAVE_PTHREAD_H 1" >>confdefs.h
5508
 
 
5509
 
fi
5510
 
 
5511
 
 
5512
 
 
5513
 
@%:@ Check whether --enable-static was given.
5514
 
if test "${enable_static+set}" = set; then :
5515
 
  enableval=$enable_static; p=${PACKAGE-default}
5516
 
    case $enableval in
5517
 
    yes) enable_static=yes ;;
5518
 
    no) enable_static=no ;;
5519
 
    *)
5520
 
     enable_static=no
5521
 
      # Look at the argument we got.  We use all the common list separators.
5522
 
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
5523
 
      for pkg in $enableval; do
5524
 
        IFS="$lt_save_ifs"
5525
 
        if test "X$pkg" = "X$p"; then
5526
 
          enable_static=yes
5527
 
        fi
5528
 
      done
5529
 
      IFS="$lt_save_ifs"
5530
 
      ;;
5531
 
    esac
5532
 
else
5533
 
  enable_static=no
5534
 
fi
5535
 
 
5536
 
 
5537
 
    
5538
 
    
5539
 
    
5540
 
    
5541
 
 
5542
 
 
5543
 
 
5544
 
ac_ext=c
5545
 
ac_cpp='$CPP $CPPFLAGS'
5546
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5547
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5548
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5549
 
if test -n "$ac_tool_prefix"; then
5550
 
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
5551
 
set dummy ${ac_tool_prefix}gcc; ac_word=$2
5552
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5553
 
$as_echo_n "checking for $ac_word... " >&6; }
5554
 
if ${ac_cv_prog_CC+:} false; then :
5555
 
  $as_echo_n "(cached) " >&6
5556
 
else
5557
 
  if test -n "$CC"; then
5558
 
  ac_cv_prog_CC="$CC" # Let the user override the test.
5559
 
else
5560
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5561
 
for as_dir in $PATH
5562
 
do
5563
 
  IFS=$as_save_IFS
5564
 
  test -z "$as_dir" && as_dir=.
5565
 
    for ac_exec_ext in '' $ac_executable_extensions; do
5566
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5567
 
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
5568
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5569
 
    break 2
5570
 
  fi
5571
 
done
5572
 
  done
5573
 
IFS=$as_save_IFS
5574
 
 
5575
 
fi
5576
 
fi
5577
 
CC=$ac_cv_prog_CC
5578
 
if test -n "$CC"; then
5579
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5580
 
$as_echo "$CC" >&6; }
5581
 
else
5582
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5583
 
$as_echo "no" >&6; }
5584
 
fi
5585
 
 
5586
 
 
5587
 
fi
5588
 
if test -z "$ac_cv_prog_CC"; then
5589
 
  ac_ct_CC=$CC
5590
 
  # Extract the first word of "gcc", so it can be a program name with args.
5591
 
set dummy gcc; ac_word=$2
5592
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5593
 
$as_echo_n "checking for $ac_word... " >&6; }
5594
 
if ${ac_cv_prog_ac_ct_CC+:} false; then :
5595
 
  $as_echo_n "(cached) " >&6
5596
 
else
5597
 
  if test -n "$ac_ct_CC"; then
5598
 
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
5599
 
else
5600
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5601
 
for as_dir in $PATH
5602
 
do
5603
 
  IFS=$as_save_IFS
5604
 
  test -z "$as_dir" && as_dir=.
5605
 
    for ac_exec_ext in '' $ac_executable_extensions; do
5606
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5607
 
    ac_cv_prog_ac_ct_CC="gcc"
5608
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5609
 
    break 2
5610
 
  fi
5611
 
done
5612
 
  done
5613
 
IFS=$as_save_IFS
5614
 
 
5615
 
fi
5616
 
fi
5617
 
ac_ct_CC=$ac_cv_prog_ac_ct_CC
5618
 
if test -n "$ac_ct_CC"; then
5619
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5620
 
$as_echo "$ac_ct_CC" >&6; }
5621
 
else
5622
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5623
 
$as_echo "no" >&6; }
5624
 
fi
5625
 
 
5626
 
  if test "x$ac_ct_CC" = x; then
5627
 
    CC=""
5628
 
  else
5629
 
    case $cross_compiling:$ac_tool_warned in
5630
 
yes:)
5631
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5632
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5633
 
ac_tool_warned=yes ;;
5634
 
esac
5635
 
    CC=$ac_ct_CC
5636
 
  fi
5637
 
else
5638
 
  CC="$ac_cv_prog_CC"
5639
 
fi
5640
 
 
5641
 
if test -z "$CC"; then
5642
 
          if test -n "$ac_tool_prefix"; then
5643
 
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
5644
 
set dummy ${ac_tool_prefix}cc; ac_word=$2
5645
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5646
 
$as_echo_n "checking for $ac_word... " >&6; }
5647
 
if ${ac_cv_prog_CC+:} false; then :
5648
 
  $as_echo_n "(cached) " >&6
5649
 
else
5650
 
  if test -n "$CC"; then
5651
 
  ac_cv_prog_CC="$CC" # Let the user override the test.
5652
 
else
5653
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5654
 
for as_dir in $PATH
5655
 
do
5656
 
  IFS=$as_save_IFS
5657
 
  test -z "$as_dir" && as_dir=.
5658
 
    for ac_exec_ext in '' $ac_executable_extensions; do
5659
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5660
 
    ac_cv_prog_CC="${ac_tool_prefix}cc"
5661
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5662
 
    break 2
5663
 
  fi
5664
 
done
5665
 
  done
5666
 
IFS=$as_save_IFS
5667
 
 
5668
 
fi
5669
 
fi
5670
 
CC=$ac_cv_prog_CC
5671
 
if test -n "$CC"; then
5672
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5673
 
$as_echo "$CC" >&6; }
5674
 
else
5675
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5676
 
$as_echo "no" >&6; }
5677
 
fi
5678
 
 
5679
 
 
5680
 
  fi
5681
 
fi
5682
 
if test -z "$CC"; then
5683
 
  # Extract the first word of "cc", so it can be a program name with args.
5684
 
set dummy cc; ac_word=$2
5685
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5686
 
$as_echo_n "checking for $ac_word... " >&6; }
5687
 
if ${ac_cv_prog_CC+:} false; then :
5688
 
  $as_echo_n "(cached) " >&6
5689
 
else
5690
 
  if test -n "$CC"; then
5691
 
  ac_cv_prog_CC="$CC" # Let the user override the test.
5692
 
else
5693
 
  ac_prog_rejected=no
5694
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5695
 
for as_dir in $PATH
5696
 
do
5697
 
  IFS=$as_save_IFS
5698
 
  test -z "$as_dir" && as_dir=.
5699
 
    for ac_exec_ext in '' $ac_executable_extensions; do
5700
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5701
 
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
5702
 
       ac_prog_rejected=yes
5703
 
       continue
5704
 
     fi
5705
 
    ac_cv_prog_CC="cc"
5706
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5707
 
    break 2
5708
 
  fi
5709
 
done
5710
 
  done
5711
 
IFS=$as_save_IFS
5712
 
 
5713
 
if test $ac_prog_rejected = yes; then
5714
 
  # We found a bogon in the path, so make sure we never use it.
5715
 
  set dummy $ac_cv_prog_CC
5716
 
  shift
5717
 
  if test $@%:@ != 0; then
5718
 
    # We chose a different compiler from the bogus one.
5719
 
    # However, it has the same basename, so the bogon will be chosen
5720
 
    # first if we set CC to just the basename; use the full file name.
5721
 
    shift
5722
 
    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
5723
 
  fi
5724
 
fi
5725
 
fi
5726
 
fi
5727
 
CC=$ac_cv_prog_CC
5728
 
if test -n "$CC"; then
5729
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5730
 
$as_echo "$CC" >&6; }
5731
 
else
5732
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5733
 
$as_echo "no" >&6; }
5734
 
fi
5735
 
 
5736
 
 
5737
 
fi
5738
 
if test -z "$CC"; then
5739
 
  if test -n "$ac_tool_prefix"; then
5740
 
  for ac_prog in cl.exe
5741
 
  do
5742
 
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5743
 
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5744
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5745
 
$as_echo_n "checking for $ac_word... " >&6; }
5746
 
if ${ac_cv_prog_CC+:} false; then :
5747
 
  $as_echo_n "(cached) " >&6
5748
 
else
5749
 
  if test -n "$CC"; then
5750
 
  ac_cv_prog_CC="$CC" # Let the user override the test.
5751
 
else
5752
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5753
 
for as_dir in $PATH
5754
 
do
5755
 
  IFS=$as_save_IFS
5756
 
  test -z "$as_dir" && as_dir=.
5757
 
    for ac_exec_ext in '' $ac_executable_extensions; do
5758
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5759
 
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
5760
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5761
 
    break 2
5762
 
  fi
5763
 
done
5764
 
  done
5765
 
IFS=$as_save_IFS
5766
 
 
5767
 
fi
5768
 
fi
5769
 
CC=$ac_cv_prog_CC
5770
 
if test -n "$CC"; then
5771
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5772
 
$as_echo "$CC" >&6; }
5773
 
else
5774
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5775
 
$as_echo "no" >&6; }
5776
 
fi
5777
 
 
5778
 
 
5779
 
    test -n "$CC" && break
5780
 
  done
5781
 
fi
5782
 
if test -z "$CC"; then
5783
 
  ac_ct_CC=$CC
5784
 
  for ac_prog in cl.exe
5785
 
do
5786
 
  # Extract the first word of "$ac_prog", so it can be a program name with args.
5787
 
set dummy $ac_prog; ac_word=$2
5788
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5789
 
$as_echo_n "checking for $ac_word... " >&6; }
5790
 
if ${ac_cv_prog_ac_ct_CC+:} false; then :
5791
 
  $as_echo_n "(cached) " >&6
5792
 
else
5793
 
  if test -n "$ac_ct_CC"; then
5794
 
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
5795
 
else
5796
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5797
 
for as_dir in $PATH
5798
 
do
5799
 
  IFS=$as_save_IFS
5800
 
  test -z "$as_dir" && as_dir=.
5801
 
    for ac_exec_ext in '' $ac_executable_extensions; do
5802
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5803
 
    ac_cv_prog_ac_ct_CC="$ac_prog"
5804
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5805
 
    break 2
5806
 
  fi
5807
 
done
5808
 
  done
5809
 
IFS=$as_save_IFS
5810
 
 
5811
 
fi
5812
 
fi
5813
 
ac_ct_CC=$ac_cv_prog_ac_ct_CC
5814
 
if test -n "$ac_ct_CC"; then
5815
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5816
 
$as_echo "$ac_ct_CC" >&6; }
5817
 
else
5818
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5819
 
$as_echo "no" >&6; }
5820
 
fi
5821
 
 
5822
 
 
5823
 
  test -n "$ac_ct_CC" && break
5824
 
done
5825
 
 
5826
 
  if test "x$ac_ct_CC" = x; then
5827
 
    CC=""
5828
 
  else
5829
 
    case $cross_compiling:$ac_tool_warned in
5830
 
yes:)
5831
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5832
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5833
 
ac_tool_warned=yes ;;
5834
 
esac
5835
 
    CC=$ac_ct_CC
5836
 
  fi
5837
 
fi
5838
 
 
5839
 
fi
5840
 
 
5841
 
 
5842
 
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5843
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5844
 
as_fn_error $? "no acceptable C compiler found in \$PATH
5845
 
See \`config.log' for more details" "$LINENO" 5; }
5846
 
 
5847
 
# Provide some information about the compiler.
5848
 
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
5849
 
set X $ac_compile
5850
 
ac_compiler=$2
5851
 
for ac_option in --version -v -V -qversion; do
5852
 
  { { ac_try="$ac_compiler $ac_option >&5"
5853
 
case "(($ac_try" in
5854
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5855
 
  *) ac_try_echo=$ac_try;;
5856
 
esac
5857
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5858
 
$as_echo "$ac_try_echo"; } >&5
5859
 
  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5860
 
  ac_status=$?
5861
 
  if test -s conftest.err; then
5862
 
    sed '10a\
5863
 
... rest of stderr output deleted ...
5864
 
         10q' conftest.err >conftest.er1
5865
 
    cat conftest.er1 >&5
5866
 
  fi
5867
 
  rm -f conftest.er1 conftest.err
5868
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5869
 
  test $ac_status = 0; }
5870
 
done
5871
 
 
5872
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
5873
 
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
5874
 
if ${ac_cv_c_compiler_gnu+:} false; then :
5875
 
  $as_echo_n "(cached) " >&6
5876
 
else
5877
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5878
 
/* end confdefs.h.  */
5879
 
 
5880
 
int
5881
 
main ()
5882
 
{
5883
 
#ifndef __GNUC__
5884
 
       choke me
5885
 
#endif
5886
 
 
5887
 
  ;
5888
 
  return 0;
5889
 
}
5890
 
_ACEOF
5891
 
if ac_fn_c_try_compile "$LINENO"; then :
5892
 
  ac_compiler_gnu=yes
5893
 
else
5894
 
  ac_compiler_gnu=no
5895
 
fi
5896
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5897
 
ac_cv_c_compiler_gnu=$ac_compiler_gnu
5898
 
 
5899
 
fi
5900
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5901
 
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
5902
 
if test $ac_compiler_gnu = yes; then
5903
 
  GCC=yes
5904
 
else
5905
 
  GCC=
5906
 
fi
5907
 
ac_test_CFLAGS=${CFLAGS+set}
5908
 
ac_save_CFLAGS=$CFLAGS
5909
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5910
 
$as_echo_n "checking whether $CC accepts -g... " >&6; }
5911
 
if ${ac_cv_prog_cc_g+:} false; then :
5912
 
  $as_echo_n "(cached) " >&6
5913
 
else
5914
 
  ac_save_c_werror_flag=$ac_c_werror_flag
5915
 
   ac_c_werror_flag=yes
5916
 
   ac_cv_prog_cc_g=no
5917
 
   CFLAGS="-g"
5918
 
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5919
 
/* end confdefs.h.  */
5920
 
 
5921
 
int
5922
 
main ()
5923
 
{
5924
 
 
5925
 
  ;
5926
 
  return 0;
5927
 
}
5928
 
_ACEOF
5929
 
if ac_fn_c_try_compile "$LINENO"; then :
5930
 
  ac_cv_prog_cc_g=yes
5931
 
else
5932
 
  CFLAGS=""
5933
 
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5934
 
/* end confdefs.h.  */
5935
 
 
5936
 
int
5937
 
main ()
5938
 
{
5939
 
 
5940
 
  ;
5941
 
  return 0;
5942
 
}
5943
 
_ACEOF
5944
 
if ac_fn_c_try_compile "$LINENO"; then :
5945
 
  
5946
 
else
5947
 
  ac_c_werror_flag=$ac_save_c_werror_flag
5948
 
         CFLAGS="-g"
5949
 
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5950
 
/* end confdefs.h.  */
5951
 
 
5952
 
int
5953
 
main ()
5954
 
{
5955
 
 
5956
 
  ;
5957
 
  return 0;
5958
 
}
5959
 
_ACEOF
5960
 
if ac_fn_c_try_compile "$LINENO"; then :
5961
 
  ac_cv_prog_cc_g=yes
5962
 
fi
5963
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5964
 
fi
5965
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5966
 
fi
5967
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5968
 
   ac_c_werror_flag=$ac_save_c_werror_flag
5969
 
fi
5970
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5971
 
$as_echo "$ac_cv_prog_cc_g" >&6; }
5972
 
if test "$ac_test_CFLAGS" = set; then
5973
 
  CFLAGS=$ac_save_CFLAGS
5974
 
elif test $ac_cv_prog_cc_g = yes; then
5975
 
  if test "$GCC" = yes; then
5976
 
    CFLAGS="-g -O2"
5977
 
  else
5978
 
    CFLAGS="-g"
5979
 
  fi
5980
 
else
5981
 
  if test "$GCC" = yes; then
5982
 
    CFLAGS="-O2"
5983
 
  else
5984
 
    CFLAGS=
5985
 
  fi
5986
 
fi
5987
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
5988
 
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
5989
 
if ${ac_cv_prog_cc_c89+:} false; then :
5990
 
  $as_echo_n "(cached) " >&6
5991
 
else
5992
 
  ac_cv_prog_cc_c89=no
5993
 
ac_save_CC=$CC
5994
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5995
 
/* end confdefs.h.  */
5996
 
#include <stdarg.h>
5997
 
#include <stdio.h>
5998
 
#include <sys/types.h>
5999
 
#include <sys/stat.h>
6000
 
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
6001
 
struct buf { int x; };
6002
 
FILE * (*rcsopen) (struct buf *, struct stat *, int);
6003
 
static char *e (p, i)
6004
 
     char **p;
6005
 
     int i;
6006
 
{
6007
 
  return p[i];
6008
 
}
6009
 
static char *f (char * (*g) (char **, int), char **p, ...)
6010
 
{
6011
 
  char *s;
6012
 
  va_list v;
6013
 
  va_start (v,p);
6014
 
  s = g (p, va_arg (v,int));
6015
 
  va_end (v);
6016
 
  return s;
6017
 
}
6018
 
 
6019
 
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
6020
 
   function prototypes and stuff, but not '\xHH' hex character constants.
6021
 
   These don't provoke an error unfortunately, instead are silently treated
6022
 
   as 'x'.  The following induces an error, until -std is added to get
6023
 
   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
6024
 
   array size at least.  It's necessary to write '\x00'==0 to get something
6025
 
   that's true only with -std.  */
6026
 
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
6027
 
 
6028
 
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
6029
 
   inside strings and character constants.  */
6030
 
#define FOO(x) 'x'
6031
 
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
6032
 
 
6033
 
int test (int i, double x);
6034
 
struct s1 {int (*f) (int a);};
6035
 
struct s2 {int (*f) (double a);};
6036
 
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
6037
 
int argc;
6038
 
char **argv;
6039
 
int
6040
 
main ()
6041
 
{
6042
 
return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
6043
 
  ;
6044
 
  return 0;
6045
 
}
6046
 
_ACEOF
6047
 
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
6048
 
        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
6049
 
do
6050
 
  CC="$ac_save_CC $ac_arg"
6051
 
  if ac_fn_c_try_compile "$LINENO"; then :
6052
 
  ac_cv_prog_cc_c89=$ac_arg
6053
 
fi
6054
 
rm -f core conftest.err conftest.$ac_objext
6055
 
  test "x$ac_cv_prog_cc_c89" != "xno" && break
6056
 
done
6057
 
rm -f conftest.$ac_ext
6058
 
CC=$ac_save_CC
6059
 
 
6060
 
fi
6061
 
# AC_CACHE_VAL
6062
 
case "x$ac_cv_prog_cc_c89" in
6063
 
  x)
6064
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
6065
 
$as_echo "none needed" >&6; } ;;
6066
 
  xno)
6067
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
6068
 
$as_echo "unsupported" >&6; } ;;
6069
 
  *)
6070
 
    CC="$CC $ac_cv_prog_cc_c89"
6071
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
6072
 
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
6073
 
esac
6074
 
if test "x$ac_cv_prog_cc_c89" != xno; then :
6075
 
  
6076
 
fi
6077
 
 
6078
 
ac_ext=c
6079
 
ac_cpp='$CPP $CPPFLAGS'
6080
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6081
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6082
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
6083
 
 
6084
 
depcc="$CC"   am_compiler_list=
6085
 
 
6086
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
6087
 
$as_echo_n "checking dependency style of $depcc... " >&6; }
6088
 
if ${am_cv_CC_dependencies_compiler_type+:} false; then :
6089
 
  $as_echo_n "(cached) " >&6
6090
 
else
6091
 
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
6092
 
  # We make a subdir and do the tests there.  Otherwise we can end up
6093
 
  # making bogus files that we don't know about and never remove.  For
6094
 
  # instance it was reported that on HP-UX the gcc test will end up
6095
 
  # making a dummy file named `D' -- because `-MD' means `put the output
6096
 
  # in D'.
6097
 
  rm -rf conftest.dir
6098
 
  mkdir conftest.dir
6099
 
  # Copy depcomp to subdir because otherwise we won't find it if we're
6100
 
  # using a relative directory.
6101
 
  cp "$am_depcomp" conftest.dir
6102
 
  cd conftest.dir
6103
 
  # We will build objects and dependencies in a subdirectory because
6104
 
  # it helps to detect inapplicable dependency modes.  For instance
6105
 
  # both Tru64's cc and ICC support -MD to output dependencies as a
6106
 
  # side effect of compilation, but ICC will put the dependencies in
6107
 
  # the current directory while Tru64 will put them in the object
6108
 
  # directory.
6109
 
  mkdir sub
6110
 
 
6111
 
  am_cv_CC_dependencies_compiler_type=none
6112
 
  if test "$am_compiler_list" = ""; then
6113
 
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
6114
 
  fi
6115
 
  am__universal=false
6116
 
  case " $depcc " in #(
6117
 
     *\ -arch\ *\ -arch\ *) am__universal=true ;;
6118
 
     esac
6119
 
 
6120
 
  for depmode in $am_compiler_list; do
6121
 
    # Setup a source with many dependencies, because some compilers
6122
 
    # like to wrap large dependency lists on column 80 (with \), and
6123
 
    # we should not choose a depcomp mode which is confused by this.
6124
 
    #
6125
 
    # We need to recreate these files for each test, as the compiler may
6126
 
    # overwrite some of them when testing with obscure command lines.
6127
 
    # This happens at least with the AIX C compiler.
6128
 
    : > sub/conftest.c
6129
 
    for i in 1 2 3 4 5 6; do
6130
 
      echo '#include "conftst'$i'.h"' >> sub/conftest.c
6131
 
      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
6132
 
      # Solaris 8's {/usr,}/bin/sh.
6133
 
      touch sub/conftst$i.h
6134
 
    done
6135
 
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
6136
 
 
6137
 
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
6138
 
    # mode.  It turns out that the SunPro C++ compiler does not properly
6139
 
    # handle `-M -o', and we need to detect this.  Also, some Intel
6140
 
    # versions had trouble with output in subdirs
6141
 
    am__obj=sub/conftest.${OBJEXT-o}
6142
 
    am__minus_obj="-o $am__obj"
6143
 
    case $depmode in
6144
 
    gcc)
6145
 
      # This depmode causes a compiler race in universal mode.
6146
 
      test "$am__universal" = false || continue
6147
 
      ;;
6148
 
    nosideeffect)
6149
 
      # after this tag, mechanisms are not by side-effect, so they'll
6150
 
      # only be used when explicitly requested
6151
 
      if test "x$enable_dependency_tracking" = xyes; then
6152
 
        continue
6153
 
      else
6154
 
        break
6155
 
      fi
6156
 
      ;;
6157
 
    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
6158
 
      # This compiler won't grok `-c -o', but also, the minuso test has
6159
 
      # not run yet.  These depmodes are late enough in the game, and
6160
 
      # so weak that their functioning should not be impacted.
6161
 
      am__obj=conftest.${OBJEXT-o}
6162
 
      am__minus_obj=
6163
 
      ;;
6164
 
    none) break ;;
6165
 
    esac
6166
 
    if depmode=$depmode \
6167
 
       source=sub/conftest.c object=$am__obj \
6168
 
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
6169
 
       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
6170
 
         >/dev/null 2>conftest.err &&
6171
 
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
6172
 
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
6173
 
       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
6174
 
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
6175
 
      # icc doesn't choke on unknown options, it will just issue warnings
6176
 
      # or remarks (even with -Werror).  So we grep stderr for any message
6177
 
      # that says an option was ignored or not supported.
6178
 
      # When given -MP, icc 7.0 and 7.1 complain thusly:
6179
 
      #   icc: Command line warning: ignoring option '-M'; no argument required
6180
 
      # The diagnosis changed in icc 8.0:
6181
 
      #   icc: Command line remark: option '-MP' not supported
6182
 
      if (grep 'ignoring option' conftest.err ||
6183
 
          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
6184
 
        am_cv_CC_dependencies_compiler_type=$depmode
6185
 
        break
6186
 
      fi
6187
 
    fi
6188
 
  done
6189
 
 
6190
 
  cd ..
6191
 
  rm -rf conftest.dir
6192
 
else
6193
 
  am_cv_CC_dependencies_compiler_type=none
6194
 
fi
6195
 
 
6196
 
fi
6197
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
6198
 
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
6199
 
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
6200
 
 
6201
 
 if 
6202
 
  test "x$enable_dependency_tracking" != xno \
6203
 
  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
6204
 
  am__fastdepCC_TRUE=
6205
 
  am__fastdepCC_FALSE='#'
6206
 
else
6207
 
  am__fastdepCC_TRUE='#'
6208
 
  am__fastdepCC_FALSE=
6209
 
fi
6210
 
 
6211
 
 
6212
 
case `pwd` in
6213
 
  *\ * | *\     *)
6214
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
6215
 
$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
6216
 
esac
6217
 
 
6218
 
 
6219
 
 
6220
 
macro_version='2.4.2'
6221
 
macro_revision='1.3337'
6222
 
 
6223
 
    
6224
 
    
6225
 
    
6226
 
 
6227
 
 
6228
 
    
6229
 
    
6230
 
    
6231
 
 
6232
 
 
6233
 
 
6234
 
 
6235
 
ltmain="$ac_aux_dir/ltmain.sh"
6236
 
 
6237
 
# Backslashify metacharacters that are still active within
6238
 
# double-quoted strings.
6239
 
sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
6240
 
 
6241
 
# Same as above, but do not quote variable references.
6242
 
double_quote_subst='s/\(["`\\]\)/\\\1/g'
6243
 
 
6244
 
# Sed substitution to delay expansion of an escaped shell variable in a
6245
 
# double_quote_subst'ed string.
6246
 
delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
6247
 
 
6248
 
# Sed substitution to delay expansion of an escaped single quote.
6249
 
delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
6250
 
 
6251
 
# Sed substitution to avoid accidental globbing in evaled expressions
6252
 
no_glob_subst='s/\*/\\\*/g'
6253
 
 
6254
 
ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
6255
 
ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
6256
 
ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
6257
 
 
6258
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
6259
 
$as_echo_n "checking how to print strings... " >&6; }
6260
 
# Test print first, because it will be a builtin if present.
6261
 
if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
6262
 
   test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
6263
 
  ECHO='print -r --'
6264
 
elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
6265
 
  ECHO='printf %s\n'
6266
 
else
6267
 
  # Use this function as a fallback that always works.
6268
 
  func_fallback_echo ()
6269
 
  {
6270
 
    eval 'cat <<_LTECHO_EOF
6271
 
$1
6272
 
_LTECHO_EOF'
6273
 
  }
6274
 
  ECHO='func_fallback_echo'
6275
 
fi
6276
 
 
6277
 
# func_echo_all arg...
6278
 
# Invoke $ECHO with all args, space-separated.
6279
 
func_echo_all ()
6280
 
{
6281
 
    $ECHO "" 
6282
 
}
6283
 
 
6284
 
case "$ECHO" in
6285
 
  printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
6286
 
$as_echo "printf" >&6; } ;;
6287
 
  print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
6288
 
$as_echo "print -r" >&6; } ;;
6289
 
  *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
6290
 
$as_echo "cat" >&6; } ;;
6291
 
esac
6292
 
 
6293
 
 
6294
 
 
6295
 
 
6296
 
    
6297
 
    
6298
 
    
6299
 
 
6300
 
 
6301
 
    
6302
 
    
6303
 
    
6304
 
 
6305
 
 
6306
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
6307
 
$as_echo_n "checking for a sed that does not truncate output... " >&6; }
6308
 
if ${ac_cv_path_SED+:} false; then :
6309
 
  $as_echo_n "(cached) " >&6
6310
 
else
6311
 
            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
6312
 
     for ac_i in 1 2 3 4 5 6 7; do
6313
 
       ac_script="$ac_script$as_nl$ac_script"
6314
 
     done
6315
 
     echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
6316
 
     { ac_script=; unset ac_script;}
6317
 
     if test -z "$SED"; then
6318
 
  ac_path_SED_found=false
6319
 
  # Loop through the user's path and test for each of PROGNAME-LIST
6320
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6321
 
for as_dir in $PATH
6322
 
do
6323
 
  IFS=$as_save_IFS
6324
 
  test -z "$as_dir" && as_dir=.
6325
 
    for ac_prog in sed gsed; do
6326
 
    for ac_exec_ext in '' $ac_executable_extensions; do
6327
 
      ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
6328
 
      { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
6329
 
# Check for GNU ac_path_SED and select it if it is found.
6330
 
  # Check for GNU $ac_path_SED
6331
 
case `"$ac_path_SED" --version 2>&1` in
6332
 
*GNU*)
6333
 
  ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
6334
 
*)
6335
 
  ac_count=0
6336
 
  $as_echo_n 0123456789 >"conftest.in"
6337
 
  while :
6338
 
  do
6339
 
    cat "conftest.in" "conftest.in" >"conftest.tmp"
6340
 
    mv "conftest.tmp" "conftest.in"
6341
 
    cp "conftest.in" "conftest.nl"
6342
 
    $as_echo '' >> "conftest.nl"
6343
 
    "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
6344
 
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6345
 
    as_fn_arith $ac_count + 1 && ac_count=$as_val
6346
 
    if test $ac_count -gt ${ac_path_SED_max-0}; then
6347
 
      # Best one so far, save it but keep looking for a better one
6348
 
      ac_cv_path_SED="$ac_path_SED"
6349
 
      ac_path_SED_max=$ac_count
6350
 
    fi
6351
 
    # 10*(2^10) chars as input seems more than enough
6352
 
    test $ac_count -gt 10 && break
6353
 
  done
6354
 
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6355
 
esac
6356
 
 
6357
 
      $ac_path_SED_found && break 3
6358
 
    done
6359
 
  done
6360
 
  done
6361
 
IFS=$as_save_IFS
6362
 
  if test -z "$ac_cv_path_SED"; then
6363
 
    as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
6364
 
  fi
6365
 
else
6366
 
  ac_cv_path_SED=$SED
6367
 
fi
6368
 
 
6369
 
fi
6370
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
6371
 
$as_echo "$ac_cv_path_SED" >&6; }
6372
 
 SED="$ac_cv_path_SED"
6373
 
  rm -f conftest.sed
6374
 
 
6375
 
test -z "$SED" && SED=sed
6376
 
Xsed="$SED -e 1s/^X//"
6377
 
 
6378
 
    
6379
 
    
6380
 
    
6381
 
 
6382
 
 
6383
 
    
6384
 
    
6385
 
    
6386
 
 
6387
 
 
6388
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
6389
 
$as_echo_n "checking for fgrep... " >&6; }
6390
 
if ${ac_cv_path_FGREP+:} false; then :
6391
 
  $as_echo_n "(cached) " >&6
6392
 
else
6393
 
  if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
6394
 
   then ac_cv_path_FGREP="$GREP -F"
6395
 
   else
6396
 
     if test -z "$FGREP"; then
6397
 
  ac_path_FGREP_found=false
6398
 
  # Loop through the user's path and test for each of PROGNAME-LIST
6399
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6400
 
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6401
 
do
6402
 
  IFS=$as_save_IFS
6403
 
  test -z "$as_dir" && as_dir=.
6404
 
    for ac_prog in fgrep; do
6405
 
    for ac_exec_ext in '' $ac_executable_extensions; do
6406
 
      ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
6407
 
      { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
6408
 
# Check for GNU ac_path_FGREP and select it if it is found.
6409
 
  # Check for GNU $ac_path_FGREP
6410
 
case `"$ac_path_FGREP" --version 2>&1` in
6411
 
*GNU*)
6412
 
  ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
6413
 
*)
6414
 
  ac_count=0
6415
 
  $as_echo_n 0123456789 >"conftest.in"
6416
 
  while :
6417
 
  do
6418
 
    cat "conftest.in" "conftest.in" >"conftest.tmp"
6419
 
    mv "conftest.tmp" "conftest.in"
6420
 
    cp "conftest.in" "conftest.nl"
6421
 
    $as_echo 'FGREP' >> "conftest.nl"
6422
 
    "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
6423
 
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6424
 
    as_fn_arith $ac_count + 1 && ac_count=$as_val
6425
 
    if test $ac_count -gt ${ac_path_FGREP_max-0}; then
6426
 
      # Best one so far, save it but keep looking for a better one
6427
 
      ac_cv_path_FGREP="$ac_path_FGREP"
6428
 
      ac_path_FGREP_max=$ac_count
6429
 
    fi
6430
 
    # 10*(2^10) chars as input seems more than enough
6431
 
    test $ac_count -gt 10 && break
6432
 
  done
6433
 
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6434
 
esac
6435
 
 
6436
 
      $ac_path_FGREP_found && break 3
6437
 
    done
6438
 
  done
6439
 
  done
6440
 
IFS=$as_save_IFS
6441
 
  if test -z "$ac_cv_path_FGREP"; then
6442
 
    as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6443
 
  fi
6444
 
else
6445
 
  ac_cv_path_FGREP=$FGREP
6446
 
fi
6447
 
 
6448
 
   fi
6449
 
fi
6450
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
6451
 
$as_echo "$ac_cv_path_FGREP" >&6; }
6452
 
 FGREP="$ac_cv_path_FGREP"
6453
 
 
6454
 
 
6455
 
test -z "$GREP" && GREP=grep
6456
 
 
6457
 
    
6458
 
    
6459
 
    
6460
 
 
6461
 
 
6462
 
    
6463
 
    
6464
 
    
6465
 
 
6466
 
 
6467
 
    
6468
 
    
6469
 
    
6470
 
 
6471
 
 
6472
 
 
6473
 
 
6474
 
 
6475
 
@%:@ Check whether --with-gnu-ld was given.
6476
 
if test "${with_gnu_ld+set}" = set; then :
6477
 
  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
6478
 
else
6479
 
  with_gnu_ld=no
6480
 
fi
6481
 
 
6482
 
ac_prog=ld
6483
 
if test "$GCC" = yes; then
6484
 
  # Check if gcc -print-prog-name=ld gives a path.
6485
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
6486
 
$as_echo_n "checking for ld used by $CC... " >&6; }
6487
 
  case $host in
6488
 
  *-*-mingw*)
6489
 
    # gcc leaves a trailing carriage return which upsets mingw
6490
 
    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
6491
 
  *)
6492
 
    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
6493
 
  esac
6494
 
  case $ac_prog in
6495
 
    # Accept absolute paths.
6496
 
    [\\/]* | ?:[\\/]*)
6497
 
      re_direlt='/[^/][^/]*/\.\./'
6498
 
      # Canonicalize the pathname of ld
6499
 
      ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
6500
 
      while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
6501
 
        ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
6502
 
      done
6503
 
      test -z "$LD" && LD="$ac_prog"
6504
 
      ;;
6505
 
  "")
6506
 
    # If it fails, then pretend we aren't using GCC.
6507
 
    ac_prog=ld
6508
 
    ;;
6509
 
  *)
6510
 
    # If it is relative, then search for the first ld in PATH.
6511
 
    with_gnu_ld=unknown
6512
 
    ;;
6513
 
  esac
6514
 
elif test "$with_gnu_ld" = yes; then
6515
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
6516
 
$as_echo_n "checking for GNU ld... " >&6; }
6517
 
else
6518
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
6519
 
$as_echo_n "checking for non-GNU ld... " >&6; }
6520
 
fi
6521
 
if ${lt_cv_path_LD+:} false; then :
6522
 
  $as_echo_n "(cached) " >&6
6523
 
else
6524
 
  if test -z "$LD"; then
6525
 
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6526
 
  for ac_dir in $PATH; do
6527
 
    IFS="$lt_save_ifs"
6528
 
    test -z "$ac_dir" && ac_dir=.
6529
 
    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
6530
 
      lt_cv_path_LD="$ac_dir/$ac_prog"
6531
 
      # Check to see if the program is GNU ld.  I'd rather use --version,
6532
 
      # but apparently some variants of GNU ld only accept -v.
6533
 
      # Break only if it was the GNU/non-GNU ld that we prefer.
6534
 
      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
6535
 
      *GNU* | *'with BFD'*)
6536
 
        test "$with_gnu_ld" != no && break
6537
 
        ;;
6538
 
      *)
6539
 
        test "$with_gnu_ld" != yes && break
6540
 
        ;;
6541
 
      esac
6542
 
    fi
6543
 
  done
6544
 
  IFS="$lt_save_ifs"
6545
 
else
6546
 
  lt_cv_path_LD="$LD" # Let the user override the test with a path.
6547
 
fi
6548
 
fi
6549
 
 
6550
 
LD="$lt_cv_path_LD"
6551
 
if test -n "$LD"; then
6552
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6553
 
$as_echo "$LD" >&6; }
6554
 
else
6555
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6556
 
$as_echo "no" >&6; }
6557
 
fi
6558
 
test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
6559
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
6560
 
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
6561
 
if ${lt_cv_prog_gnu_ld+:} false; then :
6562
 
  $as_echo_n "(cached) " >&6
6563
 
else
6564
 
  # I'd rather use --version here, but apparently some GNU lds only accept -v.
6565
 
case `$LD -v 2>&1 </dev/null` in
6566
 
*GNU* | *'with BFD'*)
6567
 
  lt_cv_prog_gnu_ld=yes
6568
 
  ;;
6569
 
*)
6570
 
  lt_cv_prog_gnu_ld=no
6571
 
  ;;
6572
 
esac
6573
 
fi
6574
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
6575
 
$as_echo "$lt_cv_prog_gnu_ld" >&6; }
6576
 
with_gnu_ld=$lt_cv_prog_gnu_ld
6577
 
 
6578
 
 
6579
 
 
6580
 
 
6581
 
    
6582
 
    
6583
 
    
6584
 
 
6585
 
 
6586
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
6587
 
$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
6588
 
if ${lt_cv_path_NM+:} false; then :
6589
 
  $as_echo_n "(cached) " >&6
6590
 
else
6591
 
  if test -n "$NM"; then
6592
 
  # Let the user override the test.
6593
 
  lt_cv_path_NM="$NM"
6594
 
else
6595
 
  lt_nm_to_check="${ac_tool_prefix}nm"
6596
 
  if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
6597
 
    lt_nm_to_check="$lt_nm_to_check nm"
6598
 
  fi
6599
 
  for lt_tmp_nm in $lt_nm_to_check; do
6600
 
    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6601
 
    for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
6602
 
      IFS="$lt_save_ifs"
6603
 
      test -z "$ac_dir" && ac_dir=.
6604
 
      tmp_nm="$ac_dir/$lt_tmp_nm"
6605
 
      if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
6606
 
        # Check to see if the nm accepts a BSD-compat flag.
6607
 
        # Adding the `sed 1q' prevents false positives on HP-UX, which says:
6608
 
        #   nm: unknown option "B" ignored
6609
 
        # Tru64's nm complains that /dev/null is an invalid object file
6610
 
        case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
6611
 
        */dev/null* | *'Invalid file or object type'*)
6612
 
          lt_cv_path_NM="$tmp_nm -B"
6613
 
          break
6614
 
          ;;
6615
 
        *)
6616
 
          case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
6617
 
          */dev/null*)
6618
 
            lt_cv_path_NM="$tmp_nm -p"
6619
 
            break
6620
 
            ;;
6621
 
          *)
6622
 
            lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
6623
 
            continue # so that we can try to find one that supports BSD flags
6624
 
            ;;
6625
 
          esac
6626
 
          ;;
6627
 
        esac
6628
 
      fi
6629
 
    done
6630
 
    IFS="$lt_save_ifs"
6631
 
  done
6632
 
  : ${lt_cv_path_NM=no}
6633
 
fi
6634
 
fi
6635
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
6636
 
$as_echo "$lt_cv_path_NM" >&6; }
6637
 
if test "$lt_cv_path_NM" != "no"; then
6638
 
  NM="$lt_cv_path_NM"
6639
 
else
6640
 
  # Didn't find any BSD compatible name lister, look for dumpbin.
6641
 
  if test -n "$DUMPBIN"; then :
6642
 
    # Let the user override the test.
6643
 
  else
6644
 
    if test -n "$ac_tool_prefix"; then
6645
 
  for ac_prog in dumpbin "link -dump"
6646
 
  do
6647
 
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6648
 
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6649
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6650
 
$as_echo_n "checking for $ac_word... " >&6; }
6651
 
if ${ac_cv_prog_DUMPBIN+:} false; then :
6652
 
  $as_echo_n "(cached) " >&6
6653
 
else
6654
 
  if test -n "$DUMPBIN"; then
6655
 
  ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
6656
 
else
6657
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6658
 
for as_dir in $PATH
6659
 
do
6660
 
  IFS=$as_save_IFS
6661
 
  test -z "$as_dir" && as_dir=.
6662
 
    for ac_exec_ext in '' $ac_executable_extensions; do
6663
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6664
 
    ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
6665
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6666
 
    break 2
6667
 
  fi
6668
 
done
6669
 
  done
6670
 
IFS=$as_save_IFS
6671
 
 
6672
 
fi
6673
 
fi
6674
 
DUMPBIN=$ac_cv_prog_DUMPBIN
6675
 
if test -n "$DUMPBIN"; then
6676
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
6677
 
$as_echo "$DUMPBIN" >&6; }
6678
 
else
6679
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6680
 
$as_echo "no" >&6; }
6681
 
fi
6682
 
 
6683
 
 
6684
 
    test -n "$DUMPBIN" && break
6685
 
  done
6686
 
fi
6687
 
if test -z "$DUMPBIN"; then
6688
 
  ac_ct_DUMPBIN=$DUMPBIN
6689
 
  for ac_prog in dumpbin "link -dump"
6690
 
do
6691
 
  # Extract the first word of "$ac_prog", so it can be a program name with args.
6692
 
set dummy $ac_prog; ac_word=$2
6693
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6694
 
$as_echo_n "checking for $ac_word... " >&6; }
6695
 
if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
6696
 
  $as_echo_n "(cached) " >&6
6697
 
else
6698
 
  if test -n "$ac_ct_DUMPBIN"; then
6699
 
  ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
6700
 
else
6701
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6702
 
for as_dir in $PATH
6703
 
do
6704
 
  IFS=$as_save_IFS
6705
 
  test -z "$as_dir" && as_dir=.
6706
 
    for ac_exec_ext in '' $ac_executable_extensions; do
6707
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6708
 
    ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
6709
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6710
 
    break 2
6711
 
  fi
6712
 
done
6713
 
  done
6714
 
IFS=$as_save_IFS
6715
 
 
6716
 
fi
6717
 
fi
6718
 
ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
6719
 
if test -n "$ac_ct_DUMPBIN"; then
6720
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
6721
 
$as_echo "$ac_ct_DUMPBIN" >&6; }
6722
 
else
6723
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6724
 
$as_echo "no" >&6; }
6725
 
fi
6726
 
 
6727
 
 
6728
 
  test -n "$ac_ct_DUMPBIN" && break
6729
 
done
6730
 
 
6731
 
  if test "x$ac_ct_DUMPBIN" = x; then
6732
 
    DUMPBIN=":"
6733
 
  else
6734
 
    case $cross_compiling:$ac_tool_warned in
6735
 
yes:)
6736
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6737
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6738
 
ac_tool_warned=yes ;;
6739
 
esac
6740
 
    DUMPBIN=$ac_ct_DUMPBIN
6741
 
  fi
6742
 
fi
6743
 
 
6744
 
    case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
6745
 
    *COFF*)
6746
 
      DUMPBIN="$DUMPBIN -symbols"
6747
 
      ;;
6748
 
    *)
6749
 
      DUMPBIN=:
6750
 
      ;;
6751
 
    esac
6752
 
  fi
6753
 
  
6754
 
  if test "$DUMPBIN" != ":"; then
6755
 
    NM="$DUMPBIN"
6756
 
  fi
6757
 
fi
6758
 
test -z "$NM" && NM=nm
6759
 
 
6760
 
 
6761
 
    
6762
 
    
6763
 
    
6764
 
 
6765
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
6766
 
$as_echo_n "checking the name lister ($NM) interface... " >&6; }
6767
 
if ${lt_cv_nm_interface+:} false; then :
6768
 
  $as_echo_n "(cached) " >&6
6769
 
else
6770
 
  lt_cv_nm_interface="BSD nm"
6771
 
  echo "int some_variable = 0;" > conftest.$ac_ext
6772
 
  (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
6773
 
  (eval "$ac_compile" 2>conftest.err)
6774
 
  cat conftest.err >&5
6775
 
  (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
6776
 
  (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
6777
 
  cat conftest.err >&5
6778
 
  (eval echo "\"\$as_me:$LINENO: output\"" >&5)
6779
 
  cat conftest.out >&5
6780
 
  if $GREP 'External.*some_variable' conftest.out > /dev/null; then
6781
 
    lt_cv_nm_interface="MS dumpbin"
6782
 
  fi
6783
 
  rm -f conftest*
6784
 
fi
6785
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
6786
 
$as_echo "$lt_cv_nm_interface" >&6; }
6787
 
 
6788
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6789
 
$as_echo_n "checking whether ln -s works... " >&6; }
6790
 
LN_S=$as_ln_s
6791
 
if test "$LN_S" = "ln -s"; then
6792
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6793
 
$as_echo "yes" >&6; }
6794
 
else
6795
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6796
 
$as_echo "no, using $LN_S" >&6; }
6797
 
fi
6798
 
 
6799
 
# find the maximum length of command line arguments
6800
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
6801
 
$as_echo_n "checking the maximum length of command line arguments... " >&6; }
6802
 
if ${lt_cv_sys_max_cmd_len+:} false; then :
6803
 
  $as_echo_n "(cached) " >&6
6804
 
else
6805
 
    i=0
6806
 
  teststring="ABCD"
6807
 
 
6808
 
  case $build_os in
6809
 
  msdosdjgpp*)
6810
 
    # On DJGPP, this test can blow up pretty badly due to problems in libc
6811
 
    # (any single argument exceeding 2000 bytes causes a buffer overrun
6812
 
    # during glob expansion).  Even if it were fixed, the result of this
6813
 
    # check would be larger than it should be.
6814
 
    lt_cv_sys_max_cmd_len=12288;    # 12K is about right
6815
 
    ;;
6816
 
 
6817
 
  gnu*)
6818
 
    # Under GNU Hurd, this test is not required because there is
6819
 
    # no limit to the length of command line arguments.
6820
 
    # Libtool will interpret -1 as no limit whatsoever
6821
 
    lt_cv_sys_max_cmd_len=-1;
6822
 
    ;;
6823
 
 
6824
 
  cygwin* | mingw* | cegcc*)
6825
 
    # On Win9x/ME, this test blows up -- it succeeds, but takes
6826
 
    # about 5 minutes as the teststring grows exponentially.
6827
 
    # Worse, since 9x/ME are not pre-emptively multitasking,
6828
 
    # you end up with a "frozen" computer, even though with patience
6829
 
    # the test eventually succeeds (with a max line length of 256k).
6830
 
    # Instead, let's just punt: use the minimum linelength reported by
6831
 
    # all of the supported platforms: 8192 (on NT/2K/XP).
6832
 
    lt_cv_sys_max_cmd_len=8192;
6833
 
    ;;
6834
 
 
6835
 
  mint*)
6836
 
    # On MiNT this can take a long time and run out of memory.
6837
 
    lt_cv_sys_max_cmd_len=8192;
6838
 
    ;;
6839
 
 
6840
 
  amigaos*)
6841
 
    # On AmigaOS with pdksh, this test takes hours, literally.
6842
 
    # So we just punt and use a minimum line length of 8192.
6843
 
    lt_cv_sys_max_cmd_len=8192;
6844
 
    ;;
6845
 
 
6846
 
  netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
6847
 
    # This has been around since 386BSD, at least.  Likely further.
6848
 
    if test -x /sbin/sysctl; then
6849
 
      lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
6850
 
    elif test -x /usr/sbin/sysctl; then
6851
 
      lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
6852
 
    else
6853
 
      lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
6854
 
    fi
6855
 
    # And add a safety zone
6856
 
    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6857
 
    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6858
 
    ;;
6859
 
 
6860
 
  interix*)
6861
 
    # We know the value 262144 and hardcode it with a safety zone (like BSD)
6862
 
    lt_cv_sys_max_cmd_len=196608
6863
 
    ;;
6864
 
 
6865
 
  os2*)
6866
 
    # The test takes a long time on OS/2.
6867
 
    lt_cv_sys_max_cmd_len=8192
6868
 
    ;;
6869
 
 
6870
 
  osf*)
6871
 
    # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6872
 
    # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6873
 
    # nice to cause kernel panics so lets avoid the loop below.
6874
 
    # First set a reasonable default.
6875
 
    lt_cv_sys_max_cmd_len=16384
6876
 
    #
6877
 
    if test -x /sbin/sysconfig; then
6878
 
      case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6879
 
        *1*) lt_cv_sys_max_cmd_len=-1 ;;
6880
 
      esac
6881
 
    fi
6882
 
    ;;
6883
 
  sco3.2v5*)
6884
 
    lt_cv_sys_max_cmd_len=102400
6885
 
    ;;
6886
 
  sysv5* | sco5v6* | sysv4.2uw2*)
6887
 
    kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6888
 
    if test -n "$kargmax"; then
6889
 
      lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[  ]//'`
6890
 
    else
6891
 
      lt_cv_sys_max_cmd_len=32768
6892
 
    fi
6893
 
    ;;
6894
 
  *)
6895
 
    lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
6896
 
    if test -n "$lt_cv_sys_max_cmd_len"; then
6897
 
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6898
 
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6899
 
    else
6900
 
      # Make teststring a little bigger before we do anything with it.
6901
 
      # a 1K string should be a reasonable start.
6902
 
      for i in 1 2 3 4 5 6 7 8 ; do
6903
 
        teststring=$teststring$teststring
6904
 
      done
6905
 
      SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
6906
 
      # If test is not a shell built-in, we'll probably end up computing a
6907
 
      # maximum length that is only half of the actual maximum length, but
6908
 
      # we can't tell.
6909
 
      while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
6910
 
                 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
6911
 
              test $i != 17 # 1/2 MB should be enough
6912
 
      do
6913
 
        i=`expr $i + 1`
6914
 
        teststring=$teststring$teststring
6915
 
      done
6916
 
      # Only check the string length outside the loop.
6917
 
      lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
6918
 
      teststring=
6919
 
      # Add a significant safety factor because C++ compilers can tack on
6920
 
      # massive amounts of additional arguments before passing them to the
6921
 
      # linker.  It appears as though 1/2 is a usable value.
6922
 
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
6923
 
    fi
6924
 
    ;;
6925
 
  esac
6926
 
 
6927
 
fi
6928
 
 
6929
 
if test -n $lt_cv_sys_max_cmd_len ; then
6930
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
6931
 
$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6932
 
else
6933
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
6934
 
$as_echo "none" >&6; }
6935
 
fi
6936
 
max_cmd_len=$lt_cv_sys_max_cmd_len
6937
 
 
6938
 
    
6939
 
    
6940
 
    
6941
 
 
6942
 
 
6943
 
: ${CP="cp -f"}
6944
 
: ${MV="mv -f"}
6945
 
: ${RM="rm -f"}
6946
 
 
6947
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
6948
 
$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
6949
 
# Try some XSI features
6950
 
xsi_shell=no
6951
 
( _lt_dummy="a/b/c"
6952
 
  test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
6953
 
      = c,a/b,b/c, \
6954
 
    && eval 'test $(( 1 + 1 )) -eq 2 \
6955
 
    && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
6956
 
  && xsi_shell=yes
6957
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
6958
 
$as_echo "$xsi_shell" >&6; }
6959
 
 
6960
 
 
6961
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
6962
 
$as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
6963
 
lt_shell_append=no
6964
 
( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
6965
 
    >/dev/null 2>&1 \
6966
 
  && lt_shell_append=yes
6967
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
6968
 
$as_echo "$lt_shell_append" >&6; }
6969
 
 
6970
 
 
6971
 
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6972
 
  lt_unset=unset
6973
 
else
6974
 
  lt_unset=false
6975
 
fi
6976
 
 
6977
 
    
6978
 
    
6979
 
    
6980
 
 
6981
 
# test EBCDIC or ASCII
6982
 
case `echo X|tr X '\101'` in
6983
 
 A) # ASCII based system
6984
 
    # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6985
 
  lt_SP2NL='tr \040 \012'
6986
 
  lt_NL2SP='tr \015\012 \040\040'
6987
 
  ;;
6988
 
 *) # EBCDIC based system
6989
 
  lt_SP2NL='tr \100 \n'
6990
 
  lt_NL2SP='tr \r\n \100\100'
6991
 
  ;;
6992
 
esac
6993
 
 
6994
 
    
6995
 
    
6996
 
    
6997
 
 
6998
 
    
6999
 
    
7000
 
    
7001
 
 
7002
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
7003
 
$as_echo_n "checking how to convert $build file names to $host format... " >&6; }
7004
 
if ${lt_cv_to_host_file_cmd+:} false; then :
7005
 
  $as_echo_n "(cached) " >&6
7006
 
else
7007
 
  case $host in
7008
 
  *-*-mingw* )
7009
 
    case $build in
7010
 
      *-*-mingw* ) # actually msys
7011
 
        lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
7012
 
        ;;
7013
 
      *-*-cygwin* )
7014
 
        lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
7015
 
        ;;
7016
 
      * ) # otherwise, assume *nix
7017
 
        lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
7018
 
        ;;
7019
 
    esac
7020
 
    ;;
7021
 
  *-*-cygwin* )
7022
 
    case $build in
7023
 
      *-*-mingw* ) # actually msys
7024
 
        lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
7025
 
        ;;
7026
 
      *-*-cygwin* )
7027
 
        lt_cv_to_host_file_cmd=func_convert_file_noop
7028
 
        ;;
7029
 
      * ) # otherwise, assume *nix
7030
 
        lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
7031
 
        ;;
7032
 
    esac
7033
 
    ;;
7034
 
  * ) # unhandled hosts (and "normal" native builds)
7035
 
    lt_cv_to_host_file_cmd=func_convert_file_noop
7036
 
    ;;
7037
 
esac
7038
 
 
7039
 
fi
7040
 
 
7041
 
to_host_file_cmd=$lt_cv_to_host_file_cmd
7042
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
7043
 
$as_echo "$lt_cv_to_host_file_cmd" >&6; }
7044
 
 
7045
 
    
7046
 
    
7047
 
    
7048
 
 
7049
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
7050
 
$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
7051
 
if ${lt_cv_to_tool_file_cmd+:} false; then :
7052
 
  $as_echo_n "(cached) " >&6
7053
 
else
7054
 
  #assume ordinary cross tools, or native build.
7055
 
lt_cv_to_tool_file_cmd=func_convert_file_noop
7056
 
case $host in
7057
 
  *-*-mingw* )
7058
 
    case $build in
7059
 
      *-*-mingw* ) # actually msys
7060
 
        lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
7061
 
        ;;
7062
 
    esac
7063
 
    ;;
7064
 
esac
7065
 
 
7066
 
fi
7067
 
 
7068
 
to_tool_file_cmd=$lt_cv_to_tool_file_cmd
7069
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
7070
 
$as_echo "$lt_cv_to_tool_file_cmd" >&6; }
7071
 
 
7072
 
    
7073
 
    
7074
 
    
7075
 
 
7076
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
7077
 
$as_echo_n "checking for $LD option to reload object files... " >&6; }
7078
 
if ${lt_cv_ld_reload_flag+:} false; then :
7079
 
  $as_echo_n "(cached) " >&6
7080
 
else
7081
 
  lt_cv_ld_reload_flag='-r'
7082
 
fi
7083
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
7084
 
$as_echo "$lt_cv_ld_reload_flag" >&6; }
7085
 
reload_flag=$lt_cv_ld_reload_flag
7086
 
case $reload_flag in
7087
 
"" | " "*) ;;
7088
 
*) reload_flag=" $reload_flag" ;;
7089
 
esac
7090
 
reload_cmds='$LD$reload_flag -o $output$reload_objs'
7091
 
case $host_os in
7092
 
  cygwin* | mingw* | pw32* | cegcc*)
7093
 
    if test "$GCC" != yes; then
7094
 
      reload_cmds=false
7095
 
    fi
7096
 
    ;;
7097
 
  darwin*)
7098
 
    if test "$GCC" = yes; then
7099
 
      reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
7100
 
    else
7101
 
      reload_cmds='$LD$reload_flag -o $output$reload_objs'
7102
 
    fi
7103
 
    ;;
7104
 
esac
7105
 
 
7106
 
    
7107
 
    
7108
 
    
7109
 
 
7110
 
    
7111
 
    
7112
 
    
7113
 
 
7114
 
if test -n "$ac_tool_prefix"; then
7115
 
  # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
7116
 
set dummy ${ac_tool_prefix}objdump; ac_word=$2
7117
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7118
 
$as_echo_n "checking for $ac_word... " >&6; }
7119
 
if ${ac_cv_prog_OBJDUMP+:} false; then :
7120
 
  $as_echo_n "(cached) " >&6
7121
 
else
7122
 
  if test -n "$OBJDUMP"; then
7123
 
  ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
7124
 
else
7125
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7126
 
for as_dir in $PATH
7127
 
do
7128
 
  IFS=$as_save_IFS
7129
 
  test -z "$as_dir" && as_dir=.
7130
 
    for ac_exec_ext in '' $ac_executable_extensions; do
7131
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7132
 
    ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
7133
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7134
 
    break 2
7135
 
  fi
7136
 
done
7137
 
  done
7138
 
IFS=$as_save_IFS
7139
 
 
7140
 
fi
7141
 
fi
7142
 
OBJDUMP=$ac_cv_prog_OBJDUMP
7143
 
if test -n "$OBJDUMP"; then
7144
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
7145
 
$as_echo "$OBJDUMP" >&6; }
7146
 
else
7147
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7148
 
$as_echo "no" >&6; }
7149
 
fi
7150
 
 
7151
 
 
7152
 
fi
7153
 
if test -z "$ac_cv_prog_OBJDUMP"; then
7154
 
  ac_ct_OBJDUMP=$OBJDUMP
7155
 
  # Extract the first word of "objdump", so it can be a program name with args.
7156
 
set dummy objdump; ac_word=$2
7157
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7158
 
$as_echo_n "checking for $ac_word... " >&6; }
7159
 
if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
7160
 
  $as_echo_n "(cached) " >&6
7161
 
else
7162
 
  if test -n "$ac_ct_OBJDUMP"; then
7163
 
  ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
7164
 
else
7165
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7166
 
for as_dir in $PATH
7167
 
do
7168
 
  IFS=$as_save_IFS
7169
 
  test -z "$as_dir" && as_dir=.
7170
 
    for ac_exec_ext in '' $ac_executable_extensions; do
7171
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7172
 
    ac_cv_prog_ac_ct_OBJDUMP="objdump"
7173
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7174
 
    break 2
7175
 
  fi
7176
 
done
7177
 
  done
7178
 
IFS=$as_save_IFS
7179
 
 
7180
 
fi
7181
 
fi
7182
 
ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
7183
 
if test -n "$ac_ct_OBJDUMP"; then
7184
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
7185
 
$as_echo "$ac_ct_OBJDUMP" >&6; }
7186
 
else
7187
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7188
 
$as_echo "no" >&6; }
7189
 
fi
7190
 
 
7191
 
  if test "x$ac_ct_OBJDUMP" = x; then
7192
 
    OBJDUMP="false"
7193
 
  else
7194
 
    case $cross_compiling:$ac_tool_warned in
7195
 
yes:)
7196
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7197
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7198
 
ac_tool_warned=yes ;;
7199
 
esac
7200
 
    OBJDUMP=$ac_ct_OBJDUMP
7201
 
  fi
7202
 
else
7203
 
  OBJDUMP="$ac_cv_prog_OBJDUMP"
7204
 
fi
7205
 
 
7206
 
test -z "$OBJDUMP" && OBJDUMP=objdump
7207
 
 
7208
 
    
7209
 
    
7210
 
    
7211
 
 
7212
 
 
7213
 
 
7214
 
 
7215
 
 
7216
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
7217
 
$as_echo_n "checking how to recognize dependent libraries... " >&6; }
7218
 
if ${lt_cv_deplibs_check_method+:} false; then :
7219
 
  $as_echo_n "(cached) " >&6
7220
 
else
7221
 
  lt_cv_file_magic_cmd='$MAGIC_CMD'
7222
 
lt_cv_file_magic_test_file=
7223
 
lt_cv_deplibs_check_method='unknown'
7224
 
# Need to set the preceding variable on all platforms that support
7225
 
# interlibrary dependencies.
7226
 
# 'none' -- dependencies not supported.
7227
 
# `unknown' -- same as none, but documents that we really don't know.
7228
 
# 'pass_all' -- all dependencies passed with no checks.
7229
 
# 'test_compile' -- check by making test program.
7230
 
# 'file_magic [[regex]]' -- check by looking for files in library path
7231
 
# which responds to the $file_magic_cmd with a given extended regex.
7232
 
# If you have `file' or equivalent on your system and you're not sure
7233
 
# whether `pass_all' will *always* work, you probably want this one.
7234
 
 
7235
 
case $host_os in
7236
 
aix[4-9]*)
7237
 
  lt_cv_deplibs_check_method=pass_all
7238
 
  ;;
7239
 
 
7240
 
beos*)
7241
 
  lt_cv_deplibs_check_method=pass_all
7242
 
  ;;
7243
 
 
7244
 
bsdi[45]*)
7245
 
  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
7246
 
  lt_cv_file_magic_cmd='/usr/bin/file -L'
7247
 
  lt_cv_file_magic_test_file=/shlib/libc.so
7248
 
  ;;
7249
 
 
7250
 
cygwin*)
7251
 
  # func_win32_libid is a shell function defined in ltmain.sh
7252
 
  lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
7253
 
  lt_cv_file_magic_cmd='func_win32_libid'
7254
 
  ;;
7255
 
 
7256
 
mingw* | pw32*)
7257
 
  # Base MSYS/MinGW do not provide the 'file' command needed by
7258
 
  # func_win32_libid shell function, so use a weaker test based on 'objdump',
7259
 
  # unless we find 'file', for example because we are cross-compiling.
7260
 
  # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
7261
 
  if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
7262
 
    lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
7263
 
    lt_cv_file_magic_cmd='func_win32_libid'
7264
 
  else
7265
 
    # Keep this pattern in sync with the one in func_win32_libid.
7266
 
    lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
7267
 
    lt_cv_file_magic_cmd='$OBJDUMP -f'
7268
 
  fi
7269
 
  ;;
7270
 
 
7271
 
cegcc*)
7272
 
  # use the weaker test based on 'objdump'. See mingw*.
7273
 
  lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
7274
 
  lt_cv_file_magic_cmd='$OBJDUMP -f'
7275
 
  ;;
7276
 
 
7277
 
darwin* | rhapsody*)
7278
 
  lt_cv_deplibs_check_method=pass_all
7279
 
  ;;
7280
 
 
7281
 
freebsd* | dragonfly*)
7282
 
  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
7283
 
    case $host_cpu in
7284
 
    i*86 )
7285
 
      # Not sure whether the presence of OpenBSD here was a mistake.
7286
 
      # Let's accept both of them until this is cleared up.
7287
 
      lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
7288
 
      lt_cv_file_magic_cmd=/usr/bin/file
7289
 
      lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
7290
 
      ;;
7291
 
    esac
7292
 
  else
7293
 
    lt_cv_deplibs_check_method=pass_all
7294
 
  fi
7295
 
  ;;
7296
 
 
7297
 
gnu*)
7298
 
  lt_cv_deplibs_check_method=pass_all
7299
 
  ;;
7300
 
 
7301
 
haiku*)
7302
 
  lt_cv_deplibs_check_method=pass_all
7303
 
  ;;
7304
 
 
7305
 
hpux10.20* | hpux11*)
7306
 
  lt_cv_file_magic_cmd=/usr/bin/file
7307
 
  case $host_cpu in
7308
 
  ia64*)
7309
 
    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
7310
 
    lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
7311
 
    ;;
7312
 
  hppa*64*)
7313
 
    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)?[, -]* PA-RISC [0-9]\.[0-9]'
7314
 
    lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
7315
 
    ;;
7316
 
  *)
7317
 
    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
7318
 
    lt_cv_file_magic_test_file=/usr/lib/libc.sl
7319
 
    ;;
7320
 
  esac
7321
 
  ;;
7322
 
 
7323
 
interix[3-9]*)
7324
 
  # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
7325
 
  lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
7326
 
  ;;
7327
 
 
7328
 
irix5* | irix6* | nonstopux*)
7329
 
  case $LD in
7330
 
  *-32|*"-32 ") libmagic=32-bit;;
7331
 
  *-n32|*"-n32 ") libmagic=N32;;
7332
 
  *-64|*"-64 ") libmagic=64-bit;;
7333
 
  *) libmagic=never-match;;
7334
 
  esac
7335
 
  lt_cv_deplibs_check_method=pass_all
7336
 
  ;;
7337
 
 
7338
 
# This must be glibc/ELF.
7339
 
linux* | k*bsd*-gnu | kopensolaris*-gnu)
7340
 
  lt_cv_deplibs_check_method=pass_all
7341
 
  ;;
7342
 
 
7343
 
netbsd*)
7344
 
  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
7345
 
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7346
 
  else
7347
 
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
7348
 
  fi
7349
 
  ;;
7350
 
 
7351
 
newos6*)
7352
 
  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
7353
 
  lt_cv_file_magic_cmd=/usr/bin/file
7354
 
  lt_cv_file_magic_test_file=/usr/lib/libnls.so
7355
 
  ;;
7356
 
 
7357
 
*nto* | *qnx*)
7358
 
  lt_cv_deplibs_check_method=pass_all
7359
 
  ;;
7360
 
 
7361
 
openbsd*)
7362
 
  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
7363
 
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
7364
 
  else
7365
 
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7366
 
  fi
7367
 
  ;;
7368
 
 
7369
 
osf3* | osf4* | osf5*)
7370
 
  lt_cv_deplibs_check_method=pass_all
7371
 
  ;;
7372
 
 
7373
 
rdos*)
7374
 
  lt_cv_deplibs_check_method=pass_all
7375
 
  ;;
7376
 
 
7377
 
solaris*)
7378
 
  lt_cv_deplibs_check_method=pass_all
7379
 
  ;;
7380
 
 
7381
 
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
7382
 
  lt_cv_deplibs_check_method=pass_all
7383
 
  ;;
7384
 
 
7385
 
sysv4 | sysv4.3*)
7386
 
  case $host_vendor in
7387
 
  motorola)
7388
 
    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]'
7389
 
    lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
7390
 
    ;;
7391
 
  ncr)
7392
 
    lt_cv_deplibs_check_method=pass_all
7393
 
    ;;
7394
 
  sequent)
7395
 
    lt_cv_file_magic_cmd='/bin/file'
7396
 
    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
7397
 
    ;;
7398
 
  sni)
7399
 
    lt_cv_file_magic_cmd='/bin/file'
7400
 
    lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
7401
 
    lt_cv_file_magic_test_file=/lib/libc.so
7402
 
    ;;
7403
 
  siemens)
7404
 
    lt_cv_deplibs_check_method=pass_all
7405
 
    ;;
7406
 
  pc)
7407
 
    lt_cv_deplibs_check_method=pass_all
7408
 
    ;;
7409
 
  esac
7410
 
  ;;
7411
 
 
7412
 
tpf*)
7413
 
  lt_cv_deplibs_check_method=pass_all
7414
 
  ;;
7415
 
esac
7416
 
 
7417
 
fi
7418
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
7419
 
$as_echo "$lt_cv_deplibs_check_method" >&6; }
7420
 
 
7421
 
file_magic_glob=
7422
 
want_nocaseglob=no
7423
 
if test "$build" = "$host"; then
7424
 
  case $host_os in
7425
 
  mingw* | pw32*)
7426
 
    if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
7427
 
      want_nocaseglob=yes
7428
 
    else
7429
 
      file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
7430
 
    fi
7431
 
    ;;
7432
 
  esac
7433
 
fi
7434
 
 
7435
 
file_magic_cmd=$lt_cv_file_magic_cmd
7436
 
deplibs_check_method=$lt_cv_deplibs_check_method
7437
 
test -z "$deplibs_check_method" && deplibs_check_method=unknown
7438
 
 
7439
 
 
7440
 
    
7441
 
    
7442
 
    
7443
 
 
7444
 
 
7445
 
    
7446
 
    
7447
 
    
7448
 
 
7449
 
 
7450
 
    
7451
 
    
7452
 
    
7453
 
 
7454
 
 
7455
 
    
7456
 
    
7457
 
    
7458
 
 
7459
 
 
7460
 
if test -n "$ac_tool_prefix"; then
7461
 
  # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7462
 
set dummy ${ac_tool_prefix}dlltool; ac_word=$2
7463
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7464
 
$as_echo_n "checking for $ac_word... " >&6; }
7465
 
if ${ac_cv_prog_DLLTOOL+:} false; then :
7466
 
  $as_echo_n "(cached) " >&6
7467
 
else
7468
 
  if test -n "$DLLTOOL"; then
7469
 
  ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7470
 
else
7471
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7472
 
for as_dir in $PATH
7473
 
do
7474
 
  IFS=$as_save_IFS
7475
 
  test -z "$as_dir" && as_dir=.
7476
 
    for ac_exec_ext in '' $ac_executable_extensions; do
7477
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7478
 
    ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
7479
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7480
 
    break 2
7481
 
  fi
7482
 
done
7483
 
  done
7484
 
IFS=$as_save_IFS
7485
 
 
7486
 
fi
7487
 
fi
7488
 
DLLTOOL=$ac_cv_prog_DLLTOOL
7489
 
if test -n "$DLLTOOL"; then
7490
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7491
 
$as_echo "$DLLTOOL" >&6; }
7492
 
else
7493
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7494
 
$as_echo "no" >&6; }
7495
 
fi
7496
 
 
7497
 
 
7498
 
fi
7499
 
if test -z "$ac_cv_prog_DLLTOOL"; then
7500
 
  ac_ct_DLLTOOL=$DLLTOOL
7501
 
  # Extract the first word of "dlltool", so it can be a program name with args.
7502
 
set dummy dlltool; ac_word=$2
7503
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7504
 
$as_echo_n "checking for $ac_word... " >&6; }
7505
 
if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
7506
 
  $as_echo_n "(cached) " >&6
7507
 
else
7508
 
  if test -n "$ac_ct_DLLTOOL"; then
7509
 
  ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
7510
 
else
7511
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7512
 
for as_dir in $PATH
7513
 
do
7514
 
  IFS=$as_save_IFS
7515
 
  test -z "$as_dir" && as_dir=.
7516
 
    for ac_exec_ext in '' $ac_executable_extensions; do
7517
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7518
 
    ac_cv_prog_ac_ct_DLLTOOL="dlltool"
7519
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7520
 
    break 2
7521
 
  fi
7522
 
done
7523
 
  done
7524
 
IFS=$as_save_IFS
7525
 
 
7526
 
fi
7527
 
fi
7528
 
ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
7529
 
if test -n "$ac_ct_DLLTOOL"; then
7530
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
7531
 
$as_echo "$ac_ct_DLLTOOL" >&6; }
7532
 
else
7533
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7534
 
$as_echo "no" >&6; }
7535
 
fi
7536
 
 
7537
 
  if test "x$ac_ct_DLLTOOL" = x; then
7538
 
    DLLTOOL="false"
7539
 
  else
7540
 
    case $cross_compiling:$ac_tool_warned in
7541
 
yes:)
7542
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7543
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7544
 
ac_tool_warned=yes ;;
7545
 
esac
7546
 
    DLLTOOL=$ac_ct_DLLTOOL
7547
 
  fi
7548
 
else
7549
 
  DLLTOOL="$ac_cv_prog_DLLTOOL"
7550
 
fi
7551
 
 
7552
 
test -z "$DLLTOOL" && DLLTOOL=dlltool
7553
 
 
7554
 
    
7555
 
    
7556
 
    
7557
 
 
7558
 
 
7559
 
 
7560
 
 
7561
 
 
7562
 
 
7563
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
7564
 
$as_echo_n "checking how to associate runtime and link libraries... " >&6; }
7565
 
if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
7566
 
  $as_echo_n "(cached) " >&6
7567
 
else
7568
 
  lt_cv_sharedlib_from_linklib_cmd='unknown'
7569
 
 
7570
 
case $host_os in
7571
 
cygwin* | mingw* | pw32* | cegcc*)
7572
 
  # two different shell functions defined in ltmain.sh
7573
 
  # decide which to use based on capabilities of $DLLTOOL
7574
 
  case `$DLLTOOL --help 2>&1` in
7575
 
  *--identify-strict*)
7576
 
    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
7577
 
    ;;
7578
 
  *)
7579
 
    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
7580
 
    ;;
7581
 
  esac
7582
 
  ;;
7583
 
*)
7584
 
  # fallback: assume linklib IS sharedlib
7585
 
  lt_cv_sharedlib_from_linklib_cmd="$ECHO"
7586
 
  ;;
7587
 
esac
7588
 
 
7589
 
fi
7590
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
7591
 
$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
7592
 
sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
7593
 
test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
7594
 
 
7595
 
 
7596
 
    
7597
 
    
7598
 
    
7599
 
 
7600
 
 
7601
 
if test -n "$ac_tool_prefix"; then
7602
 
  for ac_prog in ar
7603
 
  do
7604
 
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
7605
 
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
7606
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7607
 
$as_echo_n "checking for $ac_word... " >&6; }
7608
 
if ${ac_cv_prog_AR+:} false; then :
7609
 
  $as_echo_n "(cached) " >&6
7610
 
else
7611
 
  if test -n "$AR"; then
7612
 
  ac_cv_prog_AR="$AR" # Let the user override the test.
7613
 
else
7614
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7615
 
for as_dir in $PATH
7616
 
do
7617
 
  IFS=$as_save_IFS
7618
 
  test -z "$as_dir" && as_dir=.
7619
 
    for ac_exec_ext in '' $ac_executable_extensions; do
7620
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7621
 
    ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
7622
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7623
 
    break 2
7624
 
  fi
7625
 
done
7626
 
  done
7627
 
IFS=$as_save_IFS
7628
 
 
7629
 
fi
7630
 
fi
7631
 
AR=$ac_cv_prog_AR
7632
 
if test -n "$AR"; then
7633
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
7634
 
$as_echo "$AR" >&6; }
7635
 
else
7636
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7637
 
$as_echo "no" >&6; }
7638
 
fi
7639
 
 
7640
 
 
7641
 
    test -n "$AR" && break
7642
 
  done
7643
 
fi
7644
 
if test -z "$AR"; then
7645
 
  ac_ct_AR=$AR
7646
 
  for ac_prog in ar
7647
 
do
7648
 
  # Extract the first word of "$ac_prog", so it can be a program name with args.
7649
 
set dummy $ac_prog; ac_word=$2
7650
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7651
 
$as_echo_n "checking for $ac_word... " >&6; }
7652
 
if ${ac_cv_prog_ac_ct_AR+:} false; then :
7653
 
  $as_echo_n "(cached) " >&6
7654
 
else
7655
 
  if test -n "$ac_ct_AR"; then
7656
 
  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
7657
 
else
7658
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7659
 
for as_dir in $PATH
7660
 
do
7661
 
  IFS=$as_save_IFS
7662
 
  test -z "$as_dir" && as_dir=.
7663
 
    for ac_exec_ext in '' $ac_executable_extensions; do
7664
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7665
 
    ac_cv_prog_ac_ct_AR="$ac_prog"
7666
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7667
 
    break 2
7668
 
  fi
7669
 
done
7670
 
  done
7671
 
IFS=$as_save_IFS
7672
 
 
7673
 
fi
7674
 
fi
7675
 
ac_ct_AR=$ac_cv_prog_ac_ct_AR
7676
 
if test -n "$ac_ct_AR"; then
7677
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
7678
 
$as_echo "$ac_ct_AR" >&6; }
7679
 
else
7680
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7681
 
$as_echo "no" >&6; }
7682
 
fi
7683
 
 
7684
 
 
7685
 
  test -n "$ac_ct_AR" && break
7686
 
done
7687
 
 
7688
 
  if test "x$ac_ct_AR" = x; then
7689
 
    AR="false"
7690
 
  else
7691
 
    case $cross_compiling:$ac_tool_warned in
7692
 
yes:)
7693
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7694
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7695
 
ac_tool_warned=yes ;;
7696
 
esac
7697
 
    AR=$ac_ct_AR
7698
 
  fi
7699
 
fi
7700
 
 
7701
 
: ${AR=ar}
7702
 
: ${AR_FLAGS=cru}
7703
 
 
7704
 
    
7705
 
    
7706
 
    
7707
 
 
7708
 
 
7709
 
    
7710
 
    
7711
 
    
7712
 
 
7713
 
 
7714
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
7715
 
$as_echo_n "checking for archiver @FILE support... " >&6; }
7716
 
if ${lt_cv_ar_at_file+:} false; then :
7717
 
  $as_echo_n "(cached) " >&6
7718
 
else
7719
 
  lt_cv_ar_at_file=no
7720
 
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7721
 
/* end confdefs.h.  */
7722
 
 
7723
 
int
7724
 
main ()
7725
 
{
7726
 
 
7727
 
  ;
7728
 
  return 0;
7729
 
}
7730
 
_ACEOF
7731
 
if ac_fn_c_try_compile "$LINENO"; then :
7732
 
  echo conftest.$ac_objext > conftest.lst
7733
 
      lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
7734
 
      { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
7735
 
  (eval $lt_ar_try) 2>&5
7736
 
  ac_status=$?
7737
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7738
 
  test $ac_status = 0; }
7739
 
      if test "$ac_status" -eq 0; then
7740
 
        # Ensure the archiver fails upon bogus file names.
7741
 
        rm -f conftest.$ac_objext libconftest.a
7742
 
        { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
7743
 
  (eval $lt_ar_try) 2>&5
7744
 
  ac_status=$?
7745
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7746
 
  test $ac_status = 0; }
7747
 
        if test "$ac_status" -ne 0; then
7748
 
          lt_cv_ar_at_file=@
7749
 
        fi
7750
 
      fi
7751
 
      rm -f conftest.* libconftest.a
7752
 
     
7753
 
fi
7754
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7755
 
  
7756
 
fi
7757
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
7758
 
$as_echo "$lt_cv_ar_at_file" >&6; }
7759
 
 
7760
 
if test "x$lt_cv_ar_at_file" = xno; then
7761
 
  archiver_list_spec=
7762
 
else
7763
 
  archiver_list_spec=$lt_cv_ar_at_file
7764
 
fi
7765
 
 
7766
 
    
7767
 
    
7768
 
    
7769
 
 
7770
 
 
7771
 
 
7772
 
if test -n "$ac_tool_prefix"; then
7773
 
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
7774
 
set dummy ${ac_tool_prefix}strip; ac_word=$2
7775
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7776
 
$as_echo_n "checking for $ac_word... " >&6; }
7777
 
if ${ac_cv_prog_STRIP+:} false; then :
7778
 
  $as_echo_n "(cached) " >&6
7779
 
else
7780
 
  if test -n "$STRIP"; then
7781
 
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
7782
 
else
7783
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7784
 
for as_dir in $PATH
7785
 
do
7786
 
  IFS=$as_save_IFS
7787
 
  test -z "$as_dir" && as_dir=.
7788
 
    for ac_exec_ext in '' $ac_executable_extensions; do
7789
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7790
 
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
7791
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7792
 
    break 2
7793
 
  fi
7794
 
done
7795
 
  done
7796
 
IFS=$as_save_IFS
7797
 
 
7798
 
fi
7799
 
fi
7800
 
STRIP=$ac_cv_prog_STRIP
7801
 
if test -n "$STRIP"; then
7802
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
7803
 
$as_echo "$STRIP" >&6; }
7804
 
else
7805
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7806
 
$as_echo "no" >&6; }
7807
 
fi
7808
 
 
7809
 
 
7810
 
fi
7811
 
if test -z "$ac_cv_prog_STRIP"; then
7812
 
  ac_ct_STRIP=$STRIP
7813
 
  # Extract the first word of "strip", so it can be a program name with args.
7814
 
set dummy strip; ac_word=$2
7815
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7816
 
$as_echo_n "checking for $ac_word... " >&6; }
7817
 
if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
7818
 
  $as_echo_n "(cached) " >&6
7819
 
else
7820
 
  if test -n "$ac_ct_STRIP"; then
7821
 
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
7822
 
else
7823
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7824
 
for as_dir in $PATH
7825
 
do
7826
 
  IFS=$as_save_IFS
7827
 
  test -z "$as_dir" && as_dir=.
7828
 
    for ac_exec_ext in '' $ac_executable_extensions; do
7829
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7830
 
    ac_cv_prog_ac_ct_STRIP="strip"
7831
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7832
 
    break 2
7833
 
  fi
7834
 
done
7835
 
  done
7836
 
IFS=$as_save_IFS
7837
 
 
7838
 
fi
7839
 
fi
7840
 
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
7841
 
if test -n "$ac_ct_STRIP"; then
7842
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
7843
 
$as_echo "$ac_ct_STRIP" >&6; }
7844
 
else
7845
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7846
 
$as_echo "no" >&6; }
7847
 
fi
7848
 
 
7849
 
  if test "x$ac_ct_STRIP" = x; then
7850
 
    STRIP=":"
7851
 
  else
7852
 
    case $cross_compiling:$ac_tool_warned in
7853
 
yes:)
7854
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7855
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7856
 
ac_tool_warned=yes ;;
7857
 
esac
7858
 
    STRIP=$ac_ct_STRIP
7859
 
  fi
7860
 
else
7861
 
  STRIP="$ac_cv_prog_STRIP"
7862
 
fi
7863
 
 
7864
 
test -z "$STRIP" && STRIP=:
7865
 
 
7866
 
    
7867
 
    
7868
 
    
7869
 
 
7870
 
 
7871
 
if test -n "$ac_tool_prefix"; then
7872
 
  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
7873
 
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
7874
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7875
 
$as_echo_n "checking for $ac_word... " >&6; }
7876
 
if ${ac_cv_prog_RANLIB+:} false; then :
7877
 
  $as_echo_n "(cached) " >&6
7878
 
else
7879
 
  if test -n "$RANLIB"; then
7880
 
  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
7881
 
else
7882
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7883
 
for as_dir in $PATH
7884
 
do
7885
 
  IFS=$as_save_IFS
7886
 
  test -z "$as_dir" && as_dir=.
7887
 
    for ac_exec_ext in '' $ac_executable_extensions; do
7888
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7889
 
    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
7890
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7891
 
    break 2
7892
 
  fi
7893
 
done
7894
 
  done
7895
 
IFS=$as_save_IFS
7896
 
 
7897
 
fi
7898
 
fi
7899
 
RANLIB=$ac_cv_prog_RANLIB
7900
 
if test -n "$RANLIB"; then
7901
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
7902
 
$as_echo "$RANLIB" >&6; }
7903
 
else
7904
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7905
 
$as_echo "no" >&6; }
7906
 
fi
7907
 
 
7908
 
 
7909
 
fi
7910
 
if test -z "$ac_cv_prog_RANLIB"; then
7911
 
  ac_ct_RANLIB=$RANLIB
7912
 
  # Extract the first word of "ranlib", so it can be a program name with args.
7913
 
set dummy ranlib; ac_word=$2
7914
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7915
 
$as_echo_n "checking for $ac_word... " >&6; }
7916
 
if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
7917
 
  $as_echo_n "(cached) " >&6
7918
 
else
7919
 
  if test -n "$ac_ct_RANLIB"; then
7920
 
  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
7921
 
else
7922
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7923
 
for as_dir in $PATH
7924
 
do
7925
 
  IFS=$as_save_IFS
7926
 
  test -z "$as_dir" && as_dir=.
7927
 
    for ac_exec_ext in '' $ac_executable_extensions; do
7928
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7929
 
    ac_cv_prog_ac_ct_RANLIB="ranlib"
7930
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7931
 
    break 2
7932
 
  fi
7933
 
done
7934
 
  done
7935
 
IFS=$as_save_IFS
7936
 
 
7937
 
fi
7938
 
fi
7939
 
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
7940
 
if test -n "$ac_ct_RANLIB"; then
7941
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
7942
 
$as_echo "$ac_ct_RANLIB" >&6; }
7943
 
else
7944
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7945
 
$as_echo "no" >&6; }
7946
 
fi
7947
 
 
7948
 
  if test "x$ac_ct_RANLIB" = x; then
7949
 
    RANLIB=":"
7950
 
  else
7951
 
    case $cross_compiling:$ac_tool_warned in
7952
 
yes:)
7953
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7954
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7955
 
ac_tool_warned=yes ;;
7956
 
esac
7957
 
    RANLIB=$ac_ct_RANLIB
7958
 
  fi
7959
 
else
7960
 
  RANLIB="$ac_cv_prog_RANLIB"
7961
 
fi
7962
 
 
7963
 
test -z "$RANLIB" && RANLIB=:
7964
 
 
7965
 
    
7966
 
    
7967
 
    
7968
 
 
7969
 
 
7970
 
# Determine commands to create old-style static archives.
7971
 
old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
7972
 
old_postinstall_cmds='chmod 644 $oldlib'
7973
 
old_postuninstall_cmds=
7974
 
 
7975
 
if test -n "$RANLIB"; then
7976
 
  case $host_os in
7977
 
  openbsd*)
7978
 
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
7979
 
    ;;
7980
 
  *)
7981
 
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
7982
 
    ;;
7983
 
  esac
7984
 
  old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
7985
 
fi
7986
 
 
7987
 
case $host_os in
7988
 
  darwin*)
7989
 
    lock_old_archive_extraction=yes ;;
7990
 
  *)
7991
 
    lock_old_archive_extraction=no ;;
7992
 
esac
7993
 
 
7994
 
    
7995
 
    
7996
 
    
7997
 
 
7998
 
 
7999
 
    
8000
 
    
8001
 
    
8002
 
 
8003
 
 
8004
 
    
8005
 
    
8006
 
    
8007
 
 
8008
 
 
8009
 
    
8010
 
    
8011
 
    
8012
 
 
8013
 
 
8014
 
 
8015
 
 
8016
 
    
8017
 
    
8018
 
    
8019
 
 
8020
 
    
8021
 
    
8022
 
    
8023
 
 
8024
 
    
8025
 
    
8026
 
    
8027
 
 
8028
 
    
8029
 
    
8030
 
    
8031
 
 
8032
 
# If no C compiler was specified, use CC.
8033
 
LTCC=${LTCC-"$CC"}
8034
 
 
8035
 
# If no C compiler flags were specified, use CFLAGS.
8036
 
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8037
 
 
8038
 
# Allow CC to be a program name with arguments.
8039
 
compiler=$CC
8040
 
 
8041
 
 
8042
 
# Check for command to grab the raw symbol name followed by C symbol from nm.
8043
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
8044
 
$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
8045
 
if ${lt_cv_sys_global_symbol_pipe+:} false; then :
8046
 
  $as_echo_n "(cached) " >&6
8047
 
else
8048
 
  
8049
 
# These are sane defaults that work on at least a few old systems.
8050
 
# [They come from Ultrix.  What could be older than Ultrix?!! ;)]
8051
 
 
8052
 
# Character class describing NM global symbol codes.
8053
 
symcode='[BCDEGRST]'
8054
 
 
8055
 
# Regexp to match symbols that can be accessed directly from C.
8056
 
sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
8057
 
 
8058
 
# Define system-specific variables.
8059
 
case $host_os in
8060
 
aix*)
8061
 
  symcode='[BCDT]'
8062
 
  ;;
8063
 
cygwin* | mingw* | pw32* | cegcc*)
8064
 
  symcode='[ABCDGISTW]'
8065
 
  ;;
8066
 
hpux*)
8067
 
  if test "$host_cpu" = ia64; then
8068
 
    symcode='[ABCDEGRST]'
8069
 
  fi
8070
 
  ;;
8071
 
irix* | nonstopux*)
8072
 
  symcode='[BCDEGRST]'
8073
 
  ;;
8074
 
osf*)
8075
 
  symcode='[BCDEGQRST]'
8076
 
  ;;
8077
 
solaris*)
8078
 
  symcode='[BDRT]'
8079
 
  ;;
8080
 
sco3.2v5*)
8081
 
  symcode='[DT]'
8082
 
  ;;
8083
 
sysv4.2uw2*)
8084
 
  symcode='[DT]'
8085
 
  ;;
8086
 
sysv5* | sco5v6* | unixware* | OpenUNIX*)
8087
 
  symcode='[ABDT]'
8088
 
  ;;
8089
 
sysv4)
8090
 
  symcode='[DFNSTU]'
8091
 
  ;;
8092
 
esac
8093
 
 
8094
 
# If we're using GNU nm, then use its standard symbol codes.
8095
 
case `$NM -V 2>&1` in
8096
 
*GNU* | *'with BFD'*)
8097
 
  symcode='[ABCDGIRSTW]' ;;
8098
 
esac
8099
 
 
8100
 
# Transform an extracted symbol line into a proper C declaration.
8101
 
# Some systems (esp. on ia64) link data and code symbols differently,
8102
 
# so use this general approach.
8103
 
lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
8104
 
 
8105
 
# Transform an extracted symbol line into symbol name and symbol address
8106
 
lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
8107
 
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'"
8108
 
 
8109
 
# Handle CRLF in mingw tool chain
8110
 
opt_cr=
8111
 
case $build_os in
8112
 
mingw*)
8113
 
  opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
8114
 
  ;;
8115
 
esac
8116
 
 
8117
 
# Try without a prefix underscore, then with it.
8118
 
for ac_symprfx in "" "_"; do
8119
 
 
8120
 
  # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
8121
 
  symxfrm="\\1 $ac_symprfx\\2 \\2"
8122
 
 
8123
 
  # Write the raw and C identifiers.
8124
 
  if test "$lt_cv_nm_interface" = "MS dumpbin"; then
8125
 
    # Fake it for dumpbin and say T for any non-static function
8126
 
    # and D for any global variable.
8127
 
    # Also find C++ and __fastcall symbols from MSVC++,
8128
 
    # which start with @ or ?.
8129
 
    lt_cv_sys_global_symbol_pipe="$AWK '"\
8130
 
"     {last_section=section; section=\$ 3};"\
8131
 
"     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
8132
 
"     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
8133
 
"     \$ 0!~/External *\|/{next};"\
8134
 
"     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
8135
 
"     {if(hide[section]) next};"\
8136
 
"     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
8137
 
"     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
8138
 
"     s[1]~/^[@?]/{print s[1], s[1]; next};"\
8139
 
"     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
8140
 
"     ' prfx=^$ac_symprfx"
8141
 
  else
8142
 
    lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
8143
 
  fi
8144
 
  lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
8145
 
 
8146
 
  # Check to see that the pipe works correctly.
8147
 
  pipe_works=no
8148
 
 
8149
 
  rm -f conftest*
8150
 
  cat > conftest.$ac_ext <<_LT_EOF
8151
 
#ifdef __cplusplus
8152
 
extern "C" {
8153
 
#endif
8154
 
char nm_test_var;
8155
 
void nm_test_func(void);
8156
 
void nm_test_func(void){}
8157
 
#ifdef __cplusplus
8158
 
}
8159
 
#endif
8160
 
int main(){nm_test_var='a';nm_test_func();return(0);}
8161
 
_LT_EOF
8162
 
 
8163
 
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8164
 
  (eval $ac_compile) 2>&5
8165
 
  ac_status=$?
8166
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8167
 
  test $ac_status = 0; }; then
8168
 
    # Now try to grab the symbols.
8169
 
    nlist=conftest.nm
8170
 
    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
8171
 
  (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
8172
 
  ac_status=$?
8173
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8174
 
  test $ac_status = 0; } && test -s "$nlist"; then
8175
 
      # Try sorting and uniquifying the output.
8176
 
      if sort "$nlist" | uniq > "$nlist"T; then
8177
 
        mv -f "$nlist"T "$nlist"
8178
 
      else
8179
 
        rm -f "$nlist"T
8180
 
      fi
8181
 
 
8182
 
      # Make sure that we snagged all the symbols we need.
8183
 
      if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
8184
 
        if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
8185
 
          cat <<_LT_EOF > conftest.$ac_ext
8186
 
/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
8187
 
#if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
8188
 
/* DATA imports from DLLs on WIN32 con't be const, because runtime
8189
 
   relocations are performed -- see ld's documentation on pseudo-relocs.  */
8190
 
# define LT@&t@_DLSYM_CONST
8191
 
#elif defined(__osf__)
8192
 
/* This system does not cope well with relocations in const data.  */
8193
 
# define LT@&t@_DLSYM_CONST
8194
 
#else
8195
 
# define LT@&t@_DLSYM_CONST const
8196
 
#endif
8197
 
 
8198
 
#ifdef __cplusplus
8199
 
extern "C" {
8200
 
#endif
8201
 
 
8202
 
_LT_EOF
8203
 
          # Now generate the symbol file.
8204
 
          eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
8205
 
 
8206
 
          cat <<_LT_EOF >> conftest.$ac_ext
8207
 
 
8208
 
/* The mapping between symbol names and symbols.  */
8209
 
LT@&t@_DLSYM_CONST struct {
8210
 
  const char *name;
8211
 
  void       *address;
8212
 
}
8213
 
lt__PROGRAM__LTX_preloaded_symbols[] =
8214
 
{
8215
 
  { "@PROGRAM@", (void *) 0 },
8216
 
_LT_EOF
8217
 
          $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
8218
 
          cat <<\_LT_EOF >> conftest.$ac_ext
8219
 
  {0, (void *) 0}
8220
 
};
8221
 
 
8222
 
/* This works around a problem in FreeBSD linker */
8223
 
#ifdef FREEBSD_WORKAROUND
8224
 
static const void *lt_preloaded_setup() {
8225
 
  return lt__PROGRAM__LTX_preloaded_symbols;
8226
 
}
8227
 
#endif
8228
 
 
8229
 
#ifdef __cplusplus
8230
 
}
8231
 
#endif
8232
 
_LT_EOF
8233
 
          # Now try linking the two files.
8234
 
          mv conftest.$ac_objext conftstm.$ac_objext
8235
 
          lt_globsym_save_LIBS=$LIBS
8236
 
          lt_globsym_save_CFLAGS=$CFLAGS
8237
 
          LIBS="conftstm.$ac_objext"
8238
 
          CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
8239
 
          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
8240
 
  (eval $ac_link) 2>&5
8241
 
  ac_status=$?
8242
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8243
 
  test $ac_status = 0; } && test -s conftest${ac_exeext}; then
8244
 
            pipe_works=yes
8245
 
          fi
8246
 
          LIBS=$lt_globsym_save_LIBS
8247
 
          CFLAGS=$lt_globsym_save_CFLAGS
8248
 
        else
8249
 
          echo "cannot find nm_test_func in $nlist" >&5
8250
 
        fi
8251
 
      else
8252
 
        echo "cannot find nm_test_var in $nlist" >&5
8253
 
      fi
8254
 
    else
8255
 
      echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
8256
 
    fi
8257
 
  else
8258
 
    echo "$progname: failed program was:" >&5
8259
 
    cat conftest.$ac_ext >&5
8260
 
  fi
8261
 
  rm -rf conftest* conftst*
8262
 
 
8263
 
  # Do not use the global_symbol_pipe unless it works.
8264
 
  if test "$pipe_works" = yes; then
8265
 
    break
8266
 
  else
8267
 
    lt_cv_sys_global_symbol_pipe=
8268
 
  fi
8269
 
done
8270
 
 
8271
 
fi
8272
 
 
8273
 
if test -z "$lt_cv_sys_global_symbol_pipe"; then
8274
 
  lt_cv_sys_global_symbol_to_cdecl=
8275
 
fi
8276
 
if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
8277
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
8278
 
$as_echo "failed" >&6; }
8279
 
else
8280
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
8281
 
$as_echo "ok" >&6; }
8282
 
fi
8283
 
 
8284
 
# Response file support.
8285
 
if test "$lt_cv_nm_interface" = "MS dumpbin"; then
8286
 
  nm_file_list_spec='@'
8287
 
elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
8288
 
  nm_file_list_spec='@'
8289
 
fi
8290
 
 
8291
 
 
8292
 
    
8293
 
    
8294
 
    
8295
 
 
8296
 
 
8297
 
    
8298
 
    
8299
 
    
8300
 
 
8301
 
 
8302
 
    
8303
 
    
8304
 
    
8305
 
 
8306
 
 
8307
 
    
8308
 
    
8309
 
    
8310
 
 
8311
 
 
8312
 
    
8313
 
    
8314
 
    
8315
 
 
8316
 
 
8317
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
8318
 
$as_echo_n "checking for sysroot... " >&6; }
8319
 
 
8320
 
@%:@ Check whether --with-sysroot was given.
8321
 
if test "${with_sysroot+set}" = set; then :
8322
 
  withval=$with_sysroot; 
8323
 
else
8324
 
  with_sysroot=no
8325
 
fi
8326
 
 
8327
 
 
8328
 
lt_sysroot=
8329
 
case ${with_sysroot} in #(
8330
 
 yes)
8331
 
   if test "$GCC" = yes; then
8332
 
     lt_sysroot=`$CC --print-sysroot 2>/dev/null`
8333
 
   fi
8334
 
   ;; #(
8335
 
 /*)
8336
 
   lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
8337
 
   ;; #(
8338
 
 no|'')
8339
 
   ;; #(
8340
 
 *)
8341
 
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
8342
 
$as_echo "${with_sysroot}" >&6; }
8343
 
   as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
8344
 
   ;;
8345
 
esac
8346
 
 
8347
 
 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
8348
 
$as_echo "${lt_sysroot:-no}" >&6; }
8349
 
 
8350
 
    
8351
 
    
8352
 
    
8353
 
 
8354
 
@%:@ Check whether --enable-libtool-lock was given.
8355
 
if test "${enable_libtool_lock+set}" = set; then :
8356
 
  enableval=$enable_libtool_lock; 
8357
 
fi
8358
 
 
8359
 
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
8360
 
 
8361
 
# Some flags need to be propagated to the compiler or linker for good
8362
 
# libtool support.
8363
 
case $host in
8364
 
ia64-*-hpux*)
8365
 
  # Find out which ABI we are using.
8366
 
  echo 'int i;' > conftest.$ac_ext
8367
 
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8368
 
  (eval $ac_compile) 2>&5
8369
 
  ac_status=$?
8370
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8371
 
  test $ac_status = 0; }; then
8372
 
    case `/usr/bin/file conftest.$ac_objext` in
8373
 
      *ELF-32*)
8374
 
        HPUX_IA64_MODE="32"
8375
 
        ;;
8376
 
      *ELF-64*)
8377
 
        HPUX_IA64_MODE="64"
8378
 
        ;;
8379
 
    esac
8380
 
  fi
8381
 
  rm -rf conftest*
8382
 
  ;;
8383
 
*-*-irix6*)
8384
 
  # Find out which ABI we are using.
8385
 
  echo '#line '$LINENO' "configure"' > conftest.$ac_ext
8386
 
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8387
 
  (eval $ac_compile) 2>&5
8388
 
  ac_status=$?
8389
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8390
 
  test $ac_status = 0; }; then
8391
 
    if test "$lt_cv_prog_gnu_ld" = yes; then
8392
 
      case `/usr/bin/file conftest.$ac_objext` in
8393
 
        *32-bit*)
8394
 
          LD="${LD-ld} -melf32bsmip"
8395
 
          ;;
8396
 
        *N32*)
8397
 
          LD="${LD-ld} -melf32bmipn32"
8398
 
          ;;
8399
 
        *64-bit*)
8400
 
          LD="${LD-ld} -melf64bmip"
8401
 
        ;;
8402
 
      esac
8403
 
    else
8404
 
      case `/usr/bin/file conftest.$ac_objext` in
8405
 
        *32-bit*)
8406
 
          LD="${LD-ld} -32"
8407
 
          ;;
8408
 
        *N32*)
8409
 
          LD="${LD-ld} -n32"
8410
 
          ;;
8411
 
        *64-bit*)
8412
 
          LD="${LD-ld} -64"
8413
 
          ;;
8414
 
      esac
8415
 
    fi
8416
 
  fi
8417
 
  rm -rf conftest*
8418
 
  ;;
8419
 
 
8420
 
x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
8421
 
s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
8422
 
  # Find out which ABI we are using.
8423
 
  echo 'int i;' > conftest.$ac_ext
8424
 
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8425
 
  (eval $ac_compile) 2>&5
8426
 
  ac_status=$?
8427
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8428
 
  test $ac_status = 0; }; then
8429
 
    case `/usr/bin/file conftest.o` in
8430
 
      *32-bit*)
8431
 
        case $host in
8432
 
          x86_64-*kfreebsd*-gnu)
8433
 
            LD="${LD-ld} -m elf_i386_fbsd"
8434
 
            ;;
8435
 
          x86_64-*linux*)
8436
 
            LD="${LD-ld} -m elf_i386"
8437
 
            ;;
8438
 
          ppc64-*linux*|powerpc64-*linux*)
8439
 
            LD="${LD-ld} -m elf32ppclinux"
8440
 
            ;;
8441
 
          s390x-*linux*)
8442
 
            LD="${LD-ld} -m elf_s390"
8443
 
            ;;
8444
 
          sparc64-*linux*)
8445
 
            LD="${LD-ld} -m elf32_sparc"
8446
 
            ;;
8447
 
        esac
8448
 
        ;;
8449
 
      *64-bit*)
8450
 
        case $host in
8451
 
          x86_64-*kfreebsd*-gnu)
8452
 
            LD="${LD-ld} -m elf_x86_64_fbsd"
8453
 
            ;;
8454
 
          x86_64-*linux*)
8455
 
            LD="${LD-ld} -m elf_x86_64"
8456
 
            ;;
8457
 
          ppc*-*linux*|powerpc*-*linux*)
8458
 
            LD="${LD-ld} -m elf64ppc"
8459
 
            ;;
8460
 
          s390*-*linux*|s390*-*tpf*)
8461
 
            LD="${LD-ld} -m elf64_s390"
8462
 
            ;;
8463
 
          sparc*-*linux*)
8464
 
            LD="${LD-ld} -m elf64_sparc"
8465
 
            ;;
8466
 
        esac
8467
 
        ;;
8468
 
    esac
8469
 
  fi
8470
 
  rm -rf conftest*
8471
 
  ;;
8472
 
 
8473
 
*-*-sco3.2v5*)
8474
 
  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
8475
 
  SAVE_CFLAGS="$CFLAGS"
8476
 
  CFLAGS="$CFLAGS -belf"
8477
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
8478
 
$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
8479
 
if ${lt_cv_cc_needs_belf+:} false; then :
8480
 
  $as_echo_n "(cached) " >&6
8481
 
else
8482
 
  ac_ext=c
8483
 
ac_cpp='$CPP $CPPFLAGS'
8484
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8485
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8486
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
8487
 
 
8488
 
     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8489
 
/* end confdefs.h.  */
8490
 
 
8491
 
int
8492
 
main ()
8493
 
{
8494
 
 
8495
 
  ;
8496
 
  return 0;
8497
 
}
8498
 
_ACEOF
8499
 
if ac_fn_c_try_link "$LINENO"; then :
8500
 
  lt_cv_cc_needs_belf=yes
8501
 
else
8502
 
  lt_cv_cc_needs_belf=no
8503
 
fi
8504
 
rm -f core conftest.err conftest.$ac_objext \
8505
 
    conftest$ac_exeext conftest.$ac_ext
8506
 
     ac_ext=c
8507
 
ac_cpp='$CPP $CPPFLAGS'
8508
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8509
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8510
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
8511
 
 
8512
 
fi
8513
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
8514
 
$as_echo "$lt_cv_cc_needs_belf" >&6; }
8515
 
  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
8516
 
    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
8517
 
    CFLAGS="$SAVE_CFLAGS"
8518
 
  fi
8519
 
  ;;
8520
 
*-*solaris*)
8521
 
  # Find out which ABI we are using.
8522
 
  echo 'int i;' > conftest.$ac_ext
8523
 
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8524
 
  (eval $ac_compile) 2>&5
8525
 
  ac_status=$?
8526
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8527
 
  test $ac_status = 0; }; then
8528
 
    case `/usr/bin/file conftest.o` in
8529
 
    *64-bit*)
8530
 
      case $lt_cv_prog_gnu_ld in
8531
 
      yes*)
8532
 
        case $host in
8533
 
        i?86-*-solaris*)
8534
 
          LD="${LD-ld} -m elf_x86_64"
8535
 
          ;;
8536
 
        sparc*-*-solaris*)
8537
 
          LD="${LD-ld} -m elf64_sparc"
8538
 
          ;;
8539
 
        esac
8540
 
        # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
8541
 
        if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
8542
 
          LD="${LD-ld}_sol2"
8543
 
        fi
8544
 
        ;;
8545
 
      *)
8546
 
        if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
8547
 
          LD="${LD-ld} -64"
8548
 
        fi
8549
 
        ;;
8550
 
      esac
8551
 
      ;;
8552
 
    esac
8553
 
  fi
8554
 
  rm -rf conftest*
8555
 
  ;;
8556
 
esac
8557
 
 
8558
 
need_locks="$enable_libtool_lock"
8559
 
 
8560
 
if test -n "$ac_tool_prefix"; then
8561
 
  # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
8562
 
set dummy ${ac_tool_prefix}mt; ac_word=$2
8563
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8564
 
$as_echo_n "checking for $ac_word... " >&6; }
8565
 
if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
8566
 
  $as_echo_n "(cached) " >&6
8567
 
else
8568
 
  if test -n "$MANIFEST_TOOL"; then
8569
 
  ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
8570
 
else
8571
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8572
 
for as_dir in $PATH
8573
 
do
8574
 
  IFS=$as_save_IFS
8575
 
  test -z "$as_dir" && as_dir=.
8576
 
    for ac_exec_ext in '' $ac_executable_extensions; do
8577
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8578
 
    ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
8579
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8580
 
    break 2
8581
 
  fi
8582
 
done
8583
 
  done
8584
 
IFS=$as_save_IFS
8585
 
 
8586
 
fi
8587
 
fi
8588
 
MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
8589
 
if test -n "$MANIFEST_TOOL"; then
8590
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
8591
 
$as_echo "$MANIFEST_TOOL" >&6; }
8592
 
else
8593
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8594
 
$as_echo "no" >&6; }
8595
 
fi
8596
 
 
8597
 
 
8598
 
fi
8599
 
if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
8600
 
  ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
8601
 
  # Extract the first word of "mt", so it can be a program name with args.
8602
 
set dummy mt; ac_word=$2
8603
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8604
 
$as_echo_n "checking for $ac_word... " >&6; }
8605
 
if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
8606
 
  $as_echo_n "(cached) " >&6
8607
 
else
8608
 
  if test -n "$ac_ct_MANIFEST_TOOL"; then
8609
 
  ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
8610
 
else
8611
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8612
 
for as_dir in $PATH
8613
 
do
8614
 
  IFS=$as_save_IFS
8615
 
  test -z "$as_dir" && as_dir=.
8616
 
    for ac_exec_ext in '' $ac_executable_extensions; do
8617
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8618
 
    ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
8619
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8620
 
    break 2
8621
 
  fi
8622
 
done
8623
 
  done
8624
 
IFS=$as_save_IFS
8625
 
 
8626
 
fi
8627
 
fi
8628
 
ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
8629
 
if test -n "$ac_ct_MANIFEST_TOOL"; then
8630
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
8631
 
$as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
8632
 
else
8633
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8634
 
$as_echo "no" >&6; }
8635
 
fi
8636
 
 
8637
 
  if test "x$ac_ct_MANIFEST_TOOL" = x; then
8638
 
    MANIFEST_TOOL=":"
8639
 
  else
8640
 
    case $cross_compiling:$ac_tool_warned in
8641
 
yes:)
8642
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8643
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8644
 
ac_tool_warned=yes ;;
8645
 
esac
8646
 
    MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
8647
 
  fi
8648
 
else
8649
 
  MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
8650
 
fi
8651
 
 
8652
 
test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
8653
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
8654
 
$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
8655
 
if ${lt_cv_path_mainfest_tool+:} false; then :
8656
 
  $as_echo_n "(cached) " >&6
8657
 
else
8658
 
  lt_cv_path_mainfest_tool=no
8659
 
  echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
8660
 
  $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
8661
 
  cat conftest.err >&5
8662
 
  if $GREP 'Manifest Tool' conftest.out > /dev/null; then
8663
 
    lt_cv_path_mainfest_tool=yes
8664
 
  fi
8665
 
  rm -f conftest*
8666
 
fi
8667
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
8668
 
$as_echo "$lt_cv_path_mainfest_tool" >&6; }
8669
 
if test "x$lt_cv_path_mainfest_tool" != xyes; then
8670
 
  MANIFEST_TOOL=:
8671
 
fi
8672
 
 
8673
 
    
8674
 
    
8675
 
    
8676
 
 
8677
 
 
8678
 
  case $host_os in
8679
 
    rhapsody* | darwin*)
8680
 
    if test -n "$ac_tool_prefix"; then
8681
 
  # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
8682
 
set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
8683
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8684
 
$as_echo_n "checking for $ac_word... " >&6; }
8685
 
if ${ac_cv_prog_DSYMUTIL+:} false; then :
8686
 
  $as_echo_n "(cached) " >&6
8687
 
else
8688
 
  if test -n "$DSYMUTIL"; then
8689
 
  ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
8690
 
else
8691
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8692
 
for as_dir in $PATH
8693
 
do
8694
 
  IFS=$as_save_IFS
8695
 
  test -z "$as_dir" && as_dir=.
8696
 
    for ac_exec_ext in '' $ac_executable_extensions; do
8697
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8698
 
    ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
8699
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8700
 
    break 2
8701
 
  fi
8702
 
done
8703
 
  done
8704
 
IFS=$as_save_IFS
8705
 
 
8706
 
fi
8707
 
fi
8708
 
DSYMUTIL=$ac_cv_prog_DSYMUTIL
8709
 
if test -n "$DSYMUTIL"; then
8710
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
8711
 
$as_echo "$DSYMUTIL" >&6; }
8712
 
else
8713
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8714
 
$as_echo "no" >&6; }
8715
 
fi
8716
 
 
8717
 
 
8718
 
fi
8719
 
if test -z "$ac_cv_prog_DSYMUTIL"; then
8720
 
  ac_ct_DSYMUTIL=$DSYMUTIL
8721
 
  # Extract the first word of "dsymutil", so it can be a program name with args.
8722
 
set dummy dsymutil; ac_word=$2
8723
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8724
 
$as_echo_n "checking for $ac_word... " >&6; }
8725
 
if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
8726
 
  $as_echo_n "(cached) " >&6
8727
 
else
8728
 
  if test -n "$ac_ct_DSYMUTIL"; then
8729
 
  ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
8730
 
else
8731
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8732
 
for as_dir in $PATH
8733
 
do
8734
 
  IFS=$as_save_IFS
8735
 
  test -z "$as_dir" && as_dir=.
8736
 
    for ac_exec_ext in '' $ac_executable_extensions; do
8737
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8738
 
    ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
8739
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8740
 
    break 2
8741
 
  fi
8742
 
done
8743
 
  done
8744
 
IFS=$as_save_IFS
8745
 
 
8746
 
fi
8747
 
fi
8748
 
ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
8749
 
if test -n "$ac_ct_DSYMUTIL"; then
8750
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
8751
 
$as_echo "$ac_ct_DSYMUTIL" >&6; }
8752
 
else
8753
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8754
 
$as_echo "no" >&6; }
8755
 
fi
8756
 
 
8757
 
  if test "x$ac_ct_DSYMUTIL" = x; then
8758
 
    DSYMUTIL=":"
8759
 
  else
8760
 
    case $cross_compiling:$ac_tool_warned in
8761
 
yes:)
8762
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8763
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8764
 
ac_tool_warned=yes ;;
8765
 
esac
8766
 
    DSYMUTIL=$ac_ct_DSYMUTIL
8767
 
  fi
8768
 
else
8769
 
  DSYMUTIL="$ac_cv_prog_DSYMUTIL"
8770
 
fi
8771
 
 
8772
 
    if test -n "$ac_tool_prefix"; then
8773
 
  # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
8774
 
set dummy ${ac_tool_prefix}nmedit; ac_word=$2
8775
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8776
 
$as_echo_n "checking for $ac_word... " >&6; }
8777
 
if ${ac_cv_prog_NMEDIT+:} false; then :
8778
 
  $as_echo_n "(cached) " >&6
8779
 
else
8780
 
  if test -n "$NMEDIT"; then
8781
 
  ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
8782
 
else
8783
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8784
 
for as_dir in $PATH
8785
 
do
8786
 
  IFS=$as_save_IFS
8787
 
  test -z "$as_dir" && as_dir=.
8788
 
    for ac_exec_ext in '' $ac_executable_extensions; do
8789
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8790
 
    ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
8791
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8792
 
    break 2
8793
 
  fi
8794
 
done
8795
 
  done
8796
 
IFS=$as_save_IFS
8797
 
 
8798
 
fi
8799
 
fi
8800
 
NMEDIT=$ac_cv_prog_NMEDIT
8801
 
if test -n "$NMEDIT"; then
8802
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
8803
 
$as_echo "$NMEDIT" >&6; }
8804
 
else
8805
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8806
 
$as_echo "no" >&6; }
8807
 
fi
8808
 
 
8809
 
 
8810
 
fi
8811
 
if test -z "$ac_cv_prog_NMEDIT"; then
8812
 
  ac_ct_NMEDIT=$NMEDIT
8813
 
  # Extract the first word of "nmedit", so it can be a program name with args.
8814
 
set dummy nmedit; ac_word=$2
8815
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8816
 
$as_echo_n "checking for $ac_word... " >&6; }
8817
 
if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
8818
 
  $as_echo_n "(cached) " >&6
8819
 
else
8820
 
  if test -n "$ac_ct_NMEDIT"; then
8821
 
  ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
8822
 
else
8823
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8824
 
for as_dir in $PATH
8825
 
do
8826
 
  IFS=$as_save_IFS
8827
 
  test -z "$as_dir" && as_dir=.
8828
 
    for ac_exec_ext in '' $ac_executable_extensions; do
8829
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8830
 
    ac_cv_prog_ac_ct_NMEDIT="nmedit"
8831
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8832
 
    break 2
8833
 
  fi
8834
 
done
8835
 
  done
8836
 
IFS=$as_save_IFS
8837
 
 
8838
 
fi
8839
 
fi
8840
 
ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
8841
 
if test -n "$ac_ct_NMEDIT"; then
8842
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
8843
 
$as_echo "$ac_ct_NMEDIT" >&6; }
8844
 
else
8845
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8846
 
$as_echo "no" >&6; }
8847
 
fi
8848
 
 
8849
 
  if test "x$ac_ct_NMEDIT" = x; then
8850
 
    NMEDIT=":"
8851
 
  else
8852
 
    case $cross_compiling:$ac_tool_warned in
8853
 
yes:)
8854
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8855
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8856
 
ac_tool_warned=yes ;;
8857
 
esac
8858
 
    NMEDIT=$ac_ct_NMEDIT
8859
 
  fi
8860
 
else
8861
 
  NMEDIT="$ac_cv_prog_NMEDIT"
8862
 
fi
8863
 
 
8864
 
    if test -n "$ac_tool_prefix"; then
8865
 
  # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
8866
 
set dummy ${ac_tool_prefix}lipo; ac_word=$2
8867
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8868
 
$as_echo_n "checking for $ac_word... " >&6; }
8869
 
if ${ac_cv_prog_LIPO+:} false; then :
8870
 
  $as_echo_n "(cached) " >&6
8871
 
else
8872
 
  if test -n "$LIPO"; then
8873
 
  ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8874
 
else
8875
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8876
 
for as_dir in $PATH
8877
 
do
8878
 
  IFS=$as_save_IFS
8879
 
  test -z "$as_dir" && as_dir=.
8880
 
    for ac_exec_ext in '' $ac_executable_extensions; do
8881
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8882
 
    ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
8883
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8884
 
    break 2
8885
 
  fi
8886
 
done
8887
 
  done
8888
 
IFS=$as_save_IFS
8889
 
 
8890
 
fi
8891
 
fi
8892
 
LIPO=$ac_cv_prog_LIPO
8893
 
if test -n "$LIPO"; then
8894
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
8895
 
$as_echo "$LIPO" >&6; }
8896
 
else
8897
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8898
 
$as_echo "no" >&6; }
8899
 
fi
8900
 
 
8901
 
 
8902
 
fi
8903
 
if test -z "$ac_cv_prog_LIPO"; then
8904
 
  ac_ct_LIPO=$LIPO
8905
 
  # Extract the first word of "lipo", so it can be a program name with args.
8906
 
set dummy lipo; ac_word=$2
8907
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8908
 
$as_echo_n "checking for $ac_word... " >&6; }
8909
 
if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
8910
 
  $as_echo_n "(cached) " >&6
8911
 
else
8912
 
  if test -n "$ac_ct_LIPO"; then
8913
 
  ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
8914
 
else
8915
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8916
 
for as_dir in $PATH
8917
 
do
8918
 
  IFS=$as_save_IFS
8919
 
  test -z "$as_dir" && as_dir=.
8920
 
    for ac_exec_ext in '' $ac_executable_extensions; do
8921
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8922
 
    ac_cv_prog_ac_ct_LIPO="lipo"
8923
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8924
 
    break 2
8925
 
  fi
8926
 
done
8927
 
  done
8928
 
IFS=$as_save_IFS
8929
 
 
8930
 
fi
8931
 
fi
8932
 
ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
8933
 
if test -n "$ac_ct_LIPO"; then
8934
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
8935
 
$as_echo "$ac_ct_LIPO" >&6; }
8936
 
else
8937
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8938
 
$as_echo "no" >&6; }
8939
 
fi
8940
 
 
8941
 
  if test "x$ac_ct_LIPO" = x; then
8942
 
    LIPO=":"
8943
 
  else
8944
 
    case $cross_compiling:$ac_tool_warned in
8945
 
yes:)
8946
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8947
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8948
 
ac_tool_warned=yes ;;
8949
 
esac
8950
 
    LIPO=$ac_ct_LIPO
8951
 
  fi
8952
 
else
8953
 
  LIPO="$ac_cv_prog_LIPO"
8954
 
fi
8955
 
 
8956
 
    if test -n "$ac_tool_prefix"; then
8957
 
  # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
8958
 
set dummy ${ac_tool_prefix}otool; ac_word=$2
8959
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8960
 
$as_echo_n "checking for $ac_word... " >&6; }
8961
 
if ${ac_cv_prog_OTOOL+:} false; then :
8962
 
  $as_echo_n "(cached) " >&6
8963
 
else
8964
 
  if test -n "$OTOOL"; then
8965
 
  ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
8966
 
else
8967
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8968
 
for as_dir in $PATH
8969
 
do
8970
 
  IFS=$as_save_IFS
8971
 
  test -z "$as_dir" && as_dir=.
8972
 
    for ac_exec_ext in '' $ac_executable_extensions; do
8973
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8974
 
    ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
8975
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8976
 
    break 2
8977
 
  fi
8978
 
done
8979
 
  done
8980
 
IFS=$as_save_IFS
8981
 
 
8982
 
fi
8983
 
fi
8984
 
OTOOL=$ac_cv_prog_OTOOL
8985
 
if test -n "$OTOOL"; then
8986
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
8987
 
$as_echo "$OTOOL" >&6; }
8988
 
else
8989
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8990
 
$as_echo "no" >&6; }
8991
 
fi
8992
 
 
8993
 
 
8994
 
fi
8995
 
if test -z "$ac_cv_prog_OTOOL"; then
8996
 
  ac_ct_OTOOL=$OTOOL
8997
 
  # Extract the first word of "otool", so it can be a program name with args.
8998
 
set dummy otool; ac_word=$2
8999
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9000
 
$as_echo_n "checking for $ac_word... " >&6; }
9001
 
if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
9002
 
  $as_echo_n "(cached) " >&6
9003
 
else
9004
 
  if test -n "$ac_ct_OTOOL"; then
9005
 
  ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
9006
 
else
9007
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9008
 
for as_dir in $PATH
9009
 
do
9010
 
  IFS=$as_save_IFS
9011
 
  test -z "$as_dir" && as_dir=.
9012
 
    for ac_exec_ext in '' $ac_executable_extensions; do
9013
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9014
 
    ac_cv_prog_ac_ct_OTOOL="otool"
9015
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9016
 
    break 2
9017
 
  fi
9018
 
done
9019
 
  done
9020
 
IFS=$as_save_IFS
9021
 
 
9022
 
fi
9023
 
fi
9024
 
ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
9025
 
if test -n "$ac_ct_OTOOL"; then
9026
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
9027
 
$as_echo "$ac_ct_OTOOL" >&6; }
9028
 
else
9029
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9030
 
$as_echo "no" >&6; }
9031
 
fi
9032
 
 
9033
 
  if test "x$ac_ct_OTOOL" = x; then
9034
 
    OTOOL=":"
9035
 
  else
9036
 
    case $cross_compiling:$ac_tool_warned in
9037
 
yes:)
9038
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9039
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9040
 
ac_tool_warned=yes ;;
9041
 
esac
9042
 
    OTOOL=$ac_ct_OTOOL
9043
 
  fi
9044
 
else
9045
 
  OTOOL="$ac_cv_prog_OTOOL"
9046
 
fi
9047
 
 
9048
 
    if test -n "$ac_tool_prefix"; then
9049
 
  # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
9050
 
set dummy ${ac_tool_prefix}otool64; ac_word=$2
9051
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9052
 
$as_echo_n "checking for $ac_word... " >&6; }
9053
 
if ${ac_cv_prog_OTOOL64+:} false; then :
9054
 
  $as_echo_n "(cached) " >&6
9055
 
else
9056
 
  if test -n "$OTOOL64"; then
9057
 
  ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
9058
 
else
9059
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9060
 
for as_dir in $PATH
9061
 
do
9062
 
  IFS=$as_save_IFS
9063
 
  test -z "$as_dir" && as_dir=.
9064
 
    for ac_exec_ext in '' $ac_executable_extensions; do
9065
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9066
 
    ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
9067
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9068
 
    break 2
9069
 
  fi
9070
 
done
9071
 
  done
9072
 
IFS=$as_save_IFS
9073
 
 
9074
 
fi
9075
 
fi
9076
 
OTOOL64=$ac_cv_prog_OTOOL64
9077
 
if test -n "$OTOOL64"; then
9078
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
9079
 
$as_echo "$OTOOL64" >&6; }
9080
 
else
9081
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9082
 
$as_echo "no" >&6; }
9083
 
fi
9084
 
 
9085
 
 
9086
 
fi
9087
 
if test -z "$ac_cv_prog_OTOOL64"; then
9088
 
  ac_ct_OTOOL64=$OTOOL64
9089
 
  # Extract the first word of "otool64", so it can be a program name with args.
9090
 
set dummy otool64; ac_word=$2
9091
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9092
 
$as_echo_n "checking for $ac_word... " >&6; }
9093
 
if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
9094
 
  $as_echo_n "(cached) " >&6
9095
 
else
9096
 
  if test -n "$ac_ct_OTOOL64"; then
9097
 
  ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
9098
 
else
9099
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9100
 
for as_dir in $PATH
9101
 
do
9102
 
  IFS=$as_save_IFS
9103
 
  test -z "$as_dir" && as_dir=.
9104
 
    for ac_exec_ext in '' $ac_executable_extensions; do
9105
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9106
 
    ac_cv_prog_ac_ct_OTOOL64="otool64"
9107
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9108
 
    break 2
9109
 
  fi
9110
 
done
9111
 
  done
9112
 
IFS=$as_save_IFS
9113
 
 
9114
 
fi
9115
 
fi
9116
 
ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
9117
 
if test -n "$ac_ct_OTOOL64"; then
9118
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
9119
 
$as_echo "$ac_ct_OTOOL64" >&6; }
9120
 
else
9121
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9122
 
$as_echo "no" >&6; }
9123
 
fi
9124
 
 
9125
 
  if test "x$ac_ct_OTOOL64" = x; then
9126
 
    OTOOL64=":"
9127
 
  else
9128
 
    case $cross_compiling:$ac_tool_warned in
9129
 
yes:)
9130
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9131
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9132
 
ac_tool_warned=yes ;;
9133
 
esac
9134
 
    OTOOL64=$ac_ct_OTOOL64
9135
 
  fi
9136
 
else
9137
 
  OTOOL64="$ac_cv_prog_OTOOL64"
9138
 
fi
9139
 
 
9140
 
    
9141
 
    
9142
 
    
9143
 
    
9144
 
 
9145
 
    
9146
 
    
9147
 
    
9148
 
    
9149
 
 
9150
 
    
9151
 
    
9152
 
    
9153
 
    
9154
 
 
9155
 
    
9156
 
    
9157
 
    
9158
 
    
9159
 
 
9160
 
    
9161
 
    
9162
 
    
9163
 
    
9164
 
 
9165
 
 
9166
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
9167
 
$as_echo_n "checking for -single_module linker flag... " >&6; }
9168
 
if ${lt_cv_apple_cc_single_mod+:} false; then :
9169
 
  $as_echo_n "(cached) " >&6
9170
 
else
9171
 
  lt_cv_apple_cc_single_mod=no
9172
 
      if test -z "${LT_MULTI_MODULE}"; then
9173
 
        # By default we will add the -single_module flag. You can override
9174
 
        # by either setting the environment variable LT_MULTI_MODULE
9175
 
        # non-empty at configure time, or by adding -multi_module to the
9176
 
        # link flags.
9177
 
        rm -rf libconftest.dylib*
9178
 
        echo "int foo(void){return 1;}" > conftest.c
9179
 
        echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
9180
 
-dynamiclib -Wl,-single_module conftest.c" >&5
9181
 
        $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
9182
 
          -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
9183
 
        _lt_result=$?
9184
 
        # If there is a non-empty error log, and "single_module"
9185
 
        # appears in it, assume the flag caused a linker warning
9186
 
        if test -s conftest.err && $GREP single_module conftest.err; then
9187
 
          cat conftest.err >&5
9188
 
        # Otherwise, if the output was created with a 0 exit code from
9189
 
        # the compiler, it worked.
9190
 
        elif test -f libconftest.dylib && test $_lt_result -eq 0; then
9191
 
          lt_cv_apple_cc_single_mod=yes
9192
 
        else
9193
 
          cat conftest.err >&5
9194
 
        fi
9195
 
        rm -rf libconftest.dylib*
9196
 
        rm -f conftest.*
9197
 
      fi
9198
 
fi
9199
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
9200
 
$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
9201
 
 
9202
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
9203
 
$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
9204
 
if ${lt_cv_ld_exported_symbols_list+:} false; then :
9205
 
  $as_echo_n "(cached) " >&6
9206
 
else
9207
 
  lt_cv_ld_exported_symbols_list=no
9208
 
      save_LDFLAGS=$LDFLAGS
9209
 
      echo "_main" > conftest.sym
9210
 
      LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
9211
 
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9212
 
/* end confdefs.h.  */
9213
 
 
9214
 
int
9215
 
main ()
9216
 
{
9217
 
 
9218
 
  ;
9219
 
  return 0;
9220
 
}
9221
 
_ACEOF
9222
 
if ac_fn_c_try_link "$LINENO"; then :
9223
 
  lt_cv_ld_exported_symbols_list=yes
9224
 
else
9225
 
  lt_cv_ld_exported_symbols_list=no
9226
 
fi
9227
 
rm -f core conftest.err conftest.$ac_objext \
9228
 
    conftest$ac_exeext conftest.$ac_ext
9229
 
        LDFLAGS="$save_LDFLAGS"
9230
 
    
9231
 
fi
9232
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
9233
 
$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
9234
 
 
9235
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
9236
 
$as_echo_n "checking for -force_load linker flag... " >&6; }
9237
 
if ${lt_cv_ld_force_load+:} false; then :
9238
 
  $as_echo_n "(cached) " >&6
9239
 
else
9240
 
  lt_cv_ld_force_load=no
9241
 
      cat > conftest.c << _LT_EOF
9242
 
int forced_loaded() { return 2;}
9243
 
_LT_EOF
9244
 
      echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
9245
 
      $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
9246
 
      echo "$AR cru libconftest.a conftest.o" >&5
9247
 
      $AR cru libconftest.a conftest.o 2>&5
9248
 
      echo "$RANLIB libconftest.a" >&5
9249
 
      $RANLIB libconftest.a 2>&5
9250
 
      cat > conftest.c << _LT_EOF
9251
 
int main() { return 0;}
9252
 
_LT_EOF
9253
 
      echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
9254
 
      $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
9255
 
      _lt_result=$?
9256
 
      if test -s conftest.err && $GREP force_load conftest.err; then
9257
 
        cat conftest.err >&5
9258
 
      elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
9259
 
        lt_cv_ld_force_load=yes
9260
 
      else
9261
 
        cat conftest.err >&5
9262
 
      fi
9263
 
        rm -f conftest.err libconftest.a conftest conftest.c
9264
 
        rm -rf conftest.dSYM
9265
 
    
9266
 
fi
9267
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
9268
 
$as_echo "$lt_cv_ld_force_load" >&6; }
9269
 
    case $host_os in
9270
 
    rhapsody* | darwin1.[012])
9271
 
      _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
9272
 
    darwin1.*)
9273
 
      _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
9274
 
    darwin*) # darwin 5.x on
9275
 
      # if running on 10.5 or later, the deployment target defaults
9276
 
      # to the OS version, if on x86, and 10.4, the deployment
9277
 
      # target defaults to 10.4. Don't you love it?
9278
 
      case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
9279
 
        10.0,*86*-darwin8*|10.0,*-darwin[91]*)
9280
 
          _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
9281
 
        10.[012]*)
9282
 
          _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
9283
 
        10.*)
9284
 
          _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
9285
 
      esac
9286
 
    ;;
9287
 
  esac
9288
 
    if test "$lt_cv_apple_cc_single_mod" = "yes"; then
9289
 
      _lt_dar_single_mod='$single_module'
9290
 
    fi
9291
 
    if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
9292
 
      _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
9293
 
    else
9294
 
      _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
9295
 
    fi
9296
 
    if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
9297
 
      _lt_dsymutil='~$DSYMUTIL $lib || :'
9298
 
    else
9299
 
      _lt_dsymutil=
9300
 
    fi
9301
 
    ;;
9302
 
  esac
9303
 
 
9304
 
for ac_header in dlfcn.h
9305
 
do :
9306
 
  ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
9307
 
"
9308
 
if test "x$ac_cv_header_dlfcn_h" = xyes; then :
9309
 
  cat >>confdefs.h <<_ACEOF
9310
 
@%:@define HAVE_DLFCN_H 1
9311
 
_ACEOF
9312
 
 
9313
 
fi
9314
 
 
9315
 
done
9316
 
 
9317
 
 
9318
 
 
9319
 
 
9320
 
 
9321
 
# Set options
9322
 
 
9323
 
 
9324
 
 
9325
 
        enable_dlopen=no
9326
 
  
9327
 
 
9328
 
  enable_win32_dll=no
9329
 
  
9330
 
 
9331
 
            @%:@ Check whether --enable-shared was given.
9332
 
if test "${enable_shared+set}" = set; then :
9333
 
  enableval=$enable_shared; p=${PACKAGE-default}
9334
 
    case $enableval in
9335
 
    yes) enable_shared=yes ;;
9336
 
    no) enable_shared=no ;;
9337
 
    *)
9338
 
      enable_shared=no
9339
 
      # Look at the argument we got.  We use all the common list separators.
9340
 
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
9341
 
      for pkg in $enableval; do
9342
 
        IFS="$lt_save_ifs"
9343
 
        if test "X$pkg" = "X$p"; then
9344
 
          enable_shared=yes
9345
 
        fi
9346
 
      done
9347
 
      IFS="$lt_save_ifs"
9348
 
      ;;
9349
 
    esac
9350
 
else
9351
 
  enable_shared=yes
9352
 
fi
9353
 
 
9354
 
 
9355
 
    
9356
 
    
9357
 
    
9358
 
    
9359
 
 
9360
 
 
9361
 
 
9362
 
  
9363
 
  
9364
 
@%:@ Check whether --with-pic was given.
9365
 
if test "${with_pic+set}" = set; then :
9366
 
  withval=$with_pic; lt_p=${PACKAGE-default}
9367
 
    case $withval in
9368
 
    yes|no) pic_mode=$withval ;;
9369
 
    *)
9370
 
      pic_mode=default
9371
 
      # Look at the argument we got.  We use all the common list separators.
9372
 
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
9373
 
      for lt_pkg in $withval; do
9374
 
        IFS="$lt_save_ifs"
9375
 
        if test "X$lt_pkg" = "X$lt_p"; then
9376
 
          pic_mode=yes
9377
 
        fi
9378
 
      done
9379
 
      IFS="$lt_save_ifs"
9380
 
      ;;
9381
 
    esac
9382
 
else
9383
 
  pic_mode=default
9384
 
fi
9385
 
 
9386
 
 
9387
 
test -z "$pic_mode" && pic_mode=default
9388
 
 
9389
 
 
9390
 
    
9391
 
    
9392
 
    
9393
 
 
9394
 
 
9395
 
  @%:@ Check whether --enable-fast-install was given.
9396
 
if test "${enable_fast_install+set}" = set; then :
9397
 
  enableval=$enable_fast_install; p=${PACKAGE-default}
9398
 
    case $enableval in
9399
 
    yes) enable_fast_install=yes ;;
9400
 
    no) enable_fast_install=no ;;
9401
 
    *)
9402
 
      enable_fast_install=no
9403
 
      # Look at the argument we got.  We use all the common list separators.
9404
 
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
9405
 
      for pkg in $enableval; do
9406
 
        IFS="$lt_save_ifs"
9407
 
        if test "X$pkg" = "X$p"; then
9408
 
          enable_fast_install=yes
9409
 
        fi
9410
 
      done
9411
 
      IFS="$lt_save_ifs"
9412
 
      ;;
9413
 
    esac
9414
 
else
9415
 
  enable_fast_install=yes
9416
 
fi
9417
 
 
9418
 
 
9419
 
 
9420
 
    
9421
 
    
9422
 
    
9423
 
 
9424
 
 
9425
 
  
9426
 
 
9427
 
 
9428
 
# This can be used to rebuild libtool when needed
9429
 
LIBTOOL_DEPS="$ltmain"
9430
 
 
9431
 
# Always use our own libtool.
9432
 
LIBTOOL='$(SHELL) $(top_builddir)/libtool'
9433
 
 
9434
 
 
9435
 
 
9436
 
    
9437
 
    
9438
 
    
9439
 
 
9440
 
    
9441
 
    
9442
 
    
9443
 
 
9444
 
    
9445
 
    
9446
 
    
9447
 
 
9448
 
    
9449
 
    
9450
 
    
9451
 
 
9452
 
    
9453
 
    
9454
 
    
9455
 
 
9456
 
    
9457
 
    
9458
 
    
9459
 
 
9460
 
    
9461
 
    
9462
 
    
9463
 
test -z "$LN_S" && LN_S="ln -s"
9464
 
 
9465
 
    
9466
 
    
9467
 
    
9468
 
 
9469
 
    
9470
 
    
9471
 
    
9472
 
 
9473
 
    
9474
 
    
9475
 
    
9476
 
 
9477
 
 
9478
 
if test -n "${ZSH_VERSION+set}" ; then
9479
 
   setopt NO_GLOB_SUBST
9480
 
fi
9481
 
 
9482
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
9483
 
$as_echo_n "checking for objdir... " >&6; }
9484
 
if ${lt_cv_objdir+:} false; then :
9485
 
  $as_echo_n "(cached) " >&6
9486
 
else
9487
 
  rm -f .libs 2>/dev/null
9488
 
mkdir .libs 2>/dev/null
9489
 
if test -d .libs; then
9490
 
  lt_cv_objdir=.libs
9491
 
else
9492
 
  # MS-DOS does not allow filenames that begin with a dot.
9493
 
  lt_cv_objdir=_libs
9494
 
fi
9495
 
rmdir .libs 2>/dev/null
9496
 
fi
9497
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
9498
 
$as_echo "$lt_cv_objdir" >&6; }
9499
 
objdir=$lt_cv_objdir
9500
 
 
9501
 
    
9502
 
    
9503
 
    
9504
 
 
9505
 
cat >>confdefs.h <<_ACEOF
9506
 
@%:@define LT_OBJDIR "$lt_cv_objdir/"
9507
 
_ACEOF
9508
 
 
9509
 
 
9510
 
 
9511
 
 
9512
 
case $host_os in
9513
 
aix3*)
9514
 
  # AIX sometimes has problems with the GCC collect2 program.  For some
9515
 
  # reason, if we set the COLLECT_NAMES environment variable, the problems
9516
 
  # vanish in a puff of smoke.
9517
 
  if test "X${COLLECT_NAMES+set}" != Xset; then
9518
 
    COLLECT_NAMES=
9519
 
    export COLLECT_NAMES
9520
 
  fi
9521
 
  ;;
9522
 
esac
9523
 
 
9524
 
# Global variables:
9525
 
ofile=libtool
9526
 
can_build_shared=yes
9527
 
 
9528
 
# All known linkers require a `.a' archive for static linking (except MSVC,
9529
 
# which needs '.lib').
9530
 
libext=a
9531
 
 
9532
 
with_gnu_ld="$lt_cv_prog_gnu_ld"
9533
 
 
9534
 
old_CC="$CC"
9535
 
old_CFLAGS="$CFLAGS"
9536
 
 
9537
 
# Set sane defaults for various variables
9538
 
test -z "$CC" && CC=cc
9539
 
test -z "$LTCC" && LTCC=$CC
9540
 
test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
9541
 
test -z "$LD" && LD=ld
9542
 
test -z "$ac_objext" && ac_objext=o
9543
 
 
9544
 
for cc_temp in $compiler""; do
9545
 
  case $cc_temp in
9546
 
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
9547
 
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
9548
 
    \-*) ;;
9549
 
    *) break;;
9550
 
  esac
9551
 
done
9552
 
cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
9553
 
 
9554
 
 
9555
 
# Only perform the check for file, if the check method requires it
9556
 
test -z "$MAGIC_CMD" && MAGIC_CMD=file
9557
 
case $deplibs_check_method in
9558
 
file_magic*)
9559
 
  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
9560
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
9561
 
$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
9562
 
if ${lt_cv_path_MAGIC_CMD+:} false; then :
9563
 
  $as_echo_n "(cached) " >&6
9564
 
else
9565
 
  case $MAGIC_CMD in
9566
 
[\\/*] |  ?:[\\/]*)
9567
 
  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
9568
 
  ;;
9569
 
*)
9570
 
  lt_save_MAGIC_CMD="$MAGIC_CMD"
9571
 
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
9572
 
  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
9573
 
  for ac_dir in $ac_dummy; do
9574
 
    IFS="$lt_save_ifs"
9575
 
    test -z "$ac_dir" && ac_dir=.
9576
 
    if test -f $ac_dir/${ac_tool_prefix}file; then
9577
 
      lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
9578
 
      if test -n "$file_magic_test_file"; then
9579
 
        case $deplibs_check_method in
9580
 
        "file_magic "*)
9581
 
          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9582
 
          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9583
 
          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9584
 
            $EGREP "$file_magic_regex" > /dev/null; then
9585
 
            :
9586
 
          else
9587
 
            cat <<_LT_EOF 1>&2
9588
 
 
9589
 
*** Warning: the command libtool uses to detect shared libraries,
9590
 
*** $file_magic_cmd, produces output that libtool cannot recognize.
9591
 
*** The result is that libtool may fail to recognize shared libraries
9592
 
*** as such.  This will affect the creation of libtool libraries that
9593
 
*** depend on shared libraries, but programs linked with such libtool
9594
 
*** libraries will work regardless of this problem.  Nevertheless, you
9595
 
*** may want to report the problem to your system manager and/or to
9596
 
*** bug-libtool@gnu.org
9597
 
 
9598
 
_LT_EOF
9599
 
          fi ;;
9600
 
        esac
9601
 
      fi
9602
 
      break
9603
 
    fi
9604
 
  done
9605
 
  IFS="$lt_save_ifs"
9606
 
  MAGIC_CMD="$lt_save_MAGIC_CMD"
9607
 
  ;;
9608
 
esac
9609
 
fi
9610
 
 
9611
 
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9612
 
if test -n "$MAGIC_CMD"; then
9613
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9614
 
$as_echo "$MAGIC_CMD" >&6; }
9615
 
else
9616
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9617
 
$as_echo "no" >&6; }
9618
 
fi
9619
 
 
9620
 
    
9621
 
    
9622
 
    
9623
 
 
9624
 
if test -z "$lt_cv_path_MAGIC_CMD"; then
9625
 
  if test -n "$ac_tool_prefix"; then
9626
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
9627
 
$as_echo_n "checking for file... " >&6; }
9628
 
if ${lt_cv_path_MAGIC_CMD+:} false; then :
9629
 
  $as_echo_n "(cached) " >&6
9630
 
else
9631
 
  case $MAGIC_CMD in
9632
 
[\\/*] |  ?:[\\/]*)
9633
 
  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
9634
 
  ;;
9635
 
*)
9636
 
  lt_save_MAGIC_CMD="$MAGIC_CMD"
9637
 
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
9638
 
  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
9639
 
  for ac_dir in $ac_dummy; do
9640
 
    IFS="$lt_save_ifs"
9641
 
    test -z "$ac_dir" && ac_dir=.
9642
 
    if test -f $ac_dir/file; then
9643
 
      lt_cv_path_MAGIC_CMD="$ac_dir/file"
9644
 
      if test -n "$file_magic_test_file"; then
9645
 
        case $deplibs_check_method in
9646
 
        "file_magic "*)
9647
 
          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9648
 
          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9649
 
          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9650
 
            $EGREP "$file_magic_regex" > /dev/null; then
9651
 
            :
9652
 
          else
9653
 
            cat <<_LT_EOF 1>&2
9654
 
 
9655
 
*** Warning: the command libtool uses to detect shared libraries,
9656
 
*** $file_magic_cmd, produces output that libtool cannot recognize.
9657
 
*** The result is that libtool may fail to recognize shared libraries
9658
 
*** as such.  This will affect the creation of libtool libraries that
9659
 
*** depend on shared libraries, but programs linked with such libtool
9660
 
*** libraries will work regardless of this problem.  Nevertheless, you
9661
 
*** may want to report the problem to your system manager and/or to
9662
 
*** bug-libtool@gnu.org
9663
 
 
9664
 
_LT_EOF
9665
 
          fi ;;
9666
 
        esac
9667
 
      fi
9668
 
      break
9669
 
    fi
9670
 
  done
9671
 
  IFS="$lt_save_ifs"
9672
 
  MAGIC_CMD="$lt_save_MAGIC_CMD"
9673
 
  ;;
9674
 
esac
9675
 
fi
9676
 
 
9677
 
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9678
 
if test -n "$MAGIC_CMD"; then
9679
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9680
 
$as_echo "$MAGIC_CMD" >&6; }
9681
 
else
9682
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9683
 
$as_echo "no" >&6; }
9684
 
fi
9685
 
 
9686
 
 
9687
 
  else
9688
 
    MAGIC_CMD=:
9689
 
  fi
9690
 
fi
9691
 
 
9692
 
  fi
9693
 
  ;;
9694
 
esac
9695
 
 
9696
 
# Use C for the default configuration in the libtool script
9697
 
 
9698
 
lt_save_CC="$CC"
9699
 
ac_ext=c
9700
 
ac_cpp='$CPP $CPPFLAGS'
9701
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9702
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9703
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
9704
 
 
9705
 
 
9706
 
# Source file extension for C test sources.
9707
 
ac_ext=c
9708
 
 
9709
 
# Object file extension for compiled C test sources.
9710
 
objext=o
9711
 
objext=$objext
9712
 
 
9713
 
# Code to be used in simple compile tests
9714
 
lt_simple_compile_test_code="int some_variable = 0;"
9715
 
 
9716
 
# Code to be used in simple link tests
9717
 
lt_simple_link_test_code='int main(){return(0);}'
9718
 
 
9719
 
 
9720
 
 
9721
 
 
9722
 
 
9723
 
 
9724
 
 
9725
 
# If no C compiler was specified, use CC.
9726
 
LTCC=${LTCC-"$CC"}
9727
 
 
9728
 
# If no C compiler flags were specified, use CFLAGS.
9729
 
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
9730
 
 
9731
 
# Allow CC to be a program name with arguments.
9732
 
compiler=$CC
9733
 
 
9734
 
# Save the default compiler, since it gets overwritten when the other
9735
 
# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
9736
 
compiler_DEFAULT=$CC
9737
 
 
9738
 
# save warnings/boilerplate of simple test code
9739
 
ac_outfile=conftest.$ac_objext
9740
 
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
9741
 
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9742
 
_lt_compiler_boilerplate=`cat conftest.err`
9743
 
$RM conftest*
9744
 
 
9745
 
ac_outfile=conftest.$ac_objext
9746
 
echo "$lt_simple_link_test_code" >conftest.$ac_ext
9747
 
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9748
 
_lt_linker_boilerplate=`cat conftest.err`
9749
 
$RM -r conftest*
9750
 
 
9751
 
 
9752
 
## CAVEAT EMPTOR:
9753
 
## There is no encapsulation within the following macros, do not change
9754
 
## the running order or otherwise move them around unless you know exactly
9755
 
## what you are doing...
9756
 
if test -n "$compiler"; then
9757
 
  
9758
 
lt_prog_compiler_no_builtin_flag=
9759
 
 
9760
 
if test "$GCC" = yes; then
9761
 
  case $cc_basename in
9762
 
  nvcc*)
9763
 
    lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
9764
 
  *)
9765
 
    lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
9766
 
  esac
9767
 
 
9768
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
9769
 
$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
9770
 
if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
9771
 
  $as_echo_n "(cached) " >&6
9772
 
else
9773
 
  lt_cv_prog_compiler_rtti_exceptions=no
9774
 
   ac_outfile=conftest.$ac_objext
9775
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9776
 
   lt_compiler_flag="-fno-rtti -fno-exceptions"
9777
 
   # Insert the option either (1) after the last *FLAGS variable, or
9778
 
   # (2) before a word containing "conftest.", or (3) at the end.
9779
 
   # Note that $ac_compile itself does not contain backslashes and begins
9780
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
9781
 
   # The option is referenced via a variable to avoid confusing sed.
9782
 
   lt_compile=`echo "$ac_compile" | $SED \
9783
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9784
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9785
 
   -e 's:$: $lt_compiler_flag:'`
9786
 
   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9787
 
   (eval "$lt_compile" 2>conftest.err)
9788
 
   ac_status=$?
9789
 
   cat conftest.err >&5
9790
 
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9791
 
   if (exit $ac_status) && test -s "$ac_outfile"; then
9792
 
     # The compiler can only warn and ignore the option if not recognized
9793
 
     # So say no if there are warnings other than the usual output.
9794
 
     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9795
 
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9796
 
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9797
 
       lt_cv_prog_compiler_rtti_exceptions=yes
9798
 
     fi
9799
 
   fi
9800
 
   $RM conftest*
9801
 
 
9802
 
fi
9803
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
9804
 
$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9805
 
 
9806
 
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
9807
 
    lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9808
 
else
9809
 
    :
9810
 
fi
9811
 
 
9812
 
fi
9813
 
 
9814
 
    
9815
 
    
9816
 
    
9817
 
 
9818
 
 
9819
 
  lt_prog_compiler_wl=
9820
 
lt_prog_compiler_pic=
9821
 
lt_prog_compiler_static=
9822
 
 
9823
 
 
9824
 
  if test "$GCC" = yes; then
9825
 
    lt_prog_compiler_wl='-Wl,'
9826
 
    lt_prog_compiler_static='-static'
9827
 
 
9828
 
    case $host_os in
9829
 
      aix*)
9830
 
      # All AIX code is PIC.
9831
 
      if test "$host_cpu" = ia64; then
9832
 
        # AIX 5 now supports IA64 processor
9833
 
        lt_prog_compiler_static='-Bstatic'
9834
 
      fi
9835
 
      ;;
9836
 
 
9837
 
    amigaos*)
9838
 
      case $host_cpu in
9839
 
      powerpc)
9840
 
            # see comment about AmigaOS4 .so support
9841
 
            lt_prog_compiler_pic='-fPIC'
9842
 
        ;;
9843
 
      m68k)
9844
 
            # FIXME: we need at least 68020 code to build shared libraries, but
9845
 
            # adding the `-m68020' flag to GCC prevents building anything better,
9846
 
            # like `-m68040'.
9847
 
            lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
9848
 
        ;;
9849
 
      esac
9850
 
      ;;
9851
 
 
9852
 
    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
9853
 
      # PIC is the default for these OSes.
9854
 
      ;;
9855
 
 
9856
 
    mingw* | cygwin* | pw32* | os2* | cegcc*)
9857
 
      # This hack is so that the source file can tell whether it is being
9858
 
      # built for inclusion in a dll (and should export symbols for example).
9859
 
      # Although the cygwin gcc ignores -fPIC, still need this for old-style
9860
 
      # (--disable-auto-import) libraries
9861
 
      lt_prog_compiler_pic='-DDLL_EXPORT'
9862
 
      ;;
9863
 
 
9864
 
    darwin* | rhapsody*)
9865
 
      # PIC is the default on this platform
9866
 
      # Common symbols not allowed in MH_DYLIB files
9867
 
      lt_prog_compiler_pic='-fno-common'
9868
 
      ;;
9869
 
 
9870
 
    haiku*)
9871
 
      # PIC is the default for Haiku.
9872
 
      # The "-static" flag exists, but is broken.
9873
 
      lt_prog_compiler_static=
9874
 
      ;;
9875
 
 
9876
 
    hpux*)
9877
 
      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9878
 
      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
9879
 
      # sets the default TLS model and affects inlining.
9880
 
      case $host_cpu in
9881
 
      hppa*64*)
9882
 
        # +Z the default
9883
 
        ;;
9884
 
      *)
9885
 
        lt_prog_compiler_pic='-fPIC'
9886
 
        ;;
9887
 
      esac
9888
 
      ;;
9889
 
 
9890
 
    interix[3-9]*)
9891
 
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9892
 
      # Instead, we relocate shared libraries at runtime.
9893
 
      ;;
9894
 
 
9895
 
    msdosdjgpp*)
9896
 
      # Just because we use GCC doesn't mean we suddenly get shared libraries
9897
 
      # on systems that don't support them.
9898
 
      lt_prog_compiler_can_build_shared=no
9899
 
      enable_shared=no
9900
 
      ;;
9901
 
 
9902
 
    *nto* | *qnx*)
9903
 
      # QNX uses GNU C++, but need to define -shared option too, otherwise
9904
 
      # it will coredump.
9905
 
      lt_prog_compiler_pic='-fPIC -shared'
9906
 
      ;;
9907
 
 
9908
 
    sysv4*MP*)
9909
 
      if test -d /usr/nec; then
9910
 
        lt_prog_compiler_pic=-Kconform_pic
9911
 
      fi
9912
 
      ;;
9913
 
 
9914
 
    *)
9915
 
      lt_prog_compiler_pic='-fPIC'
9916
 
      ;;
9917
 
    esac
9918
 
 
9919
 
    case $cc_basename in
9920
 
    nvcc*) # Cuda Compiler Driver 2.2
9921
 
      lt_prog_compiler_wl='-Xlinker '
9922
 
      if test -n "$lt_prog_compiler_pic"; then
9923
 
        lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
9924
 
      fi
9925
 
      ;;
9926
 
    esac
9927
 
  else
9928
 
    # PORTME Check for flag to pass linker flags through the system compiler.
9929
 
    case $host_os in
9930
 
    aix*)
9931
 
      lt_prog_compiler_wl='-Wl,'
9932
 
      if test "$host_cpu" = ia64; then
9933
 
        # AIX 5 now supports IA64 processor
9934
 
        lt_prog_compiler_static='-Bstatic'
9935
 
      else
9936
 
        lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
9937
 
      fi
9938
 
      ;;
9939
 
 
9940
 
    mingw* | cygwin* | pw32* | os2* | cegcc*)
9941
 
      # This hack is so that the source file can tell whether it is being
9942
 
      # built for inclusion in a dll (and should export symbols for example).
9943
 
      lt_prog_compiler_pic='-DDLL_EXPORT'
9944
 
      ;;
9945
 
 
9946
 
    hpux9* | hpux10* | hpux11*)
9947
 
      lt_prog_compiler_wl='-Wl,'
9948
 
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9949
 
      # not for PA HP-UX.
9950
 
      case $host_cpu in
9951
 
      hppa*64*|ia64*)
9952
 
        # +Z the default
9953
 
        ;;
9954
 
      *)
9955
 
        lt_prog_compiler_pic='+Z'
9956
 
        ;;
9957
 
      esac
9958
 
      # Is there a better lt_prog_compiler_static that works with the bundled CC?
9959
 
      lt_prog_compiler_static='${wl}-a ${wl}archive'
9960
 
      ;;
9961
 
 
9962
 
    irix5* | irix6* | nonstopux*)
9963
 
      lt_prog_compiler_wl='-Wl,'
9964
 
      # PIC (with -KPIC) is the default.
9965
 
      lt_prog_compiler_static='-non_shared'
9966
 
      ;;
9967
 
 
9968
 
    linux* | k*bsd*-gnu | kopensolaris*-gnu)
9969
 
      case $cc_basename in
9970
 
      # old Intel for x86_64 which still supported -KPIC.
9971
 
      ecc*)
9972
 
        lt_prog_compiler_wl='-Wl,'
9973
 
        lt_prog_compiler_pic='-KPIC'
9974
 
        lt_prog_compiler_static='-static'
9975
 
        ;;
9976
 
      # icc used to be incompatible with GCC.
9977
 
      # ICC 10 doesn't accept -KPIC any more.
9978
 
      icc* | ifort*)
9979
 
        lt_prog_compiler_wl='-Wl,'
9980
 
        lt_prog_compiler_pic='-fPIC'
9981
 
        lt_prog_compiler_static='-static'
9982
 
        ;;
9983
 
      # Lahey Fortran 8.1.
9984
 
      lf95*)
9985
 
        lt_prog_compiler_wl='-Wl,'
9986
 
        lt_prog_compiler_pic='--shared'
9987
 
        lt_prog_compiler_static='--static'
9988
 
        ;;
9989
 
      nagfor*)
9990
 
        # NAG Fortran compiler
9991
 
        lt_prog_compiler_wl='-Wl,-Wl,,'
9992
 
        lt_prog_compiler_pic='-PIC'
9993
 
        lt_prog_compiler_static='-Bstatic'
9994
 
        ;;
9995
 
      pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
9996
 
        # Portland Group compilers (*not* the Pentium gcc compiler,
9997
 
        # which looks to be a dead project)
9998
 
        lt_prog_compiler_wl='-Wl,'
9999
 
        lt_prog_compiler_pic='-fpic'
10000
 
        lt_prog_compiler_static='-Bstatic'
10001
 
        ;;
10002
 
      ccc*)
10003
 
        lt_prog_compiler_wl='-Wl,'
10004
 
        # All Alpha code is PIC.
10005
 
        lt_prog_compiler_static='-non_shared'
10006
 
        ;;
10007
 
      xl* | bgxl* | bgf* | mpixl*)
10008
 
        # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
10009
 
        lt_prog_compiler_wl='-Wl,'
10010
 
        lt_prog_compiler_pic='-qpic'
10011
 
        lt_prog_compiler_static='-qstaticlink'
10012
 
        ;;
10013
 
      *)
10014
 
        case `$CC -V 2>&1 | sed 5q` in
10015
 
        *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
10016
 
          # Sun Fortran 8.3 passes all unrecognized flags to the linker
10017
 
          lt_prog_compiler_pic='-KPIC'
10018
 
          lt_prog_compiler_static='-Bstatic'
10019
 
          lt_prog_compiler_wl=''
10020
 
          ;;
10021
 
        *Sun\ F* | *Sun*Fortran*)
10022
 
          lt_prog_compiler_pic='-KPIC'
10023
 
          lt_prog_compiler_static='-Bstatic'
10024
 
          lt_prog_compiler_wl='-Qoption ld '
10025
 
          ;;
10026
 
        *Sun\ C*)
10027
 
          # Sun C 5.9
10028
 
          lt_prog_compiler_pic='-KPIC'
10029
 
          lt_prog_compiler_static='-Bstatic'
10030
 
          lt_prog_compiler_wl='-Wl,'
10031
 
          ;;
10032
 
        *Intel*\ [CF]*Compiler*)
10033
 
          lt_prog_compiler_wl='-Wl,'
10034
 
          lt_prog_compiler_pic='-fPIC'
10035
 
          lt_prog_compiler_static='-static'
10036
 
          ;;
10037
 
        *Portland\ Group*)
10038
 
          lt_prog_compiler_wl='-Wl,'
10039
 
          lt_prog_compiler_pic='-fpic'
10040
 
          lt_prog_compiler_static='-Bstatic'
10041
 
          ;;
10042
 
        esac
10043
 
        ;;
10044
 
      esac
10045
 
      ;;
10046
 
 
10047
 
    newsos6)
10048
 
      lt_prog_compiler_pic='-KPIC'
10049
 
      lt_prog_compiler_static='-Bstatic'
10050
 
      ;;
10051
 
 
10052
 
    *nto* | *qnx*)
10053
 
      # QNX uses GNU C++, but need to define -shared option too, otherwise
10054
 
      # it will coredump.
10055
 
      lt_prog_compiler_pic='-fPIC -shared'
10056
 
      ;;
10057
 
 
10058
 
    osf3* | osf4* | osf5*)
10059
 
      lt_prog_compiler_wl='-Wl,'
10060
 
      # All OSF/1 code is PIC.
10061
 
      lt_prog_compiler_static='-non_shared'
10062
 
      ;;
10063
 
 
10064
 
    rdos*)
10065
 
      lt_prog_compiler_static='-non_shared'
10066
 
      ;;
10067
 
 
10068
 
    solaris*)
10069
 
      lt_prog_compiler_pic='-KPIC'
10070
 
      lt_prog_compiler_static='-Bstatic'
10071
 
      case $cc_basename in
10072
 
      f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
10073
 
        lt_prog_compiler_wl='-Qoption ld ';;
10074
 
      *)
10075
 
        lt_prog_compiler_wl='-Wl,';;
10076
 
      esac
10077
 
      ;;
10078
 
 
10079
 
    sunos4*)
10080
 
      lt_prog_compiler_wl='-Qoption ld '
10081
 
      lt_prog_compiler_pic='-PIC'
10082
 
      lt_prog_compiler_static='-Bstatic'
10083
 
      ;;
10084
 
 
10085
 
    sysv4 | sysv4.2uw2* | sysv4.3*)
10086
 
      lt_prog_compiler_wl='-Wl,'
10087
 
      lt_prog_compiler_pic='-KPIC'
10088
 
      lt_prog_compiler_static='-Bstatic'
10089
 
      ;;
10090
 
 
10091
 
    sysv4*MP*)
10092
 
      if test -d /usr/nec ;then
10093
 
        lt_prog_compiler_pic='-Kconform_pic'
10094
 
        lt_prog_compiler_static='-Bstatic'
10095
 
      fi
10096
 
      ;;
10097
 
 
10098
 
    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
10099
 
      lt_prog_compiler_wl='-Wl,'
10100
 
      lt_prog_compiler_pic='-KPIC'
10101
 
      lt_prog_compiler_static='-Bstatic'
10102
 
      ;;
10103
 
 
10104
 
    unicos*)
10105
 
      lt_prog_compiler_wl='-Wl,'
10106
 
      lt_prog_compiler_can_build_shared=no
10107
 
      ;;
10108
 
 
10109
 
    uts4*)
10110
 
      lt_prog_compiler_pic='-pic'
10111
 
      lt_prog_compiler_static='-Bstatic'
10112
 
      ;;
10113
 
 
10114
 
    *)
10115
 
      lt_prog_compiler_can_build_shared=no
10116
 
      ;;
10117
 
    esac
10118
 
  fi
10119
 
 
10120
 
case $host_os in
10121
 
  # For platforms which do not support PIC, -DPIC is meaningless:
10122
 
  *djgpp*)
10123
 
    lt_prog_compiler_pic=
10124
 
    ;;
10125
 
  *)
10126
 
    lt_prog_compiler_pic="$lt_prog_compiler_pic@&t@ -DPIC"
10127
 
    ;;
10128
 
esac
10129
 
 
10130
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
10131
 
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
10132
 
if ${lt_cv_prog_compiler_pic+:} false; then :
10133
 
  $as_echo_n "(cached) " >&6
10134
 
else
10135
 
  lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
10136
 
fi
10137
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
10138
 
$as_echo "$lt_cv_prog_compiler_pic" >&6; }
10139
 
lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
10140
 
 
10141
 
#
10142
 
# Check to make sure the PIC flag actually works.
10143
 
#
10144
 
if test -n "$lt_prog_compiler_pic"; then
10145
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
10146
 
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
10147
 
if ${lt_cv_prog_compiler_pic_works+:} false; then :
10148
 
  $as_echo_n "(cached) " >&6
10149
 
else
10150
 
  lt_cv_prog_compiler_pic_works=no
10151
 
   ac_outfile=conftest.$ac_objext
10152
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10153
 
   lt_compiler_flag="$lt_prog_compiler_pic@&t@ -DPIC"
10154
 
   # Insert the option either (1) after the last *FLAGS variable, or
10155
 
   # (2) before a word containing "conftest.", or (3) at the end.
10156
 
   # Note that $ac_compile itself does not contain backslashes and begins
10157
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
10158
 
   # The option is referenced via a variable to avoid confusing sed.
10159
 
   lt_compile=`echo "$ac_compile" | $SED \
10160
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10161
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10162
 
   -e 's:$: $lt_compiler_flag:'`
10163
 
   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10164
 
   (eval "$lt_compile" 2>conftest.err)
10165
 
   ac_status=$?
10166
 
   cat conftest.err >&5
10167
 
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10168
 
   if (exit $ac_status) && test -s "$ac_outfile"; then
10169
 
     # The compiler can only warn and ignore the option if not recognized
10170
 
     # So say no if there are warnings other than the usual output.
10171
 
     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
10172
 
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10173
 
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
10174
 
       lt_cv_prog_compiler_pic_works=yes
10175
 
     fi
10176
 
   fi
10177
 
   $RM conftest*
10178
 
 
10179
 
fi
10180
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
10181
 
$as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
10182
 
 
10183
 
if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
10184
 
    case $lt_prog_compiler_pic in
10185
 
     "" | " "*) ;;
10186
 
     *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
10187
 
     esac
10188
 
else
10189
 
    lt_prog_compiler_pic=
10190
 
     lt_prog_compiler_can_build_shared=no
10191
 
fi
10192
 
 
10193
 
fi
10194
 
 
10195
 
    
10196
 
    
10197
 
    
10198
 
 
10199
 
 
10200
 
 
10201
 
    
10202
 
    
10203
 
    
10204
 
 
10205
 
#
10206
 
# Check to make sure the static flag actually works.
10207
 
#
10208
 
wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
10209
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
10210
 
$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
10211
 
if ${lt_cv_prog_compiler_static_works+:} false; then :
10212
 
  $as_echo_n "(cached) " >&6
10213
 
else
10214
 
  lt_cv_prog_compiler_static_works=no
10215
 
   save_LDFLAGS="$LDFLAGS"
10216
 
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
10217
 
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
10218
 
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
10219
 
     # The linker can only warn and ignore the option if not recognized
10220
 
     # So say no if there are warnings
10221
 
     if test -s conftest.err; then
10222
 
       # Append any errors to the config.log.
10223
 
       cat conftest.err 1>&5
10224
 
       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10225
 
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10226
 
       if diff conftest.exp conftest.er2 >/dev/null; then
10227
 
         lt_cv_prog_compiler_static_works=yes
10228
 
       fi
10229
 
     else
10230
 
       lt_cv_prog_compiler_static_works=yes
10231
 
     fi
10232
 
   fi
10233
 
   $RM -r conftest*
10234
 
   LDFLAGS="$save_LDFLAGS"
10235
 
 
10236
 
fi
10237
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
10238
 
$as_echo "$lt_cv_prog_compiler_static_works" >&6; }
10239
 
 
10240
 
if test x"$lt_cv_prog_compiler_static_works" = xyes; then
10241
 
    :
10242
 
else
10243
 
    lt_prog_compiler_static=
10244
 
fi
10245
 
 
10246
 
 
10247
 
    
10248
 
    
10249
 
    
10250
 
 
10251
 
 
10252
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
10253
 
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
10254
 
if ${lt_cv_prog_compiler_c_o+:} false; then :
10255
 
  $as_echo_n "(cached) " >&6
10256
 
else
10257
 
  lt_cv_prog_compiler_c_o=no
10258
 
   $RM -r conftest 2>/dev/null
10259
 
   mkdir conftest
10260
 
   cd conftest
10261
 
   mkdir out
10262
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10263
 
 
10264
 
   lt_compiler_flag="-o out/conftest2.$ac_objext"
10265
 
   # Insert the option either (1) after the last *FLAGS variable, or
10266
 
   # (2) before a word containing "conftest.", or (3) at the end.
10267
 
   # Note that $ac_compile itself does not contain backslashes and begins
10268
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
10269
 
   lt_compile=`echo "$ac_compile" | $SED \
10270
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10271
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10272
 
   -e 's:$: $lt_compiler_flag:'`
10273
 
   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10274
 
   (eval "$lt_compile" 2>out/conftest.err)
10275
 
   ac_status=$?
10276
 
   cat out/conftest.err >&5
10277
 
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10278
 
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
10279
 
   then
10280
 
     # The compiler can only warn and ignore the option if not recognized
10281
 
     # So say no if there are warnings
10282
 
     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
10283
 
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
10284
 
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
10285
 
       lt_cv_prog_compiler_c_o=yes
10286
 
     fi
10287
 
   fi
10288
 
   chmod u+w . 2>&5
10289
 
   $RM conftest*
10290
 
   # SGI C++ compiler will create directory out/ii_files/ for
10291
 
   # template instantiation
10292
 
   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
10293
 
   $RM out/* && rmdir out
10294
 
   cd ..
10295
 
   $RM -r conftest
10296
 
   $RM conftest*
10297
 
 
10298
 
fi
10299
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
10300
 
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
10301
 
 
10302
 
    
10303
 
    
10304
 
    
10305
 
 
10306
 
 
10307
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
10308
 
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
10309
 
if ${lt_cv_prog_compiler_c_o+:} false; then :
10310
 
  $as_echo_n "(cached) " >&6
10311
 
else
10312
 
  lt_cv_prog_compiler_c_o=no
10313
 
   $RM -r conftest 2>/dev/null
10314
 
   mkdir conftest
10315
 
   cd conftest
10316
 
   mkdir out
10317
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10318
 
 
10319
 
   lt_compiler_flag="-o out/conftest2.$ac_objext"
10320
 
   # Insert the option either (1) after the last *FLAGS variable, or
10321
 
   # (2) before a word containing "conftest.", or (3) at the end.
10322
 
   # Note that $ac_compile itself does not contain backslashes and begins
10323
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
10324
 
   lt_compile=`echo "$ac_compile" | $SED \
10325
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10326
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10327
 
   -e 's:$: $lt_compiler_flag:'`
10328
 
   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10329
 
   (eval "$lt_compile" 2>out/conftest.err)
10330
 
   ac_status=$?
10331
 
   cat out/conftest.err >&5
10332
 
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10333
 
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
10334
 
   then
10335
 
     # The compiler can only warn and ignore the option if not recognized
10336
 
     # So say no if there are warnings
10337
 
     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
10338
 
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
10339
 
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
10340
 
       lt_cv_prog_compiler_c_o=yes
10341
 
     fi
10342
 
   fi
10343
 
   chmod u+w . 2>&5
10344
 
   $RM conftest*
10345
 
   # SGI C++ compiler will create directory out/ii_files/ for
10346
 
   # template instantiation
10347
 
   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
10348
 
   $RM out/* && rmdir out
10349
 
   cd ..
10350
 
   $RM -r conftest
10351
 
   $RM conftest*
10352
 
 
10353
 
fi
10354
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
10355
 
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
10356
 
 
10357
 
 
10358
 
 
10359
 
 
10360
 
hard_links="nottested"
10361
 
if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
10362
 
  # do not overwrite the value of need_locks provided by the user
10363
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
10364
 
$as_echo_n "checking if we can lock with hard links... " >&6; }
10365
 
  hard_links=yes
10366
 
  $RM conftest*
10367
 
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
10368
 
  touch conftest.a
10369
 
  ln conftest.a conftest.b 2>&5 || hard_links=no
10370
 
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
10371
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
10372
 
$as_echo "$hard_links" >&6; }
10373
 
  if test "$hard_links" = no; then
10374
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
10375
 
$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
10376
 
    need_locks=warn
10377
 
  fi
10378
 
else
10379
 
  need_locks=no
10380
 
fi
10381
 
 
10382
 
    
10383
 
    
10384
 
    
10385
 
 
10386
 
 
10387
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
10388
 
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
10389
 
 
10390
 
  runpath_var=
10391
 
  allow_undefined_flag=
10392
 
  always_export_symbols=no
10393
 
  archive_cmds=
10394
 
  archive_expsym_cmds=
10395
 
  compiler_needs_object=no
10396
 
  enable_shared_with_static_runtimes=no
10397
 
  export_dynamic_flag_spec=
10398
 
  export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
10399
 
  hardcode_automatic=no
10400
 
  hardcode_direct=no
10401
 
  hardcode_direct_absolute=no
10402
 
  hardcode_libdir_flag_spec=
10403
 
  hardcode_libdir_separator=
10404
 
  hardcode_minus_L=no
10405
 
  hardcode_shlibpath_var=unsupported
10406
 
  inherit_rpath=no
10407
 
  link_all_deplibs=unknown
10408
 
  module_cmds=
10409
 
  module_expsym_cmds=
10410
 
  old_archive_from_new_cmds=
10411
 
  old_archive_from_expsyms_cmds=
10412
 
  thread_safe_flag_spec=
10413
 
  whole_archive_flag_spec=
10414
 
  # include_expsyms should be a list of space-separated symbols to be *always*
10415
 
  # included in the symbol list
10416
 
  include_expsyms=
10417
 
  # exclude_expsyms can be an extended regexp of symbols to exclude
10418
 
  # it will be wrapped by ` (' and `)$', so one must not match beginning or
10419
 
  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
10420
 
  # as well as any symbol that contains `d'.
10421
 
  exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
10422
 
  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
10423
 
  # platforms (ab)use it in PIC code, but their linkers get confused if
10424
 
  # the symbol is explicitly referenced.  Since portable code cannot
10425
 
  # rely on this symbol name, it's probably fine to never include it in
10426
 
  # preloaded symbol tables.
10427
 
  # Exclude shared library initialization/finalization symbols.
10428
 
  extract_expsyms_cmds=
10429
 
 
10430
 
  case $host_os in
10431
 
  cygwin* | mingw* | pw32* | cegcc*)
10432
 
    # FIXME: the MSVC++ port hasn't been tested in a loooong time
10433
 
    # When not using gcc, we currently assume that we are using
10434
 
    # Microsoft Visual C++.
10435
 
    if test "$GCC" != yes; then
10436
 
      with_gnu_ld=no
10437
 
    fi
10438
 
    ;;
10439
 
  interix*)
10440
 
    # we just hope/assume this is gcc and not c89 (= MSVC++)
10441
 
    with_gnu_ld=yes
10442
 
    ;;
10443
 
  openbsd*)
10444
 
    with_gnu_ld=no
10445
 
    ;;
10446
 
  esac
10447
 
 
10448
 
  ld_shlibs=yes
10449
 
 
10450
 
  # On some targets, GNU ld is compatible enough with the native linker
10451
 
  # that we're better off using the native interface for both.
10452
 
  lt_use_gnu_ld_interface=no
10453
 
  if test "$with_gnu_ld" = yes; then
10454
 
    case $host_os in
10455
 
      aix*)
10456
 
        # The AIX port of GNU ld has always aspired to compatibility
10457
 
        # with the native linker.  However, as the warning in the GNU ld
10458
 
        # block says, versions before 2.19.5* couldn't really create working
10459
 
        # shared libraries, regardless of the interface used.
10460
 
        case `$LD -v 2>&1` in
10461
 
          *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
10462
 
          *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
10463
 
          *\ \(GNU\ Binutils\)\ [3-9]*) ;;
10464
 
          *)
10465
 
            lt_use_gnu_ld_interface=yes
10466
 
            ;;
10467
 
        esac
10468
 
        ;;
10469
 
      *)
10470
 
        lt_use_gnu_ld_interface=yes
10471
 
        ;;
10472
 
    esac
10473
 
  fi
10474
 
 
10475
 
  if test "$lt_use_gnu_ld_interface" = yes; then
10476
 
    # If archive_cmds runs LD, not CC, wlarc should be empty
10477
 
    wlarc='${wl}'
10478
 
 
10479
 
    # Set some defaults for GNU ld with shared library support. These
10480
 
    # are reset later if shared libraries are not supported. Putting them
10481
 
    # here allows them to be overridden if necessary.
10482
 
    runpath_var=LD_RUN_PATH
10483
 
    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10484
 
    export_dynamic_flag_spec='${wl}--export-dynamic'
10485
 
    # ancient GNU ld didn't support --whole-archive et. al.
10486
 
    if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
10487
 
      whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
10488
 
    else
10489
 
      whole_archive_flag_spec=
10490
 
    fi
10491
 
    supports_anon_versioning=no
10492
 
    case `$LD -v 2>&1` in
10493
 
      *GNU\ gold*) supports_anon_versioning=yes ;;
10494
 
      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
10495
 
      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
10496
 
      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
10497
 
      *\ 2.11.*) ;; # other 2.11 versions
10498
 
      *) supports_anon_versioning=yes ;;
10499
 
    esac
10500
 
 
10501
 
    # See if GNU ld supports shared libraries.
10502
 
    case $host_os in
10503
 
    aix[3-9]*)
10504
 
      # On AIX/PPC, the GNU linker is very broken
10505
 
      if test "$host_cpu" != ia64; then
10506
 
        ld_shlibs=no
10507
 
        cat <<_LT_EOF 1>&2
10508
 
 
10509
 
*** Warning: the GNU linker, at least up to release 2.19, is reported
10510
 
*** to be unable to reliably create shared libraries on AIX.
10511
 
*** Therefore, libtool is disabling shared libraries support.  If you
10512
 
*** really care for shared libraries, you may want to install binutils
10513
 
*** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
10514
 
*** You will then need to restart the configuration process.
10515
 
 
10516
 
_LT_EOF
10517
 
      fi
10518
 
      ;;
10519
 
 
10520
 
    amigaos*)
10521
 
      case $host_cpu in
10522
 
      powerpc)
10523
 
            # see comment about AmigaOS4 .so support
10524
 
            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10525
 
            archive_expsym_cmds=''
10526
 
        ;;
10527
 
      m68k)
10528
 
            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)'
10529
 
            hardcode_libdir_flag_spec='-L$libdir'
10530
 
            hardcode_minus_L=yes
10531
 
        ;;
10532
 
      esac
10533
 
      ;;
10534
 
 
10535
 
    beos*)
10536
 
      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10537
 
        allow_undefined_flag=unsupported
10538
 
        # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
10539
 
        # support --undefined.  This deserves some investigation.  FIXME
10540
 
        archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10541
 
      else
10542
 
        ld_shlibs=no
10543
 
      fi
10544
 
      ;;
10545
 
 
10546
 
    cygwin* | mingw* | pw32* | cegcc*)
10547
 
      # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
10548
 
      # as there is no search path for DLLs.
10549
 
      hardcode_libdir_flag_spec='-L$libdir'
10550
 
      export_dynamic_flag_spec='${wl}--export-all-symbols'
10551
 
      allow_undefined_flag=unsupported
10552
 
      always_export_symbols=no
10553
 
      enable_shared_with_static_runtimes=yes
10554
 
      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
10555
 
      exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
10556
 
 
10557
 
      if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
10558
 
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10559
 
        # If the export-symbols file already is a .def file (1st line
10560
 
        # is EXPORTS), use it as is; otherwise, prepend...
10561
 
        archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
10562
 
          cp $export_symbols $output_objdir/$soname.def;
10563
 
        else
10564
 
          echo EXPORTS > $output_objdir/$soname.def;
10565
 
          cat $export_symbols >> $output_objdir/$soname.def;
10566
 
        fi~
10567
 
        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10568
 
      else
10569
 
        ld_shlibs=no
10570
 
      fi
10571
 
      ;;
10572
 
 
10573
 
    haiku*)
10574
 
      archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10575
 
      link_all_deplibs=yes
10576
 
      ;;
10577
 
 
10578
 
    interix[3-9]*)
10579
 
      hardcode_direct=no
10580
 
      hardcode_shlibpath_var=no
10581
 
      hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10582
 
      export_dynamic_flag_spec='${wl}-E'
10583
 
      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
10584
 
      # Instead, shared libraries are loaded at an image base (0x10000000 by
10585
 
      # default) and relocated if they conflict, which is a slow very memory
10586
 
      # consuming and fragmenting process.  To avoid this, we pick a random,
10587
 
      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
10588
 
      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
10589
 
      archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
10590
 
      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'
10591
 
      ;;
10592
 
 
10593
 
    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
10594
 
      tmp_diet=no
10595
 
      if test "$host_os" = linux-dietlibc; then
10596
 
        case $cc_basename in
10597
 
          diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
10598
 
        esac
10599
 
      fi
10600
 
      if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
10601
 
         && test "$tmp_diet" = no
10602
 
      then
10603
 
        tmp_addflag=' $pic_flag'
10604
 
        tmp_sharedflag='-shared'
10605
 
        case $cc_basename,$host_cpu in
10606
 
        pgcc*)                          # Portland Group C compiler
10607
 
          whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
10608
 
          tmp_addflag=' $pic_flag'
10609
 
          ;;
10610
 
        pgf77* | pgf90* | pgf95* | pgfortran*)
10611
 
                                        # Portland Group f77 and f90 compilers
10612
 
          whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
10613
 
          tmp_addflag=' $pic_flag -Mnomain' ;;
10614
 
        ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
10615
 
          tmp_addflag=' -i_dynamic' ;;
10616
 
        efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
10617
 
          tmp_addflag=' -i_dynamic -nofor_main' ;;
10618
 
        ifc* | ifort*)                  # Intel Fortran compiler
10619
 
          tmp_addflag=' -nofor_main' ;;
10620
 
        lf95*)                          # Lahey Fortran 8.1
10621
 
          whole_archive_flag_spec=
10622
 
          tmp_sharedflag='--shared' ;;
10623
 
        xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
10624
 
          tmp_sharedflag='-qmkshrobj'
10625
 
          tmp_addflag= ;;
10626
 
        nvcc*)  # Cuda Compiler Driver 2.2
10627
 
          whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
10628
 
          compiler_needs_object=yes
10629
 
          ;;
10630
 
        esac
10631
 
        case `$CC -V 2>&1 | sed 5q` in
10632
 
        *Sun\ C*)                       # Sun C 5.9
10633
 
          whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
10634
 
          compiler_needs_object=yes
10635
 
          tmp_sharedflag='-G' ;;
10636
 
        *Sun\ F*)                       # Sun Fortran 8.3
10637
 
          tmp_sharedflag='-G' ;;
10638
 
        esac
10639
 
        archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10640
 
 
10641
 
        if test "x$supports_anon_versioning" = xyes; then
10642
 
          archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
10643
 
            cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10644
 
            echo "local: *; };" >> $output_objdir/$libname.ver~
10645
 
            $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
10646
 
        fi
10647
 
 
10648
 
        case $cc_basename in
10649
 
        xlf* | bgf* | bgxlf* | mpixlf*)
10650
 
          # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
10651
 
          whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
10652
 
          hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10653
 
          archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
10654
 
          if test "x$supports_anon_versioning" = xyes; then
10655
 
            archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
10656
 
              cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10657
 
              echo "local: *; };" >> $output_objdir/$libname.ver~
10658
 
              $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
10659
 
          fi
10660
 
          ;;
10661
 
        esac
10662
 
      else
10663
 
        ld_shlibs=no
10664
 
      fi
10665
 
      ;;
10666
 
 
10667
 
    netbsd*)
10668
 
      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10669
 
        archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
10670
 
        wlarc=
10671
 
      else
10672
 
        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10673
 
        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10674
 
      fi
10675
 
      ;;
10676
 
 
10677
 
    solaris*)
10678
 
      if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
10679
 
        ld_shlibs=no
10680
 
        cat <<_LT_EOF 1>&2
10681
 
 
10682
 
*** Warning: The releases 2.8.* of the GNU linker cannot reliably
10683
 
*** create shared libraries on Solaris systems.  Therefore, libtool
10684
 
*** is disabling shared libraries support.  We urge you to upgrade GNU
10685
 
*** binutils to release 2.9.1 or newer.  Another option is to modify
10686
 
*** your PATH or compiler configuration so that the native linker is
10687
 
*** used, and then restart.
10688
 
 
10689
 
_LT_EOF
10690
 
      elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10691
 
        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10692
 
        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10693
 
      else
10694
 
        ld_shlibs=no
10695
 
      fi
10696
 
      ;;
10697
 
 
10698
 
    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
10699
 
      case `$LD -v 2>&1` in
10700
 
        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
10701
 
        ld_shlibs=no
10702
 
        cat <<_LT_EOF 1>&2
10703
 
 
10704
 
*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
10705
 
*** reliably create shared libraries on SCO systems.  Therefore, libtool
10706
 
*** is disabling shared libraries support.  We urge you to upgrade GNU
10707
 
*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
10708
 
*** your PATH or compiler configuration so that the native linker is
10709
 
*** used, and then restart.
10710
 
 
10711
 
_LT_EOF
10712
 
        ;;
10713
 
        *)
10714
 
          # For security reasons, it is highly recommended that you always
10715
 
          # use absolute paths for naming shared libraries, and exclude the
10716
 
          # DT_RUNPATH tag from executables and libraries.  But doing so
10717
 
          # requires that you compile everything twice, which is a pain.
10718
 
          if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10719
 
            hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10720
 
            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10721
 
            archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10722
 
          else
10723
 
            ld_shlibs=no
10724
 
          fi
10725
 
        ;;
10726
 
      esac
10727
 
      ;;
10728
 
 
10729
 
    sunos4*)
10730
 
      archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10731
 
      wlarc=
10732
 
      hardcode_direct=yes
10733
 
      hardcode_shlibpath_var=no
10734
 
      ;;
10735
 
 
10736
 
    *)
10737
 
      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10738
 
        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10739
 
        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10740
 
      else
10741
 
        ld_shlibs=no
10742
 
      fi
10743
 
      ;;
10744
 
    esac
10745
 
 
10746
 
    if test "$ld_shlibs" = no; then
10747
 
      runpath_var=
10748
 
      hardcode_libdir_flag_spec=
10749
 
      export_dynamic_flag_spec=
10750
 
      whole_archive_flag_spec=
10751
 
    fi
10752
 
  else
10753
 
    # PORTME fill in a description of your system's linker (not GNU ld)
10754
 
    case $host_os in
10755
 
    aix3*)
10756
 
      allow_undefined_flag=unsupported
10757
 
      always_export_symbols=yes
10758
 
      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'
10759
 
      # Note: this linker hardcodes the directories in LIBPATH if there
10760
 
      # are no directories specified by -L.
10761
 
      hardcode_minus_L=yes
10762
 
      if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
10763
 
        # Neither direct hardcoding nor static linking is supported with a
10764
 
        # broken collect2.
10765
 
        hardcode_direct=unsupported
10766
 
      fi
10767
 
      ;;
10768
 
 
10769
 
    aix[4-9]*)
10770
 
      if test "$host_cpu" = ia64; then
10771
 
        # On IA64, the linker does run time linking by default, so we don't
10772
 
        # have to do anything special.
10773
 
        aix_use_runtimelinking=no
10774
 
        exp_sym_flag='-Bexport'
10775
 
        no_entry_flag=""
10776
 
      else
10777
 
        # If we're using GNU nm, then we don't want the "-C" option.
10778
 
        # -C means demangle to AIX nm, but means don't demangle with GNU nm
10779
 
        # Also, AIX nm treats weak defined symbols like other global
10780
 
        # defined symbols, whereas GNU nm marks them as "W".
10781
 
        if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
10782
 
          export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
10783
 
        else
10784
 
          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'
10785
 
        fi
10786
 
        aix_use_runtimelinking=no
10787
 
 
10788
 
        # Test if we are trying to use run time linking or normal
10789
 
        # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10790
 
        # need to do runtime linking.
10791
 
        case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
10792
 
          for ld_flag in $LDFLAGS; do
10793
 
          if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
10794
 
            aix_use_runtimelinking=yes
10795
 
            break
10796
 
          fi
10797
 
          done
10798
 
          ;;
10799
 
        esac
10800
 
 
10801
 
        exp_sym_flag='-bexport'
10802
 
        no_entry_flag='-bnoentry'
10803
 
      fi
10804
 
 
10805
 
      # When large executables or shared objects are built, AIX ld can
10806
 
      # have problems creating the table of contents.  If linking a library
10807
 
      # or program results in "error TOC overflow" add -mminimal-toc to
10808
 
      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
10809
 
      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10810
 
 
10811
 
      archive_cmds=''
10812
 
      hardcode_direct=yes
10813
 
      hardcode_direct_absolute=yes
10814
 
      hardcode_libdir_separator=':'
10815
 
      link_all_deplibs=yes
10816
 
      file_list_spec='${wl}-f,'
10817
 
 
10818
 
      if test "$GCC" = yes; then
10819
 
        case $host_os in aix4.[012]|aix4.[012].*)
10820
 
        # We only want to do this on AIX 4.2 and lower, the check
10821
 
        # below for broken collect2 doesn't work under 4.3+
10822
 
          collect2name=`${CC} -print-prog-name=collect2`
10823
 
          if test -f "$collect2name" &&
10824
 
           strings "$collect2name" | $GREP resolve_lib_name >/dev/null
10825
 
          then
10826
 
          # We have reworked collect2
10827
 
          :
10828
 
          else
10829
 
          # We have old collect2
10830
 
          hardcode_direct=unsupported
10831
 
          # It fails to find uninstalled libraries when the uninstalled
10832
 
          # path is not listed in the libpath.  Setting hardcode_minus_L
10833
 
          # to unsupported forces relinking
10834
 
          hardcode_minus_L=yes
10835
 
          hardcode_libdir_flag_spec='-L$libdir'
10836
 
          hardcode_libdir_separator=
10837
 
          fi
10838
 
          ;;
10839
 
        esac
10840
 
        shared_flag='-shared'
10841
 
        if test "$aix_use_runtimelinking" = yes; then
10842
 
          shared_flag="$shared_flag "'${wl}-G'
10843
 
        fi
10844
 
      else
10845
 
        # not using gcc
10846
 
        if test "$host_cpu" = ia64; then
10847
 
        # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10848
 
        # chokes on -Wl,-G. The following line is correct:
10849
 
          shared_flag='-G'
10850
 
        else
10851
 
          if test "$aix_use_runtimelinking" = yes; then
10852
 
            shared_flag='${wl}-G'
10853
 
          else
10854
 
            shared_flag='${wl}-bM:SRE'
10855
 
          fi
10856
 
        fi
10857
 
      fi
10858
 
 
10859
 
      export_dynamic_flag_spec='${wl}-bexpall'
10860
 
      # It seems that -bexpall does not export symbols beginning with
10861
 
      # underscore (_), so it is better to generate a list of symbols to export.
10862
 
      always_export_symbols=yes
10863
 
      if test "$aix_use_runtimelinking" = yes; then
10864
 
        # Warning - without using the other runtime loading flags (-brtl),
10865
 
        # -berok will link without error, but may produce a broken library.
10866
 
        allow_undefined_flag='-berok'
10867
 
        # Determine the default libpath from the value encoded in an
10868
 
        # empty executable.
10869
 
        if test "${lt_cv_aix_libpath+set}" = set; then
10870
 
  aix_libpath=$lt_cv_aix_libpath
10871
 
else
10872
 
  if ${lt_cv_aix_libpath_+:} false; then :
10873
 
  $as_echo_n "(cached) " >&6
10874
 
else
10875
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10876
 
/* end confdefs.h.  */
10877
 
 
10878
 
int
10879
 
main ()
10880
 
{
10881
 
 
10882
 
  ;
10883
 
  return 0;
10884
 
}
10885
 
_ACEOF
10886
 
if ac_fn_c_try_link "$LINENO"; then :
10887
 
  
10888
 
  lt_aix_libpath_sed='
10889
 
      /Import File Strings/,/^$/ {
10890
 
          /^0/ {
10891
 
              s/^0  *\([^ ]*\) *$/\1/
10892
 
              p
10893
 
          }
10894
 
      }'
10895
 
  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10896
 
  # Check for a 64-bit object if we didn't find anything.
10897
 
  if test -z "$lt_cv_aix_libpath_"; then
10898
 
    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10899
 
  fi
10900
 
fi
10901
 
rm -f core conftest.err conftest.$ac_objext \
10902
 
    conftest$ac_exeext conftest.$ac_ext
10903
 
  if test -z "$lt_cv_aix_libpath_"; then
10904
 
    lt_cv_aix_libpath_="/usr/lib:/lib"
10905
 
  fi
10906
 
  
10907
 
fi
10908
 
 
10909
 
  aix_libpath=$lt_cv_aix_libpath_
10910
 
fi
10911
 
 
10912
 
        hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10913
 
        archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
10914
 
      else
10915
 
        if test "$host_cpu" = ia64; then
10916
 
          hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
10917
 
          allow_undefined_flag="-z nodefs"
10918
 
          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"
10919
 
        else
10920
 
         # Determine the default libpath from the value encoded in an
10921
 
         # empty executable.
10922
 
         if test "${lt_cv_aix_libpath+set}" = set; then
10923
 
  aix_libpath=$lt_cv_aix_libpath
10924
 
else
10925
 
  if ${lt_cv_aix_libpath_+:} false; then :
10926
 
  $as_echo_n "(cached) " >&6
10927
 
else
10928
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10929
 
/* end confdefs.h.  */
10930
 
 
10931
 
int
10932
 
main ()
10933
 
{
10934
 
 
10935
 
  ;
10936
 
  return 0;
10937
 
}
10938
 
_ACEOF
10939
 
if ac_fn_c_try_link "$LINENO"; then :
10940
 
  
10941
 
  lt_aix_libpath_sed='
10942
 
      /Import File Strings/,/^$/ {
10943
 
          /^0/ {
10944
 
              s/^0  *\([^ ]*\) *$/\1/
10945
 
              p
10946
 
          }
10947
 
      }'
10948
 
  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10949
 
  # Check for a 64-bit object if we didn't find anything.
10950
 
  if test -z "$lt_cv_aix_libpath_"; then
10951
 
    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10952
 
  fi
10953
 
fi
10954
 
rm -f core conftest.err conftest.$ac_objext \
10955
 
    conftest$ac_exeext conftest.$ac_ext
10956
 
  if test -z "$lt_cv_aix_libpath_"; then
10957
 
    lt_cv_aix_libpath_="/usr/lib:/lib"
10958
 
  fi
10959
 
  
10960
 
fi
10961
 
 
10962
 
  aix_libpath=$lt_cv_aix_libpath_
10963
 
fi
10964
 
 
10965
 
         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10966
 
          # Warning - without using the other run time loading flags,
10967
 
          # -berok will link without error, but may produce a broken library.
10968
 
          no_undefined_flag=' ${wl}-bernotok'
10969
 
          allow_undefined_flag=' ${wl}-berok'
10970
 
          if test "$with_gnu_ld" = yes; then
10971
 
            # We only use this code for GNU lds that support --whole-archive.
10972
 
            whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
10973
 
          else
10974
 
            # Exported symbols can be pulled into shared objects from archives
10975
 
            whole_archive_flag_spec='$convenience'
10976
 
          fi
10977
 
          archive_cmds_need_lc=yes
10978
 
          # This is similar to how AIX traditionally builds its shared libraries.
10979
 
          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'
10980
 
        fi
10981
 
      fi
10982
 
      ;;
10983
 
 
10984
 
    amigaos*)
10985
 
      case $host_cpu in
10986
 
      powerpc)
10987
 
            # see comment about AmigaOS4 .so support
10988
 
            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10989
 
            archive_expsym_cmds=''
10990
 
        ;;
10991
 
      m68k)
10992
 
            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)'
10993
 
            hardcode_libdir_flag_spec='-L$libdir'
10994
 
            hardcode_minus_L=yes
10995
 
        ;;
10996
 
      esac
10997
 
      ;;
10998
 
 
10999
 
    bsdi[45]*)
11000
 
      export_dynamic_flag_spec=-rdynamic
11001
 
      ;;
11002
 
 
11003
 
    cygwin* | mingw* | pw32* | cegcc*)
11004
 
      # When not using gcc, we currently assume that we are using
11005
 
      # Microsoft Visual C++.
11006
 
      # hardcode_libdir_flag_spec is actually meaningless, as there is
11007
 
      # no search path for DLLs.
11008
 
      case $cc_basename in
11009
 
      cl*)
11010
 
        # Native MSVC
11011
 
        hardcode_libdir_flag_spec=' '
11012
 
        allow_undefined_flag=unsupported
11013
 
        always_export_symbols=yes
11014
 
        file_list_spec='@'
11015
 
        # Tell ltmain to make .lib files, not .a files.
11016
 
        libext=lib
11017
 
        # Tell ltmain to make .dll files, not .so files.
11018
 
        shrext_cmds=".dll"
11019
 
        # FIXME: Setting linknames here is a bad hack.
11020
 
        archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
11021
 
        archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
11022
 
            sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
11023
 
          else
11024
 
            sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
11025
 
          fi~
11026
 
          $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
11027
 
          linknames='
11028
 
        # The linker will not automatically build a static lib if we build a DLL.
11029
 
        # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
11030
 
        enable_shared_with_static_runtimes=yes
11031
 
        exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
11032
 
        export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
11033
 
        # Don't use ranlib
11034
 
        old_postinstall_cmds='chmod 644 $oldlib'
11035
 
        postlink_cmds='lt_outputfile="@OUTPUT@"~
11036
 
          lt_tool_outputfile="@TOOL_OUTPUT@"~
11037
 
          case $lt_outputfile in
11038
 
            *.exe|*.EXE) ;;
11039
 
            *)
11040
 
              lt_outputfile="$lt_outputfile.exe"
11041
 
              lt_tool_outputfile="$lt_tool_outputfile.exe"
11042
 
              ;;
11043
 
          esac~
11044
 
          if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
11045
 
            $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
11046
 
            $RM "$lt_outputfile.manifest";
11047
 
          fi'
11048
 
        ;;
11049
 
      *)
11050
 
        # Assume MSVC wrapper
11051
 
        hardcode_libdir_flag_spec=' '
11052
 
        allow_undefined_flag=unsupported
11053
 
        # Tell ltmain to make .lib files, not .a files.
11054
 
        libext=lib
11055
 
        # Tell ltmain to make .dll files, not .so files.
11056
 
        shrext_cmds=".dll"
11057
 
        # FIXME: Setting linknames here is a bad hack.
11058
 
        archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
11059
 
        # The linker will automatically build a .lib file if we build a DLL.
11060
 
        old_archive_from_new_cmds='true'
11061
 
        # FIXME: Should let the user specify the lib program.
11062
 
        old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
11063
 
        enable_shared_with_static_runtimes=yes
11064
 
        ;;
11065
 
      esac
11066
 
      ;;
11067
 
 
11068
 
    darwin* | rhapsody*)
11069
 
      
11070
 
  
11071
 
  archive_cmds_need_lc=no
11072
 
  hardcode_direct=no
11073
 
  hardcode_automatic=yes
11074
 
  hardcode_shlibpath_var=unsupported
11075
 
  if test "$lt_cv_ld_force_load" = "yes"; then
11076
 
    whole_archive_flag_spec='`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
11077
 
    
11078
 
  else
11079
 
    whole_archive_flag_spec=''
11080
 
  fi
11081
 
  link_all_deplibs=yes
11082
 
  allow_undefined_flag="$_lt_dar_allow_undefined"
11083
 
  case $cc_basename in
11084
 
     ifort*) _lt_dar_can_shared=yes ;;
11085
 
     *) _lt_dar_can_shared=$GCC ;;
11086
 
  esac
11087
 
  if test "$_lt_dar_can_shared" = "yes"; then
11088
 
    output_verbose_link_cmd=func_echo_all
11089
 
    archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
11090
 
    module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
11091
 
    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}"
11092
 
    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}"
11093
 
    
11094
 
  else
11095
 
  ld_shlibs=no
11096
 
  fi
11097
 
 
11098
 
      ;;
11099
 
 
11100
 
    dgux*)
11101
 
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11102
 
      hardcode_libdir_flag_spec='-L$libdir'
11103
 
      hardcode_shlibpath_var=no
11104
 
      ;;
11105
 
 
11106
 
    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
11107
 
    # support.  Future versions do this automatically, but an explicit c++rt0.o
11108
 
    # does not break anything, and helps significantly (at the cost of a little
11109
 
    # extra space).
11110
 
    freebsd2.2*)
11111
 
      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
11112
 
      hardcode_libdir_flag_spec='-R$libdir'
11113
 
      hardcode_direct=yes
11114
 
      hardcode_shlibpath_var=no
11115
 
      ;;
11116
 
 
11117
 
    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
11118
 
    freebsd2.*)
11119
 
      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
11120
 
      hardcode_direct=yes
11121
 
      hardcode_minus_L=yes
11122
 
      hardcode_shlibpath_var=no
11123
 
      ;;
11124
 
 
11125
 
    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
11126
 
    freebsd* | dragonfly*)
11127
 
      archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11128
 
      hardcode_libdir_flag_spec='-R$libdir'
11129
 
      hardcode_direct=yes
11130
 
      hardcode_shlibpath_var=no
11131
 
      ;;
11132
 
 
11133
 
    hpux9*)
11134
 
      if test "$GCC" = yes; then
11135
 
        archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
11136
 
      else
11137
 
        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'
11138
 
      fi
11139
 
      hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
11140
 
      hardcode_libdir_separator=:
11141
 
      hardcode_direct=yes
11142
 
 
11143
 
      # hardcode_minus_L: Not really in the search PATH,
11144
 
      # but as the default location of the library.
11145
 
      hardcode_minus_L=yes
11146
 
      export_dynamic_flag_spec='${wl}-E'
11147
 
      ;;
11148
 
 
11149
 
    hpux10*)
11150
 
      if test "$GCC" = yes && test "$with_gnu_ld" = no; then
11151
 
        archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11152
 
      else
11153
 
        archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
11154
 
      fi
11155
 
      if test "$with_gnu_ld" = no; then
11156
 
        hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
11157
 
        hardcode_libdir_separator=:
11158
 
        hardcode_direct=yes
11159
 
        hardcode_direct_absolute=yes
11160
 
        export_dynamic_flag_spec='${wl}-E'
11161
 
        # hardcode_minus_L: Not really in the search PATH,
11162
 
        # but as the default location of the library.
11163
 
        hardcode_minus_L=yes
11164
 
      fi
11165
 
      ;;
11166
 
 
11167
 
    hpux11*)
11168
 
      if test "$GCC" = yes && test "$with_gnu_ld" = no; then
11169
 
        case $host_cpu in
11170
 
        hppa*64*)
11171
 
          archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
11172
 
          ;;
11173
 
        ia64*)
11174
 
          archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
11175
 
          ;;
11176
 
        *)
11177
 
          archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11178
 
          ;;
11179
 
        esac
11180
 
      else
11181
 
        case $host_cpu in
11182
 
        hppa*64*)
11183
 
          archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
11184
 
          ;;
11185
 
        ia64*)
11186
 
          archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
11187
 
          ;;
11188
 
        *)
11189
 
        
11190
 
          # Older versions of the 11.00 compiler do not understand -b yet
11191
 
          # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
11192
 
          { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
11193
 
$as_echo_n "checking if $CC understands -b... " >&6; }
11194
 
if ${lt_cv_prog_compiler__b+:} false; then :
11195
 
  $as_echo_n "(cached) " >&6
11196
 
else
11197
 
  lt_cv_prog_compiler__b=no
11198
 
   save_LDFLAGS="$LDFLAGS"
11199
 
   LDFLAGS="$LDFLAGS -b"
11200
 
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
11201
 
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
11202
 
     # The linker can only warn and ignore the option if not recognized
11203
 
     # So say no if there are warnings
11204
 
     if test -s conftest.err; then
11205
 
       # Append any errors to the config.log.
11206
 
       cat conftest.err 1>&5
11207
 
       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
11208
 
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
11209
 
       if diff conftest.exp conftest.er2 >/dev/null; then
11210
 
         lt_cv_prog_compiler__b=yes
11211
 
       fi
11212
 
     else
11213
 
       lt_cv_prog_compiler__b=yes
11214
 
     fi
11215
 
   fi
11216
 
   $RM -r conftest*
11217
 
   LDFLAGS="$save_LDFLAGS"
11218
 
 
11219
 
fi
11220
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
11221
 
$as_echo "$lt_cv_prog_compiler__b" >&6; }
11222
 
 
11223
 
if test x"$lt_cv_prog_compiler__b" = xyes; then
11224
 
    archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11225
 
else
11226
 
    archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
11227
 
fi
11228
 
 
11229
 
          ;;
11230
 
        esac
11231
 
      fi
11232
 
      if test "$with_gnu_ld" = no; then
11233
 
        hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
11234
 
        hardcode_libdir_separator=:
11235
 
 
11236
 
        case $host_cpu in
11237
 
        hppa*64*|ia64*)
11238
 
          hardcode_direct=no
11239
 
          hardcode_shlibpath_var=no
11240
 
          ;;
11241
 
        *)
11242
 
          hardcode_direct=yes
11243
 
          hardcode_direct_absolute=yes
11244
 
          export_dynamic_flag_spec='${wl}-E'
11245
 
 
11246
 
          # hardcode_minus_L: Not really in the search PATH,
11247
 
          # but as the default location of the library.
11248
 
          hardcode_minus_L=yes
11249
 
          ;;
11250
 
        esac
11251
 
      fi
11252
 
      ;;
11253
 
 
11254
 
    irix5* | irix6* | nonstopux*)
11255
 
      if test "$GCC" = yes; then
11256
 
        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
11257
 
        # Try to use the -exported_symbol ld option, if it does not
11258
 
        # work, assume that -exports_file does not work either and
11259
 
        # implicitly export all symbols.
11260
 
        # This should be the same for all languages, so no per-tag cache variable.
11261
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
11262
 
$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
11263
 
if ${lt_cv_irix_exported_symbol+:} false; then :
11264
 
  $as_echo_n "(cached) " >&6
11265
 
else
11266
 
  save_LDFLAGS="$LDFLAGS"
11267
 
           LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
11268
 
           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11269
 
/* end confdefs.h.  */
11270
 
int foo (void) { return 0; }
11271
 
_ACEOF
11272
 
if ac_fn_c_try_link "$LINENO"; then :
11273
 
  lt_cv_irix_exported_symbol=yes
11274
 
else
11275
 
  lt_cv_irix_exported_symbol=no
11276
 
fi
11277
 
rm -f core conftest.err conftest.$ac_objext \
11278
 
    conftest$ac_exeext conftest.$ac_ext
11279
 
           LDFLAGS="$save_LDFLAGS"
11280
 
fi
11281
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
11282
 
$as_echo "$lt_cv_irix_exported_symbol" >&6; }
11283
 
        if test "$lt_cv_irix_exported_symbol" = yes; then
11284
 
          archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
11285
 
        fi
11286
 
      else
11287
 
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
11288
 
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
11289
 
      fi
11290
 
      archive_cmds_need_lc='no'
11291
 
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
11292
 
      hardcode_libdir_separator=:
11293
 
      inherit_rpath=yes
11294
 
      link_all_deplibs=yes
11295
 
      ;;
11296
 
 
11297
 
    netbsd*)
11298
 
      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11299
 
        archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
11300
 
      else
11301
 
        archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
11302
 
      fi
11303
 
      hardcode_libdir_flag_spec='-R$libdir'
11304
 
      hardcode_direct=yes
11305
 
      hardcode_shlibpath_var=no
11306
 
      ;;
11307
 
 
11308
 
    newsos6)
11309
 
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11310
 
      hardcode_direct=yes
11311
 
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
11312
 
      hardcode_libdir_separator=:
11313
 
      hardcode_shlibpath_var=no
11314
 
      ;;
11315
 
 
11316
 
    *nto* | *qnx*)
11317
 
      ;;
11318
 
 
11319
 
    openbsd*)
11320
 
      if test -f /usr/libexec/ld.so; then
11321
 
        hardcode_direct=yes
11322
 
        hardcode_shlibpath_var=no
11323
 
        hardcode_direct_absolute=yes
11324
 
        if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11325
 
          archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11326
 
          archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
11327
 
          hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
11328
 
          export_dynamic_flag_spec='${wl}-E'
11329
 
        else
11330
 
          case $host_os in
11331
 
           openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
11332
 
             archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
11333
 
             hardcode_libdir_flag_spec='-R$libdir'
11334
 
             ;;
11335
 
           *)
11336
 
             archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11337
 
             hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
11338
 
             ;;
11339
 
          esac
11340
 
        fi
11341
 
      else
11342
 
        ld_shlibs=no
11343
 
      fi
11344
 
      ;;
11345
 
 
11346
 
    os2*)
11347
 
      hardcode_libdir_flag_spec='-L$libdir'
11348
 
      hardcode_minus_L=yes
11349
 
      allow_undefined_flag=unsupported
11350
 
      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'
11351
 
      old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
11352
 
      ;;
11353
 
 
11354
 
    osf3*)
11355
 
      if test "$GCC" = yes; then
11356
 
        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
11357
 
        archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
11358
 
      else
11359
 
        allow_undefined_flag=' -expect_unresolved \*'
11360
 
        archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
11361
 
      fi
11362
 
      archive_cmds_need_lc='no'
11363
 
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
11364
 
      hardcode_libdir_separator=:
11365
 
      ;;
11366
 
 
11367
 
    osf4* | osf5*)      # as osf3* with the addition of -msym flag
11368
 
      if test "$GCC" = yes; then
11369
 
        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
11370
 
        archive_cmds='$CC -shared${allow_undefined_flag} $pic_flag $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
11371
 
        hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
11372
 
      else
11373
 
        allow_undefined_flag=' -expect_unresolved \*'
11374
 
        archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
11375
 
        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~
11376
 
        $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
11377
 
 
11378
 
        # Both c and cxx compiler support -rpath directly
11379
 
        hardcode_libdir_flag_spec='-rpath $libdir'
11380
 
      fi
11381
 
      archive_cmds_need_lc='no'
11382
 
      hardcode_libdir_separator=:
11383
 
      ;;
11384
 
 
11385
 
    solaris*)
11386
 
      no_undefined_flag=' -z defs'
11387
 
      if test "$GCC" = yes; then
11388
 
        wlarc='${wl}'
11389
 
        archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
11390
 
        archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11391
 
          $CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
11392
 
      else
11393
 
        case `$CC -V 2>&1` in
11394
 
        *"Compilers 5.0"*)
11395
 
          wlarc=''
11396
 
          archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
11397
 
          archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11398
 
          $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
11399
 
          ;;
11400
 
        *)
11401
 
          wlarc='${wl}'
11402
 
          archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
11403
 
          archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11404
 
          $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
11405
 
          ;;
11406
 
        esac
11407
 
      fi
11408
 
      hardcode_libdir_flag_spec='-R$libdir'
11409
 
      hardcode_shlibpath_var=no
11410
 
      case $host_os in
11411
 
      solaris2.[0-5] | solaris2.[0-5].*) ;;
11412
 
      *)
11413
 
        # The compiler driver will combine and reorder linker options,
11414
 
        # but understands `-z linker_flag'.  GCC discards it without `$wl',
11415
 
        # but is careful enough not to reorder.
11416
 
        # Supported since Solaris 2.6 (maybe 2.5.1?)
11417
 
        if test "$GCC" = yes; then
11418
 
          whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
11419
 
        else
11420
 
          whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
11421
 
        fi
11422
 
        ;;
11423
 
      esac
11424
 
      link_all_deplibs=yes
11425
 
      ;;
11426
 
 
11427
 
    sunos4*)
11428
 
      if test "x$host_vendor" = xsequent; then
11429
 
        # Use $CC to link under sequent, because it throws in some extra .o
11430
 
        # files that make .init and .fini sections work.
11431
 
        archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
11432
 
      else
11433
 
        archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
11434
 
      fi
11435
 
      hardcode_libdir_flag_spec='-L$libdir'
11436
 
      hardcode_direct=yes
11437
 
      hardcode_minus_L=yes
11438
 
      hardcode_shlibpath_var=no
11439
 
      ;;
11440
 
 
11441
 
    sysv4)
11442
 
      case $host_vendor in
11443
 
        sni)
11444
 
          archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11445
 
          hardcode_direct=yes # is this really true???
11446
 
        ;;
11447
 
        siemens)
11448
 
          ## LD is ld it makes a PLAMLIB
11449
 
          ## CC just makes a GrossModule.
11450
 
          archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
11451
 
          reload_cmds='$CC -r -o $output$reload_objs'
11452
 
          hardcode_direct=no
11453
 
        ;;
11454
 
        motorola)
11455
 
          archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11456
 
          hardcode_direct=no #Motorola manual says yes, but my tests say they lie
11457
 
        ;;
11458
 
      esac
11459
 
      runpath_var='LD_RUN_PATH'
11460
 
      hardcode_shlibpath_var=no
11461
 
      ;;
11462
 
 
11463
 
    sysv4.3*)
11464
 
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11465
 
      hardcode_shlibpath_var=no
11466
 
      export_dynamic_flag_spec='-Bexport'
11467
 
      ;;
11468
 
 
11469
 
    sysv4*MP*)
11470
 
      if test -d /usr/nec; then
11471
 
        archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11472
 
        hardcode_shlibpath_var=no
11473
 
        runpath_var=LD_RUN_PATH
11474
 
        hardcode_runpath_var=yes
11475
 
        ld_shlibs=yes
11476
 
      fi
11477
 
      ;;
11478
 
 
11479
 
    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
11480
 
      no_undefined_flag='${wl}-z,text'
11481
 
      archive_cmds_need_lc=no
11482
 
      hardcode_shlibpath_var=no
11483
 
      runpath_var='LD_RUN_PATH'
11484
 
 
11485
 
      if test "$GCC" = yes; then
11486
 
        archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11487
 
        archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11488
 
      else
11489
 
        archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11490
 
        archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11491
 
      fi
11492
 
      ;;
11493
 
 
11494
 
    sysv5* | sco3.2v5* | sco5v6*)
11495
 
      # Note: We can NOT use -z defs as we might desire, because we do not
11496
 
      # link with -lc, and that would cause any symbols used from libc to
11497
 
      # always be unresolved, which means just about no library would
11498
 
      # ever link correctly.  If we're not using GNU ld we use -z text
11499
 
      # though, which does catch some bad symbols but isn't as heavy-handed
11500
 
      # as -z defs.
11501
 
      no_undefined_flag='${wl}-z,text'
11502
 
      allow_undefined_flag='${wl}-z,nodefs'
11503
 
      archive_cmds_need_lc=no
11504
 
      hardcode_shlibpath_var=no
11505
 
      hardcode_libdir_flag_spec='${wl}-R,$libdir'
11506
 
      hardcode_libdir_separator=':'
11507
 
      link_all_deplibs=yes
11508
 
      export_dynamic_flag_spec='${wl}-Bexport'
11509
 
      runpath_var='LD_RUN_PATH'
11510
 
 
11511
 
      if test "$GCC" = yes; then
11512
 
        archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11513
 
        archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11514
 
      else
11515
 
        archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11516
 
        archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11517
 
      fi
11518
 
      ;;
11519
 
 
11520
 
    uts4*)
11521
 
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11522
 
      hardcode_libdir_flag_spec='-L$libdir'
11523
 
      hardcode_shlibpath_var=no
11524
 
      ;;
11525
 
 
11526
 
    *)
11527
 
      ld_shlibs=no
11528
 
      ;;
11529
 
    esac
11530
 
 
11531
 
    if test x$host_vendor = xsni; then
11532
 
      case $host in
11533
 
      sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
11534
 
        export_dynamic_flag_spec='${wl}-Blargedynsym'
11535
 
        ;;
11536
 
      esac
11537
 
    fi
11538
 
  fi
11539
 
 
11540
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
11541
 
$as_echo "$ld_shlibs" >&6; }
11542
 
test "$ld_shlibs" = no && can_build_shared=no
11543
 
 
11544
 
with_gnu_ld=$with_gnu_ld
11545
 
 
11546
 
 
11547
 
    
11548
 
    
11549
 
    
11550
 
 
11551
 
    
11552
 
    
11553
 
    
11554
 
 
11555
 
    
11556
 
    
11557
 
    
11558
 
 
11559
 
 
11560
 
#
11561
 
# Do we need to explicitly link libc?
11562
 
#
11563
 
case "x$archive_cmds_need_lc" in
11564
 
x|xyes)
11565
 
  # Assume -lc should be added
11566
 
  archive_cmds_need_lc=yes
11567
 
 
11568
 
  if test "$enable_shared" = yes && test "$GCC" = yes; then
11569
 
    case $archive_cmds in
11570
 
    *'~'*)
11571
 
      # FIXME: we may have to deal with multi-command sequences.
11572
 
      ;;
11573
 
    '$CC '*)
11574
 
      # Test whether the compiler implicitly links with -lc since on some
11575
 
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
11576
 
      # to ld, don't add -lc before -lgcc.
11577
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
11578
 
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
11579
 
if ${lt_cv_archive_cmds_need_lc+:} false; then :
11580
 
  $as_echo_n "(cached) " >&6
11581
 
else
11582
 
  $RM conftest*
11583
 
        echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11584
 
 
11585
 
        if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
11586
 
  (eval $ac_compile) 2>&5
11587
 
  ac_status=$?
11588
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11589
 
  test $ac_status = 0; } 2>conftest.err; then
11590
 
          soname=conftest
11591
 
          lib=conftest
11592
 
          libobjs=conftest.$ac_objext
11593
 
          deplibs=
11594
 
          wl=$lt_prog_compiler_wl
11595
 
          pic_flag=$lt_prog_compiler_pic
11596
 
          compiler_flags=-v
11597
 
          linker_flags=-v
11598
 
          verstring=
11599
 
          output_objdir=.
11600
 
          libname=conftest
11601
 
          lt_save_allow_undefined_flag=$allow_undefined_flag
11602
 
          allow_undefined_flag=
11603
 
          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
11604
 
  (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
11605
 
  ac_status=$?
11606
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11607
 
  test $ac_status = 0; }
11608
 
          then
11609
 
            lt_cv_archive_cmds_need_lc=no
11610
 
          else
11611
 
            lt_cv_archive_cmds_need_lc=yes
11612
 
          fi
11613
 
          allow_undefined_flag=$lt_save_allow_undefined_flag
11614
 
        else
11615
 
          cat conftest.err 1>&5
11616
 
        fi
11617
 
        $RM conftest*
11618
 
        
11619
 
fi
11620
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
11621
 
$as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
11622
 
      archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
11623
 
      ;;
11624
 
    esac
11625
 
  fi
11626
 
  ;;
11627
 
esac
11628
 
 
11629
 
 
11630
 
    
11631
 
    
11632
 
    
11633
 
 
11634
 
 
11635
 
    
11636
 
    
11637
 
    
11638
 
 
11639
 
 
11640
 
    
11641
 
    
11642
 
    
11643
 
 
11644
 
 
11645
 
    
11646
 
    
11647
 
    
11648
 
 
11649
 
 
11650
 
    
11651
 
    
11652
 
    
11653
 
 
11654
 
 
11655
 
    
11656
 
    
11657
 
    
11658
 
 
11659
 
 
11660
 
    
11661
 
    
11662
 
    
11663
 
 
11664
 
 
11665
 
    
11666
 
    
11667
 
    
11668
 
 
11669
 
 
11670
 
    
11671
 
    
11672
 
    
11673
 
 
11674
 
 
11675
 
    
11676
 
    
11677
 
    
11678
 
 
11679
 
 
11680
 
    
11681
 
    
11682
 
    
11683
 
 
11684
 
 
11685
 
    
11686
 
    
11687
 
    
11688
 
 
11689
 
 
11690
 
    
11691
 
    
11692
 
    
11693
 
 
11694
 
 
11695
 
    
11696
 
    
11697
 
    
11698
 
 
11699
 
 
11700
 
    
11701
 
    
11702
 
    
11703
 
 
11704
 
 
11705
 
    
11706
 
    
11707
 
    
11708
 
 
11709
 
 
11710
 
    
11711
 
    
11712
 
    
11713
 
 
11714
 
 
11715
 
    
11716
 
    
11717
 
    
11718
 
 
11719
 
 
11720
 
    
11721
 
    
11722
 
    
11723
 
 
11724
 
 
11725
 
    
11726
 
    
11727
 
    
11728
 
 
11729
 
 
11730
 
    
11731
 
    
11732
 
    
11733
 
 
11734
 
 
11735
 
    
11736
 
    
11737
 
    
11738
 
 
11739
 
 
11740
 
    
11741
 
    
11742
 
    
11743
 
 
11744
 
 
11745
 
    
11746
 
    
11747
 
    
11748
 
 
11749
 
 
11750
 
    
11751
 
    
11752
 
    
11753
 
 
11754
 
 
11755
 
    
11756
 
    
11757
 
    
11758
 
 
11759
 
 
11760
 
    
11761
 
    
11762
 
    
11763
 
 
11764
 
 
11765
 
    
11766
 
    
11767
 
    
11768
 
 
11769
 
 
11770
 
    
11771
 
    
11772
 
    
11773
 
 
11774
 
 
11775
 
    
11776
 
    
11777
 
    
11778
 
 
11779
 
 
11780
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
11781
 
$as_echo_n "checking dynamic linker characteristics... " >&6; }
11782
 
 
11783
 
if test "$GCC" = yes; then
11784
 
  case $host_os in
11785
 
    darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
11786
 
    *) lt_awk_arg="/^libraries:/" ;;
11787
 
  esac
11788
 
  case $host_os in
11789
 
    mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
11790
 
    *) lt_sed_strip_eq="s,=/,/,g" ;;
11791
 
  esac
11792
 
  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
11793
 
  case $lt_search_path_spec in
11794
 
  *\;*)
11795
 
    # if the path contains ";" then we assume it to be the separator
11796
 
    # otherwise default to the standard path separator (i.e. ":") - it is
11797
 
    # assumed that no part of a normal pathname contains ";" but that should
11798
 
    # okay in the real world where ";" in dirpaths is itself problematic.
11799
 
    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
11800
 
    ;;
11801
 
  *)
11802
 
    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
11803
 
    ;;
11804
 
  esac
11805
 
  # Ok, now we have the path, separated by spaces, we can step through it
11806
 
  # and add multilib dir if necessary.
11807
 
  lt_tmp_lt_search_path_spec=
11808
 
  lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
11809
 
  for lt_sys_path in $lt_search_path_spec; do
11810
 
    if test -d "$lt_sys_path/$lt_multi_os_dir"; then
11811
 
      lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
11812
 
    else
11813
 
      test -d "$lt_sys_path" && \
11814
 
        lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
11815
 
    fi
11816
 
  done
11817
 
  lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
11818
 
BEGIN {RS=" "; FS="/|\n";} {
11819
 
  lt_foo="";
11820
 
  lt_count=0;
11821
 
  for (lt_i = NF; lt_i > 0; lt_i--) {
11822
 
    if ($lt_i != "" && $lt_i != ".") {
11823
 
      if ($lt_i == "..") {
11824
 
        lt_count++;
11825
 
      } else {
11826
 
        if (lt_count == 0) {
11827
 
          lt_foo="/" $lt_i lt_foo;
11828
 
        } else {
11829
 
          lt_count--;
11830
 
        }
11831
 
      }
11832
 
    }
11833
 
  }
11834
 
  if (lt_foo != "") { lt_freq[lt_foo]++; }
11835
 
  if (lt_freq[lt_foo] == 1) { print lt_foo; }
11836
 
}'`
11837
 
  # AWK program above erroneously prepends '/' to C:/dos/paths
11838
 
  # for these hosts.
11839
 
  case $host_os in
11840
 
    mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
11841
 
      $SED 's,/\([A-Za-z]:\),\1,g'` ;;
11842
 
  esac
11843
 
  sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
11844
 
else
11845
 
  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
11846
 
fi
11847
 
library_names_spec=
11848
 
libname_spec='lib$name'
11849
 
soname_spec=
11850
 
shrext_cmds=".so"
11851
 
postinstall_cmds=
11852
 
postuninstall_cmds=
11853
 
finish_cmds=
11854
 
finish_eval=
11855
 
shlibpath_var=
11856
 
shlibpath_overrides_runpath=unknown
11857
 
version_type=none
11858
 
dynamic_linker="$host_os ld.so"
11859
 
sys_lib_dlsearch_path_spec="/lib /usr/lib"
11860
 
need_lib_prefix=unknown
11861
 
hardcode_into_libs=no
11862
 
 
11863
 
# when you set need_version to no, make sure it does not cause -set_version
11864
 
# flags to be left without arguments
11865
 
need_version=unknown
11866
 
 
11867
 
case $host_os in
11868
 
aix3*)
11869
 
  version_type=linux # correct to gnu/linux during the next big refactor
11870
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
11871
 
  shlibpath_var=LIBPATH
11872
 
 
11873
 
  # AIX 3 has no versioning support, so we append a major version to the name.
11874
 
  soname_spec='${libname}${release}${shared_ext}$major'
11875
 
  ;;
11876
 
 
11877
 
aix[4-9]*)
11878
 
  version_type=linux # correct to gnu/linux during the next big refactor
11879
 
  need_lib_prefix=no
11880
 
  need_version=no
11881
 
  hardcode_into_libs=yes
11882
 
  if test "$host_cpu" = ia64; then
11883
 
    # AIX 5 supports IA64
11884
 
    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
11885
 
    shlibpath_var=LD_LIBRARY_PATH
11886
 
  else
11887
 
    # With GCC up to 2.95.x, collect2 would create an import file
11888
 
    # for dependence libraries.  The import file would start with
11889
 
    # the line `#! .'.  This would cause the generated library to
11890
 
    # depend on `.', always an invalid library.  This was fixed in
11891
 
    # development snapshots of GCC prior to 3.0.
11892
 
    case $host_os in
11893
 
      aix4 | aix4.[01] | aix4.[01].*)
11894
 
      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11895
 
           echo ' yes '
11896
 
           echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
11897
 
        :
11898
 
      else
11899
 
        can_build_shared=no
11900
 
      fi
11901
 
      ;;
11902
 
    esac
11903
 
    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
11904
 
    # soname into executable. Probably we can add versioning support to
11905
 
    # collect2, so additional links can be useful in future.
11906
 
    if test "$aix_use_runtimelinking" = yes; then
11907
 
      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11908
 
      # instead of lib<name>.a to let people know that these are not
11909
 
      # typical AIX shared libraries.
11910
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11911
 
    else
11912
 
      # We preserve .a as extension for shared libraries through AIX4.2
11913
 
      # and later when we are not doing run time linking.
11914
 
      library_names_spec='${libname}${release}.a $libname.a'
11915
 
      soname_spec='${libname}${release}${shared_ext}$major'
11916
 
    fi
11917
 
    shlibpath_var=LIBPATH
11918
 
  fi
11919
 
  ;;
11920
 
 
11921
 
amigaos*)
11922
 
  case $host_cpu in
11923
 
  powerpc)
11924
 
    # Since July 2007 AmigaOS4 officially supports .so libraries.
11925
 
    # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
11926
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11927
 
    ;;
11928
 
  m68k)
11929
 
    library_names_spec='$libname.ixlibrary $libname.a'
11930
 
    # Create ${libname}_ixlibrary.a entries in /sys/libs.
11931
 
    finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
11932
 
    ;;
11933
 
  esac
11934
 
  ;;
11935
 
 
11936
 
beos*)
11937
 
  library_names_spec='${libname}${shared_ext}'
11938
 
  dynamic_linker="$host_os ld.so"
11939
 
  shlibpath_var=LIBRARY_PATH
11940
 
  ;;
11941
 
 
11942
 
bsdi[45]*)
11943
 
  version_type=linux # correct to gnu/linux during the next big refactor
11944
 
  need_version=no
11945
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11946
 
  soname_spec='${libname}${release}${shared_ext}$major'
11947
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
11948
 
  shlibpath_var=LD_LIBRARY_PATH
11949
 
  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11950
 
  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
11951
 
  # the default ld.so.conf also contains /usr/contrib/lib and
11952
 
  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11953
 
  # libtool to hard-code these into programs
11954
 
  ;;
11955
 
 
11956
 
cygwin* | mingw* | pw32* | cegcc*)
11957
 
  version_type=windows
11958
 
  shrext_cmds=".dll"
11959
 
  need_version=no
11960
 
  need_lib_prefix=no
11961
 
 
11962
 
  case $GCC,$cc_basename in
11963
 
  yes,*)
11964
 
    # gcc
11965
 
    library_names_spec='$libname.dll.a'
11966
 
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
11967
 
    postinstall_cmds='base_file=`basename \${file}`~
11968
 
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11969
 
      dldir=$destdir/`dirname \$dlpath`~
11970
 
      test -d \$dldir || mkdir -p \$dldir~
11971
 
      $install_prog $dir/$dlname \$dldir/$dlname~
11972
 
      chmod a+x \$dldir/$dlname~
11973
 
      if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11974
 
        eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11975
 
      fi'
11976
 
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11977
 
      dlpath=$dir/\$dldll~
11978
 
       $RM \$dlpath'
11979
 
    shlibpath_overrides_runpath=yes
11980
 
 
11981
 
    case $host_os in
11982
 
    cygwin*)
11983
 
      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11984
 
      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11985
 
 
11986
 
      sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
11987
 
      ;;
11988
 
    mingw* | cegcc*)
11989
 
      # MinGW DLLs use traditional 'lib' prefix
11990
 
      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11991
 
      ;;
11992
 
    pw32*)
11993
 
      # pw32 DLLs use 'pw' prefix rather than 'lib'
11994
 
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11995
 
      ;;
11996
 
    esac
11997
 
    dynamic_linker='Win32 ld.exe'
11998
 
    ;;
11999
 
 
12000
 
  *,cl*)
12001
 
    # Native MSVC
12002
 
    libname_spec='$name'
12003
 
    soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12004
 
    library_names_spec='${libname}.dll.lib'
12005
 
 
12006
 
    case $build_os in
12007
 
    mingw*)
12008
 
      sys_lib_search_path_spec=
12009
 
      lt_save_ifs=$IFS
12010
 
      IFS=';'
12011
 
      for lt_path in $LIB
12012
 
      do
12013
 
        IFS=$lt_save_ifs
12014
 
        # Let DOS variable expansion print the short 8.3 style file name.
12015
 
        lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
12016
 
        sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
12017
 
      done
12018
 
      IFS=$lt_save_ifs
12019
 
      # Convert to MSYS style.
12020
 
      sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
12021
 
      ;;
12022
 
    cygwin*)
12023
 
      # Convert to unix form, then to dos form, then back to unix form
12024
 
      # but this time dos style (no spaces!) so that the unix form looks
12025
 
      # like /cygdrive/c/PROGRA~1:/cygdr...
12026
 
      sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
12027
 
      sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
12028
 
      sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
12029
 
      ;;
12030
 
    *)
12031
 
      sys_lib_search_path_spec="$LIB"
12032
 
      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
12033
 
        # It is most probably a Windows format PATH.
12034
 
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
12035
 
      else
12036
 
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
12037
 
      fi
12038
 
      # FIXME: find the short name or the path components, as spaces are
12039
 
      # common. (e.g. "Program Files" -> "PROGRA~1")
12040
 
      ;;
12041
 
    esac
12042
 
 
12043
 
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
12044
 
    postinstall_cmds='base_file=`basename \${file}`~
12045
 
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
12046
 
      dldir=$destdir/`dirname \$dlpath`~
12047
 
      test -d \$dldir || mkdir -p \$dldir~
12048
 
      $install_prog $dir/$dlname \$dldir/$dlname'
12049
 
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
12050
 
      dlpath=$dir/\$dldll~
12051
 
       $RM \$dlpath'
12052
 
    shlibpath_overrides_runpath=yes
12053
 
    dynamic_linker='Win32 link.exe'
12054
 
    ;;
12055
 
 
12056
 
  *)
12057
 
    # Assume MSVC wrapper
12058
 
    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
12059
 
    dynamic_linker='Win32 ld.exe'
12060
 
    ;;
12061
 
  esac
12062
 
  # FIXME: first we should search . and the directory the executable is in
12063
 
  shlibpath_var=PATH
12064
 
  ;;
12065
 
 
12066
 
darwin* | rhapsody*)
12067
 
  dynamic_linker="$host_os dyld"
12068
 
  version_type=darwin
12069
 
  need_lib_prefix=no
12070
 
  need_version=no
12071
 
  library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
12072
 
  soname_spec='${libname}${release}${major}$shared_ext'
12073
 
  shlibpath_overrides_runpath=yes
12074
 
  shlibpath_var=DYLD_LIBRARY_PATH
12075
 
  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
12076
 
 
12077
 
  sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
12078
 
  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
12079
 
  ;;
12080
 
 
12081
 
dgux*)
12082
 
  version_type=linux # correct to gnu/linux during the next big refactor
12083
 
  need_lib_prefix=no
12084
 
  need_version=no
12085
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
12086
 
  soname_spec='${libname}${release}${shared_ext}$major'
12087
 
  shlibpath_var=LD_LIBRARY_PATH
12088
 
  ;;
12089
 
 
12090
 
freebsd* | dragonfly*)
12091
 
  # DragonFly does not have aout.  When/if they implement a new
12092
 
  # versioning mechanism, adjust this.
12093
 
  if test -x /usr/bin/objformat; then
12094
 
    objformat=`/usr/bin/objformat`
12095
 
  else
12096
 
    case $host_os in
12097
 
    freebsd[23].*) objformat=aout ;;
12098
 
    *) objformat=elf ;;
12099
 
    esac
12100
 
  fi
12101
 
  version_type=freebsd-$objformat
12102
 
  case $version_type in
12103
 
    freebsd-elf*)
12104
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
12105
 
      need_version=no
12106
 
      need_lib_prefix=no
12107
 
      ;;
12108
 
    freebsd-*)
12109
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
12110
 
      need_version=yes
12111
 
      ;;
12112
 
  esac
12113
 
  shlibpath_var=LD_LIBRARY_PATH
12114
 
  case $host_os in
12115
 
  freebsd2.*)
12116
 
    shlibpath_overrides_runpath=yes
12117
 
    ;;
12118
 
  freebsd3.[01]* | freebsdelf3.[01]*)
12119
 
    shlibpath_overrides_runpath=yes
12120
 
    hardcode_into_libs=yes
12121
 
    ;;
12122
 
  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
12123
 
  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
12124
 
    shlibpath_overrides_runpath=no
12125
 
    hardcode_into_libs=yes
12126
 
    ;;
12127
 
  *) # from 4.6 on, and DragonFly
12128
 
    shlibpath_overrides_runpath=yes
12129
 
    hardcode_into_libs=yes
12130
 
    ;;
12131
 
  esac
12132
 
  ;;
12133
 
 
12134
 
gnu*)
12135
 
  version_type=linux # correct to gnu/linux during the next big refactor
12136
 
  need_lib_prefix=no
12137
 
  need_version=no
12138
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
12139
 
  soname_spec='${libname}${release}${shared_ext}$major'
12140
 
  shlibpath_var=LD_LIBRARY_PATH
12141
 
  shlibpath_overrides_runpath=no
12142
 
  hardcode_into_libs=yes
12143
 
  ;;
12144
 
 
12145
 
haiku*)
12146
 
  version_type=linux # correct to gnu/linux during the next big refactor
12147
 
  need_lib_prefix=no
12148
 
  need_version=no
12149
 
  dynamic_linker="$host_os runtime_loader"
12150
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
12151
 
  soname_spec='${libname}${release}${shared_ext}$major'
12152
 
  shlibpath_var=LIBRARY_PATH
12153
 
  shlibpath_overrides_runpath=yes
12154
 
  sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
12155
 
  hardcode_into_libs=yes
12156
 
  ;;
12157
 
 
12158
 
hpux9* | hpux10* | hpux11*)
12159
 
  # Give a soname corresponding to the major version so that dld.sl refuses to
12160
 
  # link against other versions.
12161
 
  version_type=sunos
12162
 
  need_lib_prefix=no
12163
 
  need_version=no
12164
 
  case $host_cpu in
12165
 
  ia64*)
12166
 
    shrext_cmds='.so'
12167
 
    hardcode_into_libs=yes
12168
 
    dynamic_linker="$host_os dld.so"
12169
 
    shlibpath_var=LD_LIBRARY_PATH
12170
 
    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
12171
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12172
 
    soname_spec='${libname}${release}${shared_ext}$major'
12173
 
    if test "X$HPUX_IA64_MODE" = X32; then
12174
 
      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
12175
 
    else
12176
 
      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
12177
 
    fi
12178
 
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
12179
 
    ;;
12180
 
  hppa*64*)
12181
 
    shrext_cmds='.sl'
12182
 
    hardcode_into_libs=yes
12183
 
    dynamic_linker="$host_os dld.sl"
12184
 
    shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
12185
 
    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
12186
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12187
 
    soname_spec='${libname}${release}${shared_ext}$major'
12188
 
    sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
12189
 
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
12190
 
    ;;
12191
 
  *)
12192
 
    shrext_cmds='.sl'
12193
 
    dynamic_linker="$host_os dld.sl"
12194
 
    shlibpath_var=SHLIB_PATH
12195
 
    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
12196
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12197
 
    soname_spec='${libname}${release}${shared_ext}$major'
12198
 
    ;;
12199
 
  esac
12200
 
  # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
12201
 
  postinstall_cmds='chmod 555 $lib'
12202
 
  # or fails outright, so override atomically:
12203
 
  install_override_mode=555
12204
 
  ;;
12205
 
 
12206
 
interix[3-9]*)
12207
 
  version_type=linux # correct to gnu/linux during the next big refactor
12208
 
  need_lib_prefix=no
12209
 
  need_version=no
12210
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12211
 
  soname_spec='${libname}${release}${shared_ext}$major'
12212
 
  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
12213
 
  shlibpath_var=LD_LIBRARY_PATH
12214
 
  shlibpath_overrides_runpath=no
12215
 
  hardcode_into_libs=yes
12216
 
  ;;
12217
 
 
12218
 
irix5* | irix6* | nonstopux*)
12219
 
  case $host_os in
12220
 
    nonstopux*) version_type=nonstopux ;;
12221
 
    *)
12222
 
        if test "$lt_cv_prog_gnu_ld" = yes; then
12223
 
                version_type=linux # correct to gnu/linux during the next big refactor
12224
 
        else
12225
 
                version_type=irix
12226
 
        fi ;;
12227
 
  esac
12228
 
  need_lib_prefix=no
12229
 
  need_version=no
12230
 
  soname_spec='${libname}${release}${shared_ext}$major'
12231
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
12232
 
  case $host_os in
12233
 
  irix5* | nonstopux*)
12234
 
    libsuff= shlibsuff=
12235
 
    ;;
12236
 
  *)
12237
 
    case $LD in # libtool.m4 will add one of these switches to LD
12238
 
    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
12239
 
      libsuff= shlibsuff= libmagic=32-bit;;
12240
 
    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
12241
 
      libsuff=32 shlibsuff=N32 libmagic=N32;;
12242
 
    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
12243
 
      libsuff=64 shlibsuff=64 libmagic=64-bit;;
12244
 
    *) libsuff= shlibsuff= libmagic=never-match;;
12245
 
    esac
12246
 
    ;;
12247
 
  esac
12248
 
  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
12249
 
  shlibpath_overrides_runpath=no
12250
 
  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
12251
 
  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
12252
 
  hardcode_into_libs=yes
12253
 
  ;;
12254
 
 
12255
 
# No shared lib support for Linux oldld, aout, or coff.
12256
 
linux*oldld* | linux*aout* | linux*coff*)
12257
 
  dynamic_linker=no
12258
 
  ;;
12259
 
 
12260
 
# This must be glibc/ELF.
12261
 
linux* | k*bsd*-gnu | kopensolaris*-gnu)
12262
 
  version_type=linux # correct to gnu/linux during the next big refactor
12263
 
  need_lib_prefix=no
12264
 
  need_version=no
12265
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12266
 
  soname_spec='${libname}${release}${shared_ext}$major'
12267
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
12268
 
  shlibpath_var=LD_LIBRARY_PATH
12269
 
  shlibpath_overrides_runpath=no
12270
 
 
12271
 
  # Some binutils ld are patched to set DT_RUNPATH
12272
 
  if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
12273
 
  $as_echo_n "(cached) " >&6
12274
 
else
12275
 
  lt_cv_shlibpath_overrides_runpath=no
12276
 
    save_LDFLAGS=$LDFLAGS
12277
 
    save_libdir=$libdir
12278
 
    eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
12279
 
         LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
12280
 
    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12281
 
/* end confdefs.h.  */
12282
 
 
12283
 
int
12284
 
main ()
12285
 
{
12286
 
 
12287
 
  ;
12288
 
  return 0;
12289
 
}
12290
 
_ACEOF
12291
 
if ac_fn_c_try_link "$LINENO"; then :
12292
 
  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
12293
 
  lt_cv_shlibpath_overrides_runpath=yes
12294
 
fi
12295
 
fi
12296
 
rm -f core conftest.err conftest.$ac_objext \
12297
 
    conftest$ac_exeext conftest.$ac_ext
12298
 
    LDFLAGS=$save_LDFLAGS
12299
 
    libdir=$save_libdir
12300
 
    
12301
 
fi
12302
 
 
12303
 
  shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
12304
 
 
12305
 
  # This implies no fast_install, which is unacceptable.
12306
 
  # Some rework will be needed to allow for fast_install
12307
 
  # before this can be enabled.
12308
 
  hardcode_into_libs=yes
12309
 
 
12310
 
  # Add ABI-specific directories to the system library path.
12311
 
  sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
12312
 
 
12313
 
  # Append ld.so.conf contents to the search path
12314
 
  if test -f /etc/ld.so.conf; then
12315
 
    lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[       ]*hwcap[        ]/d;s/[:,      ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
12316
 
    sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
12317
 
 
12318
 
  fi
12319
 
 
12320
 
  # We used to test for /lib/ld.so.1 and disable shared libraries on
12321
 
  # powerpc, because MkLinux only supported shared libraries with the
12322
 
  # GNU dynamic linker.  Since this was broken with cross compilers,
12323
 
  # most powerpc-linux boxes support dynamic linking these days and
12324
 
  # people can always --disable-shared, the test was removed, and we
12325
 
  # assume the GNU/Linux dynamic linker is in use.
12326
 
  dynamic_linker='GNU/Linux ld.so'
12327
 
  ;;
12328
 
 
12329
 
netbsd*)
12330
 
  version_type=sunos
12331
 
  need_lib_prefix=no
12332
 
  need_version=no
12333
 
  if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12334
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12335
 
    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12336
 
    dynamic_linker='NetBSD (a.out) ld.so'
12337
 
  else
12338
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12339
 
    soname_spec='${libname}${release}${shared_ext}$major'
12340
 
    dynamic_linker='NetBSD ld.elf_so'
12341
 
  fi
12342
 
  shlibpath_var=LD_LIBRARY_PATH
12343
 
  shlibpath_overrides_runpath=yes
12344
 
  hardcode_into_libs=yes
12345
 
  ;;
12346
 
 
12347
 
newsos6)
12348
 
  version_type=linux # correct to gnu/linux during the next big refactor
12349
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12350
 
  shlibpath_var=LD_LIBRARY_PATH
12351
 
  shlibpath_overrides_runpath=yes
12352
 
  ;;
12353
 
 
12354
 
*nto* | *qnx*)
12355
 
  version_type=qnx
12356
 
  need_lib_prefix=no
12357
 
  need_version=no
12358
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12359
 
  soname_spec='${libname}${release}${shared_ext}$major'
12360
 
  shlibpath_var=LD_LIBRARY_PATH
12361
 
  shlibpath_overrides_runpath=no
12362
 
  hardcode_into_libs=yes
12363
 
  dynamic_linker='ldqnx.so'
12364
 
  ;;
12365
 
 
12366
 
openbsd*)
12367
 
  version_type=sunos
12368
 
  sys_lib_dlsearch_path_spec="/usr/lib"
12369
 
  need_lib_prefix=no
12370
 
  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
12371
 
  case $host_os in
12372
 
    openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
12373
 
    *)                          need_version=no  ;;
12374
 
  esac
12375
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12376
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12377
 
  shlibpath_var=LD_LIBRARY_PATH
12378
 
  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12379
 
    case $host_os in
12380
 
      openbsd2.[89] | openbsd2.[89].*)
12381
 
        shlibpath_overrides_runpath=no
12382
 
        ;;
12383
 
      *)
12384
 
        shlibpath_overrides_runpath=yes
12385
 
        ;;
12386
 
      esac
12387
 
  else
12388
 
    shlibpath_overrides_runpath=yes
12389
 
  fi
12390
 
  ;;
12391
 
 
12392
 
os2*)
12393
 
  libname_spec='$name'
12394
 
  shrext_cmds=".dll"
12395
 
  need_lib_prefix=no
12396
 
  library_names_spec='$libname${shared_ext} $libname.a'
12397
 
  dynamic_linker='OS/2 ld.exe'
12398
 
  shlibpath_var=LIBPATH
12399
 
  ;;
12400
 
 
12401
 
osf3* | osf4* | osf5*)
12402
 
  version_type=osf
12403
 
  need_lib_prefix=no
12404
 
  need_version=no
12405
 
  soname_spec='${libname}${release}${shared_ext}$major'
12406
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12407
 
  shlibpath_var=LD_LIBRARY_PATH
12408
 
  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
12409
 
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
12410
 
  ;;
12411
 
 
12412
 
rdos*)
12413
 
  dynamic_linker=no
12414
 
  ;;
12415
 
 
12416
 
solaris*)
12417
 
  version_type=linux # correct to gnu/linux during the next big refactor
12418
 
  need_lib_prefix=no
12419
 
  need_version=no
12420
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12421
 
  soname_spec='${libname}${release}${shared_ext}$major'
12422
 
  shlibpath_var=LD_LIBRARY_PATH
12423
 
  shlibpath_overrides_runpath=yes
12424
 
  hardcode_into_libs=yes
12425
 
  # ldd complains unless libraries are executable
12426
 
  postinstall_cmds='chmod +x $lib'
12427
 
  ;;
12428
 
 
12429
 
sunos4*)
12430
 
  version_type=sunos
12431
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12432
 
  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
12433
 
  shlibpath_var=LD_LIBRARY_PATH
12434
 
  shlibpath_overrides_runpath=yes
12435
 
  if test "$with_gnu_ld" = yes; then
12436
 
    need_lib_prefix=no
12437
 
  fi
12438
 
  need_version=yes
12439
 
  ;;
12440
 
 
12441
 
sysv4 | sysv4.3*)
12442
 
  version_type=linux # correct to gnu/linux during the next big refactor
12443
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12444
 
  soname_spec='${libname}${release}${shared_ext}$major'
12445
 
  shlibpath_var=LD_LIBRARY_PATH
12446
 
  case $host_vendor in
12447
 
    sni)
12448
 
      shlibpath_overrides_runpath=no
12449
 
      need_lib_prefix=no
12450
 
      runpath_var=LD_RUN_PATH
12451
 
      ;;
12452
 
    siemens)
12453
 
      need_lib_prefix=no
12454
 
      ;;
12455
 
    motorola)
12456
 
      need_lib_prefix=no
12457
 
      need_version=no
12458
 
      shlibpath_overrides_runpath=no
12459
 
      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
12460
 
      ;;
12461
 
  esac
12462
 
  ;;
12463
 
 
12464
 
sysv4*MP*)
12465
 
  if test -d /usr/nec ;then
12466
 
    version_type=linux # correct to gnu/linux during the next big refactor
12467
 
    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
12468
 
    soname_spec='$libname${shared_ext}.$major'
12469
 
    shlibpath_var=LD_LIBRARY_PATH
12470
 
  fi
12471
 
  ;;
12472
 
 
12473
 
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
12474
 
  version_type=freebsd-elf
12475
 
  need_lib_prefix=no
12476
 
  need_version=no
12477
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
12478
 
  soname_spec='${libname}${release}${shared_ext}$major'
12479
 
  shlibpath_var=LD_LIBRARY_PATH
12480
 
  shlibpath_overrides_runpath=yes
12481
 
  hardcode_into_libs=yes
12482
 
  if test "$with_gnu_ld" = yes; then
12483
 
    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
12484
 
  else
12485
 
    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
12486
 
    case $host_os in
12487
 
      sco3.2v5*)
12488
 
        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
12489
 
        ;;
12490
 
    esac
12491
 
  fi
12492
 
  sys_lib_dlsearch_path_spec='/usr/lib'
12493
 
  ;;
12494
 
 
12495
 
tpf*)
12496
 
  # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
12497
 
  version_type=linux # correct to gnu/linux during the next big refactor
12498
 
  need_lib_prefix=no
12499
 
  need_version=no
12500
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12501
 
  shlibpath_var=LD_LIBRARY_PATH
12502
 
  shlibpath_overrides_runpath=no
12503
 
  hardcode_into_libs=yes
12504
 
  ;;
12505
 
 
12506
 
uts4*)
12507
 
  version_type=linux # correct to gnu/linux during the next big refactor
12508
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12509
 
  soname_spec='${libname}${release}${shared_ext}$major'
12510
 
  shlibpath_var=LD_LIBRARY_PATH
12511
 
  ;;
12512
 
 
12513
 
*)
12514
 
  dynamic_linker=no
12515
 
  ;;
12516
 
esac
12517
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
12518
 
$as_echo "$dynamic_linker" >&6; }
12519
 
test "$dynamic_linker" = no && can_build_shared=no
12520
 
 
12521
 
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
12522
 
if test "$GCC" = yes; then
12523
 
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
12524
 
fi
12525
 
 
12526
 
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
12527
 
  sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
12528
 
fi
12529
 
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
12530
 
  sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
12531
 
fi
12532
 
 
12533
 
 
12534
 
    
12535
 
    
12536
 
    
12537
 
 
12538
 
 
12539
 
    
12540
 
    
12541
 
    
12542
 
 
12543
 
 
12544
 
    
12545
 
    
12546
 
    
12547
 
 
12548
 
 
12549
 
    
12550
 
    
12551
 
    
12552
 
 
12553
 
 
12554
 
    
12555
 
    
12556
 
    
12557
 
 
12558
 
 
12559
 
    
12560
 
    
12561
 
    
12562
 
 
12563
 
 
12564
 
    
12565
 
    
12566
 
    
12567
 
 
12568
 
 
12569
 
    
12570
 
    
12571
 
    
12572
 
 
12573
 
 
12574
 
    
12575
 
    
12576
 
    
12577
 
 
12578
 
 
12579
 
    
12580
 
    
12581
 
    
12582
 
 
12583
 
 
12584
 
    
12585
 
    
12586
 
    
12587
 
 
12588
 
 
12589
 
    
12590
 
    
12591
 
    
12592
 
 
12593
 
 
12594
 
    
12595
 
    
12596
 
    
12597
 
 
12598
 
 
12599
 
    
12600
 
    
12601
 
    
12602
 
 
12603
 
 
12604
 
    
12605
 
    
12606
 
    
12607
 
 
12608
 
 
12609
 
    
12610
 
    
12611
 
    
12612
 
 
12613
 
 
12614
 
    
12615
 
    
12616
 
    
12617
 
 
12618
 
 
12619
 
    
12620
 
    
12621
 
    
12622
 
 
12623
 
 
12624
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
12625
 
$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
12626
 
hardcode_action=
12627
 
if test -n "$hardcode_libdir_flag_spec" ||
12628
 
   test -n "$runpath_var" ||
12629
 
   test "X$hardcode_automatic" = "Xyes" ; then
12630
 
 
12631
 
  # We can hardcode non-existent directories.
12632
 
  if test "$hardcode_direct" != no &&
12633
 
     # If the only mechanism to avoid hardcoding is shlibpath_var, we
12634
 
     # have to relink, otherwise we might link with an installed library
12635
 
     # when we should be linking with a yet-to-be-installed one
12636
 
     ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
12637
 
     test "$hardcode_minus_L" != no; then
12638
 
    # Linking always hardcodes the temporary library directory.
12639
 
    hardcode_action=relink
12640
 
  else
12641
 
    # We can link without hardcoding, and we can hardcode nonexisting dirs.
12642
 
    hardcode_action=immediate
12643
 
  fi
12644
 
else
12645
 
  # We cannot hardcode anything, or else we can only hardcode existing
12646
 
  # directories.
12647
 
  hardcode_action=unsupported
12648
 
fi
12649
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
12650
 
$as_echo "$hardcode_action" >&6; }
12651
 
 
12652
 
if test "$hardcode_action" = relink ||
12653
 
   test "$inherit_rpath" = yes; then
12654
 
  # Fast installation is not supported
12655
 
  enable_fast_install=no
12656
 
elif test "$shlibpath_overrides_runpath" = yes ||
12657
 
     test "$enable_shared" = no; then
12658
 
  # Fast installation is not necessary
12659
 
  enable_fast_install=needless
12660
 
fi
12661
 
 
12662
 
    
12663
 
    
12664
 
    
12665
 
 
12666
 
 
12667
 
  if test "x$enable_dlopen" != xyes; then
12668
 
  enable_dlopen=unknown
12669
 
  enable_dlopen_self=unknown
12670
 
  enable_dlopen_self_static=unknown
12671
 
else
12672
 
  lt_cv_dlopen=no
12673
 
  lt_cv_dlopen_libs=
12674
 
 
12675
 
  case $host_os in
12676
 
  beos*)
12677
 
    lt_cv_dlopen="load_add_on"
12678
 
    lt_cv_dlopen_libs=
12679
 
    lt_cv_dlopen_self=yes
12680
 
    ;;
12681
 
 
12682
 
  mingw* | pw32* | cegcc*)
12683
 
    lt_cv_dlopen="LoadLibrary"
12684
 
    lt_cv_dlopen_libs=
12685
 
    ;;
12686
 
 
12687
 
  cygwin*)
12688
 
    lt_cv_dlopen="dlopen"
12689
 
    lt_cv_dlopen_libs=
12690
 
    ;;
12691
 
 
12692
 
  darwin*)
12693
 
  # if libdl is installed we need to link against it
12694
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12695
 
$as_echo_n "checking for dlopen in -ldl... " >&6; }
12696
 
if ${ac_cv_lib_dl_dlopen+:} false; then :
12697
 
  $as_echo_n "(cached) " >&6
12698
 
else
12699
 
  ac_check_lib_save_LIBS=$LIBS
12700
 
LIBS="-ldl  $LIBS"
12701
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12702
 
/* end confdefs.h.  */
12703
 
 
12704
 
/* Override any GCC internal prototype to avoid an error.
12705
 
   Use char because int might match the return type of a GCC
12706
 
   builtin and then its argument prototype would still apply.  */
12707
 
#ifdef __cplusplus
12708
 
extern "C"
12709
 
#endif
12710
 
char dlopen ();
12711
 
int
12712
 
main ()
12713
 
{
12714
 
return dlopen ();
12715
 
  ;
12716
 
  return 0;
12717
 
}
12718
 
_ACEOF
12719
 
if ac_fn_c_try_link "$LINENO"; then :
12720
 
  ac_cv_lib_dl_dlopen=yes
12721
 
else
12722
 
  ac_cv_lib_dl_dlopen=no
12723
 
fi
12724
 
rm -f core conftest.err conftest.$ac_objext \
12725
 
    conftest$ac_exeext conftest.$ac_ext
12726
 
LIBS=$ac_check_lib_save_LIBS
12727
 
fi
12728
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12729
 
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12730
 
if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
12731
 
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
12732
 
else
12733
 
  
12734
 
    lt_cv_dlopen="dyld"
12735
 
    lt_cv_dlopen_libs=
12736
 
    lt_cv_dlopen_self=yes
12737
 
    
12738
 
fi
12739
 
 
12740
 
    ;;
12741
 
 
12742
 
  *)
12743
 
    ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
12744
 
if test "x$ac_cv_func_shl_load" = xyes; then :
12745
 
  lt_cv_dlopen="shl_load"
12746
 
else
12747
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
12748
 
$as_echo_n "checking for shl_load in -ldld... " >&6; }
12749
 
if ${ac_cv_lib_dld_shl_load+:} false; then :
12750
 
  $as_echo_n "(cached) " >&6
12751
 
else
12752
 
  ac_check_lib_save_LIBS=$LIBS
12753
 
LIBS="-ldld  $LIBS"
12754
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12755
 
/* end confdefs.h.  */
12756
 
 
12757
 
/* Override any GCC internal prototype to avoid an error.
12758
 
   Use char because int might match the return type of a GCC
12759
 
   builtin and then its argument prototype would still apply.  */
12760
 
#ifdef __cplusplus
12761
 
extern "C"
12762
 
#endif
12763
 
char shl_load ();
12764
 
int
12765
 
main ()
12766
 
{
12767
 
return shl_load ();
12768
 
  ;
12769
 
  return 0;
12770
 
}
12771
 
_ACEOF
12772
 
if ac_fn_c_try_link "$LINENO"; then :
12773
 
  ac_cv_lib_dld_shl_load=yes
12774
 
else
12775
 
  ac_cv_lib_dld_shl_load=no
12776
 
fi
12777
 
rm -f core conftest.err conftest.$ac_objext \
12778
 
    conftest$ac_exeext conftest.$ac_ext
12779
 
LIBS=$ac_check_lib_save_LIBS
12780
 
fi
12781
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12782
 
$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12783
 
if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
12784
 
  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
12785
 
else
12786
 
  ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
12787
 
if test "x$ac_cv_func_dlopen" = xyes; then :
12788
 
  lt_cv_dlopen="dlopen"
12789
 
else
12790
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12791
 
$as_echo_n "checking for dlopen in -ldl... " >&6; }
12792
 
if ${ac_cv_lib_dl_dlopen+:} false; then :
12793
 
  $as_echo_n "(cached) " >&6
12794
 
else
12795
 
  ac_check_lib_save_LIBS=$LIBS
12796
 
LIBS="-ldl  $LIBS"
12797
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12798
 
/* end confdefs.h.  */
12799
 
 
12800
 
/* Override any GCC internal prototype to avoid an error.
12801
 
   Use char because int might match the return type of a GCC
12802
 
   builtin and then its argument prototype would still apply.  */
12803
 
#ifdef __cplusplus
12804
 
extern "C"
12805
 
#endif
12806
 
char dlopen ();
12807
 
int
12808
 
main ()
12809
 
{
12810
 
return dlopen ();
12811
 
  ;
12812
 
  return 0;
12813
 
}
12814
 
_ACEOF
12815
 
if ac_fn_c_try_link "$LINENO"; then :
12816
 
  ac_cv_lib_dl_dlopen=yes
12817
 
else
12818
 
  ac_cv_lib_dl_dlopen=no
12819
 
fi
12820
 
rm -f core conftest.err conftest.$ac_objext \
12821
 
    conftest$ac_exeext conftest.$ac_ext
12822
 
LIBS=$ac_check_lib_save_LIBS
12823
 
fi
12824
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12825
 
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12826
 
if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
12827
 
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
12828
 
else
12829
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12830
 
$as_echo_n "checking for dlopen in -lsvld... " >&6; }
12831
 
if ${ac_cv_lib_svld_dlopen+:} false; then :
12832
 
  $as_echo_n "(cached) " >&6
12833
 
else
12834
 
  ac_check_lib_save_LIBS=$LIBS
12835
 
LIBS="-lsvld  $LIBS"
12836
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12837
 
/* end confdefs.h.  */
12838
 
 
12839
 
/* Override any GCC internal prototype to avoid an error.
12840
 
   Use char because int might match the return type of a GCC
12841
 
   builtin and then its argument prototype would still apply.  */
12842
 
#ifdef __cplusplus
12843
 
extern "C"
12844
 
#endif
12845
 
char dlopen ();
12846
 
int
12847
 
main ()
12848
 
{
12849
 
return dlopen ();
12850
 
  ;
12851
 
  return 0;
12852
 
}
12853
 
_ACEOF
12854
 
if ac_fn_c_try_link "$LINENO"; then :
12855
 
  ac_cv_lib_svld_dlopen=yes
12856
 
else
12857
 
  ac_cv_lib_svld_dlopen=no
12858
 
fi
12859
 
rm -f core conftest.err conftest.$ac_objext \
12860
 
    conftest$ac_exeext conftest.$ac_ext
12861
 
LIBS=$ac_check_lib_save_LIBS
12862
 
fi
12863
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12864
 
$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12865
 
if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
12866
 
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
12867
 
else
12868
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12869
 
$as_echo_n "checking for dld_link in -ldld... " >&6; }
12870
 
if ${ac_cv_lib_dld_dld_link+:} false; then :
12871
 
  $as_echo_n "(cached) " >&6
12872
 
else
12873
 
  ac_check_lib_save_LIBS=$LIBS
12874
 
LIBS="-ldld  $LIBS"
12875
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12876
 
/* end confdefs.h.  */
12877
 
 
12878
 
/* Override any GCC internal prototype to avoid an error.
12879
 
   Use char because int might match the return type of a GCC
12880
 
   builtin and then its argument prototype would still apply.  */
12881
 
#ifdef __cplusplus
12882
 
extern "C"
12883
 
#endif
12884
 
char dld_link ();
12885
 
int
12886
 
main ()
12887
 
{
12888
 
return dld_link ();
12889
 
  ;
12890
 
  return 0;
12891
 
}
12892
 
_ACEOF
12893
 
if ac_fn_c_try_link "$LINENO"; then :
12894
 
  ac_cv_lib_dld_dld_link=yes
12895
 
else
12896
 
  ac_cv_lib_dld_dld_link=no
12897
 
fi
12898
 
rm -f core conftest.err conftest.$ac_objext \
12899
 
    conftest$ac_exeext conftest.$ac_ext
12900
 
LIBS=$ac_check_lib_save_LIBS
12901
 
fi
12902
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12903
 
$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12904
 
if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
12905
 
  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
12906
 
fi
12907
 
 
12908
 
              
12909
 
fi
12910
 
 
12911
 
            
12912
 
fi
12913
 
 
12914
 
          
12915
 
fi
12916
 
 
12917
 
        
12918
 
fi
12919
 
 
12920
 
      
12921
 
fi
12922
 
 
12923
 
    ;;
12924
 
  esac
12925
 
 
12926
 
  if test "x$lt_cv_dlopen" != xno; then
12927
 
    enable_dlopen=yes
12928
 
  else
12929
 
    enable_dlopen=no
12930
 
  fi
12931
 
 
12932
 
  case $lt_cv_dlopen in
12933
 
  dlopen)
12934
 
    save_CPPFLAGS="$CPPFLAGS"
12935
 
    test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
12936
 
 
12937
 
    save_LDFLAGS="$LDFLAGS"
12938
 
    wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
12939
 
 
12940
 
    save_LIBS="$LIBS"
12941
 
    LIBS="$lt_cv_dlopen_libs $LIBS"
12942
 
 
12943
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12944
 
$as_echo_n "checking whether a program can dlopen itself... " >&6; }
12945
 
if ${lt_cv_dlopen_self+:} false; then :
12946
 
  $as_echo_n "(cached) " >&6
12947
 
else
12948
 
          if test "$cross_compiling" = yes; then :
12949
 
  lt_cv_dlopen_self=cross
12950
 
else
12951
 
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12952
 
  lt_status=$lt_dlunknown
12953
 
  cat > conftest.$ac_ext <<_LT_EOF
12954
 
#line $LINENO "configure"
12955
 
#include "confdefs.h"
12956
 
 
12957
 
#if HAVE_DLFCN_H
12958
 
#include <dlfcn.h>
12959
 
#endif
12960
 
 
12961
 
#include <stdio.h>
12962
 
 
12963
 
#ifdef RTLD_GLOBAL
12964
 
#  define LT_DLGLOBAL           RTLD_GLOBAL
12965
 
#else
12966
 
#  ifdef DL_GLOBAL
12967
 
#    define LT_DLGLOBAL         DL_GLOBAL
12968
 
#  else
12969
 
#    define LT_DLGLOBAL         0
12970
 
#  endif
12971
 
#endif
12972
 
 
12973
 
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12974
 
   find out it does not work in some platform. */
12975
 
#ifndef LT_DLLAZY_OR_NOW
12976
 
#  ifdef RTLD_LAZY
12977
 
#    define LT_DLLAZY_OR_NOW            RTLD_LAZY
12978
 
#  else
12979
 
#    ifdef DL_LAZY
12980
 
#      define LT_DLLAZY_OR_NOW          DL_LAZY
12981
 
#    else
12982
 
#      ifdef RTLD_NOW
12983
 
#        define LT_DLLAZY_OR_NOW        RTLD_NOW
12984
 
#      else
12985
 
#        ifdef DL_NOW
12986
 
#          define LT_DLLAZY_OR_NOW      DL_NOW
12987
 
#        else
12988
 
#          define LT_DLLAZY_OR_NOW      0
12989
 
#        endif
12990
 
#      endif
12991
 
#    endif
12992
 
#  endif
12993
 
#endif
12994
 
 
12995
 
/* When -fvisbility=hidden is used, assume the code has been annotated
12996
 
   correspondingly for the symbols needed.  */
12997
 
#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12998
 
int fnord () __attribute__((visibility("default")));
12999
 
#endif
13000
 
 
13001
 
int fnord () { return 42; }
13002
 
int main ()
13003
 
{
13004
 
  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
13005
 
  int status = $lt_dlunknown;
13006
 
 
13007
 
  if (self)
13008
 
    {
13009
 
      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
13010
 
      else
13011
 
        {
13012
 
          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
13013
 
          else puts (dlerror ());
13014
 
        }
13015
 
      /* dlclose (self); */
13016
 
    }
13017
 
  else
13018
 
    puts (dlerror ());
13019
 
 
13020
 
  return status;
13021
 
}
13022
 
_LT_EOF
13023
 
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
13024
 
  (eval $ac_link) 2>&5
13025
 
  ac_status=$?
13026
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13027
 
  test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
13028
 
    (./conftest; exit; ) >&5 2>/dev/null
13029
 
    lt_status=$?
13030
 
    case x$lt_status in
13031
 
      x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
13032
 
      x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
13033
 
      x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
13034
 
    esac
13035
 
  else :
13036
 
    # compilation failed
13037
 
    lt_cv_dlopen_self=no
13038
 
  fi
13039
 
fi
13040
 
rm -fr conftest*
13041
 
 
13042
 
    
13043
 
fi
13044
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
13045
 
$as_echo "$lt_cv_dlopen_self" >&6; }
13046
 
 
13047
 
    if test "x$lt_cv_dlopen_self" = xyes; then
13048
 
      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
13049
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
13050
 
$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
13051
 
if ${lt_cv_dlopen_self_static+:} false; then :
13052
 
  $as_echo_n "(cached) " >&6
13053
 
else
13054
 
          if test "$cross_compiling" = yes; then :
13055
 
  lt_cv_dlopen_self_static=cross
13056
 
else
13057
 
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
13058
 
  lt_status=$lt_dlunknown
13059
 
  cat > conftest.$ac_ext <<_LT_EOF
13060
 
#line $LINENO "configure"
13061
 
#include "confdefs.h"
13062
 
 
13063
 
#if HAVE_DLFCN_H
13064
 
#include <dlfcn.h>
13065
 
#endif
13066
 
 
13067
 
#include <stdio.h>
13068
 
 
13069
 
#ifdef RTLD_GLOBAL
13070
 
#  define LT_DLGLOBAL           RTLD_GLOBAL
13071
 
#else
13072
 
#  ifdef DL_GLOBAL
13073
 
#    define LT_DLGLOBAL         DL_GLOBAL
13074
 
#  else
13075
 
#    define LT_DLGLOBAL         0
13076
 
#  endif
13077
 
#endif
13078
 
 
13079
 
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
13080
 
   find out it does not work in some platform. */
13081
 
#ifndef LT_DLLAZY_OR_NOW
13082
 
#  ifdef RTLD_LAZY
13083
 
#    define LT_DLLAZY_OR_NOW            RTLD_LAZY
13084
 
#  else
13085
 
#    ifdef DL_LAZY
13086
 
#      define LT_DLLAZY_OR_NOW          DL_LAZY
13087
 
#    else
13088
 
#      ifdef RTLD_NOW
13089
 
#        define LT_DLLAZY_OR_NOW        RTLD_NOW
13090
 
#      else
13091
 
#        ifdef DL_NOW
13092
 
#          define LT_DLLAZY_OR_NOW      DL_NOW
13093
 
#        else
13094
 
#          define LT_DLLAZY_OR_NOW      0
13095
 
#        endif
13096
 
#      endif
13097
 
#    endif
13098
 
#  endif
13099
 
#endif
13100
 
 
13101
 
/* When -fvisbility=hidden is used, assume the code has been annotated
13102
 
   correspondingly for the symbols needed.  */
13103
 
#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
13104
 
int fnord () __attribute__((visibility("default")));
13105
 
#endif
13106
 
 
13107
 
int fnord () { return 42; }
13108
 
int main ()
13109
 
{
13110
 
  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
13111
 
  int status = $lt_dlunknown;
13112
 
 
13113
 
  if (self)
13114
 
    {
13115
 
      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
13116
 
      else
13117
 
        {
13118
 
          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
13119
 
          else puts (dlerror ());
13120
 
        }
13121
 
      /* dlclose (self); */
13122
 
    }
13123
 
  else
13124
 
    puts (dlerror ());
13125
 
 
13126
 
  return status;
13127
 
}
13128
 
_LT_EOF
13129
 
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
13130
 
  (eval $ac_link) 2>&5
13131
 
  ac_status=$?
13132
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13133
 
  test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
13134
 
    (./conftest; exit; ) >&5 2>/dev/null
13135
 
    lt_status=$?
13136
 
    case x$lt_status in
13137
 
      x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
13138
 
      x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
13139
 
      x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
13140
 
    esac
13141
 
  else :
13142
 
    # compilation failed
13143
 
    lt_cv_dlopen_self_static=no
13144
 
  fi
13145
 
fi
13146
 
rm -fr conftest*
13147
 
 
13148
 
      
13149
 
fi
13150
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
13151
 
$as_echo "$lt_cv_dlopen_self_static" >&6; }
13152
 
    fi
13153
 
 
13154
 
    CPPFLAGS="$save_CPPFLAGS"
13155
 
    LDFLAGS="$save_LDFLAGS"
13156
 
    LIBS="$save_LIBS"
13157
 
    ;;
13158
 
  esac
13159
 
 
13160
 
  case $lt_cv_dlopen_self in
13161
 
  yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
13162
 
  *) enable_dlopen_self=unknown ;;
13163
 
  esac
13164
 
 
13165
 
  case $lt_cv_dlopen_self_static in
13166
 
  yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
13167
 
  *) enable_dlopen_self_static=unknown ;;
13168
 
  esac
13169
 
fi
13170
 
 
13171
 
    
13172
 
    
13173
 
    
13174
 
 
13175
 
 
13176
 
    
13177
 
    
13178
 
    
13179
 
 
13180
 
 
13181
 
    
13182
 
    
13183
 
    
13184
 
 
13185
 
 
13186
 
  
13187
 
striplib=
13188
 
old_striplib=
13189
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
13190
 
$as_echo_n "checking whether stripping libraries is possible... " >&6; }
13191
 
if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
13192
 
  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
13193
 
  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
13194
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13195
 
$as_echo "yes" >&6; }
13196
 
else
13197
 
# FIXME - insert some real tests, host_os isn't really good enough
13198
 
  case $host_os in
13199
 
  darwin*)
13200
 
    if test -n "$STRIP" ; then
13201
 
      striplib="$STRIP -x"
13202
 
      old_striplib="$STRIP -S"
13203
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13204
 
$as_echo "yes" >&6; }
13205
 
    else
13206
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13207
 
$as_echo "no" >&6; }
13208
 
    fi
13209
 
    ;;
13210
 
  *)
13211
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13212
 
$as_echo "no" >&6; }
13213
 
    ;;
13214
 
  esac
13215
 
fi
13216
 
 
13217
 
    
13218
 
    
13219
 
    
13220
 
 
13221
 
 
13222
 
    
13223
 
    
13224
 
    
13225
 
 
13226
 
 
13227
 
 
13228
 
  # Report which library types will actually be built
13229
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
13230
 
$as_echo_n "checking if libtool supports shared libraries... " >&6; }
13231
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
13232
 
$as_echo "$can_build_shared" >&6; }
13233
 
 
13234
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
13235
 
$as_echo_n "checking whether to build shared libraries... " >&6; }
13236
 
  test "$can_build_shared" = "no" && enable_shared=no
13237
 
 
13238
 
  # On AIX, shared libraries and static libraries use the same namespace, and
13239
 
  # are all built from PIC.
13240
 
  case $host_os in
13241
 
  aix3*)
13242
 
    test "$enable_shared" = yes && enable_static=no
13243
 
    if test -n "$RANLIB"; then
13244
 
      archive_cmds="$archive_cmds~\$RANLIB \$lib"
13245
 
      postinstall_cmds='$RANLIB $lib'
13246
 
    fi
13247
 
    ;;
13248
 
 
13249
 
  aix[4-9]*)
13250
 
    if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
13251
 
      test "$enable_shared" = yes && enable_static=no
13252
 
    fi
13253
 
    ;;
13254
 
  esac
13255
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
13256
 
$as_echo "$enable_shared" >&6; }
13257
 
 
13258
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
13259
 
$as_echo_n "checking whether to build static libraries... " >&6; }
13260
 
  # Make sure either enable_shared or enable_static is yes.
13261
 
  test "$enable_shared" = yes || enable_static=yes
13262
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
13263
 
$as_echo "$enable_static" >&6; }
13264
 
 
13265
 
  
13266
 
 
13267
 
 
13268
 
fi
13269
 
ac_ext=c
13270
 
ac_cpp='$CPP $CPPFLAGS'
13271
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13272
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13273
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
13274
 
 
13275
 
CC="$lt_save_CC"
13276
 
 
13277
 
 
13278
 
 
13279
 
 
13280
 
 
13281
 
 
13282
 
 
13283
 
 
13284
 
       
13285
 
       
13286
 
 
13287
 
 
13288
 
 
13289
 
 
13290
 
 
13291
 
        ac_config_commands="$ac_config_commands libtool"
13292
 
 
13293
 
 
13294
 
 
13295
 
 
13296
 
# Only expand once:
13297
 
 
13298
 
 
13299
 
 
13300
 
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
13301
 
$as_echo_n "checking whether byte ordering is bigendian... " >&6; }
13302
 
if ${ac_cv_c_bigendian+:} false; then :
13303
 
  $as_echo_n "(cached) " >&6
13304
 
else
13305
 
  ac_cv_c_bigendian=unknown
13306
 
    # See if we're dealing with a universal compiler.
13307
 
    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13308
 
/* end confdefs.h.  */
13309
 
#ifndef __APPLE_CC__
13310
 
               not a universal capable compiler
13311
 
             #endif
13312
 
             typedef int dummy;
13313
 
            
13314
 
_ACEOF
13315
 
if ac_fn_c_try_compile "$LINENO"; then :
13316
 
  
13317
 
        # Check for potential -arch flags.  It is not universal unless
13318
 
        # there are at least two -arch flags with different values.
13319
 
        ac_arch=
13320
 
        ac_prev=
13321
 
        for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
13322
 
         if test -n "$ac_prev"; then
13323
 
           case $ac_word in
13324
 
             i?86 | x86_64 | ppc | ppc64)
13325
 
               if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
13326
 
                 ac_arch=$ac_word
13327
 
               else
13328
 
                 ac_cv_c_bigendian=universal
13329
 
                 break
13330
 
               fi
13331
 
               ;;
13332
 
           esac
13333
 
           ac_prev=
13334
 
         elif test "x$ac_word" = "x-arch"; then
13335
 
           ac_prev=arch
13336
 
         fi
13337
 
       done
13338
 
fi
13339
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13340
 
    if test $ac_cv_c_bigendian = unknown; then
13341
 
      # See if sys/param.h defines the BYTE_ORDER macro.
13342
 
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13343
 
/* end confdefs.h.  */
13344
 
#include <sys/types.h>
13345
 
             #include <sys/param.h>
13346
 
           
13347
 
int
13348
 
main ()
13349
 
{
13350
 
#if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
13351
 
                     && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
13352
 
                     && LITTLE_ENDIAN)
13353
 
              bogus endian macros
13354
 
             #endif
13355
 
           
13356
 
  ;
13357
 
  return 0;
13358
 
}
13359
 
_ACEOF
13360
 
if ac_fn_c_try_compile "$LINENO"; then :
13361
 
  # It does; now see whether it defined to BIG_ENDIAN or not.
13362
 
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13363
 
/* end confdefs.h.  */
13364
 
#include <sys/types.h>
13365
 
                #include <sys/param.h>
13366
 
              
13367
 
int
13368
 
main ()
13369
 
{
13370
 
#if BYTE_ORDER != BIG_ENDIAN
13371
 
                 not big endian
13372
 
                #endif
13373
 
              
13374
 
  ;
13375
 
  return 0;
13376
 
}
13377
 
_ACEOF
13378
 
if ac_fn_c_try_compile "$LINENO"; then :
13379
 
  ac_cv_c_bigendian=yes
13380
 
else
13381
 
  ac_cv_c_bigendian=no
13382
 
fi
13383
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13384
 
fi
13385
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13386
 
    fi
13387
 
    if test $ac_cv_c_bigendian = unknown; then
13388
 
      # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
13389
 
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13390
 
/* end confdefs.h.  */
13391
 
#include <limits.h>
13392
 
           
13393
 
int
13394
 
main ()
13395
 
{
13396
 
#if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
13397
 
              bogus endian macros
13398
 
             #endif
13399
 
           
13400
 
  ;
13401
 
  return 0;
13402
 
}
13403
 
_ACEOF
13404
 
if ac_fn_c_try_compile "$LINENO"; then :
13405
 
  # It does; now see whether it defined to _BIG_ENDIAN or not.
13406
 
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13407
 
/* end confdefs.h.  */
13408
 
#include <limits.h>
13409
 
              
13410
 
int
13411
 
main ()
13412
 
{
13413
 
#ifndef _BIG_ENDIAN
13414
 
                 not big endian
13415
 
                #endif
13416
 
              
13417
 
  ;
13418
 
  return 0;
13419
 
}
13420
 
_ACEOF
13421
 
if ac_fn_c_try_compile "$LINENO"; then :
13422
 
  ac_cv_c_bigendian=yes
13423
 
else
13424
 
  ac_cv_c_bigendian=no
13425
 
fi
13426
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13427
 
fi
13428
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13429
 
    fi
13430
 
    if test $ac_cv_c_bigendian = unknown; then
13431
 
      # Compile a test program.
13432
 
      if test "$cross_compiling" = yes; then :
13433
 
  # Try to guess by grepping values from an object file.
13434
 
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13435
 
/* end confdefs.h.  */
13436
 
short int ascii_mm[] =
13437
 
                  { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
13438
 
                short int ascii_ii[] =
13439
 
                  { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
13440
 
                int use_ascii (int i) {
13441
 
                  return ascii_mm[i] + ascii_ii[i];
13442
 
                }
13443
 
                short int ebcdic_ii[] =
13444
 
                  { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
13445
 
                short int ebcdic_mm[] =
13446
 
                  { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
13447
 
                int use_ebcdic (int i) {
13448
 
                  return ebcdic_mm[i] + ebcdic_ii[i];
13449
 
                }
13450
 
                extern int foo;
13451
 
              
13452
 
int
13453
 
main ()
13454
 
{
13455
 
return use_ascii (foo) == use_ebcdic (foo);
13456
 
  ;
13457
 
  return 0;
13458
 
}
13459
 
_ACEOF
13460
 
if ac_fn_c_try_compile "$LINENO"; then :
13461
 
  if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
13462
 
              ac_cv_c_bigendian=yes
13463
 
            fi
13464
 
            if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
13465
 
              if test "$ac_cv_c_bigendian" = unknown; then
13466
 
                ac_cv_c_bigendian=no
13467
 
              else
13468
 
                # finding both strings is unlikely to happen, but who knows?
13469
 
                ac_cv_c_bigendian=unknown
13470
 
              fi
13471
 
            fi
13472
 
fi
13473
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13474
 
else
13475
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13476
 
/* end confdefs.h.  */
13477
 
$ac_includes_default
13478
 
int
13479
 
main ()
13480
 
{
13481
 
 
13482
 
             /* Are we little or big endian?  From Harbison&Steele.  */
13483
 
             union
13484
 
             {
13485
 
               long int l;
13486
 
               char c[sizeof (long int)];
13487
 
             } u;
13488
 
             u.l = 1;
13489
 
             return u.c[sizeof (long int) - 1] == 1;
13490
 
           
13491
 
  ;
13492
 
  return 0;
13493
 
}
13494
 
_ACEOF
13495
 
if ac_fn_c_try_run "$LINENO"; then :
13496
 
  ac_cv_c_bigendian=no
13497
 
else
13498
 
  ac_cv_c_bigendian=yes
13499
 
fi
13500
 
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
13501
 
  conftest.$ac_objext conftest.beam conftest.$ac_ext
13502
 
fi
13503
 
 
13504
 
    fi
13505
 
fi
13506
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
13507
 
$as_echo "$ac_cv_c_bigendian" >&6; }
13508
 
 case $ac_cv_c_bigendian in #(
13509
 
   yes)
13510
 
     
13511
 
$as_echo "@%:@define _BIG_ENDIAN 1" >>confdefs.h
13512
 
;; #(
13513
 
   no)
13514
 
      ;; #(
13515
 
   universal)
13516
 
        
13517
 
$as_echo "@%:@define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
13518
 
 
13519
 
     ;; #(
13520
 
   *)
13521
 
     as_fn_error $? "unknown endianness
13522
 
 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
13523
 
 esac
13524
 
 
13525
 
ac_fn_c_check_decl "$LINENO" "htole32" "ac_cv_have_decl_htole32" "$ac_includes_default"
13526
 
if test "x$ac_cv_have_decl_htole32" = xyes; then :
13527
 
  
13528
 
$as_echo "@%:@define HTOLE_DEFINED 1" >>confdefs.h
13529
 
 
13530
 
fi
13531
 
 
13532
 
ac_fn_c_check_header_mongrel "$LINENO" "sys/byteorder.h" "ac_cv_header_sys_byteorder_h" "$ac_includes_default"
13533
 
if test "x$ac_cv_header_sys_byteorder_h" = xyes; then :
13534
 
  
13535
 
$as_echo "@%:@define HAVE_BYTEORDER_H 1" >>confdefs.h
13536
 
 
13537
 
fi
13538
 
 
13539
 
 
13540
 
ac_fn_c_check_func "$LINENO" "daemon" "ac_cv_func_daemon"
13541
 
if test "x$ac_cv_func_daemon" = xyes; then :
13542
 
   
13543
 
$as_echo "@%:@define HAVE_DAEMON 1" >>confdefs.h
13544
 
 
13545
 
fi
13546
 
 
13547
 
 
13548
 
if test "x${GCC}" = "xyes"; then
13549
 
        CFLAGS="$CFLAGS -W -Wall -Wno-unused-parameter -Wsign-compare"
13550
 
fi
13551
 
 
13552
 
CFLAGS="$CFLAGS -I../include \
13553
 
        -DTCSD_DEFAULT_PORT=${TCSD_DEFAULT_PORT} -DTSS_VER_MAJOR=${TSS_VER_MAJOR} \
13554
 
        -DTSS_VER_MINOR=${TSS_VER_MINOR} -DTSS_SPEC_MAJOR=${TSS_SPEC_MAJOR} \
13555
 
        -DTSS_SPEC_MINOR=${TSS_SPEC_MINOR}"
13556
 
#CFLAGS="$CFLAGS -I../include -std=c99 -pedantic -W -Wall"
13557
 
KERNEL_VERSION=`uname -r`
13558
 
 
13559
 
 
13560
 
# When we build the rpms, prefix will be /usr. This'll do some things that make sense,
13561
 
# like put our sbin stuff in /usr/sbin and our library in /usr/lib. It'll do some other
13562
 
# things that don't make sense like put our config file in /usr/etc. So, I'll just hack
13563
 
# it here. If the --prefix option isn't specified during configure, let it all go to
13564
 
# /usr/local, even /usr/local/etc. :-P
13565
 
if test x"${prefix}" = x"/usr"; then
13566
 
        sysconfdir="/etc"
13567
 
        localstatedir="/var"
13568
 
        mandir="/usr/share/man"
13569
 
elif test x"${prefix}" = x"NONE"; then
13570
 
        localstatedir="/usr/local/var"
13571
 
fi
13572
 
 
13573
 
ac_config_files="$ac_config_files dist/tcsd.conf dist/fedora/trousers.spec dist/trousers.spec Makefile src/Makefile src/include/Makefile src/tcs/Makefile src/tddl/Makefile src/tspi/Makefile src/trspi/Makefile src/tcsd/Makefile tools/Makefile man/man8/tcsd.8 man/man5/tcsd.conf.5 dist/Makefile man/Makefile man/man3/Makefile man/man5/Makefile man/man8/Makefile"
13574
 
 
13575
 
cat >confcache <<\_ACEOF
13576
 
# This file is a shell script that caches the results of configure
13577
 
# tests run on this system so they can be shared between configure
13578
 
# scripts and configure runs, see configure's option --config-cache.
13579
 
# It is not useful on other systems.  If it contains results you don't
13580
 
# want to keep, you may remove or edit it.
13581
 
#
13582
 
# config.status only pays attention to the cache file if you give it
13583
 
# the --recheck option to rerun configure.
13584
 
#
13585
 
# `ac_cv_env_foo' variables (set or unset) will be overridden when
13586
 
# loading this file, other *unset* `ac_cv_foo' will be assigned the
13587
 
# following values.
13588
 
 
13589
 
_ACEOF
13590
 
 
13591
 
# The following way of writing the cache mishandles newlines in values,
13592
 
# but we know of no workaround that is simple, portable, and efficient.
13593
 
# So, we kill variables containing newlines.
13594
 
# Ultrix sh set writes to stderr and can't be redirected directly,
13595
 
# and sets the high bit in the cache file unless we assign to the vars.
13596
 
(
13597
 
  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
13598
 
    eval ac_val=\$$ac_var
13599
 
    case $ac_val in #(
13600
 
    *${as_nl}*)
13601
 
      case $ac_var in #(
13602
 
      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
13603
 
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
13604
 
      esac
13605
 
      case $ac_var in #(
13606
 
      _ | IFS | as_nl) ;; #(
13607
 
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
13608
 
      *) { eval $ac_var=; unset $ac_var;} ;;
13609
 
      esac ;;
13610
 
    esac
13611
 
  done
13612
 
 
13613
 
  (set) 2>&1 |
13614
 
    case $as_nl`(ac_space=' '; set) 2>&1` in #(
13615
 
    *${as_nl}ac_space=\ *)
13616
 
      # `set' does not quote correctly, so add quotes: double-quote
13617
 
      # substitution turns \\\\ into \\, and sed turns \\ into \.
13618
 
      sed -n \
13619
 
        "s/'/'\\\\''/g;
13620
 
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
13621
 
      ;; #(
13622
 
    *)
13623
 
      # `set' quotes correctly as required by POSIX, so do not add quotes.
13624
 
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
13625
 
      ;;
13626
 
    esac |
13627
 
    sort
13628
 
) |
13629
 
  sed '
13630
 
     /^ac_cv_env_/b end
13631
 
     t clear
13632
 
     :clear
13633
 
     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
13634
 
     t end
13635
 
     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
13636
 
     :end' >>confcache
13637
 
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
13638
 
  if test -w "$cache_file"; then
13639
 
    if test "x$cache_file" != "x/dev/null"; then
13640
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
13641
 
$as_echo "$as_me: updating cache $cache_file" >&6;}
13642
 
      if test ! -f "$cache_file" || test -h "$cache_file"; then
13643
 
        cat confcache >"$cache_file"
13644
 
      else
13645
 
        case $cache_file in #(
13646
 
        */* | ?:*)
13647
 
          mv -f confcache "$cache_file"$$ &&
13648
 
          mv -f "$cache_file"$$ "$cache_file" ;; #(
13649
 
        *)
13650
 
          mv -f confcache "$cache_file" ;;
13651
 
        esac
13652
 
      fi
13653
 
    fi
13654
 
  else
13655
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
13656
 
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
13657
 
  fi
13658
 
fi
13659
 
rm -f confcache
13660
 
 
13661
 
test "x$prefix" = xNONE && prefix=$ac_default_prefix
13662
 
# Let make expand exec_prefix.
13663
 
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
13664
 
 
13665
 
# Transform confdefs.h into DEFS.
13666
 
# Protect against shell expansion while executing Makefile rules.
13667
 
# Protect against Makefile macro expansion.
13668
 
#
13669
 
# If the first sed substitution is executed (which looks for macros that
13670
 
# take arguments), then branch to the quote section.  Otherwise,
13671
 
# look for a macro that doesn't take arguments.
13672
 
ac_script='
13673
 
:mline
13674
 
/\\$/{
13675
 
 N
13676
 
 s,\\\n,,
13677
 
 b mline
13678
 
}
13679
 
t clear
13680
 
:clear
13681
 
s/^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*([^)]*)\)[   ]*\(.*\)/-D\1=\2/g
13682
 
t quote
13683
 
s/^[     ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)/-D\1=\2/g
13684
 
t quote
13685
 
b any
13686
 
:quote
13687
 
s/[      `~#$^&*(){}\\|;'\''"<>?]/\\&/g
13688
 
s/\[/\\&/g
13689
 
s/\]/\\&/g
13690
 
s/\$/$$/g
13691
 
H
13692
 
:any
13693
 
${
13694
 
        g
13695
 
        s/^\n//
13696
 
        s/\n/ /g
13697
 
        p
13698
 
}
13699
 
'
13700
 
DEFS=`sed -n "$ac_script" confdefs.h`
13701
 
 
13702
 
 
13703
 
ac_libobjs=
13704
 
ac_ltlibobjs=
13705
 
U=
13706
 
for ac_i in : $LIB@&t@OBJS; do test "x$ac_i" = x: && continue
13707
 
  # 1. Remove the extension, and $U if already installed.
13708
 
  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
13709
 
  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
13710
 
  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
13711
 
  #    will be set to the directory where LIBOBJS objects are built.
13712
 
  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
13713
 
  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
13714
 
done
13715
 
LIB@&t@OBJS=$ac_libobjs
13716
 
 
13717
 
LTLIBOBJS=$ac_ltlibobjs
13718
 
 
13719
 
 
13720
 
 if test -n "$EXEEXT"; then
13721
 
  am__EXEEXT_TRUE=
13722
 
  am__EXEEXT_FALSE='#'
13723
 
else
13724
 
  am__EXEEXT_TRUE='#'
13725
 
  am__EXEEXT_FALSE=
13726
 
fi
13727
 
 
13728
 
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
13729
 
  as_fn_error $? "conditional \"AMDEP\" was never defined.
13730
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5
13731
 
fi
13732
 
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
13733
 
  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
13734
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5
13735
 
fi
13736
 
if test -z "${HAVE_GTK_TRUE}" && test -z "${HAVE_GTK_FALSE}"; then
13737
 
  as_fn_error $? "conditional \"HAVE_GTK\" was never defined.
13738
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5
13739
 
fi
13740
 
if test -z "${HAVE_GTK_TRUE}" && test -z "${HAVE_GTK_FALSE}"; then
13741
 
  as_fn_error $? "conditional \"HAVE_GTK\" was never defined.
13742
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5
13743
 
fi
13744
 
if test -z "${HAVE_GTK_TRUE}" && test -z "${HAVE_GTK_FALSE}"; then
13745
 
  as_fn_error $? "conditional \"HAVE_GTK\" was never defined.
13746
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5
13747
 
fi
13748
 
if test -z "${OPENSSL_UI_TRUE}" && test -z "${OPENSSL_UI_FALSE}"; then
13749
 
  as_fn_error $? "conditional \"OPENSSL_UI\" was never defined.
13750
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5
13751
 
fi
13752
 
if test -z "${OPENSSL_UI_TRUE}" && test -z "${OPENSSL_UI_FALSE}"; then
13753
 
  as_fn_error $? "conditional \"OPENSSL_UI\" was never defined.
13754
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5
13755
 
fi
13756
 
if test -z "${HAVE_GTK_TRUE}" && test -z "${HAVE_GTK_FALSE}"; then
13757
 
  as_fn_error $? "conditional \"HAVE_GTK\" was never defined.
13758
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5
13759
 
fi
13760
 
if test -z "${HAVE_GTK_TRUE}" && test -z "${HAVE_GTK_FALSE}"; then
13761
 
  as_fn_error $? "conditional \"HAVE_GTK\" was never defined.
13762
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5
13763
 
fi
13764
 
if test -z "${OPENSSL_UI_TRUE}" && test -z "${OPENSSL_UI_FALSE}"; then
13765
 
  as_fn_error $? "conditional \"OPENSSL_UI\" was never defined.
13766
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5
13767
 
fi
13768
 
if test -z "${TSS_BUILD_HASH_TRUE}" && test -z "${TSS_BUILD_HASH_FALSE}"; then
13769
 
  as_fn_error $? "conditional \"TSS_BUILD_HASH\" was never defined.
13770
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5
13771
 
fi
13772
 
if test -z "${TSS_BUILD_GETSET_TRUE}" && test -z "${TSS_BUILD_GETSET_FALSE}"; then
13773
 
  as_fn_error $? "conditional \"TSS_BUILD_GETSET\" was never defined.
13774
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5
13775
 
fi
13776
 
if test -z "${TSS_BUILD_RANDOM_TRUE}" && test -z "${TSS_BUILD_RANDOM_FALSE}"; then
13777
 
  as_fn_error $? "conditional \"TSS_BUILD_RANDOM\" was never defined.
13778
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5
13779
 
fi
13780
 
if test -z "${TSS_BUILD_CAPS_TRUE}" && test -z "${TSS_BUILD_CAPS_FALSE}"; then
13781
 
  as_fn_error $? "conditional \"TSS_BUILD_CAPS\" was never defined.
13782
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5
13783
 
fi
13784
 
if test -z "${TSS_BUILD_CAPS_TPM_TRUE}" && test -z "${TSS_BUILD_CAPS_TPM_FALSE}"; then
13785
 
  as_fn_error $? "conditional \"TSS_BUILD_CAPS_TPM\" was never defined.
13786
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5
13787
 
fi
13788
 
if test -z "${TSS_BUILD_POLICY_TRUE}" && test -z "${TSS_BUILD_POLICY_FALSE}"; then
13789
 
  as_fn_error $? "conditional \"TSS_BUILD_POLICY\" was never defined.
13790
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5
13791
 
fi
13792
 
if test -z "${TSS_BUILD_DIR_TRUE}" && test -z "${TSS_BUILD_DIR_FALSE}"; then
13793
 
  as_fn_error $? "conditional \"TSS_BUILD_DIR\" was never defined.
13794
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5
13795
 
fi
13796
 
if test -z "${TSS_BUILD_PCR_EVENTS_TRUE}" && test -z "${TSS_BUILD_PCR_EVENTS_FALSE}"; then
13797
 
  as_fn_error $? "conditional \"TSS_BUILD_PCR_EVENTS\" was never defined.
13798
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5
13799
 
fi
13800
 
if test -z "${TSS_BUILD_SIGN_TRUE}" && test -z "${TSS_BUILD_SIGN_FALSE}"; then
13801
 
  as_fn_error $? "conditional \"TSS_BUILD_SIGN\" was never defined.
13802
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5
13803
 
fi
13804
 
if test -z "${TSS_BUILD_QUOTE_TRUE}" && test -z "${TSS_BUILD_QUOTE_FALSE}"; then
13805
 
  as_fn_error $? "conditional \"TSS_BUILD_QUOTE\" was never defined.
13806
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5
13807
 
fi
13808
 
if test -z "${TSS_BUILD_PCR_COMP_TRUE}" && test -z "${TSS_BUILD_PCR_COMP_FALSE}"; then
13809
 
  as_fn_error $? "conditional \"TSS_BUILD_PCR_COMP\" was never defined.
13810
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5
13811
 
fi
13812
 
if test -z "${TSS_BUILD_SEAL_TRUE}" && test -z "${TSS_BUILD_SEAL_FALSE}"; then
13813
 
  as_fn_error $? "conditional \"TSS_BUILD_SEAL\" was never defined.
13814
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5
13815
 
fi
13816
 
if test -z "${TSS_BUILD_CHANGEAUTH_TRUE}" && test -z "${TSS_BUILD_CHANGEAUTH_FALSE}"; then
13817
 
  as_fn_error $? "conditional \"TSS_BUILD_CHANGEAUTH\" was never defined.
13818
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5
13819
 
fi
13820
 
if test -z "${TSS_BUILD_BIND_TRUE}" && test -z "${TSS_BUILD_BIND_FALSE}"; then
13821
 
  as_fn_error $? "conditional \"TSS_BUILD_BIND\" was never defined.
13822
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5
13823
 
fi
13824
 
if test -z "${TSS_BUILD_OWN_TRUE}" && test -z "${TSS_BUILD_OWN_FALSE}"; then
13825
 
  as_fn_error $? "conditional \"TSS_BUILD_OWN\" was never defined.
13826
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5
13827
 
fi
13828
 
if test -z "${TSS_BUILD_EK_TRUE}" && test -z "${TSS_BUILD_EK_FALSE}"; then
13829
 
  as_fn_error $? "conditional \"TSS_BUILD_EK\" was never defined.
13830
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5
13831
 
fi
13832
 
if test -z "${TSS_BUILD_PS_TRUE}" && test -z "${TSS_BUILD_PS_FALSE}"; then
13833
 
  as_fn_error $? "conditional \"TSS_BUILD_PS\" was never defined.
13834
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5
13835
 
fi
13836
 
if test -z "${TSS_BUILD_ADMIN_TRUE}" && test -z "${TSS_BUILD_ADMIN_FALSE}"; then
13837
 
  as_fn_error $? "conditional \"TSS_BUILD_ADMIN\" was never defined.
13838
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5
13839
 
fi
13840
 
if test -z "${TSS_BUILD_AIK_TRUE}" && test -z "${TSS_BUILD_AIK_FALSE}"; then
13841
 
  as_fn_error $? "conditional \"TSS_BUILD_AIK\" was never defined.
13842
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5
13843
 
fi
13844
 
if test -z "${TSS_BUILD_CERTIFY_TRUE}" && test -z "${TSS_BUILD_CERTIFY_FALSE}"; then
13845
 
  as_fn_error $? "conditional \"TSS_BUILD_CERTIFY\" was never defined.
13846
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5
13847
 
fi
13848
 
if test -z "${TSS_BUILD_MAINT_TRUE}" && test -z "${TSS_BUILD_MAINT_FALSE}"; then
13849
 
  as_fn_error $? "conditional \"TSS_BUILD_MAINT\" was never defined.
13850
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5
13851
 
fi
13852
 
if test -z "${TSS_BUILD_MIGRATION_TRUE}" && test -z "${TSS_BUILD_MIGRATION_FALSE}"; then
13853
 
  as_fn_error $? "conditional \"TSS_BUILD_MIGRATION\" was never defined.
13854
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5
13855
 
fi
13856
 
if test -z "${TSS_BUILD_KEY_TRUE}" && test -z "${TSS_BUILD_KEY_FALSE}"; then
13857
 
  as_fn_error $? "conditional \"TSS_BUILD_KEY\" was never defined.
13858
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5
13859
 
fi
13860
 
if test -z "${TSS_BUILD_PCR_EXTEND_TRUE}" && test -z "${TSS_BUILD_PCR_EXTEND_FALSE}"; then
13861
 
  as_fn_error $? "conditional \"TSS_BUILD_PCR_EXTEND\" was never defined.
13862
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5
13863
 
fi
13864
 
if test -z "${TSS_BUILD_SELFTEST_TRUE}" && test -z "${TSS_BUILD_SELFTEST_FALSE}"; then
13865
 
  as_fn_error $? "conditional \"TSS_BUILD_SELFTEST\" was never defined.
13866
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5
13867
 
fi
13868
 
if test -z "${TSS_BUILD_TSS12_TRUE}" && test -z "${TSS_BUILD_TSS12_FALSE}"; then
13869
 
  as_fn_error $? "conditional \"TSS_BUILD_TSS12\" was never defined.
13870
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5
13871
 
fi
13872
 
if test -z "${TSS_BUILD_DAA_TRUE}" && test -z "${TSS_BUILD_DAA_FALSE}"; then
13873
 
  as_fn_error $? "conditional \"TSS_BUILD_DAA\" was never defined.
13874
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5
13875
 
fi
13876
 
if test -z "${TSS_BUILD_PCR_COMP12_TRUE}" && test -z "${TSS_BUILD_PCR_COMP12_FALSE}"; then
13877
 
  as_fn_error $? "conditional \"TSS_BUILD_PCR_COMP12\" was never defined.
13878
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5
13879
 
fi
13880
 
if test -z "${TSS_BUILD_COUNTER_TRUE}" && test -z "${TSS_BUILD_COUNTER_FALSE}"; then
13881
 
  as_fn_error $? "conditional \"TSS_BUILD_COUNTER\" was never defined.
13882
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5
13883
 
fi
13884
 
if test -z "${TSS_BUILD_TICK_TRUE}" && test -z "${TSS_BUILD_TICK_FALSE}"; then
13885
 
  as_fn_error $? "conditional \"TSS_BUILD_TICK\" was never defined.
13886
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5
13887
 
fi
13888
 
if test -z "${TSS_BUILD_TRANSPORT_TRUE}" && test -z "${TSS_BUILD_TRANSPORT_FALSE}"; then
13889
 
  as_fn_error $? "conditional \"TSS_BUILD_TRANSPORT\" was never defined.
13890
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5
13891
 
fi
13892
 
if test -z "${TSS_BUILD_ASN1_TRUE}" && test -z "${TSS_BUILD_ASN1_FALSE}"; then
13893
 
  as_fn_error $? "conditional \"TSS_BUILD_ASN1\" was never defined.
13894
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5
13895
 
fi
13896
 
if test -z "${TSS_BUILD_NV_TRUE}" && test -z "${TSS_BUILD_NV_FALSE}"; then
13897
 
  as_fn_error $? "conditional \"TSS_BUILD_NV\" was never defined.
13898
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5
13899
 
fi
13900
 
if test -z "${TSS_BUILD_AUDIT_TRUE}" && test -z "${TSS_BUILD_AUDIT_FALSE}"; then
13901
 
  as_fn_error $? "conditional \"TSS_BUILD_AUDIT\" was never defined.
13902
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5
13903
 
fi
13904
 
if test -z "${TSS_BUILD_SEALX_TRUE}" && test -z "${TSS_BUILD_SEALX_FALSE}"; then
13905
 
  as_fn_error $? "conditional \"TSS_BUILD_SEALX\" was never defined.
13906
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5
13907
 
fi
13908
 
if test -z "${TSS_BUILD_DELEGATION_TRUE}" && test -z "${TSS_BUILD_DELEGATION_FALSE}"; then
13909
 
  as_fn_error $? "conditional \"TSS_BUILD_DELEGATION\" was never defined.
13910
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5
13911
 
fi
13912
 
if test -z "${TSS_BUILD_QUOTE2_TRUE}" && test -z "${TSS_BUILD_QUOTE2_FALSE}"; then
13913
 
  as_fn_error $? "conditional \"TSS_BUILD_QUOTE2\" was never defined.
13914
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5
13915
 
fi
13916
 
if test -z "${TSS_BUILD_CMK_TRUE}" && test -z "${TSS_BUILD_CMK_FALSE}"; then
13917
 
  as_fn_error $? "conditional \"TSS_BUILD_CMK\" was never defined.
13918
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5
13919
 
fi
13920
 
if test -z "${TSS_BUILD_TSS12_TRUE}" && test -z "${TSS_BUILD_TSS12_FALSE}"; then
13921
 
  as_fn_error $? "conditional \"TSS_BUILD_TSS12\" was never defined.
13922
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5
13923
 
fi
13924
 
if test -z "${TSS_BUILD_DAA_TRUE}" && test -z "${TSS_BUILD_DAA_FALSE}"; then
13925
 
  as_fn_error $? "conditional \"TSS_BUILD_DAA\" was never defined.
13926
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5
13927
 
fi
13928
 
if test -z "${TSS_BUILD_PCR_COMP12_TRUE}" && test -z "${TSS_BUILD_PCR_COMP12_FALSE}"; then
13929
 
  as_fn_error $? "conditional \"TSS_BUILD_PCR_COMP12\" was never defined.
13930
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5
13931
 
fi
13932
 
if test -z "${TSS_BUILD_COUNTER_TRUE}" && test -z "${TSS_BUILD_COUNTER_FALSE}"; then
13933
 
  as_fn_error $? "conditional \"TSS_BUILD_COUNTER\" was never defined.
13934
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5
13935
 
fi
13936
 
if test -z "${TSS_BUILD_TICK_TRUE}" && test -z "${TSS_BUILD_TICK_FALSE}"; then
13937
 
  as_fn_error $? "conditional \"TSS_BUILD_TICK\" was never defined.
13938
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5
13939
 
fi
13940
 
if test -z "${TSS_BUILD_TRANSPORT_TRUE}" && test -z "${TSS_BUILD_TRANSPORT_FALSE}"; then
13941
 
  as_fn_error $? "conditional \"TSS_BUILD_TRANSPORT\" was never defined.
13942
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5
13943
 
fi
13944
 
if test -z "${TSS_BUILD_ASN1_TRUE}" && test -z "${TSS_BUILD_ASN1_FALSE}"; then
13945
 
  as_fn_error $? "conditional \"TSS_BUILD_ASN1\" was never defined.
13946
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5
13947
 
fi
13948
 
if test -z "${TSS_BUILD_NV_TRUE}" && test -z "${TSS_BUILD_NV_FALSE}"; then
13949
 
  as_fn_error $? "conditional \"TSS_BUILD_NV\" was never defined.
13950
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5
13951
 
fi
13952
 
if test -z "${TSS_BUILD_AUDIT_TRUE}" && test -z "${TSS_BUILD_AUDIT_FALSE}"; then
13953
 
  as_fn_error $? "conditional \"TSS_BUILD_AUDIT\" was never defined.
13954
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5
13955
 
fi
13956
 
if test -z "${TSS_BUILD_SEALX_TRUE}" && test -z "${TSS_BUILD_SEALX_FALSE}"; then
13957
 
  as_fn_error $? "conditional \"TSS_BUILD_SEALX\" was never defined.
13958
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5
13959
 
fi
13960
 
if test -z "${TSS_BUILD_DELEGATION_TRUE}" && test -z "${TSS_BUILD_DELEGATION_FALSE}"; then
13961
 
  as_fn_error $? "conditional \"TSS_BUILD_DELEGATION\" was never defined.
13962
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5
13963
 
fi
13964
 
if test -z "${TSS_BUILD_QUOTE2_TRUE}" && test -z "${TSS_BUILD_QUOTE2_FALSE}"; then
13965
 
  as_fn_error $? "conditional \"TSS_BUILD_QUOTE2\" was never defined.
13966
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5
13967
 
fi
13968
 
if test -z "${TSS_BUILD_CMK_TRUE}" && test -z "${TSS_BUILD_CMK_FALSE}"; then
13969
 
  as_fn_error $? "conditional \"TSS_BUILD_CMK\" was never defined.
13970
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5
13971
 
fi
13972
 
if test -z "${TSS_BUILD_NV_LIST_TRUE}" && test -z "${TSS_BUILD_NV_LIST_FALSE}"; then
13973
 
  as_fn_error $? "conditional \"TSS_BUILD_NV_LIST\" was never defined.
13974
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5
13975
 
fi
13976
 
if test -z "${TSS_BUILD_NV_SUPPORT_TRUE}" && test -z "${TSS_BUILD_NV_SUPPORT_FALSE}"; then
13977
 
  as_fn_error $? "conditional \"TSS_BUILD_NV_SUPPORT\" was never defined.
13978
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5
13979
 
fi
13980
 
if test -z "${TSS_BUILD_GET_FLAGS_TRUE}" && test -z "${TSS_BUILD_GET_FLAGS_FALSE}"; then
13981
 
  as_fn_error $? "conditional \"TSS_BUILD_GET_FLAGS\" was never defined.
13982
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5
13983
 
fi
13984
 
if test -z "${TSS_BUILD_PCRS_LIST_TRUE}" && test -z "${TSS_BUILD_PCRS_LIST_FALSE}"; then
13985
 
  as_fn_error $? "conditional \"TSS_BUILD_PCRS_LIST\" was never defined.
13986
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5
13987
 
fi
13988
 
if test -z "${TSS_BUILD_HASH_LIST_TRUE}" && test -z "${TSS_BUILD_HASH_LIST_FALSE}"; then
13989
 
  as_fn_error $? "conditional \"TSS_BUILD_HASH_LIST\" was never defined.
13990
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5
13991
 
fi
13992
 
if test -z "${TSS_BUILD_ENCDATA_LIST_TRUE}" && test -z "${TSS_BUILD_ENCDATA_LIST_FALSE}"; then
13993
 
  as_fn_error $? "conditional \"TSS_BUILD_ENCDATA_LIST\" was never defined.
13994
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5
13995
 
fi
13996
 
if test -z "${TSS_BUILD_RSAKEY_LIST_TRUE}" && test -z "${TSS_BUILD_RSAKEY_LIST_FALSE}"; then
13997
 
  as_fn_error $? "conditional \"TSS_BUILD_RSAKEY_LIST\" was never defined.
13998
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5
13999
 
fi
14000
 
if test -z "${TSS_BUILD_AUTH_TRUE}" && test -z "${TSS_BUILD_AUTH_FALSE}"; then
14001
 
  as_fn_error $? "conditional \"TSS_BUILD_AUTH\" was never defined.
14002
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5
14003
 
fi
14004
 
if test -z "${TSS_BUILD_ASYM_CRYPTO_TRUE}" && test -z "${TSS_BUILD_ASYM_CRYPTO_FALSE}"; then
14005
 
  as_fn_error $? "conditional \"TSS_BUILD_ASYM_CRYPTO\" was never defined.
14006
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5
14007
 
fi
14008
 
if test -z "${TSS_BUILD_SYM_CRYPTO_TRUE}" && test -z "${TSS_BUILD_SYM_CRYPTO_FALSE}"; then
14009
 
  as_fn_error $? "conditional \"TSS_BUILD_SYM_CRYPTO\" was never defined.
14010
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5
14011
 
fi
14012
 
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
14013
 
  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
14014
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5
14015
 
fi
14016
 
 
14017
 
 
14018
 
: "${CONFIG_STATUS=./config.status}"
14019
 
ac_write_fail=0
14020
 
ac_clean_files_save=$ac_clean_files
14021
 
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
14022
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
14023
 
$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
14024
 
as_write_fail=0
14025
 
cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
14026
 
#! $SHELL
14027
 
# Generated by $as_me.
14028
 
# Run this file to recreate the current configuration.
14029
 
# Compiler output produced by configure, useful for debugging
14030
 
# configure, is in config.log if it exists.
14031
 
 
14032
 
debug=false
14033
 
ac_cs_recheck=false
14034
 
ac_cs_silent=false
14035
 
 
14036
 
SHELL=\${CONFIG_SHELL-$SHELL}
14037
 
export SHELL
14038
 
_ASEOF
14039
 
cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
14040
 
## -------------------- ##
14041
 
## M4sh Initialization. ##
14042
 
## -------------------- ##
14043
 
 
14044
 
# Be more Bourne compatible
14045
 
DUALCASE=1; export DUALCASE # for MKS sh
14046
 
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
14047
 
  emulate sh
14048
 
  NULLCMD=:
14049
 
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
14050
 
  # is contrary to our usage.  Disable this feature.
14051
 
  alias -g '${1+"$@"}'='"$@"'
14052
 
  setopt NO_GLOB_SUBST
14053
 
else
14054
 
  case `(set -o) 2>/dev/null` in @%:@(
14055
 
  *posix*) :
14056
 
    set -o posix ;; @%:@(
14057
 
  *) :
14058
 
     ;;
14059
 
esac
14060
 
fi
14061
 
 
14062
 
 
14063
 
as_nl='
14064
 
'
14065
 
export as_nl
14066
 
# Printing a long string crashes Solaris 7 /usr/bin/printf.
14067
 
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
14068
 
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
14069
 
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
14070
 
# Prefer a ksh shell builtin over an external printf program on Solaris,
14071
 
# but without wasting forks for bash or zsh.
14072
 
if test -z "$BASH_VERSION$ZSH_VERSION" \
14073
 
    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
14074
 
  as_echo='print -r --'
14075
 
  as_echo_n='print -rn --'
14076
 
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
14077
 
  as_echo='printf %s\n'
14078
 
  as_echo_n='printf %s'
14079
 
else
14080
 
  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
14081
 
    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
14082
 
    as_echo_n='/usr/ucb/echo -n'
14083
 
  else
14084
 
    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
14085
 
    as_echo_n_body='eval
14086
 
      arg=$1;
14087
 
      case $arg in @%:@(
14088
 
      *"$as_nl"*)
14089
 
        expr "X$arg" : "X\\(.*\\)$as_nl";
14090
 
        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
14091
 
      esac;
14092
 
      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
14093
 
    '
14094
 
    export as_echo_n_body
14095
 
    as_echo_n='sh -c $as_echo_n_body as_echo'
14096
 
  fi
14097
 
  export as_echo_body
14098
 
  as_echo='sh -c $as_echo_body as_echo'
14099
 
fi
14100
 
 
14101
 
# The user is always right.
14102
 
if test "${PATH_SEPARATOR+set}" != set; then
14103
 
  PATH_SEPARATOR=:
14104
 
  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
14105
 
    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
14106
 
      PATH_SEPARATOR=';'
14107
 
  }
14108
 
fi
14109
 
 
14110
 
 
14111
 
# IFS
14112
 
# We need space, tab and new line, in precisely that order.  Quoting is
14113
 
# there to prevent editors from complaining about space-tab.
14114
 
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
14115
 
# splitting by setting IFS to empty value.)
14116
 
IFS=" ""        $as_nl"
14117
 
 
14118
 
# Find who we are.  Look in the path if we contain no directory separator.
14119
 
as_myself=
14120
 
case $0 in @%:@((
14121
 
  *[\\/]* ) as_myself=$0 ;;
14122
 
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14123
 
for as_dir in $PATH
14124
 
do
14125
 
  IFS=$as_save_IFS
14126
 
  test -z "$as_dir" && as_dir=.
14127
 
    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
14128
 
  done
14129
 
IFS=$as_save_IFS
14130
 
 
14131
 
     ;;
14132
 
esac
14133
 
# We did not find ourselves, most probably we were run as `sh COMMAND'
14134
 
# in which case we are not to be found in the path.
14135
 
if test "x$as_myself" = x; then
14136
 
  as_myself=$0
14137
 
fi
14138
 
if test ! -f "$as_myself"; then
14139
 
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
14140
 
  exit 1
14141
 
fi
14142
 
 
14143
 
# Unset variables that we do not need and which cause bugs (e.g. in
14144
 
# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
14145
 
# suppresses any "Segmentation fault" message there.  '((' could
14146
 
# trigger a bug in pdksh 5.2.14.
14147
 
for as_var in BASH_ENV ENV MAIL MAILPATH
14148
 
do eval test x\${$as_var+set} = xset \
14149
 
  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
14150
 
done
14151
 
PS1='$ '
14152
 
PS2='> '
14153
 
PS4='+ '
14154
 
 
14155
 
# NLS nuisances.
14156
 
LC_ALL=C
14157
 
export LC_ALL
14158
 
LANGUAGE=C
14159
 
export LANGUAGE
14160
 
 
14161
 
# CDPATH.
14162
 
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
14163
 
 
14164
 
 
14165
 
@%:@ as_fn_error STATUS ERROR [LINENO LOG_FD]
14166
 
@%:@ ----------------------------------------
14167
 
@%:@ Output "`basename @S|@0`: error: ERROR" to stderr. If LINENO and LOG_FD are
14168
 
@%:@ provided, also output the error to LOG_FD, referencing LINENO. Then exit the
14169
 
@%:@ script with STATUS, using 1 if that was 0.
14170
 
as_fn_error ()
14171
 
{
14172
 
  as_status=$1; test $as_status -eq 0 && as_status=1
14173
 
  if test "$4"; then
14174
 
    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
14175
 
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
14176
 
  fi
14177
 
  $as_echo "$as_me: error: $2" >&2
14178
 
  as_fn_exit $as_status
14179
 
} @%:@ as_fn_error
14180
 
 
14181
 
 
14182
 
@%:@ as_fn_set_status STATUS
14183
 
@%:@ -----------------------
14184
 
@%:@ Set @S|@? to STATUS, without forking.
14185
 
as_fn_set_status ()
14186
 
{
14187
 
  return $1
14188
 
} @%:@ as_fn_set_status
14189
 
 
14190
 
@%:@ as_fn_exit STATUS
14191
 
@%:@ -----------------
14192
 
@%:@ Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
14193
 
as_fn_exit ()
14194
 
{
14195
 
  set +e
14196
 
  as_fn_set_status $1
14197
 
  exit $1
14198
 
} @%:@ as_fn_exit
14199
 
 
14200
 
@%:@ as_fn_unset VAR
14201
 
@%:@ ---------------
14202
 
@%:@ Portably unset VAR.
14203
 
as_fn_unset ()
14204
 
{
14205
 
  { eval $1=; unset $1;}
14206
 
}
14207
 
as_unset=as_fn_unset
14208
 
@%:@ as_fn_append VAR VALUE
14209
 
@%:@ ----------------------
14210
 
@%:@ Append the text in VALUE to the end of the definition contained in VAR. Take
14211
 
@%:@ advantage of any shell optimizations that allow amortized linear growth over
14212
 
@%:@ repeated appends, instead of the typical quadratic growth present in naive
14213
 
@%:@ implementations.
14214
 
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
14215
 
  eval 'as_fn_append ()
14216
 
  {
14217
 
    eval $1+=\$2
14218
 
  }'
14219
 
else
14220
 
  as_fn_append ()
14221
 
  {
14222
 
    eval $1=\$$1\$2
14223
 
  }
14224
 
fi # as_fn_append
14225
 
 
14226
 
@%:@ as_fn_arith ARG...
14227
 
@%:@ ------------------
14228
 
@%:@ Perform arithmetic evaluation on the ARGs, and store the result in the
14229
 
@%:@ global @S|@as_val. Take advantage of shells that can avoid forks. The arguments
14230
 
@%:@ must be portable across @S|@(()) and expr.
14231
 
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
14232
 
  eval 'as_fn_arith ()
14233
 
  {
14234
 
    as_val=$(( $* ))
14235
 
  }'
14236
 
else
14237
 
  as_fn_arith ()
14238
 
  {
14239
 
    as_val=`expr "$@" || test $? -eq 1`
14240
 
  }
14241
 
fi # as_fn_arith
14242
 
 
14243
 
 
14244
 
if expr a : '\(a\)' >/dev/null 2>&1 &&
14245
 
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
14246
 
  as_expr=expr
14247
 
else
14248
 
  as_expr=false
14249
 
fi
14250
 
 
14251
 
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
14252
 
  as_basename=basename
14253
 
else
14254
 
  as_basename=false
14255
 
fi
14256
 
 
14257
 
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
14258
 
  as_dirname=dirname
14259
 
else
14260
 
  as_dirname=false
14261
 
fi
14262
 
 
14263
 
as_me=`$as_basename -- "$0" ||
14264
 
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
14265
 
         X"$0" : 'X\(//\)$' \| \
14266
 
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
14267
 
$as_echo X/"$0" |
14268
 
    sed '/^.*\/\([^/][^/]*\)\/*$/{
14269
 
            s//\1/
14270
 
            q
14271
 
          }
14272
 
          /^X\/\(\/\/\)$/{
14273
 
            s//\1/
14274
 
            q
14275
 
          }
14276
 
          /^X\/\(\/\).*/{
14277
 
            s//\1/
14278
 
            q
14279
 
          }
14280
 
          s/.*/./; q'`
14281
 
 
14282
 
# Avoid depending upon Character Ranges.
14283
 
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
14284
 
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
14285
 
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
14286
 
as_cr_digits='0123456789'
14287
 
as_cr_alnum=$as_cr_Letters$as_cr_digits
14288
 
 
14289
 
ECHO_C= ECHO_N= ECHO_T=
14290
 
case `echo -n x` in @%:@(((((
14291
 
-n*)
14292
 
  case `echo 'xy\c'` in
14293
 
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
14294
 
  xy)  ECHO_C='\c';;
14295
 
  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
14296
 
       ECHO_T=' ';;
14297
 
  esac;;
14298
 
*)
14299
 
  ECHO_N='-n';;
14300
 
esac
14301
 
 
14302
 
rm -f conf$$ conf$$.exe conf$$.file
14303
 
if test -d conf$$.dir; then
14304
 
  rm -f conf$$.dir/conf$$.file
14305
 
else
14306
 
  rm -f conf$$.dir
14307
 
  mkdir conf$$.dir 2>/dev/null
14308
 
fi
14309
 
if (echo >conf$$.file) 2>/dev/null; then
14310
 
  if ln -s conf$$.file conf$$ 2>/dev/null; then
14311
 
    as_ln_s='ln -s'
14312
 
    # ... but there are two gotchas:
14313
 
    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
14314
 
    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
14315
 
    # In both cases, we have to default to `cp -p'.
14316
 
    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
14317
 
      as_ln_s='cp -p'
14318
 
  elif ln conf$$.file conf$$ 2>/dev/null; then
14319
 
    as_ln_s=ln
14320
 
  else
14321
 
    as_ln_s='cp -p'
14322
 
  fi
14323
 
else
14324
 
  as_ln_s='cp -p'
14325
 
fi
14326
 
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
14327
 
rmdir conf$$.dir 2>/dev/null
14328
 
 
14329
 
 
14330
 
@%:@ as_fn_mkdir_p
14331
 
@%:@ -------------
14332
 
@%:@ Create "@S|@as_dir" as a directory, including parents if necessary.
14333
 
as_fn_mkdir_p ()
14334
 
{
14335
 
 
14336
 
  case $as_dir in #(
14337
 
  -*) as_dir=./$as_dir;;
14338
 
  esac
14339
 
  test -d "$as_dir" || eval $as_mkdir_p || {
14340
 
    as_dirs=
14341
 
    while :; do
14342
 
      case $as_dir in #(
14343
 
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
14344
 
      *) as_qdir=$as_dir;;
14345
 
      esac
14346
 
      as_dirs="'$as_qdir' $as_dirs"
14347
 
      as_dir=`$as_dirname -- "$as_dir" ||
14348
 
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14349
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
14350
 
         X"$as_dir" : 'X\(//\)$' \| \
14351
 
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
14352
 
$as_echo X"$as_dir" |
14353
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14354
 
            s//\1/
14355
 
            q
14356
 
          }
14357
 
          /^X\(\/\/\)[^/].*/{
14358
 
            s//\1/
14359
 
            q
14360
 
          }
14361
 
          /^X\(\/\/\)$/{
14362
 
            s//\1/
14363
 
            q
14364
 
          }
14365
 
          /^X\(\/\).*/{
14366
 
            s//\1/
14367
 
            q
14368
 
          }
14369
 
          s/.*/./; q'`
14370
 
      test -d "$as_dir" && break
14371
 
    done
14372
 
    test -z "$as_dirs" || eval "mkdir $as_dirs"
14373
 
  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
14374
 
 
14375
 
 
14376
 
} @%:@ as_fn_mkdir_p
14377
 
if mkdir -p . 2>/dev/null; then
14378
 
  as_mkdir_p='mkdir -p "$as_dir"'
14379
 
else
14380
 
  test -d ./-p && rmdir ./-p
14381
 
  as_mkdir_p=false
14382
 
fi
14383
 
 
14384
 
if test -x / >/dev/null 2>&1; then
14385
 
  as_test_x='test -x'
14386
 
else
14387
 
  if ls -dL / >/dev/null 2>&1; then
14388
 
    as_ls_L_option=L
14389
 
  else
14390
 
    as_ls_L_option=
14391
 
  fi
14392
 
  as_test_x='
14393
 
    eval sh -c '\''
14394
 
      if test -d "$1"; then
14395
 
        test -d "$1/.";
14396
 
      else
14397
 
        case $1 in @%:@(
14398
 
        -*)set "./$1";;
14399
 
        esac;
14400
 
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in @%:@((
14401
 
        ???[sx]*):;;*)false;;esac;fi
14402
 
    '\'' sh
14403
 
  '
14404
 
fi
14405
 
as_executable_p=$as_test_x
14406
 
 
14407
 
# Sed expression to map a string onto a valid CPP name.
14408
 
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
14409
 
 
14410
 
# Sed expression to map a string onto a valid variable name.
14411
 
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
14412
 
 
14413
 
 
14414
 
exec 6>&1
14415
 
## ----------------------------------- ##
14416
 
## Main body of $CONFIG_STATUS script. ##
14417
 
## ----------------------------------- ##
14418
 
_ASEOF
14419
 
test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
14420
 
 
14421
 
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14422
 
# Save the log message, to keep $0 and so on meaningful, and to
14423
 
# report actual input values of CONFIG_FILES etc. instead of their
14424
 
# values after options handling.
14425
 
ac_log="
14426
 
This file was extended by trousers $as_me 0.3.10, which was
14427
 
generated by GNU Autoconf 2.68.  Invocation command line was
14428
 
 
14429
 
  CONFIG_FILES    = $CONFIG_FILES
14430
 
  CONFIG_HEADERS  = $CONFIG_HEADERS
14431
 
  CONFIG_LINKS    = $CONFIG_LINKS
14432
 
  CONFIG_COMMANDS = $CONFIG_COMMANDS
14433
 
  $ $0 $@
14434
 
 
14435
 
on `(hostname || uname -n) 2>/dev/null | sed 1q`
14436
 
"
14437
 
 
14438
 
_ACEOF
14439
 
 
14440
 
case $ac_config_files in *"
14441
 
"*) set x $ac_config_files; shift; ac_config_files=$*;;
14442
 
esac
14443
 
 
14444
 
 
14445
 
 
14446
 
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14447
 
# Files that config.status was made for.
14448
 
config_files="$ac_config_files"
14449
 
config_commands="$ac_config_commands"
14450
 
 
14451
 
_ACEOF
14452
 
 
14453
 
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14454
 
ac_cs_usage="\
14455
 
\`$as_me' instantiates files and other configuration actions
14456
 
from templates according to the current configuration.  Unless the files
14457
 
and actions are specified as TAGs, all are instantiated by default.
14458
 
 
14459
 
Usage: $0 [OPTION]... [TAG]...
14460
 
 
14461
 
  -h, --help       print this help, then exit
14462
 
  -V, --version    print version number and configuration settings, then exit
14463
 
      --config     print configuration, then exit
14464
 
  -q, --quiet, --silent
14465
 
                   do not print progress messages
14466
 
  -d, --debug      don't remove temporary files
14467
 
      --recheck    update $as_me by reconfiguring in the same conditions
14468
 
      --file=FILE[:TEMPLATE] 
14469
 
                   instantiate the configuration file FILE
14470
 
 
14471
 
Configuration files:
14472
 
$config_files
14473
 
 
14474
 
Configuration commands:
14475
 
$config_commands
14476
 
 
14477
 
Report bugs to <trousers-tech@lists.sf.net>."
14478
 
 
14479
 
_ACEOF
14480
 
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14481
 
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
14482
 
ac_cs_version="\\
14483
 
trousers config.status 0.3.10
14484
 
configured by $0, generated by GNU Autoconf 2.68,
14485
 
  with options \\"\$ac_cs_config\\"
14486
 
 
14487
 
Copyright (C) 2010 Free Software Foundation, Inc.
14488
 
This config.status script is free software; the Free Software Foundation
14489
 
gives unlimited permission to copy, distribute and modify it."
14490
 
 
14491
 
ac_pwd='$ac_pwd'
14492
 
srcdir='$srcdir'
14493
 
INSTALL='$INSTALL'
14494
 
MKDIR_P='$MKDIR_P'
14495
 
AWK='$AWK'
14496
 
test -n "\$AWK" || AWK=awk
14497
 
_ACEOF
14498
 
 
14499
 
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14500
 
# The default lists apply if the user does not specify any file.
14501
 
ac_need_defaults=:
14502
 
while test $# != 0
14503
 
do
14504
 
  case $1 in
14505
 
  --*=?*)
14506
 
    ac_option=`expr "X$1" : 'X\([^=]*\)='`
14507
 
    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
14508
 
    ac_shift=:
14509
 
    ;;
14510
 
  --*=)
14511
 
    ac_option=`expr "X$1" : 'X\([^=]*\)='`
14512
 
    ac_optarg=
14513
 
    ac_shift=:
14514
 
    ;;
14515
 
  *)
14516
 
    ac_option=$1
14517
 
    ac_optarg=$2
14518
 
    ac_shift=shift
14519
 
    ;;
14520
 
  esac
14521
 
 
14522
 
  case $ac_option in
14523
 
  # Handling of the options.
14524
 
  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
14525
 
    ac_cs_recheck=: ;;
14526
 
  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
14527
 
    $as_echo "$ac_cs_version"; exit ;;
14528
 
  --config | --confi | --conf | --con | --co | --c )
14529
 
    $as_echo "$ac_cs_config"; exit ;;
14530
 
  --debug | --debu | --deb | --de | --d | -d )
14531
 
    debug=: ;;
14532
 
  --file | --fil | --fi | --f )
14533
 
    $ac_shift
14534
 
    case $ac_optarg in
14535
 
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
14536
 
    '') as_fn_error $? "missing file argument" ;;
14537
 
    esac
14538
 
    as_fn_append CONFIG_FILES " '$ac_optarg'"
14539
 
    ac_need_defaults=false;;
14540
 
  --he | --h |  --help | --hel | -h )
14541
 
    $as_echo "$ac_cs_usage"; exit ;;
14542
 
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
14543
 
  | -silent | --silent | --silen | --sile | --sil | --si | --s)
14544
 
    ac_cs_silent=: ;;
14545
 
 
14546
 
  # This is an error.
14547
 
  -*) as_fn_error $? "unrecognized option: \`$1'
14548
 
Try \`$0 --help' for more information." ;;
14549
 
 
14550
 
  *) as_fn_append ac_config_targets " $1"
14551
 
     ac_need_defaults=false ;;
14552
 
 
14553
 
  esac
14554
 
  shift
14555
 
done
14556
 
 
14557
 
ac_configure_extra_args=
14558
 
 
14559
 
if $ac_cs_silent; then
14560
 
  exec 6>/dev/null
14561
 
  ac_configure_extra_args="$ac_configure_extra_args --silent"
14562
 
fi
14563
 
 
14564
 
_ACEOF
14565
 
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14566
 
if \$ac_cs_recheck; then
14567
 
  set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
14568
 
  shift
14569
 
  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
14570
 
  CONFIG_SHELL='$SHELL'
14571
 
  export CONFIG_SHELL
14572
 
  exec "\$@"
14573
 
fi
14574
 
 
14575
 
_ACEOF
14576
 
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14577
 
exec 5>>config.log
14578
 
{
14579
 
  echo
14580
 
  sed 'h;s/./-/g;s/^.../@%:@@%:@ /;s/...$/ @%:@@%:@/;p;x;p;x' <<_ASBOX
14581
 
@%:@@%:@ Running $as_me. @%:@@%:@
14582
 
_ASBOX
14583
 
  $as_echo "$ac_log"
14584
 
} >&5
14585
 
 
14586
 
_ACEOF
14587
 
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14588
 
#
14589
 
# INIT-COMMANDS
14590
 
#
14591
 
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
14592
 
 
14593
 
 
14594
 
# The HP-UX ksh and POSIX shell print the target directory to stdout
14595
 
# if CDPATH is set.
14596
 
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
14597
 
 
14598
 
sed_quote_subst='$sed_quote_subst'
14599
 
double_quote_subst='$double_quote_subst'
14600
 
delay_variable_subst='$delay_variable_subst'
14601
 
enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
14602
 
macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
14603
 
macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
14604
 
enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
14605
 
pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
14606
 
enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
14607
 
SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
14608
 
ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
14609
 
PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
14610
 
host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
14611
 
host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
14612
 
host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
14613
 
build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
14614
 
build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
14615
 
build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
14616
 
SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
14617
 
Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
14618
 
GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
14619
 
EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
14620
 
FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
14621
 
LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
14622
 
NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
14623
 
LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
14624
 
max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
14625
 
ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
14626
 
exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
14627
 
lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
14628
 
lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
14629
 
lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
14630
 
lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
14631
 
lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
14632
 
reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
14633
 
reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
14634
 
OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
14635
 
deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
14636
 
file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
14637
 
file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
14638
 
want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
14639
 
DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
14640
 
sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
14641
 
AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
14642
 
AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
14643
 
archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
14644
 
STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
14645
 
RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
14646
 
old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
14647
 
old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
14648
 
old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
14649
 
lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
14650
 
CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
14651
 
CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
14652
 
compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
14653
 
GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
14654
 
lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
14655
 
lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
14656
 
lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
14657
 
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`'
14658
 
nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
14659
 
lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
14660
 
objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
14661
 
MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
14662
 
lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
14663
 
lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
14664
 
lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
14665
 
lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
14666
 
lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
14667
 
need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
14668
 
MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
14669
 
DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
14670
 
NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
14671
 
LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
14672
 
OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
14673
 
OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
14674
 
libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
14675
 
shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
14676
 
extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
14677
 
archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
14678
 
enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
14679
 
export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
14680
 
whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
14681
 
compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
14682
 
old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
14683
 
old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
14684
 
archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
14685
 
archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
14686
 
module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
14687
 
module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
14688
 
with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
14689
 
allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
14690
 
no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
14691
 
hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
14692
 
hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
14693
 
hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
14694
 
hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
14695
 
hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
14696
 
hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
14697
 
hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
14698
 
inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
14699
 
link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
14700
 
always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
14701
 
export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
14702
 
exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
14703
 
include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
14704
 
prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
14705
 
postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
14706
 
file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
14707
 
variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
14708
 
need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
14709
 
need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
14710
 
version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
14711
 
runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
14712
 
shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
14713
 
shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
14714
 
libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
14715
 
library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
14716
 
soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
14717
 
install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
14718
 
postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
14719
 
postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
14720
 
finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
14721
 
finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
14722
 
hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
14723
 
sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
14724
 
sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
14725
 
hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
14726
 
enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
14727
 
enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
14728
 
enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
14729
 
old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
14730
 
striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
14731
 
 
14732
 
LTCC='$LTCC'
14733
 
LTCFLAGS='$LTCFLAGS'
14734
 
compiler='$compiler_DEFAULT'
14735
 
 
14736
 
# A function that is used when there is no print builtin or printf.
14737
 
func_fallback_echo ()
14738
 
{
14739
 
  eval 'cat <<_LTECHO_EOF
14740
 
\$1
14741
 
_LTECHO_EOF'
14742
 
}
14743
 
 
14744
 
# Quote evaled strings.
14745
 
for var in SHELL \
14746
 
ECHO \
14747
 
PATH_SEPARATOR \
14748
 
SED \
14749
 
GREP \
14750
 
EGREP \
14751
 
FGREP \
14752
 
LD \
14753
 
NM \
14754
 
LN_S \
14755
 
lt_SP2NL \
14756
 
lt_NL2SP \
14757
 
reload_flag \
14758
 
OBJDUMP \
14759
 
deplibs_check_method \
14760
 
file_magic_cmd \
14761
 
file_magic_glob \
14762
 
want_nocaseglob \
14763
 
DLLTOOL \
14764
 
sharedlib_from_linklib_cmd \
14765
 
AR \
14766
 
AR_FLAGS \
14767
 
archiver_list_spec \
14768
 
STRIP \
14769
 
RANLIB \
14770
 
CC \
14771
 
CFLAGS \
14772
 
compiler \
14773
 
lt_cv_sys_global_symbol_pipe \
14774
 
lt_cv_sys_global_symbol_to_cdecl \
14775
 
lt_cv_sys_global_symbol_to_c_name_address \
14776
 
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
14777
 
nm_file_list_spec \
14778
 
lt_prog_compiler_no_builtin_flag \
14779
 
lt_prog_compiler_pic \
14780
 
lt_prog_compiler_wl \
14781
 
lt_prog_compiler_static \
14782
 
lt_cv_prog_compiler_c_o \
14783
 
need_locks \
14784
 
MANIFEST_TOOL \
14785
 
DSYMUTIL \
14786
 
NMEDIT \
14787
 
LIPO \
14788
 
OTOOL \
14789
 
OTOOL64 \
14790
 
shrext_cmds \
14791
 
export_dynamic_flag_spec \
14792
 
whole_archive_flag_spec \
14793
 
compiler_needs_object \
14794
 
with_gnu_ld \
14795
 
allow_undefined_flag \
14796
 
no_undefined_flag \
14797
 
hardcode_libdir_flag_spec \
14798
 
hardcode_libdir_separator \
14799
 
exclude_expsyms \
14800
 
include_expsyms \
14801
 
file_list_spec \
14802
 
variables_saved_for_relink \
14803
 
libname_spec \
14804
 
library_names_spec \
14805
 
soname_spec \
14806
 
install_override_mode \
14807
 
finish_eval \
14808
 
old_striplib \
14809
 
striplib; do
14810
 
    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
14811
 
    *[\\\\\\\`\\"\\\$]*)
14812
 
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
14813
 
      ;;
14814
 
    *)
14815
 
      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
14816
 
      ;;
14817
 
    esac
14818
 
done
14819
 
 
14820
 
# Double-quote double-evaled strings.
14821
 
for var in reload_cmds \
14822
 
old_postinstall_cmds \
14823
 
old_postuninstall_cmds \
14824
 
old_archive_cmds \
14825
 
extract_expsyms_cmds \
14826
 
old_archive_from_new_cmds \
14827
 
old_archive_from_expsyms_cmds \
14828
 
archive_cmds \
14829
 
archive_expsym_cmds \
14830
 
module_cmds \
14831
 
module_expsym_cmds \
14832
 
export_symbols_cmds \
14833
 
prelink_cmds \
14834
 
postlink_cmds \
14835
 
postinstall_cmds \
14836
 
postuninstall_cmds \
14837
 
finish_cmds \
14838
 
sys_lib_search_path_spec \
14839
 
sys_lib_dlsearch_path_spec; do
14840
 
    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
14841
 
    *[\\\\\\\`\\"\\\$]*)
14842
 
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
14843
 
      ;;
14844
 
    *)
14845
 
      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
14846
 
      ;;
14847
 
    esac
14848
 
done
14849
 
 
14850
 
ac_aux_dir='$ac_aux_dir'
14851
 
xsi_shell='$xsi_shell'
14852
 
lt_shell_append='$lt_shell_append'
14853
 
 
14854
 
# See if we are running on zsh, and set the options which allow our
14855
 
# commands through without removal of \ escapes INIT.
14856
 
if test -n "\${ZSH_VERSION+set}" ; then
14857
 
   setopt NO_GLOB_SUBST
14858
 
fi
14859
 
 
14860
 
 
14861
 
    PACKAGE='$PACKAGE'
14862
 
    VERSION='$VERSION'
14863
 
    TIMESTAMP='$TIMESTAMP'
14864
 
    RM='$RM'
14865
 
    ofile='$ofile'
14866
 
 
14867
 
 
14868
 
 
14869
 
 
14870
 
_ACEOF
14871
 
 
14872
 
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14873
 
 
14874
 
# Handling of arguments.
14875
 
for ac_config_target in $ac_config_targets
14876
 
do
14877
 
  case $ac_config_target in
14878
 
    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
14879
 
    "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
14880
 
    "dist/tcsd.conf") CONFIG_FILES="$CONFIG_FILES dist/tcsd.conf" ;;
14881
 
    "dist/fedora/trousers.spec") CONFIG_FILES="$CONFIG_FILES dist/fedora/trousers.spec" ;;
14882
 
    "dist/trousers.spec") CONFIG_FILES="$CONFIG_FILES dist/trousers.spec" ;;
14883
 
    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
14884
 
    "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
14885
 
    "src/include/Makefile") CONFIG_FILES="$CONFIG_FILES src/include/Makefile" ;;
14886
 
    "src/tcs/Makefile") CONFIG_FILES="$CONFIG_FILES src/tcs/Makefile" ;;
14887
 
    "src/tddl/Makefile") CONFIG_FILES="$CONFIG_FILES src/tddl/Makefile" ;;
14888
 
    "src/tspi/Makefile") CONFIG_FILES="$CONFIG_FILES src/tspi/Makefile" ;;
14889
 
    "src/trspi/Makefile") CONFIG_FILES="$CONFIG_FILES src/trspi/Makefile" ;;
14890
 
    "src/tcsd/Makefile") CONFIG_FILES="$CONFIG_FILES src/tcsd/Makefile" ;;
14891
 
    "tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
14892
 
    "man/man8/tcsd.8") CONFIG_FILES="$CONFIG_FILES man/man8/tcsd.8" ;;
14893
 
    "man/man5/tcsd.conf.5") CONFIG_FILES="$CONFIG_FILES man/man5/tcsd.conf.5" ;;
14894
 
    "dist/Makefile") CONFIG_FILES="$CONFIG_FILES dist/Makefile" ;;
14895
 
    "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
14896
 
    "man/man3/Makefile") CONFIG_FILES="$CONFIG_FILES man/man3/Makefile" ;;
14897
 
    "man/man5/Makefile") CONFIG_FILES="$CONFIG_FILES man/man5/Makefile" ;;
14898
 
    "man/man8/Makefile") CONFIG_FILES="$CONFIG_FILES man/man8/Makefile" ;;
14899
 
 
14900
 
  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
14901
 
  esac
14902
 
done
14903
 
 
14904
 
 
14905
 
# If the user did not use the arguments to specify the items to instantiate,
14906
 
# then the envvar interface is used.  Set only those that are not.
14907
 
# We use the long form for the default assignment because of an extremely
14908
 
# bizarre bug on SunOS 4.1.3.
14909
 
if $ac_need_defaults; then
14910
 
  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
14911
 
  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
14912
 
fi
14913
 
 
14914
 
# Have a temporary directory for convenience.  Make it in the build tree
14915
 
# simply because there is no reason against having it here, and in addition,
14916
 
# creating and moving files from /tmp can sometimes cause problems.
14917
 
# Hook for its removal unless debugging.
14918
 
# Note that there is a small window in which the directory will not be cleaned:
14919
 
# after its creation but before its name has been assigned to `$tmp'.
14920
 
$debug ||
14921
 
{
14922
 
  tmp= ac_tmp=
14923
 
  trap 'exit_status=$?
14924
 
  : "${ac_tmp:=$tmp}"
14925
 
  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
14926
 
' 0
14927
 
  trap 'as_fn_exit 1' 1 2 13 15
14928
 
}
14929
 
# Create a (secure) tmp directory for tmp files.
14930
 
 
14931
 
{
14932
 
  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
14933
 
  test -d "$tmp"
14934
 
}  ||
14935
 
{
14936
 
  tmp=./conf$$-$RANDOM
14937
 
  (umask 077 && mkdir "$tmp")
14938
 
} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
14939
 
ac_tmp=$tmp
14940
 
 
14941
 
# Set up the scripts for CONFIG_FILES section.
14942
 
# No need to generate them if there are no CONFIG_FILES.
14943
 
# This happens for instance with `./config.status config.h'.
14944
 
if test -n "$CONFIG_FILES"; then
14945
 
 
14946
 
 
14947
 
ac_cr=`echo X | tr X '\015'`
14948
 
# On cygwin, bash can eat \r inside `` if the user requested igncr.
14949
 
# But we know of no other shell where ac_cr would be empty at this
14950
 
# point, so we can use a bashism as a fallback.
14951
 
if test "x$ac_cr" = x; then
14952
 
  eval ac_cr=\$\'\\r\'
14953
 
fi
14954
 
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
14955
 
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
14956
 
  ac_cs_awk_cr='\\r'
14957
 
else
14958
 
  ac_cs_awk_cr=$ac_cr
14959
 
fi
14960
 
 
14961
 
echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
14962
 
_ACEOF
14963
 
 
14964
 
 
14965
 
{
14966
 
  echo "cat >conf$$subs.awk <<_ACEOF" &&
14967
 
  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
14968
 
  echo "_ACEOF"
14969
 
} >conf$$subs.sh ||
14970
 
  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
14971
 
ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
14972
 
ac_delim='%!_!# '
14973
 
for ac_last_try in false false false false false :; do
14974
 
  . ./conf$$subs.sh ||
14975
 
    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
14976
 
 
14977
 
  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
14978
 
  if test $ac_delim_n = $ac_delim_num; then
14979
 
    break
14980
 
  elif $ac_last_try; then
14981
 
    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
14982
 
  else
14983
 
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
14984
 
  fi
14985
 
done
14986
 
rm -f conf$$subs.sh
14987
 
 
14988
 
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14989
 
cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
14990
 
_ACEOF
14991
 
sed -n '
14992
 
h
14993
 
s/^/S["/; s/!.*/"]=/
14994
 
p
14995
 
g
14996
 
s/^[^!]*!//
14997
 
:repl
14998
 
t repl
14999
 
s/'"$ac_delim"'$//
15000
 
t delim
15001
 
:nl
15002
 
h
15003
 
s/\(.\{148\}\)..*/\1/
15004
 
t more1
15005
 
s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
15006
 
p
15007
 
n
15008
 
b repl
15009
 
:more1
15010
 
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
15011
 
p
15012
 
g
15013
 
s/.\{148\}//
15014
 
t nl
15015
 
:delim
15016
 
h
15017
 
s/\(.\{148\}\)..*/\1/
15018
 
t more2
15019
 
s/["\\]/\\&/g; s/^/"/; s/$/"/
15020
 
p
15021
 
b
15022
 
:more2
15023
 
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
15024
 
p
15025
 
g
15026
 
s/.\{148\}//
15027
 
t delim
15028
 
' <conf$$subs.awk | sed '
15029
 
/^[^""]/{
15030
 
  N
15031
 
  s/\n//
15032
 
}
15033
 
' >>$CONFIG_STATUS || ac_write_fail=1
15034
 
rm -f conf$$subs.awk
15035
 
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15036
 
_ACAWK
15037
 
cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
15038
 
  for (key in S) S_is_set[key] = 1
15039
 
  FS = ""
15040
 
 
15041
 
}
15042
 
{
15043
 
  line = $ 0
15044
 
  nfields = split(line, field, "@")
15045
 
  substed = 0
15046
 
  len = length(field[1])
15047
 
  for (i = 2; i < nfields; i++) {
15048
 
    key = field[i]
15049
 
    keylen = length(key)
15050
 
    if (S_is_set[key]) {
15051
 
      value = S[key]
15052
 
      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
15053
 
      len += length(value) + length(field[++i])
15054
 
      substed = 1
15055
 
    } else
15056
 
      len += 1 + keylen
15057
 
  }
15058
 
 
15059
 
  print line
15060
 
}
15061
 
 
15062
 
_ACAWK
15063
 
_ACEOF
15064
 
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15065
 
if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
15066
 
  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
15067
 
else
15068
 
  cat
15069
 
fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
15070
 
  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
15071
 
_ACEOF
15072
 
 
15073
 
# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
15074
 
# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
15075
 
# trailing colons and then remove the whole line if VPATH becomes empty
15076
 
# (actually we leave an empty line to preserve line numbers).
15077
 
if test "x$srcdir" = x.; then
15078
 
  ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
15079
 
h
15080
 
s///
15081
 
s/^/:/
15082
 
s/[      ]*$/:/
15083
 
s/:\$(srcdir):/:/g
15084
 
s/:\${srcdir}:/:/g
15085
 
s/:@srcdir@:/:/g
15086
 
s/^:*//
15087
 
s/:*$//
15088
 
x
15089
 
s/\(=[   ]*\).*/\1/
15090
 
G
15091
 
s/\n//
15092
 
s/^[^=]*=[       ]*$//
15093
 
}'
15094
 
fi
15095
 
 
15096
 
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15097
 
fi # test -n "$CONFIG_FILES"
15098
 
 
15099
 
 
15100
 
eval set X "  :F $CONFIG_FILES      :C $CONFIG_COMMANDS"
15101
 
shift
15102
 
for ac_tag
15103
 
do
15104
 
  case $ac_tag in
15105
 
  :[FHLC]) ac_mode=$ac_tag; continue;;
15106
 
  esac
15107
 
  case $ac_mode$ac_tag in
15108
 
  :[FHL]*:*);;
15109
 
  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
15110
 
  :[FH]-) ac_tag=-:-;;
15111
 
  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
15112
 
  esac
15113
 
  ac_save_IFS=$IFS
15114
 
  IFS=:
15115
 
  set x $ac_tag
15116
 
  IFS=$ac_save_IFS
15117
 
  shift
15118
 
  ac_file=$1
15119
 
  shift
15120
 
 
15121
 
  case $ac_mode in
15122
 
  :L) ac_source=$1;;
15123
 
  :[FH])
15124
 
    ac_file_inputs=
15125
 
    for ac_f
15126
 
    do
15127
 
      case $ac_f in
15128
 
      -) ac_f="$ac_tmp/stdin";;
15129
 
      *) # Look for the file first in the build tree, then in the source tree
15130
 
         # (if the path is not absolute).  The absolute path cannot be DOS-style,
15131
 
         # because $ac_f cannot contain `:'.
15132
 
         test -f "$ac_f" ||
15133
 
           case $ac_f in
15134
 
           [\\/$]*) false;;
15135
 
           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
15136
 
           esac ||
15137
 
           as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
15138
 
      esac
15139
 
      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
15140
 
      as_fn_append ac_file_inputs " '$ac_f'"
15141
 
    done
15142
 
 
15143
 
    # Let's still pretend it is `configure' which instantiates (i.e., don't
15144
 
    # use $as_me), people would be surprised to read:
15145
 
    #    /* config.h.  Generated by config.status.  */
15146
 
    configure_input='Generated from '`
15147
 
          $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
15148
 
        `' by configure.'
15149
 
    if test x"$ac_file" != x-; then
15150
 
      configure_input="$ac_file.  $configure_input"
15151
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
15152
 
$as_echo "$as_me: creating $ac_file" >&6;}
15153
 
    fi
15154
 
    # Neutralize special characters interpreted by sed in replacement strings.
15155
 
    case $configure_input in #(
15156
 
    *\&* | *\|* | *\\* )
15157
 
       ac_sed_conf_input=`$as_echo "$configure_input" |
15158
 
       sed 's/[\\\\&|]/\\\\&/g'`;; #(
15159
 
    *) ac_sed_conf_input=$configure_input;;
15160
 
    esac
15161
 
 
15162
 
    case $ac_tag in
15163
 
    *:-:* | *:-) cat >"$ac_tmp/stdin" \
15164
 
      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
15165
 
    esac
15166
 
    ;;
15167
 
  esac
15168
 
 
15169
 
  ac_dir=`$as_dirname -- "$ac_file" ||
15170
 
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15171
 
         X"$ac_file" : 'X\(//\)[^/]' \| \
15172
 
         X"$ac_file" : 'X\(//\)$' \| \
15173
 
         X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
15174
 
$as_echo X"$ac_file" |
15175
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15176
 
            s//\1/
15177
 
            q
15178
 
          }
15179
 
          /^X\(\/\/\)[^/].*/{
15180
 
            s//\1/
15181
 
            q
15182
 
          }
15183
 
          /^X\(\/\/\)$/{
15184
 
            s//\1/
15185
 
            q
15186
 
          }
15187
 
          /^X\(\/\).*/{
15188
 
            s//\1/
15189
 
            q
15190
 
          }
15191
 
          s/.*/./; q'`
15192
 
  as_dir="$ac_dir"; as_fn_mkdir_p
15193
 
  ac_builddir=.
15194
 
 
15195
 
case "$ac_dir" in
15196
 
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
15197
 
*)
15198
 
  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
15199
 
  # A ".." for each directory in $ac_dir_suffix.
15200
 
  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
15201
 
  case $ac_top_builddir_sub in
15202
 
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
15203
 
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
15204
 
  esac ;;
15205
 
esac
15206
 
ac_abs_top_builddir=$ac_pwd
15207
 
ac_abs_builddir=$ac_pwd$ac_dir_suffix
15208
 
# for backward compatibility:
15209
 
ac_top_builddir=$ac_top_build_prefix
15210
 
 
15211
 
case $srcdir in
15212
 
  .)  # We are building in place.
15213
 
    ac_srcdir=.
15214
 
    ac_top_srcdir=$ac_top_builddir_sub
15215
 
    ac_abs_top_srcdir=$ac_pwd ;;
15216
 
  [\\/]* | ?:[\\/]* )  # Absolute name.
15217
 
    ac_srcdir=$srcdir$ac_dir_suffix;
15218
 
    ac_top_srcdir=$srcdir
15219
 
    ac_abs_top_srcdir=$srcdir ;;
15220
 
  *) # Relative name.
15221
 
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
15222
 
    ac_top_srcdir=$ac_top_build_prefix$srcdir
15223
 
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
15224
 
esac
15225
 
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
15226
 
 
15227
 
 
15228
 
  case $ac_mode in
15229
 
  :F)
15230
 
  #
15231
 
  # CONFIG_FILE
15232
 
  #
15233
 
 
15234
 
  case $INSTALL in
15235
 
  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
15236
 
  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
15237
 
  esac
15238
 
  ac_MKDIR_P=$MKDIR_P
15239
 
  case $MKDIR_P in
15240
 
  [\\/$]* | ?:[\\/]* ) ;;
15241
 
  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
15242
 
  esac
15243
 
_ACEOF
15244
 
 
15245
 
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15246
 
# If the template does not know about datarootdir, expand it.
15247
 
# FIXME: This hack should be removed a few years after 2.60.
15248
 
ac_datarootdir_hack=; ac_datarootdir_seen=
15249
 
ac_sed_dataroot='
15250
 
/datarootdir/ {
15251
 
  p
15252
 
  q
15253
 
}
15254
 
/@datadir@/p
15255
 
/@docdir@/p
15256
 
/@infodir@/p
15257
 
/@localedir@/p
15258
 
/@mandir@/p'
15259
 
case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
15260
 
*datarootdir*) ac_datarootdir_seen=yes;;
15261
 
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
15262
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
15263
 
$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
15264
 
_ACEOF
15265
 
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15266
 
  ac_datarootdir_hack='
15267
 
  s&@datadir@&$datadir&g
15268
 
  s&@docdir@&$docdir&g
15269
 
  s&@infodir@&$infodir&g
15270
 
  s&@localedir@&$localedir&g
15271
 
  s&@mandir@&$mandir&g
15272
 
  s&\\\${datarootdir}&$datarootdir&g' ;;
15273
 
esac
15274
 
_ACEOF
15275
 
 
15276
 
# Neutralize VPATH when `$srcdir' = `.'.
15277
 
# Shell code in configure.ac might set extrasub.
15278
 
# FIXME: do we really want to maintain this feature?
15279
 
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15280
 
ac_sed_extra="$ac_vpsub
15281
 
$extrasub
15282
 
_ACEOF
15283
 
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15284
 
:t
15285
 
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
15286
 
s|@configure_input@|$ac_sed_conf_input|;t t
15287
 
s&@top_builddir@&$ac_top_builddir_sub&;t t
15288
 
s&@top_build_prefix@&$ac_top_build_prefix&;t t
15289
 
s&@srcdir@&$ac_srcdir&;t t
15290
 
s&@abs_srcdir@&$ac_abs_srcdir&;t t
15291
 
s&@top_srcdir@&$ac_top_srcdir&;t t
15292
 
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
15293
 
s&@builddir@&$ac_builddir&;t t
15294
 
s&@abs_builddir@&$ac_abs_builddir&;t t
15295
 
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
15296
 
s&@INSTALL@&$ac_INSTALL&;t t
15297
 
s&@MKDIR_P@&$ac_MKDIR_P&;t t
15298
 
$ac_datarootdir_hack
15299
 
"
15300
 
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
15301
 
  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15302
 
 
15303
 
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
15304
 
  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
15305
 
  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
15306
 
      "$ac_tmp/out"`; test -z "$ac_out"; } &&
15307
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
15308
 
which seems to be undefined.  Please make sure it is defined" >&5
15309
 
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
15310
 
which seems to be undefined.  Please make sure it is defined" >&2;}
15311
 
 
15312
 
  rm -f "$ac_tmp/stdin"
15313
 
  case $ac_file in
15314
 
  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
15315
 
  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
15316
 
  esac \
15317
 
  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15318
 
 ;;
15319
 
  
15320
 
  
15321
 
  :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
15322
 
$as_echo "$as_me: executing $ac_file commands" >&6;}
15323
 
 ;;
15324
 
  esac
15325
 
 
15326
 
 
15327
 
  case $ac_file$ac_mode in
15328
 
    "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
15329
 
  # Autoconf 2.62 quotes --file arguments for eval, but not when files
15330
 
  # are listed without --file.  Let's play safe and only enable the eval
15331
 
  # if we detect the quoting.
15332
 
  case $CONFIG_FILES in
15333
 
  *\'*) eval set x "$CONFIG_FILES" ;;
15334
 
  *)   set x $CONFIG_FILES ;;
15335
 
  esac
15336
 
  shift
15337
 
  for mf
15338
 
  do
15339
 
    # Strip MF so we end up with the name of the file.
15340
 
    mf=`echo "$mf" | sed -e 's/:.*$//'`
15341
 
    # Check whether this is an Automake generated Makefile or not.
15342
 
    # We used to match only the files named `Makefile.in', but
15343
 
    # some people rename them; so instead we look at the file content.
15344
 
    # Grep'ing the first line is not enough: some people post-process
15345
 
    # each Makefile.in and add a new line on top of each file to say so.
15346
 
    # Grep'ing the whole file is not good either: AIX grep has a line
15347
 
    # limit of 2048, but all sed's we know have understand at least 4000.
15348
 
    if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
15349
 
      dirpart=`$as_dirname -- "$mf" ||
15350
 
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15351
 
         X"$mf" : 'X\(//\)[^/]' \| \
15352
 
         X"$mf" : 'X\(//\)$' \| \
15353
 
         X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
15354
 
$as_echo X"$mf" |
15355
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15356
 
            s//\1/
15357
 
            q
15358
 
          }
15359
 
          /^X\(\/\/\)[^/].*/{
15360
 
            s//\1/
15361
 
            q
15362
 
          }
15363
 
          /^X\(\/\/\)$/{
15364
 
            s//\1/
15365
 
            q
15366
 
          }
15367
 
          /^X\(\/\).*/{
15368
 
            s//\1/
15369
 
            q
15370
 
          }
15371
 
          s/.*/./; q'`
15372
 
    else
15373
 
      continue
15374
 
    fi
15375
 
    # Extract the definition of DEPDIR, am__include, and am__quote
15376
 
    # from the Makefile without running `make'.
15377
 
    DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
15378
 
    test -z "$DEPDIR" && continue
15379
 
    am__include=`sed -n 's/^am__include = //p' < "$mf"`
15380
 
    test -z "am__include" && continue
15381
 
    am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
15382
 
    # When using ansi2knr, U may be empty or an underscore; expand it
15383
 
    U=`sed -n 's/^U = //p' < "$mf"`
15384
 
    # Find all dependency output files, they are included files with
15385
 
    # $(DEPDIR) in their names.  We invoke sed twice because it is the
15386
 
    # simplest approach to changing $(DEPDIR) to its actual value in the
15387
 
    # expansion.
15388
 
    for file in `sed -n "
15389
 
      s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
15390
 
         sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
15391
 
      # Make sure the directory exists.
15392
 
      test -f "$dirpart/$file" && continue
15393
 
      fdir=`$as_dirname -- "$file" ||
15394
 
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15395
 
         X"$file" : 'X\(//\)[^/]' \| \
15396
 
         X"$file" : 'X\(//\)$' \| \
15397
 
         X"$file" : 'X\(/\)' \| . 2>/dev/null ||
15398
 
$as_echo X"$file" |
15399
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15400
 
            s//\1/
15401
 
            q
15402
 
          }
15403
 
          /^X\(\/\/\)[^/].*/{
15404
 
            s//\1/
15405
 
            q
15406
 
          }
15407
 
          /^X\(\/\/\)$/{
15408
 
            s//\1/
15409
 
            q
15410
 
          }
15411
 
          /^X\(\/\).*/{
15412
 
            s//\1/
15413
 
            q
15414
 
          }
15415
 
          s/.*/./; q'`
15416
 
      as_dir=$dirpart/$fdir; as_fn_mkdir_p
15417
 
      # echo "creating $dirpart/$file"
15418
 
      echo '# dummy' > "$dirpart/$file"
15419
 
    done
15420
 
  done
15421
 
}
15422
 
 ;;
15423
 
    "libtool":C) 
15424
 
    
15425
 
    # See if we are running on zsh, and set the options which allow our
15426
 
    # commands through without removal of \ escapes.
15427
 
    if test -n "${ZSH_VERSION+set}" ; then
15428
 
      setopt NO_GLOB_SUBST
15429
 
    fi
15430
 
 
15431
 
    cfgfile="${ofile}T"
15432
 
    trap "$RM \"$cfgfile\"; exit 1" 1 2 15
15433
 
    $RM "$cfgfile"
15434
 
 
15435
 
    cat <<_LT_EOF >> "$cfgfile"
15436
 
#! $SHELL
15437
 
 
15438
 
# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
15439
 
# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
15440
 
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
15441
 
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
15442
 
#
15443
 
#   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
15444
 
#                 2006, 2007, 2008, 2009, 2010, 2011 Free Software
15445
 
#                 Foundation, Inc.
15446
 
#   Written by Gordon Matzigkeit, 1996
15447
 
#
15448
 
#   This file is part of GNU Libtool.
15449
 
#
15450
 
# GNU Libtool is free software; you can redistribute it and/or
15451
 
# modify it under the terms of the GNU General Public License as
15452
 
# published by the Free Software Foundation; either version 2 of
15453
 
# the License, or (at your option) any later version.
15454
 
#
15455
 
# As a special exception to the GNU General Public License,
15456
 
# if you distribute this file as part of a program or library that
15457
 
# is built using GNU Libtool, you may include this file under the
15458
 
# same distribution terms that you use for the rest of that program.
15459
 
#
15460
 
# GNU Libtool is distributed in the hope that it will be useful,
15461
 
# but WITHOUT ANY WARRANTY; without even the implied warranty of
15462
 
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15463
 
# GNU General Public License for more details.
15464
 
#
15465
 
# You should have received a copy of the GNU General Public License
15466
 
# along with GNU Libtool; see the file COPYING.  If not, a copy
15467
 
# can be downloaded from http://www.gnu.org/licenses/gpl.html, or
15468
 
# obtained by writing to the Free Software Foundation, Inc.,
15469
 
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
15470
 
 
15471
 
 
15472
 
# The names of the tagged configurations supported by this script.
15473
 
available_tags=""
15474
 
 
15475
 
# ### BEGIN LIBTOOL CONFIG
15476
 
 
15477
 
# Whether or not to build static libraries.
15478
 
build_old_libs=$enable_static
15479
 
 
15480
 
# Which release of libtool.m4 was used?
15481
 
macro_version=$macro_version
15482
 
macro_revision=$macro_revision
15483
 
 
15484
 
# Whether or not to build shared libraries.
15485
 
build_libtool_libs=$enable_shared
15486
 
 
15487
 
# What type of objects to build.
15488
 
pic_mode=$pic_mode
15489
 
 
15490
 
# Whether or not to optimize for fast installation.
15491
 
fast_install=$enable_fast_install
15492
 
 
15493
 
# Shell to use when invoking shell scripts.
15494
 
SHELL=$lt_SHELL
15495
 
 
15496
 
# An echo program that protects backslashes.
15497
 
ECHO=$lt_ECHO
15498
 
 
15499
 
# The PATH separator for the build system.
15500
 
PATH_SEPARATOR=$lt_PATH_SEPARATOR
15501
 
 
15502
 
# The host system.
15503
 
host_alias=$host_alias
15504
 
host=$host
15505
 
host_os=$host_os
15506
 
 
15507
 
# The build system.
15508
 
build_alias=$build_alias
15509
 
build=$build
15510
 
build_os=$build_os
15511
 
 
15512
 
# A sed program that does not truncate output.
15513
 
SED=$lt_SED
15514
 
 
15515
 
# Sed that helps us avoid accidentally triggering echo(1) options like -n.
15516
 
Xsed="\$SED -e 1s/^X//"
15517
 
 
15518
 
# A grep program that handles long lines.
15519
 
GREP=$lt_GREP
15520
 
 
15521
 
# An ERE matcher.
15522
 
EGREP=$lt_EGREP
15523
 
 
15524
 
# A literal string matcher.
15525
 
FGREP=$lt_FGREP
15526
 
 
15527
 
# A BSD- or MS-compatible name lister.
15528
 
NM=$lt_NM
15529
 
 
15530
 
# Whether we need soft or hard links.
15531
 
LN_S=$lt_LN_S
15532
 
 
15533
 
# What is the maximum length of a command?
15534
 
max_cmd_len=$max_cmd_len
15535
 
 
15536
 
# Object file suffix (normally "o").
15537
 
objext=$ac_objext
15538
 
 
15539
 
# Executable file suffix (normally "").
15540
 
exeext=$exeext
15541
 
 
15542
 
# whether the shell understands "unset".
15543
 
lt_unset=$lt_unset
15544
 
 
15545
 
# turn spaces into newlines.
15546
 
SP2NL=$lt_lt_SP2NL
15547
 
 
15548
 
# turn newlines into spaces.
15549
 
NL2SP=$lt_lt_NL2SP
15550
 
 
15551
 
# convert \$build file names to \$host format.
15552
 
to_host_file_cmd=$lt_cv_to_host_file_cmd
15553
 
 
15554
 
# convert \$build files to toolchain format.
15555
 
to_tool_file_cmd=$lt_cv_to_tool_file_cmd
15556
 
 
15557
 
# An object symbol dumper.
15558
 
OBJDUMP=$lt_OBJDUMP
15559
 
 
15560
 
# Method to check whether dependent libraries are shared objects.
15561
 
deplibs_check_method=$lt_deplibs_check_method
15562
 
 
15563
 
# Command to use when deplibs_check_method = "file_magic".
15564
 
file_magic_cmd=$lt_file_magic_cmd
15565
 
 
15566
 
# How to find potential files when deplibs_check_method = "file_magic".
15567
 
file_magic_glob=$lt_file_magic_glob
15568
 
 
15569
 
# Find potential files using nocaseglob when deplibs_check_method = "file_magic".
15570
 
want_nocaseglob=$lt_want_nocaseglob
15571
 
 
15572
 
# DLL creation program.
15573
 
DLLTOOL=$lt_DLLTOOL
15574
 
 
15575
 
# Command to associate shared and link libraries.
15576
 
sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
15577
 
 
15578
 
# The archiver.
15579
 
AR=$lt_AR
15580
 
 
15581
 
# Flags to create an archive.
15582
 
AR_FLAGS=$lt_AR_FLAGS
15583
 
 
15584
 
# How to feed a file listing to the archiver.
15585
 
archiver_list_spec=$lt_archiver_list_spec
15586
 
 
15587
 
# A symbol stripping program.
15588
 
STRIP=$lt_STRIP
15589
 
 
15590
 
# Commands used to install an old-style archive.
15591
 
RANLIB=$lt_RANLIB
15592
 
old_postinstall_cmds=$lt_old_postinstall_cmds
15593
 
old_postuninstall_cmds=$lt_old_postuninstall_cmds
15594
 
 
15595
 
# Whether to use a lock for old archive extraction.
15596
 
lock_old_archive_extraction=$lock_old_archive_extraction
15597
 
 
15598
 
# A C compiler.
15599
 
LTCC=$lt_CC
15600
 
 
15601
 
# LTCC compiler flags.
15602
 
LTCFLAGS=$lt_CFLAGS
15603
 
 
15604
 
# Take the output of nm and produce a listing of raw symbols and C names.
15605
 
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
15606
 
 
15607
 
# Transform the output of nm in a proper C declaration.
15608
 
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
15609
 
 
15610
 
# Transform the output of nm in a C name address pair.
15611
 
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
15612
 
 
15613
 
# Transform the output of nm in a C name address pair when lib prefix is needed.
15614
 
global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
15615
 
 
15616
 
# Specify filename containing input files for \$NM.
15617
 
nm_file_list_spec=$lt_nm_file_list_spec
15618
 
 
15619
 
# The root where to search for dependent libraries,and in which our libraries should be installed.
15620
 
lt_sysroot=$lt_sysroot
15621
 
 
15622
 
# The name of the directory that contains temporary libtool files.
15623
 
objdir=$objdir
15624
 
 
15625
 
# Used to examine libraries when file_magic_cmd begins with "file".
15626
 
MAGIC_CMD=$MAGIC_CMD
15627
 
 
15628
 
# Must we lock files when doing compilation?
15629
 
need_locks=$lt_need_locks
15630
 
 
15631
 
# Manifest tool.
15632
 
MANIFEST_TOOL=$lt_MANIFEST_TOOL
15633
 
 
15634
 
# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
15635
 
DSYMUTIL=$lt_DSYMUTIL
15636
 
 
15637
 
# Tool to change global to local symbols on Mac OS X.
15638
 
NMEDIT=$lt_NMEDIT
15639
 
 
15640
 
# Tool to manipulate fat objects and archives on Mac OS X.
15641
 
LIPO=$lt_LIPO
15642
 
 
15643
 
# ldd/readelf like tool for Mach-O binaries on Mac OS X.
15644
 
OTOOL=$lt_OTOOL
15645
 
 
15646
 
# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
15647
 
OTOOL64=$lt_OTOOL64
15648
 
 
15649
 
# Old archive suffix (normally "a").
15650
 
libext=$libext
15651
 
 
15652
 
# Shared library suffix (normally ".so").
15653
 
shrext_cmds=$lt_shrext_cmds
15654
 
 
15655
 
# The commands to extract the exported symbol list from a shared archive.
15656
 
extract_expsyms_cmds=$lt_extract_expsyms_cmds
15657
 
 
15658
 
# Variables whose values should be saved in libtool wrapper scripts and
15659
 
# restored at link time.
15660
 
variables_saved_for_relink=$lt_variables_saved_for_relink
15661
 
 
15662
 
# Do we need the "lib" prefix for modules?
15663
 
need_lib_prefix=$need_lib_prefix
15664
 
 
15665
 
# Do we need a version for libraries?
15666
 
need_version=$need_version
15667
 
 
15668
 
# Library versioning type.
15669
 
version_type=$version_type
15670
 
 
15671
 
# Shared library runtime path variable.
15672
 
runpath_var=$runpath_var
15673
 
 
15674
 
# Shared library path variable.
15675
 
shlibpath_var=$shlibpath_var
15676
 
 
15677
 
# Is shlibpath searched before the hard-coded library search path?
15678
 
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
15679
 
 
15680
 
# Format of library name prefix.
15681
 
libname_spec=$lt_libname_spec
15682
 
 
15683
 
# List of archive names.  First name is the real one, the rest are links.
15684
 
# The last name is the one that the linker finds with -lNAME
15685
 
library_names_spec=$lt_library_names_spec
15686
 
 
15687
 
# The coded name of the library, if different from the real name.
15688
 
soname_spec=$lt_soname_spec
15689
 
 
15690
 
# Permission mode override for installation of shared libraries.
15691
 
install_override_mode=$lt_install_override_mode
15692
 
 
15693
 
# Command to use after installation of a shared archive.
15694
 
postinstall_cmds=$lt_postinstall_cmds
15695
 
 
15696
 
# Command to use after uninstallation of a shared archive.
15697
 
postuninstall_cmds=$lt_postuninstall_cmds
15698
 
 
15699
 
# Commands used to finish a libtool library installation in a directory.
15700
 
finish_cmds=$lt_finish_cmds
15701
 
 
15702
 
# As "finish_cmds", except a single script fragment to be evaled but
15703
 
# not shown.
15704
 
finish_eval=$lt_finish_eval
15705
 
 
15706
 
# Whether we should hardcode library paths into libraries.
15707
 
hardcode_into_libs=$hardcode_into_libs
15708
 
 
15709
 
# Compile-time system search path for libraries.
15710
 
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
15711
 
 
15712
 
# Run-time system search path for libraries.
15713
 
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
15714
 
 
15715
 
# Whether dlopen is supported.
15716
 
dlopen_support=$enable_dlopen
15717
 
 
15718
 
# Whether dlopen of programs is supported.
15719
 
dlopen_self=$enable_dlopen_self
15720
 
 
15721
 
# Whether dlopen of statically linked programs is supported.
15722
 
dlopen_self_static=$enable_dlopen_self_static
15723
 
 
15724
 
# Commands to strip libraries.
15725
 
old_striplib=$lt_old_striplib
15726
 
striplib=$lt_striplib
15727
 
 
15728
 
 
15729
 
# The linker used to build libraries.
15730
 
LD=$lt_LD
15731
 
 
15732
 
# How to create reloadable object files.
15733
 
reload_flag=$lt_reload_flag
15734
 
reload_cmds=$lt_reload_cmds
15735
 
 
15736
 
# Commands used to build an old-style archive.
15737
 
old_archive_cmds=$lt_old_archive_cmds
15738
 
 
15739
 
# A language specific compiler.
15740
 
CC=$lt_compiler
15741
 
 
15742
 
# Is the compiler the GNU compiler?
15743
 
with_gcc=$GCC
15744
 
 
15745
 
# Compiler flag to turn off builtin functions.
15746
 
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
15747
 
 
15748
 
# Additional compiler flags for building library objects.
15749
 
pic_flag=$lt_lt_prog_compiler_pic
15750
 
 
15751
 
# How to pass a linker flag through the compiler.
15752
 
wl=$lt_lt_prog_compiler_wl
15753
 
 
15754
 
# Compiler flag to prevent dynamic linking.
15755
 
link_static_flag=$lt_lt_prog_compiler_static
15756
 
 
15757
 
# Does compiler simultaneously support -c and -o options?
15758
 
compiler_c_o=$lt_lt_cv_prog_compiler_c_o
15759
 
 
15760
 
# Whether or not to add -lc for building shared libraries.
15761
 
build_libtool_need_lc=$archive_cmds_need_lc
15762
 
 
15763
 
# Whether or not to disallow shared libs when runtime libs are static.
15764
 
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
15765
 
 
15766
 
# Compiler flag to allow reflexive dlopens.
15767
 
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
15768
 
 
15769
 
# Compiler flag to generate shared objects directly from archives.
15770
 
whole_archive_flag_spec=$lt_whole_archive_flag_spec
15771
 
 
15772
 
# Whether the compiler copes with passing no objects directly.
15773
 
compiler_needs_object=$lt_compiler_needs_object
15774
 
 
15775
 
# Create an old-style archive from a shared archive.
15776
 
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
15777
 
 
15778
 
# Create a temporary old-style archive to link instead of a shared archive.
15779
 
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
15780
 
 
15781
 
# Commands used to build a shared archive.
15782
 
archive_cmds=$lt_archive_cmds
15783
 
archive_expsym_cmds=$lt_archive_expsym_cmds
15784
 
 
15785
 
# Commands used to build a loadable module if different from building
15786
 
# a shared archive.
15787
 
module_cmds=$lt_module_cmds
15788
 
module_expsym_cmds=$lt_module_expsym_cmds
15789
 
 
15790
 
# Whether we are building with GNU ld or not.
15791
 
with_gnu_ld=$lt_with_gnu_ld
15792
 
 
15793
 
# Flag that allows shared libraries with undefined symbols to be built.
15794
 
allow_undefined_flag=$lt_allow_undefined_flag
15795
 
 
15796
 
# Flag that enforces no undefined symbols.
15797
 
no_undefined_flag=$lt_no_undefined_flag
15798
 
 
15799
 
# Flag to hardcode \$libdir into a binary during linking.
15800
 
# This must work even if \$libdir does not exist
15801
 
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
15802
 
 
15803
 
# Whether we need a single "-rpath" flag with a separated argument.
15804
 
hardcode_libdir_separator=$lt_hardcode_libdir_separator
15805
 
 
15806
 
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
15807
 
# DIR into the resulting binary.
15808
 
hardcode_direct=$hardcode_direct
15809
 
 
15810
 
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
15811
 
# DIR into the resulting binary and the resulting library dependency is
15812
 
# "absolute",i.e impossible to change by setting \${shlibpath_var} if the
15813
 
# library is relocated.
15814
 
hardcode_direct_absolute=$hardcode_direct_absolute
15815
 
 
15816
 
# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
15817
 
# into the resulting binary.
15818
 
hardcode_minus_L=$hardcode_minus_L
15819
 
 
15820
 
# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
15821
 
# into the resulting binary.
15822
 
hardcode_shlibpath_var=$hardcode_shlibpath_var
15823
 
 
15824
 
# Set to "yes" if building a shared library automatically hardcodes DIR
15825
 
# into the library and all subsequent libraries and executables linked
15826
 
# against it.
15827
 
hardcode_automatic=$hardcode_automatic
15828
 
 
15829
 
# Set to yes if linker adds runtime paths of dependent libraries
15830
 
# to runtime path list.
15831
 
inherit_rpath=$inherit_rpath
15832
 
 
15833
 
# Whether libtool must link a program against all its dependency libraries.
15834
 
link_all_deplibs=$link_all_deplibs
15835
 
 
15836
 
# Set to "yes" if exported symbols are required.
15837
 
always_export_symbols=$always_export_symbols
15838
 
 
15839
 
# The commands to list exported symbols.
15840
 
export_symbols_cmds=$lt_export_symbols_cmds
15841
 
 
15842
 
# Symbols that should not be listed in the preloaded symbols.
15843
 
exclude_expsyms=$lt_exclude_expsyms
15844
 
 
15845
 
# Symbols that must always be exported.
15846
 
include_expsyms=$lt_include_expsyms
15847
 
 
15848
 
# Commands necessary for linking programs (against libraries) with templates.
15849
 
prelink_cmds=$lt_prelink_cmds
15850
 
 
15851
 
# Commands necessary for finishing linking programs.
15852
 
postlink_cmds=$lt_postlink_cmds
15853
 
 
15854
 
# Specify filename containing input files.
15855
 
file_list_spec=$lt_file_list_spec
15856
 
 
15857
 
# How to hardcode a shared library path into an executable.
15858
 
hardcode_action=$hardcode_action
15859
 
 
15860
 
# ### END LIBTOOL CONFIG
15861
 
 
15862
 
_LT_EOF
15863
 
 
15864
 
  case $host_os in
15865
 
  aix3*)
15866
 
    cat <<\_LT_EOF >> "$cfgfile"
15867
 
# AIX sometimes has problems with the GCC collect2 program.  For some
15868
 
# reason, if we set the COLLECT_NAMES environment variable, the problems
15869
 
# vanish in a puff of smoke.
15870
 
if test "X${COLLECT_NAMES+set}" != Xset; then
15871
 
  COLLECT_NAMES=
15872
 
  export COLLECT_NAMES
15873
 
fi
15874
 
_LT_EOF
15875
 
    ;;
15876
 
  esac
15877
 
 
15878
 
  
15879
 
ltmain="$ac_aux_dir/ltmain.sh"
15880
 
 
15881
 
 
15882
 
  # We use sed instead of cat because bash on DJGPP gets confused if
15883
 
  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
15884
 
  # text mode, it properly converts lines to CR/LF.  This bash problem
15885
 
  # is reportedly fixed, but why not run on old versions too?
15886
 
  sed '$q' "$ltmain" >> "$cfgfile" \
15887
 
     || (rm -f "$cfgfile"; exit 1)
15888
 
 
15889
 
  if test x"$xsi_shell" = xyes; then
15890
 
  sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
15891
 
func_dirname ()\
15892
 
{\
15893
 
\    case ${1} in\
15894
 
\      */*) func_dirname_result="${1%/*}${2}" ;;\
15895
 
\      *  ) func_dirname_result="${3}" ;;\
15896
 
\    esac\
15897
 
} # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
15898
 
  && mv -f "$cfgfile.tmp" "$cfgfile" \
15899
 
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15900
 
test 0 -eq $? || _lt_function_replace_fail=:
15901
 
 
15902
 
 
15903
 
  sed -e '/^func_basename ()$/,/^} # func_basename /c\
15904
 
func_basename ()\
15905
 
{\
15906
 
\    func_basename_result="${1##*/}"\
15907
 
} # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
15908
 
  && mv -f "$cfgfile.tmp" "$cfgfile" \
15909
 
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15910
 
test 0 -eq $? || _lt_function_replace_fail=:
15911
 
 
15912
 
 
15913
 
  sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
15914
 
func_dirname_and_basename ()\
15915
 
{\
15916
 
\    case ${1} in\
15917
 
\      */*) func_dirname_result="${1%/*}${2}" ;;\
15918
 
\      *  ) func_dirname_result="${3}" ;;\
15919
 
\    esac\
15920
 
\    func_basename_result="${1##*/}"\
15921
 
} # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
15922
 
  && mv -f "$cfgfile.tmp" "$cfgfile" \
15923
 
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15924
 
test 0 -eq $? || _lt_function_replace_fail=:
15925
 
 
15926
 
 
15927
 
  sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
15928
 
func_stripname ()\
15929
 
{\
15930
 
\    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
15931
 
\    # positional parameters, so assign one to ordinary parameter first.\
15932
 
\    func_stripname_result=${3}\
15933
 
\    func_stripname_result=${func_stripname_result#"${1}"}\
15934
 
\    func_stripname_result=${func_stripname_result%"${2}"}\
15935
 
} # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
15936
 
  && mv -f "$cfgfile.tmp" "$cfgfile" \
15937
 
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15938
 
test 0 -eq $? || _lt_function_replace_fail=:
15939
 
 
15940
 
 
15941
 
  sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
15942
 
func_split_long_opt ()\
15943
 
{\
15944
 
\    func_split_long_opt_name=${1%%=*}\
15945
 
\    func_split_long_opt_arg=${1#*=}\
15946
 
} # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
15947
 
  && mv -f "$cfgfile.tmp" "$cfgfile" \
15948
 
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15949
 
test 0 -eq $? || _lt_function_replace_fail=:
15950
 
 
15951
 
 
15952
 
  sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
15953
 
func_split_short_opt ()\
15954
 
{\
15955
 
\    func_split_short_opt_arg=${1#??}\
15956
 
\    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
15957
 
} # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
15958
 
  && mv -f "$cfgfile.tmp" "$cfgfile" \
15959
 
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15960
 
test 0 -eq $? || _lt_function_replace_fail=:
15961
 
 
15962
 
 
15963
 
  sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
15964
 
func_lo2o ()\
15965
 
{\
15966
 
\    case ${1} in\
15967
 
\      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
15968
 
\      *)    func_lo2o_result=${1} ;;\
15969
 
\    esac\
15970
 
} # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
15971
 
  && mv -f "$cfgfile.tmp" "$cfgfile" \
15972
 
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15973
 
test 0 -eq $? || _lt_function_replace_fail=:
15974
 
 
15975
 
 
15976
 
  sed -e '/^func_xform ()$/,/^} # func_xform /c\
15977
 
func_xform ()\
15978
 
{\
15979
 
    func_xform_result=${1%.*}.lo\
15980
 
} # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
15981
 
  && mv -f "$cfgfile.tmp" "$cfgfile" \
15982
 
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15983
 
test 0 -eq $? || _lt_function_replace_fail=:
15984
 
 
15985
 
 
15986
 
  sed -e '/^func_arith ()$/,/^} # func_arith /c\
15987
 
func_arith ()\
15988
 
{\
15989
 
    func_arith_result=$(( $* ))\
15990
 
} # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
15991
 
  && mv -f "$cfgfile.tmp" "$cfgfile" \
15992
 
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15993
 
test 0 -eq $? || _lt_function_replace_fail=:
15994
 
 
15995
 
 
15996
 
  sed -e '/^func_len ()$/,/^} # func_len /c\
15997
 
func_len ()\
15998
 
{\
15999
 
    func_len_result=${#1}\
16000
 
} # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
16001
 
  && mv -f "$cfgfile.tmp" "$cfgfile" \
16002
 
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16003
 
test 0 -eq $? || _lt_function_replace_fail=:
16004
 
 
16005
 
fi
16006
 
 
16007
 
if test x"$lt_shell_append" = xyes; then
16008
 
  sed -e '/^func_append ()$/,/^} # func_append /c\
16009
 
func_append ()\
16010
 
{\
16011
 
    eval "${1}+=\\${2}"\
16012
 
} # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
16013
 
  && mv -f "$cfgfile.tmp" "$cfgfile" \
16014
 
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16015
 
test 0 -eq $? || _lt_function_replace_fail=:
16016
 
 
16017
 
 
16018
 
  sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
16019
 
func_append_quoted ()\
16020
 
{\
16021
 
\    func_quote_for_eval "${2}"\
16022
 
\    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
16023
 
} # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
16024
 
  && mv -f "$cfgfile.tmp" "$cfgfile" \
16025
 
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16026
 
test 0 -eq $? || _lt_function_replace_fail=:
16027
 
 
16028
 
 
16029
 
  # Save a `func_append' function call where possible by direct use of '+='
16030
 
  sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
16031
 
    && mv -f "$cfgfile.tmp" "$cfgfile" \
16032
 
      || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16033
 
  test 0 -eq $? || _lt_function_replace_fail=:
16034
 
else
16035
 
  # Save a `func_append' function call even when '+=' is not available
16036
 
  sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
16037
 
    && mv -f "$cfgfile.tmp" "$cfgfile" \
16038
 
      || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16039
 
  test 0 -eq $? || _lt_function_replace_fail=:
16040
 
fi
16041
 
 
16042
 
if test x"$_lt_function_replace_fail" = x":"; then
16043
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
16044
 
$as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
16045
 
fi
16046
 
 
16047
 
 
16048
 
   mv -f "$cfgfile" "$ofile" ||
16049
 
    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
16050
 
  chmod +x "$ofile"
16051
 
 
16052
 
 ;;
16053
 
 
16054
 
  esac
16055
 
done # for ac_tag
16056
 
 
16057
 
 
16058
 
as_fn_exit 0
16059
 
_ACEOF
16060
 
ac_clean_files=$ac_clean_files_save
16061
 
 
16062
 
test $ac_write_fail = 0 ||
16063
 
  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
16064
 
 
16065
 
 
16066
 
# configure is writing to config.log, and then calls config.status.
16067
 
# config.status does its own redirection, appending to config.log.
16068
 
# Unfortunately, on DOS this fails, as config.log is still kept open
16069
 
# by configure, so config.status won't be able to write to it; its
16070
 
# output is simply discarded.  So we exec the FD to /dev/null,
16071
 
# effectively closing config.log, so it can be properly (re)opened and
16072
 
# appended to by config.status.  When coming back to configure, we
16073
 
# need to make the FD available again.
16074
 
if test "$no_create" != yes; then
16075
 
  ac_cs_success=:
16076
 
  ac_config_status_args=
16077
 
  test "$silent" = yes &&
16078
 
    ac_config_status_args="$ac_config_status_args --quiet"
16079
 
  exec 5>/dev/null
16080
 
  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
16081
 
  exec 5>>config.log
16082
 
  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
16083
 
  # would make configure fail if this is the last instruction.
16084
 
  $ac_cs_success || as_fn_exit 1
16085
 
fi
16086
 
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
16087
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
16088
 
$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
16089
 
fi
16090
 
 
16091
 
 
16092
 
echo "CFLAGS=$CFLAGS"
16093